@ansible/ansible-ui-framework
Version:
A framework for building applications using PatternFly.
74 lines (56 loc) • 3.56 MB
JavaScript
(function(Be,K){typeof exports=="object"&&typeof module<"u"?K(exports,require("@patternfly/react-core"),require("react"),require("@patternfly/react-icons"),require("react-router"),require("@patternfly/react-table"),require("react-dom"),require("monaco-editor"),require("monaco-yaml")):typeof define=="function"&&define.amd?define(["exports","@patternfly/react-core","react","@patternfly/react-icons","react-router","@patternfly/react-table","react-dom","monaco-editor","monaco-yaml"],K):(Be=typeof globalThis<"u"?globalThis:Be||self,K(Be["@ansible/ansible-ui-framework"]={},Be.PatternflyReactCore,Be.React,Be.PatternflyReactIcons,Be.ReactRouterDom,Be.PatternflyReactTable,Be.ReactDOM,Be.MonacoEditor,Be.MonacoYaml))})(this,function(Be,K,S,Dt,Zr,Mn,Kwe,Xwe,Zwe){"use strict";var Jbt=Object.defineProperty;var Vwe=Be=>{throw TypeError(Be)};var $bt=(Be,K,S)=>K in Be?Jbt(Be,K,{enumerable:!0,configurable:!0,writable:!0,value:S}):Be[K]=S;var dt=(Be,K,S)=>$bt(Be,typeof K!="symbol"?K+"":K,S),Gwe=(Be,K,S)=>K.has(Be)||Vwe("Cannot "+S);var Ac=(Be,K,S)=>(Gwe(Be,K,"read from private field"),S?S.call(Be):K.get(Be)),S4=(Be,K,S)=>K.has(Be)?Vwe("Cannot add the same private member more than once"):K instanceof WeakSet?K.add(Be):K.set(Be,S),ed=(Be,K,S,Dt)=>(Gwe(Be,K,"write to private field"),Dt?Dt.call(Be,S):K.set(Be,S),S);var pV=(Be,K,S,Dt)=>({set _(Zr){ed(Be,K,Zr,S)},get _(){return Ac(Be,K,Dt)}});var Nl,Nm,Yg,pxe,dxe;function dV(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 C4=dV(S),Af=dV(Xwe);var z2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ln(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var R2={exports:{}},sy={};/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var uV;function Qwe(){if(uV)return sy;uV=1;var e=S,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(l,c,f){var d,u={},v=null,g=null;f!==void 0&&(v=""+f),c.key!==void 0&&(v=""+c.key),c.ref!==void 0&&(g=c.ref);for(d in c)r.call(c,d)&&!o.hasOwnProperty(d)&&(u[d]=c[d]);if(l&&l.defaultProps)for(d in c=l.defaultProps,c)u[d]===void 0&&(u[d]=c[d]);return{$$typeof:t,type:l,key:v,ref:g,props:u,_owner:a.current}}return sy.Fragment=n,sy.jsx=i,sy.jsxs=i,sy}var cy={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var mV;function Jwe(){return mV||(mV=1,process.env.NODE_ENV!=="production"&&function(){var e=S,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),x=Symbol.iterator,y="@@iterator";function w($){if($===null||typeof $!="object")return null;var Te=x&&$[x]||$[y];return typeof Te=="function"?Te:null}var C=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E($){{for(var Te=arguments.length,Ge=new Array(Te>1?Te-1:0),pt=1;pt<Te;pt++)Ge[pt-1]=arguments[pt];j("error",$,Ge)}}function j($,Te,Ge){{var pt=C.ReactDebugCurrentFrame,Ot=pt.getStackAddendum();Ot!==""&&(Te+="%s",Ge=Ge.concat([Ot]));var Tt=Ge.map(function(jt){return String(jt)});Tt.unshift("Warning: "+Te),Function.prototype.apply.call(console[$],console,Tt)}}var A=!1,B=!1,L=!1,D=!1,z=!1,Y;Y=Symbol.for("react.module.reference");function q($){return!!(typeof $=="string"||typeof $=="function"||$===r||$===o||z||$===a||$===f||$===d||D||$===g||A||B||L||typeof $=="object"&&$!==null&&($.$$typeof===v||$.$$typeof===u||$.$$typeof===i||$.$$typeof===l||$.$$typeof===c||$.$$typeof===Y||$.getModuleId!==void 0))}function F($,Te,Ge){var pt=$.displayName;if(pt)return pt;var Ot=Te.displayName||Te.name||"";return Ot!==""?Ge+"("+Ot+")":Ge}function R($){return $.displayName||"Context"}function U($){if($==null)return null;if(typeof $.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof $=="function")return $.displayName||$.name||null;if(typeof $=="string")return $;switch($){case r:return"Fragment";case n:return"Portal";case o:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if(typeof $=="object")switch($.$$typeof){case l:var Te=$;return R(Te)+".Consumer";case i:var Ge=$;return R(Ge._context)+".Provider";case c:return F($,$.render,"ForwardRef");case u:var pt=$.displayName||null;return pt!==null?pt:U($.type)||"Memo";case v:{var Ot=$,Tt=Ot._payload,jt=Ot._init;try{return U(jt(Tt))}catch{return null}}}return null}var V=Object.assign,Z=0,re,oe,ee,te,W,ae,pe;function Q(){}Q.__reactDisabledLog=!0;function se(){{if(Z===0){re=console.log,oe=console.info,ee=console.warn,te=console.error,W=console.group,ae=console.groupCollapsed,pe=console.groupEnd;var $={configurable:!0,enumerable:!0,value:Q,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}Z++}}function ye(){{if(Z--,Z===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},$,{value:re}),info:V({},$,{value:oe}),warn:V({},$,{value:ee}),error:V({},$,{value:te}),group:V({},$,{value:W}),groupCollapsed:V({},$,{value:ae}),groupEnd:V({},$,{value:pe})})}Z<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var de=C.ReactCurrentDispatcher,ve;function Se($,Te,Ge){{if(ve===void 0)try{throw Error()}catch(Ot){var pt=Ot.stack.trim().match(/\n( *(at )?)/);ve=pt&&pt[1]||""}return`
`+ve+$}}var he=!1,ke;{var Pe=typeof WeakMap=="function"?WeakMap:Map;ke=new Pe}function ie($,Te){if(!$||he)return"";{var Ge=ke.get($);if(Ge!==void 0)return Ge}var pt;he=!0;var Ot=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Tt;Tt=de.current,de.current=null,se();try{if(Te){var jt=function(){throw Error()};if(Object.defineProperty(jt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(jt,[])}catch(Qt){pt=Qt}Reflect.construct($,[],jt)}else{try{jt.call()}catch(Qt){pt=Qt}$.call(jt.prototype)}}else{try{throw Error()}catch(Qt){pt=Qt}$()}}catch(Qt){if(Qt&&pt&&typeof Qt.stack=="string"){for(var kt=Qt.stack.split(`
`),Nn=pt.stack.split(`
`),un=kt.length-1,bn=Nn.length-1;un>=1&&bn>=0&&kt[un]!==Nn[bn];)bn--;for(;un>=1&&bn>=0;un--,bn--)if(kt[un]!==Nn[bn]){if(un!==1||bn!==1)do if(un--,bn--,bn<0||kt[un]!==Nn[bn]){var dr=`
`+kt[un].replace(" at new "," at ");return $.displayName&&dr.includes("<anonymous>")&&(dr=dr.replace("<anonymous>",$.displayName)),typeof $=="function"&&ke.set($,dr),dr}while(un>=1&&bn>=0);break}}}finally{he=!1,de.current=Tt,ye(),Error.prepareStackTrace=Ot}var Mo=$?$.displayName||$.name:"",co=Mo?Se(Mo):"";return typeof $=="function"&&ke.set($,co),co}function De($,Te,Ge){return ie($,!1)}function $e($){var Te=$.prototype;return!!(Te&&Te.isReactComponent)}function He($,Te,Ge){if($==null)return"";if(typeof $=="function")return ie($,$e($));if(typeof $=="string")return Se($);switch($){case f:return Se("Suspense");case d:return Se("SuspenseList")}if(typeof $=="object")switch($.$$typeof){case c:return De($.render);case u:return He($.type,Te,Ge);case v:{var pt=$,Ot=pt._payload,Tt=pt._init;try{return He(Tt(Ot),Te,Ge)}catch{}}}return""}var ft=Object.prototype.hasOwnProperty,rt={},fe=C.ReactDebugCurrentFrame;function be($){if($){var Te=$._owner,Ge=He($.type,$._source,Te?Te.type:null);fe.setExtraStackFrame(Ge)}else fe.setExtraStackFrame(null)}function me($,Te,Ge,pt,Ot){{var Tt=Function.call.bind(ft);for(var jt in $)if(Tt($,jt)){var kt=void 0;try{if(typeof $[jt]!="function"){var Nn=Error((pt||"React class")+": "+Ge+" type `"+jt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof $[jt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Nn.name="Invariant Violation",Nn}kt=$[jt](Te,jt,pt,Ge,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(un){kt=un}kt&&!(kt instanceof Error)&&(be(Ot),E("%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).",pt||"React class",Ge,jt,typeof kt),be(null)),kt instanceof Error&&!(kt.message in rt)&&(rt[kt.message]=!0,be(Ot),E("Failed %s type: %s",Ge,kt.message),be(null))}}}var je=Array.isArray;function _e($){return je($)}function Oe($){{var Te=typeof Symbol=="function"&&Symbol.toStringTag,Ge=Te&&$[Symbol.toStringTag]||$.constructor.name||"Object";return Ge}}function ue($){try{return Ce($),!1}catch{return!0}}function Ce($){return""+$}function we($){if(ue($))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Oe($)),Ce($)}var Me=C.ReactCurrentOwner,at={key:!0,ref:!0,__self:!0,__source:!0},We,Xe;function bt($){if(ft.call($,"ref")){var Te=Object.getOwnPropertyDescriptor($,"ref").get;if(Te&&Te.isReactWarning)return!1}return $.ref!==void 0}function At($){if(ft.call($,"key")){var Te=Object.getOwnPropertyDescriptor($,"key").get;if(Te&&Te.isReactWarning)return!1}return $.key!==void 0}function it($,Te){typeof $.ref=="string"&&Me.current}function xt($,Te){{var Ge=function(){We||(We=!0,E("%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)",Te))};Ge.isReactWarning=!0,Object.defineProperty($,"key",{get:Ge,configurable:!0})}}function et($,Te){{var Ge=function(){Xe||(Xe=!0,E("%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)",Te))};Ge.isReactWarning=!0,Object.defineProperty($,"ref",{get:Ge,configurable:!0})}}var ut=function($,Te,Ge,pt,Ot,Tt,jt){var kt={$$typeof:t,type:$,key:Te,ref:Ge,props:jt,_owner:Tt};return kt._store={},Object.defineProperty(kt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(kt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:pt}),Object.defineProperty(kt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ot}),Object.freeze&&(Object.freeze(kt.props),Object.freeze(kt)),kt};function Pt($,Te,Ge,pt,Ot){{var Tt,jt={},kt=null,Nn=null;Ge!==void 0&&(we(Ge),kt=""+Ge),At(Te)&&(we(Te.key),kt=""+Te.key),bt(Te)&&(Nn=Te.ref,it(Te,Ot));for(Tt in Te)ft.call(Te,Tt)&&!at.hasOwnProperty(Tt)&&(jt[Tt]=Te[Tt]);if($&&$.defaultProps){var un=$.defaultProps;for(Tt in un)jt[Tt]===void 0&&(jt[Tt]=un[Tt])}if(kt||Nn){var bn=typeof $=="function"?$.displayName||$.name||"Unknown":$;kt&&xt(jt,bn),Nn&&et(jt,bn)}return ut($,kt,Nn,Ot,pt,Me.current,jt)}}var qt=C.ReactCurrentOwner,Bn=C.ReactDebugCurrentFrame;function hn($){if($){var Te=$._owner,Ge=He($.type,$._source,Te?Te.type:null);Bn.setExtraStackFrame(Ge)}else Bn.setExtraStackFrame(null)}var Ao;Ao=!1;function Xt($){return typeof $=="object"&&$!==null&&$.$$typeof===t}function Zn(){{if(qt.current){var $=U(qt.current.type);if($)return`
Check the render method of \``+$+"`."}return""}}function yi($){return""}var Bo={};function ys($){{var Te=Zn();if(!Te){var Ge=typeof $=="string"?$:$.displayName||$.name;Ge&&(Te=`
Check the top-level render call using <`+Ge+">.")}return Te}}function $i($,Te){{if(!$._store||$._store.validated||$.key!=null)return;$._store.validated=!0;var Ge=ys(Te);if(Bo[Ge])return;Bo[Ge]=!0;var pt="";$&&$._owner&&$._owner!==qt.current&&(pt=" It was passed a child from "+U($._owner.type)+"."),hn($),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ge,pt),hn(null)}}function el($,Te){{if(typeof $!="object")return;if(_e($))for(var Ge=0;Ge<$.length;Ge++){var pt=$[Ge];Xt(pt)&&$i(pt,Te)}else if(Xt($))$._store&&($._store.validated=!0);else if($){var Ot=w($);if(typeof Ot=="function"&&Ot!==$.entries)for(var Tt=Ot.call($),jt;!(jt=Tt.next()).done;)Xt(jt.value)&&$i(jt.value,Te)}}}function _s($){{var Te=$.type;if(Te==null||typeof Te=="string")return;var Ge;if(typeof Te=="function")Ge=Te.propTypes;else if(typeof Te=="object"&&(Te.$$typeof===c||Te.$$typeof===u))Ge=Te.propTypes;else return;if(Ge){var pt=U(Te);me(Ge,$.props,"prop",pt,$)}else if(Te.PropTypes!==void 0&&!Ao){Ao=!0;var Ot=U(Te);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ot||"Unknown")}typeof Te.getDefaultProps=="function"&&!Te.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ws($){{for(var Te=Object.keys($.props),Ge=0;Ge<Te.length;Ge++){var pt=Te[Ge];if(pt!=="children"&&pt!=="key"){hn($),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",pt),hn(null);break}}$.ref!==null&&(hn($),E("Invalid attribute `ref` supplied to `React.Fragment`."),hn(null))}}var _i={};function so($,Te,Ge,pt,Ot,Tt){{var jt=q($);if(!jt){var kt="";($===void 0||typeof $=="object"&&$!==null&&Object.keys($).length===0)&&(kt+=" 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 Nn=yi();Nn?kt+=Nn:kt+=Zn();var un;$===null?un="null":_e($)?un="array":$!==void 0&&$.$$typeof===t?(un="<"+(U($.type)||"Unknown")+" />",kt=" Did you accidentally export a JSX literal instead of a component?"):un=typeof $,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",un,kt)}var bn=Pt($,Te,Ge,Ot,Tt);if(bn==null)return bn;if(jt){var dr=Te.children;if(dr!==void 0)if(pt)if(_e(dr)){for(var Mo=0;Mo<dr.length;Mo++)el(dr[Mo],$);Object.freeze&&Object.freeze(dr)}else E("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 el(dr,$)}if(ft.call(Te,"key")){var co=U($),Qt=Object.keys(Te).filter(function(Kd){return Kd!=="key"}),xn=Qt.length>0?"{key: someKey, "+Qt.join(": ..., ")+": ...}":"{key: someKey}";if(!_i[co+xn]){var Ss=Qt.length>0?"{"+Qt.join(": ..., ")+": ...}":"{}";E(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,xn,co,Ss,co),_i[co+xn]=!0}}return $===r?ws(bn):_s(bn),bn}}function fc($,Te,Ge){return so($,Te,Ge,!0)}function ks($,Te,Ge){return so($,Te,Ge,!1)}var pc=ks,dc=fc;cy.Fragment=r,cy.jsx=pc,cy.jsxs=dc}()),cy}var vV;function $we(){return vV||(vV=1,process.env.NODE_ENV==="production"?R2.exports=Qwe():R2.exports=Jwe()),R2.exports}var O=$we();const e1e=(e,t,n,r)=>{var o,i,l,c;const a=[n,{code:t,...r||{}}];if((i=(o=e==null?void 0:e.services)==null?void 0:o.logger)!=null&&i.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);Pv(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),(c=(l=e==null?void 0:e.services)==null?void 0:l.logger)!=null&&c.warn?e.services.logger.warn(...a):console!=null&&console.warn&&console.warn(...a)},gV={},E4=(e,t,n,r)=>{Pv(n)&&gV[n]||(Pv(n)&&(gV[n]=new Date),e1e(e,t,n,r))},hV=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},P4=(e,t,n)=>{e.loadNamespaces(t,hV(e,n))},bV=(e,t,n,r)=>{if(Pv(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return P4(e,n,r);n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,hV(e,r))},t1e=(e,t,n={})=>!t.languages||!t.languages.length?(E4(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var o;if(((o=n.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),Pv=e=>typeof e=="string",n1e=e=>typeof e=="object"&&e!==null,r1e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,a1e={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},o1e=e=>a1e[e];let i1e={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(r1e,o1e)};const l1e=()=>i1e;let s1e;const c1e=()=>s1e,f1e=S.createContext();class p1e{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const d1e=(e,t)=>{const n=S.useRef();return S.useEffect(()=>{n.current=e},[e,t]),n.current},xV=(e,t,n,r)=>e.getFixedT(t,n,r),u1e=(e,t,n,r)=>S.useCallback(xV(e,t,n,r),[e,t,n,r]),Cn=(e,t={})=>{var A,B,L,D;const{i18n:n}=t,{i18n:r,defaultNS:a}=S.useContext(f1e)||{},o=n||r||c1e();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new p1e),!o){E4(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const z=(q,F)=>Pv(F)?F:n1e(F)&&Pv(F.defaultValue)?F.defaultValue:Array.isArray(q)?q[q.length-1]:q,Y=[z,{},!1];return Y.t=z,Y.i18n={},Y.ready=!1,Y}(A=o.options.react)!=null&&A.wait&&E4(o,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...l1e(),...o.options.react,...t},{useSuspense:l,keyPrefix:c}=i;let f=a||((B=o.options)==null?void 0:B.defaultNS);f=Pv(f)?[f]:f||["translation"],(D=(L=o.reportNamespaces).addUsedNamespaces)==null||D.call(L,f);const d=(o.isInitialized||o.initializedStoreOnce)&&f.every(z=>t1e(z,o,i)),u=u1e(o,t.lng||null,i.nsMode==="fallback"?f:f[0],c),v=()=>u,g=()=>xV(o,t.lng||null,i.nsMode==="fallback"?f:f[0],c),[x,y]=S.useState(v);let w=f.join();t.lng&&(w=`${t.lng}${w}`);const C=d1e(w),E=S.useRef(!0);S.useEffect(()=>{const{bindI18n:z,bindI18nStore:Y}=i;E.current=!0,!d&&!l&&(t.lng?bV(o,t.lng,f,()=>{E.current&&y(g)}):P4(o,f,()=>{E.current&&y(g)})),d&&C&&C!==w&&E.current&&y(g);const q=()=>{E.current&&y(g)};return z&&(o==null||o.on(z,q)),Y&&(o==null||o.store.on(Y,q)),()=>{E.current=!1,o&&(z==null||z.split(" ").forEach(F=>o.off(F,q))),Y&&o&&Y.split(" ").forEach(F=>o.store.off(F,q))}},[o,w]),S.useEffect(()=>{E.current&&d&&y(v)},[o,c,d]);const j=[x,o,d];if(j.t=x,j.i18n=o,j.ready=d,d||!d&&!l)return j;throw new Promise(z=>{t.lng?bV(o,t.lng,f,()=>z()):P4(o,f,()=>z())})},yV={by:"by",cancelText:"Cancel",canceledText:"Canceled",cardView:"Card view",clearAllFilters:"Clear all filters",clickToRefresh:"Click to refresh",closeText:"Close",confirmText:"Confirm",countMore:"{count} more",documentation:"Documentation",errorText:"Error",filter:"Filter",listView:"List view",manageColumns:"Manage columns",moreInformation:"More information",noItemsFound:"No items found",noResultsFound:"No results found",noResultsMatchCriteria:"No results match this filter criteria. Clear all filters and try again.",noSelection:"No selection",noSelections:"No selections",noneSelectedText:"None - Please make a selection below.",ofText:"of",pendingText:"Pending",pleaseFixValidationErrors:"Please fix validation errors.",processingText:"Processing",selectNone:"Select none",selectedText:"Selected",showLess:"Show less",sort:"Sort",submitText:"Submit",submittingText:"Submitting",successText:"Success",tableView:"Table view",unknownError:"Unknown error",validating:"Validating..."},_V=S.createContext([yV,()=>alert("Use FrameworkTranslationsProvider")]);function wV(e){const t=S.useState(yV);return O.jsx(_V.Provider,{value:t,children:e.children})}function ua(){return S.useContext(_V)}const fy=16,Bf={sm:36*fy,md:48*fy,lg:62*fy,xl:75*fy,xxl:90.625*fy};function kV(){const[e,t]=S.useState(()=>window.innerWidth<=Bf.sm?"xs":window.innerWidth<=Bf.md?"sm":window.innerWidth<=Bf.lg?"md":window.innerWidth<=Bf.xl?"lg":window.innerWidth<=Bf.xxl?"xl":"xxl"),n=S.useCallback(()=>{window.innerWidth<=Bf.sm?t("xs"):window.innerWidth<=Bf.md?t("sm"):window.innerWidth<=Bf.lg?t("md"):window.innerWidth<=Bf.xl?t("lg"):window.innerWidth<=Bf.xxl?t("xl"):t("xxl")},[]);return S.useEffect(()=>{const r=n;return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[n]),S.useEffect(()=>n(),[n]),e}function dl(e){const t=kV();switch(e){case"xs":return!0;case"sm":switch(t){case"sm":case"md":case"lg":case"xl":case"xxl":return!0;default:return!1}case"md":switch(t){case"md":case"lg":case"xl":case"xxl":return!0;default:return!1}case"lg":switch(t){case"lg":case"xl":case"xxl":return!0;default:return!1}case"xl":switch(t){case"xl":case"xxl":return!0;default:return!1}case"xxl":switch(t){case"xxl":return!0;default:return!1}}}function m1e(){const[e,t]=S.useState(()=>window.innerWidth>window.innerHeight?"landscape":"portrait"),n=S.useCallback(()=>{t(window.innerWidth>window.innerHeight?"landscape":"portrait")},[]);return S.useEffect(()=>{const r=n;return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[n]),S.useEffect(()=>n(),[n]),e}function SV(e){const{t}=Cn(),[n,r]=S.useState(!1),a=dl("sm"),[o]=ua(),{pageItems:i,selectedItems:l,selectItems:c,unselectAll:f,maxSelections:d}=e,u=e.itemCount!==void 0&&e.itemCount>0&&i&&i.length>0&&(i??[]).every(A=>l==null?void 0:l.includes(A)),v=S.useCallback(()=>{u?f==null||f():c==null||c(i??[])},[u,f,c,i]),g=S.useMemo(()=>a?l&&l.length>0?t("{{count}} selected",{count:l.length}):"":l&&l.length>0?`${l.length}`:"",[a,l,t]),x=S.useMemo(()=>i==null?void 0:i.filter(A=>!(l!=null&&l.includes(A))),[i,l]),y=S.useMemo(()=>!!(d&&l&&x&&!u&&(l==null?void 0:l.length)+x.length>d),[u,d,l,x]),w=S.useCallback(A=>{const B=l?l.length:0;return O.jsx(K.MenuToggle,{splitButtonItems:[O.jsx(K.MenuToggleCheckbox,{id:"select-all","data-cy":"select-all","data-testid":"select-all",ouiaId:"select-all","aria-label":t("Select all"),isChecked:u?!0:B>0?null:!1,onChange:v,children:g},"select-all")],onClick:()=>r(!n),isDisabled:y,ref:A})},[l,u,v,g,y,n,t]),C=S.useMemo(()=>O.jsx(K.DropdownItem,{id:"select-none",ouiaId:"select-none",onClick:()=>{f==null||f(),r(!1)},children:e.selectNoneText??o.selectNone},"select-none"),[e.selectNoneText,o.selectNone,f]),E=S.useMemo(()=>O.jsx(K.DropdownItem,{id:"select-page",ouiaId:"select-page",onClick:()=>{c==null||c(i??[]),r(!1)},children:t("Select {{count}} page items",{count:(i==null?void 0:i.length)??0})},"select-page"),[c,i,t]),j=S.useMemo(()=>l&&l.length>0?[C,E]:[E],[C,E,l]);return O.jsx("div",{children:O.jsx(K.Dropdown,{style:{zIndex:400},toggle:w,isOpen:n,onOpenChange:A=>r(A),children:O.jsx(K.DropdownList,{children:j})})})}function O4(e){let t="collapsed";return e.open&&(t+=" expanded"),O.jsx("div",{className:t,children:e.children})}var ul=function(){return ul=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ul.apply(this,arguments)};function Ov(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function v1e(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var g1e=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,h1e=v1e(function(e){return g1e.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Nr="-ms-",py="-moz-",or="-webkit-",CV="comm",W2="rule",T4="decl",b1e="@import",EV="@keyframes",x1e="@layer",PV=Math.abs,I4=String.fromCharCode,j4=Object.assign;function y1e(e,t){return Eo(e,0)^45?(((t<<2^Eo(e,0))<<2^Eo(e,1))<<2^Eo(e,2))<<2^Eo(e,3):0}function OV(e){return e.trim()}function td(e,t){return(e=t.exec(e))?e[0]:e}function jn(e,t,n){return e.replace(t,n)}function q2(e,t,n){return e.indexOf(t,n)}function Eo(e,t){return e.charCodeAt(t)|0}function ib(e,t,n){return e.slice(t,n)}function Mf(e){return e.length}function TV(e){return e.length}function dy(e,t){return t.push(e),e}function _1e(e,t){return e.map(t).join("")}function IV(e,t){return e.filter(function(n){return!td(n,t)})}var H2=1,lb=1,jV=0,zs=0,Na=0,sb="";function U2(e,t,n,r,a,o,i,l){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:H2,column:lb,length:i,return:"",siblings:l}}function Uu(e,t){return j4(U2("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function cb(e){for(;e.root;)e=Uu(e.root,{children:[e]});dy(e,e.siblings)}function w1e(){return Na}function k1e(){return Na=zs>0?Eo(sb,--zs):0,lb--,Na===10&&(lb=1,H2--),Na}function Bc(){return Na=zs<jV?Eo(sb,zs++):0,lb++,Na===10&&(lb=1,H2++),Na}function Tv(){return Eo(sb,zs)}function V2(){return zs}function G2(e,t){return ib(sb,e,t)}function A4(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 S1e(e){return H2=lb=1,jV=Mf(sb=e),zs=0,[]}function C1e(e){return sb="",e}function B4(e){return OV(G2(zs-1,M4(e===91?e+2:e===40?e+1:e)))}function E1e(e){for(;(Na=Tv())&&Na<33;)Bc();return A4(e)>2||A4(Na)>3?"":" "}function P1e(e,t){for(;--t&&Bc()&&!(Na<48||Na>102||Na>57&&Na<65||Na>70&&Na<97););return G2(e,V2()+(t<6&&Tv()==32&&Bc()==32))}function M4(e){for(;Bc();)switch(Na){case e:return zs;case 34:case 39:e!==34&&e!==39&&M4(Na);break;case 40:e===41&&M4(e);break;case 92:Bc();break}return zs}function O1e(e,t){for(;Bc()&&e+Na!==57;)if(e+Na===84&&Tv()===47)break;return"/*"+G2(t,zs-1)+"*"+I4(e===47?e:Bc())}function T1e(e){for(;!A4(Tv());)Bc();return G2(e,zs)}function I1e(e){return C1e(Y2("",null,null,null,[""],e=S1e(e),0,[0],e))}function Y2(e,t,n,r,a,o,i,l,c){for(var f=0,d=0,u=i,v=0,g=0,x=0,y=1,w=1,C=1,E=0,j="",A=a,B=o,L=r,D=j;w;)switch(x=E,E=Bc()){case 40:if(x!=108&&Eo(D,u-1)==58){q2(D+=jn(B4(E),"&","&\f"),"&\f",PV(f?l[f-1]:0))!=-1&&(C=-1);break}case 34:case 39:case 91:D+=B4(E);break;case 9:case 10:case 13:case 32:D+=E1e(x);break;case 92:D+=P1e(V2()-1,7);continue;case 47:switch(Tv()){case 42:case 47:dy(j1e(O1e(Bc(),V2()),t,n,c),c);break;default:D+="/"}break;case 123*y:l[f++]=Mf(D)*C;case 125*y:case 59:case 0:switch(E){case 0:case 125:w=0;case 59+d:C==-1&&(D=jn(D,/\f/g,"")),g>0&&Mf(D)-u&&dy(g>32?BV(D+";",r,n,u-1,c):BV(jn(D," ","")+";",r,n,u-2,c),c);break;case 59:D+=";";default:if(dy(L=AV(D,t,n,f,d,a,l,j,A=[],B=[],u,o),o),E===123)if(d===0)Y2(D,t,L,L,A,o,u,l,B);else switch(v===99&&Eo(D,3)===110?100:v){case 100:case 108:case 109:case 115:Y2(e,L,L,r&&dy(AV(e,L,L,0,0,a,l,j,a,A=[],u,B),B),a,B,u,l,r?A:B);break;default:Y2(D,L,L,L,[""],B,0,l,B)}}f=d=g=0,y=C=1,j=D="",u=i;break;case 58:u=1+Mf(D),g=x;default:if(y<1){if(E==123)--y;else if(E==125&&y++==0&&k1e()==125)continue}switch(D+=I4(E),E*y){case 38:C=d>0?1:(D+="\f",-1);break;case 44:l[f++]=(Mf(D)-1)*C,C=1;break;case 64:Tv()===45&&(D+=B4(Bc())),v=Tv(),d=u=Mf(j=D+=T1e(V2())),E++;break;case 45:x===45&&Mf(D)==2&&(y=0)}}return o}function AV(e,t,n,r,a,o,i,l,c,f,d,u){for(var v=a-1,g=a===0?o:[""],x=TV(g),y=0,w=0,C=0;y<r;++y)for(var E=0,j=ib(e,v+1,v=PV(w=i[y])),A=e;E<x;++E)(A=OV(w>0?g[E]+" "+j:jn(j,/&\f/g,g[E])))&&(c[C++]=A);return U2(e,t,n,a===0?W2:l,c,f,d,u)}function j1e(e,t,n,r){return U2(e,t,n,CV,I4(w1e()),ib(e,2,-2),0,r)}function BV(e,t,n,r,a){return U2(e,t,n,T4,ib(e,0,r),ib(e,r+1,-1),r,a)}function MV(e,t,n){switch(y1e(e,t)){case 5103:return or+"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 or+e+e;case 4789:return py+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return or+e+py+e+Nr+e+e;case 5936:switch(Eo(e,t+11)){case 114:return or+e+Nr+jn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return or+e+Nr+jn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return or+e+Nr+jn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return or+e+Nr+e+e;case 6165:return or+e+Nr+"flex-"+e+e;case 5187:return or+e+jn(e,/(\w+).+(:[^]+)/,or+"box-$1$2"+Nr+"flex-$1$2")+e;case 5443:return or+e+Nr+"flex-item-"+jn(e,/flex-|-self/g,"")+(td(e,/flex-|baseline/)?"":Nr+"grid-row-"+jn(e,/flex-|-self/g,""))+e;case 4675:return or+e+Nr+"flex-line-pack"+jn(e,/align-content|flex-|-self/g,"")+e;case 5548:return or+e+Nr+jn(e,"shrink","negative")+e;case 5292:return or+e+Nr+jn(e,"basis","preferred-size")+e;case 6060:return or+"box-"+jn(e,"-grow","")+or+e+Nr+jn(e,"grow","positive")+e;case 4554:return or+jn(e,/([^-])(transform)/g,"$1"+or+"$2")+e;case 6187:return jn(jn(jn(e,/(zoom-|grab)/,or+"$1"),/(image-set)/,or+"$1"),e,"")+e;case 5495:case 3959:return jn(e,/(image-set\([^]*)/,or+"$1$`$1");case 4968:return jn(jn(e,/(.+:)(flex-)?(.*)/,or+"box-pack:$3"+Nr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+or+e+e;case 4200:if(!td(e,/flex-|baseline/))return Nr+"grid-column-align"+ib(e,t)+e;break;case 2592:case 3360:return Nr+jn(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,td(r.props,/grid-\w+-end/)})?~q2(e+(n=n[t].value),"span",0)?e:Nr+jn(e,"-start","")+e+Nr+"grid-row-span:"+(~q2(n,"span",0)?td(n,/\d+/):+td(n,/\d+/)-+td(e,/\d+/))+";":Nr+jn(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return td(r.props,/grid-\w+-start/)})?e:Nr+jn(jn(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return jn(e,/(.+)-inline(.+)/,or+"$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(Mf(e)-1-t>6)switch(Eo(e,t+1)){case 109:if(Eo(e,t+4)!==45)break;case 102:return jn(e,/(.+:)(.+)-([^]+)/,"$1"+or+"$2-$3$1"+py+(Eo(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~q2(e,"stretch",0)?MV(jn(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return jn(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,o,i,l,c,f){return Nr+a+":"+o+f+(i?Nr+a+"-span:"+(l?c:+c-+o)+f:"")+e});case 4949:if(Eo(e,t+6)===121)return jn(e,":",":"+or)+e;break;case 6444:switch(Eo(e,Eo(e,14)===45?18:11)){case 120:return jn(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+or+(Eo(e,14)===45?"inline-":"")+"box$3$1"+or+"$2$3$1"+Nr+"$2box$3")+e;case 100:return jn(e,":",":"+Nr)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return jn(e,"scroll-","scroll-snap-")+e}return e}function K2(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function A1e(e,t,n,r){switch(e.type){case x1e:if(e.children.length)break;case b1e:case T4:return e.return=e.return||e.value;case CV:return"";case EV:return e.return=e.value+"{"+K2(e.children,r)+"}";case W2:if(!Mf(e.value=e.props.join(",")))return""}return Mf(n=K2(e.children,r))?e.return=e.value+"{"+n+"}":""}function B1e(e){var t=TV(e);return function(n,r,a,o){for(var i="",l=0;l<t;l++)i+=e[l](n,r,a,o)||"";return i}}function M1e(e){return function(t){t.root||(t=t.return)&&e(t)}}function L1e(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case T4:e.return=MV(e.value,e.length,n);return;case EV:return K2([Uu(e,{value:jn(e.value,"@","@"+or)})],r);case W2:if(e.length)return _1e(n=e.props,function(a){switch(td(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":cb(Uu(e,{props:[jn(a,/:(read-\w+)/,":"+py+"$1")]})),cb(Uu(e,{props:[a]})),j4(e,{props:IV(n,r)});break;case"::placeholder":cb(Uu(e,{props:[jn(a,/:(plac\w+)/,":"+or+"input-$1")]})),cb(Uu(e,{props:[jn(a,/:(plac\w+)/,":"+py+"$1")]})),cb(Uu(e,{props:[jn(a,/:(plac\w+)/,Nr+"input-$1")]})),cb(Uu(e,{props:[a]})),j4(e,{props:IV(n,r)});break}return""})}}var D1e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Iv=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",LV="active",DV="data-styled-version",X2="6.1.14",L4=`/*!sc*/
`,Z2=typeof window<"u"&&"HTMLElement"in window,F1e=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),FV=/invalid hook call/i,Q2=new Set,N1e=function(e,t){if(process.env.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n,` has been created dynamically.
`)+`You may see this warning because you've called styled inside another component.
To resolve this only create new StyledComponents outside of any render method and function component.`,a=console.error;try{var o=!0;console.error=function(i){for(var l=[],c=1;c<arguments.length;c++)l[c-1]=arguments[c];FV.test(i)?(o=!1,Q2.delete(r)):a.apply(void 0,Ov([i],l,!1))},S.useRef(),o&&!Q2.has(r)&&(console.warn(r),Q2.add(r))}catch(i){FV.test(i.message)&&Q2.delete(r)}finally{console.error=a}}},J2=Object.freeze([]),fb=Object.freeze({});function z1e(e,t,n){return n===void 0&&(n=fb),e.theme!==n.theme&&e.theme||t||n.theme}var D4=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),R1e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,W1e=/(^-|-$)/g;function NV(e){return e.replace(R1e,"-").replace(W1e,"")}var q1e=/(a)(d)/gi,$2=52,zV=function(e){return String.fromCharCode(e+(e>25?39:97))};function F4(e){var t,n="";for(t=Math.abs(e);t>$2;t=t/$2|0)n=zV(t%$2)+n;return(zV(t%$2)+n).replace(q1e,"$1-$2")}var N4,RV=5381,jv=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},WV=function(e){return jv(RV,e)};function qV(e){return F4(WV(e)>>>0)}function HV(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function z4(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var UV=typeof Symbol=="function"&&Symbol.for,VV=UV?Symbol.for("react.memo"):60115,H1e=UV?Symbol.for("react.forward_ref"):60112,U1e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},V1e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},GV={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},G1e=((N4={})[H1e]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},N4[VV]=GV,N4);function YV(e){return("type"in(t=e)&&t.type.$$typeof)===VV?GV:"$$typeof"in e?G1e[e.$$typeof]:U1e;var t}var Y1e=Object.defineProperty,K1e=Object.getOwnPropertyNames,KV=Object.getOwnPropertySymbols,X1e=Object.getOwnPropertyDescriptor,Z1e=Object.getPrototypeOf,XV=Object.prototype;function ZV(e,t,n){if(typeof t!="string"){if(XV){var r=Z1e(t);r&&r!==XV&&ZV(e,r,n)}var a=K1e(t);KV&&(a=a.concat(KV(t)));for(var o=YV(e),i=YV(t),l=0;l<a.length;++l){var c=a[l];if(!(c in V1e||n&&n[c]||i&&c in i||o&&c in o)){var f=X1e(t,c);try{Y1e(e,c,f)}catch{}}}}return e}function pb(e){return typeof e=="function"}function R4(e){return typeof e=="object"&&"styledComponentId"in e}function Av(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function W4(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function db(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function q4(e,t,n){if(n===void 0&&(n=!1),!n&&!db(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=q4(e[r],t[r]);else if(db(t))for(var r in t)e[r]=q4(e[r],t[r]);return e}function H4(e,t){Object.defineProperty(e,"toString",{value:t})}var Q1e=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
- Are you trying to reuse it across renders?
- Are you accidentally calling collectStyles twice?
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
- Does this error occur on the client and is your target falsy?
- Does this error occur on the server and is the sheet falsy?
`,5:`The clone method cannot be used on the client!
- Are you running in a client-like environment on the server?
- Are you trying to run SSR on the client?
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
- Are you using a custom target that isn't mounted?
- Does your document not have a valid head element?
- Have you accidentally removed a style tag manually?
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
`,14:`ThemeProvider: "theme" prop is required.
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
as for instance in your render method then you may be running into this limitation.
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
Has styled-components' style tag been unmounted or altered by another script?
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function J1e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],a=1,o=e.length;a<o;a+=1)r.push(e[a]);return r.forEach(function(i){n=n.replace(/%[a-z]/,i)}),n}function ub(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(J1e.apply(void 0,Ov([Q1e[e]],t,!1)).trim())}var $1e=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,a=r.length,o=a;t>=o;)if((o<<=1)<0)throw ub(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=a;i<o;i++)this.groupSizes[i]=0}for(var l=this.indexOfGroup(t+1),c=(i=0,n.length);i<c;i++)this.tag.insertRule(l,n[i])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),a=r+n;this.groupSizes[t]=0;for(var o=r;o<a;o++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],a=this.indexOfGroup(t),o=a+r,i=a;i<o;i++)n+="".concat(this.tag.getRule(i)).concat(L4);return n},e}(),eke=1<<30,eS=new Map,tS=new Map,nS=1,rS=function(e){if(eS.has(e))return eS.get(e);for(;tS.has(nS);)nS++;var t=nS++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>eke))throw ub(16,"".concat(t));return eS.set(e,t),tS.set(t,e),t},tke=function(e,t){nS=t+1,eS.set(e,t),tS.set(t,e)},nke="style[".concat(Iv,"][").concat(DV,'="').concat(X2,'"]'),rke=new RegExp("^".concat(Iv,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ake=function(e,t,n){for(var r,a=n.split(","),o=0,i=a.length;o<i;o++)(r=a[o])&&e.registerName(t,r)},oke=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(L4),a=[],o=0,i=r.length;o<i;o++){var l=r[o].trim();if(l){var c=l.match(rke);if(c){var f=0|parseInt(c[1],10),d=c[2];f!==0&&(tke(d,f),ake(e,d,c[3]),e.getTag().insertRules(f,a)),a.length=0}else a.push(l)}}},QV=function(e){for(var t=document.querySelectorAll(nke),n=0,r=t.length;n<r;n++){var a=t[n];a&&a.getAttribute(Iv)!==LV&&(oke(e,a),a.parentNode&&a.parentNode.removeChild(a))}};function ike(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var JV=function(e){var t=document.head,n=e||t,r=document.createElement("style"),a=function(l){var c=Array.from(l.querySelectorAll("style[".concat(Iv,"]")));return c[c.length-1]}(n),o=a!==void 0?a.nextSibling:null;r.setAttribute(Iv,LV),r.setAttribute(DV,X2);var i=ike();return i&&r.setAttribute("nonce",i),n.insertBefore(r,o),r},lke=function(){function e(t){this.element=JV(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,a=0,o=r.length;a<o;a++){var i=r[a];if(i.ownerNode===n)return i}throw ub(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),ske=function(){function e(t){this.element=JV(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length