@lax-wp/design-system 0.3.70 → 0.3.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(ne,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("framer-motion"),require("antd"),require("@mui/icons-material"),require("react-dom"),require("react-window"),require("@mui/material")):typeof define=="function"&&define.amd?define(["exports","react","framer-motion","antd","@mui/icons-material","react-dom","react-window","@mui/material"],l):(ne=typeof globalThis<"u"?globalThis:ne||self,l(ne.LaxDesignSystem={},ne.React,ne.FramerMotion,ne.antd,ne.MaterialUIIcons,ne.ReactDOM,ne.ReactWindow,ne.MaterialUI))})(this,function(ne,l,We,Be,Ue,dr,Pp,Op){"use strict";function Na(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const ce=Na(l),qi=Na(Ue),Vp=Na(dr);var Pn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qi={exports:{}},$r={};/**
1
+ (function(ne,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("framer-motion"),require("antd"),require("@mui/icons-material"),require("react-dom"),require("react-window"),require("@mui/material")):typeof define=="function"&&define.amd?define(["exports","react","framer-motion","antd","@mui/icons-material","react-dom","react-window","@mui/material"],l):(ne=typeof globalThis<"u"?globalThis:ne||self,l(ne.LaxDesignSystem={},ne.React,ne.FramerMotion,ne.antd,ne.MaterialUIIcons,ne.ReactDOM,ne.ReactWindow,ne.MaterialUI))})(this,function(ne,l,Ue,Ne,We,dr,Pp,Op){"use strict";function Na(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const ce=Na(l),qi=Na(We),Vp=Na(dr);var Pn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qi={exports:{}},$r={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -14,15 +14,15 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var wu;function _p(){return wu||(wu=1,process.env.NODE_ENV!=="production"&&function(){var e=l,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),g=Symbol.iterator,b="@@iterator";function v(V){if(V===null||typeof V!="object")return null;var re=g&&V[g]||V[b];return typeof re=="function"?re:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(V){{for(var re=arguments.length,he=new Array(re>1?re-1:0),ke=1;ke<re;ke++)he[ke-1]=arguments[ke];C("error",V,he)}}function C(V,re,he){{var ke=x.ReactDebugCurrentFrame,$e=ke.getStackAddendum();$e!==""&&(re+="%s",he=he.concat([$e]));var Ye=he.map(function(Te){return String(Te)});Ye.unshift("Warning: "+re),Function.prototype.apply.call(console[V],console,Ye)}}var M=!1,E=!1,w=!1,z=!1,I=!1,k;k=Symbol.for("react.module.reference");function F(V){return!!(typeof V=="string"||typeof V=="function"||V===r||V===a||I||V===i||V===c||V===d||z||V===p||M||E||w||typeof V=="object"&&V!==null&&(V.$$typeof===m||V.$$typeof===h||V.$$typeof===o||V.$$typeof===s||V.$$typeof===u||V.$$typeof===k||V.getModuleId!==void 0))}function N(V,re,he){var ke=V.displayName;if(ke)return ke;var $e=re.displayName||re.name||"";return $e!==""?he+"("+$e+")":he}function B(V){return V.displayName||"Context"}function H(V){if(V==null)return null;if(typeof V.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof V=="function")return V.displayName||V.name||null;if(typeof V=="string")return V;switch(V){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if(typeof V=="object")switch(V.$$typeof){case s:var re=V;return B(re)+".Consumer";case o:var he=V;return B(he._context)+".Provider";case u:return N(V,V.render,"ForwardRef");case h:var ke=V.displayName||null;return ke!==null?ke:H(V.type)||"Memo";case m:{var $e=V,Ye=$e._payload,Te=$e._init;try{return H(Te(Ye))}catch{return null}}}return null}var L=Object.assign,S=0,T,G,O,_,A,$,W;function D(){}D.__reactDisabledLog=!0;function X(){{if(S===0){T=console.log,G=console.info,O=console.warn,_=console.error,A=console.group,$=console.groupCollapsed,W=console.groupEnd;var V={configurable:!0,enumerable:!0,value:D,writable:!0};Object.defineProperties(console,{info:V,log:V,warn:V,error:V,group:V,groupCollapsed:V,groupEnd:V})}S++}}function K(){{if(S--,S===0){var V={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},V,{value:T}),info:L({},V,{value:G}),warn:L({},V,{value:O}),error:L({},V,{value:_}),group:L({},V,{value:A}),groupCollapsed:L({},V,{value:$}),groupEnd:L({},V,{value:W})})}S<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=x.ReactCurrentDispatcher,R;function ue(V,re,he){{if(R===void 0)try{throw Error()}catch($e){var ke=$e.stack.trim().match(/\n( *(at )?)/);R=ke&&ke[1]||""}return`
18
- `+R+V}}var U=!1,J;{var fe=typeof WeakMap=="function"?WeakMap:Map;J=new fe}function ee(V,re){if(!V||U)return"";{var he=J.get(V);if(he!==void 0)return he}var ke;U=!0;var $e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ye;Ye=ae.current,ae.current=null,X();try{if(re){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(Mt){ke=Mt}Reflect.construct(V,[],Te)}else{try{Te.call()}catch(Mt){ke=Mt}V.call(Te.prototype)}}else{try{throw Error()}catch(Mt){ke=Mt}V()}}catch(Mt){if(Mt&&ke&&typeof Mt.stack=="string"){for(var Ae=Mt.stack.split(`
17
+ */var wu;function _p(){return wu||(wu=1,process.env.NODE_ENV!=="production"&&function(){var e=l,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),g=Symbol.iterator,b="@@iterator";function v(V){if(V===null||typeof V!="object")return null;var re=g&&V[g]||V[b];return typeof re=="function"?re:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(V){{for(var re=arguments.length,he=new Array(re>1?re-1:0),ke=1;ke<re;ke++)he[ke-1]=arguments[ke];C("error",V,he)}}function C(V,re,he){{var ke=x.ReactDebugCurrentFrame,$e=ke.getStackAddendum();$e!==""&&(re+="%s",he=he.concat([$e]));var Ye=he.map(function(Be){return String(Be)});Ye.unshift("Warning: "+re),Function.prototype.apply.call(console[V],console,Ye)}}var M=!1,E=!1,w=!1,z=!1,I=!1,k;k=Symbol.for("react.module.reference");function F(V){return!!(typeof V=="string"||typeof V=="function"||V===r||V===a||I||V===i||V===c||V===d||z||V===p||M||E||w||typeof V=="object"&&V!==null&&(V.$$typeof===m||V.$$typeof===h||V.$$typeof===o||V.$$typeof===s||V.$$typeof===u||V.$$typeof===k||V.getModuleId!==void 0))}function N(V,re,he){var ke=V.displayName;if(ke)return ke;var $e=re.displayName||re.name||"";return $e!==""?he+"("+$e+")":he}function B(V){return V.displayName||"Context"}function H(V){if(V==null)return null;if(typeof V.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof V=="function")return V.displayName||V.name||null;if(typeof V=="string")return V;switch(V){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if(typeof V=="object")switch(V.$$typeof){case s:var re=V;return B(re)+".Consumer";case o:var he=V;return B(he._context)+".Provider";case u:return N(V,V.render,"ForwardRef");case h:var ke=V.displayName||null;return ke!==null?ke:H(V.type)||"Memo";case m:{var $e=V,Ye=$e._payload,Be=$e._init;try{return H(Be(Ye))}catch{return null}}}return null}var L=Object.assign,S=0,T,G,O,_,A,$,W;function D(){}D.__reactDisabledLog=!0;function X(){{if(S===0){T=console.log,G=console.info,O=console.warn,_=console.error,A=console.group,$=console.groupCollapsed,W=console.groupEnd;var V={configurable:!0,enumerable:!0,value:D,writable:!0};Object.defineProperties(console,{info:V,log:V,warn:V,error:V,group:V,groupCollapsed:V,groupEnd:V})}S++}}function K(){{if(S--,S===0){var V={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},V,{value:T}),info:L({},V,{value:G}),warn:L({},V,{value:O}),error:L({},V,{value:_}),group:L({},V,{value:A}),groupCollapsed:L({},V,{value:$}),groupEnd:L({},V,{value:W})})}S<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=x.ReactCurrentDispatcher,R;function ue(V,re,he){{if(R===void 0)try{throw Error()}catch($e){var ke=$e.stack.trim().match(/\n( *(at )?)/);R=ke&&ke[1]||""}return`
18
+ `+R+V}}var U=!1,J;{var fe=typeof WeakMap=="function"?WeakMap:Map;J=new fe}function ee(V,re){if(!V||U)return"";{var he=J.get(V);if(he!==void 0)return he}var ke;U=!0;var $e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ye;Ye=ae.current,ae.current=null,X();try{if(re){var Be=function(){throw Error()};if(Object.defineProperty(Be.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Be,[])}catch(Mt){ke=Mt}Reflect.construct(V,[],Be)}else{try{Be.call()}catch(Mt){ke=Mt}V.call(Be.prototype)}}else{try{throw Error()}catch(Mt){ke=Mt}V()}}catch(Mt){if(Mt&&ke&&typeof Mt.stack=="string"){for(var Ae=Mt.stack.split(`
19
19
  `),wt=ke.stack.split(`
20
20
  `),rt=Ae.length-1,ot=wt.length-1;rt>=1&&ot>=0&&Ae[rt]!==wt[ot];)ot--;for(;rt>=1&&ot>=0;rt--,ot--)if(Ae[rt]!==wt[ot]){if(rt!==1||ot!==1)do if(rt--,ot--,ot<0||Ae[rt]!==wt[ot]){var Yt=`
21
- `+Ae[rt].replace(" at new "," at ");return V.displayName&&Yt.includes("<anonymous>")&&(Yt=Yt.replace("<anonymous>",V.displayName)),typeof V=="function"&&J.set(V,Yt),Yt}while(rt>=1&&ot>=0);break}}}finally{U=!1,ae.current=Ye,K(),Error.prepareStackTrace=$e}var _r=V?V.displayName||V.name:"",cr=_r?ue(_r):"";return typeof V=="function"&&J.set(V,cr),cr}function be(V,re,he){return ee(V,!1)}function je(V){var re=V.prototype;return!!(re&&re.isReactComponent)}function Q(V,re,he){if(V==null)return"";if(typeof V=="function")return ee(V,je(V));if(typeof V=="string")return ue(V);switch(V){case c:return ue("Suspense");case d:return ue("SuspenseList")}if(typeof V=="object")switch(V.$$typeof){case u:return be(V.render);case h:return Q(V.type,re,he);case m:{var ke=V,$e=ke._payload,Ye=ke._init;try{return Q(Ye($e),re,he)}catch{}}}return""}var oe=Object.prototype.hasOwnProperty,Ce={},Qe=x.ReactDebugCurrentFrame;function Re(V){if(V){var re=V._owner,he=Q(V.type,V._source,re?re.type:null);Qe.setExtraStackFrame(he)}else Qe.setExtraStackFrame(null)}function De(V,re,he,ke,$e){{var Ye=Function.call.bind(oe);for(var Te in V)if(Ye(V,Te)){var Ae=void 0;try{if(typeof V[Te]!="function"){var wt=Error((ke||"React class")+": "+he+" type `"+Te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof V[Te]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw wt.name="Invariant Violation",wt}Ae=V[Te](re,Te,ke,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(rt){Ae=rt}Ae&&!(Ae instanceof Error)&&(Re($e),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ke||"React class",he,Te,typeof Ae),Re(null)),Ae instanceof Error&&!(Ae.message in Ce)&&(Ce[Ae.message]=!0,Re($e),y("Failed %s type: %s",he,Ae.message),Re(null))}}}var ut=Array.isArray;function bt(V){return ut(V)}function pn(V){{var re=typeof Symbol=="function"&&Symbol.toStringTag,he=re&&V[Symbol.toStringTag]||V.constructor.name||"Object";return he}}function ge(V){try{return He(V),!1}catch{return!0}}function He(V){return""+V}function Z(V){if(ge(V))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pn(V)),He(V)}var te=x.ReactCurrentOwner,ye={key:!0,ref:!0,__self:!0,__source:!0},Ie,Le;function ct(V){if(oe.call(V,"ref")){var re=Object.getOwnPropertyDescriptor(V,"ref").get;if(re&&re.isReactWarning)return!1}return V.ref!==void 0}function jn(V){if(oe.call(V,"key")){var re=Object.getOwnPropertyDescriptor(V,"key").get;if(re&&re.isReactWarning)return!1}return V.key!==void 0}function en(V,re){typeof V.ref=="string"&&te.current}function sr(V,re){{var he=function(){Ie||(Ie=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",re))};he.isReactWarning=!0,Object.defineProperty(V,"key",{get:he,configurable:!0})}}function ur(V,re){{var he=function(){Le||(Le=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",re))};he.isReactWarning=!0,Object.defineProperty(V,"ref",{get:he,configurable:!0})}}var xt=function(V,re,he,ke,$e,Ye,Te){var Ae={$$typeof:t,type:V,key:re,ref:he,props:Te,_owner:Ye};return Ae._store={},Object.defineProperty(Ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty(Ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:$e}),Object.freeze&&(Object.freeze(Ae.props),Object.freeze(Ae)),Ae};function Jn(V,re,he,ke,$e){{var Ye,Te={},Ae=null,wt=null;he!==void 0&&(Z(he),Ae=""+he),jn(re)&&(Z(re.key),Ae=""+re.key),ct(re)&&(wt=re.ref,en(re,$e));for(Ye in re)oe.call(re,Ye)&&!ye.hasOwnProperty(Ye)&&(Te[Ye]=re[Ye]);if(V&&V.defaultProps){var rt=V.defaultProps;for(Ye in rt)Te[Ye]===void 0&&(Te[Ye]=rt[Ye])}if(Ae||wt){var ot=typeof V=="function"?V.displayName||V.name||"Unknown":V;Ae&&sr(Te,ot),wt&&ur(Te,ot)}return xt(V,Ae,wt,$e,ke,te.current,Te)}}var Ot=x.ReactCurrentOwner,Np=x.ReactDebugCurrentFrame;function Gr(V){if(V){var re=V._owner,he=Q(V.type,V._source,re?re.type:null);Np.setExtraStackFrame(he)}else Np.setExtraStackFrame(null)}var gu;gu=!1;function vu(V){return typeof V=="object"&&V!==null&&V.$$typeof===t}function Dp(){{if(Ot.current){var V=H(Ot.current.type);if(V)return`
21
+ `+Ae[rt].replace(" at new "," at ");return V.displayName&&Yt.includes("<anonymous>")&&(Yt=Yt.replace("<anonymous>",V.displayName)),typeof V=="function"&&J.set(V,Yt),Yt}while(rt>=1&&ot>=0);break}}}finally{U=!1,ae.current=Ye,K(),Error.prepareStackTrace=$e}var _r=V?V.displayName||V.name:"",cr=_r?ue(_r):"";return typeof V=="function"&&J.set(V,cr),cr}function be(V,re,he){return ee(V,!1)}function je(V){var re=V.prototype;return!!(re&&re.isReactComponent)}function Q(V,re,he){if(V==null)return"";if(typeof V=="function")return ee(V,je(V));if(typeof V=="string")return ue(V);switch(V){case c:return ue("Suspense");case d:return ue("SuspenseList")}if(typeof V=="object")switch(V.$$typeof){case u:return be(V.render);case h:return Q(V.type,re,he);case m:{var ke=V,$e=ke._payload,Ye=ke._init;try{return Q(Ye($e),re,he)}catch{}}}return""}var oe=Object.prototype.hasOwnProperty,Ce={},Qe=x.ReactDebugCurrentFrame;function Re(V){if(V){var re=V._owner,he=Q(V.type,V._source,re?re.type:null);Qe.setExtraStackFrame(he)}else Qe.setExtraStackFrame(null)}function Le(V,re,he,ke,$e){{var Ye=Function.call.bind(oe);for(var Be in V)if(Ye(V,Be)){var Ae=void 0;try{if(typeof V[Be]!="function"){var wt=Error((ke||"React class")+": "+he+" type `"+Be+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof V[Be]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw wt.name="Invariant Violation",wt}Ae=V[Be](re,Be,ke,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(rt){Ae=rt}Ae&&!(Ae instanceof Error)&&(Re($e),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ke||"React class",he,Be,typeof Ae),Re(null)),Ae instanceof Error&&!(Ae.message in Ce)&&(Ce[Ae.message]=!0,Re($e),y("Failed %s type: %s",he,Ae.message),Re(null))}}}var ut=Array.isArray;function bt(V){return ut(V)}function pn(V){{var re=typeof Symbol=="function"&&Symbol.toStringTag,he=re&&V[Symbol.toStringTag]||V.constructor.name||"Object";return he}}function ge(V){try{return He(V),!1}catch{return!0}}function He(V){return""+V}function Z(V){if(ge(V))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pn(V)),He(V)}var te=x.ReactCurrentOwner,ye={key:!0,ref:!0,__self:!0,__source:!0},Ie,Te;function ct(V){if(oe.call(V,"ref")){var re=Object.getOwnPropertyDescriptor(V,"ref").get;if(re&&re.isReactWarning)return!1}return V.ref!==void 0}function jn(V){if(oe.call(V,"key")){var re=Object.getOwnPropertyDescriptor(V,"key").get;if(re&&re.isReactWarning)return!1}return V.key!==void 0}function en(V,re){typeof V.ref=="string"&&te.current}function sr(V,re){{var he=function(){Ie||(Ie=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",re))};he.isReactWarning=!0,Object.defineProperty(V,"key",{get:he,configurable:!0})}}function ur(V,re){{var he=function(){Te||(Te=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",re))};he.isReactWarning=!0,Object.defineProperty(V,"ref",{get:he,configurable:!0})}}var xt=function(V,re,he,ke,$e,Ye,Be){var Ae={$$typeof:t,type:V,key:re,ref:he,props:Be,_owner:Ye};return Ae._store={},Object.defineProperty(Ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty(Ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:$e}),Object.freeze&&(Object.freeze(Ae.props),Object.freeze(Ae)),Ae};function Jn(V,re,he,ke,$e){{var Ye,Be={},Ae=null,wt=null;he!==void 0&&(Z(he),Ae=""+he),jn(re)&&(Z(re.key),Ae=""+re.key),ct(re)&&(wt=re.ref,en(re,$e));for(Ye in re)oe.call(re,Ye)&&!ye.hasOwnProperty(Ye)&&(Be[Ye]=re[Ye]);if(V&&V.defaultProps){var rt=V.defaultProps;for(Ye in rt)Be[Ye]===void 0&&(Be[Ye]=rt[Ye])}if(Ae||wt){var ot=typeof V=="function"?V.displayName||V.name||"Unknown":V;Ae&&sr(Be,ot),wt&&ur(Be,ot)}return xt(V,Ae,wt,$e,ke,te.current,Be)}}var Ot=x.ReactCurrentOwner,Np=x.ReactDebugCurrentFrame;function Gr(V){if(V){var re=V._owner,he=Q(V.type,V._source,re?re.type:null);Np.setExtraStackFrame(he)}else Np.setExtraStackFrame(null)}var gu;gu=!1;function vu(V){return typeof V=="object"&&V!==null&&V.$$typeof===t}function Dp(){{if(Ot.current){var V=H(Ot.current.type);if(V)return`
22
22
 
23
23
  Check the render method of \``+V+"`."}return""}}function ZB(V){return""}var Lp={};function YB(V){{var re=Dp();if(!re){var he=typeof V=="string"?V:V.displayName||V.name;he&&(re=`
24
24
 
25
- Check the top-level render call using <`+he+">.")}return re}}function Tp(V,re){{if(!V._store||V._store.validated||V.key!=null)return;V._store.validated=!0;var he=YB(re);if(Lp[he])return;Lp[he]=!0;var ke="";V&&V._owner&&V._owner!==Ot.current&&(ke=" It was passed a child from "+H(V._owner.type)+"."),Gr(V),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',he,ke),Gr(null)}}function Bp(V,re){{if(typeof V!="object")return;if(bt(V))for(var he=0;he<V.length;he++){var ke=V[he];vu(ke)&&Tp(ke,re)}else if(vu(V))V._store&&(V._store.validated=!0);else if(V){var $e=v(V);if(typeof $e=="function"&&$e!==V.entries)for(var Ye=$e.call(V),Te;!(Te=Ye.next()).done;)vu(Te.value)&&Tp(Te.value,re)}}}function JB(V){{var re=V.type;if(re==null||typeof re=="string")return;var he;if(typeof re=="function")he=re.propTypes;else if(typeof re=="object"&&(re.$$typeof===u||re.$$typeof===h))he=re.propTypes;else return;if(he){var ke=H(re);De(he,V.props,"prop",ke,V)}else if(re.PropTypes!==void 0&&!gu){gu=!0;var $e=H(re);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$e||"Unknown")}typeof re.getDefaultProps=="function"&&!re.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function KB(V){{for(var re=Object.keys(V.props),he=0;he<re.length;he++){var ke=re[he];if(ke!=="children"&&ke!=="key"){Gr(V),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ke),Gr(null);break}}V.ref!==null&&(Gr(V),y("Invalid attribute `ref` supplied to `React.Fragment`."),Gr(null))}}var Hp={};function jp(V,re,he,ke,$e,Ye){{var Te=F(V);if(!Te){var Ae="";(V===void 0||typeof V=="object"&&V!==null&&Object.keys(V).length===0)&&(Ae+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var wt=ZB();wt?Ae+=wt:Ae+=Dp();var rt;V===null?rt="null":bt(V)?rt="array":V!==void 0&&V.$$typeof===t?(rt="<"+(H(V.type)||"Unknown")+" />",Ae=" Did you accidentally export a JSX literal instead of a component?"):rt=typeof V,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",rt,Ae)}var ot=Jn(V,re,he,$e,Ye);if(ot==null)return ot;if(Te){var Yt=re.children;if(Yt!==void 0)if(ke)if(bt(Yt)){for(var _r=0;_r<Yt.length;_r++)Bp(Yt[_r],V);Object.freeze&&Object.freeze(Yt)}else y("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 Bp(Yt,V)}if(oe.call(re,"key")){var cr=H(V),Mt=Object.keys(re).filter(function(nH){return nH!=="key"}),bu=Mt.length>0?"{key: someKey, "+Mt.join(": ..., ")+": ...}":"{key: someKey}";if(!Hp[cr+bu]){var tH=Mt.length>0?"{"+Mt.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+he+">.")}return re}}function Tp(V,re){{if(!V._store||V._store.validated||V.key!=null)return;V._store.validated=!0;var he=YB(re);if(Lp[he])return;Lp[he]=!0;var ke="";V&&V._owner&&V._owner!==Ot.current&&(ke=" It was passed a child from "+H(V._owner.type)+"."),Gr(V),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',he,ke),Gr(null)}}function Bp(V,re){{if(typeof V!="object")return;if(bt(V))for(var he=0;he<V.length;he++){var ke=V[he];vu(ke)&&Tp(ke,re)}else if(vu(V))V._store&&(V._store.validated=!0);else if(V){var $e=v(V);if(typeof $e=="function"&&$e!==V.entries)for(var Ye=$e.call(V),Be;!(Be=Ye.next()).done;)vu(Be.value)&&Tp(Be.value,re)}}}function JB(V){{var re=V.type;if(re==null||typeof re=="string")return;var he;if(typeof re=="function")he=re.propTypes;else if(typeof re=="object"&&(re.$$typeof===u||re.$$typeof===h))he=re.propTypes;else return;if(he){var ke=H(re);Le(he,V.props,"prop",ke,V)}else if(re.PropTypes!==void 0&&!gu){gu=!0;var $e=H(re);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$e||"Unknown")}typeof re.getDefaultProps=="function"&&!re.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function KB(V){{for(var re=Object.keys(V.props),he=0;he<re.length;he++){var ke=re[he];if(ke!=="children"&&ke!=="key"){Gr(V),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ke),Gr(null);break}}V.ref!==null&&(Gr(V),y("Invalid attribute `ref` supplied to `React.Fragment`."),Gr(null))}}var Hp={};function jp(V,re,he,ke,$e,Ye){{var Be=F(V);if(!Be){var Ae="";(V===void 0||typeof V=="object"&&V!==null&&Object.keys(V).length===0)&&(Ae+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var wt=ZB();wt?Ae+=wt:Ae+=Dp();var rt;V===null?rt="null":bt(V)?rt="array":V!==void 0&&V.$$typeof===t?(rt="<"+(H(V.type)||"Unknown")+" />",Ae=" Did you accidentally export a JSX literal instead of a component?"):rt=typeof V,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",rt,Ae)}var ot=Jn(V,re,he,$e,Ye);if(ot==null)return ot;if(Be){var Yt=re.children;if(Yt!==void 0)if(ke)if(bt(Yt)){for(var _r=0;_r<Yt.length;_r++)Bp(Yt[_r],V);Object.freeze&&Object.freeze(Yt)}else y("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 Bp(Yt,V)}if(oe.call(re,"key")){var cr=H(V),Mt=Object.keys(re).filter(function(nH){return nH!=="key"}),bu=Mt.length>0?"{key: someKey, "+Mt.join(": ..., ")+": ...}":"{key: someKey}";if(!Hp[cr+bu]){var tH=Mt.length>0?"{"+Mt.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
@@ -46,7 +46,7 @@ React keys must be passed directly to JSX without using spread:
46
46
  -webkit-text-fill-color: white !important;
47
47
  -webkit-box-shadow: 0 0 0px 1000px var(--input-bg-color) inset !important;
48
48
  }
49
- `}),h?f.jsx("label",{htmlFor:k,className:"mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",children:f.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:f.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:f.jsxs(se,{variant:"medium",size:"extra-small",appearance:"subtitle",children:[h,d&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}):null,f.jsxs("div",{className:"relative input-field",children:[f.jsx("input",{...y,ref:C,id:k,type:m,value:t,defaultValue:o,placeholder:p,required:d,disabled:s,max:u,min:c,onKeyDown:r,style:F(),className:Y("border border-solid h-8 rounded-md block w-full pl-3","text-sm font-medium text-neutral-900 dark:text-black-100","bg-white dark:bg-black-600","transition-colors duration-200 ease-in-out","focus:outline-none focus:ring-2",z(),s&&"opacity-70 cursor-not-allowed bg-neutral-50 dark:bg-black-700",v),onChange:N=>n(N.target.value),onClick:N=>N.stopPropagation()}),g&&f.jsx("div",{ref:M,className:"absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none",children:g})]}),f.jsx(We.AnimatePresence,{children:i&&f.jsx(We.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:f.jsx(se,{className:Y("mt-1",I()),appearance:"custom",size:"extra-small",variant:"medium",children:i})})})]})});La.displayName="InputField";const Xp=(e,t,n,r)=>{const i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);Kn(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},Cu={},Ta=(e,t,n,r)=>{Kn(n)&&Cu[n]||(Kn(n)&&(Cu[n]=new Date),Xp(e,t,n,r))},ku=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Ba=(e,t,n)=>{e.loadNamespaces(t,ku(e,n))},Iu=(e,t,n,r)=>{if(Kn(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Ba(e,n,r);n.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,ku(e,r))},Zp=(e,t,n={})=>!t.languages||!t.languages.length?(Ta(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,e))return!1}}),Kn=e=>typeof e=="string",Yp=e=>typeof e=="object"&&e!==null,Jp=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Kp={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},qp=e=>Kp[e];let Qp={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(Jp,qp)};const Rp=()=>Qp;let e6;const t6=()=>e6,n6=l.createContext();class r6{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const i6=(e,t)=>{const n=l.useRef();return l.useEffect(()=>{n.current=e},[e,t]),n.current},zu=(e,t,n,r)=>e.getFixedT(t,n,r),l6=(e,t,n,r)=>l.useCallback(zu(e,t,n,r),[e,t,n,r]),tn=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:i}=l.useContext(n6)||{},a=n||r||t6();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new r6),!a){Ta(a,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const M=(w,z)=>Kn(z)?z:Yp(z)&&Kn(z.defaultValue)?z.defaultValue:Array.isArray(w)?w[w.length-1]:w,E=[M,{},!1];return E.t=M,E.i18n={},E.ready=!1,E}a.options.react?.wait&&Ta(a,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Rp(),...a.options.react,...t},{useSuspense:s,keyPrefix:u}=o;let c=i||a.options?.defaultNS;c=Kn(c)?[c]:c||["translation"],a.reportNamespaces.addUsedNamespaces?.(c);const d=(a.isInitialized||a.initializedStoreOnce)&&c.every(M=>Zp(M,a,o)),h=l6(a,t.lng||null,o.nsMode==="fallback"?c:c[0],u),m=()=>h,p=()=>zu(a,t.lng||null,o.nsMode==="fallback"?c:c[0],u),[g,b]=l.useState(m);let v=c.join();t.lng&&(v=`${t.lng}${v}`);const x=i6(v),y=l.useRef(!0);l.useEffect(()=>{const{bindI18n:M,bindI18nStore:E}=o;y.current=!0,!d&&!s&&(t.lng?Iu(a,t.lng,c,()=>{y.current&&b(p)}):Ba(a,c,()=>{y.current&&b(p)})),d&&x&&x!==v&&y.current&&b(p);const w=()=>{y.current&&b(p)};return M&&a?.on(M,w),E&&a?.store.on(E,w),()=>{y.current=!1,a&&M&&M?.split(" ").forEach(z=>a.off(z,w)),E&&a&&E.split(" ").forEach(z=>a.store.off(z,w))}},[a,v]),l.useEffect(()=>{y.current&&d&&b(m)},[a,u,d]);const C=[g,a,d];if(C.t=g,C.i18n=a,C.ready=d,d||!d&&!s)return C;throw new Promise(M=>{t.lng?Iu(a,t.lng,c,()=>M()):Ba(a,c,()=>M())})},Vt=({size:e=16,className:t="",...n})=>f.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`text-neutral-500 hover:text-neutral-700 ${t}`,...n,children:[f.jsx("circle",{cx:"12",cy:"12",r:"10"}),f.jsx("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),f.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]}),Fu=l.forwardRef(({size:e=24,fill:t="currentColor",className:n,...r},i)=>f.jsx("svg",{ref:i,className:Y(n),width:e,height:e,viewBox:"0 0 20 20",fill:t,xmlns:"http://www.w3.org/2000/svg",...r,children:f.jsx("path",{d:"M10.0002 11.1666L5.91683 15.2499C5.76405 15.4027 5.56961 15.4791 5.3335 15.4791C5.09739 15.4791 4.90294 15.4027 4.75016 15.2499C4.59738 15.0971 4.521 14.9027 4.521 14.6666C4.521 14.4305 4.59738 14.236 4.75016 14.0833L8.8335 9.99992L4.75016 5.91659C4.59738 5.76381 4.521 5.56936 4.521 5.33325C4.521 5.09714 4.59738 4.9027 4.75016 4.74992C4.90294 4.59714 5.09739 4.52075 5.3335 4.52075C5.56961 4.52075 5.76405 4.59714 5.91683 4.74992L10.0002 8.83325L14.0835 4.74992C14.2363 4.59714 14.4307 4.52075 14.6668 4.52075C14.9029 4.52075 15.0974 4.59714 15.2502 4.74992C15.4029 4.9027 15.4793 5.09714 15.4793 5.33325C15.4793 5.56936 15.4029 5.76381 15.2502 5.91659L11.1668 9.99992L15.2502 14.0833C15.4029 14.236 15.4793 14.4305 15.4793 14.6666C15.4793 14.9027 15.4029 15.0971 15.2502 15.2499C15.0974 15.4027 14.9029 15.4791 14.6668 15.4791C14.4307 15.4791 14.2363 15.4027 14.0835 15.2499L10.0002 11.1666Z"})}));Fu.displayName="CloseIcon";const On={primary:{50:"#E6F1FC",100:"#C6E1F9",200:"#8AC0F2",300:"#54A4EC",400:"#3392E9",500:"#0077E3",600:"#016DCF",700:"#0054A1",800:"#00417D",900:"#00325F",950:"#001c35",975:"#00111f"},black:{50:"#f0f0f0",100:"#d9d9d9",200:"#bfbfbf",300:"#8c8c8c",400:"#595959",500:"#454545",600:"#262626",700:"#1f1f1f",800:"#141414",900:"#000000",950:"#0a0a0a",975:"#050505"},blue:{50:"#E6F1FC",100:"#C6E1F9",200:"#8AC0F2",300:"#54A4EC",400:"#3392E9",500:"#0077E3",600:"#016DCF",700:"#0054A1",800:"#00417D",900:"#00325F",950:"#002547",975:"#001529"},success:{50:"#ECFDF3",100:"#D1FADF",200:"#A6F4C5",300:"#6CE9A6",400:"#32D583",500:"#12B76A",600:"#039855",700:"#027A48",800:"#05603A",900:"#054F31",950:"#033625",975:"#022419"},neutral:{50:"#F9FAFB",100:"#F2F4F7",200:"#EAECF0",300:"#D0D5DD",400:"#98A2B3",500:"#667085",600:"#475467",700:"#344054",800:"#1D2939",900:"#101828",950:"#0c1219",975:"#080a0f"},error:{50:"#FEF3F2",100:"#FEE4E2",200:"#FECDCA",300:"#FDA29B",400:"#F97066",500:"#F04438",600:"#D92D20",700:"#B42318",800:"#912018",900:"#7A271A",950:"#3d1008",975:"#2a0b05"},warning:{50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E",950:"#662505",975:"#451803"},teal:{50:"#ebf5f5",100:"#c2e0df",200:"#a4d1d0",300:"#7abcba",400:"#61afad",500:"#399b98",600:"#348d8a",700:"#286e6c",800:"#1f5554",900:"#184140",950:"#133534",975:"#0c2222"},green:{50:"#f2f7f2",100:"#d5e5d5",200:"#c1d9c1",300:"#a5c7a5",400:"#94bd93",500:"#79ac78",600:"#6e9d6d",700:"#567a55",800:"#435f42",900:"#334832",950:"#001e00",975:"#182818"},yellow:{50:"#fffaed",100:"#fff0c7",200:"#ffe8ac",300:"#ffde86",400:"#ffd76f",500:"#ffcd4b",600:"#e8bb44",700:"#b59235",800:"#8c7129",900:"#6b5620",950:"#524314",975:"#382e0e"},orange:{50:"#fef4e8",100:"#fddeb7",200:"#fcce94",300:"#fbb764",400:"#faa945",500:"#f99417",600:"#e38715",700:"#b16910",800:"#89510d",900:"#693e0a",950:"#4d2d07",975:"#331e05"},peach:{50:"#fceef3",100:"#f5cad9",200:"#f0b0c6",300:"#ea8cad",400:"#e5759d",500:"#df5384",600:"#cb4c78",700:"#9e3b5e",800:"#7b2e49",900:"#5e2337",950:"#451a2b",975:"#2e111d"},red:{50:"#fceaeb",100:"#f6bec0",200:"#f29ea2",300:"#ec7278",400:"#e9575d",500:"#e32d35",600:"#cf2930",700:"#a12026",800:"#7d191d",900:"#5f1316",950:"#470c0f",975:"#2f080a"},purple:{50:"#f5e7ff",100:"#dfb4ff",200:"#d090ff",300:"#bb5dff",400:"#ad3dff",500:"#990dff",600:"#8b0ce8",700:"#6d09b5",800:"#54078c",900:"#40056b",950:"#300450",975:"#200336"},navy:{50:"#eaebf6",100:"#bebfe2",200:"#9ea1d3",300:"#7276bf",400:"#575bb3",500:"#2d32a0",600:"#292e92",700:"#202472",800:"#191c58",900:"#131543",950:"#0d0e2f",975:"#090a20"},grey:{50:"#f2f2f2",100:"#d5d5d5",200:"#c1c1c1",300:"#a5a5a5",400:"#939393",500:"#787878",600:"#6d6d6d",700:"#555555",800:"#424242",900:"#323232",950:"#252525",975:"#191919"}},a6=e=>{let t=0;for(let i=0;i<e.length;i++)t=e.charCodeAt(i)+((t<<5)-t);const n=(t&16777215).toString(16).toUpperCase();return`#${"00000".substring(0,6-n.length)+n}`},Ha=(e,t=80)=>{let n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),i=parseInt(e.slice(5,7),16);return n=Math.min(255,n+(255-n)*(t/100)),r=Math.min(255,r+(255-r)*(t/100)),i=Math.min(255,i+(255-i)*(t/100)),`#${Math.round(n).toString(16).padStart(2,"0")}${Math.round(r).toString(16).padStart(2,"0")}${Math.round(i).toString(16).padStart(2,"0")}`},Mu=(e,t=30)=>{let n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),i=parseInt(e.slice(5,7),16);return n=Math.max(0,n*(1-t/100)),r=Math.max(0,r*(1-t/100)),i=Math.max(0,i*(1-t/100)),`#${Math.round(n).toString(16).padStart(2,"0")}${Math.round(r).toString(16).padStart(2,"0")}${Math.round(i).toString(16).padStart(2,"0")}`},o6=(e,t)=>({background:t?On[e]?.[975]:On[e]?.[50],borderColor:t?On[e]?.[900]:On[e]?.[100],color:t?On[e]?.[500]:On[e]?.[600]}),s6=(e,t)=>{const n=e.startsWith("#")?e:a6(e);return{background:t?Mu(n,80):Ha(n,90),borderColor:t?Mu(n,40):Ha(n,50),color:t?Ha(n,40):n}},u6=e=>({background:e?"#2D3748":"#F7FAFC",borderColor:e?"#4A5568":"#E2E8F0",color:e?"#A0AEC0":"#4A5568"}),c6=e=>{switch(e){case"xs":return"text-xs px-1 py-0.5";case"lg":return"text-sm px-2.5 py-1.5";case"md":return"text-sm px-2 py-1";default:return"text-xs px-1.5 py-0.5"}},d6=(e,t,n,r)=>e?n?t.color:On[e]?.[500]||t.color:r?"#A0AEC0":"#4A5568",fr=l.forwardRef(({label:e,color:t,size:n="sm",className:r,onClick:i,onMouseDown:a,truncate:o,isHashColor:s=!1,icon:u,removable:c=!1,onRemove:d,onUpload:h,acceptsUpload:m=!1,theme:p="light","aria-label":g},b)=>{const v=p==="dark",x=()=>t?t in On?o6(t,v):s6(t,v):u6(v),y=w=>{const z=w.target.files?.[0];z&&h&&h(z),w.target.value=""},C=w=>{(w.key==="Enter"||w.key===" ")&&(i||m)&&(w.preventDefault(),i&&i(w))},M=x(),E=d6(t,M,s,v);return f.jsx("div",{ref:b,className:Y("inline-flex items-center border rounded-md transition-colors bg-primary-50 border-primary-100 text-primary-600 dark:bg-primary-900 dark:border-primary-800 dark:text-primary-400",c6(n),(i||m)&&"cursor-pointer hover:opacity-80",r),onMouseDown:a,onClick:i,onKeyDown:C,"aria-label":g||`Tag: ${e}`,role:"button",tabIndex:i||m?0:void 0,children:f.jsxs("div",{className:"flex items-center gap-0.5 truncate w-full overflow-hidden",children:[u,o?f.jsx("p",{title:e,className:`text-${n} ${i||m?"cursor-pointer":""}`,children:e.length>o?`${e.slice(0,o)}...`:e}):f.jsx("p",{className:`text-${n}`,children:e}),m&&f.jsx("input",{type:"file",onChange:y,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer","aria-label":`Upload file for ${e}`}),c&&d&&f.jsx("button",{onClick:d,className:"ml-1 flex-shrink-0","aria-label":`Remove ${e}`,type:"button",children:f.jsx(Fu,{size:12,fill:E,className:"cursor-pointer"})})]})})});fr.displayName="Tag";const St=({labels:e=[]})=>{const t=[],n=[];return e.forEach(r=>{typeof r=="string"&&!t.includes(r)?t.push(r):typeof r!="string"&&!n.some(i=>i.label===r.label)&&n.push(r)}),f.jsxs(f.Fragment,{children:[t?.map(r=>f.jsx(fr,{size:"xs",label:r,color:"primary"},r)),n?.map((r,i)=>f.jsx(fr,{size:"xs",label:r?.label,color:r?.color},r?.id||i))]})};function Su(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ve.apply(null,arguments)}var Au=function(t){return t.reduce(function(n,r){var i=r[0],a=r[1];return n[i]=a,n},{})},Nu=typeof window<"u"&&window.document&&window.document.createElement?ce.useLayoutEffect:ce.useEffect,yt="top",Gt="bottom",_t="right",Et="left",ja="auto",Ur=[yt,Gt,_t,Et],hr="start",Xr="end",f6="clippingParents",Du="viewport",Zr="popper",h6="reference",Lu=Ur.reduce(function(e,t){return e.concat([t+"-"+hr,t+"-"+Xr])},[]),Tu=[].concat(Ur,[ja]).reduce(function(e,t){return e.concat([t,t+"-"+hr,t+"-"+Xr])},[]),m6="beforeRead",p6="read",g6="afterRead",v6="beforeMain",b6="main",x6="afterMain",w6="beforeWrite",y6="write",E6="afterWrite",C6=[m6,p6,g6,v6,b6,x6,w6,y6,E6];function nn(e){return e?(e.nodeName||"").toLowerCase():null}function At(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function qn(e){var t=At(e).Element;return e instanceof t||e instanceof Element}function $t(e){var t=At(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Pa(e){if(typeof ShadowRoot>"u")return!1;var t=At(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function k6(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!$t(a)||!nn(a)||(Object.assign(a.style,r),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function I6(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],a=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=o.reduce(function(u,c){return u[c]="",u},{});!$t(i)||!nn(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(u){i.removeAttribute(u)}))})}}const z6={name:"applyStyles",enabled:!0,phase:"write",fn:k6,effect:I6,requires:["computeStyles"]};function rn(e){return e.split("-")[0]}var Qn=Math.max,Ri=Math.min,mr=Math.round;function Oa(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Bu(){return!/^((?!chrome|android).)*safari/i.test(Oa())}function pr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&$t(e)&&(i=e.offsetWidth>0&&mr(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&mr(r.height)/e.offsetHeight||1);var o=qn(e)?At(e):window,s=o.visualViewport,u=!Bu()&&n,c=(r.left+(u&&s?s.offsetLeft:0))/i,d=(r.top+(u&&s?s.offsetTop:0))/a,h=r.width/i,m=r.height/a;return{width:h,height:m,top:d,right:c+h,bottom:d+m,left:c,x:c,y:d}}function Va(e){var t=pr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Hu(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Pa(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function gn(e){return At(e).getComputedStyle(e)}function F6(e){return["table","td","th"].indexOf(nn(e))>=0}function Vn(e){return((qn(e)?e.ownerDocument:e.document)||window.document).documentElement}function el(e){return nn(e)==="html"?e:e.assignedSlot||e.parentNode||(Pa(e)?e.host:null)||Vn(e)}function ju(e){return!$t(e)||gn(e).position==="fixed"?null:e.offsetParent}function M6(e){var t=/firefox/i.test(Oa()),n=/Trident/i.test(Oa());if(n&&$t(e)){var r=gn(e);if(r.position==="fixed")return null}var i=el(e);for(Pa(i)&&(i=i.host);$t(i)&&["html","body"].indexOf(nn(i))<0;){var a=gn(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Yr(e){for(var t=At(e),n=ju(e);n&&F6(n)&&gn(n).position==="static";)n=ju(n);return n&&(nn(n)==="html"||nn(n)==="body"&&gn(n).position==="static")?t:n||M6(e)||t}function Ga(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Jr(e,t,n){return Qn(e,Ri(t,n))}function S6(e,t,n){var r=Jr(e,t,n);return r>n?n:r}function Pu(){return{top:0,right:0,bottom:0,left:0}}function Ou(e){return Object.assign({},Pu(),e)}function Vu(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var A6=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Ou(typeof t!="number"?t:Vu(t,Ur))};function N6(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=rn(n.placement),u=Ga(s),c=[Et,_t].indexOf(s)>=0,d=c?"height":"width";if(!(!a||!o)){var h=A6(i.padding,n),m=Va(a),p=u==="y"?yt:Et,g=u==="y"?Gt:_t,b=n.rects.reference[d]+n.rects.reference[u]-o[u]-n.rects.popper[d],v=o[u]-n.rects.reference[u],x=Yr(a),y=x?u==="y"?x.clientHeight||0:x.clientWidth||0:0,C=b/2-v/2,M=h[p],E=y-m[d]-h[g],w=y/2-m[d]/2+C,z=Jr(M,w,E),I=u;n.modifiersData[r]=(t={},t[I]=z,t.centerOffset=z-w,t)}}function D6(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Hu(t.elements.popper,i)&&(t.elements.arrow=i))}const L6={name:"arrow",enabled:!0,phase:"main",fn:N6,effect:D6,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gr(e){return e.split("-")[1]}var T6={top:"auto",right:"auto",bottom:"auto",left:"auto"};function B6(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:mr(n*i)/i||0,y:mr(r*i)/i||0}}function Gu(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=o.x,p=m===void 0?0:m,g=o.y,b=g===void 0?0:g,v=typeof d=="function"?d({x:p,y:b}):{x:p,y:b};p=v.x,b=v.y;var x=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),C=Et,M=yt,E=window;if(c){var w=Yr(n),z="clientHeight",I="clientWidth";if(w===At(n)&&(w=Vn(n),gn(w).position!=="static"&&s==="absolute"&&(z="scrollHeight",I="scrollWidth")),w=w,i===yt||(i===Et||i===_t)&&a===Xr){M=Gt;var k=h&&w===E&&E.visualViewport?E.visualViewport.height:w[z];b-=k-r.height,b*=u?1:-1}if(i===Et||(i===yt||i===Gt)&&a===Xr){C=_t;var F=h&&w===E&&E.visualViewport?E.visualViewport.width:w[I];p-=F-r.width,p*=u?1:-1}}var N=Object.assign({position:s},c&&T6),B=d===!0?B6({x:p,y:b},At(n)):{x:p,y:b};if(p=B.x,b=B.y,u){var H;return Object.assign({},N,(H={},H[M]=y?"0":"",H[C]=x?"0":"",H.transform=(E.devicePixelRatio||1)<=1?"translate("+p+"px, "+b+"px)":"translate3d("+p+"px, "+b+"px, 0)",H))}return Object.assign({},N,(t={},t[M]=y?b+"px":"",t[C]=x?p+"px":"",t.transform="",t))}function H6(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,u=s===void 0?!0:s,c={placement:rn(t.placement),variation:gr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Gu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Gu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const j6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:H6,data:{}};var tl={passive:!0};function P6(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,u=At(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",n.update,tl)}),s&&u.addEventListener("resize",n.update,tl),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",n.update,tl)}),s&&u.removeEventListener("resize",n.update,tl)}}const O6={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:P6,data:{}};var V6={left:"right",right:"left",bottom:"top",top:"bottom"};function nl(e){return e.replace(/left|right|bottom|top/g,function(t){return V6[t]})}var G6={start:"end",end:"start"};function _u(e){return e.replace(/start|end/g,function(t){return G6[t]})}function _a(e){var t=At(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function $a(e){return pr(Vn(e)).left+_a(e).scrollLeft}function _6(e,t){var n=At(e),r=Vn(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,u=0;if(i){a=i.width,o=i.height;var c=Bu();(c||!c&&t==="fixed")&&(s=i.offsetLeft,u=i.offsetTop)}return{width:a,height:o,x:s+$a(e),y:u}}function $6(e){var t,n=Vn(e),r=_a(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Qn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Qn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+$a(e),u=-r.scrollTop;return gn(i||n).direction==="rtl"&&(s+=Qn(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:u}}function Wa(e){var t=gn(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function $u(e){return["html","body","#document"].indexOf(nn(e))>=0?e.ownerDocument.body:$t(e)&&Wa(e)?e:$u(el(e))}function Kr(e,t){var n;t===void 0&&(t=[]);var r=$u(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=At(r),o=i?[a].concat(a.visualViewport||[],Wa(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(Kr(el(o)))}function Ua(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function W6(e,t){var n=pr(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Wu(e,t,n){return t===Du?Ua(_6(e,n)):qn(t)?W6(t,n):Ua($6(Vn(e)))}function U6(e){var t=Kr(el(e)),n=["absolute","fixed"].indexOf(gn(e).position)>=0,r=n&&$t(e)?Yr(e):e;return qn(r)?t.filter(function(i){return qn(i)&&Hu(i,r)&&nn(i)!=="body"}):[]}function X6(e,t,n,r){var i=t==="clippingParents"?U6(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(u,c){var d=Wu(e,c,r);return u.top=Qn(d.top,u.top),u.right=Ri(d.right,u.right),u.bottom=Ri(d.bottom,u.bottom),u.left=Qn(d.left,u.left),u},Wu(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Uu(e){var t=e.reference,n=e.element,r=e.placement,i=r?rn(r):null,a=r?gr(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,u;switch(i){case yt:u={x:o,y:t.y-n.height};break;case Gt:u={x:o,y:t.y+t.height};break;case _t:u={x:t.x+t.width,y:s};break;case Et:u={x:t.x-n.width,y:s};break;default:u={x:t.x,y:t.y}}var c=i?Ga(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case hr:u[c]=u[c]-(t[d]/2-n[d]/2);break;case Xr:u[c]=u[c]+(t[d]/2-n[d]/2);break}}return u}function qr(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,u=s===void 0?f6:s,c=n.rootBoundary,d=c===void 0?Du:c,h=n.elementContext,m=h===void 0?Zr:h,p=n.altBoundary,g=p===void 0?!1:p,b=n.padding,v=b===void 0?0:b,x=Ou(typeof v!="number"?v:Vu(v,Ur)),y=m===Zr?h6:Zr,C=e.rects.popper,M=e.elements[g?y:m],E=X6(qn(M)?M:M.contextElement||Vn(e.elements.popper),u,d,o),w=pr(e.elements.reference),z=Uu({reference:w,element:C,placement:i}),I=Ua(Object.assign({},C,z)),k=m===Zr?I:w,F={top:E.top-k.top+x.top,bottom:k.bottom-E.bottom+x.bottom,left:E.left-k.left+x.left,right:k.right-E.right+x.right},N=e.modifiersData.offset;if(m===Zr&&N){var B=N[i];Object.keys(F).forEach(function(H){var L=[_t,Gt].indexOf(H)>=0?1:-1,S=[yt,Gt].indexOf(H)>=0?"y":"x";F[H]+=B[S]*L})}return F}function Z6(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?Tu:u,d=gr(r),h=d?s?Lu:Lu.filter(function(g){return gr(g)===d}):Ur,m=h.filter(function(g){return c.indexOf(g)>=0});m.length===0&&(m=h);var p=m.reduce(function(g,b){return g[b]=qr(e,{placement:b,boundary:i,rootBoundary:a,padding:o})[rn(b)],g},{});return Object.keys(p).sort(function(g,b){return p[g]-p[b]})}function Y6(e){if(rn(e)===ja)return[];var t=nl(e);return[_u(e),t,_u(t)]}function J6(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,u=n.fallbackPlacements,c=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,b=n.allowedAutoPlacements,v=t.options.placement,x=rn(v),y=x===v,C=u||(y||!g?[nl(v)]:Y6(v)),M=[v].concat(C).reduce(function(X,K){return X.concat(rn(K)===ja?Z6(t,{placement:K,boundary:d,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:b}):K)},[]),E=t.rects.reference,w=t.rects.popper,z=new Map,I=!0,k=M[0],F=0;F<M.length;F++){var N=M[F],B=rn(N),H=gr(N)===hr,L=[yt,Gt].indexOf(B)>=0,S=L?"width":"height",T=qr(t,{placement:N,boundary:d,rootBoundary:h,altBoundary:m,padding:c}),G=L?H?_t:Et:H?Gt:yt;E[S]>w[S]&&(G=nl(G));var O=nl(G),_=[];if(a&&_.push(T[B]<=0),s&&_.push(T[G]<=0,T[O]<=0),_.every(function(X){return X})){k=N,I=!1;break}z.set(N,_)}if(I)for(var A=g?3:1,$=function(K){var ae=M.find(function(R){var ue=z.get(R);if(ue)return ue.slice(0,K).every(function(U){return U})});if(ae)return k=ae,"break"},W=A;W>0;W--){var D=$(W);if(D==="break")break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}}const K6={name:"flip",enabled:!0,phase:"main",fn:J6,requiresIfExists:["offset"],data:{_skip:!1}};function Xu(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Zu(e){return[yt,_t,Gt,Et].some(function(t){return e[t]>=0})}function q6(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=qr(t,{elementContext:"reference"}),s=qr(t,{altBoundary:!0}),u=Xu(o,r),c=Xu(s,i,a),d=Zu(u),h=Zu(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const Q6={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:q6};function R6(e,t,n){var r=rn(e),i=[Et,yt].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[Et,_t].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function eg(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=Tu.reduce(function(d,h){return d[h]=R6(h,t.rects,a),d},{}),s=o[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=o}const tg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:eg};function ng(e){var t=e.state,n=e.name;t.modifiersData[n]=Uu({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const rg={name:"popperOffsets",enabled:!0,phase:"read",fn:ng,data:{}};function ig(e){return e==="x"?"y":"x"}function lg(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,u=n.boundary,c=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,p=m===void 0?!0:m,g=n.tetherOffset,b=g===void 0?0:g,v=qr(t,{boundary:u,rootBoundary:c,padding:h,altBoundary:d}),x=rn(t.placement),y=gr(t.placement),C=!y,M=Ga(x),E=ig(M),w=t.modifiersData.popperOffsets,z=t.rects.reference,I=t.rects.popper,k=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,F=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(w){if(a){var H,L=M==="y"?yt:Et,S=M==="y"?Gt:_t,T=M==="y"?"height":"width",G=w[M],O=G+v[L],_=G-v[S],A=p?-I[T]/2:0,$=y===hr?z[T]:I[T],W=y===hr?-I[T]:-z[T],D=t.elements.arrow,X=p&&D?Va(D):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Pu(),ae=K[L],R=K[S],ue=Jr(0,z[T],X[T]),U=C?z[T]/2-A-ue-ae-F.mainAxis:$-ue-ae-F.mainAxis,J=C?-z[T]/2+A+ue+R+F.mainAxis:W+ue+R+F.mainAxis,fe=t.elements.arrow&&Yr(t.elements.arrow),ee=fe?M==="y"?fe.clientTop||0:fe.clientLeft||0:0,be=(H=N?.[M])!=null?H:0,je=G+U-be-ee,Q=G+J-be,oe=Jr(p?Ri(O,je):O,G,p?Qn(_,Q):_);w[M]=oe,B[M]=oe-G}if(s){var Ce,Qe=M==="x"?yt:Et,Re=M==="x"?Gt:_t,De=w[E],ut=E==="y"?"height":"width",bt=De+v[Qe],pn=De-v[Re],ge=[yt,Et].indexOf(x)!==-1,He=(Ce=N?.[E])!=null?Ce:0,Z=ge?bt:De-z[ut]-I[ut]-He+F.altAxis,te=ge?De+z[ut]+I[ut]-He-F.altAxis:pn,ye=p&&ge?S6(Z,De,te):Jr(p?Z:bt,De,p?te:pn);w[E]=ye,B[E]=ye-De}t.modifiersData[r]=B}}const ag={name:"preventOverflow",enabled:!0,phase:"main",fn:lg,requiresIfExists:["offset"]};function og(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sg(e){return e===At(e)||!$t(e)?_a(e):og(e)}function ug(e){var t=e.getBoundingClientRect(),n=mr(t.width)/e.offsetWidth||1,r=mr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function cg(e,t,n){n===void 0&&(n=!1);var r=$t(t),i=$t(t)&&ug(t),a=Vn(t),o=pr(e,i,n),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((nn(t)!=="body"||Wa(a))&&(s=sg(t)),$t(t)?(u=pr(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=$a(a))),{x:o.left+s.scrollLeft-u.x,y:o.top+s.scrollTop-u.y,width:o.width,height:o.height}}function dg(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var u=t.get(s);u&&i(u)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function fg(e){var t=dg(e);return C6.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function hg(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function mg(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Yu={placement:"bottom",modifiers:[],strategy:"absolute"};function Ju(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function pg(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?Yu:i;return function(s,u,c){c===void 0&&(c=a);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Yu,a),modifiersData:{},elements:{reference:s,popper:u},attributes:{},styles:{}},h=[],m=!1,p={state:d,setOptions:function(x){var y=typeof x=="function"?x(d.options):x;b(),d.options=Object.assign({},a,d.options,y),d.scrollParents={reference:qn(s)?Kr(s):s.contextElement?Kr(s.contextElement):[],popper:Kr(u)};var C=fg(mg([].concat(r,d.options.modifiers)));return d.orderedModifiers=C.filter(function(M){return M.enabled}),g(),p.update()},forceUpdate:function(){if(!m){var x=d.elements,y=x.reference,C=x.popper;if(Ju(y,C)){d.rects={reference:cg(y,Yr(C),d.options.strategy==="fixed"),popper:Va(C)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(F){return d.modifiersData[F.name]=Object.assign({},F.data)});for(var M=0;M<d.orderedModifiers.length;M++){if(d.reset===!0){d.reset=!1,M=-1;continue}var E=d.orderedModifiers[M],w=E.fn,z=E.options,I=z===void 0?{}:z,k=E.name;typeof w=="function"&&(d=w({state:d,options:I,name:k,instance:p})||d)}}}},update:hg(function(){return new Promise(function(v){p.forceUpdate(),v(d)})}),destroy:function(){b(),m=!0}};if(!Ju(s,u))return p;p.setOptions(c).then(function(v){!m&&c.onFirstUpdate&&c.onFirstUpdate(v)});function g(){d.orderedModifiers.forEach(function(v){var x=v.name,y=v.options,C=y===void 0?{}:y,M=v.effect;if(typeof M=="function"){var E=M({state:d,name:x,instance:p,options:C}),w=function(){};h.push(E||w)}})}function b(){h.forEach(function(v){return v()}),h=[]}return p}}var gg=[O6,rg,j6,z6,tg,K6,ag,L6,Q6],vg=pg({defaultModifiers:gg}),Xa,Ku;function bg(){if(Ku)return Xa;Ku=1;var e=typeof Element<"u",t=typeof Map=="function",n=typeof Set=="function",r=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(a,o){if(a===o)return!0;if(a&&o&&typeof a=="object"&&typeof o=="object"){if(a.constructor!==o.constructor)return!1;var s,u,c;if(Array.isArray(a)){if(s=a.length,s!=o.length)return!1;for(u=s;u--!==0;)if(!i(a[u],o[u]))return!1;return!0}var d;if(t&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(d=a.entries();!(u=d.next()).done;)if(!o.has(u.value[0]))return!1;for(d=a.entries();!(u=d.next()).done;)if(!i(u.value[1],o.get(u.value[0])))return!1;return!0}if(n&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(d=a.entries();!(u=d.next()).done;)if(!o.has(u.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if(s=a.length,s!=o.length)return!1;for(u=s;u--!==0;)if(a[u]!==o[u])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof o.valueOf=="function")return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof o.toString=="function")return a.toString()===o.toString();if(c=Object.keys(a),s=c.length,s!==Object.keys(o).length)return!1;for(u=s;u--!==0;)if(!Object.prototype.hasOwnProperty.call(o,c[u]))return!1;if(e&&a instanceof Element)return!1;for(u=s;u--!==0;)if(!((c[u]==="_owner"||c[u]==="__v"||c[u]==="__o")&&a.$$typeof)&&!i(a[c[u]],o[c[u]]))return!1;return!0}return a!==a&&o!==o}return Xa=function(o,s){try{return i(o,s)}catch(u){if((u.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw u}},Xa}var xg=bg();const wg=Jt(xg);var yg=[],Eg=function(t,n,r){r===void 0&&(r={});var i=ce.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||yg},o=ce.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=o[0],u=o[1],c=ce.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(p){var g=p.state,b=Object.keys(g.elements);Vp.flushSync(function(){u({styles:Au(b.map(function(v){return[v,g.styles[v]||{}]})),attributes:Au(b.map(function(v){return[v,g.attributes[v]]}))})})},requires:["computeStyles"]}},[]),d=ce.useMemo(function(){var m={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return wg(i.current,m)?i.current||m:(i.current=m,m)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),h=ce.useRef();return Nu(function(){h.current&&h.current.setOptions(d)},[d]),Nu(function(){if(!(t==null||n==null)){var m=r.createPopper||vg,p=m(t,n,d);return h.current=p,function(){p.destroy(),h.current=null}}},[t,n,r.createPopper]),{state:h.current?h.current.state:null,styles:s.styles,attributes:s.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}};function qu(e){var t=ce.useRef(e);return t.current=e,ce.useCallback(function(){return t.current},[])}var Cg=function(){};function kg(e){var t=e.initial,n=e.value,r=e.onChange,i=r===void 0?Cg:r;if(t===void 0&&n===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var a=ce.useState(t),o=a[0],s=a[1],u=qu(o),c=ce.useCallback(function(h){var m=u(),p=typeof h=="function"?h(m):h;typeof p.persist=="function"&&p.persist(),s(p),typeof i=="function"&&i(p)},[u,i]),d=n!==void 0;return[d?n:o,d?i:c]}function Qu(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:function(){return null}}}}var Ig=["styles","attributes"],Ru={getBoundingClientRect:Qu()},e1={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function zg(e,t){var n,r,i;e===void 0&&(e={}),t===void 0&&(t={});var a=Object.keys(e1).reduce(function(S,T){var G;return ve({},S,(G={},G[T]=S[T]!==void 0?S[T]:e1[T],G))},e),o=ce.useMemo(function(){return[{name:"offset",options:{offset:a.offset}}]},Array.isArray(a.offset)?a.offset:[]),s=ve({},t,{placement:t.placement||a.placement,modifiers:t.modifiers||o}),u=ce.useState(null),c=u[0],d=u[1],h=ce.useState(null),m=h[0],p=h[1],g=kg({initial:a.defaultVisible,value:a.visible,onChange:a.onVisibleChange}),b=g[0],v=g[1],x=ce.useRef();ce.useEffect(function(){return function(){return clearTimeout(x.current)}},[]);var y=Eg(a.followCursor?Ru:c,m,s),C=y.styles,M=y.attributes,E=Su(y,Ig),w=E.update,z=qu({visible:b,triggerRef:c,tooltipRef:m,finalConfig:a}),I=ce.useCallback(function(S){return Array.isArray(a.trigger)?a.trigger.includes(S):a.trigger===S},Array.isArray(a.trigger)?a.trigger:[a.trigger]),k=ce.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return v(!1)},a.delayHide)},[a.delayHide,v]),F=ce.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return v(!0)},a.delayShow)},[a.delayShow,v]),N=ce.useCallback(function(){z().visible?k():F()},[z,k,F]);ce.useEffect(function(){if(z().finalConfig.closeOnOutsideClick){var S=function(G){var O,_=z(),A=_.tooltipRef,$=_.triggerRef,W=(G.composedPath==null||(O=G.composedPath())==null?void 0:O[0])||G.target;W instanceof Node&&A!=null&&$!=null&&!A.contains(W)&&!$.contains(W)&&k()};return document.addEventListener("mousedown",S),function(){return document.removeEventListener("mousedown",S)}}},[z,k]),ce.useEffect(function(){if(!(c==null||!I("click")))return c.addEventListener("click",N),function(){return c.removeEventListener("click",N)}},[c,I,N]),ce.useEffect(function(){if(!(c==null||!I("double-click")))return c.addEventListener("dblclick",N),function(){return c.removeEventListener("dblclick",N)}},[c,I,N]),ce.useEffect(function(){if(!(c==null||!I("right-click"))){var S=function(G){G.preventDefault(),N()};return c.addEventListener("contextmenu",S),function(){return c.removeEventListener("contextmenu",S)}}},[c,I,N]),ce.useEffect(function(){if(!(c==null||!I("focus")))return c.addEventListener("focus",F),c.addEventListener("blur",k),function(){c.removeEventListener("focus",F),c.removeEventListener("blur",k)}},[c,I,F,k]),ce.useEffect(function(){if(!(c==null||!I("hover")))return c.addEventListener("mouseenter",F),c.addEventListener("mouseleave",k),function(){c.removeEventListener("mouseenter",F),c.removeEventListener("mouseleave",k)}},[c,I,F,k]),ce.useEffect(function(){if(!(m==null||!I("hover")||!z().finalConfig.interactive))return m.addEventListener("mouseenter",F),m.addEventListener("mouseleave",k),function(){m.removeEventListener("mouseenter",F),m.removeEventListener("mouseleave",k)}},[m,I,F,k,z]);var B=E==null||(n=E.state)==null||(r=n.modifiersData)==null||(i=r.hide)==null?void 0:i.isReferenceHidden;ce.useEffect(function(){a.closeOnTriggerHidden&&B&&k()},[a.closeOnTriggerHidden,k,B]),ce.useEffect(function(){if(!a.followCursor||c==null)return;function S(T){var G=T.clientX,O=T.clientY;Ru.getBoundingClientRect=Qu(G,O),w?.()}return c.addEventListener("mousemove",S),function(){return c.removeEventListener("mousemove",S)}},[a.followCursor,c,w]),ce.useEffect(function(){if(!(m==null||w==null||a.mutationObserverOptions==null)){var S=new MutationObserver(w);return S.observe(m,a.mutationObserverOptions),function(){return S.disconnect()}}},[a.mutationObserverOptions,m,w]);var H=function(T){return T===void 0&&(T={}),ve({},T,{style:ve({},T.style,C.popper)},M.popper,{"data-popper-interactive":a.interactive})},L=function(T){return T===void 0&&(T={}),ve({},T,M.arrow,{style:ve({},T.style,C.arrow),"data-popper-arrow":!0})};return ve({getArrowProps:L,getTooltipProps:H,setTooltipRef:p,setTriggerRef:d,tooltipRef:m,triggerRef:c,visible:b},E)}const et=({children:e,title:t,hideTooltip:n=!1,delayShow:r=!1,whiteSpace:i="initial",placement:a="top",className:o})=>{const{getArrowProps:s,getTooltipProps:u,setTooltipRef:c,setTriggerRef:d,visible:h}=zg({placement:a}),[m,p]=l.useState(!r),[g,b]=l.useState(null),v=()=>{if(r){const y=setTimeout(()=>{p(!0)},1e3);b(y)}else p(!0)},x=()=>{g&&(clearTimeout(g),b(null)),r&&p(!1)};return f.jsxs(f.Fragment,{children:[f.jsx("div",{ref:d,className:o,onMouseEnter:v,onMouseLeave:x,children:e}),h&&(r?m&&t:t)&&!n&&dr.createPortal(f.jsxs("div",{ref:c,...u({className:"tooltip-container",style:{whiteSpace:i}}),children:[t,f.jsx("div",{...s({className:"tooltip-arrow"})})]}),document.body)]})},Fg=({size:e=24,fill:t="currentColor",fillSecondary:n="white"})=>f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[f.jsx("path",{d:"M17.5128 13.6276L13.7184 11.9717C12.8016 11.5708 12.0696 10.8389 11.6688 9.92205L10.0128 6.12765C9.88322 5.83245 9.46802 5.83245 9.33842 6.12765L7.68242 9.92205C7.28162 10.8389 6.54962 11.5708 5.63282 11.9717L1.83122 13.63C1.53842 13.7572 1.53602 14.1748 1.83122 14.3044L5.69762 16.0132C6.61202 16.4188 7.34162 17.1532 7.73762 18.0724L9.34082 21.7948C9.46802 22.09 9.88802 22.0924 10.0152 21.7948L11.6688 18.0052C12.0696 17.0884 12.8016 16.3565 13.7184 15.9557L17.5128 14.2997C17.808 14.17 17.808 13.7548 17.5128 13.6252V13.6276Z",fill:t}),f.jsx("path",{d:"M22.2624 6.43876L20.0688 5.48116C19.5384 5.25076 19.116 4.82596 18.8856 4.29796L17.928 2.10436C17.8536 1.93396 17.6136 1.93396 17.5392 2.10436L16.5816 4.29796C16.3512 4.82836 15.9264 5.25076 15.3984 5.48116L13.2024 6.43876C13.032 6.51316 13.032 6.75316 13.2024 6.82756L15.4368 7.81636C15.9648 8.04916 16.3872 8.47636 16.6152 9.00676L17.5416 11.1572C17.616 11.3276 17.8584 11.3276 17.9328 11.1572L18.888 8.96836C19.1184 8.43796 19.5432 8.01556 20.0712 7.78516L22.2648 6.82756C22.4352 6.75316 22.4352 6.51316 22.2648 6.43876H22.2624Z",fill:t})]}),ln=({position:e="top",title:t="AI Extracted Field"})=>f.jsx(et,{placement:e,title:t,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Fg,{size:12,fill:"#016DCF",fillSecondary:"#54A4EC"})})}),Nt=({isConditional:e})=>f.jsx("span",{className:`${e?"text-yellow-500":"text-red-500"}`,children:"*"}),Mg=({className:e,size:t=16})=>f.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,children:[f.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),f.jsx("circle",{cx:"12",cy:"12",r:"3"})]}),Sg=({className:e,size:t=16})=>f.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,children:[f.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),f.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}),Ag=({className:e,size:t=16})=>f.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,children:[f.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),f.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),Ng=({className:e,size:t=16})=>f.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,children:[f.jsx("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),f.jsx("path",{d:"M3 3v5h5"})]}),Za=l.forwardRef(({id:e,label:t,onChange:n,errorMessage:r,successMessage:i,required:a,isRequiredConditional:o=!1,bg:s,tags:u,color:c,className:d,isPasswordField:h,setIsPasswordVisible:m,inputRef:p,tooltip:g,suffixIcon:b,revertBackValue:v,originalCase:x=!1,textSize:y,isAiExtracted:C=!1,isGTN:M=!1,gtnName:E=null,inputClassName:w="",inputStyle:z={},labelClassName:I,onBlur:k,isLiveField:F=!1,isClearable:N=!1,riskDetails:B,isRiskAnalysisOpen:H=!1,RiskDetailsCard:L,onAddGTNToDocument:S,...T},G)=>{const{t:O}=tn(),[_,A]=l.useState(!1),[$,W]=l.useState(!1),D=X=>{S&&S({key:E,value:X})};return f.jsxs("div",{className:Y("flex gap-0.5 relative",$&&M?"border rounded-lg border-primary-100 bg-primary-50 p-1 focus:ring-blue-500 focus:border-blue-500 dark:focus:ring-neutral-50 dark:focus:border-neutral-50":""),onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),children:[M&&!$?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("flex flex-col w-full",d),children:[f.jsx("style",{children:`
49
+ `}),h?f.jsx("label",{htmlFor:k,className:"mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",children:f.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:f.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:f.jsxs(se,{variant:"medium",size:"extra-small",appearance:"subtitle",children:[h,d&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}):null,f.jsxs("div",{className:"relative input-field",children:[f.jsx("input",{...y,ref:C,id:k,type:m,value:t,defaultValue:o,placeholder:p,required:d,disabled:s,max:u,min:c,onKeyDown:r,style:F(),className:Y("border border-solid h-8 rounded-md block w-full pl-3","text-sm font-medium text-neutral-900 dark:text-black-100","bg-white dark:bg-black-600","transition-colors duration-200 ease-in-out","focus:outline-none focus:ring-2",z(),s&&"opacity-70 cursor-not-allowed bg-neutral-50 dark:bg-black-700",v),onChange:N=>n(N.target.value),onClick:N=>N.stopPropagation()}),g&&f.jsx("div",{ref:M,className:"absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none",children:g})]}),f.jsx(Ue.AnimatePresence,{children:i&&f.jsx(Ue.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:f.jsx(se,{className:Y("mt-1",I()),appearance:"custom",size:"extra-small",variant:"medium",children:i})})})]})});La.displayName="InputField";const Xp=(e,t,n,r)=>{const i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);Kn(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},Cu={},Ta=(e,t,n,r)=>{Kn(n)&&Cu[n]||(Kn(n)&&(Cu[n]=new Date),Xp(e,t,n,r))},ku=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Ba=(e,t,n)=>{e.loadNamespaces(t,ku(e,n))},Iu=(e,t,n,r)=>{if(Kn(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Ba(e,n,r);n.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,ku(e,r))},Zp=(e,t,n={})=>!t.languages||!t.languages.length?(Ta(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,e))return!1}}),Kn=e=>typeof e=="string",Yp=e=>typeof e=="object"&&e!==null,Jp=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Kp={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},qp=e=>Kp[e];let Qp={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(Jp,qp)};const Rp=()=>Qp;let e6;const t6=()=>e6,n6=l.createContext();class r6{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const i6=(e,t)=>{const n=l.useRef();return l.useEffect(()=>{n.current=e},[e,t]),n.current},zu=(e,t,n,r)=>e.getFixedT(t,n,r),l6=(e,t,n,r)=>l.useCallback(zu(e,t,n,r),[e,t,n,r]),tn=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:i}=l.useContext(n6)||{},a=n||r||t6();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new r6),!a){Ta(a,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const M=(w,z)=>Kn(z)?z:Yp(z)&&Kn(z.defaultValue)?z.defaultValue:Array.isArray(w)?w[w.length-1]:w,E=[M,{},!1];return E.t=M,E.i18n={},E.ready=!1,E}a.options.react?.wait&&Ta(a,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Rp(),...a.options.react,...t},{useSuspense:s,keyPrefix:u}=o;let c=i||a.options?.defaultNS;c=Kn(c)?[c]:c||["translation"],a.reportNamespaces.addUsedNamespaces?.(c);const d=(a.isInitialized||a.initializedStoreOnce)&&c.every(M=>Zp(M,a,o)),h=l6(a,t.lng||null,o.nsMode==="fallback"?c:c[0],u),m=()=>h,p=()=>zu(a,t.lng||null,o.nsMode==="fallback"?c:c[0],u),[g,b]=l.useState(m);let v=c.join();t.lng&&(v=`${t.lng}${v}`);const x=i6(v),y=l.useRef(!0);l.useEffect(()=>{const{bindI18n:M,bindI18nStore:E}=o;y.current=!0,!d&&!s&&(t.lng?Iu(a,t.lng,c,()=>{y.current&&b(p)}):Ba(a,c,()=>{y.current&&b(p)})),d&&x&&x!==v&&y.current&&b(p);const w=()=>{y.current&&b(p)};return M&&a?.on(M,w),E&&a?.store.on(E,w),()=>{y.current=!1,a&&M&&M?.split(" ").forEach(z=>a.off(z,w)),E&&a&&E.split(" ").forEach(z=>a.store.off(z,w))}},[a,v]),l.useEffect(()=>{y.current&&d&&b(m)},[a,u,d]);const C=[g,a,d];if(C.t=g,C.i18n=a,C.ready=d,d||!d&&!s)return C;throw new Promise(M=>{t.lng?Iu(a,t.lng,c,()=>M()):Ba(a,c,()=>M())})},Vt=({size:e=16,className:t="",...n})=>f.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`text-neutral-500 hover:text-neutral-700 ${t}`,...n,children:[f.jsx("circle",{cx:"12",cy:"12",r:"10"}),f.jsx("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),f.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]}),Fu=l.forwardRef(({size:e=24,fill:t="currentColor",className:n,...r},i)=>f.jsx("svg",{ref:i,className:Y(n),width:e,height:e,viewBox:"0 0 20 20",fill:t,xmlns:"http://www.w3.org/2000/svg",...r,children:f.jsx("path",{d:"M10.0002 11.1666L5.91683 15.2499C5.76405 15.4027 5.56961 15.4791 5.3335 15.4791C5.09739 15.4791 4.90294 15.4027 4.75016 15.2499C4.59738 15.0971 4.521 14.9027 4.521 14.6666C4.521 14.4305 4.59738 14.236 4.75016 14.0833L8.8335 9.99992L4.75016 5.91659C4.59738 5.76381 4.521 5.56936 4.521 5.33325C4.521 5.09714 4.59738 4.9027 4.75016 4.74992C4.90294 4.59714 5.09739 4.52075 5.3335 4.52075C5.56961 4.52075 5.76405 4.59714 5.91683 4.74992L10.0002 8.83325L14.0835 4.74992C14.2363 4.59714 14.4307 4.52075 14.6668 4.52075C14.9029 4.52075 15.0974 4.59714 15.2502 4.74992C15.4029 4.9027 15.4793 5.09714 15.4793 5.33325C15.4793 5.56936 15.4029 5.76381 15.2502 5.91659L11.1668 9.99992L15.2502 14.0833C15.4029 14.236 15.4793 14.4305 15.4793 14.6666C15.4793 14.9027 15.4029 15.0971 15.2502 15.2499C15.0974 15.4027 14.9029 15.4791 14.6668 15.4791C14.4307 15.4791 14.2363 15.4027 14.0835 15.2499L10.0002 11.1666Z"})}));Fu.displayName="CloseIcon";const On={primary:{50:"#E6F1FC",100:"#C6E1F9",200:"#8AC0F2",300:"#54A4EC",400:"#3392E9",500:"#0077E3",600:"#016DCF",700:"#0054A1",800:"#00417D",900:"#00325F",950:"#001c35",975:"#00111f"},black:{50:"#f0f0f0",100:"#d9d9d9",200:"#bfbfbf",300:"#8c8c8c",400:"#595959",500:"#454545",600:"#262626",700:"#1f1f1f",800:"#141414",900:"#000000",950:"#0a0a0a",975:"#050505"},blue:{50:"#E6F1FC",100:"#C6E1F9",200:"#8AC0F2",300:"#54A4EC",400:"#3392E9",500:"#0077E3",600:"#016DCF",700:"#0054A1",800:"#00417D",900:"#00325F",950:"#002547",975:"#001529"},success:{50:"#ECFDF3",100:"#D1FADF",200:"#A6F4C5",300:"#6CE9A6",400:"#32D583",500:"#12B76A",600:"#039855",700:"#027A48",800:"#05603A",900:"#054F31",950:"#033625",975:"#022419"},neutral:{50:"#F9FAFB",100:"#F2F4F7",200:"#EAECF0",300:"#D0D5DD",400:"#98A2B3",500:"#667085",600:"#475467",700:"#344054",800:"#1D2939",900:"#101828",950:"#0c1219",975:"#080a0f"},error:{50:"#FEF3F2",100:"#FEE4E2",200:"#FECDCA",300:"#FDA29B",400:"#F97066",500:"#F04438",600:"#D92D20",700:"#B42318",800:"#912018",900:"#7A271A",950:"#3d1008",975:"#2a0b05"},warning:{50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E",950:"#662505",975:"#451803"},teal:{50:"#ebf5f5",100:"#c2e0df",200:"#a4d1d0",300:"#7abcba",400:"#61afad",500:"#399b98",600:"#348d8a",700:"#286e6c",800:"#1f5554",900:"#184140",950:"#133534",975:"#0c2222"},green:{50:"#f2f7f2",100:"#d5e5d5",200:"#c1d9c1",300:"#a5c7a5",400:"#94bd93",500:"#79ac78",600:"#6e9d6d",700:"#567a55",800:"#435f42",900:"#334832",950:"#001e00",975:"#182818"},yellow:{50:"#fffaed",100:"#fff0c7",200:"#ffe8ac",300:"#ffde86",400:"#ffd76f",500:"#ffcd4b",600:"#e8bb44",700:"#b59235",800:"#8c7129",900:"#6b5620",950:"#524314",975:"#382e0e"},orange:{50:"#fef4e8",100:"#fddeb7",200:"#fcce94",300:"#fbb764",400:"#faa945",500:"#f99417",600:"#e38715",700:"#b16910",800:"#89510d",900:"#693e0a",950:"#4d2d07",975:"#331e05"},peach:{50:"#fceef3",100:"#f5cad9",200:"#f0b0c6",300:"#ea8cad",400:"#e5759d",500:"#df5384",600:"#cb4c78",700:"#9e3b5e",800:"#7b2e49",900:"#5e2337",950:"#451a2b",975:"#2e111d"},red:{50:"#fceaeb",100:"#f6bec0",200:"#f29ea2",300:"#ec7278",400:"#e9575d",500:"#e32d35",600:"#cf2930",700:"#a12026",800:"#7d191d",900:"#5f1316",950:"#470c0f",975:"#2f080a"},purple:{50:"#f5e7ff",100:"#dfb4ff",200:"#d090ff",300:"#bb5dff",400:"#ad3dff",500:"#990dff",600:"#8b0ce8",700:"#6d09b5",800:"#54078c",900:"#40056b",950:"#300450",975:"#200336"},navy:{50:"#eaebf6",100:"#bebfe2",200:"#9ea1d3",300:"#7276bf",400:"#575bb3",500:"#2d32a0",600:"#292e92",700:"#202472",800:"#191c58",900:"#131543",950:"#0d0e2f",975:"#090a20"},grey:{50:"#f2f2f2",100:"#d5d5d5",200:"#c1c1c1",300:"#a5a5a5",400:"#939393",500:"#787878",600:"#6d6d6d",700:"#555555",800:"#424242",900:"#323232",950:"#252525",975:"#191919"}},a6=e=>{let t=0;for(let i=0;i<e.length;i++)t=e.charCodeAt(i)+((t<<5)-t);const n=(t&16777215).toString(16).toUpperCase();return`#${"00000".substring(0,6-n.length)+n}`},Ha=(e,t=80)=>{let n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),i=parseInt(e.slice(5,7),16);return n=Math.min(255,n+(255-n)*(t/100)),r=Math.min(255,r+(255-r)*(t/100)),i=Math.min(255,i+(255-i)*(t/100)),`#${Math.round(n).toString(16).padStart(2,"0")}${Math.round(r).toString(16).padStart(2,"0")}${Math.round(i).toString(16).padStart(2,"0")}`},Mu=(e,t=30)=>{let n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),i=parseInt(e.slice(5,7),16);return n=Math.max(0,n*(1-t/100)),r=Math.max(0,r*(1-t/100)),i=Math.max(0,i*(1-t/100)),`#${Math.round(n).toString(16).padStart(2,"0")}${Math.round(r).toString(16).padStart(2,"0")}${Math.round(i).toString(16).padStart(2,"0")}`},o6=(e,t)=>({background:t?On[e]?.[975]:On[e]?.[50],borderColor:t?On[e]?.[900]:On[e]?.[100],color:t?On[e]?.[500]:On[e]?.[600]}),s6=(e,t)=>{const n=e.startsWith("#")?e:a6(e);return{background:t?Mu(n,80):Ha(n,90),borderColor:t?Mu(n,40):Ha(n,50),color:t?Ha(n,40):n}},u6=e=>({background:e?"#2D3748":"#F7FAFC",borderColor:e?"#4A5568":"#E2E8F0",color:e?"#A0AEC0":"#4A5568"}),c6=e=>{switch(e){case"xs":return"text-xs px-1 py-0.5";case"lg":return"text-sm px-2.5 py-1.5";case"md":return"text-sm px-2 py-1";default:return"text-xs px-1.5 py-0.5"}},d6=(e,t,n,r)=>e?n?t.color:On[e]?.[500]||t.color:r?"#A0AEC0":"#4A5568",fr=l.forwardRef(({label:e,color:t,size:n="sm",className:r,onClick:i,onMouseDown:a,truncate:o,isHashColor:s=!1,icon:u,removable:c=!1,onRemove:d,onUpload:h,acceptsUpload:m=!1,theme:p="light","aria-label":g},b)=>{const v=p==="dark",x=()=>t?t in On?o6(t,v):s6(t,v):u6(v),y=w=>{const z=w.target.files?.[0];z&&h&&h(z),w.target.value=""},C=w=>{(w.key==="Enter"||w.key===" ")&&(i||m)&&(w.preventDefault(),i&&i(w))},M=x(),E=d6(t,M,s,v);return f.jsx("div",{ref:b,className:Y("inline-flex items-center border rounded-md transition-colors bg-primary-50 border-primary-100 text-primary-600 dark:bg-primary-900 dark:border-primary-800 dark:text-primary-400",c6(n),(i||m)&&"cursor-pointer hover:opacity-80",r),onMouseDown:a,onClick:i,onKeyDown:C,"aria-label":g||`Tag: ${e}`,role:"button",tabIndex:i||m?0:void 0,children:f.jsxs("div",{className:"flex items-center gap-0.5 truncate w-full overflow-hidden",children:[u,o?f.jsx("p",{title:e,className:`text-${n} ${i||m?"cursor-pointer":""}`,children:e.length>o?`${e.slice(0,o)}...`:e}):f.jsx("p",{className:`text-${n}`,children:e}),m&&f.jsx("input",{type:"file",onChange:y,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer","aria-label":`Upload file for ${e}`}),c&&d&&f.jsx("button",{onClick:d,className:"ml-1 flex-shrink-0","aria-label":`Remove ${e}`,type:"button",children:f.jsx(Fu,{size:12,fill:E,className:"cursor-pointer"})})]})})});fr.displayName="Tag";const St=({labels:e=[]})=>{const t=[],n=[];return e.forEach(r=>{typeof r=="string"&&!t.includes(r)?t.push(r):typeof r!="string"&&!n.some(i=>i.label===r.label)&&n.push(r)}),f.jsxs(f.Fragment,{children:[t?.map(r=>f.jsx(fr,{size:"xs",label:r,color:"primary"},r)),n?.map((r,i)=>f.jsx(fr,{size:"xs",label:r?.label,color:r?.color},r?.id||i))]})};function Su(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ve.apply(null,arguments)}var Au=function(t){return t.reduce(function(n,r){var i=r[0],a=r[1];return n[i]=a,n},{})},Nu=typeof window<"u"&&window.document&&window.document.createElement?ce.useLayoutEffect:ce.useEffect,yt="top",Gt="bottom",_t="right",Et="left",ja="auto",Ur=[yt,Gt,_t,Et],hr="start",Xr="end",f6="clippingParents",Du="viewport",Zr="popper",h6="reference",Lu=Ur.reduce(function(e,t){return e.concat([t+"-"+hr,t+"-"+Xr])},[]),Tu=[].concat(Ur,[ja]).reduce(function(e,t){return e.concat([t,t+"-"+hr,t+"-"+Xr])},[]),m6="beforeRead",p6="read",g6="afterRead",v6="beforeMain",b6="main",x6="afterMain",w6="beforeWrite",y6="write",E6="afterWrite",C6=[m6,p6,g6,v6,b6,x6,w6,y6,E6];function nn(e){return e?(e.nodeName||"").toLowerCase():null}function At(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function qn(e){var t=At(e).Element;return e instanceof t||e instanceof Element}function $t(e){var t=At(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Pa(e){if(typeof ShadowRoot>"u")return!1;var t=At(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function k6(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!$t(a)||!nn(a)||(Object.assign(a.style,r),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function I6(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],a=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=o.reduce(function(u,c){return u[c]="",u},{});!$t(i)||!nn(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(u){i.removeAttribute(u)}))})}}const z6={name:"applyStyles",enabled:!0,phase:"write",fn:k6,effect:I6,requires:["computeStyles"]};function rn(e){return e.split("-")[0]}var Qn=Math.max,Ri=Math.min,mr=Math.round;function Oa(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Bu(){return!/^((?!chrome|android).)*safari/i.test(Oa())}function pr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&$t(e)&&(i=e.offsetWidth>0&&mr(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&mr(r.height)/e.offsetHeight||1);var o=qn(e)?At(e):window,s=o.visualViewport,u=!Bu()&&n,c=(r.left+(u&&s?s.offsetLeft:0))/i,d=(r.top+(u&&s?s.offsetTop:0))/a,h=r.width/i,m=r.height/a;return{width:h,height:m,top:d,right:c+h,bottom:d+m,left:c,x:c,y:d}}function Va(e){var t=pr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Hu(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Pa(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function gn(e){return At(e).getComputedStyle(e)}function F6(e){return["table","td","th"].indexOf(nn(e))>=0}function Vn(e){return((qn(e)?e.ownerDocument:e.document)||window.document).documentElement}function el(e){return nn(e)==="html"?e:e.assignedSlot||e.parentNode||(Pa(e)?e.host:null)||Vn(e)}function ju(e){return!$t(e)||gn(e).position==="fixed"?null:e.offsetParent}function M6(e){var t=/firefox/i.test(Oa()),n=/Trident/i.test(Oa());if(n&&$t(e)){var r=gn(e);if(r.position==="fixed")return null}var i=el(e);for(Pa(i)&&(i=i.host);$t(i)&&["html","body"].indexOf(nn(i))<0;){var a=gn(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Yr(e){for(var t=At(e),n=ju(e);n&&F6(n)&&gn(n).position==="static";)n=ju(n);return n&&(nn(n)==="html"||nn(n)==="body"&&gn(n).position==="static")?t:n||M6(e)||t}function Ga(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Jr(e,t,n){return Qn(e,Ri(t,n))}function S6(e,t,n){var r=Jr(e,t,n);return r>n?n:r}function Pu(){return{top:0,right:0,bottom:0,left:0}}function Ou(e){return Object.assign({},Pu(),e)}function Vu(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var A6=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Ou(typeof t!="number"?t:Vu(t,Ur))};function N6(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=rn(n.placement),u=Ga(s),c=[Et,_t].indexOf(s)>=0,d=c?"height":"width";if(!(!a||!o)){var h=A6(i.padding,n),m=Va(a),p=u==="y"?yt:Et,g=u==="y"?Gt:_t,b=n.rects.reference[d]+n.rects.reference[u]-o[u]-n.rects.popper[d],v=o[u]-n.rects.reference[u],x=Yr(a),y=x?u==="y"?x.clientHeight||0:x.clientWidth||0:0,C=b/2-v/2,M=h[p],E=y-m[d]-h[g],w=y/2-m[d]/2+C,z=Jr(M,w,E),I=u;n.modifiersData[r]=(t={},t[I]=z,t.centerOffset=z-w,t)}}function D6(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Hu(t.elements.popper,i)&&(t.elements.arrow=i))}const L6={name:"arrow",enabled:!0,phase:"main",fn:N6,effect:D6,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gr(e){return e.split("-")[1]}var T6={top:"auto",right:"auto",bottom:"auto",left:"auto"};function B6(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:mr(n*i)/i||0,y:mr(r*i)/i||0}}function Gu(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,m=o.x,p=m===void 0?0:m,g=o.y,b=g===void 0?0:g,v=typeof d=="function"?d({x:p,y:b}):{x:p,y:b};p=v.x,b=v.y;var x=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),C=Et,M=yt,E=window;if(c){var w=Yr(n),z="clientHeight",I="clientWidth";if(w===At(n)&&(w=Vn(n),gn(w).position!=="static"&&s==="absolute"&&(z="scrollHeight",I="scrollWidth")),w=w,i===yt||(i===Et||i===_t)&&a===Xr){M=Gt;var k=h&&w===E&&E.visualViewport?E.visualViewport.height:w[z];b-=k-r.height,b*=u?1:-1}if(i===Et||(i===yt||i===Gt)&&a===Xr){C=_t;var F=h&&w===E&&E.visualViewport?E.visualViewport.width:w[I];p-=F-r.width,p*=u?1:-1}}var N=Object.assign({position:s},c&&T6),B=d===!0?B6({x:p,y:b},At(n)):{x:p,y:b};if(p=B.x,b=B.y,u){var H;return Object.assign({},N,(H={},H[M]=y?"0":"",H[C]=x?"0":"",H.transform=(E.devicePixelRatio||1)<=1?"translate("+p+"px, "+b+"px)":"translate3d("+p+"px, "+b+"px, 0)",H))}return Object.assign({},N,(t={},t[M]=y?b+"px":"",t[C]=x?p+"px":"",t.transform="",t))}function H6(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,u=s===void 0?!0:s,c={placement:rn(t.placement),variation:gr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Gu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Gu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const j6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:H6,data:{}};var tl={passive:!0};function P6(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,u=At(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",n.update,tl)}),s&&u.addEventListener("resize",n.update,tl),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",n.update,tl)}),s&&u.removeEventListener("resize",n.update,tl)}}const O6={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:P6,data:{}};var V6={left:"right",right:"left",bottom:"top",top:"bottom"};function nl(e){return e.replace(/left|right|bottom|top/g,function(t){return V6[t]})}var G6={start:"end",end:"start"};function _u(e){return e.replace(/start|end/g,function(t){return G6[t]})}function _a(e){var t=At(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function $a(e){return pr(Vn(e)).left+_a(e).scrollLeft}function _6(e,t){var n=At(e),r=Vn(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,u=0;if(i){a=i.width,o=i.height;var c=Bu();(c||!c&&t==="fixed")&&(s=i.offsetLeft,u=i.offsetTop)}return{width:a,height:o,x:s+$a(e),y:u}}function $6(e){var t,n=Vn(e),r=_a(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Qn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Qn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+$a(e),u=-r.scrollTop;return gn(i||n).direction==="rtl"&&(s+=Qn(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:u}}function Wa(e){var t=gn(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function $u(e){return["html","body","#document"].indexOf(nn(e))>=0?e.ownerDocument.body:$t(e)&&Wa(e)?e:$u(el(e))}function Kr(e,t){var n;t===void 0&&(t=[]);var r=$u(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=At(r),o=i?[a].concat(a.visualViewport||[],Wa(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(Kr(el(o)))}function Ua(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function W6(e,t){var n=pr(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Wu(e,t,n){return t===Du?Ua(_6(e,n)):qn(t)?W6(t,n):Ua($6(Vn(e)))}function U6(e){var t=Kr(el(e)),n=["absolute","fixed"].indexOf(gn(e).position)>=0,r=n&&$t(e)?Yr(e):e;return qn(r)?t.filter(function(i){return qn(i)&&Hu(i,r)&&nn(i)!=="body"}):[]}function X6(e,t,n,r){var i=t==="clippingParents"?U6(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(u,c){var d=Wu(e,c,r);return u.top=Qn(d.top,u.top),u.right=Ri(d.right,u.right),u.bottom=Ri(d.bottom,u.bottom),u.left=Qn(d.left,u.left),u},Wu(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Uu(e){var t=e.reference,n=e.element,r=e.placement,i=r?rn(r):null,a=r?gr(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,u;switch(i){case yt:u={x:o,y:t.y-n.height};break;case Gt:u={x:o,y:t.y+t.height};break;case _t:u={x:t.x+t.width,y:s};break;case Et:u={x:t.x-n.width,y:s};break;default:u={x:t.x,y:t.y}}var c=i?Ga(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case hr:u[c]=u[c]-(t[d]/2-n[d]/2);break;case Xr:u[c]=u[c]+(t[d]/2-n[d]/2);break}}return u}function qr(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,u=s===void 0?f6:s,c=n.rootBoundary,d=c===void 0?Du:c,h=n.elementContext,m=h===void 0?Zr:h,p=n.altBoundary,g=p===void 0?!1:p,b=n.padding,v=b===void 0?0:b,x=Ou(typeof v!="number"?v:Vu(v,Ur)),y=m===Zr?h6:Zr,C=e.rects.popper,M=e.elements[g?y:m],E=X6(qn(M)?M:M.contextElement||Vn(e.elements.popper),u,d,o),w=pr(e.elements.reference),z=Uu({reference:w,element:C,placement:i}),I=Ua(Object.assign({},C,z)),k=m===Zr?I:w,F={top:E.top-k.top+x.top,bottom:k.bottom-E.bottom+x.bottom,left:E.left-k.left+x.left,right:k.right-E.right+x.right},N=e.modifiersData.offset;if(m===Zr&&N){var B=N[i];Object.keys(F).forEach(function(H){var L=[_t,Gt].indexOf(H)>=0?1:-1,S=[yt,Gt].indexOf(H)>=0?"y":"x";F[H]+=B[S]*L})}return F}function Z6(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?Tu:u,d=gr(r),h=d?s?Lu:Lu.filter(function(g){return gr(g)===d}):Ur,m=h.filter(function(g){return c.indexOf(g)>=0});m.length===0&&(m=h);var p=m.reduce(function(g,b){return g[b]=qr(e,{placement:b,boundary:i,rootBoundary:a,padding:o})[rn(b)],g},{});return Object.keys(p).sort(function(g,b){return p[g]-p[b]})}function Y6(e){if(rn(e)===ja)return[];var t=nl(e);return[_u(e),t,_u(t)]}function J6(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,u=n.fallbackPlacements,c=n.padding,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,b=n.allowedAutoPlacements,v=t.options.placement,x=rn(v),y=x===v,C=u||(y||!g?[nl(v)]:Y6(v)),M=[v].concat(C).reduce(function(X,K){return X.concat(rn(K)===ja?Z6(t,{placement:K,boundary:d,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:b}):K)},[]),E=t.rects.reference,w=t.rects.popper,z=new Map,I=!0,k=M[0],F=0;F<M.length;F++){var N=M[F],B=rn(N),H=gr(N)===hr,L=[yt,Gt].indexOf(B)>=0,S=L?"width":"height",T=qr(t,{placement:N,boundary:d,rootBoundary:h,altBoundary:m,padding:c}),G=L?H?_t:Et:H?Gt:yt;E[S]>w[S]&&(G=nl(G));var O=nl(G),_=[];if(a&&_.push(T[B]<=0),s&&_.push(T[G]<=0,T[O]<=0),_.every(function(X){return X})){k=N,I=!1;break}z.set(N,_)}if(I)for(var A=g?3:1,$=function(K){var ae=M.find(function(R){var ue=z.get(R);if(ue)return ue.slice(0,K).every(function(U){return U})});if(ae)return k=ae,"break"},W=A;W>0;W--){var D=$(W);if(D==="break")break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}}const K6={name:"flip",enabled:!0,phase:"main",fn:J6,requiresIfExists:["offset"],data:{_skip:!1}};function Xu(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Zu(e){return[yt,_t,Gt,Et].some(function(t){return e[t]>=0})}function q6(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=qr(t,{elementContext:"reference"}),s=qr(t,{altBoundary:!0}),u=Xu(o,r),c=Xu(s,i,a),d=Zu(u),h=Zu(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const Q6={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:q6};function R6(e,t,n){var r=rn(e),i=[Et,yt].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[Et,_t].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function eg(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=Tu.reduce(function(d,h){return d[h]=R6(h,t.rects,a),d},{}),s=o[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=o}const tg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:eg};function ng(e){var t=e.state,n=e.name;t.modifiersData[n]=Uu({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const rg={name:"popperOffsets",enabled:!0,phase:"read",fn:ng,data:{}};function ig(e){return e==="x"?"y":"x"}function lg(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,u=n.boundary,c=n.rootBoundary,d=n.altBoundary,h=n.padding,m=n.tether,p=m===void 0?!0:m,g=n.tetherOffset,b=g===void 0?0:g,v=qr(t,{boundary:u,rootBoundary:c,padding:h,altBoundary:d}),x=rn(t.placement),y=gr(t.placement),C=!y,M=Ga(x),E=ig(M),w=t.modifiersData.popperOffsets,z=t.rects.reference,I=t.rects.popper,k=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,F=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(w){if(a){var H,L=M==="y"?yt:Et,S=M==="y"?Gt:_t,T=M==="y"?"height":"width",G=w[M],O=G+v[L],_=G-v[S],A=p?-I[T]/2:0,$=y===hr?z[T]:I[T],W=y===hr?-I[T]:-z[T],D=t.elements.arrow,X=p&&D?Va(D):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Pu(),ae=K[L],R=K[S],ue=Jr(0,z[T],X[T]),U=C?z[T]/2-A-ue-ae-F.mainAxis:$-ue-ae-F.mainAxis,J=C?-z[T]/2+A+ue+R+F.mainAxis:W+ue+R+F.mainAxis,fe=t.elements.arrow&&Yr(t.elements.arrow),ee=fe?M==="y"?fe.clientTop||0:fe.clientLeft||0:0,be=(H=N?.[M])!=null?H:0,je=G+U-be-ee,Q=G+J-be,oe=Jr(p?Ri(O,je):O,G,p?Qn(_,Q):_);w[M]=oe,B[M]=oe-G}if(s){var Ce,Qe=M==="x"?yt:Et,Re=M==="x"?Gt:_t,Le=w[E],ut=E==="y"?"height":"width",bt=Le+v[Qe],pn=Le-v[Re],ge=[yt,Et].indexOf(x)!==-1,He=(Ce=N?.[E])!=null?Ce:0,Z=ge?bt:Le-z[ut]-I[ut]-He+F.altAxis,te=ge?Le+z[ut]+I[ut]-He-F.altAxis:pn,ye=p&&ge?S6(Z,Le,te):Jr(p?Z:bt,Le,p?te:pn);w[E]=ye,B[E]=ye-Le}t.modifiersData[r]=B}}const ag={name:"preventOverflow",enabled:!0,phase:"main",fn:lg,requiresIfExists:["offset"]};function og(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sg(e){return e===At(e)||!$t(e)?_a(e):og(e)}function ug(e){var t=e.getBoundingClientRect(),n=mr(t.width)/e.offsetWidth||1,r=mr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function cg(e,t,n){n===void 0&&(n=!1);var r=$t(t),i=$t(t)&&ug(t),a=Vn(t),o=pr(e,i,n),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((nn(t)!=="body"||Wa(a))&&(s=sg(t)),$t(t)?(u=pr(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=$a(a))),{x:o.left+s.scrollLeft-u.x,y:o.top+s.scrollTop-u.y,width:o.width,height:o.height}}function dg(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var u=t.get(s);u&&i(u)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function fg(e){var t=dg(e);return C6.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function hg(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function mg(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Yu={placement:"bottom",modifiers:[],strategy:"absolute"};function Ju(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function pg(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?Yu:i;return function(s,u,c){c===void 0&&(c=a);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Yu,a),modifiersData:{},elements:{reference:s,popper:u},attributes:{},styles:{}},h=[],m=!1,p={state:d,setOptions:function(x){var y=typeof x=="function"?x(d.options):x;b(),d.options=Object.assign({},a,d.options,y),d.scrollParents={reference:qn(s)?Kr(s):s.contextElement?Kr(s.contextElement):[],popper:Kr(u)};var C=fg(mg([].concat(r,d.options.modifiers)));return d.orderedModifiers=C.filter(function(M){return M.enabled}),g(),p.update()},forceUpdate:function(){if(!m){var x=d.elements,y=x.reference,C=x.popper;if(Ju(y,C)){d.rects={reference:cg(y,Yr(C),d.options.strategy==="fixed"),popper:Va(C)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(F){return d.modifiersData[F.name]=Object.assign({},F.data)});for(var M=0;M<d.orderedModifiers.length;M++){if(d.reset===!0){d.reset=!1,M=-1;continue}var E=d.orderedModifiers[M],w=E.fn,z=E.options,I=z===void 0?{}:z,k=E.name;typeof w=="function"&&(d=w({state:d,options:I,name:k,instance:p})||d)}}}},update:hg(function(){return new Promise(function(v){p.forceUpdate(),v(d)})}),destroy:function(){b(),m=!0}};if(!Ju(s,u))return p;p.setOptions(c).then(function(v){!m&&c.onFirstUpdate&&c.onFirstUpdate(v)});function g(){d.orderedModifiers.forEach(function(v){var x=v.name,y=v.options,C=y===void 0?{}:y,M=v.effect;if(typeof M=="function"){var E=M({state:d,name:x,instance:p,options:C}),w=function(){};h.push(E||w)}})}function b(){h.forEach(function(v){return v()}),h=[]}return p}}var gg=[O6,rg,j6,z6,tg,K6,ag,L6,Q6],vg=pg({defaultModifiers:gg}),Xa,Ku;function bg(){if(Ku)return Xa;Ku=1;var e=typeof Element<"u",t=typeof Map=="function",n=typeof Set=="function",r=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(a,o){if(a===o)return!0;if(a&&o&&typeof a=="object"&&typeof o=="object"){if(a.constructor!==o.constructor)return!1;var s,u,c;if(Array.isArray(a)){if(s=a.length,s!=o.length)return!1;for(u=s;u--!==0;)if(!i(a[u],o[u]))return!1;return!0}var d;if(t&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(d=a.entries();!(u=d.next()).done;)if(!o.has(u.value[0]))return!1;for(d=a.entries();!(u=d.next()).done;)if(!i(u.value[1],o.get(u.value[0])))return!1;return!0}if(n&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(d=a.entries();!(u=d.next()).done;)if(!o.has(u.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if(s=a.length,s!=o.length)return!1;for(u=s;u--!==0;)if(a[u]!==o[u])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof o.valueOf=="function")return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof o.toString=="function")return a.toString()===o.toString();if(c=Object.keys(a),s=c.length,s!==Object.keys(o).length)return!1;for(u=s;u--!==0;)if(!Object.prototype.hasOwnProperty.call(o,c[u]))return!1;if(e&&a instanceof Element)return!1;for(u=s;u--!==0;)if(!((c[u]==="_owner"||c[u]==="__v"||c[u]==="__o")&&a.$$typeof)&&!i(a[c[u]],o[c[u]]))return!1;return!0}return a!==a&&o!==o}return Xa=function(o,s){try{return i(o,s)}catch(u){if((u.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw u}},Xa}var xg=bg();const wg=Jt(xg);var yg=[],Eg=function(t,n,r){r===void 0&&(r={});var i=ce.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||yg},o=ce.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=o[0],u=o[1],c=ce.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(p){var g=p.state,b=Object.keys(g.elements);Vp.flushSync(function(){u({styles:Au(b.map(function(v){return[v,g.styles[v]||{}]})),attributes:Au(b.map(function(v){return[v,g.attributes[v]]}))})})},requires:["computeStyles"]}},[]),d=ce.useMemo(function(){var m={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return wg(i.current,m)?i.current||m:(i.current=m,m)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),h=ce.useRef();return Nu(function(){h.current&&h.current.setOptions(d)},[d]),Nu(function(){if(!(t==null||n==null)){var m=r.createPopper||vg,p=m(t,n,d);return h.current=p,function(){p.destroy(),h.current=null}}},[t,n,r.createPopper]),{state:h.current?h.current.state:null,styles:s.styles,attributes:s.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}};function qu(e){var t=ce.useRef(e);return t.current=e,ce.useCallback(function(){return t.current},[])}var Cg=function(){};function kg(e){var t=e.initial,n=e.value,r=e.onChange,i=r===void 0?Cg:r;if(t===void 0&&n===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var a=ce.useState(t),o=a[0],s=a[1],u=qu(o),c=ce.useCallback(function(h){var m=u(),p=typeof h=="function"?h(m):h;typeof p.persist=="function"&&p.persist(),s(p),typeof i=="function"&&i(p)},[u,i]),d=n!==void 0;return[d?n:o,d?i:c]}function Qu(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:function(){return null}}}}var Ig=["styles","attributes"],Ru={getBoundingClientRect:Qu()},e1={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function zg(e,t){var n,r,i;e===void 0&&(e={}),t===void 0&&(t={});var a=Object.keys(e1).reduce(function(S,T){var G;return ve({},S,(G={},G[T]=S[T]!==void 0?S[T]:e1[T],G))},e),o=ce.useMemo(function(){return[{name:"offset",options:{offset:a.offset}}]},Array.isArray(a.offset)?a.offset:[]),s=ve({},t,{placement:t.placement||a.placement,modifiers:t.modifiers||o}),u=ce.useState(null),c=u[0],d=u[1],h=ce.useState(null),m=h[0],p=h[1],g=kg({initial:a.defaultVisible,value:a.visible,onChange:a.onVisibleChange}),b=g[0],v=g[1],x=ce.useRef();ce.useEffect(function(){return function(){return clearTimeout(x.current)}},[]);var y=Eg(a.followCursor?Ru:c,m,s),C=y.styles,M=y.attributes,E=Su(y,Ig),w=E.update,z=qu({visible:b,triggerRef:c,tooltipRef:m,finalConfig:a}),I=ce.useCallback(function(S){return Array.isArray(a.trigger)?a.trigger.includes(S):a.trigger===S},Array.isArray(a.trigger)?a.trigger:[a.trigger]),k=ce.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return v(!1)},a.delayHide)},[a.delayHide,v]),F=ce.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return v(!0)},a.delayShow)},[a.delayShow,v]),N=ce.useCallback(function(){z().visible?k():F()},[z,k,F]);ce.useEffect(function(){if(z().finalConfig.closeOnOutsideClick){var S=function(G){var O,_=z(),A=_.tooltipRef,$=_.triggerRef,W=(G.composedPath==null||(O=G.composedPath())==null?void 0:O[0])||G.target;W instanceof Node&&A!=null&&$!=null&&!A.contains(W)&&!$.contains(W)&&k()};return document.addEventListener("mousedown",S),function(){return document.removeEventListener("mousedown",S)}}},[z,k]),ce.useEffect(function(){if(!(c==null||!I("click")))return c.addEventListener("click",N),function(){return c.removeEventListener("click",N)}},[c,I,N]),ce.useEffect(function(){if(!(c==null||!I("double-click")))return c.addEventListener("dblclick",N),function(){return c.removeEventListener("dblclick",N)}},[c,I,N]),ce.useEffect(function(){if(!(c==null||!I("right-click"))){var S=function(G){G.preventDefault(),N()};return c.addEventListener("contextmenu",S),function(){return c.removeEventListener("contextmenu",S)}}},[c,I,N]),ce.useEffect(function(){if(!(c==null||!I("focus")))return c.addEventListener("focus",F),c.addEventListener("blur",k),function(){c.removeEventListener("focus",F),c.removeEventListener("blur",k)}},[c,I,F,k]),ce.useEffect(function(){if(!(c==null||!I("hover")))return c.addEventListener("mouseenter",F),c.addEventListener("mouseleave",k),function(){c.removeEventListener("mouseenter",F),c.removeEventListener("mouseleave",k)}},[c,I,F,k]),ce.useEffect(function(){if(!(m==null||!I("hover")||!z().finalConfig.interactive))return m.addEventListener("mouseenter",F),m.addEventListener("mouseleave",k),function(){m.removeEventListener("mouseenter",F),m.removeEventListener("mouseleave",k)}},[m,I,F,k,z]);var B=E==null||(n=E.state)==null||(r=n.modifiersData)==null||(i=r.hide)==null?void 0:i.isReferenceHidden;ce.useEffect(function(){a.closeOnTriggerHidden&&B&&k()},[a.closeOnTriggerHidden,k,B]),ce.useEffect(function(){if(!a.followCursor||c==null)return;function S(T){var G=T.clientX,O=T.clientY;Ru.getBoundingClientRect=Qu(G,O),w?.()}return c.addEventListener("mousemove",S),function(){return c.removeEventListener("mousemove",S)}},[a.followCursor,c,w]),ce.useEffect(function(){if(!(m==null||w==null||a.mutationObserverOptions==null)){var S=new MutationObserver(w);return S.observe(m,a.mutationObserverOptions),function(){return S.disconnect()}}},[a.mutationObserverOptions,m,w]);var H=function(T){return T===void 0&&(T={}),ve({},T,{style:ve({},T.style,C.popper)},M.popper,{"data-popper-interactive":a.interactive})},L=function(T){return T===void 0&&(T={}),ve({},T,M.arrow,{style:ve({},T.style,C.arrow),"data-popper-arrow":!0})};return ve({getArrowProps:L,getTooltipProps:H,setTooltipRef:p,setTriggerRef:d,tooltipRef:m,triggerRef:c,visible:b},E)}const et=({children:e,title:t,hideTooltip:n=!1,delayShow:r=!1,whiteSpace:i="initial",placement:a="top",className:o})=>{const{getArrowProps:s,getTooltipProps:u,setTooltipRef:c,setTriggerRef:d,visible:h}=zg({placement:a}),[m,p]=l.useState(!r),[g,b]=l.useState(null),v=()=>{if(r){const y=setTimeout(()=>{p(!0)},1e3);b(y)}else p(!0)},x=()=>{g&&(clearTimeout(g),b(null)),r&&p(!1)};return f.jsxs(f.Fragment,{children:[f.jsx("div",{ref:d,className:o,onMouseEnter:v,onMouseLeave:x,children:e}),h&&(r?m&&t:t)&&!n&&dr.createPortal(f.jsxs("div",{ref:c,...u({className:"tooltip-container",style:{whiteSpace:i}}),children:[t,f.jsx("div",{...s({className:"tooltip-arrow"})})]}),document.body)]})},Fg=({size:e=24,fill:t="currentColor",fillSecondary:n="white"})=>f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[f.jsx("path",{d:"M17.5128 13.6276L13.7184 11.9717C12.8016 11.5708 12.0696 10.8389 11.6688 9.92205L10.0128 6.12765C9.88322 5.83245 9.46802 5.83245 9.33842 6.12765L7.68242 9.92205C7.28162 10.8389 6.54962 11.5708 5.63282 11.9717L1.83122 13.63C1.53842 13.7572 1.53602 14.1748 1.83122 14.3044L5.69762 16.0132C6.61202 16.4188 7.34162 17.1532 7.73762 18.0724L9.34082 21.7948C9.46802 22.09 9.88802 22.0924 10.0152 21.7948L11.6688 18.0052C12.0696 17.0884 12.8016 16.3565 13.7184 15.9557L17.5128 14.2997C17.808 14.17 17.808 13.7548 17.5128 13.6252V13.6276Z",fill:t}),f.jsx("path",{d:"M22.2624 6.43876L20.0688 5.48116C19.5384 5.25076 19.116 4.82596 18.8856 4.29796L17.928 2.10436C17.8536 1.93396 17.6136 1.93396 17.5392 2.10436L16.5816 4.29796C16.3512 4.82836 15.9264 5.25076 15.3984 5.48116L13.2024 6.43876C13.032 6.51316 13.032 6.75316 13.2024 6.82756L15.4368 7.81636C15.9648 8.04916 16.3872 8.47636 16.6152 9.00676L17.5416 11.1572C17.616 11.3276 17.8584 11.3276 17.9328 11.1572L18.888 8.96836C19.1184 8.43796 19.5432 8.01556 20.0712 7.78516L22.2648 6.82756C22.4352 6.75316 22.4352 6.51316 22.2648 6.43876H22.2624Z",fill:t})]}),ln=({position:e="top",title:t="AI Extracted Field"})=>f.jsx(et,{placement:e,title:t,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Fg,{size:12,fill:"#016DCF",fillSecondary:"#54A4EC"})})}),Nt=({isConditional:e})=>f.jsx("span",{className:`${e?"text-yellow-500":"text-red-500"}`,children:"*"}),Mg=({className:e,size:t=16})=>f.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,children:[f.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),f.jsx("circle",{cx:"12",cy:"12",r:"3"})]}),Sg=({className:e,size:t=16})=>f.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,children:[f.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),f.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}),Ag=({className:e,size:t=16})=>f.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,children:[f.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),f.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),Ng=({className:e,size:t=16})=>f.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,children:[f.jsx("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),f.jsx("path",{d:"M3 3v5h5"})]}),Za=l.forwardRef(({id:e,label:t,onChange:n,errorMessage:r,successMessage:i,required:a,isRequiredConditional:o=!1,bg:s,tags:u,color:c,className:d,isPasswordField:h,setIsPasswordVisible:m,inputRef:p,tooltip:g,suffixIcon:b,revertBackValue:v,originalCase:x=!1,textSize:y,isAiExtracted:C=!1,isGTN:M=!1,gtnName:E=null,inputClassName:w="",inputStyle:z={},labelClassName:I,onBlur:k,isLiveField:F=!1,isClearable:N=!1,riskDetails:B,isRiskAnalysisOpen:H=!1,RiskDetailsCard:L,onAddGTNToDocument:S,...T},G)=>{const{t:O}=tn(),[_,A]=l.useState(!1),[$,W]=l.useState(!1),D=X=>{S&&S({key:E,value:X})};return f.jsxs("div",{className:Y("flex gap-0.5 relative",$&&M?"border rounded-lg border-primary-100 bg-primary-50 p-1 focus:ring-blue-500 focus:border-blue-500 dark:focus:ring-neutral-50 dark:focus:border-neutral-50":""),onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),children:[M&&!$?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("flex flex-col w-full",d),children:[f.jsx("style",{children:`
50
50
  .dark input:-webkit-autofill,
51
51
  .dark input:-webkit-autofill:hover,
52
52
  .dark input:-webkit-autofill:focus {
@@ -62,9 +62,9 @@ React keys must be passed directly to JSX without using spread:
62
62
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
63
63
  transition: background-color 5000s ease-in-out 0s;
64
64
  }
65
- `}),t&&f.jsx("label",{id:e,htmlFor:"text",className:`mb-1 text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${x?"":"capitalize"} ${I||""}`,children:f.jsxs("div",{className:"flex flex-wrap items-center justify-between w-full",children:[f.jsxs("div",{className:"inline-flex flex-wrap items-center gap-1",children:[f.jsxs(se,{variant:"medium",size:"extra-small",appearance:"subtitle",children:[t,a?f.jsx(Nt,{isConditional:o}):a?f.jsx("span",{className:`ml-0.5 ${o?"text-yellow-500":"text-red-500"}`,children:"*"}):null]}),v?.length>0&&v!==T.value&&f.jsx(Be.Tooltip,{placement:"top",title:v,children:f.jsx("button",{className:"cursor-pointer",onClick:()=>n(v),type:"button",children:f.jsx(Ng,{size:16,className:"cursor-pointer pb-0.5 text-primary-600"})})}),F&&f.jsx(Ue.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),C&&f.jsx(ln,{}),f.jsx(St,{labels:u}),g&&f.jsx(Be.Tooltip,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),M&&$&&S?f.jsx("button",{id:`btn-base-input-field-add-to-document-${e}`,className:"cursor-pointer",onClick:()=>D(T?.value),type:"button",children:f.jsx(Be.Tooltip,{placement:"top",title:O("Add to document"),children:f.jsx(Ue.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}),f.jsx("label",{className:"relative block",children:f.jsxs("div",{className:"relative",children:[l.createElement("input",{...T,ref:p||G,id:e||t,key:e,required:a,style:{"--input-bg-color":"var(--tw-bg-opacity, 1) rgb(var(--bg-color))",...z},className:Y("border text-neutral-900 dark:text-black-100 border-solid h-[32px] hover:border-primary-500 dark:hover:border-primary-400",r?"border-red-300":i?"border-green-300":"border-neutral-200 dark:border-black-600",s&&s,c||"text-neutral-900 dark:text-black-100",y||"text-sm","rounded-md block w-full px-3 py-1.5 font-medium disabled:opacity-70 focus:outline-none focus:ring-2","focus:ring-primary-500 dark:focus:ring-primary-400 focus:border-primary-500 dark:focus:border-primary-400 disabled:!bg-neutral-50 dark:disabled:!bg-black-800 dark:disabled:placeholder:!text-black-400",w||"",H&&B?.color?`bg-${B?.color}-50 border-${B?.color}-300`:"bg-white dark:bg-black-600"),onChange:X=>{n(X.target.value)},onClick:X=>X.stopPropagation(),autoComplete:"off",onBlur:k}),h?f.jsx("button",{className:"absolute inset-y-0 flex items-center cursor-pointer right-2",onClick:()=>{A(!_),m?.(!_)},type:"button",children:_?f.jsx(Mg,{className:"text-gray-400",size:16}):f.jsx(Sg,{className:"text-gray-400",size:16})}):N&&T.value?f.jsx("button",{id:`btn-input-field-clear-${e}`,className:"absolute inset-y-0 flex items-center cursor-pointer right-2 focus:outline-none",onClick:X=>{X.stopPropagation(),n("")},type:"button",children:f.jsx(Ag,{className:"text-neutral-200 dark:text-black-500",size:16})}):b?f.jsx("div",{className:"absolute inset-y-0 flex items-center right-2",children:b}):null]})}),f.jsx(We.AnimatePresence,{children:r&&f.jsx(We.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:f.jsx(se,{className:"mt-1 text-error-500",appearance:"custom",size:"extra-small",variant:"medium",children:r})})}),f.jsx(We.AnimatePresence,{children:i&&f.jsx(We.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:f.jsx(se,{className:"mt-1 text-success-500 dark:text-success-300",appearance:"custom",size:"extra-small",variant:"medium",children:i})})})]}),$&&B&&H&&L&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:X=>X.stopPropagation(),onMouseDown:X=>X.preventDefault(),onKeyDown:X=>{X.key==="Escape"&&W(!1)},children:f.jsx(L,{riskDetails:B})})]})});Za.displayName="BaseInputField";const Dg=l.forwardRef(({label:e,placeholder:t,value:n,onChange:r,rows:i=4,message:a,messageType:o="default",defaultValue:s,required:u=!1,disabled:c=!1,className:d,inputRef:h,maxLength:m,originalCase:p=!1,noBorder:g=!1,id:b,inputStyle:v,...x},y)=>{const C=b||`textarea-${Math.random().toString(36).substr(2,9)}`,M=n?.length||0,E=m&&M>m-Math.min(50,m/5),w=m&&M>=m,z=()=>o==="error"?"border-red-300 dark:border-red-500 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400":o==="success"?"border-green-300 dark:border-green-500 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400":o==="info"?"border-blue-300 dark:border-blue-500 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400":"border-gray-300 dark:border-gray-600",I=()=>o==="error"?"text-red-500 dark:text-red-400":o==="success"?"text-green-500 dark:text-green-400":o==="info"?"text-blue-500 dark:text-blue-400":"text-gray-500 dark:text-gray-400";return f.jsxs("div",{className:Y("flex flex-col gap-0.5 relative",d),children:[e&&f.jsx("label",{htmlFor:C,className:Y("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",{capitalize:!p}),children:f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[e,u&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})}),f.jsx("textarea",{...x,id:C,ref:y||h,onChange:k=>r(k.target.value),defaultValue:s,value:n,required:u,disabled:c,rows:i,placeholder:t,maxLength:m||void 0,style:v,className:Y("border rounded-lg bg-white dark:bg-black-600 block w-full py-2.5 px-3","font-inter font-medium text-sm transition-colors duration-200","focus:ring-2 focus:outline-none resize-vertical min-h-[2.5rem]",!g&&z(),{"border-none focus:border-none focus:ring-0":g,"bg-gray-50 dark:bg-gray-700 text-gray-400 dark:text-gray-500 cursor-not-allowed":c,"placeholder:text-gray-400 dark:placeholder:text-gray-500":c,"text-gray-900 dark:text-gray-100":!c,"placeholder:text-gray-400 dark:placeholder:text-gray-400":!c}),onClick:k=>k.stopPropagation(),"aria-invalid":a&&o==="error"?"true":"false","aria-describedby":a?`${C}-message`:void 0}),m&&f.jsxs(se,{className:"mt-0.5 text-right text-gray-600 dark:text-gray-400",appearance:"custom",size:"extra-small",children:[f.jsx("span",{className:Y({"text-red-500 dark:text-red-400":w,"text-yellow-500 dark:text-yellow-400":E&&!w}),children:M}),f.jsxs("span",{className:"text-gray-400 dark:text-gray-500",children:[" ","/ ",m]})]}),f.jsx(We.AnimatePresence,{children:a&&f.jsx(We.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${C}-message`,role:o==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",I()),appearance:"custom",size:"extra-small",variant:"medium",children:a})})})]})}),t1=l.forwardRef(({label:e,placeholder:t,value:n,onChange:r,row:i=4,errorMessage:a,defaultValue:o,required:s,isRequiredConditional:u=!1,tags:c=[],disabled:d,className:h,inputRef:m,maxLength:p=void 0,tooltip:g="",originalCase:b=!1,isAiExtracted:v=!1,isGTN:x=!1,gtnName:y="",noBorder:C=!1,id:M,inputStyle:E,labelClassName:w,isLiveField:z=!1,onBlur:I,riskDetails:k,isRiskAnalysisOpen:F=!1,RiskDetailsCard:N,onAddGTNToDocument:B,...H},L)=>{const{t:S}=tn(),[T,G]=l.useState(!1),O=()=>{B&&B({key:y,value:n||""})};return f.jsxs("div",{ref:L,id:M,className:Y("flex gap-0.5 relative",T&&x?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>G(!0),onMouseLeave:()=>G(!1),children:[x&&!T?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("w-full flex flex-col"),children:[f.jsx("label",{htmlFor:"text",className:`mb-1 text-xs font-medium text-gray-600 dark:text-black-300 inline-flex items-center gap-1 ${b?"":"capitalize"} ${w||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[e,s&&f.jsx(Nt,{})]}),z&&f.jsx(Ue.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),v&&f.jsx(ln,{}),f.jsx(St,{labels:c||[]}),g&&f.jsx(Be.Tooltip,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",role:"button",tabIndex:0,onKeyDown:_=>{(_.key==="Enter"||_.key===" ")&&_.preventDefault()},children:f.jsx(Vt,{})})})]}),x&&T?f.jsx("button",{id:"btn-textarea-field-add-to-document",className:"cursor-pointer",onClick:O,type:"button",children:f.jsx(Be.Tooltip,{placement:"top",title:S("Add to document"),children:f.jsx(Ue.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}),f.jsx("textarea",{...H,onBlur:I,onChange:_=>r(_.target.value),defaultValue:o,value:n,required:s,className:Y(`border rounded-lg bg-white dark:bg-black-600 focus:ring-primary-500 focus:border-primary-500
65
+ `}),t&&f.jsx("label",{id:e,htmlFor:"text",className:`mb-1 text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${x?"":"capitalize"} ${I||""}`,children:f.jsxs("div",{className:"flex flex-wrap items-center justify-between w-full",children:[f.jsxs("div",{className:"inline-flex flex-wrap items-center gap-1",children:[f.jsxs(se,{variant:"medium",size:"extra-small",appearance:"subtitle",children:[t,a?f.jsx(Nt,{isConditional:o}):a?f.jsx("span",{className:`ml-0.5 ${o?"text-yellow-500":"text-red-500"}`,children:"*"}):null]}),v?.length>0&&v!==T.value&&f.jsx(Ne.Tooltip,{placement:"top",title:v,children:f.jsx("button",{className:"cursor-pointer",onClick:()=>n(v),type:"button",children:f.jsx(Ng,{size:16,className:"cursor-pointer pb-0.5 text-primary-600"})})}),F&&f.jsx(We.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),C&&f.jsx(ln,{}),f.jsx(St,{labels:u}),g&&f.jsx(Ne.Tooltip,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),M&&$&&S?f.jsx("button",{id:`btn-base-input-field-add-to-document-${e}`,className:"cursor-pointer",onClick:()=>D(T?.value),type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:O("Add to document"),children:f.jsx(We.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}),f.jsx("label",{className:"relative block",children:f.jsxs("div",{className:"relative",children:[l.createElement("input",{...T,ref:p||G,id:e||t,key:e,required:a,style:{"--input-bg-color":"var(--tw-bg-opacity, 1) rgb(var(--bg-color))",...z},className:Y("border text-neutral-900 dark:text-black-100 border-solid h-[32px] hover:border-primary-500 dark:hover:border-primary-400",r?"border-red-300":i?"border-green-300":"border-neutral-200 dark:border-black-600",s&&s,c||"text-neutral-900 dark:text-black-100",y||"text-sm","rounded-md block w-full px-3 py-1.5 font-medium disabled:opacity-70 focus:outline-none focus:ring-2","focus:ring-primary-500 dark:focus:ring-primary-400 focus:border-primary-500 dark:focus:border-primary-400 disabled:!bg-neutral-50 dark:disabled:!bg-black-800 dark:disabled:placeholder:!text-black-400",w||"",H&&B?.color?`bg-${B?.color}-50 border-${B?.color}-300`:"bg-white dark:bg-black-600"),onChange:X=>{n(X.target.value)},onClick:X=>X.stopPropagation(),autoComplete:"off",onBlur:k}),h?f.jsx("button",{className:"absolute inset-y-0 flex items-center cursor-pointer right-2",onClick:()=>{A(!_),m?.(!_)},type:"button",children:_?f.jsx(Mg,{className:"text-gray-400",size:16}):f.jsx(Sg,{className:"text-gray-400",size:16})}):N&&T.value?f.jsx("button",{id:`btn-input-field-clear-${e}`,className:"absolute inset-y-0 flex items-center cursor-pointer right-2 focus:outline-none",onClick:X=>{X.stopPropagation(),n("")},type:"button",children:f.jsx(Ag,{className:"text-neutral-200 dark:text-black-500",size:16})}):b?f.jsx("div",{className:"absolute inset-y-0 flex items-center right-2",children:b}):null]})}),f.jsx(Ue.AnimatePresence,{children:r&&f.jsx(Ue.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:f.jsx(se,{className:"mt-1 text-error-500",appearance:"custom",size:"extra-small",variant:"medium",children:r})})}),f.jsx(Ue.AnimatePresence,{children:i&&f.jsx(Ue.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:f.jsx(se,{className:"mt-1 text-success-500 dark:text-success-300",appearance:"custom",size:"extra-small",variant:"medium",children:i})})})]}),$&&B&&H&&L&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:X=>X.stopPropagation(),onMouseDown:X=>X.preventDefault(),onKeyDown:X=>{X.key==="Escape"&&W(!1)},children:f.jsx(L,{riskDetails:B})})]})});Za.displayName="BaseInputField";const Dg=l.forwardRef(({label:e,placeholder:t,value:n,onChange:r,rows:i=4,message:a,messageType:o="default",defaultValue:s,required:u=!1,disabled:c=!1,className:d,inputRef:h,maxLength:m,originalCase:p=!1,noBorder:g=!1,id:b,inputStyle:v,...x},y)=>{const C=b||`textarea-${Math.random().toString(36).substr(2,9)}`,M=n?.length||0,E=m&&M>m-Math.min(50,m/5),w=m&&M>=m,z=()=>o==="error"?"border-red-300 dark:border-red-500 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400":o==="success"?"border-green-300 dark:border-green-500 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400":o==="info"?"border-blue-300 dark:border-blue-500 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400":"border-gray-300 dark:border-gray-600",I=()=>o==="error"?"text-red-500 dark:text-red-400":o==="success"?"text-green-500 dark:text-green-400":o==="info"?"text-blue-500 dark:text-blue-400":"text-gray-500 dark:text-gray-400";return f.jsxs("div",{className:Y("flex flex-col gap-0.5 relative",d),children:[e&&f.jsx("label",{htmlFor:C,className:Y("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",{capitalize:!p}),children:f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[e,u&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})}),f.jsx("textarea",{...x,id:C,ref:y||h,onChange:k=>r(k.target.value),defaultValue:s,value:n,required:u,disabled:c,rows:i,placeholder:t,maxLength:m||void 0,style:v,className:Y("border rounded-lg bg-white dark:bg-black-600 block w-full py-2.5 px-3","font-inter font-medium text-sm transition-colors duration-200","focus:ring-2 focus:outline-none resize-vertical min-h-[2.5rem]",!g&&z(),{"border-none focus:border-none focus:ring-0":g,"bg-gray-50 dark:bg-gray-700 text-gray-400 dark:text-gray-500 cursor-not-allowed":c,"placeholder:text-gray-400 dark:placeholder:text-gray-500":c,"text-gray-900 dark:text-gray-100":!c,"placeholder:text-gray-400 dark:placeholder:text-gray-400":!c}),onClick:k=>k.stopPropagation(),"aria-invalid":a&&o==="error"?"true":"false","aria-describedby":a?`${C}-message`:void 0}),m&&f.jsxs(se,{className:"mt-0.5 text-right text-gray-600 dark:text-gray-400",appearance:"custom",size:"extra-small",children:[f.jsx("span",{className:Y({"text-red-500 dark:text-red-400":w,"text-yellow-500 dark:text-yellow-400":E&&!w}),children:M}),f.jsxs("span",{className:"text-gray-400 dark:text-gray-500",children:[" ","/ ",m]})]}),f.jsx(Ue.AnimatePresence,{children:a&&f.jsx(Ue.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${C}-message`,role:o==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",I()),appearance:"custom",size:"extra-small",variant:"medium",children:a})})})]})}),t1=l.forwardRef(({label:e,placeholder:t,value:n,onChange:r,row:i=4,errorMessage:a,defaultValue:o,required:s,isRequiredConditional:u=!1,tags:c=[],disabled:d,className:h,inputRef:m,maxLength:p=void 0,tooltip:g="",originalCase:b=!1,isAiExtracted:v=!1,isGTN:x=!1,gtnName:y="",noBorder:C=!1,id:M,inputStyle:E,labelClassName:w,isLiveField:z=!1,onBlur:I,riskDetails:k,isRiskAnalysisOpen:F=!1,RiskDetailsCard:N,onAddGTNToDocument:B,...H},L)=>{const{t:S}=tn(),[T,G]=l.useState(!1),O=()=>{B&&B({key:y,value:n||""})};return f.jsxs("div",{ref:L,id:M,className:Y("flex gap-0.5 relative",T&&x?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>G(!0),onMouseLeave:()=>G(!1),children:[x&&!T?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("w-full flex flex-col"),children:[f.jsx("label",{htmlFor:"text",className:`mb-1 text-xs font-medium text-gray-600 dark:text-black-300 inline-flex items-center gap-1 ${b?"":"capitalize"} ${w||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[e,s&&f.jsx(Nt,{})]}),z&&f.jsx(We.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),v&&f.jsx(ln,{}),f.jsx(St,{labels:c||[]}),g&&f.jsx(Ne.Tooltip,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",role:"button",tabIndex:0,onKeyDown:_=>{(_.key==="Enter"||_.key===" ")&&_.preventDefault()},children:f.jsx(Vt,{})})})]}),x&&T?f.jsx("button",{id:"btn-textarea-field-add-to-document",className:"cursor-pointer",onClick:O,type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:S("Add to document"),children:f.jsx(We.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}),f.jsx("textarea",{...H,onBlur:I,onChange:_=>r(_.target.value),defaultValue:o,value:n,required:s,className:Y(`border rounded-lg bg-white dark:bg-black-600 focus:ring-primary-500 focus:border-primary-500
66
66
  dark:focus:ring-primary-400 dark:focus:border-primary-400 block w-full py-2.5 px-3 font-inter font-medium text-sm
67
- disabled:bg-neutral-50 dark:disabled:!bg-black-800 dark:disabled:placeholder:!text-black-400`,{"border-red-300":a,"border-gray-300 dark:border-black-700":!a,"text-neutral-400 dark:text-neutral-500":d,"text-neutral-900 dark:text-neutral-50":!d,"border-none":C,"focus:border-none":C,"placeholder:text-neutral-400 dark:placeholder:text-black-400":d,"placeholder:text-neutral-400 dark:placeholder:text-black-300":!d},h,F&&k?.color&&`!bg-${k.color}-50 border-${k.color}-300`),style:F&&k?{backgroundColor:k.hexBgColor||void 0,borderColor:k.hexBorderColor||void 0,...E}:E,rows:i,placeholder:t,disabled:d,maxLength:p||void 0,id:M,ref:m,onClick:_=>_.stopPropagation(),autoComplete:"off"}),p?f.jsxs(se,{className:"mt-0.5 text-right text-neutral-900 dark:text-white",appearance:"custom",size:"extra-small",children:[f.jsxs("span",{className:`${n?.length>=p?"text-error-500":n?.length>p-Math.min(50,p/5)?"text-warning-500 dark:text-warning-300":""}`,children:[n?.length||0," "]}),"/ ",p]}):null,a&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:a})]}),T&&F&&k&&N&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:_=>_.stopPropagation(),onMouseDown:_=>_.preventDefault(),onKeyDown:_=>{_.key==="Escape"&&G(!1)},children:f.jsx(N,{riskDetails:k})})]})});t1.displayName="TextAreaField";const rl=({children:e,className:t,variant:n="default",onClick:r,disabled:i,tooltip:a,tooltipPlacement:o="top",noborder:s,id:u})=>{const c="flex items-center",d={default:`bg-white dark:bg-black-800 hover:bg-neutral-100 dark:hover:bg-black-700 rounded-lg ${s?"":"border border-neutral-300 dark:border-neutral-800"} p-2 hover:opacity-80`,secondary:`bg-transparent rounded-lg ${s?"":"border border-neutral-300 dark:border-black-400"} p-2 hover:opacity-80`,native:`bg-transparent rounded-lg ${s?"":"border border-neutral-300"} p-2 hover:opacity-80`,ghost:"text-neutral-400 hover:bg-neutral-100 hover:text-neutral-600 dark:hover:text-neutral-200 dark:hover:bg-neutral-800 p-1 cursor-pointer rounded-full hover:scale-75 transition-all duration-500 ease-in-out"},h=i?"cursor-not-allowed opacity-50":"cursor-pointer";return f.jsx(et,{title:a,placement:o,delayShow:!0,children:f.jsx("button",{id:u,disabled:i,className:`${c} ${d[n]} ${t||""} ${h}`,onClick:r,children:e})})},n1=l.forwardRef(({id:e,label:t,placeholder:n,value:r,onChange:i,errorMessage:a,defaultValue:o,required:s=!1,isRequiredConditional:u=!1,masterDataName:c,masterDataColumnName:d,masterDataFormula:h,masterDataFilters:m,tags:p,index:g,tooltip:b="",originalCase:v=!1,color:x="",isGTN:y=!1,labelClassName:C,gtnName:M=null,isAiExtracted:E=!1,disabled:w=!1,reference:z={},isLiveField:I=!1,onBlur:k,onAddGTNToDocument:F,riskDetails:N,isRiskAnalysisOpen:B=!1,RiskDetailsCard:H,primaryColorShades:L,setDisableActions:S,showDeprecatedFieldWarning:T,MasterDataModal:G,parseMasterDataFormula:O},_)=>{const{t:A}=tn(),[$,W]=l.useState(!1),[D,X]=l.useState(null),[K,ae]=l.useState(!1),[R,ue]=l.useState(""),[U,J]=l.useState(null),fe=l.useRef(null),ee=_||fe;l.useEffect(()=>{X(r)},[g]),l.useEffect(()=>{D!==null&&D!==r&&i(D,U)},[D,U]);const be=()=>{S?.(!K),ae(!K)},je=De=>{if(De.keyCode===9||De.key==="Enter"){const ut=ee.current||fe.current;ut&&(X(R),ut.blur())}},Q=(De,ut)=>{let bt=De;h&&O&&(bt=O(h,ut)),ue(""),X(bt),be(),J(ut)},oe=()=>{X(""),J(null)},Ce=De=>{F&&M&&F({key:M,value:De})},Qe=()=>{const De="border h-[32px] text-sm rounded-lg block w-full p-2.5 font-inter font-medium",ut=a?"border-red-300":B&&N?.color?`border-${N?.color}-300`:"border-gray-300 dark:border-black-600",bt="placeholder:text-neutral-900 dark:placeholder:text-black-400",pn=`${B&&N?.color?`bg-${N?.color}-50`:"bg-gray-200 dark:bg-black-600 "} ${x||"text-neutral-900 dark:text-black-200"}`;return`${De} ${ut} ${pn} ${bt}`},Re=()=>D!==null?D:h&&O?O(h,z):r;return l.useEffect(()=>{K&&!c&&(T?.(),ae(!1))},[K,c,T]),f.jsxs("div",{className:Y("flex gap-0.5 w-full relative",$&&y?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",{"error-field":!!a}),onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),children:[y&&!$?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("flex flex-col w-full"),children:[f.jsx("label",{htmlFor:"text",className:`text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${v?"":"capitalize"} ${C||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{variant:"medium",size:"extra-small",appearance:"subtitle",children:[t,s&&f.jsx(Nt,{isConditional:u})]}),I&&f.jsx(Ue.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),E&&f.jsx(ln,{}),f.jsx(St,{labels:p}),b&&f.jsx(et,{placement:"top",title:`${b}${h?` | ${h}`:""}`,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),y&&$&&F?f.jsx("button",{id:"btn-master-data-input-add-to-document",className:"cursor-pointer",onClick:()=>Ce(r?.toString()||""),type:"button",children:f.jsx(Be.Tooltip,{placement:"top",title:A("Add to document"),children:f.jsx(Ue.NoteAddOutlined,{sx:{fontSize:16,color:L?.[600]||"var(--color-primary-600)"}})})}):null]})}),f.jsxs("label",{className:"relative block mt-1",children:[f.jsx("input",{id:e,ref:ee,required:s,placeholder:n,className:Qe(),onChange:De=>{i(De.target.value,U),X(De.target?.value)},onKeyDown:je,value:Re(),defaultValue:o,disabled:!0,autoComplete:"off",onBlur:k}),f.jsx(rl,{id:"btn-dynamic-data-input-rx-cross",onClick:oe,className:"absolute inset-y-0 right-1 flex items-center px-2 focus:border-transparent",variant:"ghost",disabled:w,children:f.jsx(Ue.CloseRounded,{className:"text-neutral-900 dark:text-black-300",sx:{fontSize:16}})}),f.jsx(rl,{id:"btn-dynamic-data-input-ai-outline-pic-center",onClick:be,className:"absolute inset-y-0 right-8 flex items-center px-2 focus:border-transparent",variant:"ghost",disabled:w,children:f.jsx(Ue.TableChartRounded,{className:"text-neutral-900 dark:text-black-300",sx:{fontSize:16}})})]}),a&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:a}),K&&G&&f.jsx(G,{isVisible:K,onSelected:Q,onClose:be,masterDataColumnName:d,masterDataFilters:m,masterDataName:c,masterDataId:c,showFilters:!0})]}),$&&N&&B&&H&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:De=>De.stopPropagation(),onMouseDown:De=>De.preventDefault(),onKeyDown:De=>{De.key==="Escape"&&W(!1)},children:f.jsx(H,{riskDetails:N})})]})});n1.displayName="MasterDataInputField";var Ya,r1;function i1(){if(r1)return Ya;r1=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return Ya=e,Ya}var Ja,l1;function Lg(){if(l1)return Ja;l1=1;var e=typeof Pn=="object"&&Pn&&Pn.Object===Object&&Pn;return Ja=e,Ja}var Ka,a1;function o1(){if(a1)return Ka;a1=1;var e=Lg(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Ka=n,Ka}var qa,s1;function Tg(){if(s1)return qa;s1=1;var e=o1(),t=function(){return e.Date.now()};return qa=t,qa}var Qa,u1;function Bg(){if(u1)return Qa;u1=1;var e=/\s/;function t(n){for(var r=n.length;r--&&e.test(n.charAt(r)););return r}return Qa=t,Qa}var Ra,c1;function Hg(){if(c1)return Ra;c1=1;var e=Bg(),t=/^\s+/;function n(r){return r&&r.slice(0,e(r)+1).replace(t,"")}return Ra=n,Ra}var eo,d1;function f1(){if(d1)return eo;d1=1;var e=o1(),t=e.Symbol;return eo=t,eo}var to,h1;function jg(){if(h1)return to;h1=1;var e=f1(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;function a(o){var s=n.call(o,i),u=o[i];try{o[i]=void 0;var c=!0}catch{}var d=r.call(o);return c&&(s?o[i]=u:delete o[i]),d}return to=a,to}var no,m1;function Pg(){if(m1)return no;m1=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return no=n,no}var ro,p1;function Og(){if(p1)return ro;p1=1;var e=f1(),t=jg(),n=Pg(),r="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?i:r:a&&a in Object(s)?t(s):n(s)}return ro=o,ro}var io,g1;function Vg(){if(g1)return io;g1=1;function e(t){return t!=null&&typeof t=="object"}return io=e,io}var lo,v1;function Gg(){if(v1)return lo;v1=1;var e=Og(),t=Vg(),n="[object Symbol]";function r(i){return typeof i=="symbol"||t(i)&&e(i)==n}return lo=r,lo}var ao,b1;function _g(){if(b1)return ao;b1=1;var e=Hg(),t=i1(),n=Gg(),r=NaN,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt;function u(c){if(typeof c=="number")return c;if(n(c))return r;if(t(c)){var d=typeof c.valueOf=="function"?c.valueOf():c;c=t(d)?d+"":d}if(typeof c!="string")return c===0?c:+c;c=e(c);var h=a.test(c);return h||o.test(c)?s(c.slice(2),h?2:8):i.test(c)?r:+c}return ao=u,ao}var oo,x1;function $g(){if(x1)return oo;x1=1;var e=i1(),t=Tg(),n=_g(),r="Expected a function",i=Math.max,a=Math.min;function o(s,u,c){var d,h,m,p,g,b,v=0,x=!1,y=!1,C=!0;if(typeof s!="function")throw new TypeError(r);u=n(u)||0,e(c)&&(x=!!c.leading,y="maxWait"in c,m=y?i(n(c.maxWait)||0,u):m,C="trailing"in c?!!c.trailing:C);function M(H){var L=d,S=h;return d=h=void 0,v=H,p=s.apply(S,L),p}function E(H){return v=H,g=setTimeout(I,u),x?M(H):p}function w(H){var L=H-b,S=H-v,T=u-L;return y?a(T,m-S):T}function z(H){var L=H-b,S=H-v;return b===void 0||L>=u||L<0||y&&S>=m}function I(){var H=t();if(z(H))return k(H);g=setTimeout(I,w(H))}function k(H){return g=void 0,C&&d?M(H):(d=h=void 0,p)}function F(){g!==void 0&&clearTimeout(g),v=0,d=b=h=g=void 0}function N(){return g===void 0?p:k(t())}function B(){var H=t(),L=z(H);if(d=arguments,h=this,b=H,L){if(g===void 0)return E(b);if(y)return clearTimeout(g),g=setTimeout(I,u),M(b)}return g===void 0&&(g=setTimeout(I,u)),p}return B.cancel=F,B.flush=N,B}return oo=o,oo}var Wg=$g();const Ug=Jt(Wg),Xg=e=>Array.isArray(e)?e.map(t=>typeof t=="string"||typeof t=="number"?t:t.value):e||null,Zg=e=>e.filter((t,n,r)=>r.findIndex(i=>i.value===t.value&&i.label===t.label)===n),Yg=({options:e,value:t,defaultValue:n})=>e?.length?Zg(e.map(r=>({...r,color:r.color}))):Array.isArray(t)&&t.length&&typeof t[0]=="object"&&"label"in t[0]?t.map(r=>({label:String(r?.label||""),value:String(r?.value||""),color:r?.color})):t&&typeof t=="object"&&"label"in t?[{label:String(t.label||""),value:String(t.value||""),color:t?.color}]:Array.isArray(n)&&n.length&&typeof n[0]=="object"&&"label"in n[0]?n.map(r=>({label:String(r?.label||""),value:String(r?.value||""),color:r?.color})):n&&typeof n=="object"&&"label"in n?[{label:String(n.label||""),value:String(n.value||""),color:n?.color}]:[],Jg=({hasExistingData:e})=>f.jsx("div",{className:"!w-full px-3 py-1.5",children:e?f.jsx(Be.Skeleton,{paragraph:{rows:1,width:"100%"}}):f.jsx(Be.Skeleton,{})}),Kg=({showSelectAll:e,mode:t,options:n,searchValue:r,handleSelectAll:i,isAllSelected:a,menu:o,isLoading:s,hasExistingData:u,t:c})=>f.jsxs(f.Fragment,{children:[e&&t==="multiple"&&n.length>0&&r.trim().length===0&&f.jsx("div",{role:"button",tabIndex:0,className:"px-3 py-2 border-b border-gray-200 dark:border-gray-600 cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700",onClick:d=>{d.stopPropagation(),i()},onKeyDown:d=>{(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),i())},children:f.jsx(se,{size:"small",variant:"semibold",className:"text-primary-600 dark:text-primary-300",appearance:"custom",children:c(a?"Deselect all":"Select all")})}),o,s&&f.jsx(Jg,{hasExistingData:u})]}),w1=l.forwardRef(({label:e,value:t,mode:n,errorMessage:r,selectOptions:i=[],required:a=!1,tags:o,className:s,onInputChange:u,tooltip:c,originalCase:d=!1,isAiExtracted:h=!1,isGTN:m=!1,gtnName:p=null,onChange:g,onSearch:b,debounceTimeout:v=500,filterOption:x=!0,onScroll:y,isLoading:C=!1,allowClear:M=!0,autoClearSearchValue:E=!0,fullOpacityLabel:w=!1,showAllTags:z=!1,customTagRender:I,inputStyles:k,disabled:F=!1,showSelectAll:N=!1,labelClassName:B,riskDetails:H,isRiskAnalysisOpen:L=!1,RiskDetailsCard:S,AddToDocumentIcon:T,primaryColorShades:G,UserAvatar:O,onAddGTNToDocument:_,isRequiredConditional:A,isLiveField:$=!1,...W},D)=>{const{t:X}=tn(),[K,ae]=l.useState(!1),R=l.useRef(null),[ue,U]=l.useState(!1),[J,fe]=l.useState(""),ee=()=>{if(_){let ge="";be==null?ge="":typeof be=="string"||typeof be=="number"?ge=String(be):Array.isArray(be)?ge=be.map(Z=>typeof Z=="object"&&Z!==null&&"value"in Z?Z.value:Z).join(", "):typeof be=="object"&&"value"in be&&(ge=String(be.value)),_({key:p,value:ge})}},be=Xg(t),je=l.useMemo(()=>b?Ug(b,v):null,[b,v]),Q=(ge,He)=>{if(R.current&&W.id){const Z=document.getElementById(W.id);if(Z){const te=Array.isArray(He)?He.map(Le=>Le.value):He?.value;Z.dataset.selectedValue=JSON.stringify(te);const ye=new Event("change",{bubbles:!0});Object.defineProperty(ye,"target",{writable:!1,value:Z}),Z.dispatchEvent(ye);const Ie=new CustomEvent("pilot-change",{bubbles:!0,detail:{selector:`#${W.id}`,value:te,type:"change"}});Z.dispatchEvent(Ie)}}if(n==="tags"){const Z=Array.isArray(ge)?ge:[ge];g?.(Z?.map(te=>({label:te,value:te})))}else g?.(He)},oe=Yg({options:i,value:t,defaultValue:W?.defaultValue}),Ce=l.useMemo(()=>oe.length>0||be!=null,[oe,be]),Qe=l.useMemo(()=>{if(!n||n!=="multiple"||oe.length===0)return!1;const ge=Array.isArray(be)?be:[];return oe.map(Z=>Z.value).every(Z=>ge.some(te=>typeof te=="object"&&te!==null&&"value"in te?String(te.value)===String(Z):String(te)===String(Z)))},[be,oe,n]),Re=()=>{!n||n!=="multiple"||!g||g(Qe?[]:oe)},De=l.useCallback(ge=>{if(!ge)return;const He=new Event("submit",{bubbles:!0,cancelable:!0});ge.dispatchEvent(He);const Z=ge.querySelector('button[type="submit"]');Z&&Z.click()},[]),ut=l.useCallback(ge=>{if(ge.key==="Enter"&&!ue&&be){ge.preventDefault(),ge.stopPropagation();const He=ge.currentTarget.closest("form");De(He)}},[ue,be,De]),bt=l.useCallback(ge=>{const{label:He,value:Z,onClose:te}=ge,Ie=oe.find(ct=>String(ct.value)===String(Z))?.color||"blue",Le=ct=>{ct.preventDefault(),ct.stopPropagation()};return f.jsx("div",{className:"cursor-pointer me-1 inline-flex",children:f.jsx(fr,{label:He,color:Ie,size:"sm",onMouseDown:Le,onClick:F?void 0:te,isHashColor:!0})})},[oe,F]),pn=l.useCallback(ge=>{fe(ge),(u||je)?.(ge)},[u,je]);return f.jsxs("div",{ref:D,className:Y("flex gap-0.5 w-full relative",K&&m?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>ae(!0),onMouseLeave:()=>ae(!1),id:W.id,children:[m&&!K?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("w-full flex flex-col gap-1 risk-analysis-select-field",s),onMouseDown:ge=>ge.stopPropagation(),role:"group","aria-labelledby":e?"select-field-label":void 0,children:[e?f.jsx("label",{id:"select-field-label",htmlFor:"label",className:`text-xs font-medium text-gray-600 dark:text-black-300 inline-flex items-center gap-1 ${d?"":"capitalize"} ${B||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{size:"extra-small",className:w?"text-black-900 dark:text-black-300":"",variant:"medium",appearance:"subtitle",children:[e,a&&f.jsx(Nt,{isConditional:A})]}),$&&f.jsx(Ue.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),h&&f.jsx(ln,{}),f.jsx(St,{labels:o}),c&&f.jsx(Be.Tooltip,{placement:"top",title:c,children:f.jsx("div",{className:"cursor-pointer",role:"button",tabIndex:0,onKeyDown:ge=>{(ge.key==="Enter"||ge.key===" ")&&ge.preventDefault()},children:f.jsx(Vt,{})})})]}),m&&K&&T?f.jsx("button",{id:"btn-select-field-base-add-to-document",className:"cursor-pointer",onClick:ee,type:"button",children:f.jsx(Be.Tooltip,{placement:"top",title:X("Add to document"),children:f.jsx(Ue.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}):null,f.jsx(Be.Select,{onKeyDown:ut,onOpenChange:U,disabled:F,className:`w-full text-black-900 dark:text-black-200 ${r&&a?"ant-select-status-error":"#e2e8f0"} ${L&&H?.color?"risk-select-field":""}`,classNames:{popup:{root:"!z-[5001]"}},style:{width:"100%","--risk-color":L&&H?.hexBgColor?H?.hexBgColor:"","--risk-border-color":L&&H?.hexBorderColor?H?.hexBorderColor:""},"aria-required":a,mode:n,value:be,onChange:Q,filterOption:b?x:(ge,He)=>(He?.label||"")?.toLowerCase()?.includes(ge?.toLowerCase()),showSearch:!0,onSearch:pn||void 0,onPopupScroll:y,popupClassName:"select-field-dropdown-popup",popupRender:ge=>f.jsx(Kg,{showSelectAll:N,mode:n,options:oe,searchValue:J,handleSelectAll:Re,isAllSelected:Qe,menu:ge,isLoading:C,hasExistingData:Ce,t:X}),options:oe.map(({label:ge,value:He,color:Z,...te})=>({label:String(ge),value:String(He),key:String(He),id:String(He),color:Z,...te})),optionRender:ge=>{const He=ge?.data?.fullname;if(He&&O){const[Z,te]=He.split(" ");return f.jsxs("div",{className:"flex items-center justify-start gap-1",children:[f.jsx(O,{firstName:Z,lastName:te,profilePic:ge?.data?.url||"",size:"xs",enablePopper:!0,userId:ge?.data?.value}),f.jsx("span",{className:"ml-2",children:ge.label})]})}return f.jsx("span",{children:ge.label})},autoClearSearchValue:E,onClear:()=>g&&g(n==="tags"||n==="multiple"?[]:null),maxTagCount:n==="tags"&&z?void 0:"responsive",maxTagPlaceholder:ge=>f.jsx(Be.Tooltip,{styles:{root:{zIndex:5002}},trigger:"hover",title:ge.length>3?ge.slice(0,3).map(({label:He})=>He).join(", ")+"...":ge.map(({label:He})=>He).join(", "),overlayStyle:{pointerEvents:"none"},children:f.jsxs("span",{children:["+",ge.length," more"]})}),tagRender:I||bt,allowClear:M,...W}),r&&f.jsx(se,{className:"text-error-500",appearance:"custom",size:"extra-small",variant:"medium",children:r})]}),K&&H&&L&&S&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:ge=>ge.stopPropagation(),onMouseDown:ge=>ge.preventDefault(),onKeyDown:ge=>{ge.key==="Escape"&&ae(!1)},children:f.jsx(S,{riskDetails:H})})]})});w1.displayName="SelectField";const y1=l.forwardRef(({id:e,label:t,checked:n,isChecked:r,onChange:i,disabled:a=!1,required:o=!1,message:s,messageType:u="default",wrapperClassName:c,checkboxClassName:d,labelClassName:h,size:m="medium",variant:p="default",labelPosition:g="right",checkboxProps:b},v)=>{const x=n!==void 0?n:r||!1,y=()=>{switch(m){case"small":return"w-3 h-3";case"large":return"w-5 h-5";default:return"w-4 h-4"}},C=()=>{if(u==="error")return"text-red-600 border-red-300 focus:ring-red-500 dark:focus:ring-red-600";if(u==="success")return"text-green-600 border-green-300 focus:ring-green-500 dark:focus:ring-green-600";if(u==="info")return"text-blue-600 border-blue-300 focus:ring-blue-500 dark:focus:ring-blue-600";switch(p){case"outline":return"text-primary-600 bg-transparent border-neutral-300 focus:ring-primary-500 dark:focus:ring-primary-600";case"solid":return"text-primary-600 bg-primary-50 border-primary-300 focus:ring-primary-500 dark:focus:ring-primary-600 dark:bg-primary-900/20";default:return"text-primary-600 bg-gray-100 border-gray-300 focus:ring-primary-500 dark:focus:ring-primary-600 dark:bg-neutral-600 dark:border-gray-600"}},M=()=>u==="error"?"text-red-500 dark:text-red-400":u==="success"?"text-green-500 dark:text-green-400":u==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",E=()=>{switch(m){case"small":return"extra-small";case"large":return"medium";default:return"small"}},w=k=>{i(k.target.checked,k)},z=f.jsx(Be.Checkbox,{...b,ref:v,id:e,checked:x,onChange:w,disabled:a,className:Y("rounded focus:ring-2 focus:ring-offset-gray-800 transition-colors duration-200",y(),C(),a&&"opacity-50 cursor-not-allowed",d),"aria-required":o,"aria-invalid":s&&u==="error"?"true":"false","aria-describedby":s?`${e}-message`:void 0}),I=t?f.jsx("label",{htmlFor:e,className:Y("font-medium cursor-pointer transition-colors duration-200",a?"text-neutral-400 dark:text-neutral-600 cursor-not-allowed":"text-neutral-900 dark:text-neutral-100",g==="right"?"ml-2":"mr-2",h),children:f.jsxs(se,{variant:"medium",size:E(),appearance:"body",children:[t,o&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})}):null;return f.jsxs("div",{className:Y("flex flex-col",c),children:[f.jsx("div",{className:Y("flex items-center",g==="left"&&"flex-row-reverse justify-end"),children:g==="left"?f.jsxs(f.Fragment,{children:[z,I]}):f.jsxs(f.Fragment,{children:[z,I]})}),f.jsx(We.AnimatePresence,{children:s&&f.jsx(We.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-message`,role:u==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",M()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})})]})});y1.displayName="Checkbox";const qg=({label:e,isChecked:t,onChange:n,id:r,...i})=>f.jsxs("div",{className:"flex items-center",children:[f.jsx(Be.Checkbox,{checked:t,onChange:n,id:r,type:"checkbox",value:"",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:!bg-neutral-600 dark:border-gray-600",...i}),f.jsx("label",{className:"ml-2 text-sm font-medium text-neutral-900 dark:text-neutral-100",children:e})]}),E1=l.forwardRef(({id:e,label:t,value:n,defaultValue:r="#000000",onChange:i,onColorChange:a,disabled:o=!1,required:s=!1,message:u,messageType:c="default",wrapperClassName:d,inputClassName:h,labelClassName:m,size:p="medium",showValue:g=!1,valueFormat:b="hex",inputProps:v,helpText:x},y)=>{const C=n!==void 0?n:r,M=()=>{switch(p){case"small":return"w-8 h-8";case"large":return"w-16 h-16";default:return"w-12 h-12"}},E=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",w=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",z=()=>{switch(p){case"small":return"extra-small";case"large":return"medium";default:return"small"}},I=B=>{const H=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(B);if(!H)return B;const L=parseInt(H[1],16),S=parseInt(H[2],16),T=parseInt(H[3],16);return`rgb(${L}, ${S}, ${T})`},k=B=>{const H=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(B);if(!H)return B;const L=parseInt(H[1],16)/255,S=parseInt(H[2],16)/255,T=parseInt(H[3],16)/255,G=Math.max(L,S,T),O=Math.min(L,S,T);let _=0,A=0;const $=(G+O)/2;if(G!==O){const W=G-O;switch(A=$>.5?W/(2-G-O):W/(G+O),G){case L:_=(S-T)/W+(S<T?6:0);break;case S:_=(T-L)/W+2;break;case T:_=(L-S)/W+4;break}_/=6}return`hsl(${Math.round(_*360)}, ${Math.round(A*100)}%, ${Math.round($*100)}%)`},F=()=>{switch(b){case"rgb":return I(C);case"hsl":return k(C);default:return C.toUpperCase()}},N=B=>{const H=B.target.value;i(H,B),a?.(H)};return f.jsxs("div",{className:Y("flex flex-col w-full",d),children:[t&&f.jsx("label",{htmlFor:e,className:Y("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",m),children:f.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:f.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:f.jsxs(se,{variant:"medium",size:z(),appearance:"subtitle",children:[t,s&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),x&&f.jsx(se,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:x}),f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("div",{className:"relative",children:f.jsx("input",{...v,ref:y,type:"color",id:e,value:C,onChange:N,disabled:o,required:s,className:Y("border rounded-md cursor-pointer transition-all duration-200","focus:outline-none focus:ring-2",M(),w(),o&&"opacity-50 cursor-not-allowed",h),style:{backgroundColor:C},"aria-required":s,"aria-invalid":u&&c==="error"?"true":"false","aria-describedby":u||x?`${e}-description`:void 0})}),g&&f.jsx("div",{className:"flex-1",children:f.jsx(se,{variant:"medium",size:"small",appearance:"body",className:"font-mono text-neutral-700 dark:text-neutral-300",children:F()})})]}),f.jsx(We.AnimatePresence,{children:u&&f.jsx(We.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",E()),appearance:"custom",size:"extra-small",variant:"medium",children:u})})}),x&&!u&&f.jsx("div",{id:`${e}-description`,className:"sr-only",children:x})]})});E1.displayName="ColorPicker";function Rn(e){"@babel/helpers - typeof";return Rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rn(e)}function Qg(e,t){if(Rn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Rn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function C1(e){var t=Qg(e,"string");return Rn(t)=="symbol"?t:t+""}function Qr(e,t,n){return(t=C1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k1(Object(n),!0).forEach(function(r){Qr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k1(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Rg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,C1(r.key),r)}}function e7(e,t,n){return t&&I1(e.prototype,t),n&&I1(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function so(e,t){return so=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},so(e,t)}function t7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&so(e,t)}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},il(e)}function z1(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(z1=function(){return!!e})()}function n7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r7(e,t){if(t&&(Rn(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n7(e)}function i7(e){var t=z1();return function(){var n,r=il(e);if(t){var i=il(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return r7(this,n)}}function uo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l7(e){if(Array.isArray(e))return uo(e)}function a7(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function F1(e,t){if(e){if(typeof e=="string")return uo(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uo(e,t):void 0}}function o7(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
67
+ disabled:bg-neutral-50 dark:disabled:!bg-black-800 dark:disabled:placeholder:!text-black-400`,{"border-red-300":a,"border-gray-300 dark:border-black-700":!a,"text-neutral-400 dark:text-neutral-500":d,"text-neutral-900 dark:text-neutral-50":!d,"border-none":C,"focus:border-none":C,"placeholder:text-neutral-400 dark:placeholder:text-black-400":d,"placeholder:text-neutral-400 dark:placeholder:text-black-300":!d},h,F&&k?.color&&`!bg-${k.color}-50 border-${k.color}-300`),style:F&&k?{backgroundColor:k.hexBgColor||void 0,borderColor:k.hexBorderColor||void 0,...E}:E,rows:i,placeholder:t,disabled:d,maxLength:p||void 0,id:M,ref:m,onClick:_=>_.stopPropagation(),autoComplete:"off"}),p?f.jsxs(se,{className:"mt-0.5 text-right text-neutral-900 dark:text-white",appearance:"custom",size:"extra-small",children:[f.jsxs("span",{className:`${n?.length>=p?"text-error-500":n?.length>p-Math.min(50,p/5)?"text-warning-500 dark:text-warning-300":""}`,children:[n?.length||0," "]}),"/ ",p]}):null,a&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:a})]}),T&&F&&k&&N&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:_=>_.stopPropagation(),onMouseDown:_=>_.preventDefault(),onKeyDown:_=>{_.key==="Escape"&&G(!1)},children:f.jsx(N,{riskDetails:k})})]})});t1.displayName="TextAreaField";const rl=({children:e,className:t,variant:n="default",onClick:r,disabled:i,tooltip:a,tooltipPlacement:o="top",noborder:s,id:u})=>{const c="flex items-center",d={default:`bg-white dark:bg-black-800 hover:bg-neutral-100 dark:hover:bg-black-700 rounded-lg ${s?"":"border border-neutral-300 dark:border-neutral-800"} p-2 hover:opacity-80`,secondary:`bg-transparent rounded-lg ${s?"":"border border-neutral-300 dark:border-black-400"} p-2 hover:opacity-80`,native:`bg-transparent rounded-lg ${s?"":"border border-neutral-300"} p-2 hover:opacity-80`,ghost:"text-neutral-400 hover:bg-neutral-100 hover:text-neutral-600 dark:hover:text-neutral-200 dark:hover:bg-neutral-800 p-1 cursor-pointer rounded-full hover:scale-75 transition-all duration-500 ease-in-out"},h=i?"cursor-not-allowed opacity-50":"cursor-pointer";return f.jsx(et,{title:a,placement:o,delayShow:!0,children:f.jsx("button",{id:u,disabled:i,className:`${c} ${d[n]} ${t||""} ${h}`,onClick:r,children:e})})},n1=l.forwardRef(({id:e,label:t,placeholder:n,value:r,onChange:i,errorMessage:a,defaultValue:o,required:s=!1,isRequiredConditional:u=!1,masterDataName:c,masterDataColumnName:d,masterDataFormula:h,masterDataFilters:m,tags:p,index:g,tooltip:b="",originalCase:v=!1,color:x="",isGTN:y=!1,labelClassName:C,gtnName:M=null,isAiExtracted:E=!1,disabled:w=!1,reference:z={},isLiveField:I=!1,onBlur:k,onAddGTNToDocument:F,riskDetails:N,isRiskAnalysisOpen:B=!1,RiskDetailsCard:H,primaryColorShades:L,setDisableActions:S,showDeprecatedFieldWarning:T,MasterDataModal:G,parseMasterDataFormula:O},_)=>{const{t:A}=tn(),[$,W]=l.useState(!1),[D,X]=l.useState(null),[K,ae]=l.useState(!1),[R,ue]=l.useState(""),[U,J]=l.useState(null),fe=l.useRef(null),ee=_||fe;l.useEffect(()=>{X(r)},[g]),l.useEffect(()=>{D!==null&&D!==r&&i(D,U)},[D,U]);const be=()=>{S?.(!K),ae(!K)},je=Le=>{if(Le.keyCode===9||Le.key==="Enter"){const ut=ee.current||fe.current;ut&&(X(R),ut.blur())}},Q=(Le,ut)=>{let bt=Le;h&&O&&(bt=O(h,ut)),ue(""),X(bt),be(),J(ut)},oe=()=>{X(""),J(null)},Ce=Le=>{F&&M&&F({key:M,value:Le})},Qe=()=>{const Le="border h-[32px] text-sm rounded-lg block w-full p-2.5 font-inter font-medium",ut=a?"border-red-300":B&&N?.color?`border-${N?.color}-300`:"border-gray-300 dark:border-black-600",bt="placeholder:text-neutral-900 dark:placeholder:text-black-400",pn=`${B&&N?.color?`bg-${N?.color}-50`:"bg-gray-200 dark:bg-black-600 "} ${x||"text-neutral-900 dark:text-black-200"}`;return`${Le} ${ut} ${pn} ${bt}`},Re=()=>D!==null?D:h&&O?O(h,z):r;return l.useEffect(()=>{K&&!c&&(T?.(),ae(!1))},[K,c,T]),f.jsxs("div",{className:Y("flex gap-0.5 w-full relative",$&&y?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",{"error-field":!!a}),onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),children:[y&&!$?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("flex flex-col w-full"),children:[f.jsx("label",{htmlFor:"text",className:`text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${v?"":"capitalize"} ${C||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{variant:"medium",size:"extra-small",appearance:"subtitle",children:[t,s&&f.jsx(Nt,{isConditional:u})]}),I&&f.jsx(We.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),E&&f.jsx(ln,{}),f.jsx(St,{labels:p}),b&&f.jsx(et,{placement:"top",title:`${b}${h?` | ${h}`:""}`,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),y&&$&&F?f.jsx("button",{id:"btn-master-data-input-add-to-document",className:"cursor-pointer",onClick:()=>Ce(r?.toString()||""),type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:A("Add to document"),children:f.jsx(We.NoteAddOutlined,{sx:{fontSize:16,color:L?.[600]||"var(--color-primary-600)"}})})}):null]})}),f.jsxs("label",{className:"relative block mt-1",children:[f.jsx("input",{id:e,ref:ee,required:s,placeholder:n,className:Qe(),onChange:Le=>{i(Le.target.value,U),X(Le.target?.value)},onKeyDown:je,value:Re(),defaultValue:o,disabled:!0,autoComplete:"off",onBlur:k}),f.jsx(rl,{id:"btn-dynamic-data-input-rx-cross",onClick:oe,className:"absolute inset-y-0 right-1 flex items-center px-2 focus:border-transparent",variant:"ghost",disabled:w,children:f.jsx(We.CloseRounded,{className:"text-neutral-900 dark:text-black-300",sx:{fontSize:16}})}),f.jsx(rl,{id:"btn-dynamic-data-input-ai-outline-pic-center",onClick:be,className:"absolute inset-y-0 right-8 flex items-center px-2 focus:border-transparent",variant:"ghost",disabled:w,children:f.jsx(We.TableChartRounded,{className:"text-neutral-900 dark:text-black-300",sx:{fontSize:16}})})]}),a&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:a}),K&&G&&f.jsx(G,{isVisible:K,onSelected:Q,onClose:be,masterDataColumnName:d,masterDataFilters:m,masterDataName:c,masterDataId:c,showFilters:!0})]}),$&&N&&B&&H&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:Le=>Le.stopPropagation(),onMouseDown:Le=>Le.preventDefault(),onKeyDown:Le=>{Le.key==="Escape"&&W(!1)},children:f.jsx(H,{riskDetails:N})})]})});n1.displayName="MasterDataInputField";var Ya,r1;function i1(){if(r1)return Ya;r1=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return Ya=e,Ya}var Ja,l1;function Lg(){if(l1)return Ja;l1=1;var e=typeof Pn=="object"&&Pn&&Pn.Object===Object&&Pn;return Ja=e,Ja}var Ka,a1;function o1(){if(a1)return Ka;a1=1;var e=Lg(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Ka=n,Ka}var qa,s1;function Tg(){if(s1)return qa;s1=1;var e=o1(),t=function(){return e.Date.now()};return qa=t,qa}var Qa,u1;function Bg(){if(u1)return Qa;u1=1;var e=/\s/;function t(n){for(var r=n.length;r--&&e.test(n.charAt(r)););return r}return Qa=t,Qa}var Ra,c1;function Hg(){if(c1)return Ra;c1=1;var e=Bg(),t=/^\s+/;function n(r){return r&&r.slice(0,e(r)+1).replace(t,"")}return Ra=n,Ra}var eo,d1;function f1(){if(d1)return eo;d1=1;var e=o1(),t=e.Symbol;return eo=t,eo}var to,h1;function jg(){if(h1)return to;h1=1;var e=f1(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;function a(o){var s=n.call(o,i),u=o[i];try{o[i]=void 0;var c=!0}catch{}var d=r.call(o);return c&&(s?o[i]=u:delete o[i]),d}return to=a,to}var no,m1;function Pg(){if(m1)return no;m1=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return no=n,no}var ro,p1;function Og(){if(p1)return ro;p1=1;var e=f1(),t=jg(),n=Pg(),r="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?i:r:a&&a in Object(s)?t(s):n(s)}return ro=o,ro}var io,g1;function Vg(){if(g1)return io;g1=1;function e(t){return t!=null&&typeof t=="object"}return io=e,io}var lo,v1;function Gg(){if(v1)return lo;v1=1;var e=Og(),t=Vg(),n="[object Symbol]";function r(i){return typeof i=="symbol"||t(i)&&e(i)==n}return lo=r,lo}var ao,b1;function _g(){if(b1)return ao;b1=1;var e=Hg(),t=i1(),n=Gg(),r=NaN,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt;function u(c){if(typeof c=="number")return c;if(n(c))return r;if(t(c)){var d=typeof c.valueOf=="function"?c.valueOf():c;c=t(d)?d+"":d}if(typeof c!="string")return c===0?c:+c;c=e(c);var h=a.test(c);return h||o.test(c)?s(c.slice(2),h?2:8):i.test(c)?r:+c}return ao=u,ao}var oo,x1;function $g(){if(x1)return oo;x1=1;var e=i1(),t=Tg(),n=_g(),r="Expected a function",i=Math.max,a=Math.min;function o(s,u,c){var d,h,m,p,g,b,v=0,x=!1,y=!1,C=!0;if(typeof s!="function")throw new TypeError(r);u=n(u)||0,e(c)&&(x=!!c.leading,y="maxWait"in c,m=y?i(n(c.maxWait)||0,u):m,C="trailing"in c?!!c.trailing:C);function M(H){var L=d,S=h;return d=h=void 0,v=H,p=s.apply(S,L),p}function E(H){return v=H,g=setTimeout(I,u),x?M(H):p}function w(H){var L=H-b,S=H-v,T=u-L;return y?a(T,m-S):T}function z(H){var L=H-b,S=H-v;return b===void 0||L>=u||L<0||y&&S>=m}function I(){var H=t();if(z(H))return k(H);g=setTimeout(I,w(H))}function k(H){return g=void 0,C&&d?M(H):(d=h=void 0,p)}function F(){g!==void 0&&clearTimeout(g),v=0,d=b=h=g=void 0}function N(){return g===void 0?p:k(t())}function B(){var H=t(),L=z(H);if(d=arguments,h=this,b=H,L){if(g===void 0)return E(b);if(y)return clearTimeout(g),g=setTimeout(I,u),M(b)}return g===void 0&&(g=setTimeout(I,u)),p}return B.cancel=F,B.flush=N,B}return oo=o,oo}var Wg=$g();const Ug=Jt(Wg),Xg=e=>Array.isArray(e)?e.map(t=>typeof t=="string"||typeof t=="number"?t:t.value):e||null,Zg=e=>e.filter((t,n,r)=>r.findIndex(i=>i.value===t.value&&i.label===t.label)===n),Yg=({options:e,value:t,defaultValue:n})=>e?.length?Zg(e.map(r=>({...r,color:r.color}))):Array.isArray(t)&&t.length&&typeof t[0]=="object"&&"label"in t[0]?t.map(r=>({label:String(r?.label||""),value:String(r?.value||""),color:r?.color})):t&&typeof t=="object"&&"label"in t?[{label:String(t.label||""),value:String(t.value||""),color:t?.color}]:Array.isArray(n)&&n.length&&typeof n[0]=="object"&&"label"in n[0]?n.map(r=>({label:String(r?.label||""),value:String(r?.value||""),color:r?.color})):n&&typeof n=="object"&&"label"in n?[{label:String(n.label||""),value:String(n.value||""),color:n?.color}]:[],Jg=({hasExistingData:e})=>f.jsx("div",{className:"!w-full px-3 py-1.5",children:e?f.jsx(Ne.Skeleton,{paragraph:{rows:1,width:"100%"}}):f.jsx(Ne.Skeleton,{})}),Kg=({showSelectAll:e,mode:t,options:n,searchValue:r,handleSelectAll:i,isAllSelected:a,menu:o,isLoading:s,hasExistingData:u,t:c})=>f.jsxs(f.Fragment,{children:[e&&t==="multiple"&&n.length>0&&r.trim().length===0&&f.jsx("div",{role:"button",tabIndex:0,className:"px-3 py-2 border-b border-gray-200 dark:border-gray-600 cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700",onClick:d=>{d.stopPropagation(),i()},onKeyDown:d=>{(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),i())},children:f.jsx(se,{size:"small",variant:"semibold",className:"text-primary-600 dark:text-primary-300",appearance:"custom",children:c(a?"Deselect all":"Select all")})}),o,s&&f.jsx(Jg,{hasExistingData:u})]}),w1=l.forwardRef(({label:e,value:t,mode:n,errorMessage:r,selectOptions:i=[],required:a=!1,tags:o,className:s,onInputChange:u,tooltip:c,originalCase:d=!1,isAiExtracted:h=!1,isGTN:m=!1,gtnName:p=null,onChange:g,onSearch:b,debounceTimeout:v=500,filterOption:x=!0,onScroll:y,isLoading:C=!1,allowClear:M=!0,autoClearSearchValue:E=!0,fullOpacityLabel:w=!1,showAllTags:z=!1,customTagRender:I,inputStyles:k,disabled:F=!1,showSelectAll:N=!1,labelClassName:B,riskDetails:H,isRiskAnalysisOpen:L=!1,RiskDetailsCard:S,AddToDocumentIcon:T,primaryColorShades:G,UserAvatar:O,onAddGTNToDocument:_,isRequiredConditional:A,isLiveField:$=!1,...W},D)=>{const{t:X}=tn(),[K,ae]=l.useState(!1),R=l.useRef(null),[ue,U]=l.useState(!1),[J,fe]=l.useState(""),ee=()=>{if(_){let ge="";be==null?ge="":typeof be=="string"||typeof be=="number"?ge=String(be):Array.isArray(be)?ge=be.map(Z=>typeof Z=="object"&&Z!==null&&"value"in Z?Z.value:Z).join(", "):typeof be=="object"&&"value"in be&&(ge=String(be.value)),_({key:p,value:ge})}},be=Xg(t),je=l.useMemo(()=>b?Ug(b,v):null,[b,v]),Q=(ge,He)=>{if(R.current&&W.id){const Z=document.getElementById(W.id);if(Z){const te=Array.isArray(He)?He.map(Te=>Te.value):He?.value;Z.dataset.selectedValue=JSON.stringify(te);const ye=new Event("change",{bubbles:!0});Object.defineProperty(ye,"target",{writable:!1,value:Z}),Z.dispatchEvent(ye);const Ie=new CustomEvent("pilot-change",{bubbles:!0,detail:{selector:`#${W.id}`,value:te,type:"change"}});Z.dispatchEvent(Ie)}}if(n==="tags"){const Z=Array.isArray(ge)?ge:[ge];g?.(Z?.map(te=>({label:te,value:te})))}else g?.(He)},oe=Yg({options:i,value:t,defaultValue:W?.defaultValue}),Ce=l.useMemo(()=>oe.length>0||be!=null,[oe,be]),Qe=l.useMemo(()=>{if(!n||n!=="multiple"||oe.length===0)return!1;const ge=Array.isArray(be)?be:[];return oe.map(Z=>Z.value).every(Z=>ge.some(te=>typeof te=="object"&&te!==null&&"value"in te?String(te.value)===String(Z):String(te)===String(Z)))},[be,oe,n]),Re=()=>{!n||n!=="multiple"||!g||g(Qe?[]:oe)},Le=l.useCallback(ge=>{if(!ge)return;const He=new Event("submit",{bubbles:!0,cancelable:!0});ge.dispatchEvent(He);const Z=ge.querySelector('button[type="submit"]');Z&&Z.click()},[]),ut=l.useCallback(ge=>{if(ge.key==="Enter"&&!ue&&be){ge.preventDefault(),ge.stopPropagation();const He=ge.currentTarget.closest("form");Le(He)}},[ue,be,Le]),bt=l.useCallback(ge=>{const{label:He,value:Z,onClose:te}=ge,Ie=oe.find(ct=>String(ct.value)===String(Z))?.color||"blue",Te=ct=>{ct.preventDefault(),ct.stopPropagation()};return f.jsx("div",{className:"cursor-pointer me-1 inline-flex",children:f.jsx(fr,{label:He,color:Ie,size:"sm",onMouseDown:Te,onClick:F?void 0:te,isHashColor:!0})})},[oe,F]),pn=l.useCallback(ge=>{fe(ge),(u||je)?.(ge)},[u,je]);return f.jsxs("div",{ref:D,className:Y("flex gap-0.5 w-full relative",K&&m?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>ae(!0),onMouseLeave:()=>ae(!1),id:W.id,children:[m&&!K?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("w-full flex flex-col gap-1 risk-analysis-select-field",s),onMouseDown:ge=>ge.stopPropagation(),role:"group","aria-labelledby":e?"select-field-label":void 0,children:[e?f.jsx("label",{id:"select-field-label",htmlFor:"label",className:`text-xs font-medium text-gray-600 dark:text-black-300 inline-flex items-center gap-1 ${d?"":"capitalize"} ${B||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{size:"extra-small",className:w?"text-black-900 dark:text-black-300":"",variant:"medium",appearance:"subtitle",children:[e,a&&f.jsx(Nt,{isConditional:A})]}),$&&f.jsx(We.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),h&&f.jsx(ln,{}),f.jsx(St,{labels:o}),c&&f.jsx(Ne.Tooltip,{placement:"top",title:c,children:f.jsx("div",{className:"cursor-pointer",role:"button",tabIndex:0,onKeyDown:ge=>{(ge.key==="Enter"||ge.key===" ")&&ge.preventDefault()},children:f.jsx(Vt,{})})})]}),m&&K&&T?f.jsx("button",{id:"btn-select-field-base-add-to-document",className:"cursor-pointer",onClick:ee,type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:X("Add to document"),children:f.jsx(We.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}):null,f.jsx(Ne.Select,{onKeyDown:ut,onOpenChange:U,disabled:F,className:`w-full text-black-900 dark:text-black-200 ${r&&a?"ant-select-status-error":"#e2e8f0"} ${L&&H?.color?"risk-select-field":""}`,classNames:{popup:{root:"!z-[5001]"}},style:{width:"100%","--risk-color":L&&H?.hexBgColor?H?.hexBgColor:"","--risk-border-color":L&&H?.hexBorderColor?H?.hexBorderColor:""},"aria-required":a,mode:n,value:be,onChange:Q,filterOption:b?x:(ge,He)=>(He?.label||"")?.toLowerCase()?.includes(ge?.toLowerCase()),showSearch:!0,onSearch:pn||void 0,onPopupScroll:y,popupClassName:"select-field-dropdown-popup",popupRender:ge=>f.jsx(Kg,{showSelectAll:N,mode:n,options:oe,searchValue:J,handleSelectAll:Re,isAllSelected:Qe,menu:ge,isLoading:C,hasExistingData:Ce,t:X}),options:oe.map(({label:ge,value:He,color:Z,...te})=>({label:String(ge),value:String(He),key:String(He),id:String(He),color:Z,...te})),optionRender:ge=>{const He=ge?.data?.fullname;if(He&&O){const[Z,te]=He.split(" ");return f.jsxs("div",{className:"flex items-center justify-start gap-1",children:[f.jsx(O,{firstName:Z,lastName:te,profilePic:ge?.data?.url||"",size:"xs",enablePopper:!0,userId:ge?.data?.value}),f.jsx("span",{className:"ml-2",children:ge.label})]})}return f.jsx("span",{children:ge.label})},autoClearSearchValue:E,onClear:()=>g&&g(n==="tags"||n==="multiple"?[]:null),maxTagCount:n==="tags"&&z?void 0:"responsive",maxTagPlaceholder:ge=>f.jsx(Ne.Tooltip,{styles:{root:{zIndex:5002}},trigger:"hover",title:ge.length>3?ge.slice(0,3).map(({label:He})=>He).join(", ")+"...":ge.map(({label:He})=>He).join(", "),overlayStyle:{pointerEvents:"none"},children:f.jsxs("span",{children:["+",ge.length," more"]})}),tagRender:I||bt,allowClear:M,...W}),r&&f.jsx(se,{className:"text-error-500",appearance:"custom",size:"extra-small",variant:"medium",children:r})]}),K&&H&&L&&S&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:ge=>ge.stopPropagation(),onMouseDown:ge=>ge.preventDefault(),onKeyDown:ge=>{ge.key==="Escape"&&ae(!1)},children:f.jsx(S,{riskDetails:H})})]})});w1.displayName="SelectField";const y1=l.forwardRef(({id:e,label:t,checked:n,isChecked:r,onChange:i,disabled:a=!1,required:o=!1,message:s,messageType:u="default",wrapperClassName:c,checkboxClassName:d,labelClassName:h,size:m="medium",variant:p="default",labelPosition:g="right",checkboxProps:b},v)=>{const x=n!==void 0?n:r||!1,y=()=>{switch(m){case"small":return"w-3 h-3";case"large":return"w-5 h-5";default:return"w-4 h-4"}},C=()=>{if(u==="error")return"text-red-600 border-red-300 focus:ring-red-500 dark:focus:ring-red-600";if(u==="success")return"text-green-600 border-green-300 focus:ring-green-500 dark:focus:ring-green-600";if(u==="info")return"text-blue-600 border-blue-300 focus:ring-blue-500 dark:focus:ring-blue-600";switch(p){case"outline":return"text-primary-600 bg-transparent border-neutral-300 focus:ring-primary-500 dark:focus:ring-primary-600";case"solid":return"text-primary-600 bg-primary-50 border-primary-300 focus:ring-primary-500 dark:focus:ring-primary-600 dark:bg-primary-900/20";default:return"text-primary-600 bg-gray-100 border-gray-300 focus:ring-primary-500 dark:focus:ring-primary-600 dark:bg-neutral-600 dark:border-gray-600"}},M=()=>u==="error"?"text-red-500 dark:text-red-400":u==="success"?"text-green-500 dark:text-green-400":u==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",E=()=>{switch(m){case"small":return"extra-small";case"large":return"medium";default:return"small"}},w=k=>{i(k.target.checked,k)},z=f.jsx(Ne.Checkbox,{...b,ref:v,id:e,checked:x,onChange:w,disabled:a,className:Y("rounded focus:ring-2 focus:ring-offset-gray-800 transition-colors duration-200",y(),C(),a&&"opacity-50 cursor-not-allowed",d),"aria-required":o,"aria-invalid":s&&u==="error"?"true":"false","aria-describedby":s?`${e}-message`:void 0}),I=t?f.jsx("label",{htmlFor:e,className:Y("font-medium cursor-pointer transition-colors duration-200",a?"text-neutral-400 dark:text-neutral-600 cursor-not-allowed":"text-neutral-900 dark:text-neutral-100",g==="right"?"ml-2":"mr-2",h),children:f.jsxs(se,{variant:"medium",size:E(),appearance:"body",children:[t,o&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})}):null;return f.jsxs("div",{className:Y("flex flex-col",c),children:[f.jsx("div",{className:Y("flex items-center",g==="left"&&"flex-row-reverse justify-end"),children:g==="left"?f.jsxs(f.Fragment,{children:[z,I]}):f.jsxs(f.Fragment,{children:[z,I]})}),f.jsx(Ue.AnimatePresence,{children:s&&f.jsx(Ue.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-message`,role:u==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",M()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})})]})});y1.displayName="Checkbox";const qg=({label:e,isChecked:t,onChange:n,id:r,...i})=>f.jsxs("div",{className:"flex items-center",children:[f.jsx(Ne.Checkbox,{checked:t,onChange:n,id:r,type:"checkbox",value:"",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:!bg-neutral-600 dark:border-gray-600",...i}),f.jsx("label",{className:"ml-2 text-sm font-medium text-neutral-900 dark:text-neutral-100",children:e})]}),E1=l.forwardRef(({id:e,label:t,value:n,defaultValue:r="#000000",onChange:i,onColorChange:a,disabled:o=!1,required:s=!1,message:u,messageType:c="default",wrapperClassName:d,inputClassName:h,labelClassName:m,size:p="medium",showValue:g=!1,valueFormat:b="hex",inputProps:v,helpText:x},y)=>{const C=n!==void 0?n:r,M=()=>{switch(p){case"small":return"w-8 h-8";case"large":return"w-16 h-16";default:return"w-12 h-12"}},E=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",w=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",z=()=>{switch(p){case"small":return"extra-small";case"large":return"medium";default:return"small"}},I=B=>{const H=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(B);if(!H)return B;const L=parseInt(H[1],16),S=parseInt(H[2],16),T=parseInt(H[3],16);return`rgb(${L}, ${S}, ${T})`},k=B=>{const H=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(B);if(!H)return B;const L=parseInt(H[1],16)/255,S=parseInt(H[2],16)/255,T=parseInt(H[3],16)/255,G=Math.max(L,S,T),O=Math.min(L,S,T);let _=0,A=0;const $=(G+O)/2;if(G!==O){const W=G-O;switch(A=$>.5?W/(2-G-O):W/(G+O),G){case L:_=(S-T)/W+(S<T?6:0);break;case S:_=(T-L)/W+2;break;case T:_=(L-S)/W+4;break}_/=6}return`hsl(${Math.round(_*360)}, ${Math.round(A*100)}%, ${Math.round($*100)}%)`},F=()=>{switch(b){case"rgb":return I(C);case"hsl":return k(C);default:return C.toUpperCase()}},N=B=>{const H=B.target.value;i(H,B),a?.(H)};return f.jsxs("div",{className:Y("flex flex-col w-full",d),children:[t&&f.jsx("label",{htmlFor:e,className:Y("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",m),children:f.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:f.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:f.jsxs(se,{variant:"medium",size:z(),appearance:"subtitle",children:[t,s&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),x&&f.jsx(se,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:x}),f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("div",{className:"relative",children:f.jsx("input",{...v,ref:y,type:"color",id:e,value:C,onChange:N,disabled:o,required:s,className:Y("border rounded-md cursor-pointer transition-all duration-200","focus:outline-none focus:ring-2",M(),w(),o&&"opacity-50 cursor-not-allowed",h),style:{backgroundColor:C},"aria-required":s,"aria-invalid":u&&c==="error"?"true":"false","aria-describedby":u||x?`${e}-description`:void 0})}),g&&f.jsx("div",{className:"flex-1",children:f.jsx(se,{variant:"medium",size:"small",appearance:"body",className:"font-mono text-neutral-700 dark:text-neutral-300",children:F()})})]}),f.jsx(Ue.AnimatePresence,{children:u&&f.jsx(Ue.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",E()),appearance:"custom",size:"extra-small",variant:"medium",children:u})})}),x&&!u&&f.jsx("div",{id:`${e}-description`,className:"sr-only",children:x})]})});E1.displayName="ColorPicker";function Rn(e){"@babel/helpers - typeof";return Rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rn(e)}function Qg(e,t){if(Rn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Rn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function C1(e){var t=Qg(e,"string");return Rn(t)=="symbol"?t:t+""}function Qr(e,t,n){return(t=C1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k1(Object(n),!0).forEach(function(r){Qr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k1(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Rg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,C1(r.key),r)}}function e7(e,t,n){return t&&I1(e.prototype,t),n&&I1(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function so(e,t){return so=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},so(e,t)}function t7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&so(e,t)}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},il(e)}function z1(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(z1=function(){return!!e})()}function n7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r7(e,t){if(t&&(Rn(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n7(e)}function i7(e){var t=z1();return function(){var n,r=il(e);if(t){var i=il(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return r7(this,n)}}function uo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l7(e){if(Array.isArray(e))return uo(e)}function a7(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function F1(e,t){if(e){if(typeof e=="string")return uo(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uo(e,t):void 0}}function o7(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
68
68
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rr(e){return l7(e)||a7(e)||F1(e)||o7()}function s7(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function u7(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var c7=function(){function e(n){var r=this;this._insertTag=function(i){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,a),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(u7(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=s7(i);try{a.insertRule(r,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ht="-ms-",ll="-moz-",Pe="-webkit-",M1="comm",co="rule",fo="decl",d7="@import",S1="@keyframes",f7="@layer",h7=Math.abs,al=String.fromCharCode,m7=Object.assign;function p7(e,t){return dt(e,0)^45?(((t<<2^dt(e,0))<<2^dt(e,1))<<2^dt(e,2))<<2^dt(e,3):0}function A1(e){return e.trim()}function g7(e,t){return(e=t.exec(e))?e[0]:e}function Oe(e,t,n){return e.replace(t,n)}function ho(e,t){return e.indexOf(t)}function dt(e,t){return e.charCodeAt(t)|0}function ei(e,t,n){return e.slice(t,n)}function an(e){return e.length}function mo(e){return e.length}function ol(e,t){return t.push(e),e}function v7(e,t){return e.map(t).join("")}var sl=1,vr=1,N1=0,Ct=0,it=0,br="";function ul(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:sl,column:vr,length:o,return:""}}function ti(e,t){return m7(ul("",null,null,"",null,null,0),e,{length:-e.length},t)}function b7(){return it}function x7(){return it=Ct>0?dt(br,--Ct):0,vr--,it===10&&(vr=1,sl--),it}function Dt(){return it=Ct<N1?dt(br,Ct++):0,vr++,it===10&&(vr=1,sl++),it}function on(){return dt(br,Ct)}function cl(){return Ct}function ni(e,t){return ei(br,e,t)}function ri(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function D1(e){return sl=vr=1,N1=an(br=e),Ct=0,[]}function L1(e){return br="",e}function dl(e){return A1(ni(Ct-1,po(e===91?e+2:e===40?e+1:e)))}function w7(e){for(;(it=on())&&it<33;)Dt();return ri(e)>2||ri(it)>3?"":" "}function y7(e,t){for(;--t&&Dt()&&!(it<48||it>102||it>57&&it<65||it>70&&it<97););return ni(e,cl()+(t<6&&on()==32&&Dt()==32))}function po(e){for(;Dt();)switch(it){case e:return Ct;case 34:case 39:e!==34&&e!==39&&po(it);break;case 40:e===41&&po(e);break;case 92:Dt();break}return Ct}function E7(e,t){for(;Dt()&&e+it!==57;)if(e+it===84&&on()===47)break;return"/*"+ni(t,Ct-1)+"*"+al(e===47?e:Dt())}function C7(e){for(;!ri(on());)Dt();return ni(e,Ct)}function k7(e){return L1(fl("",null,null,null,[""],e=D1(e),0,[0],e))}function fl(e,t,n,r,i,a,o,s,u){for(var c=0,d=0,h=o,m=0,p=0,g=0,b=1,v=1,x=1,y=0,C="",M=i,E=a,w=r,z=C;v;)switch(g=y,y=Dt()){case 40:if(g!=108&&dt(z,h-1)==58){ho(z+=Oe(dl(y),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:z+=dl(y);break;case 9:case 10:case 13:case 32:z+=w7(g);break;case 92:z+=y7(cl()-1,7);continue;case 47:switch(on()){case 42:case 47:ol(I7(E7(Dt(),cl()),t,n),u);break;default:z+="/"}break;case 123*b:s[c++]=an(z)*x;case 125*b:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+d:x==-1&&(z=Oe(z,/\f/g,"")),p>0&&an(z)-h&&ol(p>32?B1(z+";",r,n,h-1):B1(Oe(z," ","")+";",r,n,h-2),u);break;case 59:z+=";";default:if(ol(w=T1(z,t,n,c,d,i,s,C,M=[],E=[],h),a),y===123)if(d===0)fl(z,t,w,w,M,a,h,s,E);else switch(m===99&&dt(z,3)===110?100:m){case 100:case 108:case 109:case 115:fl(e,w,w,r&&ol(T1(e,w,w,0,0,i,s,C,i,M=[],h),E),i,E,h,s,r?M:E);break;default:fl(z,w,w,w,[""],E,0,s,E)}}c=d=p=0,b=x=1,C=z="",h=o;break;case 58:h=1+an(z),p=g;default:if(b<1){if(y==123)--b;else if(y==125&&b++==0&&x7()==125)continue}switch(z+=al(y),y*b){case 38:x=d>0?1:(z+="\f",-1);break;case 44:s[c++]=(an(z)-1)*x,x=1;break;case 64:on()===45&&(z+=dl(Dt())),m=on(),d=h=an(C=z+=C7(cl())),y++;break;case 45:g===45&&an(z)==2&&(b=0)}}return a}function T1(e,t,n,r,i,a,o,s,u,c,d){for(var h=i-1,m=i===0?a:[""],p=mo(m),g=0,b=0,v=0;g<r;++g)for(var x=0,y=ei(e,h+1,h=h7(b=o[g])),C=e;x<p;++x)(C=A1(b>0?m[x]+" "+y:Oe(y,/&\f/g,m[x])))&&(u[v++]=C);return ul(e,t,n,i===0?co:s,u,c,d)}function I7(e,t,n){return ul(e,t,n,M1,al(b7()),ei(e,2,-2),0)}function B1(e,t,n,r){return ul(e,t,n,fo,ei(e,0,r),ei(e,r+1,-1),r)}function xr(e,t){for(var n="",r=mo(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function z7(e,t,n,r){switch(e.type){case f7:if(e.children.length)break;case d7:case fo:return e.return=e.return||e.value;case M1:return"";case S1:return e.return=e.value+"{"+xr(e.children,r)+"}";case co:e.value=e.props.join(",")}return an(n=xr(e.children,r))?e.return=e.value+"{"+n+"}":""}function F7(e){var t=mo(e);return function(n,r,i,a){for(var o="",s=0;s<t;s++)o+=e[s](n,r,i,a)||"";return o}}function M7(e){return function(t){t.root||(t=t.return)&&e(t)}}function S7(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var A7=function(t,n,r){for(var i=0,a=0;i=a,a=on(),i===38&&a===12&&(n[r]=1),!ri(a);)Dt();return ni(t,Ct)},N7=function(t,n){var r=-1,i=44;do switch(ri(i)){case 0:i===38&&on()===12&&(n[r]=1),t[r]+=A7(Ct-1,n,r);break;case 2:t[r]+=dl(i);break;case 4:if(i===44){t[++r]=on()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=al(i)}while(i=Dt());return t},D7=function(t,n){return L1(N7(D1(t),n))},H1=new WeakMap,L7=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!H1.get(r))&&!i){H1.set(t,!0);for(var a=[],o=D7(n,a),s=r.props,u=0,c=0;u<o.length;u++)for(var d=0;d<s.length;d++,c++)t.props[c]=a[u]?o[u].replace(/&\f/g,s[d]):s[d]+" "+o[u]}}},T7=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function j1(e,t){switch(p7(e,t)){case 5103:return Pe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Pe+e+ll+e+ht+e+e;case 6828:case 4268:return Pe+e+ht+e+e;case 6165:return Pe+e+ht+"flex-"+e+e;case 5187:return Pe+e+Oe(e,/(\w+).+(:[^]+)/,Pe+"box-$1$2"+ht+"flex-$1$2")+e;case 5443:return Pe+e+ht+"flex-item-"+Oe(e,/flex-|-self/,"")+e;case 4675:return Pe+e+ht+"flex-line-pack"+Oe(e,/align-content|flex-|-self/,"")+e;case 5548:return Pe+e+ht+Oe(e,"shrink","negative")+e;case 5292:return Pe+e+ht+Oe(e,"basis","preferred-size")+e;case 6060:return Pe+"box-"+Oe(e,"-grow","")+Pe+e+ht+Oe(e,"grow","positive")+e;case 4554:return Pe+Oe(e,/([^-])(transform)/g,"$1"+Pe+"$2")+e;case 6187:return Oe(Oe(Oe(e,/(zoom-|grab)/,Pe+"$1"),/(image-set)/,Pe+"$1"),e,"")+e;case 5495:case 3959:return Oe(e,/(image-set\([^]*)/,Pe+"$1$`$1");case 4968:return Oe(Oe(e,/(.+:)(flex-)?(.*)/,Pe+"box-pack:$3"+ht+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Pe+e+e;case 4095:case 3583:case 4068:case 2532:return Oe(e,/(.+)-inline(.+)/,Pe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(an(e)-1-t>6)switch(dt(e,t+1)){case 109:if(dt(e,t+4)!==45)break;case 102:return Oe(e,/(.+:)(.+)-([^]+)/,"$1"+Pe+"$2-$3$1"+ll+(dt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ho(e,"stretch")?j1(Oe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(dt(e,t+1)!==115)break;case 6444:switch(dt(e,an(e)-3-(~ho(e,"!important")&&10))){case 107:return Oe(e,":",":"+Pe)+e;case 101:return Oe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Pe+(dt(e,14)===45?"inline-":"")+"box$3$1"+Pe+"$2$3$1"+ht+"$2box$3")+e}break;case 5936:switch(dt(e,t+11)){case 114:return Pe+e+ht+Oe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pe+e+ht+Oe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pe+e+ht+Oe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Pe+e+ht+e+e}return e}var B7=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case fo:t.return=j1(t.value,t.length);break;case S1:return xr([ti(t,{value:Oe(t.value,"@","@"+Pe)})],i);case co:if(t.length)return v7(t.props,function(a){switch(g7(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return xr([ti(t,{props:[Oe(a,/:(read-\w+)/,":"+ll+"$1")]})],i);case"::placeholder":return xr([ti(t,{props:[Oe(a,/:(plac\w+)/,":"+Pe+"input-$1")]}),ti(t,{props:[Oe(a,/:(plac\w+)/,":"+ll+"$1")]}),ti(t,{props:[Oe(a,/:(plac\w+)/,ht+"input-$1")]})],i)}return""})}},H7=[B7],j7=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(b){var v=b.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=t.stylisPlugins||H7,a={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(b){for(var v=b.getAttribute("data-emotion").split(" "),x=1;x<v.length;x++)a[v[x]]=!0;s.push(b)});var u,c=[L7,T7];{var d,h=[z7,M7(function(b){d.insert(b)})],m=F7(c.concat(i,h)),p=function(v){return xr(k7(v),m)};u=function(v,x,y,C){d=y,p(v?v+"{"+x.styles+"}":x.styles),C&&(g.inserted[x.name]=!0)}}var g={key:n,sheet:new c7({key:n,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:u};return g.sheet.hydrate(s),g},hl={exports:{}},Ge={};/** @license React v16.13.1
69
69
  * react-is.production.min.js
70
70
  *
@@ -83,10 +83,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
83
83
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vn(e,t){return av(e)||ov(e,t)||F1(e,t)||sv()}function er(e,t){if(e==null)return{};var n,r,i=Su(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function uv(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const cv=Math.min,dv=Math.max,ml=Math.round,pl=Math.floor,gl=e=>({x:e,y:e});function fv(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function vl(){return typeof window<"u"}function J1(e){return q1(e)?(e.nodeName||"").toLowerCase():"#document"}function bn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function K1(e){var t;return(t=(q1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function q1(e){return vl()?e instanceof Node||e instanceof bn(e).Node:!1}function hv(e){return vl()?e instanceof Element||e instanceof bn(e).Element:!1}function yo(e){return vl()?e instanceof HTMLElement||e instanceof bn(e).HTMLElement:!1}function Q1(e){return!vl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof bn(e).ShadowRoot}const mv=new Set(["inline","contents"]);function R1(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Eo(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!mv.has(i)}function pv(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const gv=new Set(["html","body","#document"]);function vv(e){return gv.has(J1(e))}function Eo(e){return bn(e).getComputedStyle(e)}function bv(e){if(J1(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Q1(e)&&e.host||K1(e);return Q1(t)?t.host:t}function ec(e){const t=bv(e);return vv(t)?e.ownerDocument?e.ownerDocument.body:e.body:yo(t)&&R1(t)?t:ec(t)}function bl(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=ec(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=bn(i);if(a){const s=Co(o);return t.concat(o,o.visualViewport||[],R1(i)?i:[],s&&n?bl(s):[])}return t.concat(i,bl(i,[],n))}function Co(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function xv(e){const t=Eo(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=yo(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=ml(n)!==a||ml(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function ko(e){return hv(e)?e:e.contextElement}function tc(e){const t=ko(e);if(!yo(t))return gl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=xv(t);let o=(a?ml(n.width):n.width)/r,s=(a?ml(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const wv=gl(0);function yv(e){const t=bn(e);return!pv()||!t.visualViewport?wv:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ev(e,t,n){return!1}function nc(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),a=ko(e);let o=gl(1);t&&(o=tc(e));const s=Ev()?yv(a):gl(0);let u=(i.left+s.x)/o.x,c=(i.top+s.y)/o.y,d=i.width/o.x,h=i.height/o.y;if(a){const m=bn(a),p=r;let g=m,b=Co(g);for(;b&&r&&p!==g;){const v=tc(b),x=b.getBoundingClientRect(),y=Eo(b),C=x.left+(b.clientLeft+parseFloat(y.paddingLeft))*v.x,M=x.top+(b.clientTop+parseFloat(y.paddingTop))*v.y;u*=v.x,c*=v.y,d*=v.x,h*=v.y,u+=C,c+=M,g=bn(b),b=Co(g)}}return fv({width:d,height:h,x:u,y:c})}function rc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Cv(e,t){let n=null,r;const i=K1(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function o(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),a();const c=e.getBoundingClientRect(),{left:d,top:h,width:m,height:p}=c;if(s||t(),!m||!p)return;const g=pl(h),b=pl(i.clientWidth-(d+m)),v=pl(i.clientHeight-(h+p)),x=pl(d),C={rootMargin:-g+"px "+-b+"px "+-v+"px "+-x+"px",threshold:dv(0,cv(1,u))||1};let M=!0;function E(w){const z=w[0].intersectionRatio;if(z!==u){if(!M)return o();z?o(!1,z):r=setTimeout(()=>{o(!1,1e-7)},1e3)}z===1&&!rc(c,e.getBoundingClientRect())&&o(),M=!1}try{n=new IntersectionObserver(E,{...C,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,C)}n.observe(e)}return o(!0),a}function kv(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,c=ko(e),d=i||a?[...c?bl(c):[],...bl(t)]:[];d.forEach(x=>{i&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const h=c&&s?Cv(c,n):null;let m=-1,p=null;o&&(p=new ResizeObserver(x=>{let[y]=x;y&&y.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var C;(C=p)==null||C.observe(t)})),n()}),c&&!u&&p.observe(c),p.observe(t));let g,b=u?nc(e):null;u&&v();function v(){const x=nc(e);b&&!rc(b,x)&&n(),b=x,g=requestAnimationFrame(v)}return n(),()=>{var x;d.forEach(y=>{i&&y.removeEventListener("scroll",n),a&&y.removeEventListener("resize",n)}),h?.(),(x=p)==null||x.disconnect(),p=null,u&&cancelAnimationFrame(g)}}var Io=l.useLayoutEffect,Iv=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],xl=function(){};function zv(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Fv(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&a.push("".concat(zv(e,o)));return a.filter(function(s){return s}).map(function(s){return String(s).trim()}).join(" ")}var wl=function(t){return Hv(t)?t.filter(Boolean):Rn(t)==="object"&&t!==null?[t]:[]},ic=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=er(t,Iv);return Ee({},n)},qe=function(t,n,r){var i=t.cx,a=t.getStyles,o=t.getClassNames,s=t.className;return{css:a(n,t),className:i(r??{},o(n,t),s)}};function yl(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Mv(e){return yl(e)?window.innerHeight:e.clientHeight}function lc(e){return yl(e)?window.pageYOffset:e.scrollTop}function El(e,t){if(yl(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Sv(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function Av(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Cl(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:xl,i=lc(e),a=t-i,o=10,s=0;function u(){s+=o;var c=Av(s,i,a,n);El(e,c),s<n?window.requestAnimationFrame(u):r(e)}u()}function ac(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?El(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&El(e,Math.max(t.offsetTop-i,0))}function Nv(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function oc(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Dv(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var sc=!1,Lv={get passive(){return sc=!0}},kl=typeof window<"u"?window:{};kl.addEventListener&&kl.removeEventListener&&(kl.addEventListener("p",xl,Lv),kl.removeEventListener("p",xl,!1));var Tv=sc;function Bv(e){return e!=null}function Hv(e){return Array.isArray(e)}function li(e,t,n){return e?t:n}function iH(e){return e}function lH(e){return e}var jv=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=Object.entries(t).filter(function(o){var s=vn(o,1),u=s[0];return!r.includes(u)});return a.reduce(function(o,s){var u=vn(s,2),c=u[0],d=u[1];return o[c]=d,o},{})};function Pv(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,s=e.controlHeight,u=Sv(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var d=u.getBoundingClientRect(),h=d.height,m=n.getBoundingClientRect(),p=m.bottom,g=m.height,b=m.top,v=n.offsetParent.getBoundingClientRect(),x=v.top,y=o?window.innerHeight:Mv(u),C=lc(u),M=parseInt(getComputedStyle(n).marginBottom,10),E=parseInt(getComputedStyle(n).marginTop,10),w=x-E,z=y-b,I=w+C,k=h-C-b,F=p-y+C+M,N=C+b-E,B=160;switch(i){case"auto":case"bottom":if(z>=g)return{placement:"bottom",maxHeight:t};if(k>=g&&!o)return a&&Cl(u,F,B),{placement:"bottom",maxHeight:t};if(!o&&k>=r||o&&z>=r){a&&Cl(u,F,B);var H=o?z-M:k-M;return{placement:"bottom",maxHeight:H}}if(i==="auto"||o){var L=t,S=o?w:I;return S>=r&&(L=Math.min(S-M-s,t)),{placement:"top",maxHeight:L}}if(i==="bottom")return a&&El(u,F),{placement:"bottom",maxHeight:t};break;case"top":if(w>=g)return{placement:"top",maxHeight:t};if(I>=g&&!o)return a&&Cl(u,N,B),{placement:"top",maxHeight:t};if(!o&&I>=r||o&&w>=r){var T=t;return(!o&&I>=r||o&&w>=r)&&(T=o?w-E:I-E),a&&Cl(u,N,B),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}function Ov(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var uc=function(t){return t==="auto"?"bottom":t},Vv=function(t,n){var r,i=t.placement,a=t.theme,o=a.borderRadius,s=a.spacing,u=a.colors;return Ee((r={label:"menu"},Qr(r,Ov(i),"100%"),Qr(r,"position","absolute"),Qr(r,"width","100%"),Qr(r,"zIndex",1),r),n?{}:{backgroundColor:u.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},cc=l.createContext(null),Gv=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,o=t.menuPosition,s=t.menuShouldScrollIntoView,u=t.theme,c=l.useContext(cc)||{},d=c.setPortalPlacement,h=l.useRef(null),m=l.useState(i),p=vn(m,2),g=p[0],b=p[1],v=l.useState(null),x=vn(v,2),y=x[0],C=x[1],M=u.spacing.controlHeight;return Io(function(){var E=h.current;if(E){var w=o==="fixed",z=s&&!w,I=Pv({maxHeight:i,menuEl:E,minHeight:r,placement:a,shouldScroll:z,isFixedPosition:w,controlHeight:M});b(I.maxHeight),C(I.placement),d?.(I.placement)}},[i,a,o,s,r,d,M]),n({ref:h,placerProps:Ee(Ee({},t),{},{placement:y||uc(a),maxHeight:g})})},_v=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return xe("div",ve({},qe(t,"menu",{menu:!0}),{ref:r},i),n)},$v=_v,Wv=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return Ee({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},Uv=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,a=t.isMulti;return xe("div",ve({},qe(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},dc=function(t,n){var r=t.theme,i=r.spacing.baseUnit,a=r.colors;return Ee({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},Xv=dc,Zv=dc,fc=function(t){var n=t.children,r=t.innerProps;return xe("div",ve({},qe(t,"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)};fc.defaultProps={children:"No options"};var hc=function(t){var n=t.children,r=t.innerProps;return xe("div",ve({},qe(t,"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)};hc.defaultProps={children:"Loading..."};var Yv=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},Jv=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,a=t.innerProps,o=t.menuPlacement,s=t.menuPosition,u=l.useRef(null),c=l.useRef(null),d=l.useState(uc(o)),h=vn(d,2),m=h[0],p=h[1],g=l.useMemo(function(){return{setPortalPlacement:p}},[]),b=l.useState(null),v=vn(b,2),x=v[0],y=v[1],C=l.useCallback(function(){if(i){var z=Nv(i),I=s==="fixed"?0:window.pageYOffset,k=z[m]+I;(k!==x?.offset||z.left!==x?.rect.left||z.width!==x?.rect.width)&&y({offset:k,rect:z})}},[i,s,m,x?.offset,x?.rect.left,x?.rect.width]);Io(function(){C()},[C]);var M=l.useCallback(function(){typeof c.current=="function"&&(c.current(),c.current=null),i&&u.current&&(c.current=kv(i,u.current,C,{elementResize:"ResizeObserver"in window}))},[i,C]);Io(function(){M()},[M]);var E=l.useCallback(function(z){u.current=z,M()},[M]);if(!n&&s!=="fixed"||!x)return null;var w=xe("div",ve({ref:E},qe(Ee(Ee({},t),{},{offset:x.offset,position:s,rect:x.rect}),"menuPortal",{"menu-portal":!0}),a),r);return xe(cc.Provider,{value:g},n?dr.createPortal(w,n):w)},Kv=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},qv=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,a=t.isRtl;return xe("div",ve({},qe(t,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},Qv=function(t,n){var r=t.theme.spacing,i=t.isMulti,a=t.hasValue,o=t.selectProps.controlShouldRenderValue;return Ee({alignItems:"center",display:i&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},Rv=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,a=t.hasValue;return xe("div",ve({},qe(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},e9=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},t9=function(t){var n=t.children,r=t.innerProps;return xe("div",ve({},qe(t,"indicatorsContainer",{indicators:!0}),r),n)},mc,n9=["size"];function r9(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var i9=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+XG4pID0+IHtcbiAgY29uc3QgeyBpbm5lclByb3BzLCBpc1J0bCB9ID0gcHJvcHM7XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2xvYWRpbmdJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgICAgey4uLmlubmVyUHJvcHN9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */",toString:r9},pc=function(t){var n=t.size,r=er(t,n9);return xe("svg",ve({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:i9},r))},zo=function(t){return xe(pc,ve({size:20},t),xe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},gc=function(t){return xe(pc,ve({size:20},t),xe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},vc=function(t,n){var r=t.isFocused,i=t.theme,a=i.spacing.baseUnit,o=i.colors;return Ee({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?o.neutral60:o.neutral20,padding:a*2,":hover":{color:r?o.neutral80:o.neutral40}})},l9=vc,a9=function(t){var n=t.children,r=t.innerProps;return xe("div",ve({},qe(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||xe(gc,null))},o9=vc,s9=function(t){var n=t.children,r=t.innerProps;return xe("div",ve({},qe(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||xe(zo,null))},u9=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing.baseUnit,o=i.colors;return Ee({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?o.neutral10:o.neutral20,marginBottom:a*2,marginTop:a*2})},c9=function(t){var n=t.innerProps;return xe("span",ve({},n,qe(t,"indicatorSeparator",{"indicator-separator":!0})))},d9=lv(mc||(mc=uv([`
84
84
  0%, 80%, 100% { opacity: 0; }
85
85
  40% { opacity: 1; }
86
- `]))),f9=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,o=a.colors,s=a.spacing.baseUnit;return Ee({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:s*2})},Fo=function(t){var n=t.delay,r=t.offset;return xe("span",{css:wo({animation:"".concat(d9," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+XG4pID0+IHtcbiAgY29uc3QgeyBpbm5lclByb3BzLCBpc1J0bCB9ID0gcHJvcHM7XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2xvYWRpbmdJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgICAgey4uLmlubmVyUHJvcHN9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */")})},bc=function(t){var n=t.innerProps,r=t.isRtl;return xe("div",ve({},qe(t,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),xe(Fo,{delay:0,offset:r}),xe(Fo,{delay:160,offset:!0}),xe(Fo,{delay:320,offset:!r}))};bc.defaultProps={size:4};var h9=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,o=a.colors,s=a.borderRadius,u=a.spacing;return Ee({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:i?o.primary:o.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},m9=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,o=t.innerProps,s=t.menuIsOpen;return xe("div",ve({ref:a},qe(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":s}),o),n)},p9=m9,g9=["data"],v9=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},b9=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,o=t.Heading,s=t.headingProps,u=t.innerProps,c=t.label,d=t.theme,h=t.selectProps;return xe("div",ve({},qe(t,"group",{group:!0}),u),xe(o,ve({},s,{selectProps:h,theme:d,getStyles:i,getClassNames:a,cx:r}),c),xe("div",null,n))},x9=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return Ee({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},w9=function(t){var n=ic(t);n.data;var r=er(n,g9);return xe("div",ve({},qe(t,"groupHeading",{"group-heading":!0}),r))},y9=b9,E9=["innerRef","isDisabled","isHidden","inputClassName"],C9=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,o=a.spacing,s=a.colors;return Ee(Ee({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},k9),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:s.neutral80})},xc={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},k9={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ee({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},xc)},I9=function(t){return Ee({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},xc)},z9=function(t){var n=t.cx,r=t.value,i=ic(t),a=i.innerRef,o=i.isDisabled,s=i.isHidden,u=i.inputClassName,c=er(i,E9);return xe("div",ve({},qe(t,"input",{"input-container":!0}),{"data-value":r||""}),xe("input",ve({className:n({input:!0},u),ref:a,style:I9(s),disabled:o},c)))},F9=z9,M9=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors;return Ee({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},S9=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,o=t.cropWithEllipsis;return Ee({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},A9=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors,s=t.isFocused;return Ee({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:s?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},wc=function(t){var n=t.children,r=t.innerProps;return xe("div",r,n)},N9=wc,D9=wc;function L9(e){var t=e.children,n=e.innerProps;return xe("div",ve({role:"button"},n),t||xe(zo,{size:14}))}var T9=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,o=t.isDisabled,s=t.removeProps,u=t.selectProps,c=r.Container,d=r.Label,h=r.Remove;return xe(c,{data:i,innerProps:Ee(Ee({},qe(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:u},xe(d,{data:i,innerProps:Ee({},qe(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},n),xe(h,{data:i,innerProps:Ee(Ee({},qe(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:u}))},B9=T9,H9=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.theme,s=o.spacing,u=o.colors;return Ee({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?u.primary:i?u.primary25:"transparent",color:r?u.neutral20:a?u.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?u.primary:u.primary50}})},j9=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.innerRef,s=t.innerProps;return xe("div",ve({},qe(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:o,"aria-disabled":r},s),n)},P9=j9,O9=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return Ee({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},V9=function(t){var n=t.children,r=t.innerProps;return xe("div",ve({},qe(t,"placeholder",{placeholder:!0}),r),n)},G9=V9,_9=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,o=i.colors;return Ee({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},$9=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return xe("div",ve({},qe(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},W9=$9,Il={ClearIndicator:s9,Control:p9,DropdownIndicator:a9,DownChevron:gc,CrossIcon:zo,Group:y9,GroupHeading:w9,IndicatorsContainer:t9,IndicatorSeparator:c9,Input:F9,LoadingIndicator:bc,Menu:$v,MenuList:Uv,MenuPortal:Jv,LoadingMessage:hc,NoOptionsMessage:fc,MultiValue:B9,MultiValueContainer:N9,MultiValueLabel:D9,MultiValueRemove:L9,Option:P9,Placeholder:G9,SelectContainer:qv,SingleValue:W9,ValueContainer:Rv},U9=function(t){return Ee(Ee({},Il),t.components)},yc=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function X9(e,t){return!!(e===t||yc(e)&&yc(t))}function Z9(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!X9(e[n],t[n]))return!1;return!0}function Y9(e,t){t===void 0&&(t=Z9);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return r.clear=function(){n=null},r}function J9(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var K9=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:J9},q9=function(t){return xe("span",ve({css:K9},t))},Ec=q9,Q9={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.isDisabled,a=t.tabSelectsValue,o=t.context;switch(o){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(a?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,o=a===void 0?"":a,s=t.selectValue,u=t.isDisabled,c=t.isSelected,d=function(g,b){return g&&g.length?"".concat(g.indexOf(b)+1," of ").concat(g.length):""};if(n==="value"&&s)return"value ".concat(o," focused, ").concat(d(s,r),".");if(n==="menu"){var h=u?" disabled":"",m="".concat(c?"selected":"focused").concat(h);return"option ".concat(o," ").concat(m,", ").concat(d(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},R9=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,o=t.isFocused,s=t.selectValue,u=t.selectProps,c=t.id,d=u.ariaLiveMessages,h=u.getOptionLabel,m=u.inputValue,p=u.isMulti,g=u.isOptionDisabled,b=u.isSearchable,v=u.menuIsOpen,x=u.options,y=u.screenReaderStatus,C=u.tabSelectsValue,M=u["aria-label"],E=u["aria-live"],w=l.useMemo(function(){return Ee(Ee({},Q9),d||{})},[d]),z=l.useMemo(function(){var L="";if(n&&w.onChange){var S=n.option,T=n.options,G=n.removedValue,O=n.removedValues,_=n.value,A=function(R){return Array.isArray(R)?null:R},$=G||S||A(_),W=$?h($):"",D=T||O||void 0,X=D?D.map(h):[],K=Ee({isDisabled:$&&g($,s),label:W,labels:X},n);L=w.onChange(K)}return L},[n,w,g,s,h]),I=l.useMemo(function(){var L="",S=r||i,T=!!(r&&s&&s.includes(r));if(S&&w.onFocus){var G={focused:S,label:h(S),isDisabled:g(S,s),isSelected:T,options:a,context:S===r?"menu":"value",selectValue:s};L=w.onFocus(G)}return L},[r,i,h,g,w,a,s]),k=l.useMemo(function(){var L="";if(v&&x.length&&w.onFilter){var S=y({count:a.length});L=w.onFilter({inputValue:m,resultsMessage:S})}return L},[a,m,v,w,x,y]),F=l.useMemo(function(){var L="";if(w.guidance){var S=i?"value":v?"menu":"input";L=w.guidance({"aria-label":M,context:S,isDisabled:r&&g(r,s),isMulti:p,isSearchable:b,tabSelectsValue:C})}return L},[M,r,i,p,g,b,v,w,s,C]),N="".concat(I," ").concat(k," ").concat(F),B=xe(l.Fragment,null,xe("span",{id:"aria-selection"},z),xe("span",{id:"aria-context"},N)),H=n?.action==="initial-input-focus";return xe(l.Fragment,null,xe(Ec,{id:c},H&&B),xe(Ec,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text"},o&&!H&&B))},e8=R9,Mo=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],t8=new RegExp("["+Mo.map(function(e){return e.letters}).join("")+"]","g"),Cc={},So=0;So<Mo.length;So++)for(var Ao=Mo[So],No=0;No<Ao.letters.length;No++)Cc[Ao.letters[No]]=Ao.base;var kc=function(t){return t.replace(t8,function(n){return Cc[n]})},n8=Y9(kc),Ic=function(t){return t.replace(/^\s+|\s+$/g,"")},r8=function(t){return"".concat(t.label," ").concat(t.value)},i8=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Ee({ignoreCase:!0,ignoreAccents:!0,stringify:r8,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,o=i.ignoreAccents,s=i.stringify,u=i.trim,c=i.matchFrom,d=u?Ic(r):r,h=u?Ic(s(n)):s(n);return a&&(d=d.toLowerCase(),h=h.toLowerCase()),o&&(d=n8(d),h=kc(h)),c==="start"?h.substr(0,d.length)===d:h.indexOf(d)>-1}},l8=["innerRef"];function a8(e){var t=e.innerRef,n=er(e,l8),r=jv(n,"onExited","in","enter","exit","appear");return xe("input",ve({ref:t},r,{css:wo({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var o8=function(t){t.preventDefault(),t.stopPropagation()};function s8(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,o=l.useRef(!1),s=l.useRef(!1),u=l.useRef(0),c=l.useRef(null),d=l.useCallback(function(v,x){if(c.current!==null){var y=c.current,C=y.scrollTop,M=y.scrollHeight,E=y.clientHeight,w=c.current,z=x>0,I=M-E-C,k=!1;I>x&&o.current&&(r&&r(v),o.current=!1),z&&s.current&&(a&&a(v),s.current=!1),z&&x>I?(n&&!o.current&&n(v),w.scrollTop=M,k=!0,o.current=!0):!z&&-x>C&&(i&&!s.current&&i(v),w.scrollTop=0,k=!0,s.current=!0),k&&o8(v)}},[n,r,i,a]),h=l.useCallback(function(v){d(v,v.deltaY)},[d]),m=l.useCallback(function(v){u.current=v.changedTouches[0].clientY},[]),p=l.useCallback(function(v){var x=u.current-v.changedTouches[0].clientY;d(v,x)},[d]),g=l.useCallback(function(v){if(v){var x=Tv?{passive:!1}:!1;v.addEventListener("wheel",h,x),v.addEventListener("touchstart",m,x),v.addEventListener("touchmove",p,x)}},[p,m,h]),b=l.useCallback(function(v){v&&(v.removeEventListener("wheel",h,!1),v.removeEventListener("touchstart",m,!1),v.removeEventListener("touchmove",p,!1))},[p,m,h]);return l.useEffect(function(){if(t){var v=c.current;return g(v),function(){b(v)}}},[t,g,b]),function(v){c.current=v}}var zc=["boxSizing","height","overflow","paddingRight","position"],Fc={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Mc(e){e.preventDefault()}function Sc(e){e.stopPropagation()}function Ac(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Nc(){return"ontouchstart"in window||navigator.maxTouchPoints}var Dc=!!(typeof window<"u"&&window.document&&window.document.createElement),ai=0,wr={capture:!1,passive:!1};function u8(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=l.useRef({}),a=l.useRef(null),o=l.useCallback(function(u){if(Dc){var c=document.body,d=c&&c.style;if(r&&zc.forEach(function(g){var b=d&&d[g];i.current[g]=b}),r&&ai<1){var h=parseInt(i.current.paddingRight,10)||0,m=document.body?document.body.clientWidth:0,p=window.innerWidth-m+h||0;Object.keys(Fc).forEach(function(g){var b=Fc[g];d&&(d[g]=b)}),d&&(d.paddingRight="".concat(p,"px"))}c&&Nc()&&(c.addEventListener("touchmove",Mc,wr),u&&(u.addEventListener("touchstart",Ac,wr),u.addEventListener("touchmove",Sc,wr))),ai+=1}},[r]),s=l.useCallback(function(u){if(Dc){var c=document.body,d=c&&c.style;ai=Math.max(ai-1,0),r&&ai<1&&zc.forEach(function(h){var m=i.current[h];d&&(d[h]=m)}),c&&Nc()&&(c.removeEventListener("touchmove",Mc,wr),u&&(u.removeEventListener("touchstart",Ac,wr),u.removeEventListener("touchmove",Sc,wr)))}},[r]);return l.useEffect(function(){if(t){var u=a.current;return o(u),function(){s(u)}}},[t,o,s]),function(u){a.current=u}}function c8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var d8=function(){return document.activeElement&&document.activeElement.blur()},f8=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9ICgpID0+XG4gIGRvY3VtZW50LmFjdGl2ZUVsZW1lbnQgJiYgKGRvY3VtZW50LmFjdGl2ZUVsZW1lbnQgYXMgSFRNTEVsZW1lbnQpLmJsdXIoKTtcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gU2Nyb2xsTWFuYWdlcih7XG4gIGNoaWxkcmVuLFxuICBsb2NrRW5hYmxlZCxcbiAgY2FwdHVyZUVuYWJsZWQgPSB0cnVlLFxuICBvbkJvdHRvbUFycml2ZSxcbiAgb25Cb3R0b21MZWF2ZSxcbiAgb25Ub3BBcnJpdmUsXG4gIG9uVG9wTGVhdmUsXG59OiBQcm9wcykge1xuICBjb25zdCBzZXRTY3JvbGxDYXB0dXJlVGFyZ2V0ID0gdXNlU2Nyb2xsQ2FwdHVyZSh7XG4gICAgaXNFbmFibGVkOiBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:c8};function h8(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,o=e.onBottomLeave,s=e.onTopArrive,u=e.onTopLeave,c=s8({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:s,onTopLeave:u}),d=u8({isEnabled:n}),h=function(p){c(p),d(p)};return xe(l.Fragment,null,n&&xe("div",{onClick:d8,css:f8}),t(h))}function m8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var p8=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:m8},g8=function(t){var n=t.name,r=t.onFocus;return xe("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:p8,value:"",onChange:function(){}})},v8=g8,b8=function(t){return t.label},Lc=function(t){return t.label},Tc=function(t){return t.value},x8=function(t){return!!t.isDisabled},w8={clearIndicator:o9,container:Kv,control:h9,dropdownIndicator:l9,group:v9,groupHeading:x9,indicatorsContainer:e9,indicatorSeparator:u9,input:C9,loadingIndicator:f9,loadingMessage:Zv,menu:Vv,menuList:Wv,menuPortal:Yv,multiValue:M9,multiValueLabel:S9,multiValueRemove:A9,noOptionsMessage:Xv,option:H9,placeholder:O9,singleValue:_9,valueContainer:Qv},y8={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},E8=4,Bc=4,C8=38,k8=Bc*2,I8={baseUnit:Bc,controlHeight:C8,menuGutter:k8},Do={borderRadius:E8,colors:y8,spacing:I8},z8={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:oc(),captureMenuScroll:!oc(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:i8(),formatGroupLabel:b8,getOptionLabel:Lc,getOptionValue:Tc,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:x8,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Dv(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Hc(e,t,n,r){var i=Gc(e,t,n),a=_c(e,t,n),o=Vc(e,t),s=zl(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:o,value:s,index:r}}function jc(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(o,s){return Hc(e,o,t,s)}).filter(function(o){return Oc(e,o)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=Hc(e,n,t,r);return Oc(e,a)?a:void 0}).filter(Bv)}function Pc(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Rr(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function F8(e,t){return Pc(jc(e,t))}function Oc(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,o=t.label,s=t.value;return(!Wc(e)||!a)&&$c(e,{label:o,value:s,data:i},r)}function M8(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function S8(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Vc=function(t,n){return t.getOptionLabel(n)},zl=function(t,n){return t.getOptionValue(n)};function Gc(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function _c(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=zl(e,t);return n.some(function(i){return zl(e,i)===r})}function $c(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Wc=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},A8=1,Lo=function(e){t7(n,e);var t=i7(n);function n(r){var i;if(Rg(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.instancePrefix="",i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(s){i.controlRef=s},i.focusedOptionRef=null,i.getFocusedOptionRef=function(s){i.focusedOptionRef=s},i.menuListRef=null,i.getMenuListRef=function(s){i.menuListRef=s},i.inputRef=null,i.getInputRef=function(s){i.inputRef=s},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(s,u){var c=i.props,d=c.onChange,h=c.name;u.name=h,i.ariaOnChange(s,u),d(s,u)},i.setValue=function(s,u,c){var d=i.props,h=d.closeMenuOnSelect,m=d.isMulti,p=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:p}),h&&(i.setState({inputIsHiddenAfterUpdate:!m}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(s,{action:u,option:c})},i.selectOption=function(s){var u=i.props,c=u.blurInputOnSelect,d=u.isMulti,h=u.name,m=i.state.selectValue,p=d&&i.isOptionSelected(s,m),g=i.isOptionDisabled(s,m);if(p){var b=i.getOptionValue(s);i.setValue(m.filter(function(v){return i.getOptionValue(v)!==b}),"deselect-option",s)}else if(!g)d?i.setValue([].concat(Rr(m),[s]),"select-option",s):i.setValue(s,"select-option");else{i.ariaOnChange(s,{action:"select-option",option:s,name:h});return}c&&i.blurInput()},i.removeValue=function(s){var u=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(s),h=c.filter(function(p){return i.getOptionValue(p)!==d}),m=li(u,h,h[0]||null);i.onChange(m,{action:"remove-value",removedValue:s}),i.focusInput()},i.clearValue=function(){var s=i.state.selectValue;i.onChange(li(i.props.isMulti,[],null),{action:"clear",removedValues:s})},i.popValue=function(){var s=i.props.isMulti,u=i.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),h=li(s,d,d[0]||null);i.onChange(h,{action:"pop-value",removedValue:c})},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];return Fv.apply(void 0,[i.props.classNamePrefix].concat(u))},i.getOptionLabel=function(s){return Vc(i.props,s)},i.getOptionValue=function(s){return zl(i.props,s)},i.getStyles=function(s,u){var c=i.props.unstyled,d=w8[s](u,c);d.boxSizing="border-box";var h=i.props.styles[s];return h?h(d,u):d},i.getClassNames=function(s,u){var c,d;return(c=(d=i.props.classNames)[s])===null||c===void 0?void 0:c.call(d,u)},i.getElementId=function(s){return"".concat(i.instancePrefix,"-").concat(s)},i.getComponents=function(){return U9(i.props)},i.buildCategorizedOptions=function(){return jc(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Pc(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(s,u){i.setState({ariaSelection:Ee({value:s},u)})},i.onMenuMouseDown=function(s){s.button===0&&(s.stopPropagation(),s.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(s){i.blockOptionHover=!1},i.onControlMouseDown=function(s){if(!s.defaultPrevented){var u=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&i.onMenuClose():u&&i.openMenu("first"):(u&&(i.openAfterFocus=!0),i.focusInput()),s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&s.preventDefault()}},i.onDropdownIndicatorMouseDown=function(s){if(!(s&&s.type==="mousedown"&&s.button!==0)&&!i.props.isDisabled){var u=i.props,c=u.isMulti,d=u.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!c}),i.onMenuClose()):i.openMenu("first"),s.preventDefault()}},i.onClearIndicatorMouseDown=function(s){s&&s.type==="mousedown"&&s.button!==0||(i.clearValue(),s.preventDefault(),i.openAfterFocus=!1,s.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(s){typeof i.props.closeMenuOnScroll=="boolean"?s.target instanceof HTMLElement&&yl(s.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(s)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(s){var u=s.touches,c=u&&u.item(0);c&&(i.initialTouchX=c.clientX,i.initialTouchY=c.clientY,i.userIsDragging=!1)},i.onTouchMove=function(s){var u=s.touches,c=u&&u.item(0);if(c){var d=Math.abs(c.clientX-i.initialTouchX),h=Math.abs(c.clientY-i.initialTouchY),m=5;i.userIsDragging=d>m||h>m}},i.onTouchEnd=function(s){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(s.target)&&i.menuListRef&&!i.menuListRef.contains(s.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(s){i.userIsDragging||i.onControlMouseDown(s)},i.onClearIndicatorTouchEnd=function(s){i.userIsDragging||i.onClearIndicatorMouseDown(s)},i.onDropdownIndicatorTouchEnd=function(s){i.userIsDragging||i.onDropdownIndicatorMouseDown(s)},i.handleInputChange=function(s){var u=i.props.inputValue,c=s.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:u}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(s){i.props.onFocus&&i.props.onFocus(s),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(s){var u=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(s),i.onInputChange("",{action:"input-blur",prevInputValue:u}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(s){i.blockOptionHover||i.state.focusedOption===s||i.setState({focusedOption:s})},i.shouldHideSelectedOptions=function(){return Wc(i.props)},i.onValueInputFocus=function(s){s.preventDefault(),s.stopPropagation(),i.focus()},i.onKeyDown=function(s){var u=i.props,c=u.isMulti,d=u.backspaceRemovesValue,h=u.escapeClearsValue,m=u.inputValue,p=u.isClearable,g=u.isDisabled,b=u.menuIsOpen,v=u.onKeyDown,x=u.tabSelectsValue,y=u.openMenuOnFocus,C=i.state,M=C.focusedOption,E=C.focusedValue,w=C.selectValue;if(!g&&!(typeof v=="function"&&(v(s),s.defaultPrevented))){switch(i.blockOptionHover=!0,s.key){case"ArrowLeft":if(!c||m)return;i.focusValue("previous");break;case"ArrowRight":if(!c||m)return;i.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(E)i.removeValue(E);else{if(!d)return;c?i.popValue():p&&i.clearValue()}break;case"Tab":if(i.isComposing||s.shiftKey||!b||!x||!M||y&&i.isOptionSelected(M,w))return;i.selectOption(M);break;case"Enter":if(s.keyCode===229)break;if(b){if(!M||i.isComposing)return;i.selectOption(M);break}return;case"Escape":b?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:m}),i.onMenuClose()):p&&h&&i.clearValue();break;case" ":if(m)return;if(!b){i.openMenu("first");break}if(!M)return;i.selectOption(M);break;case"ArrowUp":b?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":b?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!b)return;i.focusOption("pageup");break;case"PageDown":if(!b)return;i.focusOption("pagedown");break;case"Home":if(!b)return;i.focusOption("first");break;case"End":if(!b)return;i.focusOption("last");break;default:return}s.preventDefault()}},i.instancePrefix="react-select-"+(i.props.instanceId||++A8),i.state.selectValue=wl(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.buildFocusableOptions(),o=a.indexOf(i.state.selectValue[0]);i.state.focusedOption=a[o]}return i}return e7(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&ac(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isDisabled,s=a.menuIsOpen,u=this.state.isFocused;(u&&!o&&i.isDisabled||u&&s&&!i.menuIsOpen)&&this.focusInput(),u&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(ac(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,o=this.state,s=o.selectValue,u=o.isFocused,c=this.buildFocusableOptions(),d=i==="first"?0:c.length-1;if(!this.props.isMulti){var h=c.indexOf(s[0]);h>-1&&(d=h)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[d]},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,o=a.selectValue,s=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=o.indexOf(s);s||(u=-1);var c=o.length-1,d=-1;if(o.length){switch(i){case"previous":u===0?d=0:u===-1?d=c:d=u-1;break;case"next":u>-1&&u<c&&(d=u+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:o[d]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,o=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var u=0,c=s.indexOf(o);o||(c=-1),i==="up"?u=c>0?c-1:s.length-1:i==="down"?u=(c+1)%s.length:i==="pageup"?(u=c-a,u<0&&(u=0)):i==="pagedown"?(u=c+a,u>s.length-1&&(u=s.length-1)):i==="last"&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Do):Ee(Ee({},Do),this.props.theme):Do}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,o=this.getStyles,s=this.getClassNames,u=this.getValue,c=this.selectOption,d=this.setValue,h=this.props,m=h.isMulti,p=h.isRtl,g=h.options,b=this.hasValue();return{clearValue:i,cx:a,getStyles:o,getClassNames:s,getValue:u,hasValue:b,isMulti:m,isRtl:p,options:g,selectOption:c,selectProps:h,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,o=i.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(i,a){return Gc(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return _c(this.props,i,a)}},{key:"filterOption",value:function(i,a){return $c(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:o,selectValue:s})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,o=i.isSearchable,s=i.inputId,u=i.inputValue,c=i.tabIndex,d=i.form,h=i.menuIsOpen,m=i.required,p=this.getComponents(),g=p.Input,b=this.state,v=b.inputIsHidden,x=b.ariaSelection,y=this.commonProps,C=s||this.getElementId("input"),M=Ee(Ee(Ee({"aria-autocomplete":"list","aria-expanded":h,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":m,role:"combobox"},h&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?x?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?ce.createElement(g,ve({},y,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:C,innerRef:this.getInputRef,isDisabled:a,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:d,type:"text",value:u},M)):ce.createElement(a8,ve({id:C,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xl,onFocus:this.onInputFocus,disabled:a,tabIndex:c,inputMode:"none",form:d,value:""},M))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),o=a.MultiValue,s=a.MultiValueContainer,u=a.MultiValueLabel,c=a.MultiValueRemove,d=a.SingleValue,h=a.Placeholder,m=this.commonProps,p=this.props,g=p.controlShouldRenderValue,b=p.isDisabled,v=p.isMulti,x=p.inputValue,y=p.placeholder,C=this.state,M=C.selectValue,E=C.focusedValue,w=C.isFocused;if(!this.hasValue()||!g)return x?null:ce.createElement(h,ve({},m,{key:"placeholder",isDisabled:b,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),y);if(v)return M.map(function(I,k){var F=I===E,N="".concat(i.getOptionLabel(I),"-").concat(i.getOptionValue(I));return ce.createElement(o,ve({},m,{components:{Container:s,Label:u,Remove:c},isFocused:F,isDisabled:b,key:N,index:k,removeProps:{onClick:function(){return i.removeValue(I)},onTouchEnd:function(){return i.removeValue(I)},onMouseDown:function(H){H.preventDefault()}},data:I}),i.formatOptionLabel(I,"value"))});if(x)return null;var z=M[0];return ce.createElement(d,ve({},m,{data:z,isDisabled:b}),this.formatOptionLabel(z,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,o=this.commonProps,s=this.props,u=s.isDisabled,c=s.isLoading,d=this.state.isFocused;if(!this.isClearable()||!a||u||!this.hasValue()||c)return null;var h={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ce.createElement(a,ve({},o,{innerProps:h,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,o=this.commonProps,s=this.props,u=s.isDisabled,c=s.isLoading,d=this.state.isFocused;if(!a||!c)return null;var h={"aria-hidden":"true"};return ce.createElement(a,ve({},o,{innerProps:h,isDisabled:u,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,o=i.IndicatorSeparator;if(!a||!o)return null;var s=this.commonProps,u=this.props.isDisabled,c=this.state.isFocused;return ce.createElement(o,ve({},s,{isDisabled:u,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var o=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ce.createElement(a,ve({},o,{innerProps:c,isDisabled:s,isFocused:u}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),o=a.Group,s=a.GroupHeading,u=a.Menu,c=a.MenuList,d=a.MenuPortal,h=a.LoadingMessage,m=a.NoOptionsMessage,p=a.Option,g=this.commonProps,b=this.state.focusedOption,v=this.props,x=v.captureMenuScroll,y=v.inputValue,C=v.isLoading,M=v.loadingMessage,E=v.minMenuHeight,w=v.maxMenuHeight,z=v.menuIsOpen,I=v.menuPlacement,k=v.menuPosition,F=v.menuPortalTarget,N=v.menuShouldBlockScroll,B=v.menuShouldScrollIntoView,H=v.noOptionsMessage,L=v.onMenuScrollToTop,S=v.onMenuScrollToBottom;if(!z)return null;var T=function(D,X){var K=D.type,ae=D.data,R=D.isDisabled,ue=D.isSelected,U=D.label,J=D.value,fe=b===ae,ee=R?void 0:function(){return i.onOptionHover(ae)},be=R?void 0:function(){return i.selectOption(ae)},je="".concat(i.getElementId("option"),"-").concat(X),Q={id:je,onClick:be,onMouseMove:ee,onMouseOver:ee,tabIndex:-1};return ce.createElement(p,ve({},g,{innerProps:Q,data:ae,isDisabled:R,isSelected:ue,key:je,label:U,type:K,value:J,isFocused:fe,innerRef:fe?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(D.data,"menu"))},G;if(this.hasOptions())G=this.getCategorizedOptions().map(function(W){if(W.type==="group"){var D=W.data,X=W.options,K=W.index,ae="".concat(i.getElementId("group"),"-").concat(K),R="".concat(ae,"-heading");return ce.createElement(o,ve({},g,{key:ae,data:D,options:X,Heading:s,headingProps:{id:R,data:W.data},label:i.formatGroupLabel(W.data)}),W.options.map(function(ue){return T(ue,"".concat(K,"-").concat(ue.index))}))}else if(W.type==="option")return T(W,"".concat(W.index))});else if(C){var O=M({inputValue:y});if(O===null)return null;G=ce.createElement(h,g,O)}else{var _=H({inputValue:y});if(_===null)return null;G=ce.createElement(m,g,_)}var A={minMenuHeight:E,maxMenuHeight:w,menuPlacement:I,menuPosition:k,menuShouldScrollIntoView:B},$=ce.createElement(Gv,ve({},g,A),function(W){var D=W.ref,X=W.placerProps,K=X.placement,ae=X.maxHeight;return ce.createElement(u,ve({},g,A,{innerRef:D,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove,id:i.getElementId("listbox")},isLoading:C,placement:K}),ce.createElement(h8,{captureEnabled:x,onTopArrive:L,onBottomArrive:S,lockEnabled:N},function(R){return ce.createElement(c,ve({},g,{innerRef:function(U){i.getMenuListRef(U),R(U)},isLoading:C,maxHeight:ae,focusedOption:b}),G)}))});return F||k==="fixed"?ce.createElement(d,ve({},g,{appendTo:F,controlElement:this.controlRef,menuPlacement:I,menuPosition:k}),$):$}},{key:"renderFormField",value:function(){var i=this,a=this.props,o=a.delimiter,s=a.isDisabled,u=a.isMulti,c=a.name,d=a.required,h=this.state.selectValue;if(d&&!this.hasValue()&&!s)return ce.createElement(v8,{name:c,onFocus:this.onValueInputFocus});if(!(!c||s))if(u)if(o){var m=h.map(function(b){return i.getOptionValue(b)}).join(o);return ce.createElement("input",{name:c,type:"hidden",value:m})}else{var p=h.length>0?h.map(function(b,v){return ce.createElement("input",{key:"i-".concat(v),name:c,type:"hidden",value:i.getOptionValue(b)})}):ce.createElement("input",{name:c,type:"hidden",value:""});return ce.createElement("div",null,p)}else{var g=h[0]?this.getOptionValue(h[0]):"";return ce.createElement("input",{name:c,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,o=a.ariaSelection,s=a.focusedOption,u=a.focusedValue,c=a.isFocused,d=a.selectValue,h=this.getFocusableOptions();return ce.createElement(e8,ve({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:s,focusedValue:u,isFocused:c,selectValue:d,focusableOptions:h}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,o=i.IndicatorsContainer,s=i.SelectContainer,u=i.ValueContainer,c=this.props,d=c.className,h=c.id,m=c.isDisabled,p=c.menuIsOpen,g=this.state.isFocused,b=this.commonProps=this.getCommonProps();return ce.createElement(s,ve({},b,{className:d,innerProps:{id:h,onKeyDown:this.onKeyDown},isDisabled:m,isFocused:g}),this.renderLiveRegion(),ce.createElement(a,ve({},b,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:m,isFocused:g,menuIsOpen:p}),ce.createElement(u,ve({},b,{isDisabled:m}),this.renderPlaceholderOrValue(),this.renderInput()),ce.createElement(o,ve({},b,{isDisabled:m}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var o=a.prevProps,s=a.clearFocusValueOnUpdate,u=a.inputIsHiddenAfterUpdate,c=a.ariaSelection,d=a.isFocused,h=a.prevWasFocused,m=i.options,p=i.value,g=i.menuIsOpen,b=i.inputValue,v=i.isMulti,x=wl(p),y={};if(o&&(p!==o.value||m!==o.options||g!==o.menuIsOpen||b!==o.inputValue)){var C=g?F8(i,x):[],M=s?M8(a,x):null,E=S8(a,C);y={selectValue:x,focusedOption:E,focusedValue:M,clearFocusValueOnUpdate:!1}}var w=u!=null&&i!==o?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},z=c,I=d&&h;return d&&!I&&(z={value:li(v,x,x[0]||null),options:x,action:"initial-input-focus"},I=!h),c?.action==="initial-input-focus"&&(z=null),Ee(Ee(Ee({},y),w),{},{prevProps:i,ariaSelection:z,prevWasFocused:I})}}]),n}(l.Component);Lo.defaultProps=z8;var N8=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Uc(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,o=a===void 0?null:a,s=e.inputValue,u=e.menuIsOpen,c=e.onChange,d=e.onInputChange,h=e.onMenuClose,m=e.onMenuOpen,p=e.value,g=er(e,N8),b=l.useState(s!==void 0?s:n),v=vn(b,2),x=v[0],y=v[1],C=l.useState(u!==void 0?u:i),M=vn(C,2),E=M[0],w=M[1],z=l.useState(p!==void 0?p:o),I=vn(z,2),k=I[0],F=I[1],N=l.useCallback(function(O,_){typeof c=="function"&&c(O,_),F(O)},[c]),B=l.useCallback(function(O,_){var A;typeof d=="function"&&(A=d(O,_)),y(A!==void 0?A:O)},[d]),H=l.useCallback(function(){typeof m=="function"&&m(),w(!0)},[m]),L=l.useCallback(function(){typeof h=="function"&&h(),w(!1)},[h]),S=s!==void 0?s:x,T=u!==void 0?u:E,G=p!==void 0?p:k;return Ee(Ee({},g),{},{inputValue:S,menuIsOpen:T,onChange:N,onInputChange:B,onMenuClose:L,onMenuOpen:H,value:G})}var D8=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Xc=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),a=String(r.getOptionValue(n)).toLowerCase(),o=String(r.getOptionLabel(n)).toLowerCase();return a===i||o===i},To={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,i){return!(!t||n.some(function(a){return Xc(t,a,i)})||r.some(function(a){return Xc(t,a,i)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function L8(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,i=r===void 0?"last":r,a=e.formatCreateLabel,o=a===void 0?To.formatCreateLabel:a,s=e.isValidNewOption,u=s===void 0?To.isValidNewOption:s,c=e.getNewOptionData,d=c===void 0?To.getNewOptionData:c,h=e.onCreateOption,m=e.options,p=m===void 0?[]:m,g=e.onChange,b=er(e,D8),v=b.getOptionValue,x=v===void 0?Tc:v,y=b.getOptionLabel,C=y===void 0?Lc:y,M=b.inputValue,E=b.isLoading,w=b.isMulti,z=b.value,I=b.name,k=l.useMemo(function(){return u(M,wl(z),p,{getOptionValue:x,getOptionLabel:C})?d(M,o(M)):void 0},[o,d,C,x,M,u,p,z]),F=l.useMemo(function(){return(n||!E)&&k?i==="first"?[k].concat(Rr(p)):[].concat(Rr(p),[k]):p},[n,i,E,k,p]),N=l.useCallback(function(B,H){if(H.action!=="select-option")return g(B,H);var L=Array.isArray(B)?B:[B];if(L[L.length-1]===k){if(h)h(M);else{var S=d(M,M),T={action:"create-option",name:I,option:S};g(li(w,[].concat(Rr(wl(z)),[S]),S),T)}return}g(B,H)},[d,M,w,I,k,h,g,z]);return Ee(Ee({},b),{},{options:F,onChange:N})}var T8=l.forwardRef(function(e,t){var n=Uc(e),r=L8(n);return ce.createElement(Lo,ve({ref:t},r))}),B8=T8;const Zc=({id:e,label:t,errorMessage:n,selectOptions:r,loading:i,isClearable:a,multiSelect:o,selectedValues:s,disabled:u,required:c,value:d,className:h,tooltip:m,tags:p,originalCase:g=!1,onChange:b,filterOption:v,placeholder:x,isDarkMode:y=!1,...C})=>{const M=(N,B)=>{b&&b(N);const H=document.getElementById(e);if(H){const L=new CustomEvent("pilot-change",{bubbles:!0,detail:{selector:`#${e}`,value:N,type:"change"}});H.dispatchEvent(L)}},E={control:(N,B)=>({...N,borderColor:n&&c?y?"#F04438":"rgb(253 164 155)":B.isFocused?y?"rgb(64 64 64)":"var(--color-primary-600)":y?"rgb(38 38 38)":"rgb(229 229 229)",backgroundColor:y?(B.isDisabled,"rgb(38 38 38)"):B.isDisabled?"rgb(245 245 245)":"rgb(255 255 255)",borderRadius:"6px",height:"32px",minHeight:"32px",fontSize:"14px",padding:"4px 10px",opacity:B.isDisabled?.6:1,cursor:B.isDisabled?"not-allowed":"default",boxShadow:(B.isFocused,"none"),"&:hover":{borderColor:B.isFocused?y?"rgb(64 64 64)":"var(--color-primary-600)":y?"rgb(38 38 38)":"rgb(229 229 229)"},placeholder:{color:y?"rgb(38 38 38)":"rgb(163 163 163)"}}),valueContainer:N=>({...N,fontSize:"14px",padding:0,height:"20px"}),input:N=>({...N,margin:"0",padding:"0",color:y?"rgb(229 229 229)":"inherit"}),indicatorsContainer:N=>({...N,fontSize:"14px",padding:0,height:"20px"}),option:(N,B)=>({...N,fontFamily:"Inter",fontWeight:500,fontSize:"14px",lineHeight:"1",borderBottom:y?"1px solid rgb(38 38 38)":"1px solid rgb(229 229 229)",backgroundColor:y?"rgb(10 10 10)":"rgb(255 255 255)",color:B.isDisabled?y?"rgb(115 115 115)":"rgb(163 163 163)":y?"rgb(229 229 229)":"inherit",cursor:B.isDisabled?"not-allowed":"pointer",opacity:B.isDisabled?.6:1,"&:hover":{backgroundColor:B.isDisabled?y?"rgb(38 38 38)":"rgb(255 255 255)":y?"rgb(64 64 64)":"rgb(245 245 245)"}}),singleValue:(N,B)=>({...N,fontFamily:"Inter",fontWeight:500,fontSize:"14px",lineHeight:"1.25rem",display:"block",color:B.isDisabled?y?"rgb(115 115 115)":"rgb(163 163 163)":y?"rgb(229 229 229)":"inherit"}),placeholder:(N,B)=>({...N,fontFamily:"Inter",fontSize:"14px",fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:B.isDisabled?y?"rgb(82 82 82)":"rgb(163 163 163)":"rgb(115 115 115)"}),multiValue:N=>({...N,backgroundColor:"rgb(230 241 252)",border:"1px solid rgb(198 225 249)",borderRadius:"6px",font:"Inter"}),multiValueLabel:N=>({...N,color:"var(--color-primary-600)"}),multiValueRemove:N=>({...N,color:"var(--color-primary-600)",":hover":{backgroundColor:"rgb(230 241 252)"}}),menu:N=>({...N,backgroundColor:y?"rgb(10 10 10)":"rgb(255 255 255)",border:y?"1px solid rgb(64 64 64)":"1px solid rgb(229 229 229)"})},w=()=>f.jsx("div",{children:f.jsx(Ue.ChevronLeftRounded,{className:"-rotate-90",sx:{fontSize:"16px"}})}),z=({...N})=>f.jsx("div",{className:"absolute top-0 left-0 h-full flex items-center dark:text-black-100",children:N.data.label}),I=!!s?.length,F=a?I||!!d:!1;return f.jsxs("div",{id:e,className:Y("flex flex-col font-inter",h),children:[t&&f.jsxs("label",{id:e+"Label",htmlFor:"text",className:`mb-1 text-xs font-medium ${y?"text-black-300":"text-neutral-600"} inline-flex items-center gap-1 ${g?"":"capitalize"}`,children:[f.jsxs("div",{className:"text-black-300 dark:text-black-300",children:[t,c&&f.jsx(Nt,{})]}),f.jsx(St,{labels:p}),m&&f.jsx(Be.Tooltip,{placement:"top",title:m,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),f.jsx(B8,{...C,id:"cm"+t,required:c,options:r,isClearable:F,isLoading:i,isDisabled:u,styles:E,isMulti:o,value:o?s:d,onChange:M,filterOption:v,placeholder:x,classNames:{menuList:()=>"nowheel"},components:{IndicatorsContainer:w,SingleValue:z}}),n&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:n})]})};Zc.displayName="CreatableSelectField";var H8=l.forwardRef(function(e,t){var n=Uc(e);return ce.createElement(Lo,ve({ref:t},n))}),j8=H8;const Bo=({ref:e,handler:t,enabled:n=!0})=>{l.useEffect(()=>{if(!n)return;const r=i=>{e.current&&!e.current.contains(i.target)&&t()};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t,n])},P8={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",850:"#1e3a8a",900:"#1e3a8a",950:"#172554",975:"#121f47"},Yc=({id:e,label:t,options:n,placeholder:r,onChange:i,isLoading:a=!1,hideLabel:o=!1,errorMessage:s,required:u=!1,optionConfig:c,menuConfig:d,value:h,isMulti:m=!1,isClearable:p=!0,disabled:g=!1,className:b,isDark:v=!1,primaryColorShades:x=P8})=>{const y=l.useRef(null),[C,M]=l.useState(null),[E,w]=l.useState("");Bo({ref:y,handler:()=>{M(null)}});const z={control:(H,L)=>({...H,borderColor:s&&u?"#F04438":L.isFocused?v?"#1e1e1e":x[600]:v?"#1e1e1e":"#e2e8f0",backgroundColor:L.isDisabled?v?"#1a1a1a":"#f5f5f5":v?"#262626":"#FFFFFF",color:L.isDisabled?v?"#666666":"#a0a0a0":v?"#d4d4d4":"#0F172A",borderRadius:"6px",minHeight:"32px",fontSize:"14px",padding:"0px 10px",cursor:L.isDisabled?"not-allowed":"default",opacity:(L.isDisabled,1),boxShadow:L.isFocused?v?`0 0 0 2px ${x[400]}`:`0 0 0 2px ${x[500]}`:"none"}),valueContainer:H=>({...H,fontSize:"14px",maxHeight:"60px",overflowY:"auto",padding:"0px",margin:"0px",color:v?"#d4d4d4":"inherit","::-webkit-scrollbar":{display:"none"}}),input:H=>({...H,margin:"0"}),indicatorSeparator:()=>({display:"none"}),option:H=>({...H,fontWeight:500,fontSize:"14px",lineHeight:"1",borderBottom:v?"1px solid #1e1e1e":"1px solid #eee",backgroundColor:v?"#000000":"#FFFFFF",color:v?"#d4d4d4":"#0F172A",display:"flex",alignItems:"center",zIndex:200,":hover":{backgroundColor:v?"#171717":x[50]},".icon":{height:"14px",width:"14px"}}),singleValue:(H,L)=>({...H,fontWeight:500,fontSize:"14px",lineHeight:"1.25rem",color:(L.isDisabled,v?"#d4d4d4":"#0F172A"),display:"flex",alignItems:"center",".icon":{height:"14px",width:"14px"}}),placeholder:(H,L)=>({...H,fontSize:"14px",fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:(L.isDisabled,v?"#595959":"#9CA3AF")}),multiValue:H=>({...H,backgroundColor:v?"#000000":x[50],borderRadius:"6px",fontFamily:"Inter",fontSize:"12px",height:"20px",alignItems:"center"}),indicatorsContainer:H=>({...H,padding:"0",height:"30px"}),multiValueLabel:H=>({...H,color:v?"#d4d4d4":x[600],fontSize:"12px"}),multiValueRemove:H=>({...H,color:v?"#d4d4d4":x[600],height:"12px",fontSize:"8px",":hover":{backgroundColor:v?"#171717":x[50]},svg:{height:"12px",width:"12px"}})},I=H=>{const L=n.filter(S=>S?.label?.toLowerCase()?.includes(E?.toLowerCase()));return f.jsx(Il.MenuList,{...H,className:Y("!z-50 rounded !visible overflow-x-scroll",v?"bg-black-800":"bg-white",v?"text-neutral-300":"text-slate-900",d?.className),ref:y,children:L?.length?L.map((S,T)=>f.jsxs("div",{className:Y("item z-[9999] flex items-center justify-between px-4 py-1.5 no-wheel",g?"cursor-not-allowed opacity-50":"cursor-pointer",v?"text-neutral-300":"text-slate-900",!g&&k(S)?v?"bg-black-700":"bg-primary-50":g?"":v?"hover:bg-black-700":"hover:bg-primary-50",d?.optionClassName?"":v?"border-b border-black-700":"border-b border-[#eee]"),onClick:G=>{g||(G.stopPropagation(),H.selectOption(S))},children:[c?.component?f.jsx(c.component,{...c.componentProps,...S}):f.jsx("div",{children:S.label}),f.jsx("div",{className:"flex items-center gap-1",children:k(S)&&c?.selectIndecator?c?.selectIndecator:null})]},T)):f.jsx("div",{className:Y("opacity-50 flex justify-center items-center p-1 font-medium",v?"text-neutral-400":"text-gray-700"),children:"No options"})})},k=H=>m?C?.some(L=>L.value===H.value):H.value===C?.value,F=H=>{const{children:L,innerProps:S,isDisabled:T,getValue:G}=H,O=G();return f.jsx(Il.SingleValue,{...H,innerProps:S,isDisabled:T,children:O.length>0?O.map((_,A)=>f.jsx("span",{children:c?.component?f.jsx(c.component,{...c.componentProps,..._}):f.jsx("div",{children:_.label})},A)):f.jsx(f.Fragment,{children:L})})},N=H=>{const{innerProps:L,isDisabled:S,data:T}=H;return f.jsx(Il.MultiValue,{...H,innerProps:L,isDisabled:S,children:c?.component?f.jsx(c.component,{...c.componentProps,...T}):f.jsx("div",{children:T.label})})},B=(H,L)=>(w(L),!0);return f.jsxs("div",{className:Y("flex flex-col",v?"text-black-300":"text-slate-900",a?"opacity-50":"opacity-100",g?"cursor-not-allowed":""),id:e,children:[o||!t?null:f.jsxs("div",{className:"w-full inline-flex items-center text-xs mb-1",children:[f.jsx(se,{size:"extra-small",variant:"medium",className:Y("font-medium text-left",v?"text-black-300":"text-neutral-400"),appearance:"custom",children:t}),u&&f.jsx(Nt,{})]}),f.jsx(j8,{required:!0,options:n,placeholder:r,value:h,onChange:H=>{M(H),i(H)},styles:z,isMulti:m,className:Y(v&&"bg-black-800 border-black-700",b),components:{MenuList:I,SingleValue:F,MultiValue:N},filterOption:B,closeMenuOnSelect:!0,isClearable:p,isDisabled:g}),s&&f.jsx(se,{className:Y("mt-1",v?"text-red-400":"text-red-500"),appearance:"custom",size:"extra-small",variant:"medium",children:s})]})};Yc.displayName="CustomizableSelectField";const Jc=[{value:"AED",label:"UAE Dirham"},{value:"AFN",label:"Afghan Afghani"},{value:"ALL",label:"Albanian Lek"},{value:"AMD",label:"Armenian Dram"},{value:"AOA",label:"Angolan Kwanza"},{value:"ARS",label:"Argentine Peso"},{value:"AUD",label:"Australian Dollar"},{value:"AWG",label:"Aruban Florin"},{value:"AZN",label:"Azerbaijani Manat"},{value:"BBD",label:"Barbadian Dollar"},{value:"BDT",label:"Bangladeshi Taka"},{value:"BGN",label:"Bulgarian Lev"},{value:"BHD",label:"Bahraini Dinar"},{value:"BIF",label:"Burundian Franc"},{value:"BMD",label:"Bermudian Dollar"},{value:"BND",label:"Brunei Dollar"},{value:"BRL",label:"Brazilian Real"},{value:"BSD",label:"Bahamian Dollar"},{value:"BTN",label:"Bhutanese Ngultrum"},{value:"BWP",label:"Botswanan Pula"},{value:"BYN",label:"Belarusian Ruble"},{value:"BZD",label:"Belize Dollar"},{value:"CAD",label:"Canadian Dollar"},{value:"CDF",label:"Congolese Franc"},{value:"CHE",label:"WIR Euro"},{value:"CHF",label:"Swiss Franc"},{value:"CHW",label:"WIR Franc"},{value:"CLP",label:"Chilean Peso"},{value:"CNY",label:"Chinese Yuan"},{value:"COP",label:"Colombian Peso"},{value:"CRC",label:"Costa Rican Colón"},{value:"CUC",label:"Cuban Convertible Peso"},{value:"CUP",label:"Cuban Peso"},{value:"CVE",label:"Cape Verdean Escudo"},{value:"CZK",label:"Czech Koruna"},{value:"DJF",label:"Djiboutian Franc"},{value:"DKK",label:"Danish Krone"},{value:"DOP",label:"Dominican Peso"},{value:"DZD",label:"Algerian Dinar"},{value:"EGP",label:"Egyptian Pound"},{value:"ERN",label:"Eritrean Nakfa"},{value:"ESP",label:"Spanish Peseta"},{value:"ETB",label:"Ethiopian Birr"},{value:"EUR",label:"Euro"},{value:"FJD",label:"Fijian Dollar"},{value:"FKP",label:"Falkland Islands Pound"},{value:"GBP",label:"British Pound"},{value:"GEL",label:"Georgian Lari"},{value:"GHS",label:"Ghanaian Cedi"},{value:"GIP",label:"Gibraltar Pound"},{value:"GMD",label:"Gambian Dalasi"},{value:"GNF",label:"Guinean Franc"},{value:"GTQ",label:"Guatemalan Quetzal"},{value:"GYD",label:"Guyanese Dollar"},{value:"HKD",label:"Hong Kong Dollar"},{value:"HNL",label:"Honduran Lempira"},{value:"HRK",label:"Croatian Kuna"},{value:"HTG",label:"Haitian Gourde"},{value:"HUF",label:"Hungarian Forint"},{value:"IDR",label:"Indonesian Rupiah"},{value:"ILS",label:"Israeli New Shekel"},{value:"INR",label:"Indian Rupee"},{value:"IQD",label:"Iraqi Dinar"},{value:"IRR",label:"Iranian Rial"},{value:"ISK",label:"Icelandic Króna"},{value:"JMD",label:"Jamaican Dollar"},{value:"JOD",label:"Jordanian Dinar"},{value:"JPY",label:"Japanese Yen"},{value:"KES",label:"Kenyan Shilling"},{value:"KGS",label:"Kyrgyzstani Som"},{value:"KHR",label:"Cambodian Riel"},{value:"KMF",label:"Comorian Franc"},{value:"KPW",label:"North Korean Won"},{value:"KRW",label:"South Korean Won"},{value:"KWD",label:"Kuwaiti Dinar"},{value:"KYD",label:"Caymanian Dollar"},{value:"KZT",label:"Kazakhstani Tenge"},{value:"LAK",label:"Lao Kip"},{value:"LBP",label:"Lebanese Pound"},{value:"LKR",label:"Sri Lankan Rupee"},{value:"LRD",label:"Liberian Dollar"},{value:"LSL",label:"Lesotho Loti"},{value:"LTL",label:"Lithuanian Litas"},{value:"LVL",label:"Latvian Lats"},{value:"LYD",label:"Libyan Dinar"},{value:"MAD",label:"Moroccan Dirham"},{value:"MDL",label:"Moldovan Leu"},{value:"MGA",label:"Malagasy Ariary"},{value:"MKD",label:"Macedonian Denar"},{value:"MMK",label:"Myanmar Kyat"},{value:"MNT",label:"Mongolian Tögrög"},{value:"MOP",label:"Macanese Pataca"},{value:"MRU",label:"Mauritanian Ouguiya"},{value:"MUR",label:"Mauritian Rupee"},{value:"MVR",label:"Maldivian Rufiyaa"},{value:"MWK",label:"Malawian Kwacha"},{value:"MXN",label:"Mexican Peso"},{value:"MYR",label:"Malaysian Ringgit"},{value:"MZN",label:"Mozambican Metical"},{value:"NAD",label:"Namibian Dollar"},{value:"NGN",label:"Nigerian Naira"},{value:"NIO",label:"Nicaraguan Córdoba"},{value:"NOK",label:"Norwegian Krone"},{value:"NPR",label:"Nepalese Rupee"},{value:"NZD",label:"New Zealand Dollar"},{value:"OMR",label:"Omani Rial"},{value:"PAB",label:"Panamanian Balboa"},{value:"PEN",label:"Peruvian Sol"},{value:"PHP",label:"Philippine Peso"},{value:"PKR",label:"Pakistani Rupee"},{value:"PLN",label:"Polish Zloty"},{value:"PRB",label:"Transnistrian Ruble"},{value:"PYG",label:"Paraguayan Guarani"},{value:"QAR",label:"Qatari Riyal"},{value:"RON",label:"Romanian Leu"},{value:"RSD",label:"Serbian Dinar"},{value:"RUB",label:"Russian Ruble"},{value:"RWF",label:"Rwandan Franc"},{value:"SAR",label:"Saudi Riyal"},{value:"SCR",label:"Seychellois Rupee"},{value:"SDG",label:"Sudanese Pound"},{value:"SEK",label:"Swedish Krona"},{value:"SGD",label:"Singapore Dollar"},{value:"SHP",label:"Saint Helena Pound"},{value:"SLL",label:"Sierra Leonean Leone"},{value:"SOS",label:"Somali Shilling"},{value:"SRD",label:"Surinamese Dollar"},{value:"SSP",label:"South Sudanese Pound"},{value:"SVC",label:"Salvadoran Colón"},{value:"SYP",label:"Syrian Pound"},{value:"SZL",label:"Swazi Lilangeni"},{value:"THB",label:"Thai Baht"},{value:"TJS",label:"Tajikistani Somoni"},{value:"TMT",label:"Turkmenistani Manat"},{value:"TND",label:"Tunisian Dinar"},{value:"TOP",label:"Tongan Paʻanga"},{value:"TRY",label:"Turkish Lira"},{value:"TWD",label:"New Taiwan Dollar"},{value:"TZS",label:"Tanzanian Shilling"},{value:"UAH",label:"Ukrainian Hryvnia"},{value:"UGX",label:"Ugandan Shilling"},{value:"USD",label:"United States Dollar"},{value:"UYU",label:"Uruguayan Peso"},{value:"UZS",label:"Uzbekistani Som"},{value:"VEF",label:"Venezuelan Bolívar"},{value:"VND",label:"Vietnamese Dong"},{value:"VUV",label:"Vanuatu Vatu"},{value:"WST",label:"Samoan Tala"},{value:"YER",label:"Yemeni Rial"},{value:"ZAR",label:"South African Rand"},{value:"ZMW",label:"Zambian Kwacha"},{value:"ZWL",label:"Zimbabwean Dollar"}],Kc={AED:"د.إ",AFN:"؋",ALL:"Lek",AMD:"դր",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"₼",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"Fr",BMD:"$",BND:"$",BOB:"Bs.",BOV:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"$",CAD:"$",CDF:"Fr",CHE:"Fr",CHF:"Fr",CHW:"Fr",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fr",DKK:"kr",DOP:"$",DZD:"د.ج",EGP:"£",ERN:"Nkf",ESP:"₧",ETB:"Br",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GHS:"₵",GIP:"£",GMD:"D",GNF:"Fr",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",INR:"₹",IQD:"ع.د",IRR:"ریال",ISK:"kr",JMD:"$",JOD:"د.ا",JPY:"¥",KES:"Sh",KGS:"лв",KHR:"៛",KMF:"Fr",KPW:"₩",KRW:"₩",KWD:"د.ك",KYD:"$",KZT:"₸",LAK:"₭",LBP:"ل.ل",LKR:"₨",LRD:"$",LSL:"M",LTL:"Lt",LVL:"Ls",LYD:"د.ل",MAD:"د.م.",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"P",MRU:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"ر.ع.",PAB:"B/.",PEN:"S/",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PRB:"₽",PYG:"₲",QAR:"ر.ق",RON:"lei",RSD:"дин.",RUB:"₽",RWF:"Fr",SAR:"ر.س",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"Sh",SRD:"$",SSP:"£",STN:"Db",SVC:"$",SYP:"ل.س",SZL:"L",THB:"฿",TJS:"SM",TMT:"m",TND:"د.ت",TOP:"T$",TRY:"₺",TTD:"$",TWD:"NT$",TZS:"Sh",UAH:"₴",UGX:"Sh",USD:"$",UYU:"$",UZS:"сўм",VEF:"Bs.F",VND:"₫",VUV:"Vt",WST:"T",XAF:"Fr",XAG:"XAG",XAU:"XAU",XBA:"XBA",XBB:"XBB",XBC:"XBC",XBD:"XBD",XCD:"$",XDR:"XDR",XOF:"Fr",XPD:"XPD",XPF:"₣",XPT:"XPT",XSU:"XSU",XTS:"XTS",XUA:"XUA",YER:"ر.ي",ZAR:"R",ZMW:"K",ZWL:"$"};var oi={},Ho,qc;function Qc(){if(qc)return Ho;qc=1;var e="Expected a function",t=NaN,n="[object Symbol]",r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,u=typeof Pn=="object"&&Pn&&Pn.Object===Object&&Pn,c=typeof self=="object"&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),h=Object.prototype,m=h.toString,p=Math.max,g=Math.min,b=function(){return d.Date.now()};function v(E,w,z){var I,k,F,N,B,H,L=0,S=!1,T=!1,G=!0;if(typeof E!="function")throw new TypeError(e);w=M(w)||0,x(z)&&(S=!!z.leading,T="maxWait"in z,F=T?p(M(z.maxWait)||0,w):F,G="trailing"in z?!!z.trailing:G);function O(R){var ue=I,U=k;return I=k=void 0,L=R,N=E.apply(U,ue),N}function _(R){return L=R,B=setTimeout(W,w),S?O(R):N}function A(R){var ue=R-H,U=R-L,J=w-ue;return T?g(J,F-U):J}function $(R){var ue=R-H,U=R-L;return H===void 0||ue>=w||ue<0||T&&U>=F}function W(){var R=b();if($(R))return D(R);B=setTimeout(W,A(R))}function D(R){return B=void 0,G&&I?O(R):(I=k=void 0,N)}function X(){B!==void 0&&clearTimeout(B),L=0,I=H=k=B=void 0}function K(){return B===void 0?N:D(b())}function ae(){var R=b(),ue=$(R);if(I=arguments,k=this,H=R,ue){if(B===void 0)return _(H);if(T)return B=setTimeout(W,w),O(H)}return B===void 0&&(B=setTimeout(W,w)),N}return ae.cancel=X,ae.flush=K,ae}function x(E){var w=typeof E;return!!E&&(w=="object"||w=="function")}function y(E){return!!E&&typeof E=="object"}function C(E){return typeof E=="symbol"||y(E)&&m.call(E)==n}function M(E){if(typeof E=="number")return E;if(C(E))return t;if(x(E)){var w=typeof E.valueOf=="function"?E.valueOf():E;E=x(w)?w+"":w}if(typeof E!="string")return E===0?E:+E;E=E.replace(r,"");var z=a.test(E);return z||o.test(E)?s(E.slice(2),z?2:8):i.test(E)?t:+E}return Ho=v,Ho}var Rc;function O8(){if(Rc)return oi;Rc=1;function e(E){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},e(E)}Object.defineProperty(oi,"__esModule",{value:!0}),oi.DebounceInput=void 0;var t=i(l),n=i(Qc()),r=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function i(E){return E&&E.__esModule?E:{default:E}}function a(E,w){if(E==null)return{};var z=o(E,w),I,k;if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(E);for(k=0;k<F.length;k++)I=F[k],!(w.indexOf(I)>=0)&&Object.prototype.propertyIsEnumerable.call(E,I)&&(z[I]=E[I])}return z}function o(E,w){if(E==null)return{};var z={},I=Object.keys(E),k,F;for(F=0;F<I.length;F++)k=I[F],!(w.indexOf(k)>=0)&&(z[k]=E[k]);return z}function s(E,w){var z=Object.keys(E);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(E);w&&(I=I.filter(function(k){return Object.getOwnPropertyDescriptor(E,k).enumerable})),z.push.apply(z,I)}return z}function u(E){for(var w=1;w<arguments.length;w++){var z=arguments[w]!=null?arguments[w]:{};w%2?s(Object(z),!0).forEach(function(I){C(E,I,z[I])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(z)):s(Object(z)).forEach(function(I){Object.defineProperty(E,I,Object.getOwnPropertyDescriptor(z,I))})}return E}function c(E,w){if(!(E instanceof w))throw new TypeError("Cannot call a class as a function")}function d(E,w){for(var z=0;z<w.length;z++){var I=w[z];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(E,I.key,I)}}function h(E,w,z){return w&&d(E.prototype,w),Object.defineProperty(E,"prototype",{writable:!1}),E}function m(E,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(w&&w.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),Object.defineProperty(E,"prototype",{writable:!1}),w&&p(E,w)}function p(E,w){return p=Object.setPrototypeOf||function(I,k){return I.__proto__=k,I},p(E,w)}function g(E){var w=x();return function(){var I=y(E),k;if(w){var F=y(this).constructor;k=Reflect.construct(I,arguments,F)}else k=I.apply(this,arguments);return b(this,k)}}function b(E,w){if(w&&(e(w)==="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(E)}function v(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function x(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function y(E){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(z){return z.__proto__||Object.getPrototypeOf(z)},y(E)}function C(E,w,z){return w in E?Object.defineProperty(E,w,{value:z,enumerable:!0,configurable:!0,writable:!0}):E[w]=z,E}var M=function(E){m(z,E);var w=g(z);function z(I){var k;c(this,z),k=w.call(this,I),C(v(k),"onChange",function(N){N.persist();var B=k.state.value,H=k.props.minLength;k.setState({value:N.target.value},function(){var L=k.state.value;if(L.length>=H){k.notify(N);return}B.length>L.length&&k.notify(u(u({},N),{},{target:u(u({},N.target),{},{value:""})}))})}),C(v(k),"onKeyDown",function(N){N.key==="Enter"&&k.forceNotify(N);var B=k.props.onKeyDown;B&&(N.persist(),B(N))}),C(v(k),"onBlur",function(N){k.forceNotify(N);var B=k.props.onBlur;B&&(N.persist(),B(N))}),C(v(k),"createNotifier",function(N){if(N<0)k.notify=function(){return null};else if(N===0)k.notify=k.doNotify;else{var B=(0,n.default)(function(H){k.isDebouncing=!1,k.doNotify(H)},N);k.notify=function(H){k.isDebouncing=!0,B(H)},k.flush=function(){return B.flush()},k.cancel=function(){k.isDebouncing=!1,B.cancel()}}}),C(v(k),"doNotify",function(){var N=k.props.onChange;N.apply(void 0,arguments)}),C(v(k),"forceNotify",function(N){var B=k.props.debounceTimeout;if(!(!k.isDebouncing&&B>0)){k.cancel&&k.cancel();var H=k.state.value,L=k.props.minLength;H.length>=L?k.doNotify(N):k.doNotify(u(u({},N),{},{target:u(u({},N.target),{},{value:H})}))}}),k.isDebouncing=!1,k.state={value:typeof I.value>"u"||I.value===null?"":I.value};var F=k.props.debounceTimeout;return k.createNotifier(F),k}return h(z,[{key:"componentDidUpdate",value:function(k){if(!this.isDebouncing){var F=this.props,N=F.value,B=F.debounceTimeout,H=k.debounceTimeout,L=k.value,S=this.state.value;typeof N<"u"&&L!==N&&S!==N&&this.setState({value:N}),B!==H&&this.createNotifier(B)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var k=this.props,F=k.element;k.onChange,k.value,k.minLength,k.debounceTimeout;var N=k.forceNotifyByEnter,B=k.forceNotifyOnBlur,H=k.onKeyDown,L=k.onBlur,S=k.inputRef,T=a(k,r),G=this.state.value,O;N?O={onKeyDown:this.onKeyDown}:H?O={onKeyDown:H}:O={};var _;B?_={onBlur:this.onBlur}:L?_={onBlur:L}:_={};var A=S?{ref:S}:{};return t.default.createElement(F,u(u(u(u({},T),{},{onChange:this.onChange,value:G},O),_),A))}}]),z}(t.default.PureComponent);return oi.DebounceInput=M,C(M,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0}),oi}var jo,e0;function V8(){if(e0)return jo;e0=1;var e=O8(),t=e.DebounceInput;return t.DebounceInput=t,jo=t,jo}var t0=V8();const n0=({classValue:e,size:t=24,fill:n="currentColor",...r})=>f.jsxs("svg",{className:Y(e),width:t,height:t,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:[f.jsx("rect",{width:"12",height:"12",rx:"6",fill:n}),f.jsx("g",{clipPath:"url(#clip0_8212_362816)",children:f.jsx("path",{d:"M8.10023 3.90357C7.97023 3.77357 7.76023 3.77357 7.63023 3.90357L6.00023 5.53023L4.37023 3.90023C4.24023 3.77023 4.03023 3.77023 3.90023 3.90023C3.77023 4.03023 3.77023 4.24023 3.90023 4.37023L5.53023 6.00023L3.90023 7.63023C3.77023 7.76023 3.77023 7.97023 3.90023 8.10023C4.03023 8.23023 4.24023 8.23023 4.37023 8.10023L6.00023 6.47023L7.63023 8.10023C7.76023 8.23023 7.97023 8.23023 8.10023 8.10023C8.23023 7.97023 8.23023 7.76023 8.10023 7.63023L6.47023 6.00023L8.10023 4.37023C8.2269 4.24357 8.2269 4.03023 8.10023 3.90357Z",fill:"#98A2B3"})}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_8212_362816",children:f.jsx("rect",{width:"8",height:"8",fill:"white",transform:"translate(2 2)"})})})]});n0.displayName="CloseRounded";const r0=({width:e=15,height:t=15,fill:n="#98A2B3",className:r})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.toString(),height:t.toString(),viewBox:"0 0 20 20",fill:"none",className:r,children:f.jsx("path",{d:"M17.5 17.5L12.5001 12.5M14.1667 8.33333C14.1667 11.555 11.555 14.1667 8.33333 14.1667C5.11167 14.1667 2.5 11.555 2.5 8.33333C2.5 5.11167 5.11167 2.5 8.33333 2.5C11.555 2.5 14.1667 5.11167 14.1667 8.33333Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),i0=e=>{const{value:t,placeholder:n,onChange:r,id:i,debounceTimeout:a=0,classValues:o,handleKeyDown:s,isClearable:u,onFocusText:c,autoComplete:d="false",searchRef:h,hasNavigation:m=!1,autoFocus:p=!1,searchConfig:g,hideSearchIcon:b,allowAStarSearch:v=!1,isDark:x=!1,...y}=e,{t:C}=tn(),[M,E]=l.useState(!1),[w,z]=l.useState("search"),I=l.useRef(null),{searchCount:k,searchPointer:F,setSearchPointer:N}=g||{},B=()=>{E(!0),z(c||n||C("Search"));const L=h||I;L.current&&L.current.focus()},H=()=>{E(!1),z("")};return f.jsxs("label",{className:Y(`relative flex items-center justify-start px-4 py-[9px] w-full ${x?"bg-neutral-900":"bg-white"} dark:bg-black-700 rounded-lg text-neutral-400 h-8`,o),children:[!b&&f.jsx("div",{className:"flex items-center h-6 w-6 pointer-events-none",children:f.jsx(r0,{width:"16",height:"16"})}),f.jsx(t0.DebounceInput,{...y,spellCheck:"false",debounceTimeout:a,id:i,inputRef:h||I,type:"text",className:Y(`absolute inset-0 ${b?"pl-2":"pl-10"} pl-10 pr-7 w-full text-sm ${x?"text-[#98A2B3]":"text-neutral-900"} dark:text-white bg-transparent rounded-lg focus:outline-none focus:!ring-primary-500 focus:!border-primary-500`,"border border-solid",x?"border-neutral-800":"border-neutral-200","dark:caret-white",o),onKeyDown:L=>{L.key==="Enter"&&L.preventDefault(),s&&s(L)},value:t||"",placeholder:M?w:v?"":`${C("Search")}`,onChange:L=>r?.(L.target.value),autoComplete:d,onFocus:L=>{E(!0),B(),e.onFocus&&e.onFocus(L)},onBlur:L=>{E(!1),H(),e.onBlur&&e.onBlur(L)},autoFocus:p}),m&&t&&f.jsxs("div",{className:Y("absolute mr-2 focus:outline-none flex gap-1",u?"right-6":"right-0"),children:[!!k&&(k||0)>0&&f.jsxs("span",{className:"text-xs border-r pr-2 border-gray-200",children:[(F||0)+1,"/",k]}),f.jsxs("div",{className:"flex gap-1 items-center",children:[f.jsx("button",{id:"btn-search-bar-set-search-pointer-forward",onClick:()=>{N&&N(L=>(L||0)-1)},disabled:F===0,children:f.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M15 18l-6-6 6-6",stroke:"#98A2B3",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),f.jsx("button",{id:"btn-search-bar-set-search-pointer-backward",onClick:()=>{N&&N(L=>(L||0)+1)},disabled:F===(k||0)-1,children:f.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M9 18l6-6-6-6",stroke:"#98A2B3",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}),v&&!(u&&t)&&!M&&!t?f.jsxs("div",{className:"absolute flex ml-6 items-center justify-center focus:outline-none gap-1 flex-wrap-none",children:[f.jsxs(se,{className:"text-[#98A2B3] dark:text-black-400 font-inter text-sm font-medium leading-5",children:[C("Search")," (use"]}),f.jsx("button",{className:" bg-[#EAECF0] dark:bg-black-800 rounded-sm text-sm w-3 h-5",children:f.jsx("div",{className:"text-[#475467] dark:text-black-300 dark:bg-black-600",children:"*"})}),f.jsx(se,{className:"text-[#98A2B3] dark:text-black-400 font-inter text-sm font-medium leading-5",children:"as a wildcard)"})]}):u&&t&&f.jsx("button",{id:"btn-search-bar-close",className:"absolute right-0 mr-2 focus:outline-none",onClick:()=>r?.(""),children:f.jsx(n0,{classValue:"text-neutral-200 dark:text-black-500",size:16})})]})};var yr=(e=>(e.LEFT="left",e.RIGHT="right",e.TOP="top",e))(yr||{});const G8=(e,t,n,r="medium")=>{const i={small:"w-7 h-4 after:h-3 after:w-3 after:top-0.5 after:left-0.5",medium:"w-9 h-5 after:h-4 after:w-4 after:top-0.5 after:left-0.5",large:"w-11 h-6 after:h-5 after:w-5 after:top-0.5 after:left-0.5"},a={small:"peer-checked:after:translate-x-3",medium:"peer-checked:after:translate-x-full",large:"peer-checked:after:translate-x-5"};return Y("p-0.5 rounded-full peer after:content-[''] after:absolute after:rounded-full after:transition-all bg-gray-200 dark:bg-black-400",i[r],a[r],{"peer-checked:bg-primary-600 dark:peer-checked:bg-primary-700 peer-checked:after:translate-x-full after:bg-white dark:after:bg-primary-500":e,"after:bg-white dark:after:bg-black-500":!e,"text-white dark:text-black-900":t,"cursor-not-allowed opacity-70":n})},_8=({size:e=18,fill:t="#016DCF"})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z",fill:t})}),$8=({size:e=18,fill:t="#101828"})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z",fill:t})}),Po=l.forwardRef(({isGTN:e=!1,isChecked:t,id:n,onChange:r,label:i,required:a,isRequiredConditional:o=!1,originalCase:s=!1,hideStatus:u=!1,labelDirection:c=yr.TOP,statusText:d,withIcon:h=!1,tags:m,isAiExtracted:p=!1,tooltip:g="",className:b="",isDisabled:v=!1,icon:x,stopClickPropagation:y=!0,gtnName:C,variant:M="primary",labelClassName:E,isLiveField:w=!1,message:z,messageType:I="default",wrapperClassName:k,helpText:F,size:N="medium",renderAiExtractedIndicator:B,renderLabels:H,renderRequired:L,renderTooltip:S,renderLiveFieldIcon:T,renderGTNAddButton:G,onAddGTNToDocument:O,AddToDocumentIcon:_},A)=>{const{t:$}=tn(),W=c===yr.TOP,D=c===yr.LEFT,X=c===yr.RIGHT,[K,ae]=l.useState(!1),R=()=>{O&&O({key:C,value:t?"Yes":"No"})},ue=()=>I==="error"?"text-red-500 dark:text-red-400":I==="success"?"text-green-500 dark:text-green-400":I==="info"?"text-primary-500 dark:text-primary-400":"text-neutral-500 dark:text-neutral-400",U=J=>f.jsx("span",{className:`ml-0.5 ${J?"text-yellow-500":"text-red-500"}`,children:"*"});return f.jsxs("div",{className:Y("flex gap-0.5",K&&e?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",k),onMouseEnter:()=>ae(!0),onMouseLeave:()=>ae(!1),onClick:J=>{y&&J.stopPropagation()},children:[e&&!K?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-pulse mt-1.5"}):null,f.jsxs("div",{className:"w-full flex flex-col",children:[W&&i&&f.jsxs("div",{className:"w-full flex justify-between flex-wrap",children:[f.jsxs("h1",{className:Y("mb-1 font-inter text-neutral-600 font-medium text-xs flex items-center gap-0.5 flex-wrap",E),children:[f.jsxs(se,{size:"extra-small",variant:"medium",className:s?"":"capitalize",appearance:"subtitle",children:[i,a&&(L?L(o):U(o))]}),w&&f.jsx(Ue.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),p&&f.jsx(ln,{}),f.jsx(St,{labels:m||[]}),g&&f.jsx(et,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),e&&K?G?G(R):f.jsx("button",{id:"btn-toggle-add-to-document",className:"cursor-pointer",onClick:R,type:"button",children:f.jsx(Be.Tooltip,{placement:"top",title:$("Add to document"),children:f.jsx(Ue.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]}),F&&f.jsx(se,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:F}),f.jsxs("div",{className:"flex",children:[D&&f.jsx(se,{size:"small",variant:"medium",className:Y("mr-2 text-neutral-700 dark:text-black-200",E),appearance:"custom",children:i}),f.jsxs("label",{className:Y("relative inline-flex items-center",X||d?"":"w-min",v?"cursor-not-allowed opacity-50":"cursor-pointer"),onClick:J=>J.stopPropagation(),children:[f.jsx("input",{ref:A,type:"checkbox",id:n,onChange:J=>!v&&r(J.target.checked),value:"",disabled:v,checked:t,className:Y("sr-only peer w-full",b),"aria-required":a,"aria-invalid":z&&I==="error"?"true":"false","aria-describedby":z||F?`${n}-description`:void 0}),f.jsx("div",{className:G8(t,h,v,N),children:h?f.jsx("div",{className:"flex items-center justify-center h-full",children:f.jsx("div",{className:Y("z-10 transition-all transform",N==="small"&&(t?"translate-x-2":"translate-x-[-6px]"),N==="medium"&&(t?"translate-x-[8.5px]":"translate-x-[-8px]"),N==="large"&&(t?"translate-x-2.5":"translate-x-[-10px]")),children:t?x?.checkedIcon?x.checkedIcon:f.jsx(_8,{size:18,fill:"#016DCF"}):x?.uncheckedIcon?x.uncheckedIcon:f.jsx($8,{size:18,fill:"#101828"})})}):null}),X&&f.jsx(se,{size:"small",variant:"medium",className:Y("ml-2 text-neutral-700 dark:text-black-300",E),appearance:"custom",children:i}),u?null:f.jsx(se,{size:"small",variant:"medium",className:"ml-2 text-neutral-900 dark:text-black-100",appearance:"custom",children:d||(t?"Yes":"No")})]})]}),f.jsx(We.AnimatePresence,{children:z&&f.jsx(We.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${n}-description`,role:I==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",ue()),appearance:"custom",size:"extra-small",variant:"medium",children:z})})}),F&&!z&&f.jsx("div",{id:`${n}-description`,className:"sr-only",children:F})]})]})});Po.displayName="Toggle";const l0=e=>{try{return JSON.parse(e)}catch{return null}},W8=e=>{let t="";const n="0123456789abcdef";for(let r=0;r<e;r++)t+=n.charAt(Math.floor(Math.random()*n.length));return t},U8=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),X8=e=>{const t=[...e].sort((r,i)=>r.length-i.length),n=[];for(const r of t)n.some(a=>r!==a&&r.startsWith(a+"."))||n.push(r);return n},Z8=({fill:e="var(--color-primary-600)"})=>f.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M7.50008 13.4751L4.02508 10.0001L2.84175 11.1751L7.50008 15.8334L17.5001 5.83342L16.3251 4.65842L7.50008 13.4751Z",fill:e})}),Fl=({id:e,onClick:t,icon:n,text:r,className:i,isDisabled:a,onClose:o,notVisible:s,hideHoverEffect:u,leadingIcon:c,suffixRecord:d,stopPropagation:h,onToggle:m,isChecked:p=!1,highlight:g,truncateText:b=!1,showTick:v=!1,width:x="100%",tooltip:y,isFlowAvailable:C=!0})=>{const M=l.useCallback(k=>{o&&o(),k.preventDefault(),t?.(k),h&&k.stopPropagation()},[o,t,h]),E=(k,F)=>{if(!F||!k||typeof k!="string"&&typeof k!="number")return k;const N=U8(F),B=new RegExp(`(${N?.trim()})`,"gi"),H=k?.toString()?.split(B);return f.jsxs("span",{className:"overflow-clip text-ellipsis",children:[H[0],f.jsx("span",{className:"bg-yellow-300 dark:bg-primary-100 dark:text-black-900 rounded-sm",children:H[1]}),H?.slice(2)?.join("")]})},w=l.useCallback(k=>{m?.(),k.stopPropagation()},[m]),z=["delete","remove","clear","terminate session","terminate sessions","terminate all sessions"].some(F=>r?.toLowerCase().includes(F)),I=a||!C;return s?null:f.jsx("button",{id:e,className:Y("w-full p-1 bg-white dark:bg-black-800 group",i,I&&"opacity-60"),onClick:m?()=>null:M,disabled:I,onMouseMove:k=>k.stopPropagation(),children:f.jsxs("div",{className:Y("flex w-full justify-start items-center gap-2 px-2 py-1 rounded-lg transition-all duration-300 ease-in-out",!u&&"hover:bg-gray-50 dark:hover:bg-black-600 hover:shadow-md dark:hover:shadow-lg dark:hover:shadow-primary-500/20"),children:[n?f.jsx("div",{className:Y("h-5 w-5 flex-shrink-0 flex items-center text-neutral-900 dark:text-white transition-colors duration-300 ease-in-out",z?"group-hover:!text-red-600":"group-hover:text-primary-600 dark:group-hover:text-primary-400"),children:f.jsx(et,{placement:"top",title:y,children:n})}):null,f.jsxs("div",{className:"flex gap-2 flex-1 min-w-0 text-left justify-between items-center",children:[f.jsx("div",{className:Y("flex-1 min-w-0",b&&"max-w-[150px]"),style:{width:x},children:f.jsx(se,{className:Y("font-medium text-sm truncate transition-colors duration-300 ease-in-out",z?"group-hover:!text-red-600":"group-hover:!text-primary-600 dark:group-hover:!text-primary-400"),appearance:"custom",children:g?E(r,g):r})}),d?.[r]?f.jsx("span",{className:"flex-shrink-0 text-neutral-500 dark:text-neutral-200 bg-neutral-100 dark:bg-black-700 border-[#D0D5DD] dark:border-black-700 text-xs leading-[18px] font-normal border rounded-full px-2 py-0.5",children:d[r]||""}):null,v?f.jsx("div",{className:"flex-shrink-0",children:f.jsx(Z8,{fill:"var(--color-primary-600)"})}):null]}),c?f.jsx(f.Fragment,{children:y?f.jsx(et,{placement:"top",title:y,children:f.jsx("div",{className:Y("flex-shrink-0 transition-colors duration-300 ease-in-out",z?"group-hover:!text-red-600":"group-hover:text-primary-600 dark:group-hover:text-primary-400"),children:c})}):f.jsx("div",{className:Y("flex-shrink-0 transition-colors duration-300 ease-in-out",z?"group-hover:!text-red-600":"group-hover:text-primary-600 dark:group-hover:text-primary-400"),children:c})}):null,m?f.jsx("div",{className:"flex-shrink-0",children:f.jsx(Po,{onChange:w,isChecked:p,isDisabled:a,hideStatus:!0})}):null]})})};Fl.displayName="OptionButton";var Y8=["title"],J8=["title"],K8=["title"],q8=["title"],Q8=["title"],R8=["title"],eb=["title"],tb=["title"],nb=["title"],rb=["title"],ib=["title"],lb=["title"],ab=["title"],ob=["title"],sb=["title"],ub=["title"],cb=["title"],db=["title"],fb=["title"],hb=["title"],mb=["title"],pb=["title"],gb=["title"],vb=["title"],bb=["title"],xb=["title"],wb=["title"],yb=["title"],Eb=["title"],Cb=["title"],kb=["title"],Ib=["title"],zb=["title"],Fb=["title"],Mb=["title"],Sb=["title"],Ab=["title"],Nb=["title"],Db=["title"],Lb=["title"],Tb=["title"],Bb=["title"],Hb=["title"],jb=["title"],Pb=["title"],Ob=["title"],Vb=["title"],Gb=["title"],_b=["title"],$b=["title"],Wb=["title"],Ub=["title"],Xb=["title"],Zb=["title"],Yb=["title"],Jb=["title"],Kb=["title"],qb=["title"],Qb=["title"],Rb=["title"],ex=["title"],tx=["title"],nx=["title"],rx=["title"],ix=["title"],lx=["title"],ax=["title"],ox=["title"],sx=["title"],ux=["title"],cx=["title"],dx=["title"],fx=["title"],hx=["title"],mx=["title"],px=["title"],gx=["title"],vx=["title"],bx=["title"],xx=["title"],wx=["title"],yx=["title"],Ex=["title"],Cx=["title"],kx=["title"],Ix=["title"],zx=["title"],Fx=["title"],Mx=["title"],Sx=["title"],Ax=["title"],Nx=["title"],Dx=["title"],Lx=["title"],Tx=["title"],Bx=["title"],Hx=["title"],jx=["title"],Px=["title"],Ox=["title"],Vx=["title"],Gx=["title"],_x=["title"],$x=["title"],Wx=["title"],Ux=["title"],Xx=["title"],Zx=["title"],Yx=["title"],Jx=["title"],Kx=["title"],qx=["title"],Qx=["title"],Rx=["title"],ew=["title"],tw=["title"],nw=["title"],rw=["title"],iw=["title"],lw=["title"],aw=["title"],ow=["title"],sw=["title"],uw=["title"],cw=["title"],dw=["title"],fw=["title"],hw=["title"],mw=["title"],pw=["title"],gw=["title"],vw=["title"],bw=["title"],xw=["title"],ww=["title"],yw=["title"],Ew=["title"],Cw=["title"],kw=["title"],Iw=["title"],zw=["title"],Fw=["title"],Mw=["title"],Sw=["title"],Aw=["title"],Nw=["title"],Dw=["title"],Lw=["title"],Tw=["title"],Bw=["title"],Hw=["title"],jw=["title"],Pw=["title"],Ow=["title"],Vw=["title"],Gw=["title"],_w=["title"],$w=["title"],Ww=["title"],Uw=["title"],Xw=["title"],Zw=["title"],Yw=["title"],Jw=["title"],Kw=["title"],qw=["title"],Qw=["title"],Rw=["title"],ey=["title"],ty=["title"],ny=["title"],ry=["title"],iy=["title"],ly=["title"],ay=["title"],oy=["title"],sy=["title"],uy=["title"],cy=["title"],dy=["title"],fy=["title"],hy=["title"],my=["title"],py=["title"],gy=["title"],vy=["title"],by=["title"],xy=["title"],wy=["title"],yy=["title"],Ey=["title"],Cy=["title"],ky=["title"],Iy=["title"],zy=["title"],Fy=["title"],My=["title"],Sy=["title"],Ay=["title"],Ny=["title"],Dy=["title"],Ly=["title"],Ty=["title"],By=["title"],Hy=["title"],jy=["title"],Py=["title"],Oy=["title"],Vy=["title"],Gy=["title"],_y=["title"],$y=["title"],Wy=["title"],Uy=["title"],Xy=["title"],Zy=["title"],Yy=["title"],Jy=["title"],Ky=["title"],qy=["title"],Qy=["title"],Ry=["title"],eE=["title"],tE=["title"],nE=["title"],rE=["title"],iE=["title"],lE=["title"],aE=["title"],oE=["title"],sE=["title"],uE=["title"],cE=["title"],dE=["title"],fE=["title"],hE=["title"],mE=["title"],pE=["title"],gE=["title"],vE=["title"],bE=["title"],xE=["title"],wE=["title"],yE=["title"],EE=["title"],CE=["title"],kE=["title"],IE=["title"],zE=["title"],FE=["title"],ME=["title"],SE=["title"],AE=["title"],NE=["title"];function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}function P(e,t){if(e==null)return{};var n=DE(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function DE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var a0=function(t){var n=t.title,r=P(t,Y8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"}),l.createElement("path",{fill:"#29DBFF",d:"M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"}),l.createElement("path",{fill:"#FFF",d:"M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"}),l.createElement("path",{fill:"#29DBFF",d:"M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"}),l.createElement("path",{fill:"#FFF",d:"M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"}),l.createElement("path",{fill:"#29DBFF",d:"M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"}),l.createElement("path",{fill:"#5CC85C",d:"M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"}),l.createElement("ellipse",{transform:"rotate(-82.3 291.431 225.686)",fill:"#F7A226",cx:291.4,cy:225.7,rx:48.7,ry:15.7}),l.createElement("ellipse",{transform:"rotate(-68.099 303.087 164.67)",fill:"#DDC7AB",cx:303.1,cy:164.7,rx:11.7,ry:7.2}),l.createElement("ellipse",{transform:"rotate(-81.738 291.697 271.697)",fill:"#DDC7AB",cx:291.7,cy:271.7,rx:11.4,ry:3.3}),l.createElement("ellipse",{transform:"matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)",fill:"#DDC7AB",cx:299.6,cy:269.4,rx:3.3,ry:11}),l.createElement("ellipse",{transform:"rotate(-21.518 314.54 201.06)",fill:"#DDC7AB",cx:314.5,cy:201.1,rx:4.1,ry:13.7}),l.createElement("ellipse",{transform:"rotate(-21.518 317.511 178.077)",fill:"#DDC7AB",cx:317.5,cy:178.1,rx:13.7,ry:4.1}),l.createElement("ellipse",{transform:"rotate(-7.7 473.781 225.857)",fill:"#F7A226",cx:473.6,cy:225.9,rx:15.7,ry:48.7}),l.createElement("ellipse",{transform:"rotate(-21.901 462.057 164.866)",fill:"#DDC7AB",cx:462,cy:164.9,rx:7.2,ry:11.7}),l.createElement("ellipse",{transform:"rotate(-8.27 473.27 271.908)",fill:"#DDC7AB",cx:473.4,cy:271.9,rx:3.3,ry:11.4}),l.createElement("ellipse",{transform:"matrix(.05353 -.9986 .9986 .05353 171.34 719.998)",fill:"#DDC7AB",cx:465.5,cy:269.6,rx:11,ry:3.3}),l.createElement("ellipse",{transform:"rotate(-68.482 450.552 201.247)",fill:"#DDC7AB",cx:450.6,cy:201.2,rx:13.7,ry:4.1}),l.createElement("ellipse",{transform:"rotate(-68.482 447.58 178.265)",fill:"#DDC7AB",cx:447.6,cy:178.3,rx:4.1,ry:13.7}),l.createElement("path",{fill:"#B0C6CC",d:"M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{fill:"#D80027",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}))},o0=function(t){var n=t.title,r=P(t,J8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"}),l.createElement("path",{d:"M267.6 113.6v64.7m16.6-64.7v64.7m16.6-64.7v64.7",stroke:"#D80027",strokeWidth:7}),l.createElement("path",{d:"M247.4 178.4v64.7m-13.3-64.7v64.7m-13.3-64.6v53.9m-13.7-53.9v47.1",stroke:"#D80027",strokeWidth:5}),l.createElement("path",{fill:"#FFDA44",d:"m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"}),l.createElement("path",{fill:"#BC8B00",d:"M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"}),l.createElement("path",{fill:"#D80027",d:"M264.4 188.9h29.5v8.6h-29.5zm0 17.6h29.5v8.6h-29.5z"}))},s0=function(t){var n=t.title,r=P(t,K8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"51.3 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#009e49",d:"M0 0h513v114H0z"}),l.createElement("path",{d:"M0 228h513v114H0z"}),l.createElement("path",{fill:"#ce1126",d:"M0 0h171v342H0z"}))},u0=function(t){var n=t.title,r=P(t,q8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#DB3E00",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#479900",d:"M331 0h182v342H331z"}),l.createElement("path",{d:"M0 0h181.8v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"}),l.createElement("path",{fill:"#FFF",d:"M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"}))},c0=function(t){var n=t.title,r=P(t,Q8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0072c6",d:"M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8"}),l.createElement("path",{fill:"#FFF",d:"M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z"}),l.createElement("path",{fill:"#FFDA44",d:"M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z"}),l.createElement("g",{fill:"#ce1126"},l.createElement("path",{d:"M256.5 342 0 0v342z"}),l.createElement("path",{d:"M513 342V0L256 342z"})))},d0=function(t){var n=t.title,r=P(t,R8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#00318b",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 0 1-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z"}),l.createElement("path",{fill:"#8DCCFF",d:"M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z"}),l.createElement("path",{fill:"#D87B00",d:"M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z"}),l.createElement("path",{fill:"#D87B00",d:"M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z"}),l.createElement("path",{fill:"#D87B00",d:"M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z"}),l.createElement("path",{fill:"#FFF",d:"M256.5 0h-23.1L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1V171h22.6L96 121.8V171h64v-49.2l73.4 49.2h23.1v-22.9l-46.6-30.7h46.6v-64h-46.6l46.6-30.7z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112V171h32v-69.6h112.5v-32H144z"}),l.createElement("path",{fill:"#D80027",d:"M0 171v-11.3l62.5-42.3h22.6L7.3 171zM7.3.1l77.8 53.2H62.5L0 11.1V.1zm249.2 0v11l-63 42.3h-22.6L248.7.1zM248.7 171l-77.8-53.6h22.6l63 42.3V171z"}))},f0=function(t){var n=t.title,r=P(t,eb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15 0 60 60"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ED2024",d:"M0 0h90v60H0z"}),l.createElement("path",{fill:"#212121",d:"M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"}),l.createElement("path",{d:"M26.2 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM57.4 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM53.4 36.1h6.4V38h-6.4zm-23.2 0h6.4V38h-6.4z",fill:"#212121"}))},h0=function(t){var n=t.title,r=P(t,tb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#FF9811",d:"M0 228h513v114H0z"}))},m0=function(t){var n=t.title,r=P(t,nb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"100.89 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 171h513v171H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v171H0z"}),l.createElement("g",{fill:"#FFDA44"},l.createElement("path",{d:"m332.7 135.6 17.5-8.6-7.4-19-18.7 6.2zm-45.6-56 5.5-18.8-19.1-7.2-8 18zm29.4 23.2 12.2-15.3-14.9-13.9-14.2 13.6zm19.4 68.9 19.5-.8v-21.3l-22.9.2zm-12.6 38.1 18.8 5.5 7.3-19-18-8zm-29 32.4 14.9 12.7 14.4-14.4-13.1-14.7zm-47-147.7 9.8 19.9 21.9 3.3-15.9 15.5 3.6 21.9-19.6-10.4-19.7 10.2 3.8-21.9-15.8-15.5 22-3.1z"}),l.createElement("path",{d:"m250.8 61.3-2.7 18.3c43.1 3.2 77 39.2 77 83.1 0 46-37.3 82.9-83.4 83.4-29.2.3-51.3-14.8-67-33.7l-13.9 12.3c15 19 40.8 39.9 80.9 39.9 56.3 0 101.9-45.6 101.9-101.9.1-53.2-40.7-96.9-92.8-101.4z"}),l.createElement("path",{fill:"#000",d:"m291.9 223.4-11.8 14s51.9 38.9 53.6 40.4c1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-2-1.5-51.8-42-51.8-42z"}),l.createElement("path",{d:"M206.1 157.2c-7.7 10.3-7.5 23.1 2.8 30.9 0 0 135.2 101.5 136.9 103 1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-1.9-1.5-149.7-121.5-149.7-121.5zm47.7 99.1 7.3 18.2 19.5-6-4.8-19.1zm-40.4-3.7-2 19.5 20.1 3.6 4.5-19.1zm-35.7-21.2L167.4 248l16.4 12.1 12.5-15.2z"})))},p0=function(t){var n=t.title,r=P(t,rb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"124 0 496 496"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#3A7DCE",d:"M0 0h744v496H0V0z"}),l.createElement("path",{fill:"#fff",d:"m120 125 90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-46-49-62z"}))},g0=function(t){var n=t.title,r=P(t,ib);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 0h512v114H0zm0 228h512v114H0z"}),l.createElement("circle",{fill:"#FFDA44",stroke:"#d6ab00",strokeWidth:5,cx:256.5,cy:171,r:40}))},v0=function(t){var n=t.title,r=P(t,lb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"171 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#10338c",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M513 33 95.3 171 513 310.76V342L0 171 513 0z"}),l.createElement("path",{fill:"#FFF",d:"M513 287.18v24.58L81.72 171 513 30v24.16"}),l.createElement("path",{fill:"#A2001D",d:"m476.98 140.21-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z"}),l.createElement("path",{fill:"#EFC100",stroke:"#231F20",strokeMiterlimit:10,d:"m317.89 238.41-22.24-11.11 22.24-11.11h144.46v22.22z"}))},b0=function(t){var n=t.title,r=P(t,ab);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0zm0 228h513v114H0z"}))},x0=function(t){var n=t.title,r=P(t,ob);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#10338c",d:"M0 0h513v342H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M222.2 170.7c.3-.3.5-.6.8-.9-.2.3-.5.6-.8.9zM188 212.6l11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm42.5 49.7 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z"}),l.createElement("path",{d:"M254.8 0v30.6l-45.1 25.1h45.1V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9H99v-48.6l-87.4 48.6H-1.2v-30.6L44 115H-1.2V55.7h59.1L-1.2 22.8V0h26.7L99 40.8V0h55.6v48.6L242.1 0z"})),l.createElement("path",{fill:"#D80027",d:"M142.8 0h-32v69.3h-112v32h112v69.4h32v-69.4h112v-32h-112z"}),l.createElement("path",{fill:"#0052B4",d:"m154.6 115 100.2 55.7v-15.8L183 115z"}),l.createElement("path",{fill:"#FFF",d:"m154.6 115 100.2 55.7v-15.8L183 115z"}),l.createElement("path",{d:"m154.6 115 100.2 55.7v-15.8L183 115zm-83.9 0-71.9 39.9v15.8L99 115z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M99 55.7-1.2 0v15.7l71.9 40z"}),l.createElement("path",{fill:"#FFF",d:"M99 55.7-1.2 0v15.7l71.9 40z"}),l.createElement("path",{d:"M99 55.7-1.2 0v15.7l71.9 40zm84 0 71.8-40V0L154.6 55.7z",fill:"#D80027"}))},w0=function(t){var n=t.title,r=P(t,sb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 242 242"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 0h363v242H0z"}),l.createElement("path",{fill:"#FFF",d:"M57 96.9 14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z"}),l.createElement("path",{fill:"#f30028",d:"m75.6 40.6 11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z"}),l.createElement("path",{d:"M0 152.2h363v15.7H0zm0 31.4h363v15.7H0z",fill:"#FFDA44"}))},y0=function(t){var n=t.title,r=P(t,ub);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"39.33 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M513 210.9H202.2V342h-79.8V210.9H0v-79.8h122.4V0h79.8v131.1H513v61.2z"}),l.createElement("path",{fill:"#D80027",d:"M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"}))},E0=function(t){var n=t.title,r=P(t,cb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ef3340",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00b5e2",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#509e2f",d:"M0 228h513v114H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z"}),l.createElement("path",{d:"m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"})))},C0=function(t){var n=t.title,r=P(t,db);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#10338C",d:"M0 0h513.1v342H0z"}),l.createElement("path",{fill:"#F6C500",d:"M99.9 0h342v342"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M19.9 21.1 40.3 6.2 60.9 21 54 0H26.7z"}),l.createElement("path",{d:"M92.3 25.5 84.4 1.3l-7.8 24.2H51.3l20.5 14.8-7.8 24 20.4-14.8L105 64.3l-7.9-24 20.5-14.9z"}),l.createElement("path",{d:"m136.3 69.2-7.8-24-7.8 24H95.5l20.4 14.9-7.8 24 20.4-14.8 20.6 14.8-7.8-24 20.4-14.9z"}),l.createElement("path",{d:"m179.4 112.3-7.8-24.1-7.8 24.1h-25.3l20.5 14.9-7.8 24 20.4-14.8 20.6 14.8-7.9-24 20.5-15z"}),l.createElement("path",{d:"m222.5 155.3-7.8-24-7.8 24h-25.4l20.6 15-7.8 24 20.4-14.9 20.4 14.9-7.8-24 20.6-15z"}),l.createElement("path",{d:"m265.6 198.4-7.8-24-7.8 24h-25.4l20.6 14.9-7.8 24.1 20.4-14.9 20.4 14.9-7.8-24.2 20.5-14.8z"}),l.createElement("path",{d:"m308.7 241.5-7.9-24-7.8 24h-25.3l20.5 14.8-7.9 24.2 20.6-14.9 20.4 14.8-7.8-24.1 20.5-14.8z"}),l.createElement("path",{d:"m351.7 284.6-7.8-24.2-7.8 24.2h-25.3l20.4 14.8-7.8 24.1 20.5-14.9 20.5 14.9-7.8-24.1 20.4-14.8z"}),l.createElement("path",{d:"m387 303.5-7.9 24.1-25.3.1 19.8 14.3h26.6l19.9-14.4h-25.3z"})))},k0=function(t){var n=t.title,r=P(t,fb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ffc726",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#00267f"}),l.createElement("path",{d:"m325.74 101.02-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z"}))},I0=function(t){var n=t.title,r=P(t,hb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"49.59 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#2d6e41",d:"M0 85.331h513v342H0z"}),l.createElement("circle",{fill:"#F40B32",cx:218.902,cy:256.5,r:115}))},z0=function(t){var n=t.title,r=P(t,mb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#fdda25",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#ef3340",d:"M342 0h171v342H342z"}))},F0=function(t){var n=t.title,r=P(t,pb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#3d944f",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#ef2b2d",d:"M0 0h513v171H0z"}),l.createElement("path",{fill:"#FFDA44",d:"m256 102.6 16.9 52h54.7l-44.2 32.2 16.8 52-44.2-32.1-44.2 32.1 16.8-52-44.2-32.2h54.7z"}))},M0=function(t){var n=t.title,r=P(t,gb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#00966e",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#d62612",d:"M0 228h513v114H0z"}))},S0=function(t){var n=t.title,r=P(t,vb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"61.56 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"m222.8 34.3-85.2 34.2 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.8H0V0h137.6z"}))},A0=function(t){var n=t.title,r=P(t,bb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M215.9 170.7 0 314.6V26.8zM513 26.8v287.8L297.1 170.7z",fill:"#47a644"}),l.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 170.7 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}),l.createElement("path",{fill:"#FFF",d:"M513 26.8 297.1 170.7 513 314.6V342h-40L256 197.4 39 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}),l.createElement("circle",{fill:"#FFF",cx:251.6,cy:170.7,r:100.2}),l.createElement("path",{d:"m251.4 103.6 7.4 12.9h14.8l-7.4 12.8 7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8H244zm38.8 66.7 7.4 12.9h14.8L305 196l7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.9l7.4-12.8-7.4-12.8h14.9zm-77.2 0 7.4 12.9h14.9l-7.4 12.8 7.4 12.8h-14.9l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8h14.8z",fill:"#D80027",stroke:"#47a644",strokeWidth:3}))},N0=function(t){var n=t.title,r=P(t,xb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"58.14 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#008751",d:"M0 85.333h513v342H0z"}),l.createElement("path",{fill:"#fcd116",d:"M196.666 85.333H513v171H196.666z"}),l.createElement("path",{fill:"#e8112d",d:"M196.666 256H513v171H196.666z"}))},D0=function(t){var n=t.title,r=P(t,wb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#E6BC00",d:"M157.31 199.76s-9.04 43.93-19.31 40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52 21.24s38.18 8.48 41.01 5.47c1.22-1.14 8.21-15.1 10.34-26.05v-22.29zm-56.13 60.57s-2.48 20.18-1.06 22.66c1.24 2.3 39.48 11.33 39.48 11.33s-24.96 16.46-29.74 20.54L91.8 284.94l-.71-24.61h10.09zm11.33-165.69s39.65 41.6 40.36 45.5c.71 3.72-4.25 3.19-4.25 3.19s-44.79-37.53-49.92-41.07c-5.31-3.55 13.81-7.62 13.81-7.62z"}),l.createElement("path",{fill:"#ADADAD",d:"M99.41 104.73s16.99-.71 16.64-11.51c-.35-10.62-11.15-14.87-19.12-12.39-7.97 2.3-23.01 13.45-13.63 35.05 9.38 21.42 23.37 29.39 26.2 47.8 0 0-5.46 9.86-19.12.35-16.9-11.77-6.2-38.24-10.44-44.96-4.25-7.08-40.95-38.92-40.95-38.92s-30.24 39.37-18 74.92c16.95 49.21 51.74 31.98 64.61 36.76 0 0-42.13 61.96-49.57 67.09 0 0 24.08 8.32 47.8-18.76 0 0 5.84 9.74 7.08 20.18h10.27c4.78-26.2 51.51-64.26 49.92-82.32-1.77-21.25-49.21-49.39-51.69-73.29z"}),l.createElement("path",{fill:"#E6BC00",d:"M359.17 201.27s8.96 42.43 19.23 38.89c10.62-3.54 17.53-18.76 17.53-18.76l14.52 21.24s-37 8.48-39.83 5.47c-1.21-1.14-9.32-13.79-11.52-24.66l.07-22.18zm56.05 59.06s2.48 20.18 1.06 22.66c-1.24 2.3-39.48 11.33-39.48 11.33s24.96 16.46 29.74 20.54l18.06-29.92.71-24.61h-10.09zM403.89 94.64s-39.65 41.6-40.36 45.5c-.71 3.72 4.25 3.19 4.25 3.19s44.79-37.53 49.92-41.07c5.14-3.55-13.81-7.62-13.81-7.62z"}),l.createElement("path",{fill:"#125ECC",d:"M157.31 87.06H359.1v145.46c0 16.06-9.69 21.39-21.91 31.85l-45.92 39.41c-18.25 15.62-47.91 15.57-66.07 0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V87.06z"}),l.createElement("path",{fill:"#FFE600",d:"M200.55 147.71c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65-3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zM214.96 274.43c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c.01 7.96-6.45 14.41-14.41 14.41zm43.24 14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c0 7.95-6.45 14.41-14.41 14.41zm43.24-14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"}),l.createElement("path",{fill:"#D60537",d:"M157.31 175.36H359.1v57.65H157.31v-57.65z"}),l.createElement("path",{fill:"#EACE00",d:"M142.9 43.82s57.65-14.41 115.31-14.41 115.31 14.41 115.31 14.41l-14.41 57.65s-50.45-14.41-100.89-14.41-100.89 14.41-100.89 14.41L142.9 43.82z"}),l.createElement("path",{fill:"#7A6920",d:"M258.2 72.65c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 5c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm-115.3 0c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"}),l.createElement("path",{fill:"#ADADAD",d:"M365.08 178.02c-1.59 18.06 45.14 56.12 49.92 82.32h10.27c1.24-10.44 7.08-20.18 7.08-20.18 23.72 27.09 47.8 18.76 47.8 18.76-7.44-5.13-49.57-67.09-49.57-67.09 12.88-4.78 47.67 12.45 64.61-36.76 12.24-35.55-18-74.92-18-74.92s-36.7 31.84-40.95 38.92c-4.25 6.73 6.46 33.2-10.44 44.96-13.66 9.51-19.12-.35-19.12-.35 2.83-18.41 16.82-26.38 26.2-47.8 9.38-21.6-5.66-32.75-13.63-35.05-7.97-2.48-18.76 1.77-19.12 12.39-.35 10.8 16.64 11.51 16.64 11.51-2.48 23.9-49.92 52.04-51.69 73.29z"}),l.createElement("circle",{fill:"#FFF",cx:258.2,cy:204.19,r:16.93}))},L0=function(t){var n=t.title,r=P(t,yb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"116.28 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#c8102e",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#012169",d:"M0 .1h256.5v171H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0h-22.6L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1v22.6h22.6L96 121.8v48.9h64v-48.9l73.4 48.9H256v-22.6l-46.1-30.7H256v-64h-46.1L256 22.7z"}),l.createElement("path",{fill:"#c8102e",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{fill:"#c8102e",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}),l.createElement("g",{transform:"translate(13 5)"},l.createElement("path",{fill:"#fff",d:"M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z"}),l.createElement("path",{fill:"#2F8F22",d:"M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z"}),l.createElement("circle",{fill:"#65B5D2",cx:383.65,cy:214.56,r:39.88}),l.createElement("circle",{fill:"#c8102e",cx:343.77,cy:194.63,r:19.94}),l.createElement("circle",{fill:"#c8102e",cx:423.52,cy:194.63,r:19.94}),l.createElement("circle",{fill:"#c8102e",cx:383.65,cy:154.75,r:19.94})))},T0=function(t){var n=t.title,r=P(t,Eb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"94.05 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"m0 193.74 513 127.19V214.26L0 97.08z"}),l.createElement("path",{fill:"#FFF",d:"M513 234.26v-86.67L0 20.41v86.67"}),l.createElement("g",{fill:"#D80027",stroke:"#231F20",strokeWidth:3,strokeMiterlimit:10},l.createElement("path",{d:"M306.4 134.01a50.28 50.28 0 0 1 6.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z"}),l.createElement("path",{d:"M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zm-69.22-93.63h20.88l24.93 27.26v73.45h-26.28v-68.37zm270.76 0h-20.88l-24.93 27.26v73.45h26.27v-68.37z"})))},B0=function(t){var n=t.title,r=P(t,Cb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#d52b1e",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#f9e300",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#007934",d:"M0 228h513v114H0z"}))},H0=function(t){var n=t.title,r=P(t,kb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15.39 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#012a87",d:"M0 342h513V0z"}),l.createElement("path",{fill:"#f9d90f",d:"M250.4 0H0v166.9z"}),l.createElement("path",{fill:"#dc171d",d:"m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"}),l.createElement("circle",{fill:"none",stroke:"#000",strokeWidth:9,strokeMiterlimit:10,cx:140.4,cy:160.6,r:57.7}))},j0=function(t){var n=t.title,r=P(t,Ib);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#009b3a",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#fedf00",d:"m256.5 19.3 204.9 151.4L256.5 322 50.6 170.7z"}),l.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:80.4}),l.createElement("path",{fill:"#002776",d:"M215.9 165.7c-13.9 0-27.4 2.1-40.1 6 .6 43.9 36.3 79.3 80.3 79.3 27.2 0 51.3-13.6 65.8-34.3-24.9-31-63.2-51-106-51zm119 20.3c.9-5 1.5-10.1 1.5-15.4 0-44.4-36-80.4-80.4-80.4-33.1 0-61.5 20.1-73.9 48.6 10.9-2.2 22.1-3.4 33.6-3.4 46.8.1 89 19.5 119.2 50.6z"}))},P0=function(t){var n=t.title,r=P(t,zb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ffc72c",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#00778b"}),l.createElement("path",{d:"M256 171 0 342V0z"}))},O0=function(t){var n=t.title,r=P(t,Fb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FF7415",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M513 0H0v342"}),l.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:42,strokeMiterlimit:10,d:"M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6"}))},V0=function(t){var n=t.title,r=P(t,Mb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"121 33.333 733.333 733.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ef2b2d",d:"M0 0h1100v800H0z"}),l.createElement("path",{fill:"#fff",d:"M300 0h200v800H300z"}),l.createElement("path",{fill:"#fff",d:"M0 300h1100v200H0z"}),l.createElement("path",{fill:"#002868",d:"M350 0h100v800H350z"}),l.createElement("path",{fill:"#002868",d:"M0 350h1100v100H0z"}))},G0=function(t){var n=t.title,r=P(t,Sb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 238h513v104H0zM0 0h513v104H0z",fill:"#6da9d2"}),l.createElement("path",{d:"M0 125.5h513v89.656H0z"}))},_0=function(t){var n=t.title,r=P(t,Ab);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.42 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#007C30",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#CE1720",d:"M0 230h513V0H0"}),l.createElement("path",{fill:"#FFF",d:"M100 230V0H0v342h513-413z"}),l.createElement("path",{d:"M28 159.6 8.6 128.2 28 97.4l19.3 30.8zm44.6 0-19.3-31.4 19.3-30.8L92 128.2zM28 241.2 8.6 209.8 28 179l19.3 30.8zm44.6 0-19.3-31.4L72.6 179 92 209.8z",fill:"#CE1720"}),l.createElement("path",{d:"m28 73.8-16.1-26L28 22.2l16 25.6zm44.6 0-16-26 16-25.6 16.1 25.6zM28 318l-16.1-26.1L28 266.3l16 25.6zm44.6 0-16-26.1 16-25.6 16.1 25.6z",fill:"none",stroke:"#CE1720",strokeWidth:7}))},$0=function(t){var n=t.title,r=P(t,Nb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"94.05 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#003e87",d:"M0 0h513v342H0z"}),l.createElement("circle",{fill:"#FFF",cx:260.9,cy:170.9,r:118.9}),l.createElement("circle",{fill:"none",stroke:"#6DA544",strokeWidth:18,strokeMiterlimit:10,cx:261.9,cy:173.1,r:94.5}),l.createElement("g",{stroke:"#000"},l.createElement("path",{fill:"#003e87",d:"m261.9 151.5-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z"}),l.createElement("path",{fill:"#FFDA44",d:"M211.3 128.1h101.3v46.7H211.3z"})),l.createElement("path",{d:"M0 0h513v35H0zm0 306h513v35H0z",fill:"#ce1127"}))},W0=function(t){var n=t.title,r=P(t,Db);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h142v342H0zm371 0h142v342H371zm-64.5 206 50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z",fill:"red"}))},U0=function(t){var n=t.title,r=P(t,Lb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"152.19 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"green",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"m422.7 252.4 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zm-46.6-136.3 6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zm37-77.8 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zm51.8 58.4 6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zm-28 68.1 4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6zM306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zm.2.4-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z",fill:"#FFDA44"}),l.createElement("path",{fill:"#A2001D",d:"M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z"}))},X0=function(t){var n=t.title,r=P(t,Tb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M513 66.9V0H411.7L0 274.4V342h100.3z"}),l.createElement("path",{fill:"#D80027",d:"M513 0v40.1L60.2 342H0v-40.8L451.8 0z"}),l.createElement("path",{fill:"#FFDA44",d:"m93.6 31.2 16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z"}))},Z0=function(t){var n=t.title,r=P(t,Bb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"17.1 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#d21034",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 171h211.5v85.3H0zm300.5 0H512v85.3H300.5z",fill:"#3a9927"}),l.createElement("path",{fill:"#003082",d:"M0 0v85.3h211.5V0h89v85.3H513V0z"}),l.createElement("path",{d:"M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z",fill:"#FFF"}),l.createElement("path",{d:"M300.5 342h-89v-86H0v86h513v-86H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z",fill:"#ffce00"}))},Y0=function(t){var n=t.title,r=P(t,Hb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#da1a35",d:"M0 85.331h513v342H0z"}),l.createElement("path",{fill:"#009543",d:"M443.726 85.331 102.4 426.657H0V85.331z"}),l.createElement("path",{fill:"#fbde4a",d:"M500.124 85.331 158.798 426.657H11.876L353.202 85.331z"}))},J0=function(t){var n=t.title,r=P(t,jb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"red",d:"M0 85.337h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M356.174 222.609h-66.783v-66.783h-66.782v66.783h-66.783v66.782h66.783v66.783h66.782v-66.783h66.783z"}))},K0=function(t){var n=t.title,r=P(t,Pb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#009e60",d:"M342 0h171v342H342z"}),l.createElement("path",{fill:"#f77f00",d:"M0 0h171v342H0z"}))},q0=function(t){var n=t.title,r=P(t,Ob);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#01237a",d:"M0 85.332h513v342H0z"}),l.createElement("path",{d:"m384 156.705 5.283 16.254h17.089l-13.826 10.045 5.281 16.254L384 189.211l-13.825 10.047 5.28-16.254-13.825-10.045h17.089zm-70.209 29.081 15.228 7.758 12.084-12.083-2.673 16.879 15.227 7.759-16.879 2.673-2.674 16.88-7.76-15.227-16.878 2.673 12.086-12.084zm-29.081 70.209 16.254-5.281.001-17.089 10.044 13.825 16.254-5.282-10.046 13.827 10.046 13.826-16.254-5.28-10.044 13.825v-17.09zm29.081 70.209 7.759-15.229-12.084-12.084 16.881 2.674 7.757-15.227 2.674 16.879 16.879 2.672-15.227 7.759 2.673 16.882-12.084-12.087zM384 355.284l-5.281-16.253h-17.091l13.827-10.045-5.28-16.254L384 322.776l13.827-10.044-5.281 16.254 13.826 10.045h-17.089zm70.209-29.08-15.229-7.758-12.083 12.084 2.673-16.882-15.227-7.756 16.879-2.675 2.675-16.879 7.756 15.227 16.881-2.674-12.086 12.085zm29.081-70.209-16.254 5.281v17.09l-10.045-13.826-16.254 5.281 10.046-13.826-10.046-13.827 16.254 5.282 10.045-13.825v17.089zm-29.081-70.207-7.757 15.226 12.082 12.084-16.881-2.673-7.756 15.227-2.675-16.88-16.879-2.675 15.227-7.757-2.673-16.878 12.084 12.082zM0 186.665v16h46.069L0 233.377v7.539l57.377-38.252H80L0 255.998h112v-69.334H0zm96 69.331H22.628L96 207.083v48.913zm80-117.331 80-53.334H144v69.334h112v-16h-46.069L256 107.951v-7.539l-57.377 38.251H176v.002zm-16-53.332h73.372L160 134.246V85.333zm-16 170.665h112l-80-53.334h22.623L256 240.917v-7.539l-46.069-30.713H256v-16H144v69.333zm16-48.915 73.372 48.913H160v-48.913zM112 85.331H0l80 53.334H57.377L0 100.413v7.539l46.069 30.712H0v16h112V85.331zm-16 48.915L22.628 85.333H96v48.913z",fill:"#FFF"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 85.331h-32v69.334H0v32h112v69.333h32v-69.333h112v-32H144z"}),l.createElement("path",{d:"M80 138.665 0 85.331v15.082l57.377 38.252zm96 0h22.623L256 100.413V85.331zm-118.623 64L0 240.917v15.081l80-53.333zm118.623 0 80 53.333v-15.081l-57.377-38.252z"})))},Q0=function(t){var n=t.title,r=P(t,Vb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M196 0h317v171H196z"}),l.createElement("path",{fill:"#0037A1",d:"M0 0h196v171H0z"}),l.createElement("path",{fill:"#FFF",d:"M98 24.5 113.1 71H162l-39.6 28.7 15.2 46.5L98 117.5l-39.6 28.7 15.2-46.5L34 71h48.9z"}))},R0=function(t){var n=t.title,r=P(t,Gb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ce1126",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#007a5e",d:"M0 0h171v342H0z"}),l.createElement("path",{d:"M342 0h171v342H342zm-86 102.2 17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z",fill:"#fcd116"}))},e2=function(t){var n=t.title,r=P(t,_b);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"75.24 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zm-54.4-56.6-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zm56.6 136.4-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z",fill:"#FFDA44"}))},t2=function(t){var n=t.title,r=P(t,$b);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 256.5h513V342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 171h513v85.5H0z"}))},n2=function(t){var n=t.title,r=P(t,Wb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 285h513v57H0zM0 0h513v57H0z"}))},r2=function(t){var n=t.title,r=P(t,Ub);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FF9811",d:"M0-40.8v422.9-211.4z"}),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v68.3H0zm0 136.5h513v68.3H0zm0 136.6h513v68.3H0z",fill:"#0052B4"}),l.createElement("path",{fill:"#D80027",d:"M256 170.7 0 342V0z"}),l.createElement("path",{fill:"#FFF",d:"m86.5 111.4 12.7 39.2h41.3l-33.4 24.2 12.8 39.3-33.4-24.2-33.4 24.2 12.8-39.3-33.4-24.2h41.2z"}))},i2=function(t){var n=t.title,r=P(t,Xb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"17.1 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#003893",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#cf2027",d:"M0 182.2h513v41.4H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 140.8h513v41.4H0zm0 82.8h513V265H0z"}),l.createElement("path",{d:"m150.4 70 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zm0 209.7 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zm-97.6-70.9 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zm-66.3 71H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zm48.4 148.9 6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zm66.4 71h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zm-48.4 148.9-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z",fill:"#f7d116",stroke:"#000"}))},l2=function(t){var n=t.title,r=P(t,Zb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"11.97 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#002b7f",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#f9e814",d:"M0 233.5h513v51H0z"}),l.createElement("path",{d:"m168.7 86.5 12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zm-83.3-54 7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z",fill:"#FFF"}))},a2=function(t){var n=t.title,r=P(t,Yb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"99.18 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0021ad",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#1c8a42",d:"M0 0h513v342"}),l.createElement("path",{d:"m77.6 272 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zm-37.1-98.9 5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zm37.1-80.9 5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zm46.1 62.9 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zm-32.9 54 4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z",fill:"#FFF"}),l.createElement("circle",{fill:"#ffc639",cx:267.1,cy:170.7,r:74.5}),l.createElement("path",{fill:"#1c8a42",d:"M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z"}),l.createElement("path",{fill:"#ffc639",d:"M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z"}))},o2=function(t){var n=t.title,r=P(t,Jb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#DB7D00",d:"M141.7 154.7s.2 67.1 74.7 65.3l4.5 13.9h8.9s-7.4-41.1 60.1-41.5c0 0 0-27.6 27.6-27.6H359s-66-51.8 58.9-118l1.8-13.1s-129.9 71-198.9 57.2c0 0 10.7 42.5-10.8 42.5-10.8 0-9.7-8.1-32.3-8.1-18.7 0-17.3 19.7-26.3 19.5-8.9-.2-18.8-12.3-19.6-10.2-.7 2.1 9.9 20.1 9.9 20.1z"}),l.createElement("g",{fill:"#006651"},l.createElement("path",{d:"M237.2 308.1c6.9-5 13-6.6 22.4-8.3s19.4-4.4 24.6-5.8-17.7 6.6-23.5 8.3c-5.8 1.6-23.5 5.8-23.5 5.8zm37.9-14.7c-1.9-11.9 2.8-24.3 13.5-29.3 2.5 8.6-5.2 23.2-13.5 29.3zm18.2-6.2c-5.8-9.8 4-22.6 11.1-28.8 3.3 6-2.5 23.7-11.1 28.8zm16.9-7.6c-6.2-8.4 1.1-23.2 8.8-29 3.1 8.2.1 23.2-8.8 29zm16.9-10.6c-5.6-8-1.7-20.4 6.3-28.4 5.8 6.6.9 21-6.3 28.4zm13.5-10.7c-4.7-7.5 1.1-25.4 8.6-30.4 3.3 6.6.8 25.4-8.6 30.4zm10.8-2.8c-1.4-10.8 17.4-22.7 25.2-22.4-.9 8.9-8.9 18.6-25.2 22.4zm-10.5 12.2c8.8-9.1 26-9.1 32.1-7.2-1.7 5.3-21.9 16.9-32.1 7.2z"}),l.createElement("path",{d:"M328.7 276.8c12.4-3.3 20.5-6.1 27.9 1.7-5.2 6.6-25.4 4.7-27.9-1.7zm-17.7 8c11.9-6.4 26.3 3 28.5 8.6-13.3 5.5-28.7-7.2-28.5-8.6zm-16.3 9.2c10.8-4.1 23.2 1.4 28.2 7.5-5.8 2.7-21 5.7-28.2-7.5zm-14.9 4.7c12.4-1.4 24.4 8 27 13.4-15.9 1.5-22-3.2-27-13.4zm-4 9.4c-6.9-5-13-6.6-22.4-8.3-9.4-1.7-19.4-4.4-24.6-5.8-5.3-1.4 17.7 6.6 23.5 8.3 5.8 1.6 23.5 5.8 23.5 5.8zm-37.9-14.7c1.9-11.9-2.8-24.3-13.5-29.3-2.5 8.6 5.2 23.2 13.5 29.3zm-18.2-6.2c5.8-9.8-4-22.6-11.1-28.8-3.3 6 2.5 23.7 11.1 28.8zm-16.9-7.6c6.2-8.4-1.1-23.2-8.8-29-3.1 8.2-.1 23.2 8.8 29zM185.9 269c5.6-8 1.7-20.4-6.3-28.4-5.8 6.6-.9 21 6.3 28.4zm-13.5-10.7c4.7-7.5-1.1-25.4-8.6-30.4-3.3 6.6-.8 25.4 8.6 30.4zm-10.8-2.8c1.4-10.8-17.4-22.7-25.2-22.4.9 8.9 8.9 18.6 25.2 22.4zm10.5 12.2c-8.8-9.1-26-9.1-32.1-7.2 1.7 5.3 21.9 16.9 32.1 7.2z"}),l.createElement("path",{d:"M184.3 276.8c-12.4-3.3-20.5-6.1-27.9 1.7 5.2 6.6 25.4 4.7 27.9-1.7zm17.7 8c-11.9-6.4-26.3 3-28.5 8.6 13.3 5.5 28.7-7.2 28.5-8.6zm16.3 9.2c-10.8-4.1-23.2 1.4-28.2 7.5 5.8 2.7 21 5.7 28.2-7.5zm14.9 4.7c-12.4-1.4-24.4 8-27 13.4 15.9 1.5 22-3.2 27-13.4z"})))},s2=function(t){var n=t.title,r=P(t,Kb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.13 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#11457e",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#d7141a",d:"M513 171v171H0l256.5-171z"}),l.createElement("path",{fill:"#FFF",d:"M513 0v171H256.5L0 0z"}))},u2=function(t){var n=t.title,r=P(t,qb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 228h513v114H0z"}))},c2=function(t){var n=t.title,r=P(t,Qb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"13.68 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#12ad2b",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6ab2e7",d:"M513 0v166.7L0 170.8V0z"}),l.createElement("path",{fill:"#FFF",d:"M256 170.7 0 342V0z"}),l.createElement("path",{fill:"#d7141a",d:"m89.8 92.5 17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z"}))},d2=function(t){var n=t.title,r=P(t,Rb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"23.94 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#c60c30",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"}))},f2=function(t){var n=t.title,r=P(t,ex);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 110.7v120h513v-120z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 110.7h513v40H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 190.7h513v40H0z"}),l.createElement("path",{d:"M196 0h120v342H196z"}),l.createElement("path",{fill:"#FFDA44",d:"M196 0h40v342h-40z"}),l.createElement("path",{fill:"#FFF",d:"M274.7 0h40v342h-40z"}),l.createElement("circle",{fill:"#D80027",cx:256,cy:170.7,r:123.1}),l.createElement("path",{d:"m256 58.6 4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zm-40.7 56h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zm0 69.3 12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zm40.7 56.1 4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zm65.9 21.4-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zm65.9-21.4-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zm40.7-56.1h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zm0-69.3-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zm-40.7-56-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8zM279.3 168.7c-11-21.1-14.5-25.1-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z",fill:"#496E2D"}))},h2=function(t){var n=t.title,r=P(t,tx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 216h211v126H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h211v126H0z"}),l.createElement("path",{fill:"#D80027",d:"M302 0h211v126H302z"}),l.createElement("path",{fill:"#0052B4",d:"M302 216h211v126H302z"}),l.createElement("g",{stroke:"#FFF",strokeWidth:5,strokeMiterlimit:10},l.createElement("path",{fill:"#0052B4",d:"M256 130h-49.9v49.4s19.5 6 49.9 6V130z"}),l.createElement("path",{fill:"#D80027",d:"M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z"}),l.createElement("path",{fill:"#0052B4",d:"M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z"}),l.createElement("path",{fill:"#D80027",d:"M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z"})))},m2=function(t){var n=t.title,r=P(t,nx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"88.92 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#41662E",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M256.5 0H513v342H256.5z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"m341.5 105.3-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z"}),l.createElement("path",{d:"M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z"})))},p2=function(t){var n=t.title,r=P(t,rx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 170.7h513V256H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 256h513v85.3H0z"}),l.createElement("circle",{fill:"#FFDA44",cx:256,cy:171,r:60}),l.createElement("path",{fill:"#4C1F00",d:"M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"}),l.createElement("path",{fill:"#57BA17",d:"M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"}),l.createElement("path",{fill:"#338AF3",d:"M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"}))},g2=function(t){var n=t.title,r=P(t,ix);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#111",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#368FD8",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 228h513v114H0z"}))},v2=function(t){var n=t.title,r=P(t,lx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{d:"M0 228h513v114H0z"}),l.createElement("path",{fill:"#C09300",d:"M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z"}))},b2=function(t){var n=t.title,r=P(t,ax);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#428823",d:"M0 228h513v114H0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M256 171 0 342V0zm53.1 0c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.1-21.5-5.1-34.6-24.2-34.6-46.8z"}),l.createElement("path",{d:"m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"})))},x2=function(t){var n=t.title,r=P(t,ox);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"22.23 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#56AF35",d:"M0 0h513v171H0z"}),l.createElement("path",{fill:"#D80027",d:"m0 342 513-171L0 0v342z"}),l.createElement("g",{fill:"#ffc945"},l.createElement("path",{d:"M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z"}),l.createElement("circle",{cx:119.5,cy:148.3,r:17.5}),l.createElement("circle",{cx:148.9,cy:158.5,r:17.5}),l.createElement("circle",{cx:134.7,cy:135.2,r:17.5}),l.createElement("circle",{cx:119.5,cy:172.7,r:17.5}),l.createElement("circle",{cx:149.9,cy:182.8,r:17.5}),l.createElement("circle",{cx:122.5,cy:198,r:17.5}),l.createElement("circle",{cx:145.9,cy:205.2,r:17.5})))},w2=function(t){var n=t.title,r=P(t,sx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.75 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h22.5v15H0V0z"}),l.createElement("path",{fill:"#D03433",d:"M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"}),l.createElement("path",{fill:"#FBCA46",d:"M0 4h22.5v7H0V4z"}),l.createElement("path",{fill:"#FFF",d:"M7.8 7h1v.5h-1V7z"}),l.createElement("path",{fill:"#A41517",d:"M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"}),l.createElement("path",{fill:"#A41517",d:"M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"}))},y2=function(t){var n=t.title,r=P(t,ux);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.75 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#20AA46",d:"M0 0h22.5v5H0V0z"}),l.createElement("path",{fill:"#E92F3B",d:"M0 10h22.5v5H0v-5z"}),l.createElement("path",{fill:"#FADF50",d:"M0 5h22.5v5H0V5z"}),l.createElement("circle",{fill:"#205CCA",cx:11.3,cy:7.5,r:5.2}),l.createElement("g",{stroke:"#FFDB3D",fill:"none"},l.createElement("path",{d:"m11.3 8.8-2.1 1.5.8-2.4-2-1.5h2.5l.8-2.3.8 2.3h2.6l-2.1 1.5.8 2.4-2.1-1.5zm-1-2.4h1.9M9.9 7.8l1.3 1m.8-2.6.7 1.8M10 7.9l.6-1.8M11 9l1.6-1.1",strokeWidth:.5}),l.createElement("path",{d:"m8.7 3.9 1.1 1.6m4-1.7-1 1.6m-1.5 4.7V12M8.9 8.3 7.1 9m8.4 0-1.8-.7",strokeWidth:.25})))},E2=function(t){var n=t.title,r=P(t,cx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 408 408"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#039",d:"M0 0h408v408H0V0z"}),l.createElement("path",{fill:"#FC0",d:"m203.963 45.231 5.089 15.653h16.542l-13.322 9.68 5.015 15.67-13.323-9.68-13.323 9.68 5.089-15.662-13.322-9.68h16.468l5.087-15.661zm-68 18.134 5.089 15.653h16.542l-13.323 9.68 5.016 15.67-13.324-9.68-13.323 9.68 5.089-15.662-13.323-9.681h16.468l5.089-15.66zm-49.867 49.866 5.089 15.653h16.542l-13.323 9.68 5.016 15.67-13.324-9.68-13.323 9.68 5.089-15.662-13.323-9.68h16.468l5.089-15.661zM67.963 181.23l5.089 15.654h16.542l-13.323 9.682 5.016 15.67-13.324-9.682-13.323 9.682 5.089-15.664-13.323-9.679h16.468l5.089-15.663zm18.133 68.001 5.089 15.654h16.542l-13.323 9.68 5.016 15.67-13.324-9.68-13.323 9.68 5.089-15.662-13.323-9.68h16.468l5.089-15.662zm49.867 49.867 5.089 15.654h16.542l-13.323 9.68 5.016 15.67-13.324-9.679-13.323 9.679 5.089-15.661-13.323-9.681h16.468l5.089-15.662zm136-235.733 5.089 15.653h16.542l-13.322 9.68 5.015 15.67-13.323-9.68-13.324 9.68 5.09-15.662-13.322-9.681h16.468l5.087-15.66zm49.867 49.866 5.088 15.653h16.543l-13.323 9.68 5.015 15.67-13.322-9.68-13.324 9.68 5.09-15.662-13.323-9.68h16.468l5.088-15.661zm18.133 68 5.089 15.653h16.542l-13.322 9.682 5.015 15.67-13.323-9.682-13.323 9.682 5.089-15.664-13.322-9.679h16.468l5.087-15.662zm-18.133 68 5.088 15.654h16.543l-13.323 9.68 5.016 15.67-13.323-9.68-13.324 9.68 5.09-15.662-13.323-9.68h16.469l5.087-15.662zm-117.867 68 5.089 15.654h16.542l-13.322 9.68 5.015 15.67-13.323-9.68-13.323 9.68 5.089-15.662-13.322-9.68h16.468l5.087-15.662zm68-18.133 5.089 15.654h16.542l-13.322 9.68 5.016 15.67-13.324-9.68-13.322 9.68 5.088-15.662-13.322-9.68h16.469l5.086-15.662z"}))},C2=function(t){var n=t.title,r=P(t,dx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"37.62 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#2E52B2",d:"M513 129.3V212H203.7v130H121V212H0v-82.7h121V0h82.7v129.3z"}))},k2=function(t){var n=t.title,r=P(t,fx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#62B5E5",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#F3F3F3",d:"M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z"}),l.createElement("path",{fill:"#D80027",d:"M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M0 0h256.5v170.6H0V0z"}),l.createElement("path",{d:"m155.9 115 100.6 55.6v-15.8L184.6 115h-28.7zm-55.7-59.3L0 0v15.8l71.8 39.9h28.4z"})),l.createElement("path",{d:"m196.9 115 59.6 32.9V115h-59.6zm-41 0 100.6 55.6v-15.8L184.6 115h-28.7zm73.4 55.6-73.5-40.9v40.9h73.5zM45.2 115 0 140.1V115h45.2zm55 7.1v48.6H12.8l87.4-48.6zM59.1 55.7 0 22.8v32.8s59.1 0 59.1.1zm41.1 0L0 0v15.8l71.8 39.9h28.4zM26.7 0l73.5 40.8V0H26.7zm184.2 55.7 45.6-25.1v25.1h-45.6zm-55-7.2V0h87.4l-87.4 48.5z",fill:"#0052B4"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144.3-.2h-32.1v69.5H0v32.1h112.2v69.5h32.1v-69.5h112.2V69.3H144.3V-.2z"}),l.createElement("path",{d:"m155.9 115 100.6 55.6v-15.8L184.6 115h-28.7zm-84.1 0L0 154.9v15.8L100.2 115H71.8zm28.4-59.3L0 0v15.8l71.8 39.9h28.4zm83.9 0 72.4-39.9V0L155.9 55.7h28.2z"})))},I2=function(t){var n=t.title,r=P(t,hx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z",fill:"#D80027"}),l.createElement("path",{fill:"#1F8BDE",d:"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z"}),l.createElement("path",{fill:"#FFF",d:"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z"}),l.createElement("path",{fill:"#187536",d:"M347.1 193.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8-21.7 0-19.1 4.8-19.1 4.8-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z"}),l.createElement("path",{fill:"#FFF",d:"M357.4 179.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1-24.9 0-45.1 13.5-45.1 30.1-.1 8.5 6.6 28.5 15 30.1zm-1.4 91.6c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM322.1 210c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z"}))},z2=function(t){var n=t.title,r=P(t,mx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"m256 37.9 10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zm132.8-132.8-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z",fill:"#FFF"}))},F2=function(t){var n=t.title,r=P(t,px);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"37.62 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0F61A5",d:"M513 214.5H206.2V342h-87.8V214.5H0v-87.7h118.4V0h87.8v126.8H513V192z"}),l.createElement("path",{fill:"#E50E3D",d:"M513 149.3V192H183.7v150H141V192H0v-42.7h141V0h42.7v149.3z"}))},M2=function(t){var n=t.title,r=P(t,gx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},S2=function(t){var n=t.title,r=P(t,vx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}))},A2=function(t){var n=t.title,r=P(t,bx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M0 0h513v341.3H0V0z"}),l.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"})),l.createElement("path",{d:"M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zm-82.1-132.9L0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zm368.3 111.3L513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z",fill:"#0052B4"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"}),l.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zm-168 0L0 309.9v31.5L200.3 230h-56.6zm56.6-118.7L0 0v31.5l143.7 79.8h56.6zm168 0L513 31.5V0L311.7 111.3h56.6z"})))},N2=function(t){var n=t.title,r=P(t,xx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"75.24 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#c60a0a",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#3E8446",d:"m256.5 170.7-212 126.1V44.5z"}),l.createElement("path",{d:"m256.5 170.7 211 126.1h-423zm211-126.2-211 126.2-212-126.2z",fill:"#FFDA44"}),l.createElement("path",{fill:"#3E8446",d:"M467.5 44.5v252.3l-211-126.1z"}),l.createElement("path",{d:"m256.5 10.4 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm-85.4 293.8 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z",fill:"#FFDA44"}),l.createElement("circle",{fill:"#c60a0a",cx:244.5,cy:170.7,r:76.2}),l.createElement("path",{fill:"#FFDA44",d:"m244.5 110.1 13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zm-136.8 57.7c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z"}),l.createElement("circle",{fill:"#A2001D",cx:99.1,cy:182.1,r:7.4}))},D2=function(t){var n=t.title,r=P(t,wx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.975 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#fff",d:"M0 0h22.5v15H0z"}),l.createElement("path",{fill:"#eb000e",d:"M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z"}),l.createElement("path",{fill:"#eb000e",d:"m17.3 2.7-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z"}))},L2=function(t){var n=t.title,r=P(t,yx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15 0 60 60"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FDEB01",d:"m0 0 90 60H0z"}),l.createElement("path",{fill:"#58A846",d:"M90 0v60L0 0z"}),l.createElement("path",{fill:"#ED3D24",d:"m50.7 33.3 9.3-6.7H48.5L45 15.7l-3.5 10.9H30l9.3 6.7-3.6 11 9.3-6.7 9.3 6.7z"}))},T2=function(t){var n=t.title,r=P(t,Ex);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M308 0H204v118.7H0v104h204V342h104V222.7h205v-104H308z"}),l.createElement("path",{fill:"#FFDA44",d:"m368.6 188 26 17.3V136l-26 17.3h-95.3V58.1l17.3-26h-69.2l17.3 26v95.2h-95.3l-26-17.3v69.3l26-17.3h95.3v95.2l-17.3 26h69.2l-17.3-26V188z"}))},B2=function(t){var n=t.title,r=P(t,Cx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),l.createElement("path",{d:"m255.9 113.8 14.1 43.4 40.4 3.2-37 26.9 19.5 40.3-37-26.9-37 26.9 14.1-43.5-36.9-26.9h45.7z"}))},H2=function(t){var n=t.title,r=P(t,kx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 230h513v112H0z"}),l.createElement("path",{fill:"#D80027",stroke:"#000",strokeMiterlimit:10,d:"M363.1 131.8V99.1H374V77.3h-21.9v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7h-21.8V55.5h10.9V33.7h-21.8v10.9h-10.9V33.7H254v10.9h-10.9V33.7h-21.8v21.8h10.9v76.3h-21.8V99.1h10.9V77.3h-21.8v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7H145V219h239.9v-87.2z"}),l.createElement("path",{fill:"#FFDA44",stroke:"#000",strokeMiterlimit:10,d:"m264.9 235.5-24.2 18.2 19.1 14.3v31.3h-23.2v9h23v7.9h-23v9.3H270V268l19.1-14.3-24.2-18.2zm0 25.3-10.1-7.1 10.1-7.1 10.1 7.1-10.1 7.1z"}),l.createElement("path",{d:"M239.6 209.7v-27.9s.1-22.3 25-22.3c24.8 0 25.7 22 25.7 22v28.2h-50.7zm-69.1 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8z"}),l.createElement("path",{d:"M169.1 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm151.8 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm8.4-77.7v-15.7s.1-12.1 11.3-12.1c11.3 0 11.7 11.9 11.7 11.9V132h-23zm-78.8 0v-23.7s.1-18.3 14.3-18.3c14.2 0 14.7 18 14.7 18v24h-29zm-73 0v-15.7s.1-12.1 11.3-12.1 11.7 11.9 11.7 11.9V132h-23z"}))},j2=function(t){var n=t.title,r=P(t,Ix);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"90.63 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M513 0v171H0V0z"}),l.createElement("circle",{fill:"#FFF",cx:185.8,cy:171.2,r:117.8}),l.createElement("path",{fill:"#D80027",d:"M68 171c0-65.1 52.8-117.8 117.8-117.8 65.1 0 117.8 52.8 117.8 117.8"}))},P2=function(t){var n=t.title,r=P(t,zx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#cf0d19",d:"M0 0h513v100H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 121h513v100H0z"}),l.createElement("path",{fill:"#1a7e25",d:"M0 242h513v100H0z"}))},O2=function(t){var n=t.title,r=P(t,Fx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M342 0h171v342H342z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h171v342H0z"}))},V2=function(t){var n=t.title,r=P(t,Mx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},G2=function(t){var n=t.title,r=P(t,Sx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"34.2 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v113.8H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 227.6h513V342H0z"}),l.createElement("path",{fill:"#0070C8",d:"M126 171 0 342V0z"}),l.createElement("path",{fill:"none",stroke:"#000",strokeMiterlimit:10,d:"M233.8 139.4v40.4c0 35.6 35.6 35.6 35.6 35.6s35.6 0 35.6-35.6v-40.4h-71.2z"}),l.createElement("path",{fill:"#786145",d:"M264.5 179.8h9.8l4 25.8h-17.8z"}),l.createElement("path",{fill:"#6DA544",d:"M287.2 162c0-9.8-8-14.8-17.8-14.8s-17.8 5-17.8 14.8c-4.9 0-8.9 4-8.9 8.9s4 8.9 8.9 8.9h35.6c4.9 0 8.9-4 8.9-8.9s-4-8.9-8.9-8.9z"}),l.createElement("path",{d:"m230.7 120 1.9 3.3h3.8l-1.9 3.3 1.9 3.2h-3.8l-1.9 3.3-1.9-3.3H225l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.8 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H279l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm16 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H295l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm15 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2H310l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8z",fill:"#FFDA00",stroke:"#000",strokeMiterlimit:10}))},_2=function(t){var n=t.title,r=P(t,Ax);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.42 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("g",{fill:"#0d5eaf"},l.createElement("path",{d:"M0 0h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z"}),l.createElement("path",{d:"M0 0h190v190H0z"})),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M0 76h190v38H0z"}),l.createElement("path",{d:"M76 0h38v190H76z"})))},$2=function(t){var n=t.title,r=P(t,Nx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{fill:"#D80027",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}),l.createElement("ellipse",{fill:"#FFF",cx:443.4,cy:233.6,rx:29,ry:43.5}),l.createElement("ellipse",{fill:"#FFCE00",cx:406.9,cy:317.7,rx:22,ry:9.3}),l.createElement("ellipse",{fill:"#FFCE00",cx:364,cy:317.7,rx:22,ry:9.3}),l.createElement("path",{fill:"#39B200",d:"m342 190.1 43.4 86.9 43.5-86.9z"}),l.createElement("ellipse",{fill:"#9B9B9B",cx:327.5,cy:233.6,rx:29,ry:43.5}),l.createElement("path",{fill:"#757575",d:"m371 175.6-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z"}),l.createElement("circle",{fill:"#C6B56F",cx:385.4,cy:67,r:29}),l.createElement("circle",{fill:"#A54A00",cx:386,cy:88.7,r:29}),l.createElement("circle",{fill:"#FFF",cx:443.4,cy:117.7,r:29}),l.createElement("circle",{fill:"#0049FF",cx:342.2,cy:146.7,r:29}),l.createElement("circle",{fill:"#0041F9",cx:429.8,cy:146.7,r:29}),l.createElement("circle",{fill:"#F7D71E",cx:386,cy:233.6,r:29}),l.createElement("circle",{fill:"#CEC851",cx:457.9,cy:190.1,r:29}),l.createElement("circle",{fill:"#FFF",cx:385.4,cy:289.5,r:29}),l.createElement("path",{fill:"#7C0B29",d:"m371 135.7 14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z"}),l.createElement("circle",{fill:"#FFF",cx:327.5,cy:117.4,r:29}))},W2=function(t){var n=t.title,r=P(t,Dx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#338AF3"}),l.createElement("circle",{fill:"#DCC26D",cx:256,cy:155.8,r:25.5}),l.createElement("path",{fill:"#628A40",d:"M194.2 155.9c0 22.1 11.8 42.5 30.8 53.5 5.9 3.4 13.5 1.4 16.9-4.5 3.4-5.9 1.4-13.5-4.5-16.9-11.5-6.6-18.5-18.9-18.5-32.1 0-6.8-5.5-12.4-12.4-12.4s-12.3 5.5-12.3 12.4zm95.1 52.1c17.8-11.4 28.6-31 28.5-52.1 0-6.8-5.5-12.4-12.4-12.4-6.8 0-12.4 5.5-12.4 12.4 0 12.7-6.5 24.5-17.1 31.3-5.8 3.6-7.7 11.2-4.1 17 3.6 5.8 11.2 7.7 17 4.1.2-.1.3-.2.5-.3z"}))},U2=function(t){var n=t.title,r=P(t,Lx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M11.1 11.1h489.7v319.1H11.1z"}),l.createElement("path",{fill:"#7DBEF1",d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}),l.createElement("path",{fill:"#1C8AE6",d:"M179.8 180.7h152.6l-29.3 64.9h-95.2z"}),l.createElement("path",{fill:"#FFF042",d:"M192.3 205.9s40.5 38.2 51 38.2c12.4 0 12.6-18.4 25.5-25.5 20.2-11.1 51-12.7 51-12.7L297 248.7l-41 36.6-46.8-39.7-16.9-39.7z"}),l.createElement("path",{fill:"#259C7B",d:"m256 157.5-22.5 15.6 7.9-26.2-21.8-16.5 27.4-.5 9-25.9 9 25.9 27.4.5-21.8 16.6 7.9 26.2-22.5-15.7z"}),l.createElement("path",{fill:"#8E5715",d:"M249.7 144.6c-.9 9.2-1.5 18.4-1.7 27.6-.3 11.9.3 20.7 2 26 2.2 6.6 7.2 12.9 14.2 18.9 5.3 4.6 10.6 8.1 14.2 10.1 3.1 1.7 7 .6 8.7-2.4 1.7-3.1.6-7-2.4-8.7-4.3-2.5-8.4-5.4-12.2-8.7-5.4-4.6-9.1-9.2-10.4-13.3-1.1-3.4-1.6-11.3-1.4-21.7.2-8.9.8-17.8 1.7-26.6.4-3.5-2.2-6.6-5.7-7-3.6-.3-6.7 2.3-7 5.8z"}),l.createElement("path",{fill:"#FFF",d:"m217.8 170.7 25.5 38.2h-25.5v-38.2z"}),l.createElement("path",{fill:"none",stroke:"#D80027",strokeWidth:12,strokeMiterlimit:10,d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}))},X2=function(t){var n=t.title,r=P(t,Tx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"18.81 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 0h512v171H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h182v342H0z"}),l.createElement("path",{d:"m98.3 109.8 15.1 46.5h48.9L122.8 185l15.1 46.5-39.6-28.7-39.5 28.7L73.9 185l-39.6-28.7h48.9z"}))},Z2=function(t){var n=t.title,r=P(t,Bx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"27 0 600 600"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#009E49",d:"M0 0h900v600H0V0z"}),l.createElement("path",{fill:"#FFF",d:"m0 0 947 300L0 600V0z"}),l.createElement("path",{fill:"#FFD00D",d:"M0 26.1 870 300 0 573.9V26.1z"}),l.createElement("path",{fill:"#2D2D2D",d:"m0 0 450 300L0 600V0z"}),l.createElement("path",{fill:"#D3132F",d:"m0 35 397.5 265L0 565V35z"}))},Y2=function(t){var n=t.title,r=P(t,Hx);return l.createElement("svg",j({viewBox:"3.5 0.5 14 14",xmlns:"http://www.w3.org/2000/svg"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("path",{fill:"#FFF",d:"M0 0h21v15H0z"}),l.createElement("path",{fill:"#ee1c25",d:"M0 0h21v15H0z"}),l.createElement("path",{d:"M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 1 0 0-.5.25.25 0 0 0 0 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 1 0 .476-.154.25.25 0 0 0-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 1 0 .294.405.25.25 0 0 0-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 1 0-.293.404.25.25 0 0 0 .293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 1 0-.475-.155.25.25 0 0 0 .475.155z",fill:"#FFF"})))},J2=function(t){var n=t.title,r=P(t,jx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M223.4 170.7c.3-.3.5-.6.8-.9-.3.3-.5.6-.8.9zm-34.2 41.9 11 22.9 24.7-5.7-11.1 22.8 19.9 15.8L209 274v25.4l-19.8-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.9-2.6 9.5-7.5-5.3-10.9 11.9 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6v-12.1l-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9 11.9 2.7zm42.4 49.7 5.3 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.5-7.6-9.4 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-30.3 57.9 4.1 12.7h13.3l-10.8 7.8 4.1 12.6-10.7-7.8-10.8 7.8 4.1-12.6-10.7-7.8h13.3z"}),l.createElement("path",{d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"})),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z",fill:"#D80027"}))},K2=function(t){var n=t.title,r=P(t,Px);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0zm203.5-110.1 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM256 147.6l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm-52.5 29.7 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1z",fill:"#338AF3"}))},q2=function(t){var n=t.title,r=P(t,Ox);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}),l.createElement("path",{d:"M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zm-105.6 0v-44l-17.3-14.4-17.9 14.4v44zm35.2 0v-44l17.6-14.4 17.6 14.4v44z",fill:"#338AF3"}),l.createElement("path",{d:"M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zm-70.4 0h-35.2v-44l17.5-14.4 17.7 14.4z",fill:"#0052B4"}),l.createElement("path",{stroke:"#D80027",fill:"#FFF",d:"M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"}),l.createElement("path",{d:"M168.5 113.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm35.2 35.2h35.2V254h-35.2zm35.2-35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-35.2 35.2h35.2V254h-35.2zm35.2 55.5c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zm57.2 0v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z",fill:"#D80027"}))},Q2=function(t){var n=t.title,r=P(t,Vx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#A2001D",d:"M0 0h513v172H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 172h513v172H0z"}),l.createElement("path",{fill:"#FFF",d:"m381.4 251.5-110.7-13.8-110.8 13.8V85.4h221.5z"}),l.createElement("circle",{fill:"#0052B4",cx:270.7,cy:182.3,r:55.4}),l.createElement("circle",{fill:"#A2001D",cx:270.7,cy:182.3,r:27.7}),l.createElement("path",{fill:"#6DA544",d:"M229.1 113.1h83.1l-41.5 41.5z"}),l.createElement("path",{fill:"#FFDA44",d:"M256.8 140.8h27.7v83h-27.7z"}),l.createElement("path",{fill:"#6DA544",d:"M314.9 215.5h-88.5l-66.5 36h221.5z"}))},R2=function(t){var n=t.title,r=P(t,Gx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}))},ed=function(t){var n=t.title,r=P(t,_x);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"50 0 200 200"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#fc0",d:"M0 0h300v200H0z"}),l.createElement("path",{fill:"#0768a9",d:"M0 0h200v200H0z"}),l.createElement("path",{fill:"#fff",d:"M0 0h100v200H0z"}))},td=function(t){var n=t.title,r=P(t,$x);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#E00",d:"M0 0h513v171H0z"}))},nd=function(t){var n=t.title,r=P(t,Wx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#FF9811",d:"M342 0h171v342H342z"}))},rd=function(t){var n=t.title,r=P(t,Ux);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zm0 256h512V320H0z",fill:"#2E52B2"}))},id=function(t){var n=t.title,r=P(t,Xx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#E52D42",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M393.3 68.2h-45.8l-33.8 80.2-34.4-22.9s-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-.6-48.9 7.8-29.6 8.4-30.8 18.7-42.2 18.7-4.8 0-19.9-17.5-27.7-22.3-12.1-7.8-16.9-4.2-13.9 7.2 1.2 4.8 10.9 10.9 16.9 19.9 7.8 11.5 12.7 25.9 12.7 25.9s10.9-10.3 16.9-12.1c9-2.4 19.3 1.8 31.4 0 15.1-2.4 31.4-10.9 31.4-10.9l4.2 43.4s-54.3 50.7-49.5 70.6 56.1 44.6 68.2 62.7c12.1 17.5-7.2 24.1-7.2 32.6s-1.8 19.9 7.2 16.3c9-3.6 10.3-18.1 18.7-31.4 6-9 10.3-13.9 11.5-17.5 1.8-9-23.5-32-37.4-48.9-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6s67.6 27.7 82.6 18.7c15.1-9 19.3-98.3 19.3-98.3l47-11.5-12.1-11.7z"}),l.createElement("path",{fill:"#F8DD4E",d:"M279.3 262.4c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.8-182.8c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm0 91.1c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6 0 11.5 4.8 11.5 11.5-.6 6.7-5.5 11.5-11.5 11.5zm-136.9 45.8c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.2-136.9c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-4.8 11.5-11.5 11.5zm22.9 91.1c-6 0-11.5-10.3-11.5-22.9s4.8-22.9 11.5-22.9c6 0 11.5 10.3 11.5 22.9s-4.8 22.9-11.5 22.9zm-114-45.2c-6 0-11.5-4.8-11.5-11.5 0-6.6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5 0 6.6-4.8 11.5-11.5 11.5z"}))},ld=function(t){var n=t.title,r=P(t,Zx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#F93",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#fff",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#138808",d:"M0 228h513v114H0z"}),l.createElement("circle",{cx:256.5,cy:171,r:34.2,stroke:"navy",strokeWidth:4,fill:"none"}),l.createElement("circle",{cx:256.5,cy:171,r:3.42,fill:"navy"}),l.createElement("path",{d:"m265.3 138.159-17.6 65.682m17.6-65.682-17.6 65.682m25.8-62.286-34 58.89m41.042-53.487-48.084 48.084M285.945 154l-58.89 34m62.286-25.8-65.682 17.6M290.5 171h-68m66.841 8.8-65.682-17.6m62.286 25.8-58.89-34m53.487 41.042-48.084-48.084m41.042 53.487-34-58.89m25.8 62.286-17.6-65.682M256.5 205v-68m-8.8 66.841 17.6-65.682m-25.8 62.286 34-58.89m-41.042 53.487 48.084-48.084M227.055 188l58.89-34m-62.286 25.8 65.682-17.6M222.5 171h68m-66.841-8.8 65.682 17.6M227.055 154l58.89 34m-53.487-41.042 48.084 48.084M239.5 141.555l34 58.89m-25.8-62.286 17.6 65.682",stroke:"navy",strokeWidth:2}))},ad=function(t){var n=t.title,r=P(t,Yx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0-.3h513V342H0V-.3z"}),l.createElement("path",{fill:"#0052B4",d:"M462.9 198.1c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zM0 31.7l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 1-20 6-30.1 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30.1-12v22zm462.9 55.2c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 3.9-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 1 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-8 19-9v-23zm-50.1 133.3c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 0 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-9 19-9v-23z"}),l.createElement("path",{fill:"#FFF",d:"M0-.3h256v171H0V-.3z"}),l.createElement("path",{d:"M389.8 119.9H408v78.8h-18.3l.1-78.8zm0 117.8H408v75.1h-18.3l.1-75.1z",fill:"#A2001D"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144-.3h-32v70H0v32h112v69h32v-69h112v-32H144v-70z"}),l.createElement("path",{d:"M0-.3v15l57 39h23L0-.3zm256 0v15l-57 39h-23l80-54z"}),l.createElement("path",{d:"M0-.3v15l57 39h23L0-.3zm256 0v15l-57 39h-23l80-54zM0 170.7v-15l57-38h23l-80 53zm256 0v-15l-57-38h-23l80 53z"})),l.createElement("g",{fill:"#2E52B2"},l.createElement("path",{d:"M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zm160 23v31h-46l46-31zm-96-23v49l73-49h-73z"}),l.createElement("path",{d:"M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zm160 23v31h-46l46-31zm-96-23v49l73-49h-73zM0 147.7v-30h46l-46 30zm96 23v-49l-73 49h73zm160-23v-30h-46l46 30zm-96 23v-49l73 49h-73z"})),l.createElement("path",{fill:"#5DA51E",stroke:"#45602C",strokeWidth:4,strokeMiterlimit:10,d:"M462.8 91.5h-29.1l25.7-25.7c4.5-4.4 4.5-11.4 0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8 0l-25.9 25.9V37.4c0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2 0-11.3 5.1-11.3 11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9 0l-3.6 3.6c-4.7 4.7-4.7 12.4 0 17.2l25 25.4h-30.6c-6 0-10.9 4.9-10.9 10.9v4.6c0 6 4.9 10.9 10.9 10.9H369l-20.7 20.7c-4.4 4.4-4.4 11.4 0 15.8l3.4 3.4c4.4 4.4 11.4 4.4 15.8 0l19.6-19.6V167c0 6.1 5.1 11.1 11.3 11.3h4.7c6.2 0 11.3-5.1 11.3-11.3v-28.3l22.2 22.6c4.7 4.7 12.4 4.7 17.1 0l3.6-3.6c4.7-4.7 4.7-12.4 0-17.2L435.2 118h27.6c5.9 0 10.7-4.9 10.9-10.9v-4.6c0-6.1-4.9-11-10.9-11z"}),l.createElement("path",{fill:"#E2DD24",stroke:"#525625",strokeWidth:4,strokeMiterlimit:10,d:"M439.2 249.1h-79.8s-.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7 15.9-10.9 33.7.8 48.2.8 11.8.1 26.9-14 45-.8 12.2 8.9 3.9 28.2-1.3 36.7-7 11.5-4.7 21.8-4.7 21.8z"}))},od=function(t){var n=t.title,r=P(t,Jx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#CE1126",d:"M0 0h513v114H0z"}),l.createElement("path",{d:"M0 228h513v114H0z"}),l.createElement("path",{d:"M219.2 160.7h-29.3c1.5-5.7 6.6-9.9 12.8-9.9v-19.9c-18.3 0-33.1 14.9-33.1 33.1v16.5h49.6c1.8 0 3.3 1.5 3.3 3.3v6.6h-66.2v19.9h86.1v-26.5c0-12.7-10.4-23.1-23.2-23.1zm49.6 29.8v-59.6H249v79.5h33.1v-19.9zm66.2 0v-59.6h-19.8v59.6h-6.6v-19.8h-19.9v39.7h59.6v-19.9z",fill:"#547C31"}))},sd=function(t){var n=t.title,r=P(t,Kx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),l.createElement("path",{d:"M0 227.9h513v114H0zm278.8-93.1c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z",fill:"#D80027"}),l.createElement("path",{d:"M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zm89.2 0h22.3v24.4H89.2zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4H223zm44.7 0H290v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0H513v24.4h-22.3zm-446.1 118h22.3v25.5H44.6zm-44.6 0h22.3v25.5H0zm89.2 0h22.3v25.5H89.2zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5H223zm44.7 0H290v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0H513v25.5h-22.3z",fill:"#FFF",opacity:.5}))},ud=function(t){var n=t.title,r=P(t,qx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"32.49 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M513 210.6H202.2v130.7h-79.8V210.6H0v-79.8h122.4V0h79.8v130.8H513v18.5l-1 42.7z"}),l.createElement("path",{fill:"#D80027",d:"M513 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z"}))},cd=function(t){var n=t.title,r=P(t,Qx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#F4F5F0",d:"M342 0H0v341.3h512V0z"}),l.createElement("path",{fill:"#008C45",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#CD212A",d:"M342 0h171v342H342z"}))},dd=function(t){var n=t.title,r=P(t,Rx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M301.8 171 513 30.2V0h-45.3L256.5 140.8 45.3 0H0v30.2L211.2 171 0 311.8V342h45.3l211.2-140.8L467.7 342H513v-30.2z"}),l.createElement("path",{fill:"#FFDA44",d:"m233.7 44.6 22.3 5.6 22.3-5.6 4-20.9-14.9 6.5L256 14.8l-11.4 15.4-14.9-6.5z"}),l.createElement("path",{fill:"#D80027",d:"M233.7 44.6s-4 12.9-4 29.9c0 27.9 26.3 41.3 26.3 41.3s26.3-15.5 26.3-41.3c0-15.4-4-29.9-4-29.9s-8.1-5-22.3-5-22.3 5-22.3 5z"}))},fd=function(t){var n=t.title,r=P(t,ew);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M215.9 171 0 314.6V26.8zM513 26.8v287.8L296.1 171z"}),l.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}),l.createElement("path",{fill:"#FFDA44",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}))},hd=function(t){var n=t.title,r=P(t,tw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}),l.createElement("path",{fill:"#D80027",d:"M256.5 170.7 0 341.3V0z"}),l.createElement("path",{fill:"#FFF",d:"m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"}))},md=function(t){var n=t.title,r=P(t,nw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),l.createElement("circle",{fill:"#D80027",cx:256.5,cy:171,r:96}))},pd=function(t){var n=t.title,r=P(t,rw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h512v90.579H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 251h513v91H0z"}),l.createElement("path",{fill:"#A2001D",d:"M0 114h513v114H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"m323.3 54.5-25.6-11.8L256 137l-41.7-94.3-25.6 11.8 51.8 116.2-51.8 116.2 25.6 11.8 41.7-94.4 41.7 94.4 25.6-11.8-51.8-116.2z"}),l.createElement("path",{d:"M273.4 65.6c-9.9-10.8-17.4-17-17.4-17s-7.5 6.2-17.4 17v210.1c9.9 10.8 17.4 17 17.4 17s7.5-6.2 17.4-17V65.6z"})),l.createElement("path",{d:"M209 105.9v129.5c10.5 18.5 23.3 33.7 32.9 43.8V62.1c-9.6 10.1-22.4 25.3-32.9 43.8zm94 0c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1 22.4-25.3 32.9-43.8V105.9z",fill:"#A2001D"}),l.createElement("path",{d:"M303 105.9v129.5c10.6-18.8 18.8-41 18.8-64.8s-8.2-45.9-18.8-64.7zm-94 0v129.5c-10.6-18.8-18.8-41-18.8-64.8s8.2-45.9 18.8-64.7z"}))},gd=function(t){var n=t.title,r=P(t,iw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M0 0h513v342H0z"}),l.createElement("circle",{cx:256,cy:170.7,r:170.7})),l.createElement("path",{fill:"#FFDA44",d:"M382.4 170.7 330.8 195l27.5 50-56.1-10.7-7.1 56.6-39.1-41.7-39.1 41.7-7.1-56.6-56.1 10.7 27.5-50-51.6-24.3 51.6-24.3-27.5-50.1 56.1 10.8 7.1-56.7L256 92.1l39.1-41.7 7.1 56.7 56.1-10.8-27.5 50.1z"}),l.createElement("circle",{fill:"#D80027",cx:257.4,cy:170.7,r:71.6}),l.createElement("path",{d:"M214.2 170.7c-2.1 0-4.1.1-6.2.3.1 12 4.4 22.9 11.6 31.5 3.8-10.3 9.5-19.6 16.7-27.7-6.9-2.7-14.3-4.1-22.1-4.1zm26.6 46.5c5.2 1.9 10.8 2.9 16.6 2.9 5.8 0 11.4-1 16.6-2.9-2.8-11.1-8.7-21-16.6-28.8-7.9 7.8-13.8 17.7-16.6 28.8zm59.4-71.2c-8.5-14.8-24.5-24.7-42.8-24.7-18.3 0-34.2 9.9-42.8 24.7 15.6.1 30.2 4.3 42.8 11.6 12.6-7.3 27.2-11.6 42.8-11.6zm-21.7 28.8c7.2 8 12.9 17.4 16.7 27.7 7.2-8.5 11.5-19.5 11.6-31.5-2-.2-4.1-.3-6.2-.3-7.7 0-15.2 1.4-22.1 4.1z",fill:"#FFDA44"}))},vd=function(t){var n=t.title,r=P(t,lw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#0052B4"}),l.createElement("path",{fill:"#FFF",d:"M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"}))},bd=function(t){var n=t.title,r=P(t,aw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"75 0 300 300"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#CE1126",d:"M0 0h450v300H0V0z"}),l.createElement("g",{fill:"#FCD116"},l.createElement("circle",{cx:227.6,cy:161.2,r:56.2}),l.createElement("path",{d:"m254.1 73.4-23.7 26 28.6 6.5zm-51.5.2-4.8 33.1 28.5-8zm94.3 26.7-34.7 8.5 20.1 23.7zm-138.3-1.8 15.5 32.7 20.2-22.7zm159 45.3-34.4-9.9 5.6 29.5zm-182-2.6 31.9 19.8 5.2-27.7z"})),l.createElement("path",{fill:"#003F87",d:"M0 175h450v125H0V175z"}),l.createElement("path",{fill:"#FFF",d:"M0 267c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#FCD116",d:"m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"}))},xd=function(t){var n=t.title,r=P(t,ow);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.13 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v85.5H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.5h513V171H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 171h513v85.5H0z"}),l.createElement("path",{fill:"#6DA544",d:"M256.5 171 0 342V0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7-3.6-.8-7.3-1.2-11.1-1.2-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9c3.8 0 7.5-.4 11.1-1.2-23.3-5.1-40.8-25.9-40.8-50.7z"}),l.createElement("path",{d:"m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.3h8.9zm0 22.3 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"}),l.createElement("path",{d:"m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zm0 22.2 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"})))},wd=function(t){var n=t.title,r=P(t,sw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M512 0H0v342"}),l.createElement("path",{fill:"#FFDA44",d:"M307.7 0 0 194.5V342h206.9L513 148.5V0z"}),l.createElement("path",{d:"M513 0H385.2L0 249.4V341l126.2 1L513 91.6z"}),l.createElement("path",{d:"m141.1 187 31.2 24 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.3-22.2zM310.6 70.8l31.2 23.9 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.4-22.2z",fill:"#FFF"}))},yd=function(t){var n=t.title,r=P(t,uw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"71.82 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#91DC5A",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v57.188H0zm0 284.1h513v57.177H0z",fill:"#0052B4"}),l.createElement("path",{fill:"#D80027",d:"M0 79.9h513v181.582H0z"}),l.createElement("circle",{fill:"#FFF",cx:190.33,cy:171,r:65.668}),l.createElement("path",{fill:"#D80027",d:"m190.3 105 14.8 45.3h47.7l-38.6 28.1 14.8 45.5-38.7-28.2-38.6 28.1 14.8-45.4-38.6-28.1h47.7z"}))},Ed=function(t){var n=t.title,r=P(t,cw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h342v342H0z"}),l.createElement("path",{d:"m236.609 225.747 16.546-16.546 11.03 11.03-16.546 16.547zm-27.524 27.536 16.546-16.547 11.031 11.031-16.546 16.546zm60.597 5.501 16.546-16.546 11.031 11.03-16.546 16.546zm-27.574 27.568 16.547-16.546 11.03 11.03-16.546 16.547zm10.982-44.102 16.546-16.546 11.03 11.03-16.546 16.547zm-27.458 27.603 16.546-16.546 11.031 11.03-16.546 16.547zm.057-198.322 11.03-11.03 44.053 44.052-11.031 11.03zm-16.548 16.497 11.03-11.03 16.547 16.546-11.03 11.03zm27.464 27.494 11.03-11.03 16.547 16.546-11.031 11.03zm5.503-60.596 11.03-11.03 16.547 16.546-11.031 11.03zm27.496 27.645 11.03-11.03 16.546 16.546-11.03 11.03zM43.751 253.362l11.031-11.03 44.052 44.052-11.03 11.03zm44.059 10.997 11.03-11.03 16.547 16.545-11.031 11.031zm-27.507-27.637 11.031-11.03 16.546 16.546-11.03 11.03zm16.545-16.501 11.031-11.03 44.053 44.052-11.031 11.03zM43.819 88.013 87.87 43.96 98.9 54.991 54.85 99.043zM60.3 104.502l44.05-44.052 11.031 11.03-44.052 44.053zm16.516 16.641 44.053-44.052 11.03 11.03-44.052 44.053z"}),l.createElement("circle",{fill:"#D80027",cx:170.3,cy:170.7,r:62.3}),l.createElement("path",{fill:"#0052B4",d:"M232.2 178.3c-9.6-25.4-44.3-25-61.8 1.3-17.6 26.3-43.8 16.9-61.6.7 4.6 29.9 30.4 52.7 61.6 52.7 31.8 0 58-23.9 61.8-54.7z"}))},Cd=function(t){var n=t.title,r=P(t,dw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}),l.createElement("path",{d:"M167 227.6 0 341.3V0l167 113.8z"}))},kd=function(t){var n=t.title,r=P(t,fw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"117.99 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("circle",{fill:"#6DA544",cx:384,cy:96.5,r:29.7}),l.createElement("path",{fill:"#D80027",d:"M332.1 89H436v44.5H332.1z"}),l.createElement("path",{fill:"#496E2D",d:"M435.9 170.7z"}),l.createElement("path",{fill:"#FFDA44",d:"M332.1 200.3V230h15.6c9.4 9.2 22.2 14.8 36.3 14.8 14.1 0 27-5.7 36.3-14.8h15.6v-29.7H332.1z"}),l.createElement("path",{fill:"#338AF3",d:"M332.1 126.1v44.5c0 39.8 51.9 51.9 51.9 51.9s51.9-12.2 51.9-51.9v-44.5H332.1z"}),l.createElement("path",{d:"M384 149.9c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9zm0-41.6c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9z",fill:"#F3F3F3"}),l.createElement("path",{fill:"#FFF",d:"M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zm256 0v-15.1l-57.4-38.3H176z"})))},Id=function(t){var n=t.title,r=P(t,hw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#36B6CC",d:"M0 0h513v342H0V0z"}),l.createElement("circle",{fill:"#FFD400",cx:256.5,cy:170.9,r:68.4}),l.createElement("path",{fill:"#FFD400",d:"m256.5 251.5-27.9 41.7-7.1-49.7-43.2 25.5 15.2-47.8-50 4.2 34.4-36.5-46.9-18 46.8-18-34.4-36.5 50 4.2-15.2-47.8 43.2 25.4 7.1-49.7 27.9 41.7 27.9-41.7 7.1 49.7 43.2-25.4-15.2 47.8 50-4.2-34.3 36.6 46.8 17.9-46.8 18 34.4 36.5-50-4.2 15.2 47.8-43.2-25.4-7.1 49.7c0-.1-27.9-41.8-27.9-41.8zm0-.8c44.1 0 79.9-35.8 79.9-79.9S300.6 91 256.5 91s-79.9 35.8-79.9 79.9 35.8 79.8 79.9 79.8zM22.8 28.3c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V28.3zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V74zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm22.8-22.8c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7V245c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V188zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V96.8zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V51.2z"}))},zd=function(t){var n=t.title,r=P(t,mw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 .1h513v90.7H0zm0 251.2h513V342H0z",fill:"#D80027"}),l.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:65.9}))},Fd=function(t){var n=t.title,r=P(t,pw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 .2h513v90.7H0zm.5 251.1H513V342H.5z",fill:"#D80027"}),l.createElement("path",{fill:"#6DA544",d:"M290.3 193.5 256 130.7l-34.3 62.8h25.7v17.2h17.2v-17.2z"}),l.createElement("path",{fill:"#14AF5A",d:"M241.3 213.1c4.4-4.4 4.4-11.6-.1-16l4.7 4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5 5.9c-6.1 1.5-6.8-.4-1.8-4.2l27.1-20.3c5.1-3.8 4.2-6.9-2.3-6.9h-11c-6.4 0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8 5.1-5.1-1.5-5.1h-11c-6.4 0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8 12.9-3.8 18.5 0l27.1 20.3c5.1 3.8 4.2 6.9-2.3 6.9h-11c-6.4 0-7 2.3-1.5 5.1l25.3 12.7c5.6 2.8 5.1 5.1-1.5 5.1h-11c-6.4 0-7.4 3.1-2.3 6.9l27.1 20.3c5.1 3.8 4.4 5.7-1.8 4.2l-23.5-5.9c-6.8-1.3-13.9.6-19.1 5.3l4.7-4.7c-4.4 4.4-4.5 11.5-.1 16l6.8 6.8c4.4 4.4 3.1 8-3.3 8h-45.8c-6.2 0-7.7-3.6-3.3-8 .1.1 6.9-6.8 6.9-6.8z"}))},Md=function(t){var n=t.title,r=P(t,gw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#55B2FF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#F3F3F3",d:"M148.5 298.1h216l-108-254.2z"}),l.createElement("path",{fill:"#333",d:"m186 272.7 70.5-160.3L327 272.7z"}),l.createElement("path",{fill:"#FFDA44",d:"M148.5 298.1h216l-108-101.7z"}))},Sd=function(t){var n=t.title,r=P(t,vw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"51.3 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v171H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M149.3 98.1c0-14-11.3-25.3-25.3-25.3-6.5 0-12.4 2.4-16.9 6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4-14 0-25.3 11.3-25.3 25.3 0 7.5 3.3 14.2 8.4 18.8v14.9h84.3V117c5.3-4.7 8.5-11.5 8.5-18.9z"}))},Ad=function(t){var n=t.title,r=P(t,bw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"42.75 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#A2001D",d:"M222.6 22.3h267.1v296.8H222.6z"}),l.createElement("path",{fill:"#D80027",d:"M22.3 22.3h200.3v296.8H22.3z"}),l.createElement("path",{fill:"#FFDA44",d:"M200.3 0h22.3v342h-22.3z"}),l.createElement("path",{fill:"#6DA544",d:"M22.3 22.3h89v296.8h-89z"}),l.createElement("path",{fill:"#FF9811",d:"M111.3 22.3h89v296.8h-89z"}),l.createElement("path",{fill:"#FFDA44",d:"M368.2 156.8c-1.4-2 0-37.9 0-37.9.9-7.4.1-8.4 1-11.4.9-2.9 5.4-11.6 5.4-11.6s-6-2.3-10.3-.6c-4.3 1.7-24.7-7.5-31.2 3.4-4.4 7-23.6 16.2-24.6 14-1-2.2-5.9-5-6.9-2.9s-.7 13.9 0 16c.8 2.6 9.8 2 12.3 3.1 3.7 1.8 12.2 8.2 11.9 10.7-.3 2.5-22.5-6-24.2-4.5-1.4 1.2-1.9 13.2-.4 15 1.8 2.1 23.4 5.6 25 7.5 1.6 1.9-13.1 7.4-12.3 25 .7 14.7 8 17.4 8 17.4s-2.4 3.6-7.8 3.1c-6.2-.6-27.4-17.7-27.4-17.7s-3.5-109 3.6-121.4c4.9-8.5-22.7 10.1-22.7 50.8V151c0 6.6-1.4 22.4 2.6 34 0 0-.4 46.9 1.5 49.6s12.7 2.2 14.8 0 0-30 0-30c7.7.2 18.3 17.5 32.5 16.4 20.6-1.6 28.7-9.9 34.3-5 8.1 7.1 5.5 23.2.4 31.5-2.2 3.5-14.3 4.7-15.7 7.6-1.4 2.9.5 5.4.5 5.4h29.7s1.4-20.5 2.7-26.1c1.3-5.7-.6-10.7 5.9-10.4 23.5 1.1 39.8-15.3 45.5-8 3.2 4.1 5.6 29.9 3.3 33.3-2.2 3.4-13.8 2.8-15.2 6.7-1.4 4 .8 4.4.8 4.4h29.7s-.4-21.2 2.5-27.7 4.9-10.4 9.3-17.2c4.4-6.8 11.3-15.7 11.3-36.2 0-14.2-8.1-22.8-8.1-22.8H417c-14.1.2-47.4 2.3-48.8.3zm-136-124.5c10.7-10.6 20.2-2.7 22.2 2.1 1.9 4.8 2.1 8.2 2.8 13.6.9 6.9 4.9 14 4.9 14s-7.1-3.8-14.7-4.2c-4.7-.3-9-.6-13.6-2.5-5.7-2.3-11.7-12.9-1.6-23zm248.4-.1c10.7 10.6 2.8 20.2-2 22.2s-8.2 2.1-13.6 2.8c-6.9.9-14 5-14 5s3.7-7.1 4.2-14.7c.3-4.7.6-9.1 2.4-13.6 2.2-5.7 12.8-11.8 23-1.7zm.1 276.9c-10.7 10.6-20.2 2.6-22.2-2.2-1.9-4.8-2.1-8.2-2.7-13.6-.8-6.9-4.9-14.1-4.9-14.1s7 3.8 14.7 4.3c4.7.3 9 .6 13.6 2.5 5.7 2.4 11.7 13.1 1.5 23.1zm-248.2-.1c-10.6-10.7-2.7-20.2 2.1-22.2 4.8-1.9 8.2-2.1 13.6-2.8 6.9-.9 14-4.9 14-4.9s-3.8 7.1-4.2 14.7c-.3 4.7-.6 9-2.5 13.6-2.3 5.7-12.9 11.8-23 1.6z"}),l.createElement("path",{fill:"none",stroke:"#FFDA44",strokeWidth:6,strokeMiterlimit:10,d:"M446.9 162.4s7.5-2.6 8.4-16.1c.6-8.6-19.8-16-39-11.5-19.7 4.6-34-3.1-34-14.6 0-22.9 29.7-16.2 38.9-11.3 9.1 4.9 29.7 23.5 35.1 9.4"}))},Nd=function(t){var n=t.title,r=P(t,xw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.13 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v31.1H0zm0 62.2h513v31.1H0zm0 62.3h513v31.1H0zm0 62.3h513v31.1H0zm0 62.5h513v31.1H0zm0 61.6h513V342H0z",fill:"#bf0a30"}),l.createElement("path",{fill:"#002868",d:"M0 0h155.6v155.6H0z"}),l.createElement("path",{fill:"#FFF",d:"m77.8 30.2 10.7 32.9h34.6l-28 20.4 10.7 32.9-28-20.3-28 20.3 10.7-32.9-28-20.4h34.6z"}))},Dd=function(t){var n=t.title,r=P(t,ww);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 227.6h513v114H0z"}),l.createElement("path",{d:"m245.2 171 7.7-23.1c2-5.9 5.1-6 7.1 0l7.7 23.1 19.4 29.1c1.7 2.6 1.3 6.3-1.2 8 0 0-6.9 8-29.5 8s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8l19.5-29.1z"}),l.createElement("path",{d:"M256.5 171c-12.5 0-22.6-10.1-22.6-22.6 0-12.5 10.1-22.6 22.6-22.6s22.6 10.1 22.6 22.6c0 12.5-10.2 22.6-22.6 22.6zm0 0c6.2 0 11.3-16.3 11.3-22.6 0-6.2-5.1-11.3-11.3-11.3-6.2 0-11.3 5.1-11.3 11.3 0 6.3 5 22.6 11.3 22.6z"}))},Ld=function(t){var n=t.title,r=P(t,yw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}))},Td=function(t){var n=t.title,r=P(t,Ew);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 228h513v114H0z"}))},Bd=function(t){var n=t.title,r=P(t,Cw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{className:"prefix__st1",d:"M0 0h513v127.6H0zm0 214.4h513V342H0z",fill:"#A2001D"}))},Hd=function(t){var n=t.title,r=P(t,kw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"m281.4 150.7 9 12.3 14.5-4.7-9 12.4 9 12.3-14.5-4.7-9 12.3v-15.2l-14.5-4.7 14.5-4.7z"}),l.createElement("path",{d:"M257 201.5c-17 0-30.9-13.8-30.9-30.9s13.8-30.9 30.9-30.9c5.3 0 10.3 1.3 14.7 3.7-6.9-6.7-16.2-10.8-26.6-10.8-21 0-38 17-38 38s17 38 38 38c10.3 0 19.7-4.1 26.6-10.8-4.4 2.4-9.4 3.7-14.7 3.7z"})))},jd=function(t){var n=t.title,r=P(t,Iw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 .3V342h513V.3z"}),l.createElement("path",{fill:"#20661B",d:"M359.8 148.9h-73.3l-22.7-69.7-22.7 69.7h-73.3l59.3 43.1-22.7 69.7 59.3-43.1 59.3 43.1-22.5-69.7 59.3-43.1zm-116.1 37.7 7.7-23.6h24.8l7.7 23.6-20.1 14.6-20.1-14.6zm27.9-37.7H256l7.8-24 7.8 24zm24.3 29-4.8-14.9h25.3l-20.5 14.9zM236.6 163l-4.8 14.9-20.5-14.9h25.3zm-5.3 61.8 7.8-24 12.6 9.2-20.4 14.8zm44.5-14.9 12.6-9.2 7.8 24-20.4-14.8z"}))},Pd=function(t){var n=t.title,r=P(t,zw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.333h512v341.333H0z"}),l.createElement("path",{fill:"#c70000",d:"M0 85.333h512V256H0z"}))},Od=function(t){var n=t.title,r=P(t,Fw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#AF7F59",d:"M206.2 129.1h33.2L256 79.3l16.6 49.8h33.2v99.6L256 262l-49.8-33.2v-99.7zm33.2 33.3v49.8h33.2v-49.8h-33.2z"}))},Vd=function(t){var n=t.title,r=P(t,Mw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#E6BE53",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#E01D24",d:"M20 20h473v302H20z"}),l.createElement("path",{fill:"#E6BE53",d:"M248.5 112.9c4.4 4.4 11.6 4.4 16 0l-4.7 4.7 22.7-22.7c4.9-4.5 12.1-5.6 18.2-2.8l2.1 1c5.7 2.9 6.7 8.7 2.3 13.1l4.7-4.7-22.8 22.8c-4.5 4.9-5.6 12.1-2.8 18.2l1 2.1c2.9 5.7 5.1 15.4 5.1 21.6v-11.3c0 6.2 4.4 9.1 10.2 6.2l2.1-1c5.7-2.9 6.7-8.7 2.3-13.1l4.7 4.7c-4.4-4.4-4.4-11.6 0-16l-4.7 4.7c5.2-5.5 9.6-11.6 13.1-18.2l1-2.1c2.9-5.7 6.3-15.1 7.9-21.2l5.8-23.3c1.5-6 5.9-6.8 9.6-1.8l20.2 26.9c3.8 5.1 6.9 14 6.9 20.6v22.4c0 6.3-2.2 15.8-5.1 21.7l-1 2.1c-3.5 6.6-7.9 12.7-13.1 18.2l-6.8 6.8c-5.4 5.2-11.5 9.6-18.2 13.1l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.2 0-6.9 2.2-1.1 5.1l2.1 1c5.7 2.9 13.8 8.7 18.2 13.1l-4.7-4.7c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L339 226c4.6 4.9 5.7 12.1 2.9 18.2l-1 2.1c-2.9 5.7-10.4 10.2-16.4 10.2-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7c-4.4 4.7-5.2 11.8-1.8 17.3l10.3 15.4c3.4 5.1 2 12.1-3.1 15.5L266 284.4c-5.7 3.4-12.8 3.4-18.6 0L232 274.1c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5 2.6-12.6-1.8-17.3l4.7 4.7c-4.4-4.4-10.2-3.6-13.1 2.3l-1 2.1c-2.9 5.7-9.5 12.4-15.4 15.4l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.9-.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3 2.9-18.2l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L181 226c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c5.5-5.2 11.6-9.6 18.2-13.1l2.1-1c5.7-2.9 5-5.1-1.1-5.1-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3 3.1-15.6 6.9-20.6l20.2-26.9c3.8-5.1 8.1-4.3 9.6 1.8l5.8 23.3c2 7.3 4.6 14.4 7.9 21.2l1 2.1c2.9 5.7 8.7 13.8 13.1 18.2l-4.7-4.7c4.4 4.4 4.4 11.6 0 16l4.7-4.7c-4.4 4.4-3.6 10.2 2.3 13.1l2.1 1c5.7 2.9 10.2 0 10.2-6.2v11.3c0-6.2 2.2-15.7 5.1-21.6l1-2.1c2.8-6.1 1.7-13.2-2.8-18.2l-22.7-22.7 4.7 4.7c-4.4-4.4-3.6-10.2 2.3-13.1l2.1-1c6.1-2.8 13.2-1.7 18.2 2.8l22.7 22.7-4.8-4.5zm-18-40.7c-4.4-4.4-3.2-9.5 2.8-11.5l12.4-4.2c6-2 15.5-2 21.5 0l12.4 4.2c6 2 7.2 7.1 2.8 11.5l-6.8 6.8c-5.3 4.7-12.1 7.5-19.2 7.9-6.2 0-14.8-3.5-19.2-7.9.1 0-6.7-6.8-6.7-6.8z"}),l.createElement("path",{fill:"#215F90",d:"M233.9 200.2c0 6.2 1.7 6.4 4.2.5 0 0 7.1-23.2 18.4-23.2 11.3 0 18.6 23.6 18.6 23.6 2.2 5.7 4 5.3 4-1.1v-11.2c0-18.7-10.1-33.9-22.6-33.9-12.5 0-22.6 15.2-22.6 33.9v11.4z"}))},Gd=function(t){var n=t.title,r=P(t,Sw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"18 0 72 72"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 0h108v72H0z",fill:"#003787"}),l.createElement("path",{d:"M0 0h108L60 48v24H48V48z",fill:"#fff"}),l.createElement("circle",{cx:54,cy:30,r:8,fill:"#f9d90f"}),l.createElement("path",{d:"M44 30h20L54 48z",fill:"#fff"}),l.createElement("path",{d:"M54 48 38 33h32z",fill:"#cf142b"}))},_d=function(t){var n=t.title,r=P(t,Aw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"64.853 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M512 426.666V85.329H0v341.337h512z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.331H0v170.666h512V85.331z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.334h181.793v341.337H0z"}))},$d=function(t){var n=t.title,r=P(t,Nw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#1E509C",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M513 176.1V81.3L0 342l513-165.9z"}),l.createElement("path",{fill:"#F18D36",d:"M513 0v81.3L0 342 513 0z"}),l.createElement("path",{fill:"#FFF",d:"m126.7 99.3-7.8-54.1-7.7 54.1-20.8-23.7 10.7 31.6-31.5-10.7 23.6 20.8-54.1 7.7 54.1 7.7-23.6 20.8 31.5-10.7-10.7 31.6 20.8-23.7 7.7 54.1 7.8-54.1 20.7 23.7-10.6-31.6 31.5 10.7-23.6-20.8 54-7.7-54-7.7 23.6-20.8-31.5 10.7 10.6-31.6z"}))},Wd=function(t){var n=t.title,r=P(t,Dw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.333h512V426.67H0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M383.875 426.662 256 252.286l26.827 174.376zM133.565 85.33 256 252.286 230.314 85.33zm95.606 341.332L256 252.286 128.124 426.662zM0 85.33V212.9l256 39.386L28.333 85.33zm0 341.332h18.212L256 252.286 0 291.67zm256-174.376L512 212.9V85.33h-28.331zM281.686 85.33 256 252.286 378.434 85.33zM512 426.662V291.671l-256-39.385 237.787 174.376z"}),l.createElement("circle",{cx:256,cy:252.29,r:59.359})),l.createElement("circle",{fill:"#FFDA44",cx:256,cy:252.29,r:44.522}))},Ud=function(t){var n=t.title,r=P(t,Lw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 85.331h170.663v341.337H0z"}),l.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},Xd=function(t){var n=t.title,r=P(t,Tw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#FFF",d:"M384 227.261h-97.783L256 134.265l-30.217 92.997H128l79.108 57.475-30.217 92.998L256 320.925l79.108 56.81-30.217-92.998L384 227.261z"}))},Zd=function(t){var n=t.title,r=P(t,Bw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"22.23 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#095FAD",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M342 0h171v342H342zM0 0h171v342H0z",fill:"#BE1229"}),l.createElement("g",{fill:"#FFDA44"},l.createElement("path",{d:"M108.3 166.3h14.8v74.2h-14.8zm-59.4 0h14.8v74.2H48.9z"}),l.createElement("circle",{cx:86,cy:203.4,r:14.8}),l.createElement("path",{d:"M71.2 225.7h29.7v14.8H71.2zm0-59.4h29.7v14.8H71.2z"}),l.createElement("circle",{cx:86,cy:144,r:14.8}),l.createElement("path",{d:"M76.3 123.9h19.5L86 108.3z"})))},Yd=function(t){var n=t.title,r=P(t,Hw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#00745a",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M285.682 248.878c-4.19 0-8.166.836-11.861 2.164 2.023-4.509 3.379-9.527 3.379-14.885 0-21.201-21.201-37.101-21.201-37.101s-21.201 15.901-21.201 37.101c0 5.357 1.356 10.375 3.379 14.885-3.693-1.328-7.671-2.164-11.861-2.164-21.201 0-37.101 21.201-37.101 21.201s15.901 21.201 37.101 21.201c12.429 0 23.031-7.286 29.682-13.315 6.65 6.03 17.251 13.315 29.682 13.315 21.201 0 37.101-21.201 37.101-21.201s-15.899-21.201-37.099-21.201z"}),l.createElement("path",{d:"m256 152.111 4.38 13.476h14.171l-11.464 8.332 4.376 13.476-11.463-8.33-11.463 8.33 4.376-13.476-11.464-8.332h14.171zm-53.888 23.572 8.425 7.585 9.818-5.667-4.61 10.355 8.423 7.588-11.274-1.185-4.611 10.355-2.358-11.088-11.275-1.185 9.818-5.669zm-39.45 39.449 11.09 2.358 5.668-9.818 1.186 11.274 11.089 2.358-10.357 4.61 1.186 11.274-7.587-8.423-10.357 4.61 5.669-9.818zm147.227-39.449-8.425 7.585-9.818-5.667 4.611 10.355-8.425 7.588 11.275-1.185 4.61 10.355 2.359-11.088 11.275-1.185-9.818-5.669zm39.449 39.449-11.089 2.358-5.669-9.818-1.186 11.274-11.088 2.358 10.357 4.61-1.185 11.274 7.586-8.423 10.357 4.61-5.669-9.818z",fill:"#FFDA44"}),l.createElement("path",{d:"M256 350.642c16.84 0 32.363-5.619 44.816-15.073h-89.63c12.451 9.454 27.974 15.073 44.814 15.073zm-68.023-44.522a74.138 74.138 0 0 0 8.85 15.073h118.345a74.13 74.13 0 0 0 8.85-15.073H187.977z",fill:"#FFF"}))},Jd=function(t){var n=t.title,r=P(t,jw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"125 0 500 500"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0071BC",d:"M0 0h750v500H0V0z"}),l.createElement("g",{fill:"#FFF",stroke:"#000",strokeWidth:1.9},l.createElement("circle",{cx:375,cy:245,r:225,fill:"#fff"}),l.createElement("circle",{cx:375,cy:245,r:165,fill:"#0071BC"})),l.createElement("g",{stroke:"#000"},l.createElement("path",{fill:"#8C8A8C",strokeWidth:1.9,d:"M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z"}),l.createElement("path",{fill:"#FFF",strokeWidth:2,strokeLinejoin:"round",d:"m373 114 30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"})))},Kd=function(t){var n=t.title,r=P(t,Pw);return l.createElement("svg",j({viewBox:"150 0 600 600",xmlns:"http://www.w3.org/2000/svg"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#231f1e",d:"M0 0h900v600H0z"}),l.createElement("path",{fill:"#00a650",d:"M0 0h900v300H0z"}),l.createElement("path",{fill:"#ef1923",d:"m0 0 450 300L0 600z"}))},qd=function(t){var n=t.title,r=P(t,Ow);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 100 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#006233",d:"M0 100h513v342H0z"}),l.createElement("path",{fill:"#cd2a3e",d:"M0 100h513v46H0zm0 296h513v46H0z"}),l.createElement("path",{fill:"#ffc400",d:"M256 298.851c-45.956 0-84.348-32.298-93.767-75.429A96.288 96.288 0 0 0 160 243.994c0 53.02 42.979 96 96 96s96-42.98 96-96c0-7.066-.785-13.942-2.233-20.572-9.419 43.131-47.811 75.429-93.767 75.429z"}),l.createElement("path",{fill:"#ffc400",d:"m255.999 171.994 8.935 27.502h28.918l-23.394 16.996 8.936 27.503-23.395-16.998-23.394 16.998 8.937-27.503-23.394-16.996h28.915z"}))},Qd=function(t){var n=t.title,r=P(t,Vw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"121.41 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#1B4991",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00A2B8",stroke:"#FFF",strokeWidth:3,d:"M318.2 106.7v106.5c0 51.9 67.8 67.8 67.8 67.8s67.8-15.9 67.8-67.8V106.7H318.2z"}),l.createElement("path",{fill:"#A35023",d:"M319.7 212.7c0 50.8 66.3 66.3 66.3 66.3s66.3-15.6 66.3-66.3H319.7z"}),l.createElement("path",{d:"M415.1 155.1h-19.4v-19.4h-19.4v19.4H357v19.4h19.3v58.1h19.4v-58.1h19.4z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{fill:"#D80027",d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z"}),l.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{fill:"#D80027",d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z"}))},Rd=function(t){var n=t.title,r=P(t,Gw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#C31B28",d:"M256 0h256.5v342H256z"}),l.createElement("path",{fill:"#ACABB1",stroke:"#C31B28",strokeWidth:2,d:"M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"}))},e3=function(t){var n=t.title,r=P(t,_w);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#f7ce00",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{fill:"#e32737",d:"M0 85.331h512v85.337H0z"}),l.createElement("path",{fill:"#191f6a",d:"M0 170.657h512v85.337H0z"}),l.createElement("path",{fill:"#00a04e",d:"M0 341.331h512v85.337H0z"}))},t3=function(t){var n=t.title,r=P(t,$w);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#d01920",d:"M0 85.331h512v341.333H0z"}),l.createElement("path",{fill:"#017c3b",d:"M144.696 174.375h222.609v163.25H144.696z"}),l.createElement("path",{fill:"#FFF",d:"M283.484 304.226c-26.637 0-48.232-21.594-48.232-48.232s21.594-48.232 48.232-48.232c8.306 0 16.12 2.1 22.943 5.797-10.703-10.467-25.341-16.927-41.494-16.927-32.784 0-59.362 26.577-59.362 59.362s26.578 59.362 59.362 59.362c16.154 0 30.791-6.461 41.494-16.927-6.822 3.698-14.636 5.797-22.943 5.797z"}))},n3=function(t){var n=t.title,r=P(t,Ww);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#272727",d:"M0 0h512v114H0z"}),l.createElement("path",{fill:"#e40112",d:"M0 114h512v114H0z"}),l.createElement("path",{fill:"#07893f",d:"M0 228h512v114H0z"}),l.createElement("circle",{fill:"#e40112",cx:256,cy:125,r:95}))},r3=function(t){var n=t.title,r=P(t,Uw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#dc2339",d:"M342 0H0v341.3h513V0z"}),l.createElement("path",{fill:"#11865d",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M171 0h171v342H171z"}),l.createElement("path",{fill:"#8C9157",d:"M195.8 171.2c0 21.6 11.5 41.7 30.3 52.5 5.8 3.4 13.2 1.4 16.6-4.4 3.4-5.8 1.4-13.2-4.4-16.6-11.3-6.5-18.2-18.5-18.2-31.5 0-6.7-5.4-12.1-12.1-12.1-6.7 0-12.2 5.4-12.2 12.1zm93.4 51.1c17.5-11.1 28-30.4 28-51.1 0-6.7-5.4-12.1-12.1-12.1s-12.1 5.4-12.1 12.1c0 12.4-6.3 24-16.8 30.7-5.7 3.5-7.5 10.9-4.1 16.7s10.9 7.5 16.7 4.1c0-.2.2-.3.4-.4z"}),l.createElement("ellipse",{fill:"#C59262",cx:256.5,cy:159.1,rx:24.3,ry:36.4}))},i3=function(t){var n=t.title,r=P(t,Xw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0zm0 48.9h513V171H0zm0 48.8h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0z",fill:"#c00"}),l.createElement("path",{fill:"#006",d:"M0 0h256.5v195.4H0z"}),l.createElement("path",{d:"M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z",fill:"#fc0"}))},l3=function(t){var n=t.title,r=P(t,Zw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.333h513v342H0z"}),l.createElement("path",{fill:"#f4d900",d:"M0 323.333h513v104H0z"}),l.createElement("path",{fill:"#006d66",d:"M0 85.333h513v104H0z"}),l.createElement("path",{d:"M0 204.333h513v104H0z"}),l.createElement("path",{fill:"#cb0f31",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("path",{fill:"#f4d900",d:"m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"}))},a3=function(t){var n=t.title,r=P(t,Yw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"32.427 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.337h512"}),l.createElement("path",{fill:"#FFF",d:"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"}),l.createElement("path",{fill:"#A2001D",d:"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"}),l.createElement("path",{fill:"#FFDA44",d:"m187.737 189.212-22.741 10.696 12.11 22.024-24.693-4.724-3.129 24.945-17.199-18.347-17.2 18.347-3.129-24.945-24.693 4.723 12.109-22.023-22.739-10.696 22.74-10.697-12.11-22.022 24.693 4.722 3.13-24.944 17.199 18.347 17.2-18.347 3.128 24.944 24.693-4.722-12.108 22.024z"}))},o3=function(t){var n=t.title,r=P(t,Jw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"25.596 0 426.7 426.7"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#009543",d:"M0 293h640v133.7H0V293z"}),l.createElement("path",{fill:"#ED4135",d:"M0 132h640v161.3H0V132z"}),l.createElement("path",{fill:"#0035AD",d:"M0 0h640v133.3H0V0z"}),l.createElement("circle",{fill:"#FAE600",stroke:"#000",strokeWidth:5.3,cx:240,cy:213.3,r:157.3}),l.createElement("path",{d:"m307.9 354.5-31.8 12-36.1 4.2-37.8-2.4-35.9-15.5s28.6-29.3 40.7-33.5c8.6-3 22.4-3.7 22.4-3.7V122l-.3-66H246l-.5 67.5v191.7s15.3 1.2 22.1 4.1c11.3 4.9 40.3 35.2 40.3 35.2z"}),l.createElement("path",{d:"m212.727 102.375 42.955-21.418 5.577 11.187-42.955 21.417z"}),l.createElement("ellipse",{cx:237.8,cy:280.5,rx:16.8,ry:26.5}),l.createElement("circle",{cx:237.4,cy:143.4,r:20.9}),l.createElement("ellipse",{cx:238.4,cy:211.1,rx:19.9,ry:12.1}),l.createElement("path",{d:"M213.8 177h47v10h-47zm0 57h47v10h-47z"}))},s3=function(t){var n=t.title,r=P(t,Kw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#e05206",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#0db02b",d:"M0 312.888h512v113.775H0z"}),l.createElement("circle",{fill:"#e05206",cx:256,cy:256,r:32}))},u3=function(t){var n=t.title,r=P(t,qw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.5 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.5h513v342H0z"}),l.createElement("path",{d:"M0 85.5h171v342H0zm342 0h171v342H342zm-38 226.495-48-152.001-48 152.001h36v39.999h24v-39.999z",fill:"#007b23"}))},c3=function(t){var n=t.title,r=P(t,Qw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.5 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.5h513v342H0z"}),l.createElement("path",{d:"M0 85.5h171v342H0zm342 0h171v342H342z",fill:"#007b23"}))},d3=function(t){var n=t.title,r=P(t,Rw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#338AF3"}),l.createElement("path",{fill:"#FFDA44",d:"M256 214.447c-22.949 0-41.553 18.603-41.553 41.553S233.05 297.553 256 297.553c22.949 0 41.553-18.603 41.553-41.553S278.949 214.447 256 214.447zm0 65.298c-13.114 0-23.745-10.631-23.745-23.745s10.631-23.745 23.745-23.745 23.745 10.631 23.745 23.745-10.631 23.745-23.745 23.745z"}),l.createElement("path",{fill:"#0052B4",d:"M276.563 261.936 256 256l-20.563 5.936-6.855 11.873h54.836z"}),l.createElement("path",{fill:"#338AF3",d:"m256 226.32-13.709 23.744L256 256l13.709-5.936z"}),l.createElement("path",{fill:"#6DA544",d:"M235.437 261.936h41.126l-6.854-11.872h-27.418z"}))},f3=function(t){var n=t.title,r=P(t,ey);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#cd1f2a",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#1d4185",d:"M0 228h513v114H0z"}))},h3=function(t){var n=t.title,r=P(t,ty);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"37.547 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),l.createElement("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"}))},m3=function(t){var n=t.title,r=P(t,ny);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.337l280.419 174.75H87.61l183.576 166.576z"}),l.createElement("path",{fill:"#D80027",d:"M244.769 249.888 10.199 103.71v312.754h234.57L61.193 249.888z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"m98.003 324.433-14.589-6.863 7.77-14.13-15.844 3.03-2.008-16.005-11.035 11.772-11.036-11.772-2.008 16.005-15.843-3.031 7.77 14.131-14.591 6.863 14.591 6.862-7.77 14.13 15.844-3.029 2.007 16.004 11.036-11.772L73.332 358.4l2.008-16.004 15.843 3.03-7.769-14.13zm-9.735-132.771-10.612-4.991 5.651-10.278-11.523 2.205-1.461-11.641-8.026 8.561-8.026-8.561-1.46 11.641-11.525-2.205 5.652 10.278-10.613 4.991 25.972 5.194z"}),l.createElement("path",{d:"M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165"})))},p3=function(t){var n=t.title,r=P(t,ry);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"44.373 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 239.994h512v32H0z"}),l.createElement("path",{fill:"#FFF",d:"m174.802 341.329-19.124 8.996 10.184 18.521-20.767-3.973-2.631 20.978L128 370.422l-14.465 15.429-2.63-20.978-20.767 3.973 10.183-18.521-19.123-8.996 19.124-8.995-10.184-18.52 20.766 3.971 2.632-20.978L128 312.236l14.465-15.429 2.63 20.978 20.767-3.971-10.183 18.521z"}))},g3=function(t){var n=t.title,r=P(t,iy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.334h256v170.663H0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80z"})),l.createElement("path",{d:"M0 107.951v30.712h46.069zm96-22.62v48.913L22.628 85.331z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M256 85.329v15.083l-57.377 38.251H176z"}),l.createElement("path",{d:"M256 107.951v30.712h-46.069zm-96-22.62v48.913l73.372-48.913z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M0 85.329v15.083l57.377 38.251H80z"}),l.createElement("path",{d:"M0 107.951v30.712h46.069zm96-22.62v48.913L22.628 85.331z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M256 85.329v15.083l-57.377 38.251H176z"}),l.createElement("path",{d:"M256 107.951v30.712h-46.069zm-96-22.62v48.913l73.372-48.913z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M0 255.997v-15.082l57.377-38.252H80z"}),l.createElement("path",{d:"M0 233.376v-30.713h46.069zm96 22.618v-48.912l-73.372 48.912z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M256 255.997v-15.082l-57.377-38.252H176z"}),l.createElement("g",{fill:"#2E52B2"},l.createElement("path",{d:"M256 233.376v-30.713h-46.069zm-96 22.618v-48.912l73.372 48.912z"}),l.createElement("circle",{cx:128,cy:170.66,r:22.627})),l.createElement("path",{d:"m128 154.663 3.97 12.222h12.854l-10.398 7.556 3.971 12.222L128 179.109l-10.398 7.554 3.972-12.222-10.398-7.556h12.853zm0 65.14 2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zm0-117.334 2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zm69.931 58.667 2.365 7.277h7.653l-6.192 4.499 2.365 7.279-6.191-4.498-6.191 4.498 2.365-7.279-6.191-4.499h7.652zm-139.862 0 2.364 7.277h7.653l-6.191 4.499 2.364 7.279-6.19-4.498-6.191 4.498 2.365-7.279-6.192-4.499h7.653z",fill:"#FFDA44"}))},v3=function(t){var n=t.title,r=P(t,ly);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"114.347 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{d:"m425.301 233.745 3.388 10.428h10.963l-8.87 6.444 3.388 10.427-8.869-6.444-8.871 6.444 3.388-10.427-8.87-6.444h10.963zm-39.194 75.072 5.083 15.642h16.445l-13.305 9.667 5.082 15.64-13.305-9.667-13.305 9.667 5.083-15.64-13.305-9.667h16.445zm1.481-122.846 4.236 13.036h13.704l-11.088 8.054 4.235 13.034-11.087-8.056-11.088 8.056 4.235-13.034-11.087-8.054h13.704zm-37.712 47.32 5.082 15.641h16.446l-13.306 9.666 5.084 15.641-13.306-9.666-13.305 9.666 5.082-15.641-13.305-9.666h16.445z",fill:"#D80027"}),l.createElement("path",{fill:"#FFF",d:"M256.003 85.329v30.564l-45.178 25.088h45.178v59.359H196.89l59.113 32.846v22.806h-26.69l-73.484-40.826v40.826h-55.652v-48.573l-87.429 48.573H.003v-30.553l45.168-25.099H.003v-59.359h59.103L.003 108.147V85.329h26.68l73.494 40.838V85.329h55.652v48.573l87.43-48.573z"}),l.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"}),l.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"}),l.createElement("path",{d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915zm-83.98 0L0 240.259v15.739l100.174-55.654z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.174 140.983 0 85.33v15.738l71.847 39.915z"}),l.createElement("path",{fill:"#FFF",d:"M100.174 140.983 0 85.33v15.738l71.847 39.915z"}),l.createElement("path",{d:"M100.174 140.983 0 85.33v15.738l71.847 39.915zm83.98 0L256 101.068V85.33l-100.174 55.653z",fill:"#D80027"}))},b3=function(t){var n=t.title,r=P(t,ay);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"44.46 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M138 0h377v114H138z"}),l.createElement("path",{fill:"#4A7C3A",d:"M138 230h377v114H138z"}),l.createElement("g",{fill:"none",stroke:"#FFF",strokeWidth:10,strokeMiterlimit:2},l.createElement("path",{d:"M40.3 35.2s37.1 48 50.8 54.5c13.7 6.5 17.1 5.7 17.1 5.7"}),l.createElement("path",{d:"M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8m17.1-30.1h37.9M70.7 35.2v30.1"})))},x3=function(t){var n=t.title,r=P(t,oy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M256 256v170.663H0V256h256z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.337V256H256V85.337h256z"}),l.createElement("path",{fill:"#0052B4",d:"m128 123.034 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L128 195.813l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"}),l.createElement("path",{fill:"#D80027",d:"m384 293.697 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L384 366.476l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"}))},w3=function(t){var n=t.title,r=P(t,sy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{d:"M0 85.331h170.663v341.337H0zm341.337 0H512v341.337H341.337z",fill:"#D80027"}))},y3=function(t){var n=t.title,r=P(t,uy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#D80027"}),l.createElement("path",{fill:"#FFDA44",d:"M293.991 256c0 20.982-17.01 33.243-37.992 33.243S218.008 276.982 218.008 256s17.01-37.992 37.992-37.992 37.991 17.01 37.991 37.992z"}),l.createElement("path",{fill:"#0052B4",d:"M293.991 256c0 20.982-17.01 37.992-37.992 37.992s-37.992-17.01-37.992-37.992"}),l.createElement("path",{d:"M232.259 246.506h9.498v19h-9.498zm37.988 0h9.498v19h-9.498zm-19-14.247h9.498v33.243h-9.498z",fill:"#D80027"}))},E3=function(t){var n=t.title,r=P(t,cy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#A2001D",d:"M0 85.33h512v341.332"}),l.createElement("path",{d:"m204.631 326.488 2.762 8.504h8.941l-7.233 5.255 2.763 8.502-7.233-5.254-7.233 5.254 2.762-8.502-7.233-5.255h8.94zm-22.834-81.622 4.605 14.172h14.901l-12.056 8.757 4.605 14.172-12.055-8.759-12.055 8.759 4.606-14.172-12.056-8.757h14.901zm0 103.883 4.604 14.173h14.902l-12.057 8.757 4.606 14.173-12.055-8.759-12.055 8.759 4.604-14.173-12.054-8.757h14.899zm43.566-66.782 4.606 14.172h14.901l-12.056 8.758 4.605 14.172-12.056-8.759-12.054 8.759 4.606-14.172-12.056-8.758h14.901zm-87.133 0 4.606 14.172h14.899l-12.054 8.758 4.603 14.172-12.054-8.759-12.055 8.759 4.605-14.172-12.055-8.758h14.9z",fill:"#FFF"}),l.createElement("path",{fill:"#FFDA44",d:"M376.526 204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795c-12.698-12.698-29.714-18.431-46.319-17.218a44.31 44.31 0 0 0-11.396-19.511l-12.593 25.186a18.47 18.47 0 0 0-3.148-4.197c-7.245-7.245-18.991-7.244-26.234 0s-7.245 18.99 0 26.234a18.536 18.536 0 0 0 4.197 3.148l-25.186 12.593a44.303 44.303 0 0 0 19.519 11.399c-1.217 16.606 4.511 33.619 17.209 46.317L324.12 214.6a11.053 11.053 0 0 1 7.807-3.202c2.973 0 5.768 1.158 7.87 3.26a11.055 11.055 0 0 1 3.26 7.87c0 2.974-1.158 5.768-3.26 7.87l10.494 10.494c4.905-4.905 7.607-11.428 7.607-18.364 0-5.675-1.81-11.071-5.153-15.534a29.492 29.492 0 0 1 13.288 7.662c11.573 11.572 11.573 30.403 0 41.975l10.494 10.494c8.409-8.409 13.039-19.59 13.039-31.481-.001-11.892-4.632-23.072-13.04-31.481z"}))},C3=function(t){var n=t.title,r=P(t,dy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M512 85.337V256H256L0 85.337z"}),l.createElement("path",{fill:"#D80027",d:"M512 256v170.663H0L256 256z"}),l.createElement("path",{d:"m161.908 256-27.288-12.835 14.532-26.428-29.632 5.668-3.755-29.933-20.64 22.015-20.639-22.015-3.755 29.933-29.631-5.669 14.531 26.428L28.343 256l27.288 12.835L41.1 295.263l29.633-5.668 3.753 29.933 20.639-22.015 20.64 22.015 3.755-29.933 29.631 5.669-14.532-26.427zM21.789 117.607l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.694-14.809-4.932-9.268 12.559.117-15.608-14.809-4.934 14.88-4.712zm0 235.923 9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.695-14.809-4.933-9.268 12.558.117-15.607-14.809-4.934 14.88-4.712zm188.606-117.961-9.081 12.695-14.879-4.713 9.268 12.559-9.081 12.696 14.809-4.933 9.268 12.558-.117-15.607 14.809-4.934-14.88-4.713z",fill:"#FFDA44"}))},k3=function(t){var n=t.title,r=P(t,fy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"136.534 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"m393.508 170.516 17.512 18.875 23.363-10.821-12.541 22.487 17.513 18.876-25.263-4.978-12.539 22.488-3.073-25.564-25.263-4.978 23.363-10.82z"}),l.createElement("path",{d:"M0 85.343h512v341.326H0z"})),l.createElement("path",{fill:"#01411c",d:"M128 85.331h384v341.337H128z"}),l.createElement("path",{d:"M361.909 298.793c-31.037 22.426-74.378 15.446-96.804-15.592-22.427-31.038-15.446-74.379 15.593-96.804 9.677-6.992 20.55-11.125 31.613-12.563-21.283-3.183-43.777 1.613-62.598 15.211-38.2 27.602-46.792 80.944-19.191 119.145 27.601 38.199 80.944 46.792 119.145 19.189 18.82-13.598 30.436-33.448 34.096-54.655-4.839 10.05-12.176 19.076-21.854 26.069zm-1.329-125.904 17.484 18.842 23.322-10.802-12.519 22.447 17.483 18.844-25.219-4.968-12.519 22.45-3.067-25.521-25.22-4.969 23.323-10.802z",fill:"#FFF"}))},I3=function(t){var n=t.title,r=P(t,hy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512V256H0z"})),l.createElement("path",{fill:"#D80027",d:"M0 256h512v170.663H0z"}))},z3=function(t){var n=t.title,r=P(t,my);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},F3=function(t){var n=t.title,r=P(t,py);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"114.347 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#ACABB1",d:"M400.696 219.822 384 225.387l-16.696-5.565-5.565-13.913 5.565-13.913h33.392l-5.566 13.913z"}),l.createElement("path",{fill:"#338AF3",d:"M345.043 219.822v61.217c0 29.821 38.957 38.957 38.957 38.957s38.957-9.137 38.957-38.957v-61.217h-77.914z"}),l.createElement("path",{fill:"#6DA544",d:"M348.555 295.541C358.131 313.927 384 319.996 384 319.996s25.869-6.069 35.445-24.455L384 236.518l-35.445 59.023z"}),l.createElement("path",{fill:"#FFDA44",d:"M422.957 280.421 384 219.822l-38.957 60.599v.618c0 5.518 1.337 10.328 3.512 14.503L384 240.405l35.445 55.137c2.175-4.175 3.512-8.983 3.512-14.503v-.618z"}),l.createElement("path",{fill:"#FFF",d:"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"}),l.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),l.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),l.createElement("path",{d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915zm-83.98 0L0 240.259v15.737l100.174-55.652z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),l.createElement("path",{fill:"#FFF",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),l.createElement("path",{d:"M100.174 140.982 0 85.33v15.737l71.847 39.915zm83.98 0L256 101.067V85.33l-100.174 55.652z",fill:"#D80027"}))},M3=function(t){var n=t.title,r=P(t,gy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.12 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512V153.6H0zm0 136.526h512v68.263H0zM0 358.4h512v68.263H0z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("path",{fill:"#FFF",d:"m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"}))},S3=function(t){var n=t.title,r=P(t,vy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.12 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#268024",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#e4312b",d:"M256 256.006 0 426.668V85.331z"}))},A3=function(t){var n=t.title,r=P(t,by);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"30.72 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M196.641 85.337v341.326H0V85.337z"}),l.createElement("circle",{fill:"#FFDA44",cx:196.641,cy:256,r:64}),l.createElement("path",{fill:"#D80027",d:"M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z"}),l.createElement("path",{fill:"#FFF",d:"M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z"}))},N3=function(t){var n=t.title,r=P(t,xy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"49.493 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),l.createElement("circle",{fill:"#FFDA44",cx:218.902,cy:255.994,r:74.207}))},D3=function(t){var n=t.title,r=P(t,wy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#6DA544",d:"m289.579 216.738-12.592 12.592c5.37 5.372 8.693 12.792 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.112-5.316-24.985-13.91-33.579z"}),l.createElement("path",{fill:"#FFDA44",d:"m256 232.51 4.421 13.605h14.304l-11.573 8.408 4.421 13.604L256 259.719l-11.573 8.408 4.421-13.604-11.573-8.408h14.304z"}))},L3=function(t){var n=t.title,r=P(t,yy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#751A46",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 0v342h150.3l37.7-19.6-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19 37.7-18.9-37.7-19 37.7-19-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19L188 57l-37.7-19L188 19.1 150.3 0z"}))},T3=function(t){var n=t.title,r=P(t,Ey);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},B3=function(t){var n=t.title,r=P(t,Cy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),l.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},H3=function(t){var n=t.title,r=P(t,ky);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"61.44 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.331h512v113.775H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 312.882h512v113.775H0z"}),l.createElement("path",{fill:"#D80027",d:"M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z"}),l.createElement("path",{d:"M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zm85.526 82.148-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z",fill:"#FFDA44"}),l.createElement("path",{fill:"#FFF",d:"M241.16 233.734h-22.504a14.74 14.74 0 0 0 2.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0 0 18.149 3.544 48.079 48.079 0 0 0 18.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z"}))},j3=function(t){var n=t.title,r=P(t,Iy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.33v341.332h512V85.33z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.333h512v113.775H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 312.884h512v113.775H0z"}))},P3=function(t){var n=t.title,r=P(t,zy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 255.994h512v81.619H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 337.614h512v89.043H0z"}),l.createElement("path",{fill:"#FFDA44",d:"m278.261 185.209 20.844 9.804-11.099 20.186 22.632-4.33 2.868 22.865 15.765-16.816 15.766 16.816 2.867-22.865 22.633 4.33-11.099-20.186 20.843-9.804-20.844-9.805 11.1-20.185-22.633 4.329-2.868-22.864-15.765 16.816-15.766-16.816-2.867 22.864-22.634-4.329 11.1 20.187z"}))},O3=function(t){var n=t.title,r=P(t,Fy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#055e1c",d:"M0 85.333h512v341.333H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zm146.716-107.595v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zm-155.773 51.943c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z"}),l.createElement("path",{d:"M297.661 181.788h21.736v51.942h-21.736zm-32.604 29.685c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z"}),l.createElement("path",{d:"M207.093 248.57h32.601v22.261h-32.601z"})))},V3=function(t){var n=t.title,r=P(t,My);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"27.307 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.329h512"}),l.createElement("path",{fill:"#FFDA44",d:"M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z"}),l.createElement("path",{d:"m85.688 108.787 5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.12-15.757L64 124.543h16.567zm84.624 0 5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zm-84.624 82.502 5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zm84.624 0 5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z",fill:"#FFF"}))},G3=function(t){var n=t.title,r=P(t,Sy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"87.04 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M235.454 85.337 0 426.663 427.345 85.337z"}),l.createElement("path",{fill:"#6DA544",d:"M512 329.393 0 426.663h512z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.337h-84.655L0 426.663l512-204.512z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.337v341.326L235.454 85.337z"}))},_3=function(t){var n=t.title,r=P(t,Ay);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.413 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 426.668V85.331l256 170.675z"}))},$3=function(t){var n=t.title,r=P(t,Ny);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"30.72 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"}))},W3=function(t){var n=t.title,r=P(t,Dy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512V256H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 0 0-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zm66.783-48.231 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z"}),l.createElement("path",{d:"m121.344 144.696 3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zm57.834 0 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zm-11.131 33.391 3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zm-35.573 0 3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z"})))},U3=function(t){var n=t.title,r=P(t,Ly);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"112.662 0 341.3 341.3"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.3H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z"})),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{d:"M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z",fill:"#D80027"}),l.createElement("path",{fill:"#29DBFF",d:"M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z"}),l.createElement("path",{fill:"#ffda44",d:"M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z"}),l.createElement("path",{fill:"#BF521B",d:"m369.5 204.5.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z"}),l.createElement("path",{fill:"#474747",d:"m436.6 192.5-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z"}))},X3=function(t){var n=t.title,r=P(t,Ty);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 199.112h512v113.775H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),l.createElement("path",{fill:"#0052B4",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),l.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"}))},Z3=function(t){var n=t.title,r=P(t,By);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"40.96 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),l.createElement("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"}))},Y3=function(t){var n=t.title,r=P(t,Hy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"66.56 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 196.641h512v118.717H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 315.359h512v111.304H0z"}),l.createElement("path",{fill:"#FFF",d:"M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"}),l.createElement("path",{fill:"#D80027",d:"M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"}),l.createElement("path",{fill:"#FFF",d:"M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"}),l.createElement("path",{fill:"#0052B4",d:"M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"}))},J3=function(t){var n=t.title,r=P(t,jy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 312.888h512v113.775H0z"}))},K3=function(t){var n=t.title,r=P(t,Py);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.34h512v341.326H0z"}),l.createElement("path",{fill:"#FFF",d:"M512 85.334v166.69L0 256.175V85.334z"}),l.createElement("path",{fill:"#6DA544",d:"M323.744 203.099 256 270.843l-67.744-67.744a81.156 81.156 0 0 0-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 0 0-13.881-45.483z"}),l.createElement("path",{fill:"#FFDA44",d:"M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z"}),l.createElement("path",{fill:"#338AF3",d:"M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z"}),l.createElement("path",{fill:"#6DA544",d:"M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z"}),l.createElement("path",{fill:"#FFDA44",d:"M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 0 0-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 0 0-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z"}))},q3=function(t){var n=t.title,r=P(t,Oy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M330.207 85.331H512v341.337H330.207z"}),l.createElement("path",{d:"M0 85.331h181.793v341.337H0zm255.999 111.301 14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z",fill:"#496E2D"}))},Q3=function(t){var n=t.title,r=P(t,Vy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"m256 157.273 22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z"}))},R3=function(t){var n=t.title,r=P(t,Gy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#A2001D",d:"M0 196.636h512v118.728H0z"}),l.createElement("path",{d:"M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z",fill:"#6DA544"}),l.createElement("path",{fill:"#FFDA44",d:"m256.742 218.003 9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z"}))},ef=function(t){var n=t.title,r=P(t,_y);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.12 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 322.783h512v103.88H0z"}),l.createElement("path",{d:"M0 85.337h512v104.515H0z"}),l.createElement("path",{fill:"#A2001D",d:"M0 210.877h512v89.656H0z"}),l.createElement("path",{fill:"#0052B4",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("path",{fill:"#FFDA44",d:"m73.178 209.188 20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z"}))},tf=function(t){var n=t.title,r=P(t,$y);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#6DA544"}),l.createElement("path",{fill:"#D80027",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("path",{d:"m302.049 226.318 7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zm74.203 0 7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z"}))},nf=function(t){var n=t.title,r=P(t,Wy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#0052B4"}),l.createElement("path",{fill:"#FFDA44",d:"M228.582 261.936 256 214.447l27.418 47.489z"}),l.createElement("path",{fill:"#6DA544",d:"M291.616 277.616 256 295.425l-35.616-17.809v-23.744h71.232z"}),l.createElement("path",{fill:"#FFDA44",d:"m289.579 216.485-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z"}))},rf=function(t){var n=t.title,r=P(t,Uy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.413 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.331v166.69L0 256.173V85.331z"}),l.createElement("path",{fill:"#FFF",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("g",{fill:"#FFDA44"},l.createElement("path",{d:"M59.621 256a59.546 59.546 0 0 0-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z"}),l.createElement("circle",{cx:118.862,cy:210.287,r:18.286})),l.createElement("path",{fill:"#D80027",d:"M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z"}),l.createElement("path",{fill:"#338AF3",d:"M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z"}),l.createElement("path",{fill:"#F3F3F3",d:"M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z"}))},lf=function(t){var n=t.title,r=P(t,Xy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"150 0 600 600"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 0h900v600H0z",fill:"#0f0f0f"}),l.createElement("path",{d:"M0 0h900v400H0z",fill:"#fff"}),l.createElement("path",{d:"M0 0h900v200H0z",fill:"#047a3f"}),l.createElement("path",{d:"m176.26 375 48.738-150 48.738 150-127.6-92.705h157.72M626.256 375l48.738-150 48.738 150-127.6-92.705h157.72M401.252 375l48.738-150 48.738 150-127.6-92.705h157.72",fill:"#ce1126"}))},af=function(t){var n=t.title,r=P(t,Zy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"150 0 600 600"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#2B5DEA",d:"M0 0h900v600H0V0z"}),l.createElement("path",{fill:"#FFDF29",d:"M0 100h900v400H0V100z"}),l.createElement("path",{fill:"#D70000",d:"M0 150h900v300H0V150z"}),l.createElement("path",{fill:"#FFF",d:"M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z"}),l.createElement("path",{d:"M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z"}),l.createElement("path",{fill:"#FFF",d:"M346.3 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}),l.createElement("path",{d:"M477.8 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}))},of=function(t){var n=t.title,r=P(t,Yy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"100.713 0 341.3 341.3"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.3H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z"})),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{d:"M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z",fill:"#D80027"}),l.createElement("path",{fill:"#29DBFF",d:"M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z"}),l.createElement("path",{fill:"#FFF",d:"M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9"}),l.createElement("path",{fill:"#29DBFF",d:"m385.4 251.7-22.9-43h45.8z"}),l.createElement("path",{fill:"#FFF",d:"m385.4 165.8-22.9 42.9h45.8z"}),l.createElement("ellipse",{fill:"#FFBE57",cx:474.8,cy:236.8,rx:16.8,ry:43.3}),l.createElement("ellipse",{fill:"#FFBE57",cx:295.3,cy:236.8,rx:16.8,ry:43.3}),l.createElement("path",{fill:"#FFF",d:"m385.4 31.5-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z"}),l.createElement("ellipse",{fill:"#A5A5A5",cx:386.3,cy:104.3,rx:34.3,ry:23.3}))},sf=function(t){var n=t.title,r=P(t,Jy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"114.347 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M332.058 191.996v78.221c0 38.103 51.942 49.779 51.942 49.779s51.942-11.675 51.942-49.779v-78.221H332.058z"}),l.createElement("path",{fill:"#FF9811",d:"M376.579 220.44c0 7.855-6.644 28.445-14.84 28.445s-14.84-20.589-14.84-28.445c0-7.856 14.84-14.222 14.84-14.222s14.84 6.367 14.84 14.222z"}),l.createElement("path",{fill:"#A2001D",d:"M415.961 235.93c2.394-5.6 4.257-13.785 4.257-17.86 0-6.546-8.904-11.852-8.904-11.852s-8.904 5.306-8.904 11.852c0 4.075 1.862 12.26 4.257 17.86l-5.141 11.123a26.898 26.898 0 0 0 9.788 1.831c3.463 0 6.766-.654 9.788-1.831l-5.141-11.123z"}),l.createElement("path",{fill:"#6DA544",d:"M372.87 270.217s-7.421 14.222-7.421 28.445h37.101c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111-11.129 7.111z"}),l.createElement("path",{fill:"#D80027",d:"M395.13 270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666-6.147 0-11.13 4.776-11.13 10.666v3.555h22.26z"}),l.createElement("path",{fill:"#FFF",d:"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"}),l.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),l.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),l.createElement("path",{d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915zm-83.98 0L0 240.259v15.737l100.174-55.652z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),l.createElement("path",{fill:"#FFF",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),l.createElement("path",{d:"M100.174 140.982 0 85.33v15.737l71.847 39.915zm83.98 0L256 101.067V85.33l-100.174 55.652z",fill:"#D80027"}))},uf=function(t){var n=t.title,r=P(t,Ky);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),l.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},cf=function(t){var n=t.title,r=P(t,qy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.75 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h21v15H0V0z"}),l.createElement("path",{fill:"#0A388A",d:"M0 0h22.5v15H0V0z"}),l.createElement("path",{fill:"#FFF",d:"M0 0h11.3v7.5H0V0z"}),l.createElement("path",{fill:"#D80027",d:"M7.1 0h3.6v7H7.1V0z"}),l.createElement("path",{fill:"#0A388A",d:"M0 0h3.6v7H0V0z"}),l.createElement("path",{fill:"#FFF",d:"M3.6 0h3.6v7H3.6V0zm10.9 6h5L19 7h-1.5v.5h1l-.5 1h-.5V10h-1V7H15l-.5-1zm4 2.5 1 1.5h-2l1-1.5zm-3 0 1 1.5h-2l1-1.5zm1.5 3L16 10h2l-1 1.5zM20 8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-6 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm1 4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm4 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-2 1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5z"}))},df=function(t){var n=t.title,r=P(t,Qy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zm0-136.537h512v68.263H0z",fill:"#496E2D"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h204.054v204.054H0z"}),l.createElement("path",{fill:"#FFF",d:"m102.026 133.938 13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z"}))},ff=function(t){var n=t.title,r=P(t,Ry);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.334h512V426.66H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 194.056h512v123.882H0z"}),l.createElement("path",{d:"M0 85.334h512v54.522H0zm0 286.809h512v54.522H0z",fill:"#D80027"}))},hf=function(t){var n=t.title,r=P(t,eE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{d:"M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zm-33.963-29.682 2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zm8.566-29.68 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm24.488-22.261 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm94.236 51.941-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zm-8.566-29.68-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zm-24.488-22.261-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z",fill:"#FFDA44"}))},mf=function(t){var n=t.title,r=P(t,tE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"18.773 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"m210.715 174.377 3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zm-93.899 107.594 4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zm27.88-162.292 4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zm-75.157 55.652 4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z",fill:"#FFF"}),l.createElement("path",{d:"M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zm-365.585 11.586c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.195-17.37 0-17.37H117.801z",fill:"#FFDA44"}))},pf=function(t){var n=t.title,r=P(t,nE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M256 256 0 90.691v44.242L155.826 256 0 377.067v44.242z"}),l.createElement("path",{d:"M0 90.691v330.618L189.217 256z"}),l.createElement("path",{fill:"#FFF",d:"m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z"}))},gf=function(t){var n=t.title,r=P(t,rE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"81.92 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 85.337h512v341.326H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0 1 10.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 0 1-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zm-46.571-67.95-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z"}),l.createElement("path",{d:"m330.338 146.448-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zm-.799 35.189-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zm33.484 12.013-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z"})),l.createElement("path",{fill:"#D80027",d:"M83.478 85.337h89.043v341.326H83.478z"}),l.createElement("path",{fill:"#FFF",d:"m117.458 175.191-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z"}),l.createElement("path",{d:"M128 137.276h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.105v-8.012H128z",fill:"#FF9811"}),l.createElement("path",{fill:"#FFF",d:"m117.458 374.725-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z"}),l.createElement("path",{d:"M128 336.81h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.106v-8.011H128z",fill:"#FF9811"}),l.createElement("path",{d:"m117.458 274.957-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zm36.513 24.434h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zm0-99.768h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z",fill:"#496E2D"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M120.576 248.576h14.84v14.84h-14.84z"}),l.createElement("circle",{cx:128,cy:206.113,r:7.421}),l.createElement("circle",{cx:128,cy:305.887,r:7.421})))},vf=function(t){var n=t.title,r=P(t,iE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),l.createElement("circle",{fill:"#FFF",cx:256,cy:255.994,r:96}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"m267.826 219.291 16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z"}),l.createElement("path",{d:"M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z"})))},bf=function(t){var n=t.title,r=P(t,lE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"11.947 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.331h256v170.663H0z"}),l.createElement("path",{fill:"#D80027",d:"M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"}))},xf=function(t){var n=t.title,r=P(t,aE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"76.95 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#E30A17",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"}))},wf=function(t){var n=t.title,r=P(t,oE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFF",d:"m6.066 85.337 207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z"}),l.createElement("path",{d:"M43.364 85.337 384.69 426.663h83.946L127.31 85.337z"}))},yf=function(t){var n=t.title,r=P(t,sE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"150 0 600 600"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h900v600H0z"}),l.createElement("path",{fill:"#00B2EE",d:"M0 300h450V0h450v600H0V300z"}),l.createElement("path",{fill:"#FFDA44",d:"m345.3 480.9 29.4 90.6-77.1-56H393l-77.1 56 29.4-90.6zM706.4 340l29.4 90.6-77.1-56H754l-77.1 56 29.5-90.6zm106.4-78.5 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zm0-224.1 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6z"}),l.createElement("path",{fill:"#FFF",d:"M449.9 0v206.3h-81l81 54V300h-39.7l-129-85.9V300H168.7v-85.9L39.7 300H0v-39.7l81-54H0V93.8h81L0 39.9V0h39.7l129 85.9V0h112.5v85.9L410.2 0z"}),l.createElement("path",{fill:"#D80027",d:"M253.1 0h-56.3v122H0v56.2h196.8V300h56.3V178.2h196.8V122H253.1z"}),l.createElement("path",{fill:"#2E52B2",d:"M449.9 39.9v53.9h-81z"}),l.createElement("path",{fill:"#D80027",d:"M0 300v-19.3l109.9-74.4h39.7L12.8 300zM12.8.1l136.8 93.7h-39.7L0 19.4V.1zm437.1.1v19.3L340 93.8h-39.7L437.1.2zM437.1 300l-136.8-93.7H340l109.9 74.4V300z"}),l.createElement("path",{fill:"#FFDA44",d:"m719.9 131.6 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM584 187.7l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zm30 242.9 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM488 332l29.4 90.6-77.1-56h95.3l-77.1 56L488 332zm0 132 29.4 90.6-77.1-56h95.3l-77.1 56L488 464z"}))},Ef=function(t){var n=t.title,r=P(t,uE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"6.827 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.337h256V256H0z"}),l.createElement("path",{fill:"#FFF",d:"M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"}),l.createElement("circle",{fill:"#0052B4",cx:128,cy:170.674,r:29.006}),l.createElement("path",{fill:"#FFF",d:"M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"}))},Cf=function(t){var n=t.title,r=P(t,cE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 426.663V85.337h512"}),l.createElement("path",{fill:"#FFDA44",d:"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"}),l.createElement("path",{d:"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"}))},kf=function(t){var n=t.title,r=P(t,dE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 85.337h512V256H0z"}))},If=function(t){var n=t.title,r=P(t,fE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.35 0 341.3 341.3"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#232323",d:"M0 0h512v341.3H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 56.9h512v56.9H0z"}),l.createElement("path",{fill:"#D32300",d:"M0 113.8h512v56.9H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 227.6h512v56.9H0z"}),l.createElement("path",{fill:"#D32300",d:"M0 284.4h512v56.9H0z"}),l.createElement("circle",{fill:"#FFF",cx:256,cy:170.7,r:80.7}),l.createElement("path",{d:"M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z"}))},zf=function(t){var n=t.title,r=P(t,hE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),l.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},Ff=function(t){var n=t.title,r=P(t,mE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"59.85 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),l.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},Mf=function(t){var n=t.title,r=P(t,pE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"10.26 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 38h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z",fill:"#0038a8"}),l.createElement("path",{fill:"#FFF",d:"M0 0h256.5v190H0z"}),l.createElement("path",{fill:"#FED443",d:"m128.3 138.7-15.1 22.6-3.8-26.9L86 148.2l8.2-25.9-27.2 2.2 18.6-19.8L60.3 95l25.4-9.7L67 65.5l27.1 2.3-8.2-25.9 23.4 13.8 3.9-26.9 15.1 22.6 15.1-22.6 3.8 26.9 23.4-13.8-8.2 25.9 27.1-2.2-18.6 19.8 25.4 9.7-25.4 9.7 18.6 19.8-27.1-2.2 8.2 25.9-23.4-13.8-3.9 26.9-15-22.7zm0-.5c23.9.9 44-17.6 44.9-41.5.9-23.9-17.6-44-41.5-44.9h-3.4c-23.9.8-42.6 20.8-41.8 44.6.6 22.8 19 41.1 41.8 41.8zm0-10.6c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.3 34-34 34z"}))},Sf=function(t){var n=t.title,r=P(t,gE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 322.783h512v103.88H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 210.877h512v89.656H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),l.createElement("path",{d:"M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 0 0-7.155-.777c-18.442 0-33.391 14.949-33.391 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zm45.97 15.177 2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm23.347 0 2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zm23.347 0 2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm-70.042-24.284 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm23.347 0 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm-46.695-24.284 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z",fill:"#FFF"}))},Af=function(t){var n=t.title,r=P(t,vE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 85.331h256v341.337H256z"}),l.createElement("path",{fill:"#ACABB1",d:"m321.353 233.837 32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 1 1 8.95 11.84 7.421 7.421 0 0 1-8.95-11.84z"}),l.createElement("path",{fill:"#FFDA44",d:"m376.367 247.24 17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 1 1-11.84-8.95 7.42 7.42 0 0 1 11.84 8.95z"}))},Nf=function(t){var n=t.title,r=P(t,bE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 85.331h170.663v341.337H0z"}),l.createElement("path",{d:"M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zm83.478 0-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z",fill:"#6DA544"}))},Df=function(t){var n=t.title,r=P(t,xE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.75 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFCE00",d:"M0 0h22.5v5H0z"}),l.createElement("path",{fill:"#203899",d:"M0 5h22.5v5H0z"}),l.createElement("path",{fill:"#D82B2B",d:"M0 10h22.5v5H0z"}),l.createElement("path",{fill:"#FFF",d:"m12.13 5.38.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zm-1.77 0 .27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zm3.44.56-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zm-5.11.02.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zm6.55 1.17-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zm.19 1.12.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zm.31-1.15.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z"}))},Lf=function(t){var n=t.title,r=P(t,wE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"112.64 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 85.334V202.66h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80zm256 0v15.083l-57.377 38.251H176z"})),l.createElement("path",{fill:"#2E52B2",d:"M256 107.951v30.712h-46.069z"}),l.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80zm256 0v15.083l-57.377 38.251H176z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M256 107.951v30.712h-46.069z"}),l.createElement("path",{d:"M0 255.997v-15.082l57.377-38.252H80zm256 0v-15.082l-57.377-38.252H176z",fill:"#D80027"}),l.createElement("path",{fill:"#FFDA44",d:"m384 259.706-46.129 46.129c8.645 16.675 26.051 28.074 46.129 28.074s37.484-11.4 46.129-28.074L384 259.706z"}),l.createElement("path",{fill:"#6DA544",d:"M332.058 178.084v81.624c.001 39.759 51.942 51.941 51.942 51.941s51.941-12.182 51.942-51.942v-81.623H332.058z"}),l.createElement("path",{fill:"#FFF",d:"M372.87 215.181h22.261v59.359H372.87z"}),l.createElement("circle",{fill:"#A2001D",cx:384,cy:215.181,r:11.13}),l.createElement("path",{d:"M346.902 192.92h14.84v14.84h-14.84zm0 33.392h14.84v14.84h-14.84zm0 33.391h14.84v14.84h-14.84zm59.359-66.783h14.84v14.84h-14.84zm0 33.392h14.84v14.84h-14.84zm0 33.391h14.84v14.84h-14.84z",fill:"#FFDA44"}))},Tf=function(t){var n=t.title,r=P(t,yE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.35 0 341.3 341.3"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h512v341.3H0z"}),l.createElement("path",{fill:"#1583C4",d:"m397.7 166.3-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z"}),l.createElement("path",{fill:"#1583C4",d:"m404.9 188-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z"}),l.createElement("path",{fill:"#1583C4",d:"m379 181.3-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z"}),l.createElement("path",{fill:"#409347",d:"M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z"}),l.createElement("g",{fill:"#FFD836",stroke:"#231F20",strokeMiterlimit:10},l.createElement("path",{d:"M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.6-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z"}),l.createElement("path",{d:"m466.1 48.4-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z"})),l.createElement("path",{fill:"#FFF",stroke:"#231F20",strokeMiterlimit:10,d:"M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3z"}),l.createElement("path",{d:"M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zm71.6 0V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M201.3 111.8h119.4v37.9H201.3z"}),l.createElement("path",{fill:"#1583C4",d:"m60.1 210.5-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zm391.4-58.6h18.9v81.7h-18.9z"}))},Bf=function(t){var n=t.title,r=P(t,EE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M196.641 85.337H0v341.326h512V85.337z"}),l.createElement("path",{fill:"#FFDA44",d:"m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"}))},Hf=function(t){var n=t.title,r=P(t,CE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M512 256v170.663H0L215.185 256z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.337V256H215.185L0 85.337z"}),l.createElement("path",{d:"M221.001 239.304 26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z"}),l.createElement("g",{fill:"#FFDA44"},l.createElement("path",{d:"M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z"}),l.createElement("path",{d:"M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 0 0 4.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z"})))},jf=function(t){var n=t.title,r=P(t,kE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"9 0 100 100"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80B30",d:"M0 0h150v100H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h20v44.33H0z"}),l.createElement("path",{fill:"#FFF",d:"M20 0h20v44.33H20z"}),l.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:3,d:"M0 44.33h62.75V0"}),l.createElement("path",{fill:"#FFF",d:"M108.08 43.29 87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71 20.13-20.13v40.25L114.79 50z"}))},Pf=function(t){var n=t.title,r=P(t,IE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15.36 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.331h256v170.663H0z"}),l.createElement("path",{d:"m165.483 181.79 2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zm-44.904-66.783 4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zm44.522 14.841 4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zm-35.192 59.363 4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zm-39.01-37.103 4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z",fill:"#FFF"}))},Of=function(t){var n=t.title,r=P(t,zE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.335 0 341.33 341.33"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.34H0z"}),l.createElement("path",{d:"m220.72 42.63 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zm70.56-.06 7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zm62.08 11.36 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zm63.01 18.3 7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zm-257.73-18.3 7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zm-63.01 18.3 7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z",fill:"#FFF"}),l.createElement("path",{fill:"#FFDA44",d:"m217.53 259.33-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z"}))},Vf=function(t){var n=t.title,r=P(t,FE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{d:"M0 312.888h512v113.775H0z"}))},Gf=function(t){var n=t.title,r=P(t,ME);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15 0 60 60"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h90v60H0z"}),l.createElement("path",{stroke:"#7f7f7f",strokeWidth:.25,fill:"#ABABAB",d:"M75.6 39.6c-1.1.7 0 1.8-.6 1.9-.6.1-1.5-1.4-.2-2.5 1.6-1.5 5.8 0 5.9 4.3 0 2.2-.9 6.8-7.2 6.8-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2s5.7-2.4 5.8-4.9c.1-3.9-3-4.4-3.7-4zm-64.9 4c.1 2.5 1.8 4.7 5.8 4.9s8.2-2.2 8.5-5.2c.8-7.5-9.7-11.3-10.3-12-.7-.7-.5 3.9-.5 3.9s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2 1.6 4.3-1c-2.9-4-.6-11.7 7-11.7 2.1 0 1.8 3.9 3 5.5 1.1 1.5 4 3.5 4 4.6s-3.5.3-6.6-1.4c-1.9-1-3.3-1.4-3.3-.9.1 1.5 3.7 3.8 6.8 5 2.8 1.1 6.5 9.8 6.5 14.6 0 5.7-3.8 11.4-11.4 11.4-6.3 0-7.2-4.6-7.2-6.8.1-4.3 4.3-5.8 5.9-4.3 1.2 1.1.4 2.7-.2 2.5-.6-.1.6-1.2-.6-1.9-.6-.4-3.7.1-3.7 4z"}),l.createElement("path",{fill:"#DE393A",d:"M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z"}),l.createElement("path",{fill:"#3951A3",d:"M31 13.1h28v15.7H31z"}),l.createElement("path",{fill:"#FFF",d:"M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z"}),l.createElement("circle",{fill:"#FEE05F",cx:39.1,cy:36.5,r:3}),l.createElement("circle",{fill:"#FEE05F",cx:50.9,cy:36.5,r:3}))},_f=function(t){var n=t.title,r=P(t,SE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"35.84 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M114.024 256.001 0 141.926v228.17z"}),l.createElement("path",{fill:"#ffb915",d:"M161.192 256 0 94.7v47.226l114.024 114.075L0 370.096v47.138z"}),l.createElement("path",{fill:"#007847",d:"M509.833 289.391c.058-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z"}),l.createElement("path",{fill:"#000c8a",d:"M503.181 322.783H236.433l-103.881 103.88H512v-103.88z"}),l.createElement("path",{fill:"#e1392d",d:"M503.181 189.217H512V85.337H132.552l103.881 103.88z"}))},$f=function(t){var n=t.title,r=P(t,AE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"170.667 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FF9811",d:"M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z"}),l.createElement("path",{fill:"#D80027",d:"M341.337 255.994h56.888v170.663h-56.888z"}),l.createElement("path",{fill:"#FF9811",d:"M455.112 255.994H512v170.663h-56.888z"}),l.createElement("path",{d:"M398.225 255.994h56.888v170.663h-56.888z"}))},Wf=function(t){var n=t.title,r=P(t,NE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"13.653 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{d:"M0 134.196h512v48.868H0zm0 195.472h512v48.868H0z",fill:"#FFDA44"}),l.createElement("path",{fill:"#057f44",d:"M0 85.333h512v48.868H0z"}),l.createElement("path",{d:"M0 183.069h512v48.868H0zm0 97.737h512v48.868H0z",fill:"#D80027"}),l.createElement("path",{fill:"#057f44",d:"M0 378.542h512v48.128H0z"}),l.createElement("path",{fill:"#FFF",d:"M276.992 255.996 106.329 426.659H0V85.333h106.329z"}),l.createElement("path",{d:"M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"}),l.createElement("path",{fill:"#D80027",d:"m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"}),l.createElement("path",{fill:"#FFDA44",d:"m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"}))};const si=Object.freeze(Object.defineProperty({__proto__:null,AC:a0,AD:o0,AE:s0,AF:u0,AG:c0,AI:d0,AL:f0,AM:h0,AO:m0,AQ:p0,AR:g0,AS:v0,AT:b0,AU:x0,AW:w0,AX:y0,AZ:E0,BA:C0,BB:k0,BD:I0,BE:z0,BF:F0,BG:M0,BH:S0,BI:A0,BJ:N0,BL:D0,BM:L0,BN:T0,BO:B0,BQ:H0,BR:j0,BS:P0,BT:O0,BV:V0,BW:G0,BY:_0,BZ:$0,CA:W0,CC:U0,CD:X0,CF:Z0,CG:Y0,CH:J0,CI:K0,CK:q0,CL:Q0,CM:R0,CN:e2,CO:t2,CR:n2,CU:r2,CV:i2,CW:l2,CX:a2,CY:o2,CZ:s2,DE:u2,DJ:c2,DK:d2,DM:f2,DO:h2,DZ:m2,EC:p2,EE:g2,EG:v2,EH:b2,ER:x2,ES:w2,ET:y2,EU:E2,FI:C2,FJ:k2,FK:I2,FM:z2,FO:F2,FR:M2,GA:S2,GB:A2,GD:N2,GE:D2,GF:L2,GG:T2,GH:B2,GI:H2,GL:j2,GM:P2,GN:O2,GP:V2,GQ:G2,GR:_2,GS:$2,GT:W2,GU:U2,GW:X2,GY:Z2,HK:Y2,HM:J2,HN:K2,HR:q2,HT:Q2,HU:R2,IC:ed,ID:td,IE:nd,IL:rd,IM:id,IN:ld,IO:ad,IQ:od,IR:sd,IS:ud,IT:cd,JE:dd,JM:fd,JO:hd,JP:md,KE:pd,KG:gd,KH:vd,KI:bd,KM:xd,KN:wd,KP:yd,KR:Ed,KW:Cd,KY:kd,KZ:Id,LA:zd,LB:Fd,LC:Md,LI:Sd,LK:Ad,LR:Nd,LS:Dd,LT:Ld,LU:Td,LV:Bd,LY:Hd,MA:jd,MC:Pd,MD:Od,ME:Vd,MF:Gd,MG:_d,MH:$d,MK:Wd,ML:Ud,MM:Xd,MN:Zd,MO:Yd,MP:Jd,MQ:Kd,MR:qd,MS:Qd,MT:Rd,MU:e3,MV:t3,MW:n3,MX:r3,MY:i3,MZ:l3,NA:a3,NC:o3,NE:s3,NF:u3,NG:c3,NI:d3,NL:f3,NO:h3,NP:m3,NR:p3,NU:g3,NZ:v3,OM:b3,PA:x3,PE:w3,PF:y3,PG:E3,PH:C3,PK:k3,PL:I3,PM:z3,PN:F3,PR:M3,PS:S3,PT:A3,PW:N3,PY:D3,QA:L3,RE:T3,RO:B3,RS:H3,RU:j3,RW:P3,SA:O3,SB:V3,SC:G3,SD:_3,SE:$3,SG:W3,SH:U3,SI:X3,SJ:Z3,SK:Y3,SL:J3,SM:K3,SN:q3,SO:Q3,SR:R3,SS:ef,ST:tf,SV:nf,SX:rf,SY:lf,SZ:af,TA:of,TC:sf,TD:uf,TF:cf,TG:df,TH:ff,TJ:hf,TK:mf,TL:pf,TM:gf,TN:vf,TO:bf,TR:xf,TT:wf,TV:yf,TW:Ef,TZ:Cf,UA:kf,UG:If,UM:zf,US:Ff,UY:Mf,UZ:Sf,VA:Af,VC:Nf,VE:Df,VG:Lf,VI:Tf,VN:Bf,VU:Hf,WF:jf,WS:Pf,XK:Of,YE:Vf,YT:Gf,ZA:_f,ZM:$f,ZW:Wf,default:{AC:a0,AD:o0,AE:s0,AF:u0,AG:c0,AI:d0,AL:f0,AM:h0,AO:m0,AQ:p0,AR:g0,AS:v0,AT:b0,AU:x0,AW:w0,AX:y0,AZ:E0,BA:C0,BB:k0,BD:I0,BE:z0,BF:F0,BG:M0,BH:S0,BI:A0,BJ:N0,BL:D0,BM:L0,BN:T0,BO:B0,BQ:H0,BR:j0,BS:P0,BT:O0,BV:V0,BW:G0,BY:_0,BZ:$0,CA:W0,CC:U0,CD:X0,CF:Z0,CG:Y0,CH:J0,CI:K0,CK:q0,CL:Q0,CM:R0,CN:e2,CO:t2,CR:n2,CU:r2,CV:i2,CW:l2,CX:a2,CY:o2,CZ:s2,DE:u2,DJ:c2,DK:d2,DM:f2,DO:h2,DZ:m2,EC:p2,EE:g2,EG:v2,EH:b2,ER:x2,ES:w2,ET:y2,EU:E2,FI:C2,FJ:k2,FK:I2,FM:z2,FO:F2,FR:M2,GA:S2,GB:A2,GD:N2,GE:D2,GF:L2,GG:T2,GH:B2,GI:H2,GL:j2,GM:P2,GN:O2,GP:V2,GQ:G2,GR:_2,GS:$2,GT:W2,GU:U2,GW:X2,GY:Z2,HK:Y2,HM:J2,HN:K2,HR:q2,HT:Q2,HU:R2,IC:ed,ID:td,IE:nd,IL:rd,IM:id,IN:ld,IO:ad,IQ:od,IR:sd,IS:ud,IT:cd,JE:dd,JM:fd,JO:hd,JP:md,KE:pd,KG:gd,KH:vd,KI:bd,KM:xd,KN:wd,KP:yd,KR:Ed,KW:Cd,KY:kd,KZ:Id,LA:zd,LB:Fd,LC:Md,LI:Sd,LK:Ad,LR:Nd,LS:Dd,LT:Ld,LU:Td,LV:Bd,LY:Hd,MA:jd,MC:Pd,MD:Od,ME:Vd,MF:Gd,MG:_d,MH:$d,MK:Wd,ML:Ud,MM:Xd,MN:Zd,MO:Yd,MP:Jd,MQ:Kd,MR:qd,MS:Qd,MT:Rd,MU:e3,MV:t3,MW:n3,MX:r3,MY:i3,MZ:l3,NA:a3,NC:o3,NE:s3,NF:u3,NG:c3,NI:d3,NL:f3,NO:h3,NP:m3,NR:p3,NU:g3,NZ:v3,OM:b3,PA:x3,PE:w3,PF:y3,PG:E3,PH:C3,PK:k3,PL:I3,PM:z3,PN:F3,PR:M3,PS:S3,PT:A3,PW:N3,PY:D3,QA:L3,RE:T3,RO:B3,RS:H3,RU:j3,RW:P3,SA:O3,SB:V3,SC:G3,SD:_3,SE:$3,SG:W3,SH:U3,SI:X3,SJ:Z3,SK:Y3,SL:J3,SM:K3,SN:q3,SO:Q3,SR:R3,SS:ef,ST:tf,SV:nf,SX:rf,SY:lf,SZ:af,TA:of,TC:sf,TD:uf,TF:cf,TG:df,TH:ff,TJ:hf,TK:mf,TL:pf,TM:gf,TN:vf,TO:bf,TR:xf,TT:wf,TV:yf,TW:Ef,TZ:Cf,UA:kf,UG:If,UM:zf,US:Ff,UY:Mf,UZ:Sf,VA:Af,VC:Nf,VE:Df,VG:Lf,VI:Tf,VN:Bf,VU:Hf,WF:jf,WS:Pf,XK:Of,YE:Vf,YT:Gf,ZA:_f,ZM:$f,ZW:Wf}},Symbol.toStringTag,{value:"Module"})),Ml=(e,t)=>{const n=e.slice(0,2),r=si[n];return r?f.jsx("div",{className:`
86
+ `]))),f9=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,o=a.colors,s=a.spacing.baseUnit;return Ee({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:s*2})},Fo=function(t){var n=t.delay,r=t.offset;return xe("span",{css:wo({animation:"".concat(d9," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+XG4pID0+IHtcbiAgY29uc3QgeyBpbm5lclByb3BzLCBpc1J0bCB9ID0gcHJvcHM7XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2xvYWRpbmdJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgICAgey4uLmlubmVyUHJvcHN9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */")})},bc=function(t){var n=t.innerProps,r=t.isRtl;return xe("div",ve({},qe(t,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),xe(Fo,{delay:0,offset:r}),xe(Fo,{delay:160,offset:!0}),xe(Fo,{delay:320,offset:!r}))};bc.defaultProps={size:4};var h9=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,o=a.colors,s=a.borderRadius,u=a.spacing;return Ee({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:i?o.primary:o.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},m9=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,o=t.innerProps,s=t.menuIsOpen;return xe("div",ve({ref:a},qe(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":s}),o),n)},p9=m9,g9=["data"],v9=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},b9=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,o=t.Heading,s=t.headingProps,u=t.innerProps,c=t.label,d=t.theme,h=t.selectProps;return xe("div",ve({},qe(t,"group",{group:!0}),u),xe(o,ve({},s,{selectProps:h,theme:d,getStyles:i,getClassNames:a,cx:r}),c),xe("div",null,n))},x9=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return Ee({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},w9=function(t){var n=ic(t);n.data;var r=er(n,g9);return xe("div",ve({},qe(t,"groupHeading",{"group-heading":!0}),r))},y9=b9,E9=["innerRef","isDisabled","isHidden","inputClassName"],C9=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,o=a.spacing,s=a.colors;return Ee(Ee({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},k9),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:s.neutral80})},xc={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},k9={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ee({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},xc)},I9=function(t){return Ee({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},xc)},z9=function(t){var n=t.cx,r=t.value,i=ic(t),a=i.innerRef,o=i.isDisabled,s=i.isHidden,u=i.inputClassName,c=er(i,E9);return xe("div",ve({},qe(t,"input",{"input-container":!0}),{"data-value":r||""}),xe("input",ve({className:n({input:!0},u),ref:a,style:I9(s),disabled:o},c)))},F9=z9,M9=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors;return Ee({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},S9=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,o=t.cropWithEllipsis;return Ee({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},A9=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors,s=t.isFocused;return Ee({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:s?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},wc=function(t){var n=t.children,r=t.innerProps;return xe("div",r,n)},N9=wc,D9=wc;function L9(e){var t=e.children,n=e.innerProps;return xe("div",ve({role:"button"},n),t||xe(zo,{size:14}))}var T9=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,o=t.isDisabled,s=t.removeProps,u=t.selectProps,c=r.Container,d=r.Label,h=r.Remove;return xe(c,{data:i,innerProps:Ee(Ee({},qe(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:u},xe(d,{data:i,innerProps:Ee({},qe(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},n),xe(h,{data:i,innerProps:Ee(Ee({},qe(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:u}))},B9=T9,H9=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.theme,s=o.spacing,u=o.colors;return Ee({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?u.primary:i?u.primary25:"transparent",color:r?u.neutral20:a?u.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?u.primary:u.primary50}})},j9=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.innerRef,s=t.innerProps;return xe("div",ve({},qe(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:o,"aria-disabled":r},s),n)},P9=j9,O9=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return Ee({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},V9=function(t){var n=t.children,r=t.innerProps;return xe("div",ve({},qe(t,"placeholder",{placeholder:!0}),r),n)},G9=V9,_9=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,o=i.colors;return Ee({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},$9=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return xe("div",ve({},qe(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},W9=$9,Il={ClearIndicator:s9,Control:p9,DropdownIndicator:a9,DownChevron:gc,CrossIcon:zo,Group:y9,GroupHeading:w9,IndicatorsContainer:t9,IndicatorSeparator:c9,Input:F9,LoadingIndicator:bc,Menu:$v,MenuList:Uv,MenuPortal:Jv,LoadingMessage:hc,NoOptionsMessage:fc,MultiValue:B9,MultiValueContainer:N9,MultiValueLabel:D9,MultiValueRemove:L9,Option:P9,Placeholder:G9,SelectContainer:qv,SingleValue:W9,ValueContainer:Rv},U9=function(t){return Ee(Ee({},Il),t.components)},yc=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function X9(e,t){return!!(e===t||yc(e)&&yc(t))}function Z9(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!X9(e[n],t[n]))return!1;return!0}function Y9(e,t){t===void 0&&(t=Z9);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return r.clear=function(){n=null},r}function J9(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var K9=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:J9},q9=function(t){return xe("span",ve({css:K9},t))},Ec=q9,Q9={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.isDisabled,a=t.tabSelectsValue,o=t.context;switch(o){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(a?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,o=a===void 0?"":a,s=t.selectValue,u=t.isDisabled,c=t.isSelected,d=function(g,b){return g&&g.length?"".concat(g.indexOf(b)+1," of ").concat(g.length):""};if(n==="value"&&s)return"value ".concat(o," focused, ").concat(d(s,r),".");if(n==="menu"){var h=u?" disabled":"",m="".concat(c?"selected":"focused").concat(h);return"option ".concat(o," ").concat(m,", ").concat(d(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},R9=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,o=t.isFocused,s=t.selectValue,u=t.selectProps,c=t.id,d=u.ariaLiveMessages,h=u.getOptionLabel,m=u.inputValue,p=u.isMulti,g=u.isOptionDisabled,b=u.isSearchable,v=u.menuIsOpen,x=u.options,y=u.screenReaderStatus,C=u.tabSelectsValue,M=u["aria-label"],E=u["aria-live"],w=l.useMemo(function(){return Ee(Ee({},Q9),d||{})},[d]),z=l.useMemo(function(){var L="";if(n&&w.onChange){var S=n.option,T=n.options,G=n.removedValue,O=n.removedValues,_=n.value,A=function(R){return Array.isArray(R)?null:R},$=G||S||A(_),W=$?h($):"",D=T||O||void 0,X=D?D.map(h):[],K=Ee({isDisabled:$&&g($,s),label:W,labels:X},n);L=w.onChange(K)}return L},[n,w,g,s,h]),I=l.useMemo(function(){var L="",S=r||i,T=!!(r&&s&&s.includes(r));if(S&&w.onFocus){var G={focused:S,label:h(S),isDisabled:g(S,s),isSelected:T,options:a,context:S===r?"menu":"value",selectValue:s};L=w.onFocus(G)}return L},[r,i,h,g,w,a,s]),k=l.useMemo(function(){var L="";if(v&&x.length&&w.onFilter){var S=y({count:a.length});L=w.onFilter({inputValue:m,resultsMessage:S})}return L},[a,m,v,w,x,y]),F=l.useMemo(function(){var L="";if(w.guidance){var S=i?"value":v?"menu":"input";L=w.guidance({"aria-label":M,context:S,isDisabled:r&&g(r,s),isMulti:p,isSearchable:b,tabSelectsValue:C})}return L},[M,r,i,p,g,b,v,w,s,C]),N="".concat(I," ").concat(k," ").concat(F),B=xe(l.Fragment,null,xe("span",{id:"aria-selection"},z),xe("span",{id:"aria-context"},N)),H=n?.action==="initial-input-focus";return xe(l.Fragment,null,xe(Ec,{id:c},H&&B),xe(Ec,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text"},o&&!H&&B))},e8=R9,Mo=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],t8=new RegExp("["+Mo.map(function(e){return e.letters}).join("")+"]","g"),Cc={},So=0;So<Mo.length;So++)for(var Ao=Mo[So],No=0;No<Ao.letters.length;No++)Cc[Ao.letters[No]]=Ao.base;var kc=function(t){return t.replace(t8,function(n){return Cc[n]})},n8=Y9(kc),Ic=function(t){return t.replace(/^\s+|\s+$/g,"")},r8=function(t){return"".concat(t.label," ").concat(t.value)},i8=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Ee({ignoreCase:!0,ignoreAccents:!0,stringify:r8,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,o=i.ignoreAccents,s=i.stringify,u=i.trim,c=i.matchFrom,d=u?Ic(r):r,h=u?Ic(s(n)):s(n);return a&&(d=d.toLowerCase(),h=h.toLowerCase()),o&&(d=n8(d),h=kc(h)),c==="start"?h.substr(0,d.length)===d:h.indexOf(d)>-1}},l8=["innerRef"];function a8(e){var t=e.innerRef,n=er(e,l8),r=jv(n,"onExited","in","enter","exit","appear");return xe("input",ve({ref:t},r,{css:wo({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var o8=function(t){t.preventDefault(),t.stopPropagation()};function s8(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,o=l.useRef(!1),s=l.useRef(!1),u=l.useRef(0),c=l.useRef(null),d=l.useCallback(function(v,x){if(c.current!==null){var y=c.current,C=y.scrollTop,M=y.scrollHeight,E=y.clientHeight,w=c.current,z=x>0,I=M-E-C,k=!1;I>x&&o.current&&(r&&r(v),o.current=!1),z&&s.current&&(a&&a(v),s.current=!1),z&&x>I?(n&&!o.current&&n(v),w.scrollTop=M,k=!0,o.current=!0):!z&&-x>C&&(i&&!s.current&&i(v),w.scrollTop=0,k=!0,s.current=!0),k&&o8(v)}},[n,r,i,a]),h=l.useCallback(function(v){d(v,v.deltaY)},[d]),m=l.useCallback(function(v){u.current=v.changedTouches[0].clientY},[]),p=l.useCallback(function(v){var x=u.current-v.changedTouches[0].clientY;d(v,x)},[d]),g=l.useCallback(function(v){if(v){var x=Tv?{passive:!1}:!1;v.addEventListener("wheel",h,x),v.addEventListener("touchstart",m,x),v.addEventListener("touchmove",p,x)}},[p,m,h]),b=l.useCallback(function(v){v&&(v.removeEventListener("wheel",h,!1),v.removeEventListener("touchstart",m,!1),v.removeEventListener("touchmove",p,!1))},[p,m,h]);return l.useEffect(function(){if(t){var v=c.current;return g(v),function(){b(v)}}},[t,g,b]),function(v){c.current=v}}var zc=["boxSizing","height","overflow","paddingRight","position"],Fc={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Mc(e){e.preventDefault()}function Sc(e){e.stopPropagation()}function Ac(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Nc(){return"ontouchstart"in window||navigator.maxTouchPoints}var Dc=!!(typeof window<"u"&&window.document&&window.document.createElement),ai=0,wr={capture:!1,passive:!1};function u8(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=l.useRef({}),a=l.useRef(null),o=l.useCallback(function(u){if(Dc){var c=document.body,d=c&&c.style;if(r&&zc.forEach(function(g){var b=d&&d[g];i.current[g]=b}),r&&ai<1){var h=parseInt(i.current.paddingRight,10)||0,m=document.body?document.body.clientWidth:0,p=window.innerWidth-m+h||0;Object.keys(Fc).forEach(function(g){var b=Fc[g];d&&(d[g]=b)}),d&&(d.paddingRight="".concat(p,"px"))}c&&Nc()&&(c.addEventListener("touchmove",Mc,wr),u&&(u.addEventListener("touchstart",Ac,wr),u.addEventListener("touchmove",Sc,wr))),ai+=1}},[r]),s=l.useCallback(function(u){if(Dc){var c=document.body,d=c&&c.style;ai=Math.max(ai-1,0),r&&ai<1&&zc.forEach(function(h){var m=i.current[h];d&&(d[h]=m)}),c&&Nc()&&(c.removeEventListener("touchmove",Mc,wr),u&&(u.removeEventListener("touchstart",Ac,wr),u.removeEventListener("touchmove",Sc,wr)))}},[r]);return l.useEffect(function(){if(t){var u=a.current;return o(u),function(){s(u)}}},[t,o,s]),function(u){a.current=u}}function c8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var d8=function(){return document.activeElement&&document.activeElement.blur()},f8=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9ICgpID0+XG4gIGRvY3VtZW50LmFjdGl2ZUVsZW1lbnQgJiYgKGRvY3VtZW50LmFjdGl2ZUVsZW1lbnQgYXMgSFRNTEVsZW1lbnQpLmJsdXIoKTtcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gU2Nyb2xsTWFuYWdlcih7XG4gIGNoaWxkcmVuLFxuICBsb2NrRW5hYmxlZCxcbiAgY2FwdHVyZUVuYWJsZWQgPSB0cnVlLFxuICBvbkJvdHRvbUFycml2ZSxcbiAgb25Cb3R0b21MZWF2ZSxcbiAgb25Ub3BBcnJpdmUsXG4gIG9uVG9wTGVhdmUsXG59OiBQcm9wcykge1xuICBjb25zdCBzZXRTY3JvbGxDYXB0dXJlVGFyZ2V0ID0gdXNlU2Nyb2xsQ2FwdHVyZSh7XG4gICAgaXNFbmFibGVkOiBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:c8};function h8(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,o=e.onBottomLeave,s=e.onTopArrive,u=e.onTopLeave,c=s8({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:s,onTopLeave:u}),d=u8({isEnabled:n}),h=function(p){c(p),d(p)};return xe(l.Fragment,null,n&&xe("div",{onClick:d8,css:f8}),t(h))}function m8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var p8=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:m8},g8=function(t){var n=t.name,r=t.onFocus;return xe("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:p8,value:"",onChange:function(){}})},v8=g8,b8=function(t){return t.label},Lc=function(t){return t.label},Tc=function(t){return t.value},x8=function(t){return!!t.isDisabled},w8={clearIndicator:o9,container:Kv,control:h9,dropdownIndicator:l9,group:v9,groupHeading:x9,indicatorsContainer:e9,indicatorSeparator:u9,input:C9,loadingIndicator:f9,loadingMessage:Zv,menu:Vv,menuList:Wv,menuPortal:Yv,multiValue:M9,multiValueLabel:S9,multiValueRemove:A9,noOptionsMessage:Xv,option:H9,placeholder:O9,singleValue:_9,valueContainer:Qv},y8={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},E8=4,Bc=4,C8=38,k8=Bc*2,I8={baseUnit:Bc,controlHeight:C8,menuGutter:k8},Do={borderRadius:E8,colors:y8,spacing:I8},z8={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:oc(),captureMenuScroll:!oc(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:i8(),formatGroupLabel:b8,getOptionLabel:Lc,getOptionValue:Tc,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:x8,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Dv(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Hc(e,t,n,r){var i=Gc(e,t,n),a=_c(e,t,n),o=Vc(e,t),s=zl(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:o,value:s,index:r}}function jc(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(o,s){return Hc(e,o,t,s)}).filter(function(o){return Oc(e,o)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=Hc(e,n,t,r);return Oc(e,a)?a:void 0}).filter(Bv)}function Pc(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Rr(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function F8(e,t){return Pc(jc(e,t))}function Oc(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,o=t.label,s=t.value;return(!Wc(e)||!a)&&$c(e,{label:o,value:s,data:i},r)}function M8(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function S8(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Vc=function(t,n){return t.getOptionLabel(n)},zl=function(t,n){return t.getOptionValue(n)};function Gc(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function _c(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=zl(e,t);return n.some(function(i){return zl(e,i)===r})}function $c(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Wc=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},A8=1,Lo=function(e){t7(n,e);var t=i7(n);function n(r){var i;if(Rg(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.instancePrefix="",i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(s){i.controlRef=s},i.focusedOptionRef=null,i.getFocusedOptionRef=function(s){i.focusedOptionRef=s},i.menuListRef=null,i.getMenuListRef=function(s){i.menuListRef=s},i.inputRef=null,i.getInputRef=function(s){i.inputRef=s},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(s,u){var c=i.props,d=c.onChange,h=c.name;u.name=h,i.ariaOnChange(s,u),d(s,u)},i.setValue=function(s,u,c){var d=i.props,h=d.closeMenuOnSelect,m=d.isMulti,p=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:p}),h&&(i.setState({inputIsHiddenAfterUpdate:!m}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(s,{action:u,option:c})},i.selectOption=function(s){var u=i.props,c=u.blurInputOnSelect,d=u.isMulti,h=u.name,m=i.state.selectValue,p=d&&i.isOptionSelected(s,m),g=i.isOptionDisabled(s,m);if(p){var b=i.getOptionValue(s);i.setValue(m.filter(function(v){return i.getOptionValue(v)!==b}),"deselect-option",s)}else if(!g)d?i.setValue([].concat(Rr(m),[s]),"select-option",s):i.setValue(s,"select-option");else{i.ariaOnChange(s,{action:"select-option",option:s,name:h});return}c&&i.blurInput()},i.removeValue=function(s){var u=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(s),h=c.filter(function(p){return i.getOptionValue(p)!==d}),m=li(u,h,h[0]||null);i.onChange(m,{action:"remove-value",removedValue:s}),i.focusInput()},i.clearValue=function(){var s=i.state.selectValue;i.onChange(li(i.props.isMulti,[],null),{action:"clear",removedValues:s})},i.popValue=function(){var s=i.props.isMulti,u=i.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),h=li(s,d,d[0]||null);i.onChange(h,{action:"pop-value",removedValue:c})},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];return Fv.apply(void 0,[i.props.classNamePrefix].concat(u))},i.getOptionLabel=function(s){return Vc(i.props,s)},i.getOptionValue=function(s){return zl(i.props,s)},i.getStyles=function(s,u){var c=i.props.unstyled,d=w8[s](u,c);d.boxSizing="border-box";var h=i.props.styles[s];return h?h(d,u):d},i.getClassNames=function(s,u){var c,d;return(c=(d=i.props.classNames)[s])===null||c===void 0?void 0:c.call(d,u)},i.getElementId=function(s){return"".concat(i.instancePrefix,"-").concat(s)},i.getComponents=function(){return U9(i.props)},i.buildCategorizedOptions=function(){return jc(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Pc(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(s,u){i.setState({ariaSelection:Ee({value:s},u)})},i.onMenuMouseDown=function(s){s.button===0&&(s.stopPropagation(),s.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(s){i.blockOptionHover=!1},i.onControlMouseDown=function(s){if(!s.defaultPrevented){var u=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&i.onMenuClose():u&&i.openMenu("first"):(u&&(i.openAfterFocus=!0),i.focusInput()),s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&s.preventDefault()}},i.onDropdownIndicatorMouseDown=function(s){if(!(s&&s.type==="mousedown"&&s.button!==0)&&!i.props.isDisabled){var u=i.props,c=u.isMulti,d=u.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!c}),i.onMenuClose()):i.openMenu("first"),s.preventDefault()}},i.onClearIndicatorMouseDown=function(s){s&&s.type==="mousedown"&&s.button!==0||(i.clearValue(),s.preventDefault(),i.openAfterFocus=!1,s.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(s){typeof i.props.closeMenuOnScroll=="boolean"?s.target instanceof HTMLElement&&yl(s.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(s)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(s){var u=s.touches,c=u&&u.item(0);c&&(i.initialTouchX=c.clientX,i.initialTouchY=c.clientY,i.userIsDragging=!1)},i.onTouchMove=function(s){var u=s.touches,c=u&&u.item(0);if(c){var d=Math.abs(c.clientX-i.initialTouchX),h=Math.abs(c.clientY-i.initialTouchY),m=5;i.userIsDragging=d>m||h>m}},i.onTouchEnd=function(s){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(s.target)&&i.menuListRef&&!i.menuListRef.contains(s.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(s){i.userIsDragging||i.onControlMouseDown(s)},i.onClearIndicatorTouchEnd=function(s){i.userIsDragging||i.onClearIndicatorMouseDown(s)},i.onDropdownIndicatorTouchEnd=function(s){i.userIsDragging||i.onDropdownIndicatorMouseDown(s)},i.handleInputChange=function(s){var u=i.props.inputValue,c=s.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:u}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(s){i.props.onFocus&&i.props.onFocus(s),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(s){var u=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(s),i.onInputChange("",{action:"input-blur",prevInputValue:u}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(s){i.blockOptionHover||i.state.focusedOption===s||i.setState({focusedOption:s})},i.shouldHideSelectedOptions=function(){return Wc(i.props)},i.onValueInputFocus=function(s){s.preventDefault(),s.stopPropagation(),i.focus()},i.onKeyDown=function(s){var u=i.props,c=u.isMulti,d=u.backspaceRemovesValue,h=u.escapeClearsValue,m=u.inputValue,p=u.isClearable,g=u.isDisabled,b=u.menuIsOpen,v=u.onKeyDown,x=u.tabSelectsValue,y=u.openMenuOnFocus,C=i.state,M=C.focusedOption,E=C.focusedValue,w=C.selectValue;if(!g&&!(typeof v=="function"&&(v(s),s.defaultPrevented))){switch(i.blockOptionHover=!0,s.key){case"ArrowLeft":if(!c||m)return;i.focusValue("previous");break;case"ArrowRight":if(!c||m)return;i.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(E)i.removeValue(E);else{if(!d)return;c?i.popValue():p&&i.clearValue()}break;case"Tab":if(i.isComposing||s.shiftKey||!b||!x||!M||y&&i.isOptionSelected(M,w))return;i.selectOption(M);break;case"Enter":if(s.keyCode===229)break;if(b){if(!M||i.isComposing)return;i.selectOption(M);break}return;case"Escape":b?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:m}),i.onMenuClose()):p&&h&&i.clearValue();break;case" ":if(m)return;if(!b){i.openMenu("first");break}if(!M)return;i.selectOption(M);break;case"ArrowUp":b?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":b?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!b)return;i.focusOption("pageup");break;case"PageDown":if(!b)return;i.focusOption("pagedown");break;case"Home":if(!b)return;i.focusOption("first");break;case"End":if(!b)return;i.focusOption("last");break;default:return}s.preventDefault()}},i.instancePrefix="react-select-"+(i.props.instanceId||++A8),i.state.selectValue=wl(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.buildFocusableOptions(),o=a.indexOf(i.state.selectValue[0]);i.state.focusedOption=a[o]}return i}return e7(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&ac(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isDisabled,s=a.menuIsOpen,u=this.state.isFocused;(u&&!o&&i.isDisabled||u&&s&&!i.menuIsOpen)&&this.focusInput(),u&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(ac(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,o=this.state,s=o.selectValue,u=o.isFocused,c=this.buildFocusableOptions(),d=i==="first"?0:c.length-1;if(!this.props.isMulti){var h=c.indexOf(s[0]);h>-1&&(d=h)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[d]},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,o=a.selectValue,s=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=o.indexOf(s);s||(u=-1);var c=o.length-1,d=-1;if(o.length){switch(i){case"previous":u===0?d=0:u===-1?d=c:d=u-1;break;case"next":u>-1&&u<c&&(d=u+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:o[d]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,o=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var u=0,c=s.indexOf(o);o||(c=-1),i==="up"?u=c>0?c-1:s.length-1:i==="down"?u=(c+1)%s.length:i==="pageup"?(u=c-a,u<0&&(u=0)):i==="pagedown"?(u=c+a,u>s.length-1&&(u=s.length-1)):i==="last"&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Do):Ee(Ee({},Do),this.props.theme):Do}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,o=this.getStyles,s=this.getClassNames,u=this.getValue,c=this.selectOption,d=this.setValue,h=this.props,m=h.isMulti,p=h.isRtl,g=h.options,b=this.hasValue();return{clearValue:i,cx:a,getStyles:o,getClassNames:s,getValue:u,hasValue:b,isMulti:m,isRtl:p,options:g,selectOption:c,selectProps:h,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,o=i.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(i,a){return Gc(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return _c(this.props,i,a)}},{key:"filterOption",value:function(i,a){return $c(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:o,selectValue:s})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,o=i.isSearchable,s=i.inputId,u=i.inputValue,c=i.tabIndex,d=i.form,h=i.menuIsOpen,m=i.required,p=this.getComponents(),g=p.Input,b=this.state,v=b.inputIsHidden,x=b.ariaSelection,y=this.commonProps,C=s||this.getElementId("input"),M=Ee(Ee(Ee({"aria-autocomplete":"list","aria-expanded":h,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":m,role:"combobox"},h&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?x?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?ce.createElement(g,ve({},y,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:C,innerRef:this.getInputRef,isDisabled:a,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:d,type:"text",value:u},M)):ce.createElement(a8,ve({id:C,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xl,onFocus:this.onInputFocus,disabled:a,tabIndex:c,inputMode:"none",form:d,value:""},M))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),o=a.MultiValue,s=a.MultiValueContainer,u=a.MultiValueLabel,c=a.MultiValueRemove,d=a.SingleValue,h=a.Placeholder,m=this.commonProps,p=this.props,g=p.controlShouldRenderValue,b=p.isDisabled,v=p.isMulti,x=p.inputValue,y=p.placeholder,C=this.state,M=C.selectValue,E=C.focusedValue,w=C.isFocused;if(!this.hasValue()||!g)return x?null:ce.createElement(h,ve({},m,{key:"placeholder",isDisabled:b,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),y);if(v)return M.map(function(I,k){var F=I===E,N="".concat(i.getOptionLabel(I),"-").concat(i.getOptionValue(I));return ce.createElement(o,ve({},m,{components:{Container:s,Label:u,Remove:c},isFocused:F,isDisabled:b,key:N,index:k,removeProps:{onClick:function(){return i.removeValue(I)},onTouchEnd:function(){return i.removeValue(I)},onMouseDown:function(H){H.preventDefault()}},data:I}),i.formatOptionLabel(I,"value"))});if(x)return null;var z=M[0];return ce.createElement(d,ve({},m,{data:z,isDisabled:b}),this.formatOptionLabel(z,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,o=this.commonProps,s=this.props,u=s.isDisabled,c=s.isLoading,d=this.state.isFocused;if(!this.isClearable()||!a||u||!this.hasValue()||c)return null;var h={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ce.createElement(a,ve({},o,{innerProps:h,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,o=this.commonProps,s=this.props,u=s.isDisabled,c=s.isLoading,d=this.state.isFocused;if(!a||!c)return null;var h={"aria-hidden":"true"};return ce.createElement(a,ve({},o,{innerProps:h,isDisabled:u,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,o=i.IndicatorSeparator;if(!a||!o)return null;var s=this.commonProps,u=this.props.isDisabled,c=this.state.isFocused;return ce.createElement(o,ve({},s,{isDisabled:u,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var o=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ce.createElement(a,ve({},o,{innerProps:c,isDisabled:s,isFocused:u}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),o=a.Group,s=a.GroupHeading,u=a.Menu,c=a.MenuList,d=a.MenuPortal,h=a.LoadingMessage,m=a.NoOptionsMessage,p=a.Option,g=this.commonProps,b=this.state.focusedOption,v=this.props,x=v.captureMenuScroll,y=v.inputValue,C=v.isLoading,M=v.loadingMessage,E=v.minMenuHeight,w=v.maxMenuHeight,z=v.menuIsOpen,I=v.menuPlacement,k=v.menuPosition,F=v.menuPortalTarget,N=v.menuShouldBlockScroll,B=v.menuShouldScrollIntoView,H=v.noOptionsMessage,L=v.onMenuScrollToTop,S=v.onMenuScrollToBottom;if(!z)return null;var T=function(D,X){var K=D.type,ae=D.data,R=D.isDisabled,ue=D.isSelected,U=D.label,J=D.value,fe=b===ae,ee=R?void 0:function(){return i.onOptionHover(ae)},be=R?void 0:function(){return i.selectOption(ae)},je="".concat(i.getElementId("option"),"-").concat(X),Q={id:je,onClick:be,onMouseMove:ee,onMouseOver:ee,tabIndex:-1};return ce.createElement(p,ve({},g,{innerProps:Q,data:ae,isDisabled:R,isSelected:ue,key:je,label:U,type:K,value:J,isFocused:fe,innerRef:fe?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(D.data,"menu"))},G;if(this.hasOptions())G=this.getCategorizedOptions().map(function(W){if(W.type==="group"){var D=W.data,X=W.options,K=W.index,ae="".concat(i.getElementId("group"),"-").concat(K),R="".concat(ae,"-heading");return ce.createElement(o,ve({},g,{key:ae,data:D,options:X,Heading:s,headingProps:{id:R,data:W.data},label:i.formatGroupLabel(W.data)}),W.options.map(function(ue){return T(ue,"".concat(K,"-").concat(ue.index))}))}else if(W.type==="option")return T(W,"".concat(W.index))});else if(C){var O=M({inputValue:y});if(O===null)return null;G=ce.createElement(h,g,O)}else{var _=H({inputValue:y});if(_===null)return null;G=ce.createElement(m,g,_)}var A={minMenuHeight:E,maxMenuHeight:w,menuPlacement:I,menuPosition:k,menuShouldScrollIntoView:B},$=ce.createElement(Gv,ve({},g,A),function(W){var D=W.ref,X=W.placerProps,K=X.placement,ae=X.maxHeight;return ce.createElement(u,ve({},g,A,{innerRef:D,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove,id:i.getElementId("listbox")},isLoading:C,placement:K}),ce.createElement(h8,{captureEnabled:x,onTopArrive:L,onBottomArrive:S,lockEnabled:N},function(R){return ce.createElement(c,ve({},g,{innerRef:function(U){i.getMenuListRef(U),R(U)},isLoading:C,maxHeight:ae,focusedOption:b}),G)}))});return F||k==="fixed"?ce.createElement(d,ve({},g,{appendTo:F,controlElement:this.controlRef,menuPlacement:I,menuPosition:k}),$):$}},{key:"renderFormField",value:function(){var i=this,a=this.props,o=a.delimiter,s=a.isDisabled,u=a.isMulti,c=a.name,d=a.required,h=this.state.selectValue;if(d&&!this.hasValue()&&!s)return ce.createElement(v8,{name:c,onFocus:this.onValueInputFocus});if(!(!c||s))if(u)if(o){var m=h.map(function(b){return i.getOptionValue(b)}).join(o);return ce.createElement("input",{name:c,type:"hidden",value:m})}else{var p=h.length>0?h.map(function(b,v){return ce.createElement("input",{key:"i-".concat(v),name:c,type:"hidden",value:i.getOptionValue(b)})}):ce.createElement("input",{name:c,type:"hidden",value:""});return ce.createElement("div",null,p)}else{var g=h[0]?this.getOptionValue(h[0]):"";return ce.createElement("input",{name:c,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,o=a.ariaSelection,s=a.focusedOption,u=a.focusedValue,c=a.isFocused,d=a.selectValue,h=this.getFocusableOptions();return ce.createElement(e8,ve({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:s,focusedValue:u,isFocused:c,selectValue:d,focusableOptions:h}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,o=i.IndicatorsContainer,s=i.SelectContainer,u=i.ValueContainer,c=this.props,d=c.className,h=c.id,m=c.isDisabled,p=c.menuIsOpen,g=this.state.isFocused,b=this.commonProps=this.getCommonProps();return ce.createElement(s,ve({},b,{className:d,innerProps:{id:h,onKeyDown:this.onKeyDown},isDisabled:m,isFocused:g}),this.renderLiveRegion(),ce.createElement(a,ve({},b,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:m,isFocused:g,menuIsOpen:p}),ce.createElement(u,ve({},b,{isDisabled:m}),this.renderPlaceholderOrValue(),this.renderInput()),ce.createElement(o,ve({},b,{isDisabled:m}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var o=a.prevProps,s=a.clearFocusValueOnUpdate,u=a.inputIsHiddenAfterUpdate,c=a.ariaSelection,d=a.isFocused,h=a.prevWasFocused,m=i.options,p=i.value,g=i.menuIsOpen,b=i.inputValue,v=i.isMulti,x=wl(p),y={};if(o&&(p!==o.value||m!==o.options||g!==o.menuIsOpen||b!==o.inputValue)){var C=g?F8(i,x):[],M=s?M8(a,x):null,E=S8(a,C);y={selectValue:x,focusedOption:E,focusedValue:M,clearFocusValueOnUpdate:!1}}var w=u!=null&&i!==o?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},z=c,I=d&&h;return d&&!I&&(z={value:li(v,x,x[0]||null),options:x,action:"initial-input-focus"},I=!h),c?.action==="initial-input-focus"&&(z=null),Ee(Ee(Ee({},y),w),{},{prevProps:i,ariaSelection:z,prevWasFocused:I})}}]),n}(l.Component);Lo.defaultProps=z8;var N8=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Uc(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,o=a===void 0?null:a,s=e.inputValue,u=e.menuIsOpen,c=e.onChange,d=e.onInputChange,h=e.onMenuClose,m=e.onMenuOpen,p=e.value,g=er(e,N8),b=l.useState(s!==void 0?s:n),v=vn(b,2),x=v[0],y=v[1],C=l.useState(u!==void 0?u:i),M=vn(C,2),E=M[0],w=M[1],z=l.useState(p!==void 0?p:o),I=vn(z,2),k=I[0],F=I[1],N=l.useCallback(function(O,_){typeof c=="function"&&c(O,_),F(O)},[c]),B=l.useCallback(function(O,_){var A;typeof d=="function"&&(A=d(O,_)),y(A!==void 0?A:O)},[d]),H=l.useCallback(function(){typeof m=="function"&&m(),w(!0)},[m]),L=l.useCallback(function(){typeof h=="function"&&h(),w(!1)},[h]),S=s!==void 0?s:x,T=u!==void 0?u:E,G=p!==void 0?p:k;return Ee(Ee({},g),{},{inputValue:S,menuIsOpen:T,onChange:N,onInputChange:B,onMenuClose:L,onMenuOpen:H,value:G})}var D8=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Xc=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),a=String(r.getOptionValue(n)).toLowerCase(),o=String(r.getOptionLabel(n)).toLowerCase();return a===i||o===i},To={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,i){return!(!t||n.some(function(a){return Xc(t,a,i)})||r.some(function(a){return Xc(t,a,i)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function L8(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,i=r===void 0?"last":r,a=e.formatCreateLabel,o=a===void 0?To.formatCreateLabel:a,s=e.isValidNewOption,u=s===void 0?To.isValidNewOption:s,c=e.getNewOptionData,d=c===void 0?To.getNewOptionData:c,h=e.onCreateOption,m=e.options,p=m===void 0?[]:m,g=e.onChange,b=er(e,D8),v=b.getOptionValue,x=v===void 0?Tc:v,y=b.getOptionLabel,C=y===void 0?Lc:y,M=b.inputValue,E=b.isLoading,w=b.isMulti,z=b.value,I=b.name,k=l.useMemo(function(){return u(M,wl(z),p,{getOptionValue:x,getOptionLabel:C})?d(M,o(M)):void 0},[o,d,C,x,M,u,p,z]),F=l.useMemo(function(){return(n||!E)&&k?i==="first"?[k].concat(Rr(p)):[].concat(Rr(p),[k]):p},[n,i,E,k,p]),N=l.useCallback(function(B,H){if(H.action!=="select-option")return g(B,H);var L=Array.isArray(B)?B:[B];if(L[L.length-1]===k){if(h)h(M);else{var S=d(M,M),T={action:"create-option",name:I,option:S};g(li(w,[].concat(Rr(wl(z)),[S]),S),T)}return}g(B,H)},[d,M,w,I,k,h,g,z]);return Ee(Ee({},b),{},{options:F,onChange:N})}var T8=l.forwardRef(function(e,t){var n=Uc(e),r=L8(n);return ce.createElement(Lo,ve({ref:t},r))}),B8=T8;const Zc=({id:e,label:t,errorMessage:n,selectOptions:r,loading:i,isClearable:a,multiSelect:o,selectedValues:s,disabled:u,required:c,value:d,className:h,tooltip:m,tags:p,originalCase:g=!1,onChange:b,filterOption:v,placeholder:x,isDarkMode:y=!1,...C})=>{const M=(N,B)=>{b&&b(N);const H=document.getElementById(e);if(H){const L=new CustomEvent("pilot-change",{bubbles:!0,detail:{selector:`#${e}`,value:N,type:"change"}});H.dispatchEvent(L)}},E={control:(N,B)=>({...N,borderColor:n&&c?y?"#F04438":"rgb(253 164 155)":B.isFocused?y?"rgb(64 64 64)":"var(--color-primary-600)":y?"rgb(38 38 38)":"rgb(229 229 229)",backgroundColor:y?(B.isDisabled,"rgb(38 38 38)"):B.isDisabled?"rgb(245 245 245)":"rgb(255 255 255)",borderRadius:"6px",height:"32px",minHeight:"32px",fontSize:"14px",padding:"4px 10px",opacity:B.isDisabled?.6:1,cursor:B.isDisabled?"not-allowed":"default",boxShadow:(B.isFocused,"none"),"&:hover":{borderColor:B.isFocused?y?"rgb(64 64 64)":"var(--color-primary-600)":y?"rgb(38 38 38)":"rgb(229 229 229)"},placeholder:{color:y?"rgb(38 38 38)":"rgb(163 163 163)"}}),valueContainer:N=>({...N,fontSize:"14px",padding:0,height:"20px"}),input:N=>({...N,margin:"0",padding:"0",color:y?"rgb(229 229 229)":"inherit"}),indicatorsContainer:N=>({...N,fontSize:"14px",padding:0,height:"20px"}),option:(N,B)=>({...N,fontFamily:"Inter",fontWeight:500,fontSize:"14px",lineHeight:"1",borderBottom:y?"1px solid rgb(38 38 38)":"1px solid rgb(229 229 229)",backgroundColor:y?"rgb(10 10 10)":"rgb(255 255 255)",color:B.isDisabled?y?"rgb(115 115 115)":"rgb(163 163 163)":y?"rgb(229 229 229)":"inherit",cursor:B.isDisabled?"not-allowed":"pointer",opacity:B.isDisabled?.6:1,"&:hover":{backgroundColor:B.isDisabled?y?"rgb(38 38 38)":"rgb(255 255 255)":y?"rgb(64 64 64)":"rgb(245 245 245)"}}),singleValue:(N,B)=>({...N,fontFamily:"Inter",fontWeight:500,fontSize:"14px",lineHeight:"1.25rem",display:"block",color:B.isDisabled?y?"rgb(115 115 115)":"rgb(163 163 163)":y?"rgb(229 229 229)":"inherit"}),placeholder:(N,B)=>({...N,fontFamily:"Inter",fontSize:"14px",fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:B.isDisabled?y?"rgb(82 82 82)":"rgb(163 163 163)":"rgb(115 115 115)"}),multiValue:N=>({...N,backgroundColor:"rgb(230 241 252)",border:"1px solid rgb(198 225 249)",borderRadius:"6px",font:"Inter"}),multiValueLabel:N=>({...N,color:"var(--color-primary-600)"}),multiValueRemove:N=>({...N,color:"var(--color-primary-600)",":hover":{backgroundColor:"rgb(230 241 252)"}}),menu:N=>({...N,backgroundColor:y?"rgb(10 10 10)":"rgb(255 255 255)",border:y?"1px solid rgb(64 64 64)":"1px solid rgb(229 229 229)"})},w=()=>f.jsx("div",{children:f.jsx(We.ChevronLeftRounded,{className:"-rotate-90",sx:{fontSize:"16px"}})}),z=({...N})=>f.jsx("div",{className:"absolute top-0 left-0 h-full flex items-center dark:text-black-100",children:N.data.label}),I=!!s?.length,F=a?I||!!d:!1;return f.jsxs("div",{id:e,className:Y("flex flex-col font-inter",h),children:[t&&f.jsxs("label",{id:e+"Label",htmlFor:"text",className:`mb-1 text-xs font-medium ${y?"text-black-300":"text-neutral-600"} inline-flex items-center gap-1 ${g?"":"capitalize"}`,children:[f.jsxs("div",{className:"text-black-300 dark:text-black-300",children:[t,c&&f.jsx(Nt,{})]}),f.jsx(St,{labels:p}),m&&f.jsx(Ne.Tooltip,{placement:"top",title:m,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),f.jsx(B8,{...C,id:"cm"+t,required:c,options:r,isClearable:F,isLoading:i,isDisabled:u,styles:E,isMulti:o,value:o?s:d,onChange:M,filterOption:v,placeholder:x,classNames:{menuList:()=>"nowheel"},components:{IndicatorsContainer:w,SingleValue:z}}),n&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:n})]})};Zc.displayName="CreatableSelectField";var H8=l.forwardRef(function(e,t){var n=Uc(e);return ce.createElement(Lo,ve({ref:t},n))}),j8=H8;const Bo=({ref:e,handler:t,enabled:n=!0})=>{l.useEffect(()=>{if(!n)return;const r=i=>{e.current&&!e.current.contains(i.target)&&t()};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t,n])},P8={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",850:"#1e3a8a",900:"#1e3a8a",950:"#172554",975:"#121f47"},Yc=({id:e,label:t,options:n,placeholder:r,onChange:i,isLoading:a=!1,hideLabel:o=!1,errorMessage:s,required:u=!1,optionConfig:c,menuConfig:d,value:h,isMulti:m=!1,isClearable:p=!0,disabled:g=!1,className:b,isDark:v=!1,primaryColorShades:x=P8})=>{const y=l.useRef(null),[C,M]=l.useState(null),[E,w]=l.useState("");Bo({ref:y,handler:()=>{M(null)}});const z={control:(H,L)=>({...H,borderColor:s&&u?"#F04438":L.isFocused?v?"#1e1e1e":x[600]:v?"#1e1e1e":"#e2e8f0",backgroundColor:L.isDisabled?v?"#1a1a1a":"#f5f5f5":v?"#262626":"#FFFFFF",color:L.isDisabled?v?"#666666":"#a0a0a0":v?"#d4d4d4":"#0F172A",borderRadius:"6px",minHeight:"32px",fontSize:"14px",padding:"0px 10px",cursor:L.isDisabled?"not-allowed":"default",opacity:(L.isDisabled,1),boxShadow:L.isFocused?v?`0 0 0 2px ${x[400]}`:`0 0 0 2px ${x[500]}`:"none"}),valueContainer:H=>({...H,fontSize:"14px",maxHeight:"60px",overflowY:"auto",padding:"0px",margin:"0px",color:v?"#d4d4d4":"inherit","::-webkit-scrollbar":{display:"none"}}),input:H=>({...H,margin:"0"}),indicatorSeparator:()=>({display:"none"}),option:H=>({...H,fontWeight:500,fontSize:"14px",lineHeight:"1",borderBottom:v?"1px solid #1e1e1e":"1px solid #eee",backgroundColor:v?"#000000":"#FFFFFF",color:v?"#d4d4d4":"#0F172A",display:"flex",alignItems:"center",zIndex:200,":hover":{backgroundColor:v?"#171717":x[50]},".icon":{height:"14px",width:"14px"}}),singleValue:(H,L)=>({...H,fontWeight:500,fontSize:"14px",lineHeight:"1.25rem",color:(L.isDisabled,v?"#d4d4d4":"#0F172A"),display:"flex",alignItems:"center",".icon":{height:"14px",width:"14px"}}),placeholder:(H,L)=>({...H,fontSize:"14px",fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:(L.isDisabled,v?"#595959":"#9CA3AF")}),multiValue:H=>({...H,backgroundColor:v?"#000000":x[50],borderRadius:"6px",fontFamily:"Inter",fontSize:"12px",height:"20px",alignItems:"center"}),indicatorsContainer:H=>({...H,padding:"0",height:"30px"}),multiValueLabel:H=>({...H,color:v?"#d4d4d4":x[600],fontSize:"12px"}),multiValueRemove:H=>({...H,color:v?"#d4d4d4":x[600],height:"12px",fontSize:"8px",":hover":{backgroundColor:v?"#171717":x[50]},svg:{height:"12px",width:"12px"}})},I=H=>{const L=n.filter(S=>S?.label?.toLowerCase()?.includes(E?.toLowerCase()));return f.jsx(Il.MenuList,{...H,className:Y("!z-50 rounded !visible overflow-x-scroll",v?"bg-black-800":"bg-white",v?"text-neutral-300":"text-slate-900",d?.className),ref:y,children:L?.length?L.map((S,T)=>f.jsxs("div",{className:Y("item z-[9999] flex items-center justify-between px-4 py-1.5 no-wheel",g?"cursor-not-allowed opacity-50":"cursor-pointer",v?"text-neutral-300":"text-slate-900",!g&&k(S)?v?"bg-black-700":"bg-primary-50":g?"":v?"hover:bg-black-700":"hover:bg-primary-50",d?.optionClassName?"":v?"border-b border-black-700":"border-b border-[#eee]"),onClick:G=>{g||(G.stopPropagation(),H.selectOption(S))},children:[c?.component?f.jsx(c.component,{...c.componentProps,...S}):f.jsx("div",{children:S.label}),f.jsx("div",{className:"flex items-center gap-1",children:k(S)&&c?.selectIndecator?c?.selectIndecator:null})]},T)):f.jsx("div",{className:Y("opacity-50 flex justify-center items-center p-1 font-medium",v?"text-neutral-400":"text-gray-700"),children:"No options"})})},k=H=>m?C?.some(L=>L.value===H.value):H.value===C?.value,F=H=>{const{children:L,innerProps:S,isDisabled:T,getValue:G}=H,O=G();return f.jsx(Il.SingleValue,{...H,innerProps:S,isDisabled:T,children:O.length>0?O.map((_,A)=>f.jsx("span",{children:c?.component?f.jsx(c.component,{...c.componentProps,..._}):f.jsx("div",{children:_.label})},A)):f.jsx(f.Fragment,{children:L})})},N=H=>{const{innerProps:L,isDisabled:S,data:T}=H;return f.jsx(Il.MultiValue,{...H,innerProps:L,isDisabled:S,children:c?.component?f.jsx(c.component,{...c.componentProps,...T}):f.jsx("div",{children:T.label})})},B=(H,L)=>(w(L),!0);return f.jsxs("div",{className:Y("flex flex-col",v?"text-black-300":"text-slate-900",a?"opacity-50":"opacity-100",g?"cursor-not-allowed":""),id:e,children:[o||!t?null:f.jsxs("div",{className:"w-full inline-flex items-center text-xs mb-1",children:[f.jsx(se,{size:"extra-small",variant:"medium",className:Y("font-medium text-left",v?"text-black-300":"text-neutral-400"),appearance:"custom",children:t}),u&&f.jsx(Nt,{})]}),f.jsx(j8,{required:!0,options:n,placeholder:r,value:h,onChange:H=>{M(H),i(H)},styles:z,isMulti:m,className:Y(v&&"bg-black-800 border-black-700",b),components:{MenuList:I,SingleValue:F,MultiValue:N},filterOption:B,closeMenuOnSelect:!0,isClearable:p,isDisabled:g}),s&&f.jsx(se,{className:Y("mt-1",v?"text-red-400":"text-red-500"),appearance:"custom",size:"extra-small",variant:"medium",children:s})]})};Yc.displayName="CustomizableSelectField";const Jc=[{value:"AED",label:"UAE Dirham"},{value:"AFN",label:"Afghan Afghani"},{value:"ALL",label:"Albanian Lek"},{value:"AMD",label:"Armenian Dram"},{value:"AOA",label:"Angolan Kwanza"},{value:"ARS",label:"Argentine Peso"},{value:"AUD",label:"Australian Dollar"},{value:"AWG",label:"Aruban Florin"},{value:"AZN",label:"Azerbaijani Manat"},{value:"BBD",label:"Barbadian Dollar"},{value:"BDT",label:"Bangladeshi Taka"},{value:"BGN",label:"Bulgarian Lev"},{value:"BHD",label:"Bahraini Dinar"},{value:"BIF",label:"Burundian Franc"},{value:"BMD",label:"Bermudian Dollar"},{value:"BND",label:"Brunei Dollar"},{value:"BRL",label:"Brazilian Real"},{value:"BSD",label:"Bahamian Dollar"},{value:"BTN",label:"Bhutanese Ngultrum"},{value:"BWP",label:"Botswanan Pula"},{value:"BYN",label:"Belarusian Ruble"},{value:"BZD",label:"Belize Dollar"},{value:"CAD",label:"Canadian Dollar"},{value:"CDF",label:"Congolese Franc"},{value:"CHE",label:"WIR Euro"},{value:"CHF",label:"Swiss Franc"},{value:"CHW",label:"WIR Franc"},{value:"CLP",label:"Chilean Peso"},{value:"CNY",label:"Chinese Yuan"},{value:"COP",label:"Colombian Peso"},{value:"CRC",label:"Costa Rican Colón"},{value:"CUC",label:"Cuban Convertible Peso"},{value:"CUP",label:"Cuban Peso"},{value:"CVE",label:"Cape Verdean Escudo"},{value:"CZK",label:"Czech Koruna"},{value:"DJF",label:"Djiboutian Franc"},{value:"DKK",label:"Danish Krone"},{value:"DOP",label:"Dominican Peso"},{value:"DZD",label:"Algerian Dinar"},{value:"EGP",label:"Egyptian Pound"},{value:"ERN",label:"Eritrean Nakfa"},{value:"ESP",label:"Spanish Peseta"},{value:"ETB",label:"Ethiopian Birr"},{value:"EUR",label:"Euro"},{value:"FJD",label:"Fijian Dollar"},{value:"FKP",label:"Falkland Islands Pound"},{value:"GBP",label:"British Pound"},{value:"GEL",label:"Georgian Lari"},{value:"GHS",label:"Ghanaian Cedi"},{value:"GIP",label:"Gibraltar Pound"},{value:"GMD",label:"Gambian Dalasi"},{value:"GNF",label:"Guinean Franc"},{value:"GTQ",label:"Guatemalan Quetzal"},{value:"GYD",label:"Guyanese Dollar"},{value:"HKD",label:"Hong Kong Dollar"},{value:"HNL",label:"Honduran Lempira"},{value:"HRK",label:"Croatian Kuna"},{value:"HTG",label:"Haitian Gourde"},{value:"HUF",label:"Hungarian Forint"},{value:"IDR",label:"Indonesian Rupiah"},{value:"ILS",label:"Israeli New Shekel"},{value:"INR",label:"Indian Rupee"},{value:"IQD",label:"Iraqi Dinar"},{value:"IRR",label:"Iranian Rial"},{value:"ISK",label:"Icelandic Króna"},{value:"JMD",label:"Jamaican Dollar"},{value:"JOD",label:"Jordanian Dinar"},{value:"JPY",label:"Japanese Yen"},{value:"KES",label:"Kenyan Shilling"},{value:"KGS",label:"Kyrgyzstani Som"},{value:"KHR",label:"Cambodian Riel"},{value:"KMF",label:"Comorian Franc"},{value:"KPW",label:"North Korean Won"},{value:"KRW",label:"South Korean Won"},{value:"KWD",label:"Kuwaiti Dinar"},{value:"KYD",label:"Caymanian Dollar"},{value:"KZT",label:"Kazakhstani Tenge"},{value:"LAK",label:"Lao Kip"},{value:"LBP",label:"Lebanese Pound"},{value:"LKR",label:"Sri Lankan Rupee"},{value:"LRD",label:"Liberian Dollar"},{value:"LSL",label:"Lesotho Loti"},{value:"LTL",label:"Lithuanian Litas"},{value:"LVL",label:"Latvian Lats"},{value:"LYD",label:"Libyan Dinar"},{value:"MAD",label:"Moroccan Dirham"},{value:"MDL",label:"Moldovan Leu"},{value:"MGA",label:"Malagasy Ariary"},{value:"MKD",label:"Macedonian Denar"},{value:"MMK",label:"Myanmar Kyat"},{value:"MNT",label:"Mongolian Tögrög"},{value:"MOP",label:"Macanese Pataca"},{value:"MRU",label:"Mauritanian Ouguiya"},{value:"MUR",label:"Mauritian Rupee"},{value:"MVR",label:"Maldivian Rufiyaa"},{value:"MWK",label:"Malawian Kwacha"},{value:"MXN",label:"Mexican Peso"},{value:"MYR",label:"Malaysian Ringgit"},{value:"MZN",label:"Mozambican Metical"},{value:"NAD",label:"Namibian Dollar"},{value:"NGN",label:"Nigerian Naira"},{value:"NIO",label:"Nicaraguan Córdoba"},{value:"NOK",label:"Norwegian Krone"},{value:"NPR",label:"Nepalese Rupee"},{value:"NZD",label:"New Zealand Dollar"},{value:"OMR",label:"Omani Rial"},{value:"PAB",label:"Panamanian Balboa"},{value:"PEN",label:"Peruvian Sol"},{value:"PHP",label:"Philippine Peso"},{value:"PKR",label:"Pakistani Rupee"},{value:"PLN",label:"Polish Zloty"},{value:"PRB",label:"Transnistrian Ruble"},{value:"PYG",label:"Paraguayan Guarani"},{value:"QAR",label:"Qatari Riyal"},{value:"RON",label:"Romanian Leu"},{value:"RSD",label:"Serbian Dinar"},{value:"RUB",label:"Russian Ruble"},{value:"RWF",label:"Rwandan Franc"},{value:"SAR",label:"Saudi Riyal"},{value:"SCR",label:"Seychellois Rupee"},{value:"SDG",label:"Sudanese Pound"},{value:"SEK",label:"Swedish Krona"},{value:"SGD",label:"Singapore Dollar"},{value:"SHP",label:"Saint Helena Pound"},{value:"SLL",label:"Sierra Leonean Leone"},{value:"SOS",label:"Somali Shilling"},{value:"SRD",label:"Surinamese Dollar"},{value:"SSP",label:"South Sudanese Pound"},{value:"SVC",label:"Salvadoran Colón"},{value:"SYP",label:"Syrian Pound"},{value:"SZL",label:"Swazi Lilangeni"},{value:"THB",label:"Thai Baht"},{value:"TJS",label:"Tajikistani Somoni"},{value:"TMT",label:"Turkmenistani Manat"},{value:"TND",label:"Tunisian Dinar"},{value:"TOP",label:"Tongan Paʻanga"},{value:"TRY",label:"Turkish Lira"},{value:"TWD",label:"New Taiwan Dollar"},{value:"TZS",label:"Tanzanian Shilling"},{value:"UAH",label:"Ukrainian Hryvnia"},{value:"UGX",label:"Ugandan Shilling"},{value:"USD",label:"United States Dollar"},{value:"UYU",label:"Uruguayan Peso"},{value:"UZS",label:"Uzbekistani Som"},{value:"VEF",label:"Venezuelan Bolívar"},{value:"VND",label:"Vietnamese Dong"},{value:"VUV",label:"Vanuatu Vatu"},{value:"WST",label:"Samoan Tala"},{value:"YER",label:"Yemeni Rial"},{value:"ZAR",label:"South African Rand"},{value:"ZMW",label:"Zambian Kwacha"},{value:"ZWL",label:"Zimbabwean Dollar"}],Kc={AED:"د.إ",AFN:"؋",ALL:"Lek",AMD:"դր",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"₼",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"Fr",BMD:"$",BND:"$",BOB:"Bs.",BOV:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"$",CAD:"$",CDF:"Fr",CHE:"Fr",CHF:"Fr",CHW:"Fr",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fr",DKK:"kr",DOP:"$",DZD:"د.ج",EGP:"£",ERN:"Nkf",ESP:"₧",ETB:"Br",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GHS:"₵",GIP:"£",GMD:"D",GNF:"Fr",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",INR:"₹",IQD:"ع.د",IRR:"ریال",ISK:"kr",JMD:"$",JOD:"د.ا",JPY:"¥",KES:"Sh",KGS:"лв",KHR:"៛",KMF:"Fr",KPW:"₩",KRW:"₩",KWD:"د.ك",KYD:"$",KZT:"₸",LAK:"₭",LBP:"ل.ل",LKR:"₨",LRD:"$",LSL:"M",LTL:"Lt",LVL:"Ls",LYD:"د.ل",MAD:"د.م.",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"P",MRU:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"ر.ع.",PAB:"B/.",PEN:"S/",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PRB:"₽",PYG:"₲",QAR:"ر.ق",RON:"lei",RSD:"дин.",RUB:"₽",RWF:"Fr",SAR:"ر.س",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"Sh",SRD:"$",SSP:"£",STN:"Db",SVC:"$",SYP:"ل.س",SZL:"L",THB:"฿",TJS:"SM",TMT:"m",TND:"د.ت",TOP:"T$",TRY:"₺",TTD:"$",TWD:"NT$",TZS:"Sh",UAH:"₴",UGX:"Sh",USD:"$",UYU:"$",UZS:"сўм",VEF:"Bs.F",VND:"₫",VUV:"Vt",WST:"T",XAF:"Fr",XAG:"XAG",XAU:"XAU",XBA:"XBA",XBB:"XBB",XBC:"XBC",XBD:"XBD",XCD:"$",XDR:"XDR",XOF:"Fr",XPD:"XPD",XPF:"₣",XPT:"XPT",XSU:"XSU",XTS:"XTS",XUA:"XUA",YER:"ر.ي",ZAR:"R",ZMW:"K",ZWL:"$"};var oi={},Ho,qc;function Qc(){if(qc)return Ho;qc=1;var e="Expected a function",t=NaN,n="[object Symbol]",r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,u=typeof Pn=="object"&&Pn&&Pn.Object===Object&&Pn,c=typeof self=="object"&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),h=Object.prototype,m=h.toString,p=Math.max,g=Math.min,b=function(){return d.Date.now()};function v(E,w,z){var I,k,F,N,B,H,L=0,S=!1,T=!1,G=!0;if(typeof E!="function")throw new TypeError(e);w=M(w)||0,x(z)&&(S=!!z.leading,T="maxWait"in z,F=T?p(M(z.maxWait)||0,w):F,G="trailing"in z?!!z.trailing:G);function O(R){var ue=I,U=k;return I=k=void 0,L=R,N=E.apply(U,ue),N}function _(R){return L=R,B=setTimeout(W,w),S?O(R):N}function A(R){var ue=R-H,U=R-L,J=w-ue;return T?g(J,F-U):J}function $(R){var ue=R-H,U=R-L;return H===void 0||ue>=w||ue<0||T&&U>=F}function W(){var R=b();if($(R))return D(R);B=setTimeout(W,A(R))}function D(R){return B=void 0,G&&I?O(R):(I=k=void 0,N)}function X(){B!==void 0&&clearTimeout(B),L=0,I=H=k=B=void 0}function K(){return B===void 0?N:D(b())}function ae(){var R=b(),ue=$(R);if(I=arguments,k=this,H=R,ue){if(B===void 0)return _(H);if(T)return B=setTimeout(W,w),O(H)}return B===void 0&&(B=setTimeout(W,w)),N}return ae.cancel=X,ae.flush=K,ae}function x(E){var w=typeof E;return!!E&&(w=="object"||w=="function")}function y(E){return!!E&&typeof E=="object"}function C(E){return typeof E=="symbol"||y(E)&&m.call(E)==n}function M(E){if(typeof E=="number")return E;if(C(E))return t;if(x(E)){var w=typeof E.valueOf=="function"?E.valueOf():E;E=x(w)?w+"":w}if(typeof E!="string")return E===0?E:+E;E=E.replace(r,"");var z=a.test(E);return z||o.test(E)?s(E.slice(2),z?2:8):i.test(E)?t:+E}return Ho=v,Ho}var Rc;function O8(){if(Rc)return oi;Rc=1;function e(E){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},e(E)}Object.defineProperty(oi,"__esModule",{value:!0}),oi.DebounceInput=void 0;var t=i(l),n=i(Qc()),r=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function i(E){return E&&E.__esModule?E:{default:E}}function a(E,w){if(E==null)return{};var z=o(E,w),I,k;if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(E);for(k=0;k<F.length;k++)I=F[k],!(w.indexOf(I)>=0)&&Object.prototype.propertyIsEnumerable.call(E,I)&&(z[I]=E[I])}return z}function o(E,w){if(E==null)return{};var z={},I=Object.keys(E),k,F;for(F=0;F<I.length;F++)k=I[F],!(w.indexOf(k)>=0)&&(z[k]=E[k]);return z}function s(E,w){var z=Object.keys(E);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(E);w&&(I=I.filter(function(k){return Object.getOwnPropertyDescriptor(E,k).enumerable})),z.push.apply(z,I)}return z}function u(E){for(var w=1;w<arguments.length;w++){var z=arguments[w]!=null?arguments[w]:{};w%2?s(Object(z),!0).forEach(function(I){C(E,I,z[I])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(z)):s(Object(z)).forEach(function(I){Object.defineProperty(E,I,Object.getOwnPropertyDescriptor(z,I))})}return E}function c(E,w){if(!(E instanceof w))throw new TypeError("Cannot call a class as a function")}function d(E,w){for(var z=0;z<w.length;z++){var I=w[z];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(E,I.key,I)}}function h(E,w,z){return w&&d(E.prototype,w),Object.defineProperty(E,"prototype",{writable:!1}),E}function m(E,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(w&&w.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),Object.defineProperty(E,"prototype",{writable:!1}),w&&p(E,w)}function p(E,w){return p=Object.setPrototypeOf||function(I,k){return I.__proto__=k,I},p(E,w)}function g(E){var w=x();return function(){var I=y(E),k;if(w){var F=y(this).constructor;k=Reflect.construct(I,arguments,F)}else k=I.apply(this,arguments);return b(this,k)}}function b(E,w){if(w&&(e(w)==="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(E)}function v(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function x(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function y(E){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(z){return z.__proto__||Object.getPrototypeOf(z)},y(E)}function C(E,w,z){return w in E?Object.defineProperty(E,w,{value:z,enumerable:!0,configurable:!0,writable:!0}):E[w]=z,E}var M=function(E){m(z,E);var w=g(z);function z(I){var k;c(this,z),k=w.call(this,I),C(v(k),"onChange",function(N){N.persist();var B=k.state.value,H=k.props.minLength;k.setState({value:N.target.value},function(){var L=k.state.value;if(L.length>=H){k.notify(N);return}B.length>L.length&&k.notify(u(u({},N),{},{target:u(u({},N.target),{},{value:""})}))})}),C(v(k),"onKeyDown",function(N){N.key==="Enter"&&k.forceNotify(N);var B=k.props.onKeyDown;B&&(N.persist(),B(N))}),C(v(k),"onBlur",function(N){k.forceNotify(N);var B=k.props.onBlur;B&&(N.persist(),B(N))}),C(v(k),"createNotifier",function(N){if(N<0)k.notify=function(){return null};else if(N===0)k.notify=k.doNotify;else{var B=(0,n.default)(function(H){k.isDebouncing=!1,k.doNotify(H)},N);k.notify=function(H){k.isDebouncing=!0,B(H)},k.flush=function(){return B.flush()},k.cancel=function(){k.isDebouncing=!1,B.cancel()}}}),C(v(k),"doNotify",function(){var N=k.props.onChange;N.apply(void 0,arguments)}),C(v(k),"forceNotify",function(N){var B=k.props.debounceTimeout;if(!(!k.isDebouncing&&B>0)){k.cancel&&k.cancel();var H=k.state.value,L=k.props.minLength;H.length>=L?k.doNotify(N):k.doNotify(u(u({},N),{},{target:u(u({},N.target),{},{value:H})}))}}),k.isDebouncing=!1,k.state={value:typeof I.value>"u"||I.value===null?"":I.value};var F=k.props.debounceTimeout;return k.createNotifier(F),k}return h(z,[{key:"componentDidUpdate",value:function(k){if(!this.isDebouncing){var F=this.props,N=F.value,B=F.debounceTimeout,H=k.debounceTimeout,L=k.value,S=this.state.value;typeof N<"u"&&L!==N&&S!==N&&this.setState({value:N}),B!==H&&this.createNotifier(B)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var k=this.props,F=k.element;k.onChange,k.value,k.minLength,k.debounceTimeout;var N=k.forceNotifyByEnter,B=k.forceNotifyOnBlur,H=k.onKeyDown,L=k.onBlur,S=k.inputRef,T=a(k,r),G=this.state.value,O;N?O={onKeyDown:this.onKeyDown}:H?O={onKeyDown:H}:O={};var _;B?_={onBlur:this.onBlur}:L?_={onBlur:L}:_={};var A=S?{ref:S}:{};return t.default.createElement(F,u(u(u(u({},T),{},{onChange:this.onChange,value:G},O),_),A))}}]),z}(t.default.PureComponent);return oi.DebounceInput=M,C(M,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0}),oi}var jo,e0;function V8(){if(e0)return jo;e0=1;var e=O8(),t=e.DebounceInput;return t.DebounceInput=t,jo=t,jo}var t0=V8();const n0=({classValue:e,size:t=24,fill:n="currentColor",...r})=>f.jsxs("svg",{className:Y(e),width:t,height:t,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:[f.jsx("rect",{width:"12",height:"12",rx:"6",fill:n}),f.jsx("g",{clipPath:"url(#clip0_8212_362816)",children:f.jsx("path",{d:"M8.10023 3.90357C7.97023 3.77357 7.76023 3.77357 7.63023 3.90357L6.00023 5.53023L4.37023 3.90023C4.24023 3.77023 4.03023 3.77023 3.90023 3.90023C3.77023 4.03023 3.77023 4.24023 3.90023 4.37023L5.53023 6.00023L3.90023 7.63023C3.77023 7.76023 3.77023 7.97023 3.90023 8.10023C4.03023 8.23023 4.24023 8.23023 4.37023 8.10023L6.00023 6.47023L7.63023 8.10023C7.76023 8.23023 7.97023 8.23023 8.10023 8.10023C8.23023 7.97023 8.23023 7.76023 8.10023 7.63023L6.47023 6.00023L8.10023 4.37023C8.2269 4.24357 8.2269 4.03023 8.10023 3.90357Z",fill:"#98A2B3"})}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_8212_362816",children:f.jsx("rect",{width:"8",height:"8",fill:"white",transform:"translate(2 2)"})})})]});n0.displayName="CloseRounded";const r0=({width:e=15,height:t=15,fill:n="#98A2B3",className:r})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.toString(),height:t.toString(),viewBox:"0 0 20 20",fill:"none",className:r,children:f.jsx("path",{d:"M17.5 17.5L12.5001 12.5M14.1667 8.33333C14.1667 11.555 11.555 14.1667 8.33333 14.1667C5.11167 14.1667 2.5 11.555 2.5 8.33333C2.5 5.11167 5.11167 2.5 8.33333 2.5C11.555 2.5 14.1667 5.11167 14.1667 8.33333Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),i0=e=>{const{value:t,placeholder:n,onChange:r,id:i,debounceTimeout:a=0,classValues:o,handleKeyDown:s,isClearable:u,onFocusText:c,autoComplete:d="false",searchRef:h,hasNavigation:m=!1,autoFocus:p=!1,searchConfig:g,hideSearchIcon:b,allowAStarSearch:v=!1,isDark:x=!1,...y}=e,{t:C}=tn(),[M,E]=l.useState(!1),[w,z]=l.useState("search"),I=l.useRef(null),{searchCount:k,searchPointer:F,setSearchPointer:N}=g||{},B=()=>{E(!0),z(c||n||C("Search"));const L=h||I;L.current&&L.current.focus()},H=()=>{E(!1),z("")};return f.jsxs("label",{className:Y(`relative flex items-center justify-start px-4 py-[9px] w-full ${x?"bg-neutral-900":"bg-white"} dark:bg-black-700 rounded-lg text-neutral-400 h-8`,o),children:[!b&&f.jsx("div",{className:"flex items-center h-6 w-6 pointer-events-none",children:f.jsx(r0,{width:"16",height:"16"})}),f.jsx(t0.DebounceInput,{...y,spellCheck:"false",debounceTimeout:a,id:i,inputRef:h||I,type:"text",className:Y(`absolute inset-0 ${b?"pl-2":"pl-10"} pl-10 pr-7 w-full text-sm ${x?"text-[#98A2B3]":"text-neutral-900"} dark:text-white bg-transparent rounded-lg focus:outline-none focus:!ring-primary-500 focus:!border-primary-500`,"border border-solid",x?"border-neutral-800":"border-neutral-200","dark:caret-white",o),onKeyDown:L=>{L.key==="Enter"&&L.preventDefault(),s&&s(L)},value:t||"",placeholder:M?w:v?"":`${C("Search")}`,onChange:L=>r?.(L.target.value),autoComplete:d,onFocus:L=>{E(!0),B(),e.onFocus&&e.onFocus(L)},onBlur:L=>{E(!1),H(),e.onBlur&&e.onBlur(L)},autoFocus:p}),m&&t&&f.jsxs("div",{className:Y("absolute mr-2 focus:outline-none flex gap-1",u?"right-6":"right-0"),children:[!!k&&(k||0)>0&&f.jsxs("span",{className:"text-xs border-r pr-2 border-gray-200",children:[(F||0)+1,"/",k]}),f.jsxs("div",{className:"flex gap-1 items-center",children:[f.jsx("button",{id:"btn-search-bar-set-search-pointer-forward",onClick:()=>{N&&N(L=>(L||0)-1)},disabled:F===0,children:f.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M15 18l-6-6 6-6",stroke:"#98A2B3",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),f.jsx("button",{id:"btn-search-bar-set-search-pointer-backward",onClick:()=>{N&&N(L=>(L||0)+1)},disabled:F===(k||0)-1,children:f.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M9 18l6-6-6-6",stroke:"#98A2B3",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}),v&&!(u&&t)&&!M&&!t?f.jsxs("div",{className:"absolute flex ml-6 items-center justify-center focus:outline-none gap-1 flex-wrap-none",children:[f.jsxs(se,{className:"text-[#98A2B3] dark:text-black-400 font-inter text-sm font-medium leading-5",children:[C("Search")," (use"]}),f.jsx("button",{className:" bg-[#EAECF0] dark:bg-black-800 rounded-sm text-sm w-3 h-5",children:f.jsx("div",{className:"text-[#475467] dark:text-black-300 dark:bg-black-600",children:"*"})}),f.jsx(se,{className:"text-[#98A2B3] dark:text-black-400 font-inter text-sm font-medium leading-5",children:"as a wildcard)"})]}):u&&t&&f.jsx("button",{id:"btn-search-bar-close",className:"absolute right-0 mr-2 focus:outline-none",onClick:()=>r?.(""),children:f.jsx(n0,{classValue:"text-neutral-200 dark:text-black-500",size:16})})]})};var yr=(e=>(e.LEFT="left",e.RIGHT="right",e.TOP="top",e))(yr||{});const G8=(e,t,n,r="medium")=>{const i={small:"w-7 h-4 after:h-3 after:w-3 after:top-0.5 after:left-0.5",medium:"w-9 h-5 after:h-4 after:w-4 after:top-0.5 after:left-0.5",large:"w-11 h-6 after:h-5 after:w-5 after:top-0.5 after:left-0.5"},a={small:"peer-checked:after:translate-x-3",medium:"peer-checked:after:translate-x-full",large:"peer-checked:after:translate-x-5"};return Y("p-0.5 rounded-full peer after:content-[''] after:absolute after:rounded-full after:transition-all bg-gray-200 dark:bg-black-400",i[r],a[r],{"peer-checked:bg-primary-600 dark:peer-checked:bg-primary-700 peer-checked:after:translate-x-full after:bg-white dark:after:bg-primary-500":e,"after:bg-white dark:after:bg-black-500":!e,"text-white dark:text-black-900":t,"cursor-not-allowed opacity-70":n})},_8=({size:e=18,fill:t="#016DCF"})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z",fill:t})}),$8=({size:e=18,fill:t="#101828"})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z",fill:t})}),Po=l.forwardRef(({isGTN:e=!1,isChecked:t,id:n,onChange:r,label:i,required:a,isRequiredConditional:o=!1,originalCase:s=!1,hideStatus:u=!1,labelDirection:c=yr.TOP,statusText:d,withIcon:h=!1,tags:m,isAiExtracted:p=!1,tooltip:g="",className:b="",isDisabled:v=!1,icon:x,stopClickPropagation:y=!0,gtnName:C,variant:M="primary",labelClassName:E,isLiveField:w=!1,message:z,messageType:I="default",wrapperClassName:k,helpText:F,size:N="medium",renderAiExtractedIndicator:B,renderLabels:H,renderRequired:L,renderTooltip:S,renderLiveFieldIcon:T,renderGTNAddButton:G,onAddGTNToDocument:O,AddToDocumentIcon:_},A)=>{const{t:$}=tn(),W=c===yr.TOP,D=c===yr.LEFT,X=c===yr.RIGHT,[K,ae]=l.useState(!1),R=()=>{O&&O({key:C,value:t?"Yes":"No"})},ue=()=>I==="error"?"text-red-500 dark:text-red-400":I==="success"?"text-green-500 dark:text-green-400":I==="info"?"text-primary-500 dark:text-primary-400":"text-neutral-500 dark:text-neutral-400",U=J=>f.jsx("span",{className:`ml-0.5 ${J?"text-yellow-500":"text-red-500"}`,children:"*"});return f.jsxs("div",{className:Y("flex gap-0.5",K&&e?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",k),onMouseEnter:()=>ae(!0),onMouseLeave:()=>ae(!1),onClick:J=>{y&&J.stopPropagation()},children:[e&&!K?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-pulse mt-1.5"}):null,f.jsxs("div",{className:"w-full flex flex-col",children:[W&&i&&f.jsxs("div",{className:"w-full flex justify-between flex-wrap",children:[f.jsxs("h1",{className:Y("mb-1 font-inter text-neutral-600 font-medium text-xs flex items-center gap-0.5 flex-wrap",E),children:[f.jsxs(se,{size:"extra-small",variant:"medium",className:s?"":"capitalize",appearance:"subtitle",children:[i,a&&(L?L(o):U(o))]}),w&&f.jsx(We.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),p&&f.jsx(ln,{}),f.jsx(St,{labels:m||[]}),g&&f.jsx(et,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),f.jsx("button",{id:"btn-toggle-add-to-document",className:"cursor-pointer",onClick:R,type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:$("Add to document"),children:f.jsx(We.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}),e&&K?G?G(R):f.jsx("button",{id:"btn-toggle-add-to-document",className:"cursor-pointer",onClick:R,type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:$("Add to document"),children:f.jsx(We.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]}),F&&f.jsx(se,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:F}),f.jsxs("div",{className:"flex",children:[D&&f.jsx(se,{size:"small",variant:"medium",className:Y("mr-2 text-neutral-700 dark:text-black-200",E),appearance:"custom",children:i}),f.jsxs("label",{className:Y("relative inline-flex items-center",X||d?"":"w-min",v?"cursor-not-allowed opacity-50":"cursor-pointer"),onClick:J=>J.stopPropagation(),children:[f.jsx("input",{ref:A,type:"checkbox",id:n,onChange:J=>!v&&r(J.target.checked),value:"",disabled:v,checked:t,className:Y("sr-only peer w-full",b),"aria-required":a,"aria-invalid":z&&I==="error"?"true":"false","aria-describedby":z||F?`${n}-description`:void 0}),f.jsx("div",{className:G8(t,h,v,N),children:h?f.jsx("div",{className:"flex items-center justify-center h-full",children:f.jsx("div",{className:Y("z-10 transition-all transform",N==="small"&&(t?"translate-x-2":"translate-x-[-6px]"),N==="medium"&&(t?"translate-x-[8.5px]":"translate-x-[-8px]"),N==="large"&&(t?"translate-x-2.5":"translate-x-[-10px]")),children:t?x?.checkedIcon?x.checkedIcon:f.jsx(_8,{size:18,fill:"#016DCF"}):x?.uncheckedIcon?x.uncheckedIcon:f.jsx($8,{size:18,fill:"#101828"})})}):null}),X&&f.jsx(se,{size:"small",variant:"medium",className:Y("ml-2 text-neutral-700 dark:text-black-300",E),appearance:"custom",children:i}),u?null:f.jsx(se,{size:"small",variant:"medium",className:"ml-2 text-neutral-900 dark:text-black-100",appearance:"custom",children:d||(t?"Yes":"No")})]})]}),f.jsx(Ue.AnimatePresence,{children:z&&f.jsx(Ue.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${n}-description`,role:I==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",ue()),appearance:"custom",size:"extra-small",variant:"medium",children:z})})}),F&&!z&&f.jsx("div",{id:`${n}-description`,className:"sr-only",children:F})]})]})});Po.displayName="Toggle";const l0=e=>{try{return JSON.parse(e)}catch{return null}},W8=e=>{let t="";const n="0123456789abcdef";for(let r=0;r<e;r++)t+=n.charAt(Math.floor(Math.random()*n.length));return t},U8=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),X8=e=>{const t=[...e].sort((r,i)=>r.length-i.length),n=[];for(const r of t)n.some(a=>r!==a&&r.startsWith(a+"."))||n.push(r);return n},Z8=({fill:e="var(--color-primary-600)"})=>f.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M7.50008 13.4751L4.02508 10.0001L2.84175 11.1751L7.50008 15.8334L17.5001 5.83342L16.3251 4.65842L7.50008 13.4751Z",fill:e})}),Fl=({id:e,onClick:t,icon:n,text:r,className:i,isDisabled:a,onClose:o,notVisible:s,hideHoverEffect:u,leadingIcon:c,suffixRecord:d,stopPropagation:h,onToggle:m,isChecked:p=!1,highlight:g,truncateText:b=!1,showTick:v=!1,width:x="100%",tooltip:y,isFlowAvailable:C=!0})=>{const M=l.useCallback(k=>{o&&o(),k.preventDefault(),t?.(k),h&&k.stopPropagation()},[o,t,h]),E=(k,F)=>{if(!F||!k||typeof k!="string"&&typeof k!="number")return k;const N=U8(F),B=new RegExp(`(${N?.trim()})`,"gi"),H=k?.toString()?.split(B);return f.jsxs("span",{className:"overflow-clip text-ellipsis",children:[H[0],f.jsx("span",{className:"bg-yellow-300 dark:bg-primary-100 dark:text-black-900 rounded-sm",children:H[1]}),H?.slice(2)?.join("")]})},w=l.useCallback(k=>{m?.(),k.stopPropagation()},[m]),z=["delete","remove","clear","terminate session","terminate sessions","terminate all sessions"].some(F=>r?.toLowerCase().includes(F)),I=a||!C;return s?null:f.jsx("button",{id:e,className:Y("w-full p-1 bg-white dark:bg-black-800 group",i,I&&"opacity-60"),onClick:m?()=>null:M,disabled:I,onMouseMove:k=>k.stopPropagation(),children:f.jsxs("div",{className:Y("flex w-full justify-start items-center gap-2 px-2 py-1 rounded-lg transition-all duration-300 ease-in-out",!u&&"hover:bg-gray-50 dark:hover:bg-black-600 hover:shadow-md dark:hover:shadow-lg dark:hover:shadow-primary-500/20"),children:[n?f.jsx("div",{className:Y("h-5 w-5 flex-shrink-0 flex items-center text-neutral-900 dark:text-white transition-colors duration-300 ease-in-out",z?"group-hover:!text-red-600":"group-hover:text-primary-600 dark:group-hover:text-primary-400"),children:f.jsx(et,{placement:"top",title:y,children:n})}):null,f.jsxs("div",{className:"flex gap-2 flex-1 min-w-0 text-left justify-between items-center",children:[f.jsx("div",{className:Y("flex-1 min-w-0",b&&"max-w-[150px]"),style:{width:x},children:f.jsx(se,{className:Y("font-medium text-sm truncate transition-colors duration-300 ease-in-out",z?"group-hover:!text-red-600":"group-hover:!text-primary-600 dark:group-hover:!text-primary-400"),appearance:"custom",children:g?E(r,g):r})}),d?.[r]?f.jsx("span",{className:"flex-shrink-0 text-neutral-500 dark:text-neutral-200 bg-neutral-100 dark:bg-black-700 border-[#D0D5DD] dark:border-black-700 text-xs leading-[18px] font-normal border rounded-full px-2 py-0.5",children:d[r]||""}):null,v?f.jsx("div",{className:"flex-shrink-0",children:f.jsx(Z8,{fill:"var(--color-primary-600)"})}):null]}),c?f.jsx(f.Fragment,{children:y?f.jsx(et,{placement:"top",title:y,children:f.jsx("div",{className:Y("flex-shrink-0 transition-colors duration-300 ease-in-out",z?"group-hover:!text-red-600":"group-hover:text-primary-600 dark:group-hover:text-primary-400"),children:c})}):f.jsx("div",{className:Y("flex-shrink-0 transition-colors duration-300 ease-in-out",z?"group-hover:!text-red-600":"group-hover:text-primary-600 dark:group-hover:text-primary-400"),children:c})}):null,m?f.jsx("div",{className:"flex-shrink-0",children:f.jsx(Po,{onChange:w,isChecked:p,isDisabled:a,hideStatus:!0})}):null]})})};Fl.displayName="OptionButton";var Y8=["title"],J8=["title"],K8=["title"],q8=["title"],Q8=["title"],R8=["title"],eb=["title"],tb=["title"],nb=["title"],rb=["title"],ib=["title"],lb=["title"],ab=["title"],ob=["title"],sb=["title"],ub=["title"],cb=["title"],db=["title"],fb=["title"],hb=["title"],mb=["title"],pb=["title"],gb=["title"],vb=["title"],bb=["title"],xb=["title"],wb=["title"],yb=["title"],Eb=["title"],Cb=["title"],kb=["title"],Ib=["title"],zb=["title"],Fb=["title"],Mb=["title"],Sb=["title"],Ab=["title"],Nb=["title"],Db=["title"],Lb=["title"],Tb=["title"],Bb=["title"],Hb=["title"],jb=["title"],Pb=["title"],Ob=["title"],Vb=["title"],Gb=["title"],_b=["title"],$b=["title"],Wb=["title"],Ub=["title"],Xb=["title"],Zb=["title"],Yb=["title"],Jb=["title"],Kb=["title"],qb=["title"],Qb=["title"],Rb=["title"],ex=["title"],tx=["title"],nx=["title"],rx=["title"],ix=["title"],lx=["title"],ax=["title"],ox=["title"],sx=["title"],ux=["title"],cx=["title"],dx=["title"],fx=["title"],hx=["title"],mx=["title"],px=["title"],gx=["title"],vx=["title"],bx=["title"],xx=["title"],wx=["title"],yx=["title"],Ex=["title"],Cx=["title"],kx=["title"],Ix=["title"],zx=["title"],Fx=["title"],Mx=["title"],Sx=["title"],Ax=["title"],Nx=["title"],Dx=["title"],Lx=["title"],Tx=["title"],Bx=["title"],Hx=["title"],jx=["title"],Px=["title"],Ox=["title"],Vx=["title"],Gx=["title"],_x=["title"],$x=["title"],Wx=["title"],Ux=["title"],Xx=["title"],Zx=["title"],Yx=["title"],Jx=["title"],Kx=["title"],qx=["title"],Qx=["title"],Rx=["title"],ew=["title"],tw=["title"],nw=["title"],rw=["title"],iw=["title"],lw=["title"],aw=["title"],ow=["title"],sw=["title"],uw=["title"],cw=["title"],dw=["title"],fw=["title"],hw=["title"],mw=["title"],pw=["title"],gw=["title"],vw=["title"],bw=["title"],xw=["title"],ww=["title"],yw=["title"],Ew=["title"],Cw=["title"],kw=["title"],Iw=["title"],zw=["title"],Fw=["title"],Mw=["title"],Sw=["title"],Aw=["title"],Nw=["title"],Dw=["title"],Lw=["title"],Tw=["title"],Bw=["title"],Hw=["title"],jw=["title"],Pw=["title"],Ow=["title"],Vw=["title"],Gw=["title"],_w=["title"],$w=["title"],Ww=["title"],Uw=["title"],Xw=["title"],Zw=["title"],Yw=["title"],Jw=["title"],Kw=["title"],qw=["title"],Qw=["title"],Rw=["title"],ey=["title"],ty=["title"],ny=["title"],ry=["title"],iy=["title"],ly=["title"],ay=["title"],oy=["title"],sy=["title"],uy=["title"],cy=["title"],dy=["title"],fy=["title"],hy=["title"],my=["title"],py=["title"],gy=["title"],vy=["title"],by=["title"],xy=["title"],wy=["title"],yy=["title"],Ey=["title"],Cy=["title"],ky=["title"],Iy=["title"],zy=["title"],Fy=["title"],My=["title"],Sy=["title"],Ay=["title"],Ny=["title"],Dy=["title"],Ly=["title"],Ty=["title"],By=["title"],Hy=["title"],jy=["title"],Py=["title"],Oy=["title"],Vy=["title"],Gy=["title"],_y=["title"],$y=["title"],Wy=["title"],Uy=["title"],Xy=["title"],Zy=["title"],Yy=["title"],Jy=["title"],Ky=["title"],qy=["title"],Qy=["title"],Ry=["title"],eE=["title"],tE=["title"],nE=["title"],rE=["title"],iE=["title"],lE=["title"],aE=["title"],oE=["title"],sE=["title"],uE=["title"],cE=["title"],dE=["title"],fE=["title"],hE=["title"],mE=["title"],pE=["title"],gE=["title"],vE=["title"],bE=["title"],xE=["title"],wE=["title"],yE=["title"],EE=["title"],CE=["title"],kE=["title"],IE=["title"],zE=["title"],FE=["title"],ME=["title"],SE=["title"],AE=["title"],NE=["title"];function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}function P(e,t){if(e==null)return{};var n=DE(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function DE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var a0=function(t){var n=t.title,r=P(t,Y8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"}),l.createElement("path",{fill:"#29DBFF",d:"M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"}),l.createElement("path",{fill:"#FFF",d:"M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"}),l.createElement("path",{fill:"#29DBFF",d:"M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"}),l.createElement("path",{fill:"#FFF",d:"M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"}),l.createElement("path",{fill:"#29DBFF",d:"M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"}),l.createElement("path",{fill:"#5CC85C",d:"M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"}),l.createElement("ellipse",{transform:"rotate(-82.3 291.431 225.686)",fill:"#F7A226",cx:291.4,cy:225.7,rx:48.7,ry:15.7}),l.createElement("ellipse",{transform:"rotate(-68.099 303.087 164.67)",fill:"#DDC7AB",cx:303.1,cy:164.7,rx:11.7,ry:7.2}),l.createElement("ellipse",{transform:"rotate(-81.738 291.697 271.697)",fill:"#DDC7AB",cx:291.7,cy:271.7,rx:11.4,ry:3.3}),l.createElement("ellipse",{transform:"matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)",fill:"#DDC7AB",cx:299.6,cy:269.4,rx:3.3,ry:11}),l.createElement("ellipse",{transform:"rotate(-21.518 314.54 201.06)",fill:"#DDC7AB",cx:314.5,cy:201.1,rx:4.1,ry:13.7}),l.createElement("ellipse",{transform:"rotate(-21.518 317.511 178.077)",fill:"#DDC7AB",cx:317.5,cy:178.1,rx:13.7,ry:4.1}),l.createElement("ellipse",{transform:"rotate(-7.7 473.781 225.857)",fill:"#F7A226",cx:473.6,cy:225.9,rx:15.7,ry:48.7}),l.createElement("ellipse",{transform:"rotate(-21.901 462.057 164.866)",fill:"#DDC7AB",cx:462,cy:164.9,rx:7.2,ry:11.7}),l.createElement("ellipse",{transform:"rotate(-8.27 473.27 271.908)",fill:"#DDC7AB",cx:473.4,cy:271.9,rx:3.3,ry:11.4}),l.createElement("ellipse",{transform:"matrix(.05353 -.9986 .9986 .05353 171.34 719.998)",fill:"#DDC7AB",cx:465.5,cy:269.6,rx:11,ry:3.3}),l.createElement("ellipse",{transform:"rotate(-68.482 450.552 201.247)",fill:"#DDC7AB",cx:450.6,cy:201.2,rx:13.7,ry:4.1}),l.createElement("ellipse",{transform:"rotate(-68.482 447.58 178.265)",fill:"#DDC7AB",cx:447.6,cy:178.3,rx:4.1,ry:13.7}),l.createElement("path",{fill:"#B0C6CC",d:"M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{fill:"#D80027",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}))},o0=function(t){var n=t.title,r=P(t,J8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"}),l.createElement("path",{d:"M267.6 113.6v64.7m16.6-64.7v64.7m16.6-64.7v64.7",stroke:"#D80027",strokeWidth:7}),l.createElement("path",{d:"M247.4 178.4v64.7m-13.3-64.7v64.7m-13.3-64.6v53.9m-13.7-53.9v47.1",stroke:"#D80027",strokeWidth:5}),l.createElement("path",{fill:"#FFDA44",d:"m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"}),l.createElement("path",{fill:"#BC8B00",d:"M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"}),l.createElement("path",{fill:"#D80027",d:"M264.4 188.9h29.5v8.6h-29.5zm0 17.6h29.5v8.6h-29.5z"}))},s0=function(t){var n=t.title,r=P(t,K8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"51.3 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#009e49",d:"M0 0h513v114H0z"}),l.createElement("path",{d:"M0 228h513v114H0z"}),l.createElement("path",{fill:"#ce1126",d:"M0 0h171v342H0z"}))},u0=function(t){var n=t.title,r=P(t,q8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#DB3E00",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#479900",d:"M331 0h182v342H331z"}),l.createElement("path",{d:"M0 0h181.8v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"}),l.createElement("path",{fill:"#FFF",d:"M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"}))},c0=function(t){var n=t.title,r=P(t,Q8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0072c6",d:"M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8"}),l.createElement("path",{fill:"#FFF",d:"M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z"}),l.createElement("path",{fill:"#FFDA44",d:"M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z"}),l.createElement("g",{fill:"#ce1126"},l.createElement("path",{d:"M256.5 342 0 0v342z"}),l.createElement("path",{d:"M513 342V0L256 342z"})))},d0=function(t){var n=t.title,r=P(t,R8);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#00318b",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 0 1-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z"}),l.createElement("path",{fill:"#8DCCFF",d:"M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z"}),l.createElement("path",{fill:"#D87B00",d:"M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z"}),l.createElement("path",{fill:"#D87B00",d:"M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z"}),l.createElement("path",{fill:"#D87B00",d:"M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z"}),l.createElement("path",{fill:"#FFF",d:"M256.5 0h-23.1L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1V171h22.6L96 121.8V171h64v-49.2l73.4 49.2h23.1v-22.9l-46.6-30.7h46.6v-64h-46.6l46.6-30.7z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112V171h32v-69.6h112.5v-32H144z"}),l.createElement("path",{fill:"#D80027",d:"M0 171v-11.3l62.5-42.3h22.6L7.3 171zM7.3.1l77.8 53.2H62.5L0 11.1V.1zm249.2 0v11l-63 42.3h-22.6L248.7.1zM248.7 171l-77.8-53.6h22.6l63 42.3V171z"}))},f0=function(t){var n=t.title,r=P(t,eb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15 0 60 60"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ED2024",d:"M0 0h90v60H0z"}),l.createElement("path",{fill:"#212121",d:"M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"}),l.createElement("path",{d:"M26.2 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM57.4 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM53.4 36.1h6.4V38h-6.4zm-23.2 0h6.4V38h-6.4z",fill:"#212121"}))},h0=function(t){var n=t.title,r=P(t,tb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#FF9811",d:"M0 228h513v114H0z"}))},m0=function(t){var n=t.title,r=P(t,nb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"100.89 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 171h513v171H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v171H0z"}),l.createElement("g",{fill:"#FFDA44"},l.createElement("path",{d:"m332.7 135.6 17.5-8.6-7.4-19-18.7 6.2zm-45.6-56 5.5-18.8-19.1-7.2-8 18zm29.4 23.2 12.2-15.3-14.9-13.9-14.2 13.6zm19.4 68.9 19.5-.8v-21.3l-22.9.2zm-12.6 38.1 18.8 5.5 7.3-19-18-8zm-29 32.4 14.9 12.7 14.4-14.4-13.1-14.7zm-47-147.7 9.8 19.9 21.9 3.3-15.9 15.5 3.6 21.9-19.6-10.4-19.7 10.2 3.8-21.9-15.8-15.5 22-3.1z"}),l.createElement("path",{d:"m250.8 61.3-2.7 18.3c43.1 3.2 77 39.2 77 83.1 0 46-37.3 82.9-83.4 83.4-29.2.3-51.3-14.8-67-33.7l-13.9 12.3c15 19 40.8 39.9 80.9 39.9 56.3 0 101.9-45.6 101.9-101.9.1-53.2-40.7-96.9-92.8-101.4z"}),l.createElement("path",{fill:"#000",d:"m291.9 223.4-11.8 14s51.9 38.9 53.6 40.4c1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-2-1.5-51.8-42-51.8-42z"}),l.createElement("path",{d:"M206.1 157.2c-7.7 10.3-7.5 23.1 2.8 30.9 0 0 135.2 101.5 136.9 103 1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-1.9-1.5-149.7-121.5-149.7-121.5zm47.7 99.1 7.3 18.2 19.5-6-4.8-19.1zm-40.4-3.7-2 19.5 20.1 3.6 4.5-19.1zm-35.7-21.2L167.4 248l16.4 12.1 12.5-15.2z"})))},p0=function(t){var n=t.title,r=P(t,rb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"124 0 496 496"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#3A7DCE",d:"M0 0h744v496H0V0z"}),l.createElement("path",{fill:"#fff",d:"m120 125 90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-46-49-62z"}))},g0=function(t){var n=t.title,r=P(t,ib);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 0h512v114H0zm0 228h512v114H0z"}),l.createElement("circle",{fill:"#FFDA44",stroke:"#d6ab00",strokeWidth:5,cx:256.5,cy:171,r:40}))},v0=function(t){var n=t.title,r=P(t,lb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"171 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#10338c",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M513 33 95.3 171 513 310.76V342L0 171 513 0z"}),l.createElement("path",{fill:"#FFF",d:"M513 287.18v24.58L81.72 171 513 30v24.16"}),l.createElement("path",{fill:"#A2001D",d:"m476.98 140.21-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z"}),l.createElement("path",{fill:"#EFC100",stroke:"#231F20",strokeMiterlimit:10,d:"m317.89 238.41-22.24-11.11 22.24-11.11h144.46v22.22z"}))},b0=function(t){var n=t.title,r=P(t,ab);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0zm0 228h513v114H0z"}))},x0=function(t){var n=t.title,r=P(t,ob);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#10338c",d:"M0 0h513v342H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M222.2 170.7c.3-.3.5-.6.8-.9-.2.3-.5.6-.8.9zM188 212.6l11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm42.5 49.7 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z"}),l.createElement("path",{d:"M254.8 0v30.6l-45.1 25.1h45.1V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9H99v-48.6l-87.4 48.6H-1.2v-30.6L44 115H-1.2V55.7h59.1L-1.2 22.8V0h26.7L99 40.8V0h55.6v48.6L242.1 0z"})),l.createElement("path",{fill:"#D80027",d:"M142.8 0h-32v69.3h-112v32h112v69.4h32v-69.4h112v-32h-112z"}),l.createElement("path",{fill:"#0052B4",d:"m154.6 115 100.2 55.7v-15.8L183 115z"}),l.createElement("path",{fill:"#FFF",d:"m154.6 115 100.2 55.7v-15.8L183 115z"}),l.createElement("path",{d:"m154.6 115 100.2 55.7v-15.8L183 115zm-83.9 0-71.9 39.9v15.8L99 115z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M99 55.7-1.2 0v15.7l71.9 40z"}),l.createElement("path",{fill:"#FFF",d:"M99 55.7-1.2 0v15.7l71.9 40z"}),l.createElement("path",{d:"M99 55.7-1.2 0v15.7l71.9 40zm84 0 71.8-40V0L154.6 55.7z",fill:"#D80027"}))},w0=function(t){var n=t.title,r=P(t,sb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 242 242"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 0h363v242H0z"}),l.createElement("path",{fill:"#FFF",d:"M57 96.9 14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z"}),l.createElement("path",{fill:"#f30028",d:"m75.6 40.6 11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z"}),l.createElement("path",{d:"M0 152.2h363v15.7H0zm0 31.4h363v15.7H0z",fill:"#FFDA44"}))},y0=function(t){var n=t.title,r=P(t,ub);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"39.33 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M513 210.9H202.2V342h-79.8V210.9H0v-79.8h122.4V0h79.8v131.1H513v61.2z"}),l.createElement("path",{fill:"#D80027",d:"M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"}))},E0=function(t){var n=t.title,r=P(t,cb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ef3340",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00b5e2",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#509e2f",d:"M0 228h513v114H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z"}),l.createElement("path",{d:"m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"})))},C0=function(t){var n=t.title,r=P(t,db);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#10338C",d:"M0 0h513.1v342H0z"}),l.createElement("path",{fill:"#F6C500",d:"M99.9 0h342v342"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M19.9 21.1 40.3 6.2 60.9 21 54 0H26.7z"}),l.createElement("path",{d:"M92.3 25.5 84.4 1.3l-7.8 24.2H51.3l20.5 14.8-7.8 24 20.4-14.8L105 64.3l-7.9-24 20.5-14.9z"}),l.createElement("path",{d:"m136.3 69.2-7.8-24-7.8 24H95.5l20.4 14.9-7.8 24 20.4-14.8 20.6 14.8-7.8-24 20.4-14.9z"}),l.createElement("path",{d:"m179.4 112.3-7.8-24.1-7.8 24.1h-25.3l20.5 14.9-7.8 24 20.4-14.8 20.6 14.8-7.9-24 20.5-15z"}),l.createElement("path",{d:"m222.5 155.3-7.8-24-7.8 24h-25.4l20.6 15-7.8 24 20.4-14.9 20.4 14.9-7.8-24 20.6-15z"}),l.createElement("path",{d:"m265.6 198.4-7.8-24-7.8 24h-25.4l20.6 14.9-7.8 24.1 20.4-14.9 20.4 14.9-7.8-24.2 20.5-14.8z"}),l.createElement("path",{d:"m308.7 241.5-7.9-24-7.8 24h-25.3l20.5 14.8-7.9 24.2 20.6-14.9 20.4 14.8-7.8-24.1 20.5-14.8z"}),l.createElement("path",{d:"m351.7 284.6-7.8-24.2-7.8 24.2h-25.3l20.4 14.8-7.8 24.1 20.5-14.9 20.5 14.9-7.8-24.1 20.4-14.8z"}),l.createElement("path",{d:"m387 303.5-7.9 24.1-25.3.1 19.8 14.3h26.6l19.9-14.4h-25.3z"})))},k0=function(t){var n=t.title,r=P(t,fb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ffc726",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#00267f"}),l.createElement("path",{d:"m325.74 101.02-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z"}))},I0=function(t){var n=t.title,r=P(t,hb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"49.59 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#2d6e41",d:"M0 85.331h513v342H0z"}),l.createElement("circle",{fill:"#F40B32",cx:218.902,cy:256.5,r:115}))},z0=function(t){var n=t.title,r=P(t,mb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#fdda25",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#ef3340",d:"M342 0h171v342H342z"}))},F0=function(t){var n=t.title,r=P(t,pb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#3d944f",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#ef2b2d",d:"M0 0h513v171H0z"}),l.createElement("path",{fill:"#FFDA44",d:"m256 102.6 16.9 52h54.7l-44.2 32.2 16.8 52-44.2-32.1-44.2 32.1 16.8-52-44.2-32.2h54.7z"}))},M0=function(t){var n=t.title,r=P(t,gb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#00966e",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#d62612",d:"M0 228h513v114H0z"}))},S0=function(t){var n=t.title,r=P(t,vb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"61.56 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"m222.8 34.3-85.2 34.2 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.8H0V0h137.6z"}))},A0=function(t){var n=t.title,r=P(t,bb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M215.9 170.7 0 314.6V26.8zM513 26.8v287.8L297.1 170.7z",fill:"#47a644"}),l.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 170.7 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}),l.createElement("path",{fill:"#FFF",d:"M513 26.8 297.1 170.7 513 314.6V342h-40L256 197.4 39 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}),l.createElement("circle",{fill:"#FFF",cx:251.6,cy:170.7,r:100.2}),l.createElement("path",{d:"m251.4 103.6 7.4 12.9h14.8l-7.4 12.8 7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8H244zm38.8 66.7 7.4 12.9h14.8L305 196l7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.9l7.4-12.8-7.4-12.8h14.9zm-77.2 0 7.4 12.9h14.9l-7.4 12.8 7.4 12.8h-14.9l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8h14.8z",fill:"#D80027",stroke:"#47a644",strokeWidth:3}))},N0=function(t){var n=t.title,r=P(t,xb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"58.14 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#008751",d:"M0 85.333h513v342H0z"}),l.createElement("path",{fill:"#fcd116",d:"M196.666 85.333H513v171H196.666z"}),l.createElement("path",{fill:"#e8112d",d:"M196.666 256H513v171H196.666z"}))},D0=function(t){var n=t.title,r=P(t,wb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#E6BC00",d:"M157.31 199.76s-9.04 43.93-19.31 40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52 21.24s38.18 8.48 41.01 5.47c1.22-1.14 8.21-15.1 10.34-26.05v-22.29zm-56.13 60.57s-2.48 20.18-1.06 22.66c1.24 2.3 39.48 11.33 39.48 11.33s-24.96 16.46-29.74 20.54L91.8 284.94l-.71-24.61h10.09zm11.33-165.69s39.65 41.6 40.36 45.5c.71 3.72-4.25 3.19-4.25 3.19s-44.79-37.53-49.92-41.07c-5.31-3.55 13.81-7.62 13.81-7.62z"}),l.createElement("path",{fill:"#ADADAD",d:"M99.41 104.73s16.99-.71 16.64-11.51c-.35-10.62-11.15-14.87-19.12-12.39-7.97 2.3-23.01 13.45-13.63 35.05 9.38 21.42 23.37 29.39 26.2 47.8 0 0-5.46 9.86-19.12.35-16.9-11.77-6.2-38.24-10.44-44.96-4.25-7.08-40.95-38.92-40.95-38.92s-30.24 39.37-18 74.92c16.95 49.21 51.74 31.98 64.61 36.76 0 0-42.13 61.96-49.57 67.09 0 0 24.08 8.32 47.8-18.76 0 0 5.84 9.74 7.08 20.18h10.27c4.78-26.2 51.51-64.26 49.92-82.32-1.77-21.25-49.21-49.39-51.69-73.29z"}),l.createElement("path",{fill:"#E6BC00",d:"M359.17 201.27s8.96 42.43 19.23 38.89c10.62-3.54 17.53-18.76 17.53-18.76l14.52 21.24s-37 8.48-39.83 5.47c-1.21-1.14-9.32-13.79-11.52-24.66l.07-22.18zm56.05 59.06s2.48 20.18 1.06 22.66c-1.24 2.3-39.48 11.33-39.48 11.33s24.96 16.46 29.74 20.54l18.06-29.92.71-24.61h-10.09zM403.89 94.64s-39.65 41.6-40.36 45.5c-.71 3.72 4.25 3.19 4.25 3.19s44.79-37.53 49.92-41.07c5.14-3.55-13.81-7.62-13.81-7.62z"}),l.createElement("path",{fill:"#125ECC",d:"M157.31 87.06H359.1v145.46c0 16.06-9.69 21.39-21.91 31.85l-45.92 39.41c-18.25 15.62-47.91 15.57-66.07 0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V87.06z"}),l.createElement("path",{fill:"#FFE600",d:"M200.55 147.71c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65-3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zM214.96 274.43c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c.01 7.96-6.45 14.41-14.41 14.41zm43.24 14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c0 7.95-6.45 14.41-14.41 14.41zm43.24-14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"}),l.createElement("path",{fill:"#D60537",d:"M157.31 175.36H359.1v57.65H157.31v-57.65z"}),l.createElement("path",{fill:"#EACE00",d:"M142.9 43.82s57.65-14.41 115.31-14.41 115.31 14.41 115.31 14.41l-14.41 57.65s-50.45-14.41-100.89-14.41-100.89 14.41-100.89 14.41L142.9 43.82z"}),l.createElement("path",{fill:"#7A6920",d:"M258.2 72.65c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 5c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm-115.3 0c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"}),l.createElement("path",{fill:"#ADADAD",d:"M365.08 178.02c-1.59 18.06 45.14 56.12 49.92 82.32h10.27c1.24-10.44 7.08-20.18 7.08-20.18 23.72 27.09 47.8 18.76 47.8 18.76-7.44-5.13-49.57-67.09-49.57-67.09 12.88-4.78 47.67 12.45 64.61-36.76 12.24-35.55-18-74.92-18-74.92s-36.7 31.84-40.95 38.92c-4.25 6.73 6.46 33.2-10.44 44.96-13.66 9.51-19.12-.35-19.12-.35 2.83-18.41 16.82-26.38 26.2-47.8 9.38-21.6-5.66-32.75-13.63-35.05-7.97-2.48-18.76 1.77-19.12 12.39-.35 10.8 16.64 11.51 16.64 11.51-2.48 23.9-49.92 52.04-51.69 73.29z"}),l.createElement("circle",{fill:"#FFF",cx:258.2,cy:204.19,r:16.93}))},L0=function(t){var n=t.title,r=P(t,yb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"116.28 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#c8102e",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#012169",d:"M0 .1h256.5v171H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0h-22.6L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1v22.6h22.6L96 121.8v48.9h64v-48.9l73.4 48.9H256v-22.6l-46.1-30.7H256v-64h-46.1L256 22.7z"}),l.createElement("path",{fill:"#c8102e",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{fill:"#c8102e",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}),l.createElement("g",{transform:"translate(13 5)"},l.createElement("path",{fill:"#fff",d:"M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z"}),l.createElement("path",{fill:"#2F8F22",d:"M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z"}),l.createElement("circle",{fill:"#65B5D2",cx:383.65,cy:214.56,r:39.88}),l.createElement("circle",{fill:"#c8102e",cx:343.77,cy:194.63,r:19.94}),l.createElement("circle",{fill:"#c8102e",cx:423.52,cy:194.63,r:19.94}),l.createElement("circle",{fill:"#c8102e",cx:383.65,cy:154.75,r:19.94})))},T0=function(t){var n=t.title,r=P(t,Eb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"94.05 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"m0 193.74 513 127.19V214.26L0 97.08z"}),l.createElement("path",{fill:"#FFF",d:"M513 234.26v-86.67L0 20.41v86.67"}),l.createElement("g",{fill:"#D80027",stroke:"#231F20",strokeWidth:3,strokeMiterlimit:10},l.createElement("path",{d:"M306.4 134.01a50.28 50.28 0 0 1 6.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z"}),l.createElement("path",{d:"M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zm-69.22-93.63h20.88l24.93 27.26v73.45h-26.28v-68.37zm270.76 0h-20.88l-24.93 27.26v73.45h26.27v-68.37z"})))},B0=function(t){var n=t.title,r=P(t,Cb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#d52b1e",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#f9e300",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#007934",d:"M0 228h513v114H0z"}))},H0=function(t){var n=t.title,r=P(t,kb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15.39 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#012a87",d:"M0 342h513V0z"}),l.createElement("path",{fill:"#f9d90f",d:"M250.4 0H0v166.9z"}),l.createElement("path",{fill:"#dc171d",d:"m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"}),l.createElement("circle",{fill:"none",stroke:"#000",strokeWidth:9,strokeMiterlimit:10,cx:140.4,cy:160.6,r:57.7}))},j0=function(t){var n=t.title,r=P(t,Ib);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#009b3a",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#fedf00",d:"m256.5 19.3 204.9 151.4L256.5 322 50.6 170.7z"}),l.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:80.4}),l.createElement("path",{fill:"#002776",d:"M215.9 165.7c-13.9 0-27.4 2.1-40.1 6 .6 43.9 36.3 79.3 80.3 79.3 27.2 0 51.3-13.6 65.8-34.3-24.9-31-63.2-51-106-51zm119 20.3c.9-5 1.5-10.1 1.5-15.4 0-44.4-36-80.4-80.4-80.4-33.1 0-61.5 20.1-73.9 48.6 10.9-2.2 22.1-3.4 33.6-3.4 46.8.1 89 19.5 119.2 50.6z"}))},P0=function(t){var n=t.title,r=P(t,zb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ffc72c",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#00778b"}),l.createElement("path",{d:"M256 171 0 342V0z"}))},O0=function(t){var n=t.title,r=P(t,Fb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FF7415",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M513 0H0v342"}),l.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:42,strokeMiterlimit:10,d:"M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6"}))},V0=function(t){var n=t.title,r=P(t,Mb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"121 33.333 733.333 733.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ef2b2d",d:"M0 0h1100v800H0z"}),l.createElement("path",{fill:"#fff",d:"M300 0h200v800H300z"}),l.createElement("path",{fill:"#fff",d:"M0 300h1100v200H0z"}),l.createElement("path",{fill:"#002868",d:"M350 0h100v800H350z"}),l.createElement("path",{fill:"#002868",d:"M0 350h1100v100H0z"}))},G0=function(t){var n=t.title,r=P(t,Sb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 238h513v104H0zM0 0h513v104H0z",fill:"#6da9d2"}),l.createElement("path",{d:"M0 125.5h513v89.656H0z"}))},_0=function(t){var n=t.title,r=P(t,Ab);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.42 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#007C30",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#CE1720",d:"M0 230h513V0H0"}),l.createElement("path",{fill:"#FFF",d:"M100 230V0H0v342h513-413z"}),l.createElement("path",{d:"M28 159.6 8.6 128.2 28 97.4l19.3 30.8zm44.6 0-19.3-31.4 19.3-30.8L92 128.2zM28 241.2 8.6 209.8 28 179l19.3 30.8zm44.6 0-19.3-31.4L72.6 179 92 209.8z",fill:"#CE1720"}),l.createElement("path",{d:"m28 73.8-16.1-26L28 22.2l16 25.6zm44.6 0-16-26 16-25.6 16.1 25.6zM28 318l-16.1-26.1L28 266.3l16 25.6zm44.6 0-16-26.1 16-25.6 16.1 25.6z",fill:"none",stroke:"#CE1720",strokeWidth:7}))},$0=function(t){var n=t.title,r=P(t,Nb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"94.05 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#003e87",d:"M0 0h513v342H0z"}),l.createElement("circle",{fill:"#FFF",cx:260.9,cy:170.9,r:118.9}),l.createElement("circle",{fill:"none",stroke:"#6DA544",strokeWidth:18,strokeMiterlimit:10,cx:261.9,cy:173.1,r:94.5}),l.createElement("g",{stroke:"#000"},l.createElement("path",{fill:"#003e87",d:"m261.9 151.5-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z"}),l.createElement("path",{fill:"#FFDA44",d:"M211.3 128.1h101.3v46.7H211.3z"})),l.createElement("path",{d:"M0 0h513v35H0zm0 306h513v35H0z",fill:"#ce1127"}))},W0=function(t){var n=t.title,r=P(t,Db);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h142v342H0zm371 0h142v342H371zm-64.5 206 50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z",fill:"red"}))},U0=function(t){var n=t.title,r=P(t,Lb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"152.19 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"green",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"m422.7 252.4 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zm-46.6-136.3 6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zm37-77.8 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zm51.8 58.4 6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zm-28 68.1 4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6zM306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zm.2.4-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z",fill:"#FFDA44"}),l.createElement("path",{fill:"#A2001D",d:"M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z"}))},X0=function(t){var n=t.title,r=P(t,Tb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M513 66.9V0H411.7L0 274.4V342h100.3z"}),l.createElement("path",{fill:"#D80027",d:"M513 0v40.1L60.2 342H0v-40.8L451.8 0z"}),l.createElement("path",{fill:"#FFDA44",d:"m93.6 31.2 16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z"}))},Z0=function(t){var n=t.title,r=P(t,Bb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"17.1 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#d21034",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 171h211.5v85.3H0zm300.5 0H512v85.3H300.5z",fill:"#3a9927"}),l.createElement("path",{fill:"#003082",d:"M0 0v85.3h211.5V0h89v85.3H513V0z"}),l.createElement("path",{d:"M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z",fill:"#FFF"}),l.createElement("path",{d:"M300.5 342h-89v-86H0v86h513v-86H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z",fill:"#ffce00"}))},Y0=function(t){var n=t.title,r=P(t,Hb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#da1a35",d:"M0 85.331h513v342H0z"}),l.createElement("path",{fill:"#009543",d:"M443.726 85.331 102.4 426.657H0V85.331z"}),l.createElement("path",{fill:"#fbde4a",d:"M500.124 85.331 158.798 426.657H11.876L353.202 85.331z"}))},J0=function(t){var n=t.title,r=P(t,jb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"red",d:"M0 85.337h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M356.174 222.609h-66.783v-66.783h-66.782v66.783h-66.783v66.782h66.783v66.783h66.782v-66.783h66.783z"}))},K0=function(t){var n=t.title,r=P(t,Pb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#009e60",d:"M342 0h171v342H342z"}),l.createElement("path",{fill:"#f77f00",d:"M0 0h171v342H0z"}))},q0=function(t){var n=t.title,r=P(t,Ob);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#01237a",d:"M0 85.332h513v342H0z"}),l.createElement("path",{d:"m384 156.705 5.283 16.254h17.089l-13.826 10.045 5.281 16.254L384 189.211l-13.825 10.047 5.28-16.254-13.825-10.045h17.089zm-70.209 29.081 15.228 7.758 12.084-12.083-2.673 16.879 15.227 7.759-16.879 2.673-2.674 16.88-7.76-15.227-16.878 2.673 12.086-12.084zm-29.081 70.209 16.254-5.281.001-17.089 10.044 13.825 16.254-5.282-10.046 13.827 10.046 13.826-16.254-5.28-10.044 13.825v-17.09zm29.081 70.209 7.759-15.229-12.084-12.084 16.881 2.674 7.757-15.227 2.674 16.879 16.879 2.672-15.227 7.759 2.673 16.882-12.084-12.087zM384 355.284l-5.281-16.253h-17.091l13.827-10.045-5.28-16.254L384 322.776l13.827-10.044-5.281 16.254 13.826 10.045h-17.089zm70.209-29.08-15.229-7.758-12.083 12.084 2.673-16.882-15.227-7.756 16.879-2.675 2.675-16.879 7.756 15.227 16.881-2.674-12.086 12.085zm29.081-70.209-16.254 5.281v17.09l-10.045-13.826-16.254 5.281 10.046-13.826-10.046-13.827 16.254 5.282 10.045-13.825v17.089zm-29.081-70.207-7.757 15.226 12.082 12.084-16.881-2.673-7.756 15.227-2.675-16.88-16.879-2.675 15.227-7.757-2.673-16.878 12.084 12.082zM0 186.665v16h46.069L0 233.377v7.539l57.377-38.252H80L0 255.998h112v-69.334H0zm96 69.331H22.628L96 207.083v48.913zm80-117.331 80-53.334H144v69.334h112v-16h-46.069L256 107.951v-7.539l-57.377 38.251H176v.002zm-16-53.332h73.372L160 134.246V85.333zm-16 170.665h112l-80-53.334h22.623L256 240.917v-7.539l-46.069-30.713H256v-16H144v69.333zm16-48.915 73.372 48.913H160v-48.913zM112 85.331H0l80 53.334H57.377L0 100.413v7.539l46.069 30.712H0v16h112V85.331zm-16 48.915L22.628 85.333H96v48.913z",fill:"#FFF"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 85.331h-32v69.334H0v32h112v69.333h32v-69.333h112v-32H144z"}),l.createElement("path",{d:"M80 138.665 0 85.331v15.082l57.377 38.252zm96 0h22.623L256 100.413V85.331zm-118.623 64L0 240.917v15.081l80-53.333zm118.623 0 80 53.333v-15.081l-57.377-38.252z"})))},Q0=function(t){var n=t.title,r=P(t,Vb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M196 0h317v171H196z"}),l.createElement("path",{fill:"#0037A1",d:"M0 0h196v171H0z"}),l.createElement("path",{fill:"#FFF",d:"M98 24.5 113.1 71H162l-39.6 28.7 15.2 46.5L98 117.5l-39.6 28.7 15.2-46.5L34 71h48.9z"}))},R0=function(t){var n=t.title,r=P(t,Gb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#ce1126",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#007a5e",d:"M0 0h171v342H0z"}),l.createElement("path",{d:"M342 0h171v342H342zm-86 102.2 17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z",fill:"#fcd116"}))},e2=function(t){var n=t.title,r=P(t,_b);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"75.24 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zm-54.4-56.6-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zm56.6 136.4-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z",fill:"#FFDA44"}))},t2=function(t){var n=t.title,r=P(t,$b);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 256.5h513V342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 171h513v85.5H0z"}))},n2=function(t){var n=t.title,r=P(t,Wb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 285h513v57H0zM0 0h513v57H0z"}))},r2=function(t){var n=t.title,r=P(t,Ub);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FF9811",d:"M0-40.8v422.9-211.4z"}),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v68.3H0zm0 136.5h513v68.3H0zm0 136.6h513v68.3H0z",fill:"#0052B4"}),l.createElement("path",{fill:"#D80027",d:"M256 170.7 0 342V0z"}),l.createElement("path",{fill:"#FFF",d:"m86.5 111.4 12.7 39.2h41.3l-33.4 24.2 12.8 39.3-33.4-24.2-33.4 24.2 12.8-39.3-33.4-24.2h41.2z"}))},i2=function(t){var n=t.title,r=P(t,Xb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"17.1 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#003893",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#cf2027",d:"M0 182.2h513v41.4H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 140.8h513v41.4H0zm0 82.8h513V265H0z"}),l.createElement("path",{d:"m150.4 70 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zm0 209.7 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zm-97.6-70.9 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zm-66.3 71H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zm48.4 148.9 6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zm66.4 71h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zm-48.4 148.9-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z",fill:"#f7d116",stroke:"#000"}))},l2=function(t){var n=t.title,r=P(t,Zb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"11.97 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#002b7f",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#f9e814",d:"M0 233.5h513v51H0z"}),l.createElement("path",{d:"m168.7 86.5 12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zm-83.3-54 7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z",fill:"#FFF"}))},a2=function(t){var n=t.title,r=P(t,Yb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"99.18 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0021ad",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#1c8a42",d:"M0 0h513v342"}),l.createElement("path",{d:"m77.6 272 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zm-37.1-98.9 5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zm37.1-80.9 5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zm46.1 62.9 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zm-32.9 54 4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z",fill:"#FFF"}),l.createElement("circle",{fill:"#ffc639",cx:267.1,cy:170.7,r:74.5}),l.createElement("path",{fill:"#1c8a42",d:"M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z"}),l.createElement("path",{fill:"#ffc639",d:"M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z"}))},o2=function(t){var n=t.title,r=P(t,Jb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#DB7D00",d:"M141.7 154.7s.2 67.1 74.7 65.3l4.5 13.9h8.9s-7.4-41.1 60.1-41.5c0 0 0-27.6 27.6-27.6H359s-66-51.8 58.9-118l1.8-13.1s-129.9 71-198.9 57.2c0 0 10.7 42.5-10.8 42.5-10.8 0-9.7-8.1-32.3-8.1-18.7 0-17.3 19.7-26.3 19.5-8.9-.2-18.8-12.3-19.6-10.2-.7 2.1 9.9 20.1 9.9 20.1z"}),l.createElement("g",{fill:"#006651"},l.createElement("path",{d:"M237.2 308.1c6.9-5 13-6.6 22.4-8.3s19.4-4.4 24.6-5.8-17.7 6.6-23.5 8.3c-5.8 1.6-23.5 5.8-23.5 5.8zm37.9-14.7c-1.9-11.9 2.8-24.3 13.5-29.3 2.5 8.6-5.2 23.2-13.5 29.3zm18.2-6.2c-5.8-9.8 4-22.6 11.1-28.8 3.3 6-2.5 23.7-11.1 28.8zm16.9-7.6c-6.2-8.4 1.1-23.2 8.8-29 3.1 8.2.1 23.2-8.8 29zm16.9-10.6c-5.6-8-1.7-20.4 6.3-28.4 5.8 6.6.9 21-6.3 28.4zm13.5-10.7c-4.7-7.5 1.1-25.4 8.6-30.4 3.3 6.6.8 25.4-8.6 30.4zm10.8-2.8c-1.4-10.8 17.4-22.7 25.2-22.4-.9 8.9-8.9 18.6-25.2 22.4zm-10.5 12.2c8.8-9.1 26-9.1 32.1-7.2-1.7 5.3-21.9 16.9-32.1 7.2z"}),l.createElement("path",{d:"M328.7 276.8c12.4-3.3 20.5-6.1 27.9 1.7-5.2 6.6-25.4 4.7-27.9-1.7zm-17.7 8c11.9-6.4 26.3 3 28.5 8.6-13.3 5.5-28.7-7.2-28.5-8.6zm-16.3 9.2c10.8-4.1 23.2 1.4 28.2 7.5-5.8 2.7-21 5.7-28.2-7.5zm-14.9 4.7c12.4-1.4 24.4 8 27 13.4-15.9 1.5-22-3.2-27-13.4zm-4 9.4c-6.9-5-13-6.6-22.4-8.3-9.4-1.7-19.4-4.4-24.6-5.8-5.3-1.4 17.7 6.6 23.5 8.3 5.8 1.6 23.5 5.8 23.5 5.8zm-37.9-14.7c1.9-11.9-2.8-24.3-13.5-29.3-2.5 8.6 5.2 23.2 13.5 29.3zm-18.2-6.2c5.8-9.8-4-22.6-11.1-28.8-3.3 6 2.5 23.7 11.1 28.8zm-16.9-7.6c6.2-8.4-1.1-23.2-8.8-29-3.1 8.2-.1 23.2 8.8 29zM185.9 269c5.6-8 1.7-20.4-6.3-28.4-5.8 6.6-.9 21 6.3 28.4zm-13.5-10.7c4.7-7.5-1.1-25.4-8.6-30.4-3.3 6.6-.8 25.4 8.6 30.4zm-10.8-2.8c1.4-10.8-17.4-22.7-25.2-22.4.9 8.9 8.9 18.6 25.2 22.4zm10.5 12.2c-8.8-9.1-26-9.1-32.1-7.2 1.7 5.3 21.9 16.9 32.1 7.2z"}),l.createElement("path",{d:"M184.3 276.8c-12.4-3.3-20.5-6.1-27.9 1.7 5.2 6.6 25.4 4.7 27.9-1.7zm17.7 8c-11.9-6.4-26.3 3-28.5 8.6 13.3 5.5 28.7-7.2 28.5-8.6zm16.3 9.2c-10.8-4.1-23.2 1.4-28.2 7.5 5.8 2.7 21 5.7 28.2-7.5zm14.9 4.7c-12.4-1.4-24.4 8-27 13.4 15.9 1.5 22-3.2 27-13.4z"})))},s2=function(t){var n=t.title,r=P(t,Kb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.13 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#11457e",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#d7141a",d:"M513 171v171H0l256.5-171z"}),l.createElement("path",{fill:"#FFF",d:"M513 0v171H256.5L0 0z"}))},u2=function(t){var n=t.title,r=P(t,qb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 228h513v114H0z"}))},c2=function(t){var n=t.title,r=P(t,Qb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"13.68 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#12ad2b",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6ab2e7",d:"M513 0v166.7L0 170.8V0z"}),l.createElement("path",{fill:"#FFF",d:"M256 170.7 0 342V0z"}),l.createElement("path",{fill:"#d7141a",d:"m89.8 92.5 17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z"}))},d2=function(t){var n=t.title,r=P(t,Rb);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"23.94 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#c60c30",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"}))},f2=function(t){var n=t.title,r=P(t,ex);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 110.7v120h513v-120z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 110.7h513v40H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 190.7h513v40H0z"}),l.createElement("path",{d:"M196 0h120v342H196z"}),l.createElement("path",{fill:"#FFDA44",d:"M196 0h40v342h-40z"}),l.createElement("path",{fill:"#FFF",d:"M274.7 0h40v342h-40z"}),l.createElement("circle",{fill:"#D80027",cx:256,cy:170.7,r:123.1}),l.createElement("path",{d:"m256 58.6 4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zm-40.7 56h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zm0 69.3 12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zm40.7 56.1 4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zm65.9 21.4-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zm65.9-21.4-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zm40.7-56.1h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zm0-69.3-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zm-40.7-56-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8zM279.3 168.7c-11-21.1-14.5-25.1-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z",fill:"#496E2D"}))},h2=function(t){var n=t.title,r=P(t,tx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 216h211v126H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h211v126H0z"}),l.createElement("path",{fill:"#D80027",d:"M302 0h211v126H302z"}),l.createElement("path",{fill:"#0052B4",d:"M302 216h211v126H302z"}),l.createElement("g",{stroke:"#FFF",strokeWidth:5,strokeMiterlimit:10},l.createElement("path",{fill:"#0052B4",d:"M256 130h-49.9v49.4s19.5 6 49.9 6V130z"}),l.createElement("path",{fill:"#D80027",d:"M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z"}),l.createElement("path",{fill:"#0052B4",d:"M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z"}),l.createElement("path",{fill:"#D80027",d:"M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z"})))},m2=function(t){var n=t.title,r=P(t,nx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"88.92 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#41662E",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M256.5 0H513v342H256.5z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"m341.5 105.3-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z"}),l.createElement("path",{d:"M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z"})))},p2=function(t){var n=t.title,r=P(t,rx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 170.7h513V256H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 256h513v85.3H0z"}),l.createElement("circle",{fill:"#FFDA44",cx:256,cy:171,r:60}),l.createElement("path",{fill:"#4C1F00",d:"M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"}),l.createElement("path",{fill:"#57BA17",d:"M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"}),l.createElement("path",{fill:"#338AF3",d:"M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"}))},g2=function(t){var n=t.title,r=P(t,ix);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#111",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#368FD8",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 228h513v114H0z"}))},v2=function(t){var n=t.title,r=P(t,lx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{d:"M0 228h513v114H0z"}),l.createElement("path",{fill:"#C09300",d:"M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z"}))},b2=function(t){var n=t.title,r=P(t,ax);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#428823",d:"M0 228h513v114H0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M256 171 0 342V0zm53.1 0c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.1-21.5-5.1-34.6-24.2-34.6-46.8z"}),l.createElement("path",{d:"m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"})))},x2=function(t){var n=t.title,r=P(t,ox);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"22.23 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#56AF35",d:"M0 0h513v171H0z"}),l.createElement("path",{fill:"#D80027",d:"m0 342 513-171L0 0v342z"}),l.createElement("g",{fill:"#ffc945"},l.createElement("path",{d:"M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z"}),l.createElement("circle",{cx:119.5,cy:148.3,r:17.5}),l.createElement("circle",{cx:148.9,cy:158.5,r:17.5}),l.createElement("circle",{cx:134.7,cy:135.2,r:17.5}),l.createElement("circle",{cx:119.5,cy:172.7,r:17.5}),l.createElement("circle",{cx:149.9,cy:182.8,r:17.5}),l.createElement("circle",{cx:122.5,cy:198,r:17.5}),l.createElement("circle",{cx:145.9,cy:205.2,r:17.5})))},w2=function(t){var n=t.title,r=P(t,sx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.75 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h22.5v15H0V0z"}),l.createElement("path",{fill:"#D03433",d:"M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"}),l.createElement("path",{fill:"#FBCA46",d:"M0 4h22.5v7H0V4z"}),l.createElement("path",{fill:"#FFF",d:"M7.8 7h1v.5h-1V7z"}),l.createElement("path",{fill:"#A41517",d:"M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"}),l.createElement("path",{fill:"#A41517",d:"M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"}))},y2=function(t){var n=t.title,r=P(t,ux);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.75 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#20AA46",d:"M0 0h22.5v5H0V0z"}),l.createElement("path",{fill:"#E92F3B",d:"M0 10h22.5v5H0v-5z"}),l.createElement("path",{fill:"#FADF50",d:"M0 5h22.5v5H0V5z"}),l.createElement("circle",{fill:"#205CCA",cx:11.3,cy:7.5,r:5.2}),l.createElement("g",{stroke:"#FFDB3D",fill:"none"},l.createElement("path",{d:"m11.3 8.8-2.1 1.5.8-2.4-2-1.5h2.5l.8-2.3.8 2.3h2.6l-2.1 1.5.8 2.4-2.1-1.5zm-1-2.4h1.9M9.9 7.8l1.3 1m.8-2.6.7 1.8M10 7.9l.6-1.8M11 9l1.6-1.1",strokeWidth:.5}),l.createElement("path",{d:"m8.7 3.9 1.1 1.6m4-1.7-1 1.6m-1.5 4.7V12M8.9 8.3 7.1 9m8.4 0-1.8-.7",strokeWidth:.25})))},E2=function(t){var n=t.title,r=P(t,cx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 408 408"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#039",d:"M0 0h408v408H0V0z"}),l.createElement("path",{fill:"#FC0",d:"m203.963 45.231 5.089 15.653h16.542l-13.322 9.68 5.015 15.67-13.323-9.68-13.323 9.68 5.089-15.662-13.322-9.68h16.468l5.087-15.661zm-68 18.134 5.089 15.653h16.542l-13.323 9.68 5.016 15.67-13.324-9.68-13.323 9.68 5.089-15.662-13.323-9.681h16.468l5.089-15.66zm-49.867 49.866 5.089 15.653h16.542l-13.323 9.68 5.016 15.67-13.324-9.68-13.323 9.68 5.089-15.662-13.323-9.68h16.468l5.089-15.661zM67.963 181.23l5.089 15.654h16.542l-13.323 9.682 5.016 15.67-13.324-9.682-13.323 9.682 5.089-15.664-13.323-9.679h16.468l5.089-15.663zm18.133 68.001 5.089 15.654h16.542l-13.323 9.68 5.016 15.67-13.324-9.68-13.323 9.68 5.089-15.662-13.323-9.68h16.468l5.089-15.662zm49.867 49.867 5.089 15.654h16.542l-13.323 9.68 5.016 15.67-13.324-9.679-13.323 9.679 5.089-15.661-13.323-9.681h16.468l5.089-15.662zm136-235.733 5.089 15.653h16.542l-13.322 9.68 5.015 15.67-13.323-9.68-13.324 9.68 5.09-15.662-13.322-9.681h16.468l5.087-15.66zm49.867 49.866 5.088 15.653h16.543l-13.323 9.68 5.015 15.67-13.322-9.68-13.324 9.68 5.09-15.662-13.323-9.68h16.468l5.088-15.661zm18.133 68 5.089 15.653h16.542l-13.322 9.682 5.015 15.67-13.323-9.682-13.323 9.682 5.089-15.664-13.322-9.679h16.468l5.087-15.662zm-18.133 68 5.088 15.654h16.543l-13.323 9.68 5.016 15.67-13.323-9.68-13.324 9.68 5.09-15.662-13.323-9.68h16.469l5.087-15.662zm-117.867 68 5.089 15.654h16.542l-13.322 9.68 5.015 15.67-13.323-9.68-13.323 9.68 5.089-15.662-13.322-9.68h16.468l5.087-15.662zm68-18.133 5.089 15.654h16.542l-13.322 9.68 5.016 15.67-13.324-9.68-13.322 9.68 5.088-15.662-13.322-9.68h16.469l5.086-15.662z"}))},C2=function(t){var n=t.title,r=P(t,dx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"37.62 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#2E52B2",d:"M513 129.3V212H203.7v130H121V212H0v-82.7h121V0h82.7v129.3z"}))},k2=function(t){var n=t.title,r=P(t,fx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#62B5E5",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#F3F3F3",d:"M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z"}),l.createElement("path",{fill:"#D80027",d:"M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M0 0h256.5v170.6H0V0z"}),l.createElement("path",{d:"m155.9 115 100.6 55.6v-15.8L184.6 115h-28.7zm-55.7-59.3L0 0v15.8l71.8 39.9h28.4z"})),l.createElement("path",{d:"m196.9 115 59.6 32.9V115h-59.6zm-41 0 100.6 55.6v-15.8L184.6 115h-28.7zm73.4 55.6-73.5-40.9v40.9h73.5zM45.2 115 0 140.1V115h45.2zm55 7.1v48.6H12.8l87.4-48.6zM59.1 55.7 0 22.8v32.8s59.1 0 59.1.1zm41.1 0L0 0v15.8l71.8 39.9h28.4zM26.7 0l73.5 40.8V0H26.7zm184.2 55.7 45.6-25.1v25.1h-45.6zm-55-7.2V0h87.4l-87.4 48.5z",fill:"#0052B4"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144.3-.2h-32.1v69.5H0v32.1h112.2v69.5h32.1v-69.5h112.2V69.3H144.3V-.2z"}),l.createElement("path",{d:"m155.9 115 100.6 55.6v-15.8L184.6 115h-28.7zm-84.1 0L0 154.9v15.8L100.2 115H71.8zm28.4-59.3L0 0v15.8l71.8 39.9h28.4zm83.9 0 72.4-39.9V0L155.9 55.7h28.2z"})))},I2=function(t){var n=t.title,r=P(t,hx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z",fill:"#D80027"}),l.createElement("path",{fill:"#1F8BDE",d:"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z"}),l.createElement("path",{fill:"#FFF",d:"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z"}),l.createElement("path",{fill:"#187536",d:"M347.1 193.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8-21.7 0-19.1 4.8-19.1 4.8-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z"}),l.createElement("path",{fill:"#FFF",d:"M357.4 179.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1-24.9 0-45.1 13.5-45.1 30.1-.1 8.5 6.6 28.5 15 30.1zm-1.4 91.6c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM322.1 210c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z"}))},z2=function(t){var n=t.title,r=P(t,mx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"m256 37.9 10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zm132.8-132.8-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z",fill:"#FFF"}))},F2=function(t){var n=t.title,r=P(t,px);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"37.62 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0F61A5",d:"M513 214.5H206.2V342h-87.8V214.5H0v-87.7h118.4V0h87.8v126.8H513V192z"}),l.createElement("path",{fill:"#E50E3D",d:"M513 149.3V192H183.7v150H141V192H0v-42.7h141V0h42.7v149.3z"}))},M2=function(t){var n=t.title,r=P(t,gx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},S2=function(t){var n=t.title,r=P(t,vx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}))},A2=function(t){var n=t.title,r=P(t,bx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M0 0h513v341.3H0V0z"}),l.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"})),l.createElement("path",{d:"M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zm-82.1-132.9L0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zm368.3 111.3L513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z",fill:"#0052B4"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"}),l.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zm-168 0L0 309.9v31.5L200.3 230h-56.6zm56.6-118.7L0 0v31.5l143.7 79.8h56.6zm168 0L513 31.5V0L311.7 111.3h56.6z"})))},N2=function(t){var n=t.title,r=P(t,xx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"75.24 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#c60a0a",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#3E8446",d:"m256.5 170.7-212 126.1V44.5z"}),l.createElement("path",{d:"m256.5 170.7 211 126.1h-423zm211-126.2-211 126.2-212-126.2z",fill:"#FFDA44"}),l.createElement("path",{fill:"#3E8446",d:"M467.5 44.5v252.3l-211-126.1z"}),l.createElement("path",{d:"m256.5 10.4 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm-85.4 293.8 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z",fill:"#FFDA44"}),l.createElement("circle",{fill:"#c60a0a",cx:244.5,cy:170.7,r:76.2}),l.createElement("path",{fill:"#FFDA44",d:"m244.5 110.1 13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zm-136.8 57.7c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z"}),l.createElement("circle",{fill:"#A2001D",cx:99.1,cy:182.1,r:7.4}))},D2=function(t){var n=t.title,r=P(t,wx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.975 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#fff",d:"M0 0h22.5v15H0z"}),l.createElement("path",{fill:"#eb000e",d:"M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z"}),l.createElement("path",{fill:"#eb000e",d:"m17.3 2.7-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z"}))},L2=function(t){var n=t.title,r=P(t,yx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15 0 60 60"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FDEB01",d:"m0 0 90 60H0z"}),l.createElement("path",{fill:"#58A846",d:"M90 0v60L0 0z"}),l.createElement("path",{fill:"#ED3D24",d:"m50.7 33.3 9.3-6.7H48.5L45 15.7l-3.5 10.9H30l9.3 6.7-3.6 11 9.3-6.7 9.3 6.7z"}))},T2=function(t){var n=t.title,r=P(t,Ex);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M308 0H204v118.7H0v104h204V342h104V222.7h205v-104H308z"}),l.createElement("path",{fill:"#FFDA44",d:"m368.6 188 26 17.3V136l-26 17.3h-95.3V58.1l17.3-26h-69.2l17.3 26v95.2h-95.3l-26-17.3v69.3l26-17.3h95.3v95.2l-17.3 26h69.2l-17.3-26V188z"}))},B2=function(t){var n=t.title,r=P(t,Cx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),l.createElement("path",{d:"m255.9 113.8 14.1 43.4 40.4 3.2-37 26.9 19.5 40.3-37-26.9-37 26.9 14.1-43.5-36.9-26.9h45.7z"}))},H2=function(t){var n=t.title,r=P(t,kx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 230h513v112H0z"}),l.createElement("path",{fill:"#D80027",stroke:"#000",strokeMiterlimit:10,d:"M363.1 131.8V99.1H374V77.3h-21.9v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7h-21.8V55.5h10.9V33.7h-21.8v10.9h-10.9V33.7H254v10.9h-10.9V33.7h-21.8v21.8h10.9v76.3h-21.8V99.1h10.9V77.3h-21.8v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7H145V219h239.9v-87.2z"}),l.createElement("path",{fill:"#FFDA44",stroke:"#000",strokeMiterlimit:10,d:"m264.9 235.5-24.2 18.2 19.1 14.3v31.3h-23.2v9h23v7.9h-23v9.3H270V268l19.1-14.3-24.2-18.2zm0 25.3-10.1-7.1 10.1-7.1 10.1 7.1-10.1 7.1z"}),l.createElement("path",{d:"M239.6 209.7v-27.9s.1-22.3 25-22.3c24.8 0 25.7 22 25.7 22v28.2h-50.7zm-69.1 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8z"}),l.createElement("path",{d:"M169.1 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm151.8 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm8.4-77.7v-15.7s.1-12.1 11.3-12.1c11.3 0 11.7 11.9 11.7 11.9V132h-23zm-78.8 0v-23.7s.1-18.3 14.3-18.3c14.2 0 14.7 18 14.7 18v24h-29zm-73 0v-15.7s.1-12.1 11.3-12.1 11.7 11.9 11.7 11.9V132h-23z"}))},j2=function(t){var n=t.title,r=P(t,Ix);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"90.63 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M513 0v171H0V0z"}),l.createElement("circle",{fill:"#FFF",cx:185.8,cy:171.2,r:117.8}),l.createElement("path",{fill:"#D80027",d:"M68 171c0-65.1 52.8-117.8 117.8-117.8 65.1 0 117.8 52.8 117.8 117.8"}))},P2=function(t){var n=t.title,r=P(t,zx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#cf0d19",d:"M0 0h513v100H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 121h513v100H0z"}),l.createElement("path",{fill:"#1a7e25",d:"M0 242h513v100H0z"}))},O2=function(t){var n=t.title,r=P(t,Fx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M342 0h171v342H342z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h171v342H0z"}))},V2=function(t){var n=t.title,r=P(t,Mx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},G2=function(t){var n=t.title,r=P(t,Sx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"34.2 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v113.8H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 227.6h513V342H0z"}),l.createElement("path",{fill:"#0070C8",d:"M126 171 0 342V0z"}),l.createElement("path",{fill:"none",stroke:"#000",strokeMiterlimit:10,d:"M233.8 139.4v40.4c0 35.6 35.6 35.6 35.6 35.6s35.6 0 35.6-35.6v-40.4h-71.2z"}),l.createElement("path",{fill:"#786145",d:"M264.5 179.8h9.8l4 25.8h-17.8z"}),l.createElement("path",{fill:"#6DA544",d:"M287.2 162c0-9.8-8-14.8-17.8-14.8s-17.8 5-17.8 14.8c-4.9 0-8.9 4-8.9 8.9s4 8.9 8.9 8.9h35.6c4.9 0 8.9-4 8.9-8.9s-4-8.9-8.9-8.9z"}),l.createElement("path",{d:"m230.7 120 1.9 3.3h3.8l-1.9 3.3 1.9 3.2h-3.8l-1.9 3.3-1.9-3.3H225l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.8 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H279l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm16 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H295l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm15 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2H310l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8z",fill:"#FFDA00",stroke:"#000",strokeMiterlimit:10}))},_2=function(t){var n=t.title,r=P(t,Ax);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.42 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("g",{fill:"#0d5eaf"},l.createElement("path",{d:"M0 0h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z"}),l.createElement("path",{d:"M0 0h190v190H0z"})),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M0 76h190v38H0z"}),l.createElement("path",{d:"M76 0h38v190H76z"})))},$2=function(t){var n=t.title,r=P(t,Nx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{fill:"#D80027",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}),l.createElement("ellipse",{fill:"#FFF",cx:443.4,cy:233.6,rx:29,ry:43.5}),l.createElement("ellipse",{fill:"#FFCE00",cx:406.9,cy:317.7,rx:22,ry:9.3}),l.createElement("ellipse",{fill:"#FFCE00",cx:364,cy:317.7,rx:22,ry:9.3}),l.createElement("path",{fill:"#39B200",d:"m342 190.1 43.4 86.9 43.5-86.9z"}),l.createElement("ellipse",{fill:"#9B9B9B",cx:327.5,cy:233.6,rx:29,ry:43.5}),l.createElement("path",{fill:"#757575",d:"m371 175.6-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z"}),l.createElement("circle",{fill:"#C6B56F",cx:385.4,cy:67,r:29}),l.createElement("circle",{fill:"#A54A00",cx:386,cy:88.7,r:29}),l.createElement("circle",{fill:"#FFF",cx:443.4,cy:117.7,r:29}),l.createElement("circle",{fill:"#0049FF",cx:342.2,cy:146.7,r:29}),l.createElement("circle",{fill:"#0041F9",cx:429.8,cy:146.7,r:29}),l.createElement("circle",{fill:"#F7D71E",cx:386,cy:233.6,r:29}),l.createElement("circle",{fill:"#CEC851",cx:457.9,cy:190.1,r:29}),l.createElement("circle",{fill:"#FFF",cx:385.4,cy:289.5,r:29}),l.createElement("path",{fill:"#7C0B29",d:"m371 135.7 14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z"}),l.createElement("circle",{fill:"#FFF",cx:327.5,cy:117.4,r:29}))},W2=function(t){var n=t.title,r=P(t,Dx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#338AF3"}),l.createElement("circle",{fill:"#DCC26D",cx:256,cy:155.8,r:25.5}),l.createElement("path",{fill:"#628A40",d:"M194.2 155.9c0 22.1 11.8 42.5 30.8 53.5 5.9 3.4 13.5 1.4 16.9-4.5 3.4-5.9 1.4-13.5-4.5-16.9-11.5-6.6-18.5-18.9-18.5-32.1 0-6.8-5.5-12.4-12.4-12.4s-12.3 5.5-12.3 12.4zm95.1 52.1c17.8-11.4 28.6-31 28.5-52.1 0-6.8-5.5-12.4-12.4-12.4-6.8 0-12.4 5.5-12.4 12.4 0 12.7-6.5 24.5-17.1 31.3-5.8 3.6-7.7 11.2-4.1 17 3.6 5.8 11.2 7.7 17 4.1.2-.1.3-.2.5-.3z"}))},U2=function(t){var n=t.title,r=P(t,Lx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M11.1 11.1h489.7v319.1H11.1z"}),l.createElement("path",{fill:"#7DBEF1",d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}),l.createElement("path",{fill:"#1C8AE6",d:"M179.8 180.7h152.6l-29.3 64.9h-95.2z"}),l.createElement("path",{fill:"#FFF042",d:"M192.3 205.9s40.5 38.2 51 38.2c12.4 0 12.6-18.4 25.5-25.5 20.2-11.1 51-12.7 51-12.7L297 248.7l-41 36.6-46.8-39.7-16.9-39.7z"}),l.createElement("path",{fill:"#259C7B",d:"m256 157.5-22.5 15.6 7.9-26.2-21.8-16.5 27.4-.5 9-25.9 9 25.9 27.4.5-21.8 16.6 7.9 26.2-22.5-15.7z"}),l.createElement("path",{fill:"#8E5715",d:"M249.7 144.6c-.9 9.2-1.5 18.4-1.7 27.6-.3 11.9.3 20.7 2 26 2.2 6.6 7.2 12.9 14.2 18.9 5.3 4.6 10.6 8.1 14.2 10.1 3.1 1.7 7 .6 8.7-2.4 1.7-3.1.6-7-2.4-8.7-4.3-2.5-8.4-5.4-12.2-8.7-5.4-4.6-9.1-9.2-10.4-13.3-1.1-3.4-1.6-11.3-1.4-21.7.2-8.9.8-17.8 1.7-26.6.4-3.5-2.2-6.6-5.7-7-3.6-.3-6.7 2.3-7 5.8z"}),l.createElement("path",{fill:"#FFF",d:"m217.8 170.7 25.5 38.2h-25.5v-38.2z"}),l.createElement("path",{fill:"none",stroke:"#D80027",strokeWidth:12,strokeMiterlimit:10,d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}))},X2=function(t){var n=t.title,r=P(t,Tx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"18.81 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 0h512v171H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h182v342H0z"}),l.createElement("path",{d:"m98.3 109.8 15.1 46.5h48.9L122.8 185l15.1 46.5-39.6-28.7-39.5 28.7L73.9 185l-39.6-28.7h48.9z"}))},Z2=function(t){var n=t.title,r=P(t,Bx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"27 0 600 600"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#009E49",d:"M0 0h900v600H0V0z"}),l.createElement("path",{fill:"#FFF",d:"m0 0 947 300L0 600V0z"}),l.createElement("path",{fill:"#FFD00D",d:"M0 26.1 870 300 0 573.9V26.1z"}),l.createElement("path",{fill:"#2D2D2D",d:"m0 0 450 300L0 600V0z"}),l.createElement("path",{fill:"#D3132F",d:"m0 35 397.5 265L0 565V35z"}))},Y2=function(t){var n=t.title,r=P(t,Hx);return l.createElement("svg",j({viewBox:"3.5 0.5 14 14",xmlns:"http://www.w3.org/2000/svg"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("path",{fill:"#FFF",d:"M0 0h21v15H0z"}),l.createElement("path",{fill:"#ee1c25",d:"M0 0h21v15H0z"}),l.createElement("path",{d:"M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 1 0 0-.5.25.25 0 0 0 0 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 1 0 .476-.154.25.25 0 0 0-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 1 0 .294.405.25.25 0 0 0-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 1 0-.293.404.25.25 0 0 0 .293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 1 0-.475-.155.25.25 0 0 0 .475.155z",fill:"#FFF"})))},J2=function(t){var n=t.title,r=P(t,jx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M223.4 170.7c.3-.3.5-.6.8-.9-.3.3-.5.6-.8.9zm-34.2 41.9 11 22.9 24.7-5.7-11.1 22.8 19.9 15.8L209 274v25.4l-19.8-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.9-2.6 9.5-7.5-5.3-10.9 11.9 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6v-12.1l-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9 11.9 2.7zm42.4 49.7 5.3 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.5-7.6-9.4 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-30.3 57.9 4.1 12.7h13.3l-10.8 7.8 4.1 12.6-10.7-7.8-10.8 7.8 4.1-12.6-10.7-7.8h13.3z"}),l.createElement("path",{d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"})),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z",fill:"#D80027"}))},K2=function(t){var n=t.title,r=P(t,Px);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0zm203.5-110.1 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM256 147.6l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm-52.5 29.7 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1z",fill:"#338AF3"}))},q2=function(t){var n=t.title,r=P(t,Ox);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}),l.createElement("path",{d:"M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zm-105.6 0v-44l-17.3-14.4-17.9 14.4v44zm35.2 0v-44l17.6-14.4 17.6 14.4v44z",fill:"#338AF3"}),l.createElement("path",{d:"M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zm-70.4 0h-35.2v-44l17.5-14.4 17.7 14.4z",fill:"#0052B4"}),l.createElement("path",{stroke:"#D80027",fill:"#FFF",d:"M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"}),l.createElement("path",{d:"M168.5 113.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm35.2 35.2h35.2V254h-35.2zm35.2-35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-35.2 35.2h35.2V254h-35.2zm35.2 55.5c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zm57.2 0v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z",fill:"#D80027"}))},Q2=function(t){var n=t.title,r=P(t,Vx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#A2001D",d:"M0 0h513v172H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 172h513v172H0z"}),l.createElement("path",{fill:"#FFF",d:"m381.4 251.5-110.7-13.8-110.8 13.8V85.4h221.5z"}),l.createElement("circle",{fill:"#0052B4",cx:270.7,cy:182.3,r:55.4}),l.createElement("circle",{fill:"#A2001D",cx:270.7,cy:182.3,r:27.7}),l.createElement("path",{fill:"#6DA544",d:"M229.1 113.1h83.1l-41.5 41.5z"}),l.createElement("path",{fill:"#FFDA44",d:"M256.8 140.8h27.7v83h-27.7z"}),l.createElement("path",{fill:"#6DA544",d:"M314.9 215.5h-88.5l-66.5 36h221.5z"}))},R2=function(t){var n=t.title,r=P(t,Gx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}))},ed=function(t){var n=t.title,r=P(t,_x);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"50 0 200 200"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#fc0",d:"M0 0h300v200H0z"}),l.createElement("path",{fill:"#0768a9",d:"M0 0h200v200H0z"}),l.createElement("path",{fill:"#fff",d:"M0 0h100v200H0z"}))},td=function(t){var n=t.title,r=P(t,$x);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#E00",d:"M0 0h513v171H0z"}))},nd=function(t){var n=t.title,r=P(t,Wx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#FF9811",d:"M342 0h171v342H342z"}))},rd=function(t){var n=t.title,r=P(t,Ux);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zm0 256h512V320H0z",fill:"#2E52B2"}))},id=function(t){var n=t.title,r=P(t,Xx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#E52D42",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M393.3 68.2h-45.8l-33.8 80.2-34.4-22.9s-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-.6-48.9 7.8-29.6 8.4-30.8 18.7-42.2 18.7-4.8 0-19.9-17.5-27.7-22.3-12.1-7.8-16.9-4.2-13.9 7.2 1.2 4.8 10.9 10.9 16.9 19.9 7.8 11.5 12.7 25.9 12.7 25.9s10.9-10.3 16.9-12.1c9-2.4 19.3 1.8 31.4 0 15.1-2.4 31.4-10.9 31.4-10.9l4.2 43.4s-54.3 50.7-49.5 70.6 56.1 44.6 68.2 62.7c12.1 17.5-7.2 24.1-7.2 32.6s-1.8 19.9 7.2 16.3c9-3.6 10.3-18.1 18.7-31.4 6-9 10.3-13.9 11.5-17.5 1.8-9-23.5-32-37.4-48.9-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6s67.6 27.7 82.6 18.7c15.1-9 19.3-98.3 19.3-98.3l47-11.5-12.1-11.7z"}),l.createElement("path",{fill:"#F8DD4E",d:"M279.3 262.4c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.8-182.8c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm0 91.1c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6 0 11.5 4.8 11.5 11.5-.6 6.7-5.5 11.5-11.5 11.5zm-136.9 45.8c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.2-136.9c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-4.8 11.5-11.5 11.5zm22.9 91.1c-6 0-11.5-10.3-11.5-22.9s4.8-22.9 11.5-22.9c6 0 11.5 10.3 11.5 22.9s-4.8 22.9-11.5 22.9zm-114-45.2c-6 0-11.5-4.8-11.5-11.5 0-6.6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5 0 6.6-4.8 11.5-11.5 11.5z"}))},ld=function(t){var n=t.title,r=P(t,Zx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#F93",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#fff",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#138808",d:"M0 228h513v114H0z"}),l.createElement("circle",{cx:256.5,cy:171,r:34.2,stroke:"navy",strokeWidth:4,fill:"none"}),l.createElement("circle",{cx:256.5,cy:171,r:3.42,fill:"navy"}),l.createElement("path",{d:"m265.3 138.159-17.6 65.682m17.6-65.682-17.6 65.682m25.8-62.286-34 58.89m41.042-53.487-48.084 48.084M285.945 154l-58.89 34m62.286-25.8-65.682 17.6M290.5 171h-68m66.841 8.8-65.682-17.6m62.286 25.8-58.89-34m53.487 41.042-48.084-48.084m41.042 53.487-34-58.89m25.8 62.286-17.6-65.682M256.5 205v-68m-8.8 66.841 17.6-65.682m-25.8 62.286 34-58.89m-41.042 53.487 48.084-48.084M227.055 188l58.89-34m-62.286 25.8 65.682-17.6M222.5 171h68m-66.841-8.8 65.682 17.6M227.055 154l58.89 34m-53.487-41.042 48.084 48.084M239.5 141.555l34 58.89m-25.8-62.286 17.6 65.682",stroke:"navy",strokeWidth:2}))},ad=function(t){var n=t.title,r=P(t,Yx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0-.3h513V342H0V-.3z"}),l.createElement("path",{fill:"#0052B4",d:"M462.9 198.1c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zM0 31.7l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 1-20 6-30.1 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30.1-12v22zm462.9 55.2c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 3.9-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 1 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-8 19-9v-23zm-50.1 133.3c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 0 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-9 19-9v-23z"}),l.createElement("path",{fill:"#FFF",d:"M0-.3h256v171H0V-.3z"}),l.createElement("path",{d:"M389.8 119.9H408v78.8h-18.3l.1-78.8zm0 117.8H408v75.1h-18.3l.1-75.1z",fill:"#A2001D"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144-.3h-32v70H0v32h112v69h32v-69h112v-32H144v-70z"}),l.createElement("path",{d:"M0-.3v15l57 39h23L0-.3zm256 0v15l-57 39h-23l80-54z"}),l.createElement("path",{d:"M0-.3v15l57 39h23L0-.3zm256 0v15l-57 39h-23l80-54zM0 170.7v-15l57-38h23l-80 53zm256 0v-15l-57-38h-23l80 53z"})),l.createElement("g",{fill:"#2E52B2"},l.createElement("path",{d:"M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zm160 23v31h-46l46-31zm-96-23v49l73-49h-73z"}),l.createElement("path",{d:"M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zm160 23v31h-46l46-31zm-96-23v49l73-49h-73zM0 147.7v-30h46l-46 30zm96 23v-49l-73 49h73zm160-23v-30h-46l46 30zm-96 23v-49l73 49h-73z"})),l.createElement("path",{fill:"#5DA51E",stroke:"#45602C",strokeWidth:4,strokeMiterlimit:10,d:"M462.8 91.5h-29.1l25.7-25.7c4.5-4.4 4.5-11.4 0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8 0l-25.9 25.9V37.4c0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2 0-11.3 5.1-11.3 11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9 0l-3.6 3.6c-4.7 4.7-4.7 12.4 0 17.2l25 25.4h-30.6c-6 0-10.9 4.9-10.9 10.9v4.6c0 6 4.9 10.9 10.9 10.9H369l-20.7 20.7c-4.4 4.4-4.4 11.4 0 15.8l3.4 3.4c4.4 4.4 11.4 4.4 15.8 0l19.6-19.6V167c0 6.1 5.1 11.1 11.3 11.3h4.7c6.2 0 11.3-5.1 11.3-11.3v-28.3l22.2 22.6c4.7 4.7 12.4 4.7 17.1 0l3.6-3.6c4.7-4.7 4.7-12.4 0-17.2L435.2 118h27.6c5.9 0 10.7-4.9 10.9-10.9v-4.6c0-6.1-4.9-11-10.9-11z"}),l.createElement("path",{fill:"#E2DD24",stroke:"#525625",strokeWidth:4,strokeMiterlimit:10,d:"M439.2 249.1h-79.8s-.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7 15.9-10.9 33.7.8 48.2.8 11.8.1 26.9-14 45-.8 12.2 8.9 3.9 28.2-1.3 36.7-7 11.5-4.7 21.8-4.7 21.8z"}))},od=function(t){var n=t.title,r=P(t,Jx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#CE1126",d:"M0 0h513v114H0z"}),l.createElement("path",{d:"M0 228h513v114H0z"}),l.createElement("path",{d:"M219.2 160.7h-29.3c1.5-5.7 6.6-9.9 12.8-9.9v-19.9c-18.3 0-33.1 14.9-33.1 33.1v16.5h49.6c1.8 0 3.3 1.5 3.3 3.3v6.6h-66.2v19.9h86.1v-26.5c0-12.7-10.4-23.1-23.2-23.1zm49.6 29.8v-59.6H249v79.5h33.1v-19.9zm66.2 0v-59.6h-19.8v59.6h-6.6v-19.8h-19.9v39.7h59.6v-19.9z",fill:"#547C31"}))},sd=function(t){var n=t.title,r=P(t,Kx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),l.createElement("path",{d:"M0 227.9h513v114H0zm278.8-93.1c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z",fill:"#D80027"}),l.createElement("path",{d:"M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zm89.2 0h22.3v24.4H89.2zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4H223zm44.7 0H290v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0H513v24.4h-22.3zm-446.1 118h22.3v25.5H44.6zm-44.6 0h22.3v25.5H0zm89.2 0h22.3v25.5H89.2zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5H223zm44.7 0H290v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0H513v25.5h-22.3z",fill:"#FFF",opacity:.5}))},ud=function(t){var n=t.title,r=P(t,qx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"32.49 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M513 210.6H202.2v130.7h-79.8V210.6H0v-79.8h122.4V0h79.8v130.8H513v18.5l-1 42.7z"}),l.createElement("path",{fill:"#D80027",d:"M513 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z"}))},cd=function(t){var n=t.title,r=P(t,Qx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#F4F5F0",d:"M342 0H0v341.3h512V0z"}),l.createElement("path",{fill:"#008C45",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#CD212A",d:"M342 0h171v342H342z"}))},dd=function(t){var n=t.title,r=P(t,Rx);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M301.8 171 513 30.2V0h-45.3L256.5 140.8 45.3 0H0v30.2L211.2 171 0 311.8V342h45.3l211.2-140.8L467.7 342H513v-30.2z"}),l.createElement("path",{fill:"#FFDA44",d:"m233.7 44.6 22.3 5.6 22.3-5.6 4-20.9-14.9 6.5L256 14.8l-11.4 15.4-14.9-6.5z"}),l.createElement("path",{fill:"#D80027",d:"M233.7 44.6s-4 12.9-4 29.9c0 27.9 26.3 41.3 26.3 41.3s26.3-15.5 26.3-41.3c0-15.4-4-29.9-4-29.9s-8.1-5-22.3-5-22.3 5-22.3 5z"}))},fd=function(t){var n=t.title,r=P(t,ew);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M215.9 171 0 314.6V26.8zM513 26.8v287.8L296.1 171z"}),l.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}),l.createElement("path",{fill:"#FFDA44",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}))},hd=function(t){var n=t.title,r=P(t,tw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}),l.createElement("path",{fill:"#D80027",d:"M256.5 170.7 0 341.3V0z"}),l.createElement("path",{fill:"#FFF",d:"m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"}))},md=function(t){var n=t.title,r=P(t,nw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),l.createElement("circle",{fill:"#D80027",cx:256.5,cy:171,r:96}))},pd=function(t){var n=t.title,r=P(t,rw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h512v90.579H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 251h513v91H0z"}),l.createElement("path",{fill:"#A2001D",d:"M0 114h513v114H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"m323.3 54.5-25.6-11.8L256 137l-41.7-94.3-25.6 11.8 51.8 116.2-51.8 116.2 25.6 11.8 41.7-94.4 41.7 94.4 25.6-11.8-51.8-116.2z"}),l.createElement("path",{d:"M273.4 65.6c-9.9-10.8-17.4-17-17.4-17s-7.5 6.2-17.4 17v210.1c9.9 10.8 17.4 17 17.4 17s7.5-6.2 17.4-17V65.6z"})),l.createElement("path",{d:"M209 105.9v129.5c10.5 18.5 23.3 33.7 32.9 43.8V62.1c-9.6 10.1-22.4 25.3-32.9 43.8zm94 0c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1 22.4-25.3 32.9-43.8V105.9z",fill:"#A2001D"}),l.createElement("path",{d:"M303 105.9v129.5c10.6-18.8 18.8-41 18.8-64.8s-8.2-45.9-18.8-64.7zm-94 0v129.5c-10.6-18.8-18.8-41-18.8-64.8s8.2-45.9 18.8-64.7z"}))},gd=function(t){var n=t.title,r=P(t,iw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M0 0h513v342H0z"}),l.createElement("circle",{cx:256,cy:170.7,r:170.7})),l.createElement("path",{fill:"#FFDA44",d:"M382.4 170.7 330.8 195l27.5 50-56.1-10.7-7.1 56.6-39.1-41.7-39.1 41.7-7.1-56.6-56.1 10.7 27.5-50-51.6-24.3 51.6-24.3-27.5-50.1 56.1 10.8 7.1-56.7L256 92.1l39.1-41.7 7.1 56.7 56.1-10.8-27.5 50.1z"}),l.createElement("circle",{fill:"#D80027",cx:257.4,cy:170.7,r:71.6}),l.createElement("path",{d:"M214.2 170.7c-2.1 0-4.1.1-6.2.3.1 12 4.4 22.9 11.6 31.5 3.8-10.3 9.5-19.6 16.7-27.7-6.9-2.7-14.3-4.1-22.1-4.1zm26.6 46.5c5.2 1.9 10.8 2.9 16.6 2.9 5.8 0 11.4-1 16.6-2.9-2.8-11.1-8.7-21-16.6-28.8-7.9 7.8-13.8 17.7-16.6 28.8zm59.4-71.2c-8.5-14.8-24.5-24.7-42.8-24.7-18.3 0-34.2 9.9-42.8 24.7 15.6.1 30.2 4.3 42.8 11.6 12.6-7.3 27.2-11.6 42.8-11.6zm-21.7 28.8c7.2 8 12.9 17.4 16.7 27.7 7.2-8.5 11.5-19.5 11.6-31.5-2-.2-4.1-.3-6.2-.3-7.7 0-15.2 1.4-22.1 4.1z",fill:"#FFDA44"}))},vd=function(t){var n=t.title,r=P(t,lw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#0052B4"}),l.createElement("path",{fill:"#FFF",d:"M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"}))},bd=function(t){var n=t.title,r=P(t,aw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"75 0 300 300"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#CE1126",d:"M0 0h450v300H0V0z"}),l.createElement("g",{fill:"#FCD116"},l.createElement("circle",{cx:227.6,cy:161.2,r:56.2}),l.createElement("path",{d:"m254.1 73.4-23.7 26 28.6 6.5zm-51.5.2-4.8 33.1 28.5-8zm94.3 26.7-34.7 8.5 20.1 23.7zm-138.3-1.8 15.5 32.7 20.2-22.7zm159 45.3-34.4-9.9 5.6 29.5zm-182-2.6 31.9 19.8 5.2-27.7z"})),l.createElement("path",{fill:"#003F87",d:"M0 175h450v125H0V175z"}),l.createElement("path",{fill:"#FFF",d:"M0 267c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#FCD116",d:"m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"}))},xd=function(t){var n=t.title,r=P(t,ow);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.13 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v85.5H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.5h513V171H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 171h513v85.5H0z"}),l.createElement("path",{fill:"#6DA544",d:"M256.5 171 0 342V0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7-3.6-.8-7.3-1.2-11.1-1.2-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9c3.8 0 7.5-.4 11.1-1.2-23.3-5.1-40.8-25.9-40.8-50.7z"}),l.createElement("path",{d:"m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.3h8.9zm0 22.3 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"}),l.createElement("path",{d:"m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zm0 22.2 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"})))},wd=function(t){var n=t.title,r=P(t,sw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M512 0H0v342"}),l.createElement("path",{fill:"#FFDA44",d:"M307.7 0 0 194.5V342h206.9L513 148.5V0z"}),l.createElement("path",{d:"M513 0H385.2L0 249.4V341l126.2 1L513 91.6z"}),l.createElement("path",{d:"m141.1 187 31.2 24 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.3-22.2zM310.6 70.8l31.2 23.9 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.4-22.2z",fill:"#FFF"}))},yd=function(t){var n=t.title,r=P(t,uw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"71.82 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#91DC5A",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v57.188H0zm0 284.1h513v57.177H0z",fill:"#0052B4"}),l.createElement("path",{fill:"#D80027",d:"M0 79.9h513v181.582H0z"}),l.createElement("circle",{fill:"#FFF",cx:190.33,cy:171,r:65.668}),l.createElement("path",{fill:"#D80027",d:"m190.3 105 14.8 45.3h47.7l-38.6 28.1 14.8 45.5-38.7-28.2-38.6 28.1 14.8-45.4-38.6-28.1h47.7z"}))},Ed=function(t){var n=t.title,r=P(t,cw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h342v342H0z"}),l.createElement("path",{d:"m236.609 225.747 16.546-16.546 11.03 11.03-16.546 16.547zm-27.524 27.536 16.546-16.547 11.031 11.031-16.546 16.546zm60.597 5.501 16.546-16.546 11.031 11.03-16.546 16.546zm-27.574 27.568 16.547-16.546 11.03 11.03-16.546 16.547zm10.982-44.102 16.546-16.546 11.03 11.03-16.546 16.547zm-27.458 27.603 16.546-16.546 11.031 11.03-16.546 16.547zm.057-198.322 11.03-11.03 44.053 44.052-11.031 11.03zm-16.548 16.497 11.03-11.03 16.547 16.546-11.03 11.03zm27.464 27.494 11.03-11.03 16.547 16.546-11.031 11.03zm5.503-60.596 11.03-11.03 16.547 16.546-11.031 11.03zm27.496 27.645 11.03-11.03 16.546 16.546-11.03 11.03zM43.751 253.362l11.031-11.03 44.052 44.052-11.03 11.03zm44.059 10.997 11.03-11.03 16.547 16.545-11.031 11.031zm-27.507-27.637 11.031-11.03 16.546 16.546-11.03 11.03zm16.545-16.501 11.031-11.03 44.053 44.052-11.031 11.03zM43.819 88.013 87.87 43.96 98.9 54.991 54.85 99.043zM60.3 104.502l44.05-44.052 11.031 11.03-44.052 44.053zm16.516 16.641 44.053-44.052 11.03 11.03-44.052 44.053z"}),l.createElement("circle",{fill:"#D80027",cx:170.3,cy:170.7,r:62.3}),l.createElement("path",{fill:"#0052B4",d:"M232.2 178.3c-9.6-25.4-44.3-25-61.8 1.3-17.6 26.3-43.8 16.9-61.6.7 4.6 29.9 30.4 52.7 61.6 52.7 31.8 0 58-23.9 61.8-54.7z"}))},Cd=function(t){var n=t.title,r=P(t,dw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}),l.createElement("path",{d:"M167 227.6 0 341.3V0l167 113.8z"}))},kd=function(t){var n=t.title,r=P(t,fw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"117.99 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("circle",{fill:"#6DA544",cx:384,cy:96.5,r:29.7}),l.createElement("path",{fill:"#D80027",d:"M332.1 89H436v44.5H332.1z"}),l.createElement("path",{fill:"#496E2D",d:"M435.9 170.7z"}),l.createElement("path",{fill:"#FFDA44",d:"M332.1 200.3V230h15.6c9.4 9.2 22.2 14.8 36.3 14.8 14.1 0 27-5.7 36.3-14.8h15.6v-29.7H332.1z"}),l.createElement("path",{fill:"#338AF3",d:"M332.1 126.1v44.5c0 39.8 51.9 51.9 51.9 51.9s51.9-12.2 51.9-51.9v-44.5H332.1z"}),l.createElement("path",{d:"M384 149.9c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9zm0-41.6c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9z",fill:"#F3F3F3"}),l.createElement("path",{fill:"#FFF",d:"M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zm256 0v-15.1l-57.4-38.3H176z"})))},Id=function(t){var n=t.title,r=P(t,hw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#36B6CC",d:"M0 0h513v342H0V0z"}),l.createElement("circle",{fill:"#FFD400",cx:256.5,cy:170.9,r:68.4}),l.createElement("path",{fill:"#FFD400",d:"m256.5 251.5-27.9 41.7-7.1-49.7-43.2 25.5 15.2-47.8-50 4.2 34.4-36.5-46.9-18 46.8-18-34.4-36.5 50 4.2-15.2-47.8 43.2 25.4 7.1-49.7 27.9 41.7 27.9-41.7 7.1 49.7 43.2-25.4-15.2 47.8 50-4.2-34.3 36.6 46.8 17.9-46.8 18 34.4 36.5-50-4.2 15.2 47.8-43.2-25.4-7.1 49.7c0-.1-27.9-41.8-27.9-41.8zm0-.8c44.1 0 79.9-35.8 79.9-79.9S300.6 91 256.5 91s-79.9 35.8-79.9 79.9 35.8 79.8 79.9 79.8zM22.8 28.3c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V28.3zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V74zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm22.8-22.8c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7V245c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V188zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V96.8zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V51.2z"}))},zd=function(t){var n=t.title,r=P(t,mw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 .1h513v90.7H0zm0 251.2h513V342H0z",fill:"#D80027"}),l.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:65.9}))},Fd=function(t){var n=t.title,r=P(t,pw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 .2h513v90.7H0zm.5 251.1H513V342H.5z",fill:"#D80027"}),l.createElement("path",{fill:"#6DA544",d:"M290.3 193.5 256 130.7l-34.3 62.8h25.7v17.2h17.2v-17.2z"}),l.createElement("path",{fill:"#14AF5A",d:"M241.3 213.1c4.4-4.4 4.4-11.6-.1-16l4.7 4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5 5.9c-6.1 1.5-6.8-.4-1.8-4.2l27.1-20.3c5.1-3.8 4.2-6.9-2.3-6.9h-11c-6.4 0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8 5.1-5.1-1.5-5.1h-11c-6.4 0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8 12.9-3.8 18.5 0l27.1 20.3c5.1 3.8 4.2 6.9-2.3 6.9h-11c-6.4 0-7 2.3-1.5 5.1l25.3 12.7c5.6 2.8 5.1 5.1-1.5 5.1h-11c-6.4 0-7.4 3.1-2.3 6.9l27.1 20.3c5.1 3.8 4.4 5.7-1.8 4.2l-23.5-5.9c-6.8-1.3-13.9.6-19.1 5.3l4.7-4.7c-4.4 4.4-4.5 11.5-.1 16l6.8 6.8c4.4 4.4 3.1 8-3.3 8h-45.8c-6.2 0-7.7-3.6-3.3-8 .1.1 6.9-6.8 6.9-6.8z"}))},Md=function(t){var n=t.title,r=P(t,gw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#55B2FF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#F3F3F3",d:"M148.5 298.1h216l-108-254.2z"}),l.createElement("path",{fill:"#333",d:"m186 272.7 70.5-160.3L327 272.7z"}),l.createElement("path",{fill:"#FFDA44",d:"M148.5 298.1h216l-108-101.7z"}))},Sd=function(t){var n=t.title,r=P(t,vw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"51.3 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v171H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M149.3 98.1c0-14-11.3-25.3-25.3-25.3-6.5 0-12.4 2.4-16.9 6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4-14 0-25.3 11.3-25.3 25.3 0 7.5 3.3 14.2 8.4 18.8v14.9h84.3V117c5.3-4.7 8.5-11.5 8.5-18.9z"}))},Ad=function(t){var n=t.title,r=P(t,bw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"42.75 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#A2001D",d:"M222.6 22.3h267.1v296.8H222.6z"}),l.createElement("path",{fill:"#D80027",d:"M22.3 22.3h200.3v296.8H22.3z"}),l.createElement("path",{fill:"#FFDA44",d:"M200.3 0h22.3v342h-22.3z"}),l.createElement("path",{fill:"#6DA544",d:"M22.3 22.3h89v296.8h-89z"}),l.createElement("path",{fill:"#FF9811",d:"M111.3 22.3h89v296.8h-89z"}),l.createElement("path",{fill:"#FFDA44",d:"M368.2 156.8c-1.4-2 0-37.9 0-37.9.9-7.4.1-8.4 1-11.4.9-2.9 5.4-11.6 5.4-11.6s-6-2.3-10.3-.6c-4.3 1.7-24.7-7.5-31.2 3.4-4.4 7-23.6 16.2-24.6 14-1-2.2-5.9-5-6.9-2.9s-.7 13.9 0 16c.8 2.6 9.8 2 12.3 3.1 3.7 1.8 12.2 8.2 11.9 10.7-.3 2.5-22.5-6-24.2-4.5-1.4 1.2-1.9 13.2-.4 15 1.8 2.1 23.4 5.6 25 7.5 1.6 1.9-13.1 7.4-12.3 25 .7 14.7 8 17.4 8 17.4s-2.4 3.6-7.8 3.1c-6.2-.6-27.4-17.7-27.4-17.7s-3.5-109 3.6-121.4c4.9-8.5-22.7 10.1-22.7 50.8V151c0 6.6-1.4 22.4 2.6 34 0 0-.4 46.9 1.5 49.6s12.7 2.2 14.8 0 0-30 0-30c7.7.2 18.3 17.5 32.5 16.4 20.6-1.6 28.7-9.9 34.3-5 8.1 7.1 5.5 23.2.4 31.5-2.2 3.5-14.3 4.7-15.7 7.6-1.4 2.9.5 5.4.5 5.4h29.7s1.4-20.5 2.7-26.1c1.3-5.7-.6-10.7 5.9-10.4 23.5 1.1 39.8-15.3 45.5-8 3.2 4.1 5.6 29.9 3.3 33.3-2.2 3.4-13.8 2.8-15.2 6.7-1.4 4 .8 4.4.8 4.4h29.7s-.4-21.2 2.5-27.7 4.9-10.4 9.3-17.2c4.4-6.8 11.3-15.7 11.3-36.2 0-14.2-8.1-22.8-8.1-22.8H417c-14.1.2-47.4 2.3-48.8.3zm-136-124.5c10.7-10.6 20.2-2.7 22.2 2.1 1.9 4.8 2.1 8.2 2.8 13.6.9 6.9 4.9 14 4.9 14s-7.1-3.8-14.7-4.2c-4.7-.3-9-.6-13.6-2.5-5.7-2.3-11.7-12.9-1.6-23zm248.4-.1c10.7 10.6 2.8 20.2-2 22.2s-8.2 2.1-13.6 2.8c-6.9.9-14 5-14 5s3.7-7.1 4.2-14.7c.3-4.7.6-9.1 2.4-13.6 2.2-5.7 12.8-11.8 23-1.7zm.1 276.9c-10.7 10.6-20.2 2.6-22.2-2.2-1.9-4.8-2.1-8.2-2.7-13.6-.8-6.9-4.9-14.1-4.9-14.1s7 3.8 14.7 4.3c4.7.3 9 .6 13.6 2.5 5.7 2.4 11.7 13.1 1.5 23.1zm-248.2-.1c-10.6-10.7-2.7-20.2 2.1-22.2 4.8-1.9 8.2-2.1 13.6-2.8 6.9-.9 14-4.9 14-4.9s-3.8 7.1-4.2 14.7c-.3 4.7-.6 9-2.5 13.6-2.3 5.7-12.9 11.8-23 1.6z"}),l.createElement("path",{fill:"none",stroke:"#FFDA44",strokeWidth:6,strokeMiterlimit:10,d:"M446.9 162.4s7.5-2.6 8.4-16.1c.6-8.6-19.8-16-39-11.5-19.7 4.6-34-3.1-34-14.6 0-22.9 29.7-16.2 38.9-11.3 9.1 4.9 29.7 23.5 35.1 9.4"}))},Nd=function(t){var n=t.title,r=P(t,xw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.13 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v31.1H0zm0 62.2h513v31.1H0zm0 62.3h513v31.1H0zm0 62.3h513v31.1H0zm0 62.5h513v31.1H0zm0 61.6h513V342H0z",fill:"#bf0a30"}),l.createElement("path",{fill:"#002868",d:"M0 0h155.6v155.6H0z"}),l.createElement("path",{fill:"#FFF",d:"m77.8 30.2 10.7 32.9h34.6l-28 20.4 10.7 32.9-28-20.3-28 20.3 10.7-32.9-28-20.4h34.6z"}))},Dd=function(t){var n=t.title,r=P(t,ww);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 227.6h513v114H0z"}),l.createElement("path",{d:"m245.2 171 7.7-23.1c2-5.9 5.1-6 7.1 0l7.7 23.1 19.4 29.1c1.7 2.6 1.3 6.3-1.2 8 0 0-6.9 8-29.5 8s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8l19.5-29.1z"}),l.createElement("path",{d:"M256.5 171c-12.5 0-22.6-10.1-22.6-22.6 0-12.5 10.1-22.6 22.6-22.6s22.6 10.1 22.6 22.6c0 12.5-10.2 22.6-22.6 22.6zm0 0c6.2 0 11.3-16.3 11.3-22.6 0-6.2-5.1-11.3-11.3-11.3-6.2 0-11.3 5.1-11.3 11.3 0 6.3 5 22.6 11.3 22.6z"}))},Ld=function(t){var n=t.title,r=P(t,yw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}))},Td=function(t){var n=t.title,r=P(t,Ew);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 228h513v114H0z"}))},Bd=function(t){var n=t.title,r=P(t,Cw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{className:"prefix__st1",d:"M0 0h513v127.6H0zm0 214.4h513V342H0z",fill:"#A2001D"}))},Hd=function(t){var n=t.title,r=P(t,kw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"m281.4 150.7 9 12.3 14.5-4.7-9 12.4 9 12.3-14.5-4.7-9 12.3v-15.2l-14.5-4.7 14.5-4.7z"}),l.createElement("path",{d:"M257 201.5c-17 0-30.9-13.8-30.9-30.9s13.8-30.9 30.9-30.9c5.3 0 10.3 1.3 14.7 3.7-6.9-6.7-16.2-10.8-26.6-10.8-21 0-38 17-38 38s17 38 38 38c10.3 0 19.7-4.1 26.6-10.8-4.4 2.4-9.4 3.7-14.7 3.7z"})))},jd=function(t){var n=t.title,r=P(t,Iw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 .3V342h513V.3z"}),l.createElement("path",{fill:"#20661B",d:"M359.8 148.9h-73.3l-22.7-69.7-22.7 69.7h-73.3l59.3 43.1-22.7 69.7 59.3-43.1 59.3 43.1-22.5-69.7 59.3-43.1zm-116.1 37.7 7.7-23.6h24.8l7.7 23.6-20.1 14.6-20.1-14.6zm27.9-37.7H256l7.8-24 7.8 24zm24.3 29-4.8-14.9h25.3l-20.5 14.9zM236.6 163l-4.8 14.9-20.5-14.9h25.3zm-5.3 61.8 7.8-24 12.6 9.2-20.4 14.8zm44.5-14.9 12.6-9.2 7.8 24-20.4-14.8z"}))},Pd=function(t){var n=t.title,r=P(t,zw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.333h512v341.333H0z"}),l.createElement("path",{fill:"#c70000",d:"M0 85.333h512V256H0z"}))},Od=function(t){var n=t.title,r=P(t,Fw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}),l.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#AF7F59",d:"M206.2 129.1h33.2L256 79.3l16.6 49.8h33.2v99.6L256 262l-49.8-33.2v-99.7zm33.2 33.3v49.8h33.2v-49.8h-33.2z"}))},Vd=function(t){var n=t.title,r=P(t,Mw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#E6BE53",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#E01D24",d:"M20 20h473v302H20z"}),l.createElement("path",{fill:"#E6BE53",d:"M248.5 112.9c4.4 4.4 11.6 4.4 16 0l-4.7 4.7 22.7-22.7c4.9-4.5 12.1-5.6 18.2-2.8l2.1 1c5.7 2.9 6.7 8.7 2.3 13.1l4.7-4.7-22.8 22.8c-4.5 4.9-5.6 12.1-2.8 18.2l1 2.1c2.9 5.7 5.1 15.4 5.1 21.6v-11.3c0 6.2 4.4 9.1 10.2 6.2l2.1-1c5.7-2.9 6.7-8.7 2.3-13.1l4.7 4.7c-4.4-4.4-4.4-11.6 0-16l-4.7 4.7c5.2-5.5 9.6-11.6 13.1-18.2l1-2.1c2.9-5.7 6.3-15.1 7.9-21.2l5.8-23.3c1.5-6 5.9-6.8 9.6-1.8l20.2 26.9c3.8 5.1 6.9 14 6.9 20.6v22.4c0 6.3-2.2 15.8-5.1 21.7l-1 2.1c-3.5 6.6-7.9 12.7-13.1 18.2l-6.8 6.8c-5.4 5.2-11.5 9.6-18.2 13.1l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.2 0-6.9 2.2-1.1 5.1l2.1 1c5.7 2.9 13.8 8.7 18.2 13.1l-4.7-4.7c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L339 226c4.6 4.9 5.7 12.1 2.9 18.2l-1 2.1c-2.9 5.7-10.4 10.2-16.4 10.2-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7c-4.4 4.7-5.2 11.8-1.8 17.3l10.3 15.4c3.4 5.1 2 12.1-3.1 15.5L266 284.4c-5.7 3.4-12.8 3.4-18.6 0L232 274.1c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5 2.6-12.6-1.8-17.3l4.7 4.7c-4.4-4.4-10.2-3.6-13.1 2.3l-1 2.1c-2.9 5.7-9.5 12.4-15.4 15.4l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.9-.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3 2.9-18.2l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L181 226c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c5.5-5.2 11.6-9.6 18.2-13.1l2.1-1c5.7-2.9 5-5.1-1.1-5.1-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3 3.1-15.6 6.9-20.6l20.2-26.9c3.8-5.1 8.1-4.3 9.6 1.8l5.8 23.3c2 7.3 4.6 14.4 7.9 21.2l1 2.1c2.9 5.7 8.7 13.8 13.1 18.2l-4.7-4.7c4.4 4.4 4.4 11.6 0 16l4.7-4.7c-4.4 4.4-3.6 10.2 2.3 13.1l2.1 1c5.7 2.9 10.2 0 10.2-6.2v11.3c0-6.2 2.2-15.7 5.1-21.6l1-2.1c2.8-6.1 1.7-13.2-2.8-18.2l-22.7-22.7 4.7 4.7c-4.4-4.4-3.6-10.2 2.3-13.1l2.1-1c6.1-2.8 13.2-1.7 18.2 2.8l22.7 22.7-4.8-4.5zm-18-40.7c-4.4-4.4-3.2-9.5 2.8-11.5l12.4-4.2c6-2 15.5-2 21.5 0l12.4 4.2c6 2 7.2 7.1 2.8 11.5l-6.8 6.8c-5.3 4.7-12.1 7.5-19.2 7.9-6.2 0-14.8-3.5-19.2-7.9.1 0-6.7-6.8-6.7-6.8z"}),l.createElement("path",{fill:"#215F90",d:"M233.9 200.2c0 6.2 1.7 6.4 4.2.5 0 0 7.1-23.2 18.4-23.2 11.3 0 18.6 23.6 18.6 23.6 2.2 5.7 4 5.3 4-1.1v-11.2c0-18.7-10.1-33.9-22.6-33.9-12.5 0-22.6 15.2-22.6 33.9v11.4z"}))},Gd=function(t){var n=t.title,r=P(t,Sw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"18 0 72 72"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 0h108v72H0z",fill:"#003787"}),l.createElement("path",{d:"M0 0h108L60 48v24H48V48z",fill:"#fff"}),l.createElement("circle",{cx:54,cy:30,r:8,fill:"#f9d90f"}),l.createElement("path",{d:"M44 30h20L54 48z",fill:"#fff"}),l.createElement("path",{d:"M54 48 38 33h32z",fill:"#cf142b"}))},_d=function(t){var n=t.title,r=P(t,Aw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"64.853 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M512 426.666V85.329H0v341.337h512z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.331H0v170.666h512V85.331z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.334h181.793v341.337H0z"}))},$d=function(t){var n=t.title,r=P(t,Nw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#1E509C",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M513 176.1V81.3L0 342l513-165.9z"}),l.createElement("path",{fill:"#F18D36",d:"M513 0v81.3L0 342 513 0z"}),l.createElement("path",{fill:"#FFF",d:"m126.7 99.3-7.8-54.1-7.7 54.1-20.8-23.7 10.7 31.6-31.5-10.7 23.6 20.8-54.1 7.7 54.1 7.7-23.6 20.8 31.5-10.7-10.7 31.6 20.8-23.7 7.7 54.1 7.8-54.1 20.7 23.7-10.6-31.6 31.5 10.7-23.6-20.8 54-7.7-54-7.7 23.6-20.8-31.5 10.7 10.6-31.6z"}))},Wd=function(t){var n=t.title,r=P(t,Dw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.333h512V426.67H0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M383.875 426.662 256 252.286l26.827 174.376zM133.565 85.33 256 252.286 230.314 85.33zm95.606 341.332L256 252.286 128.124 426.662zM0 85.33V212.9l256 39.386L28.333 85.33zm0 341.332h18.212L256 252.286 0 291.67zm256-174.376L512 212.9V85.33h-28.331zM281.686 85.33 256 252.286 378.434 85.33zM512 426.662V291.671l-256-39.385 237.787 174.376z"}),l.createElement("circle",{cx:256,cy:252.29,r:59.359})),l.createElement("circle",{fill:"#FFDA44",cx:256,cy:252.29,r:44.522}))},Ud=function(t){var n=t.title,r=P(t,Lw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 85.331h170.663v341.337H0z"}),l.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},Xd=function(t){var n=t.title,r=P(t,Tw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#6DA544",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#FFF",d:"M384 227.261h-97.783L256 134.265l-30.217 92.997H128l79.108 57.475-30.217 92.998L256 320.925l79.108 56.81-30.217-92.998L384 227.261z"}))},Zd=function(t){var n=t.title,r=P(t,Bw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"22.23 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#095FAD",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M342 0h171v342H342zM0 0h171v342H0z",fill:"#BE1229"}),l.createElement("g",{fill:"#FFDA44"},l.createElement("path",{d:"M108.3 166.3h14.8v74.2h-14.8zm-59.4 0h14.8v74.2H48.9z"}),l.createElement("circle",{cx:86,cy:203.4,r:14.8}),l.createElement("path",{d:"M71.2 225.7h29.7v14.8H71.2zm0-59.4h29.7v14.8H71.2z"}),l.createElement("circle",{cx:86,cy:144,r:14.8}),l.createElement("path",{d:"M76.3 123.9h19.5L86 108.3z"})))},Yd=function(t){var n=t.title,r=P(t,Hw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#00745a",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M285.682 248.878c-4.19 0-8.166.836-11.861 2.164 2.023-4.509 3.379-9.527 3.379-14.885 0-21.201-21.201-37.101-21.201-37.101s-21.201 15.901-21.201 37.101c0 5.357 1.356 10.375 3.379 14.885-3.693-1.328-7.671-2.164-11.861-2.164-21.201 0-37.101 21.201-37.101 21.201s15.901 21.201 37.101 21.201c12.429 0 23.031-7.286 29.682-13.315 6.65 6.03 17.251 13.315 29.682 13.315 21.201 0 37.101-21.201 37.101-21.201s-15.899-21.201-37.099-21.201z"}),l.createElement("path",{d:"m256 152.111 4.38 13.476h14.171l-11.464 8.332 4.376 13.476-11.463-8.33-11.463 8.33 4.376-13.476-11.464-8.332h14.171zm-53.888 23.572 8.425 7.585 9.818-5.667-4.61 10.355 8.423 7.588-11.274-1.185-4.611 10.355-2.358-11.088-11.275-1.185 9.818-5.669zm-39.45 39.449 11.09 2.358 5.668-9.818 1.186 11.274 11.089 2.358-10.357 4.61 1.186 11.274-7.587-8.423-10.357 4.61 5.669-9.818zm147.227-39.449-8.425 7.585-9.818-5.667 4.611 10.355-8.425 7.588 11.275-1.185 4.61 10.355 2.359-11.088 11.275-1.185-9.818-5.669zm39.449 39.449-11.089 2.358-5.669-9.818-1.186 11.274-11.088 2.358 10.357 4.61-1.185 11.274 7.586-8.423 10.357 4.61-5.669-9.818z",fill:"#FFDA44"}),l.createElement("path",{d:"M256 350.642c16.84 0 32.363-5.619 44.816-15.073h-89.63c12.451 9.454 27.974 15.073 44.814 15.073zm-68.023-44.522a74.138 74.138 0 0 0 8.85 15.073h118.345a74.13 74.13 0 0 0 8.85-15.073H187.977z",fill:"#FFF"}))},Jd=function(t){var n=t.title,r=P(t,jw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"125 0 500 500"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0071BC",d:"M0 0h750v500H0V0z"}),l.createElement("g",{fill:"#FFF",stroke:"#000",strokeWidth:1.9},l.createElement("circle",{cx:375,cy:245,r:225,fill:"#fff"}),l.createElement("circle",{cx:375,cy:245,r:165,fill:"#0071BC"})),l.createElement("g",{stroke:"#000"},l.createElement("path",{fill:"#8C8A8C",strokeWidth:1.9,d:"M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z"}),l.createElement("path",{fill:"#FFF",strokeWidth:2,strokeLinejoin:"round",d:"m373 114 30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"})))},Kd=function(t){var n=t.title,r=P(t,Pw);return l.createElement("svg",j({viewBox:"150 0 600 600",xmlns:"http://www.w3.org/2000/svg"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#231f1e",d:"M0 0h900v600H0z"}),l.createElement("path",{fill:"#00a650",d:"M0 0h900v300H0z"}),l.createElement("path",{fill:"#ef1923",d:"m0 0 450 300L0 600z"}))},qd=function(t){var n=t.title,r=P(t,Ow);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 100 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#006233",d:"M0 100h513v342H0z"}),l.createElement("path",{fill:"#cd2a3e",d:"M0 100h513v46H0zm0 296h513v46H0z"}),l.createElement("path",{fill:"#ffc400",d:"M256 298.851c-45.956 0-84.348-32.298-93.767-75.429A96.288 96.288 0 0 0 160 243.994c0 53.02 42.979 96 96 96s96-42.98 96-96c0-7.066-.785-13.942-2.233-20.572-9.419 43.131-47.811 75.429-93.767 75.429z"}),l.createElement("path",{fill:"#ffc400",d:"m255.999 171.994 8.935 27.502h28.918l-23.394 16.996 8.936 27.503-23.395-16.998-23.394 16.998 8.937-27.503-23.394-16.996h28.915z"}))},Qd=function(t){var n=t.title,r=P(t,Vw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"121.41 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#1B4991",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00A2B8",stroke:"#FFF",strokeWidth:3,d:"M318.2 106.7v106.5c0 51.9 67.8 67.8 67.8 67.8s67.8-15.9 67.8-67.8V106.7H318.2z"}),l.createElement("path",{fill:"#A35023",d:"M319.7 212.7c0 50.8 66.3 66.3 66.3 66.3s66.3-15.6 66.3-66.3H319.7z"}),l.createElement("path",{d:"M415.1 155.1h-19.4v-19.4h-19.4v19.4H357v19.4h19.3v58.1h19.4v-58.1h19.4z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"}),l.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),l.createElement("path",{fill:"#D80027",d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z"}),l.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),l.createElement("path",{fill:"#D80027",d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z"}))},Rd=function(t){var n=t.title,r=P(t,Gw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#C31B28",d:"M256 0h256.5v342H256z"}),l.createElement("path",{fill:"#ACABB1",stroke:"#C31B28",strokeWidth:2,d:"M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"}))},e3=function(t){var n=t.title,r=P(t,_w);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#f7ce00",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{fill:"#e32737",d:"M0 85.331h512v85.337H0z"}),l.createElement("path",{fill:"#191f6a",d:"M0 170.657h512v85.337H0z"}),l.createElement("path",{fill:"#00a04e",d:"M0 341.331h512v85.337H0z"}))},t3=function(t){var n=t.title,r=P(t,$w);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#d01920",d:"M0 85.331h512v341.333H0z"}),l.createElement("path",{fill:"#017c3b",d:"M144.696 174.375h222.609v163.25H144.696z"}),l.createElement("path",{fill:"#FFF",d:"M283.484 304.226c-26.637 0-48.232-21.594-48.232-48.232s21.594-48.232 48.232-48.232c8.306 0 16.12 2.1 22.943 5.797-10.703-10.467-25.341-16.927-41.494-16.927-32.784 0-59.362 26.577-59.362 59.362s26.578 59.362 59.362 59.362c16.154 0 30.791-6.461 41.494-16.927-6.822 3.698-14.636 5.797-22.943 5.797z"}))},n3=function(t){var n=t.title,r=P(t,Ww);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#272727",d:"M0 0h512v114H0z"}),l.createElement("path",{fill:"#e40112",d:"M0 114h512v114H0z"}),l.createElement("path",{fill:"#07893f",d:"M0 228h512v114H0z"}),l.createElement("circle",{fill:"#e40112",cx:256,cy:125,r:95}))},r3=function(t){var n=t.title,r=P(t,Uw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#dc2339",d:"M342 0H0v341.3h513V0z"}),l.createElement("path",{fill:"#11865d",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M171 0h171v342H171z"}),l.createElement("path",{fill:"#8C9157",d:"M195.8 171.2c0 21.6 11.5 41.7 30.3 52.5 5.8 3.4 13.2 1.4 16.6-4.4 3.4-5.8 1.4-13.2-4.4-16.6-11.3-6.5-18.2-18.5-18.2-31.5 0-6.7-5.4-12.1-12.1-12.1-6.7 0-12.2 5.4-12.2 12.1zm93.4 51.1c17.5-11.1 28-30.4 28-51.1 0-6.7-5.4-12.1-12.1-12.1s-12.1 5.4-12.1 12.1c0 12.4-6.3 24-16.8 30.7-5.7 3.5-7.5 10.9-4.1 16.7s10.9 7.5 16.7 4.1c0-.2.2-.3.4-.4z"}),l.createElement("ellipse",{fill:"#C59262",cx:256.5,cy:159.1,rx:24.3,ry:36.4}))},i3=function(t){var n=t.title,r=P(t,Xw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0zm0 48.9h513V171H0zm0 48.8h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0z",fill:"#c00"}),l.createElement("path",{fill:"#006",d:"M0 0h256.5v195.4H0z"}),l.createElement("path",{d:"M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z",fill:"#fc0"}))},l3=function(t){var n=t.title,r=P(t,Zw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.333h513v342H0z"}),l.createElement("path",{fill:"#f4d900",d:"M0 323.333h513v104H0z"}),l.createElement("path",{fill:"#006d66",d:"M0 85.333h513v104H0z"}),l.createElement("path",{d:"M0 204.333h513v104H0z"}),l.createElement("path",{fill:"#cb0f31",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("path",{fill:"#f4d900",d:"m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"}))},a3=function(t){var n=t.title,r=P(t,Yw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"32.427 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.337h512"}),l.createElement("path",{fill:"#FFF",d:"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"}),l.createElement("path",{fill:"#A2001D",d:"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"}),l.createElement("path",{fill:"#FFDA44",d:"m187.737 189.212-22.741 10.696 12.11 22.024-24.693-4.724-3.129 24.945-17.199-18.347-17.2 18.347-3.129-24.945-24.693 4.723 12.109-22.023-22.739-10.696 22.74-10.697-12.11-22.022 24.693 4.722 3.13-24.944 17.199 18.347 17.2-18.347 3.128 24.944 24.693-4.722-12.108 22.024z"}))},o3=function(t){var n=t.title,r=P(t,Jw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"25.596 0 426.7 426.7"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#009543",d:"M0 293h640v133.7H0V293z"}),l.createElement("path",{fill:"#ED4135",d:"M0 132h640v161.3H0V132z"}),l.createElement("path",{fill:"#0035AD",d:"M0 0h640v133.3H0V0z"}),l.createElement("circle",{fill:"#FAE600",stroke:"#000",strokeWidth:5.3,cx:240,cy:213.3,r:157.3}),l.createElement("path",{d:"m307.9 354.5-31.8 12-36.1 4.2-37.8-2.4-35.9-15.5s28.6-29.3 40.7-33.5c8.6-3 22.4-3.7 22.4-3.7V122l-.3-66H246l-.5 67.5v191.7s15.3 1.2 22.1 4.1c11.3 4.9 40.3 35.2 40.3 35.2z"}),l.createElement("path",{d:"m212.727 102.375 42.955-21.418 5.577 11.187-42.955 21.417z"}),l.createElement("ellipse",{cx:237.8,cy:280.5,rx:16.8,ry:26.5}),l.createElement("circle",{cx:237.4,cy:143.4,r:20.9}),l.createElement("ellipse",{cx:238.4,cy:211.1,rx:19.9,ry:12.1}),l.createElement("path",{d:"M213.8 177h47v10h-47zm0 57h47v10h-47z"}))},s3=function(t){var n=t.title,r=P(t,Kw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#e05206",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#0db02b",d:"M0 312.888h512v113.775H0z"}),l.createElement("circle",{fill:"#e05206",cx:256,cy:256,r:32}))},u3=function(t){var n=t.title,r=P(t,qw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.5 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.5h513v342H0z"}),l.createElement("path",{d:"M0 85.5h171v342H0zm342 0h171v342H342zm-38 226.495-48-152.001-48 152.001h36v39.999h24v-39.999z",fill:"#007b23"}))},c3=function(t){var n=t.title,r=P(t,Qw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 85.5 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.5h513v342H0z"}),l.createElement("path",{d:"M0 85.5h171v342H0zm342 0h171v342H342z",fill:"#007b23"}))},d3=function(t){var n=t.title,r=P(t,Rw);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#338AF3"}),l.createElement("path",{fill:"#FFDA44",d:"M256 214.447c-22.949 0-41.553 18.603-41.553 41.553S233.05 297.553 256 297.553c22.949 0 41.553-18.603 41.553-41.553S278.949 214.447 256 214.447zm0 65.298c-13.114 0-23.745-10.631-23.745-23.745s10.631-23.745 23.745-23.745 23.745 10.631 23.745 23.745-10.631 23.745-23.745 23.745z"}),l.createElement("path",{fill:"#0052B4",d:"M276.563 261.936 256 256l-20.563 5.936-6.855 11.873h54.836z"}),l.createElement("path",{fill:"#338AF3",d:"m256 226.32-13.709 23.744L256 256l13.709-5.936z"}),l.createElement("path",{fill:"#6DA544",d:"M235.437 261.936h41.126l-6.854-11.872h-27.418z"}))},f3=function(t){var n=t.title,r=P(t,ey);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),l.createElement("path",{fill:"#cd1f2a",d:"M0 0h513v114H0z"}),l.createElement("path",{fill:"#1d4185",d:"M0 228h513v114H0z"}))},h3=function(t){var n=t.title,r=P(t,ty);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"37.547 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),l.createElement("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"}))},m3=function(t){var n=t.title,r=P(t,ny);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.337l280.419 174.75H87.61l183.576 166.576z"}),l.createElement("path",{fill:"#D80027",d:"M244.769 249.888 10.199 103.71v312.754h234.57L61.193 249.888z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"m98.003 324.433-14.589-6.863 7.77-14.13-15.844 3.03-2.008-16.005-11.035 11.772-11.036-11.772-2.008 16.005-15.843-3.031 7.77 14.131-14.591 6.863 14.591 6.862-7.77 14.13 15.844-3.029 2.007 16.004 11.036-11.772L73.332 358.4l2.008-16.004 15.843 3.03-7.769-14.13zm-9.735-132.771-10.612-4.991 5.651-10.278-11.523 2.205-1.461-11.641-8.026 8.561-8.026-8.561-1.46 11.641-11.525-2.205 5.652 10.278-10.613 4.991 25.972 5.194z"}),l.createElement("path",{d:"M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165"})))},p3=function(t){var n=t.title,r=P(t,ry);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"44.373 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 239.994h512v32H0z"}),l.createElement("path",{fill:"#FFF",d:"m174.802 341.329-19.124 8.996 10.184 18.521-20.767-3.973-2.631 20.978L128 370.422l-14.465 15.429-2.63-20.978-20.767 3.973 10.183-18.521-19.123-8.996 19.124-8.995-10.184-18.52 20.766 3.971 2.632-20.978L128 312.236l14.465-15.429 2.63 20.978 20.767-3.971-10.183 18.521z"}))},g3=function(t){var n=t.title,r=P(t,iy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.334h256v170.663H0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80z"})),l.createElement("path",{d:"M0 107.951v30.712h46.069zm96-22.62v48.913L22.628 85.331z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M256 85.329v15.083l-57.377 38.251H176z"}),l.createElement("path",{d:"M256 107.951v30.712h-46.069zm-96-22.62v48.913l73.372-48.913z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M0 85.329v15.083l57.377 38.251H80z"}),l.createElement("path",{d:"M0 107.951v30.712h46.069zm96-22.62v48.913L22.628 85.331z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M256 85.329v15.083l-57.377 38.251H176z"}),l.createElement("path",{d:"M256 107.951v30.712h-46.069zm-96-22.62v48.913l73.372-48.913z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M0 255.997v-15.082l57.377-38.252H80z"}),l.createElement("path",{d:"M0 233.376v-30.713h46.069zm96 22.618v-48.912l-73.372 48.912z",fill:"#2E52B2"}),l.createElement("path",{fill:"#D80027",d:"M256 255.997v-15.082l-57.377-38.252H176z"}),l.createElement("g",{fill:"#2E52B2"},l.createElement("path",{d:"M256 233.376v-30.713h-46.069zm-96 22.618v-48.912l73.372 48.912z"}),l.createElement("circle",{cx:128,cy:170.66,r:22.627})),l.createElement("path",{d:"m128 154.663 3.97 12.222h12.854l-10.398 7.556 3.971 12.222L128 179.109l-10.398 7.554 3.972-12.222-10.398-7.556h12.853zm0 65.14 2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zm0-117.334 2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zm69.931 58.667 2.365 7.277h7.653l-6.192 4.499 2.365 7.279-6.191-4.498-6.191 4.498 2.365-7.279-6.191-4.499h7.652zm-139.862 0 2.364 7.277h7.653l-6.191 4.499 2.364 7.279-6.19-4.498-6.191 4.498 2.365-7.279-6.192-4.499h7.653z",fill:"#FFDA44"}))},v3=function(t){var n=t.title,r=P(t,ly);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"114.347 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{d:"m425.301 233.745 3.388 10.428h10.963l-8.87 6.444 3.388 10.427-8.869-6.444-8.871 6.444 3.388-10.427-8.87-6.444h10.963zm-39.194 75.072 5.083 15.642h16.445l-13.305 9.667 5.082 15.64-13.305-9.667-13.305 9.667 5.083-15.64-13.305-9.667h16.445zm1.481-122.846 4.236 13.036h13.704l-11.088 8.054 4.235 13.034-11.087-8.056-11.088 8.056 4.235-13.034-11.087-8.054h13.704zm-37.712 47.32 5.082 15.641h16.446l-13.306 9.666 5.084 15.641-13.306-9.666-13.305 9.666 5.082-15.641-13.305-9.666h16.445z",fill:"#D80027"}),l.createElement("path",{fill:"#FFF",d:"M256.003 85.329v30.564l-45.178 25.088h45.178v59.359H196.89l59.113 32.846v22.806h-26.69l-73.484-40.826v40.826h-55.652v-48.573l-87.429 48.573H.003v-30.553l45.168-25.099H.003v-59.359h59.103L.003 108.147V85.329h26.68l73.494 40.838V85.329h55.652v48.573l87.43-48.573z"}),l.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"}),l.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"}),l.createElement("path",{d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915zm-83.98 0L0 240.259v15.739l100.174-55.654z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.174 140.983 0 85.33v15.738l71.847 39.915z"}),l.createElement("path",{fill:"#FFF",d:"M100.174 140.983 0 85.33v15.738l71.847 39.915z"}),l.createElement("path",{d:"M100.174 140.983 0 85.33v15.738l71.847 39.915zm83.98 0L256 101.068V85.33l-100.174 55.653z",fill:"#D80027"}))},b3=function(t){var n=t.title,r=P(t,ay);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"44.46 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M138 0h377v114H138z"}),l.createElement("path",{fill:"#4A7C3A",d:"M138 230h377v114H138z"}),l.createElement("g",{fill:"none",stroke:"#FFF",strokeWidth:10,strokeMiterlimit:2},l.createElement("path",{d:"M40.3 35.2s37.1 48 50.8 54.5c13.7 6.5 17.1 5.7 17.1 5.7"}),l.createElement("path",{d:"M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8m17.1-30.1h37.9M70.7 35.2v30.1"})))},x3=function(t){var n=t.title,r=P(t,oy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M256 256v170.663H0V256h256z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.337V256H256V85.337h256z"}),l.createElement("path",{fill:"#0052B4",d:"m128 123.034 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L128 195.813l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"}),l.createElement("path",{fill:"#D80027",d:"m384 293.697 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L384 366.476l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"}))},w3=function(t){var n=t.title,r=P(t,sy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{d:"M0 85.331h170.663v341.337H0zm341.337 0H512v341.337H341.337z",fill:"#D80027"}))},y3=function(t){var n=t.title,r=P(t,uy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#D80027"}),l.createElement("path",{fill:"#FFDA44",d:"M293.991 256c0 20.982-17.01 33.243-37.992 33.243S218.008 276.982 218.008 256s17.01-37.992 37.992-37.992 37.991 17.01 37.991 37.992z"}),l.createElement("path",{fill:"#0052B4",d:"M293.991 256c0 20.982-17.01 37.992-37.992 37.992s-37.992-17.01-37.992-37.992"}),l.createElement("path",{d:"M232.259 246.506h9.498v19h-9.498zm37.988 0h9.498v19h-9.498zm-19-14.247h9.498v33.243h-9.498z",fill:"#D80027"}))},E3=function(t){var n=t.title,r=P(t,cy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#A2001D",d:"M0 85.33h512v341.332"}),l.createElement("path",{d:"m204.631 326.488 2.762 8.504h8.941l-7.233 5.255 2.763 8.502-7.233-5.254-7.233 5.254 2.762-8.502-7.233-5.255h8.94zm-22.834-81.622 4.605 14.172h14.901l-12.056 8.757 4.605 14.172-12.055-8.759-12.055 8.759 4.606-14.172-12.056-8.757h14.901zm0 103.883 4.604 14.173h14.902l-12.057 8.757 4.606 14.173-12.055-8.759-12.055 8.759 4.604-14.173-12.054-8.757h14.899zm43.566-66.782 4.606 14.172h14.901l-12.056 8.758 4.605 14.172-12.056-8.759-12.054 8.759 4.606-14.172-12.056-8.758h14.901zm-87.133 0 4.606 14.172h14.899l-12.054 8.758 4.603 14.172-12.054-8.759-12.055 8.759 4.605-14.172-12.055-8.758h14.9z",fill:"#FFF"}),l.createElement("path",{fill:"#FFDA44",d:"M376.526 204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795c-12.698-12.698-29.714-18.431-46.319-17.218a44.31 44.31 0 0 0-11.396-19.511l-12.593 25.186a18.47 18.47 0 0 0-3.148-4.197c-7.245-7.245-18.991-7.244-26.234 0s-7.245 18.99 0 26.234a18.536 18.536 0 0 0 4.197 3.148l-25.186 12.593a44.303 44.303 0 0 0 19.519 11.399c-1.217 16.606 4.511 33.619 17.209 46.317L324.12 214.6a11.053 11.053 0 0 1 7.807-3.202c2.973 0 5.768 1.158 7.87 3.26a11.055 11.055 0 0 1 3.26 7.87c0 2.974-1.158 5.768-3.26 7.87l10.494 10.494c4.905-4.905 7.607-11.428 7.607-18.364 0-5.675-1.81-11.071-5.153-15.534a29.492 29.492 0 0 1 13.288 7.662c11.573 11.572 11.573 30.403 0 41.975l10.494 10.494c8.409-8.409 13.039-19.59 13.039-31.481-.001-11.892-4.632-23.072-13.04-31.481z"}))},C3=function(t){var n=t.title,r=P(t,dy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M512 85.337V256H256L0 85.337z"}),l.createElement("path",{fill:"#D80027",d:"M512 256v170.663H0L256 256z"}),l.createElement("path",{d:"m161.908 256-27.288-12.835 14.532-26.428-29.632 5.668-3.755-29.933-20.64 22.015-20.639-22.015-3.755 29.933-29.631-5.669 14.531 26.428L28.343 256l27.288 12.835L41.1 295.263l29.633-5.668 3.753 29.933 20.639-22.015 20.64 22.015 3.755-29.933 29.631 5.669-14.532-26.427zM21.789 117.607l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.694-14.809-4.932-9.268 12.559.117-15.608-14.809-4.934 14.88-4.712zm0 235.923 9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.695-14.809-4.933-9.268 12.558.117-15.607-14.809-4.934 14.88-4.712zm188.606-117.961-9.081 12.695-14.879-4.713 9.268 12.559-9.081 12.696 14.809-4.933 9.268 12.558-.117-15.607 14.809-4.934-14.88-4.713z",fill:"#FFDA44"}))},k3=function(t){var n=t.title,r=P(t,fy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"136.534 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"m393.508 170.516 17.512 18.875 23.363-10.821-12.541 22.487 17.513 18.876-25.263-4.978-12.539 22.488-3.073-25.564-25.263-4.978 23.363-10.82z"}),l.createElement("path",{d:"M0 85.343h512v341.326H0z"})),l.createElement("path",{fill:"#01411c",d:"M128 85.331h384v341.337H128z"}),l.createElement("path",{d:"M361.909 298.793c-31.037 22.426-74.378 15.446-96.804-15.592-22.427-31.038-15.446-74.379 15.593-96.804 9.677-6.992 20.55-11.125 31.613-12.563-21.283-3.183-43.777 1.613-62.598 15.211-38.2 27.602-46.792 80.944-19.191 119.145 27.601 38.199 80.944 46.792 119.145 19.189 18.82-13.598 30.436-33.448 34.096-54.655-4.839 10.05-12.176 19.076-21.854 26.069zm-1.329-125.904 17.484 18.842 23.322-10.802-12.519 22.447 17.483 18.844-25.219-4.968-12.519 22.45-3.067-25.521-25.22-4.969 23.323-10.802z",fill:"#FFF"}))},I3=function(t){var n=t.title,r=P(t,hy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512V256H0z"})),l.createElement("path",{fill:"#D80027",d:"M0 256h512v170.663H0z"}))},z3=function(t){var n=t.title,r=P(t,my);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},F3=function(t){var n=t.title,r=P(t,py);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"114.347 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#ACABB1",d:"M400.696 219.822 384 225.387l-16.696-5.565-5.565-13.913 5.565-13.913h33.392l-5.566 13.913z"}),l.createElement("path",{fill:"#338AF3",d:"M345.043 219.822v61.217c0 29.821 38.957 38.957 38.957 38.957s38.957-9.137 38.957-38.957v-61.217h-77.914z"}),l.createElement("path",{fill:"#6DA544",d:"M348.555 295.541C358.131 313.927 384 319.996 384 319.996s25.869-6.069 35.445-24.455L384 236.518l-35.445 59.023z"}),l.createElement("path",{fill:"#FFDA44",d:"M422.957 280.421 384 219.822l-38.957 60.599v.618c0 5.518 1.337 10.328 3.512 14.503L384 240.405l35.445 55.137c2.175-4.175 3.512-8.983 3.512-14.503v-.618z"}),l.createElement("path",{fill:"#FFF",d:"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"}),l.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),l.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),l.createElement("path",{d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915zm-83.98 0L0 240.259v15.737l100.174-55.652z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),l.createElement("path",{fill:"#FFF",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),l.createElement("path",{d:"M100.174 140.982 0 85.33v15.737l71.847 39.915zm83.98 0L256 101.067V85.33l-100.174 55.652z",fill:"#D80027"}))},M3=function(t){var n=t.title,r=P(t,gy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.12 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512V153.6H0zm0 136.526h512v68.263H0zM0 358.4h512v68.263H0z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("path",{fill:"#FFF",d:"m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"}))},S3=function(t){var n=t.title,r=P(t,vy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.12 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#268024",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#e4312b",d:"M256 256.006 0 426.668V85.331z"}))},A3=function(t){var n=t.title,r=P(t,by);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"30.72 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M196.641 85.337v341.326H0V85.337z"}),l.createElement("circle",{fill:"#FFDA44",cx:196.641,cy:256,r:64}),l.createElement("path",{fill:"#D80027",d:"M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z"}),l.createElement("path",{fill:"#FFF",d:"M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z"}))},N3=function(t){var n=t.title,r=P(t,xy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"49.493 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),l.createElement("circle",{fill:"#FFDA44",cx:218.902,cy:255.994,r:74.207}))},D3=function(t){var n=t.title,r=P(t,wy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#6DA544",d:"m289.579 216.738-12.592 12.592c5.37 5.372 8.693 12.792 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.112-5.316-24.985-13.91-33.579z"}),l.createElement("path",{fill:"#FFDA44",d:"m256 232.51 4.421 13.605h14.304l-11.573 8.408 4.421 13.604L256 259.719l-11.573 8.408 4.421-13.604-11.573-8.408h14.304z"}))},L3=function(t){var n=t.title,r=P(t,yy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#751A46",d:"M0 0h512v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 0v342h150.3l37.7-19.6-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19 37.7-18.9-37.7-19 37.7-19-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19L188 57l-37.7-19L188 19.1 150.3 0z"}))},T3=function(t){var n=t.title,r=P(t,Ey);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),l.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},B3=function(t){var n=t.title,r=P(t,Cy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),l.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},H3=function(t){var n=t.title,r=P(t,ky);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"61.44 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.331h512v113.775H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 312.882h512v113.775H0z"}),l.createElement("path",{fill:"#D80027",d:"M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z"}),l.createElement("path",{d:"M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zm85.526 82.148-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z",fill:"#FFDA44"}),l.createElement("path",{fill:"#FFF",d:"M241.16 233.734h-22.504a14.74 14.74 0 0 0 2.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0 0 18.149 3.544 48.079 48.079 0 0 0 18.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z"}))},j3=function(t){var n=t.title,r=P(t,Iy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.33v341.332h512V85.33z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.333h512v113.775H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 312.884h512v113.775H0z"}))},P3=function(t){var n=t.title,r=P(t,zy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 255.994h512v81.619H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 337.614h512v89.043H0z"}),l.createElement("path",{fill:"#FFDA44",d:"m278.261 185.209 20.844 9.804-11.099 20.186 22.632-4.33 2.868 22.865 15.765-16.816 15.766 16.816 2.867-22.865 22.633 4.33-11.099-20.186 20.843-9.804-20.844-9.805 11.1-20.185-22.633 4.329-2.868-22.864-15.765 16.816-15.766-16.816-2.867 22.864-22.634-4.329 11.1 20.187z"}))},O3=function(t){var n=t.title,r=P(t,Fy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#055e1c",d:"M0 85.333h512v341.333H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zm146.716-107.595v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zm-155.773 51.943c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z"}),l.createElement("path",{d:"M297.661 181.788h21.736v51.942h-21.736zm-32.604 29.685c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z"}),l.createElement("path",{d:"M207.093 248.57h32.601v22.261h-32.601z"})))},V3=function(t){var n=t.title,r=P(t,My);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"27.307 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.329h512"}),l.createElement("path",{fill:"#FFDA44",d:"M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z"}),l.createElement("path",{d:"m85.688 108.787 5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.12-15.757L64 124.543h16.567zm84.624 0 5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zm-84.624 82.502 5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zm84.624 0 5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z",fill:"#FFF"}))},G3=function(t){var n=t.title,r=P(t,Sy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"87.04 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M235.454 85.337 0 426.663 427.345 85.337z"}),l.createElement("path",{fill:"#6DA544",d:"M512 329.393 0 426.663h512z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.337h-84.655L0 426.663l512-204.512z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.337v341.326L235.454 85.337z"}))},_3=function(t){var n=t.title,r=P(t,Ay);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.413 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 426.668V85.331l256 170.675z"}))},$3=function(t){var n=t.title,r=P(t,Ny);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"30.72 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"}))},W3=function(t){var n=t.title,r=P(t,Dy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512V256H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 0 0-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zm66.783-48.231 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z"}),l.createElement("path",{d:"m121.344 144.696 3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zm57.834 0 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zm-11.131 33.391 3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zm-35.573 0 3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z"})))},U3=function(t){var n=t.title,r=P(t,Ly);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"112.662 0 341.3 341.3"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.3H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z"})),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{d:"M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z",fill:"#D80027"}),l.createElement("path",{fill:"#29DBFF",d:"M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z"}),l.createElement("path",{fill:"#ffda44",d:"M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z"}),l.createElement("path",{fill:"#BF521B",d:"m369.5 204.5.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z"}),l.createElement("path",{fill:"#474747",d:"m436.6 192.5-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z"}))},X3=function(t){var n=t.title,r=P(t,Ty);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 199.112h512v113.775H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),l.createElement("path",{fill:"#0052B4",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),l.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"}))},Z3=function(t){var n=t.title,r=P(t,By);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"40.96 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),l.createElement("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"}))},Y3=function(t){var n=t.title,r=P(t,Hy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"66.56 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 196.641h512v118.717H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 315.359h512v111.304H0z"}),l.createElement("path",{fill:"#FFF",d:"M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"}),l.createElement("path",{fill:"#D80027",d:"M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"}),l.createElement("path",{fill:"#FFF",d:"M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"}),l.createElement("path",{fill:"#0052B4",d:"M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"}))},J3=function(t){var n=t.title,r=P(t,jy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 312.888h512v113.775H0z"}))},K3=function(t){var n=t.title,r=P(t,Py);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.34h512v341.326H0z"}),l.createElement("path",{fill:"#FFF",d:"M512 85.334v166.69L0 256.175V85.334z"}),l.createElement("path",{fill:"#6DA544",d:"M323.744 203.099 256 270.843l-67.744-67.744a81.156 81.156 0 0 0-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 0 0-13.881-45.483z"}),l.createElement("path",{fill:"#FFDA44",d:"M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z"}),l.createElement("path",{fill:"#338AF3",d:"M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z"}),l.createElement("path",{fill:"#6DA544",d:"M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z"}),l.createElement("path",{fill:"#FFDA44",d:"M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 0 0-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 0 0-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z"}))},q3=function(t){var n=t.title,r=P(t,Oy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M330.207 85.331H512v341.337H330.207z"}),l.createElement("path",{d:"M0 85.331h181.793v341.337H0zm255.999 111.301 14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z",fill:"#496E2D"}))},Q3=function(t){var n=t.title,r=P(t,Vy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"m256 157.273 22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z"}))},R3=function(t){var n=t.title,r=P(t,Gy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#A2001D",d:"M0 196.636h512v118.728H0z"}),l.createElement("path",{d:"M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z",fill:"#6DA544"}),l.createElement("path",{fill:"#FFDA44",d:"m256.742 218.003 9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z"}))},ef=function(t){var n=t.title,r=P(t,_y);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"5.12 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#496E2D",d:"M0 322.783h512v103.88H0z"}),l.createElement("path",{d:"M0 85.337h512v104.515H0z"}),l.createElement("path",{fill:"#A2001D",d:"M0 210.877h512v89.656H0z"}),l.createElement("path",{fill:"#0052B4",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("path",{fill:"#FFDA44",d:"m73.178 209.188 20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z"}))},tf=function(t){var n=t.title,r=P(t,$y);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#6DA544"}),l.createElement("path",{fill:"#D80027",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("path",{d:"m302.049 226.318 7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zm74.203 0 7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z"}))},nf=function(t){var n=t.title,r=P(t,Wy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#0052B4"}),l.createElement("path",{fill:"#FFDA44",d:"M228.582 261.936 256 214.447l27.418 47.489z"}),l.createElement("path",{fill:"#6DA544",d:"M291.616 277.616 256 295.425l-35.616-17.809v-23.744h71.232z"}),l.createElement("path",{fill:"#FFDA44",d:"m289.579 216.485-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z"}))},rf=function(t){var n=t.title,r=P(t,Uy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.413 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.331v166.69L0 256.173V85.331z"}),l.createElement("path",{fill:"#FFF",d:"M256 256.006 0 426.668V85.331z"}),l.createElement("g",{fill:"#FFDA44"},l.createElement("path",{d:"M59.621 256a59.546 59.546 0 0 0-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z"}),l.createElement("circle",{cx:118.862,cy:210.287,r:18.286})),l.createElement("path",{fill:"#D80027",d:"M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z"}),l.createElement("path",{fill:"#338AF3",d:"M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z"}),l.createElement("path",{fill:"#F3F3F3",d:"M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z"}))},lf=function(t){var n=t.title,r=P(t,Xy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"150 0 600 600"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 0h900v600H0z",fill:"#0f0f0f"}),l.createElement("path",{d:"M0 0h900v400H0z",fill:"#fff"}),l.createElement("path",{d:"M0 0h900v200H0z",fill:"#047a3f"}),l.createElement("path",{d:"m176.26 375 48.738-150 48.738 150-127.6-92.705h157.72M626.256 375l48.738-150 48.738 150-127.6-92.705h157.72M401.252 375l48.738-150 48.738 150-127.6-92.705h157.72",fill:"#ce1126"}))},af=function(t){var n=t.title,r=P(t,Zy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"150 0 600 600"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#2B5DEA",d:"M0 0h900v600H0V0z"}),l.createElement("path",{fill:"#FFDF29",d:"M0 100h900v400H0V100z"}),l.createElement("path",{fill:"#D70000",d:"M0 150h900v300H0V150z"}),l.createElement("path",{fill:"#FFF",d:"M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z"}),l.createElement("path",{d:"M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z"}),l.createElement("path",{fill:"#FFF",d:"M346.3 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}),l.createElement("path",{d:"M477.8 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}))},of=function(t){var n=t.title,r=P(t,Yy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"100.713 0 341.3 341.3"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.3H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z"})),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),l.createElement("path",{d:"M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z",fill:"#D80027"}),l.createElement("path",{fill:"#29DBFF",d:"M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z"}),l.createElement("path",{fill:"#FFF",d:"M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9"}),l.createElement("path",{fill:"#29DBFF",d:"m385.4 251.7-22.9-43h45.8z"}),l.createElement("path",{fill:"#FFF",d:"m385.4 165.8-22.9 42.9h45.8z"}),l.createElement("ellipse",{fill:"#FFBE57",cx:474.8,cy:236.8,rx:16.8,ry:43.3}),l.createElement("ellipse",{fill:"#FFBE57",cx:295.3,cy:236.8,rx:16.8,ry:43.3}),l.createElement("path",{fill:"#FFF",d:"m385.4 31.5-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z"}),l.createElement("ellipse",{fill:"#A5A5A5",cx:386.3,cy:104.3,rx:34.3,ry:23.3}))},sf=function(t){var n=t.title,r=P(t,Jy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"114.347 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M332.058 191.996v78.221c0 38.103 51.942 49.779 51.942 49.779s51.942-11.675 51.942-49.779v-78.221H332.058z"}),l.createElement("path",{fill:"#FF9811",d:"M376.579 220.44c0 7.855-6.644 28.445-14.84 28.445s-14.84-20.589-14.84-28.445c0-7.856 14.84-14.222 14.84-14.222s14.84 6.367 14.84 14.222z"}),l.createElement("path",{fill:"#A2001D",d:"M415.961 235.93c2.394-5.6 4.257-13.785 4.257-17.86 0-6.546-8.904-11.852-8.904-11.852s-8.904 5.306-8.904 11.852c0 4.075 1.862 12.26 4.257 17.86l-5.141 11.123a26.898 26.898 0 0 0 9.788 1.831c3.463 0 6.766-.654 9.788-1.831l-5.141-11.123z"}),l.createElement("path",{fill:"#6DA544",d:"M372.87 270.217s-7.421 14.222-7.421 28.445h37.101c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111-11.129 7.111z"}),l.createElement("path",{fill:"#D80027",d:"M395.13 270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666-6.147 0-11.13 4.776-11.13 10.666v3.555h22.26z"}),l.createElement("path",{fill:"#FFF",d:"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"}),l.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),l.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),l.createElement("path",{d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915zm-83.98 0L0 240.259v15.737l100.174-55.652z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),l.createElement("path",{fill:"#FFF",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),l.createElement("path",{d:"M100.174 140.982 0 85.33v15.737l71.847 39.915zm83.98 0L256 101.067V85.33l-100.174 55.652z",fill:"#D80027"}))},uf=function(t){var n=t.title,r=P(t,Ky);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),l.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},cf=function(t){var n=t.title,r=P(t,qy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.75 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h21v15H0V0z"}),l.createElement("path",{fill:"#0A388A",d:"M0 0h22.5v15H0V0z"}),l.createElement("path",{fill:"#FFF",d:"M0 0h11.3v7.5H0V0z"}),l.createElement("path",{fill:"#D80027",d:"M7.1 0h3.6v7H7.1V0z"}),l.createElement("path",{fill:"#0A388A",d:"M0 0h3.6v7H0V0z"}),l.createElement("path",{fill:"#FFF",d:"M3.6 0h3.6v7H3.6V0zm10.9 6h5L19 7h-1.5v.5h1l-.5 1h-.5V10h-1V7H15l-.5-1zm4 2.5 1 1.5h-2l1-1.5zm-3 0 1 1.5h-2l1-1.5zm1.5 3L16 10h2l-1 1.5zM20 8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-6 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm1 4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm4 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-2 1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5z"}))},df=function(t){var n=t.title,r=P(t,Qy);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zm0-136.537h512v68.263H0z",fill:"#496E2D"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h204.054v204.054H0z"}),l.createElement("path",{fill:"#FFF",d:"m102.026 133.938 13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z"}))},ff=function(t){var n=t.title,r=P(t,Ry);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.334h512V426.66H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 194.056h512v123.882H0z"}),l.createElement("path",{d:"M0 85.334h512v54.522H0zm0 286.809h512v54.522H0z",fill:"#D80027"}))},hf=function(t){var n=t.title,r=P(t,eE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 312.888h512v113.775H0z"}),l.createElement("path",{d:"M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zm-33.963-29.682 2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zm8.566-29.68 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm24.488-22.261 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm94.236 51.941-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zm-8.566-29.68-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zm-24.488-22.261-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z",fill:"#FFDA44"}))},mf=function(t){var n=t.title,r=P(t,tE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"18.773 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"m210.715 174.377 3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zm-93.899 107.594 4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zm27.88-162.292 4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zm-75.157 55.652 4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z",fill:"#FFF"}),l.createElement("path",{d:"M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zm-365.585 11.586c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.195-17.37 0-17.37H117.801z",fill:"#FFDA44"}))},pf=function(t){var n=t.title,r=P(t,nE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M256 256 0 90.691v44.242L155.826 256 0 377.067v44.242z"}),l.createElement("path",{d:"M0 90.691v330.618L189.217 256z"}),l.createElement("path",{fill:"#FFF",d:"m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z"}))},gf=function(t){var n=t.title,r=P(t,rE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"81.92 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 85.337h512v341.326H0z"}),l.createElement("g",{fill:"#FFF"},l.createElement("path",{d:"M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0 1 10.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 0 1-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zm-46.571-67.95-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z"}),l.createElement("path",{d:"m330.338 146.448-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zm-.799 35.189-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zm33.484 12.013-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z"})),l.createElement("path",{fill:"#D80027",d:"M83.478 85.337h89.043v341.326H83.478z"}),l.createElement("path",{fill:"#FFF",d:"m117.458 175.191-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z"}),l.createElement("path",{d:"M128 137.276h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.105v-8.012H128z",fill:"#FF9811"}),l.createElement("path",{fill:"#FFF",d:"m117.458 374.725-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z"}),l.createElement("path",{d:"M128 336.81h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.106v-8.011H128z",fill:"#FF9811"}),l.createElement("path",{d:"m117.458 274.957-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zm36.513 24.434h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zm0-99.768h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z",fill:"#496E2D"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M120.576 248.576h14.84v14.84h-14.84z"}),l.createElement("circle",{cx:128,cy:206.113,r:7.421}),l.createElement("circle",{cx:128,cy:305.887,r:7.421})))},vf=function(t){var n=t.title,r=P(t,iE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),l.createElement("circle",{fill:"#FFF",cx:256,cy:255.994,r:96}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"m267.826 219.291 16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z"}),l.createElement("path",{d:"M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z"})))},bf=function(t){var n=t.title,r=P(t,lE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"11.947 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 85.331h256v170.663H0z"}),l.createElement("path",{fill:"#D80027",d:"M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"}))},xf=function(t){var n=t.title,r=P(t,aE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"76.95 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#E30A17",d:"M0 0h513v342H0z"}),l.createElement("path",{fill:"#FFF",d:"M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"}))},wf=function(t){var n=t.title,r=P(t,oE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#FFF",d:"m6.066 85.337 207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z"}),l.createElement("path",{d:"M43.364 85.337 384.69 426.663h83.946L127.31 85.337z"}))},yf=function(t){var n=t.title,r=P(t,sE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"150 0 600 600"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h900v600H0z"}),l.createElement("path",{fill:"#00B2EE",d:"M0 300h450V0h450v600H0V300z"}),l.createElement("path",{fill:"#FFDA44",d:"m345.3 480.9 29.4 90.6-77.1-56H393l-77.1 56 29.4-90.6zM706.4 340l29.4 90.6-77.1-56H754l-77.1 56 29.5-90.6zm106.4-78.5 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zm0-224.1 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6z"}),l.createElement("path",{fill:"#FFF",d:"M449.9 0v206.3h-81l81 54V300h-39.7l-129-85.9V300H168.7v-85.9L39.7 300H0v-39.7l81-54H0V93.8h81L0 39.9V0h39.7l129 85.9V0h112.5v85.9L410.2 0z"}),l.createElement("path",{fill:"#D80027",d:"M253.1 0h-56.3v122H0v56.2h196.8V300h56.3V178.2h196.8V122H253.1z"}),l.createElement("path",{fill:"#2E52B2",d:"M449.9 39.9v53.9h-81z"}),l.createElement("path",{fill:"#D80027",d:"M0 300v-19.3l109.9-74.4h39.7L12.8 300zM12.8.1l136.8 93.7h-39.7L0 19.4V.1zm437.1.1v19.3L340 93.8h-39.7L437.1.2zM437.1 300l-136.8-93.7H340l109.9 74.4V300z"}),l.createElement("path",{fill:"#FFDA44",d:"m719.9 131.6 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM584 187.7l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zm30 242.9 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM488 332l29.4 90.6-77.1-56h95.3l-77.1 56L488 332zm0 132 29.4 90.6-77.1-56h95.3l-77.1 56L488 464z"}))},Ef=function(t){var n=t.title,r=P(t,uE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"6.827 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.337h256V256H0z"}),l.createElement("path",{fill:"#FFF",d:"M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"}),l.createElement("circle",{fill:"#0052B4",cx:128,cy:170.674,r:29.006}),l.createElement("path",{fill:"#FFF",d:"M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"}))},Cf=function(t){var n=t.title,r=P(t,cE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 426.663V85.337h512"}),l.createElement("path",{fill:"#FFDA44",d:"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"}),l.createElement("path",{d:"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"}))},kf=function(t){var n=t.title,r=P(t,dE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 85.337h512V256H0z"}))},If=function(t){var n=t.title,r=P(t,fE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.35 0 341.3 341.3"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#232323",d:"M0 0h512v341.3H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 56.9h512v56.9H0z"}),l.createElement("path",{fill:"#D32300",d:"M0 113.8h512v56.9H0z"}),l.createElement("path",{fill:"#FFDA44",d:"M0 227.6h512v56.9H0z"}),l.createElement("path",{fill:"#D32300",d:"M0 284.4h512v56.9H0z"}),l.createElement("circle",{fill:"#FFF",cx:256,cy:170.7,r:80.7}),l.createElement("path",{d:"M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z"}))},zf=function(t){var n=t.title,r=P(t,hE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.5 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),l.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},Ff=function(t){var n=t.title,r=P(t,mE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"59.85 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),l.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},Mf=function(t){var n=t.title,r=P(t,pE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"10.26 0 342 342"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),l.createElement("path",{d:"M0 38h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z",fill:"#0038a8"}),l.createElement("path",{fill:"#FFF",d:"M0 0h256.5v190H0z"}),l.createElement("path",{fill:"#FED443",d:"m128.3 138.7-15.1 22.6-3.8-26.9L86 148.2l8.2-25.9-27.2 2.2 18.6-19.8L60.3 95l25.4-9.7L67 65.5l27.1 2.3-8.2-25.9 23.4 13.8 3.9-26.9 15.1 22.6 15.1-22.6 3.8 26.9 23.4-13.8-8.2 25.9 27.1-2.2-18.6 19.8 25.4 9.7-25.4 9.7 18.6 19.8-27.1-2.2 8.2 25.9-23.4-13.8-3.9 26.9-15-22.7zm0-.5c23.9.9 44-17.6 44.9-41.5.9-23.9-17.6-44-41.5-44.9h-3.4c-23.9.8-42.6 20.8-41.8 44.6.6 22.8 19 41.1 41.8 41.8zm0-10.6c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.3 34-34 34z"}))},Sf=function(t){var n=t.title,r=P(t,gE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M0 322.783h512v103.88H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),l.createElement("path",{fill:"#FFF",d:"M0 210.877h512v89.656H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),l.createElement("path",{d:"M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 0 0-7.155-.777c-18.442 0-33.391 14.949-33.391 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zm45.97 15.177 2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm23.347 0 2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zm23.347 0 2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm-70.042-24.284 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm23.347 0 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm-46.695-24.284 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z",fill:"#FFF"}))},Af=function(t){var n=t.title,r=P(t,vE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 85.331h256v341.337H256z"}),l.createElement("path",{fill:"#ACABB1",d:"m321.353 233.837 32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 1 1 8.95 11.84 7.421 7.421 0 0 1-8.95-11.84z"}),l.createElement("path",{fill:"#FFDA44",d:"m376.367 247.24 17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 1 1-11.84-8.95 7.42 7.42 0 0 1 11.84 8.95z"}))},Nf=function(t){var n=t.title,r=P(t,bE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#338AF3",d:"M0 85.331h170.663v341.337H0z"}),l.createElement("path",{d:"M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zm83.478 0-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z",fill:"#6DA544"}))},Df=function(t){var n=t.title,r=P(t,xE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"3.75 0 15 15"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFCE00",d:"M0 0h22.5v5H0z"}),l.createElement("path",{fill:"#203899",d:"M0 5h22.5v5H0z"}),l.createElement("path",{fill:"#D82B2B",d:"M0 10h22.5v5H0z"}),l.createElement("path",{fill:"#FFF",d:"m12.13 5.38.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zm-1.77 0 .27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zm3.44.56-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zm-5.11.02.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zm6.55 1.17-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zm.19 1.12.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zm.31-1.15.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z"}))},Lf=function(t){var n=t.title,r=P(t,wE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"112.64 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 85.334h512v341.337H0z"}),l.createElement("path",{fill:"#FFF",d:"M256 85.334V202.66h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z"}),l.createElement("g",{fill:"#D80027"},l.createElement("path",{d:"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"}),l.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80zm256 0v15.083l-57.377 38.251H176z"})),l.createElement("path",{fill:"#2E52B2",d:"M256 107.951v30.712h-46.069z"}),l.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80zm256 0v15.083l-57.377 38.251H176z",fill:"#D80027"}),l.createElement("path",{fill:"#2E52B2",d:"M256 107.951v30.712h-46.069z"}),l.createElement("path",{d:"M0 255.997v-15.082l57.377-38.252H80zm256 0v-15.082l-57.377-38.252H176z",fill:"#D80027"}),l.createElement("path",{fill:"#FFDA44",d:"m384 259.706-46.129 46.129c8.645 16.675 26.051 28.074 46.129 28.074s37.484-11.4 46.129-28.074L384 259.706z"}),l.createElement("path",{fill:"#6DA544",d:"M332.058 178.084v81.624c.001 39.759 51.942 51.941 51.942 51.941s51.941-12.182 51.942-51.942v-81.623H332.058z"}),l.createElement("path",{fill:"#FFF",d:"M372.87 215.181h22.261v59.359H372.87z"}),l.createElement("circle",{fill:"#A2001D",cx:384,cy:215.181,r:11.13}),l.createElement("path",{d:"M346.902 192.92h14.84v14.84h-14.84zm0 33.392h14.84v14.84h-14.84zm0 33.391h14.84v14.84h-14.84zm59.359-66.783h14.84v14.84h-14.84zm0 33.392h14.84v14.84h-14.84zm0 33.391h14.84v14.84h-14.84z",fill:"#FFDA44"}))},Tf=function(t){var n=t.title,r=P(t,yE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.35 0 341.3 341.3"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h512v341.3H0z"}),l.createElement("path",{fill:"#1583C4",d:"m397.7 166.3-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z"}),l.createElement("path",{fill:"#1583C4",d:"m404.9 188-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z"}),l.createElement("path",{fill:"#1583C4",d:"m379 181.3-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z"}),l.createElement("path",{fill:"#409347",d:"M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z"}),l.createElement("g",{fill:"#FFD836",stroke:"#231F20",strokeMiterlimit:10},l.createElement("path",{d:"M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.6-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z"}),l.createElement("path",{d:"m466.1 48.4-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z"})),l.createElement("path",{fill:"#FFF",stroke:"#231F20",strokeMiterlimit:10,d:"M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3z"}),l.createElement("path",{d:"M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zm71.6 0V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z",fill:"#D80027"}),l.createElement("path",{fill:"#0052B4",d:"M201.3 111.8h119.4v37.9H201.3z"}),l.createElement("path",{fill:"#1583C4",d:"m60.1 210.5-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zm391.4-58.6h18.9v81.7h-18.9z"}))},Bf=function(t){var n=t.title,r=P(t,EE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M196.641 85.337H0v341.326h512V85.337z"}),l.createElement("path",{fill:"#FFDA44",d:"m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"}))},Hf=function(t){var n=t.title,r=P(t,CE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#6DA544",d:"M512 256v170.663H0L215.185 256z"}),l.createElement("path",{fill:"#D80027",d:"M512 85.337V256H215.185L0 85.337z"}),l.createElement("path",{d:"M221.001 239.304 26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z"}),l.createElement("g",{fill:"#FFDA44"},l.createElement("path",{d:"M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z"}),l.createElement("path",{d:"M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 0 0 4.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z"})))},jf=function(t){var n=t.title,r=P(t,kE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"9 0 100 100"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80B30",d:"M0 0h150v100H0z"}),l.createElement("path",{fill:"#00318A",d:"M0 0h20v44.33H0z"}),l.createElement("path",{fill:"#FFF",d:"M20 0h20v44.33H20z"}),l.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:3,d:"M0 44.33h62.75V0"}),l.createElement("path",{fill:"#FFF",d:"M108.08 43.29 87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71 20.13-20.13v40.25L114.79 50z"}))},Pf=function(t){var n=t.title,r=P(t,IE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15.36 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#0052B4",d:"M0 85.331h256v170.663H0z"}),l.createElement("path",{d:"m165.483 181.79 2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zm-44.904-66.783 4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zm44.522 14.841 4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zm-35.192 59.363 4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zm-39.01-37.103 4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z",fill:"#FFF"}))},Of=function(t){var n=t.title,r=P(t,zE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.335 0 341.33 341.33"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.34H0z"}),l.createElement("path",{d:"m220.72 42.63 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zm70.56-.06 7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zm62.08 11.36 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zm63.01 18.3 7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zm-257.73-18.3 7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zm-63.01 18.3 7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z",fill:"#FFF"}),l.createElement("path",{fill:"#FFDA44",d:"m217.53 259.33-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z"}))},Vf=function(t){var n=t.title,r=P(t,FE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"85.333 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),l.createElement("path",{d:"M0 312.888h512v113.775H0z"}))},Gf=function(t){var n=t.title,r=P(t,ME);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"15 0 60 60"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 0h90v60H0z"}),l.createElement("path",{stroke:"#7f7f7f",strokeWidth:.25,fill:"#ABABAB",d:"M75.6 39.6c-1.1.7 0 1.8-.6 1.9-.6.1-1.5-1.4-.2-2.5 1.6-1.5 5.8 0 5.9 4.3 0 2.2-.9 6.8-7.2 6.8-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2s5.7-2.4 5.8-4.9c.1-3.9-3-4.4-3.7-4zm-64.9 4c.1 2.5 1.8 4.7 5.8 4.9s8.2-2.2 8.5-5.2c.8-7.5-9.7-11.3-10.3-12-.7-.7-.5 3.9-.5 3.9s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2 1.6 4.3-1c-2.9-4-.6-11.7 7-11.7 2.1 0 1.8 3.9 3 5.5 1.1 1.5 4 3.5 4 4.6s-3.5.3-6.6-1.4c-1.9-1-3.3-1.4-3.3-.9.1 1.5 3.7 3.8 6.8 5 2.8 1.1 6.5 9.8 6.5 14.6 0 5.7-3.8 11.4-11.4 11.4-6.3 0-7.2-4.6-7.2-6.8.1-4.3 4.3-5.8 5.9-4.3 1.2 1.1.4 2.7-.2 2.5-.6-.1.6-1.2-.6-1.9-.6-.4-3.7.1-3.7 4z"}),l.createElement("path",{fill:"#DE393A",d:"M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z"}),l.createElement("path",{fill:"#3951A3",d:"M31 13.1h28v15.7H31z"}),l.createElement("path",{fill:"#FFF",d:"M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z"}),l.createElement("circle",{fill:"#FEE05F",cx:39.1,cy:36.5,r:3}),l.createElement("circle",{fill:"#FEE05F",cx:50.9,cy:36.5,r:3}))},_f=function(t){var n=t.title,r=P(t,SE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"35.84 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),l.createElement("path",{d:"M114.024 256.001 0 141.926v228.17z"}),l.createElement("path",{fill:"#ffb915",d:"M161.192 256 0 94.7v47.226l114.024 114.075L0 370.096v47.138z"}),l.createElement("path",{fill:"#007847",d:"M509.833 289.391c.058-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z"}),l.createElement("path",{fill:"#000c8a",d:"M503.181 322.783H236.433l-103.881 103.88H512v-103.88z"}),l.createElement("path",{fill:"#e1392d",d:"M503.181 189.217H512V85.337H132.552l103.881 103.88z"}))},$f=function(t){var n=t.title,r=P(t,AE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"170.667 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{fill:"#496E2D",d:"M0 85.331h512v341.337H0z"}),l.createElement("path",{fill:"#FF9811",d:"M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z"}),l.createElement("path",{fill:"#D80027",d:"M341.337 255.994h56.888v170.663h-56.888z"}),l.createElement("path",{fill:"#FF9811",d:"M455.112 255.994H512v170.663h-56.888z"}),l.createElement("path",{d:"M398.225 255.994h56.888v170.663h-56.888z"}))},Wf=function(t){var n=t.title,r=P(t,NE);return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"13.653 85.333 341.333 341.333"},r),n&&l.createElement("title",null,n),l.createElement("path",{d:"M0 85.333h512V426.67H0z"}),l.createElement("path",{d:"M0 134.196h512v48.868H0zm0 195.472h512v48.868H0z",fill:"#FFDA44"}),l.createElement("path",{fill:"#057f44",d:"M0 85.333h512v48.868H0z"}),l.createElement("path",{d:"M0 183.069h512v48.868H0zm0 97.737h512v48.868H0z",fill:"#D80027"}),l.createElement("path",{fill:"#057f44",d:"M0 378.542h512v48.128H0z"}),l.createElement("path",{fill:"#FFF",d:"M276.992 255.996 106.329 426.659H0V85.333h106.329z"}),l.createElement("path",{d:"M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"}),l.createElement("path",{fill:"#D80027",d:"m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"}),l.createElement("path",{fill:"#FFDA44",d:"m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"}))};const si=Object.freeze(Object.defineProperty({__proto__:null,AC:a0,AD:o0,AE:s0,AF:u0,AG:c0,AI:d0,AL:f0,AM:h0,AO:m0,AQ:p0,AR:g0,AS:v0,AT:b0,AU:x0,AW:w0,AX:y0,AZ:E0,BA:C0,BB:k0,BD:I0,BE:z0,BF:F0,BG:M0,BH:S0,BI:A0,BJ:N0,BL:D0,BM:L0,BN:T0,BO:B0,BQ:H0,BR:j0,BS:P0,BT:O0,BV:V0,BW:G0,BY:_0,BZ:$0,CA:W0,CC:U0,CD:X0,CF:Z0,CG:Y0,CH:J0,CI:K0,CK:q0,CL:Q0,CM:R0,CN:e2,CO:t2,CR:n2,CU:r2,CV:i2,CW:l2,CX:a2,CY:o2,CZ:s2,DE:u2,DJ:c2,DK:d2,DM:f2,DO:h2,DZ:m2,EC:p2,EE:g2,EG:v2,EH:b2,ER:x2,ES:w2,ET:y2,EU:E2,FI:C2,FJ:k2,FK:I2,FM:z2,FO:F2,FR:M2,GA:S2,GB:A2,GD:N2,GE:D2,GF:L2,GG:T2,GH:B2,GI:H2,GL:j2,GM:P2,GN:O2,GP:V2,GQ:G2,GR:_2,GS:$2,GT:W2,GU:U2,GW:X2,GY:Z2,HK:Y2,HM:J2,HN:K2,HR:q2,HT:Q2,HU:R2,IC:ed,ID:td,IE:nd,IL:rd,IM:id,IN:ld,IO:ad,IQ:od,IR:sd,IS:ud,IT:cd,JE:dd,JM:fd,JO:hd,JP:md,KE:pd,KG:gd,KH:vd,KI:bd,KM:xd,KN:wd,KP:yd,KR:Ed,KW:Cd,KY:kd,KZ:Id,LA:zd,LB:Fd,LC:Md,LI:Sd,LK:Ad,LR:Nd,LS:Dd,LT:Ld,LU:Td,LV:Bd,LY:Hd,MA:jd,MC:Pd,MD:Od,ME:Vd,MF:Gd,MG:_d,MH:$d,MK:Wd,ML:Ud,MM:Xd,MN:Zd,MO:Yd,MP:Jd,MQ:Kd,MR:qd,MS:Qd,MT:Rd,MU:e3,MV:t3,MW:n3,MX:r3,MY:i3,MZ:l3,NA:a3,NC:o3,NE:s3,NF:u3,NG:c3,NI:d3,NL:f3,NO:h3,NP:m3,NR:p3,NU:g3,NZ:v3,OM:b3,PA:x3,PE:w3,PF:y3,PG:E3,PH:C3,PK:k3,PL:I3,PM:z3,PN:F3,PR:M3,PS:S3,PT:A3,PW:N3,PY:D3,QA:L3,RE:T3,RO:B3,RS:H3,RU:j3,RW:P3,SA:O3,SB:V3,SC:G3,SD:_3,SE:$3,SG:W3,SH:U3,SI:X3,SJ:Z3,SK:Y3,SL:J3,SM:K3,SN:q3,SO:Q3,SR:R3,SS:ef,ST:tf,SV:nf,SX:rf,SY:lf,SZ:af,TA:of,TC:sf,TD:uf,TF:cf,TG:df,TH:ff,TJ:hf,TK:mf,TL:pf,TM:gf,TN:vf,TO:bf,TR:xf,TT:wf,TV:yf,TW:Ef,TZ:Cf,UA:kf,UG:If,UM:zf,US:Ff,UY:Mf,UZ:Sf,VA:Af,VC:Nf,VE:Df,VG:Lf,VI:Tf,VN:Bf,VU:Hf,WF:jf,WS:Pf,XK:Of,YE:Vf,YT:Gf,ZA:_f,ZM:$f,ZW:Wf,default:{AC:a0,AD:o0,AE:s0,AF:u0,AG:c0,AI:d0,AL:f0,AM:h0,AO:m0,AQ:p0,AR:g0,AS:v0,AT:b0,AU:x0,AW:w0,AX:y0,AZ:E0,BA:C0,BB:k0,BD:I0,BE:z0,BF:F0,BG:M0,BH:S0,BI:A0,BJ:N0,BL:D0,BM:L0,BN:T0,BO:B0,BQ:H0,BR:j0,BS:P0,BT:O0,BV:V0,BW:G0,BY:_0,BZ:$0,CA:W0,CC:U0,CD:X0,CF:Z0,CG:Y0,CH:J0,CI:K0,CK:q0,CL:Q0,CM:R0,CN:e2,CO:t2,CR:n2,CU:r2,CV:i2,CW:l2,CX:a2,CY:o2,CZ:s2,DE:u2,DJ:c2,DK:d2,DM:f2,DO:h2,DZ:m2,EC:p2,EE:g2,EG:v2,EH:b2,ER:x2,ES:w2,ET:y2,EU:E2,FI:C2,FJ:k2,FK:I2,FM:z2,FO:F2,FR:M2,GA:S2,GB:A2,GD:N2,GE:D2,GF:L2,GG:T2,GH:B2,GI:H2,GL:j2,GM:P2,GN:O2,GP:V2,GQ:G2,GR:_2,GS:$2,GT:W2,GU:U2,GW:X2,GY:Z2,HK:Y2,HM:J2,HN:K2,HR:q2,HT:Q2,HU:R2,IC:ed,ID:td,IE:nd,IL:rd,IM:id,IN:ld,IO:ad,IQ:od,IR:sd,IS:ud,IT:cd,JE:dd,JM:fd,JO:hd,JP:md,KE:pd,KG:gd,KH:vd,KI:bd,KM:xd,KN:wd,KP:yd,KR:Ed,KW:Cd,KY:kd,KZ:Id,LA:zd,LB:Fd,LC:Md,LI:Sd,LK:Ad,LR:Nd,LS:Dd,LT:Ld,LU:Td,LV:Bd,LY:Hd,MA:jd,MC:Pd,MD:Od,ME:Vd,MF:Gd,MG:_d,MH:$d,MK:Wd,ML:Ud,MM:Xd,MN:Zd,MO:Yd,MP:Jd,MQ:Kd,MR:qd,MS:Qd,MT:Rd,MU:e3,MV:t3,MW:n3,MX:r3,MY:i3,MZ:l3,NA:a3,NC:o3,NE:s3,NF:u3,NG:c3,NI:d3,NL:f3,NO:h3,NP:m3,NR:p3,NU:g3,NZ:v3,OM:b3,PA:x3,PE:w3,PF:y3,PG:E3,PH:C3,PK:k3,PL:I3,PM:z3,PN:F3,PR:M3,PS:S3,PT:A3,PW:N3,PY:D3,QA:L3,RE:T3,RO:B3,RS:H3,RU:j3,RW:P3,SA:O3,SB:V3,SC:G3,SD:_3,SE:$3,SG:W3,SH:U3,SI:X3,SJ:Z3,SK:Y3,SL:J3,SM:K3,SN:q3,SO:Q3,SR:R3,SS:ef,ST:tf,SV:nf,SX:rf,SY:lf,SZ:af,TA:of,TC:sf,TD:uf,TF:cf,TG:df,TH:ff,TJ:hf,TK:mf,TL:pf,TM:gf,TN:vf,TO:bf,TR:xf,TT:wf,TV:yf,TW:Ef,TZ:Cf,UA:kf,UG:If,UM:zf,US:Ff,UY:Mf,UZ:Sf,VA:Af,VC:Nf,VE:Df,VG:Lf,VI:Tf,VN:Bf,VU:Hf,WF:jf,WS:Pf,XK:Of,YE:Vf,YT:Gf,ZA:_f,ZM:$f,ZW:Wf}},Symbol.toStringTag,{value:"Module"})),Ml=(e,t)=>{const n=e.slice(0,2),r=si[n];return r?f.jsx("div",{className:`
87
87
  w-5 h-5 rounded-full overflow-hidden border-[0.9px] flex items-center justify-center relative
88
88
  ${t?"border-neutral-100 dark:border-neutral-100":"border-neutral-400 dark:border-neutral-500"}
89
- `,children:f.jsx(r,{style:{width:"110%",height:"110%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},LE=e=>{const t=e.slice(0,2),n=si[t];return n?f.jsx("div",{className:"w-4 h-4 rounded-full overflow-hidden flex items-center justify-center relative",children:f.jsx(n,{style:{width:"120%",height:"120%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},TE=e=>{const t=e.slice(0,2),n=si[t];return n?f.jsx("div",{className:"w-7 h-5 rounded-md overflow-hidden border border-neutral-300 dark:border-neutral-300 flex items-center justify-center relative",children:f.jsx(n,{style:{width:"110%",height:"110%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},BE=e=>{const t=e.slice(0,2),n=si[t];return n?f.jsx("div",{className:"w-4 h-3 rounded-sm overflow-hidden border border-neutral-300 dark:border-neutral-300 flex items-center justify-center relative",children:f.jsx(n,{style:{width:"120%",height:"120%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},HE=e=>{const t=e.slice(0,2),n=si[t];return n?f.jsx("div",{className:"w-5 h-4 rounded-sm overflow-hidden border border-neutral-300 dark:border-neutral-300 flex items-center justify-center relative",children:f.jsx(n,{style:{width:"115%",height:"115%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},Uf=l.forwardRef(({id:e,label:t,value:n,onChange:r,errorMessage:i,defaultValue:a,required:o=!1,isRequiredConditional:s=!1,tags:u,className:c,originalCase:d=!1,tooltip:h,simpleMode:m=!1,inputFieldClassName:p="",isAiExtracted:g=!1,isGTN:b=!1,gtnName:v=null,allowMultiCurrency:x=!1,placeholder:y,disabled:C=!1,currencyCode:M="USD",inputStyle:E,labelClassName:w,isLiveField:z=!1,onBlur:I,autoFocus:k=!1,isRecording:F=!1,isPlaying:N=!1,onAddGTNToDocument:B,riskDetails:H,isRiskAnalysisOpen:L=!1,RiskDetailsCard:S,...T},G)=>{const{t:O}=tn(),[_,A]=l.useState(!1),[$,W]=l.useState([]),[D,X]=l.useState(""),[K,ae]=l.useState(M||"USD"),[R,ue]=l.useState(!1),U=Q=>{B&&B({key:v,value:Q})},J=Q=>{if(Q==null)return"";const oe=Number(Q);return isNaN(oe)?Q:oe?.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})},fe=Q=>{const oe=Q.target.value,Ce=oe===""||oe===null||oe===void 0?0:Number(oe);r(Ce,K);const Qe=document.getElementById(e);if(Qe&&Qe.setAttribute("data-selected-value",JSON.stringify({value:Ce,currency_code:K})),Qe&&(F||N)){const Re=new CustomEvent("pilot-change",{bubbles:!0,detail:{selector:`#${e}`,value:{value:Ce,currency_code:K},type:"change"}});Qe.dispatchEvent(Re)}},ee=()=>{A(!0)},be=()=>{A(!1),(n==null||n==="")&&fe({target:{value:"0.00"}}),I?.()},je=()=>{const Q="pl-11 border h-[32px] text-sm rounded-lg block w-full p-2.5 font-inter font-medium text-neutral-900 dark:text-black-200 disabled:bg-neutral-50 dark:disabled:!bg-black-800 dark:disabled:placeholder:!text-black-400",oe=i?"border-red-300":L&&H?.color?`border-${H.color}-300`:"border-gray-300 dark:border-black-600",Ce=`${L&&H?.color?`bg-${H.color}-50`:"bg-white dark:bg-black-600"}`;return`${Q} ${oe} ${Ce} ${p}`};return l.useEffect(()=>{M&&ae(M)},[M]),l.useEffect(()=>{if(K){const Q=n===""||n===null||n===void 0?0:Number(n);M!==K&&r(Q,K);const oe=document.getElementById(e);if(oe&&(oe.setAttribute("data-selected-value",JSON.stringify({value:Q,currency_code:K})),F||N)){const Ce=new CustomEvent("pilot-change",{bubbles:!0,detail:{selector:`#${e}`,value:{value:Q,currency_code:K},type:"change"}});oe.dispatchEvent(Ce)}}},[K]),l.useEffect(()=>{const Q=Jc.filter(oe=>(oe.value+" - "+oe.label).toLowerCase().includes(D.toLowerCase())).map(oe=>({label:f.jsx(Fl,{text:`${oe.value} - ${oe.label}`,icon:Ml(oe.value),showTick:K===oe.value,onClick:()=>ae(oe.value),className:"text-black-900 dark:text-white"}),key:oe.value}));W(Q)},[D,K]),l.useEffect(()=>{X("")},[K]),m?f.jsxs("label",{id:e,className:`mb-1 text-xs font-medium text-gray-600 h-full inline-flex items-center gap-1 ${d?"":"capitalize"} ${w||""}`,children:[f.jsx("span",{className:"absolute inset-y-0 left-1 top-0.5 flex items-center pl-3",children:"$"}),f.jsx("input",{...T,ref:G,type:_?"number":"text",required:o,className:Y(p,"pl-8 h-[32px]"),onChange:fe,min:0,onFocus:ee,onBlur:be,value:_?n:J(n),...a&&!n?{defaultValue:_?a:J(a)}:{},id:e||t,autoFocus:k})]}):f.jsxs("div",{className:Y("flex gap-0.5 relative",R&&b?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>ue(!0),onMouseLeave:()=>ue(!1),children:[b&&!R?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("w-full flex flex-col",c),children:[f.jsx("label",{htmlFor:"text",className:`mb-1 text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${d?"":"uppercase"} ${w||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[t,o&&f.jsx(Nt,{isConditional:s})]}),z&&f.jsx(Ue.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),g&&f.jsx(ln,{}),f.jsx(St,{labels:u}),h&&f.jsx(et,{placement:"top",title:h,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),b&&R&&B?f.jsx("button",{id:"btn-currency-input-add-to-document",className:"cursor-pointer",onClick:()=>U(J(n)),type:"button",children:f.jsx(Be.Tooltip,{placement:"top",title:O("Add to document"),children:f.jsx(Ue.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}),f.jsxs("label",{className:"relative block",children:[f.jsx("span",{className:"absolute inset-y-0 left-1 flex items-center pl-3 text-neutral-900 dark:text-white",children:Kc[K]}),f.jsx("input",{...T,ref:G,placeholder:y,type:_?"number":"text",required:o,disabled:C,className:je(),onChange:fe,min:0,onFocus:ee,onBlur:be,value:_?n:J(n),defaultValue:_?a:J(a),id:e||t,style:E,autoComplete:"off",autoFocus:k}),f.jsx("span",{className:`absolute inset-y-0 right-2 flex items-center z-[1000px] h-full cursor-pointer dark:text-black-200 ${x?"cursor-pointer":""}`,children:x?f.jsx(Be.Dropdown,{menu:{items:[{label:f.jsx("div",{className:"p-2",children:f.jsx(i0,{id:"search-bar-currency-input",value:D,onChange:Q=>X(Q),className:"mb-2"})}),onClick:Q=>{Q.stopPropagation()},key:"search"},...$]},trigger:["click"],overlayClassName:"row-option-cell",placement:"bottomRight",overlayStyle:{zIndex:999},getPopupContainer:Q=>Q.parentElement,popupRender:Q=>f.jsx("div",{style:{maxHeight:"200px",width:"330px",textOverflow:"ellipsis",overflowY:"auto",zIndex:"999px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",backgroundColor:"white dark:bg-black-700",borderRadius:"6px",border:"1px solid #f0f0f0 dark:border-black-600"},children:Q}),children:f.jsxs("div",{className:"pl-4 pr-2 py-1.5 text-sm text-gray-700 dark:text-black-200 flex items-center gap-1",children:[Ml(K)," ",K]})}):K})]}),i&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:i})]}),R&&H&&L&&S&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:Q=>Q.stopPropagation(),onMouseDown:Q=>Q.preventDefault(),onKeyDown:Q=>{Q.key==="Escape"&&ue(!1)},children:f.jsx(S,{riskDetails:H})})]})});Uf.displayName="CurrencyInputField";const Xf=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,message:s,messageType:u="default",wrapperClassName:c,inputClassName:d,labelClassName:h,helpText:m,size:p="medium",minDate:g,maxDate:b,startPlaceholder:v="Start date",endPlaceholder:x="End date",allowClear:y=!0,inputProps:C},M)=>{const E=n!==void 0?n:r||{startDate:null,endDate:null},w=()=>{switch(p){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},z=()=>u==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":u==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":u==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",I=()=>u==="error"?"text-red-500 dark:text-red-400":u==="success"?"text-green-500 dark:text-green-400":u==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",k=()=>{switch(p){case"small":return"extra-small";case"large":return"medium";default:return"small"}},F=G=>{if(!G)return"";const O=G.getFullYear(),_=String(G.getMonth()+1).padStart(2,"0"),A=String(G.getDate()).padStart(2,"0");return`${O}-${_}-${A}`},N=G=>{if(!G)return null;const O=new Date(G);return isNaN(O.getTime())?null:O},B=G=>{const O=N(G.target.value);i({startDate:O,endDate:E.endDate})},H=G=>{const O=N(G.target.value);i({startDate:E.startDate,endDate:O})},L=()=>{i({startDate:null,endDate:null})},S=G=>G?F(G):void 0,T=w();return f.jsxs("div",{className:Y("flex flex-col w-full",c),ref:M,children:[t&&f.jsx("label",{htmlFor:`${e}-start`,className:Y("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",h),children:f.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:f.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:f.jsxs(se,{variant:"medium",size:k(),appearance:"subtitle",children:[t,o&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&f.jsx(se,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("div",{className:"flex-1",children:f.jsx("input",{...C,id:`${e}-start`,type:"date",value:F(E.startDate),onChange:B,disabled:a,required:o,min:S(g),max:S(b),placeholder:v,className:Y("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",T.height,T.padding,T.fontSize,z(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":s&&u==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0})}),f.jsx("div",{className:"flex-shrink-0 text-neutral-500 dark:text-neutral-400",children:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 12H6"})})}),f.jsx("div",{className:"flex-1",children:f.jsx("input",{...C,id:`${e}-end`,type:"date",value:F(E.endDate),onChange:H,disabled:a,required:o,min:S(E.startDate||g),max:S(b),placeholder:x,className:Y("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",T.height,T.padding,T.fontSize,z(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":s&&u==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0})}),y&&(E.startDate||E.endDate)&&!a&&f.jsx("button",{type:"button",onClick:L,className:"flex-shrink-0 p-1 text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-200 transition-colors","aria-label":"Clear date range",children:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),f.jsx("div",{className:"absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-neutral-400 dark:text-neutral-500",children:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})}),f.jsx(We.AnimatePresence,{children:s&&f.jsx(We.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:u==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",I()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&f.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});Xf.displayName="DateRange2";var Sl={exports:{}},jE=Sl.exports,Zf;function PE(){return Zf||(Zf=1,function(e,t){(function(n,r){e.exports=r()})(jE,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",o="second",s="minute",u="hour",c="day",d="week",h="month",m="quarter",p="year",g="date",b="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(L){var S=["th","st","nd","rd"],T=L%100;return"["+L+(S[(T-20)%10]||S[T]||S[0])+"]"}},C=function(L,S,T){var G=String(L);return!G||G.length>=S?L:""+Array(S+1-G.length).join(T)+L},M={s:C,z:function(L){var S=-L.utcOffset(),T=Math.abs(S),G=Math.floor(T/60),O=T%60;return(S<=0?"+":"-")+C(G,2,"0")+":"+C(O,2,"0")},m:function L(S,T){if(S.date()<T.date())return-L(T,S);var G=12*(T.year()-S.year())+(T.month()-S.month()),O=S.clone().add(G,h),_=T-O<0,A=S.clone().add(G+(_?-1:1),h);return+(-(G+(T-O)/(_?O-A:A-O))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:h,y:p,w:d,d:c,D:g,h:u,m:s,s:o,ms:a,Q:m}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},E="en",w={};w[E]=y;var z="$isDayjsObject",I=function(L){return L instanceof B||!(!L||!L[z])},k=function L(S,T,G){var O;if(!S)return E;if(typeof S=="string"){var _=S.toLowerCase();w[_]&&(O=_),T&&(w[_]=T,O=_);var A=S.split("-");if(!O&&A.length>1)return L(A[0])}else{var $=S.name;w[$]=S,O=$}return!G&&O&&(E=O),O||!G&&E},F=function(L,S){if(I(L))return L.clone();var T=typeof S=="object"?S:{};return T.date=L,T.args=arguments,new B(T)},N=M;N.l=k,N.i=I,N.w=function(L,S){return F(L,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var B=function(){function L(T){this.$L=k(T.locale,null,!0),this.parse(T),this.$x=this.$x||T.x||{},this[z]=!0}var S=L.prototype;return S.parse=function(T){this.$d=function(G){var O=G.date,_=G.utc;if(O===null)return new Date(NaN);if(N.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var A=O.match(v);if(A){var $=A[2]-1||0,W=(A[7]||"0").substring(0,3);return _?new Date(Date.UTC(A[1],$,A[3]||1,A[4]||0,A[5]||0,A[6]||0,W)):new Date(A[1],$,A[3]||1,A[4]||0,A[5]||0,A[6]||0,W)}}return new Date(O)}(T),this.init()},S.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},S.$utils=function(){return N},S.isValid=function(){return this.$d.toString()!==b},S.isSame=function(T,G){var O=F(T);return this.startOf(G)<=O&&O<=this.endOf(G)},S.isAfter=function(T,G){return F(T)<this.startOf(G)},S.isBefore=function(T,G){return this.endOf(G)<F(T)},S.$g=function(T,G,O){return N.u(T)?this[G]:this.set(O,T)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(T,G){var O=this,_=!!N.u(G)||G,A=N.p(T),$=function(U,J){var fe=N.w(O.$u?Date.UTC(O.$y,J,U):new Date(O.$y,J,U),O);return _?fe:fe.endOf(c)},W=function(U,J){return N.w(O.toDate()[U].apply(O.toDate("s"),(_?[0,0,0,0]:[23,59,59,999]).slice(J)),O)},D=this.$W,X=this.$M,K=this.$D,ae="set"+(this.$u?"UTC":"");switch(A){case p:return _?$(1,0):$(31,11);case h:return _?$(1,X):$(0,X+1);case d:var R=this.$locale().weekStart||0,ue=(D<R?D+7:D)-R;return $(_?K-ue:K+(6-ue),X);case c:case g:return W(ae+"Hours",0);case u:return W(ae+"Minutes",1);case s:return W(ae+"Seconds",2);case o:return W(ae+"Milliseconds",3);default:return this.clone()}},S.endOf=function(T){return this.startOf(T,!1)},S.$set=function(T,G){var O,_=N.p(T),A="set"+(this.$u?"UTC":""),$=(O={},O[c]=A+"Date",O[g]=A+"Date",O[h]=A+"Month",O[p]=A+"FullYear",O[u]=A+"Hours",O[s]=A+"Minutes",O[o]=A+"Seconds",O[a]=A+"Milliseconds",O)[_],W=_===c?this.$D+(G-this.$W):G;if(_===h||_===p){var D=this.clone().set(g,1);D.$d[$](W),D.init(),this.$d=D.set(g,Math.min(this.$D,D.daysInMonth())).$d}else $&&this.$d[$](W);return this.init(),this},S.set=function(T,G){return this.clone().$set(T,G)},S.get=function(T){return this[N.p(T)]()},S.add=function(T,G){var O,_=this;T=Number(T);var A=N.p(G),$=function(X){var K=F(_);return N.w(K.date(K.date()+Math.round(X*T)),_)};if(A===h)return this.set(h,this.$M+T);if(A===p)return this.set(p,this.$y+T);if(A===c)return $(1);if(A===d)return $(7);var W=(O={},O[s]=r,O[u]=i,O[o]=n,O)[A]||1,D=this.$d.getTime()+T*W;return N.w(D,this)},S.subtract=function(T,G){return this.add(-1*T,G)},S.format=function(T){var G=this,O=this.$locale();if(!this.isValid())return O.invalidDate||b;var _=T||"YYYY-MM-DDTHH:mm:ssZ",A=N.z(this),$=this.$H,W=this.$m,D=this.$M,X=O.weekdays,K=O.months,ae=O.meridiem,R=function(J,fe,ee,be){return J&&(J[fe]||J(G,_))||ee[fe].slice(0,be)},ue=function(J){return N.s($%12||12,J,"0")},U=ae||function(J,fe,ee){var be=J<12?"AM":"PM";return ee?be.toLowerCase():be};return _.replace(x,function(J,fe){return fe||function(ee){switch(ee){case"YY":return String(G.$y).slice(-2);case"YYYY":return N.s(G.$y,4,"0");case"M":return D+1;case"MM":return N.s(D+1,2,"0");case"MMM":return R(O.monthsShort,D,K,3);case"MMMM":return R(K,D);case"D":return G.$D;case"DD":return N.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return R(O.weekdaysMin,G.$W,X,2);case"ddd":return R(O.weekdaysShort,G.$W,X,3);case"dddd":return X[G.$W];case"H":return String($);case"HH":return N.s($,2,"0");case"h":return ue(1);case"hh":return ue(2);case"a":return U($,W,!0);case"A":return U($,W,!1);case"m":return String(W);case"mm":return N.s(W,2,"0");case"s":return String(G.$s);case"ss":return N.s(G.$s,2,"0");case"SSS":return N.s(G.$ms,3,"0");case"Z":return A}return null}(J)||A.replace(":","")})},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(T,G,O){var _,A=this,$=N.p(G),W=F(T),D=(W.utcOffset()-this.utcOffset())*r,X=this-W,K=function(){return N.m(A,W)};switch($){case p:_=K()/12;break;case h:_=K();break;case m:_=K()/3;break;case d:_=(X-D)/6048e5;break;case c:_=(X-D)/864e5;break;case u:_=X/i;break;case s:_=X/r;break;case o:_=X/n;break;default:_=X}return O?_:N.a(_)},S.daysInMonth=function(){return this.endOf(h).$D},S.$locale=function(){return w[this.$L]},S.locale=function(T,G){if(!T)return this.$L;var O=this.clone(),_=k(T,G,!0);return _&&(O.$L=_),O},S.clone=function(){return N.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},L}(),H=B.prototype;return F.prototype=H,[["$ms",a],["$s",o],["$m",s],["$H",u],["$W",c],["$M",h],["$y",p],["$D",g]].forEach(function(L){H[L[1]]=function(S){return this.$g(S,L[0],L[1])}}),F.extend=function(L,S){return L.$i||(L(S,B,F),L.$i=!0),F},F.locale=k,F.isDayjs=I,F.unix=function(L){return F(1e3*L)},F.en=w[E],F.Ls=w,F.p={},F})}(Sl)),Sl.exports}var OE=PE();const tt=Jt(OE);var Yf={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Jf=l.createContext&&l.createContext(Yf),VE=["attr","size","title"];function GE(e,t){if(e==null)return{};var n=_E(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _E(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Al.apply(this,arguments)}function Kf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Nl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Kf(Object(n),!0).forEach(function(r){$E(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $E(e,t,n){return t=WE(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WE(e){var t=UE(e,"string");return typeof t=="symbol"?t:t+""}function UE(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qf(e){return e&&e.map((t,n)=>l.createElement(t.tag,Nl({key:n},t.attr),qf(t.child)))}function Er(e){return t=>l.createElement(XE,Al({attr:Nl({},e.attr)},t),qf(e.child))}function XE(e){var t=n=>{var{attr:r,size:i,title:a}=e,o=GE(e,VE),s=i||n.size||"1em",u;return n.className&&(u=n.className),e.className&&(u=(u?u+" ":"")+e.className),l.createElement("svg",Al({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,o,{className:u,style:Nl(Nl({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&l.createElement("title",null,a),e.children)};return Jf!==void 0?l.createElement(Jf.Consumer,null,n=>t(n)):t(Yf)}function ZE(e){return Er({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7 11h2v2H7zm0 4h2v2H7zm4-4h2v2h-2zm0 4h2v2h-2zm4-4h2v2h-2zm0 4h2v2h-2z"},child:[]},{tag:"path",attr:{d:"M5 22h14c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2h-2V2h-2v2H9V2H7v2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2zM19 8l.001 12H5V8h14z"},child:[]}]})(e)}function YE(e){return Er({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8"},child:[]}]})(e)}function JE(e){return Er({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.6 11.85H0v3.999h.791v-1.342h.803q.43 0 .732-.173.305-.175.463-.474a1.4 1.4 0 0 0 .161-.677q0-.375-.158-.677a1.2 1.2 0 0 0-.46-.477q-.3-.18-.732-.179m.545 1.333a.8.8 0 0 1-.085.38.57.57 0 0 1-.238.241.8.8 0 0 1-.375.082H.788V12.48h.66q.327 0 .512.181.185.183.185.522m1.217-1.333v3.999h1.46q.602 0 .998-.237a1.45 1.45 0 0 0 .595-.689q.196-.45.196-1.084 0-.63-.196-1.075a1.43 1.43 0 0 0-.589-.68q-.396-.234-1.005-.234zm.791.645h.563q.371 0 .609.152a.9.9 0 0 1 .354.454q.118.302.118.753a2.3 2.3 0 0 1-.068.592 1.1 1.1 0 0 1-.196.422.8.8 0 0 1-.334.252 1.3 1.3 0 0 1-.483.082h-.563zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638z"},child:[]}]})(e)}const{RangePicker:KE}=Be.DatePicker,qE={ENTER:"Enter"},Qf=()=>Math.random().toString(36).substring(2,9),QE=(e,t)=>{const n=l.useRef(t);l.useEffect(()=>{n.current=t},[t]),l.useEffect(()=>{const r=i=>n.current(i);return document.addEventListener(e,r),()=>{document.removeEventListener(e,r)}},[e])},Rf=({onCalendarChange:e=void 0,onChange:t,required:n,label:r,startDate:i,endDate:a,errorMessage:o,className:s,id:u,disabled:c=!1,dateFormat:d,shouldPopOnParent:h=!0,getPopupContainer:m,maxDateRange:p,open:g,onOpenChange:b,placement:v="bottomLeft",isDarkMode:x=!1})=>{const y=w=>w?tt(w):null,C=`date-range-start-${Qf()}`,M=`date-range-end-${Qf()}`;QE("keydown",w=>{if(w.key===qE.ENTER&&document.activeElement instanceof HTMLInputElement){if(document?.activeElement?.id===C){const z=tt(document?.activeElement?.value);z.isValid()&&t([z,y(a)])}if(document?.activeElement?.id===M){const z=tt(document?.activeElement?.value);z.isValid()&&t([y(i),z])}}});const E=l.useCallback(w=>{const[z,I]=[y(i),y(a)];return p?z?w.isBefore(z.startOf("day"))||w.isAfter(z.add(p,"day").endOf("day")):I?w.isBefore(I.subtract(p,"day").startOf("day"))||w.isAfter(I.endOf("day")):!1:!1},[i,a,p]);return f.jsxs("div",{id:u,className:Y("flex flex-col",s),children:[f.jsxs("label",{id:"date",htmlFor:"text",className:Y("block text-xs capitalize font-medium leading-5 font-inter font-xs",x?"text-gray-300":"text-gray-600"),children:[r,n&&f.jsx(Nt,{})]}),f.jsx(KE,{onChange:t,onCalendarChange:e,value:[y(i),y(a)],id:{start:C,end:M},allowClear:!0,format:d||"DD MMM, YYYY",separator:f.jsx(YE,{className:Y(x?"text-gray-100":"")}),suffixIcon:f.jsx(ZE,{className:Y(x?"text-gray-100":"")}),getPopupContainer:m||(h?w=>w.parentElement:()=>document.body),disabled:c,disabledDate:p?E:void 0,open:g,onOpenChange:b,autoComplete:"off",placement:v}),o&&f.jsx("p",{className:Y("text-sm font-inter font-normal text-left pt-[6px]","text-red-500"),children:o})]})};Rf.displayName="DateRange";var Dl={exports:{}},RE=Dl.exports,eh;function eC(){return eh||(eh=1,function(e,t){(function(n,r){e.exports=r()})(RE,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,a=/\d\d/,o=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,u={},c=function(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(x){this[v]=+x}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(x){if(!x||x==="Z")return 0;var y=x.match(/([+-]|\d\d)/g),C=60*y[1]+(+y[2]||0);return C===0?0:y[0]==="+"?-C:C}(v)}],m=function(v){var x=u[v];return x&&(x.indexOf?x:x.s.concat(x.f))},p=function(v,x){var y,C=u.meridiem;if(C){for(var M=1;M<=24;M+=1)if(v.indexOf(C(M,0,x))>-1){y=M>12;break}}else y=v===(x?"pm":"PM");return y},g={A:[s,function(v){this.afternoon=p(v,!1)}],a:[s,function(v){this.afternoon=p(v,!0)}],Q:[i,function(v){this.month=3*(v-1)+1}],S:[i,function(v){this.milliseconds=100*+v}],SS:[a,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[o,d("seconds")],ss:[o,d("seconds")],m:[o,d("minutes")],mm:[o,d("minutes")],H:[o,d("hours")],h:[o,d("hours")],HH:[o,d("hours")],hh:[o,d("hours")],D:[o,d("day")],DD:[a,d("day")],Do:[s,function(v){var x=u.ordinal,y=v.match(/\d+/);if(this.day=y[0],x)for(var C=1;C<=31;C+=1)x(C).replace(/\[|\]/g,"")===v&&(this.day=C)}],w:[o,d("week")],ww:[a,d("week")],M:[o,d("month")],MM:[a,d("month")],MMM:[s,function(v){var x=m("months"),y=(m("monthsShort")||x.map(function(C){return C.slice(0,3)})).indexOf(v)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[s,function(v){var x=m("months").indexOf(v)+1;if(x<1)throw new Error;this.month=x%12||x}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(v){this.year=c(v)}],YYYY:[/\d{4}/,d("year")],Z:h,ZZ:h};function b(v){var x,y;x=v,y=u&&u.formats;for(var C=(v=x.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(F,N,B){var H=B&&B.toUpperCase();return N||y[B]||n[B]||y[H].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(L,S,T){return S||T.slice(1)})})).match(r),M=C.length,E=0;E<M;E+=1){var w=C[E],z=g[w],I=z&&z[0],k=z&&z[1];C[E]=k?{regex:I,parser:k}:w.replace(/^\[|\]$/g,"")}return function(F){for(var N={},B=0,H=0;B<M;B+=1){var L=C[B];if(typeof L=="string")H+=L.length;else{var S=L.regex,T=L.parser,G=F.slice(H),O=S.exec(G)[0];T.call(N,O),F=F.replace(O,"")}}return function(_){var A=_.afternoon;if(A!==void 0){var $=_.hours;A?$<12&&(_.hours+=12):$===12&&(_.hours=0),delete _.afternoon}}(N),N}}return function(v,x,y){y.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(c=v.parseTwoDigitYear);var C=x.prototype,M=C.parse;C.parse=function(E){var w=E.date,z=E.utc,I=E.args;this.$u=z;var k=I[1];if(typeof k=="string"){var F=I[2]===!0,N=I[3]===!0,B=F||N,H=I[2];N&&(H=I[2]),u=this.$locale(),!F&&H&&(u=y.Ls[H]),this.$d=function(G,O,_,A){try{if(["x","X"].indexOf(O)>-1)return new Date((O==="X"?1e3:1)*G);var $=b(O)(G),W=$.year,D=$.month,X=$.day,K=$.hours,ae=$.minutes,R=$.seconds,ue=$.milliseconds,U=$.zone,J=$.week,fe=new Date,ee=X||(W||D?1:fe.getDate()),be=W||fe.getFullYear(),je=0;W&&!D||(je=D>0?D-1:fe.getMonth());var Q,oe=K||0,Ce=ae||0,Qe=R||0,Re=ue||0;return U?new Date(Date.UTC(be,je,ee,oe,Ce,Qe,Re+60*U.offset*1e3)):_?new Date(Date.UTC(be,je,ee,oe,Ce,Qe,Re)):(Q=new Date(be,je,ee,oe,Ce,Qe,Re),J&&(Q=A(Q).week(J).toDate()),Q)}catch{return new Date("")}}(w,k,z,y),this.init(),H&&H!==!0&&(this.$L=this.locale(H).$L),B&&w!=this.format(k)&&(this.$d=new Date("")),u={}}else if(k instanceof Array)for(var L=k.length,S=1;S<=L;S+=1){I[1]=k[S-1];var T=y.apply(this,I);if(T.isValid()){this.$d=T.$d,this.$L=T.$L,this.init();break}S===L&&(this.$d=new Date(""))}else M.call(this,E)}}})}(Dl)),Dl.exports}var tC=eC();const nC=Jt(tC);var Ll={exports:{}},rC=Ll.exports,th;function iC(){return th||(th=1,function(e,t){(function(n,r){e.exports=r()})(rC,function(){return function(n,r,i){var a=r.prototype,o=function(h){return h&&(h.indexOf?h:h.s)},s=function(h,m,p,g,b){var v=h.name?h:h.$locale(),x=o(v[m]),y=o(v[p]),C=x||y.map(function(E){return E.slice(0,g)});if(!b)return C;var M=v.weekStart;return C.map(function(E,w){return C[(w+(M||0))%7]})},u=function(){return i.Ls[i.locale()]},c=function(h,m){return h.formats[m]||function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,b,v){return b||v.slice(1)})}(h.formats[m.toUpperCase()])},d=function(){var h=this;return{months:function(m){return m?m.format("MMMM"):s(h,"months")},monthsShort:function(m){return m?m.format("MMM"):s(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(m){return m?m.format("dddd"):s(h,"weekdays")},weekdaysMin:function(m){return m?m.format("dd"):s(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(m){return m?m.format("ddd"):s(h,"weekdaysShort","weekdays",3)},longDateFormat:function(m){return c(h.$locale(),m)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return d.bind(this)()},i.localeData=function(){var h=u();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(m){return c(h,m)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return s(u(),"months")},i.monthsShort=function(){return s(u(),"monthsShort","months",3)},i.weekdays=function(h){return s(u(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return s(u(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return s(u(),"weekdaysMin","weekdays",2,h)}}})}(Ll)),Ll.exports}var lC=iC();const aC=Jt(lC);var Tl={exports:{}},oC=Tl.exports,nh;function sC(){return nh||(nh=1,function(e,t){(function(n,r){e.exports=r()})(oC,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,o,s){var u=o.prototype;s.utc=function(b){var v={date:b,utc:!0,args:arguments};return new o(v)},u.utc=function(b){var v=s(this.toDate(),{locale:this.$L,utc:!0});return b?v.add(this.utcOffset(),n):v},u.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(b){b.utc&&(this.$u=!0),this.$utils().u(b.$offset)||(this.$offset=b.$offset),c.call(this,b)};var d=u.init;u.init=function(){if(this.$u){var b=this.$d;this.$y=b.getUTCFullYear(),this.$M=b.getUTCMonth(),this.$D=b.getUTCDate(),this.$W=b.getUTCDay(),this.$H=b.getUTCHours(),this.$m=b.getUTCMinutes(),this.$s=b.getUTCSeconds(),this.$ms=b.getUTCMilliseconds()}else d.call(this)};var h=u.utcOffset;u.utcOffset=function(b,v){var x=this.$utils().u;if(x(b))return this.$u?0:x(this.$offset)?h.call(this):this.$offset;if(typeof b=="string"&&(b=function(E){E===void 0&&(E="");var w=E.match(r);if(!w)return null;var z=(""+w[0]).match(i)||["-",0,0],I=z[0],k=60*+z[1]+ +z[2];return k===0?0:I==="+"?k:-k}(b),b===null))return this;var y=Math.abs(b)<=16?60*b:b,C=this;if(v)return C.$offset=y,C.$u=b===0,C;if(b!==0){var M=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(C=this.local().add(y+M,n)).$offset=y,C.$x.$localOffset=M}else C=this.utc();return C};var m=u.format;u.format=function(b){var v=b||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,v)},u.valueOf=function(){var b=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*b},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var p=u.toDate;u.toDate=function(b){return b==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=u.diff;u.diff=function(b,v,x){if(b&&this.$u===b.$u)return g.call(this,b,v,x);var y=this.local(),C=s(b).local();return g.call(y,C,v,x)}}})}(Tl)),Tl.exports}var uC=sC();const cC=Jt(uC);var Bl={exports:{}},dC=Bl.exports,rh;function fC(){return rh||(rh=1,function(e,t){(function(n,r){e.exports=r()})(dC,function(){return function(n,r){r.prototype.weekday=function(i){var a=this.$locale().weekStart||0,o=this.$W,s=(o<a?o+7:o)-a;return this.$utils().u(i)?s:this.subtract(s,"day").add(i,"day")}}})}(Bl)),Bl.exports}var hC=fC();const mC=Jt(hC);tt.extend(cC),tt.extend(nC),tt.extend(mC),tt.extend(aC);const ih="MM/DD/YYYY",Hl="MM/DD/YYYY - hh:mm A",pC={ENTER:"Enter"},lh=["MM/DD/YYYY","M/DD/YYYY","MM/D/YYYY","M/D/YYYY","MM/DD/YY","M/DD/YY","MM/D/YY","M/D/YY","YYYY-MM-DD","YYYY-MM-DDTHH:mm:ss.SSSZ","YYYY-MM-DDTHH:mm:ssZ"],gC=["MM/DD/YYYY - hh:mm A","M/DD/YYYY - hh:mm A","MM/D/YYYY - hh:mm A","M/D/YYYY - hh:mm A","MM/DD/YYYY hh:mm A","M/DD/YYYY hh:mm A","MM/D/YYYY hh:mm A","M/D/YYYY hh:mm A","MM/DD/YYYY HH:mm","M/DD/YYYY HH:mm","MM/D/YYYY HH:mm","M/D/YYYY HH:mm","MM/DD/YY - hh:mm A","M/DD/YY - hh:mm A","MM/D/YY - hh:mm A","M/D/YY - hh:mm A","MM/DD/YY hh:mm A","M/DD/YY hh:mm A","MM/D/YY hh:mm A","M/D/YY hh:mm A","MM/DD/YY HH:mm","M/DD/YY HH:mm","MM/D/YY HH:mm","M/D/YY HH:mm",...lh,"YYYY-MM-DDTHH:mm:ss.SSSZ","YYYY-MM-DDTHH:mm:ssZ"],vC=()=>Math.random().toString(36).substring(2,9),ui=(e,t=!1)=>{if(!e)return null;const n=t?gC:lh;for(const i of n){const a=tt(e,i,!0);if(a.isValid())return a}const r=tt(e);return r.isValid()?r:null},ah=(e,t)=>{const n=l.useRef(t);l.useEffect(()=>{n.current=t},[t]),l.useEffect(()=>{const r=i=>n.current(i);return document.addEventListener(e,r),()=>{document.removeEventListener(e,r)}},[e])},oh=l.forwardRef(({label:e,value:t,required:n,isRequiredConditional:r=!1,disabled:i,className:a=void 0,errorMessage:o,handleOnChange:s,showTime:u=!0,tags:c,needConfirm:d=!1,simpleMode:h,originalCase:m=!1,dateFormat:p=void 0,tooltip:g,isAiExtracted:b=!1,isGTN:v=!1,gtnName:x=null,shouldPopOnParent:y=!1,allowTimezoneConversion:C=!0,inputStyle:M,labelClassName:E,isLiveField:w=!1,riskDetails:z,isRiskAnalysisOpen:I=!1,RiskDetailsCard:k,onAddGTNToDocument:F,formatDateForGTN:N,...B},H)=>{const{t:L}=tn(),[S,T]=l.useState(!1),[G,O]=l.useState(null),[_,A]=l.useState(null),$=p||(u?Hl:ih),W=B?.id||`date-picker-${vC()}`,D=l.useRef(null);ah("paste",U=>{document.activeElement?.id===W&&(U.preventDefault(),navigator.clipboard.readText().then(J=>{const fe=ui(J,u);fe&&ue(fe)}))}),ah("keydown",U=>{if(U.key===pC.ENTER&&document.activeElement instanceof HTMLInputElement&&document.activeElement.id===W){const J=ui(document?.activeElement?.value,u);J&&ue(J)}});const X=l.useCallback(U=>{if(!F)return;let J=U||"";if(N&&U)J=N(U,{skipTimezone:!0,withTime:u});else if(U){const ee=tt(U);ee.isValid()&&(J=ee.format($))}F({key:x,value:J})},[F,x,N,u,$]),K=l.useCallback(()=>{const U=document.getElementsByClassName("ant-picker-footer")[0];U&&(U.style.display="none")},[]),ae=l.useCallback(U=>{if(!C){if(s(U?U.format($):null),U){const J=document.getElementById(W);if(J){const fe=new CustomEvent("pilot-date-change",{bubbles:!0,detail:{selector:`#${W}`,value:U.format?U.format($):U,type:"date-change",elementId:W}});J.dispatchEvent(fe)}}return}if(U){let J;if(u?J=tt(U).utc().toISOString():J=tt(U).utc().add(tt(U).utcOffset(),"minute").startOf("day").toISOString(),J){s(J);const fe=document.getElementById(W);if(fe){const ee=new CustomEvent("pilot-date-change",{bubbles:!0,detail:{selector:`#${W}`,value:U.format($),type:"date-change",elementId:W}});fe.dispatchEvent(ee)}}}else s(null)},[C,s,u,W,$]),R=l.useCallback(U=>{if(!U)return null;if(!C)try{const J=tt(U,$);return!J.isValid()&&String(U).includes("Z")?tt(U):U&&J.isValid()?J:null}catch{return null}if(u){const J=tt(U);return tt(J).isValid()?J:null}else if(U?.toString()?.includes("Z")){const J=tt.utc(U);return tt(J).isValid()?J:null}else{const J=tt(U);return tt(J).isValid()?J:null}},[C,$,u]),ue=l.useCallback(U=>{if(U?.isValid()||U===null){O(U);const J=C?U?.toISOString():U?U.format($):"";if(s(J||null),U?.isValid()){const fe=document.getElementById(W);if(fe){const ee=new CustomEvent("pilot-date-change",{bubbles:!0,detail:{selector:`#${W}`,value:U.format($),type:"date-change",elementId:W}});fe.dispatchEvent(ee)}}}},[C,$,s,W]);return l.useEffect(()=>{O(R(t))},[t,R]),l.useEffect(()=>{_&&A(null)},[_]),l.useEffect(()=>{const U=document.getElementById(W);if(!U)return;const J=fe=>{const{value:ee,type:be}=fe.detail;if(be==="date-playback"&&ee){const je=ui(ee,u);je&&je.isValid()&&(O(je),ae(je),setTimeout(()=>{const Q=U.querySelector("input");if(Q&&(Q.focus(),setTimeout(()=>{Q.blur()},10)),D.current)try{const oe=D.current;typeof oe.blur=="function"&&oe.blur()}catch{}setTimeout(()=>{document.querySelectorAll(".ant-picker-dropdown:not(.ant-picker-dropdown-hidden)").forEach(Ce=>{Ce instanceof HTMLElement&&(Ce.style.display="none",Ce.classList.add("ant-picker-dropdown-hidden"))})},50)},50))}};return U.addEventListener("pilot-date-playback",J),()=>{U.removeEventListener("pilot-date-playback",J)}},[W,$,ae,u]),h?f.jsx(Be.DatePicker,{...B,showTime:u,format:$,placeholder:$===Hl?"MM/DD/YYYY hh:mm":$,value:G,needConfirm:!1,onChange:ue,className:a,showNow:!1,onFocus:K,onBlur:U=>{const J=U.target.value;if(J){const fe=ui(J,u);fe&&ue(fe)}},ref:D,disabled:i,id:W}):f.jsxs("div",{ref:H,className:Y("flex gap-0.5 relative",S&&v?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:[v&&!S?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:`w-full flex flex-col font-inter ${a||""}`,children:[e?f.jsx("label",{className:`mb-1 text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${m?"":"capitalize"} ${E||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsx("div",{children:f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[e,n&&f.jsx(Nt,{isConditional:r})]})}),w&&f.jsx(Ue.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),b&&f.jsx(ln,{}),f.jsx(St,{labels:c}),g&&f.jsx(et,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),v&&S&&F?f.jsx("button",{id:"btn-date-field-add-to-document",className:"cursor-pointer",onClick:()=>X(t),type:"button",children:f.jsx(Be.Tooltip,{placement:"top",title:L("Add to document"),children:f.jsx(Ue.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}):null,f.jsx(Be.DatePicker,{...B,showTime:u?{use12Hours:!0}:!1,format:$,placeholder:$===Hl?"MM/DD/YYYY - HH:MM":$,className:`w-full h-8 text-inter font-medium ${o?"border-red-400":""} dark:text-black-300 ${I&&z?.color&&`bg-${z.color}-50 border-${z.color}-300`}`,styles:{root:{...M,borderRadius:"7px"}},showNow:!1,value:G,onChange:U=>{O(U),ae(U),A(U?.toISOString()||null)},onBlur:U=>{const J=U.target.value;if(J){const fe=ui(J,u);fe&&(O(fe),ae(fe))}},needConfirm:d,ref:D,disabled:i,inputReadOnly:!1,getPopupContainer:y?U=>U.parentElement:()=>document.body,id:W,autoComplete:"off"}),o&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:o})]}),S&&z&&I&&k&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:U=>U.stopPropagation(),onMouseDown:U=>U.preventDefault(),onKeyDown:U=>{U.key==="Escape"&&T(!1)},children:f.jsx(k,{riskDetails:z})})]})});oh.displayName="DateTimeField";const sh=({id:e,label:t,onChange:n,errorMessage:r,required:i,bg:a,tags:o,color:s,debounceTimeout:u=0,className:c,isDarkMode:d,...h})=>{const{inputRef:m,...p}=h;return f.jsxs("div",{className:Y("flex flex-col",c),children:[t&&f.jsxs("label",{htmlFor:e,className:"block mb-1 text-xs font-medium leading-[18px] text-neutral-600 dark:text-black-300 font-inter capitalize",children:[f.jsxs("div",{className:"inline-flex items-center gap-1",children:[t,i&&f.jsx(Nt,{})]}),f.jsx(St,{labels:o})]}),f.jsx("label",{className:"relative block h-8",children:l.createElement(t0.DebounceInput,{...p,debounceTimeout:u,id:e,key:e,required:i,className:Y("border",r?"!border-error-300":"border-neutral-200 dark:border-black-600",a,s,"dark:bg-black-700 text-neutral-900 dark:text-neutral-100 text-[14px] rounded-md","focus:outline-none focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400","focus:border-primary-500 dark:focus:border-primary-400","block w-full h-8 px-3 py-1.5 font-inter font-medium","disabled:opacity-70 disabled:!bg-neutral-50 dark:disabled:!bg-black-800"),onChange:g=>{n(g.target.value)},autoComplete:"off"})}),f.jsx(We.AnimatePresence,{children:r&&f.jsx(We.motion.div,{initial:{opacity:0,y:-5},animate:{opacity:1,y:0},exit:{opacity:0,y:-5},transition:{duration:.15},children:f.jsx(se,{className:"pt-1 text-error-500",appearance:"custom",size:"extra-small",variant:"medium",children:r})})})]})};sh.displayName="DebounceInputField";const uh=l.forwardRef(({id:e,label:t,placeholder:n,value:r,onChange:i,errorMessage:a,defaultValue:o,required:s=!1,isRequiredConditional:u=!1,dataSource:c,dataKey:d,tags:h,tooltip:m="",originalCase:p=!1,color:g="",isGTN:b=!1,gtnName:v,isAiExtracted:x=!1,labelClassName:y,disabled:C=!1,isLiveField:M=!1,onAddGTNToDocument:E,riskDetails:w,isRiskAnalysisOpen:z=!1,RiskDetailsCard:I,primaryColorShades:k,isRecording:F=!1,isPlaying:N=!1,setDisableActions:B,showDeprecatedFieldWarning:H,DynamicDataModal:L},S)=>{const{t:T}=tn(),[G,O]=l.useState(!1),[_,A]=l.useState(r),[$,W]=l.useState(!1),D=l.useRef(null),X=S||D,K=()=>{B?.(!$),W(!$)},ae=J=>{if(J.keyCode===9||J.key==="Enter"){const fe=X.current||D.current;fe&&(_!==null&&i(_),A(_),fe.blur())}},R=()=>{A(""),i("")},ue=J=>{E&&v&&E({key:v,value:J})},U=()=>{const J="border h-[32px] text-sm rounded-lg block w-full p-2.5 font-inter font-medium",fe=a?"border-red-300":z&&w?.color?`border-${w?.color}-300`:"border-gray-300 dark:border-black-600",ee="placeholder:text-neutral-900 dark:placeholder:text-black-400",be=`${z&&w?.color?`bg-${w?.color}-50`:"bg-gray-200 dark:bg-black-600 "} ${g||"text-neutral-900 dark:text-black-200"}`;return`${J} ${fe} ${be} ${ee}`};return l.useEffect(()=>{$&&!c&&(H?.(),W(!1))},[$,c,H]),l.useEffect(()=>{A(r)},[r]),f.jsxs("div",{className:Y("flex gap-0.5 w-full relative",G&&b?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",{"error-field":!!a}),onMouseEnter:()=>O(!0),onMouseLeave:()=>O(!1),children:[b&&!G?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("flex flex-col w-full"),children:[f.jsx("label",{htmlFor:"text",className:`text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${p?"":"capitalize"} ${y||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{variant:"medium",size:"extra-small",appearance:"subtitle",children:[t,s&&f.jsx(Nt,{isConditional:u})]}),M&&f.jsx(Ue.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),x&&f.jsx(ln,{}),f.jsx(St,{labels:h}),m&&f.jsx(et,{placement:"top",title:m,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),b&&G&&E?f.jsx("button",{id:"btn-dynamic-data-input-add-to-document",className:"cursor-pointer",onClick:()=>ue(r?.toString()||""),type:"button",children:f.jsx(Be.Tooltip,{placement:"top",title:T("Add to document"),children:f.jsx(Ue.NoteAddOutlined,{sx:{fontSize:16,color:k?.[600]||"var(--color-primary-600)"}})})}):null]})}),f.jsxs("label",{className:"relative block mt-1",children:[f.jsx("input",{id:e,ref:X,required:s,placeholder:n,className:U(),onChange:J=>{i(J.target.value),A(J.target?.value)},onKeyDown:ae,value:_!==null?_:r,defaultValue:o,disabled:!0}),f.jsx(rl,{id:"btn-dynamic-data-input-rx-cross",onClick:R,className:"absolute inset-y-0 right-1 flex items-center px-2 focus:border-transparent",variant:"ghost",disabled:C,children:f.jsx(Ue.CloseRounded,{className:"text-neutral-900 dark:text-black-300",sx:{fontSize:16}})}),f.jsx(rl,{id:"btn-dynamic-data-input-ai-outline-pic-center",onClick:K,className:"absolute inset-y-0 right-8 flex items-center px-2 focus:border-transparent",variant:"ghost",disabled:C,children:f.jsx(Ue.TableChartRounded,{className:"text-neutral-900 dark:text-black-300",sx:{fontSize:16}})})]}),a&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:a}),$&&L&&f.jsx(L,{isVisible:$,onSelect:J=>{i(J),A(J)},onClose:K,dataKey:d,dataSource:c})]}),G&&w&&z&&I&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:J=>J.stopPropagation(),onMouseDown:J=>J.preventDefault(),onKeyDown:J=>{J.key==="Escape"&&O(!1)},children:f.jsx(I,{riskDetails:w})})]})});uh.displayName="DynamicDataInputField";function ch(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ch(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function xn(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ch(e))&&(r&&(r+=" "),r+=t);return r}const ci=e=>typeof e=="number"&&!isNaN(e),tr=e=>typeof e=="string",Lt=e=>typeof e=="function",jl=e=>tr(e)||Lt(e)?e:null,Oo=e=>l.isValidElement(e)||tr(e)||Lt(e)||ci(e);function bC(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}function Pl(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:a=300}=e;return function(o){let{children:s,position:u,preventExitTransition:c,done:d,nodeRef:h,isIn:m,playToast:p}=o;const g=r?`${t}--${u}`:t,b=r?`${n}--${u}`:n,v=l.useRef(0);return l.useLayoutEffect(()=>{const x=h.current,y=g.split(" "),C=M=>{M.target===h.current&&(p(),x.removeEventListener("animationend",C),x.removeEventListener("animationcancel",C),v.current===0&&M.type!=="animationcancel"&&x.classList.remove(...y))};x.classList.add(...y),x.addEventListener("animationend",C),x.addEventListener("animationcancel",C)},[]),l.useEffect(()=>{const x=h.current,y=()=>{x.removeEventListener("animationend",y),i?bC(x,d,a):d()};m||(c?y():(v.current=1,x.className+=` ${b}`,x.addEventListener("animationend",y)))},[m]),l.createElement(l.Fragment,null,s)}}function dh(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const gt=new Map;let di=[];const Vo=new Set,xC=e=>Vo.forEach(t=>t(e)),fh=()=>gt.size>0;function hh(e,t){var n;if(t)return!((n=gt.get(t))==null||!n.isToastActive(e));let r=!1;return gt.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function mh(e,t){Oo(e)&&(fh()||di.push({content:e,options:t}),gt.forEach(n=>{n.buildToast(e,t)}))}function ph(e,t){gt.forEach(n=>{t!=null&&t!=null&&t.containerId?t?.containerId===n.id&&n.toggle(e,t?.id):n.toggle(e,t?.id)})}function wC(e){const{subscribe:t,getSnapshot:n,setProps:r}=l.useRef(function(a){const o=a.containerId||1;return{subscribe(s){const u=function(d,h,m){let p=1,g=0,b=[],v=[],x=[],y=h;const C=new Map,M=new Set,E=()=>{x=Array.from(C.values()),M.forEach(I=>I())},w=I=>{v=I==null?[]:v.filter(k=>k!==I),E()},z=I=>{const{toastId:k,onOpen:F,updateId:N,children:B}=I.props,H=N==null;I.staleId&&C.delete(I.staleId),C.set(k,I),v=[...v,I.props.toastId].filter(L=>L!==I.staleId),E(),m(dh(I,H?"added":"updated")),H&&Lt(F)&&F(l.isValidElement(B)&&B.props)};return{id:d,props:y,observe:I=>(M.add(I),()=>M.delete(I)),toggle:(I,k)=>{C.forEach(F=>{k!=null&&k!==F.props.toastId||Lt(F.toggle)&&F.toggle(I)})},removeToast:w,toasts:C,clearQueue:()=>{g-=b.length,b=[]},buildToast:(I,k)=>{if((W=>{let{containerId:D,toastId:X,updateId:K}=W;const ae=D?D!==d:d!==1,R=C.has(X)&&K==null;return ae||R})(k))return;const{toastId:F,updateId:N,data:B,staleId:H,delay:L}=k,S=()=>{w(F)},T=N==null;T&&g++;const G={...y,style:y.toastStyle,key:p++,...Object.fromEntries(Object.entries(k).filter(W=>{let[D,X]=W;return X!=null})),toastId:F,updateId:N,data:B,closeToast:S,isIn:!1,className:jl(k.className||y.toastClassName),bodyClassName:jl(k.bodyClassName||y.bodyClassName),progressClassName:jl(k.progressClassName||y.progressClassName),autoClose:!k.isLoading&&(O=k.autoClose,_=y.autoClose,O===!1||ci(O)&&O>0?O:_),deleteToast(){const W=C.get(F),{onClose:D,children:X}=W.props;Lt(D)&&D(l.isValidElement(X)&&X.props),m(dh(W,"removed")),C.delete(F),g--,g<0&&(g=0),b.length>0?z(b.shift()):E()}};var O,_;G.closeButton=y.closeButton,k.closeButton===!1||Oo(k.closeButton)?G.closeButton=k.closeButton:k.closeButton===!0&&(G.closeButton=!Oo(y.closeButton)||y.closeButton);let A=I;l.isValidElement(I)&&!tr(I.type)?A=l.cloneElement(I,{closeToast:S,toastProps:G,data:B}):Lt(I)&&(A=I({closeToast:S,toastProps:G,data:B}));const $={content:A,props:G,staleId:H};y.limit&&y.limit>0&&g>y.limit&&T?b.push($):ci(L)?setTimeout(()=>{z($)},L):z($)},setProps(I){y=I},setToggle:(I,k)=>{C.get(I).toggle=k},isToastActive:I=>v.some(k=>k===I),getSnapshot:()=>x}}(o,a,xC);gt.set(o,u);const c=u.observe(s);return di.forEach(d=>mh(d.content,d.options)),di=[],()=>{c(),gt.delete(o)}},setProps(s){var u;(u=gt.get(o))==null||u.setProps(s)},getSnapshot(){var s;return(s=gt.get(o))==null?void 0:s.getSnapshot()}}}(e)).current;r(e);const i=l.useSyncExternalStore(t,n,n);return{getToastToRender:function(a){if(!i)return[];const o=new Map;return e.newestOnTop&&i.reverse(),i.forEach(s=>{const{position:u}=s.props;o.has(u)||o.set(u,[]),o.get(u).push(s)}),Array.from(o,s=>a(s[0],s[1]))},isToastActive:hh,count:i?.length}}function yC(e){const[t,n]=l.useState(!1),[r,i]=l.useState(!1),a=l.useRef(null),o=l.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:s,pauseOnHover:u,closeToast:c,onClick:d,closeOnClick:h}=e;var m,p;function g(){n(!0)}function b(){n(!1)}function v(C){const M=a.current;o.canDrag&&M&&(o.didMove=!0,t&&b(),o.delta=e.draggableDirection==="x"?C.clientX-o.start:C.clientY-o.start,o.start!==C.clientX&&(o.canCloseOnClick=!1),M.style.transform=`translate3d(${e.draggableDirection==="x"?`${o.delta}px, var(--y)`:`0, calc(${o.delta}px + var(--y))`},0)`,M.style.opacity=""+(1-Math.abs(o.delta/o.removalDistance)))}function x(){document.removeEventListener("pointermove",v),document.removeEventListener("pointerup",x);const C=a.current;if(o.canDrag&&o.didMove&&C){if(o.canDrag=!1,Math.abs(o.delta)>o.removalDistance)return i(!0),e.closeToast(),void e.collapseAll();C.style.transition="transform 0.2s, opacity 0.2s",C.style.removeProperty("transform"),C.style.removeProperty("opacity")}}(p=gt.get((m={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||p.setToggle(m.id,m.fn),l.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||b(),window.addEventListener("focus",g),window.addEventListener("blur",b),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",b)}},[e.pauseOnFocusLoss]);const y={onPointerDown:function(C){if(e.draggable===!0||e.draggable===C.pointerType){o.didMove=!1,document.addEventListener("pointermove",v),document.addEventListener("pointerup",x);const M=a.current;o.canCloseOnClick=!0,o.canDrag=!0,M.style.transition="none",e.draggableDirection==="x"?(o.start=C.clientX,o.removalDistance=M.offsetWidth*(e.draggablePercent/100)):(o.start=C.clientY,o.removalDistance=M.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(C){const{top:M,bottom:E,left:w,right:z}=a.current.getBoundingClientRect();C.nativeEvent.type!=="touchend"&&e.pauseOnHover&&C.clientX>=w&&C.clientX<=z&&C.clientY>=M&&C.clientY<=E?b():g()}};return s&&u&&(y.onMouseEnter=b,e.stacked||(y.onMouseLeave=g)),h&&(y.onClick=C=>{d&&d(C),o.canCloseOnClick&&c()}),{playToast:g,pauseToast:b,isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:y}}function EC(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:a,className:o,style:s,controlledProgress:u,progress:c,rtl:d,isIn:h,theme:m}=e;const p=a||u&&c===0,g={...s,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};u&&(g.transform=`scaleX(${c})`);const b=xn("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),v=Lt(o)?o({rtl:d,type:i,defaultClassName:b}):xn(b,o),x={[u&&c>=1?"onTransitionEnd":"onAnimationEnd"]:u&&c<1?null:()=>{h&&r()}};return l.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":p},l.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${i}`}),l.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:v,style:g,...x}))}let CC=1;const gh=()=>""+CC++;function kC(e){return e&&(tr(e.toastId)||ci(e.toastId))?e.toastId:gh()}function fi(e,t){return mh(e,t),t.toastId}function Ol(e,t){return{...t,type:t&&t.type||e,toastId:kC(t)}}function Vl(e){return(t,n)=>fi(t,Ol(e,n))}function Fe(e,t){return fi(e,Ol("default",t))}Fe.loading=(e,t)=>fi(e,Ol("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Fe.promise=function(e,t,n){let r,{pending:i,error:a,success:o}=t;i&&(r=tr(i)?Fe.loading(i,n):Fe.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,h,m)=>{if(h==null)return void Fe.dismiss(r);const p={type:d,...s,...n,data:m},g=tr(h)?{render:h}:h;return r?Fe.update(r,{...p,...g}):Fe(g.render,{...p,...g}),m},c=Lt(e)?e():e;return c.then(d=>u("success",o,d)).catch(d=>u("error",a,d)),c},Fe.success=Vl("success"),Fe.info=Vl("info"),Fe.error=Vl("error"),Fe.warning=Vl("warning"),Fe.warn=Fe.warning,Fe.dark=(e,t)=>fi(e,Ol("default",{theme:"dark",...t})),Fe.dismiss=function(e){(function(t){var n;if(fh()){if(t==null||tr(n=t)||ci(n))gt.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=gt.get(t.containerId);r?r.removeToast(t.id):gt.forEach(i=>{i.removeToast(t.id)})}}else di=di.filter(r=>t!=null&&r.options.toastId!==t)})(e)},Fe.clearWaitingQueue=function(e){e===void 0&&(e={}),gt.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},Fe.isActive=hh,Fe.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var a;let{containerId:o}=i;return(a=gt.get(o||1))==null?void 0:a.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:gh()};a.toastId!==e&&(a.staleId=e);const o=a.render||i;delete a.render,fi(o,a)}},Fe.done=e=>{Fe.update(e,{progress:1})},Fe.onChange=function(e){return Vo.add(e),()=>{Vo.delete(e)}},Fe.play=e=>ph(!0,e),Fe.pause=e=>ph(!1,e);const IC=typeof window<"u"?l.useLayoutEffect:l.useEffect,Gl=e=>{let{theme:t,type:n,isLoading:r,...i}=e;return l.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},Go={info:function(e){return l.createElement(Gl,{...e},l.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return l.createElement(Gl,{...e},l.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return l.createElement(Gl,{...e},l.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return l.createElement(Gl,{...e},l.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return l.createElement("div",{className:"Toastify__spinner"})}},zC=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:a}=yC(e),{closeButton:o,children:s,autoClose:u,onClick:c,type:d,hideProgressBar:h,closeToast:m,transition:p,position:g,className:b,style:v,bodyClassName:x,bodyStyle:y,progressClassName:C,progressStyle:M,updateId:E,role:w,progress:z,rtl:I,toastId:k,deleteToast:F,isIn:N,isLoading:B,closeOnClick:H,theme:L}=e,S=xn("Toastify__toast",`Toastify__toast-theme--${L}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":I},{"Toastify__toast--close-on-click":H}),T=Lt(b)?b({rtl:I,position:g,type:d,defaultClassName:S}):xn(S,b),G=function($){let{theme:W,type:D,isLoading:X,icon:K}=$,ae=null;const R={theme:W,type:D};return K===!1||(Lt(K)?ae=K({...R,isLoading:X}):l.isValidElement(K)?ae=l.cloneElement(K,R):X?ae=Go.spinner():(ue=>ue in Go)(D)&&(ae=Go[D](R))),ae}(e),O=!!z||!u,_={closeToast:m,type:d,theme:L};let A=null;return o===!1||(A=Lt(o)?o(_):l.isValidElement(o)?l.cloneElement(o,_):function($){let{closeToast:W,theme:D,ariaLabel:X="close"}=$;return l.createElement("button",{className:`Toastify__close-button Toastify__close-button--${D}`,type:"button",onClick:K=>{K.stopPropagation(),W(K)},"aria-label":X},l.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},l.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(_)),l.createElement(p,{isIn:N,done:F,position:g,preventExitTransition:n,nodeRef:r,playToast:a},l.createElement("div",{id:k,onClick:c,"data-in":N,className:T,...i,style:v,ref:r},l.createElement("div",{...N&&{role:w},className:Lt(x)?x({type:d}):xn("Toastify__toast-body",x),style:y},G!=null&&l.createElement("div",{className:xn("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!B})},G),l.createElement("div",null,s)),A,l.createElement(EC,{...E&&!O?{key:`pb-${E}`}:{},rtl:I,theme:L,delay:u,isRunning:t,isIn:N,closeToast:m,hide:h,type:d,style:M,className:C,controlledProgress:O,progress:z||0})))},_l=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},FC=Pl(_l("bounce",!0)),MC=Pl(_l("slide",!0));Pl(_l("zoom")),Pl(_l("flip"));const SC={position:"top-right",transition:FC,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function AC(e){let t={...SC,...e};const n=e.stacked,[r,i]=l.useState(!0),a=l.useRef(null),{getToastToRender:o,isToastActive:s,count:u}=wC(t),{className:c,style:d,rtl:h,containerId:m}=t;function p(b){const v=xn("Toastify__toast-container",`Toastify__toast-container--${b}`,{"Toastify__toast-container--rtl":h});return Lt(c)?c({position:b,rtl:h,defaultClassName:v}):xn(v,jl(c))}function g(){n&&(i(!0),Fe.play())}return IC(()=>{if(n){var b;const v=a.current.querySelectorAll('[data-in="true"]'),x=12,y=(b=t.position)==null?void 0:b.includes("top");let C=0,M=0;Array.from(v).reverse().forEach((E,w)=>{const z=E;z.classList.add("Toastify__toast--stacked"),w>0&&(z.dataset.collapsed=`${r}`),z.dataset.pos||(z.dataset.pos=y?"top":"bot");const I=C*(r?.2:1)+(r?0:x*w);z.style.setProperty("--y",`${y?I:-1*I}px`),z.style.setProperty("--g",`${x}`),z.style.setProperty("--s",""+(1-(r?M:0))),C+=z.offsetHeight,M+=.025})}},[r,u,n]),l.createElement("div",{ref:a,className:"Toastify",id:m,onMouseEnter:()=>{n&&(i(!1),Fe.pause())},onMouseLeave:g},o((b,v)=>{const x=v.length?{...d}:{...d,pointerEvents:"none"};return l.createElement("div",{className:p(b),style:x,key:`container-${b}`},v.map(y=>{let{content:C,props:M}=y;return l.createElement(zC,{...M,stacked:n,collapseAll:g,isIn:s(M.toastId,M.containerId),style:M.style,key:`toast-${M.key}`},C)}))}))}function vh(e){return Er({attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"currentColor"},child:[]},{tag:"path",attr:{d:"M2 12C2 6.47715 6.47715 2 12 2V5C8.13401 5 5 8.13401 5 12H2Z",fill:"currentColor"},child:[]}]})(e)}const Kt=({status:e="primary",appearance:t,className:n,disabled:r,children:i,isLoading:a,title:o,id:s,onClick:u,onKeyDown:c,badge:d,type:h="button",options:m,tooltip:p,tooltipPlacement:g="top",theme:b="light"})=>{const v=l.useCallback(()=>{switch(t){case"outline":return C();case"ghost":return M();case"dashed":return E();default:return y()}},[t,e,r,b]),x=l.useCallback(()=>{switch(t){case"dashed":return w();default:return{}}},[t,e,r,b]),y=l.useCallback(()=>{switch(e){case"primary":return"bg-primary-600 text-white focus:border-primary-200 hover:bg-primary-700 disabled:opacity-60";case"secondary":return"bg-primary-50 dark:bg-black-800 text-primary-600 dark:hover:text-primary-400 border border-primary-200 dark:border-primary-600 hover:bg-primary-100 dark:hover:bg-black-800 focus:border-primary-200 hover:border-primary-200 dark:hover:border-primary-400 disabled:opacity-60";case"error":return"bg-error-600 dark:bg-error-500 text-white hover:bg-error-700 dark:hover:bg-error-600 focus:!border-error-300 dark:focus:!border-error-600 dark:focus:bg-error-800 disabled:opacity-60";case"error-secondary":return"bg-error-100 dark:bg-black-800 text-error-600 border !border-error-300 dark:!border-error-900 hover:bg-error-200 focus:!border-error-300 dark:focus:!border-error-400 disabled:opacity-60";case"secondary-neutral":return"bg-white dark:bg-black-800 text-neutral-900 border border-neutral-300 dark:border-black-600 dark:hover:bg-black-600 dark:text-black-200 hover:bg-neutral-100 focus:border-primary-200 disabled:opacity-60";case"warning":return"bg-warning-300 dark:bg-warning-600 text-white border-warning-300 border hover:bg-warning-400 disabled:opacity-60";case"success":return"bg-success-600 text-white border-success-600 border hover:bg-success-700 disabled:opacity-60";case"publish":return"bg-teal-800 text-white border-teal-800 border hover:bg-teal-900 disabled:opacity-60";case"no-background":return"bg-transparent text-neutral-900 dark:text-black-100 border-transparent border";default:return"bg-white dark:bg-black-800 text-neutral-900 dark:text-white border-white border hover:bg-neutral-100 dark:hover:bg-black-600 disabled:opacity-60"}},[e,r,b]),C=l.useCallback(()=>{switch(e){case"primary":return"text-primary-700 dark:text-primary-600 border-primary-700 border dark:border-primary-600 hover:bg-primary-100 disabled:opacity-60";case"secondary":return"text-primary-700 dark:text-primary-600 border-primary-100 dark:border-primary-600 border bg-primary-50 dark:bg-black-800 hover:bg-primary-100 disabled:opacity-60";case"secondary-neutral":return"text-neutral-900 dark:text-white border-neutral-300 dark:border-neutral-700 border bg-white dark:bg-black-800 hover:bg-neutral-100 dark:hover:bg-black-600 disabled:opacity-60";case"error":return"text-error-600 dark:text-error-500 !border-error-600 dark:!border-error-500 border hover:bg-[#FEF3F2] disabled:opacity-60";case"warning":return"text-warning-300 dark:text-warning-500 border-warning-300 dark:border-warning-500 border hover:bg-[#FFFAEB] disabled:opacity-60";case"success":return"text-success-600 dark:text-success-500 border-success-600 dark:border-success-500 border hover:bg-[#ECFDF3] disabled:opacity-60";default:return"bg-white dark:bg-black-800 text-neutral-900 dark:text-white border-neutral-300 dark:border-neutral-700 border hover:bg-neutral-100 dark:hover:bg-black-600 disabled:opacity-60"}},[e,b]),M=l.useCallback(()=>{switch(e){case"primary":return"text-primary-700 dark:text-primary-600 border border-transparent dark:border-transparent hover:text-primary-700 disabled:opacity-60";case"secondary":return"text-primary-50 dark:text-primary-900 border border-transparent dark:border-transparent hover:text-primary-100 disabled:opacity-60";case"error":return"text-error-600 dark:text-error-500 border border-transparent dark:border-transparent hover:text-error-600 disabled:opacity-60";case"warning":return"text-warning-300 dark:text-warning-500 border border-transparent dark:border-transparent hover:text-warning-400 disabled:opacity-60";case"success":return"text-success-600 dark:text-success-500 border border-transparent dark:border-transparent hover:text-success-700 disabled:opacity-60";default:return"text-neutral-900 dark:text-white border border-transparent dark:border-transparent hover:text-[#667085] disabled:opacity-60"}},[e,b]),E=l.useCallback(()=>{switch(e){case"primary":return"bg-primary-50 dark:bg-black-700 text-primary-600 dark:text-primary-600 disabled:text-primary-100 hover:bg-primary-100 dark:hover:bg-black-600";default:return"bg-primary-50 dark:bg-black-700 text-primary-600 dark:text-primary-600 disabled:text-primary-100 hover:bg-primary-100 dark:hover:bg-black-600"}},[e,b]),w=l.useCallback(()=>{switch(e){case"primary":return{backgroundImage:"repeating-linear-gradient(3deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px), repeating-linear-gradient(93deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px), repeating-linear-gradient(183deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px), repeating-linear-gradient(273deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px)",backgroundSize:"1px 100%, 100% 1px, 1px 100% , 100% 1px",backgroundPosition:"0 0, 0 0, 100% 0, 0 100%",backgroundRepeat:"no-repeat"};default:return{}}},[e,b]),z=()=>f.jsx(f.Fragment,{children:f.jsx(vh,{size:24,className:"inline mr-2 spinner"})});return f.jsx(et,{title:p,placement:g,delayShow:!0,children:f.jsxs("button",{className:`
89
+ `,children:f.jsx(r,{style:{width:"110%",height:"110%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},LE=e=>{const t=e.slice(0,2),n=si[t];return n?f.jsx("div",{className:"w-4 h-4 rounded-full overflow-hidden flex items-center justify-center relative",children:f.jsx(n,{style:{width:"120%",height:"120%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},TE=e=>{const t=e.slice(0,2),n=si[t];return n?f.jsx("div",{className:"w-7 h-5 rounded-md overflow-hidden border border-neutral-300 dark:border-neutral-300 flex items-center justify-center relative",children:f.jsx(n,{style:{width:"110%",height:"110%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},BE=e=>{const t=e.slice(0,2),n=si[t];return n?f.jsx("div",{className:"w-4 h-3 rounded-sm overflow-hidden border border-neutral-300 dark:border-neutral-300 flex items-center justify-center relative",children:f.jsx(n,{style:{width:"120%",height:"120%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},HE=e=>{const t=e.slice(0,2),n=si[t];return n?f.jsx("div",{className:"w-5 h-4 rounded-sm overflow-hidden border border-neutral-300 dark:border-neutral-300 flex items-center justify-center relative",children:f.jsx(n,{style:{width:"115%",height:"115%",transform:"translate(-50%, -50%)",position:"absolute",top:"50%",left:"50%"}})}):null},Uf=l.forwardRef(({id:e,label:t,value:n,onChange:r,errorMessage:i,defaultValue:a,required:o=!1,isRequiredConditional:s=!1,tags:u,className:c,originalCase:d=!1,tooltip:h,simpleMode:m=!1,inputFieldClassName:p="",isAiExtracted:g=!1,isGTN:b=!1,gtnName:v=null,allowMultiCurrency:x=!1,placeholder:y,disabled:C=!1,currencyCode:M="USD",inputStyle:E,labelClassName:w,isLiveField:z=!1,onBlur:I,autoFocus:k=!1,isRecording:F=!1,isPlaying:N=!1,onAddGTNToDocument:B,riskDetails:H,isRiskAnalysisOpen:L=!1,RiskDetailsCard:S,...T},G)=>{const{t:O}=tn(),[_,A]=l.useState(!1),[$,W]=l.useState([]),[D,X]=l.useState(""),[K,ae]=l.useState(M||"USD"),[R,ue]=l.useState(!1),U=Q=>{B&&B({key:v,value:Q})},J=Q=>{if(Q==null)return"";const oe=Number(Q);return isNaN(oe)?Q:oe?.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})},fe=Q=>{const oe=Q.target.value,Ce=oe===""||oe===null||oe===void 0?0:Number(oe);r(Ce,K);const Qe=document.getElementById(e);if(Qe&&Qe.setAttribute("data-selected-value",JSON.stringify({value:Ce,currency_code:K})),Qe&&(F||N)){const Re=new CustomEvent("pilot-change",{bubbles:!0,detail:{selector:`#${e}`,value:{value:Ce,currency_code:K},type:"change"}});Qe.dispatchEvent(Re)}},ee=()=>{A(!0)},be=()=>{A(!1),(n==null||n==="")&&fe({target:{value:"0.00"}}),I?.()},je=()=>{const Q="pl-11 border h-[32px] text-sm rounded-lg block w-full p-2.5 font-inter font-medium text-neutral-900 dark:text-black-200 disabled:bg-neutral-50 dark:disabled:!bg-black-800 dark:disabled:placeholder:!text-black-400",oe=i?"border-red-300":L&&H?.color?`border-${H.color}-300`:"border-gray-300 dark:border-black-600",Ce=`${L&&H?.color?`bg-${H.color}-50`:"bg-white dark:bg-black-600"}`;return`${Q} ${oe} ${Ce} ${p}`};return l.useEffect(()=>{M&&ae(M)},[M]),l.useEffect(()=>{if(K){const Q=n===""||n===null||n===void 0?0:Number(n);M!==K&&r(Q,K);const oe=document.getElementById(e);if(oe&&(oe.setAttribute("data-selected-value",JSON.stringify({value:Q,currency_code:K})),F||N)){const Ce=new CustomEvent("pilot-change",{bubbles:!0,detail:{selector:`#${e}`,value:{value:Q,currency_code:K},type:"change"}});oe.dispatchEvent(Ce)}}},[K]),l.useEffect(()=>{const Q=Jc.filter(oe=>(oe.value+" - "+oe.label).toLowerCase().includes(D.toLowerCase())).map(oe=>({label:f.jsx(Fl,{text:`${oe.value} - ${oe.label}`,icon:Ml(oe.value),showTick:K===oe.value,onClick:()=>ae(oe.value),className:"text-black-900 dark:text-white"}),key:oe.value}));W(Q)},[D,K]),l.useEffect(()=>{X("")},[K]),m?f.jsxs("label",{id:e,className:`mb-1 text-xs font-medium text-gray-600 h-full inline-flex items-center gap-1 ${d?"":"capitalize"} ${w||""}`,children:[f.jsx("span",{className:"absolute inset-y-0 left-1 top-0.5 flex items-center pl-3",children:"$"}),f.jsx("input",{...T,ref:G,type:_?"number":"text",required:o,className:Y(p,"pl-8 h-[32px]"),onChange:fe,min:0,onFocus:ee,onBlur:be,value:_?n:J(n),...a&&!n?{defaultValue:_?a:J(a)}:{},id:e||t,autoFocus:k})]}):f.jsxs("div",{className:Y("flex gap-0.5 relative",R&&b?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>ue(!0),onMouseLeave:()=>ue(!1),children:[b&&!R?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("w-full flex flex-col",c),children:[f.jsx("label",{htmlFor:"text",className:`mb-1 text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${d?"":"uppercase"} ${w||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[t,o&&f.jsx(Nt,{isConditional:s})]}),z&&f.jsx(We.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),g&&f.jsx(ln,{}),f.jsx(St,{labels:u}),h&&f.jsx(et,{placement:"top",title:h,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),b&&R&&B?f.jsx("button",{id:"btn-currency-input-add-to-document",className:"cursor-pointer",onClick:()=>U(J(n)),type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:O("Add to document"),children:f.jsx(We.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}),f.jsxs("label",{className:"relative block",children:[f.jsx("span",{className:"absolute inset-y-0 left-1 flex items-center pl-3 text-neutral-900 dark:text-white",children:Kc[K]}),f.jsx("input",{...T,ref:G,placeholder:y,type:_?"number":"text",required:o,disabled:C,className:je(),onChange:fe,min:0,onFocus:ee,onBlur:be,value:_?n:J(n),defaultValue:_?a:J(a),id:e||t,style:E,autoComplete:"off",autoFocus:k}),f.jsx("span",{className:`absolute inset-y-0 right-2 flex items-center z-[1000px] h-full cursor-pointer dark:text-black-200 ${x?"cursor-pointer":""}`,children:x?f.jsx(Ne.Dropdown,{menu:{items:[{label:f.jsx("div",{className:"p-2",children:f.jsx(i0,{id:"search-bar-currency-input",value:D,onChange:Q=>X(Q),className:"mb-2"})}),onClick:Q=>{Q.stopPropagation()},key:"search"},...$]},trigger:["click"],overlayClassName:"row-option-cell",placement:"bottomRight",overlayStyle:{zIndex:999},getPopupContainer:Q=>Q.parentElement,popupRender:Q=>f.jsx("div",{style:{maxHeight:"200px",width:"330px",textOverflow:"ellipsis",overflowY:"auto",zIndex:"999px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",backgroundColor:"white dark:bg-black-700",borderRadius:"6px",border:"1px solid #f0f0f0 dark:border-black-600"},children:Q}),children:f.jsxs("div",{className:"pl-4 pr-2 py-1.5 text-sm text-gray-700 dark:text-black-200 flex items-center gap-1",children:[Ml(K)," ",K]})}):K})]}),i&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:i})]}),R&&H&&L&&S&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:Q=>Q.stopPropagation(),onMouseDown:Q=>Q.preventDefault(),onKeyDown:Q=>{Q.key==="Escape"&&ue(!1)},children:f.jsx(S,{riskDetails:H})})]})});Uf.displayName="CurrencyInputField";const Xf=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,message:s,messageType:u="default",wrapperClassName:c,inputClassName:d,labelClassName:h,helpText:m,size:p="medium",minDate:g,maxDate:b,startPlaceholder:v="Start date",endPlaceholder:x="End date",allowClear:y=!0,inputProps:C},M)=>{const E=n!==void 0?n:r||{startDate:null,endDate:null},w=()=>{switch(p){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},z=()=>u==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":u==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":u==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",I=()=>u==="error"?"text-red-500 dark:text-red-400":u==="success"?"text-green-500 dark:text-green-400":u==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",k=()=>{switch(p){case"small":return"extra-small";case"large":return"medium";default:return"small"}},F=G=>{if(!G)return"";const O=G.getFullYear(),_=String(G.getMonth()+1).padStart(2,"0"),A=String(G.getDate()).padStart(2,"0");return`${O}-${_}-${A}`},N=G=>{if(!G)return null;const O=new Date(G);return isNaN(O.getTime())?null:O},B=G=>{const O=N(G.target.value);i({startDate:O,endDate:E.endDate})},H=G=>{const O=N(G.target.value);i({startDate:E.startDate,endDate:O})},L=()=>{i({startDate:null,endDate:null})},S=G=>G?F(G):void 0,T=w();return f.jsxs("div",{className:Y("flex flex-col w-full",c),ref:M,children:[t&&f.jsx("label",{htmlFor:`${e}-start`,className:Y("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",h),children:f.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:f.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:f.jsxs(se,{variant:"medium",size:k(),appearance:"subtitle",children:[t,o&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&f.jsx(se,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("div",{className:"flex-1",children:f.jsx("input",{...C,id:`${e}-start`,type:"date",value:F(E.startDate),onChange:B,disabled:a,required:o,min:S(g),max:S(b),placeholder:v,className:Y("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",T.height,T.padding,T.fontSize,z(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":s&&u==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0})}),f.jsx("div",{className:"flex-shrink-0 text-neutral-500 dark:text-neutral-400",children:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 12H6"})})}),f.jsx("div",{className:"flex-1",children:f.jsx("input",{...C,id:`${e}-end`,type:"date",value:F(E.endDate),onChange:H,disabled:a,required:o,min:S(E.startDate||g),max:S(b),placeholder:x,className:Y("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",T.height,T.padding,T.fontSize,z(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":s&&u==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0})}),y&&(E.startDate||E.endDate)&&!a&&f.jsx("button",{type:"button",onClick:L,className:"flex-shrink-0 p-1 text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-200 transition-colors","aria-label":"Clear date range",children:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),f.jsx("div",{className:"absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-neutral-400 dark:text-neutral-500",children:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})}),f.jsx(Ue.AnimatePresence,{children:s&&f.jsx(Ue.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:u==="error"?"alert":void 0,children:f.jsx(se,{className:Y("mt-1",I()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&f.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});Xf.displayName="DateRange2";var Sl={exports:{}},jE=Sl.exports,Zf;function PE(){return Zf||(Zf=1,function(e,t){(function(n,r){e.exports=r()})(jE,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",o="second",s="minute",u="hour",c="day",d="week",h="month",m="quarter",p="year",g="date",b="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(L){var S=["th","st","nd","rd"],T=L%100;return"["+L+(S[(T-20)%10]||S[T]||S[0])+"]"}},C=function(L,S,T){var G=String(L);return!G||G.length>=S?L:""+Array(S+1-G.length).join(T)+L},M={s:C,z:function(L){var S=-L.utcOffset(),T=Math.abs(S),G=Math.floor(T/60),O=T%60;return(S<=0?"+":"-")+C(G,2,"0")+":"+C(O,2,"0")},m:function L(S,T){if(S.date()<T.date())return-L(T,S);var G=12*(T.year()-S.year())+(T.month()-S.month()),O=S.clone().add(G,h),_=T-O<0,A=S.clone().add(G+(_?-1:1),h);return+(-(G+(T-O)/(_?O-A:A-O))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:h,y:p,w:d,d:c,D:g,h:u,m:s,s:o,ms:a,Q:m}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},E="en",w={};w[E]=y;var z="$isDayjsObject",I=function(L){return L instanceof B||!(!L||!L[z])},k=function L(S,T,G){var O;if(!S)return E;if(typeof S=="string"){var _=S.toLowerCase();w[_]&&(O=_),T&&(w[_]=T,O=_);var A=S.split("-");if(!O&&A.length>1)return L(A[0])}else{var $=S.name;w[$]=S,O=$}return!G&&O&&(E=O),O||!G&&E},F=function(L,S){if(I(L))return L.clone();var T=typeof S=="object"?S:{};return T.date=L,T.args=arguments,new B(T)},N=M;N.l=k,N.i=I,N.w=function(L,S){return F(L,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var B=function(){function L(T){this.$L=k(T.locale,null,!0),this.parse(T),this.$x=this.$x||T.x||{},this[z]=!0}var S=L.prototype;return S.parse=function(T){this.$d=function(G){var O=G.date,_=G.utc;if(O===null)return new Date(NaN);if(N.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var A=O.match(v);if(A){var $=A[2]-1||0,W=(A[7]||"0").substring(0,3);return _?new Date(Date.UTC(A[1],$,A[3]||1,A[4]||0,A[5]||0,A[6]||0,W)):new Date(A[1],$,A[3]||1,A[4]||0,A[5]||0,A[6]||0,W)}}return new Date(O)}(T),this.init()},S.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},S.$utils=function(){return N},S.isValid=function(){return this.$d.toString()!==b},S.isSame=function(T,G){var O=F(T);return this.startOf(G)<=O&&O<=this.endOf(G)},S.isAfter=function(T,G){return F(T)<this.startOf(G)},S.isBefore=function(T,G){return this.endOf(G)<F(T)},S.$g=function(T,G,O){return N.u(T)?this[G]:this.set(O,T)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(T,G){var O=this,_=!!N.u(G)||G,A=N.p(T),$=function(U,J){var fe=N.w(O.$u?Date.UTC(O.$y,J,U):new Date(O.$y,J,U),O);return _?fe:fe.endOf(c)},W=function(U,J){return N.w(O.toDate()[U].apply(O.toDate("s"),(_?[0,0,0,0]:[23,59,59,999]).slice(J)),O)},D=this.$W,X=this.$M,K=this.$D,ae="set"+(this.$u?"UTC":"");switch(A){case p:return _?$(1,0):$(31,11);case h:return _?$(1,X):$(0,X+1);case d:var R=this.$locale().weekStart||0,ue=(D<R?D+7:D)-R;return $(_?K-ue:K+(6-ue),X);case c:case g:return W(ae+"Hours",0);case u:return W(ae+"Minutes",1);case s:return W(ae+"Seconds",2);case o:return W(ae+"Milliseconds",3);default:return this.clone()}},S.endOf=function(T){return this.startOf(T,!1)},S.$set=function(T,G){var O,_=N.p(T),A="set"+(this.$u?"UTC":""),$=(O={},O[c]=A+"Date",O[g]=A+"Date",O[h]=A+"Month",O[p]=A+"FullYear",O[u]=A+"Hours",O[s]=A+"Minutes",O[o]=A+"Seconds",O[a]=A+"Milliseconds",O)[_],W=_===c?this.$D+(G-this.$W):G;if(_===h||_===p){var D=this.clone().set(g,1);D.$d[$](W),D.init(),this.$d=D.set(g,Math.min(this.$D,D.daysInMonth())).$d}else $&&this.$d[$](W);return this.init(),this},S.set=function(T,G){return this.clone().$set(T,G)},S.get=function(T){return this[N.p(T)]()},S.add=function(T,G){var O,_=this;T=Number(T);var A=N.p(G),$=function(X){var K=F(_);return N.w(K.date(K.date()+Math.round(X*T)),_)};if(A===h)return this.set(h,this.$M+T);if(A===p)return this.set(p,this.$y+T);if(A===c)return $(1);if(A===d)return $(7);var W=(O={},O[s]=r,O[u]=i,O[o]=n,O)[A]||1,D=this.$d.getTime()+T*W;return N.w(D,this)},S.subtract=function(T,G){return this.add(-1*T,G)},S.format=function(T){var G=this,O=this.$locale();if(!this.isValid())return O.invalidDate||b;var _=T||"YYYY-MM-DDTHH:mm:ssZ",A=N.z(this),$=this.$H,W=this.$m,D=this.$M,X=O.weekdays,K=O.months,ae=O.meridiem,R=function(J,fe,ee,be){return J&&(J[fe]||J(G,_))||ee[fe].slice(0,be)},ue=function(J){return N.s($%12||12,J,"0")},U=ae||function(J,fe,ee){var be=J<12?"AM":"PM";return ee?be.toLowerCase():be};return _.replace(x,function(J,fe){return fe||function(ee){switch(ee){case"YY":return String(G.$y).slice(-2);case"YYYY":return N.s(G.$y,4,"0");case"M":return D+1;case"MM":return N.s(D+1,2,"0");case"MMM":return R(O.monthsShort,D,K,3);case"MMMM":return R(K,D);case"D":return G.$D;case"DD":return N.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return R(O.weekdaysMin,G.$W,X,2);case"ddd":return R(O.weekdaysShort,G.$W,X,3);case"dddd":return X[G.$W];case"H":return String($);case"HH":return N.s($,2,"0");case"h":return ue(1);case"hh":return ue(2);case"a":return U($,W,!0);case"A":return U($,W,!1);case"m":return String(W);case"mm":return N.s(W,2,"0");case"s":return String(G.$s);case"ss":return N.s(G.$s,2,"0");case"SSS":return N.s(G.$ms,3,"0");case"Z":return A}return null}(J)||A.replace(":","")})},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(T,G,O){var _,A=this,$=N.p(G),W=F(T),D=(W.utcOffset()-this.utcOffset())*r,X=this-W,K=function(){return N.m(A,W)};switch($){case p:_=K()/12;break;case h:_=K();break;case m:_=K()/3;break;case d:_=(X-D)/6048e5;break;case c:_=(X-D)/864e5;break;case u:_=X/i;break;case s:_=X/r;break;case o:_=X/n;break;default:_=X}return O?_:N.a(_)},S.daysInMonth=function(){return this.endOf(h).$D},S.$locale=function(){return w[this.$L]},S.locale=function(T,G){if(!T)return this.$L;var O=this.clone(),_=k(T,G,!0);return _&&(O.$L=_),O},S.clone=function(){return N.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},L}(),H=B.prototype;return F.prototype=H,[["$ms",a],["$s",o],["$m",s],["$H",u],["$W",c],["$M",h],["$y",p],["$D",g]].forEach(function(L){H[L[1]]=function(S){return this.$g(S,L[0],L[1])}}),F.extend=function(L,S){return L.$i||(L(S,B,F),L.$i=!0),F},F.locale=k,F.isDayjs=I,F.unix=function(L){return F(1e3*L)},F.en=w[E],F.Ls=w,F.p={},F})}(Sl)),Sl.exports}var OE=PE();const tt=Jt(OE);var Yf={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Jf=l.createContext&&l.createContext(Yf),VE=["attr","size","title"];function GE(e,t){if(e==null)return{};var n=_E(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _E(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Al.apply(this,arguments)}function Kf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Nl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Kf(Object(n),!0).forEach(function(r){$E(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $E(e,t,n){return t=WE(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WE(e){var t=UE(e,"string");return typeof t=="symbol"?t:t+""}function UE(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qf(e){return e&&e.map((t,n)=>l.createElement(t.tag,Nl({key:n},t.attr),qf(t.child)))}function Er(e){return t=>l.createElement(XE,Al({attr:Nl({},e.attr)},t),qf(e.child))}function XE(e){var t=n=>{var{attr:r,size:i,title:a}=e,o=GE(e,VE),s=i||n.size||"1em",u;return n.className&&(u=n.className),e.className&&(u=(u?u+" ":"")+e.className),l.createElement("svg",Al({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,o,{className:u,style:Nl(Nl({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&l.createElement("title",null,a),e.children)};return Jf!==void 0?l.createElement(Jf.Consumer,null,n=>t(n)):t(Yf)}function ZE(e){return Er({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7 11h2v2H7zm0 4h2v2H7zm4-4h2v2h-2zm0 4h2v2h-2zm4-4h2v2h-2zm0 4h2v2h-2z"},child:[]},{tag:"path",attr:{d:"M5 22h14c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2h-2V2h-2v2H9V2H7v2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2zM19 8l.001 12H5V8h14z"},child:[]}]})(e)}function YE(e){return Er({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8"},child:[]}]})(e)}function JE(e){return Er({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.6 11.85H0v3.999h.791v-1.342h.803q.43 0 .732-.173.305-.175.463-.474a1.4 1.4 0 0 0 .161-.677q0-.375-.158-.677a1.2 1.2 0 0 0-.46-.477q-.3-.18-.732-.179m.545 1.333a.8.8 0 0 1-.085.38.57.57 0 0 1-.238.241.8.8 0 0 1-.375.082H.788V12.48h.66q.327 0 .512.181.185.183.185.522m1.217-1.333v3.999h1.46q.602 0 .998-.237a1.45 1.45 0 0 0 .595-.689q.196-.45.196-1.084 0-.63-.196-1.075a1.43 1.43 0 0 0-.589-.68q-.396-.234-1.005-.234zm.791.645h.563q.371 0 .609.152a.9.9 0 0 1 .354.454q.118.302.118.753a2.3 2.3 0 0 1-.068.592 1.1 1.1 0 0 1-.196.422.8.8 0 0 1-.334.252 1.3 1.3 0 0 1-.483.082h-.563zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638z"},child:[]}]})(e)}const{RangePicker:KE}=Ne.DatePicker,qE={ENTER:"Enter"},Qf=()=>Math.random().toString(36).substring(2,9),QE=(e,t)=>{const n=l.useRef(t);l.useEffect(()=>{n.current=t},[t]),l.useEffect(()=>{const r=i=>n.current(i);return document.addEventListener(e,r),()=>{document.removeEventListener(e,r)}},[e])},Rf=({onCalendarChange:e=void 0,onChange:t,required:n,label:r,startDate:i,endDate:a,errorMessage:o,className:s,id:u,disabled:c=!1,dateFormat:d,shouldPopOnParent:h=!0,getPopupContainer:m,maxDateRange:p,open:g,onOpenChange:b,placement:v="bottomLeft",isDarkMode:x=!1})=>{const y=w=>w?tt(w):null,C=`date-range-start-${Qf()}`,M=`date-range-end-${Qf()}`;QE("keydown",w=>{if(w.key===qE.ENTER&&document.activeElement instanceof HTMLInputElement){if(document?.activeElement?.id===C){const z=tt(document?.activeElement?.value);z.isValid()&&t([z,y(a)])}if(document?.activeElement?.id===M){const z=tt(document?.activeElement?.value);z.isValid()&&t([y(i),z])}}});const E=l.useCallback(w=>{const[z,I]=[y(i),y(a)];return p?z?w.isBefore(z.startOf("day"))||w.isAfter(z.add(p,"day").endOf("day")):I?w.isBefore(I.subtract(p,"day").startOf("day"))||w.isAfter(I.endOf("day")):!1:!1},[i,a,p]);return f.jsxs("div",{id:u,className:Y("flex flex-col",s),children:[f.jsxs("label",{id:"date",htmlFor:"text",className:Y("block text-xs capitalize font-medium leading-5 font-inter font-xs",x?"text-gray-300":"text-gray-600"),children:[r,n&&f.jsx(Nt,{})]}),f.jsx(KE,{onChange:t,onCalendarChange:e,value:[y(i),y(a)],id:{start:C,end:M},allowClear:!0,format:d||"DD MMM, YYYY",separator:f.jsx(YE,{className:Y(x?"text-gray-100":"")}),suffixIcon:f.jsx(ZE,{className:Y(x?"text-gray-100":"")}),getPopupContainer:m||(h?w=>w.parentElement:()=>document.body),disabled:c,disabledDate:p?E:void 0,open:g,onOpenChange:b,autoComplete:"off",placement:v}),o&&f.jsx("p",{className:Y("text-sm font-inter font-normal text-left pt-[6px]","text-red-500"),children:o})]})};Rf.displayName="DateRange";var Dl={exports:{}},RE=Dl.exports,eh;function eC(){return eh||(eh=1,function(e,t){(function(n,r){e.exports=r()})(RE,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,a=/\d\d/,o=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,u={},c=function(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(x){this[v]=+x}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(x){if(!x||x==="Z")return 0;var y=x.match(/([+-]|\d\d)/g),C=60*y[1]+(+y[2]||0);return C===0?0:y[0]==="+"?-C:C}(v)}],m=function(v){var x=u[v];return x&&(x.indexOf?x:x.s.concat(x.f))},p=function(v,x){var y,C=u.meridiem;if(C){for(var M=1;M<=24;M+=1)if(v.indexOf(C(M,0,x))>-1){y=M>12;break}}else y=v===(x?"pm":"PM");return y},g={A:[s,function(v){this.afternoon=p(v,!1)}],a:[s,function(v){this.afternoon=p(v,!0)}],Q:[i,function(v){this.month=3*(v-1)+1}],S:[i,function(v){this.milliseconds=100*+v}],SS:[a,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[o,d("seconds")],ss:[o,d("seconds")],m:[o,d("minutes")],mm:[o,d("minutes")],H:[o,d("hours")],h:[o,d("hours")],HH:[o,d("hours")],hh:[o,d("hours")],D:[o,d("day")],DD:[a,d("day")],Do:[s,function(v){var x=u.ordinal,y=v.match(/\d+/);if(this.day=y[0],x)for(var C=1;C<=31;C+=1)x(C).replace(/\[|\]/g,"")===v&&(this.day=C)}],w:[o,d("week")],ww:[a,d("week")],M:[o,d("month")],MM:[a,d("month")],MMM:[s,function(v){var x=m("months"),y=(m("monthsShort")||x.map(function(C){return C.slice(0,3)})).indexOf(v)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[s,function(v){var x=m("months").indexOf(v)+1;if(x<1)throw new Error;this.month=x%12||x}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(v){this.year=c(v)}],YYYY:[/\d{4}/,d("year")],Z:h,ZZ:h};function b(v){var x,y;x=v,y=u&&u.formats;for(var C=(v=x.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(F,N,B){var H=B&&B.toUpperCase();return N||y[B]||n[B]||y[H].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(L,S,T){return S||T.slice(1)})})).match(r),M=C.length,E=0;E<M;E+=1){var w=C[E],z=g[w],I=z&&z[0],k=z&&z[1];C[E]=k?{regex:I,parser:k}:w.replace(/^\[|\]$/g,"")}return function(F){for(var N={},B=0,H=0;B<M;B+=1){var L=C[B];if(typeof L=="string")H+=L.length;else{var S=L.regex,T=L.parser,G=F.slice(H),O=S.exec(G)[0];T.call(N,O),F=F.replace(O,"")}}return function(_){var A=_.afternoon;if(A!==void 0){var $=_.hours;A?$<12&&(_.hours+=12):$===12&&(_.hours=0),delete _.afternoon}}(N),N}}return function(v,x,y){y.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(c=v.parseTwoDigitYear);var C=x.prototype,M=C.parse;C.parse=function(E){var w=E.date,z=E.utc,I=E.args;this.$u=z;var k=I[1];if(typeof k=="string"){var F=I[2]===!0,N=I[3]===!0,B=F||N,H=I[2];N&&(H=I[2]),u=this.$locale(),!F&&H&&(u=y.Ls[H]),this.$d=function(G,O,_,A){try{if(["x","X"].indexOf(O)>-1)return new Date((O==="X"?1e3:1)*G);var $=b(O)(G),W=$.year,D=$.month,X=$.day,K=$.hours,ae=$.minutes,R=$.seconds,ue=$.milliseconds,U=$.zone,J=$.week,fe=new Date,ee=X||(W||D?1:fe.getDate()),be=W||fe.getFullYear(),je=0;W&&!D||(je=D>0?D-1:fe.getMonth());var Q,oe=K||0,Ce=ae||0,Qe=R||0,Re=ue||0;return U?new Date(Date.UTC(be,je,ee,oe,Ce,Qe,Re+60*U.offset*1e3)):_?new Date(Date.UTC(be,je,ee,oe,Ce,Qe,Re)):(Q=new Date(be,je,ee,oe,Ce,Qe,Re),J&&(Q=A(Q).week(J).toDate()),Q)}catch{return new Date("")}}(w,k,z,y),this.init(),H&&H!==!0&&(this.$L=this.locale(H).$L),B&&w!=this.format(k)&&(this.$d=new Date("")),u={}}else if(k instanceof Array)for(var L=k.length,S=1;S<=L;S+=1){I[1]=k[S-1];var T=y.apply(this,I);if(T.isValid()){this.$d=T.$d,this.$L=T.$L,this.init();break}S===L&&(this.$d=new Date(""))}else M.call(this,E)}}})}(Dl)),Dl.exports}var tC=eC();const nC=Jt(tC);var Ll={exports:{}},rC=Ll.exports,th;function iC(){return th||(th=1,function(e,t){(function(n,r){e.exports=r()})(rC,function(){return function(n,r,i){var a=r.prototype,o=function(h){return h&&(h.indexOf?h:h.s)},s=function(h,m,p,g,b){var v=h.name?h:h.$locale(),x=o(v[m]),y=o(v[p]),C=x||y.map(function(E){return E.slice(0,g)});if(!b)return C;var M=v.weekStart;return C.map(function(E,w){return C[(w+(M||0))%7]})},u=function(){return i.Ls[i.locale()]},c=function(h,m){return h.formats[m]||function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,b,v){return b||v.slice(1)})}(h.formats[m.toUpperCase()])},d=function(){var h=this;return{months:function(m){return m?m.format("MMMM"):s(h,"months")},monthsShort:function(m){return m?m.format("MMM"):s(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(m){return m?m.format("dddd"):s(h,"weekdays")},weekdaysMin:function(m){return m?m.format("dd"):s(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(m){return m?m.format("ddd"):s(h,"weekdaysShort","weekdays",3)},longDateFormat:function(m){return c(h.$locale(),m)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return d.bind(this)()},i.localeData=function(){var h=u();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(m){return c(h,m)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return s(u(),"months")},i.monthsShort=function(){return s(u(),"monthsShort","months",3)},i.weekdays=function(h){return s(u(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return s(u(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return s(u(),"weekdaysMin","weekdays",2,h)}}})}(Ll)),Ll.exports}var lC=iC();const aC=Jt(lC);var Tl={exports:{}},oC=Tl.exports,nh;function sC(){return nh||(nh=1,function(e,t){(function(n,r){e.exports=r()})(oC,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,o,s){var u=o.prototype;s.utc=function(b){var v={date:b,utc:!0,args:arguments};return new o(v)},u.utc=function(b){var v=s(this.toDate(),{locale:this.$L,utc:!0});return b?v.add(this.utcOffset(),n):v},u.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(b){b.utc&&(this.$u=!0),this.$utils().u(b.$offset)||(this.$offset=b.$offset),c.call(this,b)};var d=u.init;u.init=function(){if(this.$u){var b=this.$d;this.$y=b.getUTCFullYear(),this.$M=b.getUTCMonth(),this.$D=b.getUTCDate(),this.$W=b.getUTCDay(),this.$H=b.getUTCHours(),this.$m=b.getUTCMinutes(),this.$s=b.getUTCSeconds(),this.$ms=b.getUTCMilliseconds()}else d.call(this)};var h=u.utcOffset;u.utcOffset=function(b,v){var x=this.$utils().u;if(x(b))return this.$u?0:x(this.$offset)?h.call(this):this.$offset;if(typeof b=="string"&&(b=function(E){E===void 0&&(E="");var w=E.match(r);if(!w)return null;var z=(""+w[0]).match(i)||["-",0,0],I=z[0],k=60*+z[1]+ +z[2];return k===0?0:I==="+"?k:-k}(b),b===null))return this;var y=Math.abs(b)<=16?60*b:b,C=this;if(v)return C.$offset=y,C.$u=b===0,C;if(b!==0){var M=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(C=this.local().add(y+M,n)).$offset=y,C.$x.$localOffset=M}else C=this.utc();return C};var m=u.format;u.format=function(b){var v=b||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,v)},u.valueOf=function(){var b=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*b},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var p=u.toDate;u.toDate=function(b){return b==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=u.diff;u.diff=function(b,v,x){if(b&&this.$u===b.$u)return g.call(this,b,v,x);var y=this.local(),C=s(b).local();return g.call(y,C,v,x)}}})}(Tl)),Tl.exports}var uC=sC();const cC=Jt(uC);var Bl={exports:{}},dC=Bl.exports,rh;function fC(){return rh||(rh=1,function(e,t){(function(n,r){e.exports=r()})(dC,function(){return function(n,r){r.prototype.weekday=function(i){var a=this.$locale().weekStart||0,o=this.$W,s=(o<a?o+7:o)-a;return this.$utils().u(i)?s:this.subtract(s,"day").add(i,"day")}}})}(Bl)),Bl.exports}var hC=fC();const mC=Jt(hC);tt.extend(cC),tt.extend(nC),tt.extend(mC),tt.extend(aC);const ih="MM/DD/YYYY",Hl="MM/DD/YYYY - hh:mm A",pC={ENTER:"Enter"},lh=["MM/DD/YYYY","M/DD/YYYY","MM/D/YYYY","M/D/YYYY","MM/DD/YY","M/DD/YY","MM/D/YY","M/D/YY","YYYY-MM-DD","YYYY-MM-DDTHH:mm:ss.SSSZ","YYYY-MM-DDTHH:mm:ssZ"],gC=["MM/DD/YYYY - hh:mm A","M/DD/YYYY - hh:mm A","MM/D/YYYY - hh:mm A","M/D/YYYY - hh:mm A","MM/DD/YYYY hh:mm A","M/DD/YYYY hh:mm A","MM/D/YYYY hh:mm A","M/D/YYYY hh:mm A","MM/DD/YYYY HH:mm","M/DD/YYYY HH:mm","MM/D/YYYY HH:mm","M/D/YYYY HH:mm","MM/DD/YY - hh:mm A","M/DD/YY - hh:mm A","MM/D/YY - hh:mm A","M/D/YY - hh:mm A","MM/DD/YY hh:mm A","M/DD/YY hh:mm A","MM/D/YY hh:mm A","M/D/YY hh:mm A","MM/DD/YY HH:mm","M/DD/YY HH:mm","MM/D/YY HH:mm","M/D/YY HH:mm",...lh,"YYYY-MM-DDTHH:mm:ss.SSSZ","YYYY-MM-DDTHH:mm:ssZ"],vC=()=>Math.random().toString(36).substring(2,9),ui=(e,t=!1)=>{if(!e)return null;const n=t?gC:lh;for(const i of n){const a=tt(e,i,!0);if(a.isValid())return a}const r=tt(e);return r.isValid()?r:null},ah=(e,t)=>{const n=l.useRef(t);l.useEffect(()=>{n.current=t},[t]),l.useEffect(()=>{const r=i=>n.current(i);return document.addEventListener(e,r),()=>{document.removeEventListener(e,r)}},[e])},oh=l.forwardRef(({label:e,value:t,required:n,isRequiredConditional:r=!1,disabled:i,className:a=void 0,errorMessage:o,handleOnChange:s,showTime:u=!0,tags:c,needConfirm:d=!1,simpleMode:h,originalCase:m=!1,dateFormat:p=void 0,tooltip:g,isAiExtracted:b=!1,isGTN:v=!1,gtnName:x=null,shouldPopOnParent:y=!1,allowTimezoneConversion:C=!0,inputStyle:M,labelClassName:E,isLiveField:w=!1,riskDetails:z,isRiskAnalysisOpen:I=!1,RiskDetailsCard:k,onAddGTNToDocument:F,formatDateForGTN:N,...B},H)=>{const{t:L}=tn(),[S,T]=l.useState(!1),[G,O]=l.useState(null),[_,A]=l.useState(null),$=p||(u?Hl:ih),W=B?.id||`date-picker-${vC()}`,D=l.useRef(null);ah("paste",U=>{document.activeElement?.id===W&&(U.preventDefault(),navigator.clipboard.readText().then(J=>{const fe=ui(J,u);fe&&ue(fe)}))}),ah("keydown",U=>{if(U.key===pC.ENTER&&document.activeElement instanceof HTMLInputElement&&document.activeElement.id===W){const J=ui(document?.activeElement?.value,u);J&&ue(J)}});const X=l.useCallback(U=>{if(!F)return;let J=U||"";if(N&&U)J=N(U,{skipTimezone:!0,withTime:u});else if(U){const ee=tt(U);ee.isValid()&&(J=ee.format($))}F({key:x,value:J})},[F,x,N,u,$]),K=l.useCallback(()=>{const U=document.getElementsByClassName("ant-picker-footer")[0];U&&(U.style.display="none")},[]),ae=l.useCallback(U=>{if(!C){if(s(U?U.format($):null),U){const J=document.getElementById(W);if(J){const fe=new CustomEvent("pilot-date-change",{bubbles:!0,detail:{selector:`#${W}`,value:U.format?U.format($):U,type:"date-change",elementId:W}});J.dispatchEvent(fe)}}return}if(U){let J;if(u?J=tt(U).utc().toISOString():J=tt(U).utc().add(tt(U).utcOffset(),"minute").startOf("day").toISOString(),J){s(J);const fe=document.getElementById(W);if(fe){const ee=new CustomEvent("pilot-date-change",{bubbles:!0,detail:{selector:`#${W}`,value:U.format($),type:"date-change",elementId:W}});fe.dispatchEvent(ee)}}}else s(null)},[C,s,u,W,$]),R=l.useCallback(U=>{if(!U)return null;if(!C)try{const J=tt(U,$);return!J.isValid()&&String(U).includes("Z")?tt(U):U&&J.isValid()?J:null}catch{return null}if(u){const J=tt(U);return tt(J).isValid()?J:null}else if(U?.toString()?.includes("Z")){const J=tt.utc(U);return tt(J).isValid()?J:null}else{const J=tt(U);return tt(J).isValid()?J:null}},[C,$,u]),ue=l.useCallback(U=>{if(U?.isValid()||U===null){O(U);const J=C?U?.toISOString():U?U.format($):"";if(s(J||null),U?.isValid()){const fe=document.getElementById(W);if(fe){const ee=new CustomEvent("pilot-date-change",{bubbles:!0,detail:{selector:`#${W}`,value:U.format($),type:"date-change",elementId:W}});fe.dispatchEvent(ee)}}}},[C,$,s,W]);return l.useEffect(()=>{O(R(t))},[t,R]),l.useEffect(()=>{_&&A(null)},[_]),l.useEffect(()=>{const U=document.getElementById(W);if(!U)return;const J=fe=>{const{value:ee,type:be}=fe.detail;if(be==="date-playback"&&ee){const je=ui(ee,u);je&&je.isValid()&&(O(je),ae(je),setTimeout(()=>{const Q=U.querySelector("input");if(Q&&(Q.focus(),setTimeout(()=>{Q.blur()},10)),D.current)try{const oe=D.current;typeof oe.blur=="function"&&oe.blur()}catch{}setTimeout(()=>{document.querySelectorAll(".ant-picker-dropdown:not(.ant-picker-dropdown-hidden)").forEach(Ce=>{Ce instanceof HTMLElement&&(Ce.style.display="none",Ce.classList.add("ant-picker-dropdown-hidden"))})},50)},50))}};return U.addEventListener("pilot-date-playback",J),()=>{U.removeEventListener("pilot-date-playback",J)}},[W,$,ae,u]),h?f.jsx(Ne.DatePicker,{...B,showTime:u,format:$,placeholder:$===Hl?"MM/DD/YYYY hh:mm":$,value:G,needConfirm:!1,onChange:ue,className:a,showNow:!1,onFocus:K,onBlur:U=>{const J=U.target.value;if(J){const fe=ui(J,u);fe&&ue(fe)}},ref:D,disabled:i,id:W}):f.jsxs("div",{ref:H,className:Y("flex gap-0.5 relative",S&&v?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:[v&&!S?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:`w-full flex flex-col font-inter ${a||""}`,children:[e?f.jsx("label",{className:`mb-1 text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${m?"":"capitalize"} ${E||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsx("div",{children:f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[e,n&&f.jsx(Nt,{isConditional:r})]})}),w&&f.jsx(We.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),b&&f.jsx(ln,{}),f.jsx(St,{labels:c}),g&&f.jsx(et,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),v&&S&&F?f.jsx("button",{id:"btn-date-field-add-to-document",className:"cursor-pointer",onClick:()=>X(t),type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:L("Add to document"),children:f.jsx(We.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}):null,f.jsx(Ne.DatePicker,{...B,showTime:u?{use12Hours:!0}:!1,format:$,placeholder:$===Hl?"MM/DD/YYYY - HH:MM":$,className:`w-full h-8 text-inter font-medium ${o?"border-red-400":""} dark:text-black-300 ${I&&z?.color&&`bg-${z.color}-50 border-${z.color}-300`}`,styles:{root:{...M,borderRadius:"7px"}},showNow:!1,value:G,onChange:U=>{O(U),ae(U),A(U?.toISOString()||null)},onBlur:U=>{const J=U.target.value;if(J){const fe=ui(J,u);fe&&(O(fe),ae(fe))}},needConfirm:d,ref:D,disabled:i,inputReadOnly:!1,getPopupContainer:y?U=>U.parentElement:()=>document.body,id:W,autoComplete:"off"}),o&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:o})]}),S&&z&&I&&k&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:U=>U.stopPropagation(),onMouseDown:U=>U.preventDefault(),onKeyDown:U=>{U.key==="Escape"&&T(!1)},children:f.jsx(k,{riskDetails:z})})]})});oh.displayName="DateTimeField";const sh=({id:e,label:t,onChange:n,errorMessage:r,required:i,bg:a,tags:o,color:s,debounceTimeout:u=0,className:c,isDarkMode:d,...h})=>{const{inputRef:m,...p}=h;return f.jsxs("div",{className:Y("flex flex-col",c),children:[t&&f.jsxs("label",{htmlFor:e,className:"block mb-1 text-xs font-medium leading-[18px] text-neutral-600 dark:text-black-300 font-inter capitalize",children:[f.jsxs("div",{className:"inline-flex items-center gap-1",children:[t,i&&f.jsx(Nt,{})]}),f.jsx(St,{labels:o})]}),f.jsx("label",{className:"relative block h-8",children:l.createElement(t0.DebounceInput,{...p,debounceTimeout:u,id:e,key:e,required:i,className:Y("border",r?"!border-error-300":"border-neutral-200 dark:border-black-600",a,s,"dark:bg-black-700 text-neutral-900 dark:text-neutral-100 text-[14px] rounded-md","focus:outline-none focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400","focus:border-primary-500 dark:focus:border-primary-400","block w-full h-8 px-3 py-1.5 font-inter font-medium","disabled:opacity-70 disabled:!bg-neutral-50 dark:disabled:!bg-black-800"),onChange:g=>{n(g.target.value)},autoComplete:"off"})}),f.jsx(Ue.AnimatePresence,{children:r&&f.jsx(Ue.motion.div,{initial:{opacity:0,y:-5},animate:{opacity:1,y:0},exit:{opacity:0,y:-5},transition:{duration:.15},children:f.jsx(se,{className:"pt-1 text-error-500",appearance:"custom",size:"extra-small",variant:"medium",children:r})})})]})};sh.displayName="DebounceInputField";const uh=l.forwardRef(({id:e,label:t,placeholder:n,value:r,onChange:i,errorMessage:a,defaultValue:o,required:s=!1,isRequiredConditional:u=!1,dataSource:c,dataKey:d,tags:h,tooltip:m="",originalCase:p=!1,color:g="",isGTN:b=!1,gtnName:v,isAiExtracted:x=!1,labelClassName:y,disabled:C=!1,isLiveField:M=!1,onAddGTNToDocument:E,riskDetails:w,isRiskAnalysisOpen:z=!1,RiskDetailsCard:I,primaryColorShades:k,isRecording:F=!1,isPlaying:N=!1,setDisableActions:B,showDeprecatedFieldWarning:H,DynamicDataModal:L},S)=>{const{t:T}=tn(),[G,O]=l.useState(!1),[_,A]=l.useState(r),[$,W]=l.useState(!1),D=l.useRef(null),X=S||D,K=()=>{B?.(!$),W(!$)},ae=J=>{if(J.keyCode===9||J.key==="Enter"){const fe=X.current||D.current;fe&&(_!==null&&i(_),A(_),fe.blur())}},R=()=>{A(""),i("")},ue=J=>{E&&v&&E({key:v,value:J})},U=()=>{const J="border h-[32px] text-sm rounded-lg block w-full p-2.5 font-inter font-medium",fe=a?"border-red-300":z&&w?.color?`border-${w?.color}-300`:"border-gray-300 dark:border-black-600",ee="placeholder:text-neutral-900 dark:placeholder:text-black-400",be=`${z&&w?.color?`bg-${w?.color}-50`:"bg-gray-200 dark:bg-black-600 "} ${g||"text-neutral-900 dark:text-black-200"}`;return`${J} ${fe} ${be} ${ee}`};return l.useEffect(()=>{$&&!c&&(H?.(),W(!1))},[$,c,H]),l.useEffect(()=>{A(r)},[r]),f.jsxs("div",{className:Y("flex gap-0.5 w-full relative",G&&b?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",{"error-field":!!a}),onMouseEnter:()=>O(!0),onMouseLeave:()=>O(!1),children:[b&&!G?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("flex flex-col w-full"),children:[f.jsx("label",{htmlFor:"text",className:`text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${p?"":"capitalize"} ${y||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap",children:[f.jsxs(se,{variant:"medium",size:"extra-small",appearance:"subtitle",children:[t,s&&f.jsx(Nt,{isConditional:u})]}),M&&f.jsx(We.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),x&&f.jsx(ln,{}),f.jsx(St,{labels:h}),m&&f.jsx(et,{placement:"top",title:m,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),b&&G&&E?f.jsx("button",{id:"btn-dynamic-data-input-add-to-document",className:"cursor-pointer",onClick:()=>ue(r?.toString()||""),type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:T("Add to document"),children:f.jsx(We.NoteAddOutlined,{sx:{fontSize:16,color:k?.[600]||"var(--color-primary-600)"}})})}):null]})}),f.jsxs("label",{className:"relative block mt-1",children:[f.jsx("input",{id:e,ref:X,required:s,placeholder:n,className:U(),onChange:J=>{i(J.target.value),A(J.target?.value)},onKeyDown:ae,value:_!==null?_:r,defaultValue:o,disabled:!0}),f.jsx(rl,{id:"btn-dynamic-data-input-rx-cross",onClick:R,className:"absolute inset-y-0 right-1 flex items-center px-2 focus:border-transparent",variant:"ghost",disabled:C,children:f.jsx(We.CloseRounded,{className:"text-neutral-900 dark:text-black-300",sx:{fontSize:16}})}),f.jsx(rl,{id:"btn-dynamic-data-input-ai-outline-pic-center",onClick:K,className:"absolute inset-y-0 right-8 flex items-center px-2 focus:border-transparent",variant:"ghost",disabled:C,children:f.jsx(We.TableChartRounded,{className:"text-neutral-900 dark:text-black-300",sx:{fontSize:16}})})]}),a&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:a}),$&&L&&f.jsx(L,{isVisible:$,onSelect:J=>{i(J),A(J)},onClose:K,dataKey:d,dataSource:c})]}),G&&w&&z&&I&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:J=>J.stopPropagation(),onMouseDown:J=>J.preventDefault(),onKeyDown:J=>{J.key==="Escape"&&O(!1)},children:f.jsx(I,{riskDetails:w})})]})});uh.displayName="DynamicDataInputField";function ch(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ch(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function xn(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ch(e))&&(r&&(r+=" "),r+=t);return r}const ci=e=>typeof e=="number"&&!isNaN(e),tr=e=>typeof e=="string",Lt=e=>typeof e=="function",jl=e=>tr(e)||Lt(e)?e:null,Oo=e=>l.isValidElement(e)||tr(e)||Lt(e)||ci(e);function bC(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}function Pl(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:a=300}=e;return function(o){let{children:s,position:u,preventExitTransition:c,done:d,nodeRef:h,isIn:m,playToast:p}=o;const g=r?`${t}--${u}`:t,b=r?`${n}--${u}`:n,v=l.useRef(0);return l.useLayoutEffect(()=>{const x=h.current,y=g.split(" "),C=M=>{M.target===h.current&&(p(),x.removeEventListener("animationend",C),x.removeEventListener("animationcancel",C),v.current===0&&M.type!=="animationcancel"&&x.classList.remove(...y))};x.classList.add(...y),x.addEventListener("animationend",C),x.addEventListener("animationcancel",C)},[]),l.useEffect(()=>{const x=h.current,y=()=>{x.removeEventListener("animationend",y),i?bC(x,d,a):d()};m||(c?y():(v.current=1,x.className+=` ${b}`,x.addEventListener("animationend",y)))},[m]),l.createElement(l.Fragment,null,s)}}function dh(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const gt=new Map;let di=[];const Vo=new Set,xC=e=>Vo.forEach(t=>t(e)),fh=()=>gt.size>0;function hh(e,t){var n;if(t)return!((n=gt.get(t))==null||!n.isToastActive(e));let r=!1;return gt.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function mh(e,t){Oo(e)&&(fh()||di.push({content:e,options:t}),gt.forEach(n=>{n.buildToast(e,t)}))}function ph(e,t){gt.forEach(n=>{t!=null&&t!=null&&t.containerId?t?.containerId===n.id&&n.toggle(e,t?.id):n.toggle(e,t?.id)})}function wC(e){const{subscribe:t,getSnapshot:n,setProps:r}=l.useRef(function(a){const o=a.containerId||1;return{subscribe(s){const u=function(d,h,m){let p=1,g=0,b=[],v=[],x=[],y=h;const C=new Map,M=new Set,E=()=>{x=Array.from(C.values()),M.forEach(I=>I())},w=I=>{v=I==null?[]:v.filter(k=>k!==I),E()},z=I=>{const{toastId:k,onOpen:F,updateId:N,children:B}=I.props,H=N==null;I.staleId&&C.delete(I.staleId),C.set(k,I),v=[...v,I.props.toastId].filter(L=>L!==I.staleId),E(),m(dh(I,H?"added":"updated")),H&&Lt(F)&&F(l.isValidElement(B)&&B.props)};return{id:d,props:y,observe:I=>(M.add(I),()=>M.delete(I)),toggle:(I,k)=>{C.forEach(F=>{k!=null&&k!==F.props.toastId||Lt(F.toggle)&&F.toggle(I)})},removeToast:w,toasts:C,clearQueue:()=>{g-=b.length,b=[]},buildToast:(I,k)=>{if((W=>{let{containerId:D,toastId:X,updateId:K}=W;const ae=D?D!==d:d!==1,R=C.has(X)&&K==null;return ae||R})(k))return;const{toastId:F,updateId:N,data:B,staleId:H,delay:L}=k,S=()=>{w(F)},T=N==null;T&&g++;const G={...y,style:y.toastStyle,key:p++,...Object.fromEntries(Object.entries(k).filter(W=>{let[D,X]=W;return X!=null})),toastId:F,updateId:N,data:B,closeToast:S,isIn:!1,className:jl(k.className||y.toastClassName),bodyClassName:jl(k.bodyClassName||y.bodyClassName),progressClassName:jl(k.progressClassName||y.progressClassName),autoClose:!k.isLoading&&(O=k.autoClose,_=y.autoClose,O===!1||ci(O)&&O>0?O:_),deleteToast(){const W=C.get(F),{onClose:D,children:X}=W.props;Lt(D)&&D(l.isValidElement(X)&&X.props),m(dh(W,"removed")),C.delete(F),g--,g<0&&(g=0),b.length>0?z(b.shift()):E()}};var O,_;G.closeButton=y.closeButton,k.closeButton===!1||Oo(k.closeButton)?G.closeButton=k.closeButton:k.closeButton===!0&&(G.closeButton=!Oo(y.closeButton)||y.closeButton);let A=I;l.isValidElement(I)&&!tr(I.type)?A=l.cloneElement(I,{closeToast:S,toastProps:G,data:B}):Lt(I)&&(A=I({closeToast:S,toastProps:G,data:B}));const $={content:A,props:G,staleId:H};y.limit&&y.limit>0&&g>y.limit&&T?b.push($):ci(L)?setTimeout(()=>{z($)},L):z($)},setProps(I){y=I},setToggle:(I,k)=>{C.get(I).toggle=k},isToastActive:I=>v.some(k=>k===I),getSnapshot:()=>x}}(o,a,xC);gt.set(o,u);const c=u.observe(s);return di.forEach(d=>mh(d.content,d.options)),di=[],()=>{c(),gt.delete(o)}},setProps(s){var u;(u=gt.get(o))==null||u.setProps(s)},getSnapshot(){var s;return(s=gt.get(o))==null?void 0:s.getSnapshot()}}}(e)).current;r(e);const i=l.useSyncExternalStore(t,n,n);return{getToastToRender:function(a){if(!i)return[];const o=new Map;return e.newestOnTop&&i.reverse(),i.forEach(s=>{const{position:u}=s.props;o.has(u)||o.set(u,[]),o.get(u).push(s)}),Array.from(o,s=>a(s[0],s[1]))},isToastActive:hh,count:i?.length}}function yC(e){const[t,n]=l.useState(!1),[r,i]=l.useState(!1),a=l.useRef(null),o=l.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:s,pauseOnHover:u,closeToast:c,onClick:d,closeOnClick:h}=e;var m,p;function g(){n(!0)}function b(){n(!1)}function v(C){const M=a.current;o.canDrag&&M&&(o.didMove=!0,t&&b(),o.delta=e.draggableDirection==="x"?C.clientX-o.start:C.clientY-o.start,o.start!==C.clientX&&(o.canCloseOnClick=!1),M.style.transform=`translate3d(${e.draggableDirection==="x"?`${o.delta}px, var(--y)`:`0, calc(${o.delta}px + var(--y))`},0)`,M.style.opacity=""+(1-Math.abs(o.delta/o.removalDistance)))}function x(){document.removeEventListener("pointermove",v),document.removeEventListener("pointerup",x);const C=a.current;if(o.canDrag&&o.didMove&&C){if(o.canDrag=!1,Math.abs(o.delta)>o.removalDistance)return i(!0),e.closeToast(),void e.collapseAll();C.style.transition="transform 0.2s, opacity 0.2s",C.style.removeProperty("transform"),C.style.removeProperty("opacity")}}(p=gt.get((m={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||p.setToggle(m.id,m.fn),l.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||b(),window.addEventListener("focus",g),window.addEventListener("blur",b),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",b)}},[e.pauseOnFocusLoss]);const y={onPointerDown:function(C){if(e.draggable===!0||e.draggable===C.pointerType){o.didMove=!1,document.addEventListener("pointermove",v),document.addEventListener("pointerup",x);const M=a.current;o.canCloseOnClick=!0,o.canDrag=!0,M.style.transition="none",e.draggableDirection==="x"?(o.start=C.clientX,o.removalDistance=M.offsetWidth*(e.draggablePercent/100)):(o.start=C.clientY,o.removalDistance=M.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(C){const{top:M,bottom:E,left:w,right:z}=a.current.getBoundingClientRect();C.nativeEvent.type!=="touchend"&&e.pauseOnHover&&C.clientX>=w&&C.clientX<=z&&C.clientY>=M&&C.clientY<=E?b():g()}};return s&&u&&(y.onMouseEnter=b,e.stacked||(y.onMouseLeave=g)),h&&(y.onClick=C=>{d&&d(C),o.canCloseOnClick&&c()}),{playToast:g,pauseToast:b,isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:y}}function EC(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:a,className:o,style:s,controlledProgress:u,progress:c,rtl:d,isIn:h,theme:m}=e;const p=a||u&&c===0,g={...s,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};u&&(g.transform=`scaleX(${c})`);const b=xn("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),v=Lt(o)?o({rtl:d,type:i,defaultClassName:b}):xn(b,o),x={[u&&c>=1?"onTransitionEnd":"onAnimationEnd"]:u&&c<1?null:()=>{h&&r()}};return l.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":p},l.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${i}`}),l.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:v,style:g,...x}))}let CC=1;const gh=()=>""+CC++;function kC(e){return e&&(tr(e.toastId)||ci(e.toastId))?e.toastId:gh()}function fi(e,t){return mh(e,t),t.toastId}function Ol(e,t){return{...t,type:t&&t.type||e,toastId:kC(t)}}function Vl(e){return(t,n)=>fi(t,Ol(e,n))}function Fe(e,t){return fi(e,Ol("default",t))}Fe.loading=(e,t)=>fi(e,Ol("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Fe.promise=function(e,t,n){let r,{pending:i,error:a,success:o}=t;i&&(r=tr(i)?Fe.loading(i,n):Fe.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,h,m)=>{if(h==null)return void Fe.dismiss(r);const p={type:d,...s,...n,data:m},g=tr(h)?{render:h}:h;return r?Fe.update(r,{...p,...g}):Fe(g.render,{...p,...g}),m},c=Lt(e)?e():e;return c.then(d=>u("success",o,d)).catch(d=>u("error",a,d)),c},Fe.success=Vl("success"),Fe.info=Vl("info"),Fe.error=Vl("error"),Fe.warning=Vl("warning"),Fe.warn=Fe.warning,Fe.dark=(e,t)=>fi(e,Ol("default",{theme:"dark",...t})),Fe.dismiss=function(e){(function(t){var n;if(fh()){if(t==null||tr(n=t)||ci(n))gt.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=gt.get(t.containerId);r?r.removeToast(t.id):gt.forEach(i=>{i.removeToast(t.id)})}}else di=di.filter(r=>t!=null&&r.options.toastId!==t)})(e)},Fe.clearWaitingQueue=function(e){e===void 0&&(e={}),gt.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},Fe.isActive=hh,Fe.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var a;let{containerId:o}=i;return(a=gt.get(o||1))==null?void 0:a.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:gh()};a.toastId!==e&&(a.staleId=e);const o=a.render||i;delete a.render,fi(o,a)}},Fe.done=e=>{Fe.update(e,{progress:1})},Fe.onChange=function(e){return Vo.add(e),()=>{Vo.delete(e)}},Fe.play=e=>ph(!0,e),Fe.pause=e=>ph(!1,e);const IC=typeof window<"u"?l.useLayoutEffect:l.useEffect,Gl=e=>{let{theme:t,type:n,isLoading:r,...i}=e;return l.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},Go={info:function(e){return l.createElement(Gl,{...e},l.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return l.createElement(Gl,{...e},l.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return l.createElement(Gl,{...e},l.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return l.createElement(Gl,{...e},l.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return l.createElement("div",{className:"Toastify__spinner"})}},zC=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:a}=yC(e),{closeButton:o,children:s,autoClose:u,onClick:c,type:d,hideProgressBar:h,closeToast:m,transition:p,position:g,className:b,style:v,bodyClassName:x,bodyStyle:y,progressClassName:C,progressStyle:M,updateId:E,role:w,progress:z,rtl:I,toastId:k,deleteToast:F,isIn:N,isLoading:B,closeOnClick:H,theme:L}=e,S=xn("Toastify__toast",`Toastify__toast-theme--${L}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":I},{"Toastify__toast--close-on-click":H}),T=Lt(b)?b({rtl:I,position:g,type:d,defaultClassName:S}):xn(S,b),G=function($){let{theme:W,type:D,isLoading:X,icon:K}=$,ae=null;const R={theme:W,type:D};return K===!1||(Lt(K)?ae=K({...R,isLoading:X}):l.isValidElement(K)?ae=l.cloneElement(K,R):X?ae=Go.spinner():(ue=>ue in Go)(D)&&(ae=Go[D](R))),ae}(e),O=!!z||!u,_={closeToast:m,type:d,theme:L};let A=null;return o===!1||(A=Lt(o)?o(_):l.isValidElement(o)?l.cloneElement(o,_):function($){let{closeToast:W,theme:D,ariaLabel:X="close"}=$;return l.createElement("button",{className:`Toastify__close-button Toastify__close-button--${D}`,type:"button",onClick:K=>{K.stopPropagation(),W(K)},"aria-label":X},l.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},l.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(_)),l.createElement(p,{isIn:N,done:F,position:g,preventExitTransition:n,nodeRef:r,playToast:a},l.createElement("div",{id:k,onClick:c,"data-in":N,className:T,...i,style:v,ref:r},l.createElement("div",{...N&&{role:w},className:Lt(x)?x({type:d}):xn("Toastify__toast-body",x),style:y},G!=null&&l.createElement("div",{className:xn("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!B})},G),l.createElement("div",null,s)),A,l.createElement(EC,{...E&&!O?{key:`pb-${E}`}:{},rtl:I,theme:L,delay:u,isRunning:t,isIn:N,closeToast:m,hide:h,type:d,style:M,className:C,controlledProgress:O,progress:z||0})))},_l=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},FC=Pl(_l("bounce",!0)),MC=Pl(_l("slide",!0));Pl(_l("zoom")),Pl(_l("flip"));const SC={position:"top-right",transition:FC,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function AC(e){let t={...SC,...e};const n=e.stacked,[r,i]=l.useState(!0),a=l.useRef(null),{getToastToRender:o,isToastActive:s,count:u}=wC(t),{className:c,style:d,rtl:h,containerId:m}=t;function p(b){const v=xn("Toastify__toast-container",`Toastify__toast-container--${b}`,{"Toastify__toast-container--rtl":h});return Lt(c)?c({position:b,rtl:h,defaultClassName:v}):xn(v,jl(c))}function g(){n&&(i(!0),Fe.play())}return IC(()=>{if(n){var b;const v=a.current.querySelectorAll('[data-in="true"]'),x=12,y=(b=t.position)==null?void 0:b.includes("top");let C=0,M=0;Array.from(v).reverse().forEach((E,w)=>{const z=E;z.classList.add("Toastify__toast--stacked"),w>0&&(z.dataset.collapsed=`${r}`),z.dataset.pos||(z.dataset.pos=y?"top":"bot");const I=C*(r?.2:1)+(r?0:x*w);z.style.setProperty("--y",`${y?I:-1*I}px`),z.style.setProperty("--g",`${x}`),z.style.setProperty("--s",""+(1-(r?M:0))),C+=z.offsetHeight,M+=.025})}},[r,u,n]),l.createElement("div",{ref:a,className:"Toastify",id:m,onMouseEnter:()=>{n&&(i(!1),Fe.pause())},onMouseLeave:g},o((b,v)=>{const x=v.length?{...d}:{...d,pointerEvents:"none"};return l.createElement("div",{className:p(b),style:x,key:`container-${b}`},v.map(y=>{let{content:C,props:M}=y;return l.createElement(zC,{...M,stacked:n,collapseAll:g,isIn:s(M.toastId,M.containerId),style:M.style,key:`toast-${M.key}`},C)}))}))}function vh(e){return Er({attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"currentColor"},child:[]},{tag:"path",attr:{d:"M2 12C2 6.47715 6.47715 2 12 2V5C8.13401 5 5 8.13401 5 12H2Z",fill:"currentColor"},child:[]}]})(e)}const Kt=({status:e="primary",appearance:t,className:n,disabled:r,children:i,isLoading:a,title:o,id:s,onClick:u,onKeyDown:c,badge:d,type:h="button",options:m,tooltip:p,tooltipPlacement:g="top",theme:b="light"})=>{const v=l.useCallback(()=>{switch(t){case"outline":return C();case"ghost":return M();case"dashed":return E();default:return y()}},[t,e,r,b]),x=l.useCallback(()=>{switch(t){case"dashed":return w();default:return{}}},[t,e,r,b]),y=l.useCallback(()=>{switch(e){case"primary":return"bg-primary-600 text-white focus:border-primary-200 hover:bg-primary-700 disabled:opacity-60";case"secondary":return"bg-primary-50 dark:bg-black-800 text-primary-600 dark:hover:text-primary-400 border border-primary-200 dark:border-primary-600 hover:bg-primary-100 dark:hover:bg-black-800 focus:border-primary-200 hover:border-primary-200 dark:hover:border-primary-400 disabled:opacity-60";case"error":return"bg-error-600 dark:bg-error-500 text-white hover:bg-error-700 dark:hover:bg-error-600 focus:!border-error-300 dark:focus:!border-error-600 dark:focus:bg-error-800 disabled:opacity-60";case"error-secondary":return"bg-error-100 dark:bg-black-800 text-error-600 border !border-error-300 dark:!border-error-900 hover:bg-error-200 focus:!border-error-300 dark:focus:!border-error-400 disabled:opacity-60";case"secondary-neutral":return"bg-white dark:bg-black-800 text-neutral-900 border border-neutral-300 dark:border-black-600 dark:hover:bg-black-600 dark:text-black-200 hover:bg-neutral-100 focus:border-primary-200 disabled:opacity-60";case"warning":return"bg-warning-300 dark:bg-warning-600 text-white border-warning-300 border hover:bg-warning-400 disabled:opacity-60";case"success":return"bg-success-600 text-white border-success-600 border hover:bg-success-700 disabled:opacity-60";case"publish":return"bg-teal-800 text-white border-teal-800 border hover:bg-teal-900 disabled:opacity-60";case"no-background":return"bg-transparent text-neutral-900 dark:text-black-100 border-transparent border";default:return"bg-white dark:bg-black-800 text-neutral-900 dark:text-white border-white border hover:bg-neutral-100 dark:hover:bg-black-600 disabled:opacity-60"}},[e,r,b]),C=l.useCallback(()=>{switch(e){case"primary":return"text-primary-700 dark:text-primary-600 border-primary-700 border dark:border-primary-600 hover:bg-primary-100 disabled:opacity-60";case"secondary":return"text-primary-700 dark:text-primary-600 border-primary-100 dark:border-primary-600 border bg-primary-50 dark:bg-black-800 hover:bg-primary-100 disabled:opacity-60";case"secondary-neutral":return"text-neutral-900 dark:text-white border-neutral-300 dark:border-neutral-700 border bg-white dark:bg-black-800 hover:bg-neutral-100 dark:hover:bg-black-600 disabled:opacity-60";case"error":return"text-error-600 dark:text-error-500 !border-error-600 dark:!border-error-500 border hover:bg-[#FEF3F2] disabled:opacity-60";case"warning":return"text-warning-300 dark:text-warning-500 border-warning-300 dark:border-warning-500 border hover:bg-[#FFFAEB] disabled:opacity-60";case"success":return"text-success-600 dark:text-success-500 border-success-600 dark:border-success-500 border hover:bg-[#ECFDF3] disabled:opacity-60";default:return"bg-white dark:bg-black-800 text-neutral-900 dark:text-white border-neutral-300 dark:border-neutral-700 border hover:bg-neutral-100 dark:hover:bg-black-600 disabled:opacity-60"}},[e,b]),M=l.useCallback(()=>{switch(e){case"primary":return"text-primary-700 dark:text-primary-600 border border-transparent dark:border-transparent hover:text-primary-700 disabled:opacity-60";case"secondary":return"text-primary-50 dark:text-primary-900 border border-transparent dark:border-transparent hover:text-primary-100 disabled:opacity-60";case"error":return"text-error-600 dark:text-error-500 border border-transparent dark:border-transparent hover:text-error-600 disabled:opacity-60";case"warning":return"text-warning-300 dark:text-warning-500 border border-transparent dark:border-transparent hover:text-warning-400 disabled:opacity-60";case"success":return"text-success-600 dark:text-success-500 border border-transparent dark:border-transparent hover:text-success-700 disabled:opacity-60";default:return"text-neutral-900 dark:text-white border border-transparent dark:border-transparent hover:text-[#667085] disabled:opacity-60"}},[e,b]),E=l.useCallback(()=>{switch(e){case"primary":return"bg-primary-50 dark:bg-black-700 text-primary-600 dark:text-primary-600 disabled:text-primary-100 hover:bg-primary-100 dark:hover:bg-black-600";default:return"bg-primary-50 dark:bg-black-700 text-primary-600 dark:text-primary-600 disabled:text-primary-100 hover:bg-primary-100 dark:hover:bg-black-600"}},[e,b]),w=l.useCallback(()=>{switch(e){case"primary":return{backgroundImage:"repeating-linear-gradient(3deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px), repeating-linear-gradient(93deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px), repeating-linear-gradient(183deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px), repeating-linear-gradient(273deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px)",backgroundSize:"1px 100%, 100% 1px, 1px 100% , 100% 1px",backgroundPosition:"0 0, 0 0, 100% 0, 0 100%",backgroundRepeat:"no-repeat"};default:return{}}},[e,b]),z=()=>f.jsx(f.Fragment,{children:f.jsx(vh,{size:24,className:"inline mr-2 spinner"})});return f.jsx(et,{title:p,placement:g,delayShow:!0,children:f.jsxs("button",{className:`
90
90
  ${n||""}
91
91
  cursor-pointer
92
92
  font-inter
@@ -104,7 +104,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
104
104
  relative
105
105
  max-h-[32px]
106
106
  ${v()}
107
- `,style:{...x()},disabled:r||a,id:s,onClick:u,onKeyDown:c,title:o,type:h,children:[a&&z(),i,m?.length?f.jsx("div",{onClick:I=>I.stopPropagation(),children:f.jsx(Be.Dropdown,{menu:{items:m},trigger:["click"],overlayClassName:"row-option-cell",placement:"bottomRight",children:f.jsx(Ue.ChevronRightRounded,{className:"rotate-90 text-neutral-300 hover:opacity-50"})})}):null,d?f.jsx("span",{className:"absolute -top-2 -right-2 bg-zinc-500 text-white rounded-full min-w-[1.5rem] min-h-[1.5rem] text-xs flex justify-center items-center",children:d}):null]})})},bh=(e={})=>{const{primaryContainerId:t="layout-app-main-content-container",fallbackContainerId:n="full-screen-container",maxRetries:r=10,retryDelay:i=100}=e,[a,o]=l.useState(null);return l.useEffect(()=>{let s=0,u;const c=h=>{if(typeof document<"u"){const m=document.getElementById(h);if(m)return m}if(typeof globalThis<"u"&&globalThis.window&&globalThis.window.parent&&globalThis.window.parent!==globalThis.window)try{const m=globalThis.window.parent.document?.getElementById(h);if(m)return m}catch{}return null},d=()=>{let h=c(t);if(!h&&n&&(h=c(n)),h){o(h);return}s<r?(s++,u=setTimeout(d,i)):o(document.body)};return d(),()=>{u&&clearTimeout(u)}},[t,n,r,i]),a},Gn=e=>{const{open:t,children:n,title:r,mask:i=!0,onlyBody:a=!1,bodySpacing:o=!0,headerRightContent:s,parentContainer:u,zIndex:c,asForm:d,onSubmit:h,showCloseButton:m=!0,noPadding:p=!1,...g}=e,b=bh({primaryContainerId:"layout-app-main-content-container",fallbackContainerId:"full-screen-container"}),v=f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"flex justify-between items-center",children:[m?f.jsx(se,{size:"large",variant:"semibold",className:"tour__title",children:r}):f.jsx("div",{className:"flex flex-col w-full",children:r}),s||m&&f.jsx("button",{id:"btn-modal-close",onClick:g.onCancel,className:"",type:"button",children:f.jsx(Ue.CloseRounded,{sx:{fontSize:"20px"},className:"cursor-pointer text-neutral-400 hover:text-neutral-600"})})]}),g.addLineAfterHeader&&f.jsx("hr",{className:"mt-2"})]}),x=d?"form":"div",y=()=>{if(u){if(typeof document<"u"){const w=document.getElementById(u);if(w)return w}if(typeof globalThis<"u"&&globalThis.window&&globalThis.window.parent&&globalThis.window.parent!==globalThis.window)try{const w=globalThis.window.parent.document?.getElementById(u);if(w)return w}catch{}}return b};if(!t)return null;const C=y();if(!C)return null;const M=C!==document.body;return f.jsx(Be.Modal,{open:t,centered:!0,closable:!1,title:a?null:v,modalRender:w=>f.jsx(x,{onSubmit:z=>{z.preventDefault(),h&&h()},children:f.jsx("div",{role:"none",onClick:z=>z.stopPropagation(),children:w})}),styles:{content:{padding:p?"0px":"20px 0px"},header:{padding:p?"0px":"0px 20px"},body:{padding:p?"0px":o?"0px 20px":"0px"},footer:{padding:p?"0px":"0px 20px"},mask:{zIndex:c||1e3,position:M?"absolute":void 0,top:M?0:void 0,right:M?0:void 0,bottom:M?0:void 0,left:M?0:void 0},wrapper:{zIndex:c||1e3,position:M?"absolute":void 0,top:M?0:void 0,right:M?0:void 0,bottom:M?0:void 0,left:M?0:void 0,backgroundColor:i?"rgb(16 24 40 / 80%)":void 0}},mask:i,...g,getContainer:()=>C,children:n})};typeof window<"u"&&(window.CODEIUM_REACT_CODE_VERSION="1.0.12");function xh(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function _o(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(d){try{c(r.next(d))}catch(h){o(h)}}function u(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?a(d.value):i(d.value).then(s,u)}c((r=r.apply(e,[])).next())})}typeof SuppressedError=="function"&&SuppressedError;function kt(e,t){if(!e)throw new Error(t)}const NC=34028234663852886e22,DC=-34028234663852886e22,LC=4294967295,TC=2147483647,BC=-2147483648;function $l(e){if(typeof e!="number")throw new Error("invalid int 32: "+typeof e);if(!Number.isInteger(e)||e>TC||e<BC)throw new Error("invalid int 32: "+e)}function $o(e){if(typeof e!="number")throw new Error("invalid uint 32: "+typeof e);if(!Number.isInteger(e)||e>LC||e<0)throw new Error("invalid uint 32: "+e)}function wh(e){if(typeof e!="number")throw new Error("invalid float 32: "+typeof e);if(Number.isFinite(e)&&(e>NC||e<DC))throw new Error("invalid float 32: "+e)}const yh=Symbol("@bufbuild/protobuf/enum-type");function HC(e){const t=e[yh];return kt(t,"missing enum type on enum object"),t}function Eh(e,t,n,r){e[yh]=Ch(t,n.map(i=>({no:i.no,name:i.name,localName:e[i.no]})))}function Ch(e,t,n){const r=Object.create(null),i=Object.create(null),a=[];for(const o of t){const s=kh(o);a.push(s),r[o.name]=s,i[o.no]=s}return{typeName:e,values:a,findName(o){return r[o]},findNumber(o){return i[o]}}}function jC(e,t,n){const r={};for(const i of t){const a=kh(i);r[a.localName]=a.no,r[a.no]=a.localName}return Eh(r,e,t),r}function kh(e){return"localName"in e?e:Object.assign(Object.assign({},e),{localName:e.name})}class Je{equals(t){return this.getType().runtime.util.equals(this.getType(),this,t)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(t,n){const r=this.getType(),i=r.runtime.bin,a=i.makeReadOptions(n);return i.readMessage(this,a.readerFactory(t),t.byteLength,a),this}fromJson(t,n){const r=this.getType(),i=r.runtime.json,a=i.makeReadOptions(n);return i.readMessage(r,t,a,this),this}fromJsonString(t,n){let r;try{r=JSON.parse(t)}catch(i){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${i instanceof Error?i.message:String(i)}`)}return this.fromJson(r,n)}toBinary(t){const n=this.getType(),r=n.runtime.bin,i=r.makeWriteOptions(t),a=i.writerFactory();return r.writeMessage(this,a,i),a.finish()}toJson(t){const n=this.getType(),r=n.runtime.json,i=r.makeWriteOptions(t);return r.writeMessage(this,i)}toJsonString(t){var n;const r=this.toJson(t);return JSON.stringify(r,null,(n=t?.prettySpaces)!==null&&n!==void 0?n:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function PC(e,t,n,r){var i;const a=(i=r?.localName)!==null&&i!==void 0?i:t.substring(t.lastIndexOf(".")+1),o={[a]:function(s){e.util.initFields(this),e.util.initPartial(s,this)}}[a];return Object.setPrototypeOf(o.prototype,new Je),Object.assign(o,{runtime:e,typeName:t,fields:e.util.newFieldList(n),fromBinary(s,u){return new o().fromBinary(s,u)},fromJson(s,u){return new o().fromJson(s,u)},fromJsonString(s,u){return new o().fromJsonString(s,u)},equals(s,u){return e.util.equals(o,s,u)}}),o}function OC(e,t,n,r){return{syntax:e,json:t,bin:n,util:r,makeMessageType(i,a,o){return PC(this,i,a,o)},makeEnum:jC,makeEnumType:Ch,getEnumType:HC}}var q;(function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"})(q||(q={}));var nr;(function(e){e[e.BIGINT=0]="BIGINT",e[e.STRING=1]="STRING"})(nr||(nr={}));function VC(){let e=0,t=0;for(let r=0;r<28;r+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<r,(i&128)==0)return this.assertBounds(),[e,t]}let n=this.buf[this.pos++];if(e|=(n&15)<<28,t=(n&112)>>4,(n&128)==0)return this.assertBounds(),[e,t];for(let r=3;r<=31;r+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<r,(i&128)==0)return this.assertBounds(),[e,t]}throw new Error("invalid varint")}function Wo(e,t,n){for(let a=0;a<28;a=a+7){const o=e>>>a,s=!(!(o>>>7)&&t==0),u=(s?o|128:o)&255;if(n.push(u),!s)return}const r=e>>>28&15|(t&7)<<4,i=t>>3!=0;if(n.push((i?r|128:r)&255),!!i){for(let a=3;a<31;a=a+7){const o=t>>>a,s=!!(o>>>7),u=(s?o|128:o)&255;if(n.push(u),!s)return}n.push(t>>>31&1)}}const Wl=4294967296;function Ih(e){const t=e[0]==="-";t&&(e=e.slice(1));const n=1e6;let r=0,i=0;function a(o,s){const u=Number(e.slice(o,s));i*=n,r=r*n+u,r>=Wl&&(i=i+(r/Wl|0),r=r%Wl)}return a(-24,-18),a(-18,-12),a(-12,-6),a(-6),t?Fh(r,i):Uo(r,i)}function GC(e,t){let n=Uo(e,t);const r=n.hi&2147483648;r&&(n=Fh(n.lo,n.hi));const i=zh(n.lo,n.hi);return r?"-"+i:i}function zh(e,t){if({lo:e,hi:t}=_C(e,t),t<=2097151)return String(Wl*t+e);const n=e&16777215,r=(e>>>24|t<<8)&16777215,i=t>>16&65535;let a=n+r*6777216+i*6710656,o=r+i*8147497,s=i*2;const u=1e7;return a>=u&&(o+=Math.floor(a/u),a%=u),o>=u&&(s+=Math.floor(o/u),o%=u),s.toString()+Mh(o)+Mh(a)}function _C(e,t){return{lo:e>>>0,hi:t>>>0}}function Uo(e,t){return{lo:e|0,hi:t|0}}function Fh(e,t){return t=~t,e?e=~e+1:t+=1,Uo(e,t)}const Mh=e=>{const t=String(e);return"0000000".slice(t.length)+t};function Sh(e,t){if(e>=0){for(;e>127;)t.push(e&127|128),e=e>>>7;t.push(e)}else{for(let n=0;n<9;n++)t.push(e&127|128),e=e>>7;t.push(1)}}function $C(){let e=this.buf[this.pos++],t=e&127;if((e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<7,(e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<14,(e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<21,(e&128)==0)return this.assertBounds(),t;e=this.buf[this.pos++],t|=(e&15)<<28;for(let n=5;(e&128)!==0&&n<10;n++)e=this.buf[this.pos++];if((e&128)!=0)throw new Error("invalid varint");return this.assertBounds(),t>>>0}function WC(){const e=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof e.getBigInt64=="function"&&typeof e.getBigUint64=="function"&&typeof e.setBigInt64=="function"&&typeof e.setBigUint64=="function"&&(typeof process!="object"||typeof process.env!="object"||process.env.BUF_BIGINT_DISABLE!=="1")){const i=BigInt("-9223372036854775808"),a=BigInt("9223372036854775807"),o=BigInt("0"),s=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(u){const c=typeof u=="bigint"?u:BigInt(u);if(c>a||c<i)throw new Error(`int64 invalid: ${u}`);return c},uParse(u){const c=typeof u=="bigint"?u:BigInt(u);if(c>s||c<o)throw new Error(`uint64 invalid: ${u}`);return c},enc(u){return e.setBigInt64(0,this.parse(u),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},uEnc(u){return e.setBigInt64(0,this.uParse(u),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},dec(u,c){return e.setInt32(0,u,!0),e.setInt32(4,c,!0),e.getBigInt64(0,!0)},uDec(u,c){return e.setInt32(0,u,!0),e.setInt32(4,c,!0),e.getBigUint64(0,!0)}}}const n=i=>kt(/^-?[0-9]+$/.test(i),`int64 invalid: ${i}`),r=i=>kt(/^[0-9]+$/.test(i),`uint64 invalid: ${i}`);return{zero:"0",supported:!1,parse(i){return typeof i!="string"&&(i=i.toString()),n(i),i},uParse(i){return typeof i!="string"&&(i=i.toString()),r(i),i},enc(i){return typeof i!="string"&&(i=i.toString()),n(i),Ih(i)},uEnc(i){return typeof i!="string"&&(i=i.toString()),r(i),Ih(i)},dec(i,a){return GC(i,a)},uDec(i,a){return zh(i,a)}}}const Xe=WC();var nt;(function(e){e[e.Varint=0]="Varint",e[e.Bit64=1]="Bit64",e[e.LengthDelimited=2]="LengthDelimited",e[e.StartGroup=3]="StartGroup",e[e.EndGroup=4]="EndGroup",e[e.Bit32=5]="Bit32"})(nt||(nt={}));class UC{constructor(t){this.stack=[],this.textEncoder=t??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let t=0;for(let i=0;i<this.chunks.length;i++)t+=this.chunks[i].length;let n=new Uint8Array(t),r=0;for(let i=0;i<this.chunks.length;i++)n.set(this.chunks[i],r),r+=this.chunks[i].length;return this.chunks=[],n}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let t=this.finish(),n=this.stack.pop();if(!n)throw new Error("invalid state, fork stack empty");return this.chunks=n.chunks,this.buf=n.buf,this.uint32(t.byteLength),this.raw(t)}tag(t,n){return this.uint32((t<<3|n)>>>0)}raw(t){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(t),this}uint32(t){for($o(t);t>127;)this.buf.push(t&127|128),t=t>>>7;return this.buf.push(t),this}int32(t){return $l(t),Sh(t,this.buf),this}bool(t){return this.buf.push(t?1:0),this}bytes(t){return this.uint32(t.byteLength),this.raw(t)}string(t){let n=this.textEncoder.encode(t);return this.uint32(n.byteLength),this.raw(n)}float(t){wh(t);let n=new Uint8Array(4);return new DataView(n.buffer).setFloat32(0,t,!0),this.raw(n)}double(t){let n=new Uint8Array(8);return new DataView(n.buffer).setFloat64(0,t,!0),this.raw(n)}fixed32(t){$o(t);let n=new Uint8Array(4);return new DataView(n.buffer).setUint32(0,t,!0),this.raw(n)}sfixed32(t){$l(t);let n=new Uint8Array(4);return new DataView(n.buffer).setInt32(0,t,!0),this.raw(n)}sint32(t){return $l(t),t=(t<<1^t>>31)>>>0,Sh(t,this.buf),this}sfixed64(t){let n=new Uint8Array(8),r=new DataView(n.buffer),i=Xe.enc(t);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}fixed64(t){let n=new Uint8Array(8),r=new DataView(n.buffer),i=Xe.uEnc(t);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}int64(t){let n=Xe.enc(t);return Wo(n.lo,n.hi,this.buf),this}sint64(t){let n=Xe.enc(t),r=n.hi>>31,i=n.lo<<1^r,a=(n.hi<<1|n.lo>>>31)^r;return Wo(i,a,this.buf),this}uint64(t){let n=Xe.uEnc(t);return Wo(n.lo,n.hi,this.buf),this}}class XC{constructor(t,n){this.varint64=VC,this.uint32=$C,this.buf=t,this.len=t.length,this.pos=0,this.view=new DataView(t.buffer,t.byteOffset,t.byteLength),this.textDecoder=n??new TextDecoder}tag(){let t=this.uint32(),n=t>>>3,r=t&7;if(n<=0||r<0||r>5)throw new Error("illegal tag: field no "+n+" wire type "+r);return[n,r]}skip(t){let n=this.pos;switch(t){case nt.Varint:for(;this.buf[this.pos++]&128;);break;case nt.Bit64:this.pos+=4;case nt.Bit32:this.pos+=4;break;case nt.LengthDelimited:let r=this.uint32();this.pos+=r;break;case nt.StartGroup:let i;for(;(i=this.tag()[1])!==nt.EndGroup;)this.skip(i);break;default:throw new Error("cant skip wire type "+t)}return this.assertBounds(),this.buf.subarray(n,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let t=this.uint32();return t>>>1^-(t&1)}int64(){return Xe.dec(...this.varint64())}uint64(){return Xe.uDec(...this.varint64())}sint64(){let[t,n]=this.varint64(),r=-(t&1);return t=(t>>>1|(n&1)<<31)^r,n=n>>>1^r,Xe.dec(t,n)}bool(){let[t,n]=this.varint64();return t!==0||n!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return Xe.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return Xe.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let t=this.uint32(),n=this.pos;return this.pos+=t,this.assertBounds(),this.buf.subarray(n,n+t)}string(){return this.textDecoder.decode(this.bytes())}}function Xo(e,t){return t instanceof Je||!e.fieldWrapper?t:e.fieldWrapper.wrapField(t)}q.DOUBLE,q.FLOAT,q.INT64,q.UINT64,q.INT32,q.UINT32,q.BOOL,q.STRING,q.BYTES;function _n(e,t,n){if(t===n)return!0;if(e==q.BYTES){if(!(t instanceof Uint8Array)||!(n instanceof Uint8Array)||t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}switch(e){case q.UINT64:case q.FIXED64:case q.INT64:case q.SFIXED64:case q.SINT64:return t==n}return!1}function Zo(e,t){switch(e){case q.BOOL:return!1;case q.UINT64:case q.FIXED64:case q.INT64:case q.SFIXED64:case q.SINT64:return t==0?Xe.zero:"0";case q.DOUBLE:case q.FLOAT:return 0;case q.BYTES:return new Uint8Array(0);case q.STRING:return"";default:return 0}}function Ah(e,t){const n=t===void 0;let r=nt.Varint,i=t===0;switch(e){case q.STRING:i=n||!t.length,r=nt.LengthDelimited;break;case q.BOOL:i=t===!1;break;case q.DOUBLE:r=nt.Bit64;break;case q.FLOAT:r=nt.Bit32;break;case q.INT64:i=n||t==0;break;case q.UINT64:i=n||t==0;break;case q.FIXED64:i=n||t==0,r=nt.Bit64;break;case q.BYTES:i=n||!t.byteLength,r=nt.LengthDelimited;break;case q.FIXED32:r=nt.Bit32;break;case q.SFIXED32:r=nt.Bit32;break;case q.SFIXED64:i=n||t==0,r=nt.Bit64;break;case q.SINT64:i=n||t==0;break}const a=q[e].toLowerCase();return[r,a,n||i]}const Cr=Symbol("@bufbuild/protobuf/unknown-fields"),Nh={readUnknownFields:!0,readerFactory:e=>new XC(e)},Dh={writeUnknownFields:!0,writerFactory:()=>new UC};function ZC(e){return e?Object.assign(Object.assign({},Nh),e):Nh}function YC(e){return e?Object.assign(Object.assign({},Dh),e):Dh}function JC(){return{makeReadOptions:ZC,makeWriteOptions:YC,listUnknownFields(e){var t;return(t=e[Cr])!==null&&t!==void 0?t:[]},discardUnknownFields(e){delete e[Cr]},writeUnknownFields(e,t){const r=e[Cr];if(r)for(const i of r)t.tag(i.no,i.wireType).raw(i.data)},onUnknownField(e,t,n,r){const i=e;Array.isArray(i[Cr])||(i[Cr]=[]),i[Cr].push({no:t,wireType:n,data:r})},readMessage(e,t,n,r){const i=e.getType(),a=n===void 0?t.len:t.pos+n;for(;t.pos<a;){const[o,s]=t.tag(),u=i.fields.find(o);if(!u){const m=t.skip(s);r.readUnknownFields&&this.onUnknownField(e,o,s,m);continue}let c=e,d=u.repeated,h=u.localName;switch(u.oneof&&(c=c[u.oneof.localName],c.case!=h&&delete c.value,c.case=h,h="value"),u.kind){case"scalar":case"enum":const m=u.kind=="enum"?q.INT32:u.T;let p=Xl;if(u.kind=="scalar"&&u.L>0&&(p=qC),d){let x=c[h];if(s==nt.LengthDelimited&&m!=q.STRING&&m!=q.BYTES){let y=t.uint32()+t.pos;for(;t.pos<y;)x.push(p(t,m))}else x.push(p(t,m))}else c[h]=p(t,m);break;case"message":const g=u.T;d?c[h].push(Ul(t,new g,r)):c[h]instanceof Je?Ul(t,c[h],r):(c[h]=Ul(t,new g,r),g.fieldWrapper&&!u.oneof&&!u.repeated&&(c[h]=g.fieldWrapper.unwrapField(c[h])));break;case"map":let[b,v]=KC(u,t,r);c[h][b]=v;break}}}}}function Ul(e,t,n){return t.getType().runtime.bin.readMessage(t,e,e.uint32(),n),t}function KC(e,t,n){const r=t.uint32(),i=t.pos+r;let a,o;for(;t.pos<i;){let[s]=t.tag();switch(s){case 1:a=Xl(t,e.K);break;case 2:switch(e.V.kind){case"scalar":o=Xl(t,e.V.T);break;case"enum":o=t.int32();break;case"message":o=Ul(t,new e.V.T,n);break}break}}if(a===void 0){let s=Zo(e.K,nr.BIGINT);a=e.K==q.BOOL?s.toString():s}if(typeof a!="string"&&typeof a!="number"&&(a=a.toString()),o===void 0)switch(e.V.kind){case"scalar":o=Zo(e.V.T,nr.BIGINT);break;case"enum":o=0;break;case"message":o=new e.V.T;break}return[a,o]}function qC(e,t){const n=Xl(e,t);return typeof n=="bigint"?n.toString():n}function Xl(e,t){switch(t){case q.STRING:return e.string();case q.BOOL:return e.bool();case q.DOUBLE:return e.double();case q.FLOAT:return e.float();case q.INT32:return e.int32();case q.INT64:return e.int64();case q.UINT64:return e.uint64();case q.FIXED64:return e.fixed64();case q.BYTES:return e.bytes();case q.FIXED32:return e.fixed32();case q.SFIXED32:return e.sfixed32();case q.SFIXED64:return e.sfixed64();case q.SINT64:return e.sint64();case q.UINT32:return e.uint32();case q.SINT32:return e.sint32()}}function QC(e,t,n,r,i){e.tag(n.no,nt.LengthDelimited),e.fork();let a=r;switch(n.K){case q.INT32:case q.FIXED32:case q.UINT32:case q.SFIXED32:case q.SINT32:a=Number.parseInt(r);break;case q.BOOL:kt(r=="true"||r=="false"),a=r=="true";break}switch(hi(e,n.K,1,a,!0),n.V.kind){case"scalar":hi(e,n.V.T,2,i,!0);break;case"enum":hi(e,q.INT32,2,i,!0);break;case"message":Yo(e,t,n.V.T,2,i);break}e.join()}function Yo(e,t,n,r,i){if(i!==void 0){const a=Xo(n,i);e.tag(r,nt.LengthDelimited).bytes(a.toBinary(t))}}function hi(e,t,n,r,i){let[a,o,s]=Ah(t,r);(!s||i)&&e.tag(n,a)[o](r)}function RC(e,t,n,r){if(!r.length)return;e.tag(n,nt.LengthDelimited).fork();let[,i]=Ah(t);for(let a=0;a<r.length;a++)e[i](r[a]);e.join()}function ek(){return Object.assign(Object.assign({},JC()),{writeMessage(e,t,n){const r=e.getType();for(const i of r.fields.byNumber()){let a,o=i.repeated,s=i.localName;if(i.oneof){const u=e[i.oneof.localName];if(u.case!==s)continue;a=u.value}else a=e[s];switch(i.kind){case"scalar":case"enum":let u=i.kind=="enum"?q.INT32:i.T;if(o)if(i.packed)RC(t,u,i.no,a);else for(const c of a)hi(t,u,i.no,c,!0);else a!==void 0&&hi(t,u,i.no,a,!!i.oneof||i.opt);break;case"message":if(o)for(const c of a)Yo(t,n,i.T,i.no,c);else Yo(t,n,i.T,i.no,a);break;case"map":for(const[c,d]of Object.entries(a))QC(t,n,i,c,d);break}}return n.writeUnknownFields&&this.writeUnknownFields(e,t),t}})}let wn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Zl=[];for(let e=0;e<wn.length;e++)Zl[wn[e].charCodeAt(0)]=e;Zl[45]=wn.indexOf("+"),Zl[95]=wn.indexOf("/");const Yl={dec(e){let t=e.length*3/4;e[e.length-2]=="="?t-=2:e[e.length-1]=="="&&(t-=1);let n=new Uint8Array(t),r=0,i=0,a,o=0;for(let s=0;s<e.length;s++){if(a=Zl[e.charCodeAt(s)],a===void 0)switch(e[s]){case"=":i=0;case`
107
+ `,style:{...x()},disabled:r||a,id:s,onClick:u,onKeyDown:c,title:o,type:h,children:[a&&z(),i,m?.length?f.jsx("div",{onClick:I=>I.stopPropagation(),children:f.jsx(Ne.Dropdown,{menu:{items:m},trigger:["click"],overlayClassName:"row-option-cell",placement:"bottomRight",children:f.jsx(We.ChevronRightRounded,{className:"rotate-90 text-neutral-300 hover:opacity-50"})})}):null,d?f.jsx("span",{className:"absolute -top-2 -right-2 bg-zinc-500 text-white rounded-full min-w-[1.5rem] min-h-[1.5rem] text-xs flex justify-center items-center",children:d}):null]})})},bh=(e={})=>{const{primaryContainerId:t="layout-app-main-content-container",fallbackContainerId:n="full-screen-container",maxRetries:r=10,retryDelay:i=100}=e,[a,o]=l.useState(null);return l.useEffect(()=>{let s=0,u;const c=h=>{if(typeof document<"u"){const m=document.getElementById(h);if(m)return m}if(typeof globalThis<"u"&&globalThis.window&&globalThis.window.parent&&globalThis.window.parent!==globalThis.window)try{const m=globalThis.window.parent.document?.getElementById(h);if(m)return m}catch{}return null},d=()=>{let h=c(t);if(!h&&n&&(h=c(n)),h){o(h);return}s<r?(s++,u=setTimeout(d,i)):o(document.body)};return d(),()=>{u&&clearTimeout(u)}},[t,n,r,i]),a},Gn=e=>{const{open:t,children:n,title:r,mask:i=!0,onlyBody:a=!1,bodySpacing:o=!0,headerRightContent:s,parentContainer:u,zIndex:c,asForm:d,onSubmit:h,showCloseButton:m=!0,noPadding:p=!1,...g}=e,b=bh({primaryContainerId:"layout-app-main-content-container",fallbackContainerId:"full-screen-container"}),v=f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"flex justify-between items-center",children:[m?f.jsx(se,{size:"large",variant:"semibold",className:"tour__title",children:r}):f.jsx("div",{className:"flex flex-col w-full",children:r}),s||m&&f.jsx("button",{id:"btn-modal-close",onClick:g.onCancel,className:"",type:"button",children:f.jsx(We.CloseRounded,{sx:{fontSize:"20px"},className:"cursor-pointer text-neutral-400 hover:text-neutral-600"})})]}),g.addLineAfterHeader&&f.jsx("hr",{className:"mt-2"})]}),x=d?"form":"div",y=()=>{if(u){if(typeof document<"u"){const w=document.getElementById(u);if(w)return w}if(typeof globalThis<"u"&&globalThis.window&&globalThis.window.parent&&globalThis.window.parent!==globalThis.window)try{const w=globalThis.window.parent.document?.getElementById(u);if(w)return w}catch{}}return b};if(!t)return null;const C=y();if(!C)return null;const M=C!==document.body;return f.jsx(Ne.Modal,{open:t,centered:!0,closable:!1,title:a?null:v,modalRender:w=>f.jsx(x,{onSubmit:z=>{z.preventDefault(),h&&h()},children:f.jsx("div",{role:"none",onClick:z=>z.stopPropagation(),children:w})}),styles:{content:{padding:p?"0px":"20px 0px"},header:{padding:p?"0px":"0px 20px"},body:{padding:p?"0px":o?"0px 20px":"0px"},footer:{padding:p?"0px":"0px 20px"},mask:{zIndex:c||1e3,position:M?"absolute":void 0,top:M?0:void 0,right:M?0:void 0,bottom:M?0:void 0,left:M?0:void 0},wrapper:{zIndex:c||1e3,position:M?"absolute":void 0,top:M?0:void 0,right:M?0:void 0,bottom:M?0:void 0,left:M?0:void 0,backgroundColor:i?"rgb(16 24 40 / 80%)":void 0}},mask:i,...g,getContainer:()=>C,children:n})};typeof window<"u"&&(window.CODEIUM_REACT_CODE_VERSION="1.0.12");function xh(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function _o(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(d){try{c(r.next(d))}catch(h){o(h)}}function u(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?a(d.value):i(d.value).then(s,u)}c((r=r.apply(e,[])).next())})}typeof SuppressedError=="function"&&SuppressedError;function kt(e,t){if(!e)throw new Error(t)}const NC=34028234663852886e22,DC=-34028234663852886e22,LC=4294967295,TC=2147483647,BC=-2147483648;function $l(e){if(typeof e!="number")throw new Error("invalid int 32: "+typeof e);if(!Number.isInteger(e)||e>TC||e<BC)throw new Error("invalid int 32: "+e)}function $o(e){if(typeof e!="number")throw new Error("invalid uint 32: "+typeof e);if(!Number.isInteger(e)||e>LC||e<0)throw new Error("invalid uint 32: "+e)}function wh(e){if(typeof e!="number")throw new Error("invalid float 32: "+typeof e);if(Number.isFinite(e)&&(e>NC||e<DC))throw new Error("invalid float 32: "+e)}const yh=Symbol("@bufbuild/protobuf/enum-type");function HC(e){const t=e[yh];return kt(t,"missing enum type on enum object"),t}function Eh(e,t,n,r){e[yh]=Ch(t,n.map(i=>({no:i.no,name:i.name,localName:e[i.no]})))}function Ch(e,t,n){const r=Object.create(null),i=Object.create(null),a=[];for(const o of t){const s=kh(o);a.push(s),r[o.name]=s,i[o.no]=s}return{typeName:e,values:a,findName(o){return r[o]},findNumber(o){return i[o]}}}function jC(e,t,n){const r={};for(const i of t){const a=kh(i);r[a.localName]=a.no,r[a.no]=a.localName}return Eh(r,e,t),r}function kh(e){return"localName"in e?e:Object.assign(Object.assign({},e),{localName:e.name})}class Je{equals(t){return this.getType().runtime.util.equals(this.getType(),this,t)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(t,n){const r=this.getType(),i=r.runtime.bin,a=i.makeReadOptions(n);return i.readMessage(this,a.readerFactory(t),t.byteLength,a),this}fromJson(t,n){const r=this.getType(),i=r.runtime.json,a=i.makeReadOptions(n);return i.readMessage(r,t,a,this),this}fromJsonString(t,n){let r;try{r=JSON.parse(t)}catch(i){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${i instanceof Error?i.message:String(i)}`)}return this.fromJson(r,n)}toBinary(t){const n=this.getType(),r=n.runtime.bin,i=r.makeWriteOptions(t),a=i.writerFactory();return r.writeMessage(this,a,i),a.finish()}toJson(t){const n=this.getType(),r=n.runtime.json,i=r.makeWriteOptions(t);return r.writeMessage(this,i)}toJsonString(t){var n;const r=this.toJson(t);return JSON.stringify(r,null,(n=t?.prettySpaces)!==null&&n!==void 0?n:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function PC(e,t,n,r){var i;const a=(i=r?.localName)!==null&&i!==void 0?i:t.substring(t.lastIndexOf(".")+1),o={[a]:function(s){e.util.initFields(this),e.util.initPartial(s,this)}}[a];return Object.setPrototypeOf(o.prototype,new Je),Object.assign(o,{runtime:e,typeName:t,fields:e.util.newFieldList(n),fromBinary(s,u){return new o().fromBinary(s,u)},fromJson(s,u){return new o().fromJson(s,u)},fromJsonString(s,u){return new o().fromJsonString(s,u)},equals(s,u){return e.util.equals(o,s,u)}}),o}function OC(e,t,n,r){return{syntax:e,json:t,bin:n,util:r,makeMessageType(i,a,o){return PC(this,i,a,o)},makeEnum:jC,makeEnumType:Ch,getEnumType:HC}}var q;(function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"})(q||(q={}));var nr;(function(e){e[e.BIGINT=0]="BIGINT",e[e.STRING=1]="STRING"})(nr||(nr={}));function VC(){let e=0,t=0;for(let r=0;r<28;r+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<r,(i&128)==0)return this.assertBounds(),[e,t]}let n=this.buf[this.pos++];if(e|=(n&15)<<28,t=(n&112)>>4,(n&128)==0)return this.assertBounds(),[e,t];for(let r=3;r<=31;r+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<r,(i&128)==0)return this.assertBounds(),[e,t]}throw new Error("invalid varint")}function Wo(e,t,n){for(let a=0;a<28;a=a+7){const o=e>>>a,s=!(!(o>>>7)&&t==0),u=(s?o|128:o)&255;if(n.push(u),!s)return}const r=e>>>28&15|(t&7)<<4,i=t>>3!=0;if(n.push((i?r|128:r)&255),!!i){for(let a=3;a<31;a=a+7){const o=t>>>a,s=!!(o>>>7),u=(s?o|128:o)&255;if(n.push(u),!s)return}n.push(t>>>31&1)}}const Wl=4294967296;function Ih(e){const t=e[0]==="-";t&&(e=e.slice(1));const n=1e6;let r=0,i=0;function a(o,s){const u=Number(e.slice(o,s));i*=n,r=r*n+u,r>=Wl&&(i=i+(r/Wl|0),r=r%Wl)}return a(-24,-18),a(-18,-12),a(-12,-6),a(-6),t?Fh(r,i):Uo(r,i)}function GC(e,t){let n=Uo(e,t);const r=n.hi&2147483648;r&&(n=Fh(n.lo,n.hi));const i=zh(n.lo,n.hi);return r?"-"+i:i}function zh(e,t){if({lo:e,hi:t}=_C(e,t),t<=2097151)return String(Wl*t+e);const n=e&16777215,r=(e>>>24|t<<8)&16777215,i=t>>16&65535;let a=n+r*6777216+i*6710656,o=r+i*8147497,s=i*2;const u=1e7;return a>=u&&(o+=Math.floor(a/u),a%=u),o>=u&&(s+=Math.floor(o/u),o%=u),s.toString()+Mh(o)+Mh(a)}function _C(e,t){return{lo:e>>>0,hi:t>>>0}}function Uo(e,t){return{lo:e|0,hi:t|0}}function Fh(e,t){return t=~t,e?e=~e+1:t+=1,Uo(e,t)}const Mh=e=>{const t=String(e);return"0000000".slice(t.length)+t};function Sh(e,t){if(e>=0){for(;e>127;)t.push(e&127|128),e=e>>>7;t.push(e)}else{for(let n=0;n<9;n++)t.push(e&127|128),e=e>>7;t.push(1)}}function $C(){let e=this.buf[this.pos++],t=e&127;if((e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<7,(e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<14,(e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<21,(e&128)==0)return this.assertBounds(),t;e=this.buf[this.pos++],t|=(e&15)<<28;for(let n=5;(e&128)!==0&&n<10;n++)e=this.buf[this.pos++];if((e&128)!=0)throw new Error("invalid varint");return this.assertBounds(),t>>>0}function WC(){const e=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof e.getBigInt64=="function"&&typeof e.getBigUint64=="function"&&typeof e.setBigInt64=="function"&&typeof e.setBigUint64=="function"&&(typeof process!="object"||typeof process.env!="object"||process.env.BUF_BIGINT_DISABLE!=="1")){const i=BigInt("-9223372036854775808"),a=BigInt("9223372036854775807"),o=BigInt("0"),s=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(u){const c=typeof u=="bigint"?u:BigInt(u);if(c>a||c<i)throw new Error(`int64 invalid: ${u}`);return c},uParse(u){const c=typeof u=="bigint"?u:BigInt(u);if(c>s||c<o)throw new Error(`uint64 invalid: ${u}`);return c},enc(u){return e.setBigInt64(0,this.parse(u),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},uEnc(u){return e.setBigInt64(0,this.uParse(u),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},dec(u,c){return e.setInt32(0,u,!0),e.setInt32(4,c,!0),e.getBigInt64(0,!0)},uDec(u,c){return e.setInt32(0,u,!0),e.setInt32(4,c,!0),e.getBigUint64(0,!0)}}}const n=i=>kt(/^-?[0-9]+$/.test(i),`int64 invalid: ${i}`),r=i=>kt(/^[0-9]+$/.test(i),`uint64 invalid: ${i}`);return{zero:"0",supported:!1,parse(i){return typeof i!="string"&&(i=i.toString()),n(i),i},uParse(i){return typeof i!="string"&&(i=i.toString()),r(i),i},enc(i){return typeof i!="string"&&(i=i.toString()),n(i),Ih(i)},uEnc(i){return typeof i!="string"&&(i=i.toString()),r(i),Ih(i)},dec(i,a){return GC(i,a)},uDec(i,a){return zh(i,a)}}}const Xe=WC();var nt;(function(e){e[e.Varint=0]="Varint",e[e.Bit64=1]="Bit64",e[e.LengthDelimited=2]="LengthDelimited",e[e.StartGroup=3]="StartGroup",e[e.EndGroup=4]="EndGroup",e[e.Bit32=5]="Bit32"})(nt||(nt={}));class UC{constructor(t){this.stack=[],this.textEncoder=t??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let t=0;for(let i=0;i<this.chunks.length;i++)t+=this.chunks[i].length;let n=new Uint8Array(t),r=0;for(let i=0;i<this.chunks.length;i++)n.set(this.chunks[i],r),r+=this.chunks[i].length;return this.chunks=[],n}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let t=this.finish(),n=this.stack.pop();if(!n)throw new Error("invalid state, fork stack empty");return this.chunks=n.chunks,this.buf=n.buf,this.uint32(t.byteLength),this.raw(t)}tag(t,n){return this.uint32((t<<3|n)>>>0)}raw(t){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(t),this}uint32(t){for($o(t);t>127;)this.buf.push(t&127|128),t=t>>>7;return this.buf.push(t),this}int32(t){return $l(t),Sh(t,this.buf),this}bool(t){return this.buf.push(t?1:0),this}bytes(t){return this.uint32(t.byteLength),this.raw(t)}string(t){let n=this.textEncoder.encode(t);return this.uint32(n.byteLength),this.raw(n)}float(t){wh(t);let n=new Uint8Array(4);return new DataView(n.buffer).setFloat32(0,t,!0),this.raw(n)}double(t){let n=new Uint8Array(8);return new DataView(n.buffer).setFloat64(0,t,!0),this.raw(n)}fixed32(t){$o(t);let n=new Uint8Array(4);return new DataView(n.buffer).setUint32(0,t,!0),this.raw(n)}sfixed32(t){$l(t);let n=new Uint8Array(4);return new DataView(n.buffer).setInt32(0,t,!0),this.raw(n)}sint32(t){return $l(t),t=(t<<1^t>>31)>>>0,Sh(t,this.buf),this}sfixed64(t){let n=new Uint8Array(8),r=new DataView(n.buffer),i=Xe.enc(t);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}fixed64(t){let n=new Uint8Array(8),r=new DataView(n.buffer),i=Xe.uEnc(t);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}int64(t){let n=Xe.enc(t);return Wo(n.lo,n.hi,this.buf),this}sint64(t){let n=Xe.enc(t),r=n.hi>>31,i=n.lo<<1^r,a=(n.hi<<1|n.lo>>>31)^r;return Wo(i,a,this.buf),this}uint64(t){let n=Xe.uEnc(t);return Wo(n.lo,n.hi,this.buf),this}}class XC{constructor(t,n){this.varint64=VC,this.uint32=$C,this.buf=t,this.len=t.length,this.pos=0,this.view=new DataView(t.buffer,t.byteOffset,t.byteLength),this.textDecoder=n??new TextDecoder}tag(){let t=this.uint32(),n=t>>>3,r=t&7;if(n<=0||r<0||r>5)throw new Error("illegal tag: field no "+n+" wire type "+r);return[n,r]}skip(t){let n=this.pos;switch(t){case nt.Varint:for(;this.buf[this.pos++]&128;);break;case nt.Bit64:this.pos+=4;case nt.Bit32:this.pos+=4;break;case nt.LengthDelimited:let r=this.uint32();this.pos+=r;break;case nt.StartGroup:let i;for(;(i=this.tag()[1])!==nt.EndGroup;)this.skip(i);break;default:throw new Error("cant skip wire type "+t)}return this.assertBounds(),this.buf.subarray(n,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let t=this.uint32();return t>>>1^-(t&1)}int64(){return Xe.dec(...this.varint64())}uint64(){return Xe.uDec(...this.varint64())}sint64(){let[t,n]=this.varint64(),r=-(t&1);return t=(t>>>1|(n&1)<<31)^r,n=n>>>1^r,Xe.dec(t,n)}bool(){let[t,n]=this.varint64();return t!==0||n!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return Xe.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return Xe.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let t=this.uint32(),n=this.pos;return this.pos+=t,this.assertBounds(),this.buf.subarray(n,n+t)}string(){return this.textDecoder.decode(this.bytes())}}function Xo(e,t){return t instanceof Je||!e.fieldWrapper?t:e.fieldWrapper.wrapField(t)}q.DOUBLE,q.FLOAT,q.INT64,q.UINT64,q.INT32,q.UINT32,q.BOOL,q.STRING,q.BYTES;function _n(e,t,n){if(t===n)return!0;if(e==q.BYTES){if(!(t instanceof Uint8Array)||!(n instanceof Uint8Array)||t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}switch(e){case q.UINT64:case q.FIXED64:case q.INT64:case q.SFIXED64:case q.SINT64:return t==n}return!1}function Zo(e,t){switch(e){case q.BOOL:return!1;case q.UINT64:case q.FIXED64:case q.INT64:case q.SFIXED64:case q.SINT64:return t==0?Xe.zero:"0";case q.DOUBLE:case q.FLOAT:return 0;case q.BYTES:return new Uint8Array(0);case q.STRING:return"";default:return 0}}function Ah(e,t){const n=t===void 0;let r=nt.Varint,i=t===0;switch(e){case q.STRING:i=n||!t.length,r=nt.LengthDelimited;break;case q.BOOL:i=t===!1;break;case q.DOUBLE:r=nt.Bit64;break;case q.FLOAT:r=nt.Bit32;break;case q.INT64:i=n||t==0;break;case q.UINT64:i=n||t==0;break;case q.FIXED64:i=n||t==0,r=nt.Bit64;break;case q.BYTES:i=n||!t.byteLength,r=nt.LengthDelimited;break;case q.FIXED32:r=nt.Bit32;break;case q.SFIXED32:r=nt.Bit32;break;case q.SFIXED64:i=n||t==0,r=nt.Bit64;break;case q.SINT64:i=n||t==0;break}const a=q[e].toLowerCase();return[r,a,n||i]}const Cr=Symbol("@bufbuild/protobuf/unknown-fields"),Nh={readUnknownFields:!0,readerFactory:e=>new XC(e)},Dh={writeUnknownFields:!0,writerFactory:()=>new UC};function ZC(e){return e?Object.assign(Object.assign({},Nh),e):Nh}function YC(e){return e?Object.assign(Object.assign({},Dh),e):Dh}function JC(){return{makeReadOptions:ZC,makeWriteOptions:YC,listUnknownFields(e){var t;return(t=e[Cr])!==null&&t!==void 0?t:[]},discardUnknownFields(e){delete e[Cr]},writeUnknownFields(e,t){const r=e[Cr];if(r)for(const i of r)t.tag(i.no,i.wireType).raw(i.data)},onUnknownField(e,t,n,r){const i=e;Array.isArray(i[Cr])||(i[Cr]=[]),i[Cr].push({no:t,wireType:n,data:r})},readMessage(e,t,n,r){const i=e.getType(),a=n===void 0?t.len:t.pos+n;for(;t.pos<a;){const[o,s]=t.tag(),u=i.fields.find(o);if(!u){const m=t.skip(s);r.readUnknownFields&&this.onUnknownField(e,o,s,m);continue}let c=e,d=u.repeated,h=u.localName;switch(u.oneof&&(c=c[u.oneof.localName],c.case!=h&&delete c.value,c.case=h,h="value"),u.kind){case"scalar":case"enum":const m=u.kind=="enum"?q.INT32:u.T;let p=Xl;if(u.kind=="scalar"&&u.L>0&&(p=qC),d){let x=c[h];if(s==nt.LengthDelimited&&m!=q.STRING&&m!=q.BYTES){let y=t.uint32()+t.pos;for(;t.pos<y;)x.push(p(t,m))}else x.push(p(t,m))}else c[h]=p(t,m);break;case"message":const g=u.T;d?c[h].push(Ul(t,new g,r)):c[h]instanceof Je?Ul(t,c[h],r):(c[h]=Ul(t,new g,r),g.fieldWrapper&&!u.oneof&&!u.repeated&&(c[h]=g.fieldWrapper.unwrapField(c[h])));break;case"map":let[b,v]=KC(u,t,r);c[h][b]=v;break}}}}}function Ul(e,t,n){return t.getType().runtime.bin.readMessage(t,e,e.uint32(),n),t}function KC(e,t,n){const r=t.uint32(),i=t.pos+r;let a,o;for(;t.pos<i;){let[s]=t.tag();switch(s){case 1:a=Xl(t,e.K);break;case 2:switch(e.V.kind){case"scalar":o=Xl(t,e.V.T);break;case"enum":o=t.int32();break;case"message":o=Ul(t,new e.V.T,n);break}break}}if(a===void 0){let s=Zo(e.K,nr.BIGINT);a=e.K==q.BOOL?s.toString():s}if(typeof a!="string"&&typeof a!="number"&&(a=a.toString()),o===void 0)switch(e.V.kind){case"scalar":o=Zo(e.V.T,nr.BIGINT);break;case"enum":o=0;break;case"message":o=new e.V.T;break}return[a,o]}function qC(e,t){const n=Xl(e,t);return typeof n=="bigint"?n.toString():n}function Xl(e,t){switch(t){case q.STRING:return e.string();case q.BOOL:return e.bool();case q.DOUBLE:return e.double();case q.FLOAT:return e.float();case q.INT32:return e.int32();case q.INT64:return e.int64();case q.UINT64:return e.uint64();case q.FIXED64:return e.fixed64();case q.BYTES:return e.bytes();case q.FIXED32:return e.fixed32();case q.SFIXED32:return e.sfixed32();case q.SFIXED64:return e.sfixed64();case q.SINT64:return e.sint64();case q.UINT32:return e.uint32();case q.SINT32:return e.sint32()}}function QC(e,t,n,r,i){e.tag(n.no,nt.LengthDelimited),e.fork();let a=r;switch(n.K){case q.INT32:case q.FIXED32:case q.UINT32:case q.SFIXED32:case q.SINT32:a=Number.parseInt(r);break;case q.BOOL:kt(r=="true"||r=="false"),a=r=="true";break}switch(hi(e,n.K,1,a,!0),n.V.kind){case"scalar":hi(e,n.V.T,2,i,!0);break;case"enum":hi(e,q.INT32,2,i,!0);break;case"message":Yo(e,t,n.V.T,2,i);break}e.join()}function Yo(e,t,n,r,i){if(i!==void 0){const a=Xo(n,i);e.tag(r,nt.LengthDelimited).bytes(a.toBinary(t))}}function hi(e,t,n,r,i){let[a,o,s]=Ah(t,r);(!s||i)&&e.tag(n,a)[o](r)}function RC(e,t,n,r){if(!r.length)return;e.tag(n,nt.LengthDelimited).fork();let[,i]=Ah(t);for(let a=0;a<r.length;a++)e[i](r[a]);e.join()}function ek(){return Object.assign(Object.assign({},JC()),{writeMessage(e,t,n){const r=e.getType();for(const i of r.fields.byNumber()){let a,o=i.repeated,s=i.localName;if(i.oneof){const u=e[i.oneof.localName];if(u.case!==s)continue;a=u.value}else a=e[s];switch(i.kind){case"scalar":case"enum":let u=i.kind=="enum"?q.INT32:i.T;if(o)if(i.packed)RC(t,u,i.no,a);else for(const c of a)hi(t,u,i.no,c,!0);else a!==void 0&&hi(t,u,i.no,a,!!i.oneof||i.opt);break;case"message":if(o)for(const c of a)Yo(t,n,i.T,i.no,c);else Yo(t,n,i.T,i.no,a);break;case"map":for(const[c,d]of Object.entries(a))QC(t,n,i,c,d);break}}return n.writeUnknownFields&&this.writeUnknownFields(e,t),t}})}let wn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Zl=[];for(let e=0;e<wn.length;e++)Zl[wn[e].charCodeAt(0)]=e;Zl[45]=wn.indexOf("+"),Zl[95]=wn.indexOf("/");const Yl={dec(e){let t=e.length*3/4;e[e.length-2]=="="?t-=2:e[e.length-1]=="="&&(t-=1);let n=new Uint8Array(t),r=0,i=0,a,o=0;for(let s=0;s<e.length;s++){if(a=Zl[e.charCodeAt(s)],a===void 0)switch(e[s]){case"=":i=0;case`
108
108
  `:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:o=a,i=1;break;case 1:n[r++]=o<<2|(a&48)>>4,o=a,i=2;break;case 2:n[r++]=(o&15)<<4|(a&60)>>2,o=a,i=3;break;case 3:n[r++]=(o&3)<<6|a,i=0;break}}if(i==1)throw Error("invalid base64 string.");return n.subarray(0,r)},enc(e){let t="",n=0,r,i=0;for(let a=0;a<e.length;a++)switch(r=e[a],n){case 0:t+=wn[r>>2],i=(r&3)<<4,n=1;break;case 1:t+=wn[i|r>>4],i=(r&15)<<2,n=2;break;case 2:t+=wn[i|r>>6],t+=wn[r&63],n=0;break}return n&&(t+=wn[i],t+="=",n==1&&(t+="=")),t}},Lh={ignoreUnknownFields:!1},Th={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0};function tk(e){return e?Object.assign(Object.assign({},Lh),e):Lh}function nk(e){return e?Object.assign(Object.assign({},Th),e):Th}function rk(e){const t=e(ik,Hh);return{makeReadOptions:tk,makeWriteOptions:nk,readMessage(n,r,i,a){if(r==null||Array.isArray(r)||typeof r!="object")throw new Error(`cannot decode message ${n.typeName} from JSON: ${this.debug(r)}`);a=a??new n;const o={};for(const[s,u]of Object.entries(r)){const c=n.fields.findJsonName(s);if(!c){if(!i.ignoreUnknownFields)throw new Error(`cannot decode message ${n.typeName} from JSON: key "${s}" is unknown`);continue}let d=c.localName,h=a;if(c.oneof){if(u===null&&c.kind=="scalar")continue;const m=o[c.oneof.localName];if(m)throw new Error(`cannot decode message ${n.typeName} from JSON: multiple keys for oneof "${c.oneof.name}" present: "${m}", "${s}"`);o[c.oneof.localName]=s,h=h[c.oneof.localName]={case:d},d="value"}if(c.repeated){if(u===null)continue;if(!Array.isArray(u))throw new Error(`cannot decode field ${n.typeName}.${c.name} from JSON: ${this.debug(u)}`);const m=h[d];for(const p of u){if(p===null)throw new Error(`cannot decode field ${n.typeName}.${c.name} from JSON: ${this.debug(p)}`);let g;switch(c.kind){case"message":g=c.T.fromJson(p,i);break;case"enum":if(g=Jo(c.T,p,i.ignoreUnknownFields),g===void 0)continue;break;case"scalar":try{g=mi(c.T,p,c.L)}catch(b){let v=`cannot decode field ${n.typeName}.${c.name} from JSON: ${this.debug(p)}`;throw b instanceof Error&&b.message.length>0&&(v+=`: ${b.message}`),new Error(v)}break}m.push(g)}}else if(c.kind=="map"){if(u===null)continue;if(Array.isArray(u)||typeof u!="object")throw new Error(`cannot decode field ${n.typeName}.${c.name} from JSON: ${this.debug(u)}`);const m=h[d];for(const[p,g]of Object.entries(u)){if(g===null)throw new Error(`cannot decode field ${n.typeName}.${c.name} from JSON: map value null`);let b;switch(c.V.kind){case"message":b=c.V.T.fromJson(g,i);break;case"enum":if(b=Jo(c.V.T,g,i.ignoreUnknownFields),b===void 0)continue;break;case"scalar":try{b=mi(c.V.T,g,nr.BIGINT)}catch(v){let x=`cannot decode map value for field ${n.typeName}.${c.name} from JSON: ${this.debug(u)}`;throw v instanceof Error&&v.message.length>0&&(x+=`: ${v.message}`),new Error(x)}break}try{m[mi(c.K,c.K==q.BOOL?p=="true"?!0:p=="false"?!1:p:p,nr.BIGINT).toString()]=b}catch(v){let x=`cannot decode map key for field ${n.typeName}.${c.name} from JSON: ${this.debug(u)}`;throw v instanceof Error&&v.message.length>0&&(x+=`: ${v.message}`),new Error(x)}}}else switch(c.kind){case"message":const m=c.T;if(u===null&&m.typeName!="google.protobuf.Value"){if(c.oneof)throw new Error(`cannot decode field ${n.typeName}.${c.name} from JSON: null is invalid for oneof field "${s}"`);continue}h[d]instanceof Je?h[d].fromJson(u,i):(h[d]=m.fromJson(u,i),m.fieldWrapper&&!c.oneof&&(h[d]=m.fieldWrapper.unwrapField(h[d])));break;case"enum":const p=Jo(c.T,u,i.ignoreUnknownFields);p!==void 0&&(h[d]=p);break;case"scalar":try{h[d]=mi(c.T,u,c.L)}catch(g){let b=`cannot decode field ${n.typeName}.${c.name} from JSON: ${this.debug(u)}`;throw g instanceof Error&&g.message.length>0&&(b+=`: ${g.message}`),new Error(b)}break}}return a},writeMessage(n,r){const i=n.getType(),a={};let o;try{for(const s of i.fields.byMember()){let u;if(s.kind=="oneof"){const c=n[s.localName];if(c.value===void 0)continue;if(o=s.findField(c.case),!o)throw"oneof case not found: "+c.case;u=t(o,c.value,r)}else o=s,u=t(o,n[o.localName],r);u!==void 0&&(a[r.useProtoFieldName?o.name:o.jsonName]=u)}}catch(s){const u=o?`cannot encode field ${i.typeName}.${o.name} to JSON`:`cannot encode message ${i.typeName} to JSON`,c=s instanceof Error?s.message:String(s);throw new Error(u+(c.length>0?`: ${c}`:""))}return a},readScalar:mi,writeScalar:Hh,debug:Bh}}function Bh(e){if(e===null)return"null";switch(typeof e){case"object":return Array.isArray(e)?"array":"object";case"string":return e.length>100?"string":`"${e.split('"').join('\\"')}"`;default:return String(e)}}function mi(e,t,n){switch(e){case q.DOUBLE:case q.FLOAT:if(t===null)return 0;if(t==="NaN")return Number.NaN;if(t==="Infinity")return Number.POSITIVE_INFINITY;if(t==="-Infinity")return Number.NEGATIVE_INFINITY;if(t===""||typeof t=="string"&&t.trim().length!==t.length||typeof t!="string"&&typeof t!="number")break;const r=Number(t);if(Number.isNaN(r)||!Number.isFinite(r))break;return e==q.FLOAT&&wh(r),r;case q.INT32:case q.FIXED32:case q.SFIXED32:case q.SINT32:case q.UINT32:if(t===null)return 0;let i;if(typeof t=="number"?i=t:typeof t=="string"&&t.length>0&&t.trim().length===t.length&&(i=Number(t)),i===void 0)break;return e==q.UINT32?$o(i):$l(i),i;case q.INT64:case q.SFIXED64:case q.SINT64:if(t===null)return Xe.zero;if(typeof t!="number"&&typeof t!="string")break;const a=Xe.parse(t);return n?a.toString():a;case q.FIXED64:case q.UINT64:if(t===null)return Xe.zero;if(typeof t!="number"&&typeof t!="string")break;const o=Xe.uParse(t);return n?o.toString():o;case q.BOOL:if(t===null)return!1;if(typeof t!="boolean")break;return t;case q.STRING:if(t===null)return"";if(typeof t!="string")break;try{encodeURIComponent(t)}catch{throw new Error("invalid UTF8")}return t;case q.BYTES:if(t===null||t==="")return new Uint8Array(0);if(typeof t!="string")break;return Yl.dec(t)}throw new Error}function Jo(e,t,n){if(t===null)return 0;switch(typeof t){case"number":if(Number.isInteger(t))return t;break;case"string":const r=e.findName(t);if(r||n)return r?.no;break}throw new Error(`cannot decode enum ${e.typeName} from JSON: ${Bh(t)}`)}function ik(e,t,n,r){var i;if(t===void 0)return t;if(t===0&&!n)return;if(r)return t;if(e.typeName=="google.protobuf.NullValue")return null;const a=e.findNumber(t);return(i=a?.name)!==null&&i!==void 0?i:t}function Hh(e,t,n){if(t!==void 0)switch(e){case q.INT32:case q.SFIXED32:case q.SINT32:case q.FIXED32:case q.UINT32:return kt(typeof t=="number"),t!=0||n?t:void 0;case q.FLOAT:case q.DOUBLE:return kt(typeof t=="number"),Number.isNaN(t)?"NaN":t===Number.POSITIVE_INFINITY?"Infinity":t===Number.NEGATIVE_INFINITY?"-Infinity":t!==0||n?t:void 0;case q.STRING:return kt(typeof t=="string"),t.length>0||n?t:void 0;case q.BOOL:return kt(typeof t=="boolean"),t||n?t:void 0;case q.UINT64:case q.FIXED64:case q.INT64:case q.SFIXED64:case q.SINT64:return kt(typeof t=="bigint"||typeof t=="string"||typeof t=="number"),n||t!=0?t.toString(10):void 0;case q.BYTES:return kt(t instanceof Uint8Array),n||t.byteLength>0?Yl.enc(t):void 0}}function lk(){return rk((e,t)=>function(r,i,a){if(r.kind=="map"){const o={};switch(r.V.kind){case"scalar":for(const[u,c]of Object.entries(i)){const d=t(r.V.T,c,!0);kt(d!==void 0),o[u.toString()]=d}break;case"message":for(const[u,c]of Object.entries(i))o[u.toString()]=c.toJson(a);break;case"enum":const s=r.V.T;for(const[u,c]of Object.entries(i)){kt(c===void 0||typeof c=="number");const d=e(s,c,!0,a.enumAsInteger);kt(d!==void 0),o[u.toString()]=d}break}return a.emitDefaultValues||Object.keys(o).length>0?o:void 0}else if(r.repeated){const o=[];switch(r.kind){case"scalar":for(let s=0;s<i.length;s++)o.push(t(r.T,i[s],!0));break;case"enum":for(let s=0;s<i.length;s++)o.push(e(r.T,i[s],!0,a.enumAsInteger));break;case"message":for(let s=0;s<i.length;s++)o.push(Xo(r.T,i[s]).toJson(a));break}return a.emitDefaultValues||o.length>0?o:void 0}else switch(r.kind){case"scalar":return t(r.T,i,!!r.oneof||r.opt||a.emitDefaultValues);case"enum":return e(r.T,i,!!r.oneof||r.opt||a.emitDefaultValues,a.enumAsInteger);case"message":return i!==void 0?Xo(r.T,i).toJson(a):void 0}})}function ak(){return{setEnumType:Eh,initPartial(e,t){if(e===void 0)return;const n=t.getType();for(const r of n.fields.byMember()){const i=r.localName,a=t,o=e;if(o[i]!==void 0)switch(r.kind){case"oneof":const s=o[i].case;if(s===void 0)continue;const u=r.findField(s);let c=o[i].value;u&&u.kind=="message"&&!(c instanceof u.T)?c=new u.T(c):u&&u.kind==="scalar"&&u.T===q.BYTES&&(c=pi(c)),a[i]={case:s,value:c};break;case"scalar":case"enum":let d=o[i];r.T===q.BYTES&&(d=r.repeated?d.map(pi):pi(d)),a[i]=d;break;case"map":switch(r.V.kind){case"scalar":case"enum":if(r.V.T===q.BYTES)for(const[p,g]of Object.entries(o[i]))a[i][p]=pi(g);else Object.assign(a[i],o[i]);break;case"message":const m=r.V.T;for(const p of Object.keys(o[i])){let g=o[i][p];m.fieldWrapper||(g=new m(g)),a[i][p]=g}break}break;case"message":const h=r.T;if(r.repeated)a[i]=o[i].map(m=>m instanceof h?m:new h(m));else if(o[i]!==void 0){const m=o[i];h.fieldWrapper?h.typeName==="google.protobuf.BytesValue"?a[i]=pi(m):a[i]=m:a[i]=m instanceof h?m:new h(m)}break}}},equals(e,t,n){return t===n?!0:!t||!n?!1:e.fields.byMember().every(r=>{const i=t[r.localName],a=n[r.localName];if(r.repeated){if(i.length!==a.length)return!1;switch(r.kind){case"message":return i.every((o,s)=>r.T.equals(o,a[s]));case"scalar":return i.every((o,s)=>_n(r.T,o,a[s]));case"enum":return i.every((o,s)=>_n(q.INT32,o,a[s]))}throw new Error(`repeated cannot contain ${r.kind}`)}switch(r.kind){case"message":return r.T.equals(i,a);case"enum":return _n(q.INT32,i,a);case"scalar":return _n(r.T,i,a);case"oneof":if(i.case!==a.case)return!1;const o=r.findField(i.case);if(o===void 0)return!0;switch(o.kind){case"message":return o.T.equals(i.value,a.value);case"enum":return _n(q.INT32,i.value,a.value);case"scalar":return _n(o.T,i.value,a.value)}throw new Error(`oneof cannot contain ${o.kind}`);case"map":const s=Object.keys(i).concat(Object.keys(a));switch(r.V.kind){case"message":const u=r.V.T;return s.every(d=>u.equals(i[d],a[d]));case"enum":return s.every(d=>_n(q.INT32,i[d],a[d]));case"scalar":const c=r.V.T;return s.every(d=>_n(c,i[d],a[d]))}break}})},clone(e){const t=e.getType(),n=new t,r=n;for(const i of t.fields.byMember()){const a=e[i.localName];let o;if(i.repeated)o=a.map(Jl);else if(i.kind=="map"){o=r[i.localName];for(const[s,u]of Object.entries(a))o[s]=Jl(u)}else i.kind=="oneof"?o=i.findField(a.case)?{case:a.case,value:Jl(a.value)}:{case:void 0}:o=Jl(a);r[i.localName]=o}return n}}}function Jl(e){if(e===void 0)return e;if(e instanceof Je)return e.clone();if(e instanceof Uint8Array){const t=new Uint8Array(e.byteLength);return t.set(e),t}return e}function pi(e){return e instanceof Uint8Array?e:new Uint8Array(e)}class ok{constructor(t,n){this._fields=t,this._normalizer=n}findJsonName(t){if(!this.jsonNames){const n={};for(const r of this.list())n[r.jsonName]=n[r.name]=r;this.jsonNames=n}return this.jsonNames[t]}find(t){if(!this.numbers){const n={};for(const r of this.list())n[r.no]=r;this.numbers=n}return this.numbers[t]}list(){return this.all||(this.all=this._normalizer(this._fields)),this.all}byNumber(){return this.numbersAsc||(this.numbersAsc=this.list().concat().sort((t,n)=>t.no-n.no)),this.numbersAsc}byMember(){if(!this.members){this.members=[];const t=this.members;let n;for(const r of this.list())r.oneof?r.oneof!==n&&(n=r.oneof,t.push(n)):t.push(r)}return this.members}}function jh(e,t){const n=Ph(e);return t?n:hk(fk(n))}function sk(e){return jh(e,!1)}const uk=Ph;function Ph(e){let t=!1;const n=[];for(let r=0;r<e.length;r++){let i=e.charAt(r);switch(i){case"_":t=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n.push(i),t=!1;break;default:t&&(t=!1,i=i.toUpperCase()),n.push(i);break}}return n.join("")}const ck=new Set(["constructor","toString","toJSON","valueOf"]),dk=new Set(["getType","clone","equals","fromBinary","fromJson","fromJsonString","toBinary","toJson","toJsonString","toObject"]),Oh=e=>`${e}$`,fk=e=>dk.has(e)?Oh(e):e,hk=e=>ck.has(e)?Oh(e):e;class mk{constructor(t){this.kind="oneof",this.repeated=!1,this.packed=!1,this.opt=!1,this.default=void 0,this.fields=[],this.name=t,this.localName=sk(t)}addField(t){kt(t.oneof===this,`field ${t.name} not one of ${this.name}`),this.fields.push(t)}findField(t){if(!this._lookup){this._lookup=Object.create(null);for(let n=0;n<this.fields.length;n++)this._lookup[this.fields[n].localName]=this.fields[n]}return this._lookup[t]}}const ie=OC("proto3",lk(),ek(),Object.assign(Object.assign({},ak()),{newFieldList(e){return new ok(e,pk)},initFields(e){for(const t of e.getType().fields.byMember()){if(t.opt)continue;const n=t.localName,r=e;if(t.repeated){r[n]=[];continue}switch(t.kind){case"oneof":r[n]={case:void 0};break;case"enum":r[n]=0;break;case"map":r[n]={};break;case"scalar":r[n]=Zo(t.T,t.L);break}}}}));function pk(e){var t,n,r,i;const a=[];let o;for(const s of typeof e=="function"?e():e){const u=s;if(u.localName=jh(s.name,s.oneof!==void 0),u.jsonName=(t=s.jsonName)!==null&&t!==void 0?t:uk(s.name),u.repeated=(n=s.repeated)!==null&&n!==void 0?n:!1,s.kind=="scalar"&&(u.L=(r=s.L)!==null&&r!==void 0?r:nr.BIGINT),u.packed=(i=s.packed)!==null&&i!==void 0?i:s.kind=="enum"||s.kind=="scalar"&&s.T!=q.BYTES&&s.T!=q.STRING,s.oneof!==void 0){const c=typeof s.oneof=="string"?s.oneof:s.oneof.name;(!o||o.name!=c)&&(o=new mk(c)),u.oneof=o,o.addField(u)}a.push(u)}return a}var Wt;(function(e){e[e.Unary=0]="Unary",e[e.ServerStreaming=1]="ServerStreaming",e[e.ClientStreaming=2]="ClientStreaming",e[e.BiDiStreaming=3]="BiDiStreaming"})(Wt||(Wt={}));var Ko;(function(e){e[e.NoSideEffects=1]="NoSideEffects",e[e.Idempotent=2]="Idempotent"})(Ko||(Ko={}));var Ve;(function(e){e[e.Canceled=1]="Canceled",e[e.Unknown=2]="Unknown",e[e.InvalidArgument=3]="InvalidArgument",e[e.DeadlineExceeded=4]="DeadlineExceeded",e[e.NotFound=5]="NotFound",e[e.AlreadyExists=6]="AlreadyExists",e[e.PermissionDenied=7]="PermissionDenied",e[e.ResourceExhausted=8]="ResourceExhausted",e[e.FailedPrecondition=9]="FailedPrecondition",e[e.Aborted=10]="Aborted",e[e.OutOfRange=11]="OutOfRange",e[e.Unimplemented=12]="Unimplemented",e[e.Internal=13]="Internal",e[e.Unavailable=14]="Unavailable",e[e.DataLoss=15]="DataLoss",e[e.Unauthenticated=16]="Unauthenticated"})(Ve||(Ve={}));function qo(e){const t=Ve[e];return typeof t!="string"?e.toString():t[0].toLowerCase()+t.substring(1).replace(/[A-Z]/g,n=>"_"+n.toLowerCase())}let Kl;function gk(e){if(!Kl){Kl={};for(const t of Object.values(Ve))typeof t!="string"&&(Kl[qo(t)]=t)}return Kl[e]}class ft extends Error{constructor(t,n=Ve.Unknown,r,i,a){super(vk(t,n)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=t,this.code=n,this.metadata=new Headers(r??{}),this.details=i??[],this.cause=a}static from(t,n=Ve.Unknown){return t instanceof ft?t:t instanceof Error?t.name=="AbortError"?new ft(t.message,Ve.Canceled):new ft(t.message,n,void 0,void 0,t):new ft(String(t),n,void 0,void 0,t)}findDetails(t){const n="typeName"in t?{findMessage:i=>i===t.typeName?t:void 0}:t,r=[];for(const i of this.details){if(i instanceof Je){n.findMessage(i.getType().typeName)&&r.push(i);continue}const a=n.findMessage(i.type);if(a)try{r.push(a.fromBinary(i.value))}catch{}}return r}}function vk(e,t){return e.length?`[${qo(t)}] ${e}`:`[${qo(t)}]`}function bk(...e){const t=new Headers;for(const n of e)n.forEach((r,i)=>{t.append(i,r)});return t}function xk(e,t){const n={};for(const[r,i]of Object.entries(e.methods)){const a=t(Object.assign(Object.assign({},i),{localName:r,service:e}));a!=null&&(n[r]=a)}return n}function wk(e){let t,n=new Uint8Array(0);function r(i){const a=new Uint8Array(n.length+i.length);a.set(n),a.set(i,n.length),n=a}return new ReadableStream({start(){t=e.getReader()},async pull(i){let a;for(;;){if(a===void 0&&n.byteLength>=5){let u=0;for(let c=1;c<5;c++)u=(u<<8)+n[c];a={flags:n[0],length:u}}if(a!==void 0&&n.byteLength>=a.length+5)break;const s=await t.read();if(s.done)break;r(s.value)}if(a===void 0){if(n.byteLength==0){i.close();return}i.error(new ft("premature end of stream",Ve.DataLoss));return}const o=n.subarray(5,5+a.length);n=n.subarray(5+a.length),i.enqueue({flags:a.flags,data:o})}})}function yk(e,t){const n=new Uint8Array(t.length+5);n.set(t,5);const r=new DataView(n.buffer,n.byteOffset,n.byteLength);return r.setUint8(0,e),r.setUint32(1,t.length),n}var Ek=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values=="function"?__values(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(a){n[a]=e[a]&&function(o){return new Promise(function(s,u){o=e[a](o),i(s,u,o.done,o.value)})}}function i(a,o,s,u){Promise.resolve(u).then(function(c){a({value:c,done:s})},o)}},gi=function(e){return this instanceof gi?(this.v=e,this):new gi(e)},Ck=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,a=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(m){r[m]&&(i[m]=function(p){return new Promise(function(g,b){a.push([m,p,g,b])>1||s(m,p)})})}function s(m,p){try{u(r[m](p))}catch(g){h(a[0][3],g)}}function u(m){m.value instanceof gi?Promise.resolve(m.value.v).then(c,d):h(a[0][2],m)}function c(m){s("next",m)}function d(m){s("throw",m)}function h(m,p){m(p),a.shift(),a.length&&s(a[0][0],a[0][1])}},kk=function(e){var t,n;return t={},r("next"),r("throw",function(i){throw i}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(i,a){t[i]=e[i]?function(o){return(n=!n)?{value:gi(e[i](o)),done:!1}:a?a(o):o}:a}};function Ik(e){return Ck(this,arguments,function*(){yield gi(yield*kk(Ek(e)))})}var Vh=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values=="function"?__values(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(a){n[a]=e[a]&&function(o){return new Promise(function(s,u){o=e[a](o),i(s,u,o.done,o.value)})}}function i(a,o,s,u){Promise.resolve(u).then(function(c){a({value:c,done:s})},o)}},kr=function(e){return this instanceof kr?(this.v=e,this):new kr(e)},zk=function(e){var t,n;return t={},r("next"),r("throw",function(i){throw i}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(i,a){t[i]=e[i]?function(o){return(n=!n)?{value:kr(e[i](o)),done:!1}:a?a(o):o}:a}},Fk=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,a=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(m){r[m]&&(i[m]=function(p){return new Promise(function(g,b){a.push([m,p,g,b])>1||s(m,p)})})}function s(m,p){try{u(r[m](p))}catch(g){h(a[0][3],g)}}function u(m){m.value instanceof kr?Promise.resolve(m.value.v).then(c,d):h(a[0][2],m)}function c(m){s("next",m)}function d(m){s("throw",m)}function h(m,p){m(p),a.shift(),a.length&&s(a[0][0],a[0][1])}};function Mk(e,t){return xk(e,n=>{switch(n.kind){case Wt.Unary:return Sk(t,e,n);case Wt.ServerStreaming:return Ak(t,e,n);case Wt.ClientStreaming:return Nk(t,e,n);case Wt.BiDiStreaming:return Dk(t,e,n);default:return null}})}function Sk(e,t,n){return async function(r,i){var a,o;const s=await e.unary(t,n,i?.signal,i?.timeoutMs,i?.headers,r,i?.contextValues);return(a=i?.onHeader)===null||a===void 0||a.call(i,s.header),(o=i?.onTrailer)===null||o===void 0||o.call(i,s.trailer),s.message}}function Ak(e,t,n){return function(r,i){return Gh(e.stream(t,n,i?.signal,i?.timeoutMs,i?.headers,Ik([r]),i?.contextValues),i)}}function Nk(e,t,n){return async function(r,i){var a,o,s,u,c,d;const h=await e.stream(t,n,i?.signal,i?.timeoutMs,i?.headers,r,i?.contextValues);(c=i?.onHeader)===null||c===void 0||c.call(i,h.header);let m;try{for(var p=!0,g=Vh(h.message),b;b=await g.next(),a=b.done,!a;p=!0)u=b.value,p=!1,m=u}catch(v){o={error:v}}finally{try{!p&&!a&&(s=g.return)&&await s.call(g)}finally{if(o)throw o.error}}if(!m)throw new ft("protocol error: missing response message",Ve.Internal);return(d=i?.onTrailer)===null||d===void 0||d.call(i,h.trailer),m}}function Dk(e,t,n){return function(r,i){return Gh(e.stream(t,n,i?.signal,i?.timeoutMs,i?.headers,r,i?.contextValues),i)}}function Gh(e,t){const n=function(){var r,i;return Fk(this,arguments,function*(){const a=yield kr(e);(r=t?.onHeader)===null||r===void 0||r.call(t,a.header),yield kr(yield*zk(Vh(a.message))),(i=t?.onTrailer)===null||i===void 0||i.call(t,a.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>n.next()})}}function Lk(...e){const t=new AbortController,n=e.filter(i=>i!==void 0).concat(t.signal);for(const i of n){if(i.aborted){r.apply(i);break}i.addEventListener("abort",r)}function r(){t.signal.aborted||t.abort(_h(this));for(const i of n)i.removeEventListener("abort",r)}return t}function Tk(e){const t=new AbortController,n=()=>{t.abort(new ft("the operation timed out",Ve.DeadlineExceeded))};let r;return e!==void 0&&(e<=0?n():r=setTimeout(n,e)),{signal:t.signal,cleanup:()=>clearTimeout(r)}}function _h(e){if(!e.aborted)return;if(e.reason!==void 0)return e.reason;const t=new Error("This operation was aborted");return t.name="AbortError",t}function $h(){return{get(e){return e.id in this?this[e.id]:e.defaultValue},set(e,t){return this[e.id]=t,this},delete(e){return delete this[e.id],this}}}function Wh(e,t,n){const r=typeof t=="string"?t:t.typeName,i=typeof n=="string"?n:n.name;return e.toString().replace(/\/?$/,`/${r}/${i}`)}function Uh(e,t){return t instanceof Je?t:new e(t)}function Bk(e,t){function n(r){return r.done===!0?r:{done:r.done,value:Uh(e,r.value)}}return{[Symbol.asyncIterator](){const r=t[Symbol.asyncIterator](),i={next:()=>r.next().then(n)};return r.throw!==void 0&&(i.throw=a=>r.throw(a).then(n)),r.return!==void 0&&(i.return=a=>r.return(a).then(n)),i}}}function Xh(e){var t;const n=Object.assign({},e);return(t=n.ignoreUnknownFields)!==null&&t!==void 0||(n.ignoreUnknownFields=!0),n}function Zh(e,t,n,r){const i=t?Yh(e.I,r):Jh(e.I,n);return{parse:(t?Yh(e.O,r):Jh(e.O,n)).parse,serialize:i.serialize}}function Yh(e,t){return{parse(n){try{return e.fromBinary(n,t)}catch(r){const i=r instanceof Error?r.message:String(r);throw new ft(`parse binary: ${i}`,Ve.InvalidArgument)}},serialize(n){try{return n.toBinary(t)}catch(r){const i=r instanceof Error?r.message:String(r);throw new ft(`serialize binary: ${i}`,Ve.Internal)}}}}function Jh(e,t){var n,r;const i=(n=t?.textEncoder)!==null&&n!==void 0?n:new TextEncoder,a=(r=t?.textDecoder)!==null&&r!==void 0?r:new TextDecoder,o=Xh(t);return{parse(s){try{const u=a.decode(s);return e.fromJsonString(u,o)}catch(u){throw ft.from(u,Ve.InvalidArgument)}},serialize(s){try{const u=s.toJsonString(o);return i.encode(u)}catch(u){throw ft.from(u,Ve.Internal)}}}}const Hk=/^application\/(connect\+)?(?:(json)(?:; ?charset=utf-?8)?|(proto))$/i,jk="application/proto",Pk="application/json",Ok="application/connect+proto",Vk="application/connect+json";function Gk(e){const t=e?.match(Hk);if(!t)return;const n=!!t[1],r=!!t[3];return{stream:n,binary:r}}function Kh(e,t,n){if(t&&new Headers(t).forEach((o,s)=>n.metadata.append(s,o)),typeof e!="object"||e==null||Array.isArray(e)||!("code"in e)||typeof e.code!="string")throw n;const r=gk(e.code);if(r===void 0)throw n;const i=e.message;if(i!=null&&typeof i!="string")throw n;const a=new ft(i??"",r,t);if("details"in e&&Array.isArray(e.details))for(const o of e.details){if(o===null||typeof o!="object"||Array.isArray(o)||typeof o.type!="string"||typeof o.value!="string"||"debug"in o&&typeof o.debug!="object")throw n;try{a.details.push({type:o.type,value:Yl.dec(o.value),debug:o.debug})}catch{throw n}}return a}const qh=2;function _k(e){const t=new ft("invalid end stream",Ve.InvalidArgument);let n;try{n=JSON.parse(typeof e=="string"?e:new TextDecoder().decode(e))}catch{throw t}if(typeof n!="object"||n==null||Array.isArray(n))throw t;const r=new Headers;if("metadata"in n){if(typeof n.metadata!="object"||n.metadata==null||Array.isArray(n.metadata))throw t;for(const[a,o]of Object.entries(n.metadata)){if(!Array.isArray(o)||o.some(s=>typeof s!="string"))throw t;for(const s of o)r.append(a,s)}}const i="error"in n?Kh(n.error,r,t):void 0;return{metadata:r,error:i}}const Qo="Content-Type",$k="Content-Length",Qh="Content-Encoding",Wk="Accept-Encoding",Uk="Connect-Timeout-Ms",Rh="Connect-Protocol-Version",Xk="User-Agent";function Zk(e){switch(e){case 400:return Ve.InvalidArgument;case 401:return Ve.Unauthenticated;case 403:return Ve.PermissionDenied;case 404:return Ve.Unimplemented;case 408:return Ve.DeadlineExceeded;case 409:return Ve.Aborted;case 412:return Ve.FailedPrecondition;case 413:return Ve.ResourceExhausted;case 415:return Ve.Internal;case 429:return Ve.Unavailable;case 431:return Ve.ResourceExhausted;case 502:return Ve.Unavailable;case 503:return Ve.Unavailable;case 504:return Ve.Unavailable;default:return Ve.Unknown}}function em(e){const t=new Headers,n=new Headers;return e.forEach((r,i)=>{i.toLowerCase().startsWith("trailer-")?n.set(i.substring(8),r):t.set(i,r)}),[t,n]}const tm="1";function nm(e,t,n,r){const i=new Headers(r??{});return n!==void 0&&i.set(Uk,`${n}`),i.set(Qo,e==Wt.Unary?t?jk:Pk:t?Ok:Vk),i.set(Rh,tm),i.set(Xk,"connect-es/1.1.3"),i}function rm(e,t,n){const r=n.get("Content-Type"),i=Gk(r);if(t!==200){const a=new ft(`HTTP ${t}`,Zk(t),n);if(e==Wt.Unary&&i&&!i.binary)return{isUnaryError:!0,unaryError:a};throw a}return{isUnaryError:!1}}const im="application/";function Yk(e,t){return t?Yl.enc(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):encodeURIComponent(new TextDecoder().decode(e))}function Jk(e,t,n){let r=`?connect=v${tm}`;const i=e.header.get(Qo);i?.indexOf(im)===0&&(r+="&encoding="+encodeURIComponent(i.slice(im.length)));const a=e.header.get(Qh);a!==null&&a!=="identity"&&(r+="&compression="+encodeURIComponent(a),n=!0),n&&(r+="&base64=1"),r+="&message="+Yk(t,n);const o=e.url+r,s=new Headers(e.header);return[Rh,Qo,$k,Qh,Wk].forEach(u=>s.delete(u)),Object.assign(Object.assign({},e),{init:Object.assign(Object.assign({},e.init),{method:"GET"}),url:o,header:s})}function Kk(e){const t=am(e.next,e.interceptors),[n,r,i]=lm(e),a=Object.assign(Object.assign({},e.req),{message:Uh(e.req.method.I,e.req.message),signal:n});return t(a).then(o=>(i(),o),r)}function qk(e){const t=am(e.next,e.interceptors),[n,r,i]=lm(e),a=Object.assign(Object.assign({},e.req),{message:Bk(e.req.method.I,e.req.message),signal:n});let o=!1;return n.addEventListener("abort",function(){var s,u;const c=e.req.message[Symbol.asyncIterator]();o||(s=c.throw)===null||s===void 0||s.call(c,this.reason).catch(()=>{}),(u=c.return)===null||u===void 0||u.call(c).catch(()=>{})}),t(a).then(s=>Object.assign(Object.assign({},s),{message:{[Symbol.asyncIterator](){const u=s.message[Symbol.asyncIterator]();return{next(){return u.next().then(c=>(c.done==!0&&(o=!0,i()),c),r)}}}}}),r)}function lm(e){const{signal:t,cleanup:n}=Tk(e.timeoutMs),r=Lk(e.signal,t);return[r.signal,function(a){const o=ft.from(t.aborted?_h(t):a);return r.abort(o),n(),Promise.reject(o)},function(){n(),r.abort()}]}function am(e,t){var n;return(n=t?.concat().reverse().reduce((r,i)=>i(r),e))!==null&&n!==void 0?n:e}function Qk(){try{new Headers}catch{throw new Error("connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.")}}var vi=function(e){return this instanceof vi?(this.v=e,this):new vi(e)},Rk=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,a=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(m){r[m]&&(i[m]=function(p){return new Promise(function(g,b){a.push([m,p,g,b])>1||s(m,p)})})}function s(m,p){try{u(r[m](p))}catch(g){h(a[0][3],g)}}function u(m){m.value instanceof vi?Promise.resolve(m.value.v).then(c,d):h(a[0][2],m)}function c(m){s("next",m)}function d(m){s("throw",m)}function h(m,p){m(p),a.shift(),a.length&&s(a[0][0],a[0][1])}};function eI(e){var t;Qk();const n=(t=e.useBinaryFormat)!==null&&t!==void 0?t:!1;return{async unary(r,i,a,o,s,u,c){var d;const{serialize:h,parse:m}=Zh(i,n,e.jsonOptions,e.binaryOptions);return o=o===void 0?e.defaultTimeoutMs:o<=0?void 0:o,await Kk({interceptors:e.interceptors,signal:a,timeoutMs:o,req:{stream:!1,service:r,method:i,url:Wh(e.baseUrl,r,i),init:{method:"POST",credentials:(d=e.credentials)!==null&&d!==void 0?d:"same-origin",redirect:"error",mode:"cors"},header:nm(i.kind,n,o,s),contextValues:c??$h(),message:u},next:async p=>{var g;const b=e.useHttpGet===!0&&i.idempotency===Ko.NoSideEffects;let v=null;b?p=Jk(p,h(p.message),n):v=h(p.message);const y=await((g=e.fetch)!==null&&g!==void 0?g:globalThis.fetch)(p.url,Object.assign(Object.assign({},p.init),{headers:p.header,signal:p.signal,body:v})),{isUnaryError:C,unaryError:M}=rm(i.kind,y.status,y.headers);if(C)throw Kh(await y.json(),bk(...em(y.headers)),M);const[E,w]=em(y.headers);return{stream:!1,service:r,method:i,header:E,message:n?m(new Uint8Array(await y.arrayBuffer())):i.O.fromJson(await y.json(),Xh(e.jsonOptions)),trailer:w}}})},async stream(r,i,a,o,s,u,c){var d;const{serialize:h,parse:m}=Zh(i,n,e.jsonOptions,e.binaryOptions);function p(b,v){return Rk(this,arguments,function*(){const y=wk(b).getReader();let C=!1;for(;;){const M=yield vi(y.read());if(M.done)break;const{flags:E,data:w}=M.value;if((E&qh)===qh){C=!0;const z=_k(w);if(z.error)throw z.error;z.metadata.forEach((I,k)=>v.set(k,I));continue}yield yield vi(m(w))}if(!C)throw"missing EndStreamResponse"})}async function g(b){if(i.kind!=Wt.ServerStreaming)throw"The fetch API does not support streaming request bodies";const v=await b[Symbol.asyncIterator]().next();if(v.done==!0)throw"missing request message";return yk(0,h(v.value))}return o=o===void 0?e.defaultTimeoutMs:o<=0?void 0:o,await qk({interceptors:e.interceptors,timeoutMs:o,signal:a,req:{stream:!0,service:r,method:i,url:Wh(e.baseUrl,r,i),init:{method:"POST",credentials:(d=e.credentials)!==null&&d!==void 0?d:"same-origin",redirect:"error",mode:"cors"},header:nm(i.kind,n,o,s),contextValues:c??$h(),message:u},next:async b=>{var v;const y=await((v=e.fetch)!==null&&v!==void 0?v:globalThis.fetch)(b.url,Object.assign(Object.assign({},b.init),{headers:b.header,signal:b.signal,body:await g(b.message)}));if(rm(i.kind,y.status,y.headers),y.body===null)throw"missing response body";const C=new Headers;return Object.assign(Object.assign({},b),{header:y.headers,trailer:C,message:p(y.body,C)})}})}}}var rr;(function(e){e.INACTIVE="inactive",e.PROCESSING="processing",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error"})(rr||(rr={}));function tI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function om(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function sm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?om(Object(n),!0).forEach(function(r){tI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):om(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function nI(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function rI(e,t){if(e==null)return{};var n=nI(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function iI(e,t){return lI(e)||aI(e,t)||oI(e,t)||sI()}function lI(e){if(Array.isArray(e))return e}function aI(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(u){i=!0,a=u}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function oI(e,t){if(e){if(typeof e=="string")return um(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return um(e,t)}}function um(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sI(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
109
109
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function dm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cm(Object(n),!0).forEach(function(r){uI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cm(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cI(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return t.reduceRight(function(i,a){return a(i)},r)}}function bi(e){return function t(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return i.length>=e.length?e.apply(this,i):function(){for(var o=arguments.length,s=new Array(o),u=0;u<o;u++)s[u]=arguments[u];return t.apply(n,[].concat(i,s))}}}function ql(e){return{}.toString.call(e).includes("Object")}function dI(e){return!Object.keys(e).length}function xi(e){return typeof e=="function"}function fI(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function hI(e,t){return ql(t)||$n("changeType"),Object.keys(t).some(function(n){return!fI(e,n)})&&$n("changeField"),t}function mI(e){xi(e)||$n("selectorType")}function pI(e){xi(e)||ql(e)||$n("handlerType"),ql(e)&&Object.values(e).some(function(t){return!xi(t)})&&$n("handlersType")}function gI(e){e||$n("initialIsRequired"),ql(e)||$n("initialType"),dI(e)&&$n("initialContent")}function vI(e,t){throw new Error(e[t]||e.default)}var bI={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},$n=bi(vI)(bI),Ql={changes:hI,selector:mI,handler:pI,initial:gI};function xI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ql.initial(e),Ql.handler(t);var n={current:e},r=bi(EI)(n,t),i=bi(yI)(n),a=bi(Ql.changes)(e),o=bi(wI)(n);function s(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(d){return d};return Ql.selector(c),c(n.current)}function u(c){cI(r,i,a,o)(c)}return[s,u]}function wI(e,t){return xi(t)?t(e.current):t}function yI(e,t){return e.current=dm(dm({},e.current),t),t}function EI(e,t,n){return xi(t)?t(e.current):Object.keys(n).forEach(function(r){var i;return(i=t[r])===null||i===void 0?void 0:i.call(t,e.current[r])}),n}var CI={create:xI},kI={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};function II(e){return function t(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return i.length>=e.length?e.apply(this,i):function(){for(var o=arguments.length,s=new Array(o),u=0;u<o;u++)s[u]=arguments[u];return t.apply(n,[].concat(i,s))}}}function zI(e){return{}.toString.call(e).includes("Object")}function FI(e){return e||hm("configIsRequired"),zI(e)||hm("configType"),e.urls?(MI(),{paths:{vs:e.urls.monacoBase}}):e}function MI(){console.warn(fm.deprecation)}function SI(e,t){throw new Error(e[t]||e.default)}var fm={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
110
110
  You are using deprecated way of configuration.
@@ -140,14 +140,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
140
140
  `),Q=Q.split(`
141
141
  `).map(oe=>oe.trimEnd()).join(`
142
142
  `),Q=Q.replace(/\n+$/,"")+`
143
- `),navigator?.clipboard?.writeText(Q).then(()=>{}).catch(oe=>{const Ce=oe;Fe.error(Ce?.message||Xt.copyFailure("Python Code"),{toastId:Xt.copyFailure("Python Code")})})}catch(Q){const oe=Q;Fe.error(oe?.message||Xt.copyFailure("Python Code"),{toastId:Xt.copyFailure("Python Code")})}else if(o==="json")try{const Q=JSON.parse(e),oe=JSON.stringify(Q,null,4);navigator?.clipboard?.writeText(oe)}catch(Q){const oe=Q;Fe.error(oe?.message||Xt.copyFailure("JSON Code"),{toastId:Xt.copyFailure("JSON Code")})}else navigator?.clipboard?.writeText(e)},ee=Q=>Q==="python"?{type:"text/x-python",extension:"py"}:Q==="json"?{type:"application/json",extension:"json"}:{type:"text/plain",extension:"txt"},be=(Q,oe)=>Q.replace(/[<>:"/\\|?*\x00-\x1f]/g,"_").replace(/\.{2,}/g,".").replace(/^\.+|\.+$/g,"").trim()||oe,je=()=>{try{const Q=new Blob([e],{type:ee(o)?.type}),oe=URL.createObjectURL(Q),Ce=document.createElement("a");Ce.href=oe;const Qe=ee(o)?.extension||"txt",Re=be(Qe,"txt");Ce.download=be(`code_${Date.now()}.${Re}`,`code_${Date.now()}.${Re}`),document.body.appendChild(Ce),Ce.click(),document.body.removeChild(Ce),URL.revokeObjectURL(oe)}catch(Q){const oe=Q;Fe.error(oe?.message||Xt.copyFailure("Code download"),{toastId:Xt.copyFailure("Code download")})}};return f.jsx(FF,{handle:_,className:"h-full",children:f.jsxs("div",{className:"relative border border-neutral-200 dark:border-neutral-700 rounded-lg h-full",id:"code-editor-container-with-json-grid",children:[f.jsxs("div",{className:Y(`px-3 py-2 flex items-center bg-white rounded-t-lg dark:bg-neutral-800 ${h?"border-none":"border-b border-neutral-200 dark:border-neutral-700"} `,X?"justify-between":"justify-end"),children:[X&&h&&f.jsx(Wm,{variant:"switch",tabs:Um,activeTab:A,size:"sm",onTabClick:Q=>$(Q),tabIcons:GF,height:"h-[20px]"}),f.jsxs("div",{className:"flex items-center gap-0.5",children:[A==="Grid"&&i&&h&&f.jsx("span",{className:"flex items-center justify-center border-r border-neutral-200 dark:border-neutral-700 mr-1.5 pr-1.5",children:f.jsx(et,{title:"Add key",children:f.jsx("button",{id:"btn-code-editor-json-grid-up",onClick:()=>D(!0),className:Y("p-0.5 rounded-md flex items-center justify-center","hover:bg-blue-100 hover:dark:bg-neutral-800 text-blue-600 dark:text-neutral-100"),children:f.jsx(DF,{fontSize:16})})})}),A==="Grid"?f.jsxs(f.Fragment,{children:[f.jsx(et,{title:"Collapse all",children:f.jsx("button",{id:"btn-code-editor-json-grid-up",onClick:()=>I(!1),className:J,children:f.jsx(PF,{fontSize:16})})}),f.jsx(et,{title:"Expand all",children:f.jsx("button",{id:"btn-code-editor-json-grid-down",onClick:()=>I(!0),className:J,children:f.jsx(jF,{fontSize:16})})})]}):null,A==="JSON"&&h?f.jsx(et,{title:"Format",children:f.jsx("button",{id:"btn-code-editor-format-code",onClick:ue,className:J,children:f.jsx(VF,{fontSize:14})})}):null,r&&A==="JSON"&&h?f.jsx(et,{title:M==="vs"?"Dark mode":"Light mode",children:f.jsx("button",{id:"btn-code-editor-with-theme",onClick:()=>w(M==="vs"?"vs-dark":"vs"),className:J,children:M==="vs"?f.jsx(TF,{fontSize:14}):f.jsx(OF,{fontSize:14})})}):null,(o==="python"||o==="json")&&u?f.jsx(et,{title:"Copy",children:f.jsx("button",{id:"btn-code-editor-copy-code",onClick:fe,className:J,children:f.jsx(LF,{fontSize:14})})}):null,(o==="python"||o==="json")&&c?f.jsx(et,{title:"Download",children:f.jsx("button",{id:"btn-code-editor-download-code",onClick:je,className:J,children:f.jsx(BF,{fontSize:14})})}):null,n?f.jsx(et,{title:"Fullscreen",children:f.jsx("button",{onClick:K,id:"btn-code-editor-fullscreen",className:J,children:f.jsx(HF,{fontSize:14})})}):null]})]}),A==="Grid"&&o==="json"?f.jsx("div",{children:f.jsx($m,{isFullScreen:_?.active,allExpanded:z,toggleAll:()=>I(Q=>!Q),isEditMode:!!i,isDarkMode:E==="dark",style:{height:_?.active?"100vh":a},value:e,onChange:t,setIsAddKeyModalOpen:D,isAddKeyModalOpen:W})}):f.jsx(yz,{height:_?.active?"100vh":a,containerStyle:{height:a},language:o,value:e,onChange:U,theme:M,onMount:ae,options:{fontSize:16,folding:!0,fontFamily:"Menlo, Monaco, 'Courier New', monospace",fontLigatures:!0,readOnly:!i}})]})})},Zm=({isVisible:e,onClose:t,onChange:n,defaultValue:r,title:i="Dynamic Data",saveText:a="Save",width:o=1040})=>{const[s,u]=l.useState(r);l.useEffect(()=>{u(r)},[e,r]);const c=()=>{t()},d=()=>{try{const p=JSON.parse(s);n(JSON.stringify(p)),t()}catch(p){const g=p instanceof Error?p.message:"Invalid JSON";Fe.error(g,{toastId:"Invalid JSON"})}},h=p=>{u(p)},m=f.jsx("div",{className:"flex justify-end mt-4",children:f.jsx(Kt,{id:"btn-dynamic-data-modal-save",status:"primary",onClick:d,type:"submit",children:a})},"submit");return f.jsx(Gn,{asForm:!0,title:i,open:e,onCancel:c,width:o,className:"no-body-padding-modal",footer:m,children:f.jsx("div",{className:"h-[calc(100vh-400px)] overflow-y-auto bg-neutral-50 dark:bg-black-800 px-6",children:f.jsx("div",{className:"py-5 w-full overflow-x-auto",children:f.jsx("div",{className:"border rounded-lg",children:f.jsx(Xm,{height:"420px",value:s,onChange:p=>h(p),isEditMode:!0})})})})})},us=({fill:e="currentColor",size:t=20,className:n="",...r})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 20 20",fill:e,className:n,...r,children:f.jsx("g",{children:f.jsx("path",{d:"M16.0833 7.43749L12.5417 3.93749L13.7083 2.77082C14.0278 2.45138 14.4201 2.29166 14.8854 2.29166C15.3507 2.29166 15.7431 2.45138 16.0625 2.77082L17.2292 3.93749C17.5486 4.25693 17.7153 4.64235 17.7292 5.09374C17.7431 5.54513 17.5903 5.93055 17.2708 6.24999L16.0833 7.43749ZM3.33333 17.5C3.09722 17.5 2.89931 17.4201 2.73958 17.2604C2.57986 17.1007 2.5 16.9028 2.5 16.6667V14.3125C2.5 14.2014 2.52083 14.0937 2.5625 13.9896C2.60417 13.8854 2.66667 13.7917 2.75 13.7083L11.3333 5.12499L14.875 8.66666L6.29167 17.25C6.20833 17.3333 6.11458 17.3958 6.01042 17.4375C5.90625 17.4792 5.79861 17.5 5.6875 17.5H3.33333Z"})})}),Ym=e=>{const{id:t,label:n="",type:r="text",placeholder:i="",value:a,onChange:o,originalCase:s=!1,errorMessage:u="",required:c,bg:d,tags:h,index:m,className:p,tooltip:g="",simpleMode:b,inputFieldClassName:v,isAiExtracted:x=!1,disabled:y=!1,...C}=e,[M,E]=l.useState(null),[w,z]=l.useState(!1),I=l.useRef(null);l.useEffect(()=>{E(null)},[m]),l.useEffect(()=>{M!==null&&o(M)},[M,o]);const k=()=>{z(!w)},F=N=>{E(N),k()};return f.jsxs(f.Fragment,{children:[b?f.jsxs("div",{className:"relative w-full h-full",children:[f.jsx("input",{type:r,placeholder:i,className:v,onChange:N=>{o(N.target.value)},ref:I,value:a?"{DYNAMIC}":"",disabled:!0,...C}),f.jsx("button",{id:"btn-dynamic-data-input-edit",onClick:k,className:Y("absolute inset-y-0 right-0 flex items-center px-4 focus:border-transparent border-l",y?"cursor-not-allowed":""),disabled:y,type:"button",children:f.jsx(us,{})})]}):f.jsxs("div",{className:Y("flex flex-col w-full",p),children:[f.jsxs("label",{htmlFor:"text",className:`mb-1 text-xs font-medium text-black-300 dark:text-black-300 inline-flex items-center gap-1 flex-wrap ${s?"":"capitalize"}`,children:[f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[n,c&&f.jsx(Nt,{})]}),x&&f.jsx(ln,{}),f.jsx(St,{labels:h}),g&&f.jsx(et,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),f.jsxs("label",{className:"relative block",children:[f.jsx("input",{type:r,id:t,required:c,placeholder:i,className:Y("border",u?"border-red-300 focus:border-red-300":"border-gray-300 dark:border-black-600 focus:border-blue-500 dark:focus:border-primary-400",d,"text-sm rounded-lg block w-full p-2.5 font-inter font-medium",r==="currency"?"pl-8":"","bg-white dark:bg-black-600 text-gray-900 dark:text-black-200"),onChange:N=>{o(N.target.value)},ref:I,value:a?"{DYNAMIC}":"",disabled:!0,autoComplete:"off",...C}),f.jsx("button",{onClick:k,className:"absolute inset-y-0 right-0 flex items-center px-4 focus:border-transparent border-l",type:"button",children:f.jsx(us,{})})]}),u&&f.jsx(se,{className:"text-error-500 mt-1 ",appearance:"custom",size:"extra-small",variant:"medium",children:u})]}),f.jsx(Zm,{isVisible:w,onChange:F,onClose:k,defaultValue:a})]})};Ym.displayName="DynamicDataInput";const Jm=l.forwardRef(({id:e,label:t,value:n,onChange:r,errorMessage:i,defaultValue:a,disabled:o,max:s,min:u,required:c=!1,isRequiredConditional:d=!1,bg:h,tags:m,color:p,className:g,originalCase:b=!1,tooltip:v,simpleMode:x=!1,inputFieldClassName:y="",isAiExtracted:C=!1,isGTN:M=!1,gtnName:E=null,inputStyle:w,withDollarSign:z=!0,labelClassName:I,isLiveField:k=!1,onBlur:F,onAddGTNToDocument:N,riskDetails:B,isRiskAnalysisOpen:H=!1,RiskDetailsCard:L,placeholder:S,...T},G)=>{const{t:O}=tn(),[_,A]=l.useState(!1),$=W=>{N&&N({key:E,value:W})};return x?f.jsxs("label",{id:e,className:`mb-1 text-xs font-medium text-gray-600 dark:text-neutral-200 inline-flex items-center gap-1 ${b?"":"capitalize"} ${I||""}`,children:[z&&f.jsx("span",{className:"absolute inset-y-0 left-1 flex items-center pl-3",children:"$"}),f.jsx("input",{...T,ref:G,onBlur:F,type:"number",required:c,className:Y(y,"pl-8 h-[32px]"),onChange:W=>{r(W.target.value)},value:n,...a&&!n?{defaultValue:a}:{},id:e||t,style:w,autoComplete:"off"})]}):f.jsxs("div",{className:Y("flex gap-0.5 relative",_&&M?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1),children:[M&&!_?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("w-full flex flex-col",g),children:[f.jsx("label",{htmlFor:"text",className:`mb-1 text-xs font-medium text-gray-600 dark:text-neutral-300 inline-flex items-center gap-1 ${b?"":"uppercase"} ${I||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap dark:text-black-300",children:[f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[t,c&&f.jsx(Nt,{isConditional:d})]}),k&&f.jsx(Ue.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),C&&f.jsx(ln,{}),f.jsx(St,{labels:m}),v&&f.jsx(et,{placement:"top",title:v,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),M&&_&&N?f.jsx("button",{id:"btn-percentage-input-add-to-document",className:"cursor-pointer",onClick:()=>$(n?.toString()),type:"button",children:f.jsx(Be.Tooltip,{placement:"top",title:O("Add to document"),children:f.jsx(Ue.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}),f.jsxs("label",{className:"relative block",children:[f.jsx("input",{...T,ref:G,onBlur:F,type:"number",required:c,disabled:o,min:u,max:s,className:`border ${i?"border-red-300":H&&B?.color?`border-${B.color}-300`:"border-gray-300"} ${h} h-[32px] text-gray-900 dark:bg-black-600 dark:text-neutral-200 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 font-inter font-medium
143
+ `),navigator?.clipboard?.writeText(Q).then(()=>{}).catch(oe=>{const Ce=oe;Fe.error(Ce?.message||Xt.copyFailure("Python Code"),{toastId:Xt.copyFailure("Python Code")})})}catch(Q){const oe=Q;Fe.error(oe?.message||Xt.copyFailure("Python Code"),{toastId:Xt.copyFailure("Python Code")})}else if(o==="json")try{const Q=JSON.parse(e),oe=JSON.stringify(Q,null,4);navigator?.clipboard?.writeText(oe)}catch(Q){const oe=Q;Fe.error(oe?.message||Xt.copyFailure("JSON Code"),{toastId:Xt.copyFailure("JSON Code")})}else navigator?.clipboard?.writeText(e)},ee=Q=>Q==="python"?{type:"text/x-python",extension:"py"}:Q==="json"?{type:"application/json",extension:"json"}:{type:"text/plain",extension:"txt"},be=(Q,oe)=>Q.replace(/[<>:"/\\|?*\x00-\x1f]/g,"_").replace(/\.{2,}/g,".").replace(/^\.+|\.+$/g,"").trim()||oe,je=()=>{try{const Q=new Blob([e],{type:ee(o)?.type}),oe=URL.createObjectURL(Q),Ce=document.createElement("a");Ce.href=oe;const Qe=ee(o)?.extension||"txt",Re=be(Qe,"txt");Ce.download=be(`code_${Date.now()}.${Re}`,`code_${Date.now()}.${Re}`),document.body.appendChild(Ce),Ce.click(),document.body.removeChild(Ce),URL.revokeObjectURL(oe)}catch(Q){const oe=Q;Fe.error(oe?.message||Xt.copyFailure("Code download"),{toastId:Xt.copyFailure("Code download")})}};return f.jsx(FF,{handle:_,className:"h-full",children:f.jsxs("div",{className:"relative border border-neutral-200 dark:border-neutral-700 rounded-lg h-full",id:"code-editor-container-with-json-grid",children:[f.jsxs("div",{className:Y(`px-3 py-2 flex items-center bg-white rounded-t-lg dark:bg-neutral-800 ${h?"border-none":"border-b border-neutral-200 dark:border-neutral-700"} `,X?"justify-between":"justify-end"),children:[X&&h&&f.jsx(Wm,{variant:"switch",tabs:Um,activeTab:A,size:"sm",onTabClick:Q=>$(Q),tabIcons:GF,height:"h-[20px]"}),f.jsxs("div",{className:"flex items-center gap-0.5",children:[A==="Grid"&&i&&h&&f.jsx("span",{className:"flex items-center justify-center border-r border-neutral-200 dark:border-neutral-700 mr-1.5 pr-1.5",children:f.jsx(et,{title:"Add key",children:f.jsx("button",{id:"btn-code-editor-json-grid-up",onClick:()=>D(!0),className:Y("p-0.5 rounded-md flex items-center justify-center","hover:bg-blue-100 hover:dark:bg-neutral-800 text-blue-600 dark:text-neutral-100"),children:f.jsx(DF,{fontSize:16})})})}),A==="Grid"?f.jsxs(f.Fragment,{children:[f.jsx(et,{title:"Collapse all",children:f.jsx("button",{id:"btn-code-editor-json-grid-up",onClick:()=>I(!1),className:J,children:f.jsx(PF,{fontSize:16})})}),f.jsx(et,{title:"Expand all",children:f.jsx("button",{id:"btn-code-editor-json-grid-down",onClick:()=>I(!0),className:J,children:f.jsx(jF,{fontSize:16})})})]}):null,A==="JSON"&&h?f.jsx(et,{title:"Format",children:f.jsx("button",{id:"btn-code-editor-format-code",onClick:ue,className:J,children:f.jsx(VF,{fontSize:14})})}):null,r&&A==="JSON"&&h?f.jsx(et,{title:M==="vs"?"Dark mode":"Light mode",children:f.jsx("button",{id:"btn-code-editor-with-theme",onClick:()=>w(M==="vs"?"vs-dark":"vs"),className:J,children:M==="vs"?f.jsx(TF,{fontSize:14}):f.jsx(OF,{fontSize:14})})}):null,(o==="python"||o==="json")&&u?f.jsx(et,{title:"Copy",children:f.jsx("button",{id:"btn-code-editor-copy-code",onClick:fe,className:J,children:f.jsx(LF,{fontSize:14})})}):null,(o==="python"||o==="json")&&c?f.jsx(et,{title:"Download",children:f.jsx("button",{id:"btn-code-editor-download-code",onClick:je,className:J,children:f.jsx(BF,{fontSize:14})})}):null,n?f.jsx(et,{title:"Fullscreen",children:f.jsx("button",{onClick:K,id:"btn-code-editor-fullscreen",className:J,children:f.jsx(HF,{fontSize:14})})}):null]})]}),A==="Grid"&&o==="json"?f.jsx("div",{children:f.jsx($m,{isFullScreen:_?.active,allExpanded:z,toggleAll:()=>I(Q=>!Q),isEditMode:!!i,isDarkMode:E==="dark",style:{height:_?.active?"100vh":a},value:e,onChange:t,setIsAddKeyModalOpen:D,isAddKeyModalOpen:W})}):f.jsx(yz,{height:_?.active?"100vh":a,containerStyle:{height:a},language:o,value:e,onChange:U,theme:M,onMount:ae,options:{fontSize:16,folding:!0,fontFamily:"Menlo, Monaco, 'Courier New', monospace",fontLigatures:!0,readOnly:!i}})]})})},Zm=({isVisible:e,onClose:t,onChange:n,defaultValue:r,title:i="Dynamic Data",saveText:a="Save",width:o=1040})=>{const[s,u]=l.useState(r);l.useEffect(()=>{u(r)},[e,r]);const c=()=>{t()},d=()=>{try{const p=JSON.parse(s);n(JSON.stringify(p)),t()}catch(p){const g=p instanceof Error?p.message:"Invalid JSON";Fe.error(g,{toastId:"Invalid JSON"})}},h=p=>{u(p)},m=f.jsx("div",{className:"flex justify-end mt-4",children:f.jsx(Kt,{id:"btn-dynamic-data-modal-save",status:"primary",onClick:d,type:"submit",children:a})},"submit");return f.jsx(Gn,{asForm:!0,title:i,open:e,onCancel:c,width:o,className:"no-body-padding-modal",footer:m,children:f.jsx("div",{className:"h-[calc(100vh-400px)] overflow-y-auto bg-neutral-50 dark:bg-black-800 px-6",children:f.jsx("div",{className:"py-5 w-full overflow-x-auto",children:f.jsx("div",{className:"border rounded-lg",children:f.jsx(Xm,{height:"420px",value:s,onChange:p=>h(p),isEditMode:!0})})})})})},us=({fill:e="currentColor",size:t=20,className:n="",...r})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 20 20",fill:e,className:n,...r,children:f.jsx("g",{children:f.jsx("path",{d:"M16.0833 7.43749L12.5417 3.93749L13.7083 2.77082C14.0278 2.45138 14.4201 2.29166 14.8854 2.29166C15.3507 2.29166 15.7431 2.45138 16.0625 2.77082L17.2292 3.93749C17.5486 4.25693 17.7153 4.64235 17.7292 5.09374C17.7431 5.54513 17.5903 5.93055 17.2708 6.24999L16.0833 7.43749ZM3.33333 17.5C3.09722 17.5 2.89931 17.4201 2.73958 17.2604C2.57986 17.1007 2.5 16.9028 2.5 16.6667V14.3125C2.5 14.2014 2.52083 14.0937 2.5625 13.9896C2.60417 13.8854 2.66667 13.7917 2.75 13.7083L11.3333 5.12499L14.875 8.66666L6.29167 17.25C6.20833 17.3333 6.11458 17.3958 6.01042 17.4375C5.90625 17.4792 5.79861 17.5 5.6875 17.5H3.33333Z"})})}),Ym=e=>{const{id:t,label:n="",type:r="text",placeholder:i="",value:a,onChange:o,originalCase:s=!1,errorMessage:u="",required:c,bg:d,tags:h,index:m,className:p,tooltip:g="",simpleMode:b,inputFieldClassName:v,isAiExtracted:x=!1,disabled:y=!1,...C}=e,[M,E]=l.useState(null),[w,z]=l.useState(!1),I=l.useRef(null);l.useEffect(()=>{E(null)},[m]),l.useEffect(()=>{M!==null&&o(M)},[M,o]);const k=()=>{z(!w)},F=N=>{E(N),k()};return f.jsxs(f.Fragment,{children:[b?f.jsxs("div",{className:"relative w-full h-full",children:[f.jsx("input",{type:r,placeholder:i,className:v,onChange:N=>{o(N.target.value)},ref:I,value:a?"{DYNAMIC}":"",disabled:!0,...C}),f.jsx("button",{id:"btn-dynamic-data-input-edit",onClick:k,className:Y("absolute inset-y-0 right-0 flex items-center px-4 focus:border-transparent border-l",y?"cursor-not-allowed":""),disabled:y,type:"button",children:f.jsx(us,{})})]}):f.jsxs("div",{className:Y("flex flex-col w-full",p),children:[f.jsxs("label",{htmlFor:"text",className:`mb-1 text-xs font-medium text-black-300 dark:text-black-300 inline-flex items-center gap-1 flex-wrap ${s?"":"capitalize"}`,children:[f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[n,c&&f.jsx(Nt,{})]}),x&&f.jsx(ln,{}),f.jsx(St,{labels:h}),g&&f.jsx(et,{placement:"top",title:g,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),f.jsxs("label",{className:"relative block",children:[f.jsx("input",{type:r,id:t,required:c,placeholder:i,className:Y("border",u?"border-red-300 focus:border-red-300":"border-gray-300 dark:border-black-600 focus:border-blue-500 dark:focus:border-primary-400",d,"text-sm rounded-lg block w-full p-2.5 font-inter font-medium",r==="currency"?"pl-8":"","bg-white dark:bg-black-600 text-gray-900 dark:text-black-200"),onChange:N=>{o(N.target.value)},ref:I,value:a?"{DYNAMIC}":"",disabled:!0,autoComplete:"off",...C}),f.jsx("button",{onClick:k,className:"absolute inset-y-0 right-0 flex items-center px-4 focus:border-transparent border-l",type:"button",children:f.jsx(us,{})})]}),u&&f.jsx(se,{className:"text-error-500 mt-1 ",appearance:"custom",size:"extra-small",variant:"medium",children:u})]}),f.jsx(Zm,{isVisible:w,onChange:F,onClose:k,defaultValue:a})]})};Ym.displayName="DynamicDataInput";const Jm=l.forwardRef(({id:e,label:t,value:n,onChange:r,errorMessage:i,defaultValue:a,disabled:o,max:s,min:u,required:c=!1,isRequiredConditional:d=!1,bg:h,tags:m,color:p,className:g,originalCase:b=!1,tooltip:v,simpleMode:x=!1,inputFieldClassName:y="",isAiExtracted:C=!1,isGTN:M=!1,gtnName:E=null,inputStyle:w,withDollarSign:z=!0,labelClassName:I,isLiveField:k=!1,onBlur:F,onAddGTNToDocument:N,riskDetails:B,isRiskAnalysisOpen:H=!1,RiskDetailsCard:L,placeholder:S,...T},G)=>{const{t:O}=tn(),[_,A]=l.useState(!1),$=W=>{N&&N({key:E,value:W})};return x?f.jsxs("label",{id:e,className:`mb-1 text-xs font-medium text-gray-600 dark:text-neutral-200 inline-flex items-center gap-1 ${b?"":"capitalize"} ${I||""}`,children:[z&&f.jsx("span",{className:"absolute inset-y-0 left-1 flex items-center pl-3",children:"$"}),f.jsx("input",{...T,ref:G,onBlur:F,type:"number",required:c,className:Y(y,"pl-8 h-[32px]"),onChange:W=>{r(W.target.value)},value:n,...a&&!n?{defaultValue:a}:{},id:e||t,style:w,autoComplete:"off"})]}):f.jsxs("div",{className:Y("flex gap-0.5 relative",_&&M?"border rounded-lg border-primary-100 bg-primary-50 p-1":""),onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1),children:[M&&!_?f.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5"}):null,f.jsxs("div",{className:Y("w-full flex flex-col",g),children:[f.jsx("label",{htmlFor:"text",className:`mb-1 text-xs font-medium text-gray-600 dark:text-neutral-300 inline-flex items-center gap-1 ${b?"":"uppercase"} ${I||""}`,children:f.jsxs("div",{className:"w-full flex items-center justify-between flex-wrap",children:[f.jsxs("div",{className:"inline-flex items-center gap-1 flex-wrap dark:text-black-300",children:[f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[t,c&&f.jsx(Nt,{isConditional:d})]}),k&&f.jsx(We.BoltOutlined,{sx:{fontSize:16,color:"var(--color-primary-600)",rotate:"15deg"}}),C&&f.jsx(ln,{}),f.jsx(St,{labels:m}),v&&f.jsx(et,{placement:"top",title:v,children:f.jsx("div",{className:"cursor-pointer",children:f.jsx(Vt,{})})})]}),M&&_&&N?f.jsx("button",{id:"btn-percentage-input-add-to-document",className:"cursor-pointer",onClick:()=>$(n?.toString()),type:"button",children:f.jsx(Ne.Tooltip,{placement:"top",title:O("Add to document"),children:f.jsx(We.NoteAddOutlined,{className:"text-primary-600",sx:{fontSize:16}})})}):null]})}),f.jsxs("label",{className:"relative block",children:[f.jsx("input",{...T,ref:G,onBlur:F,type:"number",required:c,disabled:o,min:u,max:s,className:`border ${i?"border-red-300":H&&B?.color?`border-${B.color}-300`:"border-gray-300"} ${h} h-[32px] text-gray-900 dark:bg-black-600 dark:text-neutral-200 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 font-inter font-medium
144
144
  disabled:bg-neutral-50 dark:disabled:!bg-black-800 dark:disabled:placeholder:!text-black-400
145
145
  ${H&&B?.color&&`bg-${B.color}-50`}
146
146
  ${p||""}
147
147
  `,onChange:W=>{r(W.target.value)},value:n,defaultValue:a,id:e||t,style:w,autoComplete:"off",placeholder:S}),f.jsx("span",{className:"absolute inset-y-0 right-3 flex items-center z-[1000px] h-full dark:text-black-100",children:"%"})]}),i&&f.jsx(se,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:i})]}),_&&B&&H&&L&&f.jsx("div",{role:"tooltip",tabIndex:0,className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:W=>W.stopPropagation(),onMouseDown:W=>W.preventDefault(),onKeyDown:W=>{W.key==="Escape"&&A(!1)},children:f.jsx(L,{riskDetails:B})})]})});Jm.displayName="PercentageInputField";function oH(){}function sH(){}function _F(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const $F=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,WF=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,UF={};function Km(e,t){return(UF.jsx?WF:$F).test(e)}const XF=/[ \t\n\f\r]/g;function ZF(e){return typeof e=="object"?e.type==="text"?qm(e.value):!1:qm(e)}function qm(e){return e.replace(XF,"")===""}class Ni{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Ni.prototype.normal={},Ni.prototype.property={},Ni.prototype.space=void 0;function Qm(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Ni(n,r,t)}function cs(e){return e.toLowerCase()}class zt{constructor(t,n){this.attribute=n,this.property=t}}zt.prototype.attribute="",zt.prototype.booleanish=!1,zt.prototype.boolean=!1,zt.prototype.commaOrSpaceSeparated=!1,zt.prototype.commaSeparated=!1,zt.prototype.defined=!1,zt.prototype.mustUseProperty=!1,zt.prototype.number=!1,zt.prototype.overloadedBoolean=!1,zt.prototype.property="",zt.prototype.spaceSeparated=!1,zt.prototype.space=void 0;let YF=0;const ze=ir(),lt=ir(),ds=ir(),le=ir(),Ke=ir(),Ar=ir(),jt=ir();function ir(){return 2**++YF}const fs=Object.freeze(Object.defineProperty({__proto__:null,boolean:ze,booleanish:lt,commaOrSpaceSeparated:jt,commaSeparated:Ar,number:le,overloadedBoolean:ds,spaceSeparated:Ke},Symbol.toStringTag,{value:"Module"})),hs=Object.keys(fs);class ms extends zt{constructor(t,n,r,i){let a=-1;if(super(t,n),Rm(this,"space",i),typeof r=="number")for(;++a<hs.length;){const o=hs[a];Rm(this,hs[a],(r&fs[o])===fs[o])}}}ms.prototype.defined=!0;function Rm(e,t,n){n&&(e[t]=n)}function Nr(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new ms(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[cs(r)]=r,n[cs(a.attribute)]=r}return new Ni(t,n,e.space)}const e4=Nr({properties:{ariaActiveDescendant:null,ariaAtomic:lt,ariaAutoComplete:null,ariaBusy:lt,ariaChecked:lt,ariaColCount:le,ariaColIndex:le,ariaColSpan:le,ariaControls:Ke,ariaCurrent:null,ariaDescribedBy:Ke,ariaDetails:null,ariaDisabled:lt,ariaDropEffect:Ke,ariaErrorMessage:null,ariaExpanded:lt,ariaFlowTo:Ke,ariaGrabbed:lt,ariaHasPopup:null,ariaHidden:lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ke,ariaLevel:le,ariaLive:null,ariaModal:lt,ariaMultiLine:lt,ariaMultiSelectable:lt,ariaOrientation:null,ariaOwns:Ke,ariaPlaceholder:null,ariaPosInSet:le,ariaPressed:lt,ariaReadOnly:lt,ariaRelevant:null,ariaRequired:lt,ariaRoleDescription:Ke,ariaRowCount:le,ariaRowIndex:le,ariaRowSpan:le,ariaSelected:lt,ariaSetSize:le,ariaSort:null,ariaValueMax:le,ariaValueMin:le,ariaValueNow:le,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function t4(e,t){return t in e?e[t]:t}function n4(e,t){return t4(e,t.toLowerCase())}const JF=Nr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ar,acceptCharset:Ke,accessKey:Ke,action:null,allow:null,allowFullScreen:ze,allowPaymentRequest:ze,allowUserMedia:ze,alt:null,as:null,async:ze,autoCapitalize:null,autoComplete:Ke,autoFocus:ze,autoPlay:ze,blocking:Ke,capture:null,charSet:null,checked:ze,cite:null,className:Ke,cols:le,colSpan:null,content:null,contentEditable:lt,controls:ze,controlsList:Ke,coords:le|Ar,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ze,defer:ze,dir:null,dirName:null,disabled:ze,download:ds,draggable:lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ze,formTarget:null,headers:Ke,height:le,hidden:ds,high:le,href:null,hrefLang:null,htmlFor:Ke,httpEquiv:Ke,id:null,imageSizes:null,imageSrcSet:null,inert:ze,inputMode:null,integrity:null,is:null,isMap:ze,itemId:null,itemProp:Ke,itemRef:Ke,itemScope:ze,itemType:Ke,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ze,low:le,manifest:null,max:null,maxLength:le,media:null,method:null,min:null,minLength:le,multiple:ze,muted:ze,name:null,nonce:null,noModule:ze,noValidate:ze,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ze,optimum:le,pattern:null,ping:Ke,placeholder:null,playsInline:ze,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ze,referrerPolicy:null,rel:Ke,required:ze,reversed:ze,rows:le,rowSpan:le,sandbox:Ke,scope:null,scoped:ze,seamless:ze,selected:ze,shadowRootClonable:ze,shadowRootDelegatesFocus:ze,shadowRootMode:null,shape:null,size:le,sizes:null,slot:null,span:le,spellCheck:lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:le,step:null,style:null,tabIndex:le,target:null,title:null,translate:null,type:null,typeMustMatch:ze,useMap:null,value:lt,width:le,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ke,axis:null,background:null,bgColor:null,border:le,borderColor:null,bottomMargin:le,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ze,declare:ze,event:null,face:null,frame:null,frameBorder:null,hSpace:le,leftMargin:le,link:null,longDesc:null,lowSrc:null,marginHeight:le,marginWidth:le,noResize:ze,noHref:ze,noShade:ze,noWrap:ze,object:null,profile:null,prompt:null,rev:null,rightMargin:le,rules:null,scheme:null,scrolling:lt,standby:null,summary:null,text:null,topMargin:le,valueType:null,version:null,vAlign:null,vLink:null,vSpace:le,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ze,disableRemotePlayback:ze,prefix:null,property:null,results:le,security:null,unselectable:null},space:"html",transform:n4}),KF=Nr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:jt,accentHeight:le,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:le,amplitude:le,arabicForm:null,ascent:le,attributeName:null,attributeType:null,azimuth:le,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:le,by:null,calcMode:null,capHeight:le,className:Ke,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:le,diffuseConstant:le,direction:null,display:null,dur:null,divisor:le,dominantBaseline:null,download:ze,dx:null,dy:null,edgeMode:null,editable:null,elevation:le,enableBackground:null,end:null,event:null,exponent:le,externalResourcesRequired:null,fill:null,fillOpacity:le,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ar,g2:Ar,glyphName:Ar,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:le,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:le,horizOriginX:le,horizOriginY:le,id:null,ideographic:le,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:le,k:le,k1:le,k2:le,k3:le,k4:le,kernelMatrix:jt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:le,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:le,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:le,overlineThickness:le,paintOrder:null,panose1:null,path:null,pathLength:le,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ke,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:le,pointsAtY:le,pointsAtZ:le,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:jt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:jt,rev:jt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:jt,requiredFeatures:jt,requiredFonts:jt,requiredFormats:jt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:le,specularExponent:le,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:le,strikethroughThickness:le,string:null,stroke:null,strokeDashArray:jt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:le,strokeOpacity:le,strokeWidth:null,style:null,surfaceScale:le,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:jt,tabIndex:le,tableValues:null,target:null,targetX:le,targetY:le,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:jt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:le,underlineThickness:le,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:le,values:null,vAlphabetic:le,vMathematical:le,vectorEffect:null,vHanging:le,vIdeographic:le,version:null,vertAdvY:le,vertOriginX:le,vertOriginY:le,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:le,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:t4}),r4=Nr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),i4=Nr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:n4}),l4=Nr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),qF={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},QF=/[A-Z]/g,a4=/-[a-z]/g,RF=/^data[-\w.:]+$/i;function eM(e,t){const n=cs(t);let r=t,i=zt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&RF.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(a4,nM);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!a4.test(a)){let o=a.replace(QF,tM);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=ms}return new i(r,t)}function tM(e){return"-"+e.toLowerCase()}function nM(e){return e.charAt(1).toUpperCase()}const rM=Qm([e4,JF,r4,i4,l4],"html"),ps=Qm([e4,KF,r4,i4,l4],"svg");function iM(e){return e.join(" ").trim()}var Dr={},gs,o4;function lM(){if(o4)return gs;o4=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,s=/^\s+|\s+$/g,u=`
148
- `,c="/",d="*",h="",m="comment",p="declaration";function g(v,x){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];x=x||{};var y=1,C=1;function M(L){var S=L.match(t);S&&(y+=S.length);var T=L.lastIndexOf(u);C=~T?L.length-T:C+L.length}function E(){var L={line:y,column:C};return function(S){return S.position=new w(L),k(),S}}function w(L){this.start=L,this.end={line:y,column:C},this.source=x.source}w.prototype.content=v;function z(L){var S=new Error(x.source+":"+y+":"+C+": "+L);if(S.reason=L,S.filename=x.source,S.line=y,S.column=C,S.source=v,!x.silent)throw S}function I(L){var S=L.exec(v);if(S){var T=S[0];return M(T),v=v.slice(T.length),S}}function k(){I(n)}function F(L){var S;for(L=L||[];S=N();)S!==!1&&L.push(S);return L}function N(){var L=E();if(!(c!=v.charAt(0)||d!=v.charAt(1))){for(var S=2;h!=v.charAt(S)&&(d!=v.charAt(S)||c!=v.charAt(S+1));)++S;if(S+=2,h===v.charAt(S-1))return z("End of comment missing");var T=v.slice(2,S-2);return C+=2,M(T),v=v.slice(S),C+=2,L({type:m,comment:T})}}function B(){var L=E(),S=I(r);if(S){if(N(),!I(i))return z("property missing ':'");var T=I(a),G=L({type:p,property:b(S[0].replace(e,h)),value:T?b(T[0].replace(e,h)):h});return I(o),G}}function H(){var L=[];F(L);for(var S;S=B();)S!==!1&&(L.push(S),F(L));return L}return k(),H()}function b(v){return v?v.replace(s,h):h}return gs=g,gs}var s4;function aM(){if(s4)return Dr;s4=1;var e=Dr&&Dr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.default=n;const t=e(lM());function n(r,i){let a=null;if(!r||typeof r!="string")return a;const o=(0,t.default)(r),s=typeof i=="function";return o.forEach(u=>{if(u.type!=="declaration")return;const{property:c,value:d}=u;s?i(c,d,u):d&&(a=a||{},a[c]=d)}),a}return Dr}var Di={},u4;function oM(){if(u4)return Di;u4=1,Object.defineProperty(Di,"__esModule",{value:!0}),Di.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(c){return!c||n.test(c)||e.test(c)},o=function(c,d){return d.toUpperCase()},s=function(c,d){return"".concat(d,"-")},u=function(c,d){return d===void 0&&(d={}),a(c)?c:(c=c.toLowerCase(),d.reactCompat?c=c.replace(i,s):c=c.replace(r,s),c.replace(t,o))};return Di.camelCase=u,Di}var Li,c4;function sM(){if(c4)return Li;c4=1;var e=Li&&Li.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(aM()),n=oM();function r(i,a){var o={};return!i||typeof i!="string"||(0,t.default)(i,function(s,u){s&&u&&(o[(0,n.camelCase)(s,a)]=u)}),o}return r.default=r,Li=r,Li}var uM=sM();const cM=Jt(uM),d4=f4("end"),vs=f4("start");function f4(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function dM(e){const t=vs(e),n=d4(e);if(t&&n)return{start:t,end:n}}function Ti(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?h4(e.position):"start"in e||"end"in e?h4(e):"line"in e||"column"in e?bs(e):""}function bs(e){return m4(e&&e.line)+":"+m4(e&&e.column)}function h4(e){return bs(e&&e.start)+"-"+bs(e&&e.end)}function m4(e){return e&&typeof e=="number"?e:1}class mt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?a.ruleId=r:(a.source=r.slice(0,u),a.ruleId=r.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){const u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=Ti(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}mt.prototype.file="",mt.prototype.name="",mt.prototype.reason="",mt.prototype.message="",mt.prototype.stack="",mt.prototype.column=void 0,mt.prototype.line=void 0,mt.prototype.ancestors=void 0,mt.prototype.cause=void 0,mt.prototype.fatal=void 0,mt.prototype.place=void 0,mt.prototype.ruleId=void 0,mt.prototype.source=void 0;const xs={}.hasOwnProperty,fM=new Map,hM=/[A-Z]/g,mM=new Set(["table","tbody","thead","tfoot","tr"]),pM=new Set(["td","th"]),p4="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function gM(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=kM(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=CM(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ps:rM,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=g4(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function g4(e,t,n){if(t.type==="element")return vM(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return bM(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return wM(e,t,n);if(t.type==="mdxjsEsm")return xM(e,t);if(t.type==="root")return yM(e,t,n);if(t.type==="text")return EM(e,t)}function vM(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=ps,e.schema=i),e.ancestors.push(t);const a=b4(e,t.tagName,!1),o=IM(e,t);let s=ys(e,t);return mM.has(t.tagName)&&(s=s.filter(function(u){return typeof u=="string"?!ZF(u):!0})),v4(e,o,a,t),ws(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function bM(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Bi(e,t.position)}function xM(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Bi(e,t.position)}function wM(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=ps,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:b4(e,t.name,!0),o=zM(e,t),s=ys(e,t);return v4(e,o,a,t),ws(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function yM(e,t,n){const r={};return ws(r,ys(e,t)),e.create(t,e.Fragment,r,n)}function EM(e,t){return t.value}function v4(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ws(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function CM(e,t,n){return r;function r(i,a,o,s){const c=Array.isArray(o.children)?n:t;return s?c(a,o,s):c(a,o)}}function kM(e,t){return n;function n(r,i,a,o){const s=Array.isArray(a.children),u=vs(r);return t(i,a,o,s,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function IM(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&xs.call(t.properties,i)){const a=FM(e,i,t.properties[i]);if(a){const[o,s]=a;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&pM.has(t.tagName)?r=s:n[o]=s}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function zM(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const s=o.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Bi(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,a=e.evaluater.evaluateExpression(s.expression)}else Bi(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function ys(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:fM;for(;++r<t.children.length;){const a=t.children[r];let o;if(e.passKeys){const u=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(u){const c=i.get(u)||0;o=u+"-"+c,i.set(u,c+1)}}const s=g4(e,a,o);s!==void 0&&n.push(s)}return n}function FM(e,t,n){const r=eM(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?_F(n):iM(n)),r.property==="style"){let i=typeof n=="object"?n:MM(e,String(n));return e.stylePropertyNameCase==="css"&&(i=SM(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?qF[r.property]||r.property:r.attribute,n]}}function MM(e,t){try{return cM(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new mt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=p4+"#cannot-parse-style-attribute",i}}function b4(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,o;for(;++a<i.length;){const s=Km(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};o=o?{type:"MemberExpression",object:o,property:s,computed:!!(a&&s.type==="Literal"),optional:!1}:s}r=o}else r=Km(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return xs.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Bi(e)}function Bi(e,t){const n=new mt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=p4+"#cannot-handle-mdx-estrees-without-createevaluater",n}function SM(e){const t={};let n;for(n in e)xs.call(e,n)&&(t[AM(n)]=e[n]);return t}function AM(e){let t=e.replace(hM,NM);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function NM(e){return"-"+e.toLowerCase()}const Es={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},DM={};function Cs(e,t){const n=DM,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return x4(e,r,i)}function x4(e,t,n){if(LM(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return w4(e.children,t,n)}return Array.isArray(e)?w4(e,t,n):""}function w4(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=x4(e[i],t,n);return r.join("")}function LM(e){return!!(e&&typeof e=="object")}const y4=document.createElement("i");function ks(e){const t="&"+e+";";y4.innerHTML=t;const n=y4.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Pt(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Zt(e,t){return e.length>0?(Pt(e,e.length,0,t),e):t}const E4={}.hasOwnProperty;function C4(e){const t={};let n=-1;for(;++n<e.length;)TM(t,e[n]);return t}function TM(e,t){let n;for(n in t){const i=(E4.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;if(a)for(o in a){E4.call(i,o)||(i[o]=[]);const s=a[o];BM(i[o],Array.isArray(s)?s:s?[s]:[])}}}function BM(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Pt(e,0,0,r)}function k4(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Rt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const vt=Un(/[A-Za-z]/),pt=Un(/[\dA-Za-z]/),HM=Un(/[#-'*+\--9=?A-Z^-~]/);function oa(e){return e!==null&&(e<32||e===127)}const Is=Un(/\d/),jM=Un(/[\dA-Fa-f]/),PM=Un(/[!-/:-@[-`{-~]/);function we(e){return e!==null&&e<-2}function Ze(e){return e!==null&&(e<0||e===32)}function Se(e){return e===-2||e===-1||e===32}const sa=Un(new RegExp("\\p{P}|\\p{S}","u")),lr=Un(/\s/);function Un(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Lr(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(a===37&&pt(e.charCodeAt(n+1))&&pt(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Ne(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(u){return Se(u)?(e.enter(n),s(u)):t(u)}function s(u){return Se(u)&&a++<i?(e.consume(u),s):(e.exit(n),t(u))}}const OM={tokenize:VM};function VM(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ne(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return we(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),o)}}const GM={tokenize:_M},I4={tokenize:$M};function _M(e){const t=this,n=[];let r=0,i,a,o;return s;function s(C){if(r<n.length){const M=n[r];return t.containerState=M[1],e.attempt(M[0].continuation,u,c)(C)}return c(C)}function u(C){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&y();const M=t.events.length;let E=M,w;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){w=t.events[E][1].end;break}x(r);let z=M;for(;z<t.events.length;)t.events[z][1].end={...w},z++;return Pt(t.events,E+1,0,t.events.slice(M)),t.events.length=z,c(C)}return s(C)}function c(C){if(r===n.length){if(!i)return m(C);if(i.currentConstruct&&i.currentConstruct.concrete)return g(C);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(I4,d,h)(C)}function d(C){return i&&y(),x(r),m(C)}function h(C){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,g(C)}function m(C){return t.containerState={},e.attempt(I4,p,g)(C)}function p(C){return r++,n.push([t.currentConstruct,t.containerState]),m(C)}function g(C){if(C===null){i&&y(),x(0),e.consume(C);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),b(C)}function b(C){if(C===null){v(e.exit("chunkFlow"),!0),x(0),e.consume(C);return}return we(C)?(e.consume(C),v(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(C),b)}function v(C,M){const E=t.sliceStream(C);if(M&&E.push(null),C.previous=a,a&&(a.next=C),a=C,i.defineSkip(C.start),i.write(E),t.parser.lazy[C.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<o&&(!i.events[w][1].end||i.events[w][1].end.offset>o))return;const z=t.events.length;let I=z,k,F;for(;I--;)if(t.events[I][0]==="exit"&&t.events[I][1].type==="chunkFlow"){if(k){F=t.events[I][1].end;break}k=!0}for(x(r),w=z;w<t.events.length;)t.events[w][1].end={...F},w++;Pt(t.events,I+1,0,t.events.slice(z)),t.events.length=w}}function x(C){let M=n.length;for(;M-- >C;){const E=n[M];t.containerState=E[1],E[0].exit.call(t,e)}n.length=C}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function $M(e,t,n){return Ne(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Tr(e){if(e===null||Ze(e)||lr(e))return 1;if(sa(e))return 2}function ua(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const zs={name:"attention",resolveAll:WM,tokenize:UM};function WM(e,t){let n=-1,r,i,a,o,s,u,c,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},m={...e[n][1].start};z4(h,-u),z4(m,u),o={type:u>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},a={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Zt(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Zt(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),c=Zt(c,ua(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Zt(c,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=Zt(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,Pt(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function UM(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Tr(r);let a;return o;function o(u){return a=u,e.enter("attentionSequence"),s(u)}function s(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),d=Tr(u),h=!d||d===2&&i||n.includes(u),m=!i||i===2&&d||n.includes(r);return c._open=!!(a===42?h:h&&(i||!m)),c._close=!!(a===42?m:m&&(d||!h)),t(u)}}function z4(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const XM={name:"autolink",tokenize:ZM};function ZM(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return vt(p)?(e.consume(p),o):p===64?n(p):c(p)}function o(p){return p===43||p===45||p===46||pt(p)?(r=1,s(p)):c(p)}function s(p){return p===58?(e.consume(p),r=0,u):(p===43||p===45||p===46||pt(p))&&r++<32?(e.consume(p),s):(r=0,c(p))}function u(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||oa(p)?n(p):(e.consume(p),u)}function c(p){return p===64?(e.consume(p),d):HM(p)?(e.consume(p),c):n(p)}function d(p){return pt(p)?h(p):n(p)}function h(p){return p===46?(e.consume(p),r=0,d):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):m(p)}function m(p){if((p===45||pt(p))&&r++<63){const g=p===45?m:h;return e.consume(p),g}return n(p)}}const Hi={partial:!0,tokenize:YM};function YM(e,t,n){return r;function r(a){return Se(a)?Ne(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||we(a)?t(a):n(a)}}const F4={continuation:{tokenize:KM},exit:qM,name:"blockQuote",tokenize:JM};function JM(e,t,n){const r=this;return i;function i(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return n(o)}function a(o){return Se(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function KM(e,t,n){const r=this;return i;function i(o){return Se(o)?Ne(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(F4,t,n)(o)}}function qM(e){e.exit("blockQuote")}const M4={name:"characterEscape",tokenize:QM};function QM(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return PM(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const S4={name:"characterReference",tokenize:RM};function RM(e,t,n){const r=this;let i=0,a,o;return s;function s(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),u}function u(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,o=pt,d(h))}function c(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=jM,d):(e.enter("characterReferenceValue"),a=7,o=Is,d(h))}function d(h){if(h===59&&i){const m=e.exit("characterReferenceValue");return o===pt&&!ks(r.sliceSerialize(m))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(h)&&i++<a?(e.consume(h),d):n(h)}}const A4={partial:!0,tokenize:tS},N4={concrete:!0,name:"codeFenced",tokenize:eS};function eS(e,t,n){const r=this,i={partial:!0,tokenize:E};let a=0,o=0,s;return u;function u(w){return c(w)}function c(w){const z=r.events[r.events.length-1];return a=z&&z[1].type==="linePrefix"?z[2].sliceSerialize(z[1],!0).length:0,s=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(w)}function d(w){return w===s?(o++,e.consume(w),d):o<3?n(w):(e.exit("codeFencedFenceSequence"),Se(w)?Ne(e,h,"whitespace")(w):h(w))}function h(w){return w===null||we(w)?(e.exit("codeFencedFence"),r.interrupt?t(w):e.check(A4,b,M)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(w))}function m(w){return w===null||we(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(w)):Se(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ne(e,p,"whitespace")(w)):w===96&&w===s?n(w):(e.consume(w),m)}function p(w){return w===null||we(w)?h(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(w))}function g(w){return w===null||we(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(w)):w===96&&w===s?n(w):(e.consume(w),g)}function b(w){return e.attempt(i,M,v)(w)}function v(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),x}function x(w){return a>0&&Se(w)?Ne(e,y,"linePrefix",a+1)(w):y(w)}function y(w){return w===null||we(w)?e.check(A4,b,M)(w):(e.enter("codeFlowValue"),C(w))}function C(w){return w===null||we(w)?(e.exit("codeFlowValue"),y(w)):(e.consume(w),C)}function M(w){return e.exit("codeFenced"),t(w)}function E(w,z,I){let k=0;return F;function F(S){return w.enter("lineEnding"),w.consume(S),w.exit("lineEnding"),N}function N(S){return w.enter("codeFencedFence"),Se(S)?Ne(w,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):B(S)}function B(S){return S===s?(w.enter("codeFencedFenceSequence"),H(S)):I(S)}function H(S){return S===s?(k++,w.consume(S),H):k>=o?(w.exit("codeFencedFenceSequence"),Se(S)?Ne(w,L,"whitespace")(S):L(S)):I(S)}function L(S){return S===null||we(S)?(w.exit("codeFencedFence"),z(S)):I(S)}}}function tS(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const Fs={name:"codeIndented",tokenize:rS},nS={partial:!0,tokenize:iS};function rS(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Ne(e,a,"linePrefix",5)(c)}function a(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?u(c):we(c)?e.attempt(nS,o,u)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||we(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function u(c){return e.exit("codeIndented"),t(c)}}function iS(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):we(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Ne(e,a,"linePrefix",5)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):we(o)?i(o):n(o)}}const lS={name:"codeText",previous:oS,resolve:aS,tokenize:sS};function aS(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function oS(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function sS(e,t,n){let r=0,i,a;return o;function o(h){return e.enter("codeText"),e.enter("codeTextSequence"),s(h)}function s(h){return h===96?(e.consume(h),r++,s):(e.exit("codeTextSequence"),u(h))}function u(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),u):h===96?(a=e.enter("codeTextSequence"),i=0,d(h)):we(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(h))}function c(h){return h===null||h===32||h===96||we(h)?(e.exit("codeTextData"),u(h)):(e.consume(h),c)}function d(h){return h===96?(e.consume(h),i++,d):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",c(h))}}class uS{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&ji(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),ji(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ji(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);ji(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);ji(this.left,n.reverse())}}}function ji(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function D4(e){const t={};let n=-1,r,i,a,o,s,u,c;const d=new uS(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,a=0,a<u.length&&u[a][1].type==="lineEndingBlank"&&(a+=2),a<u.length&&u[a][1].type==="content"))for(;++a<u.length&&u[a][1].type!=="content";)u[a][1].type==="chunkText"&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,cS(d,n)),n=t[n],c=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=d.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...d.get(i)[1].start},s=d.slice(i,n),s.unshift(r),d.splice(i,n-i+1,s))}}return Pt(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function cS(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const s=o.events,u=[],c={};let d,h,m=-1,p=n,g=0,b=0;const v=[b];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(d=r.sliceStream(p),p.next||d.push(null),h&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(d),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++m<s.length;)s[m][0]==="exit"&&s[m-1][0]==="enter"&&s[m][1].type===s[m-1][1].type&&s[m][1].start.line!==s[m][1].end.line&&(b=m+1,v.push(b),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):v.pop(),m=v.length;m--;){const x=s.slice(v[m],v[m+1]),y=a.pop();u.push([y,y+x.length-1]),e.splice(y,2,x)}for(u.reverse(),m=-1;++m<u.length;)c[g+u[m][0]]=g+u[m][1],g+=u[m][1]-u[m][0]-1;return c}const dS={resolve:hS,tokenize:mS},fS={partial:!0,tokenize:pS};function hS(e){return D4(e),e}function mS(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):we(s)?e.check(fS,o,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function pS(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Ne(e,a,"linePrefix")}function a(o){if(o===null||we(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function L4(e,t,n,r,i,a,o,s,u){const c=u||Number.POSITIVE_INFINITY;let d=0;return h;function h(x){return x===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(x),e.exit(a),m):x===null||x===32||x===41||oa(x)?n(x):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),b(x))}function m(x){return x===62?(e.enter(a),e.consume(x),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===62?(e.exit("chunkString"),e.exit(s),m(x)):x===null||x===60||we(x)?n(x):(e.consume(x),x===92?g:p)}function g(x){return x===60||x===62||x===92?(e.consume(x),p):p(x)}function b(x){return!d&&(x===null||x===41||Ze(x))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(x)):d<c&&x===40?(e.consume(x),d++,b):x===41?(e.consume(x),d--,b):x===null||x===32||x===40||oa(x)?n(x):(e.consume(x),x===92?v:b)}function v(x){return x===40||x===41||x===92?(e.consume(x),b):b(x)}}function T4(e,t,n,r,i,a){const o=this;let s=0,u;return c;function c(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(a),d}function d(p){return s>999||p===null||p===91||p===93&&!u||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):we(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||we(p)||s++>999?(e.exit("chunkString"),d(p)):(e.consume(p),u||(u=!Se(p)),p===92?m:h)}function m(p){return p===91||p===92||p===93?(e.consume(p),s++,h):h(p)}}function B4(e,t,n,r,i,a){let o;return s;function s(m){return m===34||m===39||m===40?(e.enter(r),e.enter(i),e.consume(m),e.exit(i),o=m===40?41:m,u):n(m)}function u(m){return m===o?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):(e.enter(a),c(m))}function c(m){return m===o?(e.exit(a),u(o)):m===null?n(m):we(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),Ne(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(m))}function d(m){return m===o||m===null||we(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?h:d)}function h(m){return m===o||m===92?(e.consume(m),d):d(m)}}function Pi(e,t){let n;return r;function r(i){return we(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Se(i)?Ne(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const gS={name:"definition",tokenize:bS},vS={partial:!0,tokenize:xS};function bS(e,t,n){const r=this;let i;return a;function a(p){return e.enter("definition"),o(p)}function o(p){return T4.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=Rt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):n(p)}function u(p){return Ze(p)?Pi(e,c)(p):c(p)}function c(p){return L4(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function d(p){return e.attempt(vS,h,h)(p)}function h(p){return Se(p)?Ne(e,m,"whitespace")(p):m(p)}function m(p){return p===null||we(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function xS(e,t,n){return r;function r(s){return Ze(s)?Pi(e,i)(s):n(s)}function i(s){return B4(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Se(s)?Ne(e,o,"whitespace")(s):o(s)}function o(s){return s===null||we(s)?t(s):n(s)}}const wS={name:"hardBreakEscape",tokenize:yS};function yS(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return we(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const ES={name:"headingAtx",resolve:CS,tokenize:kS};function CS(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Pt(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function kS(e,t,n){let r=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),o(d)}function o(d){return d===35&&r++<6?(e.consume(d),o):d===null||Ze(d)?(e.exit("atxHeadingSequence"),s(d)):n(d)}function s(d){return d===35?(e.enter("atxHeadingSequence"),u(d)):d===null||we(d)?(e.exit("atxHeading"),t(d)):Se(d)?Ne(e,s,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function u(d){return d===35?(e.consume(d),u):(e.exit("atxHeadingSequence"),s(d))}function c(d){return d===null||d===35||Ze(d)?(e.exit("atxHeadingText"),s(d)):(e.consume(d),c)}}const IS=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],H4=["pre","script","style","textarea"],zS={concrete:!0,name:"htmlFlow",resolveTo:SS,tokenize:AS},FS={partial:!0,tokenize:DS},MS={partial:!0,tokenize:NS};function SS(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function AS(e,t,n){const r=this;let i,a,o,s,u;return c;function c(D){return d(D)}function d(D){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(D),h}function h(D){return D===33?(e.consume(D),m):D===47?(e.consume(D),a=!0,b):D===63?(e.consume(D),i=3,r.interrupt?t:A):vt(D)?(e.consume(D),o=String.fromCharCode(D),v):n(D)}function m(D){return D===45?(e.consume(D),i=2,p):D===91?(e.consume(D),i=5,s=0,g):vt(D)?(e.consume(D),i=4,r.interrupt?t:A):n(D)}function p(D){return D===45?(e.consume(D),r.interrupt?t:A):n(D)}function g(D){const X="CDATA[";return D===X.charCodeAt(s++)?(e.consume(D),s===X.length?r.interrupt?t:B:g):n(D)}function b(D){return vt(D)?(e.consume(D),o=String.fromCharCode(D),v):n(D)}function v(D){if(D===null||D===47||D===62||Ze(D)){const X=D===47,K=o.toLowerCase();return!X&&!a&&H4.includes(K)?(i=1,r.interrupt?t(D):B(D)):IS.includes(o.toLowerCase())?(i=6,X?(e.consume(D),x):r.interrupt?t(D):B(D)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(D):a?y(D):C(D))}return D===45||pt(D)?(e.consume(D),o+=String.fromCharCode(D),v):n(D)}function x(D){return D===62?(e.consume(D),r.interrupt?t:B):n(D)}function y(D){return Se(D)?(e.consume(D),y):F(D)}function C(D){return D===47?(e.consume(D),F):D===58||D===95||vt(D)?(e.consume(D),M):Se(D)?(e.consume(D),C):F(D)}function M(D){return D===45||D===46||D===58||D===95||pt(D)?(e.consume(D),M):E(D)}function E(D){return D===61?(e.consume(D),w):Se(D)?(e.consume(D),E):C(D)}function w(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),u=D,z):Se(D)?(e.consume(D),w):I(D)}function z(D){return D===u?(e.consume(D),u=null,k):D===null||we(D)?n(D):(e.consume(D),z)}function I(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||Ze(D)?E(D):(e.consume(D),I)}function k(D){return D===47||D===62||Se(D)?C(D):n(D)}function F(D){return D===62?(e.consume(D),N):n(D)}function N(D){return D===null||we(D)?B(D):Se(D)?(e.consume(D),N):n(D)}function B(D){return D===45&&i===2?(e.consume(D),T):D===60&&i===1?(e.consume(D),G):D===62&&i===4?(e.consume(D),$):D===63&&i===3?(e.consume(D),A):D===93&&i===5?(e.consume(D),_):we(D)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(FS,W,H)(D)):D===null||we(D)?(e.exit("htmlFlowData"),H(D)):(e.consume(D),B)}function H(D){return e.check(MS,L,W)(D)}function L(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),S}function S(D){return D===null||we(D)?H(D):(e.enter("htmlFlowData"),B(D))}function T(D){return D===45?(e.consume(D),A):B(D)}function G(D){return D===47?(e.consume(D),o="",O):B(D)}function O(D){if(D===62){const X=o.toLowerCase();return H4.includes(X)?(e.consume(D),$):B(D)}return vt(D)&&o.length<8?(e.consume(D),o+=String.fromCharCode(D),O):B(D)}function _(D){return D===93?(e.consume(D),A):B(D)}function A(D){return D===62?(e.consume(D),$):D===45&&i===2?(e.consume(D),A):B(D)}function $(D){return D===null||we(D)?(e.exit("htmlFlowData"),W(D)):(e.consume(D),$)}function W(D){return e.exit("htmlFlow"),t(D)}}function NS(e,t,n){const r=this;return i;function i(o){return we(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function DS(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Hi,t,n)}}const LS={name:"htmlText",tokenize:TS};function TS(e,t,n){const r=this;let i,a,o;return s;function s(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),u}function u(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),E):A===63?(e.consume(A),C):vt(A)?(e.consume(A),I):n(A)}function c(A){return A===45?(e.consume(A),d):A===91?(e.consume(A),a=0,g):vt(A)?(e.consume(A),y):n(A)}function d(A){return A===45?(e.consume(A),p):n(A)}function h(A){return A===null?n(A):A===45?(e.consume(A),m):we(A)?(o=h,G(A)):(e.consume(A),h)}function m(A){return A===45?(e.consume(A),p):h(A)}function p(A){return A===62?T(A):A===45?m(A):h(A)}function g(A){const $="CDATA[";return A===$.charCodeAt(a++)?(e.consume(A),a===$.length?b:g):n(A)}function b(A){return A===null?n(A):A===93?(e.consume(A),v):we(A)?(o=b,G(A)):(e.consume(A),b)}function v(A){return A===93?(e.consume(A),x):b(A)}function x(A){return A===62?T(A):A===93?(e.consume(A),x):b(A)}function y(A){return A===null||A===62?T(A):we(A)?(o=y,G(A)):(e.consume(A),y)}function C(A){return A===null?n(A):A===63?(e.consume(A),M):we(A)?(o=C,G(A)):(e.consume(A),C)}function M(A){return A===62?T(A):C(A)}function E(A){return vt(A)?(e.consume(A),w):n(A)}function w(A){return A===45||pt(A)?(e.consume(A),w):z(A)}function z(A){return we(A)?(o=z,G(A)):Se(A)?(e.consume(A),z):T(A)}function I(A){return A===45||pt(A)?(e.consume(A),I):A===47||A===62||Ze(A)?k(A):n(A)}function k(A){return A===47?(e.consume(A),T):A===58||A===95||vt(A)?(e.consume(A),F):we(A)?(o=k,G(A)):Se(A)?(e.consume(A),k):T(A)}function F(A){return A===45||A===46||A===58||A===95||pt(A)?(e.consume(A),F):N(A)}function N(A){return A===61?(e.consume(A),B):we(A)?(o=N,G(A)):Se(A)?(e.consume(A),N):k(A)}function B(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),i=A,H):we(A)?(o=B,G(A)):Se(A)?(e.consume(A),B):(e.consume(A),L)}function H(A){return A===i?(e.consume(A),i=void 0,S):A===null?n(A):we(A)?(o=H,G(A)):(e.consume(A),H)}function L(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||Ze(A)?k(A):(e.consume(A),L)}function S(A){return A===47||A===62||Ze(A)?k(A):n(A)}function T(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function G(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),O}function O(A){return Se(A)?Ne(e,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):_(A)}function _(A){return e.enter("htmlTextData"),o(A)}}const Ms={name:"labelEnd",resolveAll:PS,resolveTo:OS,tokenize:VS},BS={tokenize:GS},HS={tokenize:_S},jS={tokenize:$S};function PS(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Pt(e,0,e.length,n),e}function OS(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const u={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},d={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",u,t],["enter",c,t]],s=Zt(s,e.slice(a+1,a+r+3)),s=Zt(s,[["enter",d,t]]),s=Zt(s,ua(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Zt(s,[["exit",d,t],e[o-2],e[o-1],["exit",c,t]]),s=Zt(s,e.slice(o+1)),s=Zt(s,[["exit",u,t]]),Pt(e,a,e.length,s),e}function VS(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(m){return a?a._inactive?h(m):(o=r.parser.defined.includes(Rt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),u):n(m)}function u(m){return m===40?e.attempt(BS,d,o?d:h)(m):m===91?e.attempt(HS,d,o?c:h)(m):o?d(m):h(m)}function c(m){return e.attempt(jS,d,h)(m)}function d(m){return t(m)}function h(m){return a._balanced=!0,n(m)}}function GS(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return Ze(h)?Pi(e,a)(h):a(h)}function a(h){return h===41?d(h):L4(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function o(h){return Ze(h)?Pi(e,u)(h):d(h)}function s(h){return n(h)}function u(h){return h===34||h===39||h===40?B4(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):d(h)}function c(h){return Ze(h)?Pi(e,d)(h):d(h)}function d(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function _S(e,t,n){const r=this;return i;function i(s){return T4.call(r,e,a,o,"reference","referenceMarker","referenceString")(s)}function a(s){return r.parser.defined.includes(Rt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}function $S(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const WS={name:"labelStartImage",resolveAll:Ms.resolveAll,tokenize:US};function US(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const XS={name:"labelStartLink",resolveAll:Ms.resolveAll,tokenize:ZS};function ZS(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Ss={name:"lineEnding",tokenize:YS};function YS(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Ne(e,t,"linePrefix")}}const ca={name:"thematicBreak",tokenize:JS};function JS(e,t,n){let r=0,i;return a;function a(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,s(c)}function s(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||we(c))?(e.exit("thematicBreak"),t(c)):n(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),Se(c)?Ne(e,s,"whitespace")(c):s(c))}}const Ft={continuation:{tokenize:RS},exit:tA,name:"list",tokenize:QS},KS={partial:!0,tokenize:nA},qS={partial:!0,tokenize:eA};function QS(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Is(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(ca,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return n(p)}function u(p){return Is(p)&&++o<10?(e.consume(p),u):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Hi,r.interrupt?n:d,e.attempt(KS,m,h))}function d(p){return r.containerState.initialBlankLine=!0,a++,m(p)}function h(p){return Se(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),m):n(p)}function m(p){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function RS(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Hi,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ne(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Se(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(qS,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ne(e,e.attempt(Ft,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function eA(e,t,n){const r=this;return Ne(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function tA(e){e.exit(this.containerState.type)}function nA(e,t,n){const r=this;return Ne(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!Se(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const j4={name:"setextUnderline",resolveTo:rA,tokenize:iA};function rA(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function iA(e,t,n){const r=this;let i;return a;function a(c){let d=r.events.length,h;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){h=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Se(c)?Ne(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||we(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const lA={tokenize:aA};function aA(e){const t=this,n=e.attempt(Hi,r,e.attempt(this.parser.constructs.flowInitial,i,Ne(e,e.attempt(this.parser.constructs.flow,i,e.attempt(dS,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const oA={resolveAll:O4()},sA=P4("string"),uA=P4("text");function P4(e){return{resolveAll:O4(e==="text"?cA:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,s);return o;function o(d){return c(d)?a(d):s(d)}function s(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),u}function u(d){return c(d)?(n.exit("data"),a(d)):(n.consume(d),u)}function c(d){if(d===null)return!0;const h=i[d];let m=-1;if(h)for(;++m<h.length;){const p=h[m];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function O4(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function cA(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,o=-1,s=0,u;for(;a--;){const c=i[a];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(c===-2)u=!0,s++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const c={type:n===e.length||u||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const dA=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:gS},disable:{null:[]},document:{42:Ft,43:Ft,45:Ft,48:Ft,49:Ft,50:Ft,51:Ft,52:Ft,53:Ft,54:Ft,55:Ft,56:Ft,57:Ft,62:F4},flow:{35:ES,42:ca,45:[j4,ca],60:zS,61:j4,95:ca,96:N4,126:N4},flowInitial:{[-2]:Fs,[-1]:Fs,32:Fs},insideSpan:{null:[zs,oA]},string:{38:S4,92:M4},text:{[-5]:Ss,[-4]:Ss,[-3]:Ss,33:WS,38:S4,42:zs,60:[XM,LS],91:XS,92:[wS,M4],93:Ms,95:zs,96:lS}},Symbol.toStringTag,{value:"Module"}));function fA(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let o=[],s=[];const u={attempt:z(E),check:z(w),consume:y,enter:C,exit:M,interrupt:z(w,{interrupt:!0})},c={code:null,containerState:{},defineSkip:b,events:[],now:g,parser:e,previous:null,sliceSerialize:m,sliceStream:p,write:h};let d=t.tokenize.call(c,u);return t.resolveAll&&a.push(t),c;function h(N){return o=Zt(o,N),v(),o[o.length-1]!==null?[]:(I(t,0),c.events=ua(a,c.events,c),c.events)}function m(N,B){return mA(p(N),B)}function p(N){return hA(o,N)}function g(){const{_bufferIndex:N,_index:B,line:H,column:L,offset:S}=r;return{_bufferIndex:N,_index:B,line:H,column:L,offset:S}}function b(N){i[N.line]=N.column,F()}function v(){let N;for(;r._index<o.length;){const B=o[r._index];if(typeof B=="string")for(N=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===N&&r._bufferIndex<B.length;)x(B.charCodeAt(r._bufferIndex));else x(B)}}function x(N){d=d(N)}function y(N){we(N)?(r.line++,r.column=1,r.offset+=N===-3?2:1,F()):N!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=N}function C(N,B){const H=B||{};return H.type=N,H.start=g(),c.events.push(["enter",H,c]),s.push(H),H}function M(N){const B=s.pop();return B.end=g(),c.events.push(["exit",B,c]),B}function E(N,B){I(N,B.from)}function w(N,B){B.restore()}function z(N,B){return H;function H(L,S,T){let G,O,_,A;return Array.isArray(L)?W(L):"tokenize"in L?W([L]):$(L);function $(ae){return R;function R(ue){const U=ue!==null&&ae[ue],J=ue!==null&&ae.null,fe=[...Array.isArray(U)?U:U?[U]:[],...Array.isArray(J)?J:J?[J]:[]];return W(fe)(ue)}}function W(ae){return G=ae,O=0,ae.length===0?T:D(ae[O])}function D(ae){return R;function R(ue){return A=k(),_=ae,ae.partial||(c.currentConstruct=ae),ae.name&&c.parser.constructs.disable.null.includes(ae.name)?K():ae.tokenize.call(B?Object.assign(Object.create(c),B):c,u,X,K)(ue)}}function X(ae){return N(_,A),S}function K(ae){return A.restore(),++O<G.length?D(G[O]):T}}}function I(N,B){N.resolveAll&&!a.includes(N)&&a.push(N),N.resolve&&Pt(c.events,B,c.events.length-B,N.resolve(c.events.slice(B),c)),N.resolveTo&&(c.events=N.resolveTo(c.events,c))}function k(){const N=g(),B=c.previous,H=c.currentConstruct,L=c.events.length,S=Array.from(s);return{from:L,restore:T};function T(){r=N,c.previous=B,c.currentConstruct=H,c.events.length=L,s=S,F()}}function F(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function hA(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function mA(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
148
+ `,c="/",d="*",h="",m="comment",p="declaration";function g(v,x){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];x=x||{};var y=1,C=1;function M(L){var S=L.match(t);S&&(y+=S.length);var T=L.lastIndexOf(u);C=~T?L.length-T:C+L.length}function E(){var L={line:y,column:C};return function(S){return S.position=new w(L),k(),S}}function w(L){this.start=L,this.end={line:y,column:C},this.source=x.source}w.prototype.content=v;function z(L){var S=new Error(x.source+":"+y+":"+C+": "+L);if(S.reason=L,S.filename=x.source,S.line=y,S.column=C,S.source=v,!x.silent)throw S}function I(L){var S=L.exec(v);if(S){var T=S[0];return M(T),v=v.slice(T.length),S}}function k(){I(n)}function F(L){var S;for(L=L||[];S=N();)S!==!1&&L.push(S);return L}function N(){var L=E();if(!(c!=v.charAt(0)||d!=v.charAt(1))){for(var S=2;h!=v.charAt(S)&&(d!=v.charAt(S)||c!=v.charAt(S+1));)++S;if(S+=2,h===v.charAt(S-1))return z("End of comment missing");var T=v.slice(2,S-2);return C+=2,M(T),v=v.slice(S),C+=2,L({type:m,comment:T})}}function B(){var L=E(),S=I(r);if(S){if(N(),!I(i))return z("property missing ':'");var T=I(a),G=L({type:p,property:b(S[0].replace(e,h)),value:T?b(T[0].replace(e,h)):h});return I(o),G}}function H(){var L=[];F(L);for(var S;S=B();)S!==!1&&(L.push(S),F(L));return L}return k(),H()}function b(v){return v?v.replace(s,h):h}return gs=g,gs}var s4;function aM(){if(s4)return Dr;s4=1;var e=Dr&&Dr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.default=n;const t=e(lM());function n(r,i){let a=null;if(!r||typeof r!="string")return a;const o=(0,t.default)(r),s=typeof i=="function";return o.forEach(u=>{if(u.type!=="declaration")return;const{property:c,value:d}=u;s?i(c,d,u):d&&(a=a||{},a[c]=d)}),a}return Dr}var Di={},u4;function oM(){if(u4)return Di;u4=1,Object.defineProperty(Di,"__esModule",{value:!0}),Di.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(c){return!c||n.test(c)||e.test(c)},o=function(c,d){return d.toUpperCase()},s=function(c,d){return"".concat(d,"-")},u=function(c,d){return d===void 0&&(d={}),a(c)?c:(c=c.toLowerCase(),d.reactCompat?c=c.replace(i,s):c=c.replace(r,s),c.replace(t,o))};return Di.camelCase=u,Di}var Li,c4;function sM(){if(c4)return Li;c4=1;var e=Li&&Li.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(aM()),n=oM();function r(i,a){var o={};return!i||typeof i!="string"||(0,t.default)(i,function(s,u){s&&u&&(o[(0,n.camelCase)(s,a)]=u)}),o}return r.default=r,Li=r,Li}var uM=sM();const cM=Jt(uM),d4=f4("end"),vs=f4("start");function f4(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function dM(e){const t=vs(e),n=d4(e);if(t&&n)return{start:t,end:n}}function Ti(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?h4(e.position):"start"in e||"end"in e?h4(e):"line"in e||"column"in e?bs(e):""}function bs(e){return m4(e&&e.line)+":"+m4(e&&e.column)}function h4(e){return bs(e&&e.start)+"-"+bs(e&&e.end)}function m4(e){return e&&typeof e=="number"?e:1}class mt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?a.ruleId=r:(a.source=r.slice(0,u),a.ruleId=r.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){const u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=Ti(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}mt.prototype.file="",mt.prototype.name="",mt.prototype.reason="",mt.prototype.message="",mt.prototype.stack="",mt.prototype.column=void 0,mt.prototype.line=void 0,mt.prototype.ancestors=void 0,mt.prototype.cause=void 0,mt.prototype.fatal=void 0,mt.prototype.place=void 0,mt.prototype.ruleId=void 0,mt.prototype.source=void 0;const xs={}.hasOwnProperty,fM=new Map,hM=/[A-Z]/g,mM=new Set(["table","tbody","thead","tfoot","tr"]),pM=new Set(["td","th"]),p4="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function gM(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=kM(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=CM(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ps:rM,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=g4(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function g4(e,t,n){if(t.type==="element")return vM(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return bM(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return wM(e,t,n);if(t.type==="mdxjsEsm")return xM(e,t);if(t.type==="root")return yM(e,t,n);if(t.type==="text")return EM(e,t)}function vM(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=ps,e.schema=i),e.ancestors.push(t);const a=b4(e,t.tagName,!1),o=IM(e,t);let s=ys(e,t);return mM.has(t.tagName)&&(s=s.filter(function(u){return typeof u=="string"?!ZF(u):!0})),v4(e,o,a,t),ws(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function bM(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Bi(e,t.position)}function xM(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Bi(e,t.position)}function wM(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=ps,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:b4(e,t.name,!0),o=zM(e,t),s=ys(e,t);return v4(e,o,a,t),ws(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function yM(e,t,n){const r={};return ws(r,ys(e,t)),e.create(t,e.Fragment,r,n)}function EM(e,t){return t.value}function v4(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ws(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function CM(e,t,n){return r;function r(i,a,o,s){const c=Array.isArray(o.children)?n:t;return s?c(a,o,s):c(a,o)}}function kM(e,t){return n;function n(r,i,a,o){const s=Array.isArray(a.children),u=vs(r);return t(i,a,o,s,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function IM(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&xs.call(t.properties,i)){const a=FM(e,i,t.properties[i]);if(a){const[o,s]=a;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&pM.has(t.tagName)?r=s:n[o]=s}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function zM(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const s=o.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Bi(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,a=e.evaluater.evaluateExpression(s.expression)}else Bi(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function ys(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:fM;for(;++r<t.children.length;){const a=t.children[r];let o;if(e.passKeys){const u=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(u){const c=i.get(u)||0;o=u+"-"+c,i.set(u,c+1)}}const s=g4(e,a,o);s!==void 0&&n.push(s)}return n}function FM(e,t,n){const r=eM(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?_F(n):iM(n)),r.property==="style"){let i=typeof n=="object"?n:MM(e,String(n));return e.stylePropertyNameCase==="css"&&(i=SM(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?qF[r.property]||r.property:r.attribute,n]}}function MM(e,t){try{return cM(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new mt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=p4+"#cannot-parse-style-attribute",i}}function b4(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,o;for(;++a<i.length;){const s=Km(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};o=o?{type:"MemberExpression",object:o,property:s,computed:!!(a&&s.type==="Literal"),optional:!1}:s}r=o}else r=Km(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return xs.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Bi(e)}function Bi(e,t){const n=new mt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=p4+"#cannot-handle-mdx-estrees-without-createevaluater",n}function SM(e){const t={};let n;for(n in e)xs.call(e,n)&&(t[AM(n)]=e[n]);return t}function AM(e){let t=e.replace(hM,NM);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function NM(e){return"-"+e.toLowerCase()}const Es={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},DM={};function Cs(e,t){const n=DM,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return x4(e,r,i)}function x4(e,t,n){if(LM(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return w4(e.children,t,n)}return Array.isArray(e)?w4(e,t,n):""}function w4(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=x4(e[i],t,n);return r.join("")}function LM(e){return!!(e&&typeof e=="object")}const y4=document.createElement("i");function ks(e){const t="&"+e+";";y4.innerHTML=t;const n=y4.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Pt(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Zt(e,t){return e.length>0?(Pt(e,e.length,0,t),e):t}const E4={}.hasOwnProperty;function C4(e){const t={};let n=-1;for(;++n<e.length;)TM(t,e[n]);return t}function TM(e,t){let n;for(n in t){const i=(E4.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;if(a)for(o in a){E4.call(i,o)||(i[o]=[]);const s=a[o];BM(i[o],Array.isArray(s)?s:s?[s]:[])}}}function BM(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Pt(e,0,0,r)}function k4(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Rt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const vt=Un(/[A-Za-z]/),pt=Un(/[\dA-Za-z]/),HM=Un(/[#-'*+\--9=?A-Z^-~]/);function oa(e){return e!==null&&(e<32||e===127)}const Is=Un(/\d/),jM=Un(/[\dA-Fa-f]/),PM=Un(/[!-/:-@[-`{-~]/);function we(e){return e!==null&&e<-2}function Ze(e){return e!==null&&(e<0||e===32)}function Se(e){return e===-2||e===-1||e===32}const sa=Un(new RegExp("\\p{P}|\\p{S}","u")),lr=Un(/\s/);function Un(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Lr(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(a===37&&pt(e.charCodeAt(n+1))&&pt(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function De(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(u){return Se(u)?(e.enter(n),s(u)):t(u)}function s(u){return Se(u)&&a++<i?(e.consume(u),s):(e.exit(n),t(u))}}const OM={tokenize:VM};function VM(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),De(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return we(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),o)}}const GM={tokenize:_M},I4={tokenize:$M};function _M(e){const t=this,n=[];let r=0,i,a,o;return s;function s(C){if(r<n.length){const M=n[r];return t.containerState=M[1],e.attempt(M[0].continuation,u,c)(C)}return c(C)}function u(C){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&y();const M=t.events.length;let E=M,w;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){w=t.events[E][1].end;break}x(r);let z=M;for(;z<t.events.length;)t.events[z][1].end={...w},z++;return Pt(t.events,E+1,0,t.events.slice(M)),t.events.length=z,c(C)}return s(C)}function c(C){if(r===n.length){if(!i)return m(C);if(i.currentConstruct&&i.currentConstruct.concrete)return g(C);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(I4,d,h)(C)}function d(C){return i&&y(),x(r),m(C)}function h(C){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,g(C)}function m(C){return t.containerState={},e.attempt(I4,p,g)(C)}function p(C){return r++,n.push([t.currentConstruct,t.containerState]),m(C)}function g(C){if(C===null){i&&y(),x(0),e.consume(C);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),b(C)}function b(C){if(C===null){v(e.exit("chunkFlow"),!0),x(0),e.consume(C);return}return we(C)?(e.consume(C),v(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(C),b)}function v(C,M){const E=t.sliceStream(C);if(M&&E.push(null),C.previous=a,a&&(a.next=C),a=C,i.defineSkip(C.start),i.write(E),t.parser.lazy[C.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<o&&(!i.events[w][1].end||i.events[w][1].end.offset>o))return;const z=t.events.length;let I=z,k,F;for(;I--;)if(t.events[I][0]==="exit"&&t.events[I][1].type==="chunkFlow"){if(k){F=t.events[I][1].end;break}k=!0}for(x(r),w=z;w<t.events.length;)t.events[w][1].end={...F},w++;Pt(t.events,I+1,0,t.events.slice(z)),t.events.length=w}}function x(C){let M=n.length;for(;M-- >C;){const E=n[M];t.containerState=E[1],E[0].exit.call(t,e)}n.length=C}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function $M(e,t,n){return De(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Tr(e){if(e===null||Ze(e)||lr(e))return 1;if(sa(e))return 2}function ua(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const zs={name:"attention",resolveAll:WM,tokenize:UM};function WM(e,t){let n=-1,r,i,a,o,s,u,c,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},m={...e[n][1].start};z4(h,-u),z4(m,u),o={type:u>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},a={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Zt(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Zt(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),c=Zt(c,ua(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Zt(c,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=Zt(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,Pt(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function UM(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Tr(r);let a;return o;function o(u){return a=u,e.enter("attentionSequence"),s(u)}function s(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),d=Tr(u),h=!d||d===2&&i||n.includes(u),m=!i||i===2&&d||n.includes(r);return c._open=!!(a===42?h:h&&(i||!m)),c._close=!!(a===42?m:m&&(d||!h)),t(u)}}function z4(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const XM={name:"autolink",tokenize:ZM};function ZM(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return vt(p)?(e.consume(p),o):p===64?n(p):c(p)}function o(p){return p===43||p===45||p===46||pt(p)?(r=1,s(p)):c(p)}function s(p){return p===58?(e.consume(p),r=0,u):(p===43||p===45||p===46||pt(p))&&r++<32?(e.consume(p),s):(r=0,c(p))}function u(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||oa(p)?n(p):(e.consume(p),u)}function c(p){return p===64?(e.consume(p),d):HM(p)?(e.consume(p),c):n(p)}function d(p){return pt(p)?h(p):n(p)}function h(p){return p===46?(e.consume(p),r=0,d):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):m(p)}function m(p){if((p===45||pt(p))&&r++<63){const g=p===45?m:h;return e.consume(p),g}return n(p)}}const Hi={partial:!0,tokenize:YM};function YM(e,t,n){return r;function r(a){return Se(a)?De(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||we(a)?t(a):n(a)}}const F4={continuation:{tokenize:KM},exit:qM,name:"blockQuote",tokenize:JM};function JM(e,t,n){const r=this;return i;function i(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return n(o)}function a(o){return Se(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function KM(e,t,n){const r=this;return i;function i(o){return Se(o)?De(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(F4,t,n)(o)}}function qM(e){e.exit("blockQuote")}const M4={name:"characterEscape",tokenize:QM};function QM(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return PM(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const S4={name:"characterReference",tokenize:RM};function RM(e,t,n){const r=this;let i=0,a,o;return s;function s(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),u}function u(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,o=pt,d(h))}function c(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=jM,d):(e.enter("characterReferenceValue"),a=7,o=Is,d(h))}function d(h){if(h===59&&i){const m=e.exit("characterReferenceValue");return o===pt&&!ks(r.sliceSerialize(m))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(h)&&i++<a?(e.consume(h),d):n(h)}}const A4={partial:!0,tokenize:tS},N4={concrete:!0,name:"codeFenced",tokenize:eS};function eS(e,t,n){const r=this,i={partial:!0,tokenize:E};let a=0,o=0,s;return u;function u(w){return c(w)}function c(w){const z=r.events[r.events.length-1];return a=z&&z[1].type==="linePrefix"?z[2].sliceSerialize(z[1],!0).length:0,s=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(w)}function d(w){return w===s?(o++,e.consume(w),d):o<3?n(w):(e.exit("codeFencedFenceSequence"),Se(w)?De(e,h,"whitespace")(w):h(w))}function h(w){return w===null||we(w)?(e.exit("codeFencedFence"),r.interrupt?t(w):e.check(A4,b,M)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(w))}function m(w){return w===null||we(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(w)):Se(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),De(e,p,"whitespace")(w)):w===96&&w===s?n(w):(e.consume(w),m)}function p(w){return w===null||we(w)?h(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(w))}function g(w){return w===null||we(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(w)):w===96&&w===s?n(w):(e.consume(w),g)}function b(w){return e.attempt(i,M,v)(w)}function v(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),x}function x(w){return a>0&&Se(w)?De(e,y,"linePrefix",a+1)(w):y(w)}function y(w){return w===null||we(w)?e.check(A4,b,M)(w):(e.enter("codeFlowValue"),C(w))}function C(w){return w===null||we(w)?(e.exit("codeFlowValue"),y(w)):(e.consume(w),C)}function M(w){return e.exit("codeFenced"),t(w)}function E(w,z,I){let k=0;return F;function F(S){return w.enter("lineEnding"),w.consume(S),w.exit("lineEnding"),N}function N(S){return w.enter("codeFencedFence"),Se(S)?De(w,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):B(S)}function B(S){return S===s?(w.enter("codeFencedFenceSequence"),H(S)):I(S)}function H(S){return S===s?(k++,w.consume(S),H):k>=o?(w.exit("codeFencedFenceSequence"),Se(S)?De(w,L,"whitespace")(S):L(S)):I(S)}function L(S){return S===null||we(S)?(w.exit("codeFencedFence"),z(S)):I(S)}}}function tS(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const Fs={name:"codeIndented",tokenize:rS},nS={partial:!0,tokenize:iS};function rS(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),De(e,a,"linePrefix",5)(c)}function a(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?u(c):we(c)?e.attempt(nS,o,u)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||we(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function u(c){return e.exit("codeIndented"),t(c)}}function iS(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):we(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):De(e,a,"linePrefix",5)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):we(o)?i(o):n(o)}}const lS={name:"codeText",previous:oS,resolve:aS,tokenize:sS};function aS(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function oS(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function sS(e,t,n){let r=0,i,a;return o;function o(h){return e.enter("codeText"),e.enter("codeTextSequence"),s(h)}function s(h){return h===96?(e.consume(h),r++,s):(e.exit("codeTextSequence"),u(h))}function u(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),u):h===96?(a=e.enter("codeTextSequence"),i=0,d(h)):we(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(h))}function c(h){return h===null||h===32||h===96||we(h)?(e.exit("codeTextData"),u(h)):(e.consume(h),c)}function d(h){return h===96?(e.consume(h),i++,d):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",c(h))}}class uS{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&ji(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),ji(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ji(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);ji(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);ji(this.left,n.reverse())}}}function ji(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function D4(e){const t={};let n=-1,r,i,a,o,s,u,c;const d=new uS(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,a=0,a<u.length&&u[a][1].type==="lineEndingBlank"&&(a+=2),a<u.length&&u[a][1].type==="content"))for(;++a<u.length&&u[a][1].type!=="content";)u[a][1].type==="chunkText"&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,cS(d,n)),n=t[n],c=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=d.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...d.get(i)[1].start},s=d.slice(i,n),s.unshift(r),d.splice(i,n-i+1,s))}}return Pt(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function cS(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const s=o.events,u=[],c={};let d,h,m=-1,p=n,g=0,b=0;const v=[b];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(d=r.sliceStream(p),p.next||d.push(null),h&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(d),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++m<s.length;)s[m][0]==="exit"&&s[m-1][0]==="enter"&&s[m][1].type===s[m-1][1].type&&s[m][1].start.line!==s[m][1].end.line&&(b=m+1,v.push(b),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):v.pop(),m=v.length;m--;){const x=s.slice(v[m],v[m+1]),y=a.pop();u.push([y,y+x.length-1]),e.splice(y,2,x)}for(u.reverse(),m=-1;++m<u.length;)c[g+u[m][0]]=g+u[m][1],g+=u[m][1]-u[m][0]-1;return c}const dS={resolve:hS,tokenize:mS},fS={partial:!0,tokenize:pS};function hS(e){return D4(e),e}function mS(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):we(s)?e.check(fS,o,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function pS(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),De(e,a,"linePrefix")}function a(o){if(o===null||we(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function L4(e,t,n,r,i,a,o,s,u){const c=u||Number.POSITIVE_INFINITY;let d=0;return h;function h(x){return x===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(x),e.exit(a),m):x===null||x===32||x===41||oa(x)?n(x):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),b(x))}function m(x){return x===62?(e.enter(a),e.consume(x),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===62?(e.exit("chunkString"),e.exit(s),m(x)):x===null||x===60||we(x)?n(x):(e.consume(x),x===92?g:p)}function g(x){return x===60||x===62||x===92?(e.consume(x),p):p(x)}function b(x){return!d&&(x===null||x===41||Ze(x))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(x)):d<c&&x===40?(e.consume(x),d++,b):x===41?(e.consume(x),d--,b):x===null||x===32||x===40||oa(x)?n(x):(e.consume(x),x===92?v:b)}function v(x){return x===40||x===41||x===92?(e.consume(x),b):b(x)}}function T4(e,t,n,r,i,a){const o=this;let s=0,u;return c;function c(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(a),d}function d(p){return s>999||p===null||p===91||p===93&&!u||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):we(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||we(p)||s++>999?(e.exit("chunkString"),d(p)):(e.consume(p),u||(u=!Se(p)),p===92?m:h)}function m(p){return p===91||p===92||p===93?(e.consume(p),s++,h):h(p)}}function B4(e,t,n,r,i,a){let o;return s;function s(m){return m===34||m===39||m===40?(e.enter(r),e.enter(i),e.consume(m),e.exit(i),o=m===40?41:m,u):n(m)}function u(m){return m===o?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):(e.enter(a),c(m))}function c(m){return m===o?(e.exit(a),u(o)):m===null?n(m):we(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),De(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(m))}function d(m){return m===o||m===null||we(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?h:d)}function h(m){return m===o||m===92?(e.consume(m),d):d(m)}}function Pi(e,t){let n;return r;function r(i){return we(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Se(i)?De(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const gS={name:"definition",tokenize:bS},vS={partial:!0,tokenize:xS};function bS(e,t,n){const r=this;let i;return a;function a(p){return e.enter("definition"),o(p)}function o(p){return T4.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=Rt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):n(p)}function u(p){return Ze(p)?Pi(e,c)(p):c(p)}function c(p){return L4(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function d(p){return e.attempt(vS,h,h)(p)}function h(p){return Se(p)?De(e,m,"whitespace")(p):m(p)}function m(p){return p===null||we(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function xS(e,t,n){return r;function r(s){return Ze(s)?Pi(e,i)(s):n(s)}function i(s){return B4(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Se(s)?De(e,o,"whitespace")(s):o(s)}function o(s){return s===null||we(s)?t(s):n(s)}}const wS={name:"hardBreakEscape",tokenize:yS};function yS(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return we(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const ES={name:"headingAtx",resolve:CS,tokenize:kS};function CS(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Pt(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function kS(e,t,n){let r=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),o(d)}function o(d){return d===35&&r++<6?(e.consume(d),o):d===null||Ze(d)?(e.exit("atxHeadingSequence"),s(d)):n(d)}function s(d){return d===35?(e.enter("atxHeadingSequence"),u(d)):d===null||we(d)?(e.exit("atxHeading"),t(d)):Se(d)?De(e,s,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function u(d){return d===35?(e.consume(d),u):(e.exit("atxHeadingSequence"),s(d))}function c(d){return d===null||d===35||Ze(d)?(e.exit("atxHeadingText"),s(d)):(e.consume(d),c)}}const IS=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],H4=["pre","script","style","textarea"],zS={concrete:!0,name:"htmlFlow",resolveTo:SS,tokenize:AS},FS={partial:!0,tokenize:DS},MS={partial:!0,tokenize:NS};function SS(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function AS(e,t,n){const r=this;let i,a,o,s,u;return c;function c(D){return d(D)}function d(D){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(D),h}function h(D){return D===33?(e.consume(D),m):D===47?(e.consume(D),a=!0,b):D===63?(e.consume(D),i=3,r.interrupt?t:A):vt(D)?(e.consume(D),o=String.fromCharCode(D),v):n(D)}function m(D){return D===45?(e.consume(D),i=2,p):D===91?(e.consume(D),i=5,s=0,g):vt(D)?(e.consume(D),i=4,r.interrupt?t:A):n(D)}function p(D){return D===45?(e.consume(D),r.interrupt?t:A):n(D)}function g(D){const X="CDATA[";return D===X.charCodeAt(s++)?(e.consume(D),s===X.length?r.interrupt?t:B:g):n(D)}function b(D){return vt(D)?(e.consume(D),o=String.fromCharCode(D),v):n(D)}function v(D){if(D===null||D===47||D===62||Ze(D)){const X=D===47,K=o.toLowerCase();return!X&&!a&&H4.includes(K)?(i=1,r.interrupt?t(D):B(D)):IS.includes(o.toLowerCase())?(i=6,X?(e.consume(D),x):r.interrupt?t(D):B(D)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(D):a?y(D):C(D))}return D===45||pt(D)?(e.consume(D),o+=String.fromCharCode(D),v):n(D)}function x(D){return D===62?(e.consume(D),r.interrupt?t:B):n(D)}function y(D){return Se(D)?(e.consume(D),y):F(D)}function C(D){return D===47?(e.consume(D),F):D===58||D===95||vt(D)?(e.consume(D),M):Se(D)?(e.consume(D),C):F(D)}function M(D){return D===45||D===46||D===58||D===95||pt(D)?(e.consume(D),M):E(D)}function E(D){return D===61?(e.consume(D),w):Se(D)?(e.consume(D),E):C(D)}function w(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),u=D,z):Se(D)?(e.consume(D),w):I(D)}function z(D){return D===u?(e.consume(D),u=null,k):D===null||we(D)?n(D):(e.consume(D),z)}function I(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||Ze(D)?E(D):(e.consume(D),I)}function k(D){return D===47||D===62||Se(D)?C(D):n(D)}function F(D){return D===62?(e.consume(D),N):n(D)}function N(D){return D===null||we(D)?B(D):Se(D)?(e.consume(D),N):n(D)}function B(D){return D===45&&i===2?(e.consume(D),T):D===60&&i===1?(e.consume(D),G):D===62&&i===4?(e.consume(D),$):D===63&&i===3?(e.consume(D),A):D===93&&i===5?(e.consume(D),_):we(D)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(FS,W,H)(D)):D===null||we(D)?(e.exit("htmlFlowData"),H(D)):(e.consume(D),B)}function H(D){return e.check(MS,L,W)(D)}function L(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),S}function S(D){return D===null||we(D)?H(D):(e.enter("htmlFlowData"),B(D))}function T(D){return D===45?(e.consume(D),A):B(D)}function G(D){return D===47?(e.consume(D),o="",O):B(D)}function O(D){if(D===62){const X=o.toLowerCase();return H4.includes(X)?(e.consume(D),$):B(D)}return vt(D)&&o.length<8?(e.consume(D),o+=String.fromCharCode(D),O):B(D)}function _(D){return D===93?(e.consume(D),A):B(D)}function A(D){return D===62?(e.consume(D),$):D===45&&i===2?(e.consume(D),A):B(D)}function $(D){return D===null||we(D)?(e.exit("htmlFlowData"),W(D)):(e.consume(D),$)}function W(D){return e.exit("htmlFlow"),t(D)}}function NS(e,t,n){const r=this;return i;function i(o){return we(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function DS(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Hi,t,n)}}const LS={name:"htmlText",tokenize:TS};function TS(e,t,n){const r=this;let i,a,o;return s;function s(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),u}function u(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),E):A===63?(e.consume(A),C):vt(A)?(e.consume(A),I):n(A)}function c(A){return A===45?(e.consume(A),d):A===91?(e.consume(A),a=0,g):vt(A)?(e.consume(A),y):n(A)}function d(A){return A===45?(e.consume(A),p):n(A)}function h(A){return A===null?n(A):A===45?(e.consume(A),m):we(A)?(o=h,G(A)):(e.consume(A),h)}function m(A){return A===45?(e.consume(A),p):h(A)}function p(A){return A===62?T(A):A===45?m(A):h(A)}function g(A){const $="CDATA[";return A===$.charCodeAt(a++)?(e.consume(A),a===$.length?b:g):n(A)}function b(A){return A===null?n(A):A===93?(e.consume(A),v):we(A)?(o=b,G(A)):(e.consume(A),b)}function v(A){return A===93?(e.consume(A),x):b(A)}function x(A){return A===62?T(A):A===93?(e.consume(A),x):b(A)}function y(A){return A===null||A===62?T(A):we(A)?(o=y,G(A)):(e.consume(A),y)}function C(A){return A===null?n(A):A===63?(e.consume(A),M):we(A)?(o=C,G(A)):(e.consume(A),C)}function M(A){return A===62?T(A):C(A)}function E(A){return vt(A)?(e.consume(A),w):n(A)}function w(A){return A===45||pt(A)?(e.consume(A),w):z(A)}function z(A){return we(A)?(o=z,G(A)):Se(A)?(e.consume(A),z):T(A)}function I(A){return A===45||pt(A)?(e.consume(A),I):A===47||A===62||Ze(A)?k(A):n(A)}function k(A){return A===47?(e.consume(A),T):A===58||A===95||vt(A)?(e.consume(A),F):we(A)?(o=k,G(A)):Se(A)?(e.consume(A),k):T(A)}function F(A){return A===45||A===46||A===58||A===95||pt(A)?(e.consume(A),F):N(A)}function N(A){return A===61?(e.consume(A),B):we(A)?(o=N,G(A)):Se(A)?(e.consume(A),N):k(A)}function B(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),i=A,H):we(A)?(o=B,G(A)):Se(A)?(e.consume(A),B):(e.consume(A),L)}function H(A){return A===i?(e.consume(A),i=void 0,S):A===null?n(A):we(A)?(o=H,G(A)):(e.consume(A),H)}function L(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||Ze(A)?k(A):(e.consume(A),L)}function S(A){return A===47||A===62||Ze(A)?k(A):n(A)}function T(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function G(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),O}function O(A){return Se(A)?De(e,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):_(A)}function _(A){return e.enter("htmlTextData"),o(A)}}const Ms={name:"labelEnd",resolveAll:PS,resolveTo:OS,tokenize:VS},BS={tokenize:GS},HS={tokenize:_S},jS={tokenize:$S};function PS(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Pt(e,0,e.length,n),e}function OS(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const u={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},d={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",u,t],["enter",c,t]],s=Zt(s,e.slice(a+1,a+r+3)),s=Zt(s,[["enter",d,t]]),s=Zt(s,ua(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Zt(s,[["exit",d,t],e[o-2],e[o-1],["exit",c,t]]),s=Zt(s,e.slice(o+1)),s=Zt(s,[["exit",u,t]]),Pt(e,a,e.length,s),e}function VS(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(m){return a?a._inactive?h(m):(o=r.parser.defined.includes(Rt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),u):n(m)}function u(m){return m===40?e.attempt(BS,d,o?d:h)(m):m===91?e.attempt(HS,d,o?c:h)(m):o?d(m):h(m)}function c(m){return e.attempt(jS,d,h)(m)}function d(m){return t(m)}function h(m){return a._balanced=!0,n(m)}}function GS(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return Ze(h)?Pi(e,a)(h):a(h)}function a(h){return h===41?d(h):L4(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function o(h){return Ze(h)?Pi(e,u)(h):d(h)}function s(h){return n(h)}function u(h){return h===34||h===39||h===40?B4(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):d(h)}function c(h){return Ze(h)?Pi(e,d)(h):d(h)}function d(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function _S(e,t,n){const r=this;return i;function i(s){return T4.call(r,e,a,o,"reference","referenceMarker","referenceString")(s)}function a(s){return r.parser.defined.includes(Rt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}function $S(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const WS={name:"labelStartImage",resolveAll:Ms.resolveAll,tokenize:US};function US(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const XS={name:"labelStartLink",resolveAll:Ms.resolveAll,tokenize:ZS};function ZS(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Ss={name:"lineEnding",tokenize:YS};function YS(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),De(e,t,"linePrefix")}}const ca={name:"thematicBreak",tokenize:JS};function JS(e,t,n){let r=0,i;return a;function a(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,s(c)}function s(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||we(c))?(e.exit("thematicBreak"),t(c)):n(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),Se(c)?De(e,s,"whitespace")(c):s(c))}}const Ft={continuation:{tokenize:RS},exit:tA,name:"list",tokenize:QS},KS={partial:!0,tokenize:nA},qS={partial:!0,tokenize:eA};function QS(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Is(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(ca,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return n(p)}function u(p){return Is(p)&&++o<10?(e.consume(p),u):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Hi,r.interrupt?n:d,e.attempt(KS,m,h))}function d(p){return r.containerState.initialBlankLine=!0,a++,m(p)}function h(p){return Se(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),m):n(p)}function m(p){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function RS(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Hi,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,De(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Se(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(qS,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,De(e,e.attempt(Ft,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function eA(e,t,n){const r=this;return De(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function tA(e){e.exit(this.containerState.type)}function nA(e,t,n){const r=this;return De(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!Se(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const j4={name:"setextUnderline",resolveTo:rA,tokenize:iA};function rA(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function iA(e,t,n){const r=this;let i;return a;function a(c){let d=r.events.length,h;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){h=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Se(c)?De(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||we(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const lA={tokenize:aA};function aA(e){const t=this,n=e.attempt(Hi,r,e.attempt(this.parser.constructs.flowInitial,i,De(e,e.attempt(this.parser.constructs.flow,i,e.attempt(dS,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const oA={resolveAll:O4()},sA=P4("string"),uA=P4("text");function P4(e){return{resolveAll:O4(e==="text"?cA:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,s);return o;function o(d){return c(d)?a(d):s(d)}function s(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),u}function u(d){return c(d)?(n.exit("data"),a(d)):(n.consume(d),u)}function c(d){if(d===null)return!0;const h=i[d];let m=-1;if(h)for(;++m<h.length;){const p=h[m];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function O4(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function cA(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,o=-1,s=0,u;for(;a--;){const c=i[a];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(c===-2)u=!0,s++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const c={type:n===e.length||u||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const dA=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:gS},disable:{null:[]},document:{42:Ft,43:Ft,45:Ft,48:Ft,49:Ft,50:Ft,51:Ft,52:Ft,53:Ft,54:Ft,55:Ft,56:Ft,57:Ft,62:F4},flow:{35:ES,42:ca,45:[j4,ca],60:zS,61:j4,95:ca,96:N4,126:N4},flowInitial:{[-2]:Fs,[-1]:Fs,32:Fs},insideSpan:{null:[zs,oA]},string:{38:S4,92:M4},text:{[-5]:Ss,[-4]:Ss,[-3]:Ss,33:WS,38:S4,42:zs,60:[XM,LS],91:XS,92:[wS,M4],93:Ms,95:zs,96:lS}},Symbol.toStringTag,{value:"Module"}));function fA(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let o=[],s=[];const u={attempt:z(E),check:z(w),consume:y,enter:C,exit:M,interrupt:z(w,{interrupt:!0})},c={code:null,containerState:{},defineSkip:b,events:[],now:g,parser:e,previous:null,sliceSerialize:m,sliceStream:p,write:h};let d=t.tokenize.call(c,u);return t.resolveAll&&a.push(t),c;function h(N){return o=Zt(o,N),v(),o[o.length-1]!==null?[]:(I(t,0),c.events=ua(a,c.events,c),c.events)}function m(N,B){return mA(p(N),B)}function p(N){return hA(o,N)}function g(){const{_bufferIndex:N,_index:B,line:H,column:L,offset:S}=r;return{_bufferIndex:N,_index:B,line:H,column:L,offset:S}}function b(N){i[N.line]=N.column,F()}function v(){let N;for(;r._index<o.length;){const B=o[r._index];if(typeof B=="string")for(N=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===N&&r._bufferIndex<B.length;)x(B.charCodeAt(r._bufferIndex));else x(B)}}function x(N){d=d(N)}function y(N){we(N)?(r.line++,r.column=1,r.offset+=N===-3?2:1,F()):N!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=N}function C(N,B){const H=B||{};return H.type=N,H.start=g(),c.events.push(["enter",H,c]),s.push(H),H}function M(N){const B=s.pop();return B.end=g(),c.events.push(["exit",B,c]),B}function E(N,B){I(N,B.from)}function w(N,B){B.restore()}function z(N,B){return H;function H(L,S,T){let G,O,_,A;return Array.isArray(L)?W(L):"tokenize"in L?W([L]):$(L);function $(ae){return R;function R(ue){const U=ue!==null&&ae[ue],J=ue!==null&&ae.null,fe=[...Array.isArray(U)?U:U?[U]:[],...Array.isArray(J)?J:J?[J]:[]];return W(fe)(ue)}}function W(ae){return G=ae,O=0,ae.length===0?T:D(ae[O])}function D(ae){return R;function R(ue){return A=k(),_=ae,ae.partial||(c.currentConstruct=ae),ae.name&&c.parser.constructs.disable.null.includes(ae.name)?K():ae.tokenize.call(B?Object.assign(Object.create(c),B):c,u,X,K)(ue)}}function X(ae){return N(_,A),S}function K(ae){return A.restore(),++O<G.length?D(G[O]):T}}}function I(N,B){N.resolveAll&&!a.includes(N)&&a.push(N),N.resolve&&Pt(c.events,B,c.events.length-B,N.resolve(c.events.slice(B),c)),N.resolveTo&&(c.events=N.resolveTo(c.events,c))}function k(){const N=g(),B=c.previous,H=c.currentConstruct,L=c.events.length,S=Array.from(s);return{from:L,restore:T};function T(){r=N,c.previous=B,c.currentConstruct=H,c.events.length=L,s=S,F()}}function F(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function hA(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function mA(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
149
149
  `;break}case-3:{o=`\r
150
- `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}function pA(e){const r={constructs:C4([dA,...(e||{}).extensions||[]]),content:i(OM),defined:[],document:i(GM),flow:i(lA),lazy:{},string:i(sA),text:i(uA)};return r;function i(a){return o;function o(s){return fA(r,a,s)}}}function gA(e){for(;!D4(e););return e}const V4=/[\0\t\n\r]/g;function vA(){let e=1,t="",n=!0,r;return i;function i(a,o,s){const u=[];let c,d,h,m,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),h=0,t="",n&&(a.charCodeAt(0)===65279&&h++,n=void 0);h<a.length;){if(V4.lastIndex=h,c=V4.exec(a),m=c&&c.index!==void 0?c.index:a.length,p=a.charCodeAt(m),!c){t=a.slice(h);break}if(p===10&&h===m&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),h<m&&(u.push(a.slice(h,m)),e+=m-h),p){case 0:{u.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,u.push(-2);e++<d;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}h=m+1}return s&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const bA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xA(e){return e.replace(bA,wA)}function wA(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return k4(n.slice(a?2:1),a?16:10)}return ks(n)||e}const G4={}.hasOwnProperty;function yA(e,t,n){return typeof t!="string"&&(n=t,t=void 0),EA(n)(gA(pA(n).document().write(vA()(e,t,!0))))}function EA(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Re),autolinkProtocol:k,autolinkEmail:k,atxHeading:a(Q),blockQuote:a(J),characterEscape:k,characterReference:k,codeFenced:a(fe),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(fe,o),codeText:a(ee,o),codeTextData:k,data:k,codeFlowValue:k,definition:a(be),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(je),hardBreakEscape:a(oe),hardBreakTrailing:a(oe),htmlFlow:a(Ce,o),htmlFlowData:k,htmlText:a(Ce,o),htmlTextData:k,image:a(Qe),label:o,link:a(Re),listItem:a(ut),listItemValue:m,listOrdered:a(De,h),listUnordered:a(De),paragraph:a(bt),reference:D,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Q),strong:a(pn),thematicBreak:a(He)},exit:{atxHeading:u(),atxHeadingSequence:E,autolink:u(),autolinkEmail:U,autolinkProtocol:ue,blockQuote:u(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:K,characterReferenceMarkerNumeric:K,characterReferenceValue:ae,characterReference:R,codeFenced:u(v),codeFencedFence:b,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:F,codeIndented:u(x),codeText:u(S),codeTextData:F,data:F,definition:u(),definitionDestinationString:M,definitionLabelString:y,definitionTitleString:C,emphasis:u(),hardBreakEscape:u(B),hardBreakTrailing:u(B),htmlFlow:u(H),htmlFlowData:F,htmlText:u(L),htmlTextData:F,image:u(G),label:_,labelText:O,lineEnding:N,link:u(T),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:X,resourceDestinationString:A,resourceTitleString:$,resource:W,setextHeading:u(I),setextHeadingLineSequence:z,setextHeadingText:w,strong:u(),thematicBreak:u()}};_4(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(Z){let te={type:"root",children:[]};const ye={stack:[te],tokenStack:[],config:t,enter:s,exit:c,buffer:o,resume:d,data:n},Ie=[];let Le=-1;for(;++Le<Z.length;)if(Z[Le][1].type==="listOrdered"||Z[Le][1].type==="listUnordered")if(Z[Le][0]==="enter")Ie.push(Le);else{const ct=Ie.pop();Le=i(Z,ct,Le)}for(Le=-1;++Le<Z.length;){const ct=t[Z[Le][0]];G4.call(ct,Z[Le][1].type)&&ct[Z[Le][1].type].call(Object.assign({sliceSerialize:Z[Le][2].sliceSerialize},ye),Z[Le][1])}if(ye.tokenStack.length>0){const ct=ye.tokenStack[ye.tokenStack.length-1];(ct[1]||$4).call(ye,void 0,ct[0])}for(te.position={start:Xn(Z.length>0?Z[0][1].start:{line:1,column:1,offset:0}),end:Xn(Z.length>0?Z[Z.length-2][1].end:{line:1,column:1,offset:0})},Le=-1;++Le<t.transforms.length;)te=t.transforms[Le](te)||te;return te}function i(Z,te,ye){let Ie=te-1,Le=-1,ct=!1,jn,en,sr,ur;for(;++Ie<=ye;){const xt=Z[Ie];switch(xt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{xt[0]==="enter"?Le++:Le--,ur=void 0;break}case"lineEndingBlank":{xt[0]==="enter"&&(jn&&!ur&&!Le&&!sr&&(sr=Ie),ur=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ur=void 0}if(!Le&&xt[0]==="enter"&&xt[1].type==="listItemPrefix"||Le===-1&&xt[0]==="exit"&&(xt[1].type==="listUnordered"||xt[1].type==="listOrdered")){if(jn){let Jn=Ie;for(en=void 0;Jn--;){const Ot=Z[Jn];if(Ot[1].type==="lineEnding"||Ot[1].type==="lineEndingBlank"){if(Ot[0]==="exit")continue;en&&(Z[en][1].type="lineEndingBlank",ct=!0),Ot[1].type="lineEnding",en=Jn}else if(!(Ot[1].type==="linePrefix"||Ot[1].type==="blockQuotePrefix"||Ot[1].type==="blockQuotePrefixWhitespace"||Ot[1].type==="blockQuoteMarker"||Ot[1].type==="listItemIndent"))break}sr&&(!en||sr<en)&&(jn._spread=!0),jn.end=Object.assign({},en?Z[en][1].start:xt[1].end),Z.splice(en||Ie,0,["exit",jn,xt[2]]),Ie++,ye++}if(xt[1].type==="listItemPrefix"){const Jn={type:"listItem",_spread:!1,start:Object.assign({},xt[1].start),end:void 0};jn=Jn,Z.splice(Ie,0,["enter",Jn,xt[2]]),Ie++,ye++,sr=void 0,ur=!0}}}return Z[te][1]._spread=ct,ye}function a(Z,te){return ye;function ye(Ie){s.call(this,Z(Ie),Ie),te&&te.call(this,Ie)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(Z,te,ye){this.stack[this.stack.length-1].children.push(Z),this.stack.push(Z),this.tokenStack.push([te,ye||void 0]),Z.position={start:Xn(te.start),end:void 0}}function u(Z){return te;function te(ye){Z&&Z.call(this,ye),c.call(this,ye)}}function c(Z,te){const ye=this.stack.pop(),Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==Z.type&&(te?te.call(this,Z,Ie[0]):(Ie[1]||$4).call(this,Z,Ie[0]));else throw new Error("Cannot close `"+Z.type+"` ("+Ti({start:Z.start,end:Z.end})+"): it’s not open");ye.position.end=Xn(Z.end)}function d(){return Cs(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function m(Z){if(this.data.expectingFirstListItemValue){const te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(Z),10),this.data.expectingFirstListItemValue=void 0}}function p(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.lang=Z}function g(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.meta=Z}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z.replace(/(\r?\n|\r)$/g,"")}function y(Z){const te=this.resume(),ye=this.stack[this.stack.length-1];ye.label=te,ye.identifier=Rt(this.sliceSerialize(Z)).toLowerCase()}function C(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.title=Z}function M(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.url=Z}function E(Z){const te=this.stack[this.stack.length-1];if(!te.depth){const ye=this.sliceSerialize(Z).length;te.depth=ye}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function z(Z){const te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(Z).codePointAt(0)===61?1:2}function I(){this.data.setextHeadingSlurpLineEnding=void 0}function k(Z){const ye=this.stack[this.stack.length-1].children;let Ie=ye[ye.length-1];(!Ie||Ie.type!=="text")&&(Ie=ge(),Ie.position={start:Xn(Z.start),end:void 0},ye.push(Ie)),this.stack.push(Ie)}function F(Z){const te=this.stack.pop();te.value+=this.sliceSerialize(Z),te.position.end=Xn(Z.end)}function N(Z){const te=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ye=te.children[te.children.length-1];ye.position.end=Xn(Z.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(k.call(this,Z),F.call(this,Z))}function B(){this.data.atHardBreak=!0}function H(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z}function L(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z}function S(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z}function T(){const Z=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";Z.type+="Reference",Z.referenceType=te,delete Z.url,delete Z.title}else delete Z.identifier,delete Z.label;this.data.referenceType=void 0}function G(){const Z=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";Z.type+="Reference",Z.referenceType=te,delete Z.url,delete Z.title}else delete Z.identifier,delete Z.label;this.data.referenceType=void 0}function O(Z){const te=this.sliceSerialize(Z),ye=this.stack[this.stack.length-2];ye.label=xA(te),ye.identifier=Rt(te).toLowerCase()}function _(){const Z=this.stack[this.stack.length-1],te=this.resume(),ye=this.stack[this.stack.length-1];if(this.data.inReference=!0,ye.type==="link"){const Ie=Z.children;ye.children=Ie}else ye.alt=te}function A(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.url=Z}function $(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.title=Z}function W(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function X(Z){const te=this.resume(),ye=this.stack[this.stack.length-1];ye.label=te,ye.identifier=Rt(this.sliceSerialize(Z)).toLowerCase(),this.data.referenceType="full"}function K(Z){this.data.characterReferenceType=Z.type}function ae(Z){const te=this.sliceSerialize(Z),ye=this.data.characterReferenceType;let Ie;ye?(Ie=k4(te,ye==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ie=ks(te);const Le=this.stack[this.stack.length-1];Le.value+=Ie}function R(Z){const te=this.stack.pop();te.position.end=Xn(Z.end)}function ue(Z){F.call(this,Z);const te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(Z)}function U(Z){F.call(this,Z);const te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(Z)}function J(){return{type:"blockquote",children:[]}}function fe(){return{type:"code",lang:null,meta:null,value:""}}function ee(){return{type:"inlineCode",value:""}}function be(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function je(){return{type:"emphasis",children:[]}}function Q(){return{type:"heading",depth:0,children:[]}}function oe(){return{type:"break"}}function Ce(){return{type:"html",value:""}}function Qe(){return{type:"image",title:null,url:"",alt:null}}function Re(){return{type:"link",title:null,url:"",children:[]}}function De(Z){return{type:"list",ordered:Z.type==="listOrdered",start:null,spread:Z._spread,children:[]}}function ut(Z){return{type:"listItem",spread:Z._spread,checked:null,children:[]}}function bt(){return{type:"paragraph",children:[]}}function pn(){return{type:"strong",children:[]}}function ge(){return{type:"text",value:""}}function He(){return{type:"thematicBreak"}}}function Xn(e){return{line:e.line,column:e.column,offset:e.offset}}function _4(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?_4(e,r):CA(e,r)}}function CA(e,t){let n;for(n in t)if(G4.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function $4(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ti({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ti({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ti({start:t.start,end:t.end})+") is still open")}function kA(e){const t=this;t.parser=n;function n(r){return yA(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function IA(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function zA(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
150
+ `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}function pA(e){const r={constructs:C4([dA,...(e||{}).extensions||[]]),content:i(OM),defined:[],document:i(GM),flow:i(lA),lazy:{},string:i(sA),text:i(uA)};return r;function i(a){return o;function o(s){return fA(r,a,s)}}}function gA(e){for(;!D4(e););return e}const V4=/[\0\t\n\r]/g;function vA(){let e=1,t="",n=!0,r;return i;function i(a,o,s){const u=[];let c,d,h,m,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),h=0,t="",n&&(a.charCodeAt(0)===65279&&h++,n=void 0);h<a.length;){if(V4.lastIndex=h,c=V4.exec(a),m=c&&c.index!==void 0?c.index:a.length,p=a.charCodeAt(m),!c){t=a.slice(h);break}if(p===10&&h===m&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),h<m&&(u.push(a.slice(h,m)),e+=m-h),p){case 0:{u.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,u.push(-2);e++<d;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}h=m+1}return s&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const bA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xA(e){return e.replace(bA,wA)}function wA(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return k4(n.slice(a?2:1),a?16:10)}return ks(n)||e}const G4={}.hasOwnProperty;function yA(e,t,n){return typeof t!="string"&&(n=t,t=void 0),EA(n)(gA(pA(n).document().write(vA()(e,t,!0))))}function EA(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Re),autolinkProtocol:k,autolinkEmail:k,atxHeading:a(Q),blockQuote:a(J),characterEscape:k,characterReference:k,codeFenced:a(fe),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(fe,o),codeText:a(ee,o),codeTextData:k,data:k,codeFlowValue:k,definition:a(be),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(je),hardBreakEscape:a(oe),hardBreakTrailing:a(oe),htmlFlow:a(Ce,o),htmlFlowData:k,htmlText:a(Ce,o),htmlTextData:k,image:a(Qe),label:o,link:a(Re),listItem:a(ut),listItemValue:m,listOrdered:a(Le,h),listUnordered:a(Le),paragraph:a(bt),reference:D,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Q),strong:a(pn),thematicBreak:a(He)},exit:{atxHeading:u(),atxHeadingSequence:E,autolink:u(),autolinkEmail:U,autolinkProtocol:ue,blockQuote:u(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:K,characterReferenceMarkerNumeric:K,characterReferenceValue:ae,characterReference:R,codeFenced:u(v),codeFencedFence:b,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:F,codeIndented:u(x),codeText:u(S),codeTextData:F,data:F,definition:u(),definitionDestinationString:M,definitionLabelString:y,definitionTitleString:C,emphasis:u(),hardBreakEscape:u(B),hardBreakTrailing:u(B),htmlFlow:u(H),htmlFlowData:F,htmlText:u(L),htmlTextData:F,image:u(G),label:_,labelText:O,lineEnding:N,link:u(T),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:X,resourceDestinationString:A,resourceTitleString:$,resource:W,setextHeading:u(I),setextHeadingLineSequence:z,setextHeadingText:w,strong:u(),thematicBreak:u()}};_4(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(Z){let te={type:"root",children:[]};const ye={stack:[te],tokenStack:[],config:t,enter:s,exit:c,buffer:o,resume:d,data:n},Ie=[];let Te=-1;for(;++Te<Z.length;)if(Z[Te][1].type==="listOrdered"||Z[Te][1].type==="listUnordered")if(Z[Te][0]==="enter")Ie.push(Te);else{const ct=Ie.pop();Te=i(Z,ct,Te)}for(Te=-1;++Te<Z.length;){const ct=t[Z[Te][0]];G4.call(ct,Z[Te][1].type)&&ct[Z[Te][1].type].call(Object.assign({sliceSerialize:Z[Te][2].sliceSerialize},ye),Z[Te][1])}if(ye.tokenStack.length>0){const ct=ye.tokenStack[ye.tokenStack.length-1];(ct[1]||$4).call(ye,void 0,ct[0])}for(te.position={start:Xn(Z.length>0?Z[0][1].start:{line:1,column:1,offset:0}),end:Xn(Z.length>0?Z[Z.length-2][1].end:{line:1,column:1,offset:0})},Te=-1;++Te<t.transforms.length;)te=t.transforms[Te](te)||te;return te}function i(Z,te,ye){let Ie=te-1,Te=-1,ct=!1,jn,en,sr,ur;for(;++Ie<=ye;){const xt=Z[Ie];switch(xt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{xt[0]==="enter"?Te++:Te--,ur=void 0;break}case"lineEndingBlank":{xt[0]==="enter"&&(jn&&!ur&&!Te&&!sr&&(sr=Ie),ur=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ur=void 0}if(!Te&&xt[0]==="enter"&&xt[1].type==="listItemPrefix"||Te===-1&&xt[0]==="exit"&&(xt[1].type==="listUnordered"||xt[1].type==="listOrdered")){if(jn){let Jn=Ie;for(en=void 0;Jn--;){const Ot=Z[Jn];if(Ot[1].type==="lineEnding"||Ot[1].type==="lineEndingBlank"){if(Ot[0]==="exit")continue;en&&(Z[en][1].type="lineEndingBlank",ct=!0),Ot[1].type="lineEnding",en=Jn}else if(!(Ot[1].type==="linePrefix"||Ot[1].type==="blockQuotePrefix"||Ot[1].type==="blockQuotePrefixWhitespace"||Ot[1].type==="blockQuoteMarker"||Ot[1].type==="listItemIndent"))break}sr&&(!en||sr<en)&&(jn._spread=!0),jn.end=Object.assign({},en?Z[en][1].start:xt[1].end),Z.splice(en||Ie,0,["exit",jn,xt[2]]),Ie++,ye++}if(xt[1].type==="listItemPrefix"){const Jn={type:"listItem",_spread:!1,start:Object.assign({},xt[1].start),end:void 0};jn=Jn,Z.splice(Ie,0,["enter",Jn,xt[2]]),Ie++,ye++,sr=void 0,ur=!0}}}return Z[te][1]._spread=ct,ye}function a(Z,te){return ye;function ye(Ie){s.call(this,Z(Ie),Ie),te&&te.call(this,Ie)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(Z,te,ye){this.stack[this.stack.length-1].children.push(Z),this.stack.push(Z),this.tokenStack.push([te,ye||void 0]),Z.position={start:Xn(te.start),end:void 0}}function u(Z){return te;function te(ye){Z&&Z.call(this,ye),c.call(this,ye)}}function c(Z,te){const ye=this.stack.pop(),Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==Z.type&&(te?te.call(this,Z,Ie[0]):(Ie[1]||$4).call(this,Z,Ie[0]));else throw new Error("Cannot close `"+Z.type+"` ("+Ti({start:Z.start,end:Z.end})+"): it’s not open");ye.position.end=Xn(Z.end)}function d(){return Cs(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function m(Z){if(this.data.expectingFirstListItemValue){const te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(Z),10),this.data.expectingFirstListItemValue=void 0}}function p(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.lang=Z}function g(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.meta=Z}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z.replace(/(\r?\n|\r)$/g,"")}function y(Z){const te=this.resume(),ye=this.stack[this.stack.length-1];ye.label=te,ye.identifier=Rt(this.sliceSerialize(Z)).toLowerCase()}function C(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.title=Z}function M(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.url=Z}function E(Z){const te=this.stack[this.stack.length-1];if(!te.depth){const ye=this.sliceSerialize(Z).length;te.depth=ye}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function z(Z){const te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(Z).codePointAt(0)===61?1:2}function I(){this.data.setextHeadingSlurpLineEnding=void 0}function k(Z){const ye=this.stack[this.stack.length-1].children;let Ie=ye[ye.length-1];(!Ie||Ie.type!=="text")&&(Ie=ge(),Ie.position={start:Xn(Z.start),end:void 0},ye.push(Ie)),this.stack.push(Ie)}function F(Z){const te=this.stack.pop();te.value+=this.sliceSerialize(Z),te.position.end=Xn(Z.end)}function N(Z){const te=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ye=te.children[te.children.length-1];ye.position.end=Xn(Z.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(k.call(this,Z),F.call(this,Z))}function B(){this.data.atHardBreak=!0}function H(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z}function L(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z}function S(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.value=Z}function T(){const Z=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";Z.type+="Reference",Z.referenceType=te,delete Z.url,delete Z.title}else delete Z.identifier,delete Z.label;this.data.referenceType=void 0}function G(){const Z=this.stack[this.stack.length-1];if(this.data.inReference){const te=this.data.referenceType||"shortcut";Z.type+="Reference",Z.referenceType=te,delete Z.url,delete Z.title}else delete Z.identifier,delete Z.label;this.data.referenceType=void 0}function O(Z){const te=this.sliceSerialize(Z),ye=this.stack[this.stack.length-2];ye.label=xA(te),ye.identifier=Rt(te).toLowerCase()}function _(){const Z=this.stack[this.stack.length-1],te=this.resume(),ye=this.stack[this.stack.length-1];if(this.data.inReference=!0,ye.type==="link"){const Ie=Z.children;ye.children=Ie}else ye.alt=te}function A(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.url=Z}function $(){const Z=this.resume(),te=this.stack[this.stack.length-1];te.title=Z}function W(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function X(Z){const te=this.resume(),ye=this.stack[this.stack.length-1];ye.label=te,ye.identifier=Rt(this.sliceSerialize(Z)).toLowerCase(),this.data.referenceType="full"}function K(Z){this.data.characterReferenceType=Z.type}function ae(Z){const te=this.sliceSerialize(Z),ye=this.data.characterReferenceType;let Ie;ye?(Ie=k4(te,ye==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ie=ks(te);const Te=this.stack[this.stack.length-1];Te.value+=Ie}function R(Z){const te=this.stack.pop();te.position.end=Xn(Z.end)}function ue(Z){F.call(this,Z);const te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(Z)}function U(Z){F.call(this,Z);const te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(Z)}function J(){return{type:"blockquote",children:[]}}function fe(){return{type:"code",lang:null,meta:null,value:""}}function ee(){return{type:"inlineCode",value:""}}function be(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function je(){return{type:"emphasis",children:[]}}function Q(){return{type:"heading",depth:0,children:[]}}function oe(){return{type:"break"}}function Ce(){return{type:"html",value:""}}function Qe(){return{type:"image",title:null,url:"",alt:null}}function Re(){return{type:"link",title:null,url:"",children:[]}}function Le(Z){return{type:"list",ordered:Z.type==="listOrdered",start:null,spread:Z._spread,children:[]}}function ut(Z){return{type:"listItem",spread:Z._spread,checked:null,children:[]}}function bt(){return{type:"paragraph",children:[]}}function pn(){return{type:"strong",children:[]}}function ge(){return{type:"text",value:""}}function He(){return{type:"thematicBreak"}}}function Xn(e){return{line:e.line,column:e.column,offset:e.offset}}function _4(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?_4(e,r):CA(e,r)}}function CA(e,t){let n;for(n in t)if(G4.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function $4(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ti({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ti({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ti({start:t.start,end:t.end})+") is still open")}function kA(e){const t=this;t.parser=n;function n(r){return yA(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function IA(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function zA(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
151
151
  `}]}function FA(e,t){const n=t.value?t.value+`
152
152
  `:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function MA(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function SA(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function AA(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Lr(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)}function NA(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function DA(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function W4(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function LA(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return W4(e,t);const i={src:Lr(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function TA(e,t){const n={src:Lr(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function BA(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function HA(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return W4(e,t);const i={href:Lr(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function jA(e,t){const n={href:Lr(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function PA(e,t,n){const r=e.all(t),i=n?OA(n):U4(t),a={},o=[];if(typeof t.checked=="boolean"){const d=r[0];let h;d&&d.type==="element"&&d.tagName==="p"?h=d:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const d=r[s];(i||s!==0||d.type!=="element"||d.tagName!=="p")&&o.push({type:"text",value:`
153
153
  `}),d.type==="element"&&d.tagName==="p"&&!i?o.push(...d.children):o.push(d)}const u=r[r.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:`
@@ -172,10 +172,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
172
172
  `))+1))}const o="#".repeat(i),s=n.enter("headingAtx"),u=n.enter("phrasing");a.move(o+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
173
173
  `,...a.current()});return/^[\t ]/.test(c)&&(c=_i(c.charCodeAt(0))+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),u(),s(),c}C5.peek=WD;function C5(e){return e.value||""}function WD(){return"<"}k5.peek=UD;function k5(e,t,n,r){const i=qs(n),a=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let s=n.enter("label");const u=n.createTracker(r);let c=u.move("![");return c+=u.move(n.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(s=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),s()),c+=u.move(")"),o(),c}function UD(){return"!"}I5.peek=XD;function I5(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let o=n.enter("label");const s=n.createTracker(r);let u=s.move("![");const c=n.safe(e.alt,{before:u,after:"]",...s.current()});u+=s.move(c+"]["),o();const d=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:u,after:"]",...s.current()});return o(),n.stack=d,a(),i==="full"||!c||c!==h?u+=s.move(h+"]"):i==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function XD(){return"!"}z5.peek=ZD;function z5(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const o=n.unsafe[a],s=n.compilePattern(o);let u;if(o.atBreak)for(;u=s.exec(r);){let c=u.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(u.index+1)}}return i+r+i}function ZD(){return"`"}function F5(e,t){const n=Cs(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}M5.peek=YD;function M5(e,t,n,r){const i=qs(n),a=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let s,u;if(F5(e,n)){const d=n.stack;n.stack=[],s=n.enter("autolink");let h=o.move("<");return h+=o.move(n.containerPhrasing(e,{before:h,after:">",...o.current()})),h+=o.move(">"),s(),n.stack=d,h}s=n.enter("link"),u=n.enter("label");let c=o.move("[");return c+=o.move(n.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(u=n.enter("destinationRaw"),c+=o.move(n.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=n.enter(`title${a}`),c+=o.move(" "+i),c+=o.move(n.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),u()),c+=o.move(")"),s(),c}function YD(e,t,n){return F5(e,n)?"<":"["}S5.peek=JD;function S5(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let o=n.enter("label");const s=n.createTracker(r);let u=s.move("[");const c=n.containerPhrasing(e,{before:u,after:"]",...s.current()});u+=s.move(c+"]["),o();const d=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:u,after:"]",...s.current()});return o(),n.stack=d,a(),i==="full"||!c||c!==h?u+=s.move(h+"]"):i==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function JD(){return"["}function Qs(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function KD(e){const t=Qs(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function qD(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function A5(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function QD(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let o=e.ordered?qD(n):Qs(n);const s=e.ordered?o==="."?")":".":KD(n);let u=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(u=!0),A5(n)===o&&d){let h=-1;for(;++h<e.children.length;){const m=e.children[h];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=s),n.bulletCurrent=o;const c=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),c}function RD(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function eL(e,t,n,r){const i=RD(n);let a=n.bulletCurrent||Qs(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);const u=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),d);return u(),c;function d(h,m,p){return m?(p?"":" ".repeat(o))+h:(p?a:a+" ".repeat(o-a.length))+h}}function tL(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),o=n.containerPhrasing(e,r);return a(),i(),o}const nL=ga(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function rL(e,t,n,r){return(e.children.some(function(o){return nL(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function iL(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}N5.peek=lL;function N5(e,t,n,r){const i=iL(n),a=n.enter("strong"),o=n.createTracker(r),s=o.move(i+i);let u=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()}));const c=u.charCodeAt(0),d=xa(r.before.charCodeAt(r.before.length-1),c,i);d.inside&&(u=_i(c)+u.slice(1));const h=u.charCodeAt(u.length-1),m=xa(r.after.charCodeAt(0),h,i);m.inside&&(u=u.slice(0,-1)+_i(h));const p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:m.outside,before:d.outside},s+u+p}function lL(e,t,n){return n.options.strong||"*"}function aL(e,t,n,r){return n.safe(e.value,r)}function oL(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function sL(e,t,n){const r=(A5(n)+(n.options.ruleSpaces?" ":"")).repeat(oL(n));return n.options.ruleSpaces?r.slice(0,-1):r}const D5={blockquote:ND,break:y5,code:jD,definition:OD,emphasis:E5,hardBreak:y5,heading:$D,html:C5,image:k5,imageReference:I5,inlineCode:z5,link:M5,linkReference:S5,list:QD,listItem:eL,paragraph:tL,root:rL,strong:N5,text:aL,thematicBreak:sL};function uL(){return{enter:{table:cL,tableData:L5,tableHeader:L5,tableRow:fL},exit:{codeText:hL,table:dL,tableData:Rs,tableHeader:Rs,tableRow:Rs}}}function cL(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function dL(e){this.exit(e),this.data.inTable=void 0}function fL(e){this.enter({type:"tableRow",children:[]},e)}function Rs(e){this.exit(e)}function L5(e){this.enter({type:"tableCell",children:[]},e)}function hL(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,mL));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function mL(e,t){return t==="|"?t:e}function pL(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
174
174
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:o,tableCell:u,tableRow:s}};function o(p,g,b,v){return c(d(p,b,v),p.align)}function s(p,g,b,v){const x=h(p,b,v),y=c([x]);return y.slice(0,y.indexOf(`
175
- `))}function u(p,g,b,v){const x=b.enter("tableCell"),y=b.enter("phrasing"),C=b.containerPhrasing(p,{...v,before:a,after:a});return y(),x(),C}function c(p,g){return SD(p,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function d(p,g,b){const v=p.children;let x=-1;const y=[],C=g.enter("table");for(;++x<v.length;)y[x]=h(v[x],g,b);return C(),y}function h(p,g,b){const v=p.children;let x=-1;const y=[],C=g.enter("tableRow");for(;++x<v.length;)y[x]=u(v[x],p,g,b);return C(),y}function m(p,g,b){let v=D5.inlineCode(p,g,b);return b.stack.includes("tableCell")&&(v=v.replace(/\|/g,"\\$&")),v}}function gL(){return{exit:{taskListCheckValueChecked:T5,taskListCheckValueUnchecked:T5,paragraph:bL}}}function vL(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:xL}}}function T5(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function bL(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,o;for(;++a<i.length;){const s=i[a];if(s.type==="paragraph"){o=s;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function xL(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);a&&s.move(o);let u=D5.listItem(e,t,n,{...r,...s.current()});return a&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(d){return d+o}}function wL(){return[QN(),xD(),CD(),uL(),gL()]}function yL(e){return{extensions:[RN(),wD(e),kD(),pL(e),vL()]}}const EL={tokenize:ML,partial:!0},B5={tokenize:SL,partial:!0},H5={tokenize:AL,partial:!0},j5={tokenize:NL,partial:!0},CL={tokenize:DL,partial:!0},P5={name:"wwwAutolink",tokenize:zL,previous:V5},O5={name:"protocolAutolink",tokenize:FL,previous:G5},Bn={name:"emailAutolink",tokenize:IL,previous:_5},hn={};function kL(){return{text:hn}}let ar=48;for(;ar<123;)hn[ar]=Bn,ar++,ar===58?ar=65:ar===91&&(ar=97);hn[43]=Bn,hn[45]=Bn,hn[46]=Bn,hn[95]=Bn,hn[72]=[Bn,O5],hn[104]=[Bn,O5],hn[87]=[Bn,P5],hn[119]=[Bn,P5];function IL(e,t,n){const r=this;let i,a;return o;function o(h){return!eu(h)||!_5.call(r,r.previous)||tu(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(h))}function s(h){return eu(h)?(e.consume(h),s):h===64?(e.consume(h),u):n(h)}function u(h){return h===46?e.check(CL,d,c)(h):h===45||h===95||pt(h)?(a=!0,e.consume(h),u):d(h)}function c(h){return e.consume(h),i=!0,u}function d(h){return a&&i&&vt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function zL(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!V5.call(r,r.previous)||tu(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(EL,e.attempt(B5,e.attempt(H5,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function FL(e,t,n){const r=this;let i="",a=!1;return o;function o(h){return(h===72||h===104)&&G5.call(r,r.previous)&&!tu(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),s):n(h)}function s(h){if(vt(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),s;if(h===58){const m=i.toLowerCase();if(m==="http"||m==="https")return e.consume(h),u}return n(h)}function u(h){return h===47?(e.consume(h),a?c:(a=!0,u)):n(h)}function c(h){return h===null||oa(h)||Ze(h)||lr(h)||sa(h)?n(h):e.attempt(B5,e.attempt(H5,d),n)(h)}function d(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function ML(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),a):n(o)}function a(o){return o===null?n(o):t(o)}}function SL(e,t,n){let r,i,a;return o;function o(c){return c===46||c===95?e.check(j5,u,s)(c):c===null||Ze(c)||lr(c)||c!==45&&sa(c)?u(c):(a=!0,e.consume(c),o)}function s(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),o}function u(c){return i||r||!a?n(c):t(c)}}function AL(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(j5,t,a)(o):o===null||Ze(o)||lr(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&r++,e.consume(o),i}}function NL(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),a):s===93?(e.consume(s),i):s===60||s===null||Ze(s)||lr(s)?t(s):n(s)}function i(s){return s===null||s===40||s===91||Ze(s)||lr(s)?t(s):r(s)}function a(s){return vt(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),r):vt(s)?(e.consume(s),o):n(s)}}function DL(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return pt(a)?n(a):t(a)}}function V5(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ze(e)}function G5(e){return!vt(e)}function _5(e){return!(e===47||eu(e))}function eu(e){return e===43||e===45||e===46||e===95||pt(e)}function tu(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const LL={tokenize:GL,partial:!0};function TL(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:PL,continuation:{tokenize:OL},exit:VL}},text:{91:{name:"gfmFootnoteCall",tokenize:jL},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:BL,resolveTo:HL}}}}function BL(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return s;function s(u){if(!o||!o._balanced)return n(u);const c=Rt(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function HL(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function jL(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return s;function s(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),u}function u(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(a>999||h===93&&!o||h===null||h===91||Ze(h))return n(h);if(h===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return i.includes(Rt(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return Ze(h)||(o=!0),a++,e.consume(h),h===92?d:c}function d(h){return h===91||h===92||h===93?(e.consume(h),a++,c):c(h)}}function PL(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,s;return u;function u(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(g)}function d(g){if(o>999||g===93&&!s||g===null||g===91||Ze(g))return n(g);if(g===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return a=Rt(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return Ze(g)||(s=!0),o++,e.consume(g),g===92?h:d}function h(g){return g===91||g===92||g===93?(e.consume(g),o++,d):d(g)}function m(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(a)||i.push(a),Ne(e,p,"gfmFootnoteDefinitionWhitespace")):n(g)}function p(g){return t(g)}}function OL(e,t,n){return e.check(Hi,t,e.attempt(LL,t,n))}function VL(e){e.exit("gfmFootnoteDefinition")}function GL(e,t,n){const r=this;return Ne(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function _L(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,s){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let c=u;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[u][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[u][1].end)},h={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[u][1].start)},m=[["enter",d,s],["enter",o[c][1],s],["exit",o[c][1],s],["enter",h,s]],p=s.parser.constructs.insideSpan.null;p&&Pt(m,m.length,0,ua(p,o.slice(c+1,u),s)),Pt(m,m.length,0,[["exit",h,s],["enter",o[u][1],s],["exit",o[u][1],s],["exit",d,s]]),Pt(o,c-1,u-c+3,m),u=c+m.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}function a(o,s,u){const c=this.previous,d=this.events;let h=0;return m;function m(g){return c===126&&d[d.length-1][1].type!=="characterEscape"?u(g):(o.enter("strikethroughSequenceTemporary"),p(g))}function p(g){const b=Tr(c);if(g===126)return h>1?u(g):(o.consume(g),h++,p);if(h<2&&!n)return u(g);const v=o.exit("strikethroughSequenceTemporary"),x=Tr(g);return v._open=!x||x===2&&!!b,v._close=!b||b===2&&!!x,s(g)}}}class $L{constructor(){this.map=[]}add(t,n,r){WL(this,t,n,r)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function WL(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function UL(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function XL(){return{flow:{null:{name:"table",tokenize:ZL,resolveAll:YL}}}}function ZL(e,t,n){const r=this;let i=0,a=0,o;return s;function s(F){let N=r.events.length-1;for(;N>-1;){const L=r.events[N][1].type;if(L==="lineEnding"||L==="linePrefix")N--;else break}const B=N>-1?r.events[N][1].type:null,H=B==="tableHead"||B==="tableRow"?w:u;return H===w&&r.parser.lazy[r.now().line]?n(F):H(F)}function u(F){return e.enter("tableHead"),e.enter("tableRow"),c(F)}function c(F){return F===124||(o=!0,a+=1),d(F)}function d(F){return F===null?n(F):we(F)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),p):n(F):Se(F)?Ne(e,d,"whitespace")(F):(a+=1,o&&(o=!1,i+=1),F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),o=!0,d):(e.enter("data"),h(F)))}function h(F){return F===null||F===124||Ze(F)?(e.exit("data"),d(F)):(e.consume(F),F===92?m:h)}function m(F){return F===92||F===124?(e.consume(F),h):h(F)}function p(F){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(F):(e.enter("tableDelimiterRow"),o=!1,Se(F)?Ne(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):g(F))}function g(F){return F===45||F===58?v(F):F===124?(o=!0,e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),b):E(F)}function b(F){return Se(F)?Ne(e,v,"whitespace")(F):v(F)}function v(F){return F===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),x):F===45?(a+=1,x(F)):F===null||we(F)?M(F):E(F)}function x(F){return F===45?(e.enter("tableDelimiterFiller"),y(F)):E(F)}function y(F){return F===45?(e.consume(F),y):F===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),C):(e.exit("tableDelimiterFiller"),C(F))}function C(F){return Se(F)?Ne(e,M,"whitespace")(F):M(F)}function M(F){return F===124?g(F):F===null||we(F)?!o||i!==a?E(F):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(F)):E(F)}function E(F){return n(F)}function w(F){return e.enter("tableRow"),z(F)}function z(F){return F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),z):F===null||we(F)?(e.exit("tableRow"),t(F)):Se(F)?Ne(e,z,"whitespace")(F):(e.enter("data"),I(F))}function I(F){return F===null||F===124||Ze(F)?(e.exit("data"),z(F)):(e.consume(F),F===92?k:I)}function k(F){return F===92||F===124?(e.consume(F),I):I(F)}}function YL(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,u=0,c,d,h;const m=new $L;for(;++n<e.length;){const p=e[n],g=p[1];p[0]==="enter"?g.type==="tableHead"?(s=!1,u!==0&&($5(m,t,u,c,d),d=void 0,u=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,h=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,d={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",d,t]])),i=g.type==="tableDelimiterRow"?2:d?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],h=wa(m,t,a,i,void 0,h),a=[0,0,0,0]),o[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],h=wa(m,t,a,i,void 0,h)),a=o,o=[a[1],n,0,0])):g.type==="tableHead"?(s=!0,u=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(u=n,a[1]!==0?(o[0]=o[1],h=wa(m,t,a,i,n,h)):o[1]!==0&&(h=wa(m,t,o,i,n,h)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(o[3]=n)}for(u!==0&&$5(m,t,u,c,d),m.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=UL(t.events,n))}return e}function wa(e,t,n,r,i,a){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(a.end=Object.assign({},Hr(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const u=Hr(t.events,n[1]);if(a={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const c=Hr(t.events,n[2]),d=Hr(t.events,n[3]),h={type:s,start:Object.assign({},c),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const m=t.events[n[2]],p=t.events[n[3]];if(m[1].end=Object.assign({},p[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,b=n[3]-n[2]-1;e.add(g,b,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(a.end=Object.assign({},Hr(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function $5(e,t,n,r,i){const a=[],o=Hr(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function Hr(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const JL={name:"tasklistCheck",tokenize:qL};function KL(){return{text:{91:JL}}}function qL(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),a)}function a(u){return Ze(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):n(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(u)}function s(u){return we(u)?t(u):Se(u)?e.check({tokenize:QL},t,n)(u):n(u)}}function QL(e,t,n){return Ne(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function RL(e){return C4([kL(),TL(),_L(e),XL(),KL()])}const eT={};function W5(e){const t=this,n=e||eT,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(RL(n)),a.push(wL()),o.push(yL(n))}const tT=({id:e,value:t="",onChange:n,placeholder:r="Enter markdown content...",rows:i=8,disabled:a=!1,className:o,textareaClassName:s,previewClassName:u,defaultMode:c="markdown",mode:d,label:h,required:m=!1})=>{const[p,g]=l.useState(c),[b,v]=l.useState(!1),x=e||`md-input-${Math.random().toString(36).slice(2,11)}`,y=d??p,C=d!==void 0;return f.jsxs("div",{className:Y("flex flex-col gap-2",o),children:[f.jsxs("div",{className:"flex items-center gap-3",children:[!C&&f.jsx("div",{className:"flex items-center gap-2",children:f.jsxs("div",{className:"inline-flex grow-0 p-1 rounded-lg bg-neutral-100 dark:bg-black-700 w-auto",children:[f.jsx("button",{className:Y("rounded-md p-1 flex items-center justify-center",y==="markdown"?"bg-white dark:bg-black-700 !text-neutral-900 dark:!text-neutral-100":""),onClick:()=>g("markdown"),disabled:a,children:f.jsx(se,{variant:"semibold",size:"extra-small",appearance:"subtitle",className:Y(y==="markdown"?"!text-neutral-900 dark:!text-neutral-100":""),children:"Markdown"})}),f.jsx("button",{className:Y("rounded-md p-1 flex items-center justify-center",y==="preview"?"bg-white dark:bg-black-700 !text-neutral-900 dark:!text-neutral-100":""),onClick:()=>g("preview"),disabled:a,children:f.jsx(se,{variant:"semibold",size:"extra-small",appearance:"subtitle",className:Y(y==="preview"?"!text-neutral-900 dark:!text-neutral-100":""),children:"Preview"})})]})}),h&&f.jsxs("label",{htmlFor:x,className:"text-xs font-medium text-gray-600 dark:text-gray-300",children:[h,m&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})]}),f.jsx("div",{className:"relative",children:y==="markdown"?f.jsx("textarea",{id:x,value:t,onChange:M=>n(M.target.value),placeholder:r,rows:i,disabled:a,required:m,className:Y("w-full border rounded-lg bg-white dark:bg-black-600","py-2.5 px-3 font-inter font-medium text-sm","text-gray-900 dark:text-gray-100","placeholder:text-gray-400 dark:placeholder:text-gray-500","transition-colors duration-200","focus:ring-2 focus:outline-none resize-vertical","border-gray-300 dark:border-gray-600","focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20",{"bg-gray-50 dark:bg-gray-700 text-gray-400 dark:text-gray-500 cursor-not-allowed":a},s),onClick:M=>M.stopPropagation()}):f.jsxs("div",{className:"relative",children:[f.jsx("div",{className:Y("w-full rounded-lg","py-2.5 px-3 min-h-[calc(2.5rem*var(--rows,8))] max-h-[calc(1rem*var(--rows,8))]","overflow-y-auto text-sm",u),style:{"--rows":i},children:f.jsx("div",{className:"markdown-preview text-gray-900 dark:text-gray-100 [&_h1]:text-2xl [&_h1]:font-bold [&_h1]:mb-4 [&_h1]:mt-2 [&_h2]:text-xl [&_h2]:font-bold [&_h2]:mb-3 [&_h2]:mt-2 [&_h3]:text-lg [&_h3]:font-semibold [&_h3]:mb-2 [&_h3]:mt-2 [&_p]:mb-2 [&_p]:leading-relaxed [&_ul]:list-disc [&_ul]:ml-6 [&_ul]:mb-2 [&_ol]:list-decimal [&_ol]:ml-6 [&_ol]:mb-2 [&_li]:mb-1 [&_code]:bg-gray-100 [&_code]:dark:bg-gray-800 [&_code]:px-1 [&_code]:py-0.5 [&_code]:rounded [&_code]:text-sm [&_code]:font-mono [&_pre]:bg-gray-100 [&_pre]:dark:bg-gray-800 [&_pre]:p-3 [&_pre]:rounded [&_pre]:overflow-x-auto [&_pre]:mb-2 [&_blockquote]:border-l-4 [&_blockquote]:border-gray-300 [&_blockquote]:dark:border-gray-600 [&_blockquote]:pl-4 [&_blockquote]:italic [&_blockquote]:mb-2 [&_a]:text-blue-600 [&_a]:dark:text-blue-400 [&_a]:underline [&_strong]:font-bold [&_em]:italic [&_table]:w-full [&_table]:border-collapse [&_table]:mb-2 [&_th]:border [&_th]:border-gray-300 [&_th]:dark:border-gray-600 [&_th]:px-2 [&_th]:py-1 [&_th]:bg-gray-50 [&_th]:dark:bg-gray-700 [&_th]:font-semibold [&_td]:border [&_td]:border-gray-300 [&_td]:dark:border-gray-600 [&_td]:px-2 [&_td]:py-1 [&_hr]:my-4 [&_hr]:border-gray-300 [&_hr]:dark:border-gray-600",children:f.jsx(h5,{remarkPlugins:[W5],children:t||"*No content to preview*"})})}),f.jsx("button",{onClick:()=>v(!0),className:"absolute bottom-2 right-2 p-1 rounded-md bg-neutral-100 dark:bg-black-600 hover:bg-gray-200 dark:hover:bg-black-500 transition-colors shadow-sm flex items-center justify-center",title:"Expand preview",type:"button",children:f.jsx(Ue.OpenInFull,{sx:{fontSize:"16px"},className:"text-neutral-600 dark:text-neutral-400"})})]})}),f.jsx(Gn,{open:b,onCancel:()=>v(!1),title:"Markdown Preview",width:800,footer:null,children:f.jsx("div",{className:"markdown-preview max-h-[70vh] overflow-y-auto text-gray-900 dark:text-gray-100 [&_h1]:text-2xl [&_h1]:font-bold [&_h1]:mb-4 [&_h1]:mt-2 [&_h2]:text-xl [&_h2]:font-bold [&_h2]:mb-3 [&_h2]:mt-2 [&_h3]:text-lg [&_h3]:font-semibold [&_h3]:mb-2 [&_h3]:mt-2 [&_p]:mb-2 [&_p]:leading-relaxed [&_ul]:list-disc [&_ul]:ml-6 [&_ul]:mb-2 [&_ol]:list-decimal [&_ol]:ml-6 [&_ol]:mb-2 [&_li]:mb-1 [&_code]:bg-gray-100 [&_code]:dark:bg-gray-800 [&_code]:px-1 [&_code]:py-0.5 [&_code]:rounded [&_code]:text-sm [&_code]:font-mono [&_pre]:bg-gray-100 [&_pre]:dark:bg-gray-800 [&_pre]:p-3 [&_pre]:rounded [&_pre]:overflow-x-auto [&_pre]:mb-2 [&_blockquote]:border-l-4 [&_blockquote]:border-gray-300 [&_blockquote]:dark:border-gray-600 [&_blockquote]:pl-4 [&_blockquote]:italic [&_blockquote]:mb-2 [&_a]:text-blue-600 [&_a]:dark:text-blue-400 [&_a]:underline [&_strong]:font-bold [&_em]:italic [&_table]:w-full [&_table]:border-collapse [&_table]:mb-2 [&_th]:border [&_th]:border-gray-300 [&_th]:dark:border-gray-600 [&_th]:px-2 [&_th]:py-1 [&_th]:bg-gray-50 [&_th]:dark:bg-gray-700 [&_th]:font-semibold [&_td]:border [&_td]:border-gray-300 [&_td]:dark:border-gray-600 [&_td]:px-2 [&_td]:py-1 [&_hr]:my-4 [&_hr]:border-gray-300 [&_hr]:dark:border-gray-600",children:f.jsx(h5,{remarkPlugins:[W5],children:t||"*No content to preview*"})})})]})};function nT(e){return Er({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"},child:[]},{tag:"polyline",attr:{points:"7 10 12 15 17 10"},child:[]},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"},child:[]}]})(e)}function rT(e){return Er({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"},child:[]},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"},child:[]},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"},child:[]},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"},child:[]}]})(e)}const{Dragger:iT}=Be.Upload,lT=e=>e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(2)} KB`:e<1024*1024*1024?`${(e/(1024*1024)).toFixed(2)} MB`:`${(e/(1024*1024*1024)).toFixed(2)} GB`,aT=(e,t=20)=>e?e.length<=t?e:e.slice(0,t-7)+"...."+e.slice(-7):"",U5=l.forwardRef(({id:e,onFileChange:t,description:n,errorMessage:r,disabled:i=!1,defaultFile:a=null,acceptedFiles:o="*",isLoading:s=!1,asBase64:u=!1,toFileServer:c=!1,setFileUploading:d,fileUploading:h=!1,multiple:m=!1,getRealFileName:p=!1,maxSize:g=50*1024*1024,onUpload:b,onDelete:v,wrapperClassName:x,uploadClassName:y,showFileSize:C=!0,formatFileSize:M=lT},E)=>{const[w,z]=l.useState(null),[I,k]=l.useState([]),[F,N]=l.useState("#d9d9d9"),[B,H]=l.useState(!1),[L,S]=l.useState(null),T=l.useCallback(async()=>{if(b)try{const _=await b(I),A=m?_?.map(W=>W?.fileUrl):_?.[0]?.fileUrl,$=p?w?.name:_?.[0]?.fileName;t(A,$),d?.(null)}catch(_){console.error("Upload failed:",_),d?.(null)}},[b,I,m,w,p,t,d]),G={accept:o,multiple:m,showUploadList:!1,disabled:i,onRemove:()=>{k([])},beforeUpload:(_,A)=>{if(_.size>g){const $=(g/1048576).toFixed(0);return console.error(`File size exceeds ${$}MB limit`),!1}return z(_),c?(d?.(e||"field-file-upload"),k(A)):(u?Promise.all((m?A:[_]).map($=>new Promise(W=>{const D=new FileReader;D.onload=X=>{W({filename:$.name,content:X?.target?.result?.split(",")[1]})},D.readAsDataURL($)}))).then($=>{t(m?$:$[0])}):t(_),z(_)),!1}},O=async()=>{if(c&&L&&v)try{await v(L),S(null)}catch(_){console.error("Delete failed:",_)}z(null),k([]),t(null)};return l.useEffect(()=>{N(r?"#EF4444":"#d9d9d9")},[r]),l.useEffect(()=>{I.length&&c&&T()},[I,c,T]),l.useEffect(()=>{a?.name&&z(a)},[a]),f.jsxs("div",{ref:E,className:Y("w-full",x),children:[f.jsx("div",{className:"h-32",onMouseEnter:()=>H(!0),onMouseLeave:()=>H(!1),children:f.jsx(iT,{...G,className:y,style:{borderColor:B&&!r?"#1890ff":F},disabled:i||h,children:w?f.jsxs("div",{className:"flex items-center justify-between mx-5",title:w?.name||a?.name||"",children:[f.jsxs("div",{className:"flex items-center justify-center gap-4",children:[w?.type==="application/pdf"?f.jsx("div",{className:"p-3 bg-[#E6F1FC] rounded-lg",children:f.jsx(JE,{size:20,fill:"#006CCF"})}):f.jsx("div",{className:"p-3 bg-[#E6F1FC] rounded-lg",children:f.jsx(Ue.DescriptionRounded,{sx:{height:"20px",width:"20px",color:"#006CCF"}})}),f.jsxs("div",{className:"text-left",children:[f.jsx(se,{size:"small",variant:"medium",className:"font-inter text-md font-medium text-base",children:aT(w?.name||a?.name||"")}),h?f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:"Uploading..."}):C&&w?.size>0?f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:M(w.size)}):null]})]}),s?f.jsx(vh,{size:40,className:"spinner text-primary-600"}):f.jsx("button",{id:`btn-file-upload-${e}`,className:"ml-4",onClick:_=>{_.stopPropagation(),O()},disabled:i,type:"button","aria-label":"Delete file",children:f.jsx(rT,{size:20,className:"text-gray-400"})})]}):f.jsx("div",{className:"flex items-center justify-center",children:f.jsxs("div",{className:"flex-col",children:[f.jsx("div",{className:"mb-4 flex justify-center",children:f.jsx(nT,{size:24,className:"text-gray-400"})}),f.jsxs("div",{children:[f.jsxs("div",{className:"flex items-center justify-center",children:[f.jsx(se,{size:"small",variant:"medium",className:"text-primary-600 dark:text-primary-300",appearance:"custom",children:"Click to upload"}),f.jsx(se,{size:"small",variant:"medium",className:"ml-1",appearance:"subtitle",children:"or drag and drop"})]}),n?f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:n}):null]})]})})})}),r&&f.jsx(se,{className:"text-red-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:r})]})});U5.displayName="MultiFileUpload";const{Dragger:oT}=Be.Upload,sT=200*1024*1024,uT=(e,t,n,r,i)=>{const a={small:"h-24",medium:"h-32",large:"h-40"},o={primary:"border-blue-200 hover:border-blue-400",secondary:"border-gray-200 hover:border-gray-400"};return Y("border-2 border-dashed rounded-lg transition-colors duration-200",a[e],o[t],{"border-red-400 bg-red-50":r,"cursor-not-allowed opacity-50":n,"cursor-pointer":!n})},cT=()=>f.jsx("div",{className:"p-3 bg-blue-50 rounded-lg",children:f.jsx("svg",{className:"w-5 h-5 text-blue-600",fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4zm2 6a1 1 0 011-1h6a1 1 0 110 2H7a1 1 0 01-1-1zm1 3a1 1 0 100 2h6a1 1 0 100-2H7z",clipRule:"evenodd"})})}),dT=()=>f.jsx("div",{className:"p-3 bg-blue-50 rounded-lg",children:f.jsx("svg",{className:"w-5 h-5 text-blue-600",fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z",clipRule:"evenodd"})})}),fT=()=>f.jsx("svg",{className:"w-6 h-6 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})}),hT=()=>f.jsx("svg",{className:"w-5 h-5 text-gray-400",fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})}),X5=l.forwardRef(({id:e,onFileSelect:t,onUpload:n,description:r,errorMessage:i,disabled:a=!1,defaultFile:o=null,acceptedFiles:s="*",isLoading:u=!1,asBase64:c=!1,multiple:d=!1,hideSelectedFile:h=!1,onDelete:m,maxSize:p=sT,wrapperClassName:g,uploadClassName:b,size:v="medium",variant:x="primary",uploadIcon:y,deleteIcon:C,fileTypeIcons:M,showFileSize:E=!0,showProgress:w=!1,progress:z=0},I)=>{const[k,F]=l.useState(null),[N,B]=l.useState(!1),H=(_,A)=>{if(_.size>p){const $=Math.round(p/1048576);return console.error(`File size exceeds the limit of ${$} MB`),Be.Upload.LIST_IGNORE}if(h||F(_),c){const $=new FileReader;$.onload=W=>{const D=W?.target?.result;t(D,_.name)},$.readAsDataURL(_)}else t(d?A:_,_.name);return n&&n(d?A:_),Be.Upload.LIST_IGNORE},L=()=>{F(null),t(null),m?.()},S=_=>{if(_===0)return"0 Bytes";const A=1024,$=["Bytes","KB","MB","GB"],W=Math.floor(Math.log(_)/Math.log(A));return parseFloat((_/Math.pow(A,W)).toFixed(2))+" "+$[W]},T=_=>_.length<=30?_:`${_.slice(0,23)}....${_.slice(-7)}`,G=_=>_.type==="application/pdf"?M?.pdf||f.jsx(cT,{}):M?.default||f.jsx(dT,{});l.useEffect(()=>{o&&F(o)},[o]);const O={accept:s,multiple:d,showUploadList:!1,disabled:a,beforeUpload:H};return f.jsxs("div",{ref:I,className:Y("w-full",g),children:[f.jsx("div",{className:Y(uT(v,x,a,!!i),b),onMouseEnter:()=>B(!0),onMouseLeave:()=>B(!1),role:"button",tabIndex:a?-1:0,"aria-label":"File upload area",children:f.jsx(oT,{...O,children:k&&!h?f.jsxs("div",{className:"flex items-center justify-between mx-5",title:k.name,children:[f.jsxs("div",{className:"flex items-center gap-4",children:[G(k),f.jsxs("div",{className:"text-left",children:[f.jsx(se,{size:"small",variant:"medium",className:"text-neutral-900 font-medium",children:T(k.name)}),E&&k.size>0&&f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:S(k.size)}),w&&z>0&&f.jsxs("div",{className:"mt-1",children:[f.jsx("div",{className:"w-full bg-gray-200 rounded-full h-1",children:f.jsx("div",{className:"bg-blue-600 h-1 rounded-full transition-all duration-300",style:{width:`${z}%`}})}),f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[z,"% uploaded"]})]})]})]}),u?f.jsx("div",{className:"animate-spin",children:f.jsx("svg",{className:"w-5 h-5 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})}):f.jsx("button",{className:"ml-4 p-1 hover:bg-gray-100 rounded",onClick:_=>{_.stopPropagation(),L()},disabled:a,type:"button","aria-label":"Delete file",children:C||f.jsx(hT,{})})]}):f.jsx("div",{className:"flex items-center justify-center h-full",children:f.jsxs("div",{className:"flex flex-col items-center",children:[f.jsx("div",{className:"mb-4 flex justify-center",children:y||f.jsx(fT,{})}),f.jsxs("div",{className:"text-center",children:[f.jsxs("div",{className:"flex items-center justify-center gap-1",children:[f.jsx(se,{size:"small",variant:"medium",className:"text-blue-600 dark:text-blue-300",appearance:"custom",children:"Click to upload"}),f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:"or drag and drop"})]}),r&&f.jsx(se,{size:"small",variant:"medium",className:"text-neutral-400 mt-1",children:r})]})]})})})}),i&&f.jsx(se,{className:"text-red-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:i})]})});X5.displayName="FileUpload";const mT=[...Object.keys(qi).filter(e=>e?.endsWith("Rounded"))||[],...(_m||[]).map(e=>`flag-${e}`)],pT=e=>{if(e?.startsWith("flag-")){const t=e?.replace("flag-","");return ss(t||"")||t}return e.replaceAll(/([A-Z])/g," $1").trim()},gT=({onChange:e,selectedIcon:t,setOpen:n})=>{const[r,i]=l.useState(""),a=(mT||[]).filter(s=>{if(s?.startsWith("flag-")){const u=s?.replace("flag-","");return u?.toLowerCase()?.includes(r?.trim()?.toLowerCase()||"")||ss(u||"")?.toLowerCase()?.includes(r?.trim()?.toLowerCase()||"")}return s?.trim()?.toLowerCase()?.includes(r?.trim()?.toLowerCase()||"")}),o=(s,u)=>{if(u.stopPropagation(),t===s){e?.(null);return}e?.(s),n?.(!1)};return f.jsxs("div",{className:"flex flex-col gap-3",children:[f.jsx(La,{id:"input-field-icon-picker",placeholder:"Search icons...",onChange:s=>i(s||""),fieldSuffix:f.jsx(qi.Search,{sx:{width:16,height:16,color:"rgb(152 162 179)"}})}),f.jsx(Pp.FixedSizeGrid,{columnCount:5,rowCount:Math.ceil((a?.length||0)/5),columnWidth:40,rowHeight:40,width:220,height:240,children:({columnIndex:s,rowIndex:u,style:c})=>{const d=u*5+s,h=a?.[d];return h?f.jsx("div",{style:{...c,padding:"4px"},children:f.jsx(Be.Tooltip,{title:pT(h),children:f.jsx(Op.IconButton,{className:Y("flex items-center justify-center !rounded-md hover:bg-neutral-200 dark:hover:bg-black-700",{"!bg-primary-50 dark:!bg-black-800":t===h}),onClick:m=>o(h,m),children:f.jsx(nu,{iconName:h,sx:{width:20,height:20},className:"text-neutral-900 dark:text-white"})})})}):null}})]})},nu=({iconName:e,sx:t,className:n,isHovering:r})=>{if(e?.startsWith?.("flag-")){const a=e?.replace("flag-","");return Ml?.(a||"",r||!1)||f.jsx("div",{children:"-"})}const i=qi?.[e];return i?f.jsx(i,{sx:t,className:n,isHovering:r}):f.jsx("div",{children:"-"})},vT=({selectedIcon:e,onChange:t,label:n,required:r=!1,allowClear:i=!0,disabled:a=!1,errorMessage:o})=>{const[s,u]=l.useState(!1),c=d=>{d.stopPropagation(),t?.("")};return f.jsx(Be.Popover,{arrow:!1,placement:"bottom",trigger:"click",getPopupContainer:d=>d?.parentElement||document.body,open:s,onOpenChange:u,content:f.jsx(gT,{onChange:t,selectedIcon:e,setOpen:u}),children:f.jsxs("div",{className:"flex flex-col gap-1",children:[n?f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"body",children:[n,r&&f.jsx("span",{className:"text-red-500",children:"*"})]}):null,f.jsxs("button",{id:`btn-icon-picker-icon-${e?"selected":"unselected"}`,className:`min-w-[83px] py-1.5 px-3 rounded-md border ${a?"cursor-not-allowed opacity-60 bg-neutral-50 dark:bg-black-800":"bg-white dark:bg-black-800"} ${o?"border-red-500":"focus:border-primary-200 "} flex items-center justify-between gap-2`,disabled:a,onClick:d=>{a&&(d.preventDefault(),d.stopPropagation())},children:[e?f.jsx(nu,{iconName:e,sx:{width:20,height:20},className:"text-neutral-900 dark:text-white"}):f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:"Select Icon"}),e&&i&&!a?f.jsx(qi.CloseRounded,{sx:{width:20,height:20},className:"hover:bg-neutral-100 dark:hover:bg-black-800 rounded-full transition-colors cursor-pointer text-neutral-400 dark:text-neutral-500",onClick:c}):null]}),o&&f.jsx(se,{size:"extra-small",className:"text-red-500 font-medium",children:o})]})})},bT=l.lazy(()=>Promise.resolve({default:e=>f.jsx(l.Suspense,{fallback:f.jsx("div",{className:"min-w-[83px] h-[30px] animate-pulse bg-neutral-100 dark:bg-black-800 rounded-md"}),children:f.jsx(vT,{...e})})})),Z5=l.forwardRef(({status:e,children:t,className:n,size:r="medium","aria-label":i},a)=>{const o=()=>{switch(r){case"small":return"text-xs px-1.5 py-0.5";case"large":return"text-base px-3 py-1.5";default:return"text-sm px-2 py-1"}},s=()=>{switch(e?.toLowerCase()){case"purple":return"bg-purple-50 text-purple-500 border border-purple-100 dark:bg-purple-950 dark:text-purple-400 dark:border-purple-800";case"blue":return"bg-blue-50 text-blue-500 border border-blue-100 dark:bg-blue-950 dark:text-blue-400 dark:border-blue-800";case"teal":return"bg-teal-50 text-teal-500 border border-teal-100 dark:bg-teal-950 dark:text-teal-400 dark:border-teal-800";case"green":return"bg-green-50 text-green-500 border border-green-100 dark:bg-green-950 dark:text-green-400 dark:border-green-800";case"yellow":return"bg-yellow-50 text-yellow-600 border border-yellow-100 dark:bg-yellow-950 dark:text-yellow-400 dark:border-yellow-800";case"orange":return"bg-orange-50 text-orange-500 border border-orange-100 dark:bg-orange-950 dark:text-orange-400 dark:border-orange-800";case"peach":return"bg-orange-50 text-orange-400 border border-orange-100 dark:bg-orange-950 dark:text-orange-300 dark:border-orange-800";case"red":return"bg-red-50 text-red-500 border border-red-100 dark:bg-red-950 dark:text-red-400 dark:border-red-800";case"navy":return"bg-slate-50 text-slate-700 border border-slate-100 dark:bg-slate-950 dark:text-slate-400 dark:border-slate-800";case"grey":return"bg-neutral-50 text-neutral-500 border border-neutral-100 dark:bg-neutral-950 dark:text-neutral-400 dark:border-neutral-800";default:return"bg-blue-50 text-blue-600 border border-blue-200 dark:bg-blue-950 dark:text-blue-400 dark:border-blue-800"}};return f.jsx("span",{ref:a,className:Y("inline-flex items-center justify-center font-medium rounded-md transition-colors",o(),s(),n),"aria-label":i||`Status: ${e||"default"}`,role:"status",children:t})});Z5.displayName="StatusColorMapping";const Y5=l.forwardRef(({status:e="default",children:t,appearance:n="outline",size:r="md",className:i,isRounded:a=!1,capitalize:o=!0,"aria-label":s},u)=>{const c=g=>!g||!o?g:g.replace(/\w\S*/g,b=>b.charAt(0).toUpperCase()+b.substr(1).toLowerCase()),d=()=>{switch(r){case"sm":return"text-xs px-1.5 py-0.5";case"lg":return"text-sm px-3 py-1.5";default:return"text-xs px-2 py-1"}},h=()=>{switch(e){case"primary":case"default":return"bg-blue-50 dark:bg-blue-950 text-blue-600 dark:text-blue-300 border border-blue-300 dark:border-blue-700";case"warning":return"bg-yellow-50 dark:bg-yellow-950 text-yellow-600 dark:text-yellow-300 border border-yellow-300 dark:border-yellow-700";case"error":return"bg-red-50 dark:bg-red-950 text-red-600 dark:text-red-300 border border-red-300 dark:border-red-700";case"neutral":return"bg-neutral-50 dark:bg-neutral-950 text-neutral-600 dark:text-neutral-300 border border-neutral-300 dark:border-neutral-700";case"success":return"bg-green-50 dark:bg-green-950 text-green-600 dark:text-green-300 border border-green-300 dark:border-green-700";case"info":return"bg-blue-50 dark:bg-blue-950 text-blue-600 dark:text-blue-300 border border-blue-300 dark:border-blue-700";default:return"bg-blue-50 dark:bg-blue-950 text-blue-600 dark:text-blue-300 border border-blue-300 dark:border-blue-700"}},m=()=>{switch(e){case"primary":case"default":return"bg-blue-600 dark:bg-blue-700 text-white";case"warning":return"bg-yellow-600 dark:bg-yellow-700 text-white";case"success":return"bg-green-600 dark:bg-green-700 text-white";case"error":return"bg-red-600 dark:bg-red-700 text-white";case"neutral":return"bg-neutral-600 dark:bg-neutral-700 text-white";case"info":return"bg-blue-600 dark:bg-blue-700 text-white";default:return"bg-blue-600 dark:bg-blue-700 text-white"}},p=()=>n==="filled"?m():h();return f.jsx("span",{ref:u,className:Y("inline-flex items-center justify-center font-medium transition-colors",a?"rounded-full":"rounded",d(),p(),i),"aria-label":s||`Badge: ${e}`,role:"status",children:c(t)})});Y5.displayName="Badge";const ya=({title:e,children:t})=>e?f.jsx(f.Fragment,{children:t}):null;ya.displayName="HelmetTitle";const J5=({children:e,className:t="",title:n,style:r,id:i})=>f.jsxs(f.Fragment,{children:[f.jsx(ya,{title:n}),f.jsx("div",{className:`bg-white dark:bg-black-800 border border-neutral-200 dark:border-black-600 rounded-lg shadow-100 w-full flex flex-col ${t}`,style:r,id:i,children:e})]});J5.displayName="Card";const ru=e=>e===1||e==="1"||typeof e=="string"&&e.toLowerCase()==="yes"||typeof e=="string"&&e.toLowerCase()==="true"?"Yes":e===0||e==="0"||typeof e=="string"&&e.toLowerCase()==="no"||typeof e=="string"&&e.toLowerCase()==="false"?"No":e?.toString()||"-",iu=(e,t="USD")=>{try{if(e==null)return"";const n=Number(e);if(isNaN(n))return e?.toString()||"";const r=n.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2});return`${{USD:"$",EUR:"€",GBP:"£",JPY:"¥",CAD:"C$",AUD:"A$",CHF:"CHF",CNY:"¥",SEK:"kr",NOK:"kr",DKK:"kr",PLN:"zł",CZK:"Kč",HUF:"Ft",RUB:"₽",BRL:"R$",INR:"₹",KRW:"₩",SGD:"S$",HKD:"HK$",NZD:"NZ$",MXN:"$",ZAR:"R",TRY:"₺",ILS:"₪",AED:"د.إ",SAR:"﷼",QAR:"﷼",KWD:"د.ك",BHD:"د.ب",OMR:"﷼",JOD:"د.ا",LBP:"ل.ل",EGP:"£",MAD:"د.م.",TND:"د.ت",DZD:"د.ج",LYD:"ل.د",SDG:"ج.س.",ETB:"Br",KES:"KSh",UGX:"USh",TZS:"TSh",ZMW:"ZK",BWP:"P",ZWL:"Z$",AOA:"Kz",MZN:"MT",GHS:"₵",NGN:"₦",XAF:"FCFA",XOF:"CFA",CDF:"FC",RWF:"RF",BIF:"FBu",KMF:"CF",DJF:"Fdj",SOS:"S",ERN:"Nfk"}[t]||"$"}${r}`}catch{return"-"}},$i=(e,t={})=>{const{format:n,relative:r=!1,withTime:i=!0,fallback:a="-",skipTimezone:o=!1,onlyTime:s=!1}=t||{};if(!e)return a;try{const u=new Date(e);if(isNaN(u.getTime()))return a;if(r){const p=Math.floor((new Date().getTime()-u.getTime())/1e3);return p<60?"just now":p<3600?`${Math.floor(p/60)} minutes ago`:p<86400?`${Math.floor(p/3600)} hours ago`:p<2592e3?`${Math.floor(p/86400)} days ago`:p<31536e3?`${Math.floor(p/2592e3)} months ago`:`${Math.floor(p/31536e3)} years ago`}const c="MM/dd/yyyy",d="hh:mm a",h=i&&!s;return u.toLocaleDateString("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:i?"2-digit":void 0,minute:i?"2-digit":void 0,hour12:!0})}catch{return a}},K5=e=>typeof e=="string"&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(e),q5=l.forwardRef(({label:e,value:t,className:n,type:r="string",tags:i,tooltip:a,items:o,isModified:s=!1,isChanged:u=!1,size:c="medium",isHighlighted:d=!1,deletedValue:h,highlightColor:m="warning",isSearchActive:p=!1,originalValue:g=!1,showDiff:b=!1,theme:v="light",onUpload:x,acceptsUpload:y=!1,MasterDataModal:C,riskDetails:M,isRiskAnalysisOpen:E=!1,RiskDetailsCard:w,"aria-label":z},I)=>{const[k,F]=l.useState(!0),[N,B]=l.useState(!1),[H,L]=l.useState(null),[S,T]=l.useState(!1),G=()=>{F(!k)},O=X=>{B(!0),L({...X,value:t})},_=()=>{B(!1),L(null)},A=X=>{const K=X.target.files?.[0];K&&x&&x(K),X.target.value=""},$=()=>{const X=typeof t=="string"&&K5(t);if(p&&typeof t=="object")return t;if(t||r==="boolean"&&t===0||r==="currency"&&Number(t)>=0){if((t===!0||t==="True")&&!g)return"Yes";if((t===!1||t==="False")&&!g)return"No";if(r==="url")return f.jsx("a",{href:t,className:"text-primary-600 truncate",children:t});if(r==="boolean")return ru(t);if(r==="currency")return iu(t,o?.currency_code)||"-";if(r==="datetime"){const K=typeof t=="string"&&t.includes("Z")?t.replace(/\.000Z$/,"Z"):t;return $i(K,{skipTimezone:!1,withTime:!0})}else if(r==="date"||X){const K=typeof t=="string"&&t.includes("Z")?t.replace(/\.000Z$/,"Z"):t;return $i(K,{skipTimezone:!0,withTime:!1})}else return r==="percentage"?`${t}%`:typeof t=="string"&&t.length>100?f.jsxs("p",{children:[t.slice(0,k?100:t.length),k?"... ":" ",f.jsx("button",{id:`btn-label-value-${k?"Show more":"Show less"}`,className:"text-primary-400 text-sm hover:text-primary-500 cursor-pointer whitespace-nowrap",onClick:G,onKeyDown:K=>{(K.key==="Enter"||K.key===" ")&&(K.preventDefault(),G())},"aria-label":k?"Show more content":"Show less content",type:"button",children:k?"Show more":"Show less"})]}):t}return"-"},W=()=>{switch(c){case"small":return"extra-small";case"large":return"large";default:return"small"}},D=()=>{switch(m){case"success":return"bg-success-100";case"warning":return"bg-warning-100";case"error":return"bg-error-100";case"info":return"bg-info-100";default:return"bg-warning-100"}};return f.jsxs("div",{ref:I,className:Y("font-medium relative",n),onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),"aria-label":z||`Label: ${e}, Value: ${t}`,children:[f.jsxs(se,{variant:"medium",size:W(),className:"flex gap-1 flex-wrap",appearance:"subtitle",children:[e," ",f.jsx(St,{labels:i?.map(X=>({...X,color:X.color||"primary"}))}),i&&i.length>0&&f.jsx(f.Fragment,{children:i.map(X=>f.jsx(fr,{label:X.label,color:X.color,size:"xs",theme:v},`${X.label}-${X.value||X.color}`))}),a&&f.jsx(Be.Tooltip,{placement:"top",title:a,children:f.jsx("div",{className:"cursor-pointer",role:"button",tabIndex:0,onKeyDown:X=>{(X.key==="Enter"||X.key===" ")&&X.preventDefault()},children:f.jsx(Vt,{size:14})})})]}),f.jsxs(se,{variant:"medium",size:W(),className:Y("text-- whitespace-normal break-all flex gap-1 pt-0.5",s&&"bg-neutral-50 dark:bg-black-700 p-1 rounded",E&&M?.color&&`bg-${M.color}-50 border-${M.color}-300 px-0.5 rounded-lg`),appearance:"body",children:[b&&h&&t?f.jsxs("div",{className:"flex gap-2",children:[f.jsx("span",{className:"line-through",children:h}),f.jsx("span",{children:$()})]}):u||d?f.jsx("mark",{className:Y("rounded-md py-0.5 px-1",D()),children:$()}):$(),o?.is_master_data&&o?.reference&&t&&f.jsx("button",{onClick:()=>O(o),onKeyDown:X=>{(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),O(o))},"aria-label":`Search master data for ${e}`,type:"button",className:"cursor-pointer",children:f.jsx(r0,{width:20,height:20})}),y&&f.jsx("input",{type:"file",onChange:A,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer","aria-label":`Upload file for ${e}`})]}),h&&!b&&f.jsx(se,{variant:"medium",size:"extra-small",className:"pt-0.5",appearance:"body",children:f.jsx("mark",{className:"rounded-md py-0.5 px-1 bg-error-100",children:f.jsx("del",{children:h||r==="boolean"&&h==="0"?h==="True"?"Yes":h==="False"?"No":r==="boolean"?ru(h):r==="currency"?iu(h,o?.currency_code):r==="date"?$i(h,{skipTimezone:!0,withTime:!1}):r==="datetime"?$i(h,{skipTimezone:!0,withTime:!0}):r==="percentage"?`${h}%`:h.length>100?f.jsxs("p",{children:[h.slice(0,k?100:h.length),k?"... ":" ",f.jsx("button",{id:`btn-label-value-${k?"Show more":"Show less"}`,className:"text-primary-400 text-sm hover:text-primary-500 cursor-pointer whitespace-nowrap",onClick:G,children:k?"Show more":"Show less"})]}):h:"-"})})}),C&&f.jsx(C,{isVisible:N,onClose:_,masterdataInfo:H}),S&&M&&E&&f.jsx("div",{className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:X=>X.stopPropagation(),onMouseDown:X=>X.preventDefault(),onKeyDown:X=>{X.key==="Escape"&&T(!1)},role:"tooltip","aria-label":"Risk analysis details",tabIndex:0,children:w?f.jsx(w,{riskDetails:M}):f.jsx("div",{className:"shadow-lg p-4",children:f.jsxs("div",{className:"text-sm",children:[f.jsx("h4",{className:"font-semibold mb-2",children:"Risk Details"}),f.jsx("p",{className:"text-neutral-600 dark:text-neutral-300",children:M.description||"Risk analysis information"})]})})})]})});q5.displayName="LabelValue";const lu=l.forwardRef(({status:e,children:t,additionalChildren:n,ExpandedComponent:r,expandable:i=!1,icon:a,className:o,onClick:s,"aria-label":u},c)=>{const[d,h]=l.useState(!1),m=()=>{switch(e){case"success":return"bg-green-50 dark:bg-green-950 text-green-700 dark:text-green-300 border-l-4 border-green-400 dark:border-green-600";case"error":return"bg-red-50 dark:bg-red-950 text-red-700 dark:text-red-300 border-l-4 border-red-400 dark:border-red-600";case"warning":return"bg-yellow-50 dark:bg-yellow-950 text-yellow-700 dark:text-yellow-300 border-l-4 border-yellow-400 dark:border-yellow-600";case"info":return"bg-blue-50 dark:bg-blue-950 text-blue-700 dark:text-blue-300 border-l-4 border-blue-400 dark:border-blue-600";case"archived":return"bg-neutral-50 dark:bg-neutral-950 text-neutral-700 dark:text-neutral-300 border-l-4 border-neutral-400 dark:border-neutral-600";case"canceled":return"bg-gray-50 dark:bg-gray-950 text-gray-700 dark:text-gray-300 border-l-4 border-gray-400 dark:border-gray-600";case"queued":return"bg-blue-50 dark:bg-blue-950 text-blue-700 dark:text-blue-300 border-l-4 border-blue-400 dark:border-blue-600";case"paused":return"bg-orange-50 dark:bg-orange-950 text-orange-700 dark:text-orange-300 border-l-4 border-orange-400 dark:border-orange-600";case"awaiting_action":return"bg-orange-50 dark:bg-orange-950 text-orange-700 dark:text-orange-300 border-l-4 border-orange-400 dark:border-orange-600";case"skipped":return"bg-gray-50 dark:bg-gray-950 text-gray-700 dark:text-gray-300 border-l-4 border-gray-400 dark:border-gray-600";case"pending":return"bg-purple-50 dark:bg-purple-950 text-purple-700 dark:text-purple-300 border-l-4 border-purple-400 dark:border-purple-600";default:return"bg-blue-50 dark:bg-blue-950 text-blue-700 dark:text-blue-300 border-l-4 border-blue-400 dark:border-blue-600"}},p=()=>{if(a)return a;const v="w-5 h-5 flex-shrink-0";switch(e){case"success":return f.jsx("svg",{className:Y(v,"text-green-600 dark:text-green-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.236 4.53L7.53 10.06a.75.75 0 00-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})});case"error":return f.jsx("svg",{className:Y(v,"text-red-600 dark:text-red-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"})});case"warning":return f.jsx("svg",{className:Y(v,"text-yellow-600 dark:text-yellow-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})});case"info":case"queued":case"pending":return f.jsx("svg",{className:Y(v,"text-blue-600 dark:text-blue-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})});case"paused":return f.jsx("svg",{className:Y(v,"text-orange-600 dark:text-orange-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{d:"M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z"})});case"archived":case"canceled":case"skipped":return f.jsx("svg",{className:Y(v,"text-gray-600 dark:text-gray-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"})});case"awaiting_action":return f.jsx("svg",{className:Y(v,"text-orange-600 dark:text-orange-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm.75-13a.75.75 0 00-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 000-1.5h-3.25V5z",clipRule:"evenodd"})});default:return f.jsx("svg",{className:Y(v,"text-blue-600 dark:text-blue-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})})}},g=()=>{(i||e==="error")&&(h(!d),s?.())},b=i||e==="error";return f.jsxs("div",{ref:c,className:Y("w-full",o),children:[f.jsxs("div",{className:Y("flex items-center justify-between p-4 rounded-lg font-medium text-sm transition-all duration-200",m(),b&&["cursor-pointer select-none","hover:shadow-md","active:scale-[0.99]"]),onClick:g,role:b?"button":void 0,tabIndex:b?0:void 0,onKeyDown:v=>{b&&(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),g())},"aria-label":u||`Banner: ${e}`,"aria-expanded":b?d:void 0,children:[f.jsxs("div",{className:"flex items-center gap-3 flex-1",children:[p(),f.jsx("span",{className:"flex-1",children:t})]}),f.jsxs("div",{className:"flex items-center gap-2",children:[n&&f.jsx("div",{className:"flex items-center",children:n}),b&&f.jsx("div",{className:"flex items-center",children:f.jsx("svg",{className:Y("w-5 h-5 transition-transform duration-200",d?"rotate-180":"rotate-0"),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]})]}),f.jsx(We.AnimatePresence,{children:d&&r&&f.jsx(We.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2},className:"overflow-hidden",children:f.jsx("div",{className:"pt-2",children:f.jsx(r,{children:t})})})})]})});lu.displayName="Banner";var at=function(){return at=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},at.apply(this,arguments)},Q5={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},R5={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},Ea={width:"20px",height:"20px",position:"absolute",zIndex:1},xT={top:at(at({},Q5),{top:"-5px"}),right:at(at({},R5),{left:void 0,right:"-5px"}),bottom:at(at({},Q5),{top:void 0,bottom:"-5px"}),left:at(at({},R5),{left:"-5px"}),topRight:at(at({},Ea),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:at(at({},Ea),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:at(at({},Ea),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:at(at({},Ea),{left:"-10px",top:"-10px",cursor:"nw-resize"})},wT=l.memo(function(e){var t=e.onResizeStart,n=e.direction,r=e.children,i=e.replaceStyles,a=e.className,o=l.useCallback(function(c){t(c,n)},[t,n]),s=l.useCallback(function(c){t(c,n)},[t,n]),u=l.useMemo(function(){return at(at({position:"absolute",userSelect:"none"},xT[n]),i??{})},[i,n]);return f.jsx("div",{className:a||void 0,style:u,onMouseDown:o,onTouchStart:s,children:r})}),yT=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),mn=function(){return mn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},mn.apply(this,arguments)},ET={width:"auto",height:"auto"},Ca=function(e,t,n){return Math.max(Math.min(e,n),t)},ep=function(e,t,n){var r=Math.round(e/t);return r*t+n*(r-1)},jr=function(e,t){return new RegExp(e,"i").test(t)},ka=function(e){return!!(e.touches&&e.touches.length)},CT=function(e){return!!((e.clientX||e.clientX===0)&&(e.clientY||e.clientY===0))},tp=function(e,t,n){n===void 0&&(n=0);var r=t.reduce(function(a,o,s){return Math.abs(o-e)<Math.abs(t[a]-e)?s:a},0),i=Math.abs(t[r]-e);return n===0||i<n?t[r]:e},au=function(e){return e=e.toString(),e==="auto"||e.endsWith("px")||e.endsWith("%")||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("vmax")||e.endsWith("vmin")?e:"".concat(e,"px")},Ia=function(e,t,n,r){if(e&&typeof e=="string"){if(e.endsWith("px"))return Number(e.replace("px",""));if(e.endsWith("%")){var i=Number(e.replace("%",""))/100;return t*i}if(e.endsWith("vw")){var i=Number(e.replace("vw",""))/100;return n*i}if(e.endsWith("vh")){var i=Number(e.replace("vh",""))/100;return r*i}}return e},kT=function(e,t,n,r,i,a,o){return r=Ia(r,e.width,t,n),i=Ia(i,e.height,t,n),a=Ia(a,e.width,t,n),o=Ia(o,e.height,t,n),{maxWidth:typeof r>"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof a>"u"?void 0:Number(a),minHeight:typeof o>"u"?void 0:Number(o)}},IT=function(e){return Array.isArray(e)?e:[e,e]},zT=["as","ref","style","className","grid","gridGap","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],np="__resizable_base__",FT=function(e){yT(t,e);function t(n){var r,i,a,o,s=e.call(this,n)||this;return s.ratio=1,s.resizable=null,s.parentLeft=0,s.parentTop=0,s.resizableLeft=0,s.resizableRight=0,s.resizableTop=0,s.resizableBottom=0,s.targetLeft=0,s.targetTop=0,s.delta={width:0,height:0},s.appendBase=function(){if(!s.resizable||!s.window)return null;var u=s.parentNode;if(!u)return null;var c=s.window.document.createElement("div");return c.style.width="100%",c.style.height="100%",c.style.position="absolute",c.style.transform="scale(0, 0)",c.style.left="0",c.style.flex="0 0 100%",c.classList?c.classList.add(np):c.className+=np,u.appendChild(c),c},s.removeBase=function(u){var c=s.parentNode;c&&c.removeChild(u)},s.state={isResizing:!1,width:(i=(r=s.propsSize)===null||r===void 0?void 0:r.width)!==null&&i!==void 0?i:"auto",height:(o=(a=s.propsSize)===null||a===void 0?void 0:a.height)!==null&&o!==void 0?o:"auto",direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},s.onResizeStart=s.onResizeStart.bind(s),s.onMouseMove=s.onMouseMove.bind(s),s.onMouseUp=s.onMouseUp.bind(s),s}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||ET},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,a=this.resizable.offsetHeight,o=this.resizable.style.position;o!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:a,this.resizable.style.position=o}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){var u;if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&(!((u=n.propsSize[s])===null||u===void 0)&&u.toString().endsWith("%"))){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var c=n.getParentSize(),d=Number(n.state[s].toString().replace("px","")),h=d/c[s]*100;return"".concat(h,"%")}return au(n.state[s])},a=r&&typeof r.width<"u"&&!this.state.isResizing?au(r.width):i("width"),o=r&&typeof r.height<"u"&&!this.state.isResizing?au(r.height):i("height");return{width:a,height:o}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var a={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),a},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,a=this.state.direction,o=i&&jr("left",a),s=i&&jr("top",a),u,c;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(u=o?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),c=s?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(u=o?this.resizableRight:this.window.innerWidth-this.resizableLeft,c=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(u=o?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),c=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return u&&Number.isFinite(u)&&(n=n&&n<u?n:u),c&&Number.isFinite(c)&&(r=r&&r<c?r:c),{maxWidth:n,maxHeight:r}},t.prototype.calculateNewSizeFromDirection=function(n,r){var i=this.props.scale||1,a=IT(this.props.resizeRatio||1),o=a[0],s=a[1],u=this.state,c=u.direction,d=u.original,h=this.props,m=h.lockAspectRatio,p=h.lockAspectRatioExtraHeight,g=h.lockAspectRatioExtraWidth,b=d.width,v=d.height,x=p||0,y=g||0;return jr("right",c)&&(b=d.width+(n-d.x)*o/i,m&&(v=(b-y)/this.ratio+x)),jr("left",c)&&(b=d.width-(n-d.x)*o/i,m&&(v=(b-y)/this.ratio+x)),jr("bottom",c)&&(v=d.height+(r-d.y)*s/i,m&&(b=(v-x)*this.ratio+y)),jr("top",c)&&(v=d.height-(r-d.y)*s/i,m&&(b=(v-x)*this.ratio+y)),{newWidth:b,newHeight:v}},t.prototype.calculateNewSizeFromAspectRatio=function(n,r,i,a){var o=this.props,s=o.lockAspectRatio,u=o.lockAspectRatioExtraHeight,c=o.lockAspectRatioExtraWidth,d=typeof a.width>"u"?10:a.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof a.height>"u"?10:a.height,p=typeof i.height>"u"||i.height<0?r:i.height,g=u||0,b=c||0;if(s){var v=(m-g)*this.ratio+b,x=(p-g)*this.ratio+b,y=(d-b)/this.ratio+g,C=(h-b)/this.ratio+g,M=Math.max(d,v),E=Math.min(h,x),w=Math.max(m,y),z=Math.min(p,C);n=Ca(n,M,E),r=Ca(r,w,z)}else n=Ca(n,d,h),r=Ca(r,m,p);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){var n=1/(this.props.scale||1);if(this.props.bounds==="parent"){var r=this.parentNode;if(r){var i=r.getBoundingClientRect();this.parentLeft=i.left*n,this.parentTop=i.top*n}}if(this.props.bounds&&typeof this.props.bounds!="string"){var a=this.props.bounds.getBoundingClientRect();this.targetLeft=a.left*n,this.targetTop=a.top*n}if(this.resizable){var o=this.resizable.getBoundingClientRect(),s=o.left,u=o.top,c=o.right,d=o.bottom;this.resizableLeft=s*n,this.resizableRight=c*n,this.resizableTop=u*n,this.resizableBottom=d*n}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,a=0;if(n.nativeEvent&&CT(n.nativeEvent)?(i=n.nativeEvent.clientX,a=n.nativeEvent.clientY):n.nativeEvent&&ka(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,a=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var o=this.props.onResizeStart(n,r,this.resizable);if(o===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,u=this.window.getComputedStyle(this.resizable);if(u.flexBasis!=="auto"){var c=this.parentNode;if(c){var d=this.window.getComputedStyle(c).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",s=u.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:a,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:mn(mn({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&ka(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,a=i.maxWidth,o=i.maxHeight,s=i.minWidth,u=i.minHeight,c=ka(n)?n.touches[0].clientX:n.clientX,d=ka(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,p=h.original,g=h.width,b=h.height,v=this.getParentSize(),x=kT(v,this.window.innerWidth,this.window.innerHeight,a,o,s,u);a=x.maxWidth,o=x.maxHeight,s=x.minWidth,u=x.minHeight;var y=this.calculateNewSizeFromDirection(c,d),C=y.newHeight,M=y.newWidth,E=this.calculateNewMaxFromBoundary(a,o);this.props.snap&&this.props.snap.x&&(M=tp(M,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(C=tp(C,this.props.snap.y,this.props.snapGap));var w=this.calculateNewSizeFromAspectRatio(M,C,{width:E.maxWidth,height:E.maxHeight},{width:s,height:u});if(M=w.newWidth,C=w.newHeight,this.props.grid){var z=ep(M,this.props.grid[0],this.props.gridGap?this.props.gridGap[0]:0),I=ep(C,this.props.grid[1],this.props.gridGap?this.props.gridGap[1]:0),k=this.props.snapGap||0,F=k===0||Math.abs(z-M)<=k?z:M,N=k===0||Math.abs(I-C)<=k?I:C;M=F,C=N}var B={width:M-p.width,height:C-p.height};if(this.delta=B,g&&typeof g=="string"){if(g.endsWith("%")){var H=M/v.width*100;M="".concat(H,"%")}else if(g.endsWith("vw")){var L=M/this.window.innerWidth*100;M="".concat(L,"vw")}else if(g.endsWith("vh")){var S=M/this.window.innerHeight*100;M="".concat(S,"vh")}}if(b&&typeof b=="string"){if(b.endsWith("%")){var H=C/v.height*100;C="".concat(H,"%")}else if(b.endsWith("vw")){var L=C/this.window.innerWidth*100;C="".concat(L,"vw")}else if(b.endsWith("vh")){var S=C/this.window.innerHeight*100;C="".concat(S,"vh")}}var T={width:this.createSizeForCssProperty(M,"width"),height:this.createSizeForCssProperty(C,"height")};this.flexDir==="row"?T.flexBasis=T.width:this.flexDir==="column"&&(T.flexBasis=T.height);var G=this.state.width!==T.width,O=this.state.height!==T.height,_=this.state.flexBasis!==T.flexBasis,A=G||O||_;A&&dr.flushSync(function(){r.setState(T)}),this.props.onResize&&A&&this.props.onResize(n,m,this.resizable,B)}},t.prototype.onMouseUp=function(n){var r,i,a=this.state,o=a.isResizing,s=a.direction;a.original,!(!o||!this.resizable)&&(this.props.onResizeStop&&this.props.onResizeStop(n,s,this.resizable,this.delta),this.props.size&&this.setState({width:(r=this.props.size.width)!==null&&r!==void 0?r:"auto",height:(i=this.props.size.height)!==null&&i!==void 0?i:"auto"}),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:mn(mn({},this.state.backgroundStyle),{cursor:"auto"})}))},t.prototype.updateSize=function(n){var r,i;this.setState({width:(r=n.width)!==null&&r!==void 0?r:"auto",height:(i=n.height)!==null&&i!==void 0?i:"auto"})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,a=r.handleStyles,o=r.handleClasses,s=r.handleWrapperStyle,u=r.handleWrapperClass,c=r.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(h){return i[h]!==!1?f.jsx(wT,{direction:h,onResizeStart:n.onResizeStart,replaceStyles:a&&a[h],className:o&&o[h],children:c&&c[h]?c[h]:null},h):null});return f.jsx("div",{className:u,style:s,children:d})},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(o,s){return zT.indexOf(s)!==-1||(o[s]=n.props[s]),o},{}),i=mn(mn(mn({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var a=this.props.as||"div";return f.jsxs(a,mn({style:i,className:this.props.className},r,{ref:function(o){o&&(n.resizable=o)},children:[this.state.isResizing&&f.jsx("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer()]}))},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],gridGap:[0,0],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(l.PureComponent);const MT=()=>f.jsx("div",{className:"cursor-ew-resize flex items-center justify-center rounded-full bg-[#1018288F] bg-opacity-55 w-8 h-8 shadow-200 border-[1.5px] border-[#FFFFFF3D]",children:f.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("mask",{id:"mask0_36675_12",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20",children:f.jsx("rect",{y:"20",width:"20",height:"20",transform:"rotate(-90 0 20)",fill:"#D9D9D9"})}),f.jsx("g",{mask:"url(#mask0_36675_12)",children:f.jsx("path",{d:"M15.9583 10L12.7292 6.77084C12.5625 6.60418 12.4792 6.40973 12.4792 6.18751C12.4792 5.96529 12.5625 5.77084 12.7292 5.60418C12.8958 5.43751 13.0938 5.35418 13.3229 5.35418C13.5521 5.35418 13.75 5.43751 13.9167 5.60418L17.1458 8.81251C17.4653 9.13195 17.625 9.52779 17.625 10C17.625 10.4722 17.4653 10.8681 17.1458 11.1875L13.9167 14.4167C13.75 14.5833 13.5521 14.6632 13.3229 14.6563C13.0938 14.6493 12.8958 14.5625 12.7292 14.3958C12.5625 14.2292 12.4792 14.0313 12.4792 13.8021C12.4792 13.5729 12.5625 13.375 12.7292 13.2083L15.9583 10ZM4.04167 10L7.25 13.2083C7.41667 13.375 7.49653 13.5695 7.48958 13.7917C7.48264 14.0139 7.40278 14.2083 7.25 14.375C7.08333 14.5417 6.88542 14.6285 6.65625 14.6354C6.42708 14.6424 6.22917 14.5625 6.0625 14.3958L2.85417 11.1875C2.53472 10.8681 2.375 10.4722 2.375 10C2.375 9.52779 2.53472 9.13195 2.85417 8.81251L6.0625 5.60418C6.22917 5.43751 6.42708 5.35765 6.65625 5.36459C6.88542 5.37154 7.08333 5.45834 7.25 5.62501C7.40278 5.79168 7.48264 5.98612 7.48958 6.20834C7.49653 6.43057 7.41667 6.62501 7.25 6.79168L4.04167 10Z",fill:"white"})})]})}),ST=(e,t)=>{const n=document.getElementById(e);n?t(n):requestAnimationFrame(()=>{const r=document.getElementById(e);r&&t(r)})},AT=(e,t)=>{if(e.current){if(t)localStorage.setItem("resizable-sidebar-width-before-fullscreen",String(e.current.size?.width));else{const n=localStorage.getItem("resizable-sidebar-width-before-fullscreen");if(n){e.current.updateSize({width:n,height:"100%"});return}}e.current.updateSize({width:t?"100vw":"",height:"100%"})}},NT=(e,t,n,r,i,a)=>{const[o,s]=l.useState(!1),[u,c]=l.useState(null);return l.useEffect(()=>{if(!e||typeof window>"u"){c(null);return}ST(e,c)},[e]),l.useEffect(()=>{AT(i,n)},[n]),l.useEffect(()=>{if(e&&t){const d=requestAnimationFrame(()=>{s(!0)});return()=>{cancelAnimationFrame(d),s(!1)}}e||s(!0),t||s(!1)},[t,e]),l.useEffect(()=>{i.current?.size?.width&&r&&r(i.current.size.width)},[i.current?.size?.width,r]),{shouldRenderSidebar:o,portalTarget:u}},DT=({isOpen:e,header:t,id:n,ref:r,className:i,containerClassName:a,widthStyle:o,heightStyle:s,motionVariants:u,resizableRef:c,fullScreen:d,maxResizableWidth:h,minWidth:m,handleKey:p,onDragEnd:g,onResize:b,children:v})=>f.jsx(We.AnimatePresence,{children:e&&f.jsx(We.motion.div,{ref:r,id:n,initial:u.initial,animate:u.animate,exit:u.exit,transition:{type:"tween",duration:.3},className:Y("flex-shrink-0 z-50 relative bg-white border-neutral-200 dark:bg-black-800 dark:border-black-700",d?"fixed w-full transition translate-x-4 duration-300":"sticky",i),style:{width:o,height:s},children:f.jsx(FT,{onResize:x=>{x.stopPropagation();const y=c.current?.size?.width;b&&b(y||m)},onResizeStart:x=>{x.stopPropagation()},ref:c,maxWidth:d?h:h*.75,minWidth:m,minHeight:s,maxHeight:s,enable:d?{}:{[p]:!0},handleClasses:{[p]:Y("relative w-6 -left-1 flex items-center justify-center bg-transparent transition-colors cursor-ew-resize group z-[9999] hover:bg-neutral-200 dark:hover:bg-neutral-700")},handleComponent:{[p]:f.jsx("div",{className:Y("absolute -left-2.5 top-1/2 -translate-y-1/2 flex items-center justify-center w-8 h-12 cursor-ew-resize opacity-0 group-hover:opacity-100 hover:opacity-100 active:opacity-100 transition-opacity z-[9999]",p==="left"&&"-right-2.5 -left-auto"),children:f.jsx(MT,{})})},className:"!h-full",onResizeStop:g||void 0,children:f.jsxs("div",{className:Y("h-full w-full flex flex-col overflow-hidden @container/sidebar border-b border-neutral-200 dark:border-black-700 bg-white dark:bg-black-800 dark:border",a),children:[t?f.jsx("div",{className:"py-4 px-6",children:t||null}):null,f.jsx("div",{className:"flex-1 overflow-y-auto overflow-x-hidden",children:v})]})})})}),rp=l.forwardRef(({isOpen:e,children:t,fullScreen:n=!1,defaultSize:r=void 0,minWidth:i=400,onDragEnd:a=null,onResize:o,className:s,placement:u="right",parentContainer:c,header:d,id:h,containerClassName:m,ignoreParentContainerHeight:p=!1,height:g,isMainSidebarExpanded:b=!1,mainSidebarExpandedWidth:v=280,mainSidebarCollapsedWidth:x=80,navbarHeight:y=64},C)=>{const M=b?v:x,E=l.useRef(null),{shouldRenderSidebar:w,portalTarget:z}=NT(c,e,n,o,E),I=typeof window<"u"?window.innerWidth-M:0,k=r,F=u==="right",N=g||(c&&!p?"100%":`calc(100vh - ${y}px)`),B={initial:{x:F?"100%":"-100%"},animate:{x:0},exit:{x:F?"100%":"-100%"}},H=F?"left":"right",L=f.jsx(DT,{isOpen:e,header:d,id:h,ref:C,className:s,containerClassName:m,widthStyle:k,heightStyle:N,motionVariants:B,resizableRef:E,fullScreen:n,maxResizableWidth:I,minWidth:i,handleKey:H,onDragEnd:a,onResize:o,children:t});return c?!w||!z?null:dr.createPortal(L,z):w?L:null});rp.displayName="ResizableSidebar";const ip=l.forwardRef(({pdfUrl:e,width:t="100%",height:n="100vh",className:r,iframeClassName:i,title:a="PDF Viewer",showLoading:o=!0,loadingComponent:s,errorComponent:u,onError:c,onLoad:d,allowFullScreen:h=!0,"aria-label":m},p)=>{const[g,b]=l.useState(!0),[v,x]=l.useState(!1),y=()=>{b(!1),x(!1),d?.()},C=()=>{b(!1),x(!0),c?.()},M=f.jsx("div",{className:"flex items-center justify-center h-full bg-neutral-50 dark:bg-neutral-900",children:f.jsxs("div",{className:"text-center",children:[f.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600 mx-auto mb-4"}),f.jsx("p",{className:"text-neutral-600 dark:text-neutral-400 text-sm",children:"Loading PDF..."})]})}),E=f.jsx("div",{className:"flex items-center justify-center h-full bg-neutral-50 dark:bg-neutral-900",children:f.jsxs("div",{className:"text-center p-6",children:[f.jsx("svg",{className:"mx-auto h-12 w-12 text-red-400 mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.998-.833-2.768 0L3.046 16.5c-.77.833.192 2.5 1.732 2.5z"})}),f.jsx("h3",{className:"text-lg font-medium text-neutral-900 dark:text-neutral-100 mb-2",children:"Failed to load PDF"}),f.jsx("p",{className:"text-neutral-600 dark:text-neutral-400 text-sm mb-4",children:"The PDF document could not be displayed. Please check the URL or try again later."}),f.jsx("button",{onClick:()=>{x(!1),b(!0);const z=document.querySelector(`iframe[src="${e}"]`);z&&(z.src=z.src)},className:"bg-blue-600 text-white px-4 py-2 rounded-md text-sm hover:bg-blue-700 transition-colors",children:"Retry"})]})});return!e||!(z=>{try{return new URL(z,window.location.href).pathname.toLowerCase().endsWith(".pdf")||z.includes("pdf")}catch{return!1}})(e)?f.jsx("div",{ref:p,className:Y("relative overflow-hidden",r),style:{width:t,height:n},children:u||E}):f.jsxs("div",{ref:p,className:Y("relative overflow-hidden",r),style:{width:t,height:n},"aria-label":m||`PDF Viewer: ${a}`,children:[g&&o&&f.jsx("div",{className:"absolute inset-0 z-10",children:s||M}),v&&f.jsx("div",{className:"absolute inset-0 z-10",children:u||E}),!v&&f.jsx("iframe",{src:e,title:a,className:Y("w-full h-full border-none",g&&"opacity-0",i),onLoad:y,onError:C,allowFullScreen:h,loading:"lazy",sandbox:"allow-same-origin allow-scripts allow-forms","aria-label":m||`PDF document: ${a}`}),f.jsx("div",{className:"sr-only",children:"PDF document viewer. Use your browser's PDF controls to navigate, zoom, or download the document."})]})});ip.displayName="PdfViewer";const lp=l.forwardRef(({children:e,component:t,placement:n="bottom",isOpen:r,toggleMenu:i,parentContainer:a,noSpacing:o=!1,triggerClassName:s,containerClassName:u,className:c,showArrow:d=!1,offset:h=8,disableOutsideClick:m=!1,"aria-label":p,disabled:g=!1},b)=>{const v=l.useRef(null),x=l.useRef(null);Bo({ref:x,handler:()=>{!m&&r&&i?.()},enabled:r&&!m}),l.useEffect(()=>{if(!r||!v.current||!x.current)return;const w=v.current,z=x.current,I=w.getBoundingClientRect(),k=z.getBoundingClientRect(),F={width:window.innerWidth,height:window.innerHeight};let N=0,B=0;switch(n){case"top":N=I.top-k.height-h,B=I.left+(I.width-k.width)/2;break;case"top-start":N=I.top-k.height-h,B=I.left;break;case"top-end":N=I.top-k.height-h,B=I.right-k.width;break;case"bottom":N=I.bottom+h,B=I.left+(I.width-k.width)/2;break;case"bottom-start":N=I.bottom+h,B=I.left;break;case"bottom-end":N=I.bottom+h,B=I.right-k.width;break;case"left":N=I.top+(I.height-k.height)/2,B=I.left-k.width-h;break;case"left-start":N=I.top,B=I.left-k.width-h;break;case"left-end":N=I.bottom-k.height,B=I.left-k.width-h;break;case"right":N=I.top+(I.height-k.height)/2,B=I.right+h;break;case"right-start":N=I.top,B=I.right+h;break;case"right-end":N=I.bottom-k.height,B=I.right+h;break}B<0&&(B=8),B+k.width>F.width&&(B=F.width-k.width-8),N<0&&(N=8),N+k.height>F.height&&(N=F.height-k.height-8),z.style.top=`${N}px`,z.style.left=`${B}px`},[r,n,h]);const y=w=>{g||i?.(w)},C=w=>{w.key==="Escape"&&r&&i?.()},M=()=>{const w="absolute w-2 h-2 bg-white dark:bg-neutral-800 transform rotate-45 border";switch(n){case"top":case"top-start":case"top-end":return Y(w,"bottom-[-4px] border-t-0 border-l-0");case"bottom":case"bottom-start":case"bottom-end":return Y(w,"top-[-4px] border-b-0 border-r-0");case"left":case"left-start":case"left-end":return Y(w,"right-[-4px] border-l-0 border-b-0");case"right":case"right-start":case"right-end":return Y(w,"left-[-4px] border-r-0 border-t-0");default:return Y(w,"top-[-4px] border-b-0 border-r-0")}},E=()=>{switch(n){case"top":case"bottom":return{left:"50%",transform:"translateX(-50%)"};case"top-start":case"bottom-start":return{left:"12px"};case"top-end":case"bottom-end":return{right:"12px"};case"left":case"right":return{top:"50%",transform:"translateY(-50%)"};case"left-start":case"right-start":return{top:"12px"};case"left-end":case"right-end":return{bottom:"12px"};default:return{left:"50%",transform:"translateX(-50%)"}}};return f.jsxs("div",{ref:b,className:Y("relative inline-block",c),children:[f.jsx("button",{ref:v,onClick:y,onKeyDown:C,className:Y("flex items-center justify-center outline-none focus:outline-none transition-colors",!o&&"p-2",g&&"opacity-50 cursor-not-allowed",s),"aria-label":p,"aria-expanded":r,"aria-haspopup":"true",disabled:g,type:"button",children:e}),r&&dr.createPortal(f.jsx(We.AnimatePresence,{children:f.jsxs(We.motion.div,{ref:x,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},className:Y("fixed z-[9999] bg-white dark:bg-neutral-800 rounded-lg shadow-lg border border-neutral-200 dark:border-neutral-700","focus:outline-none",u),style:{minWidth:"120px"},role:"menu","aria-orientation":"vertical",tabIndex:-1,children:[d&&f.jsx("div",{className:M(),style:E()}),f.jsx("div",{className:"relative",children:t})]})}),document.getElementById(a)||document.body)]})});lp.displayName="Popper";const LT=({size:e=24,fill:t="#12B76A"})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:t,xmlns:"http://www.w3.org/2000/svg",children:f.jsx("g",{mask:"url(#mask0_4874_46615)",children:f.jsx("path",{d:"M10.6 13.8L8.425 11.625C8.24167 11.4417 8.01267 11.3543 7.738 11.363C7.46267 11.371 7.23333 11.4667 7.05 11.65C6.86667 11.8333 6.775 12.0667 6.775 12.35C6.775 12.6333 6.86667 12.8667 7.05 13.05L9.9 15.9C10.0833 16.0833 10.3167 16.175 10.6 16.175C10.8833 16.175 11.1167 16.0833 11.3 15.9L16.975 10.225C17.1583 10.0417 17.246 9.81233 17.238 9.537C17.2293 9.26233 17.1333 9.03333 16.95 8.85C16.7667 8.66667 16.5333 8.575 16.25 8.575C15.9667 8.575 15.7333 8.66667 15.55 8.85L10.6 13.8ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6873 5.825 19.975 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26267 14.6833 2 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31267 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.31233 8.1 2.787C9.31667 2.26233 10.6167 2 12 2C13.3833 2 14.6833 2.26233 15.9 2.787C17.1167 3.31233 18.175 4.025 19.075 4.925C19.975 5.825 20.6873 6.88333 21.212 8.1C21.7373 9.31667 22 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6873 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6873 15.9 21.212C14.6833 21.7373 13.3833 22 12 22ZM12 20C14.2167 20 16.1043 19.221 17.663 17.663C19.221 16.1043 20 14.2167 20 12C20 9.78333 19.221 7.89567 17.663 6.337C16.1043 4.779 14.2167 4 12 4C9.78333 4 7.896 4.779 6.338 6.337C4.77933 7.89567 4 9.78333 4 12C4 14.2167 4.77933 16.1043 6.338 17.663C7.896 19.221 9.78333 20 12 20Z",fill:t})})}),TT=({size:e=24,fill:t="#F04438"})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("g",{id:"error",children:f.jsx("g",{mask:"url(#mask0_4874_46622)",children:f.jsx("path",{id:"error_2",d:"M12 17C12.2833 17 12.5208 16.9042 12.7125 16.7125C12.9042 16.5208 13 16.2833 13 16C13 15.7167 12.9042 15.4792 12.7125 15.2875C12.5208 15.0958 12.2833 15 12 15C11.7167 15 11.4792 15.0958 11.2875 15.2875C11.0958 15.4792 11 15.7167 11 16C11 16.2833 11.0958 16.5208 11.2875 16.7125C11.4792 16.9042 11.7167 17 12 17ZM12 13C12.2833 13 12.5208 12.9042 12.7125 12.7125C12.9042 12.5208 13 12.2833 13 12V8C13 7.71667 12.9042 7.47917 12.7125 7.2875C12.5208 7.09583 12.2833 7 12 7C11.7167 7 11.4792 7.09583 11.2875 7.2875C11.0958 7.47917 11 7.71667 11 8V12C11 12.2833 11.0958 12.5208 11.2875 12.7125C11.4792 12.9042 11.7167 13 12 13ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:t})})})}),BT=({size:e=24,fill:t="#F79009"})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99ZM2.74 18C1.97 19.33 2.93 21 4.47 21H19.53C21.07 21 22.03 19.33 21.26 18L13.73 4.99C12.96 3.66 11.04 3.66 10.27 4.99L2.74 18ZM11 11V13C11 13.55 11.45 14 12 14C12.55 14 13 13.55 13 13V11C13 10.45 12.55 10 12 10C11.45 10 11 10.45 11 11ZM11 16H13V18H11V16Z",fill:t})}),HT=({size:e=24,fill:t="#016DCF"})=>f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[f.jsx("mask",{id:"mask0_32271_5688",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:f.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),f.jsx("g",{mask:"url(#mask0_32271_5688)",children:f.jsx("path",{d:"M12 17C12.2833 17 12.5208 16.9042 12.7125 16.7125C12.9042 16.5208 13 16.2833 13 16V12C13 11.7167 12.9042 11.4792 12.7125 11.2875C12.5208 11.0958 12.2833 11 12 11C11.7167 11 11.4792 11.0958 11.2875 11.2875C11.0958 11.4792 11 11.7167 11 12V16C11 16.2833 11.0958 16.5208 11.2875 16.7125C11.4792 16.9042 11.7167 17 12 17ZM12 9C12.2833 9 12.5208 8.90417 12.7125 8.7125C12.9042 8.52083 13 8.28333 13 8C13 7.71667 12.9042 7.47917 12.7125 7.2875C12.5208 7.09583 12.2833 7 12 7C11.7167 7 11.4792 7.09583 11.2875 7.2875C11.0958 7.47917 11 7.71667 11 8C11 8.28333 11.0958 8.52083 11.2875 8.7125C11.4792 8.90417 11.7167 9 12 9ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:t})})]}),jT=({size:e=24,fill:t="#016DCF"})=>f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[f.jsx("mask",{id:"mask0_35096_2621",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:f.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),f.jsx("g",{mask:"url(#mask0_35096_2621)",children:f.jsx("path",{d:"M8 20H16V17C16 15.9 15.6083 14.9583 14.825 14.175C14.0417 13.3917 13.1 13 12 13C10.9 13 9.95833 13.3917 9.175 14.175C8.39167 14.9583 8 15.9 8 17V20ZM12 11C13.1 11 14.0417 10.6083 14.825 9.825C15.6083 9.04167 16 8.1 16 7V4H8V7C8 8.1 8.39167 9.04167 9.175 9.825C9.95833 10.6083 10.9 11 12 11ZM5 22C4.71667 22 4.47917 21.9042 4.2875 21.7125C4.09583 21.5208 4 21.2833 4 21C4 20.7167 4.09583 20.4792 4.2875 20.2875C4.47917 20.0958 4.71667 20 5 20H6V17C6 15.9833 6.2375 15.0292 6.7125 14.1375C7.1875 13.2458 7.85 12.5333 8.7 12C7.85 11.4667 7.1875 10.7542 6.7125 9.8625C6.2375 8.97083 6 8.01667 6 7V4H5C4.71667 4 4.47917 3.90417 4.2875 3.7125C4.09583 3.52083 4 3.28333 4 3C4 2.71667 4.09583 2.47917 4.2875 2.2875C4.47917 2.09583 4.71667 2 5 2H19C19.2833 2 19.5208 2.09583 19.7125 2.2875C19.9042 2.47917 20 2.71667 20 3C20 3.28333 19.9042 3.52083 19.7125 3.7125C19.5208 3.90417 19.2833 4 19 4H18V7C18 8.01667 17.7625 8.97083 17.2875 9.8625C16.8125 10.7542 16.15 11.4667 15.3 12C16.15 12.5333 16.8125 13.2458 17.2875 14.1375C17.7625 15.0292 18 15.9833 18 17V20H19C19.2833 20 19.5208 20.0958 19.7125 20.2875C19.9042 20.4792 20 20.7167 20 21C20 21.2833 19.9042 21.5208 19.7125 21.7125C19.5208 21.9042 19.2833 22 19 22H5Z",fill:t})})]}),PT=({size:e=16})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M18.3 5.71a.996.996 0 00-1.41 0L12 10.59 7.11 5.7A.996.996 0 105.7 7.11L10.59 12 5.7 16.89a.996.996 0 101.41 1.41L12 13.41l4.89 4.89a.996.996 0 101.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"})}),OT=e=>{switch(e){case"success":return f.jsx("div",{className:"w-8 h-8 bg-green-50 dark:bg-green-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(LT,{size:24,fill:"#12B76A"})});case"error":return f.jsx("div",{className:"w-8 h-8 bg-red-50 dark:bg-red-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(TT,{fill:"#F04438",size:24})});case"warning":return f.jsx("div",{className:"w-8 h-8 bg-yellow-50 dark:bg-yellow-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(BT,{fill:"#F79009",size:24})});case"info":return f.jsx("div",{className:"w-8 h-8 bg-blue-50 dark:bg-blue-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(HT,{})});case"in-progress":return f.jsx("div",{className:"w-8 h-8 bg-blue-50 dark:bg-blue-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(jT,{})});default:return null}},VT={success:"border-b-[5px] !border-green-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600",error:"border-b-[5px] !border-red-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600",warning:"border-b-[5px] !border-yellow-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600",info:"border-b-[5px] !border-blue-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600","in-progress":"border-b-[5px] !border-blue-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600"},GT=({closeToast:e})=>f.jsx("button",{onClick:e,className:"text-neutral-900 dark:text-white hover:text-neutral-600 dark:hover:text-neutral-300 transition-colors",children:f.jsx(PT,{size:16})}),_T=({position:e="bottom-right",autoClose:t=3e3,hideProgressBar:n=!0,newestOnTop:r=!0,closeOnClick:i=!0,pauseOnFocusLoss:a=!1,draggable:o=!0,pauseOnHover:s=!0,rtl:u=!1,className:c,style:d={zIndex:1e5},...h})=>f.jsx(AC,{position:e,transition:MC,autoClose:t,hideProgressBar:n,newestOnTop:r,closeOnClick:i,rtl:u,pauseOnFocusLoss:a,draggable:o,pauseOnHover:s,icon:({type:m})=>OT(m),bodyStyle:{gap:"4px"},style:d,toastClassName:m=>{const{type:p="",defaultClassName:g=""}=m||{};return`w-[100%] sm:w-[400px] bg-white dark:bg-neutral-800 rounded-[4px] font-medium text-sm text-neutral-900 dark:text-white shadow-lg p-[20px] min-h-0 ${g} ${VT[p]} ${c||""}`},closeButton:GT,...h}),$T={success:(e,t)=>Fe.success(e,t),error:(e,t)=>Fe.error(e,t),warning:(e,t)=>Fe.warning(e,t),info:(e,t)=>Fe.info(e,t),inProgress:(e,t)=>Fe(e,{...t,type:"in-progress"}),dismiss:e=>Fe.dismiss(e),isActive:e=>Fe.isActive(e)},WT=({visible:e,onClose:t,content:n,title:r,onConfirm:i,isLoading:a,variant:o,cancelText:s="Cancel",confirmText:u})=>{const c=l.useMemo(()=>f.jsxs("div",{className:"flex justify-end gap-3",children:[f.jsx(Kt,{id:"btn-confirmation-modal-cancel",onClick:t,disabled:a,status:"secondary-neutral",children:s}),f.jsx(Kt,{id:`btn-confirmation-modal-${o==="destructive"?"Delete":"Confirm"}`,onClick:i,isLoading:a,status:o==="destructive"?"error":"primary",children:u||(o==="destructive"?"Delete":"Confirm")})]}),[t,i,a,o,s,u]);return e?f.jsx(Gn,{title:r,open:e,footer:c,onCancel:t,zIndex:9999,children:f.jsx("div",{className:"my-5",children:f.jsx("div",{className:"text-neutral-400 font-inter text-base",children:n})})}):null},UT=()=>{const[e,t]=l.useState("light"),[n,r]=l.useState("vs"),i=l.useCallback(a=>{r(a),t(a==="vs-dark"?"dark":"light")},[]);return{theme:e,editorTheme:n,setEditorTheme:i}},ap=({className:e,size:t=26})=>f.jsx("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 17 26",fill:"none",children:f.jsx("path",{d:"M16.391 21.56C16.3099 22.4852 15.9426 23.0065 15.5742 23.2995C15.0359 23.7274 14.279 23.7081 13.7516 23.2665C12.576 22.2823 11.8296 19.7923 11.6614 19.1309C11.6576 19.1158 11.6545 19.102 11.6514 19.0888C11.647 19.0705 11.6425 19.0529 11.6382 19.0346C11.6338 19.017 11.6301 18.9993 11.6257 18.9817C11.6226 18.9698 11.6201 18.9572 11.6175 18.9453L11.6169 18.9447C10.7862 15.4591 10.038 11.9535 9.19849 8.47039C8.80328 6.83134 7.88558 3.7089 7.535 2.52765C7.34951 1.90269 7.02007 1.32691 6.55686 0.867931C6.23628 0.55043 5.82141 0.254489 5.30765 0.106076C5.30573 0.104747 5.30322 0.104156 5.30071 0.104156L5.30012 0.103565C5.26819 0.0952957 5.23567 0.0873212 5.20271 0.0799375C3.917 -0.21305 2.58872 0.317547 1.79962 1.37342C1.35976 1.9622 1.14516 2.5529 1.0646 2.81532C1.01864 2.97274 0.977994 3.13208 0.942374 3.29349C0.777429 4.04043 0.716831 4.8271 0.689192 5.62558H1.20295C1.20295 5.62558 1.54702 4.31422 1.81779 3.75025C2.64577 2.02452 4.79153 1.83077 5.9296 3.36113C6.21929 3.74937 6.48695 4.18545 6.63564 4.64177C7.04948 5.9097 7.41159 7.19595 7.7536 8.48471C7.81789 8.72705 7.76557 9.04854 7.65664 9.28319C5.4089 14.2092 2.24523 21.0746 0 26H3.44507C3.44507 26 7.11126 17.6438 8.91871 13.5201C9.56238 16.1789 10.0637 18.8224 10.7408 21.4673C10.9505 22.2999 11.2137 23.1342 11.5476 23.9309C11.5476 23.9309 11.5482 23.9334 11.5501 23.9379C11.5507 23.9398 11.5521 23.9429 11.5532 23.946C11.5753 24.007 11.666 24.2462 11.8253 24.5507C12.19 25.2486 12.9155 26 13.9995 26C16.5943 26 16.9508 21.5599 16.9508 21.5599H16.391V21.56Z",fill:"#016DCF"})}),op=({className:e,fill:t="currentColor",size:n=140})=>f.jsx("svg",{className:e,width:n,height:n,viewBox:"0 0 128 128",xmlns:"http://www.w3.org/2000/svg",fill:t,children:f.jsx("path",{d:"M82.2673 90.5993C81.9118 90.5993 81.5784 90.5438 81.2673 90.4327C80.9562 90.3216 80.6673 90.1327 80.4007 89.866L66.8007 76.266C66.534 75.9994 66.3451 75.7105 66.234 75.3994C66.1229 75.0882 66.0673 74.7549 66.0673 74.3994C66.0673 74.0438 66.1229 73.7105 66.234 73.3994C66.3451 73.0882 66.534 72.7994 66.8007 72.5327L72.4673 66.866C72.734 66.5993 73.0229 66.4105 73.334 66.2994C73.6451 66.1882 73.9784 66.1327 74.334 66.1327C74.6895 66.1327 75.0229 66.1882 75.334 66.2994C75.6451 66.4105 75.934 66.5993 76.2007 66.866L89.8007 80.466C90.0673 80.7327 90.2562 81.0216 90.3673 81.3327C90.4784 81.6438 90.534 81.9771 90.534 82.3327C90.534 82.6882 90.4784 83.0216 90.3673 83.3327C90.2562 83.6438 90.0673 83.9327 89.8007 84.1994L84.134 89.866C83.8673 90.1327 83.5784 90.3216 83.2673 90.4327C82.9562 90.5438 82.6229 90.5993 82.2673 90.5993ZM82.2673 84.266L84.2007 82.3327L74.4007 72.5327L72.4673 74.466L82.2673 84.266ZM45.6673 90.666C45.3118 90.666 44.9673 90.5994 44.634 90.466C44.3007 90.3327 44.0007 90.1327 43.734 89.866L38.134 84.266C37.8673 83.9994 37.6673 83.6994 37.534 83.366C37.4007 83.0327 37.334 82.6882 37.334 82.3327C37.334 81.9771 37.4007 81.6438 37.534 81.3327C37.6673 81.0216 37.8673 80.7327 38.134 80.466L52.2673 66.3327H57.934L60.2007 64.066L49.2007 53.066H45.4007L37.334 44.9993L44.8673 37.466L52.934 45.5327V49.3327L63.934 60.3327L71.6673 52.5993L68.8007 49.7327L72.534 45.9993H65.0007L63.134 44.1327L72.6007 34.666L74.4673 36.5327V44.066L78.2007 40.3327L87.6673 49.7993C88.4229 50.5549 89.0007 51.4105 89.4007 52.366C89.8007 53.3216 90.0007 54.3327 90.0007 55.3993C90.0007 56.466 89.8007 57.4882 89.4007 58.466C89.0007 59.4438 88.4229 60.3105 87.6673 61.066L82.0007 55.3993L78.2673 59.1327L75.4673 56.3327L61.6673 70.1327V75.7327L47.534 89.866C47.2673 90.1327 46.9784 90.3327 46.6673 90.466C46.3562 90.5994 46.0229 90.666 45.6673 90.666ZM45.6673 84.266L57.0007 72.9327V70.9994H55.0673L43.734 82.3327L45.6673 84.266ZM45.6673 84.266L43.734 82.3327L44.734 83.266L45.6673 84.266Z"})}),XT=({className:e="",fill:t="currentColor",size:n=20})=>f.jsx("svg",{className:e,width:n,height:n,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("g",{mask:"url(#mask0_6752_28309)",children:f.jsx("path",{d:"M8.33317 11.3333L13.2498 6.41667C13.4026 6.26389 13.5971 6.1875 13.8332 6.1875C14.0693 6.1875 14.2637 6.26389 14.4165 6.41667C14.5693 6.56944 14.6457 6.76389 14.6457 7C14.6457 7.23611 14.5693 7.43056 14.4165 7.58333L8.9165 13.0833C8.74984 13.25 8.55539 13.3333 8.33317 13.3333C8.11095 13.3333 7.9165 13.25 7.74984 13.0833L5.58317 10.9167C5.43039 10.7639 5.354 10.5694 5.354 10.3333C5.354 10.0972 5.43039 9.90278 5.58317 9.75C5.73595 9.59722 5.93039 9.52083 6.1665 9.52083C6.40262 9.52083 6.59706 9.59722 6.74984 9.75L8.33317 11.3333Z",fill:t})})}),ZT=({title:e,visible:t,onClose:n,content:r})=>f.jsxs(Gn,{title:null,open:t,footer:null,onCancel:n,zIndex:9999,showCloseButton:!1,width:400,children:[f.jsxs("div",{children:[f.jsx("div",{className:"flex justify-center",children:f.jsx("div",{className:"flex w-[48px] h-[48px] justify-center items-center gap-2 rounded-lg border border-[#54A4EC] shadow-[0_0_4px_2px_rgba(198,225,249,0.20)_inset]",children:f.jsx(ap,{})})}),f.jsx(se,{size:"medium",variant:"semibold",className:"text-center mt-3",children:e}),f.jsx(se,{size:"small",variant:"medium",className:"text-center text-neutral-500 mt-2 dark:text-neutral-400",appearance:"custom",children:r})]}),f.jsx("div",{className:"flex justify-center mt-4",children:f.jsx(Kt,{id:"btn-access-denied-modal-close",appearance:"outline",status:"secondary-neutral",onClick:n,children:"Close"})})]}),YT=({containerClass:e})=>f.jsx("div",{className:Y("flex justify-center items-center h-table",e),children:f.jsxs("div",{className:"flex flex-col items-center text-neutral-800 -mt-12",children:[f.jsx("div",{className:"-mb-4",children:f.jsx(op,{})}),f.jsxs("div",{className:"text-center",children:[f.jsx("h1",{className:"text-3xl font-bold font-inter",children:"Feature Coming Soon"}),f.jsx("div",{className:"py-2"}),f.jsx("p",{className:"font-inter text-sm",children:"We're in the process of crafting this page"})]})]})}),JT=({visible:e,onClose:t,onSaveAndExit:n,onDiscardChanges:r,onCancel:i,isLoading:a=!1,title:o="You have unsaved changes",content:s="Switching to view mode will discard any unsaved edits. What would you like to do?",cancelText:u="Cancel",discardText:c="Discard Changes",saveText:d="Save & Exit"})=>{const h=l.useMemo(()=>f.jsxs("div",{className:"flex justify-end gap-3",children:[f.jsx(Kt,{id:"btn-unsaved-changes-modal-cancel",onClick:i,disabled:a,status:"secondary-neutral",children:u}),f.jsx(Kt,{id:"btn-unsaved-changes-modal-discard",onClick:r,disabled:a,status:"error",children:c}),f.jsx(Kt,{id:"btn-unsaved-changes-modal-save-exit",onClick:n,isLoading:a,status:"primary",children:d})]}),[i,r,n,a,u,c,d]);return e?f.jsx(Gn,{title:o,open:e,footer:h,onCancel:t,zIndex:9999,children:f.jsx("div",{className:"my-5",children:f.jsx("div",{className:"text-neutral-400 font-inter text-base",children:s})})}):null},KT=({visible:e,onClose:t,content:n="",title:r="Error",okText:i="OK"})=>{const a=()=>{t()},o=f.jsx("div",{className:"flex justify-end",children:f.jsx(Kt,{id:"btn-error-modal-submit-ok",status:"primary",onClick:a,type:"submit",children:i})});return f.jsx(Gn,{asForm:!0,title:r,open:e,onCancel:a,footer:o,children:f.jsx("div",{className:"text-neutral-400 text-base font-inter",children:n})})},qT=({visible:e,onClose:t,onSuccessClose:n,sectionName:r,suffix:i,onAgreementDelete:a,from:o,text:s,additionalText:u,title:c,deleteConfirm:d,onDeleteConfirm:h,onConfirmDelete:m,isLoading:p=!1,isMod:g=!1,isBooleanButton:b=!1,cancelText:v="Cancel",deleteText:x="Delete",yesText:y="Yes",noText:C="No",removeText:M="Remove"})=>{const E=async I=>{if(I.preventDefault(),o==="integration"){m?.();return}if(o==="config"){a?.();return}if(o==="field"){d?.();return}if(o==="fieldConfig"){h?.();return}if(o==="masterdata"){h?.();return}if(o==="attachment"){h?.();return}if(o==="agreement"){h?.();return}if(o==="analytics"){h?.();return}if(o==="clause"){h?.();return}if(o==="role"){h?.();return}Fe.success(Xt.deleteSuccess("Section"),{toastId:Xt.deleteSuccess("Section")}),n?.()},w=()=>{p||t()},z=f.jsxs("div",{className:"flex justify-end gap-2 sm:mt-0 mt-20",children:[f.jsx(Kt,{id:`btn-delete-modal-${b?"no":"cancel"}`,appearance:"outline",status:"secondary-neutral",onClick:w,className:"mt-10",disabled:p,children:b?C:v}),f.jsx(Kt,{id:`btn-delete-modal-${b?"yes":g?"remove":"delete"}`,status:"error",onClick:E,className:"mt-10",disabled:p,isLoading:p,type:"submit",children:b?y:g?M:x})]},"");return f.jsx(Gn,{asForm:!0,title:c,open:e,onCancel:w,footer:z,children:f.jsxs("div",{className:"mt-5 mb-8",children:[f.jsxs(se,{variant:"regular",size:"medium",appearance:"body",className:"font-inter",children:[s,r&&f.jsxs("span",{className:"font-bold text-neutral-900 dark:text-neutral-100",children:[" ",r]}),i&&f.jsxs("span",{children:[" ",i]}),"?"]}),u&&f.jsx(se,{variant:"regular",size:"medium",className:"text-neutral-700 font-inter mt-5",children:u})]})})};class za{diff(t,n,r={}){let i;typeof r=="function"?(i=r,r={}):"callback"in r&&(i=r.callback);const a=this.castInput(t,r),o=this.castInput(n,r),s=this.removeEmpty(this.tokenize(a,r)),u=this.removeEmpty(this.tokenize(o,r));return this.diffWithOptionsObj(s,u,r,i)}diffWithOptionsObj(t,n,r,i){var a;const o=y=>{if(y=this.postProcess(y,r),i){setTimeout(function(){i(y)},0);return}else return y},s=n.length,u=t.length;let c=1,d=s+u;r.maxEditLength!=null&&(d=Math.min(d,r.maxEditLength));const h=(a=r.timeout)!==null&&a!==void 0?a:1/0,m=Date.now()+h,p=[{oldPos:-1,lastComponent:void 0}];let g=this.extractCommon(p[0],n,t,0,r);if(p[0].oldPos+1>=u&&g+1>=s)return o(this.buildValues(p[0].lastComponent,n,t));let b=-1/0,v=1/0;const x=()=>{for(let y=Math.max(b,-c);y<=Math.min(v,c);y+=2){let C;const M=p[y-1],E=p[y+1];M&&(p[y-1]=void 0);let w=!1;if(E){const I=E.oldPos-y;w=E&&0<=I&&I<s}const z=M&&M.oldPos+1<u;if(!w&&!z){p[y]=void 0;continue}if(!z||w&&M.oldPos<E.oldPos?C=this.addToPath(E,!0,!1,0,r):C=this.addToPath(M,!1,!0,1,r),g=this.extractCommon(C,n,t,y,r),C.oldPos+1>=u&&g+1>=s)return o(this.buildValues(C.lastComponent,n,t))||!0;p[y]=C,C.oldPos+1>=u&&(v=Math.min(v,y-1)),g+1>=s&&(b=Math.max(b,y+1))}c++};if(i)(function y(){setTimeout(function(){if(c>d||Date.now()>m)return i(void 0);x()||y()},0)})();else for(;c<=d&&Date.now()<=m;){const y=x();if(y)return y}}addToPath(t,n,r,i,a){const o=t.lastComponent;return o&&!a.oneChangePerToken&&o.added===n&&o.removed===r?{oldPos:t.oldPos+i,lastComponent:{count:o.count+1,added:n,removed:r,previousComponent:o.previousComponent}}:{oldPos:t.oldPos+i,lastComponent:{count:1,added:n,removed:r,previousComponent:o}}}extractCommon(t,n,r,i,a){const o=n.length,s=r.length;let u=t.oldPos,c=u-i,d=0;for(;c+1<o&&u+1<s&&this.equals(r[u+1],n[c+1],a);)c++,u++,d++,a.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return d&&!a.oneChangePerToken&&(t.lastComponent={count:d,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=u,c}equals(t,n,r){return r.comparator?r.comparator(t,n):t===n||!!r.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,r){const i=[];let a;for(;t;)i.push(t),a=t.previousComponent,delete t.previousComponent,t=a;i.reverse();const o=i.length;let s=0,u=0,c=0;for(;s<o;s++){const d=i[s];if(d.removed)d.value=this.join(r.slice(c,c+d.count)),c+=d.count;else{if(!d.added&&this.useLongestToken){let h=n.slice(u,u+d.count);h=h.map(function(m,p){const g=r[c+p];return g.length>m.length?g:m}),d.value=this.join(h)}else d.value=this.join(n.slice(u,u+d.count));u+=d.count,d.added||(c+=d.count)}}return i}}class QT extends za{}const RT=new QT;function eB(e,t,n){return RT.diff(e,t,n)}function sp(e,t){let n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function up(e,t){let n;if(!e||!t||e[e.length-1]!=t[t.length-1])return"";for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function ou(e,t,n){if(e.slice(0,t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(t)}; this is a bug`);return n+e.slice(t.length)}function su(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(t)}; this is a bug`);return e.slice(0,-t.length)+n}function Wi(e,t){return ou(e,t,"")}function Fa(e,t){return su(e,t,"")}function cp(e,t){return t.slice(0,tB(e,t))}function tB(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let r=t.length;e.length<t.length&&(r=e.length);const i=Array(r);let a=0;i[0]=0;for(let o=1;o<r;o++){for(t[o]==t[a]?i[o]=i[a]:i[o]=a;a>0&&t[o]!=t[a];)a=i[a];t[o]==t[a]&&a++}a=0;for(let o=n;o<e.length;o++){for(;a>0&&e[o]!=t[a];)a=i[a];e[o]==t[a]&&a++}return a}function Ui(e){let t;for(t=e.length-1;t>=0&&e[t].match(/\s/);t--);return e.substring(t+1)}function Zn(e){const t=e.match(/^\s*/);return t?t[0]:""}const Ma="a-zA-Z0-9_\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}",nB=new RegExp(`[${Ma}]+|\\s+|[^${Ma}]`,"ug");class rB extends za{equals(t,n,r){return r.ignoreCase&&(t=t.toLowerCase(),n=n.toLowerCase()),t.trim()===n.trim()}tokenize(t,n={}){let r;if(n.intlSegmenter){const o=n.intlSegmenter;if(o.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');r=Array.from(o.segment(t),s=>s.segment)}else r=t.match(nB)||[];const i=[];let a=null;return r.forEach(o=>{/\s/.test(o)?a==null?i.push(o):i.push(i.pop()+o):a!=null&&/\s/.test(a)?i[i.length-1]==a?i.push(i.pop()+o):i.push(a+o):i.push(o),a=o}),i}join(t){return t.map((n,r)=>r==0?n:n.replace(/^\s+/,"")).join("")}postProcess(t,n){if(!t||n.oneChangePerToken)return t;let r=null,i=null,a=null;return t.forEach(o=>{o.added?i=o:o.removed?a=o:((i||a)&&dp(r,a,i,o),r=o,i=null,a=null)}),(i||a)&&dp(r,a,i,null),t}}const iB=new rB;function lB(e,t,n){return n?.ignoreWhitespace!=null&&!n.ignoreWhitespace?sB(e,t,n):iB.diff(e,t,n)}function dp(e,t,n,r){if(t&&n){const i=Zn(t.value),a=Ui(t.value),o=Zn(n.value),s=Ui(n.value);if(e){const u=sp(i,o);e.value=su(e.value,o,u),t.value=Wi(t.value,u),n.value=Wi(n.value,u)}if(r){const u=up(a,s);r.value=ou(r.value,s,u),t.value=Fa(t.value,u),n.value=Fa(n.value,u)}}else if(n){if(e){const i=Zn(n.value);n.value=n.value.substring(i.length)}if(r){const i=Zn(r.value);r.value=r.value.substring(i.length)}}else if(e&&r){const i=Zn(r.value),a=Zn(t.value),o=Ui(t.value),s=sp(i,a);t.value=Wi(t.value,s);const u=up(Wi(i,s),o);t.value=Fa(t.value,u),r.value=ou(r.value,i,u),e.value=su(e.value,i,i.slice(0,i.length-u.length))}else if(r){const i=Zn(r.value),a=Ui(t.value),o=cp(a,i);t.value=Fa(t.value,o)}else if(e){const i=Ui(e.value),a=Zn(t.value),o=cp(i,a);t.value=Wi(t.value,o)}}class aB extends za{tokenize(t){const n=new RegExp(`(\\r?\\n)|[${Ma}]+|[^\\S\\n\\r]+|[^${Ma}]`,"ug");return t.match(n)||[]}}const oB=new aB;function sB(e,t,n){return oB.diff(e,t,n)}class uB extends za{constructor(){super(...arguments),this.tokenize=fB}equals(t,n,r){return r.ignoreWhitespace?((!r.newlineIsToken||!t.includes(`
175
+ `))}function u(p,g,b,v){const x=b.enter("tableCell"),y=b.enter("phrasing"),C=b.containerPhrasing(p,{...v,before:a,after:a});return y(),x(),C}function c(p,g){return SD(p,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function d(p,g,b){const v=p.children;let x=-1;const y=[],C=g.enter("table");for(;++x<v.length;)y[x]=h(v[x],g,b);return C(),y}function h(p,g,b){const v=p.children;let x=-1;const y=[],C=g.enter("tableRow");for(;++x<v.length;)y[x]=u(v[x],p,g,b);return C(),y}function m(p,g,b){let v=D5.inlineCode(p,g,b);return b.stack.includes("tableCell")&&(v=v.replace(/\|/g,"\\$&")),v}}function gL(){return{exit:{taskListCheckValueChecked:T5,taskListCheckValueUnchecked:T5,paragraph:bL}}}function vL(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:xL}}}function T5(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function bL(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,o;for(;++a<i.length;){const s=i[a];if(s.type==="paragraph"){o=s;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function xL(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);a&&s.move(o);let u=D5.listItem(e,t,n,{...r,...s.current()});return a&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(d){return d+o}}function wL(){return[QN(),xD(),CD(),uL(),gL()]}function yL(e){return{extensions:[RN(),wD(e),kD(),pL(e),vL()]}}const EL={tokenize:ML,partial:!0},B5={tokenize:SL,partial:!0},H5={tokenize:AL,partial:!0},j5={tokenize:NL,partial:!0},CL={tokenize:DL,partial:!0},P5={name:"wwwAutolink",tokenize:zL,previous:V5},O5={name:"protocolAutolink",tokenize:FL,previous:G5},Bn={name:"emailAutolink",tokenize:IL,previous:_5},hn={};function kL(){return{text:hn}}let ar=48;for(;ar<123;)hn[ar]=Bn,ar++,ar===58?ar=65:ar===91&&(ar=97);hn[43]=Bn,hn[45]=Bn,hn[46]=Bn,hn[95]=Bn,hn[72]=[Bn,O5],hn[104]=[Bn,O5],hn[87]=[Bn,P5],hn[119]=[Bn,P5];function IL(e,t,n){const r=this;let i,a;return o;function o(h){return!eu(h)||!_5.call(r,r.previous)||tu(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(h))}function s(h){return eu(h)?(e.consume(h),s):h===64?(e.consume(h),u):n(h)}function u(h){return h===46?e.check(CL,d,c)(h):h===45||h===95||pt(h)?(a=!0,e.consume(h),u):d(h)}function c(h){return e.consume(h),i=!0,u}function d(h){return a&&i&&vt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function zL(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!V5.call(r,r.previous)||tu(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(EL,e.attempt(B5,e.attempt(H5,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function FL(e,t,n){const r=this;let i="",a=!1;return o;function o(h){return(h===72||h===104)&&G5.call(r,r.previous)&&!tu(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),s):n(h)}function s(h){if(vt(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),s;if(h===58){const m=i.toLowerCase();if(m==="http"||m==="https")return e.consume(h),u}return n(h)}function u(h){return h===47?(e.consume(h),a?c:(a=!0,u)):n(h)}function c(h){return h===null||oa(h)||Ze(h)||lr(h)||sa(h)?n(h):e.attempt(B5,e.attempt(H5,d),n)(h)}function d(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function ML(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),a):n(o)}function a(o){return o===null?n(o):t(o)}}function SL(e,t,n){let r,i,a;return o;function o(c){return c===46||c===95?e.check(j5,u,s)(c):c===null||Ze(c)||lr(c)||c!==45&&sa(c)?u(c):(a=!0,e.consume(c),o)}function s(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),o}function u(c){return i||r||!a?n(c):t(c)}}function AL(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(j5,t,a)(o):o===null||Ze(o)||lr(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&r++,e.consume(o),i}}function NL(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),a):s===93?(e.consume(s),i):s===60||s===null||Ze(s)||lr(s)?t(s):n(s)}function i(s){return s===null||s===40||s===91||Ze(s)||lr(s)?t(s):r(s)}function a(s){return vt(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),r):vt(s)?(e.consume(s),o):n(s)}}function DL(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return pt(a)?n(a):t(a)}}function V5(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ze(e)}function G5(e){return!vt(e)}function _5(e){return!(e===47||eu(e))}function eu(e){return e===43||e===45||e===46||e===95||pt(e)}function tu(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const LL={tokenize:GL,partial:!0};function TL(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:PL,continuation:{tokenize:OL},exit:VL}},text:{91:{name:"gfmFootnoteCall",tokenize:jL},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:BL,resolveTo:HL}}}}function BL(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return s;function s(u){if(!o||!o._balanced)return n(u);const c=Rt(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function HL(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function jL(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return s;function s(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),u}function u(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(a>999||h===93&&!o||h===null||h===91||Ze(h))return n(h);if(h===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return i.includes(Rt(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return Ze(h)||(o=!0),a++,e.consume(h),h===92?d:c}function d(h){return h===91||h===92||h===93?(e.consume(h),a++,c):c(h)}}function PL(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,s;return u;function u(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(g)}function d(g){if(o>999||g===93&&!s||g===null||g===91||Ze(g))return n(g);if(g===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return a=Rt(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return Ze(g)||(s=!0),o++,e.consume(g),g===92?h:d}function h(g){return g===91||g===92||g===93?(e.consume(g),o++,d):d(g)}function m(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(a)||i.push(a),De(e,p,"gfmFootnoteDefinitionWhitespace")):n(g)}function p(g){return t(g)}}function OL(e,t,n){return e.check(Hi,t,e.attempt(LL,t,n))}function VL(e){e.exit("gfmFootnoteDefinition")}function GL(e,t,n){const r=this;return De(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function _L(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,s){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let c=u;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[u][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[u][1].end)},h={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[u][1].start)},m=[["enter",d,s],["enter",o[c][1],s],["exit",o[c][1],s],["enter",h,s]],p=s.parser.constructs.insideSpan.null;p&&Pt(m,m.length,0,ua(p,o.slice(c+1,u),s)),Pt(m,m.length,0,[["exit",h,s],["enter",o[u][1],s],["exit",o[u][1],s],["exit",d,s]]),Pt(o,c-1,u-c+3,m),u=c+m.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}function a(o,s,u){const c=this.previous,d=this.events;let h=0;return m;function m(g){return c===126&&d[d.length-1][1].type!=="characterEscape"?u(g):(o.enter("strikethroughSequenceTemporary"),p(g))}function p(g){const b=Tr(c);if(g===126)return h>1?u(g):(o.consume(g),h++,p);if(h<2&&!n)return u(g);const v=o.exit("strikethroughSequenceTemporary"),x=Tr(g);return v._open=!x||x===2&&!!b,v._close=!b||b===2&&!!x,s(g)}}}class $L{constructor(){this.map=[]}add(t,n,r){WL(this,t,n,r)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function WL(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function UL(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function XL(){return{flow:{null:{name:"table",tokenize:ZL,resolveAll:YL}}}}function ZL(e,t,n){const r=this;let i=0,a=0,o;return s;function s(F){let N=r.events.length-1;for(;N>-1;){const L=r.events[N][1].type;if(L==="lineEnding"||L==="linePrefix")N--;else break}const B=N>-1?r.events[N][1].type:null,H=B==="tableHead"||B==="tableRow"?w:u;return H===w&&r.parser.lazy[r.now().line]?n(F):H(F)}function u(F){return e.enter("tableHead"),e.enter("tableRow"),c(F)}function c(F){return F===124||(o=!0,a+=1),d(F)}function d(F){return F===null?n(F):we(F)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),p):n(F):Se(F)?De(e,d,"whitespace")(F):(a+=1,o&&(o=!1,i+=1),F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),o=!0,d):(e.enter("data"),h(F)))}function h(F){return F===null||F===124||Ze(F)?(e.exit("data"),d(F)):(e.consume(F),F===92?m:h)}function m(F){return F===92||F===124?(e.consume(F),h):h(F)}function p(F){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(F):(e.enter("tableDelimiterRow"),o=!1,Se(F)?De(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):g(F))}function g(F){return F===45||F===58?v(F):F===124?(o=!0,e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),b):E(F)}function b(F){return Se(F)?De(e,v,"whitespace")(F):v(F)}function v(F){return F===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),x):F===45?(a+=1,x(F)):F===null||we(F)?M(F):E(F)}function x(F){return F===45?(e.enter("tableDelimiterFiller"),y(F)):E(F)}function y(F){return F===45?(e.consume(F),y):F===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),C):(e.exit("tableDelimiterFiller"),C(F))}function C(F){return Se(F)?De(e,M,"whitespace")(F):M(F)}function M(F){return F===124?g(F):F===null||we(F)?!o||i!==a?E(F):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(F)):E(F)}function E(F){return n(F)}function w(F){return e.enter("tableRow"),z(F)}function z(F){return F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),z):F===null||we(F)?(e.exit("tableRow"),t(F)):Se(F)?De(e,z,"whitespace")(F):(e.enter("data"),I(F))}function I(F){return F===null||F===124||Ze(F)?(e.exit("data"),z(F)):(e.consume(F),F===92?k:I)}function k(F){return F===92||F===124?(e.consume(F),I):I(F)}}function YL(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,u=0,c,d,h;const m=new $L;for(;++n<e.length;){const p=e[n],g=p[1];p[0]==="enter"?g.type==="tableHead"?(s=!1,u!==0&&($5(m,t,u,c,d),d=void 0,u=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,h=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,d={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",d,t]])),i=g.type==="tableDelimiterRow"?2:d?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],h=wa(m,t,a,i,void 0,h),a=[0,0,0,0]),o[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],h=wa(m,t,a,i,void 0,h)),a=o,o=[a[1],n,0,0])):g.type==="tableHead"?(s=!0,u=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(u=n,a[1]!==0?(o[0]=o[1],h=wa(m,t,a,i,n,h)):o[1]!==0&&(h=wa(m,t,o,i,n,h)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(o[3]=n)}for(u!==0&&$5(m,t,u,c,d),m.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=UL(t.events,n))}return e}function wa(e,t,n,r,i,a){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(a.end=Object.assign({},Hr(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const u=Hr(t.events,n[1]);if(a={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const c=Hr(t.events,n[2]),d=Hr(t.events,n[3]),h={type:s,start:Object.assign({},c),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const m=t.events[n[2]],p=t.events[n[3]];if(m[1].end=Object.assign({},p[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,b=n[3]-n[2]-1;e.add(g,b,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(a.end=Object.assign({},Hr(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function $5(e,t,n,r,i){const a=[],o=Hr(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function Hr(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const JL={name:"tasklistCheck",tokenize:qL};function KL(){return{text:{91:JL}}}function qL(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),a)}function a(u){return Ze(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):n(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(u)}function s(u){return we(u)?t(u):Se(u)?e.check({tokenize:QL},t,n)(u):n(u)}}function QL(e,t,n){return De(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function RL(e){return C4([kL(),TL(),_L(e),XL(),KL()])}const eT={};function W5(e){const t=this,n=e||eT,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(RL(n)),a.push(wL()),o.push(yL(n))}const tT=({id:e,value:t="",onChange:n,placeholder:r="Enter markdown content...",rows:i=8,disabled:a=!1,className:o,textareaClassName:s,previewClassName:u,defaultMode:c="markdown",mode:d,label:h,required:m=!1})=>{const[p,g]=l.useState(c),[b,v]=l.useState(!1),x=e||`md-input-${Math.random().toString(36).slice(2,11)}`,y=d??p,C=d!==void 0;return f.jsxs("div",{className:Y("flex flex-col gap-2",o),children:[f.jsxs("div",{className:"flex items-center gap-3",children:[!C&&f.jsx("div",{className:"flex items-center gap-2",children:f.jsxs("div",{className:"inline-flex grow-0 p-1 rounded-lg bg-neutral-100 dark:bg-black-700 w-auto",children:[f.jsx("button",{className:Y("rounded-md p-1 flex items-center justify-center",y==="markdown"?"bg-white dark:bg-black-700 !text-neutral-900 dark:!text-neutral-100":""),onClick:()=>g("markdown"),disabled:a,children:f.jsx(se,{variant:"semibold",size:"extra-small",appearance:"subtitle",className:Y(y==="markdown"?"!text-neutral-900 dark:!text-neutral-100":""),children:"Markdown"})}),f.jsx("button",{className:Y("rounded-md p-1 flex items-center justify-center",y==="preview"?"bg-white dark:bg-black-700 !text-neutral-900 dark:!text-neutral-100":""),onClick:()=>g("preview"),disabled:a,children:f.jsx(se,{variant:"semibold",size:"extra-small",appearance:"subtitle",className:Y(y==="preview"?"!text-neutral-900 dark:!text-neutral-100":""),children:"Preview"})})]})}),h&&f.jsxs("label",{htmlFor:x,className:"text-xs font-medium text-gray-600 dark:text-gray-300",children:[h,m&&f.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})]}),f.jsx("div",{className:"relative",children:y==="markdown"?f.jsx("textarea",{id:x,value:t,onChange:M=>n(M.target.value),placeholder:r,rows:i,disabled:a,required:m,className:Y("w-full border rounded-lg bg-white dark:bg-black-600","py-2.5 px-3 font-inter font-medium text-sm","text-gray-900 dark:text-gray-100","placeholder:text-gray-400 dark:placeholder:text-gray-500","transition-colors duration-200","focus:ring-2 focus:outline-none resize-vertical","border-gray-300 dark:border-gray-600","focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20",{"bg-gray-50 dark:bg-gray-700 text-gray-400 dark:text-gray-500 cursor-not-allowed":a},s),onClick:M=>M.stopPropagation()}):f.jsxs("div",{className:"relative",children:[f.jsx("div",{className:Y("w-full rounded-lg","py-2.5 px-3 min-h-[calc(2.5rem*var(--rows,8))] max-h-[calc(1rem*var(--rows,8))]","overflow-y-auto text-sm",u),style:{"--rows":i},children:f.jsx("div",{className:"markdown-preview text-gray-900 dark:text-gray-100 [&_h1]:text-2xl [&_h1]:font-bold [&_h1]:mb-4 [&_h1]:mt-2 [&_h2]:text-xl [&_h2]:font-bold [&_h2]:mb-3 [&_h2]:mt-2 [&_h3]:text-lg [&_h3]:font-semibold [&_h3]:mb-2 [&_h3]:mt-2 [&_p]:mb-2 [&_p]:leading-relaxed [&_ul]:list-disc [&_ul]:ml-6 [&_ul]:mb-2 [&_ol]:list-decimal [&_ol]:ml-6 [&_ol]:mb-2 [&_li]:mb-1 [&_code]:bg-gray-100 [&_code]:dark:bg-gray-800 [&_code]:px-1 [&_code]:py-0.5 [&_code]:rounded [&_code]:text-sm [&_code]:font-mono [&_pre]:bg-gray-100 [&_pre]:dark:bg-gray-800 [&_pre]:p-3 [&_pre]:rounded [&_pre]:overflow-x-auto [&_pre]:mb-2 [&_blockquote]:border-l-4 [&_blockquote]:border-gray-300 [&_blockquote]:dark:border-gray-600 [&_blockquote]:pl-4 [&_blockquote]:italic [&_blockquote]:mb-2 [&_a]:text-blue-600 [&_a]:dark:text-blue-400 [&_a]:underline [&_strong]:font-bold [&_em]:italic [&_table]:w-full [&_table]:border-collapse [&_table]:mb-2 [&_th]:border [&_th]:border-gray-300 [&_th]:dark:border-gray-600 [&_th]:px-2 [&_th]:py-1 [&_th]:bg-gray-50 [&_th]:dark:bg-gray-700 [&_th]:font-semibold [&_td]:border [&_td]:border-gray-300 [&_td]:dark:border-gray-600 [&_td]:px-2 [&_td]:py-1 [&_hr]:my-4 [&_hr]:border-gray-300 [&_hr]:dark:border-gray-600",children:f.jsx(h5,{remarkPlugins:[W5],children:t||"*No content to preview*"})})}),f.jsx("button",{onClick:()=>v(!0),className:"absolute bottom-2 right-2 p-1 rounded-md bg-neutral-100 dark:bg-black-600 hover:bg-gray-200 dark:hover:bg-black-500 transition-colors shadow-sm flex items-center justify-center",title:"Expand preview",type:"button",children:f.jsx(We.OpenInFull,{sx:{fontSize:"16px"},className:"text-neutral-600 dark:text-neutral-400"})})]})}),f.jsx(Gn,{open:b,onCancel:()=>v(!1),title:"Markdown Preview",width:800,footer:null,children:f.jsx("div",{className:"markdown-preview max-h-[70vh] overflow-y-auto text-gray-900 dark:text-gray-100 [&_h1]:text-2xl [&_h1]:font-bold [&_h1]:mb-4 [&_h1]:mt-2 [&_h2]:text-xl [&_h2]:font-bold [&_h2]:mb-3 [&_h2]:mt-2 [&_h3]:text-lg [&_h3]:font-semibold [&_h3]:mb-2 [&_h3]:mt-2 [&_p]:mb-2 [&_p]:leading-relaxed [&_ul]:list-disc [&_ul]:ml-6 [&_ul]:mb-2 [&_ol]:list-decimal [&_ol]:ml-6 [&_ol]:mb-2 [&_li]:mb-1 [&_code]:bg-gray-100 [&_code]:dark:bg-gray-800 [&_code]:px-1 [&_code]:py-0.5 [&_code]:rounded [&_code]:text-sm [&_code]:font-mono [&_pre]:bg-gray-100 [&_pre]:dark:bg-gray-800 [&_pre]:p-3 [&_pre]:rounded [&_pre]:overflow-x-auto [&_pre]:mb-2 [&_blockquote]:border-l-4 [&_blockquote]:border-gray-300 [&_blockquote]:dark:border-gray-600 [&_blockquote]:pl-4 [&_blockquote]:italic [&_blockquote]:mb-2 [&_a]:text-blue-600 [&_a]:dark:text-blue-400 [&_a]:underline [&_strong]:font-bold [&_em]:italic [&_table]:w-full [&_table]:border-collapse [&_table]:mb-2 [&_th]:border [&_th]:border-gray-300 [&_th]:dark:border-gray-600 [&_th]:px-2 [&_th]:py-1 [&_th]:bg-gray-50 [&_th]:dark:bg-gray-700 [&_th]:font-semibold [&_td]:border [&_td]:border-gray-300 [&_td]:dark:border-gray-600 [&_td]:px-2 [&_td]:py-1 [&_hr]:my-4 [&_hr]:border-gray-300 [&_hr]:dark:border-gray-600",children:f.jsx(h5,{remarkPlugins:[W5],children:t||"*No content to preview*"})})})]})};function nT(e){return Er({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"},child:[]},{tag:"polyline",attr:{points:"7 10 12 15 17 10"},child:[]},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"},child:[]}]})(e)}function rT(e){return Er({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"},child:[]},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"},child:[]},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"},child:[]},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"},child:[]}]})(e)}const{Dragger:iT}=Ne.Upload,lT=e=>e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(2)} KB`:e<1024*1024*1024?`${(e/(1024*1024)).toFixed(2)} MB`:`${(e/(1024*1024*1024)).toFixed(2)} GB`,aT=(e,t=20)=>e?e.length<=t?e:e.slice(0,t-7)+"...."+e.slice(-7):"",U5=l.forwardRef(({id:e,onFileChange:t,description:n,errorMessage:r,disabled:i=!1,defaultFile:a=null,acceptedFiles:o="*",isLoading:s=!1,asBase64:u=!1,toFileServer:c=!1,setFileUploading:d,fileUploading:h=!1,multiple:m=!1,getRealFileName:p=!1,maxSize:g=50*1024*1024,onUpload:b,onDelete:v,wrapperClassName:x,uploadClassName:y,showFileSize:C=!0,formatFileSize:M=lT},E)=>{const[w,z]=l.useState(null),[I,k]=l.useState([]),[F,N]=l.useState("#d9d9d9"),[B,H]=l.useState(!1),[L,S]=l.useState(null),T=l.useCallback(async()=>{if(b)try{const _=await b(I),A=m?_?.map(W=>W?.fileUrl):_?.[0]?.fileUrl,$=p?w?.name:_?.[0]?.fileName;t(A,$),d?.(null)}catch(_){console.error("Upload failed:",_),d?.(null)}},[b,I,m,w,p,t,d]),G={accept:o,multiple:m,showUploadList:!1,disabled:i,onRemove:()=>{k([])},beforeUpload:(_,A)=>{if(_.size>g){const $=(g/1048576).toFixed(0);return console.error(`File size exceeds ${$}MB limit`),!1}return z(_),c?(d?.(e||"field-file-upload"),k(A)):(u?Promise.all((m?A:[_]).map($=>new Promise(W=>{const D=new FileReader;D.onload=X=>{W({filename:$.name,content:X?.target?.result?.split(",")[1]})},D.readAsDataURL($)}))).then($=>{t(m?$:$[0])}):t(_),z(_)),!1}},O=async()=>{if(c&&L&&v)try{await v(L),S(null)}catch(_){console.error("Delete failed:",_)}z(null),k([]),t(null)};return l.useEffect(()=>{N(r?"#EF4444":"#d9d9d9")},[r]),l.useEffect(()=>{I.length&&c&&T()},[I,c,T]),l.useEffect(()=>{a?.name&&z(a)},[a]),f.jsxs("div",{ref:E,className:Y("w-full",x),children:[f.jsx("div",{className:"h-32",onMouseEnter:()=>H(!0),onMouseLeave:()=>H(!1),children:f.jsx(iT,{...G,className:y,style:{borderColor:B&&!r?"#1890ff":F},disabled:i||h,children:w?f.jsxs("div",{className:"flex items-center justify-between mx-5",title:w?.name||a?.name||"",children:[f.jsxs("div",{className:"flex items-center justify-center gap-4",children:[w?.type==="application/pdf"?f.jsx("div",{className:"p-3 bg-[#E6F1FC] rounded-lg",children:f.jsx(JE,{size:20,fill:"#006CCF"})}):f.jsx("div",{className:"p-3 bg-[#E6F1FC] rounded-lg",children:f.jsx(We.DescriptionRounded,{sx:{height:"20px",width:"20px",color:"#006CCF"}})}),f.jsxs("div",{className:"text-left",children:[f.jsx(se,{size:"small",variant:"medium",className:"font-inter text-md font-medium text-base",children:aT(w?.name||a?.name||"")}),h?f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:"Uploading..."}):C&&w?.size>0?f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:M(w.size)}):null]})]}),s?f.jsx(vh,{size:40,className:"spinner text-primary-600"}):f.jsx("button",{id:`btn-file-upload-${e}`,className:"ml-4",onClick:_=>{_.stopPropagation(),O()},disabled:i,type:"button","aria-label":"Delete file",children:f.jsx(rT,{size:20,className:"text-gray-400"})})]}):f.jsx("div",{className:"flex items-center justify-center",children:f.jsxs("div",{className:"flex-col",children:[f.jsx("div",{className:"mb-4 flex justify-center",children:f.jsx(nT,{size:24,className:"text-gray-400"})}),f.jsxs("div",{children:[f.jsxs("div",{className:"flex items-center justify-center",children:[f.jsx(se,{size:"small",variant:"medium",className:"text-primary-600 dark:text-primary-300",appearance:"custom",children:"Click to upload"}),f.jsx(se,{size:"small",variant:"medium",className:"ml-1",appearance:"subtitle",children:"or drag and drop"})]}),n?f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:n}):null]})]})})})}),r&&f.jsx(se,{className:"text-red-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:r})]})});U5.displayName="MultiFileUpload";const{Dragger:oT}=Ne.Upload,sT=200*1024*1024,uT=(e,t,n,r,i)=>{const a={small:"h-24",medium:"h-32",large:"h-40"},o={primary:"border-blue-200 hover:border-blue-400",secondary:"border-gray-200 hover:border-gray-400"};return Y("border-2 border-dashed rounded-lg transition-colors duration-200",a[e],o[t],{"border-red-400 bg-red-50":r,"cursor-not-allowed opacity-50":n,"cursor-pointer":!n})},cT=()=>f.jsx("div",{className:"p-3 bg-blue-50 rounded-lg",children:f.jsx("svg",{className:"w-5 h-5 text-blue-600",fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4zm2 6a1 1 0 011-1h6a1 1 0 110 2H7a1 1 0 01-1-1zm1 3a1 1 0 100 2h6a1 1 0 100-2H7z",clipRule:"evenodd"})})}),dT=()=>f.jsx("div",{className:"p-3 bg-blue-50 rounded-lg",children:f.jsx("svg",{className:"w-5 h-5 text-blue-600",fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z",clipRule:"evenodd"})})}),fT=()=>f.jsx("svg",{className:"w-6 h-6 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})}),hT=()=>f.jsx("svg",{className:"w-5 h-5 text-gray-400",fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})}),X5=l.forwardRef(({id:e,onFileSelect:t,onUpload:n,description:r,errorMessage:i,disabled:a=!1,defaultFile:o=null,acceptedFiles:s="*",isLoading:u=!1,asBase64:c=!1,multiple:d=!1,hideSelectedFile:h=!1,onDelete:m,maxSize:p=sT,wrapperClassName:g,uploadClassName:b,size:v="medium",variant:x="primary",uploadIcon:y,deleteIcon:C,fileTypeIcons:M,showFileSize:E=!0,showProgress:w=!1,progress:z=0},I)=>{const[k,F]=l.useState(null),[N,B]=l.useState(!1),H=(_,A)=>{if(_.size>p){const $=Math.round(p/1048576);return console.error(`File size exceeds the limit of ${$} MB`),Ne.Upload.LIST_IGNORE}if(h||F(_),c){const $=new FileReader;$.onload=W=>{const D=W?.target?.result;t(D,_.name)},$.readAsDataURL(_)}else t(d?A:_,_.name);return n&&n(d?A:_),Ne.Upload.LIST_IGNORE},L=()=>{F(null),t(null),m?.()},S=_=>{if(_===0)return"0 Bytes";const A=1024,$=["Bytes","KB","MB","GB"],W=Math.floor(Math.log(_)/Math.log(A));return parseFloat((_/Math.pow(A,W)).toFixed(2))+" "+$[W]},T=_=>_.length<=30?_:`${_.slice(0,23)}....${_.slice(-7)}`,G=_=>_.type==="application/pdf"?M?.pdf||f.jsx(cT,{}):M?.default||f.jsx(dT,{});l.useEffect(()=>{o&&F(o)},[o]);const O={accept:s,multiple:d,showUploadList:!1,disabled:a,beforeUpload:H};return f.jsxs("div",{ref:I,className:Y("w-full",g),children:[f.jsx("div",{className:Y(uT(v,x,a,!!i),b),onMouseEnter:()=>B(!0),onMouseLeave:()=>B(!1),role:"button",tabIndex:a?-1:0,"aria-label":"File upload area",children:f.jsx(oT,{...O,children:k&&!h?f.jsxs("div",{className:"flex items-center justify-between mx-5",title:k.name,children:[f.jsxs("div",{className:"flex items-center gap-4",children:[G(k),f.jsxs("div",{className:"text-left",children:[f.jsx(se,{size:"small",variant:"medium",className:"text-neutral-900 font-medium",children:T(k.name)}),E&&k.size>0&&f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:S(k.size)}),w&&z>0&&f.jsxs("div",{className:"mt-1",children:[f.jsx("div",{className:"w-full bg-gray-200 rounded-full h-1",children:f.jsx("div",{className:"bg-blue-600 h-1 rounded-full transition-all duration-300",style:{width:`${z}%`}})}),f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"subtitle",children:[z,"% uploaded"]})]})]})]}),u?f.jsx("div",{className:"animate-spin",children:f.jsx("svg",{className:"w-5 h-5 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})}):f.jsx("button",{className:"ml-4 p-1 hover:bg-gray-100 rounded",onClick:_=>{_.stopPropagation(),L()},disabled:a,type:"button","aria-label":"Delete file",children:C||f.jsx(hT,{})})]}):f.jsx("div",{className:"flex items-center justify-center h-full",children:f.jsxs("div",{className:"flex flex-col items-center",children:[f.jsx("div",{className:"mb-4 flex justify-center",children:y||f.jsx(fT,{})}),f.jsxs("div",{className:"text-center",children:[f.jsxs("div",{className:"flex items-center justify-center gap-1",children:[f.jsx(se,{size:"small",variant:"medium",className:"text-blue-600 dark:text-blue-300",appearance:"custom",children:"Click to upload"}),f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:"or drag and drop"})]}),r&&f.jsx(se,{size:"small",variant:"medium",className:"text-neutral-400 mt-1",children:r})]})]})})})}),i&&f.jsx(se,{className:"text-red-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:i})]})});X5.displayName="FileUpload";const mT=[...Object.keys(qi).filter(e=>e?.endsWith("Rounded"))||[],...(_m||[]).map(e=>`flag-${e}`)],pT=e=>{if(e?.startsWith("flag-")){const t=e?.replace("flag-","");return ss(t||"")||t}return e.replaceAll(/([A-Z])/g," $1").trim()},gT=({onChange:e,selectedIcon:t,setOpen:n})=>{const[r,i]=l.useState(""),a=(mT||[]).filter(s=>{if(s?.startsWith("flag-")){const u=s?.replace("flag-","");return u?.toLowerCase()?.includes(r?.trim()?.toLowerCase()||"")||ss(u||"")?.toLowerCase()?.includes(r?.trim()?.toLowerCase()||"")}return s?.trim()?.toLowerCase()?.includes(r?.trim()?.toLowerCase()||"")}),o=(s,u)=>{if(u.stopPropagation(),t===s){e?.(null);return}e?.(s),n?.(!1)};return f.jsxs("div",{className:"flex flex-col gap-3",children:[f.jsx(La,{id:"input-field-icon-picker",placeholder:"Search icons...",onChange:s=>i(s||""),fieldSuffix:f.jsx(qi.Search,{sx:{width:16,height:16,color:"rgb(152 162 179)"}})}),f.jsx(Pp.FixedSizeGrid,{columnCount:5,rowCount:Math.ceil((a?.length||0)/5),columnWidth:40,rowHeight:40,width:220,height:240,children:({columnIndex:s,rowIndex:u,style:c})=>{const d=u*5+s,h=a?.[d];return h?f.jsx("div",{style:{...c,padding:"4px"},children:f.jsx(Ne.Tooltip,{title:pT(h),children:f.jsx(Op.IconButton,{className:Y("flex items-center justify-center !rounded-md hover:bg-neutral-200 dark:hover:bg-black-700",{"!bg-primary-50 dark:!bg-black-800":t===h}),onClick:m=>o(h,m),children:f.jsx(nu,{iconName:h,sx:{width:20,height:20},className:"text-neutral-900 dark:text-white"})})})}):null}})]})},nu=({iconName:e,sx:t,className:n,isHovering:r})=>{if(e?.startsWith?.("flag-")){const a=e?.replace("flag-","");return Ml?.(a||"",r||!1)||f.jsx("div",{children:"-"})}const i=qi?.[e];return i?f.jsx(i,{sx:t,className:n,isHovering:r}):f.jsx("div",{children:"-"})},vT=({selectedIcon:e,onChange:t,label:n,required:r=!1,allowClear:i=!0,disabled:a=!1,errorMessage:o})=>{const[s,u]=l.useState(!1),c=d=>{d.stopPropagation(),t?.("")};return f.jsx(Ne.Popover,{arrow:!1,placement:"bottom",trigger:"click",getPopupContainer:d=>d?.parentElement||document.body,open:s,onOpenChange:u,content:f.jsx(gT,{onChange:t,selectedIcon:e,setOpen:u}),children:f.jsxs("div",{className:"flex flex-col gap-1",children:[n?f.jsxs(se,{size:"extra-small",variant:"medium",appearance:"body",children:[n,r&&f.jsx("span",{className:"text-red-500",children:"*"})]}):null,f.jsxs("button",{id:`btn-icon-picker-icon-${e?"selected":"unselected"}`,className:`min-w-[83px] py-1.5 px-3 rounded-md border ${a?"cursor-not-allowed opacity-60 bg-neutral-50 dark:bg-black-800":"bg-white dark:bg-black-800"} ${o?"border-red-500":"focus:border-primary-200 "} flex items-center justify-between gap-2`,disabled:a,onClick:d=>{a&&(d.preventDefault(),d.stopPropagation())},children:[e?f.jsx(nu,{iconName:e,sx:{width:20,height:20},className:"text-neutral-900 dark:text-white"}):f.jsx(se,{size:"small",variant:"medium",appearance:"subtitle",children:"Select Icon"}),e&&i&&!a?f.jsx(qi.CloseRounded,{sx:{width:20,height:20},className:"hover:bg-neutral-100 dark:hover:bg-black-800 rounded-full transition-colors cursor-pointer text-neutral-400 dark:text-neutral-500",onClick:c}):null]}),o&&f.jsx(se,{size:"extra-small",className:"text-red-500 font-medium",children:o})]})})},bT=l.lazy(()=>Promise.resolve({default:e=>f.jsx(l.Suspense,{fallback:f.jsx("div",{className:"min-w-[83px] h-[30px] animate-pulse bg-neutral-100 dark:bg-black-800 rounded-md"}),children:f.jsx(vT,{...e})})})),Z5=l.forwardRef(({status:e,children:t,className:n,size:r="medium","aria-label":i},a)=>{const o=()=>{switch(r){case"small":return"text-xs px-1.5 py-0.5";case"large":return"text-base px-3 py-1.5";default:return"text-sm px-2 py-1"}},s=()=>{switch(e?.toLowerCase()){case"purple":return"bg-purple-50 text-purple-500 border border-purple-100 dark:bg-purple-950 dark:text-purple-400 dark:border-purple-800";case"blue":return"bg-blue-50 text-blue-500 border border-blue-100 dark:bg-blue-950 dark:text-blue-400 dark:border-blue-800";case"teal":return"bg-teal-50 text-teal-500 border border-teal-100 dark:bg-teal-950 dark:text-teal-400 dark:border-teal-800";case"green":return"bg-green-50 text-green-500 border border-green-100 dark:bg-green-950 dark:text-green-400 dark:border-green-800";case"yellow":return"bg-yellow-50 text-yellow-600 border border-yellow-100 dark:bg-yellow-950 dark:text-yellow-400 dark:border-yellow-800";case"orange":return"bg-orange-50 text-orange-500 border border-orange-100 dark:bg-orange-950 dark:text-orange-400 dark:border-orange-800";case"peach":return"bg-orange-50 text-orange-400 border border-orange-100 dark:bg-orange-950 dark:text-orange-300 dark:border-orange-800";case"red":return"bg-red-50 text-red-500 border border-red-100 dark:bg-red-950 dark:text-red-400 dark:border-red-800";case"navy":return"bg-slate-50 text-slate-700 border border-slate-100 dark:bg-slate-950 dark:text-slate-400 dark:border-slate-800";case"grey":return"bg-neutral-50 text-neutral-500 border border-neutral-100 dark:bg-neutral-950 dark:text-neutral-400 dark:border-neutral-800";default:return"bg-blue-50 text-blue-600 border border-blue-200 dark:bg-blue-950 dark:text-blue-400 dark:border-blue-800"}};return f.jsx("span",{ref:a,className:Y("inline-flex items-center justify-center font-medium rounded-md transition-colors",o(),s(),n),"aria-label":i||`Status: ${e||"default"}`,role:"status",children:t})});Z5.displayName="StatusColorMapping";const Y5=l.forwardRef(({status:e="default",children:t,appearance:n="outline",size:r="md",className:i,isRounded:a=!1,capitalize:o=!0,"aria-label":s},u)=>{const c=g=>!g||!o?g:g.replace(/\w\S*/g,b=>b.charAt(0).toUpperCase()+b.substr(1).toLowerCase()),d=()=>{switch(r){case"sm":return"text-xs px-1.5 py-0.5";case"lg":return"text-sm px-3 py-1.5";default:return"text-xs px-2 py-1"}},h=()=>{switch(e){case"primary":case"default":return"bg-blue-50 dark:bg-blue-950 text-blue-600 dark:text-blue-300 border border-blue-300 dark:border-blue-700";case"warning":return"bg-yellow-50 dark:bg-yellow-950 text-yellow-600 dark:text-yellow-300 border border-yellow-300 dark:border-yellow-700";case"error":return"bg-red-50 dark:bg-red-950 text-red-600 dark:text-red-300 border border-red-300 dark:border-red-700";case"neutral":return"bg-neutral-50 dark:bg-neutral-950 text-neutral-600 dark:text-neutral-300 border border-neutral-300 dark:border-neutral-700";case"success":return"bg-green-50 dark:bg-green-950 text-green-600 dark:text-green-300 border border-green-300 dark:border-green-700";case"info":return"bg-blue-50 dark:bg-blue-950 text-blue-600 dark:text-blue-300 border border-blue-300 dark:border-blue-700";default:return"bg-blue-50 dark:bg-blue-950 text-blue-600 dark:text-blue-300 border border-blue-300 dark:border-blue-700"}},m=()=>{switch(e){case"primary":case"default":return"bg-blue-600 dark:bg-blue-700 text-white";case"warning":return"bg-yellow-600 dark:bg-yellow-700 text-white";case"success":return"bg-green-600 dark:bg-green-700 text-white";case"error":return"bg-red-600 dark:bg-red-700 text-white";case"neutral":return"bg-neutral-600 dark:bg-neutral-700 text-white";case"info":return"bg-blue-600 dark:bg-blue-700 text-white";default:return"bg-blue-600 dark:bg-blue-700 text-white"}},p=()=>n==="filled"?m():h();return f.jsx("span",{ref:u,className:Y("inline-flex items-center justify-center font-medium transition-colors",a?"rounded-full":"rounded",d(),p(),i),"aria-label":s||`Badge: ${e}`,role:"status",children:c(t)})});Y5.displayName="Badge";const ya=({title:e,children:t})=>e?f.jsx(f.Fragment,{children:t}):null;ya.displayName="HelmetTitle";const J5=({children:e,className:t="",title:n,style:r,id:i})=>f.jsxs(f.Fragment,{children:[f.jsx(ya,{title:n}),f.jsx("div",{className:`bg-white dark:bg-black-800 border border-neutral-200 dark:border-black-600 rounded-lg shadow-100 w-full flex flex-col ${t}`,style:r,id:i,children:e})]});J5.displayName="Card";const ru=e=>e===1||e==="1"||typeof e=="string"&&e.toLowerCase()==="yes"||typeof e=="string"&&e.toLowerCase()==="true"?"Yes":e===0||e==="0"||typeof e=="string"&&e.toLowerCase()==="no"||typeof e=="string"&&e.toLowerCase()==="false"?"No":e?.toString()||"-",iu=(e,t="USD")=>{try{if(e==null)return"";const n=Number(e);if(isNaN(n))return e?.toString()||"";const r=n.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2});return`${{USD:"$",EUR:"€",GBP:"£",JPY:"¥",CAD:"C$",AUD:"A$",CHF:"CHF",CNY:"¥",SEK:"kr",NOK:"kr",DKK:"kr",PLN:"zł",CZK:"Kč",HUF:"Ft",RUB:"₽",BRL:"R$",INR:"₹",KRW:"₩",SGD:"S$",HKD:"HK$",NZD:"NZ$",MXN:"$",ZAR:"R",TRY:"₺",ILS:"₪",AED:"د.إ",SAR:"﷼",QAR:"﷼",KWD:"د.ك",BHD:"د.ب",OMR:"﷼",JOD:"د.ا",LBP:"ل.ل",EGP:"£",MAD:"د.م.",TND:"د.ت",DZD:"د.ج",LYD:"ل.د",SDG:"ج.س.",ETB:"Br",KES:"KSh",UGX:"USh",TZS:"TSh",ZMW:"ZK",BWP:"P",ZWL:"Z$",AOA:"Kz",MZN:"MT",GHS:"₵",NGN:"₦",XAF:"FCFA",XOF:"CFA",CDF:"FC",RWF:"RF",BIF:"FBu",KMF:"CF",DJF:"Fdj",SOS:"S",ERN:"Nfk"}[t]||"$"}${r}`}catch{return"-"}},$i=(e,t={})=>{const{format:n,relative:r=!1,withTime:i=!0,fallback:a="-",skipTimezone:o=!1,onlyTime:s=!1}=t||{};if(!e)return a;try{const u=new Date(e);if(isNaN(u.getTime()))return a;if(r){const p=Math.floor((new Date().getTime()-u.getTime())/1e3);return p<60?"just now":p<3600?`${Math.floor(p/60)} minutes ago`:p<86400?`${Math.floor(p/3600)} hours ago`:p<2592e3?`${Math.floor(p/86400)} days ago`:p<31536e3?`${Math.floor(p/2592e3)} months ago`:`${Math.floor(p/31536e3)} years ago`}const c="MM/dd/yyyy",d="hh:mm a",h=i&&!s;return u.toLocaleDateString("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:i?"2-digit":void 0,minute:i?"2-digit":void 0,hour12:!0})}catch{return a}},K5=e=>typeof e=="string"&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(e),q5=l.forwardRef(({label:e,value:t,className:n,type:r="string",tags:i,tooltip:a,items:o,isModified:s=!1,isChanged:u=!1,size:c="medium",isHighlighted:d=!1,deletedValue:h,highlightColor:m="warning",isSearchActive:p=!1,originalValue:g=!1,showDiff:b=!1,theme:v="light",onUpload:x,acceptsUpload:y=!1,MasterDataModal:C,riskDetails:M,isRiskAnalysisOpen:E=!1,RiskDetailsCard:w,"aria-label":z},I)=>{const[k,F]=l.useState(!0),[N,B]=l.useState(!1),[H,L]=l.useState(null),[S,T]=l.useState(!1),G=()=>{F(!k)},O=X=>{B(!0),L({...X,value:t})},_=()=>{B(!1),L(null)},A=X=>{const K=X.target.files?.[0];K&&x&&x(K),X.target.value=""},$=()=>{const X=typeof t=="string"&&K5(t);if(p&&typeof t=="object")return t;if(t||r==="boolean"&&t===0||r==="currency"&&Number(t)>=0){if((t===!0||t==="True")&&!g)return"Yes";if((t===!1||t==="False")&&!g)return"No";if(r==="url")return f.jsx("a",{href:t,className:"text-primary-600 truncate",children:t});if(r==="boolean")return ru(t);if(r==="currency")return iu(t,o?.currency_code)||"-";if(r==="datetime"){const K=typeof t=="string"&&t.includes("Z")?t.replace(/\.000Z$/,"Z"):t;return $i(K,{skipTimezone:!1,withTime:!0})}else if(r==="date"||X){const K=typeof t=="string"&&t.includes("Z")?t.replace(/\.000Z$/,"Z"):t;return $i(K,{skipTimezone:!0,withTime:!1})}else return r==="percentage"?`${t}%`:typeof t=="string"&&t.length>100?f.jsxs("p",{children:[t.slice(0,k?100:t.length),k?"... ":" ",f.jsx("button",{id:`btn-label-value-${k?"Show more":"Show less"}`,className:"text-primary-400 text-sm hover:text-primary-500 cursor-pointer whitespace-nowrap",onClick:G,onKeyDown:K=>{(K.key==="Enter"||K.key===" ")&&(K.preventDefault(),G())},"aria-label":k?"Show more content":"Show less content",type:"button",children:k?"Show more":"Show less"})]}):t}return"-"},W=()=>{switch(c){case"small":return"extra-small";case"large":return"large";default:return"small"}},D=()=>{switch(m){case"success":return"bg-success-100";case"warning":return"bg-warning-100";case"error":return"bg-error-100";case"info":return"bg-info-100";default:return"bg-warning-100"}};return f.jsxs("div",{ref:I,className:Y("font-medium relative",n),onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),"aria-label":z||`Label: ${e}, Value: ${t}`,children:[f.jsxs(se,{variant:"medium",size:W(),className:"flex gap-1 flex-wrap",appearance:"subtitle",children:[e," ",f.jsx(St,{labels:i?.map(X=>({...X,color:X.color||"primary"}))}),i&&i.length>0&&f.jsx(f.Fragment,{children:i.map(X=>f.jsx(fr,{label:X.label,color:X.color,size:"xs",theme:v},`${X.label}-${X.value||X.color}`))}),a&&f.jsx(Ne.Tooltip,{placement:"top",title:a,children:f.jsx("div",{className:"cursor-pointer",role:"button",tabIndex:0,onKeyDown:X=>{(X.key==="Enter"||X.key===" ")&&X.preventDefault()},children:f.jsx(Vt,{size:14})})})]}),f.jsxs(se,{variant:"medium",size:W(),className:Y("text-- whitespace-normal break-all flex gap-1 pt-0.5",s&&"bg-neutral-50 dark:bg-black-700 p-1 rounded",E&&M?.color&&`bg-${M.color}-50 border-${M.color}-300 px-0.5 rounded-lg`),appearance:"body",children:[b&&h&&t?f.jsxs("div",{className:"flex gap-2",children:[f.jsx("span",{className:"line-through",children:h}),f.jsx("span",{children:$()})]}):u||d?f.jsx("mark",{className:Y("rounded-md py-0.5 px-1",D()),children:$()}):$(),o?.is_master_data&&o?.reference&&t&&f.jsx("button",{onClick:()=>O(o),onKeyDown:X=>{(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),O(o))},"aria-label":`Search master data for ${e}`,type:"button",className:"cursor-pointer",children:f.jsx(r0,{width:20,height:20})}),y&&f.jsx("input",{type:"file",onChange:A,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer","aria-label":`Upload file for ${e}`})]}),h&&!b&&f.jsx(se,{variant:"medium",size:"extra-small",className:"pt-0.5",appearance:"body",children:f.jsx("mark",{className:"rounded-md py-0.5 px-1 bg-error-100",children:f.jsx("del",{children:h||r==="boolean"&&h==="0"?h==="True"?"Yes":h==="False"?"No":r==="boolean"?ru(h):r==="currency"?iu(h,o?.currency_code):r==="date"?$i(h,{skipTimezone:!0,withTime:!1}):r==="datetime"?$i(h,{skipTimezone:!0,withTime:!0}):r==="percentage"?`${h}%`:h.length>100?f.jsxs("p",{children:[h.slice(0,k?100:h.length),k?"... ":" ",f.jsx("button",{id:`btn-label-value-${k?"Show more":"Show less"}`,className:"text-primary-400 text-sm hover:text-primary-500 cursor-pointer whitespace-nowrap",onClick:G,children:k?"Show more":"Show less"})]}):h:"-"})})}),C&&f.jsx(C,{isVisible:N,onClose:_,masterdataInfo:H}),S&&M&&E&&f.jsx("div",{className:"absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",onClick:X=>X.stopPropagation(),onMouseDown:X=>X.preventDefault(),onKeyDown:X=>{X.key==="Escape"&&T(!1)},role:"tooltip","aria-label":"Risk analysis details",tabIndex:0,children:w?f.jsx(w,{riskDetails:M}):f.jsx("div",{className:"shadow-lg p-4",children:f.jsxs("div",{className:"text-sm",children:[f.jsx("h4",{className:"font-semibold mb-2",children:"Risk Details"}),f.jsx("p",{className:"text-neutral-600 dark:text-neutral-300",children:M.description||"Risk analysis information"})]})})})]})});q5.displayName="LabelValue";const lu=l.forwardRef(({status:e,children:t,additionalChildren:n,ExpandedComponent:r,expandable:i=!1,icon:a,className:o,onClick:s,"aria-label":u},c)=>{const[d,h]=l.useState(!1),m=()=>{switch(e){case"success":return"bg-green-50 dark:bg-green-950 text-green-700 dark:text-green-300 border-l-4 border-green-400 dark:border-green-600";case"error":return"bg-red-50 dark:bg-red-950 text-red-700 dark:text-red-300 border-l-4 border-red-400 dark:border-red-600";case"warning":return"bg-yellow-50 dark:bg-yellow-950 text-yellow-700 dark:text-yellow-300 border-l-4 border-yellow-400 dark:border-yellow-600";case"info":return"bg-blue-50 dark:bg-blue-950 text-blue-700 dark:text-blue-300 border-l-4 border-blue-400 dark:border-blue-600";case"archived":return"bg-neutral-50 dark:bg-neutral-950 text-neutral-700 dark:text-neutral-300 border-l-4 border-neutral-400 dark:border-neutral-600";case"canceled":return"bg-gray-50 dark:bg-gray-950 text-gray-700 dark:text-gray-300 border-l-4 border-gray-400 dark:border-gray-600";case"queued":return"bg-blue-50 dark:bg-blue-950 text-blue-700 dark:text-blue-300 border-l-4 border-blue-400 dark:border-blue-600";case"paused":return"bg-orange-50 dark:bg-orange-950 text-orange-700 dark:text-orange-300 border-l-4 border-orange-400 dark:border-orange-600";case"awaiting_action":return"bg-orange-50 dark:bg-orange-950 text-orange-700 dark:text-orange-300 border-l-4 border-orange-400 dark:border-orange-600";case"skipped":return"bg-gray-50 dark:bg-gray-950 text-gray-700 dark:text-gray-300 border-l-4 border-gray-400 dark:border-gray-600";case"pending":return"bg-purple-50 dark:bg-purple-950 text-purple-700 dark:text-purple-300 border-l-4 border-purple-400 dark:border-purple-600";default:return"bg-blue-50 dark:bg-blue-950 text-blue-700 dark:text-blue-300 border-l-4 border-blue-400 dark:border-blue-600"}},p=()=>{if(a)return a;const v="w-5 h-5 flex-shrink-0";switch(e){case"success":return f.jsx("svg",{className:Y(v,"text-green-600 dark:text-green-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.236 4.53L7.53 10.06a.75.75 0 00-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})});case"error":return f.jsx("svg",{className:Y(v,"text-red-600 dark:text-red-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"})});case"warning":return f.jsx("svg",{className:Y(v,"text-yellow-600 dark:text-yellow-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})});case"info":case"queued":case"pending":return f.jsx("svg",{className:Y(v,"text-blue-600 dark:text-blue-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})});case"paused":return f.jsx("svg",{className:Y(v,"text-orange-600 dark:text-orange-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{d:"M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z"})});case"archived":case"canceled":case"skipped":return f.jsx("svg",{className:Y(v,"text-gray-600 dark:text-gray-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"})});case"awaiting_action":return f.jsx("svg",{className:Y(v,"text-orange-600 dark:text-orange-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm.75-13a.75.75 0 00-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 000-1.5h-3.25V5z",clipRule:"evenodd"})});default:return f.jsx("svg",{className:Y(v,"text-blue-600 dark:text-blue-400"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})})}},g=()=>{(i||e==="error")&&(h(!d),s?.())},b=i||e==="error";return f.jsxs("div",{ref:c,className:Y("w-full",o),children:[f.jsxs("div",{className:Y("flex items-center justify-between p-4 rounded-lg font-medium text-sm transition-all duration-200",m(),b&&["cursor-pointer select-none","hover:shadow-md","active:scale-[0.99]"]),onClick:g,role:b?"button":void 0,tabIndex:b?0:void 0,onKeyDown:v=>{b&&(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),g())},"aria-label":u||`Banner: ${e}`,"aria-expanded":b?d:void 0,children:[f.jsxs("div",{className:"flex items-center gap-3 flex-1",children:[p(),f.jsx("span",{className:"flex-1",children:t})]}),f.jsxs("div",{className:"flex items-center gap-2",children:[n&&f.jsx("div",{className:"flex items-center",children:n}),b&&f.jsx("div",{className:"flex items-center",children:f.jsx("svg",{className:Y("w-5 h-5 transition-transform duration-200",d?"rotate-180":"rotate-0"),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]})]}),f.jsx(Ue.AnimatePresence,{children:d&&r&&f.jsx(Ue.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2},className:"overflow-hidden",children:f.jsx("div",{className:"pt-2",children:f.jsx(r,{children:t})})})})]})});lu.displayName="Banner";var at=function(){return at=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},at.apply(this,arguments)},Q5={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},R5={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},Ea={width:"20px",height:"20px",position:"absolute",zIndex:1},xT={top:at(at({},Q5),{top:"-5px"}),right:at(at({},R5),{left:void 0,right:"-5px"}),bottom:at(at({},Q5),{top:void 0,bottom:"-5px"}),left:at(at({},R5),{left:"-5px"}),topRight:at(at({},Ea),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:at(at({},Ea),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:at(at({},Ea),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:at(at({},Ea),{left:"-10px",top:"-10px",cursor:"nw-resize"})},wT=l.memo(function(e){var t=e.onResizeStart,n=e.direction,r=e.children,i=e.replaceStyles,a=e.className,o=l.useCallback(function(c){t(c,n)},[t,n]),s=l.useCallback(function(c){t(c,n)},[t,n]),u=l.useMemo(function(){return at(at({position:"absolute",userSelect:"none"},xT[n]),i??{})},[i,n]);return f.jsx("div",{className:a||void 0,style:u,onMouseDown:o,onTouchStart:s,children:r})}),yT=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),mn=function(){return mn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},mn.apply(this,arguments)},ET={width:"auto",height:"auto"},Ca=function(e,t,n){return Math.max(Math.min(e,n),t)},ep=function(e,t,n){var r=Math.round(e/t);return r*t+n*(r-1)},jr=function(e,t){return new RegExp(e,"i").test(t)},ka=function(e){return!!(e.touches&&e.touches.length)},CT=function(e){return!!((e.clientX||e.clientX===0)&&(e.clientY||e.clientY===0))},tp=function(e,t,n){n===void 0&&(n=0);var r=t.reduce(function(a,o,s){return Math.abs(o-e)<Math.abs(t[a]-e)?s:a},0),i=Math.abs(t[r]-e);return n===0||i<n?t[r]:e},au=function(e){return e=e.toString(),e==="auto"||e.endsWith("px")||e.endsWith("%")||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("vmax")||e.endsWith("vmin")?e:"".concat(e,"px")},Ia=function(e,t,n,r){if(e&&typeof e=="string"){if(e.endsWith("px"))return Number(e.replace("px",""));if(e.endsWith("%")){var i=Number(e.replace("%",""))/100;return t*i}if(e.endsWith("vw")){var i=Number(e.replace("vw",""))/100;return n*i}if(e.endsWith("vh")){var i=Number(e.replace("vh",""))/100;return r*i}}return e},kT=function(e,t,n,r,i,a,o){return r=Ia(r,e.width,t,n),i=Ia(i,e.height,t,n),a=Ia(a,e.width,t,n),o=Ia(o,e.height,t,n),{maxWidth:typeof r>"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof a>"u"?void 0:Number(a),minHeight:typeof o>"u"?void 0:Number(o)}},IT=function(e){return Array.isArray(e)?e:[e,e]},zT=["as","ref","style","className","grid","gridGap","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],np="__resizable_base__",FT=function(e){yT(t,e);function t(n){var r,i,a,o,s=e.call(this,n)||this;return s.ratio=1,s.resizable=null,s.parentLeft=0,s.parentTop=0,s.resizableLeft=0,s.resizableRight=0,s.resizableTop=0,s.resizableBottom=0,s.targetLeft=0,s.targetTop=0,s.delta={width:0,height:0},s.appendBase=function(){if(!s.resizable||!s.window)return null;var u=s.parentNode;if(!u)return null;var c=s.window.document.createElement("div");return c.style.width="100%",c.style.height="100%",c.style.position="absolute",c.style.transform="scale(0, 0)",c.style.left="0",c.style.flex="0 0 100%",c.classList?c.classList.add(np):c.className+=np,u.appendChild(c),c},s.removeBase=function(u){var c=s.parentNode;c&&c.removeChild(u)},s.state={isResizing:!1,width:(i=(r=s.propsSize)===null||r===void 0?void 0:r.width)!==null&&i!==void 0?i:"auto",height:(o=(a=s.propsSize)===null||a===void 0?void 0:a.height)!==null&&o!==void 0?o:"auto",direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},s.onResizeStart=s.onResizeStart.bind(s),s.onMouseMove=s.onMouseMove.bind(s),s.onMouseUp=s.onMouseUp.bind(s),s}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||ET},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,a=this.resizable.offsetHeight,o=this.resizable.style.position;o!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:a,this.resizable.style.position=o}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){var u;if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&(!((u=n.propsSize[s])===null||u===void 0)&&u.toString().endsWith("%"))){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var c=n.getParentSize(),d=Number(n.state[s].toString().replace("px","")),h=d/c[s]*100;return"".concat(h,"%")}return au(n.state[s])},a=r&&typeof r.width<"u"&&!this.state.isResizing?au(r.width):i("width"),o=r&&typeof r.height<"u"&&!this.state.isResizing?au(r.height):i("height");return{width:a,height:o}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var a={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),a},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,a=this.state.direction,o=i&&jr("left",a),s=i&&jr("top",a),u,c;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(u=o?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),c=s?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(u=o?this.resizableRight:this.window.innerWidth-this.resizableLeft,c=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(u=o?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),c=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return u&&Number.isFinite(u)&&(n=n&&n<u?n:u),c&&Number.isFinite(c)&&(r=r&&r<c?r:c),{maxWidth:n,maxHeight:r}},t.prototype.calculateNewSizeFromDirection=function(n,r){var i=this.props.scale||1,a=IT(this.props.resizeRatio||1),o=a[0],s=a[1],u=this.state,c=u.direction,d=u.original,h=this.props,m=h.lockAspectRatio,p=h.lockAspectRatioExtraHeight,g=h.lockAspectRatioExtraWidth,b=d.width,v=d.height,x=p||0,y=g||0;return jr("right",c)&&(b=d.width+(n-d.x)*o/i,m&&(v=(b-y)/this.ratio+x)),jr("left",c)&&(b=d.width-(n-d.x)*o/i,m&&(v=(b-y)/this.ratio+x)),jr("bottom",c)&&(v=d.height+(r-d.y)*s/i,m&&(b=(v-x)*this.ratio+y)),jr("top",c)&&(v=d.height-(r-d.y)*s/i,m&&(b=(v-x)*this.ratio+y)),{newWidth:b,newHeight:v}},t.prototype.calculateNewSizeFromAspectRatio=function(n,r,i,a){var o=this.props,s=o.lockAspectRatio,u=o.lockAspectRatioExtraHeight,c=o.lockAspectRatioExtraWidth,d=typeof a.width>"u"?10:a.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof a.height>"u"?10:a.height,p=typeof i.height>"u"||i.height<0?r:i.height,g=u||0,b=c||0;if(s){var v=(m-g)*this.ratio+b,x=(p-g)*this.ratio+b,y=(d-b)/this.ratio+g,C=(h-b)/this.ratio+g,M=Math.max(d,v),E=Math.min(h,x),w=Math.max(m,y),z=Math.min(p,C);n=Ca(n,M,E),r=Ca(r,w,z)}else n=Ca(n,d,h),r=Ca(r,m,p);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){var n=1/(this.props.scale||1);if(this.props.bounds==="parent"){var r=this.parentNode;if(r){var i=r.getBoundingClientRect();this.parentLeft=i.left*n,this.parentTop=i.top*n}}if(this.props.bounds&&typeof this.props.bounds!="string"){var a=this.props.bounds.getBoundingClientRect();this.targetLeft=a.left*n,this.targetTop=a.top*n}if(this.resizable){var o=this.resizable.getBoundingClientRect(),s=o.left,u=o.top,c=o.right,d=o.bottom;this.resizableLeft=s*n,this.resizableRight=c*n,this.resizableTop=u*n,this.resizableBottom=d*n}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,a=0;if(n.nativeEvent&&CT(n.nativeEvent)?(i=n.nativeEvent.clientX,a=n.nativeEvent.clientY):n.nativeEvent&&ka(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,a=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var o=this.props.onResizeStart(n,r,this.resizable);if(o===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,u=this.window.getComputedStyle(this.resizable);if(u.flexBasis!=="auto"){var c=this.parentNode;if(c){var d=this.window.getComputedStyle(c).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",s=u.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:a,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:mn(mn({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&ka(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,a=i.maxWidth,o=i.maxHeight,s=i.minWidth,u=i.minHeight,c=ka(n)?n.touches[0].clientX:n.clientX,d=ka(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,p=h.original,g=h.width,b=h.height,v=this.getParentSize(),x=kT(v,this.window.innerWidth,this.window.innerHeight,a,o,s,u);a=x.maxWidth,o=x.maxHeight,s=x.minWidth,u=x.minHeight;var y=this.calculateNewSizeFromDirection(c,d),C=y.newHeight,M=y.newWidth,E=this.calculateNewMaxFromBoundary(a,o);this.props.snap&&this.props.snap.x&&(M=tp(M,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(C=tp(C,this.props.snap.y,this.props.snapGap));var w=this.calculateNewSizeFromAspectRatio(M,C,{width:E.maxWidth,height:E.maxHeight},{width:s,height:u});if(M=w.newWidth,C=w.newHeight,this.props.grid){var z=ep(M,this.props.grid[0],this.props.gridGap?this.props.gridGap[0]:0),I=ep(C,this.props.grid[1],this.props.gridGap?this.props.gridGap[1]:0),k=this.props.snapGap||0,F=k===0||Math.abs(z-M)<=k?z:M,N=k===0||Math.abs(I-C)<=k?I:C;M=F,C=N}var B={width:M-p.width,height:C-p.height};if(this.delta=B,g&&typeof g=="string"){if(g.endsWith("%")){var H=M/v.width*100;M="".concat(H,"%")}else if(g.endsWith("vw")){var L=M/this.window.innerWidth*100;M="".concat(L,"vw")}else if(g.endsWith("vh")){var S=M/this.window.innerHeight*100;M="".concat(S,"vh")}}if(b&&typeof b=="string"){if(b.endsWith("%")){var H=C/v.height*100;C="".concat(H,"%")}else if(b.endsWith("vw")){var L=C/this.window.innerWidth*100;C="".concat(L,"vw")}else if(b.endsWith("vh")){var S=C/this.window.innerHeight*100;C="".concat(S,"vh")}}var T={width:this.createSizeForCssProperty(M,"width"),height:this.createSizeForCssProperty(C,"height")};this.flexDir==="row"?T.flexBasis=T.width:this.flexDir==="column"&&(T.flexBasis=T.height);var G=this.state.width!==T.width,O=this.state.height!==T.height,_=this.state.flexBasis!==T.flexBasis,A=G||O||_;A&&dr.flushSync(function(){r.setState(T)}),this.props.onResize&&A&&this.props.onResize(n,m,this.resizable,B)}},t.prototype.onMouseUp=function(n){var r,i,a=this.state,o=a.isResizing,s=a.direction;a.original,!(!o||!this.resizable)&&(this.props.onResizeStop&&this.props.onResizeStop(n,s,this.resizable,this.delta),this.props.size&&this.setState({width:(r=this.props.size.width)!==null&&r!==void 0?r:"auto",height:(i=this.props.size.height)!==null&&i!==void 0?i:"auto"}),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:mn(mn({},this.state.backgroundStyle),{cursor:"auto"})}))},t.prototype.updateSize=function(n){var r,i;this.setState({width:(r=n.width)!==null&&r!==void 0?r:"auto",height:(i=n.height)!==null&&i!==void 0?i:"auto"})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,a=r.handleStyles,o=r.handleClasses,s=r.handleWrapperStyle,u=r.handleWrapperClass,c=r.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(h){return i[h]!==!1?f.jsx(wT,{direction:h,onResizeStart:n.onResizeStart,replaceStyles:a&&a[h],className:o&&o[h],children:c&&c[h]?c[h]:null},h):null});return f.jsx("div",{className:u,style:s,children:d})},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(o,s){return zT.indexOf(s)!==-1||(o[s]=n.props[s]),o},{}),i=mn(mn(mn({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var a=this.props.as||"div";return f.jsxs(a,mn({style:i,className:this.props.className},r,{ref:function(o){o&&(n.resizable=o)},children:[this.state.isResizing&&f.jsx("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer()]}))},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],gridGap:[0,0],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(l.PureComponent);const MT=()=>f.jsx("div",{className:"cursor-ew-resize flex items-center justify-center rounded-full bg-[#1018288F] bg-opacity-55 w-8 h-8 shadow-200 border-[1.5px] border-[#FFFFFF3D]",children:f.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("mask",{id:"mask0_36675_12",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20",children:f.jsx("rect",{y:"20",width:"20",height:"20",transform:"rotate(-90 0 20)",fill:"#D9D9D9"})}),f.jsx("g",{mask:"url(#mask0_36675_12)",children:f.jsx("path",{d:"M15.9583 10L12.7292 6.77084C12.5625 6.60418 12.4792 6.40973 12.4792 6.18751C12.4792 5.96529 12.5625 5.77084 12.7292 5.60418C12.8958 5.43751 13.0938 5.35418 13.3229 5.35418C13.5521 5.35418 13.75 5.43751 13.9167 5.60418L17.1458 8.81251C17.4653 9.13195 17.625 9.52779 17.625 10C17.625 10.4722 17.4653 10.8681 17.1458 11.1875L13.9167 14.4167C13.75 14.5833 13.5521 14.6632 13.3229 14.6563C13.0938 14.6493 12.8958 14.5625 12.7292 14.3958C12.5625 14.2292 12.4792 14.0313 12.4792 13.8021C12.4792 13.5729 12.5625 13.375 12.7292 13.2083L15.9583 10ZM4.04167 10L7.25 13.2083C7.41667 13.375 7.49653 13.5695 7.48958 13.7917C7.48264 14.0139 7.40278 14.2083 7.25 14.375C7.08333 14.5417 6.88542 14.6285 6.65625 14.6354C6.42708 14.6424 6.22917 14.5625 6.0625 14.3958L2.85417 11.1875C2.53472 10.8681 2.375 10.4722 2.375 10C2.375 9.52779 2.53472 9.13195 2.85417 8.81251L6.0625 5.60418C6.22917 5.43751 6.42708 5.35765 6.65625 5.36459C6.88542 5.37154 7.08333 5.45834 7.25 5.62501C7.40278 5.79168 7.48264 5.98612 7.48958 6.20834C7.49653 6.43057 7.41667 6.62501 7.25 6.79168L4.04167 10Z",fill:"white"})})]})}),ST=(e,t)=>{const n=document.getElementById(e);n?t(n):requestAnimationFrame(()=>{const r=document.getElementById(e);r&&t(r)})},AT=(e,t)=>{if(e.current){if(t)localStorage.setItem("resizable-sidebar-width-before-fullscreen",String(e.current.size?.width));else{const n=localStorage.getItem("resizable-sidebar-width-before-fullscreen");if(n){e.current.updateSize({width:n,height:"100%"});return}}e.current.updateSize({width:t?"100vw":"",height:"100%"})}},NT=(e,t,n,r,i,a)=>{const[o,s]=l.useState(!1),[u,c]=l.useState(null);return l.useEffect(()=>{if(!e||typeof window>"u"){c(null);return}ST(e,c)},[e]),l.useEffect(()=>{AT(i,n)},[n]),l.useEffect(()=>{if(e&&t){const d=requestAnimationFrame(()=>{s(!0)});return()=>{cancelAnimationFrame(d),s(!1)}}e||s(!0),t||s(!1)},[t,e]),l.useEffect(()=>{i.current?.size?.width&&r&&r(i.current.size.width)},[i.current?.size?.width,r]),{shouldRenderSidebar:o,portalTarget:u}},DT=({isOpen:e,header:t,id:n,ref:r,className:i,containerClassName:a,widthStyle:o,heightStyle:s,motionVariants:u,resizableRef:c,fullScreen:d,maxResizableWidth:h,minWidth:m,handleKey:p,onDragEnd:g,onResize:b,children:v})=>f.jsx(Ue.AnimatePresence,{children:e&&f.jsx(Ue.motion.div,{ref:r,id:n,initial:u.initial,animate:u.animate,exit:u.exit,transition:{type:"tween",duration:.3},className:Y("flex-shrink-0 z-50 relative bg-white border-neutral-200 dark:bg-black-800 dark:border-black-700",d?"fixed w-full transition translate-x-4 duration-300":"sticky",i),style:{width:o,height:s},children:f.jsx(FT,{onResize:x=>{x.stopPropagation();const y=c.current?.size?.width;b&&b(y||m)},onResizeStart:x=>{x.stopPropagation()},ref:c,maxWidth:d?h:h*.75,minWidth:m,minHeight:s,maxHeight:s,enable:d?{}:{[p]:!0},handleClasses:{[p]:Y("relative w-6 -left-1 flex items-center justify-center bg-transparent transition-colors cursor-ew-resize group z-[9999] hover:bg-neutral-200 dark:hover:bg-neutral-700")},handleComponent:{[p]:f.jsx("div",{className:Y("absolute -left-2.5 top-1/2 -translate-y-1/2 flex items-center justify-center w-8 h-12 cursor-ew-resize opacity-0 group-hover:opacity-100 hover:opacity-100 active:opacity-100 transition-opacity z-[9999]",p==="left"&&"-right-2.5 -left-auto"),children:f.jsx(MT,{})})},className:"!h-full",onResizeStop:g||void 0,children:f.jsxs("div",{className:Y("h-full w-full flex flex-col overflow-hidden @container/sidebar border-b border-neutral-200 dark:border-black-700 bg-white dark:bg-black-800 dark:border",a),children:[t?f.jsx("div",{className:"py-4 px-6",children:t||null}):null,f.jsx("div",{className:"flex-1 overflow-y-auto overflow-x-hidden",children:v})]})})})}),rp=l.forwardRef(({isOpen:e,children:t,fullScreen:n=!1,defaultSize:r=void 0,minWidth:i=400,onDragEnd:a=null,onResize:o,className:s,placement:u="right",parentContainer:c,header:d,id:h,containerClassName:m,ignoreParentContainerHeight:p=!1,height:g,isMainSidebarExpanded:b=!1,mainSidebarExpandedWidth:v=280,mainSidebarCollapsedWidth:x=80,navbarHeight:y=64},C)=>{const M=b?v:x,E=l.useRef(null),{shouldRenderSidebar:w,portalTarget:z}=NT(c,e,n,o,E),I=typeof window<"u"?window.innerWidth-M:0,k=r,F=u==="right",N=g||(c&&!p?"100%":`calc(100vh - ${y}px)`),B={initial:{x:F?"100%":"-100%"},animate:{x:0},exit:{x:F?"100%":"-100%"}},H=F?"left":"right",L=f.jsx(DT,{isOpen:e,header:d,id:h,ref:C,className:s,containerClassName:m,widthStyle:k,heightStyle:N,motionVariants:B,resizableRef:E,fullScreen:n,maxResizableWidth:I,minWidth:i,handleKey:H,onDragEnd:a,onResize:o,children:t});return c?!w||!z?null:dr.createPortal(L,z):w?L:null});rp.displayName="ResizableSidebar";const ip=l.forwardRef(({pdfUrl:e,width:t="100%",height:n="100vh",className:r,iframeClassName:i,title:a="PDF Viewer",showLoading:o=!0,loadingComponent:s,errorComponent:u,onError:c,onLoad:d,allowFullScreen:h=!0,"aria-label":m},p)=>{const[g,b]=l.useState(!0),[v,x]=l.useState(!1),y=()=>{b(!1),x(!1),d?.()},C=()=>{b(!1),x(!0),c?.()},M=f.jsx("div",{className:"flex items-center justify-center h-full bg-neutral-50 dark:bg-neutral-900",children:f.jsxs("div",{className:"text-center",children:[f.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600 mx-auto mb-4"}),f.jsx("p",{className:"text-neutral-600 dark:text-neutral-400 text-sm",children:"Loading PDF..."})]})}),E=f.jsx("div",{className:"flex items-center justify-center h-full bg-neutral-50 dark:bg-neutral-900",children:f.jsxs("div",{className:"text-center p-6",children:[f.jsx("svg",{className:"mx-auto h-12 w-12 text-red-400 mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.998-.833-2.768 0L3.046 16.5c-.77.833.192 2.5 1.732 2.5z"})}),f.jsx("h3",{className:"text-lg font-medium text-neutral-900 dark:text-neutral-100 mb-2",children:"Failed to load PDF"}),f.jsx("p",{className:"text-neutral-600 dark:text-neutral-400 text-sm mb-4",children:"The PDF document could not be displayed. Please check the URL or try again later."}),f.jsx("button",{onClick:()=>{x(!1),b(!0);const z=document.querySelector(`iframe[src="${e}"]`);z&&(z.src=z.src)},className:"bg-blue-600 text-white px-4 py-2 rounded-md text-sm hover:bg-blue-700 transition-colors",children:"Retry"})]})});return!e||!(z=>{try{return new URL(z,window.location.href).pathname.toLowerCase().endsWith(".pdf")||z.includes("pdf")}catch{return!1}})(e)?f.jsx("div",{ref:p,className:Y("relative overflow-hidden",r),style:{width:t,height:n},children:u||E}):f.jsxs("div",{ref:p,className:Y("relative overflow-hidden",r),style:{width:t,height:n},"aria-label":m||`PDF Viewer: ${a}`,children:[g&&o&&f.jsx("div",{className:"absolute inset-0 z-10",children:s||M}),v&&f.jsx("div",{className:"absolute inset-0 z-10",children:u||E}),!v&&f.jsx("iframe",{src:e,title:a,className:Y("w-full h-full border-none",g&&"opacity-0",i),onLoad:y,onError:C,allowFullScreen:h,loading:"lazy",sandbox:"allow-same-origin allow-scripts allow-forms","aria-label":m||`PDF document: ${a}`}),f.jsx("div",{className:"sr-only",children:"PDF document viewer. Use your browser's PDF controls to navigate, zoom, or download the document."})]})});ip.displayName="PdfViewer";const lp=l.forwardRef(({children:e,component:t,placement:n="bottom",isOpen:r,toggleMenu:i,parentContainer:a,noSpacing:o=!1,triggerClassName:s,containerClassName:u,className:c,showArrow:d=!1,offset:h=8,disableOutsideClick:m=!1,"aria-label":p,disabled:g=!1},b)=>{const v=l.useRef(null),x=l.useRef(null);Bo({ref:x,handler:()=>{!m&&r&&i?.()},enabled:r&&!m}),l.useEffect(()=>{if(!r||!v.current||!x.current)return;const w=v.current,z=x.current,I=w.getBoundingClientRect(),k=z.getBoundingClientRect(),F={width:window.innerWidth,height:window.innerHeight};let N=0,B=0;switch(n){case"top":N=I.top-k.height-h,B=I.left+(I.width-k.width)/2;break;case"top-start":N=I.top-k.height-h,B=I.left;break;case"top-end":N=I.top-k.height-h,B=I.right-k.width;break;case"bottom":N=I.bottom+h,B=I.left+(I.width-k.width)/2;break;case"bottom-start":N=I.bottom+h,B=I.left;break;case"bottom-end":N=I.bottom+h,B=I.right-k.width;break;case"left":N=I.top+(I.height-k.height)/2,B=I.left-k.width-h;break;case"left-start":N=I.top,B=I.left-k.width-h;break;case"left-end":N=I.bottom-k.height,B=I.left-k.width-h;break;case"right":N=I.top+(I.height-k.height)/2,B=I.right+h;break;case"right-start":N=I.top,B=I.right+h;break;case"right-end":N=I.bottom-k.height,B=I.right+h;break}B<0&&(B=8),B+k.width>F.width&&(B=F.width-k.width-8),N<0&&(N=8),N+k.height>F.height&&(N=F.height-k.height-8),z.style.top=`${N}px`,z.style.left=`${B}px`},[r,n,h]);const y=w=>{g||i?.(w)},C=w=>{w.key==="Escape"&&r&&i?.()},M=()=>{const w="absolute w-2 h-2 bg-white dark:bg-neutral-800 transform rotate-45 border";switch(n){case"top":case"top-start":case"top-end":return Y(w,"bottom-[-4px] border-t-0 border-l-0");case"bottom":case"bottom-start":case"bottom-end":return Y(w,"top-[-4px] border-b-0 border-r-0");case"left":case"left-start":case"left-end":return Y(w,"right-[-4px] border-l-0 border-b-0");case"right":case"right-start":case"right-end":return Y(w,"left-[-4px] border-r-0 border-t-0");default:return Y(w,"top-[-4px] border-b-0 border-r-0")}},E=()=>{switch(n){case"top":case"bottom":return{left:"50%",transform:"translateX(-50%)"};case"top-start":case"bottom-start":return{left:"12px"};case"top-end":case"bottom-end":return{right:"12px"};case"left":case"right":return{top:"50%",transform:"translateY(-50%)"};case"left-start":case"right-start":return{top:"12px"};case"left-end":case"right-end":return{bottom:"12px"};default:return{left:"50%",transform:"translateX(-50%)"}}};return f.jsxs("div",{ref:b,className:Y("relative inline-block",c),children:[f.jsx("button",{ref:v,onClick:y,onKeyDown:C,className:Y("flex items-center justify-center outline-none focus:outline-none transition-colors",!o&&"p-2",g&&"opacity-50 cursor-not-allowed",s),"aria-label":p,"aria-expanded":r,"aria-haspopup":"true",disabled:g,type:"button",children:e}),r&&dr.createPortal(f.jsx(Ue.AnimatePresence,{children:f.jsxs(Ue.motion.div,{ref:x,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},className:Y("fixed z-[9999] bg-white dark:bg-neutral-800 rounded-lg shadow-lg border border-neutral-200 dark:border-neutral-700","focus:outline-none",u),style:{minWidth:"120px"},role:"menu","aria-orientation":"vertical",tabIndex:-1,children:[d&&f.jsx("div",{className:M(),style:E()}),f.jsx("div",{className:"relative",children:t})]})}),document.getElementById(a)||document.body)]})});lp.displayName="Popper";const LT=({size:e=24,fill:t="#12B76A"})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:t,xmlns:"http://www.w3.org/2000/svg",children:f.jsx("g",{mask:"url(#mask0_4874_46615)",children:f.jsx("path",{d:"M10.6 13.8L8.425 11.625C8.24167 11.4417 8.01267 11.3543 7.738 11.363C7.46267 11.371 7.23333 11.4667 7.05 11.65C6.86667 11.8333 6.775 12.0667 6.775 12.35C6.775 12.6333 6.86667 12.8667 7.05 13.05L9.9 15.9C10.0833 16.0833 10.3167 16.175 10.6 16.175C10.8833 16.175 11.1167 16.0833 11.3 15.9L16.975 10.225C17.1583 10.0417 17.246 9.81233 17.238 9.537C17.2293 9.26233 17.1333 9.03333 16.95 8.85C16.7667 8.66667 16.5333 8.575 16.25 8.575C15.9667 8.575 15.7333 8.66667 15.55 8.85L10.6 13.8ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6873 5.825 19.975 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26267 14.6833 2 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31267 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.31233 8.1 2.787C9.31667 2.26233 10.6167 2 12 2C13.3833 2 14.6833 2.26233 15.9 2.787C17.1167 3.31233 18.175 4.025 19.075 4.925C19.975 5.825 20.6873 6.88333 21.212 8.1C21.7373 9.31667 22 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6873 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6873 15.9 21.212C14.6833 21.7373 13.3833 22 12 22ZM12 20C14.2167 20 16.1043 19.221 17.663 17.663C19.221 16.1043 20 14.2167 20 12C20 9.78333 19.221 7.89567 17.663 6.337C16.1043 4.779 14.2167 4 12 4C9.78333 4 7.896 4.779 6.338 6.337C4.77933 7.89567 4 9.78333 4 12C4 14.2167 4.77933 16.1043 6.338 17.663C7.896 19.221 9.78333 20 12 20Z",fill:t})})}),TT=({size:e=24,fill:t="#F04438"})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("g",{id:"error",children:f.jsx("g",{mask:"url(#mask0_4874_46622)",children:f.jsx("path",{id:"error_2",d:"M12 17C12.2833 17 12.5208 16.9042 12.7125 16.7125C12.9042 16.5208 13 16.2833 13 16C13 15.7167 12.9042 15.4792 12.7125 15.2875C12.5208 15.0958 12.2833 15 12 15C11.7167 15 11.4792 15.0958 11.2875 15.2875C11.0958 15.4792 11 15.7167 11 16C11 16.2833 11.0958 16.5208 11.2875 16.7125C11.4792 16.9042 11.7167 17 12 17ZM12 13C12.2833 13 12.5208 12.9042 12.7125 12.7125C12.9042 12.5208 13 12.2833 13 12V8C13 7.71667 12.9042 7.47917 12.7125 7.2875C12.5208 7.09583 12.2833 7 12 7C11.7167 7 11.4792 7.09583 11.2875 7.2875C11.0958 7.47917 11 7.71667 11 8V12C11 12.2833 11.0958 12.5208 11.2875 12.7125C11.4792 12.9042 11.7167 13 12 13ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:t})})})}),BT=({size:e=24,fill:t="#F79009"})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99ZM2.74 18C1.97 19.33 2.93 21 4.47 21H19.53C21.07 21 22.03 19.33 21.26 18L13.73 4.99C12.96 3.66 11.04 3.66 10.27 4.99L2.74 18ZM11 11V13C11 13.55 11.45 14 12 14C12.55 14 13 13.55 13 13V11C13 10.45 12.55 10 12 10C11.45 10 11 10.45 11 11ZM11 16H13V18H11V16Z",fill:t})}),HT=({size:e=24,fill:t="#016DCF"})=>f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[f.jsx("mask",{id:"mask0_32271_5688",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:f.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),f.jsx("g",{mask:"url(#mask0_32271_5688)",children:f.jsx("path",{d:"M12 17C12.2833 17 12.5208 16.9042 12.7125 16.7125C12.9042 16.5208 13 16.2833 13 16V12C13 11.7167 12.9042 11.4792 12.7125 11.2875C12.5208 11.0958 12.2833 11 12 11C11.7167 11 11.4792 11.0958 11.2875 11.2875C11.0958 11.4792 11 11.7167 11 12V16C11 16.2833 11.0958 16.5208 11.2875 16.7125C11.4792 16.9042 11.7167 17 12 17ZM12 9C12.2833 9 12.5208 8.90417 12.7125 8.7125C12.9042 8.52083 13 8.28333 13 8C13 7.71667 12.9042 7.47917 12.7125 7.2875C12.5208 7.09583 12.2833 7 12 7C11.7167 7 11.4792 7.09583 11.2875 7.2875C11.0958 7.47917 11 7.71667 11 8C11 8.28333 11.0958 8.52083 11.2875 8.7125C11.4792 8.90417 11.7167 9 12 9ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:t})})]}),jT=({size:e=24,fill:t="#016DCF"})=>f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[f.jsx("mask",{id:"mask0_35096_2621",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:f.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),f.jsx("g",{mask:"url(#mask0_35096_2621)",children:f.jsx("path",{d:"M8 20H16V17C16 15.9 15.6083 14.9583 14.825 14.175C14.0417 13.3917 13.1 13 12 13C10.9 13 9.95833 13.3917 9.175 14.175C8.39167 14.9583 8 15.9 8 17V20ZM12 11C13.1 11 14.0417 10.6083 14.825 9.825C15.6083 9.04167 16 8.1 16 7V4H8V7C8 8.1 8.39167 9.04167 9.175 9.825C9.95833 10.6083 10.9 11 12 11ZM5 22C4.71667 22 4.47917 21.9042 4.2875 21.7125C4.09583 21.5208 4 21.2833 4 21C4 20.7167 4.09583 20.4792 4.2875 20.2875C4.47917 20.0958 4.71667 20 5 20H6V17C6 15.9833 6.2375 15.0292 6.7125 14.1375C7.1875 13.2458 7.85 12.5333 8.7 12C7.85 11.4667 7.1875 10.7542 6.7125 9.8625C6.2375 8.97083 6 8.01667 6 7V4H5C4.71667 4 4.47917 3.90417 4.2875 3.7125C4.09583 3.52083 4 3.28333 4 3C4 2.71667 4.09583 2.47917 4.2875 2.2875C4.47917 2.09583 4.71667 2 5 2H19C19.2833 2 19.5208 2.09583 19.7125 2.2875C19.9042 2.47917 20 2.71667 20 3C20 3.28333 19.9042 3.52083 19.7125 3.7125C19.5208 3.90417 19.2833 4 19 4H18V7C18 8.01667 17.7625 8.97083 17.2875 9.8625C16.8125 10.7542 16.15 11.4667 15.3 12C16.15 12.5333 16.8125 13.2458 17.2875 14.1375C17.7625 15.0292 18 15.9833 18 17V20H19C19.2833 20 19.5208 20.0958 19.7125 20.2875C19.9042 20.4792 20 20.7167 20 21C20 21.2833 19.9042 21.5208 19.7125 21.7125C19.5208 21.9042 19.2833 22 19 22H5Z",fill:t})})]}),PT=({size:e=16})=>f.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M18.3 5.71a.996.996 0 00-1.41 0L12 10.59 7.11 5.7A.996.996 0 105.7 7.11L10.59 12 5.7 16.89a.996.996 0 101.41 1.41L12 13.41l4.89 4.89a.996.996 0 101.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"})}),OT=e=>{switch(e){case"success":return f.jsx("div",{className:"w-8 h-8 bg-green-50 dark:bg-green-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(LT,{size:24,fill:"#12B76A"})});case"error":return f.jsx("div",{className:"w-8 h-8 bg-red-50 dark:bg-red-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(TT,{fill:"#F04438",size:24})});case"warning":return f.jsx("div",{className:"w-8 h-8 bg-yellow-50 dark:bg-yellow-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(BT,{fill:"#F79009",size:24})});case"info":return f.jsx("div",{className:"w-8 h-8 bg-blue-50 dark:bg-blue-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(HT,{})});case"in-progress":return f.jsx("div",{className:"w-8 h-8 bg-blue-50 dark:bg-blue-900 rounded-full p-1 flex justify-center items-center",children:f.jsx(jT,{})});default:return null}},VT={success:"border-b-[5px] !border-green-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600",error:"border-b-[5px] !border-red-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600",warning:"border-b-[5px] !border-yellow-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600",info:"border-b-[5px] !border-blue-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600","in-progress":"border-b-[5px] !border-blue-500 dark:!border-t-[1px] dark:!border-r-[1px] dark:!border-l-[1px] dark:!border-t-neutral-600 dark:!border-r-neutral-600 dark:!border-l-neutral-600"},GT=({closeToast:e})=>f.jsx("button",{onClick:e,className:"text-neutral-900 dark:text-white hover:text-neutral-600 dark:hover:text-neutral-300 transition-colors",children:f.jsx(PT,{size:16})}),_T=({position:e="bottom-right",autoClose:t=3e3,hideProgressBar:n=!0,newestOnTop:r=!0,closeOnClick:i=!0,pauseOnFocusLoss:a=!1,draggable:o=!0,pauseOnHover:s=!0,rtl:u=!1,className:c,style:d={zIndex:1e5},...h})=>f.jsx(AC,{position:e,transition:MC,autoClose:t,hideProgressBar:n,newestOnTop:r,closeOnClick:i,rtl:u,pauseOnFocusLoss:a,draggable:o,pauseOnHover:s,icon:({type:m})=>OT(m),bodyStyle:{gap:"4px"},style:d,toastClassName:m=>{const{type:p="",defaultClassName:g=""}=m||{};return`w-[100%] sm:w-[400px] bg-white dark:bg-neutral-800 rounded-[4px] font-medium text-sm text-neutral-900 dark:text-white shadow-lg p-[20px] min-h-0 ${g} ${VT[p]} ${c||""}`},closeButton:GT,...h}),$T={success:(e,t)=>Fe.success(e,t),error:(e,t)=>Fe.error(e,t),warning:(e,t)=>Fe.warning(e,t),info:(e,t)=>Fe.info(e,t),inProgress:(e,t)=>Fe(e,{...t,type:"in-progress"}),dismiss:e=>Fe.dismiss(e),isActive:e=>Fe.isActive(e)},WT=({visible:e,onClose:t,content:n,title:r,onConfirm:i,isLoading:a,variant:o,cancelText:s="Cancel",confirmText:u})=>{const c=l.useMemo(()=>f.jsxs("div",{className:"flex justify-end gap-3",children:[f.jsx(Kt,{id:"btn-confirmation-modal-cancel",onClick:t,disabled:a,status:"secondary-neutral",children:s}),f.jsx(Kt,{id:`btn-confirmation-modal-${o==="destructive"?"Delete":"Confirm"}`,onClick:i,isLoading:a,status:o==="destructive"?"error":"primary",children:u||(o==="destructive"?"Delete":"Confirm")})]}),[t,i,a,o,s,u]);return e?f.jsx(Gn,{title:r,open:e,footer:c,onCancel:t,zIndex:9999,children:f.jsx("div",{className:"my-5",children:f.jsx("div",{className:"text-neutral-400 font-inter text-base",children:n})})}):null},UT=()=>{const[e,t]=l.useState("light"),[n,r]=l.useState("vs"),i=l.useCallback(a=>{r(a),t(a==="vs-dark"?"dark":"light")},[]);return{theme:e,editorTheme:n,setEditorTheme:i}},ap=({className:e,size:t=26})=>f.jsx("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 17 26",fill:"none",children:f.jsx("path",{d:"M16.391 21.56C16.3099 22.4852 15.9426 23.0065 15.5742 23.2995C15.0359 23.7274 14.279 23.7081 13.7516 23.2665C12.576 22.2823 11.8296 19.7923 11.6614 19.1309C11.6576 19.1158 11.6545 19.102 11.6514 19.0888C11.647 19.0705 11.6425 19.0529 11.6382 19.0346C11.6338 19.017 11.6301 18.9993 11.6257 18.9817C11.6226 18.9698 11.6201 18.9572 11.6175 18.9453L11.6169 18.9447C10.7862 15.4591 10.038 11.9535 9.19849 8.47039C8.80328 6.83134 7.88558 3.7089 7.535 2.52765C7.34951 1.90269 7.02007 1.32691 6.55686 0.867931C6.23628 0.55043 5.82141 0.254489 5.30765 0.106076C5.30573 0.104747 5.30322 0.104156 5.30071 0.104156L5.30012 0.103565C5.26819 0.0952957 5.23567 0.0873212 5.20271 0.0799375C3.917 -0.21305 2.58872 0.317547 1.79962 1.37342C1.35976 1.9622 1.14516 2.5529 1.0646 2.81532C1.01864 2.97274 0.977994 3.13208 0.942374 3.29349C0.777429 4.04043 0.716831 4.8271 0.689192 5.62558H1.20295C1.20295 5.62558 1.54702 4.31422 1.81779 3.75025C2.64577 2.02452 4.79153 1.83077 5.9296 3.36113C6.21929 3.74937 6.48695 4.18545 6.63564 4.64177C7.04948 5.9097 7.41159 7.19595 7.7536 8.48471C7.81789 8.72705 7.76557 9.04854 7.65664 9.28319C5.4089 14.2092 2.24523 21.0746 0 26H3.44507C3.44507 26 7.11126 17.6438 8.91871 13.5201C9.56238 16.1789 10.0637 18.8224 10.7408 21.4673C10.9505 22.2999 11.2137 23.1342 11.5476 23.9309C11.5476 23.9309 11.5482 23.9334 11.5501 23.9379C11.5507 23.9398 11.5521 23.9429 11.5532 23.946C11.5753 24.007 11.666 24.2462 11.8253 24.5507C12.19 25.2486 12.9155 26 13.9995 26C16.5943 26 16.9508 21.5599 16.9508 21.5599H16.391V21.56Z",fill:"#016DCF"})}),op=({className:e,fill:t="currentColor",size:n=140})=>f.jsx("svg",{className:e,width:n,height:n,viewBox:"0 0 128 128",xmlns:"http://www.w3.org/2000/svg",fill:t,children:f.jsx("path",{d:"M82.2673 90.5993C81.9118 90.5993 81.5784 90.5438 81.2673 90.4327C80.9562 90.3216 80.6673 90.1327 80.4007 89.866L66.8007 76.266C66.534 75.9994 66.3451 75.7105 66.234 75.3994C66.1229 75.0882 66.0673 74.7549 66.0673 74.3994C66.0673 74.0438 66.1229 73.7105 66.234 73.3994C66.3451 73.0882 66.534 72.7994 66.8007 72.5327L72.4673 66.866C72.734 66.5993 73.0229 66.4105 73.334 66.2994C73.6451 66.1882 73.9784 66.1327 74.334 66.1327C74.6895 66.1327 75.0229 66.1882 75.334 66.2994C75.6451 66.4105 75.934 66.5993 76.2007 66.866L89.8007 80.466C90.0673 80.7327 90.2562 81.0216 90.3673 81.3327C90.4784 81.6438 90.534 81.9771 90.534 82.3327C90.534 82.6882 90.4784 83.0216 90.3673 83.3327C90.2562 83.6438 90.0673 83.9327 89.8007 84.1994L84.134 89.866C83.8673 90.1327 83.5784 90.3216 83.2673 90.4327C82.9562 90.5438 82.6229 90.5993 82.2673 90.5993ZM82.2673 84.266L84.2007 82.3327L74.4007 72.5327L72.4673 74.466L82.2673 84.266ZM45.6673 90.666C45.3118 90.666 44.9673 90.5994 44.634 90.466C44.3007 90.3327 44.0007 90.1327 43.734 89.866L38.134 84.266C37.8673 83.9994 37.6673 83.6994 37.534 83.366C37.4007 83.0327 37.334 82.6882 37.334 82.3327C37.334 81.9771 37.4007 81.6438 37.534 81.3327C37.6673 81.0216 37.8673 80.7327 38.134 80.466L52.2673 66.3327H57.934L60.2007 64.066L49.2007 53.066H45.4007L37.334 44.9993L44.8673 37.466L52.934 45.5327V49.3327L63.934 60.3327L71.6673 52.5993L68.8007 49.7327L72.534 45.9993H65.0007L63.134 44.1327L72.6007 34.666L74.4673 36.5327V44.066L78.2007 40.3327L87.6673 49.7993C88.4229 50.5549 89.0007 51.4105 89.4007 52.366C89.8007 53.3216 90.0007 54.3327 90.0007 55.3993C90.0007 56.466 89.8007 57.4882 89.4007 58.466C89.0007 59.4438 88.4229 60.3105 87.6673 61.066L82.0007 55.3993L78.2673 59.1327L75.4673 56.3327L61.6673 70.1327V75.7327L47.534 89.866C47.2673 90.1327 46.9784 90.3327 46.6673 90.466C46.3562 90.5994 46.0229 90.666 45.6673 90.666ZM45.6673 84.266L57.0007 72.9327V70.9994H55.0673L43.734 82.3327L45.6673 84.266ZM45.6673 84.266L43.734 82.3327L44.734 83.266L45.6673 84.266Z"})}),XT=({className:e="",fill:t="currentColor",size:n=20})=>f.jsx("svg",{className:e,width:n,height:n,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("g",{mask:"url(#mask0_6752_28309)",children:f.jsx("path",{d:"M8.33317 11.3333L13.2498 6.41667C13.4026 6.26389 13.5971 6.1875 13.8332 6.1875C14.0693 6.1875 14.2637 6.26389 14.4165 6.41667C14.5693 6.56944 14.6457 6.76389 14.6457 7C14.6457 7.23611 14.5693 7.43056 14.4165 7.58333L8.9165 13.0833C8.74984 13.25 8.55539 13.3333 8.33317 13.3333C8.11095 13.3333 7.9165 13.25 7.74984 13.0833L5.58317 10.9167C5.43039 10.7639 5.354 10.5694 5.354 10.3333C5.354 10.0972 5.43039 9.90278 5.58317 9.75C5.73595 9.59722 5.93039 9.52083 6.1665 9.52083C6.40262 9.52083 6.59706 9.59722 6.74984 9.75L8.33317 11.3333Z",fill:t})})}),ZT=({title:e,visible:t,onClose:n,content:r})=>f.jsxs(Gn,{title:null,open:t,footer:null,onCancel:n,zIndex:9999,showCloseButton:!1,width:400,children:[f.jsxs("div",{children:[f.jsx("div",{className:"flex justify-center",children:f.jsx("div",{className:"flex w-[48px] h-[48px] justify-center items-center gap-2 rounded-lg border border-[#54A4EC] shadow-[0_0_4px_2px_rgba(198,225,249,0.20)_inset]",children:f.jsx(ap,{})})}),f.jsx(se,{size:"medium",variant:"semibold",className:"text-center mt-3",children:e}),f.jsx(se,{size:"small",variant:"medium",className:"text-center text-neutral-500 mt-2 dark:text-neutral-400",appearance:"custom",children:r})]}),f.jsx("div",{className:"flex justify-center mt-4",children:f.jsx(Kt,{id:"btn-access-denied-modal-close",appearance:"outline",status:"secondary-neutral",onClick:n,children:"Close"})})]}),YT=({containerClass:e})=>f.jsx("div",{className:Y("flex justify-center items-center h-table",e),children:f.jsxs("div",{className:"flex flex-col items-center text-neutral-800 -mt-12",children:[f.jsx("div",{className:"-mb-4",children:f.jsx(op,{})}),f.jsxs("div",{className:"text-center",children:[f.jsx("h1",{className:"text-3xl font-bold font-inter",children:"Feature Coming Soon"}),f.jsx("div",{className:"py-2"}),f.jsx("p",{className:"font-inter text-sm",children:"We're in the process of crafting this page"})]})]})}),JT=({visible:e,onClose:t,onSaveAndExit:n,onDiscardChanges:r,onCancel:i,isLoading:a=!1,title:o="You have unsaved changes",content:s="Switching to view mode will discard any unsaved edits. What would you like to do?",cancelText:u="Cancel",discardText:c="Discard Changes",saveText:d="Save & Exit"})=>{const h=l.useMemo(()=>f.jsxs("div",{className:"flex justify-end gap-3",children:[f.jsx(Kt,{id:"btn-unsaved-changes-modal-cancel",onClick:i,disabled:a,status:"secondary-neutral",children:u}),f.jsx(Kt,{id:"btn-unsaved-changes-modal-discard",onClick:r,disabled:a,status:"error",children:c}),f.jsx(Kt,{id:"btn-unsaved-changes-modal-save-exit",onClick:n,isLoading:a,status:"primary",children:d})]}),[i,r,n,a,u,c,d]);return e?f.jsx(Gn,{title:o,open:e,footer:h,onCancel:t,zIndex:9999,children:f.jsx("div",{className:"my-5",children:f.jsx("div",{className:"text-neutral-400 font-inter text-base",children:s})})}):null},KT=({visible:e,onClose:t,content:n="",title:r="Error",okText:i="OK"})=>{const a=()=>{t()},o=f.jsx("div",{className:"flex justify-end",children:f.jsx(Kt,{id:"btn-error-modal-submit-ok",status:"primary",onClick:a,type:"submit",children:i})});return f.jsx(Gn,{asForm:!0,title:r,open:e,onCancel:a,footer:o,children:f.jsx("div",{className:"text-neutral-400 text-base font-inter",children:n})})},qT=({visible:e,onClose:t,onSuccessClose:n,sectionName:r,suffix:i,onAgreementDelete:a,from:o,text:s,additionalText:u,title:c,deleteConfirm:d,onDeleteConfirm:h,onConfirmDelete:m,isLoading:p=!1,isMod:g=!1,isBooleanButton:b=!1,cancelText:v="Cancel",deleteText:x="Delete",yesText:y="Yes",noText:C="No",removeText:M="Remove"})=>{const E=async I=>{if(I.preventDefault(),o==="integration"){m?.();return}if(o==="config"){a?.();return}if(o==="field"){d?.();return}if(o==="fieldConfig"){h?.();return}if(o==="masterdata"){h?.();return}if(o==="attachment"){h?.();return}if(o==="agreement"){h?.();return}if(o==="analytics"){h?.();return}if(o==="clause"){h?.();return}if(o==="role"){h?.();return}Fe.success(Xt.deleteSuccess("Section"),{toastId:Xt.deleteSuccess("Section")}),n?.()},w=()=>{p||t()},z=f.jsxs("div",{className:"flex justify-end gap-2 sm:mt-0 mt-20",children:[f.jsx(Kt,{id:`btn-delete-modal-${b?"no":"cancel"}`,appearance:"outline",status:"secondary-neutral",onClick:w,className:"mt-10",disabled:p,children:b?C:v}),f.jsx(Kt,{id:`btn-delete-modal-${b?"yes":g?"remove":"delete"}`,status:"error",onClick:E,className:"mt-10",disabled:p,isLoading:p,type:"submit",children:b?y:g?M:x})]},"");return f.jsx(Gn,{asForm:!0,title:c,open:e,onCancel:w,footer:z,children:f.jsxs("div",{className:"mt-5 mb-8",children:[f.jsxs(se,{variant:"regular",size:"medium",appearance:"body",className:"font-inter",children:[s,r&&f.jsxs("span",{className:"font-bold text-neutral-900 dark:text-neutral-100",children:[" ",r]}),i&&f.jsxs("span",{children:[" ",i]}),"?"]}),u&&f.jsx(se,{variant:"regular",size:"medium",className:"text-neutral-700 font-inter mt-5",children:u})]})})};class za{diff(t,n,r={}){let i;typeof r=="function"?(i=r,r={}):"callback"in r&&(i=r.callback);const a=this.castInput(t,r),o=this.castInput(n,r),s=this.removeEmpty(this.tokenize(a,r)),u=this.removeEmpty(this.tokenize(o,r));return this.diffWithOptionsObj(s,u,r,i)}diffWithOptionsObj(t,n,r,i){var a;const o=y=>{if(y=this.postProcess(y,r),i){setTimeout(function(){i(y)},0);return}else return y},s=n.length,u=t.length;let c=1,d=s+u;r.maxEditLength!=null&&(d=Math.min(d,r.maxEditLength));const h=(a=r.timeout)!==null&&a!==void 0?a:1/0,m=Date.now()+h,p=[{oldPos:-1,lastComponent:void 0}];let g=this.extractCommon(p[0],n,t,0,r);if(p[0].oldPos+1>=u&&g+1>=s)return o(this.buildValues(p[0].lastComponent,n,t));let b=-1/0,v=1/0;const x=()=>{for(let y=Math.max(b,-c);y<=Math.min(v,c);y+=2){let C;const M=p[y-1],E=p[y+1];M&&(p[y-1]=void 0);let w=!1;if(E){const I=E.oldPos-y;w=E&&0<=I&&I<s}const z=M&&M.oldPos+1<u;if(!w&&!z){p[y]=void 0;continue}if(!z||w&&M.oldPos<E.oldPos?C=this.addToPath(E,!0,!1,0,r):C=this.addToPath(M,!1,!0,1,r),g=this.extractCommon(C,n,t,y,r),C.oldPos+1>=u&&g+1>=s)return o(this.buildValues(C.lastComponent,n,t))||!0;p[y]=C,C.oldPos+1>=u&&(v=Math.min(v,y-1)),g+1>=s&&(b=Math.max(b,y+1))}c++};if(i)(function y(){setTimeout(function(){if(c>d||Date.now()>m)return i(void 0);x()||y()},0)})();else for(;c<=d&&Date.now()<=m;){const y=x();if(y)return y}}addToPath(t,n,r,i,a){const o=t.lastComponent;return o&&!a.oneChangePerToken&&o.added===n&&o.removed===r?{oldPos:t.oldPos+i,lastComponent:{count:o.count+1,added:n,removed:r,previousComponent:o.previousComponent}}:{oldPos:t.oldPos+i,lastComponent:{count:1,added:n,removed:r,previousComponent:o}}}extractCommon(t,n,r,i,a){const o=n.length,s=r.length;let u=t.oldPos,c=u-i,d=0;for(;c+1<o&&u+1<s&&this.equals(r[u+1],n[c+1],a);)c++,u++,d++,a.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return d&&!a.oneChangePerToken&&(t.lastComponent={count:d,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=u,c}equals(t,n,r){return r.comparator?r.comparator(t,n):t===n||!!r.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,r){const i=[];let a;for(;t;)i.push(t),a=t.previousComponent,delete t.previousComponent,t=a;i.reverse();const o=i.length;let s=0,u=0,c=0;for(;s<o;s++){const d=i[s];if(d.removed)d.value=this.join(r.slice(c,c+d.count)),c+=d.count;else{if(!d.added&&this.useLongestToken){let h=n.slice(u,u+d.count);h=h.map(function(m,p){const g=r[c+p];return g.length>m.length?g:m}),d.value=this.join(h)}else d.value=this.join(n.slice(u,u+d.count));u+=d.count,d.added||(c+=d.count)}}return i}}class QT extends za{}const RT=new QT;function eB(e,t,n){return RT.diff(e,t,n)}function sp(e,t){let n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function up(e,t){let n;if(!e||!t||e[e.length-1]!=t[t.length-1])return"";for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function ou(e,t,n){if(e.slice(0,t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(t)}; this is a bug`);return n+e.slice(t.length)}function su(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(t)}; this is a bug`);return e.slice(0,-t.length)+n}function Wi(e,t){return ou(e,t,"")}function Fa(e,t){return su(e,t,"")}function cp(e,t){return t.slice(0,tB(e,t))}function tB(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let r=t.length;e.length<t.length&&(r=e.length);const i=Array(r);let a=0;i[0]=0;for(let o=1;o<r;o++){for(t[o]==t[a]?i[o]=i[a]:i[o]=a;a>0&&t[o]!=t[a];)a=i[a];t[o]==t[a]&&a++}a=0;for(let o=n;o<e.length;o++){for(;a>0&&e[o]!=t[a];)a=i[a];e[o]==t[a]&&a++}return a}function Ui(e){let t;for(t=e.length-1;t>=0&&e[t].match(/\s/);t--);return e.substring(t+1)}function Zn(e){const t=e.match(/^\s*/);return t?t[0]:""}const Ma="a-zA-Z0-9_\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}",nB=new RegExp(`[${Ma}]+|\\s+|[^${Ma}]`,"ug");class rB extends za{equals(t,n,r){return r.ignoreCase&&(t=t.toLowerCase(),n=n.toLowerCase()),t.trim()===n.trim()}tokenize(t,n={}){let r;if(n.intlSegmenter){const o=n.intlSegmenter;if(o.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');r=Array.from(o.segment(t),s=>s.segment)}else r=t.match(nB)||[];const i=[];let a=null;return r.forEach(o=>{/\s/.test(o)?a==null?i.push(o):i.push(i.pop()+o):a!=null&&/\s/.test(a)?i[i.length-1]==a?i.push(i.pop()+o):i.push(a+o):i.push(o),a=o}),i}join(t){return t.map((n,r)=>r==0?n:n.replace(/^\s+/,"")).join("")}postProcess(t,n){if(!t||n.oneChangePerToken)return t;let r=null,i=null,a=null;return t.forEach(o=>{o.added?i=o:o.removed?a=o:((i||a)&&dp(r,a,i,o),r=o,i=null,a=null)}),(i||a)&&dp(r,a,i,null),t}}const iB=new rB;function lB(e,t,n){return n?.ignoreWhitespace!=null&&!n.ignoreWhitespace?sB(e,t,n):iB.diff(e,t,n)}function dp(e,t,n,r){if(t&&n){const i=Zn(t.value),a=Ui(t.value),o=Zn(n.value),s=Ui(n.value);if(e){const u=sp(i,o);e.value=su(e.value,o,u),t.value=Wi(t.value,u),n.value=Wi(n.value,u)}if(r){const u=up(a,s);r.value=ou(r.value,s,u),t.value=Fa(t.value,u),n.value=Fa(n.value,u)}}else if(n){if(e){const i=Zn(n.value);n.value=n.value.substring(i.length)}if(r){const i=Zn(r.value);r.value=r.value.substring(i.length)}}else if(e&&r){const i=Zn(r.value),a=Zn(t.value),o=Ui(t.value),s=sp(i,a);t.value=Wi(t.value,s);const u=up(Wi(i,s),o);t.value=Fa(t.value,u),r.value=ou(r.value,i,u),e.value=su(e.value,i,i.slice(0,i.length-u.length))}else if(r){const i=Zn(r.value),a=Ui(t.value),o=cp(a,i);t.value=Fa(t.value,o)}else if(e){const i=Ui(e.value),a=Zn(t.value),o=cp(i,a);t.value=Wi(t.value,o)}}class aB extends za{tokenize(t){const n=new RegExp(`(\\r?\\n)|[${Ma}]+|[^\\S\\n\\r]+|[^${Ma}]`,"ug");return t.match(n)||[]}}const oB=new aB;function sB(e,t,n){return oB.diff(e,t,n)}class uB extends za{constructor(){super(...arguments),this.tokenize=fB}equals(t,n,r){return r.ignoreWhitespace?((!r.newlineIsToken||!t.includes(`
176
176
  `))&&(t=t.trim()),(!r.newlineIsToken||!n.includes(`
177
177
  `))&&(n=n.trim())):r.ignoreNewlineAtEof&&!r.newlineIsToken&&(t.endsWith(`
178
178
  `)&&(t=t.slice(0,-1)),n.endsWith(`
179
179
  `)&&(n=n.slice(0,-1))),super.equals(t,n,r)}}const cB=new uB;function dB(e,t,n){return cB.diff(e,t,n)}function fB(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
180
180
  `));const n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let i=0;i<r.length;i++){const a=r[i];i%2&&!t.newlineIsToken?n[n.length-1]+=a:n.push(a)}return n}const uu=l.forwardRef(({oldText:e,newText:t,diffType:n="words",theme:r="default",showLineNumbers:i=!1,wordWrap:a=!0,className:o,segmentClassName:s,addedClassName:u,removedClassName:c,unchangedClassName:d,ignoreCase:h=!1,ignoreWhitespace:m=!1,maxWidth:p,"aria-label":g,onDiffCalculated:b},v)=>{const x=l.useMemo(()=>{let I=[];switch(n){case"lines":I=dB(e,t,{ignoreWhitespace:m});break;case"chars":I=eB(e,t,{ignoreCase:h});break;case"words":default:I=lB(e,t,{ignoreCase:h});break}return b?.(I),I},[e,t,n,h,m,b]),y=()=>{switch(r){case"minimal":return{added:"bg-green-100 dark:bg-green-900/30 text-green-800 dark:text-green-200",removed:"bg-red-100 dark:bg-red-900/30 text-red-800 dark:text-red-200 line-through",unchanged:"text-neutral-700 dark:text-neutral-300"};case"github":return{added:"bg-green-50 dark:bg-green-900/20 text-green-900 dark:text-green-100 border-l-4 border-green-500 pl-2",removed:"bg-red-50 dark:bg-red-900/20 text-red-900 dark:text-red-100 border-l-4 border-red-500 pl-2 line-through",unchanged:"text-neutral-800 dark:text-neutral-200 pl-2"};case"default":default:return{added:"bg-success-100 dark:bg-success-900/70 text-success-800 dark:text-success-200 font-semibold rounded-sm px-1",removed:"bg-error-100 dark:bg-error-900 text-error-800 dark:text-error-200 font-semibold line-through rounded-sm px-1",unchanged:"text-neutral-700 dark:text-neutral-300"}}},C=()=>Y("diff-viewer font-mono text-sm leading-relaxed",a?"whitespace-pre-wrap":"whitespace-pre overflow-x-auto",r==="github"&&"border border-neutral-200 dark:border-neutral-700 rounded-lg",r==="minimal"&&"border-l-2 border-neutral-200 dark:border-neutral-600 pl-4"),M=()=>{if(!i||n!=="lines")return null;let I=1;return f.jsxs("div",{className:"flex",children:[f.jsx("div",{className:"select-none text-neutral-400 dark:text-neutral-600 text-right pr-4 border-r border-neutral-200 dark:border-neutral-700",children:x.map((k,F)=>{if(!k.added&&!k.removed){const N=k.value.split(`
181
- `).length-1,B=Array.from({length:N},(H,L)=>I+L);return I+=N,B.map((H,L)=>f.jsx("div",{className:"h-6",children:H},`${F}-${L}`))}return null})}),f.jsx("div",{className:"flex-1 pl-4",children:E()})]})},E=()=>{const I=y();return x.map((k,F)=>{let N="";return k.added?N=Y(I.added,u,s):k.removed?N=Y(I.removed,c,s):N=Y(I.unchanged,d,s),f.jsx("span",{className:N,"data-diff-type":k.added?"added":k.removed?"removed":"unchanged",children:k.value},F)})},z=(()=>{const I=x.filter(N=>N.added).reduce((N,B)=>N+B.value.length,0),k=x.filter(N=>N.removed).reduce((N,B)=>N+B.value.length,0),F=x.filter(N=>!N.added&&!N.removed).reduce((N,B)=>N+B.value.length,0);return{added:I,removed:k,unchanged:F,total:I+k+F}})();return f.jsxs("div",{ref:v,className:Y(C(),o),style:{maxWidth:p},"aria-label":g||`Text diff: ${z.added} additions, ${z.removed} deletions`,role:"region","aria-live":"polite",children:[f.jsxs("div",{className:"sr-only",children:["Diff statistics: ",z.added," characters added, ",z.removed," ","characters removed, ",z.unchanged," characters unchanged."]}),i&&n==="lines"?M():E()]})});uu.displayName="DiffViewer";const hB=uu,fp=l.forwardRef(({show:e=!1,onClose:t,actionItems:n=[],selectedItemsCount:r=0,deleteConfig:i,showActionBackground:a=!1,size:o="medium",position:s="bottom",theme:u="primary",width:c="100%",className:d,selectedText:h="selected",actionsText:m="Actions",autoHide:p=!0,maxVisibleItems:g=4,animationDuration:b=.2,"aria-label":v,"data-testid":x,error:y=!1,loading:C=!1,errorMessage:M,onOverflow:E},w)=>{const[z,I]=l.useState(!1),[k,F]=l.useState(!0),[N,B]=l.useState(!1),H=l.useRef(null),L=l.useRef(null),S=l.useCallback(()=>{try{if(!H.current||!L.current||!p)return;const U=H.current.clientWidth,J=n.filter(be=>be.visible!==!1),ee=J.length*150+300>U||J.length>g;ee!==!k&&(F(!ee),B(ee),E?.(ee))}catch(U){console.error("FloatingBar: Error in overflow calculation:",U)}},[n,p,g,k,E]);l.useEffect(()=>{if(!p)return;const U=new ResizeObserver(S);return H.current&&U.observe(H.current),S(),()=>{U.disconnect()}},[S,p]);const T=l.useCallback(U=>{try{U.preventDefault(),t()}catch(J){console.error("FloatingBar: Error in close handler:",J)}},[t]),G=l.useCallback(U=>{try{if(!i?.onClick)return;i.confirmRequired&&i.confirmMessage?window.confirm(i.confirmMessage)&&i.onClick(U):i.onClick(U)}catch(J){console.error("FloatingBar: Error in delete handler:",J)}},[i]),O=()=>{switch(o){case"small":return{container:"px-2 py-1",height:"h-8"};case"large":return{container:"px-4 py-2",height:"h-12"};case"medium":default:return{container:"px-3 py-1.5",height:"h-10"}}},_=()=>{if(y)return{background:"bg-red-600 dark:bg-red-700",text:"text-white",border:"border-red-500",actionBg:"bg-red-500 dark:bg-red-600"};switch(u){case"dark":return{background:"bg-neutral-800 dark:bg-neutral-900",text:"text-white",border:"border-neutral-700",actionBg:"bg-neutral-700 dark:bg-neutral-800"};case"light":return{background:"bg-white dark:bg-neutral-100",text:"text-neutral-900 dark:text-neutral-800",border:"border-neutral-200",actionBg:"bg-neutral-100 dark:bg-neutral-200"};case"primary":default:return{background:"bg-blue-600 dark:bg-blue-700",text:"text-white",border:"border-blue-500",actionBg:"bg-blue-500 dark:bg-blue-600"}}},A=()=>{switch(s){case"top":return"top-4";case"bottom":default:return"bottom-4"}},$=l.useMemo(()=>n.filter(U=>U.visible!==!1),[n]),W=l.useMemo(()=>$.map((U,J)=>({key:U.id||J.toString(),label:f.jsx(Fl,{text:U.label||"",icon:U.dropdownIcon||U.icon,onClick:U.onClick,isDisabled:U.disabled,tooltip:U.tooltip,className:"text-sm font-medium","data-testid":U["data-testid"]}),disabled:U.disabled||!1})),[$]),D=()=>i?f.jsxs("button",{type:"button",onClick:G,disabled:i.disabled||C,className:Y("flex items-center gap-1.5 py-1 px-2 rounded-md transition-colors","text-red-400 hover:text-red-300 hover:bg-red-500/10",i.disabled&&"opacity-50 cursor-not-allowed"),"data-testid":`${x}-delete-button`,children:[i.icon?i.icon:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})}),f.jsx(se,{variant:"medium",className:"text-inherit",children:i.label||"Delete"})]}):null,X=()=>$.map(U=>f.jsx("div",{children:U.type==="dropdown"?f.jsx("div",{className:"relative",children:f.jsxs("button",{type:"button",onClick:U.onClick,disabled:U.disabled||C,className:Y("flex items-center gap-1.5 py-1 px-2 rounded-md transition-all duration-200","text-white hover:text-blue-100 hover:bg-white/10",U.hideLabel&&"px-1.5",U.disabled&&"opacity-50 cursor-not-allowed",U.className),title:U.tooltip,"data-testid":U["data-testid"],children:[U.icon,!U.hideLabel&&U.label&&f.jsx(se,{variant:"medium",className:"text-inherit",children:U.label})]})}):f.jsxs("button",{type:"button",onClick:U.onClick,disabled:U.disabled||C,className:Y("flex items-center gap-1.5 py-1 px-2 rounded-md transition-all duration-200","text-white hover:text-blue-100 hover:bg-white/10",U.hideLabel&&"px-1.5",U.disabled&&"opacity-50 cursor-not-allowed",U.className),title:U.tooltip,"data-testid":U["data-testid"],children:[U.icon,!U.hideLabel&&U.label&&f.jsx(se,{variant:"medium",className:"text-inherit",children:U.label})]})},U.id)),K=()=>f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsxs("div",{className:"relative",children:[f.jsxs("button",{type:"button",onClick:()=>I(!z),disabled:C,className:Y("flex items-center gap-1.5 px-3 py-1 rounded-full transition-colors",_().actionBg,"text-white hover:opacity-90"),"data-testid":`${x}-actions-dropdown`,children:[f.jsx(se,{variant:"medium",className:"text-white",children:m}),f.jsx("svg",{className:Y("w-4 h-4 transition-transform",z&&"rotate-180"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),z&&f.jsx("div",{className:"absolute bottom-full mb-2 right-0 bg-white dark:bg-neutral-800 border border-neutral-200 dark:border-neutral-700 rounded-lg shadow-lg min-w-[200px] z-50",children:W.map(U=>f.jsx("div",{className:"p-1",children:U.label},U.key))})]}),D()]}),ae=O(),R=_(),ue=A();return!e&&!y?null:f.jsx(We.AnimatePresence,{children:(e||y)&&f.jsx(We.motion.div,{ref:w,initial:{y:s==="bottom"?20:-20,opacity:0},animate:{y:0,opacity:1},exit:{y:s==="bottom"?20:-20,opacity:0},transition:{duration:b,ease:[.4,0,.2,1]},className:Y("fixed left-1/2 transform -translate-x-1/2 z-50",ue,d),style:{width:c},"aria-label":v||`Floating bar with ${r} selected items`,"data-testid":x,children:f.jsxs("div",{ref:H,className:Y("flex items-center justify-between border rounded-lg shadow-lg",ae.container,ae.height,R.background,R.text,R.border),children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("button",{type:"button",onClick:T,disabled:C,className:"flex items-center justify-center w-6 h-6 rounded-full hover:bg-white/10 transition-colors","aria-label":"Close floating bar","data-testid":`${x}-close-button`,children:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),y&&M?f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("svg",{className:"w-4 h-4 text-red-200",fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"})}),f.jsx(se,{variant:"medium",className:"text-inherit",children:M})]}):f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("span",{className:"inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-white/20 text-white",children:r}),f.jsx(se,{variant:"medium",className:"text-inherit",children:h})]})]}),!y&&!C&&f.jsx("div",{ref:L,className:Y("flex items-center",a&&Y("rounded-full px-2",R.actionBg)),children:k?f.jsxs(We.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:b},className:"flex items-center gap-1",children:[X(),D()]}):f.jsx(We.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:b},children:K()})}),C&&f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("div",{className:"w-4 h-4 border-2 border-white/20 border-t-white rounded-full animate-spin"}),f.jsx(se,{variant:"medium",className:"text-inherit",children:"Loading..."})]})]})})})});fp.displayName="FloatingBar";const hp=(e=[])=>{l.useEffect(()=>{window.scrollTo(0,0)},e)},cu="-",mB=e=>{const t=gB(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const s=o.split(cu);return s[0]===""&&s.length!==1&&s.shift(),mp(s,t)||pB(o)},getConflictingClassGroupIds:(o,s)=>{const u=n[o]||[];return s&&r[o]?[...u,...r[o]]:u}}},mp=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?mp(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(cu);return t.validators.find(({validator:o})=>o(a))?.classGroupId},pp=/^\[(.+)\]$/,pB=e=>{if(pp.test(e)){const t=pp.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},gB=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)du(n[i],r,i,t);return r},du=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const a=i===""?t:gp(t,i);a.classGroupId=n;return}if(typeof i=="function"){if(vB(i)){du(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,o])=>{du(o,gp(t,a),n,r)})})},gp=(e,t)=>{let n=e;return t.split(cu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},vB=e=>e.isThemeGetter,bB=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let o=n.get(a);if(o!==void 0)return o;if((o=r.get(a))!==void 0)return i(a,o),o},set(a,o){n.has(a)?n.set(a,o):i(a,o)}}},fu="!",hu=":",xB=hu.length,wB=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const a=[];let o=0,s=0,u=0,c;for(let g=0;g<i.length;g++){let b=i[g];if(o===0&&s===0){if(b===hu){a.push(i.slice(u,g)),u=g+xB;continue}if(b==="/"){c=g;continue}}b==="["?o++:b==="]"?o--:b==="("?s++:b===")"&&s--}const d=a.length===0?i:i.substring(u),h=yB(d),m=h!==d,p=c&&c>u?c-u:void 0;return{modifiers:a,hasImportantModifier:m,baseClassName:h,maybePostfixModifierPosition:p}};if(t){const i=t+hu,a=r;r=o=>o.startsWith(i)?a(o.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=a=>n({className:a,parseClassName:i})}return r},yB=e=>e.endsWith(fu)?e.substring(0,e.length-1):e.startsWith(fu)?e.substring(1):e,EB=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let a=[];return r.forEach(o=>{o[0]==="["||t[o]?(i.push(...a.sort(),o),a=[]):a.push(o)}),i.push(...a.sort()),i}},CB=e=>({cache:bB(e.cacheSize),parseClassName:wB(e),sortModifiers:EB(e),...mB(e)}),kB=/\s+/,IB=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(kB);let u="";for(let c=s.length-1;c>=0;c-=1){const d=s[c],{isExternal:h,modifiers:m,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:b}=n(d);if(h){u=d+(u.length>0?" "+u:u);continue}let v=!!b,x=r(v?g.substring(0,b):g);if(!x){if(!v){u=d+(u.length>0?" "+u:u);continue}if(x=r(g),!x){u=d+(u.length>0?" "+u:u);continue}v=!1}const y=a(m).join(":"),C=p?y+fu:y,M=C+x;if(o.includes(M))continue;o.push(M);const E=i(x,v);for(let w=0;w<E.length;++w){const z=E[w];o.push(C+z)}u=d+(u.length>0?" "+u:u)}return u};function zB(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=vp(t))&&(r&&(r+=" "),r+=n);return r}const vp=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=vp(e[r]))&&(n&&(n+=" "),n+=t);return n};function FB(e,...t){let n,r,i,a=o;function o(u){const c=t.reduce((d,h)=>h(d),e());return n=CB(c),r=n.cache.get,i=n.cache.set,a=s,s(u)}function s(u){const c=r(u);if(c)return c;const d=IB(u,n);return i(u,d),d}return function(){return a(zB.apply(null,arguments))}}const st=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},bp=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,xp=/^\((?:(\w[\w-]*):)?(.+)\)$/i,MB=/^\d+\/\d+$/,SB=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,AB=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,NB=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,DB=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,LB=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Pr=e=>MB.test(e),Me=e=>!!e&&!Number.isNaN(Number(e)),Yn=e=>!!e&&Number.isInteger(Number(e)),mu=e=>e.endsWith("%")&&Me(e.slice(0,-1)),Hn=e=>SB.test(e),TB=()=>!0,BB=e=>AB.test(e)&&!NB.test(e),wp=()=>!1,HB=e=>DB.test(e),jB=e=>LB.test(e),PB=e=>!me(e)&&!pe(e),OB=e=>Or(e,Ip,wp),me=e=>bp.test(e),or=e=>Or(e,zp,BB),pu=e=>Or(e,WB,Me),yp=e=>Or(e,Cp,wp),VB=e=>Or(e,kp,jB),Sa=e=>Or(e,Fp,HB),pe=e=>xp.test(e),Xi=e=>Vr(e,zp),GB=e=>Vr(e,UB),Ep=e=>Vr(e,Cp),_B=e=>Vr(e,Ip),$B=e=>Vr(e,kp),Aa=e=>Vr(e,Fp,!0),Or=(e,t,n)=>{const r=bp.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Vr=(e,t,n=!1)=>{const r=xp.exec(e);return r?r[1]?t(r[1]):n:!1},Cp=e=>e==="position"||e==="percentage",kp=e=>e==="image"||e==="url",Ip=e=>e==="length"||e==="size"||e==="bg-size",zp=e=>e==="length",WB=e=>e==="number",UB=e=>e==="family-name",Fp=e=>e==="shadow",XB=FB(()=>{const e=st("color"),t=st("font"),n=st("text"),r=st("font-weight"),i=st("tracking"),a=st("leading"),o=st("breakpoint"),s=st("container"),u=st("spacing"),c=st("radius"),d=st("shadow"),h=st("inset-shadow"),m=st("text-shadow"),p=st("drop-shadow"),g=st("blur"),b=st("perspective"),v=st("aspect"),x=st("ease"),y=st("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...M(),pe,me],w=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto","contain","none"],I=()=>[pe,me,u],k=()=>[Pr,"full","auto",...I()],F=()=>[Yn,"none","subgrid",pe,me],N=()=>["auto",{span:["full",Yn,pe,me]},Yn,pe,me],B=()=>[Yn,"auto",pe,me],H=()=>["auto","min","max","fr",pe,me],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],S=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...I()],G=()=>[Pr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],O=()=>[e,pe,me],_=()=>[...M(),Ep,yp,{position:[pe,me]}],A=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",_B,OB,{size:[pe,me]}],W=()=>[mu,Xi,or],D=()=>["","none","full",c,pe,me],X=()=>["",Me,Xi,or],K=()=>["solid","dashed","dotted","double"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>[Me,mu,Ep,yp],ue=()=>["","none",g,pe,me],U=()=>["none",Me,pe,me],J=()=>["none",Me,pe,me],fe=()=>[Me,pe,me],ee=()=>[Pr,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Hn],breakpoint:[Hn],color:[TB],container:[Hn],"drop-shadow":[Hn],ease:["in","out","in-out"],font:[PB],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Hn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Hn],shadow:[Hn],spacing:["px",Me],text:[Hn],"text-shadow":[Hn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Pr,me,pe,v]}],container:["container"],columns:[{columns:[Me,me,pe,s]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[Yn,"auto",pe,me]}],basis:[{basis:[Pr,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Me,Pr,"auto","initial","none",me]}],grow:[{grow:["",Me,pe,me]}],shrink:[{shrink:["",Me,pe,me]}],order:[{order:[Yn,"first","last","none",pe,me]}],"grid-cols":[{"grid-cols":F()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":F()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":H()}],"auto-rows":[{"auto-rows":H()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...S(),"normal"]}],"justify-self":[{"justify-self":["auto",...S()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...S(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...S(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...S(),"baseline"]}],"place-self":[{"place-self":["auto",...S()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[s,"screen",...G()]}],"min-w":[{"min-w":[s,"screen","none",...G()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",n,Xi,or]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,pe,pu]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mu,me]}],"font-family":[{font:[GB,me,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,pe,me]}],"line-clamp":[{"line-clamp":[Me,"none",pe,pu]}],leading:[{leading:[a,...I()]}],"list-image":[{"list-image":["none",pe,me]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",pe,me]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[Me,"from-font","auto",pe,or]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[Me,"auto",pe,me]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe,me]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",pe,me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:_()}],"bg-repeat":[{bg:A()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Yn,pe,me],radial:["",pe,me],conic:[Yn,pe,me]},$B,VB]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:W()}],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Me,pe,me]}],"outline-w":[{outline:["",Me,Xi,or]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",d,Aa,Sa]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",h,Aa,Sa]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[Me,or]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",m,Aa,Sa]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[Me,pe,me]}],"mix-blend":[{"mix-blend":[...ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Me]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[pe,me]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":M()}],"mask-image-conic-pos":[{"mask-conic":[Me]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:_()}],"mask-repeat":[{mask:A()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",pe,me]}],filter:[{filter:["","none",pe,me]}],blur:[{blur:ue()}],brightness:[{brightness:[Me,pe,me]}],contrast:[{contrast:[Me,pe,me]}],"drop-shadow":[{"drop-shadow":["","none",p,Aa,Sa]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",Me,pe,me]}],"hue-rotate":[{"hue-rotate":[Me,pe,me]}],invert:[{invert:["",Me,pe,me]}],saturate:[{saturate:[Me,pe,me]}],sepia:[{sepia:["",Me,pe,me]}],"backdrop-filter":[{"backdrop-filter":["","none",pe,me]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[Me,pe,me]}],"backdrop-contrast":[{"backdrop-contrast":[Me,pe,me]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Me,pe,me]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Me,pe,me]}],"backdrop-invert":[{"backdrop-invert":["",Me,pe,me]}],"backdrop-opacity":[{"backdrop-opacity":[Me,pe,me]}],"backdrop-saturate":[{"backdrop-saturate":[Me,pe,me]}],"backdrop-sepia":[{"backdrop-sepia":["",Me,pe,me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",pe,me]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Me,"initial",pe,me]}],ease:[{ease:["linear","initial",x,pe,me]}],delay:[{delay:[Me,pe,me]}],animate:[{animate:["none",y,pe,me]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,pe,me]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:U()}],"rotate-x":[{"rotate-x":U()}],"rotate-y":[{"rotate-y":U()}],"rotate-z":[{"rotate-z":U()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[pe,me,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ee()}],"translate-x":[{"translate-x":ee()}],"translate-y":[{"translate-y":ee()}],"translate-z":[{"translate-z":ee()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",pe,me]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",pe,me]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[Me,Xi,or,pu]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Mp(...e){return XB(xn(e))}var Zi=(e=>(e.COMPARISON="comparison",e.EDIT="edit",e.FOCUS_EDIT="focusEdit",e))(Zi||{});const Sp=500,Ap=({title:e,children:t,mode:n,displayId:r,noPadding:i=!1,className:a,noBanner:o=!1,contentClassName:s,onBannerClick:u,scrollToTopOnMount:c=!0})=>{hp(c?[]:void 0);const d=l.useMemo(()=>n===Zi.EDIT||n===Zi.FOCUS_EDIT?"edit":n===Zi.COMPARISON?"compare":null,[n]),h=l.useMemo(()=>(d==="edit"&&r||d==="compare")&&!o,[d,r,o]),m=l.useMemo(()=>d==="edit"&&r?{status:"warning",message:`You're currently editing ${r}`}:d==="compare"?{status:"success",message:"You are now in Comparison Mode"}:null,[d,r]);return f.jsxs(f.Fragment,{children:[f.jsx(ya,{title:e}),f.jsxs("div",{className:Mp("relative h-[calc(100vh-56px)] overflow-y-auto flex flex-col bg-primary-800 dark:bg-black-800",`ease-in-out duration-${Sp}`,a),children:[h&&m&&f.jsx(lu,{status:m.status,onClick:u,expandable:!1,children:m.message}),f.jsx("div",{className:Mp("flex-1 overflow-y-auto overflow-x-hidden bg-gray-50 dark:bg-black-700",i?"p-0":"p-4",h?"rounded-tl-none":"!rounded-tl-xl",s),id:"app-body-container",children:t})]})]})};Ap.displayName="PageContainer",ne.AccessDeniedModal=ZT,ne.Badge=Y5,ne.Banner=lu,ne.BaseInputField=Za,ne.BaseInputFieldDefault=Za,ne.Button=Kt,ne.COUNTRY_CODES=_m,ne.CURRENCIES=Jc,ne.CURRENCY_SYMBOLS=Kc,ne.Card=J5,ne.CheckSmallIcon=XT,ne.Checkbox=y1,ne.CheckboxComponent=qg,ne.CodeEditor=Xm,ne.CodeEditorTabs=Wm,ne.ColorPicker=E1,ne.ComingSoonIcon=op,ne.ConfirmationModal=WT,ne.CreatableSelectField=Zc,ne.CurrencyInputField=Uf,ne.CustomizableSelectField=Yc,ne.DateRange=Rf,ne.DateRange2=Xf,ne.DateTimeField=oh,ne.DebounceInputField=sh,ne.DeleteModal=qT,ne.DiffViewer=uu,ne.DynamicDataInput=Ym,ne.DynamicDataInputField=uh,ne.DynamicDataModal=Zm,ne.EditIcon=us,ne.ErrorModal=KT,ne.FileUpload=X5,ne.FloatingBar=fp,ne.HelmetTitle=ya,ne.IconPicker=bT,ne.IconRenderer=nu,ne.InProgress=YT,ne.InlineDiffHighlighter=hB,ne.InputField=La,ne.JsonGrid=$m,ne.LabelValue=q5,ne.LaxIcon=ap,ne.MODES=Zi,ne.MasterDataInputField=n1,ne.MdInput=tT,ne.Modal=Gn,ne.MultiFileUpload=U5,ne.OPEN_DURATION_MS=Sp,ne.OptionButton=Fl,ne.PageContainer=Ap,ne.PdfViewer=ip,ne.PercentageInputField=Jm,ne.Popper=lp,ne.ResizableSidebar=rp,ne.SearchBar=i0,ne.SelectField=w1,ne.StatusColorMapping=Z5,ne.TOGGLE_LABEL_DIRECTION=yr,ne.Tag=fr,ne.TextAreaField=t1,ne.TextField=Dg,ne.Toast=_T,ne.Toggle=Po,ne.Tooltip=et,ne.Typography=se,ne.UNIVERSAL_DATETIME_FORMAT=Hl,ne.UNIVERSAL_DATE_FORMAT=ih,ne.UnsavedChangesModal=JT,ne.countryNameFromCode=ss,ne.filterTopLevelPaths=X8,ne.formatBooleanValue=ru,ne.formatCurrency=iu,ne.formatDate=$i,ne.getFlagComponent=Ml,ne.getFlagComponentRectangle=TE,ne.getFlagComponentRectangleMd=HE,ne.getFlagComponentRectangleSm=BE,ne.getFlagComponentSm=LE,ne.isISODateString=K5,ne.monacoManager=Gm,ne.parseJson=l0,ne.randomHexString=W8,ne.systemMessages=Xt,ne.toast=$T,ne.useModalContainer=bh,ne.useOutsideClick=Bo,ne.usePythonSyntax=Vm,ne.useScrollToTop=hp,ne.useTheme=UT,Object.defineProperty(ne,Symbol.toStringTag,{value:"Module"})});
181
+ `).length-1,B=Array.from({length:N},(H,L)=>I+L);return I+=N,B.map((H,L)=>f.jsx("div",{className:"h-6",children:H},`${F}-${L}`))}return null})}),f.jsx("div",{className:"flex-1 pl-4",children:E()})]})},E=()=>{const I=y();return x.map((k,F)=>{let N="";return k.added?N=Y(I.added,u,s):k.removed?N=Y(I.removed,c,s):N=Y(I.unchanged,d,s),f.jsx("span",{className:N,"data-diff-type":k.added?"added":k.removed?"removed":"unchanged",children:k.value},F)})},z=(()=>{const I=x.filter(N=>N.added).reduce((N,B)=>N+B.value.length,0),k=x.filter(N=>N.removed).reduce((N,B)=>N+B.value.length,0),F=x.filter(N=>!N.added&&!N.removed).reduce((N,B)=>N+B.value.length,0);return{added:I,removed:k,unchanged:F,total:I+k+F}})();return f.jsxs("div",{ref:v,className:Y(C(),o),style:{maxWidth:p},"aria-label":g||`Text diff: ${z.added} additions, ${z.removed} deletions`,role:"region","aria-live":"polite",children:[f.jsxs("div",{className:"sr-only",children:["Diff statistics: ",z.added," characters added, ",z.removed," ","characters removed, ",z.unchanged," characters unchanged."]}),i&&n==="lines"?M():E()]})});uu.displayName="DiffViewer";const hB=uu,fp=l.forwardRef(({show:e=!1,onClose:t,actionItems:n=[],selectedItemsCount:r=0,deleteConfig:i,showActionBackground:a=!1,size:o="medium",position:s="bottom",theme:u="primary",width:c="100%",className:d,selectedText:h="selected",actionsText:m="Actions",autoHide:p=!0,maxVisibleItems:g=4,animationDuration:b=.2,"aria-label":v,"data-testid":x,error:y=!1,loading:C=!1,errorMessage:M,onOverflow:E},w)=>{const[z,I]=l.useState(!1),[k,F]=l.useState(!0),[N,B]=l.useState(!1),H=l.useRef(null),L=l.useRef(null),S=l.useCallback(()=>{try{if(!H.current||!L.current||!p)return;const U=H.current.clientWidth,J=n.filter(be=>be.visible!==!1),ee=J.length*150+300>U||J.length>g;ee!==!k&&(F(!ee),B(ee),E?.(ee))}catch(U){console.error("FloatingBar: Error in overflow calculation:",U)}},[n,p,g,k,E]);l.useEffect(()=>{if(!p)return;const U=new ResizeObserver(S);return H.current&&U.observe(H.current),S(),()=>{U.disconnect()}},[S,p]);const T=l.useCallback(U=>{try{U.preventDefault(),t()}catch(J){console.error("FloatingBar: Error in close handler:",J)}},[t]),G=l.useCallback(U=>{try{if(!i?.onClick)return;i.confirmRequired&&i.confirmMessage?window.confirm(i.confirmMessage)&&i.onClick(U):i.onClick(U)}catch(J){console.error("FloatingBar: Error in delete handler:",J)}},[i]),O=()=>{switch(o){case"small":return{container:"px-2 py-1",height:"h-8"};case"large":return{container:"px-4 py-2",height:"h-12"};case"medium":default:return{container:"px-3 py-1.5",height:"h-10"}}},_=()=>{if(y)return{background:"bg-red-600 dark:bg-red-700",text:"text-white",border:"border-red-500",actionBg:"bg-red-500 dark:bg-red-600"};switch(u){case"dark":return{background:"bg-neutral-800 dark:bg-neutral-900",text:"text-white",border:"border-neutral-700",actionBg:"bg-neutral-700 dark:bg-neutral-800"};case"light":return{background:"bg-white dark:bg-neutral-100",text:"text-neutral-900 dark:text-neutral-800",border:"border-neutral-200",actionBg:"bg-neutral-100 dark:bg-neutral-200"};case"primary":default:return{background:"bg-blue-600 dark:bg-blue-700",text:"text-white",border:"border-blue-500",actionBg:"bg-blue-500 dark:bg-blue-600"}}},A=()=>{switch(s){case"top":return"top-4";case"bottom":default:return"bottom-4"}},$=l.useMemo(()=>n.filter(U=>U.visible!==!1),[n]),W=l.useMemo(()=>$.map((U,J)=>({key:U.id||J.toString(),label:f.jsx(Fl,{text:U.label||"",icon:U.dropdownIcon||U.icon,onClick:U.onClick,isDisabled:U.disabled,tooltip:U.tooltip,className:"text-sm font-medium","data-testid":U["data-testid"]}),disabled:U.disabled||!1})),[$]),D=()=>i?f.jsxs("button",{type:"button",onClick:G,disabled:i.disabled||C,className:Y("flex items-center gap-1.5 py-1 px-2 rounded-md transition-colors","text-red-400 hover:text-red-300 hover:bg-red-500/10",i.disabled&&"opacity-50 cursor-not-allowed"),"data-testid":`${x}-delete-button`,children:[i.icon?i.icon:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})}),f.jsx(se,{variant:"medium",className:"text-inherit",children:i.label||"Delete"})]}):null,X=()=>$.map(U=>f.jsx("div",{children:U.type==="dropdown"?f.jsx("div",{className:"relative",children:f.jsxs("button",{type:"button",onClick:U.onClick,disabled:U.disabled||C,className:Y("flex items-center gap-1.5 py-1 px-2 rounded-md transition-all duration-200","text-white hover:text-blue-100 hover:bg-white/10",U.hideLabel&&"px-1.5",U.disabled&&"opacity-50 cursor-not-allowed",U.className),title:U.tooltip,"data-testid":U["data-testid"],children:[U.icon,!U.hideLabel&&U.label&&f.jsx(se,{variant:"medium",className:"text-inherit",children:U.label})]})}):f.jsxs("button",{type:"button",onClick:U.onClick,disabled:U.disabled||C,className:Y("flex items-center gap-1.5 py-1 px-2 rounded-md transition-all duration-200","text-white hover:text-blue-100 hover:bg-white/10",U.hideLabel&&"px-1.5",U.disabled&&"opacity-50 cursor-not-allowed",U.className),title:U.tooltip,"data-testid":U["data-testid"],children:[U.icon,!U.hideLabel&&U.label&&f.jsx(se,{variant:"medium",className:"text-inherit",children:U.label})]})},U.id)),K=()=>f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsxs("div",{className:"relative",children:[f.jsxs("button",{type:"button",onClick:()=>I(!z),disabled:C,className:Y("flex items-center gap-1.5 px-3 py-1 rounded-full transition-colors",_().actionBg,"text-white hover:opacity-90"),"data-testid":`${x}-actions-dropdown`,children:[f.jsx(se,{variant:"medium",className:"text-white",children:m}),f.jsx("svg",{className:Y("w-4 h-4 transition-transform",z&&"rotate-180"),fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),z&&f.jsx("div",{className:"absolute bottom-full mb-2 right-0 bg-white dark:bg-neutral-800 border border-neutral-200 dark:border-neutral-700 rounded-lg shadow-lg min-w-[200px] z-50",children:W.map(U=>f.jsx("div",{className:"p-1",children:U.label},U.key))})]}),D()]}),ae=O(),R=_(),ue=A();return!e&&!y?null:f.jsx(Ue.AnimatePresence,{children:(e||y)&&f.jsx(Ue.motion.div,{ref:w,initial:{y:s==="bottom"?20:-20,opacity:0},animate:{y:0,opacity:1},exit:{y:s==="bottom"?20:-20,opacity:0},transition:{duration:b,ease:[.4,0,.2,1]},className:Y("fixed left-1/2 transform -translate-x-1/2 z-50",ue,d),style:{width:c},"aria-label":v||`Floating bar with ${r} selected items`,"data-testid":x,children:f.jsxs("div",{ref:H,className:Y("flex items-center justify-between border rounded-lg shadow-lg",ae.container,ae.height,R.background,R.text,R.border),children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("button",{type:"button",onClick:T,disabled:C,className:"flex items-center justify-center w-6 h-6 rounded-full hover:bg-white/10 transition-colors","aria-label":"Close floating bar","data-testid":`${x}-close-button`,children:f.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),y&&M?f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("svg",{className:"w-4 h-4 text-red-200",fill:"currentColor",viewBox:"0 0 20 20",children:f.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"})}),f.jsx(se,{variant:"medium",className:"text-inherit",children:M})]}):f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("span",{className:"inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-white/20 text-white",children:r}),f.jsx(se,{variant:"medium",className:"text-inherit",children:h})]})]}),!y&&!C&&f.jsx("div",{ref:L,className:Y("flex items-center",a&&Y("rounded-full px-2",R.actionBg)),children:k?f.jsxs(Ue.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:b},className:"flex items-center gap-1",children:[X(),D()]}):f.jsx(Ue.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:b},children:K()})}),C&&f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("div",{className:"w-4 h-4 border-2 border-white/20 border-t-white rounded-full animate-spin"}),f.jsx(se,{variant:"medium",className:"text-inherit",children:"Loading..."})]})]})})})});fp.displayName="FloatingBar";const hp=(e=[])=>{l.useEffect(()=>{window.scrollTo(0,0)},e)},cu="-",mB=e=>{const t=gB(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const s=o.split(cu);return s[0]===""&&s.length!==1&&s.shift(),mp(s,t)||pB(o)},getConflictingClassGroupIds:(o,s)=>{const u=n[o]||[];return s&&r[o]?[...u,...r[o]]:u}}},mp=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?mp(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(cu);return t.validators.find(({validator:o})=>o(a))?.classGroupId},pp=/^\[(.+)\]$/,pB=e=>{if(pp.test(e)){const t=pp.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},gB=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)du(n[i],r,i,t);return r},du=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const a=i===""?t:gp(t,i);a.classGroupId=n;return}if(typeof i=="function"){if(vB(i)){du(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,o])=>{du(o,gp(t,a),n,r)})})},gp=(e,t)=>{let n=e;return t.split(cu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},vB=e=>e.isThemeGetter,bB=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let o=n.get(a);if(o!==void 0)return o;if((o=r.get(a))!==void 0)return i(a,o),o},set(a,o){n.has(a)?n.set(a,o):i(a,o)}}},fu="!",hu=":",xB=hu.length,wB=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const a=[];let o=0,s=0,u=0,c;for(let g=0;g<i.length;g++){let b=i[g];if(o===0&&s===0){if(b===hu){a.push(i.slice(u,g)),u=g+xB;continue}if(b==="/"){c=g;continue}}b==="["?o++:b==="]"?o--:b==="("?s++:b===")"&&s--}const d=a.length===0?i:i.substring(u),h=yB(d),m=h!==d,p=c&&c>u?c-u:void 0;return{modifiers:a,hasImportantModifier:m,baseClassName:h,maybePostfixModifierPosition:p}};if(t){const i=t+hu,a=r;r=o=>o.startsWith(i)?a(o.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=a=>n({className:a,parseClassName:i})}return r},yB=e=>e.endsWith(fu)?e.substring(0,e.length-1):e.startsWith(fu)?e.substring(1):e,EB=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let a=[];return r.forEach(o=>{o[0]==="["||t[o]?(i.push(...a.sort(),o),a=[]):a.push(o)}),i.push(...a.sort()),i}},CB=e=>({cache:bB(e.cacheSize),parseClassName:wB(e),sortModifiers:EB(e),...mB(e)}),kB=/\s+/,IB=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(kB);let u="";for(let c=s.length-1;c>=0;c-=1){const d=s[c],{isExternal:h,modifiers:m,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:b}=n(d);if(h){u=d+(u.length>0?" "+u:u);continue}let v=!!b,x=r(v?g.substring(0,b):g);if(!x){if(!v){u=d+(u.length>0?" "+u:u);continue}if(x=r(g),!x){u=d+(u.length>0?" "+u:u);continue}v=!1}const y=a(m).join(":"),C=p?y+fu:y,M=C+x;if(o.includes(M))continue;o.push(M);const E=i(x,v);for(let w=0;w<E.length;++w){const z=E[w];o.push(C+z)}u=d+(u.length>0?" "+u:u)}return u};function zB(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=vp(t))&&(r&&(r+=" "),r+=n);return r}const vp=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=vp(e[r]))&&(n&&(n+=" "),n+=t);return n};function FB(e,...t){let n,r,i,a=o;function o(u){const c=t.reduce((d,h)=>h(d),e());return n=CB(c),r=n.cache.get,i=n.cache.set,a=s,s(u)}function s(u){const c=r(u);if(c)return c;const d=IB(u,n);return i(u,d),d}return function(){return a(zB.apply(null,arguments))}}const st=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},bp=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,xp=/^\((?:(\w[\w-]*):)?(.+)\)$/i,MB=/^\d+\/\d+$/,SB=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,AB=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,NB=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,DB=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,LB=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Pr=e=>MB.test(e),Me=e=>!!e&&!Number.isNaN(Number(e)),Yn=e=>!!e&&Number.isInteger(Number(e)),mu=e=>e.endsWith("%")&&Me(e.slice(0,-1)),Hn=e=>SB.test(e),TB=()=>!0,BB=e=>AB.test(e)&&!NB.test(e),wp=()=>!1,HB=e=>DB.test(e),jB=e=>LB.test(e),PB=e=>!me(e)&&!pe(e),OB=e=>Or(e,Ip,wp),me=e=>bp.test(e),or=e=>Or(e,zp,BB),pu=e=>Or(e,WB,Me),yp=e=>Or(e,Cp,wp),VB=e=>Or(e,kp,jB),Sa=e=>Or(e,Fp,HB),pe=e=>xp.test(e),Xi=e=>Vr(e,zp),GB=e=>Vr(e,UB),Ep=e=>Vr(e,Cp),_B=e=>Vr(e,Ip),$B=e=>Vr(e,kp),Aa=e=>Vr(e,Fp,!0),Or=(e,t,n)=>{const r=bp.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Vr=(e,t,n=!1)=>{const r=xp.exec(e);return r?r[1]?t(r[1]):n:!1},Cp=e=>e==="position"||e==="percentage",kp=e=>e==="image"||e==="url",Ip=e=>e==="length"||e==="size"||e==="bg-size",zp=e=>e==="length",WB=e=>e==="number",UB=e=>e==="family-name",Fp=e=>e==="shadow",XB=FB(()=>{const e=st("color"),t=st("font"),n=st("text"),r=st("font-weight"),i=st("tracking"),a=st("leading"),o=st("breakpoint"),s=st("container"),u=st("spacing"),c=st("radius"),d=st("shadow"),h=st("inset-shadow"),m=st("text-shadow"),p=st("drop-shadow"),g=st("blur"),b=st("perspective"),v=st("aspect"),x=st("ease"),y=st("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...M(),pe,me],w=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto","contain","none"],I=()=>[pe,me,u],k=()=>[Pr,"full","auto",...I()],F=()=>[Yn,"none","subgrid",pe,me],N=()=>["auto",{span:["full",Yn,pe,me]},Yn,pe,me],B=()=>[Yn,"auto",pe,me],H=()=>["auto","min","max","fr",pe,me],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],S=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...I()],G=()=>[Pr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],O=()=>[e,pe,me],_=()=>[...M(),Ep,yp,{position:[pe,me]}],A=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",_B,OB,{size:[pe,me]}],W=()=>[mu,Xi,or],D=()=>["","none","full",c,pe,me],X=()=>["",Me,Xi,or],K=()=>["solid","dashed","dotted","double"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>[Me,mu,Ep,yp],ue=()=>["","none",g,pe,me],U=()=>["none",Me,pe,me],J=()=>["none",Me,pe,me],fe=()=>[Me,pe,me],ee=()=>[Pr,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Hn],breakpoint:[Hn],color:[TB],container:[Hn],"drop-shadow":[Hn],ease:["in","out","in-out"],font:[PB],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Hn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Hn],shadow:[Hn],spacing:["px",Me],text:[Hn],"text-shadow":[Hn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Pr,me,pe,v]}],container:["container"],columns:[{columns:[Me,me,pe,s]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[Yn,"auto",pe,me]}],basis:[{basis:[Pr,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Me,Pr,"auto","initial","none",me]}],grow:[{grow:["",Me,pe,me]}],shrink:[{shrink:["",Me,pe,me]}],order:[{order:[Yn,"first","last","none",pe,me]}],"grid-cols":[{"grid-cols":F()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":F()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":H()}],"auto-rows":[{"auto-rows":H()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...S(),"normal"]}],"justify-self":[{"justify-self":["auto",...S()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...S(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...S(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...S(),"baseline"]}],"place-self":[{"place-self":["auto",...S()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[s,"screen",...G()]}],"min-w":[{"min-w":[s,"screen","none",...G()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",n,Xi,or]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,pe,pu]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mu,me]}],"font-family":[{font:[GB,me,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,pe,me]}],"line-clamp":[{"line-clamp":[Me,"none",pe,pu]}],leading:[{leading:[a,...I()]}],"list-image":[{"list-image":["none",pe,me]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",pe,me]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[Me,"from-font","auto",pe,or]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[Me,"auto",pe,me]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe,me]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",pe,me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:_()}],"bg-repeat":[{bg:A()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Yn,pe,me],radial:["",pe,me],conic:[Yn,pe,me]},$B,VB]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:W()}],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Me,pe,me]}],"outline-w":[{outline:["",Me,Xi,or]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",d,Aa,Sa]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",h,Aa,Sa]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[Me,or]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",m,Aa,Sa]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[Me,pe,me]}],"mix-blend":[{"mix-blend":[...ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Me]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[pe,me]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":M()}],"mask-image-conic-pos":[{"mask-conic":[Me]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:_()}],"mask-repeat":[{mask:A()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",pe,me]}],filter:[{filter:["","none",pe,me]}],blur:[{blur:ue()}],brightness:[{brightness:[Me,pe,me]}],contrast:[{contrast:[Me,pe,me]}],"drop-shadow":[{"drop-shadow":["","none",p,Aa,Sa]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",Me,pe,me]}],"hue-rotate":[{"hue-rotate":[Me,pe,me]}],invert:[{invert:["",Me,pe,me]}],saturate:[{saturate:[Me,pe,me]}],sepia:[{sepia:["",Me,pe,me]}],"backdrop-filter":[{"backdrop-filter":["","none",pe,me]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[Me,pe,me]}],"backdrop-contrast":[{"backdrop-contrast":[Me,pe,me]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Me,pe,me]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Me,pe,me]}],"backdrop-invert":[{"backdrop-invert":["",Me,pe,me]}],"backdrop-opacity":[{"backdrop-opacity":[Me,pe,me]}],"backdrop-saturate":[{"backdrop-saturate":[Me,pe,me]}],"backdrop-sepia":[{"backdrop-sepia":["",Me,pe,me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",pe,me]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Me,"initial",pe,me]}],ease:[{ease:["linear","initial",x,pe,me]}],delay:[{delay:[Me,pe,me]}],animate:[{animate:["none",y,pe,me]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,pe,me]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:U()}],"rotate-x":[{"rotate-x":U()}],"rotate-y":[{"rotate-y":U()}],"rotate-z":[{"rotate-z":U()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[pe,me,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ee()}],"translate-x":[{"translate-x":ee()}],"translate-y":[{"translate-y":ee()}],"translate-z":[{"translate-z":ee()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",pe,me]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",pe,me]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[Me,Xi,or,pu]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Mp(...e){return XB(xn(e))}var Zi=(e=>(e.COMPARISON="comparison",e.EDIT="edit",e.FOCUS_EDIT="focusEdit",e))(Zi||{});const Sp=500,Ap=({title:e,children:t,mode:n,displayId:r,noPadding:i=!1,className:a,noBanner:o=!1,contentClassName:s,onBannerClick:u,scrollToTopOnMount:c=!0})=>{hp(c?[]:void 0);const d=l.useMemo(()=>n===Zi.EDIT||n===Zi.FOCUS_EDIT?"edit":n===Zi.COMPARISON?"compare":null,[n]),h=l.useMemo(()=>(d==="edit"&&r||d==="compare")&&!o,[d,r,o]),m=l.useMemo(()=>d==="edit"&&r?{status:"warning",message:`You're currently editing ${r}`}:d==="compare"?{status:"success",message:"You are now in Comparison Mode"}:null,[d,r]);return f.jsxs(f.Fragment,{children:[f.jsx(ya,{title:e}),f.jsxs("div",{className:Mp("relative h-[calc(100vh-56px)] overflow-y-auto flex flex-col bg-primary-800 dark:bg-black-800",`ease-in-out duration-${Sp}`,a),children:[h&&m&&f.jsx(lu,{status:m.status,onClick:u,expandable:!1,children:m.message}),f.jsx("div",{className:Mp("flex-1 overflow-y-auto overflow-x-hidden bg-gray-50 dark:bg-black-700",i?"p-0":"p-4",h?"rounded-tl-none":"!rounded-tl-xl",s),id:"app-body-container",children:t})]})]})};Ap.displayName="PageContainer",ne.AccessDeniedModal=ZT,ne.Badge=Y5,ne.Banner=lu,ne.BaseInputField=Za,ne.BaseInputFieldDefault=Za,ne.Button=Kt,ne.COUNTRY_CODES=_m,ne.CURRENCIES=Jc,ne.CURRENCY_SYMBOLS=Kc,ne.Card=J5,ne.CheckSmallIcon=XT,ne.Checkbox=y1,ne.CheckboxComponent=qg,ne.CodeEditor=Xm,ne.CodeEditorTabs=Wm,ne.ColorPicker=E1,ne.ComingSoonIcon=op,ne.ConfirmationModal=WT,ne.CreatableSelectField=Zc,ne.CurrencyInputField=Uf,ne.CustomizableSelectField=Yc,ne.DateRange=Rf,ne.DateRange2=Xf,ne.DateTimeField=oh,ne.DebounceInputField=sh,ne.DeleteModal=qT,ne.DiffViewer=uu,ne.DynamicDataInput=Ym,ne.DynamicDataInputField=uh,ne.DynamicDataModal=Zm,ne.EditIcon=us,ne.ErrorModal=KT,ne.FileUpload=X5,ne.FloatingBar=fp,ne.HelmetTitle=ya,ne.IconPicker=bT,ne.IconRenderer=nu,ne.InProgress=YT,ne.InlineDiffHighlighter=hB,ne.InputField=La,ne.JsonGrid=$m,ne.LabelValue=q5,ne.LaxIcon=ap,ne.MODES=Zi,ne.MasterDataInputField=n1,ne.MdInput=tT,ne.Modal=Gn,ne.MultiFileUpload=U5,ne.OPEN_DURATION_MS=Sp,ne.OptionButton=Fl,ne.PageContainer=Ap,ne.PdfViewer=ip,ne.PercentageInputField=Jm,ne.Popper=lp,ne.ResizableSidebar=rp,ne.SearchBar=i0,ne.SelectField=w1,ne.StatusColorMapping=Z5,ne.TOGGLE_LABEL_DIRECTION=yr,ne.Tag=fr,ne.TextAreaField=t1,ne.TextField=Dg,ne.Toast=_T,ne.Toggle=Po,ne.Tooltip=et,ne.Typography=se,ne.UNIVERSAL_DATETIME_FORMAT=Hl,ne.UNIVERSAL_DATE_FORMAT=ih,ne.UnsavedChangesModal=JT,ne.countryNameFromCode=ss,ne.filterTopLevelPaths=X8,ne.formatBooleanValue=ru,ne.formatCurrency=iu,ne.formatDate=$i,ne.getFlagComponent=Ml,ne.getFlagComponentRectangle=TE,ne.getFlagComponentRectangleMd=HE,ne.getFlagComponentRectangleSm=BE,ne.getFlagComponentSm=LE,ne.isISODateString=K5,ne.monacoManager=Gm,ne.parseJson=l0,ne.randomHexString=W8,ne.systemMessages=Xt,ne.toast=$T,ne.useModalContainer=bh,ne.useOutsideClick=Bo,ne.usePythonSyntax=Vm,ne.useScrollToTop=hp,ne.useTheme=UT,Object.defineProperty(ne,Symbol.toStringTag,{value:"Module"})});