1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/highlight-CjEmq4Uf.js","assets/index-DFhwYlt1.js","assets/debug-Bh0zsZX2.js","assets/index-37iayRfU.js","assets/index-Chjiymov.js","assets/Overview-Bta61gXJ.js","assets/join-org-1Kh8m1tb.js","assets/RequestStarterOrganizationAccessModal-COknEfyj.js","assets/starterIntake-TAIDjrHi.js","assets/StarterOrgIntake-DbeKUYgk.js","assets/Grid-lmEMaZBG.js","assets/keys-Cy3YXL2-.js","assets/PermissionsPage-CYEzJiEA.js","assets/NotificationsFeed-BpcJDm0e.js","assets/Datetime-BDpUgWSr.js","assets/Markdown-DSXAkwev.js","assets/TableCell-KevEUvLd.js","assets/TableRow-TyxZOvLv.js","assets/NotificationsAlert-DedU8QWD.js","assets/EmptyOverlays-CeocoIgl.js","assets/linky-DcCtugds.js","assets/layout-CSz0B4GP.js","assets/navigate-F9uRN6__.js","assets/DataGridPro-N8LhTQPm.js","assets/index-PC6CIEdk.js","assets/Checkbox-RSB2x3qK.js","assets/SwitchBase-BS5ZujiX.js","assets/FormControlLabel-Ct30Nhcj.js","assets/KeyboardArrowRight-BZLC5UP9.js","assets/LastPage-BVUq_GZh.js","assets/LinearProgress-D8fVm8Xl.js","assets/DescriptionAlert-DIEx_FfH.js","assets/ImageCatalogSearch-BKn2xGg3.js","assets/searchParams-Cij4_k9Z.js","assets/ImageBadges-DIETI2Cd.js","assets/dashboard_customize-Cu0pKsl5.js","assets/verified_user-CKu0AbuL.js","assets/ListItem-DvGApw0a.js","assets/Images-BnySrfxP.js","assets/FullPageContainer-DubahEbF.js","assets/TabPanel-DOG2cnm-.js","assets/CountChip-DCED43iP.js","assets/i18n-format-BBokCNsw.js","assets/menu_book-Dd11xAMK.js","assets/Tabs-BbHdhsZV.js","assets/OrganizationCatalog-BLA9Rwcu.js","assets/ExportButton-BrZB0SFo.js","assets/download-DSRro7Du.js","assets/ImageGrid-D5ndCBGt.js","assets/CategoryPicker-C8b1lmkW.js","assets/focus-BAwSiLoL.js","assets/discover_tune-D-KCTF82.js","assets/Radio-CY8fWs2_.js","assets/PaginationFooter-_9RkMCmb.js","assets/keyboard_arrow_left-MJOfjRtc.js","assets/SearchBar-DEojyjx8.js","assets/search-DAb5mb59.js","assets/ToggleButtonGroup-BfnJj8IT.js","assets/GridToolbarQuickFilter-8j_VgHnm.js","assets/TooltipPanel-BcuLQgGc.js","assets/TruncatedDescription-BaR9cXax.js","assets/note_stack_add-Dqm8Kp6N.js","assets/unique-tags-COSnGT3p.js","assets/sync_problem-BLUd_r0R.js","assets/ActionButton-Cb1WKD5D.js","assets/useGridApiRef-CXqMHx6n.js","assets/ImageOptionCards-Ba3q9pDn.js","assets/TagsFilter-BPHNX_TX.js","assets/ChainguardCatalog-D5rzuUOE.js","assets/ImageDetails-Eon2SOGP.js","assets/ContentDetailsTitle-CamzldZL.js","assets/ImageDetails-s_R-m8fE.js","assets/LanguageAlert-zbdURDb3.js","assets/Comparison-DcukxLyR.js","assets/Severity-B5xG4PHh.js","assets/year-BLnyC-6K.js","assets/vuln-obH_PtWs.js","assets/DateRangePickers-DK6SyGAo.js","assets/DatePicker-DoyKJv8d.js","assets/visuallyHidden-Dan1xhjv.js","assets/EOLAlerts-haINdFiB.js","assets/TanStackGrid-Bh8I8mCa.js","assets/arrow_downward-DPzi3hWE.js","assets/SearchBar-DUgyjUjd.js","assets/tanstack-CeX-HA2N.js","assets/TableHead-BcMmTdyw.js","assets/packages-BIfxSKM8.js","assets/ContentSkeleton-DiVpqNjc.js","assets/DigestPicker-Bm4ug1nc.js","assets/ImageCard-nYdtBccw.js","assets/CustomizeImageForm-b2r5nj51.js","assets/apks-BqHIbKih.js","assets/NavPrompt-CUBQCKV5.js","assets/RadioGroup-ClUFtdXj.js","assets/FormGroup-FipMfVFG.js","assets/pagination-BeLX9dPC.js","assets/apks.graphql-CGr34a1_.js","assets/advisories.graphql-DKQsC1Ss.js","assets/Event-pNSNMg5E.js","assets/Builds-DWna0V42.js","assets/ArchPicker-CGGTRzer.js","assets/help-DH9pd3D6.js","assets/VulnerabilityTable-NmeV7849.js","assets/VulnOverview-Cn-kb8Ta.js","assets/ReferenceList-DmS2670v.js","assets/advisoryLink-D4yOWeL_.js","assets/ConfirmDeleteDialog-BrqbqnI_.js","assets/delete-DM_TxxKj.js","assets/edit-DVagNIkr.js","assets/ImageOverview-CE3WGFbk.js","assets/VersionDetails-BbHR8Lu6.js","assets/BuildLog-CtPMdhSy.js","assets/CodeFile-Bw9sOTs4.js","assets/CustomizeImage-Bl5_m_Cz.js","assets/BuildDetails-D8eBph-s.js","assets/Aliases-hT_4f_CC.js","assets/PackageList-y67_OwhC.js","assets/PackageDetails-CZqkpllb.js","assets/HelmDetails-Da_nyi5l.js","assets/HelmChartRequest-CnxNcPWz.js","assets/folder_code-CF5hS1Im.js","assets/HelmImageDetails-nMHan733.js","assets/HelmVersionDetail
1s-DYF4qpaO.js","assets/HelmList-4GnhPxaE.js","assets/Helm-RWuCDlM5.js","assets/Reports-ISGe46OF.js","assets/Requests-Clxw8wWJ.js","assets/ActiveRequests-DPqBbPgB.js","assets/RequestGrid-D4dausiX.js","assets/UpvoteButton-dERzhwun.js","assets/PendingRequests-DKWLwntb.js","assets/MyRequests-MutW3swy.js","assets/AllRequests-B2nDgDaX.js","assets/RequestDetails-CpJzfuE3.js","assets/General-BSZjR9rh.js","assets/RoleSelect-z6NEuwf2.js","assets/OrganizationRoleChip-BbnBOLf4.js","assets/RoleDetails-M6sPwI7a.js","assets/roles-6uRno4n_.js","assets/IdentityDetails-CR3W_CyB.js","assets/RolesTable-BUmjo9d6.js","assets/MutationButtons-BL7Y_bi_.js","assets/identity-B02mN0N7.js","assets/IdentityList-XuxvFhgu.js","assets/IdentityTable-C3_ROc_P.js","assets/AmazonWebService-CBQClxrr.js","assets/access-token-BwagRylT.js","assets/GridActionsCellItem-B5EUevYU.js","assets/IdentityProviderLanding-CKFFvaJi.js","assets/IdentityProviderDetails-DDC2C_ly.js","assets/useIdentityProvider-C6RFr11j.js","assets/group-BpcLxoe4.js","assets/identity_platform-X1SnYBzJ.js","assets/IdentityProviderGroups-CQozRAcx.js","assets/IdentityProviderScim-5isElKHk.js","assets/SessionCapabilities-DeDdjxkw.js","assets/IdentityProvider-BvQUb8uN.js","assets/IdentityProviderGroupCreate-CFB8lFVp.js","assets/InviteUsers-B_gjJ0Xa.js","assets/Plan-QkWVXwgY.js","assets/awsMarketplace-Yy1EFdUH.js","assets/aws-marketplace.graphql-C8xnaG2k.js","assets/ecosystems-3HUFnu7x.js","assets/Switch-9xz8VcYv.js","assets/constants-MG80zN3A.js","assets/RegistryInfo-Dny9G4-1.js","assets/Notifications-Di3Mf6s2.js","assets/Organization-CJWFqH9s.js","assets/constants-CdypHeE3.js","assets/Recipients-D5pfcB8p.js","assets/GraphQLPlayground-H4YcKBfL.js","assets/PullTokenCreate-CDwhinDO.js","assets/PullTokenList-bBEDHfC1.js","assets/RoleBinding-DV7D2rQv.js","assets/RoleDetails-Cqpo_kZE.js","assets/RoleList-B2e6oNbT.js","assets/Settings-CH3fok1H.js","assets/StarterSelect-eyT1pTEh.js","assets/UserDetails-BdUo6iIH.js","assets/UserList-sYuie4Yt.js","assets/JoinOrganization-DAnaTSzz.js","assets/JoinOrganizationSuccess-Dty7fOcz.js","assets/CreateOrganization-CmoRIHbT.js","assets/CreateStarterOrganization-eUggKwFP.js","assets/InviteCode-58-kUSin.js","assets/inviteCodeValidation-CvaPVV-z.js","assets/UserData-gTN2aONc.js","assets/Login-BYnOY45j.js","assets/Login-CnYH-yZU.js","assets/AWSMarketplacePage-Djn5dZbn.js","assets/AWSMarketplaceProvider-CItvRRwC.js","assets/AWSMarketplaceLogin-18gbk4LE.js","assets/ArgosDocumentList-DP3f0CjB.js","assets/argos.graphql-DrsDkUK6.js","assets/DocumentStatusChip-CszFfRW_.js","assets/ArgosDocs-uuyPU0IR.js","assets/ArgosDocumentDetails-DKVGPVz3.js","assets/vulnTable-BqaDrQi3.js","assets/ArgosVulnList-Cqtx2prb.js","assets/ArgosVulnDetails-CdAUDs60.js","assets/UploadDrawer-D-k5X1AA.js","assets/Libraries-BxYnWeNq.js","assets/LibraryPackages-BSxNj2VL.js","assets/libraries-tBt9G10q.js","assets/libraries.graphql-BFOeoa_x.js","assets/SourceTypeSelect-DEb5VRjF.js","assets/LibraryMalware-CySsWWyH.js","assets/LibraryPackageDetails-CDKnTBHX.js","assets/FeatureDrawer-W_ih6UO4.js","assets/TimelineDrawer-BuVbrL7R.js","assets/AdvisoryPackageDetails-BwrtizwV.js","assets/VulnMetadata-Drt-D4kQ.js","assets/Status-BKZXqvvw.js","assets/SupportIdentitiesDrawer-CgNY0JBr.js","assets/NotificationsDrawer-vZX8hytN.js","assets/LibraryAdvisoriesDrawer-D-XxfvIx.js"])))=>i.map(i=>d[i]); 2function $7(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Ab=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};
vendor: 4,473 bytes, line 2
2function Wu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wlt(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var vw={exports:{}},Tg={},yw={exports:{}},Mn={};var Z2;function uae(){if(Z2)return Mn;Z2=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),f=Symbol.iterator;function p(U){return U===null||typeof U!="object"?null:(U=f&&U[f]||U["@@iterator"],typeof U=="function"?U:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function k(U,q,$){this.props=U,this.context=q,this.refs=y,this.updater=$||v}k.prototype.isReactComponent={},k.prototype.setState=function(U,q){if(typeof U!="object"&&typeof U!="function"&&U!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,U,q,"setState")},k.prototype.forceUpdate=function(U){this.updater.enqueueForceUpdate(this,U,"forceUpdate")};function E(){}E.prototype=k.prototype;function S(U,q,$){this.props=U,this.context=q,this.refs=y,this.updater=$||v}var T=S.prototype=new E;T.constructor=S,g(T,k.prototype),T.isPureReactComponent=!0;var I=Array.isArray,A=Object.prototype.hasOwnProperty,w={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function x(U,q,$){var J,Z={},Y=null,ee=null;if(q!=null)for(J in q.ref!==void 0&&(ee=q.ref),q.key!==void 0&&(Y=""+q.key),q)A.call(q,J)&&!R.hasOwnProperty(J)&&(Z[J]=q[J]);var te=arguments.length-2;if(te===1)Z.children=$;else if(1<te){for(var ce=Array(te),ne=0;ne<te;ne++)ce[ne]=arguments[ne+2];Z.children=ce}if(U&&U.defaultProps)for(J in te=U.defaultProps,te)Z[J]===void 0&&(Z[J]=te[J]);return{$$typeof:e,type:U,key:Y,ref:ee,props:Z,_owner:w.current}}function D(U,q){return{$$typeof:e,type:U.type,key:q,ref:U.ref,props:U.props,_owner:U._owner}}function M(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function F(U){var q={"=":"=0",":":"=2"};return"$"+U.replace(/[=:]/g,function($){return q[$]})}var L=/\/+/g;function P(U,q){return typeof U=="object"&&U!==null&&U.key!=null?F(""+U.key):q.toString(36)}function j(U,q,$,J,Z){var Y=typeof U;(Y==="undefined"||Y==="boolean")&&(U=null);var ee=!1;if(U===null)ee=!0;else switch(Y){case"string":case"number":ee=!0;break;case"object":switch(U.$$typeof){case e:case t:ee=!0}}if(ee)return ee=U,Z=Z(ee),U=J===""?"."+P(ee,0):J,I(Z)?($="",U!=null&&($=U.replace(L,"$&/")+"/"),j(Z,q,$,"",function(ne){return ne})):Z!=null&&(M(Z)&&(Z=D(Z,$+(!Z.key||ee&&ee.key===Z.key?"":(""+Z.key).replace(L,"$&/")+"/")+U)),q.push(Z)),1;if(ee=0,J=J===""?".":J+":",I(U))for(var te=0;te<U.length;te++){Y=U[te];var ce=J+P(Y,te);ee+=j(Y,q,$,ce,Z)}else if(ce=p(U),typeof ce=="function")for(U=ce.call(U),te=0;!(Y=U.next()).done;)Y=Y.value,ce=J+P(Y,te++),ee+=j(Y,q,$,ce,Z);else if(Y==="object")throw q=String(U),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.");return ee}function B(U,q,$){if(U==null)return U;var J=[],Z=0;return j(U,J,"","",function(Y){return q.call($,Y,Z++)}),J}function H(U){if(U._status===-1){var q=U._result;q=q(),q.then(function($){(U._status===0||U._status===-1)&&(U._status=1,U._result=$)},function($){(U._status===0||U._status===-1)&&(U._status=2,U._result=$)}),U._status===-1&&(U._status=0,U._result=q)}if(U._status===1)return U._result.default;throw U._result}var G={current:null},O={transition:null},V={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:O,ReactCurrentOwner:w};function W(){throw Error("act(...) is not supported in production builds of React.")}
2return Mn.Children={map:B,forEach:function(U,q,$){B(U,function(){q.apply(this,arguments)},$)},count:function(U){var q=0;return B(U,function(){q++}),q},toArray:function(U){return B(U,function(q){return q})||[]},only:function(U){if(!M(U))throw Error("React.Children.only expected to receive a single React element child.");return U}},Mn.Component=k,Mn.Fragment=n,Mn.Profiler=i,Mn.PureComponent=S,Mn.StrictMode=r,Mn.Suspense=l,Mn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,Mn.act=W,Mn.cloneElement=function(U,q,$){if(U==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+U+".");var J=g({},U.props),Z=U.key,Y=U.ref,ee=U._owner;if(q!=null){if(q.ref!==void 0&&(Y=q.ref,ee=w.current),q.key!==void 0&&(Z=""+q.key),U.type&&U.type.defaultProps)var te=U.type.defaultProps;for(ce in q)A.call(q,ce)&&!R.hasOwnProperty(ce)&&(J[ce]=q[ce]===void 0&&te!==void 0?te[ce]:q[ce])}var ce=arguments.length-2;if(ce===1)J.children=$;else if(1<ce){te=Array(ce);for(var ne=0;ne<ce;ne++)te[ne]=arguments[ne+2];J.children=te}return{$$typeof:e,type:U.type,key:Z,ref:Y,props:J,_owner:ee}},Mn.createContext=function(U){return U={$$typeof:a,_currentValue:U,_currentValue2:U,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},U.Provider={$$typeof:o,_context:U},U.Consumer=U},Mn.createElement=x,Mn.createFactory=function(U){var q=x.bind(null,U);return q.type=U,q},Mn.createRef=function(){return{current:null}},Mn.forwardRef=function(U){return{$$typeof:s,render:U}},Mn.isValidElement=M,Mn.lazy=function(U){return{$$typeof:c,_payload:{_status:-1,_result:U},_init:H}},Mn.memo=function(U,q){return{$$typeof:u,type:U,compare:q===void 0?null:q}},Mn.startTransition=function(U){var q=O.transition;O.transition={};try{U()}finally{O.transition=q}},Mn.unstable_act=W,Mn.useCallback=function(U,q){return G.current.useCallback(U,q)},Mn.useContext=function(U){return G.current.useContext(U)},Mn.useDebugValue=function(){},Mn.useDeferredValue=function(U){return G.current.useDeferredValue(U)},Mn.useEffect=function(U,q){return G.current.useEffect(U,q)},Mn.useId=function(){return G.current.useId()},Mn.useImperativeHandle=function(U,q,$){return G.current.useImperativeHandle(U,q,$)},Mn.useInsertionEffect=function(U,q){return G.current.useInsertionEffect(U,q)},Mn.useLayoutEffect=function(U,q){return G.current.useLayoutEffect(U,q)},Mn.useMemo=function(U,q){return G.current.useMemo(U,q)},Mn.useReducer=function(U,q,$){return G.current.useReducer(U,q,$)},Mn.useRef=function(U){return G.current.useRef(U)},Mn.useState=function(U){return G.current.useState(U)},Mn.useSyncExternalStore=function(U,q,$){return G.current.useSyncExternalStore(U,q,$)},Mn.useTransition=function(){return G.current.useTransition()},Mn.version="18.3.1",Mn}var Q2;function ep(){return Q2||(Q2=1,yw.exports=uae()),yw.exports}var X2;function cae(){if(X2)return Tg;X2=1;var e=ep(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var c,f={},p=null,v=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(v=l.ref);for(c in l)r.call(l,c)&&!o.hasOwnProperty(c)&&(f[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:v,props:f,_owner:i.current}}return Tg.Fragment=n,Tg.jsx=a,Tg.jsxs=a,Tg}var e3;function dae(){return e3||(e3=1,vw.exports=cae()),vw.exports}var b=dae();const fae="modulepreload",pae=function(e){return"/"+e},t3={},St=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){let l=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),s=a?.nonce||a?.getAttribute("nonce");i=l(n.map(u=>{if(u=pae(u),u in t3)return;t3[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":fae,c||(p.as="script"),p.crossOrigin="",p.href=u,s&&p.setAttribute("nonce",s),document.head.appendChild(p),c)return new Promise((v,g)=>{p.addEventListener("load",v),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return i.then(a=>{for(const s of a||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})};
vendor: 4,107 bytes, line 2
2var ix=function(e,t){return ix=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},ix(e,t)};function tl(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ix(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var me=function(){return me=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},me.apply(this,arguments)};function Nu(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 we(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(c){try{u(r.next(c))}catch(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})}function Ie(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(c){return l([u,c])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(n=0)),n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(c){u=[6,c],i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function yt(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Tt(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function $t(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;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))}var Iu;(function(e){e.SET="$set",e.SET_ONCE="$setOnce",e.ADD="$add",e.APPEND="$append",e.PREPEND="$prepend",e.REMOVE="$remove",e.PREINSERT="$preInsert",e.POSTINSERT="$postInsert",e.UNSET="$unset",e.CLEAR_ALL="$clearAll"})(Iu||(Iu={}));var Ro;(function(e){e.IDENTIFY="$identify",e.GROUP_IDENTIFY="$groupidentify",e.REVENUE="revenue_amount"})(Ro||(Ro={}));var n3="-",PT="AMP",mae="".concat(PT,"_unsent"),J7="$default_instance",DO="https://api2.amplitude.com/2/httpapi",Z7="https://api.eu.amplitude.com/2/httpapi",Q7="https://api2.amplitude.com/batch",X7="https://api.eu.amplitude.com/batch",hae="utm_campaign",gae="utm_content",vae="utm_id",yae="utm_medium",kae="utm_source",bae="utm_term",r3="dclid",i3="fbclid",o3="gbraid",a3="gclid",s3="ko_click_id",l3="li_fat_id",u3="msclkid",c3="rdt_cid",d3="ttclid",f3="twclid",p3="wbraid",_T={utm_campaign:void 0,utm_c
2ontent:void 0,utm_id:void 0,utm_medium:void 0,utm_source:void 0,utm_term:void 0,referrer:void 0,referring_domain:void 0,dclid:void 0,gbraid:void 0,gclid:void 0,fbclid:void 0,ko_click_id:void 0,li_fat_id:void 0,msclkid:void 0,rdt_cid:void 0,ttclid:void 0,twclid:void 0,wbraid:void 0},HS=["access-control-allow-origin","access-control-allow-credentials","access-control-expose-headers","access-control-max-age","access-control-allow-methods","access-control-allow-headers","accept-patch","accept-ranges","age","allow","alt-svc","cache-control","connection","content-disposition","content-encoding","content-language","content-length","content-location","content-md5","content-range","content-type","date","delta-base","etag","expires","im","last-modified","link","location","permanent","p3p","pragma","proxy-authenticate","public-key-pins","retry-after","server","status","strict-transport-security","trailer","transfer-encoding","tk","upgrade","vary","via","warning","www-authenticate","x-b3-traceid","x-frame-options"],Sae=["authorization","cookie","set-cookie"],Eae=1e3,ox=function(e){if(Object.keys(e).length>Eae)return!1;for(var t in e){var n=e[t];if(!ez(t,n))return!1}return!0},ez=function(e,t){var n,r;if(typeof e!="string")return!1;if(Array.isArray(t)){var i=!0;try{for(var o=yt(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(Array.isArray(s))return!1;if(typeof s=="object")i=i&&ox(s);else if(!["number","string"].includes(typeof s))return!1;if(!i)return!1}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}else{if(t==null)return!1;if(typeof t=="object")return ox(t);if(!["number","string","boolean"].includes(typeof t))return!1}return!0},Rm=(function(){function e(){this._propertySet=new Set,this._properties={}}return e.prototype.getUserProperties=function(){return me({},this._properties)},e.prototype.set=function(t,n){return this._safeSet(wr.SET,t,n),this},e.prototype.setOnce=function(t,n){return this._safeSet(wr.SET_ONCE,t,n),this},e.prototype.append=function(t,n){return this._safeSet(wr.APPEND,t,n),this},e.prototype.prepend=function(t,n){return this._safeSet(wr.PREPEND,t,n),this},e.prototype.postInsert=function(t,n){return this._safeSet(wr.POSTINSERT,t,n),this},e.prototype.preInsert=function(t,n){return this._safeSet(wr.PREINSERT,t,n),this},e.prototype.remove=function(t,n){return this._safeSet(wr.REMOVE,t,n),this},e.prototype.add=function(t,n){return this._safeSet(wr.ADD,t,n),this},e.prototype.unset=function(t){return this._safeSet(wr.UNSET,t,n3),this},e.prototype.clearAll=function(){return this._properties={},this._properties[wr.CLEAR_ALL]=n3,this},e.prototype._safeSet=function(t,n,r){if(this._validate(t,n,r)){var i=this._properties[t];return i===void 0&&(i={},this._properties[t]=i),i[n]=r,this._propertySet.add(n),!0}return!1},e.prototype._validate=function(t,n,r){return this._properties[wr.CLEAR_ALL]!==void 0||this._propertySet.has(n)?!1:t===wr.ADD?typeof r=="number":t!==wr.UNSET&&t!==wr.REMOVE?ez(n,r):!0},e})(),wr;(function(e){e.SET="$set",e.SET_ONCE="$setOnce",e.ADD="$add",e.APPEND="$append",e.PREPEND="$prepend",e.REMOVE="$remove",e.PREINSERT="$preInsert",e.POSTINSERT="$postInsert",e.UNSET="$unset",e.CLEAR_ALL="$clearAll"})(wr||(wr={}));var Tae=[wr.CLEAR_ALL,wr.UNSET,wr.SET,wr.SET_ONCE,wr.ADD,wr.APPEND,wr.PREPEND,wr.PREINSERT,wr.POSTINSERT,wr.REMOVE],Cae="Event tracked successfully",Aae="Unexpected error occurred",Iae="Event rejected due to exceeded retry count",wae="Event skipped due to optOut config",m3="Event skipped due to empty event type",Nae="Event rejected due to missing API key",Rae="Invalid API key",xae="Client not initialized",Pr;(function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.PayloadTooLarge="payload_too_large",e.Invalid="invalid",e.Failed="failed",e.Timeout="Timeout",e.SystemError="SystemError"})(Pr||(Pr={}));var df=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Pr.Unknown),{event:e,code:t,message:n}},Ft=function(){var e="ampIntegrationContext";if(typeof globalThis<"u"&&typeof globalThis[e]<"u")return globalThis[e];if(typeof globalThis<"u")return globalThis;if(typeof window<"u")return window;if(typeof self<"u")return self;if(typeof global<"u")return global},Lae=function(e){return e?(e^Math.random()*16>>e/4).toString(16):(String(1e7)+String(-1e3)+String(-4e3)+String(-8e3)+String(-1e11)).replace(/[018]/g,Gs)},h3=$t([],Tt(Array(256).keys()),!1).map(function(e){return e.toString(16).padStart(2,"0")}),Gs=function(e){var t,n=Ft();if(!(!((t=n?.crypto)===null||t===void 0)&&t.getRandomValues))return Lae(e);var r=n.crypto.getRandomValues(new Uint8Array(16));return r[6]=r[6]&15|64,r[8]=r[8]&63|128,$t([],Tt(r.entries()),!1).map(function(i){var o=Tt(i,2),a=o[0],s=o[1];return[4,6,8,10].includes(a)?"-".concat(h3[s]):h3[s]}).join("")},Oae=(function(){function e(t){this.client=t,this.queue=[],this.applying=!1,this.plugins=[],this.pluginStatus=new Map,this._optOutListeners=[]}return e.prototype.register=function(t,n){var r,i;return we(this,void 0,void 0,function(){var o;return Ie(this,function(a){switch(a.label){case 0:return t.name===void 0&&(t.name=Gs(),this.loggerProvider.warn(`Plugin name is undefined. 3 Generating a random UUID for plugin name: `.concat(t.name,`. 4 Set a name for the plugin to prevent it from being added multiple times.`))),o=t.name,this.pluginStatus.has(o)?(this.loggerProvider.warn("Plugin with name ".concat(o," already exists, skipping registration")),[2]):(t.type=(r=t.type)!==null&&r!==void 0?r:"enrichment",this.pluginStatus.set(o,"locked"),[4,(i=t.setup)===null||i===void 0?void 0:i.call(t,n,this.client)]);case 1:return a.sent(),this.pluginStatus.get(o)!=="locked"?[2]:(this.plugins.push(t),this.pluginStatus.set(o,"installed"),[2])}})})},e.prototype.deregister=function(t,n){var r;return we(this,void 0,void 0,function(){var i,o;return Ie(this,function(a){switch(a.label){case 0:return this.pluginStatus.delete(t),i=this.plugins.findIndex(function(s){return s.name===t}),i===-1?(n.loggerProvider.warn("Plugin with name ".concat(t," does not exist, skipping deregistration")),[2]):(o=this.plugins[i],this.plugins.splice(i,1),[4,(r=o.teardown)===null||r===void 0?void 0:r.call(o)]);case 1:return a.sent(),[2]}})})},e.prototype.reset=function(t){this._clearOptOutListeners(),this.applying=!1;var n=this.plugins;n.map(function(r){var i;return(i=r.teardown)===null||i===void 0?void 0:i.call(r)}),this.plugins=[],this.pluginStatus.clear(),this.client=t},e.prototype.push=function(t){var n=this;return new Promise(function(r){n.queue.push([t,r]),n.scheduleApply(0)})},e.prototype.scheduleApply=function(t){var n=this;this.applying||(this.applying=!0,setTimeout(function(){n.apply(n.queue.shift()).then(function(){n.applying=!1,n.queue.length>0&&n.scheduleApply(0)})},t))},e.prototype.apply=function(t){return we(this,void 0,void 0,function(){var n,r,i,o,a,s,l,v,g,u,c,f,p,v,g,y,k,E,S,T,I,A;return Ie(this,function(w){switch(w.label){case 0:if(!t)return[2];n=Tt(t,1),r=n[0],i=Tt(t,2),o=i[1],this.loggerProvider.log("Timeline.apply: Initial event",r),a=this.plugins.filter(function(R){return R.type==="before"}),w.label=1;case 1:w.trys.push([1,6,7,8]),s=yt(a),l=s.next(),w.label=2;case 2:return l.done?[3,5]:(v=l.value,v.execute?[4,v.execute(me({},r))]:[3,4]);case 3:if(g=w.sent(),g===null)return this.loggerProvider.log("Timeline.apply: Event filtered out by before plugin '".concat(String(v.name),"', event: ").concat(JSON.stringify(r))),o({event:r,code:0,message:""}),[2];r=g,this.loggerProvider.log("Timeline.apply: Event after before plugin '".concat(String(v.name),"', event: ").concat(JSON.stringify(r))),w.label=4;case 4:return l=s.next(),[3,2];case 5:return[3,8];case 6:return u=w.sent(),S={error:u},[3,8];case 7:try{l&&!l.done&&(T=s.return)&&T.call(s)}finally{if(S)throw S.error}
4return[7];case 8:c=this.plugins.filter(function(R){return R.type==="enrichment"||R.type===void 0}),w.label=9;case 9:w.trys.push([9,14,15,16]),f=yt(c),p=f.next(),w.label=10;case 10:return p.done?[3,13]:(v=p.value,v.execute?[4,v.execute(me({},r))]:[3,12]);case 11:if(g=w.sent(),g===null)return this.loggerProvider.log("Timeline.apply: Event filtered out by enrichment plugin '".concat(String(v.name),"', event: ").concat(JSON.stringify(r))),o({event:r,code:0,message:""}),[2];r=g,this.loggerProvider.log("Timeline.apply: Event after enrichment plugin '".concat(String(v.name),"', event: ").concat(JSON.stringify(r))),w.label=12;case 12:return p=f.next(),[3,10];case 13:return[3,16];case 14:return y=w.sent(),I={error:y},[3,16];case 15:try{p&&!p.done&&(A=f.return)&&A.call(f)}finally{if(I)throw I.error}return[7];case 16:return k=this.plugins.filter(function(R){return R.type==="destination"}),this.loggerProvider.log("Timeline.apply: Final event before destinations, event: ".concat(JSON.stringify(r))),E=k.map(function(R){var x=me({},r);return R.execute(x).catch(function(D){return df(x,0,String(D))})}),Promise.all(E).then(function(R){var x=Tt(R,1),D=x[0],M=D||df(r,100,"Event not tracked, no destination plugins on the instance");o(M)}),[2]}})})},e.prototype.flush=function(){return we(this,void 0,void 0,function(){var t,n,r,i=this;return Ie(this,function(o){switch(o.label){case 0:return t=this.queue,this.queue=[],[4,Promise.all(t.map(function(a){return i.apply(a)}))];case 1:return o.sent(),n=this.plugins.filter(function(a){return a.type==="destination"}),r=n.map(function(a){return a.flush&&a.flush()}),[4,Promise.all(r)];case 2:return o.sent(),[2]}})})},e.prototype.addOptOutListener=function(t){this._optOutListeners.push(t)},e.prototype._clearOptOutListeners=function(){this._optOutListeners=[]},e.prototype.onIdentityChanged=function(t){this.plugins.forEach(function(n){var r;(r=n.onIdentityChanged)===null||r===void 0||r.call(n,t)})},e.prototype.onSessionIdChanged=function(t){this.plugins.forEach(function(n){var r;(r=n.onSessionIdChanged)===null||r===void 0||r.call(n,t)})},e.prototype.onOptOutChanged=function(t){this.plugins.forEach(function(n){var r;(r=n.onOptOutChanged)===null||r===void 0||r.call(n,t)}),this._callOptOutListeners(t)},e.prototype._callOptOutListeners=function(t){return we(this,void 0,void 0,function(){var n,r,i,o,a,s,l;return Ie(this,function(u){switch(u.label){case 0:u.trys.push([0,7,8,9]),n=yt(this._optOutListeners),r=n.next(),u.label=1;case 1:if(r.done)return[3,6];i=r.value,u.label=2;case 2:return u.trys.push([2,4,,5]),[4,i(t)];case 3:return u.sent(),[3,5];case 4:return o=u.sent(),this.loggerProvider.error("Error calling optOut listener",o),[3,5];case 5:return r=n.next(),[3,1];case 6:return[3,9];case 7:return a=u.sent(),s={error:a},[3,9];case 8:try{r&&!r.done&&(l=n.return)&&l.call(n)}finally{if(s)throw s.error}return[7];case 9:return[2]}})})},e.prototype.onReset=function(){this.plugins.forEach(function(t){var n;(n=t.onReset)===null||n===void 0||n.call(t)})},e})(),Pae=function(e,t,n){var r=typeof e=="string"?{event_type:e}:e;return me(me(me({},r),n),t&&{event_properties:t})},MO=function(e,t){var n=me(me({},t),{event_type:Ro.IDENTIFY,user_properties:e.getUserProperties()});return n},_ae=function(e,t,n,r){var i,o=me(me({},r),{event_type:Ro.GROUP_IDENTIFY,group_properties:n.getUserProperties(),groups:(i={},i[e]=t,i)});return o},Dae=function(e,t,n){var r,i=new Rm;i.set(e,t);var o=me(me({},n),{event_type:Ro.IDENTIFY,user_properties:i.getUserProperties(),groups:(r={},r[e]=t,r)});return o},Mae=function(e,t){return me(me({},t),{event_type:Ro.REVENUE,event_properties:e.getEventProperties()})},eo=function(e){return{promise:e||Promise.resolve()}},Fae=(function(){function e(t){t===void 0&&(t="$default"),this.initializing=!1,this.isReady=!1,this.q=[],this.dispatchQ=[],this.logEvent=this.track.bind(this),this.timeline=new Oae(this),this.name=t}return e.prototype._init=function(t){return we(this,void 0,void 0,function(){var n=this;return Ie(this,function(r){switch(r.label){case 0:return this.config=t,this.timeline.reset(this),this.timeline.loggerProvider=this.config.loggerProvider,[4,this.runQueuedFunctions("q",function(){return n.isReady=!0})];case 1:return r.sent(),[2]}})})},e.prototype.runQueuedFunctions=function(t,n){return we(this,void 0,void 0,function(){var r,i,o,a,s,l,u,c;return Ie(this,function(f){switch(f.label){case 0:r=this[t],this[t]=[],f.label=1;case 1:f.trys.push([1,8,9,10]),i=yt(r),o=i.next(),f.label=2;case 2:return o.done?[3,7]:(a=o.value,s=a(),s&&"promise"in s?[4,s.promise]:[3,4]);case 3:return f.sent(),[3,6];case 4:return[4,s];case 5:f.sent(),f.label=6;case 6:return o=i.next(),[3,2];case 7:return[3,10];case 8:return l=f.sent(),u={error:l},[3,10];case 9:try{o&&!o.done&&(c=i.return)&&c.call(i)}finally{if(u)throw u.error}
4return[7];case 10:return this[t].length?[4,this.runQueuedFunctions(t,n)]:[3,12];case 11:return f.sent(),[3,13];case 12:n?.(),f.label=13;case 13:return[2]}})})},e.prototype.track=function(t,n,r){var i=Pae(t,n,r);return this.userProperties=this.getOperationAppliedUserProperties(i.user_properties),eo(this.dispatch(i))},e.prototype.identify=function(t,n){var r=MO(t,n);return this.userProperties=this.getOperationAppliedUserProperties(r.user_properties),eo(this.dispatch(r))},e.prototype.groupIdentify=function(t,n,r,i){var o=_ae(t,n,r,i);return eo(this.dispatch(o))},e.prototype.setGroup=function(t,n,r){var i=Dae(t,n,r);return this.userProperties=this.getOperationAppliedUserProperties(i.user_properties),eo(this.dispatch(i))},e.prototype.revenue=function(t,n){var r=Mae(t,n);return eo(this.dispatch(r))},e.prototype.add=function(t){return this.isReady?this._addPlugin(t):(this.q.push(this._addPlugin.bind(this,t)),eo())},e.prototype._addPlugin=function(t){return eo(this.timeline.register(t,this.config))},e.prototype.remove=function(t){return this.isReady?this._removePlugin(t):(this.q.push(this._removePlugin.bind(this,t)),eo())},e.prototype._removePlugin=function(t){return eo(this.timeline.deregister(t,this.config))},e.prototype.dispatchWithCallback=function(t,n){if(!this.isReady)return n(df(t,0,xae));this.process(t).then(n)},e.prototype.dispatch=function(t){return we(this,void 0,void 0,function(){var n=this;return Ie(this,function(r){return this.isReady?[2,this.process(t)]:[2,new Promise(function(i){n.dispatchQ.push(n.dispatchWithCallback.bind(n,t,i))})]})})},e.prototype.getOperationAppliedUserProperties=function(t){var n,r=(n=this.userProperties)!==null&&n!==void 0?n:{},i=me({},r);if(t===void 0)return i;var o={};return Object.keys(t).forEach(function(a){Object.values(Iu).includes(a)||(o[a]=t[a])}),Tae.forEach(function(a){if(Object.keys(t).includes(a)){var s=t[a];
4switch(a){case Iu.CLEAR_ALL:Object.keys(i).forEach(function(l){delete i[l]});break;case Iu.UNSET:Object.keys(s).forEach(function(l){delete i[l]});break;case Iu.SET:Object.assign(i,s);break}}}),Object.assign(i,o),i},e.prototype.process=function(t){return we(this,void 0,void 0,function(){var n,o,r,i,o;return Ie(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),this.config.optOut?[2,df(t,0,wae)]:(n=t.event_type,typeof n!="string"||n.trim().length===0?(this.config.loggerProvider.error(m3),[2,df(t,0,m3)]):(t.event_type===Ro.IDENTIFY&&this.timeline.onIdentityChanged({userProperties:this.userProperties}),[4,this.timeline.push(t)]));case 1:return o=a.sent(),o.code===200?this.config.loggerProvider.log(o.message):o.code===100?this.config.loggerProvider.warn(o.message):this.config.loggerProvider.error(o.message),[2,o];case 2:return r=a.sent(),i=String(r),this.config.loggerProvider.error(i),o=df(t,0,i),[2,o];case 3:return[2]}})})},e.prototype.setOptOut=function(t){if(!this.isReady){this.q.push(this._setOptOut.bind(this,!!t));return}this._setOptOut(t)},e.prototype._setOptOut=function(t){this.config.optOut!==t&&(this.config.optOut=!!t,this.timeline.onOptOutChanged(t))},e.prototype.flush=function(){return eo(this.timeline.flush())},e.prototype.plugin=function(t){var n=this.timeline.plugins.find(function(r){return r.name===t});if(n===void 0){this.config.loggerProvider.debug("Cannot find plugin with name ".concat(t));return}return n},e.prototype.plugins=function(t){return this.timeline.plugins.filter(function(n){return n instanceof t})},e})(),tz=(function(){function e(){this.productId="",this.quantity=1,this.price=0}return e.prototype.setProductId=function(t){return this.productId=t,this},e.prototype.setQuantity=function(t){return t>0&&(this.quantity=t),this},e.prototype.setPrice=function(t){return this.price=t,this},e.prototype.setRevenueType=function(t){return this.revenueType=t,this},e.prototype.setCurrency=function(t){return this.currency=t,this},e.prototype.setRevenue=function(t){return this.revenue=t,this},e.prototype.setReceipt=function(t){return this.receipt=t,this},e.prototype.setReceiptSig=function(t){return this.receiptSig=t,this},e.prototype.setEventProperties=function(t){try{var n=JSON.parse(JSON.stringify(t));ox(n)&&(this.properties=n)}catch{}return this},e.prototype.getEventProperties=function(){var t=this.properties?me({},this.properties):{};return t[Hs.REVENUE_PRODUCT_ID]=this.productId,t[Hs.REVENUE_QUANTITY]=this.quantity,t[Hs.REVENUE_PRICE]=this.price,t[Hs.REVENUE_TYPE]=this.revenueType,t[Hs.REVENUE_CURRENCY]=this.currency,t[Hs.REVENUE]=this.revenue,t[Hs.RECEIPT]=this.receipt,t[Hs.RECEIPT_SIG]=this.receiptSig,t},e})(),Hs;(function(e){e.REVENUE_PRODUCT_ID="$productId",e.REVENUE_QUANTITY="$quantity",e.REVENUE_PRICE="$price",e.REVENUE_TYPE="$revenueType",e.REVENUE_CURRENCY="$currency",e.REVENUE="$revenue",e.RECEIPT="$receipt",e.RECEIPT_SIG="$receiptSig"})(Hs||(Hs={}));var Uae=function(e,t){var n=Math.max(t,1);return e.reduce(function(r,i,o){var a=Math.floor(o/n);return r[a]||(r[a]=[]),r[a].push(i),r},[])},Io;(function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Warn=2]="Warn",e[e.Verbose=3]="Verbose",e[e.Debug=4]="Debug"})(Io||(Io={}));var Ib="Amplitude Logger ",$m=(function(){function e(){this.logLevel=Io.None}return e.prototype.disable=function(){this.logLevel=Io.None},e.prototype.enable=function(t){t===void 0&&(t=Io.Warn),this.logLevel=t},e.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.logLevel<Io.Verbose||console.log("".concat(Ib,"[Log]: ").concat(t.join(" ")))},e.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.logLevel<Io.Warn||console.warn("".concat(Ib,"[Warn]: ").concat(t.join(" ")))},e.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.logLevel<Io.Error||console.error("".concat(Ib,"[Error]: ").concat(t.join(" ")))},e.prototype.debug=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.logLevel<Io.Debug||console.log("".concat(Ib,"[Debug]: ").concat(t.join(" ")))},e})(),K0=function(){return{flushMaxRetries:12,flushQueueSize:200,flushIntervalMillis:1e4,instanceName:J7,logLevel:Io.Warn,loggerProvider:new $m,offline:!1,optOut:!1,serverUrl:DO,serverZone:"US",useBatch:!1}},nz=(function(){function e(t){var n,r,i,o;this._optOut=!1;var a=K0();this.apiKey=t.apiKey,this.flushIntervalMillis=(n=t.flushIntervalMillis)!==null&&n!==void 0?n:a.flushIntervalMillis,this.flushMaxRetries=t.flushMaxRetries||a.flushMaxRetries,this.flushQueueSize=t.flushQueueSize||a.flushQueueSize,this.instanceName=t.instanceName||a.instanceName,this.loggerProvider=t.loggerProvider||a.loggerProvider,this.logLevel=(r=t.logLevel)!==null&&r!==void 0?r:a.logLevel,this.minIdLength=t.minIdLength,this.plan=t.plan,this.ingestionMetadata=t.ingestionMetadata,this.offline=t.offline!==void 0?t.offline:a.offline,this.optOut=(i=t.optOut)!==null&&i!==void 0?i:a.optOut,this.serverUrl=t.serverUrl,this.serverZone=t.serverZone||a.serverZone,this.storageProvider=t.storageProvider,this.transportProvider=t.transportProvider,this.useBatch=(o=t.useBatch)!==null&&o!==void 0?o:a.useBatch,this.loggerProvider.enable(this.logLevel);var s=rz(t.serverUrl,t.serverZone,t.useBatch);this.serverZone=s.serverZone,this.serverUrl=s.serverUrl}return Object.defineProperty(e.prototype,"optOut",{get:function(){return this._optOut},set:function(t){this._optOut=t}
4,enumerable:!1,configurable:!0}),e})(),Vae=function(e,t){return e==="EU"?t?X7:Z7:t?Q7:DO},rz=function(e,t,n){if(e===void 0&&(e=""),t===void 0&&(t=K0().serverZone),n===void 0&&(n=K0().useBatch),e)return{serverUrl:e,serverZone:void 0};var r=["US","EU"].includes(t)?t:K0().serverZone;return{serverZone:r,serverUrl:Vae(r,n)}},Bae=(function(){function e(){this.sdk={metrics:{histogram:{}}}}return e.prototype.recordHistogram=function(t,n){this.sdk.metrics.histogram[t]=n},e})();function ax(e){return e>=200&&e<300}var Y0=function(e){e===void 0&&(e=0);var t=new Error().stack||"";return t.split(` 5`).slice(2+e).map(function(n){return n.trim()})},Fr=function(e){return function(){var t=me({},e.config),n=t.loggerProvider,r=t.logLevel;return{logger:n,logLevel:r}}},jae=function(e,t){var n,r;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");try{for(var i=yt(t.split(".")),o=i.next();!o.done;o=i.next()){var a=o.value;if(a in e)e=e[a];else return}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e},Ur=function(e,t){return function(){var n,r,i={};try{for(var o=yt(t),a=o.next();!a.done;a=o.next()){var s=a.value;i[s]=jae(e,s)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}},Jn=function(e,t,n,r,i){return i===void 0&&(i=null),function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=n(),l=s.logger,u=s.logLevel;if(u&&u<Io.Debug||!u||!l)return e.apply(i,o);var c={type:"invoke public method",name:t,args:o,stacktrace:Y0(1),time:{start:new Date().toISOString()},states:{}};r&&c.states&&(c.states.before=r());var f=e.apply(i,o);return f&&f.promise?f.promise.then(function(){r&&c.states&&(c.states.after=r()),c.time&&(c.time.end=new Date().toISOString()),l.debug(JSON.stringify(c,null,2))}):(r&&c.states&&(c.states.after=r()),c.time&&(c.time.end=new Date().toISOString()),l.debug(JSON.stringify(c,null,2))),f}},zae=new Set([DO,Z7,Q7,X7]),Hae=function(e,t){return t===void 0&&(t=!1),zae.has(e)?!0:t};function Wae(e){return e instanceof Error?e.message:String(e)}function Cg(e){var t="";try{"body"in e&&(t=JSON.stringify(e.body,null,2))}catch{}return t}var qae=(function(){function e(t){this.name="amplitude",this.type="destination",this.retryTimeout=1e3,this.throttleTimeout=3e4,this.storageKey="",this.scheduleId=null,this.scheduledTimeout=0,this.flushId=null,this.queue=[],this.diagnosticsClient=t?.diagnosticsClient}return e.prototype.setup=function(t){var n;return we(this,void 0,void 0,function(){var r,i=this;return Ie(this,function(o){switch(o.label){case 0:return this.config=t,this.storageKey="".concat(mae,"_").concat(this.config.apiKey.substring(0,10)),[4,(n=this.config.storageProvider)===null||n===void 0?void 0:n.get(this.storageKey)];case 1:return r=o.sent(),r&&r.length>0&&Promise.all(r.map(function(a){return i.execute(a)})).catch(),[2,Promise.resolve(void 0)]}})})},e.prototype.execute=function(t){var n=this;return t.insert_id||(t.insert_id=Gs()),new Promise(function(r){var i={event:t,attempts:0,callback:function(o){return r(o)},timeout:0};n.queue.push(i),n.schedule(n.config.flushIntervalMillis),n.saveEvents()})},e.prototype.removeEventsExceedFlushMaxRetries=function(t){var n=this;return t.filter(function(r){return r.attempts+=1,r.attempts<n.config.flushMaxRetries?!0:(n.fulfillRequest([r],500,Iae),!1)})},e.prototype.scheduleEvents=function(t){var n=this;t.forEach(function(r){n.schedule(r.timeout===0?n.config.flushIntervalMillis:r.timeout)})},e.prototype.schedule=function(t){var n=this;if(!this.config.offline&&(this.scheduleId===null||this.scheduleId&&t>this.scheduledTimeout)){this.scheduleId&&clearTimeout(this.scheduleId),this.scheduledTimeout=t,this.scheduleId=setTimeout(function(){n.queue=n.queue.map(function(r){return r.timeout=0,r}),n.flush(!0)},t);return}},e.prototype.resetSchedule=function(){this.scheduleId=null,this.scheduledTimeout=0},e.prototype.flush=function(t){return t===void 0&&(t=!1),we(this,void 0,void 0,function(){var n,r,i,o=this;return Ie(this,function(a){switch(a.label){case 0:return this.config.offline?(this.resetSchedule(),this.config.loggerProvider.debug("Skipping flush while offline."),[2]):this.flushId?(this.resetSchedule(),this.config.loggerProvider.debug("Skipping flush because previous flush has not resolved."),[2]):(this.flushId=this.scheduleId,this.resetSchedule(),n=[],r=[],this.queue.forEach(function(s){return s.timeout===0?n.push(s):r.push(s)}),i=Uae(n,this.config.flushQueueSize),[4,i.reduce(function(s,l){return we(o,void 0,void 0,function(){return Ie(this,function(u){switch(u.label){case 0:return[4,s];case 1:return u.sent(),[4,this.send(l,t)];case 2:return[2,u.sent()]}})})},Promise.resolve())]);case 1:return a.sent(),this.flushId=null,this.scheduleEvents(this.queue),[2]}})})},e.prototype.send=function(t,n){var r;return n===void 0&&(n=!0),we(this,void 0,void 0,function(){var i,o,a,s,l,u;return Ie(this,function(c){switch(c.label){case 0:if(!this.config.apiKey)return[2,this.fulfillRequest(t,400,Nae)];i={api_key:this.config.apiKey,events:t.map(function(f){var p=f.event;p.extra;var v=Nu(p,["extra"]);return v}),options:{min_id_length:this.config.minIdLength},client_upload_time:new Date().toISOString(),request_metadata:this.config.requestMetadata},this.config.requestMetadata=new Bae,c.label=1;case 1:return c.trys.push([1,3,,4]),o=rz(this.config.serverUrl,this.config.serverZone,this.config.useBatch).serverUrl,a=Hae(o,this.config.enableRequestBodyCompression),[4,this.config.transportProvider.send(o,i,a)];case 2:return s=c.sent(),s===null?(this.fulfillRequest(t,0,Aae),[2]):n?(this.handleResponse(s,t),[3,4]):("body"in s?this.fulfillRequest(t,s.statusCode,"".concat(s.status,": ").concat(Cg(s))):this.fulfillRequest(t,s.statusCode,s.status),[2]);case 3:return l=c.sent(),u=Wae(l),this.config.loggerProvider.error(u),(r=this.diagnosticsClient)===null||r===void 0||r.recordEvent("analytics.events.unsuccessful.from.catch.error",{events:t.map(function(f){return f.event.event_type}),message:u,stack_trace:Y0()}),this.handleResponse({status:Pr.Failed,statusCode:0},t),[3,4];case 4:return[2]}})})},e.prototype.handleResponse=function(t,n){var r;ax(t.statusCode)||(r=this.diagnosticsClient)===null||r===void 0||r.recordEvent("analytics.events.unsuccessful",{events:n.map(function(o){return o.event.event_type}),code:t.statusCode,status:t.status,body:Cg(t),stack_trace:Y0()});var i=t.status;switch(i){case Pr.Success:{this.handleSuccessResponse(t,n);break}case Pr.Invalid:{this.handleInvalidResponse(t,n);break}case Pr.PayloadTooLarge:{this.handlePayloadTooLargeResponse(t,n);break}case Pr.RateLimit:{this.handleRateLimitResponse(t,n);break}default:{this.config.loggerProvider.warn(`{code: 0, error: "Status '`.concat(i,"' provided for ").concat(n.length,' events"}')),this.handleOtherResponse(n);break}}},e.prototype.handleSuccessResponse=function(t,n){this.fulfillRequest(n,t.statusCode,Cae)},e.prototype.handleInvalidResponse=function(t,n){var r=this;if(t.body.missingField||t.body.error.startsWith(Rae)){this.fulfillRequest(n,t.statusCode,t.body.error);return}var i=$t($t($t($t([],Tt(Object.values(t.body.eventsWithInvalidFields)),!1),Tt(Object.values(t.body.eventsWithMissingFields)),!1),Tt(Object.values(t.body.eventsWithInvalidIdLengths)),!1),Tt(t.body.silencedEvents),!1).flat(),o=new Set(i),a=n.filter(function(l,u){if(o.has(u)){r.fulfillRequest([l],t.statusCode,t.body.error);return}return!0});a.length>0&&this.config.loggerProvider.warn(Cg(t));
5var s=this.removeEventsExceedFlushMaxRetries(a);this.scheduleEvents(s)},e.prototype.handlePayloadTooLargeResponse=function(t,n){if(n.length===1){this.fulfillRequest(n,t.statusCode,t.body.error);return}this.config.loggerProvider.warn(Cg(t)),this.config.flushQueueSize/=2;var r=this.removeEventsExceedFlushMaxRetries(n);this.scheduleEvents(r)},e.prototype.handleRateLimitResponse=function(t,n){var r=this,i=Object.keys(t.body.exceededDailyQuotaUsers),o=Object.keys(t.body.exceededDailyQuotaDevices),a=t.body.throttledEvents,s=new Set(i),l=new Set(o),u=new Set(a),c=n.filter(function(p,v){if(p.event.user_id&&s.has(p.event.user_id)||p.event.device_id&&l.has(p.event.device_id)){r.fulfillRequest([p],t.statusCode,t.body.error);return}return u.has(v)&&(p.timeout=r.throttleTimeout),!0});c.length>0&&this.config.loggerProvider.warn(Cg(t));var f=this.removeEventsExceedFlushMaxRetries(c);this.scheduleEvents(f)},e.prototype.handleOtherResponse=function(t){var n=this,r=t.map(function(o){return o.timeout=o.attempts*n.retryTimeout,o}),i=this.removeEventsExceedFlushMaxRetries(r);this.scheduleEvents(i)},e.prototype.fulfillRequest=function(t,n,r){var i,o,a;ax(n)?(a=this.diagnosticsClient)===null||a===void 0||a.increment("analytics.events.sent",t.length):((i=this.diagnosticsClient)===null||i===void 0||i.increment("analytics.events.dropped",t.length),(o=this.diagnosticsClient)===null||o===void 0||o.recordEvent("analytics.events.dropped",{events:t.map(function(s){return s.event.event_type}),code:n,message:r,stack_trace:Y0()})),this.removeEvents(t),t.forEach(function(s){return s.callback(df(s.event,n,r))})},e.prototype.saveEvents=function(){if(this.config.storageProvider){var t=this.queue.map(function(n){return n.event});this.config.storageProvider.set(this.storageKey,t)}},e.prototype.removeEvents=function(t){this.queue=this.queue.filter(function(n){return!t.some(function(r){return r.event.insert_id===n.event.insert_id})}),this.saveEvents()},e})();class Gae{getApplicationContext(){return{versionName:this.versionName,language:Kae(),platform:"Web",os:void 0,deviceModel:void 0}}}const Kae=()=>typeof navigator<"u"&&(navigator.languages&&navigator.languages[0]||navigator.language)||"";class Yae{constructor(){this.queue=[]}logEvent(t){this.receiver?this.receiver(t):this.queue.length<512&&this.queue.push(t)}setEventReceiver(t){this.receiver=t,this.queue.length>0&&(this.queue.forEach(n=>{t(n)}),this.queue=[])}}const $0=(e,t)=>{const n=["string","number","boolean","undefined"],r=typeof e;if(r!==typeof t)return!1;for(const s of n)if(s===r)return e===t;if(e==null&&t==null)return!0;if(e==null||t==null||e.length!==t.length)return!1;const o=Array.isArray(e),a=Array.isArray(t);if(o!==a)return!1;if(o&&a){for(let s=0;s<e.length;s++)if(!$0(e[s],t[s]))return!1}else{const s=Object.keys(e).sort(),l=Object.keys(t).sort();if(!$0(s,l))return!1;let u=!0;return Object.keys(e).forEach(c=>{$0(e[c],t[c])||(u=!1)}),u}return!0},$ae="$set",Jae="$unset",Zae="$clearAll";Object.entries||(Object.entries=function(e){const t=Object.keys(e);let n=t.length;const r=new Array(n);for(;n--;)r[n]=[t[n],e[t[n]]];return r});class Qae{constructor(){this.identity={userProperties:{}},this.listeners=new Set}editIdentity(){const t=this,n=Object.assign({},this.identity.userProperties),r=Object.assign(Object.assign({},this.identity),{userProperties:n});return{setUserId:function(i){return r.userId=i,this},setDeviceId:function(i){return r.deviceId=i,this},setUserProperties:function(i){return r.userProperties=i,this},setOptOut(i){return r.optOut=i,this},updateUserProperties:function(i){let o=r.userProperties||{};for(const[a,s]of Object.entries(i))switch(a){case $ae:for(const[l,u]of Object.entries(s))o[l]=u;break;case Jae:for(const l of Object.keys(s))delete o[l];break;case Zae:o={};break}return r.userProperties=o,this},commit:function(){return t.setIdentity(r),this}}}getIdentity(){return Object.assign({},this.identity)}setIdentity(t){const n=Object.assign({},this.identity);this.identity=Object.assign({},t),$0(n,this.identity)||this.listeners.forEach(r=>{r(t)})}addIdentityListener(t){this.listeners.add(t)}removeIdentityListener(t){this.listeners.delete(t)}}const Ag=typeof globalThis<"u"?globalThis:typeof global<"u"?global:self;
5class FO{constructor(){this.identityStore=new Qae,this.eventBridge=new Yae,this.applicationContextProvider=new Gae}static getInstance(t){return Ag.analyticsConnectorInstances||(Ag.analyticsConnectorInstances={}),Ag.analyticsConnectorInstances[t]||(Ag.analyticsConnectorInstances[t]=new FO),Ag.analyticsConnectorInstances[t]}}var Ff=function(e){return e===void 0&&(e=J7),FO.getInstance(e)},Xae=function(e,t){Ff(t).identityStore.editIdentity().setUserId(e).commit()},ese=function(e,t){Ff(t).identityStore.editIdentity().setDeviceId(e).commit()},tse=(function(){function e(){this.name="identity",this.type="before",this.identityStore=Ff().identityStore}return e.prototype.execute=function(t){return we(this,void 0,void 0,function(){var n;return Ie(this,function(r){return n=t.user_properties,n&&this.identityStore.editIdentity().updateUserProperties(n).commit(),[2,t]})})},e.prototype.setup=function(t){return we(this,void 0,void 0,function(){return Ie(this,function(n){return t.instanceName&&(this.identityStore=Ff(t.instanceName).identityStore),[2]})})},e})(),iz=function(e,t){t===void 0&&(t=Date.now());var n=Date.now(),r=n-t;return r>e},oz=function(e,t,n){return t===void 0&&(t=""),n===void 0&&(n=10),[PT,t,e.substring(0,n)].filter(Boolean).join("_")},nse=function(e){return"".concat(PT.toLowerCase(),"_").concat(e.substring(0,6))},rse=function(){var e,t,n,r;if(typeof navigator>"u")return"";var i=navigator.userLanguage;return(r=(n=(t=(e=navigator.languages)===null||e===void 0?void 0:e[0])!==null&&t!==void 0?t:navigator.language)!==null&&n!==void 0?n:i)!==null&&r!==void 0?r:""},WS=function(){var e,t=Ft();if(!(!((e=t?.location)===null||e===void 0)&&e.search))return{};var n=t.location.search.substring(1).split("&").filter(Boolean),r=n.reduce(function(i,o){var a=o.split("=",2),s=g3(a[0]),l=g3(a[1]);return l&&(i[s]=l),i},{});return r},g3=function(e){e===void 0&&(e="");try{return decodeURIComponent(e)}catch{return""}},sx=function(e,t){return!t||!t.length?!0:t.some(function(n){return typeof n=="string"?e===n:e.match(n)})},Ws=function(e,t){var n=e;try{n=decodeURI(e)}catch(r){t?.error("Malformed URI sequence: ",r)}return n},lx=function(e){var t=0;if(e.length===0)return t;for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);t=(t<<5)-t+r,t|=0}return t},v3=function(e,t){var n=lx(e.toString()),r=Math.abs(n),i=r*31,o=i%1e5;return o/1e5<t},az=function(e){var t={};for(var n in e){var r=e[n];r&&(t[n]=r)}return t},UO=(function(){function e(){this.memoryStorage=new Map}return e.prototype.isEnabled=function(){return we(this,void 0,void 0,function(){return Ie(this,function(t){return[2,!0]})})},e.prototype.get=function(t){return we(this,void 0,void 0,function(){return Ie(this,function(n){return[2,this.memoryStorage.get(t)]})})},e.prototype.getRaw=function(t){return we(this,void 0,void 0,function(){var n;return Ie(this,function(r){switch(r.label){case 0:return[4,this.get(t)];case 1:return n=r.sent(),[2,n?JSON.stringify(n):void 0]}})})},e.prototype.set=function(t,n){return we(this,void 0,void 0,function(){return Ie(this,function(r){return this.memoryStorage.set(t,n),[2]})})},e.prototype.remove=function(t){return we(this,void 0,void 0,function(){return Ie(this,function(n){return this.memoryStorage.delete(t),[2]})})},e.prototype.reset=function(){return we(this,void 0,void 0,function(){return Ie(this,function(t){return this.memoryStorage.clear(),[2]})})},e})(),ise=function(){var e,t=Ft();return(e=t?.navigator)===null||e===void 0?void 0:e.locks},qS=(function(){function e(t,n){n===void 0&&(n={}),this.options=me({},t),this.config=n}return e.prototype.isEnabled=function(){return we(this,void 0,void 0,function(){var t,n,r,i,o=this;return Ie(this,function(a){switch(a.label){case 0:return t="AMP_TEST",n=me({},this.options),r=new e(n),i=String(Date.now()),[4,r.transaction(t,function(s){var l,u;try{s.set(i);var c=s.get(),f=c===i;return!f&&o.config.diagnosticsClient&&((l=o.config.diagnosticsClient)===null||l===void 0||l.recordEvent("cookies.isEnabled.failure",{reason:"Test Value mismatch",testKey:t,testValue:i,sync:!0})),f}catch(v){if(o.config.diagnosticsClient){var p=v instanceof Error?v.message:String(v);(u=o.config.diagnosticsClient)===null||u===void 0||u.recordEvent("cookies.isEnabled.failure",{reason:"Cookie getter/setter failed",testKey:t,testValue:i,error:p,sync:!0})}return!1}finally{s.set(null)}})];case 1:return[2,a.sent()]}})})},e.prototype.get=function(t){return we(this,void 0,void 0,function(){var n;return Ie(this,function(r){switch(r.label){case 0:return[4,this.getRaw(t)];case 1:return n=r.sent(),[2,this.decodeCookieValue(t,n)]}})})},e.prototype.decodeCookieValue=function(t,n){if(n)try{var r=sz(n);if(r===void 0){console.error("Amplitude Logger [Error]: Failed to decode cookie value for key: ".concat(t,", value: ").concat(n));return}return JSON.parse(r)}catch{console.error("Amplitude Logger [Error]: Failed to parse cookie value for key: ".concat(t,", value: ").concat(n));return}},e.prototype.getSync=function(t){var n=this.getRawSync(t);return this.decodeCookieValue(t,n)},e.prototype.getRaw=function(t){var n,r;return we(this,void 0,void 0,function(){var i,o,a,s,l,u,c,f,p;return Ie(this,function(v){switch(v.label){case 0:i=Ft(),o=i,v.label=1;
5case 1:return v.trys.push([1,4,,5]),a=o?.cookieStore,a?[4,a.getAll(t)]:[3,3];case 2:if(s=v.sent(),s){s.length>1&&((n=this.config.diagnosticsClient)===null||n===void 0||n.recordEvent("cookies.duplicate",{cookies:s.map(function(g){return g.domain})}),(r=this.config.diagnosticsClient)===null||r===void 0||r.increment("cookies.duplicate.occurrence.cookieStore"));try{for(l=yt(s),u=l.next();!u.done;u=l.next())if(c=u.value,lz(c.domain,this.options.domain))return[2,c.value]}catch(g){f={error:g}}finally{try{u&&!u.done&&(p=l.return)&&p.call(l)}finally{if(f)throw f.error}}}v.label=3;case 3:return[3,5];case 4:return v.sent(),[3,5];case 5:return[2,this.getRawSync(t)]}})})},e.prototype.getRawSync=function(t){var n=this,r,i,o=Ft(),a=((i=(r=o?.document)===null||r===void 0?void 0:r.cookie.split("; "))!==null&&i!==void 0?i:[]).filter(function(u){return u.indexOf(t+"=")===0}),s=void 0,l=this.config.duplicateResolverFn;if(typeof l=="function"&&a.length>1&&(s=a.find(function(u){var c;try{var f=l(u.substring(t.length+1));return f||(c=n.config.diagnosticsClient)===null||c===void 0||c.increment("cookies.duplicate.occurrence.document.cookie"),f}catch{return!1}})),s||(s=a[0]),!!s)return s.substring(t.length+1)},e.prototype.set=function(t,n){return we(this,void 0,void 0,function(){return Ie(this,function(r){return this.setSync(t,n),[2]})})},e.prototype.setSync=function(t,n){var r;try{var i=Ft();if(!i||!i.document||typeof i.btoa!="function"||typeof i.encodeURIComponent!="function")return;var o=(r=this.options.expirationDays)!==null&&r!==void 0?r:0,a=n!==null?o:-1,s=void 0;if(a){var l=new Date;l.setTime(l.getTime()+a*24*60*60*1e3),s=l}var u="".concat(t,"=").concat(i.btoa(i.encodeURIComponent(JSON.stringify(n))));s&&(u+="; expires=".concat(s.toUTCString())),u+="; path=/",this.options.domain&&(u+="; domain=".concat(this.options.domain)),this.options.secure&&(u+="; Secure"),this.options.sameSite&&(u+="; SameSite=".concat(this.options.sameSite)),i.document.cookie=u}catch(f){var c=f instanceof Error?f.message:String(f);console.error("Amplitude Logger [Error]: Failed to set cookie for key: ".concat(t,". Error: ").concat(c))}},e.prototype.remove=function(t){return we(this,void 0,void 0,function(){return Ie(this,function(n){switch(n.label){case 0:return[4,this.set(t,null)];case 1:return n.sent(),[2]}})})},e.prototype.reset=function(){return we(this,void 0,void 0,function(){return Ie(this,function(t){return[2]})})},e.isDomainWritable=function(t){return we(this,void 0,void 0,function(){var n,r,i,o;return Ie(this,function(a){switch(a.label){case 0:if(e.cachedTlds[t])return[2,!0];n={domain:"."+t},r="AMP_TLDTEST",i=new e(n),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,i.transaction(r,function(s){if(e.cachedTlds[t])return!0;try{s.set(1);var l=!!s.get();return l&&(e.cachedTlds[t]=!0),l}finally{s.set(null)}})];case 2:return o=a.sent(),[2,!!o];case 3:return a.sent(),[2,!1];case 4:return[2]}})})},e.prototype.transaction=function(t,n){return we(this,void 0,void 0,function(){var r,i,o=this;return Ie(this,function(a){switch(a.label){case 0:if(r=ise(),i=function(){var s={get:function(){return o.getSync(t)},set:function(l){return o.setSync(t,l)}};return n(s)},!r)return[2,i()];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,r.request("com.amplitude:cookie-lock:".concat(t),i)];case 2:return[2,a.sent()];case 3:return a.sent(),[2,i()];case 4:return[2]}})})},e.cachedTlds={},e})(),ose=function(e){try{return decodeURIComponent(atob(e))}catch{return}},ase=function(e){try{return decodeURIComponent(atob(decodeURIComponent(e)))}catch{return}},sz=function(e){var t;return(t=ose(e))!==null&&t!==void 0?t:ase(e)},lz=function(e,t){if(e===""&&t==="")return!0;if(!e||!t)return!1;var n=e.startsWith(".")?e.substring(1):e,r=t.startsWith(".")?t.substring(1):t;return n.toLowerCase()===r.toLowerCase()},y3=function(e,t,n){return t===void 0&&(t=""),n===void 0&&(n=10),[PT,t,e.substring(0,n)].filter(Boolean).join("_")},DT=(function(){function e(t){this.storage=t}return e.prototype.isEnabled=function(){return we(this,void 0,void 0,function(){var t,n,r,i;return Ie(this,function(o){switch(o.label){case 0:if(!this.storage)return[2,!1];t=String(Date.now()),n=new e(this.storage),r="AMP_TEST",o.label=1;case 1:return o.trys.push([1,4,5,7]),[4,n.set(r,t)];case 2:return o.sent(),[4,n.get(r)];case 3:return i=o.sent(),[2,i===t];case 4:return o.sent(),[2,!1];case 5:return[4,n.remove(r)];case 6:return o.sent(),[7];case 7:return[2]}})})},e.prototype.get=function(t){return we(this,void 0,void 0,function(){var n;return Ie(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.getRaw(t)];case 1:return n=r.sent(),n?[2,JSON.parse(n)]:[2,void 0];case 2:return r.sent(),console.error("[Amplitude] Error: Could not get value from storage"),[2,void 0];case 3:return[2]}})})},e.prototype.getRaw=function(t){var n;return we(this,void 0,void 0,function(){return Ie(this,function(r){return[2,((n=this.storage)===null||n===void 0?void 0:n.getItem(t))||void 0]})})},e.prototype.set=function(t,n){var r;return we(this,void 0,void 0,function(){return Ie(this,function(i){try{(r=this.storage)===null||r===void 0||r.setItem(t,JSON.stringify(n))}catch{}return[2]})})},e.prototype.remove=function(t){var n;return we(this,void 0,void 0,function(){return Ie(this,function(r){try{(n=this.storage)===null||n===void 0||n.removeItem(t)}catch{}return[2]})})},e.prototype.reset=function(){var t;return we(this,void 0,void 0,function(){return Ie(this,function(n){try{(t=this.storage)===null||t===void 0||t.clear()}catch{}return[2]})})},e})(),sse=10,lse=1,$n={TAGS:"tags",COUNTERS:"counters",HISTOGRAMS:"histograms",EVENTS:"events",INTERNAL:"internal"},k3={LAST_FLUSH_TIMESTAMP:"last_flush_timestamp"},b3=(function(){function e(t,n){this.dbPromise=null,this.logger=n,this.dbName="AMP_diagnostics_".concat(t.substring(0,10))}return e.isSupported=function(){var t;return((t=Ft())===null||t===void 0?void 0:t.indexedDB)!==void 0},e.prototype.getDB=function(){return we(this,void 0,void 0,function(){return Ie(this,function(t){return this.dbPromise||(this.dbPromise=this.openDB()),[2,this.dbPromise]})})},e.prototype.openDB=function(){var t=this;return new Promise(function(n,r){var i=indexedDB.open(t.dbName,lse);
5i.onerror=function(){t.dbPromise=null,r(new Error("Failed to open IndexedDB"))},i.onsuccess=function(){var o=i.result;o.onclose=function(){t.dbPromise=null,t.logger.debug("DiagnosticsStorage: DB connection closed.")},o.onerror=function(a){t.logger.debug("DiagnosticsStorage: A global database error occurred.",a),o.close()},n(o)},i.onupgradeneeded=function(){var o=i.result;if(!o){t.logger.debug("DiagnosticsStorage: Missing DB during upgrade.");return}t.createTables(o)}})},e.prototype.createTables=function(t){if(t.objectStoreNames.contains($n.TAGS)||t.createObjectStore($n.TAGS,{keyPath:"key"}),t.objectStoreNames.contains($n.COUNTERS)||t.createObjectStore($n.COUNTERS,{keyPath:"key"}),t.objectStoreNames.contains($n.HISTOGRAMS)||t.createObjectStore($n.HISTOGRAMS,{keyPath:"key"}),!t.objectStoreNames.contains($n.EVENTS)){var n=t.createObjectStore($n.EVENTS,{keyPath:"id",autoIncrement:!0});n.createIndex("time_idx","time",{unique:!1})}t.objectStoreNames.contains($n.INTERNAL)||t.createObjectStore($n.INTERNAL,{keyPath:"key"})},e.prototype.setTags=function(t){return we(this,void 0,void 0,function(){var n,r,i,o,a=this;return Ie(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),Object.entries(t).length===0?[2]:[4,this.getDB()];case 1:return n=s.sent(),r=n.transaction([$n.TAGS],"readwrite"),i=r.objectStore($n.TAGS),[2,new Promise(function(l){var u=Object.entries(t);r.oncomplete=function(){l()},r.onabort=function(c){a.logger.debug("DiagnosticsStorage: Failed to set tags",c),l()},u.forEach(function(c){var f=Tt(c,2),p=f[0],v=f[1],g=i.put({key:p,value:v});g.onerror=function(y){a.logger.debug("DiagnosticsStorage: Failed to set tag",p,v,y)}})})];case 2:return o=s.sent(),this.logger.debug("DiagnosticsStorage: Failed to set tags",o),[3,3];case 3:return[2]}})})},e.prototype.incrementCounters=function(t){return we(this,void 0,void 0,function(){var n,r,i,o,a=this;return Ie(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),Object.entries(t).length===0?[2]:[4,this.getDB()];case 1:return n=s.sent(),r=n.transaction([$n.COUNTERS],"readwrite"),i=r.objectStore($n.COUNTERS),[2,new Promise(function(l){var u=Object.entries(t);r.oncomplete=function(){l()},r.onabort=function(c){a.logger.debug("DiagnosticsStorage: Failed to increment counters",c),l()},u.forEach(function(c){var f=Tt(c,2),p=f[0],v=f[1],g=i.get(p);g.onsuccess=function(){var y=g.result,k=y?y.value:0,E=i.put({key:p,value:k+v});E.onerror=function(S){a.logger.debug("DiagnosticsStorage: Failed to update counter",p,S)}},g.onerror=function(y){a.logger.debug("DiagnosticsStorage: Failed to read existing counter",p,y)}})})];case 2:return o=s.sent(),this.logger.debug("DiagnosticsStorage: Failed to increment counters",o),[3,3];case 3:return[2]}})})},e.prototype.setHistogramStats=function(t){return we(this,void 0,void 0,function(){var n,r,i,o,a=this;return Ie(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),Object.entries(t).length===0?[2]:[4,this.getDB()];case 1:return n=s.sent(),r=n.transaction([$n.HISTOGRAMS],"readwrite"),i=r.objectStore($n.HISTOGRAMS),[2,new Promise(function(l){var u=Object.entries(t);r.oncomplete=function(){l()},r.onabort=function(c){a.logger.debug("DiagnosticsStorage: Failed to set histogram stats",c),l()},u.forEach(function(c){var f=Tt(c,2),p=f[0],v=f[1],g=i.get(p);g.onsuccess=function(){var y=g.result,k;y?k={key:p,count:y.count+v.count,min:Math.min(y.min,v.min),max:Math.max(y.max,v.max),sum:y.sum+v.sum}:k={key:p,count:v.count,min:v.min,max:v.max,sum:v.sum};var E=i.put(k);E.onerror=function(S){a.logger.debug("DiagnosticsStorage: Failed to set histogram stats",p,S)}},g.onerror=function(y){a.logger.debug("DiagnosticsStorage: Failed to read existing histogram stats",p,y)}})})];case 2:return o=s.sent(),this.logger.debug("DiagnosticsStorage: Failed to set histogram stats",o),[3,3];case 3:return[2]}})})},e.prototype.addEventRecords=function(t){return we(this,void 0,void 0,function(){var n,r,i,o,a=this;return Ie(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),t.length===0?[2]:[4,this.getDB()];case 1:return n=s.sent(),r=n.transaction([$n.EVENTS],"readwrite"),i=r.objectStore($n.EVENTS),[2,new Promise(function(l){r.oncomplete=function(){l()},r.onabort=function(c){a.logger.debug("DiagnosticsStorage: Failed to add event records",c),l()};var u=i.count();u.onsuccess=function(){var c=u.result,f=Math.max(0,sse-c);f<t.length&&a.logger.debug("DiagnosticsStorage: Only added ".concat(f," of ").concat(t.length," events due to storage limit")),t.slice(0,f).forEach(function(p){var v=i.add(p);v.onerror=function(g){a.logger.debug("DiagnosticsStorage: Failed to add event record",g)}})},u.onerror=function(c){a.logger.debug("DiagnosticsStorage: Failed to count existing events",c)}})];case 2:return o=s.sent(),this.logger.debug("DiagnosticsStorage: Failed to add event records",o),[3,3];case 3:return[2]}})})},e.prototype.setInternal=function(t,n){return we(this,void 0,void 0,function(){var r,i,o,a;return Ie(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,this.getDB()];case 1:return r=s.sent(),i=r.transaction([$n.INTERNAL],"readwrite"),o=i.objectStore($n.INTERNAL),[2,new Promise(function(l,u){i.onabort=function(){return u(new Error("Failed to set internal value"))};var c=o.put({key:t,value:n});c.onsuccess=function(){return l()},c.onerror=function(){return u(new Error("Failed to set internal value"))}})];case 2:return a=s.sent(),this.logger.debug("DiagnosticsStorage: Failed to set internal value",a),[3,3];case 3:return[2]}})})},e.prototype.getInternal=function(t){return we(this,void 0,void 0,function(){var n,r,i,o;return Ie(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,this.getDB()];case 1:return n=a.sent(),r=n.transaction([$n.INTERNAL],"readonly"),i=r.objectStore($n.INTERNAL),[2,new Promise(function(s,l){r.onabort=function(){return l(new Error("Failed to get internal value"))};var u=i.get(t);u.onsuccess=function(){return s(u.result)},u.onerror=function(){return l(new Error("Failed to get internal value"))}})];case 2:return o=a.sent(),this.logger.debug("DiagnosticsStorage: Failed to get internal value",o),[2,void 0];case 3:return[2]}})})},e.prototype.getLastFlushTimestamp=function(){return we(this,void 0,void 0,function(){var t,n;return Ie(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.getInternal(k3.LAST_FLUSH_TIMESTAMP)];case 1:return t=r.sent(),[2,t?parseInt(t.value,10):void 0];case 2:return n=r.sent(),this.logger.debug("DiagnosticsStorage: Failed to get last flush timestamp",n),[2,void 0];case 3:return[2]}})})},e.prototype.setLastFlushTimestamp=function(t){return we(this,void 0,void 0,function(){var n;return Ie(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.setInternal(k3.LAST_FLUSH_TIMESTAMP,t.toString())];case 1:return r.sent(),[3,3];case 2:return n=r.sent(),this.logger.debug("DiagnosticsStorage: Failed to set last flush timestamp",n),[3,3];case 3:return[2]}})})},e.prototype.clearTable=function(t,n){return new Promise(function(r,i){var o=t.objectStore(n),a=o.clear();a.onsuccess=function(){return r()},a.onerror=function(){return i(new Error("Failed to clear table ".concat(n)))}})},e.prototype.getAllAndClear=function(){return we(this,void 0,void 0,function(){var t,n,r,i,o,a,s,l;return Ie(this,function(u){switch(u.label){case 0:return u.trys.push([0,4,,5]),[4,this.getDB()];case 1:return t=u.sent(),n=t.transaction([$n.TAGS,$n.COUNTERS,$n.HISTOGRAMS,$n.EVENTS],"readwrite"),[4,Promise.all([this.getAllFromStore(n,$n.TAGS),this.getAllFromStore(n,$n.COUNTERS),this.getAllFromStore(n,$n.HISTOGRAMS),this.getAllFromStore(n,$n.EVENTS)])];case 2:return r=Tt.apply(void 0,[u.sent(),4]),i=r[0],o=r[1],a=r[2],s=r[3],[4,Promise.all([this.clearTable(n,$n.COUNTERS),this.clearTable(n,$n.HISTOGRAMS),this.clearTable(n,$n.EVENTS)])];case 3:return u.sent(),[2,{tags:i,counters:o,histogramStats:a,events:s}];case 4:return l=u.sent(),this.logger.debug("DiagnosticsStorage: Failed to get all and clear data",l),[2,{tags:[],counters:[],histogramStats:[],events:[]}];case 5:return[2]}})})},e.prototype.getAllFromStore=function(t,n){return new Promise(function(r,i){var o=t.objectStore(n),a=o.getAll();a.onsuccess=function(){return r(a.result)},a.onerror=function(){return i(new Error("Failed to get all from ".concat(n)))}})},e}
5)(),use="__AMPLITUDE_SCRIPT_URL__",cse="sdk.error.uncaught",dse=function(){var e=Ft();if(!e)return[];var t=e[use];return Array.isArray(t)?t:typeof t=="string"?[t]:[]},fse=function(e){var t=Ft();if(!(!t||typeof t.addEventListener!="function")){var n=function(o){var a=o.error instanceof Error?o.error:void 0,s=a?.stack,l=S3({filename:o.filename,stack:s});l&&i({type:"error",message:o.message,stack:s,filename:o.filename,errorName:a?.name,metadata:{colno:o.colno,lineno:o.lineno,isTrusted:o.isTrusted,matchReason:l}})},r=function(o){var a,s=o.reason instanceof Error?o.reason:void 0,l=s?.stack,u=pse(l),c=S3({filename:u,stack:l});c&&i({type:"unhandledrejection",message:(a=s?.message)!==null&&a!==void 0?a:mse(o.reason),stack:l,filename:u,errorName:s?.name,metadata:{isTrusted:o.isTrusted,matchReason:c}})},i=function(o){e.recordEvent(cse,me({type:o.type,message:o.message,filename:o.filename,error_name:o.errorName,stack:o.stack},o.metadata))};t.addEventListener("error",n,!0),t.addEventListener("unhandledrejection",r,!0)}},S3=function(e){var t,n,r=dse();if(r.length!==0)try{for(var i=yt(r),o=i.next();!o.done;o=i.next()){var a=o.value;if(e.filename&&e.filename.includes(a))return"filename";if(e.stack&&e.stack.includes(a))return"stack"}}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},pse=function(e){if(e){var t=e.match(/(https?:\/\/\S+?)(?=[)\s]|$)/);return t?t[1]:void 0}},mse=function(e){if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return"[object Object]"}},hse=1e3,wb=300*1e3,gse="https://diagnostics.prod.us-west-2.amplitude.com/v1/capture",vse="https://diagnostics.prod.eu-central-1.amplitude.com/v1/capture",kw=1e4,yse=10,kse=(function(){function e(t,n,r,i,o){r===void 0&&(r="US"),this.inMemoryTags={},this.inMemoryCounters={},this.inMemoryHistograms={},this.inMemoryEvents=[],this.saveTimer=null,this.flushTimer=null,this.apiKey=t,this.logger=n,this.serverUrl=r==="US"?gse:vse,this.logger.debug("DiagnosticsClient: Initializing with options",JSON.stringify(i,null,2)),this.config=me({enabled:!0,sampleRate:0},i),this.startTimestamp=Date.now(),this.shouldTrack=v3(this.startTimestamp,this.config.sampleRate)&&this.config.enabled,o?this.storage=o:b3.isSupported()?this.storage=new b3(t,n):this.logger.debug("DiagnosticsClient: IndexedDB is not supported"),this.initializeFlushInterval(),this.shouldTrack&&(this.increment("sdk.diagnostics.sampled.in.and.enabled"),fse(this))}return e.prototype.isStorageAndTrackEnabled=function(){return!!this.storage&&!!this.shouldTrack},e.prototype.setTag=function(t,n){if(this.isStorageAndTrackEnabled()){if(Object.keys(this.inMemoryTags).length>=kw){this.logger.debug("DiagnosticsClient: Early return setTags as reaching memory limit");return}this.inMemoryTags[t]=n,this.startTimersIfNeeded()}},e.prototype.increment=function(t,n){if(n===void 0&&(n=1),!!this.isStorageAndTrackEnabled()){if(Object.keys(this.inMemoryCounters).length>=kw){this.logger.debug("DiagnosticsClient: Early return increment as reaching memory limit");return}this.inMemoryCounters[t]=(this.inMemoryCounters[t]||0)+n,this.startTimersIfNeeded()}},e.prototype.recordHistogram=function(t,n){if(this.isStorageAndTrackEnabled()){if(Object.keys(this.inMemoryHistograms).length>=kw){this.logger.debug("DiagnosticsClient: Early return recordHistogram as reaching memory limit");return}var r=this.inMemoryHistograms[t];r?(r.count+=1,r.min=Math.min(r.min,n),r.max=Math.max(r.max,n),r.sum+=n):this.inMemoryHistograms[t]={count:1,min:n,max:n,sum:n},this.startTimersIfNeeded()}},e.prototype.recordEvent=function(t,n){if(this.isStorageAndTrackEnabled()){if(this.inMemoryEvents.length>=yse){this.logger.debug("DiagnosticsClient: Early return recordEvent as reaching memory limit");return}this.inMemoryEvents.push({event_name:t,time:Date.now(),event_properties:n}),this.startTimersIfNeeded()}},e.prototype.startTimersIfNeeded=function(){var t=this;this.saveTimer||(this.saveTimer=setTimeout(function(){t.saveAllDataToStorage().catch(function(n){t.logger.debug("DiagnosticsClient: Failed to save all data to storage",n)}).finally(function(){t.saveTimer=null})},hse)),this.flushTimer||(this.flushTimer=setTimeout(function(){t._flush().catch(function(n){t.logger.debug("DiagnosticsClient: Failed to flush",n)}).finally(function(){t.flushTimer=null})},wb))},e.prototype.saveAllDataToStorage=function(){return we(this,void 0,void 0,function(){var t,n,r,i;return Ie(this,function(o){switch(o.label){case 0:return this.storage?(t=me({},this.inMemoryTags),n=me({},this.inMemoryCounters),r=me({},this.inMemoryHistograms),i=$t([],Tt(this.inMemoryEvents),!1),this.inMemoryEvents=[],this.inMemoryTags={},this.inMemoryCounters={},this.inMemoryHistograms={},[4,Promise.all([this.storage.setTags(t),this.storage.incrementCounters(n),this.storage.setHistogramStats(r),this.storage.addEventRecords(i)])]):[2];case 1:return o.sent(),[2]}})})},e.prototype._flush=function(){return we(this,void 0,void 0,function(){var t,n,r,i,o,a,s,l,u,c;return Ie(this,function(f){switch(f.label){case 0:return this.storage?[4,this.saveAllDataToStorage()]:[2];case 1:return f.sent(),this.saveTimer=null,this.flushTimer=null,[4,this.storage.getAllAndClear()];case 2:return t=f.sent(),n=t.tags,r=t.counters,i=t.histogramStats,o=t.events,this.storage.setLastFlushTimestamp(Date.now()),a={}
5,n.forEach(function(p){a[p.key]=p.value}),s={},r.forEach(function(p){s[p.key]=p.value}),l={},i.forEach(function(p){l[p.key]={count:p.count,min:p.min,max:p.max,avg:Math.round(p.sum/p.count*100)/100}}),u=o.map(function(p){return{event_name:p.event_name,time:p.time,event_properties:p.event_properties}}),Object.keys(s).length===0&&Object.keys(l).length===0&&u.length===0?[2]:(c={tags:a,histogram:l,counters:s,events:u},this.fetch(c),[2])}})})},e.prototype.fetch=function(t){return we(this,void 0,void 0,function(){var n,r;return Ie(this,function(i){switch(i.label){case 0:if(i.trys.push([0,2,,3]),!Ft())throw new Error("DiagnosticsClient: Fetch is not supported");return[4,fetch(this.serverUrl,{method:"POST",headers:{"X-ApiKey":this.apiKey,"Content-Type":"application/json"},body:JSON.stringify(t)})];case 1:return n=i.sent(),n.ok?(this.logger.debug("DiagnosticsClient: Successfully sent diagnostics data"),[3,3]):(this.logger.debug("DiagnosticsClient: Failed to send diagnostics data."),[2]);case 2:return r=i.sent(),this.logger.debug("DiagnosticsClient: Failed to send diagnostics data. ",r),[3,3];case 3:return[2]}})})},e.prototype.initializeFlushInterval=function(){return we(this,void 0,void 0,function(){var t,n,r;return Ie(this,function(i){switch(i.label){case 0:return this.storage?(t=Date.now(),[4,this.storage.getLastFlushTimestamp()]):[2];case 1:return n=i.sent()||-1,n===-1?(this.storage.setLastFlushTimestamp(t),this._setFlushTimer(wb),[2]):(r=t-n,r>=wb?(this._flush(),[2]):(this._setFlushTimer(wb-r),[2]))}})})},e.prototype._setFlushTimer=function(t){var n=this;this.flushTimer=setTimeout(function(){n._flush().catch(function(r){n.logger.debug("DiagnosticsClient: Failed to flush",r)}).finally(function(){n.flushTimer=null})},t)},e.prototype._setSampleRate=function(t){this.logger.debug("DiagnosticsClient: Setting sample rate to",t),this.config.sampleRate=t,this.shouldTrack=v3(this.startTimestamp,this.config.sampleRate)&&this.config.enabled,this.logger.debug("DiagnosticsClient: Should track is",this.shouldTrack)},e})(),Py=(function(){function e(){}return e.prototype.send=function(t,n,r){return Promise.resolve(null)},e.prototype.buildResponse=function(t){var n,r,i,o,a,s,l,u,c,f,p,v,g,y,k,E,S,T,I,A,w,R;if(typeof t!="object")return null;var x=t.code||0,D=this.buildStatus(x);switch(D){case Pr.Success:return{status:D,statusCode:x,body:{eventsIngested:(n=t.events_ingested)!==null&&n!==void 0?n:0,payloadSizeBytes:(r=t.payload_size_bytes)!==null&&r!==void 0?r:0,serverUploadTime:(i=t.server_upload_time)!==null&&i!==void 0?i:0}};case Pr.Invalid:return{status:D,statusCode:x,body:{error:(o=t.error)!==null&&o!==void 0?o:"",missingField:(a=t.missing_field)!==null&&a!==void 0?a:"",eventsWithInvalidFields:(s=t.events_with_invalid_fields)!==null&&s!==void 0?s:{},eventsWithMissingFields:(l=t.events_with_missing_fields)!==null&&l!==void 0?l:{},eventsWithInvalidIdLengths:(u=t.events_with_invalid_id_lengths)!==null&&u!==void 0?u:{},epsThreshold:(c=t.eps_threshold)!==null&&c!==void 0?c:0,exceededDailyQuotaDevices:(f=t.exceeded_daily_quota_devices)!==null&&f!==void 0?f:{},silencedDevices:(p=t.silenced_devices)!==null&&p!==void 0?p:[],silencedEvents:(v=t.silenced_events)!==null&&v!==void 0?v:[],throttledDevices:(g=t.throttled_devices)!==null&&g!==void 0?g:{},throttledEvents:(y=t.throttled_events)!==null&&y!==void 0?y:[]}};case Pr.PayloadTooLarge:return{status:D,statusCode:x,body:{error:(k=t.error)!==null&&k!==void 0?k:""}};case Pr.RateLimit:return{status:D,statusCode:x,body:{error:(E=t.error)!==null&&E!==void 0?E:"",epsThreshold:(S=t.eps_threshold)!==null&&S!==void 0?S:0,throttledDevices:(T=t.throttled_devices)!==null&&T!==void 0?T:{},throttledUsers:(I=t.throttled_users)!==null&&I!==void 0?I:{},exceededDailyQuotaDevices:(A=t.exceeded_daily_quota_devices)!==null&&A!==void 0?A:{},exceededDailyQuotaUsers:(w=t.exceeded_daily_quota_users)!==null&&w!==void 0?w:{},throttledEvents:(R=t.throttled_events)!==null&&R!==void 0?R:[]}};case Pr.Timeout:default:return{status:D,statusCode:x}}},e.prototype.buildStatus=function(t){return ax(t)?Pr.Success:t===429?Pr.RateLimit:t===413?Pr.PayloadTooLarge:t===408?Pr.Timeout:t>=400&&t<500?Pr.Invalid:t>=500?Pr.Failed:Pr.Unknown},e})(),bse=(function(e){tl(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.customHeaders=n,r}return t.prototype.send=function(n,r){return we(this,void 0,void 0,function(){var i,o,a;return Ie(this,function(s){switch(s.label){case 0:if(typeof fetch>"u")throw new Error("FetchTransport is not supported");return i={headers:me({"Content-Type":"application/json",Accept:"*/*"},this.customHeaders),body:JSON.stringify(r),method:"POST"},[4,fetch(n,i)];case 1:return o=s.sent(),[4,o.text()];case 2:a=s.sent();try{return[2,this.buildResponse(JSON.parse(a))]}catch{return[2,this.buildResponse({code:o.status})]}return[2]}})})},t})(Py),uz=2*1024;function cz(){return typeof CompressionStream<"u"}function dz(e){return we(this,void 0,void 0,function(){var t,n;return Ie(this,function(r){switch(r.label){case 0:if(t=CompressionStream,typeof t>"u")return[2,void 0];r.label=1;case 1:return r.trys.push([1,3,,4]),n=new Blob([e]).stream().pipeThrough(new t("gzip")),[4,new Response(n).arrayBuffer()];case 2:return[2,r.sent()];case 3:return r.sent(),[2,void 0];case 4:return[2]}})})}var Sse=(function(){function e(t,n){this.key="AMP_remote_config_".concat(t.substring(0,10)),this.logger=n}return e.prototype.fetchConfig=function(){var t=null,n={remoteConfig:null,lastFetch:new Date};try{t=localStorage.getItem(this.key)}catch(i){return this.logger.debug("Remote config localstorage failed to access: ",i),Promise.resolve(n)}if(t===null)return this.logger.debug("Remote config localstorage gets null because the key does not exist"),Promise.resolve(n);try{var r=JSON.parse(t);return this.logger.debug("Remote config localstorage parsed successfully: ".concat(JSON.stringify(r))),Promise.resolve({remoteConfig:r.remoteConfig,lastFetch:new Date(r.lastFetch)})}catch(i){return this.logger.debug("Remote config localstorage failed to parse: ",i),localStorage.removeItem(this.key),Promise.resolve(n)}},e.prototype.setConfig=function(t){try{return localStorage.setItem(this.key,JSON.stringify(t)),this.logger.debug("Remote config localstorage set successfully."),Promise.resolve(!0)}catch(n){this.logger.debug("Remote config localstorage failed to set: ",n)}return Promise.resolve(!1)},e})();function Ese(e,t){return new Promise(function(n,r){var i=function(){var o=new Error("Remote config custom fetch aborted by timeout");o.name="AbortError",r(o)};t.addEventListener("abort",i,{once:!0}),e.then(function(o){t.removeEventListener("abort",i),n(o)},function(o){t.removeEventListener("abort",i),r(o)})})}var Tse="https://sr-client-cfg.amplitude.com/config",Cse="https://sr-client-cfg.eu.amplitude.com/config",Ase=3,bw={INVALID_API_KEY:401,FORB
5IDDEN:403,RATE_LIMIT:429},Ise=1e3,wse=300*1e3,fz=(function(){function e(t,n,r,i,o){r===void 0&&(r="US"),this.callbackInfos=[],this.lastSuccessfulFetch=null,this.fetchPromise=null,this.isLastFetchInvalidApiKey=!1,this.apiKey=t,this.serverUrl=i||(r==="US"?Tse:Cse),this.logger=n,this.storage=new Sse(t,n),this.customFetch=o}return e.prototype.subscribe=function(t,n,r){var i=Gs(),o={id:i,key:t,deliveryMode:n,callback:r};return this.callbackInfos.push(o),n==="all"?this.subscribeAll(o):this.subscribeWaitForRemote(o,n.timeout),i},e.prototype.unsubscribe=function(t){var n=this.callbackInfos.findIndex(function(r){return r.id===t});return n===-1?(this.logger.debug("Remote config client unsubscribe failed because callback with id ".concat(t," doesn't exist.")),!1):(this.callbackInfos.splice(n,1),this.logger.debug("Remote config client unsubscribe succeeded removing callback with id ".concat(t,".")),!0)},e.prototype.updateConfigs=function(){return we(this,void 0,void 0,function(){var t,n,r=this;return Ie(this,function(i){switch(i.label){case 0:return this.lastSuccessfulFetch&&(t=Date.now()-this.lastSuccessfulFetch,t<wse)?(this.logger.debug("Remote config client skipping updateConfigs: Too recent"),[2]):[4,this.getOrCreateFetchPromise()];case 1:return n=i.sent(),this.storage.setConfig(n),this.callbackInfos.forEach(function(o){r.sendCallback(o,n,"remote")}),[2]}})})},e.prototype.getOrCreateFetchPromise=function(){var t=this;return this.fetchPromise?this.fetchPromise:this.isLastFetchInvalidApiKey?(this.logger.debug("Remote config client skipping fetch: Invalid API key"),this.fetchPromise=Promise.resolve({remoteConfig:null,lastFetch:new Date}).finally(function(){t.fetchPromise=null}),this.fetchPromise):(this.fetchPromise=this.fetch().then(function(n){return n.remoteConfig!==null&&(t.lastSuccessfulFetch=Date.now()),n}).finally(function(){t.fetchPromise=null}),this.fetchPromise)},e.prototype.subscribeAll=function(t){return we(this,void 0,void 0,function(){var n,r,i,o=this;return Ie(this,function(a){switch(a.label){case 0:return n=this.getOrCreateFetchPromise().then(function(s){o.logger.debug("Remote config client subscription all mode fetched from remote: ".concat(JSON.stringify(s))),o.sendCallback(t,s,"remote"),o.storage.setConfig(s)}),r=this.storage.fetchConfig().then(function(s){return s}),[4,Promise.race([n,r])];case 1:return i=a.sent(),i!==void 0&&(this.logger.debug("Remote config client subscription all mode fetched from cache: ".concat(JSON.stringify(i))),i.remoteConfig!==null?this.sendCallback(t,i,"cache"):this.logger.debug("Remote config client skips sending c
5allback because cache is empty (first time user).")),[4,n];case 2:return a.sent(),[2]}})})},e.prototype.subscribeWaitForRemote=function(t,n){return we(this,void 0,void 0,function(){var r,i,i;return Ie(this,function(o){switch(o.label){case 0:r=new Promise(function(a,s){setTimeout(function(){s("Timeout exceeded")},n)}),o.label=1;case 1:return o.trys.push([1,3,,5]),[4,Promise.race([this.getOrCreateFetchPromise(),r])];case 2:return i=o.sent(),this.logger.debug("Remote config client subscription wait for remote mode returns from remote."),this.sendCallback(t,i,"remote"),this.storage.setConfig(i),[3,5];case 3:return o.sent(),this.logger.debug("Remote config client subscription wait for remote mode exceeded timeout. Try to fetch from cache."),[4,this.storage.fetchConfig()];case 4:return i=o.sent(),i.remoteConfig!==null?(this.logger.debug("Remote config client subscription wait for remote mode returns a cached copy."),this.sendCallback(t,i,"cache")):(this.logger.debug("Remote config client subscription wait for remote mode failed to fetch cache."),this.sendCallback(t,i,"remote")),[3,5];case 5:return[2]}})})},e.prototype.sendCallback=function(t,n,r){t.lastCallback=new Date;var i;t.key?i=t.key.split(".").reduce(function(o,a){return o===null?o:a in o?o[a]:null},n.remoteConfig):i=n.remoteConfig,t.callback(i,r,n.lastFetch)},e.prototype.fetch=function(t,n){return t===void 0&&(t=Ase),n===void 0&&(n=Ise),we(this,void 0,void 0,function(){var r,i,o,a,s,l,u=this;return Ie(this,function(c){switch(c.label){case 0:r=n/t,i={remoteConfig:null,lastFetch:new Date},o=function(f){var p,v,g,y,k,E,S,T,I,A,w;return Ie(this,function(R){switch(R.label){case 0:p=!0,v=new AbortController,g=setTimeout(function(){return v.abort()},n),R.label=1;case 1:return R.trys.push([1,10,11,12]),y=a.getUrlParams(),k={Accept:"*/*"},a.customFetch?[4,Ese(a.customFetch({url:y,method:"GET",headers:k,signal:v.signal}),v.signal)]:[3,3];case 2:return S=R.sent(),[3,5];case 3:return[4,fetch(y,{method:"GET",headers:k,signal:v.signal})];case 4:S=R.sent(),R.label=5;case 5:return E=S,T=E.ok||E.status>=200&&E.status<300,T?[3,7]:[4,E.text()];case 6:return I=R.sent(),a.logger.debug("Remote config client fetch with retry time ".concat(t," failed with ").concat(E.status,": ").concat(I)),E.status===bw.INVALID_API_KEY||E.status===bw.FORBIDDEN?(a.logger.error("Remote config client fetch failed with ".concat(E.status,". Invalid API key; future fetches will be skipped.")),a.isLastFetchInvalidApiKey=!0,p=!1):E.status>=400&&E.status<500&&E.status!==bw.RATE_LIMIT&&(p=!1),[3,9];case 7:return[4,E.json()];case 8:return A=R.sent(),[2,{value:{remoteConfig:A,lastFetch:new Date}}];case 9:return[3,12];case 10:return w=R.sent(),w instanceof Error&&w.name==="AbortError"?a.logger.debug("Remote config client fetch with retry time ".concat(t," timed out after ").concat(n,"ms")):a.logger.debug("Remote config client fetch with retry time ".concat(t," is rejected because: "),w),[3,12];case 11:return clearTimeout(g),[7];case 12:return p?f<t-1?[4,new Promise(function(x){return setTimeout(x,u.getJitterDelay(r))})]:[3,14]:[2,"break"];case 13:R.sent(),R.label=14;case 14:return[2]}})},a=this,s=0,c.label=1;case 1:return s<t?[5,o(s)]:[3,4];case 2:if(l=c.sent(),typeof l=="object")return[2,l.value];if(l==="break")return[3,4];c.label=3;case 3:return s++,[3,1];case 4:return[2,i]}})})},e.prototype.getJitterDelay=function(t){return Math.floor(Math.random()*t)},e.prototype.getUrlParams=function(){var t=encodeURIComponent(this.apiKey),n=new URLSearchParams;return n.append("config_group",e.CONFIG_GROUP),"".concat(this.serverUrl,"/").concat(t,"?").concat(n.toString())},e.CONFIG_GROUP="browser",e})(),Sw=Ft(),lm=Sw?.console,Sf={},Nv={},Ew=!1;function Nse(e){if(!lm||typeof lm[e]!="function")return!1;if(Nv[e])return!0;var t=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{if(Sf[e]&&!Ew){Ew=!0;var i=Sf[e];i&&i.forEach(function(o){try{o(e,n)}catch{}})}}catch{}return Ew=!1,Nv[e].apply(lm,n)};return Nv[e]=lm[e],lm[e]=t,!0}function Rse(e,t){var n=Nse(e);if(!n)return new Error("Console override failed");Sf[e]?Sf[e].push(t):Sf[e]=[t]}function xse(e){var t,n;try{for(var r=yt(Object.values(Sf)),i=r.next();!i.done;i=r.next())for(var o=i.value,a=o.length-1;a>=0;a--)if(o[a]===e){o.splice(a,1);break}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}function Lse(){var e,t;try{for(var n=yt(Object.entries(Nv)),r=n.next();!r.done;r=n.next()){var i=Tt(r.value,2),o=i[0],a=i[1];a&&(lm[o]=a)}}catch(s){e={error:s}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}Nv={},Sf={}}var E3={addListener:Rse,removeListener:xse,_restoreConsole:Lse},GS;(function(e){e.US="US",e.EU="EU",e.STAGING="STAGING"})(GS||(GS={}));var pz=null,mz=["a","button","input","select","textarea","label","video","audio",'[contenteditable="true" i]',"[data-amp-default-track]",".amp-default-track"],VO="data-amp-track-",hz=["div","span","h1","h2","h3","h4","h5","h6"],gz=150,Ose=["a","button",'[role="button"]','[role="link"]','[role="menuitem"]','[role="menuitemcheckbox"]','[role="menuitemradio"]','[role="option"]','[role="tab"]','[role="treeitem"]','[contenteditable="true" i]'],vz=$t(['input[type="button"]','input[type="submit"]','input[type="reset"]','input[type="image"]','input[type="file"]'],Tt(Ose),!1),Pse=vz,_se=vz,Dse=["*"],Mse=1e3,Fse=4,Use=50;function Vse(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||e===null||e===void 0}function yz(e,t,n){if(e){var r=t.map(T3),i=n.map(T3);kz({json:e,allowlist:r,excludelist:i,ancestors:[]})}}function kz(e){var t,n,r=e.json,i=e.targetObject,o=e.allowlist,a=e.excludelist,s=e.ancestors,l=e.parentObject,u=e.targetKey;
5i||(i=r);var c=Object.keys(i);try{for(var f=yt(c),p=f.next();!p.done;p=f.next()){var v=p.value,g=$t($t([],Tt(s),!1),[v],!1);Vse(i[v])?(!C3(g,o)||C3(g,a))&&delete i[v]:kz({json:r,targetObject:i[v],allowlist:o,excludelist:a,ancestors:g,parentObject:i,targetKey:v})}}catch(y){t={error:y}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(t)throw t.error}}Object.keys(i).length===0&&l&&u&&delete l[u]}function T3(e){return e.startsWith("/")&&(e=e.slice(1)),e.split("/").map(function(t){return t.replace(/~0/g,"~").replace(/~1/g,"/")})}function ux(e,t,n,r){if(n===void 0&&(n=0),r===void 0&&(r=0),r===t.length)return n===e.length;if(n===e.length){for(;r<t.length&&t[r]==="**";)r++;return r===t.length}var i=t[r];if(i==="**"){if(r+1===t.length)return!0;for(var o=n;o<=e.length;o++)if(ux(e,t,o,r+1))return!0;return!1}else return i==="*"||i===e[n]?ux(e,t,n+1,r+1):!1}function C3(e,t){return t.some(function(n){return ux(e,n)})}var Bse=500,bz=100,jse=(function(){function e(t){this.request=t}return e.prototype.headers=function(t){var n,r;t===void 0&&(t=[]);var i=this.request.headers,o={};if(Array.isArray(i))i.forEach(function(f){var p=Tt(f,2),v=p[0],g=p[1];o[v]=g});else if(i instanceof Headers)i.forEach(function(f,p){o[p]=f});else if(typeof i=="object"&&i!==null)try{for(var a=yt(Object.entries(i)),s=a.next();!s.done;s=a.next()){var l=Tt(s.value,2),u=l[0],c=l[1];o[u]=c}}catch(f){n={error:f}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return MT(o,{allow:t})},Object.defineProperty(e.prototype,"bodySize",{get:function(){if(typeof this._bodySize=="number")return this._bodySize;var t=Ft();if(t?.TextEncoder){var n=this.request.body;return this._bodySize=Sz(n,bz),this._bodySize}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"method",{get:function(){return this.request.method},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"body",{get:function(){return typeof this.request.body=="string"?this.request.body:null},enumerable:!1,configurable:!0}),e.prototype.json=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),we(this,void 0,void 0,function(){var r;return Ie(this,function(i){return t.length===0?[2,null]:(r=this.body,[2,BO(r,t,n)])})})},e})(),zse=(function(){function e(t,n){this.bodyRaw=t,this.requestHeaders=n}return e.prototype.headers=function(t){return t===void 0&&(t=[]),MT(this.requestHeaders,{allow:t})},Object.defineProperty(e.prototype,"bodySize",{get:function(){return Sz(this.bodyRaw,bz)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"body",{get:function(){return typeof this.bodyRaw=="string"?this.bodyRaw:null},enumerable:!1,configurable:!0}),e.prototype.json=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),we(this,void 0,void 0,function(){var r;return Ie(this,function(i){return t.length===0?[2,null]:(r=this.body,[2,BO(r,t,n)])})})},e})();function Sz(e,t){var n,r,i,o=Ft(),a=o?.TextEncoder;if(a&&e!=null){var s;if(typeof e=="string")s=e,i=new a().encode(s).length;else if(typeof Blob<"u"&&e instanceof Blob)s=e,i=s.size;else if(typeof URLSearchParams<"u"&&e instanceof URLSearchParams)s=e,i=new a().encode(s.toString()).length;else if(ArrayBuffer.isView(e))s=e,i=s.byteLength;else if(e instanceof ArrayBuffer)s=e,i=s.byteLength;else if(typeof FormData<"u"&&e instanceof FormData){var l=e,u=0,c=0;try{for(var f=yt(l.entries()),p=f.next();!p.done;p=f.next()){var v=Tt(p.value,2),g=v[0],y=v[1];if(u+=g.length,typeof y=="string")u+=new a().encode(y).length;else if(typeof Blob<"u"&&y instanceof Blob)u+=y.size;else return;if(++c>=t)return}}catch(k){n={error:k}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}i=u}else if(typeof ReadableStream<"u"&&e instanceof ReadableStream){s=e;return}return i}}var Hse=(function(){function e(t){this.response=t}return e.prototype.headers=function(t){var n;if(t===void 0&&(t=[]),this.response.headers instanceof Headers){var r=this.response.headers,i={};return(n=r?.forEach)===null||n===void 0||n.call(r,function(o,a){i[a]=o}),MT(i,{allow:t})}},Object.defineProperty(e.prototype,"bodySize",{get:function(){var t,n;if(this._bodySize!==void 0)return this._bodySize;var r=(n=(t=this.response.headers)===null||t===void 0?void 0:t.get)===null||n===void 0?void 0:n.call(t,"content-length"),i=r?parseInt(r,10):void 0;return this._bodySize=i,i}
5,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.response.status},enumerable:!1,configurable:!0}),e.prototype.text=function(){return we(this,void 0,void 0,function(){var t,n,r;return Ie(this,function(i){switch(i.label){case 0:this.clonedResponse||(this.clonedResponse=this.response.clone()),i.label=1;case 1:return i.trys.push([1,3,,4]),t=this.clonedResponse.text(),n=new Promise(function(o){return setTimeout(function(){return o(null)},Bse)}),[4,Promise.race([t,n])];case 2:return r=i.sent(),[2,r];case 3:return i.sent(),[2,null];case 4:return[2]}})})},e.prototype.json=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),we(this,void 0,void 0,function(){var r;return Ie(this,function(i){switch(i.label){case 0:return t.length===0?[2,null]:[4,this.text()];case 1:return r=i.sent(),[2,BO(r,t,n)]}})})},e})(),Wse=(function(){function e(t,n,r,i){this.statusCode=t,this.headersString=n,this.size=r,this.getJson=i}return Object.defineProperty(e.prototype,"bodySize",{get:function(){return this.size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.statusCode},enumerable:!1,configurable:!0}),e.prototype.headers=function(t){var n,r;if(t===void 0&&(t=[]),!this.headersString)return{};var i={},o=this.headersString.split(`\r 6`);try{for(var a=yt(o),s=a.next();!s.done;s=a.next()){var l=s.value,u=Tt(l.split(": "),2),c=u[0],f=u[1];c&&f&&(i[c]=f)}}catch(p){n={error:p}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return MT(i,{allow:t})},e.prototype.json=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),we(this,void 0,void 0,function(){var r;return Ie(this,function(i){return t.length===0?[2,null]:(r=this.getJson(),r?(yz(r,t,n),[2,r]):[2,null])})})},e})();function BO(e,t,n){if(!e)return null;try{var r=JSON.parse(e);return yz(r,t,n),r}catch{return null}}var Rv;(function(e){e.REDACT="redact",e.REMOVE="remove"})(Rv||(Rv={}));var A3="[REDACTED]",MT=function(e,t){var n,r,i=t.allow,o=i===void 0?[]:i,a=t.strategy,s=a===void 0?Rv.REMOVE:a,l=$t([],Tt(Sae),!1),u={},c=function(g){var y=g.toLowerCase();l.find(function(k){return k.toLowerCase()===y})?s===Rv.REDACT&&(u[g]=A3):o.find(function(k){return k.toLowerCase()===y})?u[g]=e[g]:s===Rv.REDACT&&(u[g]=A3)};try{for(var f=yt(Object.keys(e)),p=f.next();!p.done;p=f.next()){var v=p.value;c(v)}}catch(g){n={error:g}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}return u},qse=(function(){function e(t,n,r,i,o,a,s,l,u,c,f){s===void 0&&(s=0),this.type=t,this.method=n,this.timestamp=r,this.startTime=i,this.url=o,this.requestWrapper=a,this.status=s,this.duration=l,this.responseWrapper=u,this.error=c,this.endTime=f}return e.prototype.toSerializable=function(){var t,n,r,i,o={type:this.type,method:this.method,url:this.url,timestamp:this.timestamp,status:this.status,duration:this.duration,error:this.error,startTime:this.startTime,endTime:this.endTime,requestHeaders:(t=this.requestWrapper)===null||t===void 0?void 0:t.headers($t([],Tt(HS),!1)),requestBodySize:(n=this.requestWrapper)===null||n===void 0?void 0:n.bodySize,responseHeaders:(r=this.responseWrapper)===null||r===void 0?void 0:r.headers($t([],Tt(HS),!1)),responseBodySize:(i=this.responseWrapper)===null||i===void 0?void 0:i.bodySize};return Object.fromEntries(Object.entries(o).filter(function(a){var s=Tt(a,2);s[0];var l=s[1];return l!==void 0}))},e})();function Gse(e){return typeof e=="object"&&e!==null&&"url"in e&&"method"in e}var Kse=(function(){function e(t,n){n===void 0&&(n=Gs()),this.callback=t,this.id=n}return e})();
6function jd(e){try{e()}catch{}}var Yse=(function(){function e(t){this.eventCallbacks=new Map,this.isObserving=!1,this.logger=t;var n=Ft();e.isSupported()&&(this.globalScope=n)}return e.isSupported=function(){var t=Ft();return!!t&&!!t.fetch},e.prototype.subscribe=function(t,n){var r,i,o,a,s,l,u,c,f,p;if(this.logger||(this.logger=n),this.eventCallbacks.set(t.id,t),!this.isObserving){var v=(o=(i=(r=this.globalScope)===null||r===void 0?void 0:r.XMLHttpRequest)===null||i===void 0?void 0:i.prototype)===null||o===void 0?void 0:o.open,g=(l=(s=(a=this.globalScope)===null||a===void 0?void 0:a.XMLHttpRequest)===null||s===void 0?void 0:s.prototype)===null||l===void 0?void 0:l.send,y=(f=(c=(u=this.globalScope)===null||u===void 0?void 0:u.XMLHttpRequest)===null||c===void 0?void 0:c.prototype)===null||f===void 0?void 0:f.setRequestHeader;v&&g&&y&&this.observeXhr(v,g,y);var k=(p=this.globalScope)===null||p===void 0?void 0:p.fetch;k&&this.observeFetch(k),this.isObserving=!0}},e.prototype.unsubscribe=function(t){this.eventCallbacks.delete(t.id)},e.prototype.triggerEventCallbacks=function(t){var n=this;this.eventCallbacks.forEach(function(r){try{r.callback(t)}catch(i){jd(function(){var o;(o=n.logger)===null||o===void 0||o.debug("an unexpected error occurred while triggering event callbacks",i)})}})},e.prototype.handleNetworkRequestEvent=function(t,n,r,i,o,a,s){var l;if(!(a===void 0||s===void 0)){var u,c="GET";if(Gse(n)?(u=n.url,c=n.method):u=(l=n?.toString)===null||l===void 0?void 0:l.call(n),u)try{var f=new URL(u);u="".concat(f.protocol,"//").concat(f.host).concat(f.pathname).concat(f.search).concat(f.hash)}catch{}c=r?.method||c;var p,v;i&&(p=i.status),o&&(v={name:o.name||"UnknownError",message:o.message||"An unknown error occurred"},p=0);var g=Math.floor(performance.now()-s),y=Math.floor(a+g),k=new qse(t,c,a,a,u,r,p,g,i,v,y);this.triggerEventCallbacks(k)}},e.prototype.getTimestamps=function(){var t,n;return{startTime:(t=Date.now)===null||t===void 0?void 0:t.call(Date),durationStart:(n=performance?.now)===null||n===void 0?void 0:n.call(performance)}},e.prototype.observeFetch=function(t){var n=this;!this.globalScope||!t||(this.globalScope.fetch=function(r,i){return we(n,void 0,void 0,function(){var o,a,s,l,u=this;return Ie(this,function(c){switch(c.label){case 0:try{o=this.getTimestamps()}catch(f){jd(function(){var p;return(p=u.logger)===null||p===void 0?void 0:p.debug("an unexpected error occurred while retrieving timestamps",f)})}c.label=1;case 1:return c.trys.push([1,3,,4]),[4,t(r,i)];case 2:return a=c.sent(),[3,4];case 3:return l=c.sent(),s=l,[3,4];case 4:try{this.handleNetworkRequestEvent("fetch",r,i?new jse(i):void 0,a?new Hse(a):void 0,s,o?.startTime,o?.durationStart)}catch(f){jd(function(){var p;return(p=u.logger)===null||p===void 0?void 0:p.debug("an unexpected error occurred while handling fetch",f)})}if(a)return[2,a];throw s}})})})},e.createXhrJsonParser=function(t,n){return function(){var r;try{if(t.responseType==="json"){if(!((r=n.globalScope)===null||r===void 0)&&r.structuredClone)return n.globalScope.structuredClone(t.response)}else if(["text",""].includes(t.responseType))return JSON.parse(t.responseText)}catch(i){return i instanceof Error&&i.name==="InvalidStateError"&&jd(function(){var o;return(o=n.logger)===null||o===void 0?void 0:o.debug("unexpected error when retrieving responseText. responseType='".concat(t.responseType,"'"))}),null}return null}},e.prototype.observeXhr=function(t,n,r){if(!(!this.globalScope||!t||!n)){var i=this.globalScope.XMLHttpRequest.prototype,o=this;i.open=function(){for(var a,s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];var u=this,c=Tt(s,2),f=c[0],p=c[1];try{u.$$AmplitudeAnalyticsEvent=me({method:f,url:(a=p?.toString)===null||a===void 0?void 0:a.call(p),headers:{}},o.getTimestamps())}catch(v){jd(function(){var g;return(g=o.logger)===null||g===void 0?void 0:g.debug("an unexpected error occurred while calling xhr open",v)})}return t.apply(u,s)},i.send=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var l=this,u=l,c=e.createXhrJsonParser(l,o),f=a[0],p=u.$$AmplitudeAnalyticsEvent;return u.$$AmplitudeAnalyticsEvent&&u.addEventListener("loadend",function(){try{var v=u.getAllResponseHeaders(),g=u.getResponseHeader("content-length"),y=new Wse(u.status,v,g?parseInt(g,10):void 0,c),k=u.$$AmplitudeAnalyticsEvent.headers,E=new zse(f,k);p.status=u.status,o.handleNetworkRequestEvent("xhr",{url:p.url,method:p.method},E,y,void 0,p.startTime,p.durationStart)}catch(S){jd(function(){var T;return(T=o.logger)===null||T===void 0?void 0:T.debug("an unexpected error occurred while handling xhr send",S)})}}),n.apply(u,a)},i.setRequestHeader=function(a,s){var l=this;try{var u=l.$$AmplitudeAnalyticsEvent;u&&(u.headers[a]=s)}catch(c){jd(function(){var f;return(f=o.logger)===null||f===void 0?void 0:f.debug("an unexpected error occurred while calling xhr setRequestHeader",c)})}r.apply(l,[a,s])}}},e})(),I3=new Yse,$se=function(e,t){return e?.map(function(n){var r,i;if(!((r=n.urls)===null||r===void 0)&&r.length&&(!((i=n.hosts)===null||i===void 0)&&i.length)){var o=JSON.stringify(n.hosts),a=JSON.stringify(n.urls);return t?.warn("Found network capture rule with both urls='".concat(a,"' and hosts='").concat(o,"' set. ")+"Definition of urls takes precedence over hosts, so ignoring hosts."),me(me({},n),{hosts:void 0})}return n})},jO=(function(){function e(){}return e.prototype.parse=function(){return we(this,void 0,void 0,function(){return Ie(this,function(t){return[2,me(me(me(me({},_T),this.getUtmParam()),this.getReferrer()),this.getClickIds())]})})},e.prototype.getUtmParam=function(){var t=WS(),n=t[hae],r=t[gae],i=t[vae],o=t[yae],a=t[kae],s=t[bae];return{utm_campaign:n,utm_content:r,utm_id:i,utm_medium:o,utm_source:a,utm_term:s}},e.prototype.getReferrer=function(){var t,n,r={referrer:void 0,referring_domain:void 0};try{r.referrer=document.referrer||void 0,r.referring_domain=(n=(t=r.referrer)===null||t===void 0?void 0:t.split("/")[2])!==null&&n!==void 0?n:void 0}catch{}return r},e.prototype.getClickIds=function(){var t,n=WS();return t={},t[r3]=n[r3],t[i3]=n[i3],t[o3]=n[o3],t[a3]=n[a3],t[s3]=n[s3],t[l3]=n[l3],t[u3]=n[u3],t[c3]=n[c3],t[d3]=n[d3],t[f3]=n[f3],t[p3]=n[p3],t},e})(),Bc="data-amp-mask",Dc="*****",Jse=/\b(?:\d[ -]*?){13,16}\b/,Zse=/(\d{3}-?\d{2}-?\d{4})/g,Qse=/[^\s@]+@[^\s@.]+\.[^\s@]+/g,zO=function(e,t){var n,r;if(t===void 0&&(t=[]),typeof e!="string")return"";var i=e;i=i.replace(Jse,Dc),i=i.replace(Zse,Dc),i=i.replace(Qse,Dc);try{for(var o=yt(t),a=o.next();!a.done;a=o.next()){var s=a.value;try{i=i.replace(s,Dc)}catch{}}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i},HO=function(e){if(typeof document>"u"||!document.title)return"";var t=document.querySelector("title");return t&&t.hasAttribute(Bc)?Dc:e?e(document.title):document.title},Ig={},w3;function Xse(){if(w3)return Ig;
6w3=1,Object.defineProperty(Ig,"__esModule",{value:!0}),Ig.Observable=void 0;const e=E=>!!Symbol[E],t=E=>e(E)?Symbol[E]:"@@"+E,n=t("iterator"),r=t("observable"),i=t("species");function o(E,S){let T=E[S];if(T!=null){if(typeof T!="function")throw new TypeError(T+" is not a function");return T}}function a(E){let S=E.constructor;return S!==void 0&&(S=S[i],S===null&&(S=void 0)),S!==void 0?S:k}function s(E){return E instanceof k}function l(E){l.log?l.log(E):setTimeout(()=>{throw E})}function u(E){Promise.resolve().then(()=>{try{E()}catch(S){l(S)}})}function c(E){let S=E._cleanup;if(S!==void 0&&(E._cleanup=void 0,!!S))try{if(typeof S=="function")S();else{let T=o(S,"unsubscribe");T&&T.call(S)}}catch(T){l(T)}}function f(E){E._observer=void 0,E._queue=void 0,E._state="closed"}function p(E){let S=E._queue;if(S){E._queue=void 0,E._state="ready";for(let T=0;T<S.length&&(v(E,S[T].type,S[T].value),E._state!=="closed");++T);}}function v(E,S,T){E._state="running";let I=E._observer;try{let A=o(I,S);switch(S){case"next":A&&A.call(I,T);break;case"error":if(f(E),A)A.call(I,T);else throw T;break;case"complete":f(E),A&&A.call(I);break}}catch(A){l(A)}E._state==="closed"?c(E):E._state==="running"&&(E._state="ready")}function g(E,S,T){if(E._state!=="closed"){if(E._state==="buffering"){E._queue.push({type:S,value:T});return}if(E._state!=="ready"){E._state="buffering",E._queue=[{type:S,value:T}],u(()=>p(E));return}v(E,S,T)}}class y{constructor(S,T){this._cleanup=void 0,this._observer=S,this._queue=void 0,this._state="initializing";let I=this,A={get closed(){return I._state==="closed"},next(w){g(I,"next",w)},error(w){g(I,"error",w)},complete(){g(I,"complete")}};try{this._cleanup=T.call(void 0,A)}catch(w){A.error(w)}this._state==="initializing"&&(this._state="ready")}get closed(){return this._state==="closed"}unsubscribe(){this._state!=="closed"&&(f(this),c(this))}}class k{constructor(S){if(!(this instanceof k))throw new TypeError("Observable cannot be called as a function");if(typeof S!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=S}subscribe(S){return(typeof S!="object"||S===null)&&(S={next:S,error:arguments[1],complete:arguments[2]}),new y(S,this._subscriber)}forEach(S){return new Promise((T,I)=>{if(typeof S!="function"){I(new TypeError(S+" is not a function"));return}function A(){w.unsubscribe(),T()}let w=this.subscribe({next(R){try{S(R,A)}catch(x){I(x),w.unsubscribe()}},error:I,complete:T})})}map(S){if(typeof S!="function")throw new TypeError(S+" is not a function");let T=a(this);return new T(I=>this.subscribe({next(A){try{A=S(A)}catch(w){return I.error(w)}I.next(A)},error(A){I.error(A)},complete(){I.complete()}}))}filter(S){if(typeof S!="function")throw new TypeError(S+" is not a function");let T=a(this);return new T(I=>this.subscribe({next(A){try{if(!S(A))return}catch(w){return I.error(w)}I.next(A)},error(A){I.error(A)},complete(){I.complete()}}))}reduce(S){if(typeof S!="function")throw new TypeError(S+" is not a function");let T=a(this),I=arguments.length>1,A=!1,R=arguments[1];return new T(x=>this.subscribe({next(D){let M=!A;if(A=!0,!M||I)try{R=S(R,D)}catch(F){return x.error(F)}else R=D},error(D){x.error(D)},complete(){if(!A&&!I)return x.error(new TypeError("Cannot reduce an empty sequence"));x.next(R),x.complete()}}))}async all(){let S=[];return await this.forEach(T=>S.push(T)),S}concat(...S){let T=a(this);return new T(I=>{let A,w=0;function R(x){A=x.subscribe({next(D){I.next(D)},error(D){I.error(D)},complete(){w===S.length?(A=void 0,I.complete()):R(T.from(S[w++]))}})}return R(this),()=>{A&&(A.unsubscribe(),A=void 0)}})}flatMap(S){if(typeof S!="function")throw new TypeError(S+" is not a function");let T=a(this);return new T(I=>{let A=[],w=this.subscribe({next(x){if(S)try{x=S(x)}catch(M){return I.error(M)}let D=T.from(x).subscribe({next(M){I.next(M)},error(M){I.error(M)},complete(){let M=A.indexOf(D);M>=0&&A.splice(M,1),R()}});A.push(D)},error(x){I.error(x)},complete(){R()}});function R(){w.closed&&A.length===0&&I.complete()}return()=>{A.forEach(x=>x.unsubscribe()),w.unsubscribe()}})}[r](){return this}static from(S){let T=typeof this=="function"?this:k;if(S==null)throw new TypeError(S+" is not an object");let I=o(S,r);if(I){let A=I.call(S);if(Object(A)!==A)throw new TypeError(A+" is not an object");return s(A)&&A.constructor===T?A:new T(w=>A.subscribe(w))}if(e("iterator")&&(I=o(S,n),I))return new T(A=>{u(()=>{if(!A.closed){for(let w of I.call(S))if(A.next(w),A.closed)return;A.complete()}})});if(Array.isArray(S))return new T(A=>{u(()=>{if(!A.closed){for(let w=0;w<S.length;++w)if(A.next(S[w]),A.closed)return;A.complete()}})});throw new TypeError(S+" is not observable")}static of(...S){let T=typeof this=="function"?this:k;return new T(I=>{u(()=>{if(!I.closed){for(let A=0;A<S.length;++A)if(I.next(S[A]),I.closed)return;I.complete()}})})}static get[i](){return this}}return Ig.Observable=k,Object.defineProperty(k,Symbol("extensions"),{value:{symbol:r,hostReportError:l},configurable:!0}),Ig}var Tw,N3;function ele(){return N3||(N3=1,Tw=Xse().Observable),Tw}var tle=ele();const qi=Wu(tle);
6function WO(e,t){return new qi(function(n){e.subscribe({next:function(r){t(r).then(function(i){return n.next(i)}).catch(function(i){return n.error(i)})},error:function(r){n.error(r)},complete:function(){n.complete()}})})}function Uf(e,t){return new qi(function(n){var r=!1,i=new Set,o=function(){var s,l;r=!0;try{for(var u=yt(i),c=u.next();!c.done;c=u.next()){var f=c.value;try{f.unsubscribe()}catch{}}}catch(p){s={error:p}}finally{try{c&&!c.done&&(l=u.return)&&l.call(u)}finally{if(s)throw s.error}}i.clear()},a=function(s){var l=s.subscribe({next:function(u){r||n.next(u)},error:function(u){r||(r=!0,n.error(u),o())},complete:function(){i.delete(l),!r&&i.size===0&&(n.complete(),o(),r=!0)}});i.add(l)};return a(e),a(t),o})}function Cl(e){var t=new Set,n=null;function r(){n?.unsubscribe(),n=null,t.clear()}return new qi(function(i){return t.add(i),n===null&&(n=e.subscribe({next:function(o){var a,s,l;try{for(var u=yt(t),c=u.next();!c.done;c=u.next()){var f=c.value;(l=f.next)===null||l===void 0||l.call(f,o)}}catch(p){a={error:p}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}},error:function(o){var a,s,l;try{for(var u=yt(t),c=u.next();!c.done;c=u.next()){var f=c.value;(l=f.error)===null||l===void 0||l.call(f,o)}}catch(p){a={error:p}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}r()},complete:function(){var o,a,s;try{for(var l=yt(t),u=l.next();!u.done;u=l.next()){var c=u.value;(s=c.complete)===null||s===void 0||s.call(c)}}catch(f){o={error:f}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}r()}})),function(){t.delete(i),t.size===0&&n&&(n.unsubscribe(),n=null)}})}var Nb={exports:{}},R3;function nle(){if(R3)return Nb.exports;R3=1;var e=Object.prototype.hasOwnProperty;function t(i){return"[Throws: "+(i?i.message:"?")+"]"}function n(i,o){if(e.call(i,o))try{return i[o]}catch(a){return t(a)}return i[o]}function r(i){var o=[];function a(s){if(s===null||typeof s!="object")return s;if(o.indexOf(s)!==-1)return"[Circular]";if(o.push(s),typeof s.toJSON=="function")try{var l=a(s.toJSON());return o.pop(),l}catch(f){return t(f)}if(Array.isArray(s)){var u=s.map(a);return o.pop(),u}var c=Object.keys(s).reduce(function(f,p){return f[p]=a(n(s,p)),f},{});return o.pop(),c}return a(i)}return Nb.exports=function(i,o,a){return JSON.stringify(r(i),o,a)},Nb.exports.ensureProperties=r,Nb.exports}var Ez=nle();const Tz=Wu(Ez),rle=$7({__proto__:null,default:Tz},[Ez]);var cx=Tz||rle,dx="https://app.amplitude.com",ile="https://app.eu.amplitude.com",ole="https://apps.stag2.amplitude.com",Cz={US:dx,EU:ile,STAGING:ole},ale="https://cdn.amplitude.com/libs/background-capture-1.0.3.js.gz",sle=function(e){var t=document.querySelector('script[src="'.concat(CSS.escape(e),'"]'));return t?Promise.resolve({status:!0}):new Promise(function(n,r){var i;try{var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=e,o.addEventListener("load",function(){n({status:!0})},{once:!0}),o.addEventListener("error",function(){r({status:!1,message:"Failed to load the script ".concat(e)})}),(i=document.head)===null||i===void 0||i.appendChild(o)}catch(a){r(a)}})};function lle(){return"".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9))}var Az,fx="__AMPLITUDE_MESSENGER_INSTANCE__",KS="__AMPLITUDE_MESSENGER__",ule=(function(){function e(t){var n=t===void 0?{}:t,r=n.origin,i=r===void 0?dx:r;this[Az]=!0,this.isSetup=!1,this.messageHandler=null,this.requestCallbacks={},this.actionHandlers=new Map,this.pendingMessages=new Map,this.scriptLoadPromises=new Map,this.endpoint=i}return e.prototype.notify=function(t){var n,r,i,o;(r=(n=this.logger)===null||n===void 0?void 0:n.debug)===null||r===void 0||r.call(n,"Message sent: ",JSON.stringify(t)),(o=(i=window.opener)===null||i===void 0?void 0:i.postMessage)===null||o===void 0||o.call(i,t,this.endpoint)},e.prototype.sendRequest=function(t,n,r){var i=this;r===void 0&&(r={timeout:15e3});var o=lle(),a={id:o,action:t,args:n},s=new Promise(function(l,u){i.requestCallbacks[o]={resolve:l,reject:u},i.notify(a),r.timeout>0&&setTimeout(function(){u(new Error("".concat(t," timed out (id: ").concat(o,")"))),delete i.requestCallbacks[o]},r.timeout)});return s},e.prototype.handleResponse=function(t){var n;if(!this.requestCallbacks[t.id]){(n=this.logger)===null||n===void 0||n.warn("No callback found for request id: ".concat(t.id));return}this.requestCallbacks[t.id].resolve(t.responseData),delete this.requestCallbacks[t.id]},e.prototype.registerActionHandler=function(t,n){var r,i,o,a;this.actionHandlers.has(t)&&((a=(o=this.logger)===null||o===void 0?void 0:o.warn)===null||a===void 0||a.call(o,"Overwriting existing action handler for: ".concat(t))),this.actionHandlers.set(t,n);var s=this.pendingMessages.get(t);if(s){this.pendingMessages.delete(t);try{for(var l=yt(s),u=l.next();!u.done;u=l.next()){var c=u.value;n(c)}}catch(f){r={error:f}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}},e.prototype.loadScriptOnce=function(t){return we(this,void 0,void 0,function(){var n,r,i;return Ie(this,function(o){switch(o.label){case 0:if(n=this.scriptLoadPromises.get(t),n)return[2,n];r=sle(t).then(function(){}),this.scriptLoadPromises.set(t,r),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,r];case 2:return o.sent(),[3,4];case 3:throw i=o.sent(),this.scriptLoadPromises.delete(t),i;case 4:return[2]}})})},e.prototype.setup=function(t){var n=this,r,i,o=t===void 0?{}:t,a=o.logger,s=o.endpoint;a&&(this.logger=a),s&&this.endpoint===dx&&(this.endpoint=s),!this.isSetup&&(this.isSetup=!0,(i=(r=this.logger)===null||r===void 0?void 0:r.debug)===null||i===void 0||i.call(r,"Setting up messenger"),this.messageHandler=function(l){var u,c,f,p,v;if((c=(u=n.logger)===null||u===void 0?void 0:u.debug)===null||c===void 0||c.c
6all(u,"Message received: ",JSON.stringify(l)),n.endpoint===l.origin){var g=l.data,y=g?.action;if(y)if("id"in g&&g.id)(p=(f=n.logger)===null||f===void 0?void 0:f.debug)===null||p===void 0||p.call(f,"Received Response to previous request: ",JSON.stringify(l)),n.handleResponse(g);else{if(y==="ping"){n.notify({action:"pong"});return}var k=n.actionHandlers.get(y);if(k)k(g.data);else{var E=(v=n.pendingMessages.get(y))!==null&&v!==void 0?v:[];E.push(g.data),n.pendingMessages.set(y,E)}}}},window.addEventListener("message",this.messageHandler),this.notify({action:"page-loaded"}))},e.prototype.destroy=function(){this.messageHandler&&(window.removeEventListener("message",this.messageHandler),this.messageHandler=null),this.isSetup=!1,this.actionHandlers.clear(),this.pendingMessages.clear(),this.requestCallbacks={},this.scriptLoadPromises.clear();var t=Ft();t?.[KS]===this&&delete t[KS]},e})();Az=fx;function cle(e){return typeof e=="object"&&e!==null&&fx in e&&e[fx]===!0}function Iz(e){var t=Ft(),n=t?.[KS];if(cle(n))return n;var r=new ule(e);return t&&(t[KS]=r),r}var x3="__AMPLITUDE_BACKGROUND_CAPTURE__";function wz(e,t){var n,r=e;if(r[x3]!==!0){r[x3]=!0;var i=(n=void 0)!==null&&n!==void 0?n:ale,o=null,a=function(s,l){var u,c;s==="background-capture-complete"&&((c=(u=e.logger)===null||u===void 0?void 0:u.debug)===null||c===void 0||c.call(u,"Background capture complete"),e.notify({action:"background-capture-complete",data:l}))};e.registerActionHandler("initialize-background-capture",function(){var s,l;(l=(s=e.logger)===null||s===void 0?void 0:s.debug)===null||l===void 0||l.call(s,"Initializing background capture (external script)");var u=new URL(i,e.endpoint).toString();e.loadScriptOnce(u).then(function(){var c,f,p;(f=(c=e.logger)===null||c===void 0?void 0:c.debug)===null||f===void 0||f.call(c,"Background capture script loaded (external)"),o=(p=window?.amplitudeBackgroundCapture)===null||p===void 0?void 0:p.call(window,{messenger:e,onBackgroundCapture:a}),e.notify({action:"background-capture-loaded"})}).catch(function(){var c;(c=e.logger)===null||c===void 0||c.warn("Failed to initialize background capture")})}),e.registerActionHandler("close-background-capture",function(){var s;(s=o?.close)===null||s===void 0||s.call(o),o=null})}}var J0={always:"always",ifEmptyCampaign:"ifEmptyCampaign"};function Nz(e,t){var n=0;if(Number.isFinite(e)&&Number.isFinite(t)&&t>0){var r=e/t*100;n=Math.min(100,Math.max(0,r))}return n}function wg(e,t){var n=e.currentTime,r=e.duration;return me({duration:r,start_time:n,last_position:n,percent_completed:Nz(n,r)},t!==void 0?{stop_reason:t}:{})}function Ng(e){return{mux_playback_id:e.getAttribute("playback-id"),mux_video_id:e.getAttribute("metadata-video-id"),mux_video_title:e.getAttribute("metadata-video-title")}}function dle(e,t,n){var r=function(){var u=me(me({},wg(e)),n==="mux"?Ng(e):{});t.onPlay(u)};e.addEventListener("play",r);var i=function(){var u=me(me({},wg(e,"paused")),n==="mux"?Ng(e):{});t.onPause(u)};e.addEventListener("pause",i);var o=function(){var u=me(me({},wg(e,"ended")),n==="mux"?Ng(e):{});t.onEnded(u)};e.addEventListener("ended",o);var a=function(){var u=me(me({},wg(e,"seeking")),n==="mux"?Ng(e):{});t.onSeeking(u)};e.addEventListener("seeking",a);var s=function(){var u=me(me({},wg(e)),n==="mux"?Ng(e):{});t.onSeeked(u)};e.addEventListener("seeked",s);var l=function(){var u=e,c={position:e.currentTime,isSeeking:!!u.seeking};t.onTimeUpdate(c)};return e.addEventListener("timeupdate",l),function(){e.removeEventListener("play",r),e.removeEventListener("pause",i),e.removeEventListener("ended",o),e.removeEventListener("seeking",a),e.removeEventListener("seeked",s),e.removeEventListener("timeupdate",l)}}function fle(e){return we(this,void 0,void 0,function(){var t;return Ie(this,function(n){switch(n.label){case 0:return[4,new Promise(function(r){return e.getCurrentTime(r)})];case 1:return t=n.sent(),[2,{currentTime:t}]}})})}function Rg(e,t,n,r){return we(this,void 0,void 0,function(){var i,o,a,s,l;return Ie(this,function(u){switch(u.label){case 0:return[4,Promise.all([new Promise(function(c){return e.getDuration(c)}),new Promise(function(c){return e.getCurrentTime(c)})])];case 1:if(i=Tt.apply(void 0,[u.sent(),2]),o=i[0],a=i[1],s={},n==="mux"){l=void 0;try{l=new URL(t.getAttribute("src")),s.mux_video_title=l.searchParams.get("metadata-video-title"),s.mux_video_id=l.searchParams.get("metadata-video-id"),s.mux_playback_id=l.pathname.split("/").pop()}catch{}}return[2,me(me({duration:o,start_time:a,last_position:a,percent_completed:Nz(a,o)},r!==void 0?{stop_reason:r}:{}),s)]}})})}function ple(e,t,n){n===void 0&&(n=null);var r=[],i=function(){var o=e.elem,a=!1,s=function(){Rg(e,o,n).then(function(v){t.onPlay(v)}).catch(function(v){t.onError("Error getting iframe metadata from 'play' handler: ".concat(v))})};e.on("play",s),r.push(function(){return e.off("play",s)});var l=function(){Rg(e,o,n,"paused").then(function(v){t.onPause(v)}).catch(function(v){t.onError("Error getting iframe metadata from 'pause' handler: ".concat(v))})};e.on("pause",l),r.push(function(){return e.off("pause",l)});var u=function(){Rg(e,o,n,"ended").then(function(v){t.onEnded(v)}).catch(function(v){t.onError("Error getting iframe metadata from 'ended' handler: ".concat(v))})};e.on("ended",u),r.push(function(){return e.off("ended",u)});var c=function(){a=!0,Rg(e,o,n,"seeking").then(function(v){t.onSeeking(v)}).catch(function(v){t.onError("Error getting iframe metadata from 'seeking' handler: ".concat(v))})};e.on("seeking",c),r.push(function(){return e.off("seeking",c)});var f=function(){a=!1,Rg(e,o,n).then(function(v){t.onSeeked(v)}).catch(function(v){t.onError("Error getting iframe metadata from 'seeked' handler: ".concat(v))})};e.on("seeked",f),r.push(function(){return e.off("seeked",f)});var p=function(){fle(e).then(function(v){var g=v.currentTime,y={position:g,isSeeking:a};t.onTimeUpdate(y)}).catch(function(v){t.onError("Error getting iframe metadata from 'timeupdate' handler: ".concat(v))})};e.on("timeupdate",p),r.push(function(){return e.off("timeupdate",p)})};return e.on("ready",i),function(){e.off("ready",i),r.forEach(function(o){return o()})}}var mle=(function(){function e(t){var n=t.videoEl,r=t.onStateChange,i=t.vendor,o=t.isEmbedded,a=this;this.state={playbackState:"paused"},this.handler={onPlay:function(s){a.updatePlaybackState("playing",s)},onPause:function(s){a.updatePlaybackState("paused",s)},onEnded:function(s){a.updatePlaybackState("ended",s)},onSeeking:function(){var s=me(me({},a.state),{isSeeking:!0});a.updateState(s)},onSeeked:function(s){var l=me(me({},a.state),{isSeeking:!1,position:s.last_position});a.updateState(l)},onError:function(s){a.updateStateWithError(s)},onTimeUpdate:function(s){a.updateTime(s)}},this.onStateChange=r,o?this.untrack=ple(n,this.handler,i):this.untrack=dle(n,this.handler,i)}return e.prototype.stateChangeHandler=function(t,n){try{this.onStateChange(t,n)}catch{}},e.prototype.updateStateWithError=function(t){var n=this.state,r=me(me({},n),{playbackState:"error",errorMessage:t});this.updateState(r)},e.prototype.updatePlaybackState=function(t,n){var r=me(me({},this.state),{playbackState:t,lastEvent:n,position:n.last_position});this.updateState(r)},e.prototype.updateTime=function(t){var n,r,i=this.state.lastEvent;if(!(!i||this.state.playbackState!=="playing")){var o=t.isSeeking||this.state.isSeeking,a=(n=this.state.position)!==null&&n!==void 0?n:0,s=t.position;if(o){this.state=me(me({},this.state),{position:s});return}var l=s-a,u=me(me({},this.state),{position:s,watchTime:((r=this.state.watchTime)!==null&&r!==void 0?r:0)+l});this.updateState(u)}},e.prototype.updateState=function(t){var n=this.state;this.state=t,this.stateChangeHandler(n,t)},e.prototype.destroy=function(){this.untrack()},e})();function hle(){var e,t,n=Ft();return typeof((t=(e=n?.chrome)===null||e===void 0?void 0:e.runtime)===null||t===void 0?void 0:t.id)=="string"}function gle(){var e,t=Ft();return((e=t?.navigator)===null||e===void 0?void 0:e.product)==="ReactNative"}function Rz(e,t,n){var r,i,o=[];try{for(var a=yt(t??[]),s=a.next();!s.done;s=a.next()){var l=s.value;try{o.push(new RegExp(l))}catch(u){n.warn("Invalid regex pattern: ".concat(l),u)}}}catch(u){r={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return e.concat(o)}function vle(e,t){var n,r,i,o,a;if(!(typeof e!="object"||e===null||!(!((i=e.captureRules)===null||i===void 0)&&i.length))){var s=me({},e),l=(o=s.captureRules)!==null&&o!==void 0?o:[];try{for(var u=yt(l),c=u.next();!c.done;c=u.next()){var f=c.value;f.urls=Rz((a=f.urls)!==null&&a!==void 0?a:[],f.urlsRegex,t),delete f.urlsRegex}}catch(p){n={error:p}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return s}}function xz(e){var t,n,r,i,o,a,s,l,u,c,f,p;if(!(typeof e!="object"||e===null)&&!Array.isArray(e)){var v=Object.keys(e);try{for(var g=yt(v),y=g.next();!y.done;y=g.next()){var k=y.value;try{var E=e[k];typeof E?.enabled=="boolean"&&(E.enabled?(delete E.enabled,Object.keys(E).length===0&&(e[k]=!0)):e[k]=!1),xz(E)}catch{}}}catch(j){t={error:j}}finally{try{y&&!y.done&&(n=g.return)&&n.call(g)}finally{if(t)throw t.error}}
6try{if(!((u=(l=(s=e.autocapture)===null||s===void 0?void 0:s.networkTracking)===null||l===void 0?void 0:l.captureRules)===null||u===void 0)&&u.length)try{for(var S=yt(e.autocapture.networkTracking.captureRules),T=S.next();!T.done;T=S.next()){var I=T.value;try{for(var A=(o=void 0,yt(["responseHeaders","requestHeaders"])),w=A.next();!w.done;w=A.next()){var R=w.value,x=(c=I[R])!==null&&c!==void 0?c:{},D=x.captureSafeHeaders,M=x.allowlist;if(!(!D&&!M)){if(M!==void 0&&!Array.isArray(M)){delete I[R];continue}I[R]=$t($t([],Tt(D?HS:[]),!1),Tt(M??[]),!1)}}}catch(j){o={error:j}}finally{try{w&&!w.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}}}catch(j){r={error:j}}finally{try{T&&!T.done&&(i=S.return)&&i.call(S)}finally{if(r)throw r.error}}}catch{}var F=(f=e.autocapture)===null||f===void 0?void 0:f.frustrationInteractions;F&&(F.rageClick&&(F.rageClicks=F.rageClick,delete F.rageClick),F.deadClick&&(F.deadClicks=F.deadClick,delete F.deadClick));try{var L=(p=e.autocapture)===null||p===void 0?void 0:p.elementInteractions;if(L&&typeof L=="object"&&(L.viewportContentUpdated===!0&&(L.viewportContentUpdated={}),L.viewportContentUpdated===!1&&(L.viewportContentUpdated={enabled:!1}),L.exposureDuration!==void 0)){var P=L.viewportContentUpdated;P===void 0?L.viewportContentUpdated={exposureDuration:L.exposureDuration}:typeof P=="object"&&P.exposureDuration===void 0&&P.enabled!==!1&&(P.exposureDuration=L.exposureDuration),delete L.exposureDuration}}catch{}}}var wh=function(e,t){return typeof e=="boolean"?e:e?.[t]===!1?!1:hle()?!!e?.[t]:!0},px=function(e){return wh(e,"attribution")},yle=function(e){return wh(e,"fileDownloads")},Lz=function(e){return wh(e,"formInteractions")},Oz=function(e){return wh(e,"pageViews")},L3=function(e){return wh(e,"sessions")},kle=function(e){return wh(e,"pageUrlEnrichment")},Pz=function(e){return typeof e=="boolean"?e:typeof e=="object"&&(e.networkTracking===!0||typeof e.networkTracking=="object")},_z=function(e){return typeof e=="boolean"?e:typeof e=="object"&&(e.elementInteractions===!0||typeof e.elementInteractions=="object")},ble=function(e){return typeof e=="boolean"?e:typeof e=="object"&&e.webVitals===!0},Dz=function(e){return typeof e=="boolean"?e:typeof e=="object"&&(e.frustrationInteractions===!0||typeof e.frustrationInteractions=="object")},Sle=function(e){return typeof e=="object"&&(e.performanceTracking===!0||typeof e.performanceTracking=="object")},Ele=function(e){if(typeof e.autocapture=="object"){var t=e.autocapture.performanceTracking;if(t===!0)return{mainThreadBlock:!0};if(typeof t=="object"&&t!==null)return t}},Tle=function(e){return typeof e=="boolean"?e:typeof e=="object"&&e!==null&&e.enabled!==!1},Cle=function(e){if(_z(e.autocapture)&&typeof e.autocapture=="object"&&typeof e.autocapture.elementInteractions=="object")return e.autocapture.elementInteractions},Ale=function(e){if(Dz(e.autocapture)&&typeof e.autocapture=="object"&&typeof e.autocapture.frustrationInteractions=="object")return e.autocapture.frustrationInteractions},Ile=function(e){if(Pz(e.autocapture)){var t=void 0;return typeof e.autocapture=="object"&&typeof e.autocapture.networkTracking=="object"?t=e.autocapture.networkTracking:e.networkTrackingOptions&&(t=e.networkTrackingOptions),me(me({},t),{captureRules:$se(t?.captureRules,e.loggerProvider)})}},O3=function(e){var t=function(){return!1},n=void 0,r,i=e.pageCounter,o=Oz(e.defaultTracking);return o&&(t=void 0,r=void 0,e.defaultTracking&&typeof e.defaultTracking=="object"&&e.defaultTracking.pageViews&&typeof e.defaultTracking.pageViews=="object"&&("trackOn"in e.defaultTracking.pageViews&&(t=e.defaultTracking.pageViews.trackOn),"trackHistoryChanges"in e.defaultTracking.pageViews&&(n=e.defaultTracking.pageViews.trackHistoryChanges),"eventType"in e.defaultTracking.pageViews&&e.defaultTracking.pageViews.eventType&&(r=e.defaultTracking.pageViews.eventType))),{trackOn:t,trackHistoryChanges:n,eventType:r,pageCounter:i}},wle=function(e){return px(e.defaultTracking)&&e.defaultTracking&&typeof e.defaultTracking=="object"&&e.defaultTracking.attribution&&typeof e.defaultTracking.attribution=="object"?me({},e.defaultTracking.attribution):{}},Nle=function(e){if(Lz(e.defaultTracking)&&e.defaultTracking&&typeof e.defaultTracking=="object"&&typeof e.defaultTracking.formInteractions=="object")return e.defaultTracking.formInteractions},Rle=function(e,t){Z0(e,t)},Z0=function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.name,o=r.args,a=r.resolve,s=e&&e[i];if(typeof s=="function"){var l=s.apply(e,o);typeof a=="function"&&a(l?.promise)}}return e},Cw=function(e){var t=e;return t&&t._q!==void 0},xle=function(e){var t,n;return typeof((n=(t=e.chrome)===null||t===void 0?void 0:t.runtime)===null||n===void 0?void 0:n.id)=="string"},Lle=function(e){var t=e.ServiceWorkerGlobalScope;return typeof t=="function"&&e instanceof t},Ole=function(e){var t=e.WorkerGlobalScope;return typeof t=="function"&&e instanceof t},Ple=function(e){return typeof e.document<"u"},_le=function(e){var t,n;
6return typeof((n=(t=e.process)===null||t===void 0?void 0:t.versions)===null||n===void 0?void 0:n.node)=="string"};function Dle(){var e=Ft();if(!e)return"unknown";var t=xle(e);return Lle(e)?t?"chrome_extension_service_worker":"service_worker":Ole(e)?"web_worker":Ple(e)?t?"chrome_extension":"browser":_le(e)?"node":"unknown"}var qO="2.45.8",Mz="amplitude-ts",Fz="Web",Mle="$remote",Fle=(function(){function e(){this.name="@amplitude/plugin-context-browser",this.type="before",this.library="".concat(Mz,"/").concat(qO),typeof navigator<"u"&&(this.userAgent=navigator.userAgent)}return e.prototype.setup=function(t){return this.config=t,Promise.resolve(void 0)},e.prototype.execute=function(t){var n,r;return we(this,void 0,void 0,function(){var i,o,a,s;return Ie(this,function(l){return i=new Date().getTime(),o=(n=this.config.lastEventId)!==null&&n!==void 0?n:-1,a=(r=t.event_id)!==null&&r!==void 0?r:o+1,this.config.lastEventId=a,t.time||(this.config.lastEventTime=i),s=me(me(me(me(me(me(me(me({user_id:this.config.userId,device_id:this.config.deviceId,session_id:this.config.sessionId,time:i},this.config.appVersion&&{app_version:this.config.appVersion}),this.config.trackingOptions.platform&&{platform:Fz}),this.config.trackingOptions.language&&{language:rse()}),this.config.trackingOptions.ipAddress&&{ip:Mle}),{insert_id:Gs(),partner_id:this.config.partnerId,plan:this.config.plan}),this.config.ingestionMetadata&&{ingestion_metadata:{source_name:this.config.ingestionMetadata.sourceName,source_version:this.config.ingestionMetadata.sourceVersion}}),t),{event_id:a,library:this.library,user_agent:this.userAgent}),[2,s]})})},e})(),Rb=1e3,Uz=(function(e){tl(t,e);function t(n){var r=this,i,o,a;try{a=(i=Ft())===null||i===void 0?void 0:i.localStorage}catch(s){(o=n?.loggerProvider)===null||o===void 0||o.debug("Failed to access localStorage. error=".concat(JSON.stringify(s))),a=void 0}return r=e.call(this,a)||this,r.loggerProvider=n?.loggerProvider,r}return t.prototype.set=function(n,r){var i;return we(this,void 0,void 0,function(){var o;return Ie(this,function(a){switch(a.label){case 0:return Array.isArray(r)&&r.length>Rb?(o=r.length-Rb,[4,e.prototype.set.call(this,n,r.slice(0,Rb))]):[3,2];case 1:return a.sent(),(i=this.loggerProvider)===null||i===void 0||i.error("Failed to save ".concat(o," events because the queue length exceeded ").concat(Rb,".")),[3,4];case 2:return[4,e.prototype.set.call(this,n,r)];case 3:a.sent(),a.label=4;case 4:return[2]}})})},t})(DT),Ule=(function(e){tl(t,e);function t(){var n;return e.call(this,(n=Ft())===null||n===void 0?void 0:n.sessionStorage)||this}return t})(DT),Vle=(function(e){tl(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.state={done:4},r.customHeaders=n,r}return t.prototype.send=function(n,r,i){return i===void 0&&(i=!1),we(this,void 0,void 0,function(){var o=this;return Ie(this,function(a){return[2,new Promise(function(s,l){typeof XMLHttpRequest>"u"&&l(new Error("XHRTransport is not supported."));var u=new XMLHttpRequest;u.open("POST",n,!0),u.onreadystatechange=function(){if(u.readyState===o.state.done){var y=u.responseText;try{s(o.buildResponse(JSON.parse(y)))}catch{s(o.buildResponse({code:u.status}))}}};var c={"Content-Type":"application/json",Accept:"*/*"},f=JSON.stringify(r),p=i&&f.length>=uz&&cz(),v=function(y){var k,E;c=me(me({},o.customHeaders),c);try{for(var S=yt(Object.entries(c)),T=S.next();!T.done;T=S.next()){var I=Tt(T.value,2),A=I[0],w=I[1];u.setRequestHeader(A,w)}}catch(R){k={error:R}}finally{try{T&&!T.done&&(E=S.return)&&E.call(S)}finally{if(k)throw k.error}}u.send(y)},g=function(){return we(o,void 0,void 0,function(){var y;return Ie(this,function(k){switch(k.label){case 0:return p?[4,dz(f)]:[3,2];case 1:return y=k.sent(),y?(c["Content-Encoding"]="gzip",v(y)):v(f),[3,3];case 2:v(f),k.label=3;case 3:return[2]}})})};g().catch(l)})]})})},t})(Py),Ble=16*1024,jle=(function(e){tl(t,e);function t(n,r,i){n===void 0&&(n={});var o=e.call(this)||this;return o.customHeaders=n,o.enableKeepalive=r!==!1,o.referrerPolicy=i,o}return t.prototype.send=function(n,r,i){return i===void 0&&(i=!1),we(this,void 0,void 0,function(){var o,a,s,l,u,c,f,p,v;return Ie(this,function(g){switch(g.label){case 0:if(typeof fetch>"u")throw new Error("FetchTransport is not supported");return o=JSON.stringify(r),a=i&&o.length>=uz&&cz(),s=o,l={"Content-Type":"application/json",Accept:"*/*"},a?[4,dz(o)]:[3,2];case 1:u=g.sent(),u&&(l["Content-Encoding"]="gzip",s=u),g.label=2;case 2:return l=me(me({},this.customHeaders),l),c=typeof s=="string"?s.length:s.byteLength,f={headers:l,body:s,method:"POST",keepalive:this.enableKeepalive&&c<=Ble},this.referrerPolicy&&(f.referrerPolicy=this.referrerPolicy),[4,fetch(n,f)];case 3:return p=g.sent(),[4,p.text()];case 4:v=g.sent();try{return[2,this.buildResponse(JSON.parse(v))]}catch{return[2,this.buildResponse({code:p.status})]}return[2]}})})},t})(Py),zle=(function(e){tl(t,e);function t(){return e.call(this)||this}return t.prototype.send=function(n,r,i){return we(this,void 0,void 0,function(){var o=this;return Ie(this,function(a){return[2,new Promise(function(s,l){var u=Ft();if(!u?.navigator.sendBeacon)throw new Error("SendBeaconTransport is not supported");try{var c=JSON.stringify(r),f=u.navigator.sendBeacon(n,c);return s(f?o.buildResponse({code:200,events_ingested:r.events.length,payload_size_bytes:c.length,server_upload_time:Date.now()}):o.buildResponse({code:500}))}catch(p){l(p)}})]})})},t})(Py),Hle=function(e,t,n){return n===void 0&&(n=!0),we(void 0,void 0,void 0,function(){var r,i,o,a,s,l,u,c,f;return Ie(this,function(p){switch(p.label){case 0:return r=nse(e),[4,t.getRaw(r)];case 1:return i=p.sent(),i?n?[4,t.remove(r)]:[3,3]:[2,{optOut:!1}];case 2:p.sent(),p.label=3;
6case 3:return o=Tt(i.split("."),6),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4],f=o[5],[2,{deviceId:a,userId:Wle(s),sessionId:Aw(u),lastEventId:Aw(f),lastEventTime:Aw(c),optOut:!!l}]}})})},Aw=function(e){var t=parseInt(e,32);if(!isNaN(t))return t},Wle=function(e){if(!(!atob||!escape||!e))try{return decodeURIComponent(escape(atob(e)))}catch{return}},nl="[Amplitude]",P3="".concat(nl," Form Started"),qle="".concat(nl," Form Submitted"),Gle="".concat(nl," File Downloaded"),_3="session_start",D3="session_end",Kle="".concat(nl," File Extension"),Yle="".concat(nl," File Name"),$le="".concat(nl," Link ID"),Jle="".concat(nl," Link Text"),Zle="".concat(nl," Link URL"),Iw="".concat(nl," Form ID"),ww="".concat(nl," Form Name"),Nw="".concat(nl," Form Destination"),YS="cookie",Vz="US";const Qle=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_ACTION_CLICK_ALLOWLIST:hz,DEFAULT_CSS_SELECTOR_ALLOWLIST:mz,DEFAULT_DATA_ATTRIBUTE_PREFIX:VO,EXCLUDE_INTERNAL_REFERRERS_CONDITIONS:J0,get IdentifyOperation(){return Iu},get LogLevel(){return Io},OfflineDisabled:pz,get RevenueProperty(){return Hs},get ServerZone(){return GS},get SpecialEventType(){return Ro}},Symbol.toStringTag,{value:"Module"}));var M3=function(e){var t=e.split(".");return t.length<=2?e:t.slice(t.length-2,t.length).join(".")},Xle=function(e){return Object.values(e).every(function(t){return!t})},eue=function(e){var t=me(me({},e),{referring_domain:void 0,referrer:void 0});return Object.values(t).every(function(n){return!n})},tue=function(e,t,n,r,i,o){i===void 0&&(i=!0),e.referrer;var a=e.referring_domain,s=Nu(e,["referrer","referring_domain"]),l=t||{};l.referrer;var u=l.referring_domain,c=Nu(l,["referrer","referring_domain"]),f=n.excludeInternalReferrers;if(f){var p=aue(f,r);if(!(p instanceof TypeError)&&e.referring_domain&&sue(e.referring_domain,o)){if(p==="always")return F3(p,e.referring_domain,r),!1;if(p==="ifEmptyCampaign"&&eue(e))return F3(p,e.referring_domain,r),!1}}if(nue(n.excludeReferrers,e.referring_domain))return r.debug("This is not a new campaign because ".concat(e.referring_domain," is in the exclude referrer list.")),!1;if(!i&&Xle(e)&&t)return r.debug("This is not a new campaign because this is a direct traffic in the same session."),!1;var v=JSON.stringify(s)!==JSON.stringify(c),g=M3(a||"")!==M3(u||""),y=!t||v||g;return y?r.debug("This is a new campaign. An $identify event will be sent."):r.debug("This is not a new campaign because it's the same as the previous one."),y},nue=function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=""),e.some(function(n){return n instanceof RegExp?n.test(t):n===t})},rue=function(e,t){var n=t.startsWith(".")?t:".".concat(t),r=e.startsWith(".")?e:".".concat(e);return!!r.endsWith(n)},iue=function(e,t){var n=me(me({},_T),e),r=Object.entries(n).reduce(function(i,o){var a,s=Tt(o,2),l=s[0],u=s[1];return i.setOnce("initial_".concat(l),(a=u??t.initialEmptyValue)!==null&&a!==void 0?a:"EMPTY"),u?i.set(l,u):i.unset(l)},new Rm);return MO(r)},oue=function(e){var t=e;return t?(t.startsWith(".")&&(t=t.substring(1)),[new RegExp("".concat(t.replace(".","\\."),"$"))]):[]},aue=function(e,t){if(e===!0)return J0.always;if(typeof e=="object"){var n=e.condition;if(typeof n=="string"&&Object.keys(J0).includes(n))return n;if(typeof n>"u")return J0.always}var r="Invalid configuration provided for attribution.excludeInternalReferrers: ".concat(JSON.stringify(e));return t.error(r),new TypeError(r)};function F3(e,t,n){var r="This is not a new campaign because referring_domain=".concat(t," is on the same domain as the current page and it is configured to exclude internal referrers");e==="always"?n.debug(r):e==="ifEmptyCampaign"&&n.debug("".concat(r," with empty campaign parameters"))}var Bz=["ac.in","ac.jp","ac.kr","ac.th","ac.uk","ac.za","appspot.com","asn.au","azurewebsites.net","cloudfront.net","myshopify.com","blogspot.com","co.ca","co.in","co.jp","co.kr","co.nz","co.th","co.uk","co.za","com.ar","com.au","com.br","com.cn","com.hk","com.in","com.jp","com.kr","com.mx","com.pl","com.sg","com.tr","com.tw","ed.jp","edu.au","edu.br","edu.cn","edu.hk","edu.sg","edu.th","edu.tr","edu.tw","firebaseapp.com","fly.dev","gc.ca","geek.nz","github.io","gitlab.io","go.jp","go.kr","go.th","gob.ar","gob.mx","gov.au","gov.br","gov.cn","gov.hk","gov.in","gov.pl","gov.sg","gov.tr","gov.tw","gov.uk","gov.za","govt.nz","gr.jp","herokuapp.com","id.au","idv.hk","iwi.nz","lg.jp","ltd.uk","maori.nz","me.uk","mil.kr","ne.jp","ne.kr","net.au","net.br","net.cn","net.hk","net.in","net.nz","net.pl","net.sg","net.tr","net.tw","net.za","onrender.com","or.jp","or.kr","or.th","org.ar","org.au","org.br","org.cn","org.hk","org.in","org.mx","org.nz","org.pl","org.sg","org.tw","org.uk","org.za","pages.dev","pe.kr","plc.uk","re.kr","res.in","sch.uk","vercel.app","netlify.app","workers.dev"],jz=function(e){var t,n,r=e||((n=(t=Ft())===null||t===void 0?void 0:t.location)===null||n===void 0?void 0:n.hostname);if(!r)return"";var i=r.split("."),o=i[i.length-1],a=i[i.length-2];return Bz.find(function(s){return r.endsWith(".".concat(s))})&&(o=i[i.length-2]+"."+i[i.length-1],a=i[i.length-3]),a?"".concat(a,".").concat(o):o},sue=function(e,t){var n=Ft();if(!n)return!1;var r=(t||"").trim()||jz(n.location.hostname);return rue(e,r)},lue=(function(e){tl(t,e);function t(n,r,i,o,a,s,l,u,c,f,p,v,g,y,k,E,S,T,I,A,w,R,x,D,M,F,L,P,j,B,H,G,O,V,W,U,q,$,J,Z,Y,ee,te,ce){i===void 0&&(i=new UO),o===void 0&&(o={domain:"",expiration:365,sameSite:"Lax",secure:!1,upgrade:!0}),u===void 0&&(u=1e3),c===void 0&&(c=5),f===void 0&&(f=30),p===void 0&&(p=YS),E===void 0&&(E=new $m),S===void 0&&(S=Io.Warn),I===void 0&&(I=!1),A===void 0&&(A=!1),x===void 0&&(x=""),D===void 0&&(D=Vz),L===void 0&&(L=1800*1e3),P===void 0&&(P=new Uz({loggerProvider:E})),j===void 0&&(j={ipAddress:!0,language:!0,platform:!0}),B===void 0&&(B="fetch"),H===void 0&&(H=!1),G===void 0&&(G=!0),$===void 0&&($=!0),J===void 0&&(J=0),te===void 0&&(te=!1);var ne=this,Ce;ne=e.call(this,{apiKey:n,storageProvider:P,transportProvider:zz(B)})||this,ne.apiKey=n,ne.appVersion=r,ne.cookieOptions=o,ne.defaultTracking=a,ne.autocapture=s,ne.flushIntervalMillis=u,ne.flushMaxRetries=c,ne.flushQueueSize=f,ne.identityStorage=p,ne.ingestionMetadata=v,ne.instanceName=g,ne.loggerProvider=E,ne.logLevel=S,ne.minIdLength=T,ne.offline=I,ne.partnerId=w,ne.plan=R,ne.serverUrl=x,ne.serverZone=D,ne.sessionTimeout=L,ne.storageProvider=P,ne.trackingOptions=j,ne.transport=B,ne.useBatch=H,ne.fetchRemoteConfig=G,ne.networkTrackingOptions=U,ne.identify=q,ne.enableDiagnostics=$,ne.diagnosticsSampleRate=J,ne.diagnosticsClient=Z,ne.remoteConfig=Y,ne.topLevelDomain=ee,ne.enableRequestBodyCompression=te,ne.customEnrichment=ce,ne.version=qO,ne._optOut=!1,ne._
6cookieStorage=i,ne.deviceId=l,ne.lastEventId=y,ne.lastEventTime=k,ne.optOut=A,ne.deferredSessionId=F,ne.sessionId=M,ne.pageCounter=V,ne.userId=O,ne.debugLogsEnabled=W,ne.loggerProvider.enable(W?Io.Debug:ne.logLevel),ne.networkTrackingOptions=U,ne.identify=q,ne.enableDiagnostics=$,ne.diagnosticsSampleRate=J,ne.diagnosticsClient=Z;var ae=(Ce=Y?.fetchRemoteConfig)!==null&&Ce!==void 0?Ce:G;return ne.remoteConfig=ne.remoteConfig||{},ne.remoteConfig.fetchRemoteConfig=ae,ne.fetchRemoteConfig=ae,ne.topLevelDomain=ee||jz(),ne}return Object.defineProperty(t.prototype,"cookieStorage",{get:function(){return this._cookieStorage},set:function(n){this._cookieStorage!==n&&(this._cookieStorage=n,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceId",{get:function(){return this._deviceId},set:function(n){this._deviceId!==n&&(this._deviceId=n,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"userId",{get:function(){return this._userId},set:function(n){this._userId!==n&&(this._userId=n,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sessionId",{get:function(){return this._sessionId},set:function(n){this._sessionId!==n&&(this._sessionId=n,n!==void 0&&this._deferredSessionId!==void 0&&(this._deferredSessionId=void 0),this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deferredSessionId",{get:function(){return this._deferredSessionId},set:function(n){this._deferredSessionId!==n&&n!==this.sessionId&&(this._deferredSessionId=n,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"optOut",{get:function(){return this._optOut},set:function(n){this._optOut!==n&&(this._optOut=n,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastEventTime",{get:function(){return this._lastEventTime},set:function(n){this._lastEventTime!==n&&(this._lastEventTime=n,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastEventId",{get:function(){return this._lastEventId},set:function(n){this._lastEventId!==n&&(this._lastEventId=n,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageCounter",{get:function(){return this._pageCounter},set:function(n){this._pageCounter!==n&&(this._pageCounter=n,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"debugLogsEnabled",{set:function(n){this._debugLogsEnabled!==n&&(this._debugLogsEnabled=n,this.updateStorage())},enumerable:!1,configurable:!0}),t.prototype.updateStorage=function(){var n={deviceId:this._deviceId,userId:this._userId,sessionId:this._sessionId,deferredSessionId:this._deferredSessionId,optOut:this._optOut,lastEventTime:this._lastEventTime,lastEventId:this._lastEventId,pageCounter:this._pageCounter,debugLogsEnabled:this._debugLogsEnabled,cookieDomain:void 0};this.cookieStorage instanceof qS&&(n.cookieDomain=this.cookieStorage.options.domain),this.cookieStorage.set(oz(this.apiKey),n)},t})(nz),uue=function(e,t,n,r,i){return t===void 0&&(t={}),we(void 0,void 0,void 0,function(){var o,a,s,l,u,c,f,p,v,g,y,k,E,S,T,I,A,w,R,x,D,M,F,L,P,j,B,H,G,O,V,W,U,q,$,J,Z,Y,ee,te,ce,ne,Ce,ae,pe,ve,Se,De,Ee,ye,Pe;return Ie(this,function(Me){switch(Me.label){case 0:return o=t.identityStorage||YS,a="",o===YS&&!(!((M=t.cookieOptions)===null||M===void 0)&&M.domain)&&((F=t.cookieOptions)===null||F===void 0?void 0:F.domain)!==""?[4,fue(void 0,r)]:[3,2];case 1:a=Me.sent(),Me.label=2;case 2:return s=me({domain:(P=(L=t.cookieOptions)===null||L===void 0?void 0:L.domain)!==null&&P!==void 0?P:a,expiration:365,sameSite:"Lax",secure:!1,upgrade:!0},t.cookieOptions),l={duplicateResolverFn:function(Qe){var Fe=sz(Qe);if(!Fe)return!1;var Ve=JSON.parse(Fe);return lz(Ve.cookieDomain,s.domain)},diagnosticsClient:r},u=cue(t.identityStorage,s,l),[4,Hle(e,u,(B=(j=t.cookieOptions)===null||j===void 0?void 0:j.upgrade)!==null&&B!==void 0?B:!0)];case 3:return c=Me.sent(),[4,u.get(oz(e))];case 4:return f=Me.sent(),p=WS(),v=p.ampTimestamp?Number(p.ampTimestamp):void 0,g=v?Date.now()<v:!0,y=(W=(V=(O=(H=t.deviceId)!==null&&H!==void 0?H:g?(G=p.ampDeviceId)!==null&&G!==void 0?G:p.deviceId:void 0)!==null&&O!==void 0?O:f?.deviceId)!==null&&V!==void 0?V:c.deviceId)!==null&&W!==void 0?W:Gs(),k=(U=f?.lastEventId)!==null&&U!==void 0?U:c.lastEventId,E=(q=f?.lastEventTime)!==null&&q!==void 0?q:c.lastEventTime,S=(J=($=t.optOut)!==null&&$!==void 0?$:f?.optOut)!==null&&J!==void 0?J:c.optOut,T=(Z=f?.sessionId)!==null&&Z!==void 0?Z:c.sessionId,I=f?.deferredSessionId,A=(ee=(Y=t.userId)!==null&&Y!==void 0?Y:f?.userId)!==null&&ee!==void 0?ee:c.userId,n.previousSessionDeviceId=(te=f?.deviceId)!==null&&te!==void 0?te:c.deviceId,n.previousSessionUserId=(ce=f?.userId)!==null&&ce!==void 0?ce:c.userId,w={ipAddress:(Ce=(ne=t.trackingOptions)===null||ne===void 0?void 0:ne.ipAddress)!==null&&Ce!==void 0?Ce:!0,language:(pe=(ae=t.trackingOptions)===null||ae===void 0?void 0:ae.language)!==null&&pe!==void 0?pe:!0,platform:(Se=(ve=t.trackingOptions)===null||ve===void 0?void 0:ve.platform)!==null&&Se!==void 0?Se:!0},R=f?.pageCounter,x=f?.debugLogsEnabled,t.autocapture!==void 0&&(t.defaultTracking=t.autocapture),D=new lue(e,t.appVersion,u,s,t.defaultTracking,t.autocapture,y,t.flushIntervalMillis,t.flushMaxRetries,t.flushQueueSize,o,t.ingestionMetadata,t.instanceName,k,E,(De=i?.loggerProvider)!==null&&De!==void 0?De:t.loggerProvider,t.logLevel,t.minIdLength,t.offline,S,t.partnerId,t.plan,t.serverUrl,(Ee=i?.serverZone)!==null&&Ee!==void 0?Ee:t.serverZone,T,I,t.sessionTimeout,t.storageProvider,w,t.transport,t.useBatch,t.fetchRemoteConfig,A,R,x,t.networkTrackingOptions,t.identify,(ye=i?.enableDiagnostics)!==null&&ye!==void 0?ye:t.enableDiagnostics,(Pe=i?.diagnosticsSampleRate)!==null&&Pe!==void 0?Pe:n._diagnosticsSampleRate,r,t.remoteConfig,a,t.enableRequestBodyCompression,t.customEnrichment),[4,D.storageProvider.isEnabled()];case 5:return Me.sent()||(D.loggerProvider.warn("Storage provider ".concat(D.storageProvider.constructor.name," is not enabled. Falling back to MemoryStorage.")),D.storageProvider=new UO),[2,D]}})})},cue=function(e,t,n){switch(e===void 0&&(e=YS),t===void 0&&(t={}),e){case"localStorage":return new Uz;case"sessionStorage":return new Ule;case"none":return new UO;default:return new qS(me(me({},t),{expirationDays:t.expiration}),n)}},due=function(e){var t,n;return e===void 0&&(e={}),((t=e.remoteConfig)===null||t===void 0?void 0:t.fetchRemoteConfig)===!0?!0:!(((n=e.remoteConfig)===null||n===void 0?void 0:n.fetchRemoteConfig)===!1||e.fetchRemoteConfig===!1)},zz=function(e){var t=typeof e=="object"?e.type:e,n=typeof e=="object"?e.headers:void 0,r=typeof e=="object"?e.enableKeepalive:void 0,i=typeof e=="object"?e.referrerPolicy:void 0;return t==="xhr"?new Vle(n):t==="beacon"?new zle:new jle(n,r,i)},fue=function(e,t){return we(void 0,void 0,void 0,function(){var n,r,i,o,a,a,s,l,u;return Ie(this,function(c){switch(c.label){case 0:return[4,new qS(void 0,{diagnosticsClient:t}).isEnabled()];case 1:if(!c.sent()||typeof location>"u"||!location.hostname)return[2,""];if(n=location.hostname,r=n.split("."),r.length===1)return[2,""];for(i=[],o=1,Bz.find(function(f){return n.endsWith(".".concat(f))})&&(o=2),a=r.length-o-1;a>=0;--a)i.push(r.slice(a).join("."));a=0,c.label=2;case 2:if(!(a<i.length))return[3,7];s=i[a],c.label=3;case 3:return c.trys.push([3,5,,6]),[4,qS.isDomainWritable(s)];case 4:return l=c.sent(),l?[2,"."+s]:[3,6];case 5:return u=c.sent(),t&&t.recordEvent("cookies.tld.failure",{reason:"Unexpected exception checking domain is writable: ".concat(s),error:u instanceof Error?u.message:String(u)}),[3,6];case 6:return a++,[3,2];case 7:return t&&t.recordEvent("cookies.tld.failure",{reason:"Could not determine TLD for host ".concat(n)}),[2,""]}})})},pue="[Amplitude] Page Viewed",Rw="AMP_PAGE_VIEW",U3=function(e){e===void 0&&(e={});var t,n=Ft(),r=void 0,i=!1,o,a,s=e.trackOn,l=e.trackHistoryChanges,u=e.eventType,c=u===void 0?pue:u,f=function(S){var T=S;try{T=decodeURI(S)}catch(I){r?.error("Malformed URI sequence: ",I)}return T},p=function(S){return we(void 0,void 0,void 0,function(){var T,I,A;return Ie(this,function(w){switch(w.label){case 0:return T=f(typeof location<"u"&&location.href||""),A={event_type:c},I=[{}],[4,mue()];case 1:return[2,(A.event_properties=me.apply(void 0,[me.apply(void 0,I.concat([w.sent()])),{"[Amplitude] Page Domain":typeof location<"u"&&location.hostname||"","[Amplitude] Page Location":T,"[Amplitude] Page Path":typeof location<"u"&&f(location.pathname)||"","[Amplitude] Page Title":HO(zO),"[Amplitude] Page URL":T.split("?")[0],"[Amplitude] Page View ID":S}]),A)]}})})},v=function(){return typeof s>"u"||typeof s=="function"&&s()},g=typeof location<"u"?location.href:null,y=function(){return we(void 0,void 0,void 0,function(){var S,T,I,A,w;return Ie(this,function(R){switch(R.label){case 0:return S=location.href,T=gue(l,S,g||"")&&v(),g=S,T?(I=void 0,a&&(I=Gs(),a.set(Rw,{pageViewId:I})),r?.log("Tracking page view event"),t!=null?[3,1]:[3,3]):[3,4];case 1:return w=(A=t).track,[4,p(I)];case 2:w.apply(A,[R.sent()]),R.label=3;case 3:R.label=4;case 4:return[2]}})})},k=function(){y()},E={name:"@amplitude/plugin-page-view-tracking-browser",type:"enrichment",setup:function(S,T){return we(void 0,void 0,void 0,function(){var I,A,w;return Ie(this,function(R){switch(R.label){case 0:if(t=T,o=S,r=S.loggerProvider,r.log("Installing @amplitude/plugin-page-view-tracking-browser"),i=!0,n){try{a=new DT(n.sessionStorage)}catch{r?.debug("sessionStorage is not available in this environment.")}n.addEventListener("popstate",k),n.history.pushState=new Proxy(n.history.pushState,{apply:function(x,D,M){var F=Tt(M,3),L=F[0],P=F[1],j=F[2];x.apply(D,[L,P,j]),i&&k()}})}return v()?(r.log("Tracking page view event"),I=void 0,a&&(I=Gs(),a.set(Rw,{pageViewId:I})),w=(A=t).track,[4,p(I)]):[3,2];case 1:w.apply(A,[R.sent()]),R.label=2;case 2:return[2]}})})},execute:function(S){return we(void 0,void 0,void 0,function(){var T,I,A;return Ie(this,function(w){switch(w.label){case 0:return s==="attribution"&&hue(S)?(r?.log("Enriching c
6ampaign event to page view event with campaign parameters"),T=void 0,a?[4,a.get(Rw)]:[3,2]):[3,4];case 1:I=w.sent(),T=I?.pageViewId,w.label=2;case 2:return[4,p(T)];case 3:A=w.sent(),S.event_type=A.event_type,S.event_properties=me(me({},S.event_properties),A.event_properties),w.label=4;case 4:return o&&S.event_type===c&&(o.pageCounter=o.pageCounter?o.pageCounter+1:1,S.event_properties=me(me({},S.event_properties),{"[Amplitude] Page Counter":o.pageCounter})),[2,S]}})})},teardown:function(){return we(void 0,void 0,void 0,function(){return Ie(this,function(S){return n&&(n.removeEventListener("popstate",k),i=!1),[2]})})}};return E},mue=function(){return we(void 0,void 0,void 0,function(){var e;return Ie(this,function(t){switch(t.label){case 0:return e=az,[4,new jO().parse()];case 1:return[2,e.apply(void 0,[t.sent()])]}})})},hue=function(e){if(e.event_type==="$identify"&&e.user_properties){var t=e.user_properties,n=t[Iu.SET]||{},r=t[Iu.UNSET]||{},i=$t($t([],Tt(Object.keys(n)),!1),Tt(Object.keys(r)),!1);return Object.keys(_T).every(function(o){return i.includes(o)})}return!1},gue=function(e,t,n){switch(e){case"pathOnly":{if(n=="")return!0;var r=new URL(t),i=new URL(n),o=r.origin+r.pathname,a=i.origin+i.pathname;return o!==a}default:return t!==n}},vue=function(){var e,t=[],n=function(c,f,p){c.addEventListener(f,p),t.push({element:c,type:f,handler:p})},r=function(){t.forEach(function(c){var f=c.element,p=c.type,v=c.handler;f?.removeEventListener(p,v)}),t=[]},i,o="@amplitude/plugin-form-interaction-tracking-browser",a="enrichment",s=function(c,f){return we(void 0,void 0,void 0,function(){var p,v;return Ie(this,function(g){return i=Nle(c),p=function(){if(!f){c.loggerProvider.warn("Form interaction tracking requires a later version of @amplitude/analytics-browser. Form interaction events are not tracked.");return}if(!(typeof document>"u")){var y=new WeakSet,k=function(S){if(!y.has(S)){y.add(S);var T=!1;n(S,"change",function(){var I,A=V3(S);T||f.track(P3,(I={},I[Iw]=Mp(S.id),I[ww]=Mp(S.name),I[Nw]=A,I)),T=!0}),n(S,"submit",function(I){var A,w,R=V3(S);if(T||f.track(P3,(A={},A[Iw]=Mp(S.id),A[ww]=Mp(S.name),A[Nw]=R,A)),T=!0,i?.shouldTrackSubmit!==void 0)if(typeof i.shouldTrackSubmit=="function"&&typeof SubmitEvent<"u"&&I instanceof SubmitEvent)try{var x=i.shouldTrackSubmit(I);if(!x)return}catch{c.loggerProvider.warn("shouldTrackSubmit callback threw an error, proceeding with tracking.")}else c.loggerProvider.warn("shouldTrackSubmit is ignored because it is not a function or event is not a SubmitEvent.");f.track(qle,(w={},w[Iw]=Mp(S.id),w[ww]=Mp(S.name),w[Nw]=R,w)),T=!1})}},E=Array.from(document.getElementsByTagName("form"));E.forEach(k),typeof MutationObserver<"u"&&(e=new MutationObserver(function(S){S.forEach(function(T){T.addedNodes.forEach(function(I){try{if(I.nodeName==="FORM"&&k(I),"querySelectorAll"in I&&typeof I.querySelectorAll=="function"){var A=I,w=A.querySelectorAll("form");w?.forEach(k)}}catch(R){c.loggerProvider.warn("Failed to track form interactions for an added node: ".concat(String(R)))}})})}),e.observe(document.body,{subtree:!0,childList:!0}))}},document.readyState==="complete"?p():(v=Ft(),v?v.addEventListener("load",p):c.loggerProvider.debug("Form interaction tracking is not installed because global is undefined.")),[2]})})},l=function(c){return we(void 0,void 0,void 0,function(){return Ie(this,function(f){return[2,c]})})},u=function(){return we(void 0,void 0,void 0,function(){return Ie(this,function(c){return e?.disconnect(),r(),[2]})})};return{name:o,type:a,setup:s,execute:l,teardown:u}},Mp=function(e){if(typeof e=="string")return e},V3=function(e){var t=e.getAttribute("action");try{t=new URL(encodeURI(t??""),window.location.href).href}catch{}return t},yue=function(){var e,t=[],n=function(u,c,f){u.addEventListener(c,f),t.push({element:u,type:c,handler:f})},r=function(){t.forEach(function(u){var c=u.element,f=u.type,p=u.handler;c?.removeEventListener(f,p)}),t=[]},i="@amplitude/plugin-file-download-tracking-browser",o="enrichment",a=function(u,c){return we(void 0,void 0,void 0,function(){var f,p;return Ie(this,function(v){return f=function(){if(!c){u.loggerProvider.warn("File download tracking requires a later version of @amplitude/analytics-browser. File download events are not tracked.");return}if(!(typeof document>"u")){var g=function(E){var S;try{S=new URL(E.href,window.location.href)}catch{return}var T=y.exec(S.href),I=T?.[1];I&&n(E,"click",function(){var A;I&&c.track(Gle,(A={},A[Kle]=I,A[Yle]=S.pathname,A[$le]=E.id,A[Jle]=E.text,A[Zle]=E.href,A))})},y=/\.(pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma)(\?.+)?$/,k=Array.from(document.getElementsByTagName("a"));
6k.forEach(g),typeof MutationObserver<"u"&&(e=new MutationObserver(function(E){E.forEach(function(S){S.addedNodes.forEach(function(T){try{if(T.nodeName==="A"&&g(T),"querySelectorAll"in T&&typeof T.querySelectorAll=="function"){var I=T,A=I.querySelectorAll("a");A?.forEach(g)}}catch(w){u.loggerProvider.warn("Failed to track file downloads for an added node: ".concat(String(w)))}})})}),e.observe(document.body,{subtree:!0,childList:!0}))}},document.readyState==="complete"?f():(p=Ft(),p?p.addEventListener("load",f):u.loggerProvider.debug("File download tracking is not installed because global is undefined.")),[2]})})},s=function(u){return we(void 0,void 0,void 0,function(){return Ie(this,function(c){return[2,u]})})},l=function(){return we(void 0,void 0,void 0,function(){return Ie(this,function(u){return e?.disconnect(),r(),[2]})})};return{name:i,type:o,setup:a,execute:s,teardown:l}},B3=!1,kue=function(e){if(!(B3||e.defaultTracking!==void 0)){var t=`\`options.defaultTracking\` is set to undefined. This implicitly configures your Amplitude instance to track Page Views, Sessions, File Downloads, and Form Interactions. You can suppress this warning by explicitly setting a value to \`options.defaultTracking\`. The value must either be a boolean, to enable and disable all default events, or an object, for advanced configuration. For example: 7 8amplitude.init(<YOUR_API_KEY>, { 9 defaultTracking: true, 10}); 11 12Visit https://www.docs.developers.amplitude.com/data/sdks/browser-2/#tracking-default-events for more details.`;e.loggerProvider.warn(t),B3=!0}},bue=function(){var e="@amplitude/plugin-network-checker-browser",t="before",n=Ft(),r=[],i=function(l,u){n?.addEventListener&&(n?.addEventListener(l,u),r.push({type:l,handler:u}))},o=function(){r.forEach(function(l){var u=l.type,c=l.handler;n?.removeEventListener(u,c)}),r=[]},a=function(l,u){return we(void 0,void 0,void 0,function(){return Ie(this,function(c){return typeof navigator>"u"?(l.loggerProvider.debug("Network connectivity checker plugin is disabled because navigator is not available."),l.offline=!1,[2]):(l.offline=!navigator.onLine,i("online",function(){l.offline!==!1&&(l.loggerProvider.debug("Network connectivity changed to online."),l.offline=!1,setTimeout(function(){u.flush()},l.flushIntervalMillis))}),i("offline",function(){l.loggerProvider.debug("Network connectivity changed to offline."),l.offline=!0}),[2])})})},s=function(){return we(void 0,void 0,void 0,function(){return Ie(this,function(l){return o(),[2]})})};return{name:e,type:t,setup:a,teardown:s}};function Sue(e,t){var n,r;if(e){xz(e);try{t.loggerProvider.debug("Update browser config with remote configuration:",cx(e));var i=e;if(i&&"autocapture"in i){if(typeof i.autocapture=="boolean"&&(t.autocapture=i.autocapture),typeof i.autocapture=="object"&&i.autocapture!==null){var o=me({},i.autocapture);if(t.autocapture===void 0&&(t.autocapture=i.autocapture),typeof i.autocapture.elementInteractions=="object"&&i.autocapture.elementInteractions!==null&&(!((n=i.autocapture.elementInteractions.pageUrlAllowlistRegex)===null||n===void 0)&&n.length)){o.elementInteractions=me({},i.autocapture.elementInteractions);var a=o.elementInteractions,s=(r=a.pageUrlAllowlist)!==null&&r!==void 0?r:[],l=i.autocapture.elementInteractions.pageUrlAllowlistRegex;a.pageUrlAllowlist=Rz(s,l,t.loggerProvider),delete a.pageUrlAllowlistRegex}var u=vle(i.autocapture.networkTracking,t.loggerProvider);u&&(o.networkTracking=u),typeof t.autocapture=="boolean"&&(t.autocapture=me({attribution:t.autocapture,fileDownloads:t.autocapture,formInteractions:t.autocapture,pageViews:t.autocapture,sessions:t.autocapture,elementInteractions:t.autocapture,webVitals:t.autocapture,frustrationInteractions:t.autocapture},o)),typeof t.autocapture=="object"&&(t.autocapture=me(me({},t.autocapture),o))}t.defaultTracking=t.autocapture}"customEnrichment"in i&&i.customEnrichment!==null&&t.customEnrichment!==!1&&(t.customEnrichment=i.customEnrichment),t.loggerProvider.debug("Browser config after remote config update:",cx(t))}catch(c){t.loggerProvider.error("Failed to apply remote configuration because of error: ",c)}}}var Hz="1.29.0",Eue="@amplitude/plugin-autocapture-browser",Tue="@amplitude/plugin-frustration-browser",Cue="@amplitude/plugin-performance-browser",Wz="[Amplitude] Element Clicked",Aue="[Amplitude] Dead Click",Iue="[Amplitude] Rage Click",wue="[Amplitude] Error Click",Nue="[Amplitude] Element Changed",Rue="[Amplitude] Thrashed Cursor",xue="[Amplitude] Main Thread Block",Lue="[Amplitude] Element ID",Oue="[Amplitude] Element Class",j3="[Amplitude] Element Tag",z3="[Amplitude] Element Text",Pue="[Amplitude] Element Hierarchy",_ue="[Amplitude] Element Href",Due="[Amplitude] Element Position Left",Mue="[Amplitude] Element Position Top",Fue="[Amplitude] Element Aria Label",Uue="[Amplitude] Element Attributes",Vue="[Amplitude] Element Path",Bue="[Amplitude] Element Parent Label",mx="[Amplitude] Page URL",jue="[Amplitude] Page Title",qz="[Amplitude] Viewport Height",Gz="[Amplitude] Viewport Width",zue="[Amplitude] Max Page X",Hue="[Amplitude] Max Page Y",Kz="[Amplitude] Page View ID",Wue="https://cdn.amplitude.com/libs/visual-tagging-selector-1.0.0-alpha.js.gz",que="amp-visual-tagging-selector-highlight",Yz="data-amp-mask-attributes",$z="data-amp-internal-shadow",Gue=25,Jz=128,Kue="AMP_PAGE_VIEW",Yue=18e3,$ue=150,Jue=4e3,Zue=50,Que=[/^:r[0-9a-z]+:$/,/^radix-/,/^headlessui-/,/^mui-/,/^[a-f0-9]{16,}$/i,/-\d{8,}$/,/\d{4,}/];function Xue(e,t){var n,r,i=[];try{for(var o=yt(e),a=o.next();!a.done;a=o.next()){var s=a.value;try{i.push(new RegExp(s))}catch(u){var l=u instanceof Error?u.message:String(u);t?.warn('@amplitude/element-selector: ignoring invalid autogenerated-id pattern "'.concat(s,'" (').concat(l,")"))}}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}function ece(e,t){var n,r;if(e==null||e==="")return!1;try{for(var i=yt(t),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.test(e))return!1}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!0}var tce=[/^(p|m|px|py|mx|my|pt|pb|pl|pr|mt|mb|ml|mr)-\d+$/,/^(w|h|min-w|max-w|min-h|max-h)-/,/^(text|bg|border|ring|fill|stroke)-/,/^(hover|focus|active|disabled|group-hover):/,/^(sm|md|lg|xl|2xl):/,/^z-\d+$/,/^data-\[/,/^\[/,/^css-[a-z0-9]{6,}$/,/^[a-zA-Z]+_[a-zA-Z0-9]{3,}__[a-zA-Z0-9]{5,}$/,/^sc-[a-zA-Z0-9]{6,}$/,/^jsx-\d+$/,/^swiper-slide-(visible|fully-visible|active|prev|next|duplicate)$/,/^is-(active|open|selected|hovered|focused|expanded)$/,/^Mui[A-Z][a-zA-Z]+-(focused|selected|disabled|expanded|focusVisible|active|checked)$/,/^Mui-(selected|focused|disabled|expanded|focusVisible|active|checked)$/,/^data-state-/];function nce(e,t){var n,r,i=[];try{for(var o=yt(e),a=o.next();!a.done;a=o.next()){var s=a.value;try{i.push(new RegExp(s))}catch(u){var l=u instanceof Error?u.message:String(u);t?.warn('@amplitude/element-selector: ignoring invalid unstable-class pattern "'.concat(s,'" (').concat(l,")"))}}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}function Zz(e,t){var n=e.getAttribute(t.explicitTrackingAttribute);if(n!==null&&n==="")return null;var r=e.getAttribute("id");return r===null||r===""||!ece(r,t.autogeneratedIdPatterns)?null:r}function rce(e,t){return t.map(ice).join(" > ")}function ice(e){var t=e.tagName.toLowerCase(),n=e.parentElement;if(n===null)return t;var r=oce(e,n);return"".concat(t,":nth-of-type(").concat(r,")")}function oce(e,t){for(var n=0,r=0;r<t.children.length;r++){var i=t.children[r];if(i.tagName===e.tagName&&(n+=1,i===e))return n}return 1}var ace=" >>> ",Qz=":scope > ";function Pu(e){return typeof ShadowRoot<"u"&&e instanceof ShadowRoot}function sce(e,t,n){return e&&n&&Pu(t)?"".concat(Qz).concat(e):e}function lce(e){for(var t=e;t!==null;t=t.parentElement)if(t.getAttribute("id"))return!1;return!0}function uce(e){var t,n=e.getRootNode();return Pu(n)?n:(t=e.ownerDocument)!==null&&t!==void 0?t:document}function cce(e){if(e.parentElement)return e.parentElement;var t=e.getRootNode();return Pu(t)?t.host:null}var Xz=1024,dce=5e4;function eH(e,t){var n,r,i,o;return Ie(this,function(a){switch(a.label){case 0:n=e,r=0,i=0,a.label=1;case 1:return n!==null&&i<Xz?(i+=1,[4,n]):[3,3];case 2:return a.sent(),n.parentElement?(n=n.parentElement,[3,1]):r<t&&typeof n.getRootNode=="function"&&(o=cce(n),o&&o!==n)?(r+=1,n=o,[3,1]):[3,3];case 3:return[2]}})}function tH(e,t){var n=[];if(t<=0)return n;for(var r=[[e,0]],i=0;r.length&&i<dce;){i+=1;var o=Tt(r.pop(),2),a=o[0],s=o[1],l=a.shadowRoot;if(l&&s+1<=t){n.push({root:l,depth:s+1});for(var u=l.children,c=0;c<u.length;c++)r.push([u[c],s+1])}for(var f=a.children,c=0;c<f.length;c++)r.push([f[c],s])}return n}function nH(e,t){for(var n=[],r=e,i=0;r!==null&&i<Xz;){i+=1;var o=uce(r);n.push({root:o,target:r});var a=r.getRootNode();if(!Pu(a))break;r=a.host}var s=n.length-1,l=!1,u=n;return s>t&&(u=n.slice(s-t),l=!0),{segments:u.reverse(),truncated:l}}function fce(e,t){var n=e.tagName.toLowerCase(),r=e.parentElement;if(r===null){var i=e.getRootNode();return t&&Pu(i)?"".concat(n,":nth-of-type(").concat(H3(e,i.children),")"):n}return"".concat(n,":nth-of-type(").concat(H3(e,r.children),")")}function H3(e,t){for(var n=0,r=0;r<t.length;r++){var i=t[r];
12if(i.tagName===e.tagName&&(n+=1,i===e))return n}return 1}var pce={name:"explicitTrackingAttribute",try:function(e,t){var n=t.config.explicitTrackingAttribute,r=e.getAttribute(n);return r===null||r===""?null:"[".concat(n,"=").concat(JSON.stringify(r),"]")}};function $S(e){var t=globalThis.CSS;if(t&&typeof t.escape=="function")return t.escape(e);for(var n=String(e),r=n.length,i="",o=0;o<r;o++){var a=n.charCodeAt(o);if(a===0){i+="�";continue}if(a>=1&&a<=31||a===127||o===0&&a>=48&&a<=57||o===1&&a>=48&&a<=57&&n.charCodeAt(0)===45){i+="\\".concat(a.toString(16)," ");continue}if(o===0&&r===1&&a===45){i+="\\-";continue}if(a>=128||a===45||a===95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){i+=n.charAt(o);continue}i+="\\".concat(n.charAt(o))}return i}function rH(e){return $S(e)}var mce={name:"stableId",try:function(e,t){var n=Zz(e,t.config);return n===null?null:"".concat(e.tagName.toLowerCase(),"#").concat(rH(n))}},iH=!1,oH=1,hce=10,zd=Object.freeze({enabled:!1,explicitTrackingAttribute:"data-amp-track-id",autogeneratedIdPatterns:$t([],Tt(Que),!1),unstableClassPatterns:$t([],Tt(tce),!1),maxAncestorWalkDepth:void 0,shadowDomEnabled:iH,maxShadowDomDepth:oH});function ey(e){var t;return me(me({},e),{shadowDomEnabled:(t=e.shadowDomEnabled)!==null&&t!==void 0?t:iH,maxShadowDomDepth:sH(e.maxShadowDomDepth)})}function aH(e,t){if(!e)return W3();var n=W3();return typeof e.enabled=="boolean"&&(n.enabled=e.enabled),typeof e.explicitTrackingAttribute=="string"&&e.explicitTrackingAttribute!==""&&(n.explicitTrackingAttribute=e.explicitTrackingAttribute),Array.isArray(e.autogeneratedIdPatterns)&&(n.autogeneratedIdPatterns=Xue(e.autogeneratedIdPatterns,t)),Array.isArray(e.unstableClassPatterns)&&(n.unstableClassPatterns=nce(e.unstableClassPatterns,t)),n.maxAncestorWalkDepth=gce(e.maxAncestorWalkDepth),typeof e.shadowDomEnabled=="boolean"&&(n.shadowDomEnabled=e.shadowDomEnabled),n.maxShadowDomDepth=sH(e.maxShadowDomDepth),ey(n)}function gce(e){if(typeof e=="number"&&Number.isFinite(e)&&!(e<=0))return Math.floor(e)}function sH(e){return typeof e!="number"||!Number.isFinite(e)?oH:Math.min(Math.max(Math.floor(e),1),hce)}function W3(){return{enabled:zd.enabled,explicitTrackingAttribute:zd.explicitTrackingAttribute,autogeneratedIdPatterns:$t([],Tt(zd.autogeneratedIdPatterns),!1),unstableClassPatterns:$t([],Tt(zd.unstableClassPatterns),!1),maxAncestorWalkDepth:zd.maxAncestorWalkDepth,shadowDomEnabled:zd.shadowDomEnabled,maxShadowDomDepth:zd.maxShadowDomDepth}}var vce=[pce,mce];function yce(e,t,n){var r,i,o,a,s;n===void 0&&(n={});
12var l=ey(t),u=(o=n.strategies)!==null&&o!==void 0?o:vce,c=(s=(a=n.scope)!==null&&a!==void 0?a:e.ownerDocument)!==null&&s!==void 0?s:document,f={scope:c,config:l},p=kce(e,l.maxAncestorWalkDepth);try{for(var v=yt(u),g=v.next();!g.done;g=v.next())for(var y=g.value,k=0;k<p.length;k++){var E=p[k],S=y.try(E,f);if(S!==null){if(k===0){if(q3(c,S,e,y.name,n.logger))return S;continue}var T=p.slice(0,k).reverse(),I=rce(E,T),A="".concat(S," > ").concat(I);if(q3(c,A,e,y.name,n.logger))return A}}}catch(w){r={error:w}}finally{try{g&&!g.done&&(i=v.return)&&i.call(v)}finally{if(r)throw r.error}}return null}function kce(e,t){for(var n=[],r=e;r!==null&&(n.push(r),!(t!==void 0&&n.length>t));)r=r.parentElement;return n}function q3(e,t,n,r,i){var o;try{o=e.querySelectorAll(t)}catch(s){var a=s instanceof Error?s.message:String(s);return i?.debug('@amplitude/element-selector: strategy "'.concat(r,'" emitted a malformed selector "').concat(t,'" (').concat(a,")")),!1}return o.length===1&&o[0]===n}function bce(e,t,n){var r,i;n===void 0&&(n={});for(var o=ey(t),a=(i=(r=n.scope)!==null&&r!==void 0?r:e.ownerDocument)!==null&&i!==void 0?i:document,s=Pu(a),l=[],u=e,c=0,f=!(o.shadowDomEnabled&&s);u!==null&&!(f&&o.maxAncestorWalkDepth!==void 0&&c>o.maxAncestorWalkDepth);){var p=Zz(u,o);if(p!==null){var v="".concat(u.tagName.toLowerCase(),"#").concat(rH(p)),g=$t([v],Tt(l),!1).join(" > ");if(Sce(a,g,e))return g}l.unshift(fce(u,o.shadowDomEnabled)),u=u.parentElement,c+=1}var y=l.join(" > ");return o.shadowDomEnabled&&s&&u===null?"".concat(Qz).concat(y):y}function Sce(e,t,n){var r;try{r=e.querySelectorAll(t)}catch{return!1}return r.length===1&&r[0]===n}var xg=(function(){function e(t,n){this.value=t,this.optimized=n}return e.prototype.toString=function(){return this.value},e})(),Ece=function(e,t){if(e.nodeType!==Node.ELEMENT_NODE)return"";for(var n=[],r=e;r;){var i=Tce(r,!!t,r===e);if(!i||(n.push(i),i.optimized))break;r=r.parentElement}return n.reverse(),n.join(" > ")},Tce=function(e,t,n){var r,i;if(e.nodeType!==Node.ELEMENT_NODE)return null;var o=e.getAttribute("id");if(t){if(o)return new xg(K3(o),!0);var a=e.tagName.toLowerCase();if(a==="body"||a==="head"||a==="html")return new xg(a,!0)}var s=e.tagName.toLowerCase();if(o)return new xg(s+K3(o),!0);var l=e.parentNode;if(!l||l.nodeType===Node.DOCUMENT_NODE)return new xg(s,!0);for(var u=G3(e),c=!1,f=!1,p=-1,v=-1,g=l.children,y=0;g&&(p===-1||!f)&&y<g.length;++y){var k=g[y];if(k.nodeType===Node.ELEMENT_NODE){if(v+=1,k===e){p=v;continue}if(!f&&k.tagName.toLowerCase()===s){c=!0;var E=new Set(u);if(!E.size){f=!0;continue}for(var S=G3(k),T=0;T<S.length;++T){var I=S[T];if(E.has(I)&&(E.delete(I),!E.size)){f=!0;break}}}}}var A=s;if(n&&s.toLowerCase()==="input"&&e.getAttribute("type")&&!e.getAttribute("id")&&!e.getAttribute("class")&&(A+="[type="+$S(e.getAttribute("type")||"")+"]"),f)A+=":nth-child("+String(p+1)+")";else if(c)try{for(var w=yt(u),R=w.next();!R.done;R=w.next()){var x=R.value;A+="."+$S(x.slice(1))}}catch(D){r={error:D}}finally{try{R&&!R.done&&(i=w.return)&&i.call(w)}finally{if(r)throw r.error}}return new xg(A,!1)},G3=function(e){var t=e.getAttribute("class");return t?t.split(/\s+/g).filter(Boolean).map(function(n){return"$"+n}):[]},K3=function(e){return"#"+$S(e)};function Y3(e,t){try{return Ece(e)}catch(r){var n=r instanceof Error?r.message:String(r);return t?.warn("@amplitude/element-selector: legacyCssPath threw â emitting empty selector: ".concat(n)),""}}function Cce(e,t){t===void 0&&(t={});var n=ey(e),r=new Set,i=t.logger,o=function(u){return Y3(u,i)},a=function(u,c){var f;return(f=yce(u,n,{strategies:t.strategies,scope:c,logger:i}))!==null&&f!==void 0?f:bce(u,n,{scope:c})},s=function(u,c){return sce(o(u),c,lce(u))};function l(u,c){var f=nH(u,n.maxShadowDomDepth),p=f.segments,v=f.truncated;return v&&i?.debug("@amplitude/element-selector: target is nested deeper than maxShadowDomDepth (".concat(n.maxShadowDomDepth,") â emitting a best-effort selector for the outermost in-budget shadow host")),p.map(function(g){var y=g.target,k=g.root;return c(y,k)}).join(ace)}return{generate:function(u){var c,f;try{if(!n.shadowDomEnabled){var p=n.enabled?a:o;return p(u,(f=(c=t.scope)!==null&&c!==void 0?c:u.ownerDocument)!==null&&f!==void 0?f:document)}return l(u,n.enabled?a:s)}catch(g){var v=g instanceof Error?g.message:String(g);return i?.warn("@amplitude/element-selector: selector generation threw â falling back to legacy cssPath: ".concat(v)),Y3(u,i)}},getConfig:function(){return n},updateConfig:function(u){var c,f;n=ey(u);try{for(var p=yt(r),v=p.next();!v.done;v=p.next()){var g=v.value;try{g(n)}catch(k){var y=k instanceof Error?k.message:String(k);i?.warn("@amplitude/element-selector: onConfigChange subscriber threw â ".concat(y))}}}catch(k){c={error:k}}finally{try{v&&!v.done&&(f=p.return)&&f.call(p)}finally{if(c)throw c.error}}},onConfigChange:function(u){return r.add(u),function(){r.delete(u)}}}}var Ace=1,tp=Object.freeze({enabled:!1,maxDepth:0}),Ice=function(e){var t,n=(t=e.maxShadowDomDepth)!==null&&t!==void 0?t:Ace;return!e.shadowDomEnabled||n<=0?tp:Object.freeze({enabled:!0,maxDepth:n})},wce=function(){var e=tp,t=new Set,n=function(r){var i,o;try{for(var a=yt($t([],Tt(t),!1)),s=a.next();!s.done;s=a.next()){var l=s.value;try{l(r)}catch{}}}catch(u){i={error:u}}
12finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}t.clear()};return{get:function(){return e},arm:function(r){return e.enabled||!r.enabled||(e=r,n(r)),e},onArm:function(r){if(e.enabled){var i=e;try{r(i)}catch{}return function(){}}return t.add(r),function(){t.delete(r)}}}},xw,Nce=function(){return xw||(xw=wce()),xw},Rce=["input","select","textarea"],xce=function(e,t){var n,r=(n=window?.getComputedStyle)===null||n===void 0?void 0:n.call(window,e);return r?.getPropertyValue("cursor")==="pointer"&&t==="click"},GO=function(e){var t=e.pageUrlAllowlist,n=e.pageUrlExcludelist;return!(n&&n.length>0&&sx(window.location.href,n)||!sx(window.location.href,t))},xm=function(e,t){return function(n,r){var i,o,a=e.shouldTrackEventResolver,s=(o=(i=r?.tagName)===null||i===void 0?void 0:i.toLowerCase)===null||o===void 0?void 0:o.call(i);if(!s)return!1;if(a)return a(n,r);if(!GO(e))return!1;var l=String(r?.getAttribute("type"))||"";if(typeof l=="string")switch(l.toLowerCase()){case"hidden":return!1;case"password":return!1}if(t){var u=t.some(function(c){var f;return!!(!((f=r?.matches)===null||f===void 0)&&f.call(r,c))});if(!u)return!1}switch(s){case"input":case"select":case"textarea":return n==="change"||n==="click";default:return n==="click"}}},Lce=function(e){var t,n,r,i=(n=(t=e?.tagName)===null||t===void 0?void 0:t.toLowerCase)===null||n===void 0?void 0:n.call(t),o=e instanceof HTMLElement?((r=e.getAttribute("contenteditable"))===null||r===void 0?void 0:r.toLowerCase())==="true":!1;return!Rce.includes(i)&&!o},Oce=function(e){return e?e.split(",").map(function(t){return t.trim()}).filter(function(t){return t.length>0&&t!=="id"&&t!=="class"}):[]},Pce=function(e,t){return Object.entries(e).reduce(function(n,r){var i=Tt(r,2),o=i[0],a=i[1];if(o.startsWith(t)){var s=o.replace(t,"");s&&(n[s]=a||"")}return n},{})},_ce=function(e){return e==null||typeof e=="object"&&Object.keys(e).length===0||typeof e=="string"&&e.trim().length===0},$3=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return _ce(r)||(t[n]=r),t},{})},lH=function(){var e;try{var t=Ft(),n=(e=t?.sessionStorage)===null||e===void 0?void 0:e.getItem(Kue);if(!n)return;var r=JSON.parse(n);if(typeof r.pageViewId=="string")return r.pageViewId}catch{}},uH=function(e,t,n){return n===void 0&&(n=tp),n.enabled?Dce(e,t,n.maxDepth):cH(e,t)},cH=function(e,t){return e?t.some(function(n){var r;return(r=e?.matches)===null||r===void 0?void 0:r.call(e,n)})?e:cH(e?.parentElement,t):null},Dce=function(e,t,n){var r,i;if(!e)return null;var o=function(c){if(t.some(function(f){var p;return(p=c?.matches)===null||p===void 0?void 0:p.call(c,f)}))return{value:c}};try{for(var a=yt(eH(e,n)),s=a.next();!s.done;s=a.next()){var l=s.value,u=o(l);if(typeof u=="object")return u.value}}catch(c){r={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return null},J3=function(e,t,n){return n===void 0&&(n=tp),n.enabled?Mce(e,t,n.maxDepth):dH(e,t)},dH=function(e,t){var n=[];return t&&e.querySelectorAll(t).forEach(function(r){return n.push(r)}),n},Mce=function(e,t,n){var r=dH(e,t),i=e instanceof Document?e.documentElement:e;return i&&tH(i,n).forEach(function(o){var a=o.root;a.querySelectorAll(t).forEach(function(s){return r.push(s)})}),r},Fce=function(e,t){var n,r;if(t===void 0&&(t=tp),!t.enabled)return e.target;var i=(n=e.composedPath)===null||n===void 0?void 0:n.call(e),o=(r=e.target)!==null&&r!==void 0?r:null;if(!i||i.length===0)return o;var a=i[0];if(!(a instanceof Element))return a??o;var s=nH(a,t.maxDepth),l=s.segments,u=s.truncated;return u&&l.length>0?l[l.length-1].target:a},_y=function(e){return!(e.event.target===null||!e.closestTrackedAncestor)};function Uce(e){return e.type==="click"||e.type==="change"}function KO(e){if(!e)return"";try{var t=new URL(e);return t.search="",Ws(t.href)}catch{return Ws(e)}}function Lm(e){var t,n;return e===void 0&&(e=Ft()),KO((n=(t=e?.location)===null||t===void 0?void 0:t.href)!==null&&n!==void 0?n:"")}function Vce(e,t){var n;if(t===void 0&&(t=Ft()),e==null||e==="")return Lm(t);var r=((n=t?.location)===null||n===void 0?void 0:n.href)||"http://localhost/";try{return KO(new URL(e,r).href)}catch{return Lm(t)}}var JS;(function(e){e[e.LEFT_OR_TOUCH_CONTACT=0]="LEFT_OR_TOUCH_CONTACT",e[e.MIDDLE=1]="MIDDLE",e[e.RIGHT=2]="RIGHT"}
12)(JS||(JS={}));var Z3="__AMPLITUDE_VISUAL_TAGGING__";function Bce(e,t){var n=e;if(n[Z3]!==!0){n[Z3]=!0;var r=t.dataExtractor,i=t.isElementSelectable,o=t.cssSelectorAllowlist,a=t.actionClickAllowlist,s=null,l=function(c){e.notify({action:"element-selected",data:c})},u=function(c,f){c==="selector-mode-changed"?e.notify({action:"track-selector-mode-changed",data:f}):c==="selector-moved"&&e.notify({action:"track-selector-moved",data:f})};e.registerActionHandler("initialize-visual-tagging-selector",function(c){e.loadScriptOnce(Wue).then(function(){var f;s=(f=window?.amplitudeVisualTaggingSelector)===null||f===void 0?void 0:f.call(window,{getEventTagProps:r.getEventTagProps,isElementSelectable:function(p){return i?i(c?.actionType||"click",p):!0},onTrack:u,onSelect:l,visualHighlightClass:que,messenger:e,cssSelectorAllowlist:o,actionClickAllowlist:a,extractDataFromDataSource:r.extractDataFromDataSource,dataExtractor:r,diagnostics:{autocapture:{version:Hz}}}),e.notify({action:"selector-loaded"})}).catch(function(){var f;(f=e.logger)===null||f===void 0||f.warn("Failed to initialize visual tagging selector")})}),e.registerActionHandler("close-visual-tagging-selector",function(){var c;(c=s?.close)===null||c===void 0||c.call(s)})}}function jce(e){var t=e.amplitude,n=e.allObservables,r=e.shouldTrackEvent,i=e.evaluateTriggers,o=n.clickObservable,a=o.filter(_y).filter(function(l){return r("click",l.closestTrackedAncestor)}).map(function(l){return i(l)}),s=a;return s.subscribe(function(l){t?.track(Wz,l.targetElementProperties)})}function zce(e){var t=e.amplitude,n=e.allObservables,r=e.getEventProperties,i=e.shouldTrackEvent,o=e.evaluateTriggers,a=n.changeObservable,s=a.filter(_y).filter(function(l){return i("change",l.closestTrackedAncestor)}).map(function(l){return o(l)});return s.subscribe(function(l){t?.track(Nue,r("change",l.closestTrackedAncestor))})}function Hce(e){var t=e.amplitude,n=e.allObservables,r=e.options,i=e.getEventProperties,o=e.shouldTrackEvent,a=e.shouldTrackActionClick,s=n.clickObservable,l=n.mutationObservable,u=n.navigateObservable,c=s.filter(function(k){return!o("click",k.closestTrackedAncestor)}).map(function(k){var E=uH(k.event.target,r.actionClickAllowlist);return k.closestTrackedAncestor=E,k.closestTrackedAncestor!==null&&(k.targetElementProperties=i(k.type,k.closestTrackedAncestor)),k}).filter(_y).filter(function(k){return a("click",k.closestTrackedAncestor)}),f=u?Uf(l,u):l,p=Uf(c,f),v=null,g=null,y=WO(p,function(k){if(v&&(clearTimeout(v),v=null),k.type==="click")return g=k,v=setTimeout(function(){v=null,g=null},500),Promise.resolve(null);if(g){var E=g;return g=null,Promise.resolve(E)}return Promise.resolve(null)});return y.subscribe(function(k){k&&t?.track(Wz,i("click",k.closestTrackedAncestor))})}function Wce(e){var t=e.allObservables,n=t.scrollObservable,r={maxX:0,maxY:0},i=n.subscribe(function(){var o,a,s,l,u=Ft(),c=Math.floor((a=(o=u?.scrollX)!==null&&o!==void 0?o:u?.pageXOffset)!==null&&a!==void 0?a:0),f=Math.floor((l=(s=u?.scrollY)!==null&&s!==void 0?s:u?.pageYOffset)!==null&&l!==void 0?l:0);r.maxX=Math.max(r.maxX,c),r.maxY=Math.max(r.maxY,f)});return{unsubscribe:function(){i.unsubscribe()},getState:function(){return r},reset:function(){r.maxX=0,r.maxY=0}}}var Jm=Ft(),dv=function(e){return e.get()},qce={childList:!0,attributes:!0,characterData:!0,subtree:!0},fH=function(e){return e?new qi(function(t){var n=new WeakSet,r=new WeakMap,i=function(c,f){n.has(c)||(n.add(c),Pu(c)&&r.set(c,f),s.observe(c,qce))},o=function(c,f,p){var v=p-f;v<=0||tH(c,v).forEach(function(g){var y=g.root,k=g.depth;return i(y,f+k)})},a=function(c){var f=c.getRootNode();if(!Pu(f))return 0;var p=r.get(f);return p??0},s=new MutationObserver(function(c){var f,p;t.next(c);try{var v=dv(e);if(!v.enabled)return;var g=function(S){var T=a(S.target);S.addedNodes.forEach(function(I){I instanceof Element&&o(I,T,v.maxDepth)})};try{for(var y=yt(c),k=y.next();!k.done;k=y.next()){var E=k.value;g(E)}}catch(S){f={error:S}}finally{try{k&&!k.done&&(p=y.return)&&p.call(y)}finally{if(f)throw f.error}}}catch{}}),l;if(document.body){var u=document.body;i(u,0),l=e.onArm(function(c){o(u,0,c.maxDepth)})}return function(){l?.(),s.disconnect()}}):new qi(function(t){var n=new MutationObserver(function(r){t.next(r)});return document.body&&n.observe(document.body,{childList:!0,attributes:!0,characterData:!0,subtree:!0}),function(){return n.disconnect()}})},pH=function(e){return e===void 0&&(e="click"),new qi(function(t){var n,r=function(i){t.next(i)};return(n=Ft())===null||n===void 0||n.document.addEventListener(e,r,{capture:!0}),function(){var i;(i=Ft())===null||i===void 0||i.document.removeEventListener(e,r,{capture:!0})}})},Gce=function(){return new qi(function(e){var t,n=function(r){e.next(r)};return(t=Ft())===null||t===void 0||t.addEventListener("scroll",n),function(){var r;(r=Ft())===null||r===void 0||r.removeEventListener("scroll",n)}})},Kce=function(){return new qi(function(e){var t=function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var o=void 0;Array.isArray(r[0])&&typeof r[0][0]=="string"&&(o=r[0][0]),e.next({kind:"console",message:o})};return E3.addListener("error",t),function(){E3.removeListener(t)}})},Yce=function(e,t,n,r){var i=typeof n=="function"?n:void 0,o=typeof n=="function"?r:n;return new qi(function(a){var s=Ft();if(!s?.IntersectionObserver)return function(){};
12var l=new IntersectionObserver(function(y){y.forEach(function(k){a.next(k)})},{root:null,rootMargin:"0px",threshold:1}),u=t.join(","),c=function(y){y instanceof Element&&y.matches(u)&&l.observe(y),y.querySelectorAll(u).forEach(function(k){l.observe(k)})},f=function(y){if(o)try{J3(y,u,dv(o)).forEach(function(k){l.observe(k)})}catch{}},p=function(){var y=s?.document;if(y){var k=[];try{o&&dv(o).enabled?k=J3(y,u,dv(o)):k=y.querySelectorAll(u)}catch{return}Array.from(k).forEach(function(E){l.unobserve(E),l.observe(E)})}};i?.(p),p();var v=o?.onArm(function(){s?.document&&f(s.document)}),g=e.subscribe(function(y){var k=y.event;return k.forEach(function(E){var S=E.addedNodes;return S.forEach(function(T){if(T instanceof DocumentFragment){c(T);return}if(T instanceof Element){if(!o||!dv(o).enabled){c(T);return}try{T.matches(u)&&l.observe(T)}catch{}f(T)}})})});return function(){i?.(void 0),v?.(),g.unsubscribe(),l.disconnect()}})},$ce=function(){return new qi(function(e){var t=function(n){if(n instanceof ErrorEvent){var r={kind:"error"};n.error instanceof Error||n.error instanceof DOMException?r=me(me({},r),{message:n.error.message,stack:n.error.stack,filename:n.filename,lineNumber:n.lineno,columnNumber:n.colno}):typeof n.error=="string"&&(r.message=n.error),e.next(r)}};return Jm.addEventListener("error",t),function(){Jm.removeEventListener("error",t)}})},Jce=function(){return new qi(function(e){var t=function(n){var r={kind:"unhandledrejection"};n.reason instanceof Error||n.reason instanceof DOMException?(r.message=n.reason.message,r.stack=n.reason.stack):typeof n.reason=="string"&&(r.message=n.reason),e.next(r)};return Jm.addEventListener("unhandledrejection",t),function(){Jm.removeEventListener("unhandledrejection",t)}})},Zce=function(){var e=Uf($ce(),Jce());return Uf(e,Kce())},Qce=function(){return new qi(function(e){var t=function(r){e.next(r)},n={capture:!0};return Jm.document.addEventListener("mousemove",t,n),function(){Jm.document.removeEventListener("mousemove",t,n)}})},Xce=function(e,t){try{if(t.subprop_key==="[Amplitude] Element Text")return t.subprop_op==="is"&&t.subprop_value.includes(e.targetElementProperties["[Amplitude] Element Text"]);if(t.subprop_key==="[Amplitude] Element Hierarchy")return t.subprop_op==="autotrack css match"&&!!e.closestTrackedAncestor.closest(t.subprop_value.toString())}catch(n){return console.error("Error matching event to filter",n),!1}return!1},ede=function(e,t){try{if(e.sourceType==="DOM_ELEMENT"){var n=document.documentElement;return e.scope&&t&&(n=t.closest(e.scope)),n&&e.selector?n.querySelector(e.selector):n}}catch{return}},tde=function(e,t,n){e.forEach(function(r){if(typeof r!="string"&&r.actionType==="ATTACH_EVENT_PROPERTY"){var i=n.extractDataFromDataSource(r.dataSource,t.closestTrackedAncestor);t.targetElementProperties[r.destinationKey]=i}})},hx={"[Amplitude] Element Clicked":"click","[Amplitude] Element Changed":"change"},Q3=function(e){var t,n,r,i,o=Object.values(hx).reduce(function(v,g){return v[g]=new Set,v},{});if(!e)return o;try{for(var a=yt(e),s=a.next();!s.done;s=a.next()){var l=s.value;try{try{for(var u=(r=void 0,yt(l.definition)),c=u.next();!c.done;c=u.next()){var f=c.value,p=hx[f.event_type];p&&o[p].add(l.id)}}catch(v){r={error:v}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}catch(v){console.warn("Skipping Labeled Event due to malformed definition",l?.id,v)}}}catch(v){t={error:v}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o},X3=function(e){var t,n,r,i,o=new Map;try{for(var a=yt(e),s=a.next();!s.done;s=a.next()){var l=s.value;try{for(var u=(r=void 0,yt(l.conditions)),c=u.next();!c.done;c=u.next()){var f=c.value;if(f.type==="LABELED_EVENT"){var p=f.match.eventId,v=o.get(p);v||(v=[],o.set(p,v)),v.push(l)}}}catch(g){r={error:g}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}}catch(g){t={error:g}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o},nde=function(e,t){return t.filter(function(n){return n.definition.some(function(r){return hx[r.event_type]===e.type&&r.filters.every(function(i){return Xce(e,i)})})})},rde=function(e,t){var n,r,i,o,a=new Set;try{for(var s=yt(e),l=s.next();!l.done;l=s.next()){var u=l.value,c=t.get(u.id);if(c)try{for(var f=(i=void 0,yt(c)),p=f.next();!p.done;p=f.next()){var v=p.value;a.add(v)}}catch(g){i={error:g}}
12finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}}catch(g){n={error:g}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return Array.from(a)},ide=(function(){function e(t,n,r,i){this.groupedLabeledEvents=t,this.labeledEventToTriggerMap=n,this.dataExtractor=r,this.options=i}return e.prototype.evaluate=function(t){var n,r,i=this.options.pageActions;if(!i)return t;var o=nde(t,Array.from(this.groupedLabeledEvents[t.type]).map(function(c){return i.labeledEvents[c]})),a=rde(o,this.labeledEventToTriggerMap);try{for(var s=yt(a),l=s.next();!l.done;l=s.next()){var u=l.value;tde(u.actions,t,this.dataExtractor)}}catch(c){n={error:c}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return t},e.prototype.update=function(t,n,r){this.groupedLabeledEvents=t,this.labeledEventToTriggerMap=n,this.options=r},e})(),ode=function(e,t,n,r){return new ide(e,t,n,r)},ade=new Set(["id","class","style","value","onclick","onchange","oninput","onblur","onsubmit","onfocus","onkeydown","onkeyup","onkeypress","data-reactid","data-react-checksum","data-reactroot",Yz,Bc,$z]),sde=["type"],lde=["svg","path","g"],ude=["password","hidden"];function cde(e,t){if(e.parentElement)return e.parentElement.children;var n=e.getRootNode();return t&&Pu(n)?n.children:[]}function dde(e,t,n){var r,i,o,a,s;if(n===void 0&&(n=tp),e===null)return null;var l=String(e.tagName).toLowerCase(),u={tag:l},c=Array.from(cde(e,n.enabled));c.length&&(u.index=c.indexOf(e),u.indexOfType=c.filter(function(A){return A.tagName===e.tagName}).indexOf(e));var f=(s=(a=e.previousElementSibling)===null||a===void 0?void 0:a.tagName)===null||s===void 0?void 0:s.toLowerCase();f&&(u.prevSib=String(f));var p=e.getAttribute("id");p&&(u.id=String(p));var v=Array.from(e.classList);v.length&&(u.classes=v);var g={},y=Array.from(e.attributes),k=y.filter(function(A){return!ade.has(A.name)}),E=!Lce(e);if(!ude.includes(String(e.getAttribute("type")))&&!lde.includes(l))try{for(var S=yt(k),T=S.next();!T.done;T=S.next()){var I=T.value;if(!(E&&!sde.includes(I.name))){if(t.has(I.name)){g[I.name]=Dc;continue}g[I.name]=String(I.value).substring(0,Jz)}}}catch(A){r={error:A}}finally{try{T&&!T.done&&(i=S.return)&&i.call(S)}finally{if(r)throw r.error}}return Object.keys(g).length&&(u.attrs=g),e.shadowRoot&&(u.attrs=me(me({},u.attrs||{}),(o={},o[$z]="true",o)),u.shadow=!0),u}function mH(e,t){return t===void 0&&(t=tp),e?t.enabled?pde(e,t.maxDepth):fde(e):[]}function fde(e){var t=[];t.push(e);for(var n=e.parentElement;n&&n.tagName!=="HTML";)t.push(n),n=n.parentElement;return t}function pde(e,t){var n,r,i=[];try{for(var o=yt(eH(e,t)),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.tagName==="HTML")break;i.push(s)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}var mde=function(e){return e.closest("[".concat(Bc,"]"))!==null},hde=function(e,t){var n,r;return mH(e,t).some(function(i){return i.hasAttribute(Bc)})?!0:(r=(n=document.documentElement)===null||n===void 0?void 0:n.hasAttribute(Bc))!==null&&r!==void 0?r:!1},Lw;function gde(){return Lw||(Lw=Cce(aH())),Lw}var hH=(function(){function e(t,n){var r,i,o=this,a;this.replaceSensitiveString=function(p){return zO(p,o.additionalMaskTextPatterns)},this.getHierarchy=function(p){var v,g,y,k,E=performance.now(),S=[];if(!p)return[];for(var T=o.getShadowMode(),I=mH(p,T),A=new Map,w=I.length-1;w>=0;w--){var R=I[w];if(R){var x=Oce(R.getAttribute(Yz)),D=w===I.length-1?[]:(y=A.get(I[w+1]))!==null&&y!==void 0?y:new Set,M=new Set($t($t([],Tt(D),!1),Tt(x),!1));A.set(R,M)}}S=I.map(function(H){var G;return dde(H,(G=A.get(H))!==null&&G!==void 0?G:new Set,T)});var F=function(H){H?.attrs&&Object.entries(H.attrs).forEach(function(G){var O=Tt(G,2),V=O[0],W=O[1];H.attrs&&(H.attrs[V]=o.replaceSensitiveString(W))})};try{for(var L=yt(S),P=L.next();!P.done;P=L.next()){var j=P.value;F(j)}}catch(H){v={error:H}}finally{try{P&&!P.done&&(g=L.return)&&g.call(L)}finally{if(v)throw v.error}}var B=performance.now();return(k=o.diagnosticsClient)===null||k===void 0||k.recordHistogram("autocapturePlugin.getHierarchy",B-E),S},this.getNearestLabel=function(p){var v=p.parentElement;if(!v)return"";var g;
12try{g=v.querySelector(":scope>span,h1,h2,h3,h4,h5,h6")}catch{g=null}return g?o.getText(g):o.getNearestLabel(v)},this.getElementPath=function(p){var v;if(!p)return"";var g=performance.now(),y=o.selectorEngine.generate(p),k=performance.now();return(v=o.diagnosticsClient)===null||v===void 0||v.recordHistogram("autocapturePlugin.getElementPath",k-g),y},this.updateSelectorConfig=function(p,v){var g;if(p!=null){var y=typeof p.enabled=="boolean",k=typeof p.shadowDomEnabled=="boolean";if(!y&&!k){v?.debug("@amplitude/element-selector: ignoring remote-config delivery without an explicit `enabled` or `shadowDomEnabled` flag â keeping current engine state.");return}var E=aH(p,v),S=o.selectorEngine.getConfig().enabled,T=o.shadowGate.get().enabled,I=o.shadowGate.arm(Ice(E));o.selectorEngine.updateConfig(me(me(me({},y?E:o.selectorEngine.getConfig()),{shadowDomEnabled:I.enabled}),I.enabled&&{maxShadowDomDepth:I.maxDepth})),y&&S!==E.enabled&&v?.debug(E.enabled?"@amplitude/element-selector: engine enabled â now emitting new element-selector element paths for autocapture events.":"@amplitude/element-selector: engine disabled â reverting to legacy cssPath for element paths."),!T&&I.enabled&&((g=o.diagnosticsClient)===null||g===void 0||g.setTag("plugin.autocapture.shadowDom","enabled:".concat(I.maxDepth)))}}
12,this.getShadowMode=function(){return o.shadowGate.get()},this.getEventProperties=function(p,v,g){var y,k,E,S,T=(E=(k=v?.tagName)===null||k===void 0?void 0:k.toLowerCase)===null||E===void 0?void 0:E.call(k),I=typeof v.getBoundingClientRect=="function"?v.getBoundingClientRect():{left:null,top:null},A=o.getHierarchy(v),w=(S=A[0])===null||S===void 0?void 0:S.attrs,R=o.getNearestLabel(v),x=Pce(w??{},g),D=(y={},y[Pue]=A,y[j3]=T,y[z3]=o.getText(v),y[Due]=I.left==null?null:Math.round(I.left),y[Mue]=I.top==null?null:Math.round(I.top),y[Uue]=x,y[Vue]=o.getElementPath(v),y[Bue]=R,y[mx]=Ws(window.location.href.split("?")[0]),y[jue]=HO(o.replaceSensitiveString),y[qz]=window.innerHeight,y[Gz]=window.innerWidth,y),M=lH();if(M&&(D[Kz]=M),D[Lue]=v.getAttribute("id")||"",D[Oue]=v.getAttribute("class"),D[Fue]=w?.["aria-label"],T==="a"&&p==="click"&&v instanceof HTMLAnchorElement){var F=v.href.substring(0,Jz);D[_ue]=o.replaceSensitiveString(F)}return $3(D)},this.addTypeAndTimestamp=function(p,v){return{event:p,timestamp:Date.now(),type:v}},this.addAdditionalEventProperties=function(p,v,g,y,k){k===void 0&&(k=!1);var E=o.addTypeAndTimestamp(p,v);try{if(Uce(E)&&E.event.target!==null){var S=o.getShadowMode(),T=Fce(E.event,S);if(k){var I=xce(T,E.type);if(I)return E.closestTrackedAncestor=T,E.targetElementProperties=o.getEventProperties(E.type,E.closestTrackedAncestor,y),E}var A=uH(T,g,S);A&&(E.closestTrackedAncestor=A,E.targetElementProperties=o.getEventProperties(E.type,A,y))}}catch{}return E},this.extractDataFromDataSource=function(p,v){if(p.sourceType==="DOM_ELEMENT"){var g=ede(p,v);return g?p.elementExtractType==="TEXT"?o.getText(g):p.elementExtractType==="ATTRIBUTE"&&p.attribute?g.getAttribute(p.attribute):void 0:void 0}},this.getTextWithMaskedDescendants=function(p){var v,g,y="[".concat(Bc,"], [contenteditable]");if(!p.querySelector(y))return p.innerText;var k="",E=Array.from(p.childNodes);try{for(var S=yt(E),T=S.next();!T.done;T=S.next()){var I=T.value;if(I.nodeType===Node.TEXT_NODE){k+=I.textContent||"";continue}if(I instanceof Element){if(I.hasAttribute(Bc)||I.hasAttribute("contenteditable")){k+=Dc;continue}k+=o.getTextWithMaskedDescendants(I)}}}catch(A){v={error:A}}finally{try{T&&!T.done&&(g=S.return)&&g.call(S)}finally{if(v)throw v.error}}return k},this.hasMaskedAncestor=function(p){var v=o.getShadowMode();return v.enabled?hde(p,v):mde(p)},this.getText=function(p){var v=o.hasMaskedAncestor(p);if(v)return Dc;var g="";return p.querySelector("[".concat(Bc,"], [contenteditable]"))?g=o.getTextWithMaskedDescendants(p):g=p.innerText||"",o.replaceSensitiveString(g.substring(0,255)).replace(/\s+/g," ").trim()},this.getEventTagProps=function(p){var v,g,y;if(!p)return{};var k=(y=(g=p?.tagName)===null||g===void 0?void 0:g.toLowerCase)===null||y===void 0?void 0:y.call(g),E=(v={},v[j3]=k,v[z3]=o.getText(p),v[mx]=window.location.href.split("?")[0],v);return $3(E)},this.diagnosticsClient=n?.diagnosticsClient,this.selectorEngine=gde(),this.shadowGate=Nce();var s=(a=t.maskTextRegex)!==null&&a!==void 0?a:[],l=[];try{for(var u=yt(s),c=u.next();!c.done;c=u.next()){var f=c.value;if(l.length>=Gue)break;if(f instanceof RegExp)l.push(f);else if("pattern"in f&&typeof f.pattern=="string")try{l.push(new RegExp(f.pattern,"i"))}catch{}}}catch(p){r={error:p}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}this.additionalMaskTextPatterns=l}return e})(),vde="configs.analyticsSDK.browserSDK.autocapture.elementSelector";function gH(e,t){var n=e.remoteConfigClient;if(!(!e.fetchRemoteConfig||!n)){var r=n.subscribe(vde,"all",function(i,o){e.loggerProvider.debug("@amplitude/element-selector: remote-config delivery (source=".concat(String(o),") ").concat(JSON.stringify(i))),t.updateSelectorConfig(i,e.loggerProvider)});return function(){n.unsubscribe(r)}}}function yde(e){var t=e.allObservables,n=e.onExposure,r=e.dataExtractor,i=e.exposureDuration,o=i===void 0?gz:i,a=new Map,s=new Map,l=t.exposureObservable,u=l.subscribe(function(c){var f=c,p=f.target;if(f.isIntersecting){if(!a.get(p)){var v=s.get(p);v&&clearTimeout(v);var g=setTimeout(function(){a.set(p,!0);var y=r.getElementPath(p);n(y),s.set(p,null)},o);s.set(p,g)}}else if(!f.isIntersecting&&f.intersectionRatio<1){var g=s.get(p);g&&(clearTimeout(g),s.set(p,null))}});return{unsubscribe:function(){u.unsubscribe()}
12,reset:function(){s.forEach(function(c){c&&clearTimeout(c)}),s.clear(),a.clear()}}}function kde(e){var t,n,r,i=e.amplitude,o=e.scrollTracker,a=e.currentElementExposed,s=e.elementExposedForPage,l=e.elementExposedInSentEvents,u=e.exposureTracker,c=e.isPageEnd,f=e.lastScroll,p=o.getState(),v=Ft(),g=(n=v?.innerWidth)!==null&&n!==void 0?n:0,y=(r=v?.innerHeight)!==null&&r!==void 0?r:0,k=Array.from(a).filter(function(I){return!l.has(I)}),E=(t={},t[mx]=Lm(v),t[zue]=p.maxX+g,t[Hue]=p.maxY+y,t[qz]=y,t[Gz]=g,t["[Amplitude] Element Exposed"]=k,t),S=lH();S&&(E[Kz]=S);var T=function(){o.reset();var I=o.getState();f.maxX=I.maxX,f.maxY=I.maxY,s.clear(),l.clear(),u?.reset()};if(k.length===0&&p.maxX===f.maxX&&p.maxY===f.maxY){c&&T();return}i?.track("[Amplitude] Viewport Content Updated",E),f.maxX=p.maxX,f.maxY=p.maxY,k.forEach(function(I){l.add(I)}),a.clear(),c&&T()}function bde(e,t,n,r,i){if(!(t.has(e)||n.has(e))){t.add(e),r.add(e);var o=Array.from(r),a=JSON.stringify(o);a.length>=Yue&&i(!1)}}function Sde(e){var t=e.mutationObservable,n=e.onRescan,r=e.onFlush,i=e.exposureDuration,o=e.quietMs,a=o===void 0?$ue:o,s=e.maxWaitMs,l=s===void 0?Jue:s,u=!1,c,f,p,v,g,y=function(){c&&(clearTimeout(c),c=void 0),f&&(clearTimeout(f),f=void 0),p&&(clearTimeout(p),p=void 0)},k=function(){g&&(document.removeEventListener("DOMContentLoaded",g),g=void 0)},E=function(){return typeof document<"u"&&document.readyState!=="loading"},S=function(){if(!u){if(!E()){g||(g=function(){g=void 0,T()},document.addEventListener("DOMContentLoaded",g));return}u=!0,y(),k(),n(),p=setTimeout(function(){p=void 0,r()},i+Zue)}},T=function(){u||(c&&clearTimeout(c),c=setTimeout(S,a))},I=function(){y(),k(),u=!1,T(),f=setTimeout(S,l)};return{start:function(){v||(v=t.subscribe(function(){T()}),I())},reset:function(){I()},stop:function(){v?.unsubscribe(),v=void 0,y(),k()}}}var co;(function(e){e.ClickObservable="clickObservable",e.PointerDownObservable="pointerDownObservable",e.ChangeObservable="changeObservable",e.NavigateObservable="navigateObservable",e.MutationObservable="mutationObservable",e.ScrollObservable="scrollObservable",e.ExposureObservable="exposureObservable",e.BrowserErrorObservable="browserErrorObservable",e.SelectionObservable="selectionObservable",e.MouseMoveObservable="mouseMoveObservable"})(co||(co={}));var Ede=function(e,t){var n,r,i,o,a,s,l,u,c,f,p,v;e===void 0&&(e={}),t?.diagnosticsClient.setTag("plugin.autocapture.version",Hz);var g=e.dataAttributePrefix,y=g===void 0?VO:g,k=e.visualTaggingOptions,E=k===void 0?{enabled:!0}:k;e.cssSelectorAllowlist=(n=e.cssSelectorAllowlist)!==null&&n!==void 0?n:mz,e.actionClickAllowlist=(r=e.actionClickAllowlist)!==null&&r!==void 0?r:hz,e.debounceTime=(i=e.debounceTime)!==null&&i!==void 0?i:0;var S=((o=e.viewportContentUpdated)===null||o===void 0?void 0:o.enabled)!==!1,T=(l=(s=(a=e.viewportContentUpdated)===null||a===void 0?void 0:a.exposureDuration)!==null&&s!==void 0?s:e.exposureDuration)!==null&&l!==void 0?l:gz;e.viewportContentUpdated=me(me({},e.viewportContentUpdated),{exposureDuration:T}),e.pageUrlExcludelist=(u=e.pageUrlExcludelist)===null||u===void 0?void 0:u.reduce(function(U,q){if(typeof q=="string"&&U.push(q),q instanceof RegExp&&U.push(q),typeof q=="object"&&q!==null&&"pattern"in q)try{U.push(new RegExp(q.pattern))}catch($){return console.warn("Invalid regex pattern: ".concat(q.pattern),$),U}return U},[]);var I=Eue,A="enrichment",w=[],R=new hH(e,t),x=new Set,D=new Set,M=new Set,F,L,P=function(){var U,q=Cl(pH().map(function(ce){return R.addAdditionalEventProperties(ce,"click",e.cssSelectorAllowlist,y)})),$=Cl(new qi(function(ce){var ne,Ce=function(ae){var pe=R.addAdditionalEventProperties(ae,"change",e.cssSelectorAllowlist,y);ce.next(pe)};return(ne=Ft())===null||ne===void 0||ne.document.addEventListener("change",Ce,{capture:!0}),function(){var ae;return(ae=Ft())===null||ae===void 0?void 0:ae.document.removeEventListener("change",Ce)}})),J;window.navigation&&(J=Cl(new qi(function(ce){var ne=function(Ce){var ae=R.addAdditionalEventProperties(Ce,"navigate",e.cssSelectorAllowlist,y);ce.next(ae)};return window.navigation.addEventListener("navigate",ne),function(){window.navigation.removeEventListener("navigate",ne)}})));var Z=R.shadowGate,Y=Cl(fH(Z).map(function(ce){return R.addAdditionalEventProperties(ce,"mutation",e.cssSelectorAllowlist,y)})),ee=Gce(),te=Yce(Y,e.cssSelectorAllowlist,function(ce){L=ce},Z);return U={},U[co.ChangeObservable]=$,U[co.ClickObservable]=q,U[co.MutationObservable]=Y,U[co.NavigateObservable]=J,U[co.ScrollObservable]=ee,U[co.ExposureObservable]=te,U},j=Q3(Object.values((f=(c=e.pageActions)===null||c===void 0?void 0:c.labeledEvents)!==null&&f!==void 0?f:{}
12)),B=X3((v=(p=e.pageActions)===null||p===void 0?void 0:p.triggers)!==null&&v!==void 0?v:[]),H=ode(j,B,R,e),G=function(U){var q,$;U&&(e.pageActions=me(me({},e.pageActions),U),j=Q3(Object.values((q=e.pageActions.labeledEvents)!==null&&q!==void 0?q:{})),B=X3(($=e.pageActions.triggers)!==null&&$!==void 0?$:[]),H.update(j,B,e))},O=function(U,q){return we(void 0,void 0,void 0,function(){var $,J,Z,Y,ee,te,ce,ne,Ce,ae,pe,ve,Se,De,Ee,ye,Pe,Me,Qe,Fe,Ve,be,Ae,ke,ue,ze,et;return Ie(this,function(lt){return typeof document>"u"?[2]:($=!1,U.fetchRemoteConfig&&(U.remoteConfigClient?U.remoteConfigClient.subscribe("configs.analyticsSDK.pageActions","all",function(xe){G(xe)}):U.loggerProvider.debug("Remote config client is not provided, skipping remote config fetch")),J=gH(U,R),J&&w.push({unsubscribe:J}),Z=xm(e,e.cssSelectorAllowlist),Y=xm(e,e.actionClickAllowlist),ee=P(),te=jce({allObservables:ee,amplitude:q,shouldTrackEvent:Z,evaluateTriggers:H.evaluate.bind(H)}),w.push(te),ce=zce({allObservables:ee,getEventProperties:function(){for(var xe=[],We=0;We<arguments.length;We++)xe[We]=arguments[We];return R.getEventProperties.apply(R,$t($t([],Tt(xe),!1),[y],!1))},amplitude:q,shouldTrackEvent:Z,evaluateTriggers:H.evaluate.bind(H)}),w.push(ce),ne=Hce({allObservables:ee,options:e,getEventProperties:function(){for(var xe=[],We=0;We<arguments.length;We++)xe[We]=arguments[We];return R.getEventProperties.apply(R,$t($t([],Tt(xe),!1),[y],!1))},amplitude:q,shouldTrackEvent:Z,shouldTrackActionClick:Y}),ne&&w.push(ne),Ce=Wce({allObservables:ee}),w.push(Ce),ae=me({},Ce.getState()),pe={},ve=Ft(),De=function(xe){xe&&Se?.reset(),!(xe&&$)&&(xe&&($=!0,setTimeout(function(){$=!1},100)),kde({amplitude:q,scrollTracker:Ce,currentElementExposed:M,elementExposedForPage:x,elementExposedInSentEvents:D,exposureTracker:pe.exposure,isPageEnd:xe,lastScroll:ae}))},Ee=Lm(ve),ye=function(){var xe=Lm(ve);xe!==Ee&&(Ee=xe,De(!0))},Pe=function(xe,We){var X=Lm(ve),de=Vce(We,ve);if(X===de){xe();return}Ee=de,De(!0),xe()},Me=function(xe){bde(xe,x,D,M,De)},S&&(pe.exposure=yde({allObservables:ee,onExposure:Me,dataExtractor:R,exposureDuration:T}),pe.exposure&&w.push(pe.exposure),Se=Sde({mutationObservable:ee[co.MutationObservable],onRescan:function(){var xe,We;(We=(xe=U.loggerProvider)===null||xe===void 0?void 0:xe.debug)===null||We===void 0||We.call(xe,"@amplitude/plugin-autocapture-browser: initial exposure snapshot â rescanning DOM"),L?.()},onFlush:function(){var xe,We;(We=(xe=U.loggerProvider)===null||xe===void 0?void 0:xe.debug)===null||We===void 0||We.call(xe,"@amplitude/plugin-autocapture-browser: initial exposure snapshot â flushing viewport content updated"),De(!1)},exposureDuration:T}),Se.start(),w.push({unsubscribe:function(){Se?.stop()}}),Qe=function(){De(!0)},ve?.addEventListener("beforeunload",Qe),F=function(){ve?.removeEventListener("beforeunload",Qe)},w.push({unsubscribe:function(){return F()}}),Fe=ee[co.NavigateObservable],Fe?w.push(Fe.subscribe(function(xe){var We,X,de=(X=(We=xe.event)===null||We===void 0?void 0:We.destination)===null||X===void 0?void 0:X.url;if(de){var ie=KO(de);if(ie===Ee)return;Ee=ie,De(!0);return}ye()})):ve&&(Ve=function(){ye()},ve.addEventListener("popstate",Ve),be=ve.history.pushState,Ae=ve.history.replaceState,ve.history&&be&&(ve.history.pushState=new Proxy(be,{apply:function(xe,We,X){Pe(function(){xe.apply(We,X)},X[2])}})),ve.history&&Ae&&(ve.history.replaceState=new Proxy(Ae,{apply:function(xe,We,X){Pe(function(){xe.apply(We,X)},X[2])}})),w.push({unsubscribe:function(){ve.removeEventListener("popstate",Ve),ve.history&&be&&(ve.history.pushState=be),ve.history&&Ae&&(ve.history.replaceState=Ae)}}))),(et=U?.loggerProvider)===null||et===void 0||et.log("".concat(I," has been successfully added.")),window.opener&&E.enabled&&(ke=e.cssSelectorAllowlist,ue=e.actionClickAllowlist,ze=Iz(),Bce(ze,{dataExtractor:R,isElementSelectable:xm(e,$t($t([],Tt(ke),!1),Tt(ue),!1)),cssSelectorAllowlist:ke,actionClickAllowlist:ue}),wz(ze),ze.setup(me({logger:U?.loggerProvider},U?.serverZone&&{endpoint:Cz[U.serverZone]}))),[2])})})},V=function(U){return we(void 0,void 0,void 0,function(){return Ie(this,function(q){return[2,U]})})},W=function(){return we(void 0,void 0,void 0,function(){var U,q,$,J,Z;return Ie(this,function(Y){try{for(U=yt(w),q=U.next();!q.done;q=U.next())$=q.value,$.unsubscribe()}catch(ee){J={error:ee}}finally{try{q&&!q.done&&(Z=U.return)&&Z.call(U)}finally{if(J)throw J.error}}return[2]})})};return{name:I,type:A,setup:O,execute:V,teardown:W}},Tde=3e3,Cde=["mutation","navigate"];function Ade(e){var t=e.amplitude,n=e.allObservables,r=e.getEventProperties,i=e.shouldTrackDeadClick,o=n.clickObservable,a=n.mutationObservable,s=n.navigateObservable,l=o.filter(function(v){return _y(v)&&i("click",v.closestTrackedAncestor)&&v.event.target instanceof Element&&v.event.target.closest('a[target="_blank"]')===null&&v.event.button===JS.LEFT_OR_TOUCH_CONTACT}),u=s?Uf(a,s):a,c=Uf(l,u),f=null,p=WO(c,function(v){return f&&Cde.includes(v.type)?(clearTimeout(f),f=null,Promise.resolve(null)):v.type==="click"?f?Promise.resolve(null):new Promise(function(g){f=setTimeout(function(){g(v),f=null},Tde)}):Promise.resolve(null)});return p.subscribe(function(v){if(v){var g={"[Amplitude] X":v.event.clientX,"[Amplitude] Y":v.event.clientY};t.track(Aue,me(me({},r("click",v.closestTrackedAncestor)),g),{time:v.timestamp})}})}var vH=Fse,yH=Mse,eU=Use;function tU(e,t){var n,r,i,o,a=t.event,s=a.pageX,l=a.pageY;e.yMin=Math.min((n=e.yMin)!==null&&n!==void 0?n:l,l),e.yMax=Math.max((r=e.yMax)!==null&&r!==void 0?r:l,l),e.xMin=Math.min((i=e.xMin)!==null&&i!==void 0?i:s,s),e.xMax=Math.max((o=e.xMax)!==null&&o!==void 0?o:s,s),e.isOutOfBounds=e.yMax-e.yMin>eU||e.xMax-e.xMin>eU}function nU(e){if(e.length===0)return null;var t=e[0],n=e[e.length-1],r=me({"[Amplitude] Begin Time":new Date(t.timestamp).toISOString(),"[Amplitude] End Time":new Date(n.timestamp).toISOString(),"[Amplitude] Duration":n.timestamp-t.timestamp,"[Amplitude] Clicks":e.map(function(i){return{X:i.event.pageX,Y:i.event.pageY,Time:i.timestamp}}),"[Amplitude] Click Count":e.length},t.targetElementProperties);return{rageClickEvent:r,time:t.timestamp}}function Ide(e,t){var n=Math.max(0,e.length-vH+1),r=e[n];return t.timestamp-r.timestamp>=yH}function wde(e,t){return e.length>0&&e[e.length-1].closestTrackedAncestor!==t.closestTrackedAncestor}function Nde(e){var t=this,n=e.amplitude,r=e.allObservables,i=e.shouldTrackRageClick,o=r.pointerDownObservable,a=r.selectionObservable,s=[],l={},u=null;function c(g){s=[],l={},g&&(tU(l,g),s.push(g))}var f=WO(o.filter(function(g){return i("click",g.closestTrackedAncestor)}),function(g){return we(t,void 0,void 0,function(){var y;return Ie(this,function(k){return tU(l,g),y=null,s.length===0||wde(s,g)||Ide(s,g)||l.isOutOfBounds?(u&&(y=nU(s)),c(g)):s.push(g),u&&(clearTimeout(u.timerId),u.resolve(y),u=null),s.length>=vH?[2,new Promise(function(E){u={resolve:E,timerId:setTimeout(function(){E(nU(s))},yH)}})]:[2,null]})})}),p=a?.subscribe(function(){c()}),v=f.subscribe(function(g){g!==null&&n.track(Iue,g.rageClickEvent,{time:g.time})});return{unsubscribe:function(){v.unsubscribe(),p?.unsubscribe()}}}var Rde=2e3;function xde(e){var t=e.amplitude,n=e.allObservables,r=e.shouldTrackErrorClick,i=n.pointerDownObservable,o=n.browserErrorObservable,a=i.filter(function(c){return _y(c)&&r("click",c.closestTrackedAncestor)&&c.event.target instanceof Element&&c.event.target.closest('a[target="_blank"]')===null&&c.event.button===JS.LEFT_OR_TOUCH_CONTACT}),s=null,l=null,u=function(){s!==null&&(clearTimeout(s),s=null),l=null};return Uf(a,o).subscribe(function(c){var f;if(c.type==="click"){u(),l=c,s=setTimeout(u,Rde);return}c.type==="error"&&l&&(t.track(wue,me((f={},f["[Amplitude] Kind"]=c.event.kind,f["[Amplitude] Message"]=c.event.message,f["[Amplitude] Stack"]=c.event.stack,f["[Amplitude] Filename"]=c.event.filename,f["[Amplitude] Line Number"]=c.event.lineNumber,f["[Amplitude] Column Number"]=c.event.columnNumber,f),l.targetElementProperties)),u())})}var Sl;(function(e){e.INCREASING="increasing",e.DECREASING="decreasing"})(Sl||(Sl={}));var ff;(function(e){e.X="x",e.Y="y"})(ff||(ff={}));var Lde=function(e){var t=e.allWindowObservables,n=t.mouseMoveObservable;return new qi(function(r){var i=null,o=null,a=null;return n.subscribe(function(s){var l={x:s.clientX,y:s.clientY};if(i===null){i=l;return}l.x>i.x?(o===Sl.DECREASING&&r.next(ff.X),o=Sl.INCREASING):l.x<i.x&&(o===Sl.INCREASING&&r.next(ff.X),o=Sl.DECREASING),l.y>i.y?(a===Sl.DECREASING&&r.next(ff.Y),a=Sl.INCREASING):l.y<i.y&&(a===Sl.INCREASING&&r.next(ff.Y),a=Sl.DECREASING),i=l})})};function Ode(e){var t=+Date.now();e.startTime=e.startTime||t;var n=e.changes,r=e.changesThreshold;n.push(t),n.length>r&&n.shift()}function rU(e){var t=e.changes,n=e.changesThreshold,r=e.thresholdMs;if(t.length<n)return!1;var i=t[t.length-1]-t[0];return i<r}function iU(e){e.changes=[],e.startTime=void 0}function oU(e){for(var t=e.changes,n=e.thresholdMs,r=0,i=t[t.length-1];r<t.length;r++){var o=i-t[r];if(o<n)break}r!==0&&(e.startTime=t[r],e.changes.splice(0,r))}function Pde(e,t){var n=void 0;if(rU(e)&&(n=e.startTime),rU(t)){var r=t.startTime;r&&(!n||r<n)&&(n=r)}return n}var kH=20,bH=2e3,_de=function(e){var t=e.mouseDirectionChangeObservable,n=e.directionChanges,r=n===void 0?kH:n,i=e.thresholdMs,o=i===void 0?bH:i;return new qi(function(a){var s={changes:[],changesThreshold:r,thresholdMs:o},l={changes:[],changesThreshold:r,thresholdMs:o},u=void 0,c=null;function f(){u!==void 0&&(a.next(u),u=void 0,c!==null&&clearTimeout(c),iU(s),iU(l))}return t.subscribe(function(p){c!==null&&clearTimeout(c),Ode(p===ff.X?s:l);var v=Pde(s,l);return v?(u=u||v,c=setTimeout(function(){f(),c=null},o)):f(),oU(s),oU(l),function(){c!==null&&(clearTimeout(c),c=null)}})})},Dde=function(e){var t=e.amplitude,n=e.options,r=e.allObservables,i=e.directionChanges,o=i===void 0?kH:i,a=e.thresholdMs,s=a===void 0?bH:a,l=Lde({allWindowObservables:r}),u=_de({mouseDirectionChangeObservable:l,directionChanges:o,thresholdMs:s});return u.subscribe(function(c){GO(n)&&t.track(Rue,void 0,{time:c})})};function Ow(e,t,n,r){if(!r)return[];var i=e[t];return typeof i=="object"&&i!==null&&"cssSelectorAllowlist"in i&&Array.isArray(i.cssSelectorAllowlist)?i.cssSelectorAllowlist:n}var xb=5,Lb=4e3,Mde=function(e){var t;e===void 0&&(e={});var n=Tue,r="enrichment",i=[],o=e.errorClicks!==!1;e.errorClicks||(o=!1);var a=e.deadClicks!==!1&&e.deadClicks!==null,s=e.rageClicks!==!1&&e.rageClicks!==null,l=e.thrashedCursor!==!1&&e.thrashedCursor!==null;e.thrashedCursor||(l=!1);var u=Ow(e,"rageClicks",Dse,s),c=Ow(e,"deadClicks",Pse,a),f=Ow(e,"errorClicks",_se,o),p=(t=e.dataAttributePrefix)!==null&&t!==void 0?t:VO,v=new hH(e),g=$t([],Tt(new Set($t($t($t([],Tt(u),!1),Tt(c),!1),Tt(f),!1))),!1),y=function(){var T,I=function(P){return Cl(pH(P).map(function(j){return v.addAdditionalEventProperties(j,"click",g,p,!0)}))},A=I("click"),w=I("pointerdown"),R=Cl(Zce().map(function(P){return v.addTypeAndTimestamp(P,"error")})),x=Cl(fH(v.shadowGate).map(function(P){return v.addAdditionalEventProperties(P,"mutation",g,p)})),D;if(window.navigation){var M=new qi(function(P){var j=function(B){P.next(me(me({},B),{type:"navigate"}))};return window.navigation.addEventListener("navigate",j),function(){window.navigation.removeEventListener("navigate",j)}});D=Cl(M.map(function(P){return v.addAdditionalEventProperties(P,"navigate",g,p)}))}var F=Cl(new qi(function(P){var j=function(){var B=document.activeElement;if(B&&(B.tagName==="TEXTAREA"||B.tagName==="INPUT")){var H=void 0,G=void 0;try{if(H=B.selectionStart,G=B.selectionEnd,H===G)return}catch{return}return P.next()}var O=window.getSelection();if(!(!O||O.isCollapsed))return P.next()};return window.document.addEventListener("selectionchange",j),function(){window.document.removeEventListener("selectionchange",j)}}
12)),L=Cl(Qce());return T={},T[co.ClickObservable]=A,T[co.PointerDownObservable]=w,T[co.MutationObservable]=x,T[co.NavigateObservable]=D,T[co.BrowserErrorObservable]=R,T[co.SelectionObservable]=F,T[co.MouseMoveObservable]=L,T},k=function(T,I){return we(void 0,void 0,void 0,function(){var A,w,R,x,D,M,F,L,P,j,B,H;return Ie(this,function(G){return typeof document>"u"?[2]:(A=y(),w=gH(T,v),w&&i.push({unsubscribe:w}),s&&(R=xm(e,u),x=Nde({allObservables:A,amplitude:I,shouldTrackRageClick:R}),i.push(x)),a&&(D=xm(e,c),M=Ade({amplitude:I,allObservables:A,getEventProperties:function(O,V){return v.getEventProperties(O,V,p)},shouldTrackDeadClick:D}),i.push(M)),o&&(F=xm(e,f),L=xde({amplitude:I,allObservables:A,shouldTrackErrorClick:F}),i.push(L)),l&&(P=void 0,j=void 0,typeof e.thrashedCursor=="object"&&(P=e.thrashedCursor.directionChanges,j=e.thrashedCursor.threshold,P&&P<xb&&(T.loggerProvider.warn("'thrashedCursor.directionChanges' of ".concat(P," is below the minimum of ").concat(xb,", setting to ").concat(xb)),P=xb),j&&j>Lb&&(T.loggerProvider.warn("'thrashedCursor.threshold' of ".concat(j," is above the maximum of ").concat(Lb,", setting to ").concat(Lb)),j=Lb)),B=Dde({amplitude:I,options:e,allObservables:A,directionChanges:P,thresholdMs:j}),i.push(B)),(H=T?.loggerProvider)===null||H===void 0||H.log("".concat(n," has been successfully added.")),[2])})})},E=function(T){return we(void 0,void 0,void 0,function(){return Ie(this,function(I){return[2,T]})})},S=function(){return we(void 0,void 0,void 0,function(){var T,I,A,w,R;return Ie(this,function(x){try{for(T=yt(i),I=T.next();!I.done;I=T.next())A=I.value,A.unsubscribe()}catch(D){w={error:D}}finally{try{I&&!I.done&&(R=T.return)&&R.call(T)}finally{if(w)throw w.error}}return[2]})})};return{name:n,type:r,setup:k,execute:E,teardown:S}},Fde=100,Ude=1e4;function SH(e,t){var n=e.startTime+e.duration;return t.filter(function(r){return r.startTime<n&&r.startTime+r.duration>e.startTime}).map(function(r){return r.name})}function Vde(e,t){var n,r=SH(e,t),i=(n=e.scripts)!==null&&n!==void 0?n:[],o=i.map(function(c){return c.sourceURL}).filter(Boolean),a=i.map(function(c){return c.sourceFunctionName}).filter(Boolean),s=i.map(function(c){return c.sourceCharPosition}).filter(function(c){return typeof c=="number"&&c>=0}),l=i.map(function(c){return c.invokerType}).filter(Boolean),u=i.map(function(c){return c.invoker}).filter(Boolean);return me(me(me(me(me(me(me({"[Amplitude] Main Thread Block Source":"long-animation-frame","[Amplitude] Main Thread Block Duration":e.duration,"[Amplitude] Main Thread Block Blocking Duration":e.blockingDuration,"[Amplitude] Main Thread Block Start Time":e.startTime},r.length>0&&{"[Amplitude] Main Thread Block Measures":r}),{"[Amplitude] Main Thread Block Render Start":e.renderStart,"[Amplitude] Main Thread Block Style And Layout Start":e.styleAndLayoutStart,"[Amplitude] Main Thread Block Script Count":i.length}),o.length>0&&{"[Amplitude] Main Thread Block Script URLs":o}),a.length>0&&{"[Amplitude] Main Thread Block Script Functions":a}),s.length>0&&{"[Amplitude] Main Thread Block Script Positions":s}),l.length>0&&{"[Amplitude] Main Thread Block Invoker Types":l}),u.length>0&&{"[Amplitude] Main Thread Block Invokers":u})}function Bde(e,t){var n,r=SH(e,t),i=(n=e.attribution)!==null&&n!==void 0?n:[];return me(me({"[Amplitude] Main Thread Block Source":"long-task","[Amplitude] Main Thread Block Duration":e.duration,"[Amplitude] Main Thread Block Blocking Duration":e.duration,"[Amplitude] Main Thread Block Start Time":e.startTime},r.length>0&&{"[Amplitude] Main Thread Block Measures":r}),i.length>0&&{"[Amplitude] Main Thread Block Attribution":i.map(function(o){return o.name})})}function jde(){if(typeof PerformanceObserver>"u")return null;try{var e=PerformanceObserver.supportedEntryTypes;if(e.includes("long-animation-frame"))return"long-animation-frame";if(e.includes("longtask"))return"longtask"}catch{}return null}function zde(e){var t=e.amplitude,n=e.options,r=e.durationThreshold,i=r===void 0?Fde:r,o=jde();if(!o)return{unsubscribe:function(){}};var a=[],s=new PerformanceObserver(function(u){var c,f,p=performance.now();try{for(var v=yt(u.getEntries()),g=v.next();!g.done;g=v.next()){var y=g.value;a.push(y)}}catch(E){c={error:E}}finally{try{g&&!g.done&&(f=v.return)&&f.call(v)}finally{if(c)throw c.error}}for(var k=p-Ude;a.length>0&&a[0].startTime<k;)a.shift()});try{s.observe({entryTypes:["measure"]})}catch{}var l=new PerformanceObserver(function(u){var c,f;try{for(var p=yt(u.getEntries()),v=p.next();!v.done;v=p.next()){var g=v.value;if(!GO(n))return;
12if(!(g.duration<i)){var y=o==="long-animation-frame"?Vde(g,a):Bde(g,a);t.track(xue,y)}}}catch(k){c={error:k}}finally{try{v&&!v.done&&(f=p.return)&&f.call(p)}finally{if(c)throw c.error}}});try{l.observe({entryTypes:[o]})}catch{return s.disconnect(),{unsubscribe:function(){}}}return{unsubscribe:function(){l.disconnect(),s.disconnect()}}}var Hde=100,Wde=function(e){e===void 0&&(e={});var t=Cue,n="enrichment",r=[],i=e.mainThreadBlock===!0||typeof e.mainThreadBlock=="object"&&e.mainThreadBlock!==null,o=function(l,u){return we(void 0,void 0,void 0,function(){var c,f,p;return Ie(this,function(v){return typeof document>"u"?[2]:(i&&(c=Hde,typeof e.mainThreadBlock=="object"&&e.mainThreadBlock.durationThreshold!==void 0&&(c=e.mainThreadBlock.durationThreshold),f=zde({amplitude:u,options:e,durationThreshold:c}),r.push(f)),(p=l?.loggerProvider)===null||p===void 0||p.log("".concat(t," performance tracking has been successfully added.")),[2])})})},a=function(l){return we(void 0,void 0,void 0,function(){return Ie(this,function(u){return[2,l]})})},s=function(){return we(void 0,void 0,void 0,function(){var l,u,c,f,p;return Ie(this,function(v){try{for(l=yt(r),u=l.next();!u.done;u=l.next())c=u.value,c.unsubscribe()}catch(g){f={error:g}}finally{try{u&&!u.done&&(p=l.return)&&p.call(l)}finally{if(f)throw f.error}}return[2]})})};return{name:t,type:n,setup:o,execute:a,teardown:s}},qde="@amplitude/plugin-network-capture-browser",EH="[Amplitude] Network Request",TH="500-599";function Q0(e,t){var n=t.replace(/[-[\]{}()+?.,\\^$|#\s]/g,"\\$&"),r="^"+n.replace(/\*/g,".*")+"$",i=new RegExp(r);return i.test(e)}function CH(e,t){var n,r,i=t.split(",");try{for(var o=yt(i),a=o.next();!a.done;a=o.next()){var s=a.value,l=Tt(s.split("-").map(Number),2),u=l[0],c=l[1];if(e===u&&c===void 0||e>=u&&e<=c)return!0}}catch(f){n={error:f}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1}function Gde(e,t,n,r,i){if(!(e.hosts&&!e.hosts.find(function(a){return Q0(t,a)}))&&!(r&&e.urls&&!sx(r,e.urls))&&!(i&&e.methods&&!e.methods.find(function(a){return i.toLowerCase()===a.toLowerCase()||a==="*"}))){if(n||n===0){var o=e.statusCodeRange||TH;if(!CH(n,o))return!1}return!0}}function Kde(e){var t,n=e.indexOf("#"),r=n>=0?e.slice(n+1):"",i=n>=0?e.slice(0,n):e,o=i.indexOf("?"),a=o>=0?i.slice(o+1):"",s=o>=0?i.slice(0,o):i,l=s.match(/^[a-z][a-z0-9+.-]*:\/\/([^/?#]+)/i),u=(t=l?.[1])!==null&&t!==void 0?t:"";return{query:a,fragment:r,href:e,hrefWithoutQueryOrHash:s,host:u}}function AH(e){var t;if(e)try{var n=(t=Ft())===null||t===void 0?void 0:t.location.href,r=new URL(e,n),i=r.searchParams.toString(),o=r.hash.replace("#",""),a=r.href,s=r.host;r.hash="",r.search="";var l=r.href;return{query:i,fragment:o,href:a,hrefWithoutQueryOrHash:l,host:s}}catch{try{return Kde(e)}catch{return}}}function Yde(e,t){if(e.includes("amplitude.com"))try{var n=t.body;if(typeof n!="string")return!1;var r=JSON.parse(n),i=r.events;if(i.find(function(o){return o.event_type===EH}))return!0}catch{}return!1}function aU(e){if(typeof e!="object"||e===null){if(e)return $t([],Tt(HS),!1);if(e===void 0){var t=void 0;return t}return}if(e.length!==0)return e}function sU(e){var t,n,r;return!(!((t=e?.allowlist)===null||t===void 0)&&t.length)&&!(!((n=e?.blocklist)===null||n===void 0)&&n.length)&&!(!((r=e?.excludelist)===null||r===void 0)&&r.length)}function $de(e,t){var n;t===void 0&&(t={});var r=AH(e.url);if(!r)return!1;var i=r.host;if(t.ignoreAmplitudeRequests!==!1&&(Q0(i,"*.amplitude.com")||Q0(i,"amplitude.com"))||!((n=t.ignoreHosts)===null||n===void 0)&&n.find(function(a){return Q0(i,a)})||!t.captureRules&&e.status!==void 0&&!CH(e.status,TH))return!1;if(t.captureRules){var o;if($t([],Tt(t.captureRules),!1).reverse().find(function(a){if(o=Gde(a,i,e.status,e.url,e.method),o){var s=aU(a.responseHeaders);if(e.responseWrapper&&s){var l=e.responseWrapper.headers(s);l&&(e.responseHeaders=l)}var u=aU(a.requestHeaders);if(e.requestWrapper&&u){var c=e.requestWrapper.headers(u);c&&(e.requestHeaders=c)}if(e.responseWrapper&&a.responseBody&&!sU(a.responseBody)){var f=a.responseBody.excludelist||a.responseBody.blocklist;e.responseBodyJson=e.responseWrapper.json(a.responseBody.allowlist,f)}if(e.requestWrapper&&a.requestBody&&!sU(a.requestBody)){var f=a.requestBody.excludelist||a.requestBody.blocklist;e.requestBodyJson=e.requestWrapper.json(a.requestBody.allowlist,f)}}return o!==void 0}),!o)return!1}return!(e.requestWrapper&&Yde(i,e.requestWrapper))}function Jde(e,t,n,r){return we(this,void 0,void 0,function(){var i,o,a;return Ie(this,function(s){switch(s.label){case 0:return t.requestBodyJson||t.responseBodyJson?[4,Promise.all([t.requestBodyJson,t.responseBodyJson])]:[3,2];case 1:if(i=Tt.apply(void 0,[s.sent(),2]),o=i[0],a=i[1],o)try{e["[Amplitude] Request Body"]=JSON.stringify(o)}catch(l){r?.debug("Failed to stringify request body",l)}if(a)try{e["[Amplitude] Response Body"]=JSON.stringify(a)}catch{r?.debug("Failed to stringify response body")}s.label=2;case 2:return n?.track(EH,e),[2]}})})}function Zde(e){var t=e.allObservables,n=e.networkTrackingOptions,r=e.amplitude,i=e.loggerProvider,o=t.networkObservable,a=o.filter(function(s){return $de(s.event,n)});return a.subscribe(function(s){var l,u,c,f=s.event,p=AH(f.url);if(p){var v=(u=f.responseWrapper)===null||u===void 0?void 0:u.bodySize,g=(c=f.requestWrapper)===null||c===void 0?void 0:c.bodySize,y=(l={},l["[Amplitude] URL"]=p.hrefWithoutQueryOrHash,l["[Amplitude] URL Query"]=p.query,l["[Amplitude] URL Fragment"]=p.fragment,l["[Amplitude] Request Method"]=f.method,l["[Amplitude] Status Code"]=f.status,l["[Amplitude] Start Time"]=f.startTime,l["[Amplitude] Completion Time"]=f.endTime,l["[Amplitude] Duration"]=f.duration,l["[Amplitude] Request Body Size"]=g,l["[Amplitude] Response Body Size"]=v,l["[Amplitude] Request Type"]=f.type,l["[Amplitude] Request Headers"]=f.requestHeaders,l["[Amplitude] Response Headers"]=f.responseHeaders,l);Jde(y,f,r,i)}})}var gx;(function(e){e.NetworkObservable="networkObservable"})(gx||(gx={}));var lU,Qde=function(e){e===void 0&&(e={});var t=qde,n="enrichment",r,i=function(u,c){var f={event:u,timestamp:Date.now(),type:c};return f},o=function(){var u,c=new qi(function(f){var p=new Kse(function(v){var g=i(v,"network");f.next(g)});return I3.subscribe(p,r),function(){I3.unsubscribe(p)}});return u={},u[gx.NetworkObservable]=c,u},a=function(u,c){return we(void 0,void 0,void 0,function(){var f;return Ie(this,function(p){return typeof document>"u"&&!gle()?[2]:(f=o(),r=u?.loggerProvider,lU=Zde({allObservables:f,networkTrackingOptions:e,amplitude:c,loggerProvider:r}),r?.log("".concat(t," has been successfully added.")),[2])})})},s=function(u){return we(void 0,void 0,void 0,function(){return Ie(this,function(c){return[2,u]})})},l=function(){return we(void 0,void 0,void 0,function(){return Ie(this,function(u){return lU.unsubscribe(),[2]})})};return{name:t,type:n,setup:a,execute:s,teardown:l}},Xde="web-vitals-browser",efe="[Amplitude] Web Vitals";let IH=-1;const Nh=e=>{addEventListener("pageshow",(t=>
vendor: 4,186 bytes, line 12
12{t.persisted&&(IH=t.timeStamp,e(t))}),!0)},jl=(e,t,n,r)=>{let i,o;return a=>{t.value>=0&&(a||r)&&(o=t.value-(i??0),(o||i===void 0)&&(i=t.value,t.delta=o,t.rating=((s,l)=>s>l[1]?"poor":s>l[0]?"needs-improvement":"good")(t.value,n),e(t)))}},YO=e=>{requestAnimationFrame((()=>requestAnimationFrame((()=>e()))))},$O=()=>{const e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},Dy=()=>$O()?.activationStart??0,zl=(e,t=-1)=>{const n=$O();let r="navigate";return IH>=0?r="back-forward-cache":n&&(document.prerendering||Dy()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},Pw=new WeakMap;function JO(e,t){return Pw.get(e)||Pw.set(e,new t),Pw.get(e)}let tfe=class{t;i=0;o=[];h(t){if(t.hadRecentInput)return;const n=this.o[0],r=this.o.at(-1);this.i&&n&&r&&t.startTime-r.startTime<1e3&&t.startTime-n.startTime<5e3?(this.i+=t.value,this.o.push(t)):(this.i=t.value,this.o=[t]),this.t?.(t)}};const My=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((i=>{Promise.resolve().then((()=>{t(i.getEntries())}))}));return r.observe({type:e,buffered:!0,...n}),r}}catch{}},ZO=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let km=-1;const wH=new Set,uU=()=>document.visibilityState!=="hidden"||document.prerendering?1/0:0,vx=e=>{if(document.visibilityState==="hidden"){if(e.type==="visibilitychange")for(const t of wH)t();isFinite(km)||(km=e.type==="visibilitychange"?e.timeStamp:0,removeEventListener("prerenderingchange",vx,!0))}},FT=()=>{if(km<0){const e=Dy();km=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter((n=>n.name==="hidden"&&n.startTime>e))[0]?.startTime)??uU(),addEventListener("visibilitychange",vx,!0),addEventListener("prerenderingchange",vx,!0),Nh((()=>{setTimeout((()=>{km=uU()}))}))}return{get firstHiddenTime(){return km},onHidden(e){wH.add(e)}}},UT=e=>{document.prerendering?addEventListener("prerenderingchange",(()=>e()),!0):e()},cU=[1800,3e3],NH=(e,t={})=>{UT((()=>{const n=FT();let r,i=zl("FCP");const o=My("paint",(a=>{for(const s of a)s.name==="first-contentful-paint"&&(o.disconnect(),s.startTime<n.firstHiddenTime&&(i.value=Math.max(s.startTime-Dy(),0),i.entries.push(s),r(!0)))}));o&&(r=jl(e,i,cU,t.reportAllChanges),Nh((a=>{i=zl("FCP"),r=jl(e,i,cU,t.reportAllChanges),YO((()=>{i.value=performance.now()-a.timeStamp,r(!0)}))})))}))},dU=[.1,.25],nfe=(e,t={})=>{const n=FT();NH(ZO((()=>{let r,i=zl("CLS",0);const o=JO(t,tfe),a=l=>{for(const u of l)o.h(u);o.i>i.value&&(i.value=o.i,i.entries=o.o,r())},s=My("layout-shift",a);s&&(r=jl(e,i,dU,t.reportAllChanges),n.onHidden((()=>{a(s.takeRecords()),r(!0)})),Nh((()=>{o.i=0,i=zl("CLS",0),r=jl(e,i,dU,t.reportAllChanges),YO((()=>r()))})),setTimeout(r))})))};let RH=0,_w=1/0,Ob=0;const rfe=e=>{for(const t of e)t.interactionId&&(_w=Math.min(_w,t.interactionId),Ob=Math.max(Ob,t.interactionId),RH=Ob?(Ob-_w)/7+1:0)};let yx;const fU=()=>yx?RH:performance.interactionCount??0,ife=()=>{"interactionCount"in performance||yx||(yx=My("event",rfe,{type:"event",buffered:!0,durationThreshold:0}))};let pU=0,ofe=class{u=[];l=new Map;m;p;v(){pU=fU(),this.u.length=0,this.l.clear()}L(){const t=Math.min(this.u.length-1,Math.floor((fU()-pU)/50));return this.u[t]}h(t){if(this.m?.(t),!t.interactionId&&t.entryType!=="first-input")return;const n=this.u.at(-1);let r=this.l.get(t.interactionId);if(r||this.u.length<10||t.duration>n.P){if(r?t.duration>r.P?(r.entries=[t],r.P=t.duration):t.duration===r.P&&t.startTime===r.entries[0].startTime&&r.entries.push(t):(r={id:t.interactionId,entries:[t],P:t.duration},this.l.set(r.id,r),this.u.push(r)),this.u.sort(((i,o)=>o.P-i.P)),this.u.length>10){const i=this.u.splice(10);for(const o of i)this.l.delete(o.id)}this.p?.(r)}}};const xH=e=>{const t=globalThis.requestIdleCallback||setTimeout;document.visibilityState==="hidden"?e():(e=ZO(e),addEventListener("visibilitychange",e,{once:!0,capture:!0}),t((()=>{e(),removeEventListener("visibilitychange",e,{capture:!0})}
12)))},mU=[200,500],afe=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=FT();UT((()=>{ife();let r,i=zl("INP");const o=JO(t,ofe),a=l=>{xH((()=>{for(const c of l)o.h(c);const u=o.L();u&&u.P!==i.value&&(i.value=u.P,i.entries=u.entries,r())}))},s=My("event",a,{durationThreshold:t.durationThreshold??40});r=jl(e,i,mU,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),n.onHidden((()=>{a(s.takeRecords()),r(!0)})),Nh((()=>{o.v(),i=zl("INP"),r=jl(e,i,mU,t.reportAllChanges)})))}))};let sfe=class{m;h(t){this.m?.(t)}};const hU=[2500,4e3],lfe=(e,t={})=>{UT((()=>{const n=FT();let r,i=zl("LCP");const o=JO(t,sfe),a=l=>{t.reportAllChanges||(l=l.slice(-1));for(const u of l)o.h(u),u.startTime<n.firstHiddenTime&&(i.value=Math.max(u.startTime-Dy(),0),i.entries=[u],r())},s=My("largest-contentful-paint",a);if(s){r=jl(e,i,hU,t.reportAllChanges);const l=ZO((()=>{a(s.takeRecords()),s.disconnect(),r(!0)})),u=c=>{c.isTrusted&&(xH(l),removeEventListener(c.type,u,{capture:!0}))};for(const c of["keydown","click","visibilitychange"])addEventListener(c,u,{capture:!0});Nh((c=>{i=zl("LCP"),r=jl(e,i,hU,t.reportAllChanges),YO((()=>{i.value=performance.now()-c.timeStamp,r(!0)}))}))}}))},gU=[800,1800],kx=e=>{document.prerendering?UT((()=>kx(e))):document.readyState!=="complete"?addEventListener("load",(()=>kx(e)),!0):setTimeout(e)},ufe=(e,t={})=>{let n=zl("TTFB"),r=jl(e,n,gU,t.reportAllChanges);kx((()=>{const i=$O();i&&(n.value=Math.max(i.responseStart-Dy(),0),n.entries=[i],r(!0),Nh((()=>{n=zl("TTFB",0),r=jl(e,n,gU,t.reportAllChanges),r(!0)})))}))};function cfe(e){var t,n=((t=e.entries[0])===null||t===void 0?void 0:t.startTime)||0;return performance.timeOrigin+n}function Lg(e){return{value:e.value,rating:e.rating,delta:e.delta,navigationType:e.navigationType,id:e.id,timestamp:Math.floor(cfe(e)),navigationStart:Math.floor(performance.timeOrigin)}}var dfe=function(){var e=null,t=Ft(),n=t?.document,r=t?.location,i=function(s,l){return we(void 0,void 0,void 0,function(){var u,c;return Ie(this,function(f){return n===void 0?[2]:(u=Ws(r?.href||"",s.loggerProvider),c={"[Amplitude] Page Domain":r?.hostname||"","[Amplitude] Page Location":u,"[Amplitude] Page Path":Ws(r?.pathname||"",s.loggerProvider),"[Amplitude] Page Title":typeof document<"u"&&document.title||"","[Amplitude] Page URL":Ws(u.split("?")[0],s.loggerProvider)},lfe(function(p){c["[Amplitude] LCP"]=Lg(p)}),NH(function(p){c["[Amplitude] FCP"]=Lg(p)}),afe(function(p){c["[Amplitude] INP"]=Lg(p)}),nfe(function(p){c["[Amplitude] CLS"]=Lg(p)}),ufe(function(p){c["[Amplitude] TTFB"]=Lg(p)}),e=function(){n.visibilityState==="hidden"&&e&&(l.track(efe,c),n.removeEventListener("visibilitychange",e),e=null)},n.addEventListener("visibilitychange",e),[2])})})},o=function(s){return we(void 0,void 0,void 0,function(){return Ie(this,function(l){return[2,s]})})},a=function(){return we(void 0,void 0,void 0,function(){return Ie(this,function(s){return e&&n?.removeEventListener("visibilitychange",e),[2]})})};return{name:Xde,type:"enrichment",setup:i,execute:o,teardown:a}},vU=(function(){function e(t,n){var r;this.shouldTrackNewCampaign=!1,this.options=me({initialEmptyValue:"EMPTY",resetSessionOnNewCampaign:!1,excludeReferrers:oue(((r=n.cookieOptions)===null||r===void 0?void 0:r.domain)||n.topLevelDomain),optOut:n.optOut},t),this.storage=n.cookieStorage,this.storageKey=y3(n.apiKey,"MKTG"),this.webExpStorageKey=y3(n.apiKey,"MKTG_ORIGINAL"),this.currentCampaign=_T,this.sessionTimeout=n.sessionTimeout,this.lastEventTime=n.lastEventTime,this.logger=n.loggerProvider,this.topLevelDomain=n.topLevelDomain,n.loggerProvider.log("Installing web attribution tracking.")}return e.prototype.init=function(){return we(this,void 0,void 0,function(){var t,n;return Ie(this,function(r){switch(r.label){case 0:return this.options.optOut?[2]:[4,this.fetchCampaign()];case 1:return n=Tt.apply(void 0,[r.sent(),2]),this.currentCampaign=n[0],this.previousCampaign=n[1],t=this.lastEventTime?iz(this.sessionTimeout,this.lastEventTime):!0,tue(this.currentCampaign,this.previousCampaign,this.options,this.logger,t,this.topLevelDomain)?(this.shouldTrackNewCampaign=!0,[4,this.storage.set(this.storageKey,this.currentCampaign)]):[3,3];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.fetchCampaign=function(){return we(this,void 0,void 0,function(){var t;return Ie(this,function(n){switch(n.label){case 0:return[4,this.storage.get(this.webExpStorageKey)];case 1:return t=n.sent(),t?[4,this.storage.remove(this.webExpStorageKey)]:[3,3];case 2:n.sent(),n.label=3;case 3:return[4,Promise.all([t||new jO().parse(),this.storage.get(this.storageKey)])];case 4:return[2,n.sent()]}})})},e.prototype.generateCampaignEvent=function(t){this.shouldTrackNewCampaign=!1;var n=iue(this.currentCampaign,this.options);return t&&(n.event_id=t),n},e.prototype.shouldSetSessionIdOnNewCampaign=function(){return this.shouldTrackNewCampaign&&!!this.options.resetSessionOnNewCampaign},e})(),ffe="[Amplitude] Attribution",pfe=new Set([Ro.IDENTIFY,Ro.GROUP_IDENTIFY]),mfe=function(e){return az(e)},hfe=function(e){var t;e===void 0&&(e={});var n=(t=e.fallbackAttributionEvent)!==null&&t!==void 0?t:!1,r=Ft(),i,o,a={},s=!1,l=!1,u,c,f,p,v=function(){return we(void 0,void 0,void 0,function(){var k;return Ie(this,function(E){switch(E.label){case 0:return[4,new jO().parse()];case 1:return k=E.sent(),a=mfe(k),n&&(o?.log("Tracking attribution fallback event."),i?.track(ffe,a)),[2]}})})},g=function(){v()},y=function(k){return new Proxy(k,{apply:function(E,S,T){Reflect.apply(E,S,T),s&&g()}})};return{name:"@amplitude/plugin-event-property-attribution-browser",type:"enrichment",setup:function(k,E){return we(void 0,void 0,void 0,function(){return Ie(this,function(S){switch(S.label){case 0:return i=E,o=k.loggerProvider,s=!0,o.log("Installing event property attribution tracking."),[4,v()];case 1:if(S.sent(),!r)return[2];if(r.addEventListener("popstate",g),!l){if(u=Reflect.get(r.history,"pushState"),c=Reflect.get(r.history,"replaceState"),!u||!c)return[2];f=y(u),r.history.pushState=f,p=y(c),r.history.replaceState=p,l=!0}return[2]}})})},execute:function(k){return we(void 0,void 0,void 0,function(){return Ie(this,function(E){return pfe.has(k.event_type)?[2,k]:(k.event_properties=me(me({},a),k.event_properties),[2,k])})})},teardown:function(){return we(void 0,void 0,void 0,function(){var k,E;return Ie(this,function(S){return r&&(r.removeEventListener("popstate",g),k=Reflect.get(r.history,"pushState"),E=Reflect.get(r.history,"replaceState"),l&&k===f&&u&&(r.history.pushState=u),l&&E===p&&c&&
12(r.history.replaceState=c)),s=!1,l=!1,u=void 0,c=void 0,f=void 0,p=void 0,a={},[2]})})}}},Pb="AMP_CURRENT_PAGE",_b="AMP_PREVIOUS_PAGE",Fp="AMP_URL_INFO",xv;(function(e){e.Direct="direct",e.Internal="internal",e.External="external"})(xv||(xv={}));var gfe=new Set([Ro.IDENTIFY,Ro.GROUP_IDENTIFY,Ro.REVENUE]),vfe=function(e){var t={},n=t.internalDomains,r=n===void 0?[]:n,i=Ft(),o=void 0,a=!1,s=void 0,l=!1,u=!1,c=function(y){var k;try{var E=Ws(y,s);k=new URL(E).hostname}catch(S){s?.error("Could not parse URL: ",S)}return k},f=function(y){var k=typeof location<"u"&&location.hostname||"",E=y?c(y):void 0;if(!E)return xv.Direct;var S=r.some(function(I){return k.indexOf(I)!==-1}),T=r.some(function(I){return E.indexOf(I)!==-1});return k===E||T&&S?xv.Internal:xv.External},p=function(){return we(void 0,void 0,void 0,function(){var y,k,E,S,T;return Ie(this,function(I){switch(I.label){case 0:return o&&a?[4,o.get(Fp)]:[3,3];case 1:return y=I.sent(),k=Ws(typeof location<"u"&&location.href||""),E=y?.[Pb]||"",S=void 0,k===E?S=y?.[_b]||"":E?S=E:S=document.referrer||"",[4,o.set(Fp,(T={},T[Pb]=k,T[_b]=S,T))];case 2:I.sent(),I.label=3;case 3:return[2]}})})},v=function(){p()},g={name:"@amplitude/plugin-page-url-enrichment-browser",type:"enrichment",setup:function(y,k){return we(void 0,void 0,void 0,function(){var E,S,T,I,A,w,R,x,D;return Ie(this,function(M){switch(M.label){case 0:if(s=y.loggerProvider,s.log("Installing @amplitude/plugin-page-url-enrichment-browser"),u=!0,!i)return[3,7];try{o=new DT(i.sessionStorage)}catch{s?.debug("sessionStorage is not available in this environment.")}return[4,o?.isEnabled()];case 1:return a=(D=M.sent())!==null&&D!==void 0?D:!1,o&&a?(E=typeof document<"u"&&document.referrer||"",S=E?c(E):void 0,T=typeof location<"u"&&location.hostname||"",I=Ws(typeof location<"u"&&location.href||""),[4,o.get(Fp)]):[3,6];case 2:return A=M.sent(),w=A?.[Pb]||"",R=!!S&&S!==T&&w!==I,R?[4,o.set(Fp,(x={},x[Pb]=I,x[_b]=E,x))]:[3,4];case 3:return M.sent(),[3,6];case 4:return[4,p()];case 5:M.sent(),M.label=6;case 6:i.addEventListener("popstate",v),l||(i.history.pushState=new Proxy(i.history.pushState,{apply:function(F,L,P){var j=Tt(P,3),B=j[0],H=j[1],G=j[2];F.apply(L,[B,H,G]),u&&v()}}),i.history.replaceState=new Proxy(i.history.replaceState,{apply:function(F,L,P){var j=Tt(P,3),B=j[0],H=j[1],G=j[2];F.apply(L,[B,H,G]),u&&v()}}),l=!0),M.label=7;case 7:return[2]}})})},execute:function(y){return we(void 0,void 0,void 0,function(){var k,E,S;return Ie(this,function(T){switch(T.label){case 0:return k=Ws(typeof location<"u"&&location.href||""),o&&a?[4,o.get(Fp)]:[3,2];case 1:if(E=T.sent(),S=E?.[_b]||"",gfe.has(y.event_type))return[2,y];y.event_properties=me(me({},y.event_properties||{}),{"[Amplitude] Page Domain":Og(y,"[Amplitude] Page Domain",typeof location<"u"&&location.hostname||""),"[Amplitude] Page Location":Og(y,"[Amplitude] Page Location",k),"[Amplitude] Page Path":Og(y,"[Amplitude] Page Path",typeof location<"u"&&Ws(location.pathname)||""),"[Amplitude] Page Title":Og(y,"[Amplitude] Page Title",HO(zO)),"[Amplitude] Page URL":Og(y,"[Amplitude] Page URL",k.split("?")[0]),"[Amplitude] Previous Page Location":S,"[Amplitude] Previous Page Type":f(S)}),T.label=2;case 2:return[2,y]}})})},teardown:function(){return we(void 0,void 0,void 0,function(){return Ie(this,function(y){switch(y.label){case 0:return i&&(i.removeEventListener("popstate",v),u=!1),o&&a?[4,o.set(Fp,{})]:[3,2];case 1:y.sent(),y.label=2;case 2:return[2]}})})}};return g};function Og(e,t,n){return e.event_properties||(e.event_properties={}),e.event_properties[t]===void 0?n:e.event_properties[t]}var yfe=function(){var e,t,n;function r(a){return typeof a!="object"||a===null?!1:"body"in a&&typeof a.body=="string"}function i(a){if(a)try{var s=new Function("return "+a)();if(typeof s=="function")return s;e?.error("Custom enrichment body did not evaluate to a function")}catch(l){e?.error("Could not create custom enrichment function",l)}return function(l){return l}}var o={name:"@amplitude/plugin-custom-enrichment-browser",type:"enrichment",setup:function(a,s){return we(void 0,void 0,void 0,function(){var l,u;return Ie(this,function(c){return e=a.loggerProvider,e?.log("Installing @amplitude/plugin-custom-enrichment-browser"),!((u=a.remoteConfig)===null||u===void 0)&&u.fetchRemoteConfig&&(a.remoteConfigClient?(l=a.remoteConfigClient.subscribe("configs.analyticsSDK.browserSDK.customEnrichment","all",function(f){f&&r(f)?n=i(f.body||""):n=i("")}),t=function(){var f;return(f=a.remoteConfigClient)===null||f===void 0?void 0:f.unsubscribe(l)}):e?.debug("Remote config client is not provided, skipping remote config fetch")),[2]})})},execute:function(a){return we(void 0,void 0,void 0,function(){var s;return Ie(this,function(l){if(n)try{return[2,(s=n(a))!==null&&s!==void 0?s:null]}catch(u){return e?.error("Could not execute custom enrichment function",u),[2,a]}return[2,a]})})},teardown:function(){return we(void 0,void 0,void 0,function(){return Ie(this,function(a){return t&&t(),[2]})})}};return o},QO="userProperty",XO="eventProperty",kfe=function(e){return e===QO||e===XO},bfe=[QO,XO],Sfe=function(e){var t=$t([],Tt(new Set((Array.isArray(e)?e:[e]).filter(kfe))),!1);return t.length>0?t:$t([],Tt(bfe),!1)},LH=function(e,t){return Sfe(e.trackingMethod).includes(t)},yU=function(e){return LH(e,QO)},Efe=function(e){return LH(e,XO)},Dw=-1,OH=(function(e){tl(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._diagnosticsSampleRate=0,n}return t.prototype.init=function(n,r,i){n===void 0&&(n="");var o,a;return arguments.length>2?(o=r,a=i):typeof r=="string"?(o=r,a=void 0):(o=r?.userId,a=r),eo(this._init(me(me({},a),{userId:o,apiKey:n})))},t.prototype._init=function(n){var r,i,o,a,s,l,u,c;return we(this,void 0,void 0,function(){var f,p,v,g,y,k,E,S,T,I,A,w,R,x,D,M=this;return Ie(this,function(F){switch(F.label){case 0:return this.initializing?[2]:(this.initializing=!0,f=due(n),p=(r=n.loggerProvider)!==null&&r!==void 0?r:new $m,n.loggerProvider||p.enable((i=n.logLevel)!==null&&i!==void 0?i:Io.Warn),v=(o=n.serverZone)!==null&&o!==void 0?o:Vz,y=this._diagnosticsSampleRate,k=(a=n.enableDiagnostics)!==null&&a!==void 0?a:!0,f?(g=new fz(n.apiKey,p,v,(s=n.remoteConfig)===null||s===void 0?void 0:s.serverUrl),[4,new Promise(function(L){g?.subscribe("configs.diagnostics.browserSDK","all",function(P,j,B){if(p.debug("Diagnostics remote configuration received:",JSON.stringify({remoteConfig:P,source:j,lastFetch:B},null,2)),P){var H=P.sampleRate;typeof H=="number"&&!isNaN(H)&&(y=H);var G=P.enabled;typeof G=="boolean"&&(k=G)}L()})})]):[3,2]);case 1:F.sent(),F.label=2;case 2:return E=new kse(n.apiKey,p,v,{enabled:k,sampleRate:y}),E.setTag("library","".concat(Mz,"/").concat(qO)),E.setTag("platform",Fz),E.setTag("web_environment",Dle()),typeof navigator<"u"&&E.setTag("user_agent",navigator.userAgent),[4,uue(n.apiKey,n,this,E,{loggerProvider:p,serverZone:v,enableDiagnostics:k,diagnosticsSampleRate:y})];case 3:return S=F.sent(),f&&g?[4,new Promise(function(L){g?.subscribe("configs.analyticsSDK.browserSDK","all",function(P,j,B){S.loggerProvider.debug("Remote configuration received:",JSON.stringify({remoteConfig:P,source:j,lastFetch:B},null,2)),P&&Sue(P,S),L()})})]:[3,5];case 4:F.sent(),F.label=5;case 5:return[4,e.prototype._init.call(this,S)];case 6:return F.sent(),this.logBrowserOptions(S),this.config.remoteConfigClient=g,T=wle(this.config),px(this.config.defaultTracking)&&yU(T)?(this.config.optOut&&this.timeline.addOptOutListener(function(L){return we(M,void 0,void 0,function(){return Ie(this,function(P){switch(P.label){case 0:return L?[3,2]:(this.webAttribution=new vU(T,this.config),[4,this.webAttribution.init()]);case 1:P.sent(),P.label=2;case 2:return[2]}})})}),this.webAttribution=new vU(T,this.config),[4,this.webAttribution.init()]):[3,8];case 7:F.sent(),F.label=8;case 8:return I=WS(),A=I.ampTimestamp?Number(I.ampTimestamp):void 0,w=A?Date.now()<A:!0,R=w&&!Number.isNaN(Number(I.ampSessionId))?Number(I.ampSessionId):void 0,x=this.config.deferredSessionId,x===Dw&&!this.config.optOut&&(x=Date.now()),this.setSessionId((c=(u=(l=n.sessionId)!==null&&l!==void 0?l:R)!==null&&u!==void 0?u:x)!==null&&c!==void 0?c:this.config.sessionId),this.config.optOut&&this.timeline.addOptOutListener(function(L){return we(M,void 0,void 0,function(){return Ie(this,function(P){return!L&&this.config.deferredSessionId&&(this.config.deferredSessionId===Dw?this.setSessionId(void 0):this.setSessionId(this.config.deferredSessionId)),[2]})})}),D=Ff(n.instanceName),D.identityStore.setIdentity({userId:this.config.userId,deviceId:this.config.deviceId}),this.config.offline===pz?[3,10]:[4,this.add(bue()).promise];case 9:F.sent(),F.label=10;case 10:return[4,this.add(new qae({diagnosticsClient:E})).promise];case 11:return F.sent(),[4,this.add(new Fle).promise];case 12:return F.sent(),[4,this.add(new tse).promise];case 13:return F.sent(),kue(this.config),yle(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding file download tracking plugin"),[4,this.add(yue()).promise]):[3,15];case 14:F.sent(),F.label=15;case 15:return Lz(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding form interaction plugin"),[4,this.add(vue()).promise]):[3,17];case 16:F.sent(),F.label=17;case 17:return Oz(this.config.defaultTracking)?this.config.optOut?[3,19]:(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add(U3(O3(this.config))).promise]):[3,20];case 18:return F.sent(),[3,20];case 19:this.timeline.addOptOutListener(function(L){return we(M,void 0,void 0,function(){return Ie(this,function(P){switch(P.label){case 0:return L?[2]:(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add(U3(O3(this.config))).promise]);case 1:return P.sent(),[2]}})})}),F.label=20;case 20:return px(this.config.defaultTracking)&&Efe(T)?(this.config.loggerProvider.debug("Adding event property attribution plugin"),[4,this.add(hfe(T)).promise]):[3,22];case 21:F.sent(),F.label=22;case 22:return _z(this.config.autocapture)?(this.config.loggerProvider.debug("Adding user interactions plugin (autocapture plugin)"),[4,this.add(Ede(Cle
12(this.config),{diagnosticsClient:E})).promise]):[3,24];case 23:F.sent(),F.label=24;case 24:return Dz(this.config.autocapture)?(this.config.loggerProvider.debug("Adding frustration interactions plugin"),[4,this.add(Mde(Ale(this.config))).promise]):[3,26];case 25:F.sent(),F.label=26;case 26:return Pz(this.config.autocapture)?(this.config.loggerProvider.debug("Adding network tracking plugin"),[4,this.add(Qde(Ile(this.config))).promise]):[3,28];case 27:F.sent(),F.label=28;case 28:return ble(this.config.autocapture)?(this.config.loggerProvider.debug("Adding web vitals plugin"),[4,this.add(dfe()).promise]):[3,30];case 29:F.sent(),F.label=30;case 30:return Sle(this.config.autocapture)?(this.config.loggerProvider.debug("Adding performance tracking plugin"),[4,this.add(Wde(Ele(this.config))).promise]):[3,32];case 31:F.sent(),F.label=32;case 32:return kle(this.config.autocapture)?(this.config.loggerProvider.debug("Adding referrer page url plugin"),[4,this.add(vfe()).promise]):[3,34];case 33:F.sent(),F.label=34;case 34:return Tle(this.config.customEnrichment)?(this.config.loggerProvider.debug("Adding custom enrichment plugin"),[4,this.add(yfe()).promise]):[3,36];case 35:F.sent(),F.label=36;case 36:return this.initializing=!1,[4,this.runQueuedFunctions("dispatchQ")];case 37:return F.sent(),D.eventBridge.setEventReceiver(function(L){var P=L.eventProperties||{},j=P.time,B=Nu(P,["time"]),H=typeof j=="number"?{time:j}:void 0;M.track(L.eventType,B,H)}),[2]}})})},t.prototype.getUserId=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.userId},t.prototype.setUserId=function(n){if(!this.config){this.q.push(this.setUserId.bind(this,n));return}
12this.config.loggerProvider.debug("function setUserId: ",n),(n!==this.config.userId||n===void 0)&&(this.config.userId=n,this.timeline.onIdentityChanged({userId:n}),Xae(n,this.config.instanceName))},t.prototype.getDeviceId=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.deviceId},t.prototype.setDeviceId=function(n){if(!this.config){this.q.push(this.setDeviceId.bind(this,n));return}this.config.loggerProvider.debug("function setDeviceId: ",n),n!==this.config.deviceId&&(this.config.deviceId=n,this.timeline.onIdentityChanged({deviceId:n}),ese(n,this.config.instanceName))},t.prototype.reset=function(){this.setDeviceId(Gs()),this.setUserId(void 0),this.timeline.onReset()},t.prototype.getIdentity=function(){var n,r;return{deviceId:(n=this.config)===null||n===void 0?void 0:n.deviceId,userId:(r=this.config)===null||r===void 0?void 0:r.userId,userProperties:this.userProperties}},t.prototype.setIdentity=function(n){var r,i,o;if("userId"in n&&this.setUserId(n.userId),"deviceId"in n&&n.deviceId&&this.setDeviceId(n.deviceId),"userProperties"in n){this.userProperties=n.userProperties;var a=new Rm,s=(o=n.userProperties)!==null&&o!==void 0?o:{};try{for(var l=yt(Object.entries(s)),u=l.next();!u.done;u=l.next()){var c=Tt(u.value,2),f=c[0],p=c[1];a.set(f,p)}}catch(v){r={error:v}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}this.identify(a)}},t.prototype.getOptOut=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.optOut},t.prototype.getSessionId=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.sessionId},t.prototype.setSessionId=function(n){var r,i=[];if(!this.config)return this.q.push(this.setSessionId.bind(this,n)),eo(Promise.resolve());if(this.config.optOut)return this.config.deferredSessionId=n??Dw,eo(Promise.resolve());if(n===void 0&&(n=Date.now()),n===this.config.sessionId)return eo(Promise.resolve());this.config.loggerProvider.debug("function setSessionId: ",n);var o=this.getSessionId();o!==n&&this.timeline.onSessionIdChanged(n);var a=this.config.lastEventTime,s=(r=this.config.lastEventId)!==null&&r!==void 0?r:-1;this.config.sessionId=n,this.config.lastEventTime=void 0,this.config.pageCounter=0,L3(this.config.defaultTracking)&&(o&&a&&i.push(this.track(D3,void 0,{device_id:this.previousSessionDeviceId,event_id:++s,session_id:o,time:a+1,user_id:this.previousSessionUserId}).promise),this.config.lastEventTime=this.config.sessionId);var l=this.trackCampaignEventIfNeeded(++s,i);return this.config.identify&&i.push(this.track(MO(this.config.identify)).promise),L3(this.config.defaultTracking)&&i.push(this.track(_3,void 0,{event_id:l?++s:s,session_id:this.config.sessionId,time:this.config.lastEventTime}).promise),this.previousSessionDeviceId=this.config.deviceId,this.previousSessionUserId=this.config.userId,eo(Promise.all(i))},t.prototype.extendSession=function(){if(!this.config){this.q.push(this.extendSession.bind(this));return}this.config.lastEventTime=Date.now()},t.prototype.setTransport=function(n){if(!this.config){this.q.push(this.setTransport.bind(this,n));return}this.config.transportProvider=zz(n)},t.prototype.identify=function(n,r){if(Cw(n)){var i=n._q;n._q=[],n=Z0(new Rm,i)}return r?.user_id&&this.setUserId(r.user_id),r?.device_id&&this.setDeviceId(r.device_id),e.prototype.identify.call(this,n,r)},t.prototype.groupIdentify=function(n,r,i,o){if(Cw(i)){var a=i._q;i._q=[],i=Z0(new Rm,a)}return e.prototype.groupIdentify.call(this,n,r,i,o)},t.prototype.revenue=function(n,r){if(Cw(n)){var i=n._q;n._q=[],n=Z0(new tz,i)}return e.prototype.revenue.call(this,n,r)},t.prototype.trackCampaignEventIfNeeded=function(n,r){if(!this.webAttribution||!this.webAttribution.shouldTrackNewCampaign||!yU(this.webAttribution.options))return!1;var i=this.webAttribution.generateCampaignEvent(n);return r?r.push(this.track(i).promise):this.track(i),this.config.loggerProvider.log("Tracking attribution."),!0},t.prototype.process=function(n){return we(this,void 0,void 0,function(){var r,i,o;return Ie(this,function(a){return r=Date.now(),i=iz(this.config.sessionTimeout,this.config.lastEventTime),o=this.webAttribution&&this.webAttribution.shouldSetSessionIdOnNewCampaign(),n.event_type!==_3&&n.event_type!==D3&&(!n.session_id||n.session_id===this.getSessionId())&&(i||o?(this.setSessionId(r),o&&this.config.loggerProvider.log("Created a new session for new campaign.")):i||this.trackCampaignEventIfNeeded()),[2,e.prototype.process.call(this,n)]})})},t.prototype.logBrowserOptions=function(n){try{var r=me(me({},n),{apiKey:n.apiKey.substring(0,10)+"********"});this.config.loggerProvider.debug("Initialized Amplitude with BrowserConfig:",cx(r))}catch(i){this.config.loggerProvider.error("Error logging browser config",i)}},t.prototype._setDiagnosticsSampleRate=function(n){if(!(n>1||n<0)&&!this.config){this._diagnosticsSampleRate=n;return}},t})(Fae),PH=function(){var e=new OH;return{init:Jn(e.init.bind(e),"init",Fr(e),Ur(e,["config"])),add:Jn(e.add.bind(e),"add",Fr(e),Ur(e,["config.apiKey","timeline.plugins"])),remove:Jn(e.remove.bind(e),"remove",Fr(e),Ur(e,["config.apiKey","timeline.plugins"])),track:Jn(e.track.bind(e),"track",Fr(e),Ur(e,["config.apiKey","timeline.queue.length"])),logEvent:Jn(e.logEvent.bind(e),"logEvent",Fr(e),Ur(e,["config.apiKey","timeline.queue.length"])),identify:Jn(e.identify.bind(e),"identify",Fr(e),Ur(e,["config.apiKey","timeline.queue.length"])),groupIdentify:Jn(e.groupIdentify.bind(e),"groupIdentify",Fr(e),Ur(e,["config.apiKey","timeline.queue.length"])),setGroup:Jn(e.setGroup.bind(e),"setGroup",Fr(e),Ur(e,["config.apiKey","timeline.queue.length"])),revenue:Jn(e.revenue.bind(e),"revenue",Fr(e),Ur(e,["config.apiKey","timeline.queue.length"])),flush:Jn(e.flush.bind(e),"flush",Fr(e),Ur(e,["config.apiKey","timeline.queue.length"])),getUserId:Jn(e.getUserId.bind(e),"getUserId",Fr(e),Ur(e,["config","config.userId"])),setUserId:Jn(e.setUserId.bind(e),"setUserId",Fr(e),Ur(e,["config","config.userId"])),getDeviceId:Jn(e.getDeviceId.bind(e),"getDeviceId",Fr(e),Ur(e,["config","config.deviceId"])),setDeviceId:Jn(e.setDeviceId.bind(e),"setDeviceId",Fr(e),Ur(e,["config","config.deviceId"])),reset:Jn(e.reset.bind(e),"reset",Fr(e),Ur(e,["config","config.userId","config.deviceId"])),getSessionId:Jn(e.getSessionId.bind(e),"getSessionId",Fr(e),Ur(e,["config"])),setSessionId:Jn(e.setSessionId.bind(e),"setSessionId",Fr(e),Ur(e,["config"])),extendSession:Jn(e.extendSession.bind(e),"extendSession",Fr(e),Ur(e,["config"])),setOptOut:Jn(e.setOptOut.bind(e),"setOptOut",Fr(e),Ur(e,["config"])),setTransport:Jn(e.setTransport.bind(e),"setTransport",Fr(e),Ur(e,["config"])),getIdentity:Jn(e.getIdentity.bind(e),"getIdentity",Fr(e),Ur(e,["config"])),setIdentity:Jn(e.setIdentity.bind(e),"setIdentity",Fr(e),Ur(e,["config","config.userId","config.deviceId"])),getOptOut:Jn(e.getOptOut.bind(e),"getOptOut",Fr(e),Ur(e,["config"])),_setDiagnosticsSampleRate:Jn(e._setDiagnosticsSampleRate.bind(e),"_setDiagnosticsSampleRate",Fr(e),Ur(e,["config"]))}};const Wr=PH();var Tfe=(function(){function e(t){this.amplitude=t,this.videoEl=null,this.embeddedVideoPlayer=null,this.extraEventProperties={},this.listeners=[],this.onRemoveListeners=[]}return e.prototype.withVideoElement=function(t){return this.videoEl=t,this},e.prototype.withEmbeddedPlayer=function(t){return this.embeddedVideoPlayer=t,this},e.prototype.withVendor=function(t){return this.vendor=t,this},e.prototype.withExtraEventProperties=function(t){return this.extraEventProperties=t,this},e.prototype.captureVideoStarted=function(){var t=this;return this.listeners.push(function(n,r){n.playbackState!=="playing"&&r.playbackState==="playing"&&t.amplitude.track("Video Content Started",me(me({},r.lastEvent),t.extraEventProperties))}),this},e.prototype.captureVideoStopped=function(){var t=this;return this.listeners.push(function(n,r){n.playbackState==="playing"&&r.playbackState!=="playing"&&t.amplitude.track("Video Content Stopped",me(me(me({},r.lastEvent),{watch_duration:r.watchTime}),t.extraEventProperties))}),this},e.prototype.start=function(){var t=this,n,r=(n=this.videoEl)!==null&&n!==void 0?n:this.embeddedVideoPlayer;if(!r)throw new Error("Video element not specified. Use withVideoElement() or withEmbeddedPlayer() to specify the video element.");if(this.videoEl&&this.embeddedVideoPlayer)throw new Error("Both video element and embedded video player specified. Use only one of withVideoElement() or withEmbeddedPlayer() to specify the video element.");var i=new mle({videoEl:r,onStateChange:function(o,a){t.listeners.forEac
12h(function(s){return s(o,a)})},vendor:this.vendor,isEmbedded:!!this.embeddedVideoPlayer});return this.onRemoveListeners.push(function(){i.destroy()}),this},e.prototype.stop=function(){this.onRemoveListeners.forEach(function(t){return t()}),this.onRemoveListeners=[]},e})();function Cfe(e,t,n){var r;n===void 0&&(n={});var i=new Tfe(e);t instanceof HTMLVideoElement?i.withVideoElement(t):i.withEmbeddedPlayer(t),n.vendor&&i.withVendor(n.vendor);var o=(r=n.extraEventProperties)!==null&&r!==void 0?r:{};try{i.withExtraEventProperties(me({view_session_id:Gs()},o)).captureVideoStarted().captureVideoStopped().start()}catch(a){return a}return function(){return i.stop()}}var Afe=Wr.add,Ife=Wr.extendSession,wfe=Wr.flush,Nfe=Wr.getDeviceId,Rfe=Wr.getIdentity,xfe=Wr.getOptOut,_H=Wr.getSessionId,DH=Wr.getUserId,Lfe=Wr.groupIdentify,Ofe=Wr.identify,Pfe=Wr.init,_fe=Wr.logEvent,Dfe=Wr.remove,Mfe=Wr.reset,Ffe=Wr.revenue,Ufe=Wr.setDeviceId,Vfe=Wr.setGroup,Bfe=Wr.setIdentity,jfe=Wr.setOptOut,zfe=Wr.setSessionId,Hfe=Wr.setTransport,Wfe=Wr.setUserId,qfe=Wr.track,Gfe=Wr._setDiagnosticsSampleRate;const Kfe=Object.freeze(Object.defineProperty({__proto__:null,AmplitudeBrowser:OH,Identify:Rm,Revenue:tz,Types:Qle,_setDiagnosticsSampleRate:Gfe,add:Afe,createInstance:PH,extendSession:Ife,flush:wfe,getDeviceId:Nfe,getIdentity:Rfe,getOptOut:xfe,getSessionId:_H,getUserId:DH,groupIdentify:Lfe,identify:Ofe,init:Pfe,logEvent:_fe,remove:Dfe,reset:Mfe,revenue:Ffe,runQueuedFunctions:Rle,setDeviceId:Ufe,setGroup:Vfe,setIdentity:Bfe,setOptOut:jfe,setSessionId:zfe,setTransport:Hfe,setUserId:Wfe,track:qfe,trackVideo:Cfe},Symbol.toStringTag,{value:"Module"}));var MH="[Amplitude]",Yfe="".concat(MH," Session Replay ID"),$fe=0,Jfe=GS.US,Zfe={enabled:!0},eP=1e3,Qfe="".concat(MH," Session Replay Debug"),Xfe="amp-block",FH="amp-mask",UH="amp-unmask",VH="https://api-sr.amplitude.com/sessions/v2/track",BH="https://api-sr.eu.amplitude.com/sessions/v2/track",jH="https://api-sr.stag2.amplitude.com/sessions/v2/track",epe=2e6,tpe=6e6,zH=9*1e6,npe=/payload.*exceed/i,rpe=3e4,ipe=6e4,bx=500,Sx=10*1e3,ope=1e3,ape=10*1e3,Ex=1024,spe=1e3,lpe=64*1024,upe=1e4,kU="X-Session-Replay-Event-Skipped",cpe="429",dpe="4004",fpe="4005",bU=6e4,ppe=2*epe,X0="amplitude-sr-iframe",Eu;(function(e){e.GET_SR_PROPS="get-sr-props",e.DEBUG_INFO="debug-info",e.FETCH_REQUEST="fetch-request",e.METADATA="metadata",e.TARGETING_DECISION="targeting-decision",e.REPLAY_GATE_DECISION="replay-gate-decision"})(Eu||(Eu={}));var Tx=(function(){function e(t){this.logger=t,this.log=this.getSafeMethod("log"),this.warn=this.getSafeMethod("warn"),this.error=this.getSafeMethod("error"),this.debug=this.getSafeMethod("debug")}return e.prototype.getSafeMethod=function(t){var n;if(!this.logger)return(function(){});var r=this.logger[t];if(typeof r=="function"){var i=(n=r.__rrweb_original__)!==null&&n!==void 0?n:r;return i.bind(this.logger)}return(function(){})},e.prototype.enable=function(t){this.logger.enable(t)},e.prototype.disable=function(){this.logger.disable()},e})(),tP="medium";function mpe(e){return e.toLowerCase()}function hpe(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?mpe(t):null}function Lv(e,t){return t||(e==="STAGING"?jH:e==="EU"?BH:VH)}var HH=function(e,t,n){switch(t){case"light":{if(e!=="input")return!1;var r=n?hpe(n):"";return r?!!(["password","hidden","email","tel"].includes(r)||n.autocomplete.startsWith("cc-")):!1}case"medium":return e==="input";case"conservative":return!0;default:return HH(e,tP,n)}},WH=function(e,t){var n,r,i;if(e&&t.urlMaskLevels)try{for(var o=yt(t.urlMaskLevels),a=o.next();!a.done;a=o.next()){var s=a.value;if(GH(s.match).test(e))return s.maskLevel}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return(i=t.defaultMaskLevel)!==null&&i!==void 0?i:tP},qH=function(e,t,n,r){var i,o;if(t===void 0&&(t={defaultMaskLevel:tP}),n){if(n.closest("."+FH))return!0;var a=((i=t.maskSelector)!==null&&i!==void 0?i:[]).some(function(l){return n.closest(l)});if(a)return!0;if(n.closest("."+UH))return!1;var s=((o=t.unmaskSelector)!==null&&o!==void 0?o:[]).some(function(l){return n.closest(l)});if(s)return!1}return HH(e,WH(r,t),n)},SU=function(e,t,n){return function(r,i){return qH(e,t,i,n?.())?r.replace(/[^\s]/g,"*"):r}},gpe=function(e,t){return function(n,r,i){var o;if(n==="style"||!((o=e?.maskAttributes)!==null&&o!==void 0?o:[]).includes(n))return r;var a=["INPUT","SELECT","TEXTAREA"].includes(i.tagName)?"input":"text";return qH(a,e,i,t?.())?r.replace(/[^\s]/g,"*"):r}},Cx=function(){var e=Ft();return e?.location?e.location.href:""},vpe=function(e,t){return"".concat(t,"/").concat(e)},ype=function(e){if(typeof e!="string"||e.trim()==="")return!1;var t=/^\/|^https?:\/\/[^\s]+$/;return!!t.test(e)},EU=new Map,GH=function(e){var t=EU.get(e);if(t)return t;var n="\0TRAIL\0",r="\0MID\0",i="\0DS\0",o="\0ST\0",a="\0QU\0",s=e;s=s.replace(/\/\*\*$/,n),s=s.replace(/\/\*\*\//g,r),s=s.replace(/\*\*/g,i),s=s.replace(/\*/g,o),s=s.replace(/\?/g,a),s=s.replace(/[.+^${}()|[\]\\]/g,"\\$&"),s=s.split(n).join("(/.*)?"),s=s.split(r).join("/(.*\\/)?"),s=s.split(i).join(".*"),s=s.split(o).join(".*"),s=s.split(a).join(".");var l=new RegExp("^".concat(s,"$"));return EU.set(e,l),l},kpe=function(e){if(!e.every(function(t){return typeof t.selector=="string"&&typeof t.replacement=="string"}))throw new Error("ugcFilterRules must be an array of objects with selector and replacement properties");if(!e.every(function(t){return ype(t.selector)}))throw new Error("ugcFilterRules must be an array of objects with valid globs")},VT=function(e,t){var n,r;try{for(var i=yt(t),o=i.next();!o.done;o=i.next()){var a=o.value,s=GH(a.selector);if(s.test(e))return e.replace(s,a.replacement)}}catch(l){n={error:l}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e},KH=function(){return we(void 0,void 0,void 0,function(){var e,t,n,r,i,o,a;return Ie(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),e=Ft(),e?[4,e.navigator.storage.estimate()]:[3,2];case 1:return t=s.sent(),n=t.usage,r=t.quota,i=t.usageDetails,o=n?Math.round(n/Ex):0,a=n&&r?Math.round((n/r+Number.EPSILON)*1e3)/1e3:0,[2,{totalStorageSize:o,percentOfQuota:a,usageDetails:JSON.stringify(i)}];case 2:return[3,4];case 3:return s.sent(),[3,4];case 4:return[2,{totalStorageSize:0,percentOfQuota:0,usageDetails:""}]}})})},YH=function(e){var t=me({},e),n=t.apiKey;return t.apiKey="****".concat(n.substring(n.length-4)),t},$H=function(){return{flushMaxRetries:2,logLevel:Io.Warn,loggerProvider:new $m,transportProvider:new bse}},bpe=(function(e){tl(t,e);function t(n,r){var i=this,o,a,s,l,u,c,f,p,v,g,y,k,E,S,T=$H();i=e.call(this,me(me({transportProvider:T.transportProvider,loggerProvider:new Tx(r.loggerProvider||T.loggerProvider)},r),{apiKey:n}))||this,i.flushMaxRetries=r.flushMaxRetries!==void 0&&r.flushMaxRetries<=T.flushMaxRetries?r.flushMaxRetries:T.flushMaxRetries,i.apiKey=n,i.sampleRate=r.sampleRate||$fe,i.serverZone=r.serverZone||Jfe,i.configServerUrl=r.configServerUrl,i.trackServerUrl=r.trackServerUrl,i.shouldInlineStylesheet=r.shouldInlineStylesheet,i.inlineImages=r.inlineImages,i.version=r.version,i.performanceConfig=r.performanceConfig||Zfe,i.storeType=(o=r.storeType)!==null&&o!==void 0?o:"memory",i.applyBackgroun
12dColorToBlockedElements=(a=r.applyBackgroundColorToBlockedElements)!==null&&a!==void 0?a:!1,i.enableUrlChangePolling=(s=r.enableUrlChangePolling)!==null&&s!==void 0?s:!1,i.urlChangePollingInterval=(l=r.urlChangePollingInterval)!==null&&l!==void 0?l:eP,i.captureDocumentTitle=(u=r.captureDocumentTitle)!==null&&u!==void 0?u:!1,r.fullSnapshotIntervalMs!==void 0&&(i.fullSnapshotIntervalMs=r.fullSnapshotIntervalMs),r.eagerFullSnapshotSend!==void 0&&(i.eagerFullSnapshotSend=r.eagerFullSnapshotSend),i.captureFullSnapshotOnFocus=(c=r.captureFullSnapshotOnFocus)!==null&&c!==void 0?c:!1,r.maxPersistedEventsSizeBytes!==void 0&&(i.maxPersistedEventsSizeBytes=CU(r.maxPersistedEventsSizeBytes,TU,Spe,"maxPersistedEventsSizeBytes",i.loggerProvider)),r.maxSingleEventSizeBytes!==void 0&&(i.maxSingleEventSizeBytes=CU(r.maxSingleEventSizeBytes,TU,Epe,"maxSingleEventSizeBytes",i.loggerProvider)),i.privacyConfig=me(me({},(f=r.privacyConfig)!==null&&f!==void 0?f:{}),{unmaskSelector:Array.from(new Set($t([".".concat(UH)],Tt((v=(p=r.privacyConfig)===null||p===void 0?void 0:p.unmaskSelector)!==null&&v!==void 0?v:[]),!1)))}),r.interactionConfig&&(i.interactionConfig=r.interactionConfig,i.interactionConfig.ugcFilterRules&&kpe(i.interactionConfig.ugcFilterRules)),r.debugMode&&(i.debugMode=r.debugMode);var I=r;return i.useWebWorker=(k=(g=r.useWebWorker)!==null&&g!==void 0?g:(y=I.experimental)===null||y===void 0?void 0:y.useWebWorker)!==null&&k!==void 0?k:!0,i.enableTransportCompression=(E=r.enableTransportCompression)!==null&&E!==void 0?E:!0,i.sendTimeoutMs=r.sendTimeoutMs,i.captureAdoptedStyleSheets=(S=r.captureAdoptedStyleSheets)!==null&&S!==void 0?S:!0,r.crossOriginIframes&&(i.crossOriginIframes=r.crossOriginIframes),r.flushIntervalConfig?i.flushIntervalConfig=Tpe(r.flushIntervalConfig,i.loggerProvider):i.flushIntervalConfig={minIntervalMs:ope,maxIntervalMs:ape},i.handleSendEvents=r.handleSendEvents,i.handleFetchConfig=r.handleFetchConfig,i}return t})(nz),Up=100,TU=1e3,Spe=8e6,Epe=1e7;function CU(e,t,n,r,i){if(!Number.isFinite(e)){i.warn("".concat(r," value is not a finite number (got ").concat(String(e),"); ignoring."));return}return e<t?(i.warn("".concat(r," ").concat(e," is below floor ").concat(t,"; clamping.")),t):e>n?(i.warn("".concat(r," ").concat(e," exceeds ceiling ").concat(n,"; clamping.")),n):e}function Tpe(e,t){var n,r,i={};if(e.minIntervalMs!==void 0&&(!Number.isFinite(e.minIntervalMs)||e.minIntervalMs<Up?(t.warn("flushIntervalConfig.minIntervalMs ".concat(e.minIntervalMs," is below floor ").concat(Up,"ms; clamping.")),i.minIntervalMs=Up):i.minIntervalMs=e.minIntervalMs),e.maxIntervalMs!==void 0&&(Number.isNaN(e.maxIntervalMs)||e.maxIntervalMs<Up?(t.warn("flushIntervalConfig.maxIntervalMs ".concat(e.maxIntervalMs," is below floor ").concat(Up,"ms; clamping.")),i.maxIntervalMs=Up):i.maxIntervalMs=e.maxIntervalMs),i.minIntervalMs!==void 0||i.maxIntervalMs!==void 0){var o=(n=i.minIntervalMs)!==null&&n!==void 0?n:bx,a=(r=i.maxIntervalMs)!==null&&r!==void 0?r:Sx;a<o&&(i.maxIntervalMs===void 0?(t.warn("flushIntervalConfig.minIntervalMs (".concat(o,") exceeds the default maxIntervalMs (").concat(Sx,"); raising max to match min.")),i.maxIntervalMs=o):i.minIntervalMs===void 0?(t.warn("flushIntervalConfig.maxIntervalMs (".concat(a,") is below the default minIntervalMs (").concat(bx,"); lowering min to match max.")),i.minIntervalMs=a):(t.warn("flushIntervalConfig.maxIntervalMs (".concat(i.maxIntervalMs,") is less than minIntervalMs (").concat(i.minIntervalMs,"); raising max to match min.")),i.maxIntervalMs=i.minIntervalMs))}return i}var BT=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(BT||{}),nP=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(nP||{}),JH=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(JH||{}),Cpe=1500,Ape=function(e,t){var n=document.createDocumentFragment(),r=function(i){if(i===void 0&&(i=[]),typeof i=="string"&&(i=[i]),i=i.filter(function(o){try{n.querySelector(o)}catch{return t.warn('[session-replay-browser] omitting selector "'.concat(o,'" because it is invali
12d')),!1}return!0}),i.length!==0)return i};return e.blockSelector=r(e.blockSelector),e.maskSelector=r(e.maskSelector),e.unmaskSelector=r(e.unmaskSelector),e},Ipe=(function(){function e(t,n){this.localConfig=n,this.remoteConfigClient=t}return e.prototype.generateJoinedConfig=function(){var t,n,r,i,o,a,s;return we(this,void 0,void 0,function(){var l,u,c,f,p,v,g,y,k,E,S,T,I,A,w,R,x,D=this;return Ie(this,function(M){switch(M.label){case 0:l=me({},this.localConfig),l.optOut=this.localConfig.optOut,l.captureEnabled=!0,M.label=1;case 1:return M.trys.push([1,3,,4]),[4,new Promise(function(F,L){D.remoteConfigClient.subscribe("configs.sessionReplay",{timeout:Cpe},function(P,j){var B;if(D.localConfig.loggerProvider.debug("Session Replay remote configuration received from ".concat(j,":"),JSON.stringify(P,null,2)),!P){L(new Error("No remote config received"));return}var H=P,G=H.sr_sampling_config,O=H.sr_privacy_config,V=H.sr_targeting_config,W=(B=l.interactionConfig)===null||B===void 0?void 0:B.ugcFilterRules;l.interactionConfig=H.sr_interaction_config,l.interactionConfig&&W&&(l.interactionConfig.ugcFilterRules=W),l.loggingConfig=H.sr_logging_config,(G||O||V)&&(u={},G&&(u.sr_sampling_config=G),O&&(u.sr_privacy_config=O),V&&(u.sr_targeting_config=V)),F()})})];case 2:return M.sent(),[3,4];case 3:return c=M.sent(),this.localConfig.loggerProvider.error("Failed to generate joined config: ",c),l.captureEnabled=!1,[2,{localConfig:this.localConfig,joinedConfig:l,remoteConfig:void 0}];case 4:if(!u)return[2,{localConfig:this.localConfig,joinedConfig:l,remoteConfig:u}];if(f=u.sr_sampling_config,p=u.sr_privacy_config,v=u.sr_targeting_config,f&&Object.keys(f).length>0?(Object.prototype.hasOwnProperty.call(f,"capture_enabled")?l.captureEnabled=f.capture_enabled:l.captureEnabled=!1,Object.prototype.hasOwnProperty.call(f,"sample_rate")&&(l.sampleRate=f.sample_rate),Object.prototype.hasOwnProperty.call(f,"min_session_duration_ms")&&(l.minSessionDurationMs=this.sanitizeMinSessionDurationMs(f.min_session_duration_ms))):(l.captureEnabled=!0,this.localConfig.loggerProvider.debug("Remote config successfully fetched, but no values set for project, Session Replay capture enabled.")),p){g=(t=l.privacyConfig)!==null&&t!==void 0?t:{},y={defaultMaskLevel:(r=(n=p.defaultMaskLevel)!==null&&n!==void 0?n:g.defaultMaskLevel)!==null&&r!==void 0?r:"medium",blockSelector:[],maskSelector:[],unmaskSelector:[],maskAttributes:$t([],Tt(new Set($t($t([],Tt((i=g.maskAttributes)!==null&&i!==void 0?i:[]),!1),Tt((o=p.maskAttributes)!==null&&o!==void 0?o:[]),!1))),!1),urlMaskLevels:$t($t([],Tt((a=p.urlMaskLevels)!==null&&a!==void 0?a:[]),!1),Tt((s=g.urlMaskLevels)!==null&&s!==void 0?s:[]),!1)},k=function(F){var L,P,j,B,H,G,O,V,W,U={};typeof F.blockSelector=="string"&&(F.blockSelector=[F.blockSelector]);try{for(var q=yt((O=F.blockSelector)!==null&&O!==void 0?O:[]),$=q.next();!$.done;$=q.next()){var J=$.value;U[J]="block"}}catch(ce){L={error:ce}}finally{try{$&&!$.done&&(P=q.return)&&P.call(q)}finally{if(L)throw L.error}}try{for(var Z=yt((V=F.maskSelector)!==null&&V!==void 0?V:[]),Y=Z.next();!Y.done;Y=Z.next()){var J=Y.value;U[J]="mask"}}catch(ce){j={error:ce}}finally{try{Y&&!Y.done&&(B=Z.return)&&B.call(Z)}finally{if(j)throw j.error}}try{for(var ee=yt((W=F.unmaskSelector)!==null&&W!==void 0?W:[]),te=ee.next();!te.done;te=ee.next()){var J=te.value;U[J]="unmask"}}catch(ce){H={error:ce}}finally{try{te&&!te.done&&(G=ee.return)&&G.call(ee)}finally{if(H)throw H.error}}return U},E=me(me({},k(g)),k(p));try{for(S=yt(Object.entries(E)),T=S.next();!T.done;T=S.next())I=Tt(T.value,2),A=I[0],w=I[1],w==="mask"?y.maskSelector.push(A):w==="block"?y.blockSelector.push(A):w==="unmask"&&y.unmaskSelector.push(A)}catch(F){R={error:F}}finally{try{T&&!T.done&&(x=S.return)&&x.call(S)}finally{if(R)throw R.error}}l.privacyConfig=Ape(y,this.localConfig.loggerProvider)}return v&&Object.keys(v).length>0&&(l.targetingConfig=v),this.localConfig.loggerProvider.debug(JSON.stringify({name:"session replay joined config",config:YH(l)},null,2)),[2,{localConfig:this.localConfig,joinedConfig:l,remoteConfig:u}]}})})},e.prototype.sanitizeMinSessionDurationMs=function(t){if(typeof t!="number"||!Number.isFinite(t)){this.localConfig.loggerProvider.warn("min_session_duration_ms remote value is not a finite number (got ".concat(String(t),"); ignoring."));return}if(t<0){this.localConfig.loggerProvider.warn("min_session_duration_ms remote value is negative (".concat(t,"); ignoring."));return}return t>Mw?(this.localConfig.loggerProvider.warn("min_session_duration_ms remote value ".concat(t," exceeds ").concat(Mw,"ms ceiling; clamping.")),Mw):t},e})(),Mw=6e4,wpe=function(e,t){return we(void 0,void 0,void 0,function(){var n,r;return Ie(this,function(i){return n=new bpe(e,t),r=new fz(e,n.loggerProvider,n.serverZone,t.configServerUrl,t.handleFetchConfig),[2,new Ipe(r,n)]})})};function AU(e){if(e.type!==BT.IncrementalSnapshot)return!1;var t=e.data;return t.source===nP.Mutation&&!t.isAttachIframe}function Npe(e){return typeof e=="object"&&e!==null}function Rpe(e){var t,n,r,i,o={};try{for(var a=yt(e),s=a.next();!s.done;s=a.next()){var l=s.value;try{for(var u=(r=void 0,yt(Object.keys(l))),c=u.next();!c.done;c=u.next()){var f=c.value;o[f]=l[f]}}catch(p){r={error:p}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}}catch(p){t={error:p}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o}function xpe(e){var t,n,r=new Map;if(e.forEach(function(p,v){if(p.attributes&&"style"in p.attributes){var g=r.get(p.id);g?g.push(v):r.set(p.id,[v])}}),r.size===0)return e;var i=function(p){return e[p].attributes.style},o=new Set,a=new Map,s=function(p){if(p.length===1)return"continue";var v=-1;p.forEach(function(E,S){Npe(i(E))||(v=S)});var g=[];
12if(p.forEach(function(E,S){S!==v&&(o.add(E),S>v&&g.push(E))}),g.length>0){var y=g[g.length-1],k=Rpe(g.map(function(E){return i(E)}));o.delete(y),a.set(y,k)}};try{for(var l=yt(r.values()),u=l.next();!u.done;u=l.next()){var c=u.value;s(c)}}catch(p){t={error:p}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}if(o.size===0&&a.size===0)return e;var f=[];return e.forEach(function(p,v){var g=a.get(v);if(g!==void 0){f.push(me(me({},p),{attributes:me(me({},p.attributes),{style:g})}));return}if(!o.has(v)){f.push(p);return}var y=me({},p.attributes);delete y.style,Object.keys(y).length>0&&f.push(me(me({},p),{attributes:y}))}),f}function Lpe(e){var t,n,r,i,o=e[0],a=new Map,s=new Map,l=new Map,u=new Map,c=new Map;e.forEach(function(U,q){var $,J,Z,Y,ee=U.data;try{for(var te=yt(ee.adds),ce=te.next();!ce.done;ce=te.next()){var ne=ce.value;a.has(ne.node.id)||a.set(ne.node.id,q),s.set(ne.node.id,q),c.set(ne.node.id,ne.parentId)}}catch(ve){$={error:ve}}finally{try{ce&&!ce.done&&(J=te.return)&&J.call(te)}finally{if($)throw $.error}}try{for(var Ce=yt(ee.removes),ae=Ce.next();!ae.done;ae=Ce.next()){var pe=ae.value;l.has(pe.id)||l.set(pe.id,q),u.set(pe.id,q)}}catch(ve){Z={error:ve}}finally{try{ae&&!ae.done&&(Y=Ce.return)&&Y.call(Ce)}finally{if(Z)throw Z.error}}});var f=new Set,p=new Set;try{for(var v=yt(a),g=v.next();!g.done;g=v.next()){var y=Tt(g.value,2),k=y[0],E=y[1],S=l.get(k);if(S!==void 0){var T=s.get(k),I=u.get(k);T>=I||(E<S?f.add(k):S<E&&p.add(k))}}}catch(U){t={error:U}}finally{try{g&&!g.done&&(n=v.return)&&n.call(v)}finally{if(t)throw t.error}}var A=new Set;if(f.size>0||p.size>0)for(var w=!0;w;){w=!1;try{for(var R=(r=void 0,yt(c)),x=R.next();!x.done;x=R.next()){var D=Tt(x.value,2),M=D[0],F=D[1];if(!f.has(M)&&!p.has(M)&&!A.has(M)&&(f.has(F)||p.has(F)||A.has(F))){var L=l.get(M),P=a.get(M);L!==void 0&&P!==void 0&&L<P?p.add(M):L!==void 0&&P!==void 0&&L===P?A.add(M):f.add(M),w=!0}}}catch(U){r={error:U}}finally{try{x&&!x.done&&(i=R.return)&&i.call(R)}finally{if(r)throw r.error}}}var j=f.size>0||p.size>0||A.size>0,B=[];e.forEach(function(U,q){var $,J;try{for(var Z=yt(U.data.removes),Y=Z.next();!Y.done;Y=Z.next()){var ee=Y.value;f.has(ee.id)||p.has(ee.id)&&q>=a.get(ee.id)||A.has(ee.id)&&(f.has(ee.parentId)||p.has(ee.parentId)||A.has(ee.parentId))||B.push(ee)}}catch(te){$={error:te}}finally{try{Y&&!Y.done&&(J=Z.return)&&J.call(Z)}finally{if($)throw $.error}}});var H=e.flatMap(function(U){return U.data.adds}),G=e.flatMap(function(U){return U.data.texts}),O=e.flatMap(function(U){return U.data.attributes}),V=j?O.filter(function(U){return!f.has(U.id)&&!p.has(U.id)&&!A.has(U.id)}):O,W={source:nP.Mutation,removes:B,adds:j?H.filter(function(U){return!f.has(U.node.id)&&!p.has(U.node.id)&&!A.has(U.node.id)}):H,texts:j?G.filter(function(U){return!f.has(U.id)&&!p.has(U.id)&&!A.has(U.id)}):G,attributes:xpe(V)};return me(me({},o),{data:W})}function Ope(e){if(e.length<=1)return e;for(var t=[],n=0;n<e.length;){if(!AU(e[n])){t.push(e[n]),n++;continue}for(var r=n+1;r<e.length&&AU(e[r]);)r++;t.push(r>n+1?Lpe(e.slice(n,r)):e[n]),n=r}return t}var Ppe=2e3,_pe=(function(){function e(t,n,r,i,o){var a=this,s;this.taskQueue=[],this.pendingQueue=[],this.isProcessing=!1,this.compressEvent=function(p){var v=p,g=v.type,y=v.timestamp,k=v.delay,E=v.data;return k!=null?JSON.stringify({type:g,timestamp:y,delay:k,data:E}):JSON.stringify({type:g,timestamp:y,data:E})},this.addCompressedEventToManager=function(p,v){var g,y=new Blob([p]).size;if(y>((g=a.config.maxSingleEventSizeBytes)!==null&&g!==void 0?g:zH)){a.config.loggerProvider.warn("Session replay event dropped: serialized size ".concat(Math.round(y/1024)," KB exceeds maximum allowed event size. If this recurs, please open a GitHub issue at https://github.com/amplitude/Amplitude-TypeScript/issues or contact Amplitude support."));return}a.eventsManager&&a.deviceId&&a.eventsManager.addEvent({event:{type:"replay",data:p},sessionId:v,deviceId:a.deviceId})},this.addCompressedEvent=function(p,v){if(a.worker)try{a.worker.postMessage({event:p,sessionId:v})}catch(y){y.name==="DataCloneError"?a.worker.postMessage(JSON.stringify({event:p,sessionId:v})):a.config.loggerProvider.warn("Unexpected error while posting message to worker:",y)}else{var g=a.compressEvent(p);a.addCompressedEventToManager(g,v)}},this.flushQueue=function(){var p;for(a.pendingQueue.length>
120&&(p=a.taskQueue).push.apply(p,$t([],Tt(a.mergeMutationTasks(a.pendingQueue.splice(0))),!1));a.taskQueue.length>0;){var v=a.taskQueue.shift();if(v){var g=v.event,y=v.sessionId,k=a.compressEvent(g);a.addCompressedEventToManager(k,y)}}a.isProcessing=!1},this.terminate=function(){var p;(p=a.worker)===null||p===void 0||p.terminate()};var l=Ft();if(this.canUseIdleCallback=l&&"requestIdleCallback"in l,this.eventsManager=t,this.config=n,this.deviceId=r,this.timeout=((s=n.performanceConfig)===null||s===void 0?void 0:s.timeout)||Ppe,this.onFullSnapshotProcessed=o,i){n.loggerProvider.log("Enabling web worker for compression");try{var u=new Blob([i],{type:"application/javascript"}),c=URL.createObjectURL(u),f=new Worker(c);f.onerror=function(p){p.preventDefault(),n.loggerProvider.error("Worker failed, falling back to non-worker compression: ".concat(p.message," (").concat(p.filename,":").concat(p.lineno,")")),f.terminate(),a.worker=void 0},f.onmessage=function(p){var v=p.data,g=v.compressedEvent,y=v.sessionId;a.addCompressedEventToManager(g,y)},this.worker=f}catch(p){n.loggerProvider.error("Failed to create worker, falling back to non-worker compression:",p)}}}return e.prototype.scheduleIdleProcessing=function(){var t=this;this.isProcessing||(this.isProcessing=!0,requestIdleCallback(function(n){t.processQueue(n)},{timeout:this.timeout}))},e.prototype.enqueueEvent=function(t,n){var r,i,o,a;if(t.type===BT.FullSnapshot){if(this.config.loggerProvider.debug("Processing full snapshot immediately."),this.taskQueue.length>0||this.pendingQueue.length>0){var s=$t($t([],Tt(this.taskQueue.splice(0)),!1),Tt(this.mergeMutationTasks(this.pendingQueue.splice(0))),!1);try{for(var l=yt(s),u=l.next();!u.done;u=l.next()){var c=u.value,f=this.compressEvent(c.event);this.addCompressedEventToManager(f,c.sessionId)}}catch(v){r={error:v}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}this.isProcessing=!1}var p=this.compressEvent(t);this.addCompressedEventToManager(p,n),(o=this.onFullSnapshotProcessed)===null||o===void 0||o.call(this);return}this.canUseIdleCallback&&(!((a=this.config.performanceConfig)===null||a===void 0)&&a.enabled)?(this.config.loggerProvider.debug("Enqueuing event for processing during idle time."),this.pendingQueue.push({event:t,sessionId:n}),this.scheduleIdleProcessing()):(this.config.loggerProvider.debug("Processing event without idle callback."),this.addCompressedEvent(t,n))},e.prototype.processQueue=function(t){var n,r=this;for(this.pendingQueue.length>0&&(n=this.taskQueue).push.apply(n,$t([],Tt(this.mergeMutationTasks(this.pendingQueue.splice(0))),!1));this.taskQueue.length>0&&(t.timeRemaining()>0||t.didTimeout);){var i=this.taskQueue.shift();if(i){var o=i.event,a=i.sessionId;this.addCompressedEvent(o,a)}}this.taskQueue.length>0||this.pendingQueue.length>0?requestIdleCallback(function(s){r.processQueue(s)},{timeout:this.timeout}):this.isProcessing=!1},e.prototype.mergeMutationTasks=function(t){var n,r,i;if(((i=this.config.performanceConfig)===null||i===void 0?void 0:i.mergeMutations)===!1||t.length<=1)return t;for(var o=[],a=0;a<t.length;){for(var s=t[a].sessionId,l=a+1;l<t.length&&t[l].sessionId===s;)l++;var u=Ope(t.slice(a,l).map(function(v){return v.event}));try{for(var c=(n=void 0,yt(u)),f=c.next();!f.done;f=c.next()){var p=f.value;o.push({event:p,sessionId:s})}}catch(v){n={error:v}}finally{try{f&&!f.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}a=l}return o},e})(),Dpe="Unexpected error occurred",Mpe="Network error occurred, event batch rejected",IU="Session replay event batch rejected due to exceeded retry count",ts="Failed to store session replay events in IndexedDB",Fpe="Session replay event batch not sent due to missing device ID",Upe="Session replay event batch not sent due to missing api key",Fw="Session replay event batch dropped: server signalled capture disabled or session out of valid range for this session",ZS="1.50.0";function Vpe(e,t){return we(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,f,p,v,g,y,k=this;return Ie(this,function(E){switch(E.label){case 0:return E.trys.push([0,4,,5]),n=t.CompressionStream,r=new n("gzip"),i=r.writable.getWriter(),o=r.readable.getReader(),a=[],s=(function(){return we(k,void 0,void 0,function(){var S,T,I;return Ie(this,function(A){switch(A.label){case 0:return[4,o.read()];case 1:if(S=A.sent(),T=S.done,I=S.value,T)return[3,3];a.push(I),A.label=2;case 2:return[3,0];case 3:return[2]}})})})(),[4,i.write(new TextEncoder().encode(e))];case 1:return E.sent(),[4,i.close()];case 2:return E.sent(),[4,s];case 3:E.sent(),l=a.reduce(function(S,T){return S+T.length},0),u=new Uint8Array(l),c=0;try{for(f=yt(a),p=f.next();!p.done;p=f.next())v=p.value,u.set(v,c),c+=v.length}catch(S){g={error:S}}finally{try{p&&!p.done&&(y=f.return)&&y.call(f)}finally{if(g)throw g.error}}return[2,u];case 4:return E.sent(),[2,null];case 5:return[2]}})})}var Bpe=256,jpe=256;function zpe(e,t){return new Promise(function(n,r){var i=function(){var o=new Error("Custom session replay transport aborted by send timeout");o.name="AbortError",r(o)};t.addEventListener("abort",i,{once:!0}),e.then(function(o){t.removeEventListener("abort",i),n(o)},function(o){t.removeEventListener("abort",i),r(o)})})}var Hpe=(function(){function e(t){var n=t.trackServerUrl,r=t.loggerProvider,i=t.payloadBatcher,o=t.workerScript,a=t.enableTransportCompression,s=t.sendTimeoutMs,l=t.handleSendEvents,u=this;if(this.storageKey="",this.retryTimeout=1e3,this.scheduled=null,this.queue=[],this.sendIdCounter=0,this.pendingWorkerRequests=new Map,this.timedOutWorkerRequests=new Map,this.flushPauseUntilMs=0,this.mergeOnNextFlush=!1,this.coalesceNextFlush=!1,this.mergeLogFiredThisPause=!1,this.killedSessions=new Set,this.loggerProvider=r,this.payloadBatcher=i||function(v){return v},this.trackServerUrl=n,this.enableTransportCompression=a??!0,this.sendTimeoutMs=s??upe,this.handleSendEvents=l,o)try{var c=new Blob([o],{type:"application/javascript"}),f=URL.createObjectURL(c),p=new Worker(f);p.onerror=function(v){var g,y;v.preventDefault(),r.error("Track destination worker failed, falling back to main-thread sending: ".concat(v.message," (").concat(v.filename,":").concat(v.lineno,")")),p.terminate(),u.worker=void 0;try{for(var k=yt(u.pendingWorkerRequests),E=k.next();!E.done;E=k.next()){var S=Tt(E.value,2),T=S[1];T.timeout&&clearTimeout(T.timeout),r.warn("Session replay event send failed due to worker crash: ".concat(v.message)),T.resolve()}}catch(I){g={error:I}}finally{try{E&&!E.done&&(y=k.return)&&y.call(k)}finally{if(g)throw g.error}}u.pendingWorkerRequests.clear(),u.timedOutWorkerRequests.clear()},p.onmessage=function(v){var g=v.data;if(g.type==="log")r.log(g.message);else if(g.type==="warn")r.warn(g.message);else if(g.type==="payload_too_large"){var y=u.pendingWorkerRequests.get(g.id);if(y)y.timeout&&clearTimeout(y.timeout),u.handlePayloadTooLargeResponse(y.context,g.isWaf),y.resolve(),u.pendingWorkerRequests.delete(g.id);else{var k=u.timedOutWorkerRequests.get(g.id);k&&(u.timedOutWorkerRequests.delete(g.id),u.handlePayloadTooLargeResponse(k,g.isWaf))}}else if(g.type==="complete"){var E=u.pendingWorkerRequests.get(g.id);if(E)E.timeout&&clearTimeout(E.timeout),g.skipCode!==void 0&&u.applyServerDirective(E.context.sessionId,g.skipCode),u.completeRequest({context:E.context}),E.resolve(),u.pendingWorkerRequests.delete(g.id);else{var k=u.timedOutWorkerRequests.get(g.id);k&&(u.timedOutWorkerRequests.delete(g.id),g.skipCode!==void 0&&u.applyServerDirective(k.sessionId,g.skipCode),u.completeRequest({context:k}))}}
12else g.type==="fetch-request"&&u.handleDelegatedFetch(p,g).catch(function(S){r.warn("Failed to handle delegated session replay fetch:",S)})},this.worker=p}catch(v){r.error("Failed to create track destination worker, falling back to main-thread sending:",v)}}return e.prototype.sendEventsList=function(t){this.addToQueue(me(me({},t),{attempts:0,timeout:0}))},e.prototype.markCoalesceNextFlush=function(){this.coalesceNextFlush=!0,this.schedule(0)},e.prototype.sendBeacon=function(t){var n=this,r,i,o=t.events,a=t.sessionId,s=t.deviceId,l=t.apiKey,u=t.serverZone,c=64*1024,f=function(D){return new Blob([D]).size},p=o,v=JSON.stringify({version:2,events:p});if(f(v)>c){for(var g=0,y=p.length;g<y;){var k=Math.floor((g+y+1)/2);f(JSON.stringify({version:2,events:p.slice(0,k)}))<=c?g=k:y=k-1}p=p.slice(0,g),v=JSON.stringify({version:2,events:p}),this.loggerProvider.warn("sendBeacon payload exceeded 64 KB limit, trimmed from ".concat(o.length," to ").concat(p.length," events"))}if(p.length!==0){if(this.handleSendEvents){var E=new URLSearchParams({device_id:s,session_id:String(a),type:"replay"}),S="".concat(Lv(u,this.trackServerUrl),"?").concat(E.toString()),T={"Content-Type":"application/json",Accept:"*/*",Authorization:"Bearer ".concat(l)};this.loggerProvider.debug("Routing session replay exit batch (".concat(p.length," events) through custom transport for session id ").concat(a,"."));try{this.handleSendEvents({url:S,method:"POST",headers:T,body:v,keepalive:!0}).catch(function(D){n.loggerProvider.warn("Custom transport failed to send session replay exit batch:",D)})}catch(D){this.loggerProvider.warn("Custom transport threw while sending session replay exit batch:",D)}return}var I=new URLSearchParams({device_id:s,session_id:String(a),type:"replay",api_key:l}),A="".concat(Lv(u,this.trackServerUrl),"?").concat(I.toString()),w=Ft();try{var R=new Blob([v],{type:"application/json"}),x=(i=(r=w?.navigator)===null||r===void 0?void 0:r.sendBeacon)===null||i===void 0?void 0:i.call(r,A,R);x===!1&&this.loggerProvider.warn("sendBeacon failed to queue session replay payload")}catch{}}},e.prototype.addToQueue=function(){for(var t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n.filter(function(o){return t.killedSessions.has(o.sessionId)?(t.completeRequest({context:o,err:Fw}),!1):o.attempts<(o.flushMaxRetries||0)?(o.attempts+=1,!0):(t.completeRequest({context:o,err:IU}),!1)});i.forEach(function(o){t.queue=t.queue.concat(o),t.schedule(0)})},e.prototype.schedule=function(t){var n=this;if(!this.scheduled){var r=this.flushPauseUntilMs-Date.now(),i=r>0,o=r>t?r:t;i&&(this.mergeOnNextFlush=!0),this.scheduled=setTimeout(function(){n.flush(!0).then(function(){n.queue.length>0&&n.schedule(t)})},o)}},e.prototype.flush=function(t){return t===void 0&&(t=!1),we(this,void 0,void 0,function(){var n,r,i,o,a,s,l;return Ie(this,function(u){switch(u.label){case 0:n=this.queue,this.queue=[],this.scheduled&&(clearTimeout(this.scheduled),this.scheduled=null),this.mergeOnNextFlush?(this.mergeOnNextFlush=!1,this.coalesceNextFlush=!1,n=this.mergeQueueAfterThrottle(n)):this.coalesceNextFlush&&(this.coalesceNextFlush=!1,n=this.mergeDrainBacklog(n)),u.label=1;case 1:u.trys.push([1,6,7,8]),r=yt(n),i=r.next(),u.label=2;case 2:return i.done?[3,5]:(o=i.value,[4,this.send(o,t)]);case 3:u.sent(),u.label=4;case 4:return i=r.next(),[3,2];case 5:return[3,8];case 6:return a=u.sent(),s={error:a},[3,8];case 7:try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(s)throw s.error}return[7];case 8:return[2]}})})},e.prototype.mergeQueueAfterThrottle=function(t){var n=this.coalesceByIdentity(t);return n.length<t.length&&!this.mergeLogFiredThisPause&&(this.mergeLogFiredThisPause=!0,this.loggerProvider.log("Session replay throttle pause ended; merged ".concat(t.length," queued batches into ").concat(n.length," request(s)"))),n},e.prototype.mergeDrainBacklog=function(t){var n=this.coalesceByIdentity(t);return n.length<t.length&&this.loggerProvider.log("Session replay coalesced ".concat(t.length," persisted page-load backlog batches into ").concat(n.length," request(s)")),n},e.prototype.coalesceByIdentity=function(t){var n,r,i,o,a=this,s,l,u,c,f,p,v;if(t.length<=1)return t;var g=new Map;try{for(var y=yt(t),k=y.next();!k.done;k=y.next()){var E=k.value,S=[E.sessionId,(s=E.deviceId)!==null&&s!==void 0?s:"",(l=E.apiKey)!==null&&l!==void 0?l:"",E.type,(u=E.serverZone)!==null&&u!==void 0?u:"",E.sampleRate,(f=(c=E.version)===null||c===void 0?void 0:c.type)!==null&&f!==void 0?f:"",(v=(p=E.version)===null||p===void 0?void 0:p.version)!==null&&v!==void 0?v:""].join("|"),T=g.get(S);T?T.push(E):g.set(S,[E])}}catch(D){n={error:D}}finally{try{k&&!k.done&&(r=y.return)&&r.call(y)}finally{if(n)throw n.error}}var I=[],A=function(D){var M,F;if(D.length===1)return I.push(D[0]),"continue";var L=null,P=0,j=function(){L&&I.push(L),L=null,P=0}
12,B=function(V){var W=V.events.reduce(function($,J){return $+new Blob([J]).size},0);if(L===null)return L=me(me({},V),{events:$t([],Tt(V.events),!1),attempts:0}),P=W,"continue";if(P+W>ppe)return j(),L=me(me({},V),{events:$t([],Tt(V.events),!1),attempts:0}),P=W,"continue";var U=L.onComplete,q=V.onComplete;L.events=L.events.concat(V.events),P+=W,L.onComplete=function(){return we(a,void 0,void 0,function(){return Ie(this,function($){switch($.label){case 0:return[4,Promise.allSettled([U(),q()])];case 1:return $.sent(),[2]}})})}};try{for(var H=(M=void 0,yt(D)),G=H.next();!G.done;G=H.next()){var O=G.value;B(O)}}catch(V){M={error:V}}finally{try{G&&!G.done&&(F=H.return)&&F.call(H)}finally{if(M)throw M.error}}j()};try{for(var w=yt(g.values()),R=w.next();!R.done;R=w.next()){var x=R.value;A(x)}}catch(D){i={error:D}}finally{try{R&&!R.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}return I},e.prototype.send=function(t,n){return n===void 0&&(n=!0),we(this,void 0,void 0,function(){var r,i,o,a;return Ie(this,function(s){return this.killedSessions.has(t.sessionId)?[2,this.completeRequest({context:t,err:Fw})]:(r=t.apiKey,r?(i=t.deviceId,i?(o=this.payloadBatcher({version:1,events:t.events}),o.events.length===0?(this.completeRequest({context:t}),[2]):(a=this.worker,a?[2,this.sendViaWorker(a,t,o,n)]:[2,this.sendOnMainThread(r,i,t,o,n)])):[2,this.completeRequest({context:t,err:Fpe})]):[2,this.completeRequest({context:t,err:Upe})])})})},e.prototype.sendViaWorker=function(t,n,r,i){return we(this,void 0,void 0,function(){var o,a=this;return Ie(this,function(s){return o="".concat(++this.sendIdCounter),[2,new Promise(function(l){var u,c=a.sendTimeoutMs>0?setTimeout(function(){var f=a.pendingWorkerRequests.get(o);f&&(a.pendingWorkerRequests.delete(o),a.rememberTimedOutRequest(o,f.context),a.loggerProvider.warn("Session replay worker send timed out after ".concat(a.sendTimeoutMs,"ms; leaving events for retry")),f.resolve())},a.sendTimeoutMs):void 0;a.pendingWorkerRequests.set(o,{context:n,resolve:l,timeout:c}),t.postMessage({type:"send",id:o,payload:r,useRetry:i,useCustomTransport:!!a.handleSendEvents,context:{apiKey:n.apiKey,deviceId:n.deviceId,sessionId:n.sessionId,events:n.events,eventType:n.type,flushMaxRetries:(u=n.flushMaxRetries)!==null&&u!==void 0?u:0,sampleRate:n.sampleRate,serverZone:n.serverZone,trackServerUrl:a.trackServerUrl,version:n.version,currentUrl:Cx(),sdkVersion:ZS,enableTransportCompression:a.enableTransportCompression,sendTimeoutMs:a.sendTimeoutMs}})})]})})},e.prototype.rememberTimedOutRequest=function(t,n){var r,i;if(this.timedOutWorkerRequests.set(t,n),this.timedOutWorkerRequests.size>jpe)try{for(var o=yt(this.timedOutWorkerRequests.keys()),a=o.next();!a.done;a=o.next()){var s=a.value;this.timedOutWorkerRequests.delete(s);break}}catch(l){r={error:l}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},e.prototype.handleDelegatedFetch=function(t,n){var r,i,o;return we(this,void 0,void 0,function(){var a,s,l,u,c,f,p,v,g,y,k;return Ie(this,function(E){switch(E.label){case 0:a=n.requestId,s=n.url,l=n.method,u=n.headers,c=n.body,f=n.keepalive,E.label=1;case 1:return E.trys.push([1,10,,11]),p=void 0,this.handleSendEvents?[4,this.handleSendEvents({url:s,method:l,headers:u,body:c,keepalive:f})]:[3,3];case 2:return p=E.sent(),[3,5];case 3:return this.loggerProvider.warn("Delegated session replay fetch received without a custom transport configured; falling back to built-in fetch."),[4,fetch(s,{method:l,headers:u,body:c,keepalive:f})];case 4:p=E.sent(),E.label=5;case 5:if(v=p.status,g=null,y="",v>=200&&v<300&&(g=(o=(i=(r=p.headers)===null||r===void 0?void 0:r.get)===null||i===void 0?void 0:i.call(r,kU))!==null&&o!==void 0?o:null),v!==413)return[3,9];E.label=6;case 6:return E.trys.push([6,8,,9]),[4,p.text()];case 7:return y=E.sent(),[3,9];case 8:return E.sent(),[3,9];case 9:return this.loggerProvider.debug("Delegated session replay fetch (request ".concat(a,") returned status ").concat(v,".")),t.postMessage({type:"fetch-response",requestId:a,status:v,skipHeader:g,body:y}),[3,11];case 10:return k=E.sent(),this.loggerProvider.debug("Delegated session replay fetch (request ".concat(a,") failed:"),k),t.postMessage({type:"fetch-response",requestId:a,status:0,skipHeader:null,body:String(k),error:!0}),[3,11];case 11:return[2]}})})},e.prototype.sendOnMainThread=function(t,n,r,i,o){var a,s,l,u,c,f,p;return we(this,void 0,void 0,function(){var v,g,y,k,E,S,T,I,A,w,R,x,D,M,F,L,P,j,B,H,G,G,O,V;return Ie(this,function(W){switch(W.label){case 0:v=Cx(),g=ZS,y=r.sampleRate,k=new URLSearchParams({device_id:n,session_id:"".concat(r.sessionId),type:"".concat(r.type)}),E="".concat((s=(a=r.version)===null||a===void 0?void 0:a.type)!==null&&s!==void 0?s:"standalone","/").concat((u=(l=r.version)===null||l===void 0?void 0:l.version)!==null&&u!==void 0?u:g),W.label=1;case 1:return W.trys.push([1,19,,23]),S=JSON.stringify(i),T=Ft(),this.enableTransportCompression&&T&&"CompressionStream"in T?[4,Vpe(S,T)]:[3,3];case 2:return A=W.sent(),[3,4];case 3:A=null,W.label=4;case 4:if(I=A,w=I?I.byteLength:new Blob([S]).size,R=new AbortController,x=me({"Content-Type":"application/json",Accept:"*/*",Authorization:"Bearer ".concat(t),"X-Client-Version":g,"X-Client-Library":E,"X-Client-Url":v.substring(0,spe),"X-Client-Sample-Rate":"".concat(y),"X-Sampling-Hash-Alg":"xxhash32"},I?{"Content-Encoding":"gzip"}:{}),D=I??S,M=w<=lpe,F={headers:x,body:D,method:"POST",keepalive:M,signal:R.signal},L="".concat(Lv(r.serverZone,this.trackServerUrl),"?").concat(k.toString()),i.events.length===0)return this.completeRequest({context:r}),[2];P=this.sendTimeoutMs>0?setTimeout(function(){R.abort()},this.sendTimeoutMs):void 0,j=void 0,W.label=5;case 5:return W.trys.push([5,,10,11]),this.handleSendEvents?[4,zpe(this.handleSendEvents({url:L,method:"POST",headers:x,body:D,keepalive:M}),R.signal)]:[3,7];case 6:return B=W.sent(),[3,9];case 7:return[4,fetch(L,F)];case 8:B=W.sent(),W.label=9;case 9:return j=B,[3,11];case 10:return P&&clearTimeout(P),[7];case 11:if(j===null)return this.completeRequest({context:r,err:Dpe}),[2];if(j.status>=200&&j.status<300&&(H=(p=(f=(c=j.headers)===null||c===void 0?void 0:c.get)===null||f===void 0?void 0:f.call(c,kU))!==null&&p!==void 0?p:null,this.applyServerDirective(r.sessionId,H)),o)return[3,12];G="";try{G=JSON.stringify(j.body,null,2)}catch{}return this.completeRequest({context:r,success:"".concat(j.status,": ").concat(G)}),[3,18];
12case 12:if(G="",j.status!==413)return[3,16];W.label=13;case 13:return W.trys.push([13,15,,16]),[4,j.text()];case 14:return G=W.sent(),[3,16];case 15:return W.sent(),[3,16];case 16:return[4,this.handleReponse(j.status,r,G)];case 17:W.sent(),W.label=18;case 18:return[3,23];case 19:return O=W.sent(),V=!!O&&typeof O=="object"&&O.name==="AbortError",V&&o?[4,this.handleOtherResponse(r)]:[3,21];case 20:return W.sent(),[3,22];case 21:this.completeRequest({context:r,err:O}),W.label=22;case 22:return[3,23];case 23:return[2]}})})},e.prototype.handleReponse=function(t,n,r){return r===void 0&&(r=""),we(this,void 0,void 0,function(){var i,o;return Ie(this,function(a){switch(a.label){case 0:switch(i=new Py().buildStatus(t),o=i,o){case Pr.Success:return[3,1];case Pr.Failed:return[3,2];case Pr.Timeout:return[3,2];case Pr.RateLimit:return[3,2];case Pr.PayloadTooLarge:return[3,4]}return[3,5];case 1:return this.handleSuccessResponse(n),[3,8];case 2:return[4,this.handleOtherResponse(n)];case 3:return a.sent(),[3,8];case 4:return this.handlePayloadTooLargeResponse(n,npe.test(r)),[3,8];case 5:return t!==499?[3,7]:[4,this.handleOtherResponse(n)];case 6:return a.sent(),[3,8];case 7:this.completeRequest({context:n,err:Mpe}),a.label=8;case 8:return[2]}})})},e.prototype.handlePayloadTooLargeResponse=function(t,n){var r=n?"WAF (compressed payload too large)":"server (event too large)",i=Math.round(t.events.reduce(function(s,l){return s+l.length},0)/Ex);if(!n){this.completeRequest({context:t,err:"Session replay event batch dropped: ".concat(r," rejected payload (").concat(t.events.length," events, ").concat(i," KB) â not retrying non-WAF 413")});return}if(t.events.length===1){this.completeRequest({context:t,err:"Session replay event dropped: single event (".concat(i," KB, 1 event) rejected by ").concat(r," â cannot split further")});return}this.loggerProvider.warn("Session replay event batch rejected by ".concat(r," (").concat(t.events.length," events, ").concat(i," KB total) â splitting and retrying")),t.onComplete();var o=function(){return Promise.resolve()},a=Math.floor(t.events.length/2);this.sendEventsList(me(me({},t),{events:t.events.slice(0,a),onComplete:o})),this.sendEventsList(me(me({},t),{events:t.events.slice(a),onComplete:o}))},e.prototype.handleSuccessResponse=function(t){var n=Math.round(new Blob(t.events).size/Ex);this.completeRequest({context:t,success:"Session replay event batch tracked successfully for session id ".concat(t.sessionId,", size of events: ").concat(n," KB")})},e.prototype.handleOtherResponse=function(t){return we(this,void 0,void 0,function(){var n;return Ie(this,function(r){switch(r.label){case 0:return n=Math.random()*t.attempts*this.retryTimeout,t.attempts++,t.attempts>(t.flushMaxRetries||0)?(this.completeRequest({context:t,err:IU}),[2]):[4,new Promise(function(i){return setTimeout(i,n)})];case 1:return r.sent(),[4,this.send(t,!0)];case 2:return r.sent(),[2]}})})},e.prototype.completeRequest=function(t){var n=t.context,r=t.err,i=t.success;n.onComplete(),r?this.loggerProvider.warn(r):i&&this.loggerProvider.log(i)},e.prototype.applyServerDirective=function(t,n){if(n===null){this.flushPauseUntilMs=0,this.mergeLogFiredThisPause=!1;return}if(n===cpe){var r=this.flushPauseUntilMs>Date.now();this.flushPauseUntilMs=Date.now()+bU,r||this.loggerProvider.log("Session replay throttled by server; pausing flush schedule for ".concat(bU/1e3,"s"));return}(n===fpe||n===dpe)&&this.killSession(t,n)},e.prototype.killSession=function(t,n){var r,i,o,a;if(!this.killedSessions.has(t)){if(this.killedSessions.add(t),this.killedSessions.size>Bpe)try{for(var s=yt(this.killedSessions),l=s.next();!l.done;l=s.next()){var u=l.value;this.killedSessions.delete(u);break}}catch(g){r={error:g}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}this.loggerProvider.log("Session replay capture stopped for session ".concat(t," by server directive ").concat(n,"; remaining events will be dropped"));var c=[];try{for(var f=yt(this.queue),p=f.next();!p.done;p=f.next()){var v=p.value;v.sessionId===t?this.completeRequest({context:v,err:Fw}):c.push(v)}}catch(g){o={error:g}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}this.queue=c}},e})();const Ax=(e,t)=>t.some(n=>e instanceof n);let wU,NU;function Wpe(){return wU||(wU=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function qpe(){return NU||(NU=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Ix=new WeakMap,Uw=new WeakMap,jT=new WeakMap;function Gpe(e){const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("success",o),e.removeEventListener("error",a)},o=()=>{n(Ef(e.result)),i()},a=()=>{r(e.error),i()};e.addEventListener("success",o),e.addEventListener("error",a)});return jT.set(t,e),t}function Kpe(e){if(Ix.has(e))return;const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("complete",o),e.removeEventListener("error",a),e.removeEventListener("abort",a)},o=()=>{n(),i()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",o),e.addEventListener("error",a),e.addEventListener("abort",a)});Ix.set(e,t)}let wx={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return Ix.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ef(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function ZH(e){wx=e(wx)}function Ype(e){return qpe().includes(e)?function(...t){return e.apply(Nx(this),t),Ef(this.request)}:function(...t){return Ef(e.apply(Nx(this),t))}}function $pe(e){return typeof e=="function"?Ype(e):(e instanceof IDBTransaction&&Kpe(e),Ax(e,Wpe())?new Proxy(e,wx):e)}function Ef(e){if(e instanceof IDBRequest)return Gpe(e);if(Uw.has(e))return Uw.get(e);const t=$pe(e);return t!==e&&(Uw.set(e,t),jT.set(t,e)),t}const Nx=e=>jT.get(e);function QH(e,t,{blocked:n,upgrade:r,blocking:i,terminated:o}={}){const a=indexedDB.open(e,t),s=Ef(a);return r&&a.addEventListener("upgradeneeded",l=>{r(Ef(a.result),l.oldVersion,l.newVersion,Ef(a.transaction),l)}),n&&a.addEventListener("blocked",l=>n(l.oldVersion,l.newVersion,l)),s.then(l=>{o&&l.addEventListener("close",()=>o()),i&&l.addEventListener("versionchange",u=>i(u.oldVersion,u.newVersion,u))}).catch(()=>{}),s}const Jpe=["get","getKey","getAll","getAllKeys","count"],Zpe=["put","add","delete","clear"],Vw=new Map;function RU(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Vw.get(t))return Vw.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=Zpe.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(i||Jpe.includes(n)))return;const o=async function(a,...s){const l=this.transaction(a,i?"readwrite":"readonly");let u=l.store;
12return r&&(u=u.index(s.shift())),(await Promise.all([u[n](...s),i&&l.done]))[0]};return Vw.set(t,o),o}ZH(e=>({...e,get:(t,n,r)=>RU(t,n)||e.get(t,n,r),has:(t,n)=>!!RU(t,n)||e.has(t,n)}));const Qpe=["continue","continuePrimaryKey","advance"],xU={},Rx=new WeakMap,XH=new WeakMap,Xpe={get(e,t){if(!Qpe.includes(t))return e[t];let n=xU[t];return n||(n=xU[t]=function(...r){Rx.set(this,XH.get(this)[t](...r))}),n}};async function*eme(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;const n=new Proxy(t,Xpe);for(XH.set(n,t),jT.set(n,Nx(t));t;)yield n,t=await(Rx.get(n)||t.continue()),Rx.delete(n)}function LU(e,t){return t===Symbol.asyncIterator&&Ax(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&Ax(e,[IDBIndex,IDBObjectStore])}ZH(e=>({...e,get(t,n,r){return LU(t,n)?eme:e.get(t,n,r)},has(t,n){return LU(t,n)||e.has(t,n)}}));var eW=(function(){function e(t){var n=this,r,i,o;this.minInterval=bx,this.maxInterval=Sx,this.maxPersistedEventsSize=tpe,this._timeAtLastSplit=Date.now(),this.shouldSplitEventsList=function(a,s){var l=n.getStringSize(s),u=n.getEventsArraySize(a);return u+l>=n.maxPersistedEventsSize?!0:Date.now()-n.timeAtLastSplit>n.interval&&a.length?(n.interval=Math.min(n.maxInterval,n.interval+n.minInterval),n._timeAtLastSplit=Date.now(),!0):!1},this.loggerProvider=t.loggerProvider,this.minInterval=(r=t.minInterval)!==null&&r!==void 0?r:this.minInterval,this.maxInterval=(i=t.maxInterval)!==null&&i!==void 0?i:this.maxInterval,this.maxPersistedEventsSize=(o=t.maxPersistedEventsSize)!==null&&o!==void 0?o:this.maxPersistedEventsSize,this.interval=this.minInterval}return Object.defineProperty(e.prototype,"timeAtLastSplit",{get:function(){return this._timeAtLastSplit},enumerable:!1,configurable:!0}),e.prototype.getStringSize=function(t){for(var n=0,r=0;r<t.length;r++){var i=t.charCodeAt(r);if(i<=127)n++;else if(i<=2047)n+=2;else if(i>=55296&&i<=56319){var o=r+1<t.length?t.charCodeAt(r+1):NaN;o>=56320&&o<=57343?(n+=4,r++):n+=3}else i>=56320&&i<=57343,n+=3}return n},e.prototype.getEventsArraySize=function(t){var n,r,i=0;try{for(var o=yt(t),a=o.next();!a.done;a=o.next()){var s=a.value;i+=this.getStringSize(s)}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}var l=2+Math.max(0,t.length-1)+t.length*2;return i+l},e})(),tme=function(e){return typeof e=="object"&&e!==null&&e.name==="AbortError"},Uo=function(e,t,n){tme(n)?e.debug(t):e.warn(t)};function nme(){try{return crypto.randomUUID()}catch{return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var n=Math.random()*16|0;return(t==="x"?n:n&3|8).toString(16)})}}var ns="sessionCurrentSequence",Tu="sequencesToSend",rme=2e3,Bw=5e3;function ime(e,t,n){return new Promise(function(r,i){var o=setTimeout(function(){return i(new Error("".concat(n," after ").concat(t,"ms")))},t);e.then(function(a){clearTimeout(o),r(a)},function(a){clearTimeout(o),i(a)})})}function jw(e,t,n){var r=setTimeout(n,t);return e.then(function(){return clearTimeout(r)},function(){return clearTimeout(r)}),function(){return clearTimeout(r)}}var ome=function(e){var t,n;return e.objectStoreNames.contains(ns)||(n=e.createObjectStore(ns,{keyPath:"sessionId"})),e.objectStoreNames.contains(Tu)||(t=e.createObjectStore(Tu,{keyPath:"sequenceId",autoIncrement:!0}),t.createIndex("sessionId","sessionId")),{sequencesStore:t,currentSequenceStore:n}},ame=function(e){return we(void 0,void 0,void 0,function(){return Ie(this,function(t){switch(t.label){case 0:return[4,ime(QH(e,1,{upgrade:ome}),rme,"IDB openDB timed out")];case 1:return[2,t.sent()]}})})},sme=(function(e){tl(t,e);function t(n){var r=this,i;return r=e.call(this,n)||this,r.consecutiveFailures=0,r.hasTriggeredFallback=!1,r.emptyFilteredCount=0,r.getSequencesToSend=function(){return we(r,void 0,void 0,function(){var o,a,s,l,u,c,f,p,v,g,y=this;return Ie(this,function(k){switch(k.label){case 0:o=!1,a=!1,k.label=1;case 1:return k.trys.push([1,9,,10]),s=[],l=this.db.transaction("sequencesToSend","readwrite"),l.done.catch(function(E){!o&&!a&&(Uo(y.loggerProvider,"".concat(ts,": ").concat(E),E),y.recordFailure())}),u=jw(l.done,Bw,function(){!o&&!a&&(a=!0,Uo(y.loggerProvider,"".concat(ts,": transaction timed out")),y.recordFailure())}),[4,l.store.openCursor()];case 2:c=k.sent(),k.label=3;case 3:return c?(f=c.value,p=f.sessionId,v=f.events,v.length!==0?[3,5]:(this.maybeLogEmptyFiltered("getSequencesToSend"),[4,c.delete()])):[3,8];case 4:return k.sent(),[3,6];case 5:s.push({events:v,sequenceId:c.key,sessionId:p}),k.label=6;case 6:return[4,c.continue()];case 7:return c=k.sent(),[3,3];case 8:return this.recordSuccess(),u(),[2,s];case 9:return g=k.sent(),a||(o=!0,Uo(this.loggerProvider,"".concat(ts,": ").concat(g),g),this.recordFailure()),[3,10];case 10:return[2,void 0]}})})},r.storeCurrentSequence=function(o){return we(r,void 0,void 0,function(){var a,s,l,u,c,f,p,v,g=this;return Ie(this,function(y){switch(y.label){case 0:a=!1,s=!1,y.label=1;case 1:return y.trys.push([1,5,,6]),l=this.db.transaction([ns,Tu],"readwrite"),l.done.catch(function(k){!a&&!s&&(Uo(g.loggerProvider,"".concat(ts,": ").concat(k),k),g.recordFailure())}),u=jw(l.done,Bw,function(){!a&&!s&&(s=!0,Uo(g.loggerProvider,"".concat(ts,": transaction timed out")),g.recordFailure())}),[4,l.objectStore(ns).get(o)];case 2:return c=y.sent(),!c||c.tabId&&c.tabId!==this.tabId?(u(),[2,void 0]):c.events.length===0?(this.maybeLogEmptyFiltered("storeCurrentSequence"),u(),[2,void 0]):[4,l.objectStore(Tu).put({sessionId:o,events:c.events,tabId:this.tabId})];case 3:return f=y.sent(),[4,l.objectStore(ns).put({sessionId:o,events:[],tabId:this.tabId})];case 4:return y.sent(),this.recordSuccess(),u(),c.tabId,p=Nu(c,["tabId"]),[2,me(me({},p),{sessionId:o,sequenceId:f})];case 5:return v=y.sent(),s||(a=!0,Uo(this.loggerProvider,"".concat(ts,": ").concat(v),v),this.recordFailure()),[3,6];case 6:return[2,void 0]}})})},r.addEventToCurrentSequence=function(o,a){return we(r,void 0,void 0,function(){var s,l,u,c,f,p,v,g,y,k=this;return Ie(this,function(E){switch(E.label){case 0:s=!1,l=!1,E.label=1;case 1:return E.trys.push([1,15,,16]),u=this.db.transaction([ns,Tu],"readwrite"),u.done.catch(function(S){!s&&!l&&(Uo(k.loggerProvider,"".concat(ts,": ").concat(S),S),k.recordFailure())}),c=jw(u.done,Bw,function(){!s&&!l&&(l=!0,Uo(k.loggerProvider,"".concat(ts,": transaction timed out")),k.recordFailure())}),[4,u.objectStore(ns).get(o)];case 2:return f=E.sent(),f?.tabId&&f.tabId!==this.tabId?f.events.length>0?[4,u.objectStore(Tu).put({sessionId:o,events:f.events,tabId:f.tabId})]:[3,4]:[3,6];case 3:E.sent(),E.label=4;case 4:return[4,u.objectStore(ns).put({sessionId:o,events:[a],tabId:this.tabId})];case 5:return E.sent(),this.recordSuccess(),c(),[2,void 0];case 6:return p=f,p?[3,8]:[4,u.objectStore(ns).put({sessionId:o,events:[a],tabId:this.tabId})];case 7:return E.sent(),this.recordSuccess(),c(),[2,void 0];case 8:return this.shouldSplitEventsList(p.events,a)?[3,10]:[4,u.objectStore(ns).put({sessionId:o,events:p.events.concat(a),tabId:this.tabId})];case 9:return E.sent(),this.recordSuccess(),c(),[2,void 0];case 10:return v=p.events,v.length!==0?[3,12]:(this.maybeLogEmptyFiltered("addEventToCurrentSequence"),[4,u.objectStore(ns).put({sessionId:o,events:[a],tabId:this.tabId})]);case 11:return E.sent(),this.recordSuccess(),c(),[2,void 0];case 12:return[4,u.objectStore(ns).put({sessionId:o,events:[a],tabId:this.tabId})];case 13:return E.sent(),[4,u.objectStore(Tu).put({sessionId:o,events:v,tabId:this.tabId})];case 14:return g=E.sent(),this.recordSuccess(),c(),[2,{events:v,sessionId:o,sequenceId:g}];case 15:return y=E.sent(),l||(s=!0,Uo(this.loggerProvider,"".concat(ts,": ").concat(y),y),this.recordFailure()),[3,16];case 16:return[2,void 0]}})})},r.storeSendingEvents=function(o,a){return we(r,void 0,void 0,function(){var s,l;return Ie(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,this.db.put(Tu,{sessionId:o,events:a,tabId:this.tabId})];case 1:return s=u.sent(),this.recordSuccess(),[2,s];case 2:return l=u.sent(),Uo(this.loggerProvider,"".concat(ts,": ").concat(l),l),this.recordFailure(),[3,3];case 3:return[2,void 0]}})})},r.cleanUpSessionEventsStore=function(o,a){return we(r,void 0,void 0,function(){var s;return Ie(this,function(l){switch(l.label){case 0:if(!a)return[2];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.db.delete(Tu,a)];case 2:return l.sent(),this.recordSuccess(),[3,4];case 3:return s=l.sent(),Uo(this.loggerProvider,"".concat(ts,": ").concat(s),s),this.recordFailure(),[3,4];case 4:return[2]}})})},r.db=n.db,r.tabId=n.tabId,r.onPersistentFailure=n.onPersistentFailure,r.consecutiveFailureThreshold=(i=n.consecutiveFailureThreshold)!==null&&i!==void 0?i:1,r}return t.prototype.maybeLogEmptyFiltered=function(n){this.emptyFilteredCount++%100===0&&this.loggerProvider.debug("Filtered empty session replay sequence at ".concat(n," (idb store)"))},t.prototype.recordFailure=function(){var n;this.consecutiveFailures++,!this.hasTriggeredFallback&&this.consecutiveFailures>=this.consecutiveFailureThreshold&&(this.hasTriggeredFallback=!0,(n=this.onPersistentFailure)===null||n===void 0||n.call(this))},t.prototype.recordSuccess=function(){this.consecutiveFailures=0},t.new=function(n,r){var i;return we(this,void 0,void 0,function(){var o,a,s,l,u;return Ie(this,function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),o=n==="replay"?"":"_".concat(n),a="".concat(r.a
12piKey.substring(0,10),"_amp_session_replay_events").concat(o),[4,ame(a)];case 1:return s=c.sent(),l=(i=r.tabId)!==null&&i!==void 0?i:nme(),[2,new t(me(me({},r),{db:s,tabId:l}))];case 2:return u=c.sent(),Uo(r.loggerProvider,"".concat(ts,": ").concat(u),u),[3,3];case 3:return[2]}})})},t.prototype.getCurrentSequenceEvents=function(n){return we(this,void 0,void 0,function(){var a,s,r,i,o,a,s,l,u,c;return Ie(this,function(f){switch(f.label){case 0:return n?[4,this.db.get("sessionCurrentSequence",n)]:[3,2];case 1:return a=f.sent(),a?a.tabId&&a.tabId!==this.tabId?[2,void 0]:(a.tabId,s=Nu(a,["tabId"]),[2,[s]]):[2,void 0];case 2:r=[],f.label=3;case 3:return f.trys.push([3,8,9,10]),[4,this.db.getAll("sessionCurrentSequence")];case 4:i=yt.apply(void 0,[f.sent()]),o=i.next(),f.label=5;case 5:if(o.done)return[3,7];if(a=o.value,a.tabId&&a.tabId!==this.tabId)return[3,6];a.tabId,s=Nu(a,["tabId"]),r.push(s),f.label=6;case 6:return o=i.next(),[3,5];case 7:return[3,10];case 8:return l=f.sent(),u={error:l},[3,10];case 9:try{o&&!o.done&&(c=i.return)&&c.call(i)}finally{if(u)throw u.error}return[7];case 10:return[2,r]}})})},t})(eW),lme=(function(e){tl(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.finalizedSequences={},n.sequences={},n.sequenceId=0,n.emptyFilteredCount=0,n}return t.prototype.resetCurrentSequence=function(n){this.sequences[n]=[]},t.prototype.addSequence=function(n){var r=this.sequenceId++,i=$t([],Tt(this.sequences[n]),!1);return this.finalizedSequences[r]={sessionId:n,events:i},this.resetCurrentSequence(n),{sequenceId:r,events:i,sessionId:n}},t.prototype.maybeLogEmptyFiltered=function(n){this.emptyFilteredCount++%100===0&&this.loggerProvider.debug("Filtered empty session replay sequence at ".concat(n," (in-memory store)"))},t.prototype.getSequencesToSend=function(){return we(this,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,f;return Ie(this,function(p){n=[];try{for(r=yt(Object.entries(this.finalizedSequences)),i=r.next();!i.done;i=r.next()){if(o=Tt(i.value,2),a=o[0],s=o[1],l=s.sessionId,u=s.events,u.length===0){this.maybeLogEmptyFiltered("getSequencesToSend"),delete this.finalizedSequences[Number(a)];continue}n.push({sequenceId:Number(a),sessionId:l,events:u})}}catch(v){c={error:v}}finally{try{i&&!i.done&&(f=r.return)&&f.call(r)}finally{if(c)throw c.error}}return[2,n]})})},t.prototype.storeCurrentSequence=function(n){return we(this,void 0,void 0,function(){var r;return Ie(this,function(i){return r=this.sequences[n],r?r.length===0?(this.maybeLogEmptyFiltered("storeCurrentSequence"),[2,void 0]):[2,this.addSequence(n)]:[2,void 0]})})},t.prototype.addEventToCurrentSequence=function(n,r){return we(this,void 0,void 0,function(){var i;return Ie(this,function(o){return this.sequences[n]||this.resetCurrentSequence(n),this.shouldSplitEventsList(this.sequences[n],r)&&(this.sequences[n].length===0?this.maybeLogEmptyFiltered("addEventToCurrentSequence"):i=this.addSequence(n)),this.sequences[n].push(r),[2,i]})})},t.prototype.storeSendingEvents=function(n,r){return we(this,void 0,void 0,function(){return Ie(this,function(i){return this.finalizedSequences[this.sequenceId]={sessionId:n,events:r},[2,this.sequenceId++]})})},t.prototype.cleanUpSessionEventsStore=function(n,r){return we(this,void 0,void 0,function(){return Ie(this,function(i){return r!==void 0&&delete this.finalizedSequences[r],[2]})})},t})(eW),OU=function(e){var t=e.config,n=e.minInterval,r=e.maxInterval,i=e.maxPersistedEventsSize,o=e.type,a=e.payloadBatcher,s=e.storeType,l=e.trackDestinationWorkerScript,u=e.shouldSend;return we(void 0,void 0,void 0,function(){function c(j){return j===void 0&&(j=!1),we(this,void 0,void 0,function(){return Ie(this,function(B){return[2,p.flush(j)]})})}var f,p,v,g,y,k,E,S,T,I,A,w,R,x,D,M,F,L,P;return Ie(this,function(j){switch(j.label){case 0:return f=(P=t.maxSingleEventSizeBytes)!==null&&P!==void 0?P:zH,p=new Hpe(me(me({},t),{loggerProvider:t.loggerProvider,payloadBatcher:a,workerScript:l})),v=function(){return new lme({loggerProvider:t.loggerProvider,maxInterval:r,minInterval:n,maxPersistedEventsSize:i})},y=!1,E=function(){return we(void 0,void 0,void 0,function(){var B,H,G;return Ie(this,function(O){switch(O.label){case 0:return y?(y=!1,t.loggerProvider.warn("IDB store is experiencing repeated failures; falling back to in-memory event store."),g?[4,k.getSequencesToSend()]:[3,2]):[2];
12case 1:return H=O.sent(),[3,3];case 2:H=void 0,O.label=3;case 3:return B=H,k=v(),B&&g&&(G=g,B.forEach(function(V){R({sequenceId:V.sequenceId,events:V.events,sessionId:V.sessionId,deviceId:G})})),[2]}})})},S=function(){return we(void 0,void 0,void 0,function(){var B;return Ie(this,function(H){switch(H.label){case 0:return[4,sme.new(o,{loggerProvider:t.loggerProvider,minInterval:n,maxInterval:r,maxPersistedEventsSize:i,apiKey:t.apiKey,onPersistentFailure:function(){E()}})];case 1:return B=H.sent(),B?(y=!0,[2,B]):(t.loggerProvider.log("Failed to initialize idb store, falling back to memory store."),[2,v()])}})})},s!=="idb"?[3,2]:[4,S()];case 1:return T=j.sent(),[3,3];case 2:T=v(),j.label=3;case 3:return k=T,I=[],A=0,w=function(B){if(!(B<=A)){var H=Math.min(B-A,I.length);H>0&&(I.splice(0,H),A=B)}},R=function(B){var H=B.events,G=B.sessionId,O=B.deviceId,V=B.sequenceId,W=H.map(function($){return{event:$,bytes:new Blob([$]).size}}),U=W.filter(function($){return $.bytes>f});U.length>0&&t.loggerProvider.warn("Dropping ".concat(U.length," oversized event(s) from session replay sequence before send. Sizes: ").concat(U.map(function($){return"".concat(Math.round($.bytes/1024)," KB")}).join(", "),". If this recurs, please open a GitHub issue at https://github.com/amplitude/Amplitude-TypeScript/issues or contact Amplitude support."));var q=U.length>0?W.filter(function($){return $.bytes<=f}).map(function($){return $.event}):H;if(q.length===0){k.cleanUpSessionEventsStore(G,V).catch(function($){t.loggerProvider.warn("Failed to clean up session replay events store:",$)});return}t.debugMode&&KH().then(function($){var J=$.totalStorageSize,Z=$.percentOfQuota,Y=$.usageDetails;t.loggerProvider.debug("Total storage size: ".concat(J," KB, percentage of quota: ").concat(Z,"%, usage details: ").concat(Y))}).catch(function(){}),p.sendEventsList({events:q,sessionId:G,flushMaxRetries:t.flushMaxRetries,apiKey:t.apiKey,deviceId:O,sampleRate:t.sampleRate,serverZone:t.serverZone,version:t.version,type:o,onComplete:function(){return we(void 0,void 0,void 0,function(){return Ie(this,function($){switch($.label){case 0:return[4,k.cleanUpSessionEventsStore(G,V)];case 1:return $.sent(),[2]}})})}})},x=function(B){var H=B.sessionId,G=B.deviceId;if(g=G,!(u&&!u())){var O=A+I.length;k.storeCurrentSequence(H).then(function(V){V&&(w(O),R({sequenceId:V.sequenceId,events:V.events,sessionId:V.sessionId,deviceId:G}))}).catch(function(V){t.loggerProvider.warn("Failed to get current sequence of session replay events for session:",V)})}},D=function(B){var H=B.deviceId;return we(void 0,void 0,void 0,function(){var G;return Ie(this,function(O){switch(O.label){case 0:return g=H,[4,k.getSequencesToSend()];case 1:return G=O.sent(),G?.length?(t.loggerProvider.log("Draining ".concat(G.length," stored sequence(s) from previous session.")),G.length>1&&p.markCoalesceNextFlush(),G.forEach(function(V){R({sequenceId:V.sequenceId,events:V.events,sessionId:V.sessionId,deviceId:H})}),[2]):[2]}})})},M=function(B){var H=B.event,G=B.sessionId,O=B.deviceId;g=O;var V=!u||u(),W=A+I.length;I.push(H.data),k.addEventToCurrentSequence(G,H.data).then(function(U){if(U){if(!V){k.cleanUpSessionEventsStore(U.sessionId,U.sequenceId).catch(function(q){t.loggerProvider.warn("Failed to clean up dropped session replay sequence:",q)}),w(W);return}w(W),R({sequenceId:U.sequenceId,events:U.events,sessionId:U.sessionId,deviceId:O})}}).catch(function(U){t.loggerProvider.warn("Failed to add event to session replay capture:",U)})},F=function(){return $t([],Tt(I),!1)},L=function(){w(A+I.length)},[2,{sendCurrentSequenceEvents:x,addEvent:M,sendStoredEvents:D,flush:c,getBeaconEvents:F,dropPendingBeaconEvents:L,trackDestination:p}]}})})},PU=(function(){function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=new Map;t.forEach(function(i){r.set(i.name,i.manager)}),this.managers=r}return e.prototype.sendStoredEvents=function(t){return we(this,void 0,void 0,function(){var n;return Ie(this,function(r){switch(r.label){case 0:return n=[],this.managers.forEach(function(i){n.push(i.sendStoredEvents(t))}),[4,Promise.all(n)];case 1:return r.sent(),[2]}})})},e.prototype.addEvent=function(t){var n,r=t.sessionId,i=t.event,o=t.deviceId;(n=this.managers.get(i.type))===null||n===void 0||n.addEvent({sessionId:r,event:i,deviceId:o})},e.prototype.sendCurrentSequenceEvents=function(t){var n=t.sessionId,r=t.deviceId;
vendor: 6,449 bytes, line 12
12this.managers.forEach(function(i){i.sendCurrentSequenceEvents({sessionId:n,deviceId:r})})},e.prototype.flush=function(t){return we(this,void 0,void 0,function(){var n;return Ie(this,function(r){switch(r.label){case 0:return n=[],this.managers.forEach(function(i){n.push(i.flush(t))}),[4,Promise.all(n)];case 1:return r.sent(),[2]}})})},e})(),ms,rP,tW;function ume(e,t){if(tW=new Date,e.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if(e.tagName.toLowerCase()==="html")return"html";var n={root:document.body,idName:function(o){return!0},className:function(o){return!0},tagName:function(o){return!0},attr:function(o,a){return!1},seedMinLength:1,optimizedMinLength:2,threshold:1e3,maxNumberOfTries:1e4,timeoutMs:void 0};ms=me(me({},n),t),rP=cme(ms.root,n);var r=Db(e,"all",function(){return Db(e,"two",function(){return Db(e,"one",function(){return Db(e,"none")})})});if(r){var i=iW(oW(r,e));return i.length>0&&(r=i[0]),zT(r)}else throw new Error("Selector was not found.")}function cme(e,t){return e.nodeType===Node.DOCUMENT_NODE?e:e===t.root?e.ownerDocument:e}function Db(e,t,n){for(var r=null,i=[],o=e,a=0,s=function(){var u,c,f=new Date().getTime()-tW.getTime();if(ms.timeoutMs!==void 0&&f>ms.timeoutMs)throw new Error("Timeout: Can't find a unique selector after ".concat(f,"ms"));var p=Fb(dme(o))||Fb.apply(void 0,$t([],Tt(fme(o)),!1))||Fb.apply(void 0,$t([],Tt(pme(o)),!1))||Fb(mme(o))||[MU()],v=hme(o);if(t=="all")v&&(p=p.concat(p.filter(zw).map(function(S){return Mb(S,v)})));else if(t=="two")p=p.slice(0,1),v&&(p=p.concat(p.filter(zw).map(function(S){return Mb(S,v)})));else if(t=="one"){var g=Tt(p=p.slice(0,1),1),y=g[0];v&&zw(y)&&(p=[Mb(y,v)])}else t=="none"&&(p=[MU()],v&&(p=[Mb(p[0],v)]));try{for(var k=(u=void 0,yt(p)),E=k.next();!E.done;E=k.next()){var y=E.value;y.level=a}}catch(S){u={error:S}}finally{try{E&&!E.done&&(c=k.return)&&c.call(k)}finally{if(u)throw u.error}}if(i.push(p),i.length>=ms.seedMinLength&&(r=_U(i,n),r))return"break";o=o.parentElement,a++};o;){var l=s();if(l==="break")break}return r||(r=_U(i,n)),!r&&n?n():r}function _U(e,t){var n,r,i=iW(rW(e));if(i.length>ms.threshold)return t?t():null;try{for(var o=yt(i),a=o.next();!a.done;a=o.next()){var s=a.value;if(nW(s))return s}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function zT(e){for(var t=e[0],n=t.name,r=1;r<e.length;r++){var i=e[r].level||0;t.level===i-1?n="".concat(e[r].name," > ").concat(n):n="".concat(e[r].name," ").concat(n),t=e[r]}return n}function DU(e){return e.map(function(t){return t.penalty}).reduce(function(t,n){return t+n},0)}function nW(e){var t=zT(e);switch(rP.querySelectorAll(t).length){case 0:throw new Error("Can't select any node with this selector: ".concat(t));case 1:return!0;default:return!1}}function dme(e){var t=e.getAttribute("id");return t&&ms.idName(t)?{name:"#"+CSS.escape(t),penalty:0}:null}function fme(e){var t=Array.from(e.attributes).filter(function(n){return ms.attr(n.name,n.value)});return t.map(function(n){return{name:"[".concat(CSS.escape(n.name),'="').concat(CSS.escape(n.value),'"]'),penalty:.5}})}function pme(e){var t=Array.from(e.classList).filter(ms.className);return t.map(function(n){return{name:"."+CSS.escape(n),penalty:1}})}function mme(e){var t=e.tagName.toLowerCase();return ms.tagName(t)?{name:t,penalty:2}:null}function MU(){return{name:"*",penalty:3}}function hme(e){var t=e.parentNode;if(!t)return null;var n=t.firstChild;if(!n)return null;for(var r=0;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==e);)n=n.nextSibling;return r}function Mb(e,t){return{name:e.name+":nth-child(".concat(t,")"),penalty:e.penalty+1}}function zw(e){return e.name!=="html"&&!e.name.startsWith("#")}function Fb(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(gme);return n.length>0?n:null}function gme(e){return e!=null}function rW(e,t){var n,r,i,o,a,s;return t===void 0&&(t=[]),Ie(this,function(l){switch(l.label){case 0:if(!(e.length>0))return[3,9];l.label=1;case 1:l.trys.push([1,6,7,8]),n=yt(e[0]),r=n.next(),l.label=2;case 2:return r.done?[3,5]:(i=r.value,[5,yt(rW(e.slice(1,e.length),t.concat(i)))]);case 3:l.sent(),l.label=4;case 4:return r=n.next(),[3,2];case 5:return[3,8];case 6:return o=l.sent(),a={error:o},[3,8];case 7:try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}return[7];case 8:return[3,11];case 9:return[4,t];case 10:l.sent(),l.label=11;case 11:return[2]}})}function iW(e){return $t([],Tt(e),!1).sort(function(t,n){return DU(t)-DU(n)})}function oW(e,t,n){var r,i,o;return n===void 0&&(n={counter:0,visited:new Map}),Ie(this,function(a){switch(a.label){case 0:if(!(e.length>2&&e.length>ms.optimizedMinLength))return[3,5];r=1,a.label=1;case 1:return r<e.length-1?n.counter>ms.maxNumberOfTries?[2]:(n.counter+=1,i=$t([],Tt(e),!1),i.splice(r,1),o=zT(i),n.visited.has(o)?[2]:nW(i)&&vme(i,t)?[4,i]:[3,4]):[3,5];case 2:return a.sent(),n.visited.set(o,!0),[5,yt(oW(i,t,n))];case 3:a.sent(),a.label=4;case 4:return r++,[3,1];case 5:return[2]}})}function vme(e,t){return rP.querySelector(zT(e))===t}var yme=36e5,kme=function(e){var t=e.version,n=e.events,r=[];return n.forEach(function(i){var o=JSON.parse(i);o.count=1,o.type==="click"&&r.push(o)}),{version:t,events:r}},bme=function(e){var t=e.version,n=e.events,r=[];n.forEach(function(o){var a=JSON.parse(o);a.type==="click"&&r.push(a)});var i=r.reduce(function(o,a){var s=a.x,l=a.y,u=a.selector,c=a.timestamp,f=c-c%yme,p="".concat(s,":").concat(l,":").concat(u??"",":").concat(f);return o[p]?o[p].count+=1:o[p]=me(me({},a),{timestamp:f,count:1}),o},{});return{version:t,events:Object.values(i)}},Sme=(function(){function e(t,n){var r=this;this.createHook=function(i){var o=i.eventsManager,a=i.sessionId,s=i.deviceIdFn,l=i.mirror,u=i.ugcFilterRules,c=i.performanceOptions;return function(f){if(f.type===JH.Click){var p=Ft();if(p){var v=p.location,g=p.innerHeight,y=p.innerWidth;if(v){var k=f.x,E=f.y;if(!(k===void 0||E===void 0)){var S=l.getNode(f.id),T;if(S)try{T=ume(S,c)}catch{r.logger.debug("error resolving selector from finder")}var I=VT(v.href,u),A={x:k+r.scrollWatcher.currentScrollX,y:E+r.scrollWatcher.currentScrollY,selector:T,viewportHeight:g,viewportWidth:y,pageUrl:I,timestamp:Date.now(),type:"click"},w=s();w&&o.addEvent({sessionId:a,event:{type:"interaction",data:JSON.stringify(A)},deviceId:w})}}}}}},this.logger=t,this.scrollWatcher=n}return e})();function Hw(){var e=Ft();
12return e?.innerHeight||document.documentElement&&document.documentElement.clientHeight||0}function Ww(){var e=Ft();return e?.innerWidth||document.documentElement&&document.documentElement.clientWidth||0}var Eme=(function(){function e(t,n){var r=Ft();r&&r.navigator&&typeof r.navigator.sendBeacon=="function"?this.sendBeacon=function(i,o){try{if(r.navigator.sendBeacon(i,JSON.stringify(o)))return!0}catch{}return!1}:this.sendBeacon=function(){return!1},this.sendXhr=function(i,o){var a=new XMLHttpRequest;return a.open("POST",i,!0),a.setRequestHeader("Accept","*/*"),a.send(JSON.stringify(o)),!0},this.basePageUrl=Lv(n.serverZone,n.trackServerUrl),this.apiKey=n.apiKey,this.context=t,this.handleSendEvents=n.handleSendEvents,this.loggerProvider=n.loggerProvider}return e.prototype.send=function(t,n){var r=this,i,o=this.context,a=o.sessionId,s=o.type;if(this.handleSendEvents){var l=new URLSearchParams({device_id:t,session_id:String(a),type:String(s)}),u="".concat(this.basePageUrl,"?").concat(l.toString()),c={"Content-Type":"application/json",Accept:"*/*",Authorization:"Bearer ".concat(this.apiKey)};try{this.handleSendEvents({url:u,method:"POST",headers:c,body:JSON.stringify(n),keepalive:!0}).catch(function(v){var g;(g=r.loggerProvider)===null||g===void 0||g.warn("Custom transport failed to send session replay interaction beacon:",v)})}catch(v){(i=this.loggerProvider)===null||i===void 0||i.warn("Custom transport threw while sending session replay interaction beacon:",v)}return}var f=new URLSearchParams({device_id:t,session_id:String(a),type:String(s),api_key:this.apiKey}),p="".concat(this.basePageUrl,"?").concat(f.toString());this.sendBeacon(p,n)||this.sendXhr(p,n)},e})(),Tme=(function(){function e(t,n){var r=this;this.timestamp=Date.now(),this.hook=function(i){r.update(i)},this.send=function(i){return function(o){var a,s,l,u,c=i(),f=Ft();if(f&&c){var p=(a=f.scrollX)!==null&&a!==void 0?a:0,v=(s=f.scrollY)!==null&&s!==void 0?s:0;(p>0||v>0)&&r.update({id:1,x:p,y:v}),r.transport.send(c,{version:1,events:[{maxScrollX:r._maxScrollX,maxScrollY:r._maxScrollY,maxScrollWidth:r._maxScrollWidth,maxScrollHeight:r._maxScrollHeight,viewportHeight:Hw(),viewportWidth:Ww(),pageUrl:VT(f.location.href,(u=(l=r.config.interactionConfig)===null||l===void 0?void 0:l.ugcFilterRules)!==null&&u!==void 0?u:[]),timestamp:r.timestamp,type:"scroll"}]})}}},this._maxScrollX=0,this._maxScrollY=0,this._currentScrollX=0,this._currentScrollY=0,this._maxScrollWidth=Ww(),this._maxScrollHeight=Hw(),this.config=n,this.transport=t}return e.default=function(t,n){return new e(new Eme(t,n),n)},Object.defineProperty(e.prototype,"maxScrollX",{get:function(){return this._maxScrollX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxScrollY",{get:function(){return this._maxScrollY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxScrollWidth",{get:function(){return this._maxScrollWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxScrollHeight",{get:function(){return this._maxScrollHeight},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentScrollX",{get:function(){return this._currentScrollX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentScrollY",{get:function(){return this._currentScrollY},enumerable:!1,configurable:!0}),e.prototype.update=function(t){var n=Date.now();if(this._currentScrollX=t.x,this._currentScrollY=t.y,t.x>this._maxScrollX){var r=Ww();this._maxScrollX=t.x;var i=t.x+r;i>this._maxScrollWidth&&(this._maxScrollWidth=i),this.timestamp=n}if(t.y>this._maxScrollY){var o=Hw();this._maxScrollY=t.y;var a=t.y+o;a>this._maxScrollHeight&&(this._maxScrollHeight=a),this.timestamp=n}},e})(),FU=(function(){function e(t){var n=t.sessionId,r=t.deviceId;this.deviceId=r,this.sessionId=n,n&&r&&(this.sessionReplayId=vpe(n,r))}return e})(),Cme="AMP_SR_START_",Ame=10,aW=1440*60*1e3,sW=function(e){return"".concat(Cme).concat(e.substring(0,Ame),"_")},iP=function(e,t){return"".concat(sW(e)).concat(t)},HT=function(){try{var e=Ft();return e?.localStorage}catch{return}},Ime=function(e,t,n,r){var i=HT();if(i){var o=iP(e,t);try{var a=i.getItem(o);if(a!==null){var s=Number(a);if(Number.isFinite(s)&&s>0&&s<=n&&n-s<aW)return s}return i.setItem(o,String(n)),n}catch(l){r?.debug("Failed to read/write replay start time from storage: ".concat(String(l)));return}}},wme=function(e,t,n,r){var i=HT();if(i)try{i.setItem(iP(e,t),String(n))}catch(o){r?.debug("Failed to write replay start time to storage: ".concat(String(o)))}},Nme=function(e,t,n){var r=HT();if(r)try{r.removeItem(iP(e,t))}catch(i){n?.debug("Failed to remove replay start time from storage: ".concat(String(i)))}},Rme=function(e,t,n){var r,i,o=HT();if(o){var a=sW(e);try{for(var s=[],l=0;l<o.length;l++){var u=o.key(l);if(!(!u||!u.startsWith(a))){var c=o.getItem(u);if(c!==null){var f=Number(c);(!Number.isFinite(f)||f<=0||t-f>=aW)&&s.push(u)}}}try{for(var p=yt(s),v=p.next();!v.done;v=p.next()){var u=v.value;o.removeItem(u)}}catch(g){r={error:g}}finally{try{v&&!v.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}}catch(g){n?.debug("Failed to prune stale replay start times: ".concat(String(g)))}}},xme=1e3*60*60*24*2,Lme=(function(){function e(){var t=this;this.dbs={},this.createStore=function(n){return we(t,void 0,void 0,function(){return Ie(this,function(r){switch(r.label){case 0:return[4,QH(n,1,{upgrade:function(i){i.objectStoreNames.contains("sessionTargetingMatch")||i.createObjectStore("sessionTargetingMatch",{keyPath:"sessionId"})}})];case 1:return[2,r.sent()]}})})},this.openOrCreateDB=function(n){return we(t,void 0,void 0,function(){var r,i;return Ie(this,function(o){switch(o.label){case 0:return this.dbs&&this.dbs[n]?[2,this.dbs[n]]:(r="".concat(n.substring(0,10),"_amp_session_replay_targeting"),[4,this.createStore(r)]);case 1:return i=o.sent(),this.dbs[n]=i,[2,i]}})})},this.getTargetingMatchForSession=function(n){var r=n.loggerProvider,i=n.apiKey,o=n.sessionId;return we(t,void 0,void 0,function(){var a,s,l,u;return Ie(this,function(c){switch(c.label){case 0:return c.trys.push([0,3,,4]),[4,this.openOrCreateDB(i)];case 1:return a=c.sent(),s=String(o),[4,a.get("sessionTargetingMatch",s)];case 2:return l=c.sent(),[2,l?.targetingMatch];case 3:return u=c.sent(),Uo(r,"Failed to get targeting match for session id ".concat(o,": ").concat(u),u),[3,4];case 4:return[2,void 0]}})})},this.storeTargetingMatchForSession=function(n){var r=n.loggerProvider,i=n.apiKey,o=n.sessionId,a=n.targetingMatch;return we(t,void 0,void 0,function(){var s,l,u,c;return Ie(this,function(f){switch(f.label){case 0:return f.trys.push([0,3,,4]),[4,this.openOrCreateDB(i)];case 1:return s=f.sent(),l=String(o),[4,s.put("sessionTargetingMatch",{targetingMatch:a,sessionId:l,lastUpdated:Date.now()})];case 2:return u=f.sent(),[2,u];case 3:return c=f.sent(),Uo(r,"Failed to store targeting match for session id ".concat(o,": ").concat(c),c),[3,4];case 4:return[2,void 0]}})})},this.clearStoreOfOldSessions=function(n){var r=n.loggerProvider,i=n.apiKey,o=n.currentSessionId;return we(t,void 0,void 0,function(){var a,s,l,u,c,f,p,v;return Ie(this,function(g){switch(g.label){case 0:return g.trys.push([0,8,,9]),[4,this.openOrCreateDB(i)];case 1:return a=g.sent(),s=String(o),l=a.transaction("sessionTargetingMatch","readwrite"),[4,l.store.getAll()];case 2:u=g.sent(),c=0,g.label=3;case 3:return c<u.length?(f=u[c],p=Date.now()-f.lastUpdated,f.sessionId!==s&&p>xme?[4,l.store.delete(f.sessionId)]:[3,5]):[3,6];case 4:g.sent(),g.label=5;case 5:return c++,[3,3];case 6:return[4,l.done];case 7:return g.sent(),[3,9];case 8:return v=g.sent(),Uo(r,"Failed to clear old targeting matches for sessions: ".concat(v),v),[3,9];case 9:return[2]}})})}}return e})(),qw=new Lme,Ome=function(e){var t=e.sessionId,n=e.targetingConfig,r=e.loggerProvider,i=e.apiKey,o=e.targetingParams,a=e.urlChange,s=a===void 0?!1:a;return we(void 0,void 0,void 0,function(){var l,u,c,f,p,v,g;return Ie(this,function(y){switch(y.label){case 0:return[4,qw.clearStoreOfOldSessions({loggerProvider:r,apiKey:i,currentSessionId:t})];case 1:return y.sent(),[4,qw.getTargetingMatchForSession({loggerProvider:r,apiKey:i,sessionId:t})];case 2:if(l=y.sent(),l===!0&&!s)return[2,!0];u=!0,y.label=3;case 3:return y.trys.push([3,6,,7]),[4,St(()=>import("./index-DCvyF4bF.js"),[])];case 4:return c=y.sent().evaluateTargeting,f=me(me({},o),{flag:n,sessionId:typeof t=="string"?parseInt(t,10):t,apiKey:i,loggerProvider:r}),[4,c(f)];case 5:return p=y.sent(),p&&p.sr_targeting_config&&(u=p.sr_targeting_config.key==="on"),qw.storeTargetingMatchForSession({loggerProvider:r,apiKey:i,sessionId:t,targetingMatch:u}),[3,7];case 6:return v=y.sent(),g=v,r.warn(g.message),[3,7];case 7:return[2,u]}})})},eS=2654435761,tS=2246822519,UU=3266489917,Pme=668265263,VU=374761393;function $d(e,t){return(e<<t|e>>>32-t)>>>0}function Ub(e,t){return e=e+Math.imul(t,tS)>>>0,e=$d(e,13),e=Math.imul(e,eS)>>>0,e}function Pg(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function _me(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>=55296&&r<=56319&&n+1<e.length){var i=e.charCodeAt(n+1);i>=56320&&i<=57343&&(r=(r-55296<<10)+(i-56320)+65536,n++)}r<128?t.push(r):r<2048?t.push(192|r>>6,128|r&63):r<65536?t.push(224|r>>12,128|r>>6&63,128|r&63):t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|r&63)}return new Uint8Array(t)}function Dme(e,t){t===void 0&&(t=0);var n=_me(e),r=n.length,i,o=0;if(r>=16){for(var a=t+eS+tS>>>0,s=t+tS>>>0,l=t>>>0,u=t-eS>>>0;o<=r-16;)a=Ub(a,Pg(n,o)),o+=4,s=Ub(s,Pg(n,o)),o+=4,l=Ub(l,Pg(n,o)),o+=4,u=Ub(u,Pg(n,o)),o+=4;i=$d(a,1)+$d(s,7)+$d(l,12)+$d(u,18)>>>0}else i=t+VU>>>0;for(i=i+r>>>0;o<=r-4;)i=i+Math.imul(Pg(n,o),UU)>>>0,i=Math.imul($d(i,17),Pme)>>>0,o+=4;for(;o<r;)i=i+Math.imul(n[o],VU)>>>0,i=Math.imul($d(i,11),eS)>>>0,o++;return i^=i>>>15,i=Math.imul(i,tS)>>>0,i^=i>>>13,i=Math.imul(i,UU)>>>0,i^=i>>>16,i>>>0}function Mme(e,t){var n=Dme(e.toString()),r=n%1e6;return r/1e6<t}var Gw="__amplitude_url_tracking_patched__",BU=new WeakMap;function lW(e,t,n){if(n===void 0&&(n={}),!e?.location)return function(){};var r=n.enablePolling,i=r===void 0?!1:r,o=n.pollingInterval,a=o===void 0?eP:o;if(i){var s=function(){var I;return(I=e.location.href)!==null&&I!==void 0?I:""},l=s(),u=e.setInterval(function(){var I=s();I!==l&&(l=I,t(I))},a);return function(){u!=null&&e.clearInterval(u)}}var c=BU.get(e);if(!c){var f=void 0,p=new Set,v=function(){var I;return(I=e.location.href)!==null&&I!==void 0?I:""},g=function(){var I=v();
12f!==void 0&&I===f||(f=I,p.forEach(function(A){return A(I)}))},y=function(I){var A=function(){for(var w=[],R=0;R<arguments.length;R++)w[R]=arguments[R];var x=I.apply(this,w);return g(),x};return A[Gw]=!0,A},k=e.history;if(k?.pushState){var E=Reflect.get(k,"pushState");E[Gw]||(k.pushState=y(E))}if(k?.replaceState){var S=Reflect.get(k,"replaceState");S[Gw]||(k.replaceState=y(S))}c={callbacks:p,notify:g,onPopStateOrHashChange:function(){return g()},listenersAttached:!1},BU.set(e,c)}var T=c;return T.listenersAttached||(e.addEventListener("popstate",T.onPopStateOrHashChange),e.addEventListener("hashchange",T.onPopStateOrHashChange),T.listenersAttached=!0),T.callbacks.add(t),function(){T.callbacks.delete(t),T.callbacks.size===0&&T.listenersAttached&&(e.removeEventListener("popstate",T.onPopStateOrHashChange),e.removeEventListener("hashchange",T.onPopStateOrHashChange),T.listenersAttached=!1)}}function uW(e){return e===void 0&&(e={}),{name:"amplitude/url-tracking@1",observer:function(t,n,r){var i,o,a,s=me(me({},e),r),l=s.ugcFilterRules||[],u=(i=s.enablePolling)!==null&&i!==void 0?i:!1,c=(o=s.pollingInterval)!==null&&o!==void 0?o:eP,f=(a=s.captureDocumentTitle)!==null&&a!==void 0?a:!1;if(!n)return function(){};var p=void 0,v=function(){return n.location&&n.location.href||""},g=function(){var E=n.innerHeight,S=n.innerWidth,T=n.document,I=v(),A="";f&&(A=T?.title||"");var w=l.length>0?VT(I,l):I;return{href:w,title:A,viewportHeight:E,viewportWidth:S,type:"url-change-event"}},y=function(){var E=v();if(p===void 0||E!==p){p=E;var S=g();t(S)}},k=lW(n,function(){return y()},u?{enablePolling:!0,pollingInterval:c}:{});return y(),function(){return k()}},options:e}}uW();function Fme(){try{var e=Ft();return e?e.parent!==e:!1}catch{return!0}}var Ume=(function(){function e(){this.pendingLoadListeners=new Map}return e.prototype.start=function(){var t=this,n;(n=this.mutationObserver)===null||n===void 0||n.disconnect();var r=Ft();r&&(this.sendToAllIframes({type:X0,action:"start"}),this.mutationObserver=new MutationObserver(function(i){var o,a,s,l,u,c;try{for(var f=yt(i),p=f.next();!p.done;p=f.next()){var v=p.value;try{for(var g=(s=void 0,yt(Array.from(v.addedNodes))),y=g.next();!y.done;y=g.next()){var k=y.value;k instanceof HTMLIFrameElement?t.sendToIframeAfterLoad(k):k instanceof Element&&k.querySelectorAll("iframe").forEach(function(I){t.sendToIframeAfterLoad(I)})}}catch(I){s={error:I}}finally{try{y&&!y.done&&(l=g.return)&&l.call(g)}finally{if(s)throw s.error}}try{for(var E=(u=void 0,yt(Array.from(v.removedNodes))),S=E.next();!S.done;S=E.next()){var k=S.value;if(k instanceof HTMLIFrameElement){var T=t.pendingLoadListeners.get(k);T&&(k.removeEventListener("load",T),t.pendingLoadListeners.delete(k))}}}catch(I){u={error:I}}finally{try{S&&!S.done&&(c=E.return)&&c.call(E)}finally{if(u)throw u.error}}}}catch(I){o={error:I}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}}),this.mutationObserver.observe(document.documentElement,{childList:!0,subtree:!0}))},e.prototype.stop=function(){var t;(t=this.mutationObserver)===null||t===void 0||t.disconnect(),this.mutationObserver=void 0,this.pendingLoadListeners.forEach(function(n,r){r.removeEventListener("load",n)}),this.pendingLoadListeners.clear(),this.sendToAllIframes({type:X0,action:"stop"})},e.prototype.sendToIframeAfterLoad=function(t){var n=this,r=function(){n.pendingLoadListeners.delete(t),n.sendToIframe(t,{type:X0,action:"start"})};this.pendingLoadListeners.set(t,r),t.addEventListener("load",r,{once:!0})},e.prototype.sendToAllIframes=function(t){var n=this,r=document.querySelectorAll("iframe");r.forEach(function(i){return n.sendToIframe(i,t)})},e.prototype.sendToIframe=function(t,n){var r;try{(r=t.contentWindow)===null||r===void 0||r.postMessage(n,"*")}catch{}},e})();function Vme(e){var t=Ft();if(!t)return function(){};var n=t.parent;function r(i){if(i.source===n){var o=i.data;o?.type===X0&&(o.action==="start"?e.onStart():o.action==="stop"&&e.onStop())}}return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}var Bme=(function(){function e(){var t=this;this.name="@amplitude/session-replay-browser",this.recordCancelCallback=null,this.eventCount=0,this.sessionTargetingMatch=!1,this.pageLeaveFns=[],this.suppressedSendCount=0,this.hasEmittedGateDecision=!1,this.recordFunction=null,this.recordEventsInFlight=!1,this.recordingEnabled=!0,this.recordingGeneration=0,this.startChildRecordingOnSetup=!1,this.pendingEmitEvents=[],this.currentPageUrl="",this.recordEventsPendingShouldLogMetadata=null,this.urlChangeCleanup=null,this.crossOriginIframeC
12oordinator=null,this.crossOriginParentSignalCleanup=null,this.latestUrlChangeTargetingEvaluationId=0,this.teardownEventListeners=function(n){var r=Ft();r&&(r.removeEventListener("blur",t.blurListener),r.removeEventListener("focus",t.focusListener),!n&&r.addEventListener("blur",t.blurListener),!n&&r.addEventListener("focus",t.focusListener),r.self&&"onpagehide"in r.self?(r.removeEventListener("pagehide",t.pageLeaveListener),!n&&r.addEventListener("pagehide",t.pageLeaveListener)):(r.removeEventListener("beforeunload",t.pageLeaveListener),!n&&r.addEventListener("beforeunload",t.pageLeaveListener)))},this.blurListener=function(){t.sendEvents()},this.focusListener=function(){var n;if(t.recordingEnabled)if(t.recordCancelCallback&&t.recordFunction){if(((n=t.config)===null||n===void 0?void 0:n.captureFullSnapshotOnFocus)===!1)return;try{t.recordFunction.takeFullSnapshot(!0)}catch(r){t.loggerProvider.warn("Failed to take full snapshot on focus:",r)}}else t.recordEventsInFlight||t.recordEvents(!1)},this.pageLeaveListener=function(n){var r;(r=t.eventCompressor)===null||r===void 0||r.flushQueue(),t.sendEvents(),t.pageLeaveFns.forEach(function(i){i(n)})},this.evaluateTargetingAndCapture=function(n,r,i,o){return r===void 0&&(r=!1),i===void 0&&(i=!1),o===void 0&&(o=!1),we(t,void 0,void 0,function(){var a,s,l,u,c,f,p,v,g,y,k,E,S;return Ie(this,function(T){switch(T.label){case 0:if(!this.identifiers||!this.identifiers.sessionId||!this.config)return this.identifiers&&!this.identifiers.sessionId?this.loggerProvider.log("Session ID has not been set yet, cannot evaluate targeting for Session Replay."):this.loggerProvider.warn("Session replay init has not been called, cannot evaluate targeting."),[2];if(!this.config.targetingConfig)if(r)this.loggerProvider.log("Targeting config has not been set yet, cannot evaluate targeting.");else return this.loggerProvider.log("No targeting config set, skipping initialization/recording for event."),[2];return this.lastTargetingParams=n,a=this.config.targetingConfig,s=a&&!this.sessionTargetingMatch,s?(l=o?this.latestUrlChangeTargetingEvaluationId:void 0,u=n.event,u&&Object.values(Ro).includes(u.event_type)&&(u=void 0),c=(E=(g=(v=n.page)===null||v===void 0?void 0:v.url)!==null&&g!==void 0?g:(k=(y=Ft())===null||y===void 0?void 0:y.location)===null||k===void 0?void 0:k.href)!==null&&E!==void 0?E:"",f=(S=n.page)!==null&&S!==void 0?S:c!==""?{url:c}:void 0,[4,Ome({sessionId:this.identifiers.sessionId,targetingConfig:a,loggerProvider:this.loggerProvider,apiKey:this.config.apiKey,targetingParams:{userProperties:n.userProperties,event:u,page:f},urlChange:o})]):[3,2];case 1:if(p=T.sent(),o&&l!==void 0&&l!==this.latestUrlChangeTargetingEvaluationId)return this.loggerProvider.debug("Ignoring stale URL-change targeting result #".concat(l,"; latest is #").concat(this.latestUrlChangeTargetingEvaluationId,".")),[2];this.sessionTargetingMatch=this.sessionTargetingMatch||p,this.loggerProvider.debug(JSON.stringify({name:"targeted replay capture config",sessionTargetingMatch:this.sessionTargetingMatch,event:u,targetingParams:n},null,2)),T.label=2;case 2:return r?(this.initialize(!0),[3,5]):[3,3];case 3:return i||!this.recordCancelCallback?(this.loggerProvider.log("Recording events for session due to forceRestart or no ongoing recording."),[4,this.recordEvents()]):[3,5];case 4:T.sent(),T.label=5;case 5:return[2]}})})},this.addCustomRRWebEvent=function(n,r,i){return r===void 0&&(r={}),i===void 0&&(i=!0),we(t,void 0,void 0,function(){var o,a,s,l;return Ie(this,function(u){switch(u.label){case 0:return u.trys.push([0,3,,4]),o=void 0,a=this.config,a&&n!==Eu.METADATA?(o={config:YH(a),version:ZS},i?[4,KH()]:[3,2]):[3,2];case 1:s=u.sent(),o=me(me({},s),o),u.label=2;case 2:return this.recordCancelCallback&&this.recordFunction?this.recordFunction.addCustomEvent(n,me(me({},r),o)):this.loggerProvider.debug("Not able to add custom replay capture event ".concat(n," due to no ongoing recording.")),[3,4];case 3:return l=u.sent(),this.loggerProvider.debug("Error while adding custom replay capture event: ",l),[3,4];case 4:return[2]}})})},this.stopRecordingEvents=function(){var n,r,i;try{t.loggerProvider.log("Session Replay capture stopping."),t.recordCancelCallback&&t.recordCancelCallback(),t.recordCancelCallback=null,(n=t.networkObservers)===null||n===void 0||n.stop(),(r=t.crossOriginIframeC
12oordinator)===null||r===void 0||r.stop(),t.crossOriginIframeCoordinator=null,(i=t.crossOriginParentSignalCleanup)===null||i===void 0||i.call(t),t.crossOriginParentSignalCleanup=null}catch(a){var o=a;t.loggerProvider.warn("Error occurred while stopping replay capture: ".concat(o.toString()))}},this.loggerProvider=new Tx(new $m)}return e.prototype.init=function(t,n){return eo(this._init(t,n))},e.prototype.setupUrlChangeListener=function(){var t=this,n,r;(n=this.urlChangeCleanup)===null||n===void 0||n.call(this);var i=Ft();if(i?.location){var o=!!(!((r=this.config)===null||r===void 0)&&r.targetingConfig),a=function(l){if(t.currentPageUrl=l,o){var u=++t.latestUrlChangeTargetingEvaluationId;t.evaluateTargetingAndCapture({userProperties:{},event:void 0,page:{url:l}},!1,!1,!0),t.loggerProvider.debug("Queued URL-change targeting re-evaluation #".concat(u," for ").concat(l,"."))}},s=lW(i,a);this.urlChangeCleanup=function(){s(),t.urlChangeCleanup=null}}},e.prototype.isBelowMinSessionDuration=function(){var t,n=(t=this.config)===null||t===void 0?void 0:t.minSessionDurationMs;return n===void 0||this.sessionStartTime===void 0?!1:Date.now()-this.sessionStartTime<n},e.prototype.getCurrentPageForTargeting=function(){var t,n,r=(n=(t=Ft())===null||t===void 0?void 0:t.location)===null||n===void 0?void 0:n.href;return r!=null?{url:r}:void 0},e.prototype._init=function(t,n){var r,i,o,a,s,l,u,c,f,p,v,g,y,k;return we(this,void 0,void 0,function(){var E,S,T,I,A,w,R,x,D,M,F,L,P,j,B,H,G,U,O,V,W,U,q,$,J,Z,Y,ee,te,ce,ne,Ce,ae,pe=this;return Ie(this,function(ve){switch(ve.label){case 0:return(r=this.urlChangeCleanup)===null||r===void 0||r.call(this),this.recordingEnabled=!0,this.startChildRecordingOnSetup=!1,this.loggerProvider=new Tx(n.loggerProvider||new $m),Object.prototype.hasOwnProperty.call(n,"logLevel")&&this.loggerProvider.enable(n.logLevel),this.currentPageUrl=Cx(),this.identifiers=new FU({sessionId:n.sessionId,deviceId:n.deviceId}),E=Date.now(),Rme(t,E,this.loggerProvider),this.sessionStartTime=n.sessionId!==void 0&&(i=Ime(t,n.sessionId,E,this.loggerProvider))!==null&&i!==void 0?i:E,S=this,[4,wpe(t,n)];case 1:return S.joinedConfigGenerator=ve.sent(),[4,this.joinedConfigGenerator.generateJoinedConfig()];case 2:return T=ve.sent(),I=T.joinedConfig,A=T.localConfig,w=T.remoteConfig,this.config=I,this.setMetadata(n.sessionId,I,A,w,(o=n.version)===null||o===void 0?void 0:o.version,ZS,(a=n.version)===null||a===void 0?void 0:a.type),this.pageLeaveFns=[],n.sessionId&&(!((s=this.config.interactionConfig)===null||s===void 0)&&s.enabled)&&(R=Tme.default({sessionId:n.sessionId,type:"interaction"},this.config),this.pageLeaveFns=[R.send(this.getDeviceId.bind(this)).bind(R)],this.scrollHook=R.hook.bind(R),this.clickHandler=new Sme(this.loggerProvider,R)),x=[],D=this.config.storeType,D==="idb"&&!(!((l=Ft())===null||l===void 0)&&l.indexedDB)&&(D="memory",this.loggerProvider.warn("Could not use preferred indexedDB storage, reverting to in memory option.")),this.loggerProvider.log("Using ".concat(D," for event storage.")),L=Ft(),this.config.useWebWorker&&L&&L.Worker?[4,St(()=>import("./index-BUd4hCY-.js"),[])]:[3,4];case 3:P=ve.sent(),j=P.compressionScript,B=P.trackDestinationScript,M=j,F=B,ve.label=4;case 4:return ve.trys.push([4,6,,7]),[4,OU({config:this.config,type:"replay",minInterval:(u=this.config.flushIntervalConfig)===null||u===void 0?void 0:u.minIntervalMs,maxInterval:(c=this.config.flushIntervalConfig)===null||c===void 0?void 0:c.maxIntervalMs,maxPersistedEventsSize:this.config.maxPersistedEventsSizeBytes,storeType:D,trackDestinationWorkerScript:F,shouldSend:function(){return!pe.isBelowMinSessionDuration()}})];case 5:return H=ve.sent(),this.rrwebEventManager=H,x.push({name:"replay",manager:H}),[3,7];case 6:return G=ve.sent(),U=G,this.loggerProvider.warn("Error occurred while creating replay events manager: ".concat(U.toString())),[3,7];case 7:if(!(!((f=this.config.interactionConfig)===null||f===void 0)&&f.enabled))return[3,11];O=this.config.interactionConfig.batch?bme:kme,ve.label=8;case 8:return ve.trys.push([8,10,,11]),[4,OU({config:this.config,type:"interaction",minInterval:(p=this.config.interactionConfig.trackEveryNms)!==null&&p!==void 0?p:rpe,maxInterval:ipe,maxPersistedEventsSize:this.config.maxPersistedEventsSizeBytes,payloadBatcher:O,storeType:D,trackDestinationWorkerScript:F})];case 9:return V=ve.sent(),x.push({name:"interaction",manager:V}),[3,11];case 10:return W=ve.sent(),U=W,this.loggerProvider.warn("Error occurred while creating interaction events manager: ".concat(U.toString())),[3,11];case 11:if(this.eventsManager=new(PU.bind.apply(PU,$t([void 0],Tt(x),!1))),this.eventCompressor&&this.eventCompressor.terminate(),q=this.config.eagerFullSnapshotSend===!0?function(){return pe.sendEvents()}:void 0,this.eventCompressor=new _pe(this.eventsManager,this.config,this.getDeviceId(),M,q),this.pendingEmitEvents.length>0){$=this.pendingEmitEvents.splice(0);try{for(J=yt($),Z=J.next();!Z.done;Z=J.next())Y=Z.value,ee=Y.event,te=Y.sessionId,this.eventCompressor.enqueueEvent(ee,te)}catch(Se){Ce={error:Se}}finally{try{Z&&!Z.done&&(ae=J.return)&&ae.call(J)}finally{if(Ce)throw Ce.error}}}return this.pageLeaveFns=$t($t([],Tt(this.pageLeaveFns),!1),[function(){var Se;if(!(!pe.config||!(!((Se=pe.identifiers)===null||Se===void 0)&&Se.sessionId)||!H)){var De=H.getBeaconEvents();if(De.length){var Ee=pe.getDeviceId();Ee&&(pe.isBelowMinSessionDuration()||H.trackDestination.sendBeacon({events:De,sessionId:pe.identifiers.sessionId,deviceId:Ee,apiKey:pe.config.apiKey,serverZone:pe.config.serverZone}))}}}],!1),[4,this.initializeNetworkObservers()];case 12:return ve.sent(),!((v=Ft())===null||v===void 0)&&v.opener&&(ce=Iz(),wz(ce),ce.setup(me({logger:this.loggerProvider},this.config.serverZone&&{endpoint:Cz[this.config.serverZone]}))),this.loggerProvider.log("Installing @amplitude/session-replay-browser."),this.teardownEventListeners(!1),[4,this.evaluateTargetingAndCapture({userProperties:n.userProperties,page:this.getCurrentPageForTargeting()},!0)];case 13:return ve.sent(),ne=this.config.targetingConfig||((k=(y=(g=this.config.privacyConfig)===null||g===void 0?void 0:g.urlMaskLevels)===null||y===void 0?void 0:y.length)!==null&&k!==void 0?k:0)>0,ne&&this.setupUrlChangeListener(),[2]}})})},e.prototype.setSessionId=function(t,n){return eo(this.asyncSetSessionId(t,n))},e.prototype.asyncSetSessionId=function(t,n,r){var i,o,a,s;return we(this,void 0,void 0,function(){var l,u,c,f,p;return Ie(this,function(v){switch(v.label){case 0:return l=(i=this.identifiers)===null||i===void 0?void 0:i.sessionId,u=this.getDeviceId(),l!==void 0&&l===t&&(n===void 0||n===u)&&(r?.userProperties===void 0||Object.keys(r.userProperties).length===0)?[2]:(this.latestUrlChangeTargetingEvaluationId++,this.sessionTargetingMatch=!1,this.lastShouldRecordDecision=void 0,l&&this.sendEvents(l),c=l!==t,c&&((o=this.rrwebEventManager)===null||o===void 0||o.dropPendingBeaconEvents()),f=n||this.getDeviceId(),this.identifiers=new FU({sessionId:t,deviceId:f}),c&&(this.sessionStartTime=Date.now(),this.suppressedSendCount=0,this.hasEmittedGateDecision=!1,!((a=this.config)===null||a===void 0)&&a.apiKey&&(wme(this.config.apiKey,t,this.sessionStartTime,this.loggerProvider),l!==void 0&&Nme(this.config.apiKey,l,this.loggerProvider))),this.joinedConfigGenerator&&l?[4,this.joinedConfigGenerator.generateJoinedConfig()]:[3,2]);case 1:p=v.sent().joinedConfig,this.config=p,v.label=2;case 2:return!((s=this.config)===null||s===void 0)&&s.targetingConfig?[4,this.evaluateTargetingAndCapture({userProperties:r?.userProperties,page:this.getCurrentPageForTargeting()},!1,!0)]:[3,4];case 3:return v.sent(),[3,6];case 4:return[4,this.recordEvents()];case 5:v.sent(),v.label=6;case 6:return[2]}})})},e.prototype.getSessionReplayProperties=function(){var t,n=this.config,r=this.identifiers;if(!n||!r)return this.loggerProvider.warn("Session replay init has not been called, cannot get session replay properties."),{};var i=this.getShouldRecord(),o={};return i&&(o=(t={},t[Yfe]=r.sessionReplayId?r.sessionReplayId:null,t),n.debugMode&&(o[Qfe]=JSON.stringify({appHash:lx(n.apiKey).toString()}))),this.addCustomRRWebEvent(Eu.GET_SR_PROPS,{shouldRecord:i,eventProperties:o},this.eventCount===10),this.eventCount===10&&(this.eventCount=0),this.eventCount++,o},e.prototype.sendEvents=function(t){var n,r,i=t||((n=this.identifiers)===null||n===void 0?void 0:n.sessionId),o=this.getDeviceId();if(this.eventsManager&&i&&o){if(this.isBelowMinSessionDuration()){var a=this.sessionStartTime,s=this.config.minSessionDurationMs;this.loggerProvider.log("Session ".concat(i," not sent: duration ").concat(Date.now()-a,"ms is below minimum ").concat(s,"ms.")),this.suppressedSendCount++;return}if(!this.hasEmittedGateDecision&&((r=this.config)===null||r===void 0?void 0:r.minSessionDurationMs)!==void 0&&this.recordCancelCallback&&this.recordFunction){this.hasEmittedGateDecision=!0;var l=this.sessionStartTime!==void 0?Date.now()-this.sessionStartTime:void 0;this.addCustomRRWebEvent(Eu.REPLAY_GATE_DECISION,{sessionId:i,suppressedSendCount:this.suppressedSendCount,elapsedMs:l,minSessionDurationMs:this.config.minSessionDurationMs},!1)}this.eventsManager.sendCurrentSequenceEvents({sessionId:i,deviceId:o})}},e.prototype.initialize=function(t){var n;return t===void 0&&(t=!1),we(this,void 0,void 0,function(){var r;return Ie(this,function(i){return!((n=this.identifiers)===null||n===void 0)&&n.sessionId?(r=this.getDeviceId(),r?(this.eventsManager&&t&&this.eventsManager.sendStoredEvents({deviceId:r}),[2,this.recordEvents()]):(this.loggerProvider.log("Session is not being recorded due to lack of device id."),[2,Promise.resolve()])):(this.loggerProvider.log("Session is not being recorded due to lack of session id."),[2,Promise.resolve()])})})},e.prototype.shouldOptOut=function(){var t,n,r;if(!((t=this.config)===null||t===void 0)&&t.instanceName){var i=Ff
12(this.config.instanceName).identityStore;r=i.getIdentity().optOut}return r!==void 0?r:(n=this.config)===null||n===void 0?void 0:n.optOut},e.prototype.getShouldRecord=function(){if(!this.identifiers||!this.config||!this.identifiers.sessionId)return this.loggerProvider.warn("Session is not being recorded due to lack of config, please call sessionReplay.init."),!1;if(!this.recordingEnabled)return this.loggerProvider.log("Session ".concat(this.identifiers.sessionId," not being captured because recording was stopped.")),!1;if(!this.config.captureEnabled)return this.loggerProvider.log("Session ".concat(this.identifiers.sessionId," not being captured due to capture being disabled for project or because the remote config could not be fetched.")),!1;if(this.shouldOptOut())return this.loggerProvider.log("Opting session ".concat(this.identifiers.sessionId," out of recording due to optOut config.")),!1;var t=!1,n="",r=!1;if(this.config.targetingConfig)this.sessionTargetingMatch?(n="Capturing replays for session ".concat(this.identifiers.sessionId," due to matching targeting conditions."),this.loggerProvider.log(n),t=!0,r=!0):(n="Not capturing replays for session ".concat(this.identifiers.sessionId," due to not matching targeting conditions."),this.loggerProvider.log(n),t=!1,r=!1);else{var i=Mme(this.identifiers.sessionId,this.config.sampleRate);i?(t=!0,r=!0):(n="Opting session ".concat(this.identifiers.sessionId," out of recording due to sample rate."),this.loggerProvider.log(n),t=!1,r=!1)}return this.lastShouldRecordDecision!==t&&this.config.targetingConfig&&(this.addCustomRRWebEvent(Eu.TARGETING_DECISION,{message:n,sessionId:this.identifiers.sessionId,matched:r,targetingParams:this.lastTargetingParams}),this.lastShouldRecordDecision=t),t},e.prototype.getBlockSelectors=function(){var t,n,r,i=(r=(n=(t=this.config)===null||t===void 0?void 0:t.privacyConfig)===null||n===void 0?void 0:n.blockSelector)!==null&&r!==void 0?r:[];if(i.length!==0)return i},e.prototype.getMaskTextSelectors=function(){var t,n,r=(t=this.config)===null||t===void 0?void 0:t.privacyConfig,i=r?WH(this.currentPageUrl,r):void 0;if(i==="conservative"||!((n=r?.urlMaskLevels)===null||n===void 0)&&n.some(function(s){return s.maskLevel==="conservative"}))return"*";var o=r?.urlMaskLevels;if(r?.defaultMaskLevel==="conservative"&&o&&o.length>0)return"*";var a=r?.maskSelector;if(a)return a},e.prototype.getRecordingPlugins=function(t){var n,r,i,o,a,s;return we(this,void 0,void 0,function(){var l,u,c,f;return Ie(this,function(p){switch(p.label){case 0:l=[];try{u=uW({ugcFilterRules:((r=(n=this.config)===null||n===void 0?void 0:n.interactionConfig)===null||r===void 0?void 0:r.ugcFilterRules)||[],enablePolling:((i=this.config)===null||i===void 0?void 0:i.enableUrlChangePolling)||!1,pollingInterval:(o=this.config)===null||o===void 0?void 0:o.urlChangePollingInterval,captureDocumentTitle:(a=this.config)===null||a===void 0?void 0:a.captureDocumentTitle}),l.push(u)}catch(v){this.loggerProvider.warn("Failed to create URL tracking plugin:",v)}if(!(!((s=t?.console)===null||s===void 0)&&s.enabled))return[3,4];p.label=1;case 1:return p.trys.push([1,3,,4]),[4,St(()=>import("./rrweb-plugin-console-record-sPdhR0i8.js"),[])];case 2:return c=p.sent().getRecordConsolePlugin,l.push(c({level:t.console.levels})),[3,4];case 3:return f=p.sent(),this.loggerProvider.warn("Failed to load console plugin:",f),[3,4];case 4:return[2,l.length>0?l:void 0]}})})},e.prototype.getRecordFunction=function(){return we(this,void 0,void 0,function(){var t,n;return Ie(this,function(r){switch(r.label){case 0:if(this.recordFunction)return[2,this.recordFunction];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,St(()=>import("./rrweb-record-FZj7_RZS.js"),[])];case 2:return t=r.sent().record,this.recordFunction=t,[2,t];case 3:return n=r.sent(),this.loggerProvider.warn("Failed to load rrweb-record module:",n),[2,null];case 4:return[2]}})})},e.prototype.recordEvents=function(t){return t===void 0&&(t=!0),we(this,void 0,void 0,function(){var n;return Ie(this,function(r){switch(r.label){case 0:if(this.recordEventsInFlight)return this.recordEventsPendingShouldLogMetadata=t,[2];this.recordEventsInFlight=!0,r.label=1;case 1:return r.trys.push([1,,6,7]),[4,this._recordEvents(t)];case 2:r.sent(),r.label=3;case 3:return this.recordEventsPendingShouldLogMetadata===null?[3,5]:(n=this.recordEventsPendingShouldLogMetadata,this.recordEventsPendingShouldLogMetadata=null,[4,this._recordEvents(n)]);case 4:return r.sent(),[3,3];case 5:return[3,7];case 6:return this.recordEventsInFlight=!1,this.recordEventsPendingShouldLogMetadata=null,[7];case 7:return[2]}})})},e.prototype.shouldAbandonRecordStart=function(t){return!this.recordingEnabled||t!==this.recordingGeneration},e.prototype._recordEvents=function(t){var n,r,i,o,a,s,l,u;return t===void 0&&(t=!0),we(this,void 0,void 0,function(){var c,f,p,v,g,y,k,E,S,T,I,A,w,R,x,D,M,F=this;return Ie(this,function(L){switch(L.label){case 0:return c=this.config,f=this.getShouldRecord(),p=(n=this.identifiers)===null||n===void 0?void 0:n.sessionId,!f||!p||!c?[2]:(this.stopRecordingEvents(),v=this.recordingGeneration,[4,this.getRecordFunction()]);case 1:return g=L.sent(),!g||this.shouldAbandonRecordStart(v)?[2]:[4,this.initializeNetworkObservers()];case 2:if(L.sent(),this.shouldAbandonRecordStart(v))return[2];y=(r=c.loggingConfig)===null||r===void 0?void 0:r.network,k=Lv(c.serverZone,c.trackServerUrl),E=[VH,BH,jH,k],(i=this.networkObservers)===null||i===void 0||i.start(function(P){E.some(function(j){return P.url.startsWith(j)})||F.addCustomRRWebEvent(Eu.FETCH_REQUEST,P)},y),S=c.interactionConfig,T=c.loggingConfig,I=S?.enabled?{mouseInteraction:this.eventsManager&&((o=this.clickHandler)===null||o===void 0?void 0:o.createHook({eventsManager:this.eventsManager,sessionId:p,deviceIdFn:this.getDeviceId.bind(this),mirror:g.mirror,ugcFilterRules:(a=S.ugcFilterRules)!==null&&a!==void 0?a:[],performanceOptions:(s=c.performanceConfig)===null||s===void 0?void 0:s.interaction})),scroll:this.scrollHook}:{},A=S?.enabled&&S.ugcFilterRules?S.ugcFilterRules:[],this.loggerProvider.log("Session Replay capture beginning for ".concat(p,".")),L.label=3;case 3:return L.trys.push([3,5,,6]),w=!!(!((l=c.crossOriginIframes)===null||l===void 0)&&l.enabled),R=((u=c.crossOriginIframes)===null||u===void 0?void 0:u.coordinateChildren)!==!1,x=w&&Fme(),x&&R?(this.crossOriginParentSignalCleanup=Vme({onStart:function(){F.recordingEnabled&&F._recordEventsInChildMode(g,p,c,I)},onStop:function(){try{F.recordCancelCallback&&F.recordCancelCallback(),F.recordCancelCallback=null}catch(j){var P=j;F.loggerProvider.warn("Error occurred while stopping child iframe replay capture: ".concat(P.toString()))}}}),this.startChildRecordingOnSetup&&(this.startChildRecordingOnSetup=!1,this._recordEventsInChildMode(g,p,c,I)),[2]):(this.startChildRecordingOnSetup=!1,[4,this.getRecordingPlugins(T)]);case 4:return D=L.sent(),this.shouldAbandonRecordStart(v)?[2]:(this.recordCancelCallback=g(me(me({},this.buildRRWebRecordOptions(c,I,function(P){if(F.shouldOptOut()||!F.recordingEnabled){F.loggerProvider.log(F.shouldOptOut()?"Opting session ".concat(p," out of recording due to optOut config."):"Session Replay capture stopping for ".concat(p,".")),F.stopRecordingEvents(),F.sendEvents();return}P.type===BT.Meta&&(P.data.href=VT(P.data.href,A)),F.eventCompressor?F.eventCompressor.enqueueEvent(P,p):F.pendingEmitEvents.push({event:P,sessionId:p})},"Error while capturing replay: ")),{plugins:D,recordCrossOriginIframes:w}
12)),w&&!x&&R&&(this.crossOriginIframeCoordinator||(this.crossOriginIframeCoordinator=new Ume),this.crossOriginIframeCoordinator.start()),this.addCustomRRWebEvent(Eu.DEBUG_INFO),t&&this.addCustomRRWebEvent(Eu.METADATA,this.metadata),[3,6]);case 5:return M=L.sent(),this.loggerProvider.warn("Failed to initialize session replay:",M),[3,6];case 6:return[2]}})})},e.prototype.buildRRWebRecordOptions=function(t,n,r,i){var o=this,a=t.privacyConfig;return me(me({emit:r,inlineStylesheet:t.shouldInlineStylesheet,inlineImages:t.inlineImages,hooks:n,maskAllInputs:!0,maskTextClass:FH,blockClass:Xfe,blockSelector:this.getBlockSelectors(),applyBackgroundColorToBlockedElements:t.applyBackgroundColorToBlockedElements,maskInputFn:SU("input",a,function(){return o.currentPageUrl}),maskTextFn:SU("text",a,function(){return o.currentPageUrl}),maskAttributeFn:gpe(a,function(){return o.currentPageUrl}),maskTextSelector:this.getMaskTextSelectors()},t.fullSnapshotIntervalMs!==void 0&&{checkoutEveryNms:t.fullSnapshotIntervalMs}),{recordCanvas:!1,captureAdoptedStyleSheets:t.captureAdoptedStyleSheets,slimDOMOptions:{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0},errorHandler:function(s){var l=s;if(l.message.includes("insertRule")&&l.message.includes("CSSStyleSheet")||l._external_)throw l;return o.loggerProvider.warn(i,l.toString()),!0}})},e.prototype._recordEventsInChildMode=function(t,n,r,i){try{this.recordCancelCallback&&this.recordCancelCallback(),this.recordCancelCallback=null,this.recordCancelCallback=t(me(me({},this.buildRRWebRecordOptions(r,i,function(){},"Error while capturing replay (child iframe): ")),{recordCrossOriginIframes:!0})),this.loggerProvider.log("Session Replay child iframe capture beginning for session ".concat(n,"."))}catch(o){this.loggerProvider.warn("Failed to initialize session replay in child iframe mode:",o)}},e.prototype.getDeviceId=function(){var t;return(t=this.identifiers)===null||t===void 0?void 0:t.deviceId},e.prototype.getSessionId=function(){var t;return(t=this.identifiers)===null||t===void 0?void 0:t.sessionId},e.prototype.start=function(){return eo(this._start())},e.prototype._start=function(){return we(this,void 0,void 0,function(){return Ie(this,function(t){switch(t.label){case 0:return this.recordingEnabled=!0,this.startChildRecordingOnSetup=!0,[4,this.recordEvents()];case 1:return t.sent(),[2]}})})},e.prototype.stop=function(){this.recordingEnabled=!1,this.startChildRecordingOnSetup=!1,this.recordingGeneration++,this.stopRecordingEvents(),this.sendEvents()},e.prototype.flush=function(t){var n;return t===void 0&&(t=!1),we(this,void 0,void 0,function(){return Ie(this,function(r){return[2,(n=this.eventsManager)===null||n===void 0?void 0:n.flush(t)]})})},e.prototype.shutdown=function(){var t,n;this.recordingEnabled=!1,this.startChildRecordingOnSetup=!1,this.recordingGeneration++,(t=this.urlChangeCleanup)===null||t===void 0||t.call(this),(n=this.crossOriginParentSignalCleanup)===null||n===void 0||n.call(this),this.crossOriginParentSignalCleanup=null,this.teardownEventListeners(!0),this.stopRecordingEvents(),this.sendEvents()},e.prototype.mapSDKType=function(t){return t==="plugin"?"@amplitude/plugin-session-replay-browser":t==="segment"?"@amplitude/segment-session-replay-plugin":null},e.prototype.setMetadata=function(t,n,r,i,o,a,s){var l=t?.toString()?lx(t.toString()):void 0;this.metadata={joinedConfig:n,localConfig:r,remoteConfig:i,sessionId:t,hashValue:l,sampleRate:n.sampleRate,replaySDKType:this.mapSDKType(s),replaySDKVersion:o,standaloneSDKType:"@amplitude/session-replay-browser",standaloneSDKVersion:a}},e.prototype.initializeNetworkObservers=function(){var t,n,r;return we(this,void 0,void 0,function(){var i,o;return Ie(this,function(a){switch(a.label){case 0:if(!(!((r=(n=(t=this.config)===null||t===void 0?void 0:t.loggingConfig)===null||n===void 0?void 0:n.network)===null||r===void 0)&&r.enabled&&!this.networkObservers))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,St(()=>import("./observers-DG83uyQT.js"),[])];case 2:return i=a.sent().NetworkObservers,this.networkObservers=new i,[3,4];case 3:return o=a.sent(),this.loggerProvider.warn("Failed to import or instantiate NetworkObservers:",o),[3,4];case 4:return[2]}})})},e})(),pu=function(e){return function(){var t=e.config,n=t||$H(),r=n.loggerProvider,i=n.logLevel;return{logger:r,logLevel:i}}},jme=function(){var e=new Bme;return{init:Jn(e.init.bind(e),"init",pu(e)),evaluateTargetingAndCapture:Jn(e.evaluateTargetingAndCapture.bind(e),"evaluateTargetingAndRecord",pu(e)),setSessionId:Jn(e.setSessionId.bind(e),"setSessionId",pu(e)),getSessionId:Jn(e.getSessionId.bind(e),"getSessionId",pu(e)),getSessionReplayProperties:Jn(e.getSessionReplayProperties.bind(e),"getSessionReplayProperties",pu(e)),flush:Jn(e.flush.bind(e),"flush",pu(e)),start:Jn(e.start.bind(e),"start",pu(e)),stop:Jn(e.stop.bind(e),"stop",pu(e)),shutdown:Jn(e.shutdown.bind(e),"shutdown",pu(e))}};const qu=jme();var zme=qu.init,Hme=qu.setSessionId,Wme=qu.getSessionId,qme=qu.getSessionReplayProperties,Gme=qu.flush,Kme=qu.start,Yme=qu.stop,$me=qu.shutdown,Jme=qu.evaluateTargetingAndCapture,wc;(function(e){e.SET="$set",e.SET_ONCE="$setOnce",e.ADD="$add",e.APPEND="$append",e.PREPEND="$prepend",e.REMOVE="$remove",e.PREINSERT="$preInsert",e.POSTINSERT="$postInsert",e.UNSET="$unset",e.CLEAR_ALL="$clearAll"})(wc||(wc={}));var jU;(function(e){e.REVENUE_PRODUCT_ID="$productId",e.REVENUE_QUANTITY="$quantity",e.REVENUE_PRICE="$price",e.REVENUE_TYPE="$revenueType",e.REVENUE_CURRENCY="$currency",e.REVENUE="$revenue"})(jU||(jU={}));var zU;(function(e){e.IDENTIFY="$identify",e.GROUP_IDENTIFY="$groupidentify",e.REVENUE="revenue_amount"})(zU||(zU={}));var Zme=[wc.SET,wc.SET_ONCE,wc.ADD,wc.APPEND,wc.PREPEND,wc.POSTINSERT],Qme=function(e){if(e.user_properties){var t={},n=Object.keys(e.user_properties);
12return n.forEach(function(r){if(Zme.includes(r)){var i=e.user_properties&&e.user_properties[r];t=me(me({},t),i)}}),t}},HU="1.35.0",Xme="[Amplitude]",ehe="".concat(Xme," Session Replay ID"),the=(function(){function e(t){this.name=e.pluginName,this.type="enrichment",this.config=null,this.sessionReplay={flush:Gme,getSessionId:Wme,getSessionReplayProperties:qme,init:zme,setSessionId:Hme,start:Kme,stop:Yme,shutdown:$me,evaluateTargetingAndCapture:Jme},this.options=me({forceSessionTracking:!1},t),this.srInitOptions=this.options}return e.prototype.setup=function(t,n){var r,i,o,a,s,l,u,c;return we(this,void 0,void 0,function(){var f,p,v;return Ie(this,function(g){switch(g.label){case 0:return g.trys.push([0,2,,3]),t?.loggerProvider.log("Installing @amplitude/plugin-session-replay, version ".concat(HU,".")),this.config=t,this.options.forceSessionTracking&&(typeof t.defaultTracking=="boolean"?t.defaultTracking===!1&&(t.defaultTracking={pageViews:!1,formInteractions:!1,fileDownloads:!1,sessions:!0}):t.defaultTracking=me(me({},t.defaultTracking),{sessions:!0})),f=Ff(this.config.instanceName).identityStore,p=f.getIdentity().userProperties,this.srInitOptions={instanceName:this.config.instanceName,deviceId:(r=this.options.deviceId)!==null&&r!==void 0?r:this.config.deviceId,optOut:this.config.optOut,sessionId:this.options.customSessionId?void 0:this.config.sessionId,loggerProvider:this.config.loggerProvider,logLevel:this.config.logLevel,flushMaxRetries:this.config.flushMaxRetries,serverZone:this.config.serverZone,configServerUrl:this.options.configServerUrl||((i=this.config.remoteConfig)===null||i===void 0?void 0:i.serverUrl),trackServerUrl:this.options.trackServerUrl,sampleRate:this.options.sampleRate,privacyConfig:{blockSelector:(o=this.options.privacyConfig)===null||o===void 0?void 0:o.blockSelector,maskSelector:(a=this.options.privacyConfig)===null||a===void 0?void 0:a.maskSelector,unmaskSelector:(s=this.options.privacyConfig)===null||s===void 0?void 0:s.unmaskSelector,defaultMaskLevel:(l=this.options.privacyConfig)===null||l===void 0?void 0:l.defaultMaskLevel},debugMode:this.options.debugMode,shouldInlineStylesheet:this.options.shouldInlineStylesheet,inlineImages:this.options.inlineImages,version:{type:"plugin",version:HU},performanceConfig:this.options.performanceConfig,storeType:this.options.storeType,useWebWorker:(u=this.options.useWebWorker)!==null&&u!==void 0?u:(c=this.options.experimental)===null||c===void 0?void 0:c.useWebWorker,userProperties:p,applyBackgroundColorToBlockedElements:this.options.applyBackgroundColorToBlockedElements,interactionConfig:this.options.interactionConfig,captureDocumentTitle:this.options.captureDocumentTitle,enableUrlChangePolling:this.options.enableUrlChangePolling,urlChangePollingInterval:this.options.urlChangePollingInterval,captureAdoptedStyleSheets:this.options.captureAdoptedStyleSheets,crossOriginIframes:this.options.crossOriginIframes,flushIntervalConfig:this.options.flushIntervalConfig,eagerFullSnapshotSend:this.options.eagerFullSnapshotSend,captureFullSnapshotOnFocus:this.options.captureFullSnapshotOnFocus,maxPersistedEventsSizeBytes:this.options.maxPersistedEventsSizeBytes,maxSingleEventSizeBytes:this.options.maxSingleEventSizeBytes,sendTimeoutMs:this.options.sendTimeoutMs,handleSendEvents:this.options.handleSendEvents,handleFetchConfig:this.options.handleFetchConfig},[4,this.sessionReplay.init(t.apiKey,this.srInitOptions).promise];case 1:return g.sent(),[3,3];case 2:return v=g.sent(),t?.loggerProvider.error("Session Replay: Failed to initialize due to ".concat(v.message)),[3,3];case 3:return[2]}})})},e.prototype.onSessionIdChanged=function(t){var n;return we(this,void 0,void 0,function(){return Ie(this,function(r){switch(r.label){case 0:return(n=this.config)===null||n===void 0||n.loggerProvider.debug("Analytics session id is changed to ".concat(t,", SR session id is ").concat(String(this.sessionReplay.getSessionId()),".")),[4,this.sessionReplay.setSessionId(t).promise];case 1:return r.sent(),[2]}})})},e.prototype.onOptOutChanged=function(t){var n;return we(this,void 0,void 0,function(){var r;return Ie(this,function(i){switch(i.label){case 0:return(n=this.config)===null||n===void 0||n.loggerProvider.debug("optOut is changed to ".concat(String(t),", calling ").concat(t?"sessionReplay.shutdown()":"sessionReplay.init()",".")),t?(this.sessionReplay.shutdown(),[3,4]):[3,1];case 1:return r=this.config!=null,r?[4,this.sessionReplay.init(this.config.apiKey,this.srInitOptions).promise]:[3,3];case 2:r=i.sent(),i.label=3;case 3:i.label=4;case 4:return[2]}})})},e.prototype.execute=function(t){var n,r,i;return we(this,void 0,void 0,function(){var o,l,o,a,s,l,u;return Ie(this,function(c){switch(c.label){case 0:return c.trys.push([0,9,,10]),this.options.customSessionId?(o=this.options.customSessionId(t),o?o===this.sessionReplay.getSessionId()?[3,2]:[4,this.sessionReplay.setSessionId(o).promise]:[3,3]):[3,4];case 1:c.sent(),c.label=2;case 2:l=this.sessionReplay.getSessionReplayProperties(),t.event_properties=me(me({},t.event_properties),l),c.label=3;case 3:return[3,8];case 4:return o=(n=this.config)===null||n===void 0?void 0:n.sessionId,o&&o!==this.sessionReplay.getSessionId()?[4,this.sessionReplay.setSessionId(o).promise]:[3,6];case 5:c.sent(),c.label=6;case 6:return o&&o===t.session_id?(a=void 0,t.event_type===Ro.IDENTIFY&&(a=Qme(t)),s=Ft(),[4,this.sessionReplay.evaluateTargetingAndCapture({event:t,userProperties:a,page:((r=s?.location)===null||r===void 0?void 0:r.href)!=null?{url:s.location.href}:void 0})]):[3,8];case 7:c.sent(),l=this.sessionReplay.getSessionReplayProperties(),t.event_properties=me(me({},t.event_properties),l),c.label=8;case 8:return t.event_type===Ro.IDENTIFY&&t.event_properties&&delete t.event_properties[ehe],[2,Promise.resolve(t)];case 9:return u=c.sent(),(i=this.config)===null||i===void 0||i.loggerProvider.error("Session Replay: Failed to enrich event due to ".concat(u.message)),[2,Promise.resolve(t)];case 10:return[2]}})})},e.prototype.teardown=function(){var t;return we(this,void 0,void 0,function(){return Ie(this,function(n){try{this.sessionReplay.shutdown(),this.config=null}catch(r){(t=this.config)===null||t===void 0||t.loggerProvider.error("Session Replay: teardown failed due to ".concat(r.message))}return[2]})})},e.prototype.getSessionReplayProperties=function(){return this.sessionReplay.getSessionReplayProperties()},e.prototype.start=function(){return we(this,void 0,void 0,function(){return Ie(this,function(t){switch(t.label){case 0:return[4,this.sessionReplay.start().promise];case 1:return t.sent(),[2]}})})},e.prototype.stop=function(){this.sessionReplay.stop()},e.pluginName="@amplitude/plugin-session-replay-browser",e})(),nhe=function(e){return new the(e)};const rhe=["AhrefsBot","Chrome-Lighthouse","AhrefsSiteAudit"];let cW=!1;const ihe={autocapture:{attribution:!0,pageViews:!0,sessions:!0,formInteractions:!0,fileDownloads:!0,elementInteractions:!0},defaultTracking:{sessions:!0}};function dW(){const e=typeof window<"u"&&window.navigator.userAgent||void 0;return e&&rhe.every(t=>!e.includes(t))}function ohe(){return cW}const fW=new Proxy({},{get(e,t){switch(t){case"set":case"append":return()=>fW;default:throw new Error(`Amplitude.Identify method ${t} is unimplemented.`)}}}),rr=new Proxy({},{get(e,t){if(dW())return Kfe[t];switch(t){case"identify":case"setGroup":case"setUserId":case"track":case"add":case"init":return()=>{};case"Identify":return function(){return fW};default:throw new Error(`Amplitude method ${t} is unimplemented.`)}}});let pW="/";function ahe(e){pW=e}function she(e=()=>DH(),t=()=>_H(),n=()=>pW){const r=e(),i=t();return!r||i===void 0?"":`${r}/${i}:co/${n()}`}const lhe=()=>{if(dW()){const e="4d12f211252ee3e6109af18116172e92";{const t=nhe();rr.add(t),uhe(),rr.init(e,ihe),cW=!0}}},uhe=()=>{typeof window<"u"&&St(async()=>{const{plugin:e}=await import("./index.esm-C_3oba45.js");return{plugin:e}},[]).then(({plugin:e})=>{rr.add(e())})};var m=ep();const Ye=Wu(m),Ks=$7({__proto__:null,default:Ye},[m]);var mW=e=>{throw TypeError(e)}
12,hW=(e,t,n)=>t.has(e)||mW("Cannot "+n),rs=(e,t,n)=>(hW(e,t,"read from private field"),n?n.call(e):t.get(e)),fv=(e,t,n)=>t.has(e)?mW("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),gl=(e,t,n,r)=>(hW(e,t,"write to private field"),t.set(e,n),n),WT=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,oP=/^[\\/]{2}/;function gW(e,t){return t+e.replace(/\\/g,"/")}var WU="popstate";function qU(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function vW(e={}){function t(r,i){let o=i.state?.masked,{pathname:a,search:s,hash:l}=o||r.location;return Zm("",{pathname:a,search:s,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default",o?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,i){return typeof i=="string"?i:Ys(i)}return kW(t,n,null,e)}function yW(e={}){function t(i,o){let{pathname:a="/",search:s="",hash:l=""}=rl(i.location.hash.substring(1));return!a.startsWith("/")&&!a.startsWith(".")&&(a="/"+a),Zm("",{pathname:a,search:s,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(i,o){let a=i.document.querySelector("base"),s="";if(a&&a.getAttribute("href")){let l=i.location.href,u=l.indexOf("#");s=u===-1?l:l.slice(0,u)}return s+"#"+(typeof o=="string"?o:Ys(o))}function r(i,o){zr(i.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return kW(t,n,r,e)}function Ln(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function che(){return Math.random().toString(36).substring(2,10)}function GU(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Zm(e,t,n=null,r,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?rl(t):t,state:n,key:t&&t.key||r||che(),mask:i}}function Ys({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function rl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function kW(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s="POP",l=null,u=c();u==null&&(u=0,a.replaceState({...a.state,idx:u},""));function c(){return(a.state||{idx:null}).idx}function f(){s="POP";let k=c(),E=k==null?null:k-u;u=k,l&&l({action:s,location:y.location,delta:E})}function p(k,E){s="PUSH";let S=qU(k)?k:Zm(y.location,k,E);n&&n(S,k),u=c()+1;let T=GU(S,u),I=y.createHref(S.mask||S);try{a.pushState(T,"",I)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(I)}o&&l&&l({action:s,location:y.location,delta:1})}function v(k,E){s="REPLACE";let S=qU(k)?k:Zm(y.location,k,E);n&&n(S,k),u=c();let T=GU(S,u),I=y.createHref(S.mask||S);a.replaceState(T,"",I),o&&l&&l({action:s,location:y.location,delta:0})}function g(k){return bW(i,k)}let y={get action(){return s},get location(){return e(i,a)},listen(k){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(WU,f),l=k,()=>{i.removeEventListener(WU,f),l=null}},createHref(k){return t(i,k)},createURL:g,encodeLocation(k){let E=g(k);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:p,replace:v,go(k){return a.go(k)}};return y}function bW(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),Ln(r,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:Ys(t);return i=i.replace(/ $/,"%20"),!n&&oP.test(i)&&(i=r+i),new URL(i,r)}var pv,KU=class{constructor(e){if(fv(this,pv,new Map),e)for(let[t,n]of e)this.set(t,n)}get(e){if(rs(this,pv).has(e))return rs(this,pv).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){rs(this,pv).set(e,t)}};pv=new WeakMap;
12var dhe=new Set(["lazy","caseSensitive","path","id","index","children"]);function fhe(e){return dhe.has(e)}var phe=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function mhe(e){return phe.has(e)}function hhe(e){return e.index===!0}function ty(e,t,n=[],r={},i=!1){return e.map((o,a)=>{let s=[...n,String(a)],l=typeof o.id=="string"?o.id:s.join("-");if(Ln(o.index!==!0||!o.children,"Cannot specify children on an index route"),Ln(i||!r[l],`Found a route id collision on id "${l}". Route id's must be globally unique within Data Router usages`),hhe(o)){let u={...o,id:l};return r[l]=YU(u,t(u)),u}else{let u={...o,id:l,children:void 0};return r[l]=YU(u,t(u)),o.children&&(u.children=ty(o.children,t,s,r,i)),u}})}function YU(e,t){return Object.assign(e,{...t,...typeof t.lazy=="object"&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function Fy(e,t,n="/"){return js(e,t,n,!1)}function js(e,t,n,r,i){let o=typeof t=="string"?rl(t):t,a=ca(o.pathname||"/",n);if(a==null)return null;let s=i??nS(e),l=null,u=whe(a);for(let c=0;l==null&&c<s.length;++c)l=Ihe(s[c],u,r);return l}function ghe(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function nS(e){let t=SW(e);return vhe(t),t}function SW(e,t=[],n=[],r="",i=!1){let o=(a,s,l=i,u)=>{let c={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:s,route:a};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&l)return;Ln(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let f=hs([r,c.relativePath]),p=n.concat(c);a.children&&a.children.length>0&&(Ln(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),SW(a.children,t,p,f,l)),!(a.path==null&&!a.index)&&t.push({path:f,score:Che(f,a.index),routesMeta:p.map((v,g)=>{let[y,k]=CW(v.relativePath,v.caseSensitive,g===p.length-1);return{...v,matcher:y,compiledParams:k}})})};return e.forEach((a,s)=>{if(a.path===""||!a.path?.includes("?"))o(a,s);else for(let l of EW(a.path))o(a,s,!0,l)}),t}function EW(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=EW(r.join("/")),s=[];return s.push(...a.map(l=>l===""?o:[o,l].join("/"))),i&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function vhe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Ahe(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var yhe=/^:[\w-]+$/,khe=3,bhe=2,She=1,Ehe=10,The=-2,$U=e=>e==="*";function Che(e,t){let n=e.split("/"),r=n.length;return n.some($U)&&(r+=The),t&&(r+=bhe),n.filter(i=>!$U(i)).reduce((i,o)=>i+(yhe.test(o)?khe:o===""?She:Ehe),r)}function Ahe(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Ihe(e,t,n=!1){let{routesMeta:r}=e,i={},o="/",a=[];for(let s=0;s<r.length;++s){let l=r[s],u=s===r.length-1,c=o==="/"?t:t.slice(o.length)||"/",f={path:l.relativePath,caseSensitive:l.caseSensitive,end:u},p=l.matcher&&l.compiledParams?TW(f,c,l.matcher,l.compiledParams):QS(f,c),v=l.route;if(!p&&u&&n&&!r[r.length-1].route.index&&(p=QS({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!p)return null;
12Object.assign(i,p.params),a.push({params:i,pathname:hs([o,p.pathname]),pathnameBase:Rhe(hs([o,p.pathnameBase])),route:v}),p.pathnameBase!=="/"&&(o=hs([o,p.pathnameBase]))}return a}function Dl(e,t={}){let n=e;n.endsWith("*")&&n!=="*"&&!n.endsWith("/*")&&(zr(!1,`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`),n=n.replace(/\*$/,"/*"));const r=n.startsWith("/")?"/":"",i=a=>a==null?"":typeof a=="string"?a:String(a),o=n.split(/\/+/).map((a,s,l)=>{if(s===l.length-1&&a==="*")return i(t["*"]);const c=a.match(/^:([\w-]+)(\??)(.*)/);if(c){const[,f,p,v]=c;let g=t[f];return Ln(p==="?"||g!=null,`Missing ":${f}" param`),encodeURIComponent(i(g))+v}return a.replace(/\?$/g,"")}).filter(a=>!!a);return r+o.join("/")}function QS(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=CW(e.path,e.caseSensitive,e.end);return TW(e,t,n,r)}function TW(e,t,n,r){let i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((u,{paramName:c,isOptional:f},p)=>{if(c==="*"){let g=s[p]||"";a=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const v=s[p];return f&&!v?u[c]=void 0:u[c]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:a,pattern:e}}function CW(e,t=!1,n=!0){zr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l,u,c)=>{if(r.push({paramName:s,isOptional:l!=null}),l){let f=c.charAt(u+a.length);return f&&f!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function whe(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function ca(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Nhe({basename:e,pathname:t}){return t==="/"?e:hs([e,t])}var aP=e=>WT.test(e);function AW(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?rl(e):e,o;return n?(n=sP(n),n.startsWith("/")?o=JU(n.substring(1),"/"):o=JU(n,t)):o=t,{pathname:o,search:xhe(r),hash:Lhe(i)}}function JU(e,t){let n=XS(t).split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Kw(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function IW(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function qT(e){let t=IW(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Uy(e,t,n,r=!1){let i;typeof e=="string"?i=rl(e):(i={...e},Ln(!i.pathname||!i.pathname.includes("?"),Kw("?","pathname","search",i)),Ln(!i.pathname||!i.pathname.includes("#"),Kw("#","pathname","hash",i)),Ln(!i.search||!i.search.includes("#"),Kw("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}s=f>=0?t[f]:"/"}let l=AW(i,s),u=a&&a!=="/"&&a.endsWith("/"),c=(o||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}var sP=e=>e.replace(/[\\/]{2,}/g,"/"),hs=e=>sP(e.join("/")),XS=e=>e.replace(/\/+$/,""),Rhe=e=>XS(e).replace(/^\/*/,"/"),xhe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Lhe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Ohe=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Vy=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function ny(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function By(e){let t=e.map(n=>
12n.route.path).filter(Boolean);return hs(t)||"/"}var wW=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function NW(e,t){let n=e;if(typeof n!="string"||!WT.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(wW)try{let o=new URL(window.location.href),a=oP.test(n)?new URL(gW(n,o.protocol)):new URL(n),s=ca(a.pathname,t);a.origin===o.origin&&s!=null?n=s+a.search+a.hash:i=!0}catch{zr(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}var Mc=Symbol("Uninstrumented");function Phe(e,t){let n={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(i=>i({id:t.id,index:t.index,path:t.path,instrument(o){let a=Object.keys(n);for(let s of a)o[s]&&n[s].push(o[s])}}));let r={};if(typeof t.lazy=="function"&&n.lazy.length>0){let i=bm(n.lazy,t.lazy,()=>{});i&&(r.lazy=i)}if(typeof t.lazy=="object"){let i=t.lazy;["middleware","loader","action"].forEach(o=>{let a=i[o],s=n[`lazy.${o}`];if(typeof a=="function"&&s.length>0){let l=bm(s,a,()=>{});l&&(r.lazy=Object.assign(r.lazy||{},{[o]:l}))}})}return["loader","action"].forEach(i=>{let o=t[i];if(typeof o=="function"&&n[i].length>0){let a=o[Mc]??o,s=bm(n[i],a,(...l)=>ZU(l[0]));s&&(i==="loader"&&a.hydrate===!0&&(s.hydrate=!0),s[Mc]=a,r[i]=s)}}),t.middleware&&t.middleware.length>0&&n.middleware.length>0&&(r.middleware=t.middleware.map(i=>{let o=i[Mc]??i,a=bm(n.middleware,o,(...s)=>ZU(s[0]));return a?(a[Mc]=o,a):i})),r}function _he(e,t){let n={navigate:[],fetch:[]};if(t.forEach(r=>r({instrument(i){let o=Object.keys(i);for(let a of o)i[a]&&n[a].push(i[a])}})),n.navigate.length>0){let r=e.navigate[Mc]??e.navigate,i=bm(n.navigate,r,(...o)=>{let[a,s]=o;return{to:typeof a=="number"||typeof a=="string"?a:a?Ys(a):".",...QU(e,s??{})}});i&&(i[Mc]=r,e.navigate=i)}if(n.fetch.length>0){let r=e.fetch[Mc]??e.fetch,i=bm(n.fetch,r,(...o)=>{let[a,,s,l]=o;return{href:s??".",fetcherKey:a,...QU(e,l??{})}});i&&(i[Mc]=r,e.fetch=i)}return e}function bm(e,t,n){return e.length===0?null:async(...r)=>{let i=await RW(e,n(...r),()=>t(...r),e.length-1);if(i.type==="error")throw i.value;return i.value}}async function RW(e,t,n,r){let i=e[r],o;if(i){let a,s=async()=>(a?console.error("You cannot call instrumented handlers more than once"):a=RW(e,t,n,r-1),o=await a,Ln(o,"Expected a result"),o.type==="error"&&o.value instanceof Error?{status:"error",error:o.value}:{status:"success",error:void 0});try{await i(s,t)}catch(l){console.error("An instrumentation function threw an error:",l)}a||await s(),await a}else try{o={type:"success",value:await n()}}catch(a){o={type:"error",value:a}}return o||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function ZU(e){let{request:t,context:n,params:r,pattern:i}=e;return{request:Dhe(t),params:{...r},pattern:i,context:Mhe(n)}}function QU(e,t){return{currentUrl:Ys(e.state.location),..."formMethod"in t?{formMethod:t.formMethod}:{},..."formEncType"in t?{formEncType:t.formEncType}:{},..."formData"in t?{formData:t.formData}:{},..."body"in t?{body:t.body}:{}}}function Dhe(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function Mhe(e){if(Uhe(e)){let t={...e};return Object.freeze(t),t}else return{get:t=>e.get(t)}}var Fhe=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Uhe(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getOwnPropertyNames(t).sort().join("\0")===Fhe}var xW=["POST","PUT","PATCH","DELETE"],Vhe=new Set(xW),Bhe=["GET",...xW],jhe=new Set(Bhe),LW=new Set([301,302,303,307,308]),zhe=new Set([307,308]),Yw={state:"idle",location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Hhe={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},um={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Whe=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),OW="remix-router-transitions",PW=Symbol("ResetLoaderData"),Jd,cm,Cc,dm,qhe=class{constructor(e){fv(this,Jd),fv(this,cm),fv(this,Cc),fv(this,dm),gl(this,Jd,e),gl(this,cm,nS(e))}get stableRoutes(){return rs(this,Jd)}get activeRoutes(){return rs(this,Cc)??rs(this,Jd)}get branches(){return rs(this,dm)??rs(this,cm)}get hasHMRRoutes(){return rs(this,Cc)!=null}setRoutes(e){gl(this,Jd,e),gl(this,cm,nS(e))}setHmrRoutes(e){gl(this,Cc,e),gl(this,dm,nS(e))}commitHmrRoutes(){rs(this,Cc)&&(gl(this,Jd,rs(this,Cc)),gl(this,cm,rs(this,dm)),gl(this,Cc,void 0),gl(this,dm,void 0))}};Jd=new WeakMap;cm=new WeakMap;Cc=new WeakMap;dm=new WeakMap;function _W(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";Ln(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let r=e.hydrationRouteProperties||[],i=e.mapRouteProperties||Whe,o=i;if(e.instrumentations){let se=e.instrumentations;o=re=>({...i(re),...Phe(se.map(ge=>
12ge.route).filter(Boolean),re)})}let a={},s=new qhe(ty(e.routes,o,void 0,a)),l=e.basename||"/";l.startsWith("/")||(l=`/${l}`);let u=e.dataStrategy||Jhe,c={...e.future},f=null,p=new Set,v=null,g=null,y=null,k=null,E=e.hydrationData!=null,S=js(s.activeRoutes,e.history.location,l,!1,s.branches),T=!1,I=null,A,w;if(S==null&&!e.patchRoutesOnNavigation){let se=is(404,{pathname:e.history.location.pathname}),{matches:re,route:ge}=Vb(s.activeRoutes);A=!0,w=!A,S=re,I={[ge.id]:se}}else if(S&&!e.hydrationData&&nn(S,s.activeRoutes,e.history.location.pathname).active&&(S=null),S)if(S.some(se=>se.route.lazy))A=!1,w=!A;else if(!S.some(se=>lP(se.route)))A=!0,w=!A;else{let se=e.hydrationData?e.hydrationData.loaderData:null,re=e.hydrationData?e.hydrationData.errors:null,ge=S;if(re){let je=S.findIndex(Ge=>re[Ge.route.id]!==void 0);ge=ge.slice(0,je+1)}w=!1,A=!0,ge.forEach(je=>{let Ge=DW(je.route,se,re);w=w||Ge.renderFallback,A=A&&!Ge.shouldLoad})}else{A=!1,w=!A,S=[];let se=nn(null,s.activeRoutes,e.history.location.pathname);se.active&&se.matches&&(T=!0,S=se.matches)}let R,x={historyAction:e.history.action,location:e.history.location,matches:S,initialized:A,renderFallback:w,navigation:Yw,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||I,fetchers:new Map,blockers:new Map},D="POP",M=null,F=!1,L,P=!1,j=new Map,B=null,H=!1,G=!1,O=new Set,V=new Map,W=0,U=-1,q=new Map,$=new Set,J=new Map,Z=new Map,Y=new Set,ee=new Map,te,ce=null;function ne(){if(f=e.history.listen(({action:se,location:re,delta:ge})=>{if(te){te(),te=void 0;return}zr(ee.size===0||ge!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let je=Je({currentLocation:x.location,nextLocation:re,historyAction:se});if(je&&ge!=null){let Ge=new Promise(ht=>{te=ht});e.history.go(ge*-1),ft(je,{state:"blocked",location:re,proceed(){ft(je,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),Ge.then(()=>e.history.go(ge))},reset(){let ht=new Map(x.blockers);ht.set(je,um),pe({blockers:ht})}}),M?.resolve(),M=null;return}return Ee(se,re)}),n){hge(t,j);let se=()=>gge(t,j);t.addEventListener("pagehide",se),B=()=>t.removeEventListener("pagehide",se)}return x.initialized||Ee("POP",x.location,{initialHydration:!0}),R}function Ce(){f&&f(),B&&B(),p.clear(),L&&L.abort(),x.fetchers.forEach((se,re)=>X(x.fetchers,re)),x.blockers.forEach((se,re)=>ot(re))}function ae(se){if(p.add(se),v){let{newErrors:re}=v;v=null,se(x,{deletedFetchers:[],newErrors:re,viewTransitionOpts:void 0,flushSync:!1})}return()=>p.delete(se)}function pe(se,re={}){se.matches&&(se.matches=se.matches.map(Ge=>{let ht=a[Ge.route.id],At=Ge.route;return At.element!==ht.element||At.errorElement!==ht.errorElement||At.hydrateFallbackElement!==ht.hydrateFallbackElement?{...Ge,route:ht}:Ge})),x={...x,...se};let ge=[],je=[];x.fetchers.forEach((Ge,ht)=>{Ge.state==="idle"&&(Y.has(ht)?ge.push(ht):je.push(ht))}),Y.forEach(Ge=>{!x.fetchers.has(Ge)&&!V.has(Ge)&&ge.push(Ge)}),p.size===0&&(v={newErrors:se.errors??null}),[...p].forEach(Ge=>Ge(x,{deletedFetchers:ge,newErrors:se.errors??null,viewTransitionOpts:re.viewTransitionOpts,flushSync:re.flushSync===!0})),ge.forEach(Ge=>X(x.fetchers,Ge)),je.forEach(Ge=>x.fetchers.delete(Ge))}function ve(se,re,{flushSync:ge}={}){let je=x.actionData!=null&&x.navigation.formMethod!=null&&Ao(x.navigation.formMethod)&&x.navigation.state==="loading"&&se.state?._isRedirect!==!0,Ge;re.actionData?Object.keys(re.actionData).length>0?Ge=re.actionData:Ge=null:je?Ge=x.actionData:Ge=null;let ht=re.loaderData?l5(x.loaderData,re.loaderData,re.matches||[],re.errors):x.loaderData,At=x.blockers;At.size>0&&(At=new Map(At),At.forEach((Nt,Xt)=>At.set(Xt,um)));let dt=H?!1:Lt(se,re.matches||x.matches),It=F===!0||x.navigation.formMethod!=null&&Ao(x.navigation.formMethod)&&se.state?._isRedirect!==!0;s.commitHmrRoutes(),H||D==="POP"||(D==="PUSH"?e.history.push(se,se.state):D==="REPLACE"&&e.history.replace(se,se.state));let Gt;if(D==="POP"){let Nt=j.get(x.location.pathname);Nt&&Nt.has(se.pathname)?Gt={currentLocation:x.location,nextLocation:se}:j.has(se.pathname)&&(Gt={currentLocation:se,nextLocation:x.location})}else if(P){let Nt=j.get(x.location.pathname);Nt?Nt.add(se.pathname):(Nt=new Set([se.pathname]),j.set(x.location.pathname,Nt)),Gt={currentLocation:x.location,nextLocation:se}}pe({...re,actionData:Ge,loaderData:ht,historyAction:D,location:se,initialized:!0,renderFallback:!1,navigation:Yw,revalidation:"idle",restoreScrollPosition:dt,preventScrollReset:It,blockers:At},{viewTransitionOpts:Gt,flushSync:ge===!0}),D="POP",F=!1,P=!1,H=!1,G=!1,M?.resolve(),M=null,ce?.resolve(),ce=null}async function Se(se,re){if(M?.resolve(),M=null,typeof se=="number"){M||(M=f5());let ut=M.promise;return e.history.go(se),ut}let ge=xx(x.location,x.matches,l,se,re?.fromRouteId,re?.relative),{path:je,submission:Ge,error:ht}=XU(!1,ge,re),At;re?.mask&&(At={pathname:"",search:"",hash:"",...typeof re.mask=="str
12ing"?rl(re.mask):{...x.location.mask,...re.mask}});let dt=x.location,It=Zm(dt,je,re&&re.state,void 0,At);It={...It,...e.history.encodeLocation(It)};let Gt=re&&re.replace!=null?re.replace:void 0,Nt="PUSH";Gt===!0?Nt="REPLACE":Gt===!1||Ge!=null&&Ao(Ge.formMethod)&&Ge.formAction===x.location.pathname+x.location.search&&(Nt="REPLACE");let Xt=re&&"preventScrollReset"in re?re.preventScrollReset===!0:void 0,Ne=(re&&re.flushSync)===!0,Le=Je({currentLocation:dt,nextLocation:It,historyAction:Nt});if(Le){ft(Le,{state:"blocked",location:It,proceed(){ft(Le,{state:"proceeding",proceed:void 0,reset:void 0,location:It}),Se(se,re)},reset(){let ut=new Map(x.blockers);ut.set(Le,um),pe({blockers:ut})}});return}await Ee(Nt,It,{submission:Ge,pendingError:ht,preventScrollReset:Xt,replace:re&&re.replace,enableViewTransition:re&&re.viewTransition,flushSync:Ne,callSiteDefaultShouldRevalidate:re&&re.defaultShouldRevalidate})}function De(){ce||(ce=f5()),ze(),pe({revalidation:"loading"});let se=ce.promise;return x.navigation.state==="submitting"?se:x.navigation.state==="idle"?(Ee(x.historyAction,x.location,{startUninterruptedRevalidation:!0}),se):(Ee(D||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation,enableViewTransition:P===!0}),se)}async function Ee(se,re,ge){L&&L.abort(),L=null,D=se,H=(ge&&ge.startUninterruptedRevalidation)===!0,Sn(x.location,x.matches),F=(ge&&ge.preventScrollReset)===!0,P=(ge&&ge.enableViewTransition)===!0;let je=s.activeRoutes,Ge=ge?.initialHydration&&x.matches&&x.matches.length>0&&!T?x.matches:js(je,re,l,!1,s.branches),ht=(ge&&ge.flushSync)===!0;if(Ge&&x.initialized&&!G&&oge(x.location,re)&&!(ge&&ge.submission&&Ao(ge.submission.formMethod))){ve(re,{matches:Ge},{flushSync:ht});return}let At=nn(Ge,je,re.pathname);if(At.active&&At.matches&&(Ge=At.matches),!Ge){let{error:Rt,notFoundMatches:Bt,route:rt}=Pt(re.pathname);ve(re,{matches:Bt,loaderData:{},errors:{[rt.id]:Rt}},{flushSync:ht});return}let dt=ge&&ge.overrideNavigation?{...ge.overrideNavigation,matches:Ge,historyAction:se}:void 0;L=new AbortController;let It=fm(e.history,re,L.signal,ge&&ge.submission),Gt=e.getContext?await e.getContext():new KU,Nt;if(ge&&ge.pendingError)Nt=[Lc(Ge).route.id,{type:"error",error:ge.pendingError}];else if(ge&&ge.submission&&Ao(ge.submission.formMethod)){let Rt=await ye(It,re,ge.submission,Ge,se,Gt,At.active,ge&&ge.initialHydration===!0,{replace:ge.replace,flushSync:ht});if(Rt.shortCircuited)return;if(Rt.pendingActionResult){let[Bt,rt]=Rt.pendingActionResult;if(wa(rt)&&ny(rt.error)&&rt.error.status===404){L=null,ve(re,{matches:Rt.matches,loaderData:{},errors:{[Bt]:rt.error}});return}}Ge=Rt.matches||Ge,Nt=Rt.pendingActionResult,dt=$w(re,Ge,se,ge.submission),ht=!1,At.active=!1,It=fm(e.history,It.url,It.signal)}let{shortCircuited:Xt,matches:Ne,loaderData:Le,errors:ut,workingFetchers:xt}=await Pe(It,re,Ge,se,Gt,At.active,dt,ge&&ge.submission,ge&&ge.fetcherSubmission,ge&&ge.replace,ge&&ge.initialHydration===!0,ht,Nt,ge&&ge.callSiteDefaultShouldRevalidate);Xt||(L=null,ve(re,{matches:Ne||Ge,...u5(Nt),loaderData:Le,errors:ut,...xt?{fetchers:xt}:{}}))}async function ye(se,re,ge,je,Ge,ht,At,dt,It={}){ze();let Gt=pge(re,je,Ge,ge);if(pe({navigation:Gt},{flushSync:It.flushSync===!0}),At){let Ne=await Dn(je,re.pathname,se.signal);if(Ne.type==="aborted")return{shortCircuited:!0};if(Ne.type==="error"){if(Ne.partialMatches.length===0){let{matches:ut,route:xt}=Vb(s.activeRoutes);return{matches:ut,pendingActionResult:[xt.id,{type:"error",error:Ne.error}]}}let Le=Lc(Ne.partialMatches).route.id;return{matches:Ne.partialMatches,pendingActionResult:[Le,{type:"error",error:Ne.error}]}}else if(Ne.matches)je=Ne.matches;else{let{notFoundMatches:Le,error:ut,route:xt}=Pt(re.pathname);return{matches:Le,pendingActionResult:[xt.id,{type:"error",error:ut}]}}}let Nt,Xt=rS(je,re);if(!Xt.route.action&&!Xt.route.lazy)Nt={type:"error",error:is(405,{method:se.method,pathname:re.pathname,routeId:Xt.route.id})};else{let Ne=Om(o,a,se,re,je,Xt,dt?[]:r,ht),Le=await ke(se,re,Ne,ht,null);if(Nt=Le[Xt.route.id],!Nt){for(let ut of je)if(Le[ut.route.id]){Nt=Le[ut.route.id];break}}if(se.signal.aborted)return{shortCircuited:!0}}if(pf(Nt)){let Ne;return It&&It.replace!=null?Ne=It.replace:Ne=o5(Nt.response.headers.get("Location"),new URL(se.url),l,e.history)===x.location.pathname+x.location.search,await Ae(se,Nt,!0,{submission:ge,replace:Ne}),{shortCircuited:!0}}if(wa(Nt)){let Ne=Lc(je,Xt.route.id);return(It&&It.replace)!==!0&&(D="PUSH"),{matches:je,pendingActionResult:[Ne.route.id,Nt,Xt.route.id]}}return{matches:je,pendingActionResult:[Xt.route.id,Nt]}}async function Pe(se,re,ge,je,Ge,ht,At,dt,It,Gt,Nt,Xt,Ne,Le){let ut=At||$w(re,ge,je,dt),xt=dt||It||d5(ut),Rt=!H&&!Nt;if(ht){if(Rt){let ar=Me(Ne);pe({navigation:ut,...ar!==void 0?{actionData:ar}:{}},{flushSync:Xt})}let cn=await Dn(ge,re.pathname,se.signal);if(cn.type==="aborted")return{shortCircuited:!0};if(cn.type==="error"){if(cn.partialMatches.length===0){let{matches:Di,route:Mi}=Vb(s.activeRoutes);return{matches:Di,loaderData:{},errors:{[Mi.id]:cn.error}}}let ar=Lc(cn.partialMatches).route.id;return{matches:cn.partialMatches,loaderData:{},errors:{[ar]:cn.error}}}else if(cn.matches)ge=cn.matches;else{let{error:ar,notFoundMatches:Di,route:Mi}=Pt(re.pathname);return{matches:Di,loaderData:{},errors:{[Mi.id]:ar}}}}let Bt=s.activeRoutes,{dsMatches:rt,revalidatingFetchers:Vn}=e5(se,Ge,o,a,e.history,x,ge,xt,re,Nt?[]:r,Nt===!0,G,O,Y,J,$,Bt,l,e.patchRoutesOnNavigation!=null,s.branches,Ne,Le);if(U=++W,!e.dataStrategy&&!rt.some(cn=>cn.shouldLoad)&&!rt.some(cn=>cn.route.middleware&&cn.route.middleware.length>0)&&Vn.length===0){let cn=new Map(x.fetchers),ar=Be(cn);return ve(re,{matches:ge,loaderData:{},errors:Ne&&wa(Ne[1])?{[Ne[0]]:Ne[1].error}:null,...u5(Ne),...ar?{fetchers:cn}:{}},{flushSync:Xt}),{shortCircuited:!0}}if(Rt){let cn={};if(!ht){cn.navigation=ut;let ar=Me(Ne);ar!==void 0&&(cn.actionData=ar)}Vn.length>0&&(cn.fetchers=Qe(Vn)),pe(cn,{flushSync:Xt})}Vn.forEach(cn=>{ie(cn.key),cn.controller&&V.set(cn.key,cn.controller)});let Ki=()=>Vn.forEach(cn=>ie(cn.key));L&&L.signal.addEventListener("abort",Ki);let{loaderResults:Yi,fetcherResults:_i}=await ue(rt,Vn,se,re,Ge);if(se.signal.aborted)return{shortCircuited:!0};L&&L.signal.removeEventListener("abort",Ki),Vn.forEach(cn=>V.delete(cn.key));let $i=Bb(Yi);if($i)return await Ae(se,$i.result,!0,{replace:Gt}),{shortCircuited:!0};if($i=Bb(_i),$i)return $.add($i.key),await Ae(se,$i.result,!0,{replace:Gt}),{shortCircuited:!0};let vn=new Map(x.fetchers),{loaderData:_r,errors:Kn}=s5(x,ge,Yi,Ne,Vn,_i,vn);Nt&&x.errors&&(Kn={...x.errors,...Kn});let Ai=Be(vn),Kr=tt(U,vn),ol=Ai||Kr||Vn.length>0;return{matches:ge,loaderData:_r,errors:Kn,...ol?{workingFetchers:vn}:{}}}function Me(se){if(se&&!wa(se[1]))return{[se[0]]:se[1].data};if(x.actionData)return Object.keys(x.actionData).length===0?null:x.actionData}function Qe(se){let re=new Map(x.fetchers);return se.forEach(ge=>{let je=re.get(ge.key),Ge=_g(void 0,je?je.data:void 0);re.set(ge.key,Ge)}),re}async function Fe(se,re,ge,je){ie(se);let Ge=(je&&je.flushSync)===!0,ht=s.activeRoutes,At=xx(x.location,x.matches,l,ge,re,je?.relative),dt=js(ht,At,l,!1,s.branches),It=nn(dt,ht,At);if(It.active&&It.matches&&(dt=It.matches),!dt){lt(se,re,is(404,{pathname:At}),{flushSync:Ge});return}let{path:Gt,submission:Nt,error:Xt}=XU(!0,At,je);if(Xt){lt(se,re,Xt,{flushSync:Ge});return}let Ne=e.getContext?await e.getContext():new KU,Le=(je&&je.preventScrollReset)===!0;if(Nt&&Ao(Nt.formMethod)){await Ve(se,re,Gt,dt,Ne,It.active,Ge,Le,Nt,je&&je.defaultShouldRevalidate);return}J.set(se,{routeId:re,path:Gt}),await be(se,re,Gt,dt,Ne,It.active,Ge,Le,Nt)}async function Ve(se,re,ge,je,Ge,ht,At,dt,It,Gt){ze(),J.delete(se);let Nt=x.fetchers.get(se);et(se,mge(It,Nt),{flushSync:At});let Xt=new AbortController,Ne=fm(e.history,ge,Xt.signal,It);if(ht){let sr=await Dn(je,new URL(Ne.url).pathname,Ne.signal,se);if(sr.type==="aborted")return;if(sr.type==="error"){lt(se,re,sr.error,{flushSync:At});return}else if(sr.matches)je=sr.matches;else{lt(se,re,is(404,{pathname:ge}),{flushSync:At});return}}let Le=rS(je,ge);if(!Le.route.action&&!Le.route.lazy){let sr=is(405,{method:It.formMethod,pathname:ge,routeId:re});lt(se,re,sr,{flushSync:At});return}V.set(se,Xt);let ut=W,xt=Om(o,a,Ne,ge,je,Le,r,Ge),Rt=await ke(Ne,ge,xt,Ge,se),Bt=Rt[Le.route.id];if(!Bt){for(let sr of xt)if(Rt[sr.route.id]){Bt=Rt[sr.route.id];break}}if(Ne.signal.aborted){V.get(se)===Xt&&V.delete(se);return}if(Y.has(se)){if(pf(Bt)||wa(Bt)){et(se,yl(void 0));return}}else{if(pf(Bt))if(V.delete(se),U>ut){et(se,yl(void 0));return}else return $.add(se),et(se,_g(It)),Ae(Ne,Bt,!1,{fetcherSubmission:It,preventScrollReset:dt});if(wa(Bt)){lt(se,re,Bt.error);return}}
12let rt=x.navigation.location||x.location,Vn=fm(e.history,rt,Xt.signal),Ki=s.activeRoutes,Yi=x.navigation.state!=="idle"?js(Ki,x.navigation.location,l,!1,s.branches):x.matches;Ln(Yi,"Didn't find any matches after fetcher action");let _i=++W;q.set(se,_i);let{dsMatches:$i,revalidatingFetchers:vn}=e5(Vn,Ge,o,a,e.history,x,Yi,It,rt,r,!1,G,O,Y,J,$,Ki,l,e.patchRoutesOnNavigation!=null,s.branches,[Le.route.id,Bt],Gt),_r=_g(It,Bt.data),Kn=new Map(x.fetchers);Kn.set(se,_r),vn.filter(sr=>sr.key!==se).forEach(sr=>{let Go=sr.key,al=Kn.get(Go),eu=_g(void 0,al?al.data:void 0);Kn.set(Go,eu),ie(Go),sr.controller&&V.set(Go,sr.controller)}),pe({fetchers:Kn});let Ai=()=>vn.forEach(sr=>ie(sr.key));Xt.signal.addEventListener("abort",Ai);let{loaderResults:Kr,fetcherResults:ol}=await ue($i,vn,Vn,rt,Ge);if(Xt.signal.aborted)return;Xt.signal.removeEventListener("abort",Ai),q.delete(se),V.delete(se),vn.forEach(sr=>V.delete(sr.key));let cn=x.fetchers.has(se),ar=sr=>{if(!cn)return sr;let Go=new Map(sr.fetchers);return Go.set(se,yl(Bt.data)),{...sr,fetchers:Go}},Di=Bb(Kr);if(Di)return x=ar(x),Ae(Vn,Di.result,!1,{preventScrollReset:dt});if(Di=Bb(ol),Di)return $.add(Di.key),x=ar(x),Ae(Vn,Di.result,!1,{preventScrollReset:dt});let Mi=new Map(x.fetchers);cn&&Mi.set(se,yl(Bt.data));let{loaderData:Ha,errors:Wa}=s5(x,Yi,Kr,void 0,vn,ol,Mi);tt(_i,Mi),x.navigation.state==="loading"&&_i>U?(Ln(D,"Expected pending action"),L&&L.abort(),ve(x.navigation.location,{matches:Yi,loaderData:Ha,errors:Wa,fetchers:Mi})):(pe({errors:Wa,loaderData:l5(x.loaderData,Ha,Yi,Wa),fetchers:Mi}),G=!1)}async function be(se,re,ge,je,Ge,ht,At,dt,It){let Gt=x.fetchers.get(se);et(se,_g(It,Gt?Gt.data:void 0),{flushSync:At});let Nt=new AbortController,Xt=fm(e.history,ge,Nt.signal);if(ht){let Bt=await Dn(je,new URL(Xt.url).pathname,Xt.signal,se);if(Bt.type==="aborted")return;if(Bt.type==="error"){lt(se,re,Bt.error,{flushSync:At});return}else if(Bt.matches)je=Bt.matches;else{lt(se,re,is(404,{pathname:ge}),{flushSync:At});return}}let Ne=rS(je,ge);V.set(se,Nt);let Le=W,ut=Om(o,a,Xt,ge,je,Ne,r,Ge),xt=await ke(Xt,ge,ut,Ge,se),Rt=xt[Ne.route.id];if(!Rt){for(let Bt of je)if(xt[Bt.route.id]){Rt=xt[Bt.route.id];break}}if(V.get(se)===Nt&&V.delete(se),!Xt.signal.aborted){if(Y.has(se)){et(se,yl(void 0));return}if(pf(Rt))if(U>Le){et(se,yl(void 0));return}else{$.add(se),await Ae(Xt,Rt,!1,{preventScrollReset:dt});return}if(wa(Rt)){lt(se,re,Rt.error);return}et(se,yl(Rt.data))}}async function Ae(se,re,ge,{submission:je,fetcherSubmission:Ge,preventScrollReset:ht,replace:At}={}){ge||(M?.resolve(),M=null),re.response.headers.has("X-Remix-Revalidate")&&(G=!0);let dt=re.response.headers.get("Location");Ln(dt,"Expected a Location header on the redirect Response"),dt=o5(dt,new URL(se.url),l,e.history);let It=Zm(x.location,dt,{_isRedirect:!0});if(n){let ut=!1;
12if(re.response.headers.has("X-Remix-Reload-Document"))ut=!0;else if(aP(dt)){const xt=bW(t,dt,!0);ut=xt.origin!==t.location.origin||ca(xt.pathname,l)==null}if(ut){At?t.location.replace(dt):t.location.assign(dt);return}}L=null;let Gt=At===!0||re.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Nt,formAction:Xt,formEncType:Ne}=x.navigation;!je&&!Ge&&Nt&&Xt&&Ne&&(je=d5(x.navigation));let Le=je||Ge;if(zhe.has(re.response.status)&&Le&&Ao(Le.formMethod))await Ee(Gt,It,{submission:{...Le,formAction:dt},preventScrollReset:ht||F,enableViewTransition:ge?P:void 0});else{let ut=$w(It,[],Gt,je);await Ee(Gt,It,{overrideNavigation:ut,fetcherSubmission:Ge,preventScrollReset:ht||F,enableViewTransition:ge?P:void 0})}}async function ke(se,re,ge,je,Ge){let ht,At={};try{ht=await Qhe(u,se,re,ge,Ge,je,!1)}catch(dt){return ge.filter(It=>It.shouldLoad).forEach(It=>{At[It.route.id]={type:"error",error:dt}}),At}if(se.signal.aborted)return At;if(!Ao(se.method))for(let dt of ge){if(ht[dt.route.id]?.type==="error")break;!ht.hasOwnProperty(dt.route.id)&&!x.loaderData.hasOwnProperty(dt.route.id)&&(!x.errors||!x.errors.hasOwnProperty(dt.route.id))&&dt.shouldCallHandler()&&(ht[dt.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${dt.route.id}`)})}for(let[dt,It]of Object.entries(ht))if(uge(It)){let Gt=It.result;At[dt]={type:"redirect",response:nge(Gt,se,dt,ge,l)}}else At[dt]=await tge(It);return At}async function ue(se,re,ge,je,Ge){let ht=ke(ge,je,se,Ge,null),At=Promise.all(re.map(async Gt=>{if(Gt.matches&&Gt.match&&Gt.request&&Gt.controller){let Xt=(await ke(Gt.request,Gt.path,Gt.matches,Ge,Gt.key))[Gt.match.route.id];return{[Gt.key]:Xt}}else return Promise.resolve({[Gt.key]:{type:"error",error:is(404,{pathname:Gt.path})}})})),dt=await ht,It=(await At).reduce((Gt,Nt)=>Object.assign(Gt,Nt),{});return{loaderResults:dt,fetcherResults:It}}function ze(){G=!0,J.forEach((se,re)=>{V.has(re)&&O.add(re),ie(re)})}function et(se,re,ge={}){let je=new Map(x.fetchers);je.set(se,re),pe({fetchers:je},{flushSync:(ge&&ge.flushSync)===!0})}function lt(se,re,ge,je={}){let Ge=Lc(x.matches,re),ht=new Map(x.fetchers);X(ht,se),pe({errors:{[Ge.route.id]:ge},fetchers:ht},{flushSync:(je&&je.flushSync)===!0})}function xe(se){return Z.set(se,(Z.get(se)||0)+1),Y.has(se)&&Y.delete(se),x.fetchers.get(se)||Hhe}function We(se,re){ie(se,re?.reason),et(se,yl(null))}function X(se,re){let ge=x.fetchers.get(re);V.has(re)&&!(ge&&ge.state==="loading"&&q.has(re))&&ie(re),J.delete(re),q.delete(re),$.delete(re),Y.delete(re),O.delete(re),se.delete(re)}function de(se){let re=(Z.get(se)||0)-1;re<=0?(Z.delete(se),Y.add(se)):Z.set(se,re),pe({fetchers:new Map(x.fetchers)})}function ie(se,re){let ge=V.get(se);ge&&(ge.abort(re),V.delete(se))}function Re(se,re){for(let ge of se){let je=re.get(ge);Ln(je,`Expected fetcher: ${ge}`);let Ge=yl(je.data);re.set(ge,Ge)}}function Be(se){let re=[],ge=!1;for(let je of $){let Ge=se.get(je);Ln(Ge,`Expected fetcher: ${je}`),Ge.state==="loading"&&($.delete(je),re.push(je),ge=!0)}return Re(re,se),ge}function tt(se,re){let ge=[];for(let[je,Ge]of q)if(Ge<se){let ht=re.get(je);Ln(ht,`Expected fetcher: ${je}`),ht.state==="loading"&&(ie(je),q.delete(je),ge.push(je))}return Re(ge,re),ge.length>0}function at(se,re){let ge=x.blockers.get(se)||um;return ee.get(se)!==re&&ee.set(se,re),ge}function ot(se){x.blockers.delete(se),ee.delete(se)}function ft(se,re){let ge=x.blockers.get(se)||um;Ln(ge.state==="unblocked"&&re.state==="blocked"||ge.state==="blocked"&&re.state==="blocked"||ge.state==="blocked"&&re.state==="proceeding"||ge.state==="blocked"&&re.state==="unblocked"||ge.state==="proceeding"&&re.state==="unblocked",`Invalid blocker state transition: ${ge.state} -> ${re.state}`);let je=new Map(x.blockers);je.set(se,re),pe({blockers:je})}function Je({currentLocation:se,nextLocation:re,historyAction:ge}){if(ee.size===0)return;ee.size>1&&zr(!1,"A router only supports one blocker at a time");let je=Array.from(ee.entries()),[Ge,ht]=je[je.length-1],At=x.blockers.get(Ge);if(!(At&&At.state==="proceeding")&&ht({currentLocation:se,nextLocation:re,historyAction:ge}))return Ge}function Pt(se){let re=is(404,{pathname:se}),ge=s.activeRoutes,{matches:je,route:Ge}=Vb(ge);return{notFoundMatches:je,route:Ge,error:re}}function Ht(se,re,ge){if(g=se,k=re,y=ge||null,!E&&x.navigation===Yw){E=!0;let je=Lt(x.location,x.matches);je!=null&&pe({restoreScrollPosition:je})}return()=>{g=null,k=null,y=null}}function fn(se,re){return y&&y(se,re.map(je=>ghe(je,x.loaderData)))||se.key}function Sn(se,re){if(g&&k){let ge=fn(se,re);g[ge]=k()}}function Lt(se,re){if(g){let ge=fn(se,re),je=g[ge];
12if(typeof je=="number")return je}return null}function nn(se,re,ge){if(e.patchRoutesOnNavigation){let je=s.branches;if(se){if(Object.keys(se[0].params).length>0)return{active:!0,matches:js(re,ge,l,!0,je)}}else return{active:!0,matches:js(re,ge,l,!0,je)||[]}}return{active:!1,matches:null}}async function Dn(se,re,ge,je){if(!e.patchRoutesOnNavigation)return{type:"success",matches:se};let Ge=se;for(;;){let ht=a;try{await e.patchRoutesOnNavigation({signal:ge,path:re,matches:Ge,fetcherKey:je,patch:(Gt,Nt)=>{ge.aborted||t5(Gt,Nt,s,ht,o,!1)}})}catch(Gt){return{type:"error",error:Gt,partialMatches:Ge}}if(ge.aborted)return{type:"aborted"};let At=s.branches,dt=js(s.activeRoutes,re,l,!1,At),It=null;if(dt){if(Object.keys(dt[0].params).length===0)return{type:"success",matches:dt};if(It=js(s.activeRoutes,re,l,!0,At),!(It&&Ge.length<It.length&&Bn(Ge,It.slice(0,Ge.length))))return{type:"success",matches:dt}}if(It||(It=js(s.activeRoutes,re,l,!0,At)),!It||Bn(Ge,It))return{type:"success",matches:null};Ge=It}}function Bn(se,re){return se.length===re.length&&se.every((ge,je)=>ge.route.id===re[je].route.id)}function Rn(se){a={},s.setHmrRoutes(ty(se,o,void 0,a))}function Pn(se,re,ge=!1){t5(se,re,s,a,o,ge),s.hasHMRRoutes||pe({})}return R={get basename(){return l},get future(){return c},get state(){return x},get routes(){return s.stableRoutes},get branches(){return s.branches},get manifest(){return a},get window(){return t},initialize:ne,subscribe:ae,enableScrollRestoration:Ht,navigate:Se,fetch:Fe,revalidate:De,createHref:se=>e.history.createHref(se),encodeLocation:se=>e.history.encodeLocation(se),getFetcher:xe,resetFetcher:We,deleteFetcher:de,dispose:Ce,getBlocker:at,deleteBlocker:ot,patchRoutes:Pn,_internalFetchControllers:V,_internalSetRoutes:Rn,_internalSetStateDoNotUseOrYouWillBreakYourApp(se){pe(se)}},e.instrumentations&&(R=_he(R,e.instrumentations.map(se=>se.router).filter(Boolean))),R}function Ghe(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function xx(e,t,n,r,i,o){let a,s;if(i){a=[];for(let u of t)if(a.push(u),u.route.id===i){s=u;break}}else a=t,s=t[t.length-1];let l=Uy(r||".",qT(a),ca(e.pathname,n)||e.pathname,o==="path");if(r==null&&(l.search=e.search,l.hash=e.hash),(r==null||r===""||r===".")&&s){let u=cP(l.search);if(s.route.index&&!u)l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index";else if(!s.route.index&&u){let c=new URLSearchParams(l.search),f=c.getAll("index");c.delete("index"),f.filter(v=>v).forEach(v=>c.append("index",v));let p=c.toString();l.search=p?`?${p}`:""}}return n!=="/"&&(l.pathname=Nhe({basename:n,pathname:l.pathname})),Ys(l)}function XU(e,t,n){if(!n||!Ghe(n))return{path:t};if(n.formMethod&&!fge(n.formMethod))return{path:t,error:is(405,{method:n.formMethod})};let r=()=>({path:t,error:is(400,{type:"invalid-body"})}),o=(n.formMethod||"get").toUpperCase(),a=zW(t);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Ao(o))return r();let f=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((p,[v,g])=>`${p}${v}=${g} 13`,""):String(n.body);return{path:t,submission:{formMethod:o,formAction:a,formEncType:n.formEncType,formData:void 0,json:void 0,text:f}}}else if(n.formEncType==="application/json"){if(!Ao(o))return r();try{let f=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:o,formAction:a,formEncType:n.formEncType,formData:void 0,json:f,text:void 0}}}catch{return r()}}}Ln(typeof FormData=="function","FormData is not available in this environment");let s,l;if(n.formData)s=Px(n.formData),l=n.formData;else if(n.body instanceof FormData)s=Px(n.body),l=n.body;else if(n.body instanceof URLSearchParams)s=n.body,l=a5(s);else if(n.body==null)s=new URLSearchParams,l=new FormData;else try{s=new URLSearchParams(n.body),l=a5(s)}catch{return r()}let u={formMethod:o,formAction:a,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:l,json:void 0,text:void 0};if(Ao(u.formMethod))return{path:t,submission:u};let c=rl(t);return e&&c.search&&cP(c.search)&&s.append("index",""),c.search=`?${s}`,{path:Ys(c),submission:u}}function e5(e,t,n,r,i,o,a,s,l,u,c,f,p,v,g,y,k,E,S,T,I,A){let w=I?wa(I[1])?I[1].error:I[1].data:void 0,R=i.createURL(o.location),x=i.createURL(l),D;if(c&&o.errors){let H=Object.keys(o.errors)[0];D=a.findIndex(G=>G.route.id===H)}else if(I&&wa(I[1])){let H=I[0];D=a.findIndex(G=>G.route.id===H)-1}let M=I?I[1].statusCode:void 0,F=M&&M>
13=400,L={currentUrl:R,currentParams:o.matches[0]?.params||{},nextUrl:x,nextParams:a[0].params,...s,actionResult:w,actionStatus:M},P=By(a),j=a.map((H,G)=>{let{route:O}=H,V=null;if(D!=null&&G>D)V=!1;else if(O.lazy)V=!0;else if(!lP(O))V=!1;else if(c){let{shouldLoad:$}=DW(O,o.loaderData,o.errors);V=$}else Khe(o.loaderData,o.matches[G],H)&&(V=!0);if(V!==null)return Lx(n,r,e,l,P,H,u,t,V);let W=!1;typeof A=="boolean"?W=A:F?W=!1:(f||R.pathname+R.search===x.pathname+x.search||R.search!==x.search||Yhe(o.matches[G],H))&&(W=!0);let U={...L,defaultShouldRevalidate:W},q=Ov(H,U);return Lx(n,r,e,l,P,H,u,t,q,U,A)}),B=[];return g.forEach((H,G)=>{if(c||!a.some(Z=>Z.route.id===H.routeId)||v.has(G))return;let O=o.fetchers.get(G),V=O&&O.state!=="idle"&&O.data===void 0,W=js(k,H.path,E??"/",!1,T);if(!W){if(S&&V)return;B.push({key:G,routeId:H.routeId,path:H.path,matches:null,match:null,request:null,controller:null});return}if(y.has(G))return;let U=rS(W,H.path),q=new AbortController,$=fm(i,H.path,q.signal),J=null;if(p.has(G))p.delete(G),J=Om(n,r,$,H.path,W,U,u,t);else if(V)f&&(J=Om(n,r,$,H.path,W,U,u,t));else{let Z;typeof A=="boolean"?Z=A:F?Z=!1:Z=f;let Y={...L,defaultShouldRevalidate:Z};Ov(U,Y)&&(J=Om(n,r,$,H.path,W,U,u,t,Y))}J&&B.push({key:G,routeId:H.routeId,path:H.path,matches:J,match:U,request:$,controller:q})}),{dsMatches:j,revalidatingFetchers:B}}function lP(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function DW(e,t,n){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!lP(e))return{shouldLoad:!1,renderFallback:!1};let r=t!=null&&e.id in t,i=n!=null&&n[e.id]!==void 0;if(!r&&i)return{shouldLoad:!1,renderFallback:!1};if(typeof e.loader=="function"&&e.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!r};let o=!r&&!i;return{shouldLoad:o,renderFallback:o}}function Khe(e,t,n){let r=!t||n.route.id!==t.route.id,i=!e.hasOwnProperty(n.route.id);return r||i}function Yhe(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Ov(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function t5(e,t,n,r,i,o){let a;if(e){let u=r[e];Ln(u,`No route found to patch children into: routeId = ${e}`),u.children||(u.children=[]),a=u.children}else a=n.activeRoutes;let s=[],l=[];if(t.forEach(u=>{let c=a.find(f=>MW(u,f));c?l.push({existingRoute:c,newRoute:u}):s.push(u)}),s.length>0){let u=ty(s,i,[e||"_","patch",String(a?.length||"0")],r);a.push(...u)}if(o&&l.length>0)for(let u=0;u<l.length;u++){let{existingRoute:c,newRoute:f}=l[u],p=c,[v]=ty([f],i,[],{},!0);Object.assign(p,{element:v.element?v.element:p.element,errorElement:v.errorElement?v.errorElement:p.errorElement,hydrateFallbackElement:v.hydrateFallbackElement?v.hydrateFallbackElement:p.hydrateFallbackElement})}n.hasHMRRoutes||n.setRoutes([...n.activeRoutes])}function MW(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children?.every((n,r)=>t.children?.some(i=>MW(n,i)))??!1:!1}var n5=new WeakMap,FW=({key:e,route:t,manifest:n,mapRouteProperties:r})=>{let i=n[t.id];if(Ln(i,"No route found in manifest"),!i.lazy||typeof i.lazy!="object")return;let o=i.lazy[e];if(!o)return;let a=n5.get(i);a||(a={},n5.set(i,a));let s=a[e];if(s)return s;let l=(async()=>{let u=fhe(e),f=i[e]!==void 0&&e!=="hasErrorBoundary";if(u)zr(!u,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),a[e]=Promise.resolve();else if(f)zr(!1,`Route "${i.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let p=await o();p!=null&&(Object.assign(i,{[e]:p}),Object.assign(i,r(i)))}typeof i.lazy=="object"&&(i.lazy[e]=void 0,Object.values(i.lazy).every(p=>p===void 0)&&(i.lazy=void 0))})();return a[e]=l,l},r5=new WeakMap;function $he(e,t,n,r,i){let o=n[e.id];if(Ln(o,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let c=r5.get(o);if(c)return{lazyRoutePromise:c,lazyHandlerPromise:c};let f=(async()=>{Ln(typeof e.lazy=="function","No lazy route function found");let p=await e.lazy(),v={};for(let g in p){let y=p[g];if(y===void 0)continue;let k=mhe(g),S=o[g]!==void 0&&g!=="hasErrorBoundary";k?zr(!k,"Route property "+g+" is not a supported property to be returned from a lazy route function. This property will be ignored."):S?zr(!S,`Route "${o.id}" has a static property "${g}" defined but its lazy function is also returning a value for this property. The lazy route property "${g}" will be ignored.`):v[g]=y}Object.assign(o,v),Object.assign(o,{...r(o),lazy:void 0})})();return r5.set(o,f),f.catch(()=>{}),{lazyRoutePromise:f,lazyHandlerPromise:f}}let a=Object.keys(e.lazy),s=[],l;for(let c of a){if(i&&i.includes(c))continue;let f=FW({key:c,route:e,manifest:n,mapRouteProperties:r});f&&(s.push(f),c===t&&(l=f))}let u=s.length>0?Promise.all(s).then(()=>{}):void 0;return u?.catch(()=>{}),l?.catch(()=>{}),{lazyRoutePromise:u,lazyHandlerPromise:l}}async function i5(e){let t=e.matches.filter(i=>i.shouldLoad),n={};return(await Promise.all(t.map(i=>
13i.resolve()))).forEach((i,o)=>{n[t[o].route.id]=i}),n}async function Jhe(e){return e.matches.some(t=>t.route.middleware)?UW(e,()=>i5(e)):i5(e)}function UW(e,t){return Zhe(e,t,r=>{if(dge(r))throw r;return r},sge,n);function n(r,i,o){if(o)return Promise.resolve(Object.assign(o.value,{[i]:{type:"error",result:r}}));{let{matches:a}=e,s=Math.min(Math.max(a.findIndex(u=>u.route.id===i),0),Math.max(a.findIndex(u=>u.shouldCallHandler()),0)),l=Lc(a,a[s].route.id).route.id;return Promise.resolve({[l]:{type:"error",result:r}})}}}async function Zhe(e,t,n,r,i){let{matches:o,...a}=e,s=o.flatMap(u=>u.route.middleware?u.route.middleware.map(c=>[u.route.id,c]):[]);return await VW(a,s,t,n,r,i)}async function VW(e,t,n,r,i,o,a=0){let{request:s}=e;if(s.signal.aborted)throw s.signal.reason??new Error(`Request aborted: ${s.method} ${s.url}`);let l=t[a];if(!l)return await n();let[u,c]=l,f,p=async()=>{if(f)throw new Error("You may only call `next()` once per middleware");try{return f={value:await VW(e,t,n,r,i,o,a+1)},f.value}catch(v){return f={value:await o(v,u,f)},f.value}};try{let v=await c(e,p),g=v!=null?r(v):void 0;return i(g)?g:f?g??f.value:(f={value:await p()},f.value)}catch(v){return await o(v,u,f)}}function BW(e,t,n,r,i){let o=FW({key:"middleware",route:r.route,manifest:t,mapRouteProperties:e}),a=$he(r.route,Ao(n.method)?"action":"loader",t,e,i);return{middleware:o,route:a.lazyRoutePromise,handler:a.lazyHandlerPromise}}function Lx(e,t,n,r,i,o,a,s,l,u=null,c){let f=!1,p=BW(e,t,n,o,a);return{...o,_lazyPromises:p,shouldLoad:l,shouldRevalidateArgs:u,shouldCallHandler(v){return f=!0,u?typeof c=="boolean"?Ov(o,{...u,defaultShouldRevalidate:c}):typeof v=="boolean"?Ov(o,{...u,defaultShouldRevalidate:v}):Ov(o,u):l},resolve(v){let{lazy:g,loader:y,middleware:k}=o.route,E=f||l||v&&!Ao(n.method)&&(g||y),S=k&&k.length>0&&!y&&!g;return E&&(Ao(n.method)||!S)?Xhe({request:n,path:r,pattern:i,match:o,lazyHandlerPromise:p?.handler,lazyRoutePromise:p?.route,handlerOverride:v,scopedContext:s}):Promise.resolve({type:"data",result:void 0})}}}function Om(e,t,n,r,i,o,a,s,l=null){return i.map(u=>u.route.id!==o.route.id?{...u,shouldLoad:!1,shouldRevalidateArgs:l,shouldCallHandler:()=>!1,_lazyPromises:BW(e,t,n,u,a),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Lx(e,t,n,r,By(i),u,a,s,!0,l))}async function Qhe(e,t,n,r,i,o,a){r.some(c=>c._lazyPromises?.middleware)&&await Promise.all(r.map(c=>c._lazyPromises?.middleware));let s={request:t,url:jW(t,n),pattern:By(r),params:r[0].params,context:o,matches:r},u=await e({...s,fetcherKey:i,runClientMiddleware:c=>{let f=s;return UW(f,()=>c({...f,fetcherKey:i,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(r.flatMap(c=>[c._lazyPromises?.handler,c._lazyPromises?.route]))}catch{}return u}async function Xhe({request:e,path:t,pattern:n,match:r,lazyHandlerPromise:i,lazyRoutePromise:o,handlerOverride:a,scopedContext:s}){let l,u,c=Ao(e.method),f=c?"action":"loader",p=v=>{let g,y=new Promise((S,T)=>g=T);u=()=>g(),e.signal.addEventListener("abort",u);let k=S=>typeof v!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${f}" [routeId: ${r.route.id}]`)):v({request:e,url:jW(e,t),pattern:n,params:r.params,context:s},...S!==void 0?[S]:[]),E=(async()=>{try{return{type:"data",result:await(a?a(T=>k(T)):k())}}catch(S){return{type:"error",result:S}}})();return Promise.race([E,y])};try{let v=c?r.route.action:r.route.loader;if(i||o)if(v){let g,[y]=await Promise.all([p(v).catch(k=>{g=k}),i,o]);if(g!==void 0)throw g;l=y}else{await i;let g=c?r.route.action:r.route.loader;if(g)[l]=await Promise.all([p(g),o]);else if(f==="action"){let y=new URL(e.url),k=y.pathname+y.search;throw is(405,{method:e.method,pathname:k,routeId:r.route.id})}else return{type:"data",result:void 0}}else if(v)l=await p(v);else{let g=new URL(e.url),y=g.pathname+g.search;throw is(404,{pathname:y})}}catch(v){return{type:"error",result:v}}finally{u&&e.signal.removeEventListener("abort",u)}return l}async function ege(e){let t=e.headers.get("Content-Type");return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function tge(e){let{result:t,type:n}=e;if(uP(t)){let r;try{r=await ege(t)}catch(i){return{type:"error",error:i}}return n==="error"?{type:"error",error:new Vy(t.status,t.statusText,r),statusCode:t.status,headers:t.headers}:{type:"data",data:r,statusCode:t.status,headers:t.headers}}return n==="error"?c5(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:age(t),statusCode:ny(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:ny(t)?t.status:void 0}:c5(t)?{type:"data",data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function nge(e,t,n,r,i){let o=e.headers.get("Location");if(Ln(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!aP(o)){let a=r.slice(0,r.findIndex(s=>s.route.id===n)+1);o=xx(new URL(t.url),a,i,o),e.headers.set("Location",o)}return e}var rge=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Ox(e){try{return rge.includes(new URL(e).protocol)}catch{return!1}}function o5(e,t,n,r){if(aP(e)){let i=e,o=oP.test(i)?new URL(gW(i,t.protocol)):new URL(i);if(Ox(o.toString()))throw new Error("Invalid redirect location");let a=ca(o.pathname,n)!=null;if(o.origin===t.origin&&a)return sP(o.pathname)+o.search+o.hash}try{let i=r.createURL(e);if(Ox(i.toString()))throw new Error("Invalid redirect location")}catch{}return e}function fm(e,t,n,r){let i=e.createURL(zW(t)).toString(),o={signal:n};if(r&&Ao(r.formMethod)){let{formMethod:a,formEncType:s}=r;o.method=a.toUpperCase(),s==="application/json"?(o.headers=new Headers({"Content-Type":s}),o.body=JSON.stringify(r.json)):s==="text/plain"?o.body=r.text:s==="application/x-www-form-urlencoded"&&r.formData?o.body=Px(r.formData):o.body=r.formData}
13return new Request(i,o)}function jW(e,t){let n=new URL(e.url),r=typeof t=="string"?rl(t):t;if(n.pathname=r.pathname||"/",r.search){let i=new URLSearchParams(r.search),o=i.getAll("index");i.delete("index");for(let a of o.filter(Boolean))i.append("index",a);n.search=i.size?`?${i.toString()}`:""}else n.search="";return n.hash=r.hash||"",n}function Px(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function a5(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function ige(e,t,n,r=!1,i=!1){let o={},a=null,s,l=!1,u={},c=n&&wa(n[1])?n[1].error:void 0;return e.forEach(f=>{if(!(f.route.id in t))return;let p=f.route.id,v=t[p];if(Ln(!pf(v),"Cannot handle redirect results in processLoaderData"),wa(v)){let g=v.error;if(c!==void 0&&(g=c,c=void 0),a=a||{},i)a[p]=g;else{let y=Lc(e,p);a[y.route.id]==null&&(a[y.route.id]=g)}r||(o[p]=PW),l||(l=!0,s=ny(v.error)?v.error.status:500),v.headers&&(u[p]=v.headers)}else o[p]=v.data,v.statusCode&&v.statusCode!==200&&!l&&(s=v.statusCode),v.headers&&(u[p]=v.headers)}),c!==void 0&&n&&(a={[n[0]]:c},n[2]&&(o[n[2]]=void 0)),{loaderData:o,errors:a,statusCode:s||200,loaderHeaders:u}}function s5(e,t,n,r,i,o,a){let{loaderData:s,errors:l}=ige(t,n,r);return i.filter(u=>!u.matches||u.matches.some(c=>c.shouldLoad)).forEach(u=>{let{key:c,match:f,controller:p}=u;if(p&&p.signal.aborted)return;let v=o[c];if(Ln(v,"Did not find corresponding fetcher result"),wa(v)){let g=Lc(e.matches,f?.route.id);l&&l[g.route.id]||(l={...l,[g.route.id]:v.error}),a.delete(c)}else if(pf(v))Ln(!1,"Unhandled fetcher revalidation redirect");else{let g=yl(v.data);a.set(c,g)}}),{loaderData:s,errors:l}}function l5(e,t,n,r){let i=Object.entries(t).filter(([,o])=>o!==PW).reduce((o,[a,s])=>(o[a]=s,o),{});for(let o of n){let a=o.route.id;if(!t.hasOwnProperty(a)&&e.hasOwnProperty(a)&&o.route.loader&&(i[a]=e[a]),r&&r.hasOwnProperty(a))break}return i}function u5(e){return e?wa(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Lc(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Vb(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function is(e,{pathname:t,routeId:n,method:r,type:i,message:o}={}){let a="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(a="Bad Request",r&&t&&n?s=`You made a ${r} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:i==="invalid-body"&&(s="Unable to encode submission body")):e===403?(a="Forbidden",s=`Route "${n}" does not match URL "${t}"`):e===404?(a="Not Found",s=`No route matches URL "${t}"`):e===405&&(a="Method Not Allowed",r&&t&&n?s=`You made a ${r.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:r&&(s=`Invalid request method "${r.toUpperCase()}"`)),new Vy(e||500,a,new Error(s),!0)}function Bb(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(pf(i))return{key:r,result:i}}}function zW(e){let t=typeof e=="string"?rl(e):e;return Ys({...t,hash:""})}function oge(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function age(e){return new Vy(e.init?.status??500,e.init?.statusText??"Internal Server Error",e.data)}function sge(e){return e!=null&&typeof e=="object"&&Object.entries(e).every(([t,n])=>typeof t=="string"&&lge(n))}function lge(e){return e!=null&&typeof e=="object"&&"type"in e&&"result"in e&&(e.type==="data"||e.type==="error")}function uge(e){return uP(e.result)&&LW.has(e.result.status)}function wa(e){return e.type==="error"}function pf(e){return(e&&e.type)==="redirect"}function c5(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function uP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function cge(e){return LW.has(e)}function dge(e){return uP(e)&&cge(e.status)&&e.headers.has("Location")}
13function fge(e){return jhe.has(e.toUpperCase())}function Ao(e){return Vhe.has(e.toUpperCase())}function cP(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function rS(e,t){let n=typeof t=="string"?rl(t).search:t.search;if(e[e.length-1].route.index&&cP(n||""))return e[e.length-1];let r=IW(e);return r[r.length-1]}function d5(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:a}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(a!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}}}function $w(e,t,n,r){return r?{state:"loading",location:e,matches:t,historyAction:n,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}:{state:"loading",location:e,matches:t,historyAction:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function pge(e,t,n,r){return{state:"submitting",location:e,matches:t,historyAction:n,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}}function _g(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function mge(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function yl(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function hge(e,t){try{let n=e.sessionStorage.getItem(OW);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function gge(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(OW,JSON.stringify(n))}catch(r){zr(!1,`Failed to save applied view transitions in sessionStorage (${r}).`)}}}function f5(){let e,t,n=new Promise((r,i)=>{e=async o=>{r(o);try{await n}catch{}},t=async o=>{i(o);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}var np=m.createContext(null);np.displayName="DataRouter";var jy=m.createContext(null);jy.displayName="DataRouterState";var HW=m.createContext(!1);function WW(){return m.useContext(HW)}var dP=m.createContext({isTransitioning:!1});dP.displayName="ViewTransition";var qW=m.createContext(new Map);qW.displayName="Fetchers";var vge=m.createContext(null);vge.displayName="Await";var Ua=m.createContext(null);Ua.displayName="Navigation";var GT=m.createContext(null);GT.displayName="Location";var Is=m.createContext({outlet:null,matches:[],isDataRoute:!1});Is.displayName="Route";var fP=m.createContext(null);fP.displayName="RouteError";var GW="REACT_ROUTER_ERROR",yge="REDIRECT",kge="ROUTE_ERROR_RESPONSE";function bge(e){if(e.startsWith(`${GW}:${yge}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function Sge(e){if(e.startsWith(`${GW}:${kge}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new Vy(t.status,t.statusText,t.data)}catch{}}function Ege(e,{relative:t}={}){Ln(Rh(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=m.useContext(Ua),{hash:i,pathname:o,search:a}=zy(e,{relative:t}),s=o;return n!=="/"&&(s=o==="/"?n:hs([n,o])),r.createHref({pathname:s,search:a,hash:i})}function Rh(){return m.useContext(GT)!=null}function qr(){return Ln(Rh(),"useLocation() may be used only in the context of a <Router> component."),m.useContext(GT).location}var KW="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function YW(e){m.useContext(Ua).static||m.useLayoutEffect(e)}function rp(){let{isDataRoute:e}=m.useContext(Is);return e?Mge():Tge()}function Tge(){Ln(Rh(),"useNavigate() may be used only in the context of a <Router> component.");let e=m.useContext(np),{basename:t,navigator:n}=m.useContext(Ua),{matches:r}=m.useContext(Is),{pathname:i}=qr(),o=JSON.stringify(qT(r)),a=m.useRef(!1);return YW(()=>{a.current=!0}),m.useCallback((l,u={})=>
13{if(zr(a.current,KW),!a.current)return;if(typeof l=="number"){n.go(l);return}let c=Uy(l,JSON.parse(o),i,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:hs([t,c.pathname])),(u.replace?n.replace:n.push)(c,u.state,u)},[t,n,o,i,e])}var Cge=m.createContext(null);function Age(e){let t=m.useContext(Is).outlet;return m.useMemo(()=>t&&m.createElement(Cge.Provider,{value:e},t),[t,e])}function ip(){let{matches:e}=m.useContext(Is);return e[e.length-1]?.params??{}}function zy(e,{relative:t}={}){let{matches:n}=m.useContext(Is),{pathname:r}=qr(),i=JSON.stringify(qT(n));return m.useMemo(()=>Uy(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function Ige(e,t,n){Ln(Rh(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=m.useContext(Ua),{matches:i}=m.useContext(Is),o=i[i.length-1],a=o?o.params:{},s=o?o.pathname:"/",l=o?o.pathnameBase:"/",u=o&&o.route;{let k=u&&u.path||"";QW(s,!u||k.endsWith("*")||k.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${k}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 14 15Please change the parent <Route path="${k}"> to <Route path="${k==="/"?"*":`${k}/*`}">.`)}let c=qr(),f;f=c;let p=f.pathname||"/",v=p;if(l!=="/"){let k=l.replace(/^\//,"").split("/");v="/"+p.replace(/^\//,"").split("/").slice(k.length).join("/")}let g=n&&n.state.matches.length?n.state.matches.map(k=>Object.assign(k,{route:n.manifest[k.route.id]||k.route})):Fy(e,{pathname:v});return zr(u||g!=null,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),zr(g==null||g[g.length-1].route.element!==void 0||g[g.length-1].route.Component!==void 0||g[g.length-1].route.lazy!==void 0,`Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),Lge(g&&g.map(k=>Object.assign({},k,{params:Object.assign({},a,k.params),pathname:hs([l,r.encodeLocation?r.encodeLocation(k.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?l:hs([l,r.encodeLocation?r.encodeLocation(k.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathnameBase])})),i,n)}function wge(){let e=_ge(),t=ny(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",e),a=m.createElement(m.Fragment,null,m.createElement("p",null,"ð¿ Hey developer ð"),m.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",m.createElement("code",{style:o},"ErrorBoundary")," or"," ",m.createElement("code",{style:o},"errorElement")," prop on your route.")),m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},t),n?m.createElement("pre",{style:i},n):null,a)}var Nge=m.createElement(wge,null),$W=class extends m.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=Sge(e.digest);n&&(e=n)}let t=e!==void 0?m.createElement(Is.Provider,{value:this.props.routeContext},m.createElement(fP.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?m.createElement(Rge,{error:e},t):t}};$W.contextType=HW;var Jw=new WeakMap;function Rge({children:e,error:t}){let{basename:n}=m.useContext(Ua);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=bge(t.digest);if(r){let i=Jw.get(t);if(i)throw i;let o=NW(r.location,n),a=o.absoluteURL||o.to;if(Ox(a))throw new Error("Invalid redirect location");if(wW&&!Jw.get(t))if(o.isExternal||r.reloadDocument)window.location.href=a;else{const s=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:r.replace}));throw Jw.set(t,s),s}return m.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a}`})}}return e}function xge({routeContext:e,match:t,children:n}){let r=m.useContext(np);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),m.createElement(Is.Provider,{value:e},n)}function Lge(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,o=r?.errors;if(o!=null){let c=i.findIndex(f=>f.route.id&&o?.[f.route.id]!==void 0);Ln(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),i=i.slice(0,Math.min(i.length,c+1))}let a=!1,s=-1;if(n&&r){a=r.renderFallback;for(let c=0;c<i.length;c++){let f=i[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(s=c),f.route.id){let{loaderData:p,errors:v}
15=r,g=f.route.loader&&!p.hasOwnProperty(f.route.id)&&(!v||v[f.route.id]===void 0);if(f.route.lazy||g){n.isStatic&&(a=!0),s>=0?i=i.slice(0,s+1):i=[i[0]];break}}}}let l=n?.onError,u=r&&l?(c,f)=>{l(c,{location:r.location,params:r.matches?.[0]?.params??{},pattern:By(r.matches),errorInfo:f})}:void 0;return i.reduceRight((c,f,p)=>{let v,g=!1,y=null,k=null;r&&(v=o&&f.route.id?o[f.route.id]:void 0,y=f.route.errorElement||Nge,a&&(s<0&&p===0?(QW("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),g=!0,k=null):s===p&&(g=!0,k=f.route.hydrateFallbackElement||null)));let E=t.concat(i.slice(0,p+1)),S=()=>{let T;return v?T=y:g?T=k:f.route.Component?T=m.createElement(f.route.Component,null):f.route.element?T=f.route.element:T=c,m.createElement(xge,{match:f,routeContext:{outlet:c,matches:E,isDataRoute:r!=null},children:T})};return r&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?m.createElement($W,{location:r.location,revalidation:r.revalidation,component:y,error:v,children:S(),routeContext:{outlet:null,matches:E,isDataRoute:!0},onError:u}):S()},null)}function pP(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function JW(e){let t=m.useContext(np);return Ln(t,pP(e)),t}function ZW(e){let t=m.useContext(jy);return Ln(t,pP(e)),t}function Oge(e){let t=m.useContext(Is);return Ln(t,pP(e)),t}function mP(e){let t=Oge(e),n=t.matches[t.matches.length-1];return Ln(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Pge(){return mP("useRouteId")}function _ge(){let e=m.useContext(fP),t=ZW("useRouteError"),n=mP("useRouteError");return e!==void 0?e:t.errors?.[n]}var Dge=0;function Llt(e){let{router:t,basename:n}=JW("useBlocker"),r=ZW("useBlocker"),[i,o]=m.useState(""),a=m.useCallback(s=>{if(typeof e!="function")return!!e;if(n==="/")return e(s);let{currentLocation:l,nextLocation:u,historyAction:c}=s;return e({currentLocation:{...l,pathname:ca(l.pathname,n)||l.pathname},nextLocation:{...u,pathname:ca(u.pathname,n)||u.pathname},historyAction:c})},[n,e]);return m.useEffect(()=>{let s=String(++Dge);return o(s),()=>t.deleteBlocker(s)},[t]),m.useEffect(()=>{i!==""&&t.getBlocker(i,a)},[t,i,a]),i&&r.blockers.has(i)?r.blockers.get(i):um}function Mge(){let{router:e}=JW("useNavigate"),t=mP("useNavigate"),n=m.useRef(!1);return YW(()=>{n.current=!0}),m.useCallback(async(i,o={})=>{zr(n.current,KW),n.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...o}))},[e,t])}var p5={};function QW(e,t,n){!t&&!p5[e]&&(p5[e]=!0,zr(!1,n))}var m5={};function h5(e,t){!e&&!m5[t]&&(m5[t]=!0,console.warn(t))}var Fge="useOptimistic",g5=Ks[Fge],Uge=()=>{};function Vge(e){return g5?g5(e):[e,Uge]}function XW(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&zr(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:m.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&zr(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:m.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&zr(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:m.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var eq=["HydrateFallback","hydrateFallbackElement"],Bge=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",e(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",t(n))}})}};function tq({router:e,flushSync:t,onError:n,useTransitions:r}){r=WW()||r;let[o,a]=m.useState(e.state),[s,l]=Vge(o),[u,c]=m.useState(),[f,p]=m.useState({isTransitioning:!1}),[v,g]=m.useState(),[y,k]=m.useState(),[E,S]=m.useState(),T=m.useRef(new Map),I=m.useCallback((x,{deletedFetchers:D,newErrors:M,flushSync:F,viewTransitionOpts:L})=>
15{M&&n&&Object.values(M).forEach(j=>n(j,{location:x.location,params:x.matches[0]?.params??{},pattern:By(x.matches)})),x.fetchers.forEach((j,B)=>{j.data!==void 0&&T.current.set(B,j.data)}),D.forEach(j=>T.current.delete(j)),h5(F===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let P=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(h5(L==null||P,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!L||!P){t&&F?t(()=>a(x)):r===!1?a(x):m.startTransition(()=>{r===!0&&l(j=>v5(j,x)),a(x)});return}if(t&&F){t(()=>{y&&(v?.resolve(),y.skipTransition()),p({isTransitioning:!0,flushSync:!0,currentLocation:L.currentLocation,nextLocation:L.nextLocation})});let j=e.window.document.startViewTransition(()=>{t(()=>a(x))});j.finished.finally(()=>{t(()=>{g(void 0),k(void 0),c(void 0),p({isTransitioning:!1})})}),t(()=>k(j));return}y?(v?.resolve(),y.skipTransition(),S({state:x,currentLocation:L.currentLocation,nextLocation:L.nextLocation})):(c(x),p({isTransitioning:!0,flushSync:!1,currentLocation:L.currentLocation,nextLocation:L.nextLocation}))},[e.window,t,y,v,r,l,n]);m.useLayoutEffect(()=>e.subscribe(I),[e,I]),m.useEffect(()=>{f.isTransitioning&&!f.flushSync&&g(new Bge)},[f]),m.useEffect(()=>{if(v&&u&&e.window){let x=u,D=v.promise,M=e.window.document.startViewTransition(async()=>{r===!1?a(x):m.startTransition(()=>{r===!0&&l(F=>v5(F,x)),a(x)}),await D});M.finished.finally(()=>{g(void 0),k(void 0),c(void 0),p({isTransitioning:!1})}),k(M)}},[u,v,e.window,r,l]),m.useEffect(()=>{v&&u&&s.location.key===u.location.key&&v.resolve()},[v,y,s.location,u]),m.useEffect(()=>{!f.isTransitioning&&E&&(c(E.state),p({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}),S(void 0))},[f.isTransitioning,E]);let A=m.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:x=>e.navigate(x),push:(x,D,M)=>e.navigate(x,{state:D,preventScrollReset:M?.preventScrollReset}),replace:(x,D,M)=>e.navigate(x,{replace:!0,state:D,preventScrollReset:M?.preventScrollReset})}),[e]),w=e.basename||"/",R=m.useMemo(()=>({router:e,navigator:A,static:!1,basename:w,onError:n}),[e,A,w,n]);return m.createElement(m.Fragment,null,m.createElement(np.Provider,{value:R},m.createElement(jy.Provider,{value:s},m.createElement(qW.Provider,{value:T.current},m.createElement(dP.Provider,{value:f},m.createElement(hP,{basename:w,location:s.location,navigationType:s.historyAction,navigator:A,useTransitions:r},m.createElement(jge,{routes:e.routes,manifest:e.manifest,future:e.future,state:s,isStatic:!1,onError:n})))))),null)}function v5(e,t){return{...e,navigation:t.navigation.state!=="idle"?t.navigation:e.navigation,revalidation:t.revalidation!=="idle"?t.revalidation:e.revalidation,actionData:t.navigation.state!=="submitting"?t.actionData:e.actionData,fetchers:t.fetchers}}var jge=m.memo(zge);function zge({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:o}){return Ige(e,void 0,{manifest:t,state:r,isStatic:i,onError:o})}function Qm({to:e,replace:t,state:n,relative:r}){Ln(Rh(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=m.useContext(Ua);zr(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=m.useContext(Is),{pathname:a}=qr(),s=rp(),l=Uy(e,qT(o),a,r==="path"),u=JSON.stringify(l);return m.useEffect(()=>{s(JSON.parse(u),{replace:t,state:n,relative:r})},[s,u,r,t,n]),null}function Ra(e){return Age(e.context)}function hP({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:o=!1,useTransitions:a}){Ln(!Rh(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=m.useMemo(()=>({basename:s,navigator:i,static:o,useTransitions:a,future:{}}),[s,i,o,a]);typeof n=="string"&&(n=rl(n));
15let{pathname:u="/",search:c="",hash:f="",state:p=null,key:v="default",mask:g}=n,y=m.useMemo(()=>{let k=ca(u,s);return k==null?null:{location:{pathname:k,search:c,hash:f,state:p,key:v,mask:g},navigationType:r}},[s,u,c,f,p,v,r,g]);return zr(y!=null,`<Router basename="${s}"> is not able to match the URL "${u}${c}${f}" because it does not start with the basename, so the <Router> won't render anything.`),y==null?null:m.createElement(Ua.Provider,{value:l},m.createElement(GT.Provider,{children:t,value:y}))}var iS="get",oS="application/x-www-form-urlencoded";function KT(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Hge(e){return KT(e)&&e.tagName.toLowerCase()==="button"}function Wge(e){return KT(e)&&e.tagName.toLowerCase()==="form"}function qge(e){return KT(e)&&e.tagName.toLowerCase()==="input"}function Gge(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Kge(e,t){return e.button===0&&(!t||t==="_self")&&!Gge(e)}function _x(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function Yge(e,t){let n=_x(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(o=>{n.append(i,o)})}),n}var jb=null;function $ge(){if(jb===null)try{new FormData(document.createElement("form"),0),jb=!1}catch{jb=!0}return jb}var Jge=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Zw(e){return e!=null&&!Jge.has(e)?(zr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${oS}"`),null):e}function Zge(e,t){let n,r,i,o,a;if(Wge(e)){let s=e.getAttribute("action");r=s?ca(s,t):null,n=e.getAttribute("method")||iS,i=Zw(e.getAttribute("enctype"))||oS,o=new FormData(e)}else if(Hge(e)||qge(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||s.getAttribute("action");if(r=l?ca(l,t):null,n=e.getAttribute("formmethod")||s.getAttribute("method")||iS,i=Zw(e.getAttribute("formenctype"))||Zw(s.getAttribute("enctype"))||oS,o=new FormData(s,e),!$ge()){let{name:u,type:c,value:f}=e;if(c==="image"){let p=u?`${u}.`:"";o.append(`${p}x`,"0"),o.append(`${p}y`,"0")}else u&&o.append(u,f)}}else{if(KT(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=iS,r=null,i=oS,a=e}return o&&i==="text/plain"&&(a=o,o=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:o,body:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function gP(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function nq(e,t,n,r){let i=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname==="/"?i.pathname=`_root.${r}`:t&&ca(i.pathname,t)==="/"?i.pathname=`${XS(t)}/_root.${r}`:i.pathname=`${XS(i.pathname)}.${r}`,i}async function Qge(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Xge(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function eve(e,t,n){let r=await Promise.all(e.map(async i=>{let o=t.routes[i.route.id];if(o){let a=await Qge(o,n);return a.links?a.links():[]}return[]}));return ive(r.flat(1).filter(Xge).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function y5(e,t,n,r,i,o){let a=(l,u)=>n[u]?l.route.id!==n[u].route.id:!0,s=(l,u)=>n[u].pathname!==l.pathname||n[u].route.path?.endsWith("*")&&n[u].params["*"]!==l.params["*"];return o==="assets"?t.filter((l,u)=>a(l,u)||s(l,u)):o==="data"?t.filter((l,u)=>{let c=r.routes[l.route.id];if(!c||!c.hasLoader)return!1;if(a(l,u)||s(l,u))return!0;
15if(l.route.shouldRevalidate){let f=l.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof f=="boolean")return f}return!0}):[]}function tve(e,t,{includeHydrateFallback:n}={}){return nve(e.map(r=>{let i=t.routes[r.route.id];if(!i)return[];let o=[i.module];return i.clientActionModule&&(o=o.concat(i.clientActionModule)),i.clientLoaderModule&&(o=o.concat(i.clientLoaderModule)),n&&i.hydrateFallbackModule&&(o=o.concat(i.hydrateFallbackModule)),i.imports&&(o=o.concat(i.imports)),o}).flat(1))}function nve(e){return[...new Set(e)]}function rve(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function ive(e,t){let n=new Set;return new Set(t),e.reduce((r,i)=>{let o=JSON.stringify(rve(i));return n.has(o)||(n.add(o),r.push({key:o,link:i})),r},[])}function vP(){let e=m.useContext(np);return gP(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function ove(){let e=m.useContext(jy);return gP(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var yP=m.createContext(void 0);yP.displayName="FrameworkContext";function YT(){let e=m.useContext(yP);return gP(e,"You must render this element inside a <HydratedRouter> element"),e}function ave(e,t){let n=m.useContext(yP),[r,i]=m.useState(!1),[o,a]=m.useState(!1),{onFocus:s,onBlur:l,onMouseEnter:u,onMouseLeave:c,onTouchStart:f}=t,p=m.useRef(null);m.useEffect(()=>{if(e==="render"&&a(!0),e==="viewport"){let y=E=>{E.forEach(S=>{a(S.isIntersecting)})},k=new IntersectionObserver(y,{threshold:.5});return p.current&&k.observe(p.current),()=>{k.disconnect()}}},[e]),m.useEffect(()=>{if(r){let y=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(y)}}},[r]);let v=()=>{i(!0)},g=()=>{i(!1),a(!1)};return n?e!=="intent"?[o,p,{}]:[o,p,{onFocus:Dg(s,v),onBlur:Dg(l,g),onMouseEnter:Dg(u,v),onMouseLeave:Dg(c,g),onTouchStart:Dg(f,v)}]:[!1,p,{}]}function Dg(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function sve({page:e,...t}){let n=WW(),{nonce:r}=YT(),{router:i}=vP(),o=m.useMemo(()=>Fy(i.routes,e,i.basename),[i.routes,e,i.basename]);return o?(t.nonce==null&&r&&(t={...t,nonce:r}),n?m.createElement(uve,{page:e,matches:o,...t}):m.createElement(cve,{page:e,matches:o,...t})):null}function lve(e){let{manifest:t,routeModules:n}=YT(),[r,i]=m.useState([]);return m.useEffect(()=>{let o=!1;return eve(e,t,n).then(a=>{o||i(a)}),()=>{o=!0}},[e,t,n]),r}function uve({page:e,matches:t,...n}){let r=qr(),{future:i}=YT(),{basename:o}=vP(),a=m.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let s=nq(e,o,i.v8_trailingSlashAwareDataRequests,"rsc"),l=!1,u=[];for(let c of t)typeof c.route.shouldRevalidate=="function"?l=!0:u.push(c.route.id);return l&&u.length>0&&s.searchParams.set("_routes",u.join(",")),[s.pathname+s.search]},[o,i.v8_trailingSlashAwareDataRequests,e,r,t]);return m.createElement(m.Fragment,null,a.map(s=>m.createElement("link",{key:s,rel:"prefetch",as:"fetch",href:s,...n})))}function cve({page:e,matches:t,...n}){let r=qr(),{future:i,manifest:o,routeModules:a}=YT(),{basename:s}=vP(),{loaderData:l,matches:u}=ove(),c=m.useMemo(()=>y5(e,t,u,o,r,"data"),[e,t,u,o,r]),f=m.useMemo(()=>y5(e,t,u,o,r,"assets"),[e,t,u,o,r]),p=m.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let y=new Set,k=!1;if(t.forEach(S=>{let T=o.routes[S.route.id];!T||!T.hasLoader||(!c.some(I=>I.route.id===S.route.id)&&S.route.id in l&&a[S.route.id]?.shouldRevalidate||T.hasClientLoader?k=!0:y.add(S.route.id))}),y.size===0)return[];let E=nq(e,s,i.v8_trailingSlashAwareDataRequests,"data");return k&&y.size>0&&E.searchParams.set("_routes",t.filter(S=>y.has(S.route.id)).map(S=>S.route.id).join(",")),[E.pathname+E.search]},[s,i.v8_trailingSlashAwareDataRequests,l,r,o,c,t,e,a]),v=m.useMemo(()=>tve(f,o),[f,o]),g=lve(f);return m.createElement(m.Fragment,null,p.map(y=>m.createElement("link",{key:y,rel:"prefetch",as:"fetch",href:y,...n})),v.map(y=>m.createElement("link",{key:y,rel:"modulepreload",href:y,...n})),g.map(({key:y,link:k})=>m.createElement("link",{key:y,nonce:n.nonce,...k,crossOrigin:k.crossOrigin??n.crossOrigin})))}function dve(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var fve=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{fve&&(window.__reactRouterVersion="7.18.1")}catch{}function pve(e,t){return _W({basename:t?.basename,getContext:t?.getContext,future:t?.future,history:vW({window:t?.window}),hydrationData:rq(),routes:e,mapRouteProperties:XW,hydrationRouteProperties:eq,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window,instrumentations:t?.
15instrumentations}).initialize()}function mve(e,t){return _W({basename:t?.basename,getContext:t?.getContext,future:t?.future,history:yW({window:t?.window}),hydrationData:rq(),routes:e,mapRouteProperties:XW,hydrationRouteProperties:eq,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window,instrumentations:t?.instrumentations}).initialize()}function rq(){let e=window?.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:hve(e.errors)}),e}function hve(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new Vy(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(typeof i.__subType=="string"&&Ohe.includes(i.__subType)){let o=window[i.__subType];if(typeof o=="function")try{let a=new o(i.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}function gve({basename:e,children:t,useTransitions:n,window:r}){let i=m.useRef();i.current==null&&(i.current=vW({window:r,v5Compat:!0}));let o=i.current,[a,s]=m.useState({action:o.action,location:o.location}),l=m.useCallback(u=>{n===!1?s(u):m.startTransition(()=>s(u))},[n]);return m.useLayoutEffect(()=>o.listen(l),[o,l]),m.createElement(hP,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:o,useTransitions:n})}function vve({basename:e,children:t,useTransitions:n,window:r}){let i=m.useRef();i.current==null&&(i.current=yW({window:r,v5Compat:!0}));let o=i.current,[a,s]=m.useState({action:o.action,location:o.location}),l=m.useCallback(u=>{n===!1?s(u):m.startTransition(()=>s(u))},[n]);return m.useLayoutEffect(()=>o.listen(l),[o,l]),m.createElement(hP,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:o,useTransitions:n})}var iq=m.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:i,reloadDocument:o,replace:a,mask:s,state:l,target:u,to:c,preventScrollReset:f,viewTransition:p,defaultShouldRevalidate:v,...g},y){let{basename:k,navigator:E,useTransitions:S}=m.useContext(Ua),T=typeof c=="string"&&WT.test(c),I=NW(c,k);c=I.to;let A=Ege(c,{relative:i}),w=qr(),R=null;if(s){let B=Uy(s,[],w.mask?w.mask.pathname:"/",!0);k!=="/"&&(B.pathname=B.pathname==="/"?k:hs([k,B.pathname])),R=E.createHref(B)}let[x,D,M]=ave(r,g),F=Sve(c,{replace:a,mask:s,state:l,target:u,preventScrollReset:f,relative:i,viewTransition:p,defaultShouldRevalidate:v,useTransitions:S});function L(B){t&&t(B),B.defaultPrevented||F(B)}let P=!(I.isExternal||o),j=m.createElement("a",{...g,...M,href:(P?R:void 0)||I.absoluteURL||A,onClick:P?L:t,ref:dve(y,D),target:u,"data-discover":!T&&n==="render"?"true":void 0});return x&&!T?m.createElement(m.Fragment,null,j,m.createElement(sve,{page:A})):j});iq.displayName="Link";var yve=m.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:i=!1,style:o,to:a,viewTransition:s,children:l,...u},c){let f=zy(a,{relative:u.relative}),p=qr(),v=m.useContext(jy),{navigator:g,basename:y}=m.useContext(Ua),k=v!=null&&Ive(f)&&s===!0,E=g.encodeLocation?g.encodeLocation(f).pathname:f.pathname,S=p.pathname,T=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;n||(S=S.toLowerCase(),T=T?T.toLowerCase():null,E=E.toLowerCase()),T&&y&&(T=ca(T,y)||T);const I=E!=="/"&&E.endsWith("/")?E.length-1:E.length;let A=S===E||!i&&S.startsWith(E)&&S.charAt(I)==="/",w=T!=null&&(T===E||!i&&T.startsWith(E)&&T.charAt(E.length)==="/"),R={isActive:A,isPending:w,isTransitioning:k},x=A?t:void 0,D;typeof r=="function"?D=r(R):D=[r,A?"active":null,w?"pending":null,k?"transitioning":null].filter(Boolean).join(" ");let M=typeof o=="function"?o(R):o;return m.createElement(iq,{...u,"aria-current":x,className:D,ref:c,style:M,to:a,viewTransition:s},typeof l=="function"?l(R):l)});yve.displayName="NavLink";var kve=m.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:o,method:a=iS,action:s,onSubmit:l,relative:u,preventScrollReset:c,viewTransition:f,defaultShouldRevalidate:p,...v},g)=>{let{useTransitions:y}=m.useContext(Ua),k=Cve(),E=Ave(s,{relative:u}),S=a.toLowerCase()==="get"?"get":"post",T=typeof s=="string"&&WT.test(s),I=A=>{if(l&&l(A),A.defaultPrevented)return;A.preventDefault();let w=A.nativeEvent.submitter,R=w?.getAttribute("formmethod")||a,x=()=>k(w||A.currentTarget,{fetcherKey:t,method:R,navigate:n,replace:i,state:o,relative:u,preventScrollReset:c,viewTransition:f,defaultShouldRevalidate:p});y&&n!==!1?m.startTransition(()=>x()):x()};return m.createElement("form",{ref:g,method:S,action:E,onSubmit:r?l:I,...v,"data-discover":!T&&e==="render"?"true":void 0})});kve.displayName="Form";function bve(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function oq(e){let t=m.useContext(np);return Ln(t,bve(e)),t}function Sve(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:o,relative:a,viewTransition:s,defaultShouldRevalidate:l,useTransitions:u}={}){let c=rp(),f=qr(),p=zy(e,{relative:a});return m.useCallback(v=>{if(Kge(v,t)){v.preventDefault();let g=n!==void 0?n:Ys(f)===Ys(p),y=()=>c(e,{replace:g,mask:r,state:i,preventScrollReset:o,relative:a,viewTransition:s,defaultShouldRevalidate:l});u?m.startTransition(()=>y()):y()}},[f,c,p,n,r,i,t,e,o,a,s,l,u])}function $T(e){zr(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=m.useRef(_x(e)),n=m.useRef(!1),r=qr(),i=m.useMemo(()=>Yge(r.search,n.current?null:t.current),[r.search]),o=rp(),a=m.useCallback((s,l)=>{const u=_x(typeof s=="function"?s(new URLSearchParams(i)):s);n.current=!0,o("?"+u,l)},[o,i]);return[i,a]}var Eve=0,Tve=()=>`__${String(++Eve)}__`;function Cve(){let{router:e}=oq("useSubmit"),{basename:t}=m.useContext(Ua),n=Pge(),r=e.fetch,i=e.navigate;return m.useCallback(async(o,a={})=>{let{action:s,method:l,encType:u,formData:c,body:f}=Zge(o,t);if(a.navigate===!1){let p=a.fetcherKey||Tve();await r(p,n,a.action||s,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:c,body:f,formMethod:a.method||l,formEncType:a.encType||u,flushSync:a.flushSync})}else await i(a.action||s,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:c,body:f,formMethod:a.method||l,formEncType:a.encType||u,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function Ave(e,{relative:t}={}){let{basename:n}=m.useContext(Ua),r=m.useContext(Is);Ln(r,"useFormAction must be used inside a RouteContext");let[i]=r.matches.slice(-1),o={...zy(e||".",{relative:t})},a=qr();if(e==null){o.search=a.search;let s=new URLSearchParams(o.search),l=s.getAll("index");if(l.some(c=>
15c==="")){s.delete("index"),l.filter(f=>f).forEach(f=>s.append("index",f));let c=s.toString();o.search=c?`?${c}`:""}}return(!e||e===".")&&i.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:hs([n,o.pathname])),Ys(o)}function Olt(e,t){let{capture:n}={};m.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("beforeunload",e,r),()=>{window.removeEventListener("beforeunload",e,r)}},[e,n])}function Ive(e,{relative:t}={}){let n=m.useContext(dP);Ln(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=oq("useViewTransitionState"),i=zy(e,{relative:t});if(!n.isTransitioning)return!1;let o=ca(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=ca(n.nextLocation.pathname,r)||n.nextLocation.pathname;return QS(i.pathname,a)!=null||QS(i.pathname,o)!=null}const JT=m.createContext({routeNavigate:()=>{},setRouteNavigate:()=>{},drawerNavigate:()=>{},setDrawerNavigate:()=>{}}),k5=({children:e})=>{const[t,n]=m.useState(()=>{}),[r,i]=m.useState(()=>{}),o={routeNavigate:t,drawerNavigate:r,setRouteNavigate:n,setDrawerNavigate:i};return b.jsx(JT.Provider,{value:o,children:e})};var Xm=(function(e){return e[e.ROUTE=0]="ROUTE",e[e.DRAWER=1]="DRAWER",e})({});const xh=m.createContext({kind:1}),wve=({children:e,routes:t})=>{const n=rp(),{setRouteNavigate:r}=m.useContext(JT),i=m.useMemo(()=>({kind:0,routes:t}),[t]);return m.useEffect(()=>r(()=>n),[r]),b.jsx(xh.Provider,{value:i,children:e})},Nve=({children:e,routes:t})=>{const n=rp(),{setDrawerNavigate:r}=m.useContext(JT),i=m.useMemo(()=>({kind:1,routes:t}),[t]);return m.useEffect(()=>r(()=>n),[r]),b.jsx(xh.Provider,{value:i,children:e})},aq=(e,t)=>{const n=r=>({...r,element:r.element&&t(r.element),children:r.children?.map(i=>n(i))});return e.map(r=>n(r))};function zb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!=="__proto__"&&(e[r]=n[r])}return e}var Rve={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Dx(e,t){function n(i,o,a){if(!(typeof document>"u")){a=zb({},t,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in a)a[l]&&(s+="; "+l,a[l]!==!0&&(s+="="+a[l].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+s}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],a={},s=0;s<o.length;s++){var l=o[s].split("="),u=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(c in a||(a[c]=e.read(u,c)),i===c)break}catch{}}return i?a[i]:a}}return Object.create({set:n,get:r,remove:function(i,o){n(i,"",zb({},o,{expires:-1}))},withAttributes:function(i){return Dx(this.converter,zb({},this.attributes,i))},withConverter:function(i){return Dx(zb({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Nc=Dx(Rve,{path:"/"});const xve="prodview";function Lve(){return typeof document>"u"?!1:Nc.get(xve)==="true"}Lve();const sq="https://console-api.enforce.dev",Ove="https://data.chainguard.dev",lq="https://issuer.enforce.dev",Pve="https://token.chainguard.dev",ZT="cgr.dev",_ve="images.chainguard.dev",Dve="720909c9f5279097d847ad02a2f24ba8f59de36a",ry="ce2d1984a010471142503340d670612d63ffb9f6",Mve="8d00810b0a029559e52399855031958ef48be6c8",QT="ce2d1984a010471142503340d670612d63ffb9f6/975a9af4d4cc6145",XT="ce2d1984a010471142503340d670612d63ffb9f6/0bb9cc3380451a2f",Fve="b1904b41e5385c95df709af6aca3530511383fef",Uve="pk_R6m2yGmDiUT0ZLEIhykkHfE2kFpClZkHdg0oNVfhxYQ",uq="chainguard.app",Vve="127.0.0.1",Bve="bc363b470e325758b2570e93c89a4a88Tz0xMDY5NTksRT0xNzY5ODE3NTk5MDAwLFM9cHJvLExNPXBlcnBldHVhbCxQVj0yMDIyLEtWPTI=",Plt="â",jve="https://support.chainguard.dev",zve="https://chainguardhelp.zendesk.com",cq=()=>jve,Hve="chainguard",dq="chainguard-private",Wve=_ve,qve=`https://${Wve}`,fq=50,_lt="all",pq=m.createContext(void 0);function ws(e){const t=m.useContext(pq);if(!t)throw new Error("useCookie requires CookiesProvider");const n=m.useMemo(()=>{const a=t.cookies[e];if(a)try{return JSON.parse(a)}catch{return a}},[e,t]),r=m.useCallback((a,s)=>{const l=typeof a!="string"?JSON.stringify(a):a;t.setCookie(e,l,s)},[e,t]),i=m.useCallback(a=>{t.deleteCookie(e,a)},[e,t]),o=m.useCallback(()=>{t.refresh()},[t]);return m.useMemo(()=>[n,r,i,o],[n,r,i,o])}function Gve(e){return Nc.get(e)}const Kve=({children:e})=>{const[t,n]=m.useState(Nc.get()),r=m.useCallback((u,c,f)=>{Nc.set(u,c,f),n(Nc.get())},[]),i=m.useCallback((u,c)=>{Nc.remove(u,c),n(Nc.get())},[]),o=m.useCallback(()=>{n(Nc.get())},[]),a=JSON.stringify(t),s=m.useMemo(()=>t,[a]),l=m.useMemo(()=>({cookies:s,setCookie:r,deleteCookie:i,refresh:o}),[s,r,i,o]);return b.jsx(pq.Provider,{value:l,children:e})},ri=m.createContext({hostname:"",port:"",origin:"",search:"",userAgent:"",setDescription:()=>{},setTitle:()=>{},localStorage:null,setColorScheme:()=>{}}),Yve=({children:e})=>{const t=m.useMemo(()=>({hostname:window.location.hostname,port:window.location.port,origin:window.location.origin,search:window.location.search,cookie:window.document.cookie,userAgent:window.navigator.userAgent,setTitle:n=>{document.title=n},setDescription:n=>{const r=document.querySelector("meta[name='description']");r&&r.getAttribute("content")!==n&&r.setAttribute("content",n)},localStorage:window.localStorage,setColorScheme:n=>{document.firstElementChild?.setAttribute("style",`color-scheme: ${n}`),document.firstElementChild?.setAttribute("data-color-mode",n)}}),[]);return b.jsx(ri.Provider,{value:t,children:e})};function $ve(e,t){return new URL("",t).origin}
15function Jve(e,t,n){const r=new URL(t?"/setStorageToken?token&error":"/setToken?token&error",e);return t&&n&&(r.search+=`&origin=${encodeURIComponent(n)}`),r}class mv extends Error{}mv.prototype.name="InvalidTokenError";function Zve(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function Qve(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Zve(t)}catch{return atob(t)}}function Xve(e,t){if(typeof e!="string")throw new mv("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new mv(`Invalid token specified: missing part #${n+1}`);let i;try{i=Qve(r)}catch(o){throw new mv(`Invalid token specified: invalid base64 for part #${n+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new mv(`Invalid token specified: invalid json for part #${n+1} (${o.message})`)}}var Qw,b5;function eye(){if(b5)return Qw;b5=1;var e="Expected a function",t=NaN,n="[object Symbol]",r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l=typeof Ab=="object"&&Ab&&Ab.Object===Object&&Ab,u=typeof self=="object"&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),f=Object.prototype,p=f.toString,v=Math.max,g=Math.min,y=function(){return c.Date.now()};function k(A,w,R){var x,D,M,F,L,P,j=0,B=!1,H=!1,G=!0;if(typeof A!="function")throw new TypeError(e);w=I(w)||0,E(R)&&(B=!!R.leading,H="maxWait"in R,M=H?v(I(R.maxWait)||0,w):M,G="trailing"in R?!!R.trailing:G);function O(ee){var te=x,ce=D;return x=D=void 0,j=ee,F=A.apply(ce,te),F}function V(ee){return j=ee,L=setTimeout(q,w),B?O(ee):F}function W(ee){var te=ee-P,ce=ee-j,ne=w-te;return H?g(ne,M-ce):ne}function U(ee){var te=ee-P,ce=ee-j;return P===void 0||te>=w||te<0||H&&ce>=M}function q(){var ee=y();if(U(ee))return $(ee);L=setTimeout(q,W(ee))}function $(ee){return L=void 0,G&&x?O(ee):(x=D=void 0,F)}function J(){L!==void 0&&clearTimeout(L),j=0,x=P=D=L=void 0}function Z(){return L===void 0?F:$(y())}function Y(){var ee=y(),te=U(ee);if(x=arguments,D=this,P=ee,te){if(L===void 0)return V(P);if(H)return L=setTimeout(q,w),O(P)}return L===void 0&&(L=setTimeout(q,w)),F}return Y.cancel=J,Y.flush=Z,Y}function E(A){var w=typeof A;return!!A&&(w=="object"||w=="function")}function S(A){return!!A&&typeof A=="object"}function T(A){return typeof A=="symbol"||S(A)&&p.call(A)==n}function I(A){if(typeof A=="number")return A;if(T(A))return t;if(E(A)){var w=typeof A.valueOf=="function"?A.valueOf():A;A=E(w)?w+"":w}if(typeof A!="string")return A===0?A:+A;A=A.replace(r,"");var R=o.test(A);return R||a.test(A)?s(A.slice(2),R?2:8):i.test(A)?t:+A}return Qw=k,Qw}var tye=eye();const S5=Wu(tye);var kP=typeof window<"u"?m.useLayoutEffect:m.useEffect;function E5(e,t,n,r){const i=m.useRef(t);kP(()=>{i.current=t},[t]),m.useEffect(()=>{const o=window;if(!(o&&o.addEventListener))return;const a=s=>{i.current(s)};return o.addEventListener(e,a,r),()=>{o.removeEventListener(e,a,r)}},[e,n,r])}function bP(e,t){const n=m.useRef(e);kP(()=>{n.current=e},[e]),m.useEffect(()=>{if(t===null)return;const r=setInterval(()=>{n.current()},t);return()=>{clearInterval(r)}},[t])}function T5(e){const t=m.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return kP(()=>{t.current=e},[e]),m.useCallback((...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[t])}var Xw=typeof window>"u";function nye(e,t,n={}){const{initializeWithValue:r=!0}=n,i=m.useCallback(p=>n.serializer?n.serializer(p):JSON.stringify(p),[n]),o=m.useCallback(p=>{if(n.deserializer)return n.deserializer(p);if(p==="undefined")return;const v=t instanceof Function?t():t;let g;try{g=JSON.parse(p)}catch(y){return console.error("Error parsing JSON:",y),v}return g},[n,t]),a=m.useCallback(()=>{const p=t instanceof Function?t():t;if(Xw)return p;try{const v=window.localStorage.getItem(e);return v?o(v):p}catch(v){return console.warn(`Error reading localStorage key â${e}â:`,v),p}},[t,e,o]),[s,l]=m.useState(()=>r?a():t instanceof Function?t():t),u=T5(p=>{Xw&&console.warn(`Tried setting localStorage key â${e}â even though environment is not a client`);try{const v=p instanceof Function?p(a()):p;window.localStorage.setItem(e,i(v)),l(v),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))}catch(v){console.warn(`Error setting localStorage key â${e}â:`,v)}}),c=T5(()=>{Xw&&console.warn(`Tried removing localStorage key â${e}â even though environment is not a client`);const p=t instanceof Function?t():t;window.localStorage.removeItem(e),l(p),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))});m.useEffect(()=>{l(a())},[e]);const f=m.useCallback(p=>{p.key&&p.key!==e||l(a())},[e,a]);return E5("storage",f),E5("local-storage",f),[s,u,c]}function rye(e){const t=m.useRef(e);t.current=e,m.useEffect(()=>()=>{t.current()},[])}function mq(e,t=500,n){const r=m.useRef();rye(()=>{r.current&&r.current.cancel()});const i=m.useMemo(()=>{const o=S5(e,t,n),a=(...s)=>o(...s);return a.cancel=()=>{o.cancel()},a.isPending=()=>!!r.current,a.flush=()=>o.flush(),a},[e,t,n]);return m.useEffect(()=>{r.current=S5(e,t,n)},[e,t,n]),i}function Dlt(e,t,n){const r=((u,c)=>u===c),i=e instanceof Function?e():e,[o,a]=m.useState(i),s=m.useRef(i),l=mq(a,t,n);return r(s.current,i)||(l(i),s.current=i),[o,l]}function iye(){const e=m.useRef(!1);return m.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),m.useCallback(()=>e.current,[])}var C5={width:void 0,height:void 0};function Mlt(e){const{ref:t,box:n="content-box"}=e,[{width:r,height:i},o]=m.useState(C5),a=iye(),s=m.useRef({...C5}),l=m.useRef(void 0);return l.current=e.onResize,m.useEffect(()=>{if(!t.current||typeof window>"u"||!("ResizeObserver"in window))return;const u=new ResizeObserver(([c])=>{const f=n==="border-box"?"borderBoxSize":n==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",p=A5(c,f,"inlineSize"),v=A5(c,f,"blockSize");if(s.current.width!==p||s.current.height!==v){const y={width:p,height:v};s.current.width=p,s.current.height=v,l.current?l.current(y):a()&&o(y)}});return u.observe(t.current,{box:n}
15),()=>{u.disconnect()}},[n,t,a]),{width:r,height:i}}function A5(e,t,n){return e[t]?Array.isArray(e[t])?e[t][0][n]:e[t][n]:t==="contentBoxSize"?e.contentRect[n==="inlineSize"?"width":"height"]:void 0}const eC="chainguard-session",oye="chainguard-session-error";function aye(){const{hostname:e}=m.useContext(ri);return e===Vve?e:e.split(".").slice(-2).join(".")}function hq(){const{iframeToken:e}=ma(),{hostname:t}=m.useContext(ri),n=aye();return m.useMemo(()=>({path:"/",domain:e?t:n}),[e,t,n])}function gq(){const[e,t,n,r]=ws(eC),i=hq(),o=m.useCallback(l=>t(l,i),[t,i]),a=m.useCallback(()=>n(i),[n,i]),s=m.useCallback(()=>r(),[r]);return{rawToken:e,setRawToken:o,removeRawToken:a,reloadRawToken:s}}function vq(){const[e,t,n]=nye(eC,void 0);return{rawToken:e,setRawToken:t,removeRawToken:n,reloadRawToken:m.useCallback(()=>{},[])}}function yq(){try{const e=window.localStorage.getItem(eC);return e?JSON.parse(e):void 0}catch{return}}function sye(e){return e?yq():Gve(eC)}function lye(){const[e,t,n]=ws(oye),r=hq(),i=m.useCallback(a=>{t(a,r)},[t,r]),o=m.useCallback(()=>{n(r)},[n,r]);return{error:e,setError:i,removeError:o}}function kq(){const{origin:e}=m.useContext(ri);return $ve(e,Pve)}function tC(){const[e]=ws("storageToken"),t=gq(),n=vq(),{rawToken:r,setRawToken:i,removeRawToken:o,reloadRawToken:a}=e?n:t,{hostname:s}=m.useContext(ri),l=m.useMemo(()=>{if(r)try{return Xve(r)}catch{}},[r]),u=m.useCallback(()=>(l?.exp??Number.MAX_SAFE_INTEGER)<=Math.floor(Date.now()/1e3),[l?.exp]),c=!!r&&!!l,f=c&&!s.endsWith(uq);return m.useMemo(()=>({raw:r,claims:l,expired:u,present:c,refreshable:f,set:i,remove:o,refresh:a}),[r,l,u,c,f,i,o,a])}const uye={descriptionBanner:{"3ff8afa5d5c2be99683505c9a542ccf08293346d":!0,"5486adbe345b5a18eaffaccd9045da9d02f8614d":!0,a39139b05a6af5e8313d13042041780d806ace0a:!0,"188af4612446ecdf47fff295f012b78e6a7a575e":!0},forceUpvotes:{"750dab6367703fece3a80e323e6b988b61f795e9":!0,"5486adbe345b5a18eaffaccd9045da9d02f8614d":!0},sectorTokenName:{"5486adbe345b5a18eaffaccd9045da9d02f8614d":!0}};function cye(e){const t=qr(),n=Fy(e,t)??[],r=ip(),i=n.map(a=>a.route.path).filter(Boolean).map(a=>a.replace(/^\//,""));return{routerPath:i.join("/")||"/",pathParts:i,params:r}}const I5=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],w5="feature.",N5="store",bq={rootUIDP:"",queryStringFeatures:{},dismisses:{},organizationOptions:{},onboarded:!1,orgAccessRequested:{},sortPreferences:{},selectionCart:{},utmParams:{}},Yl=m.createContext(bq),dye=({children:e})=>{const{localStorage:t,search:n,cookie:r}=m.useContext(ri),[i,o]=m.useState(()=>{const c=JSON.parse(t.getItem(N5)||"{}");return c.queryStringFeatures=mye(n,c.queryStringFeatures||{}),delete c.features,c.sortPreferences=c.sortPreferences||{}
15,c.utmParams=fye(n,r??"",c.utmParams||{}),{...bq,...c}}),a=JSON.stringify(i);m.useEffect(()=>{t.setItem(N5,a)},[a]);const s=c=>{const f={...i,...c};JSON.stringify(f)!==a&&o(f)},l=({from:c,key:f})=>{const p={...i},v=p[c];v&&delete v[f],JSON.stringify(p)!==a&&o(p)},u={...i,setRootUIDP:c=>s({rootUIDP:c}),setQueryStringFeatures:c=>s({queryStringFeatures:c}),setDismisses:c=>s({dismisses:c}),setOrganizationOptions:c=>s({organizationOptions:c}),setOnboarded:c=>s({onboarded:c}),setOrgAccessRequested:c=>s({orgAccessRequested:c}),setSortPreferences:c=>s({sortPreferences:c}),removeSortPreference:c=>l({from:"sortPreferences",key:c}),setUtmParams:c=>s({utmParams:c}),setSelectionCart:c=>{o(f=>{const p=typeof c=="function"?c(f.selectionCart):c;return p===f.selectionCart?f:{...f,selectionCart:p}})}};return b.jsx(Yl.Provider,{value:u,children:e})},fye=(e,t,n)=>{const r=new URLSearchParams(e),i=pye(t,I5),o={...n};for(const a of I5){const s=r.get(a)??i[a];s&&(o[a]=s)}return o},pye=(e,t)=>{const n=new Set(t),r={};for(const i of e.split("; ")){const o=i.indexOf("=");if(o===-1)continue;const a=i.slice(0,o);if(!n.has(a))continue;const s=i.slice(o+1);try{r[a]=decodeURIComponent(s)}catch{r[a]=s}}return r},mye=(e,t)=>{const n=new URLSearchParams(e);for(const[r,i]of n.entries())if(r.startsWith(w5)){const o=r.substring(w5.length);i==="true"?t[o]=!0:i==="false"?t[o]=!1:isNaN(parseFloat(i))?t[o]=i:t[o]=parseFloat(i)}return t},Po=()=>{const{rootUIDP:e,setRootUIDP:t}=m.useContext(Yl);return{rootUIDP:e,setRootUIDP:t}},hye=e=>{const t=e[0];return t?[{field:t.id,sort:t.desc?"desc":"asc"}]:[]},gye=e=>{const t=e[0];return t?[{id:t.field,desc:t.sort==="desc"}]:[]},vye=({grid:e,columnHeadersId:t,sortPrefsSetter:n})=>{const{routes:r}=m.useContext(xh),{pathParts:i}=cye(r||[]),o=i.join("/"),a=m.useMemo(()=>`${o}:${t}`,[o,t]),{sortPreferences:s,setSortPreferences:l,removeSortPreference:u}=m.useContext(Yl),c=m.useRef(s);m.useEffect(()=>{c.current=s},[s]);const f=m.useCallback(()=>({sortModel:c.current[a]}),[a]);m.useEffect(()=>{const{sortModel:v}=f();if(v){if(v.length===0){n(v);return}if(e==="datagrid"){const g=hye(v);n(g);return}n(v)}},[f,e,n]);const p=m.useCallback(v=>{if(v.length===0){u(a);return}l({...c.current,[a]:v})},[a,l,u]);return{sortPreferences:s,setSortPreferences:l,removeSortPreference:u,sortPrefKey:a,checkForExistingSortPref:f,updateSortPreference:p}};function yye(e=new Date(0)){const{dismisses:t,setDismisses:n}=m.useContext(Yl),r=m.useCallback(o=>{const a=t[o];return a?new Date(a).getTime()>e.getTime():!1},[t,e]),i=m.useCallback(o=>{let a=new Date;a.getTime()<e.getTime()&&(a=new Date(e.getTime()+1)),n({...t,[o]:a.toString()})},[t,n,e]);return m.useMemo(()=>({dismisses:t,isDismissed:r,dismissNow:i}),[t,r,i])}function Sq(){const{queryStringFeatures:e,setQueryStringFeatures:t}=m.useContext(Yl);return[e,t]}function Flt(){const{utmParams:e,setUtmParams:t}=m.useContext(Yl);return[e,t]}function kye(){const{onboarded:e,setOnboarded:t}=m.useContext(Yl);return[e,t]}function Ult(){const{orgAccessRequested:e,setOrgAccessRequested:t}=m.useContext(Yl);return{isOrgAccessRequested:i=>e[i]??!1,setOrgAccessRequested:(i,o)=>t({...e,[i]:o})}}const nC=e=>{const{rootUIDP:t,organizationOptions:n,setOrganizationOptions:r}=m.useContext(Yl);return{options:n[t]??{showEpochTags:!1},setOptions:a=>r({...n,[t]:{...n[t],...a}})}},bye=()=>{const{rootUIDP:e,selectionCart:t,setSelectionCart:n}=m.useContext(Yl),r=m.useMemo(()=>t[e]??{images:[]},[e,t]),i=m.useCallback(l=>{n(u=>{const c=u[e]??{images:[]};return c.images.includes(l)?u:{...u,[e]:{...c,images:[...c.images,l]}}})},[e,n]),o=m.useCallback(l=>r.images.includes(l),[r.images]),a=m.useCallback(l=>{n(u=>{const c=u[e]??{images:[]};return c.images.includes(l)?{...u,[e]:{...c,images:c.images.filter(f=>f!==l)}}:u})},[e,n]),s=m.useCallback(l=>{n(u=>({...u,[e]:{...u[e]??{images:[]},[l]:[]}}))},[e,n]);return{cart:r,addImage:i,removeImage:a,isImageInCart:o,clearCart:s}},wt=void 0,Sye={accessTokens:wt,activeTags:wt,advisoriesV2:wt,argos:wt,argosDocs:wt,argosRejectCookies:wt,commercialTier:wt,communityHelmCharts:wt,compare:wt,compareCumulative:wt,compareDirectory:wt,compareSizes:wt,customAssemblyBeta:wt,customAssemblyGA:wt,customizeImage:wt,cyclonedxSbom:wt,emailAuth:wt,emailNotifications:wt,eol:wt,eolApi:wt,eolGridGroups:wt,eolRestrictedTimeframes:wt,expandedApks:wt,forceData:wt,forceHelmCompatible:wt,forceImageRequestRedirect:wt,forceImmutableTags:wt,forcePublicCatalog:wt,forceSelfServiceQuota:wt,fullHelmDetails:wt,gcpAssociation:wt,guarded:wt,helm:wt,helmDiff:wt,hideModeButton:wt,imageEntitlements:wt,imageRename:wt,imageRequests:wt,imageSbomVulnz:wt,libraries:wt,librariesJS:wt,logoStatus:wt,multiAudienceToken:wt,newCatalogs:wt,newOverview:wt,newUserTable:wt,noPagination:wt,notificationsBeta:wt,notificationsTrigger:wt,packages:wt,pwa:wt,registryImageConfig:wt,registrySbom:wt,requests:wt,resolvedChart:wt,roi:wt,roles:wt,saveAs:wt,selfServiceBeta:wt,selfServiceStarter:wt,showAdvisories:wt,showCloudConnectSignUp:wt,showCustomIdpLogin:wt,showGroupAccessTokens:wt,showGroupIdentities:wt,showGuarded:wt,showImages:wt,showNotifications:wt,showSboms:wt,showSignUp:wt,showStigs:wt,showVuln:wt,subMgmtEa:wt,unlockImmutableTags:wt,unlockPublicCatalog:wt,useGraphqlCache:wt,useGroupQuotas:wt,useManifestMetadata:wt,zendeskCreateTicket:wt,zendeskSandbox:wt,zendeskSso:wt},Mx={chainlogsEnabled:!1,consolidatedVulnTab:!1,debugAnnouncements:!1,debugUnauthenticated:!1,debugFocus:!1,debugHydration:!1,debugNavigation:!1,debugOrgInfo:!1,descriptionBanner:!1,extraEmailCategories:!1,forceUpvotes:!1,groupBasedRoleMaps:!1,helmImageVulnz:!1,helmRequiredOptional:!1,helmSelfServe:!1,iframeToken:!1,imageSwaps:!1,internal:!1,javaRepo:!1,libraryMalwareTab:!1,libraryUpstreamDateColumn:!1,multiComparisonDates:!1,newIdentities:!1,osvFeed:!1,prodview:!1,publicSkills:!1,repoDescription:!1,reportsNetNew:!1,scimEnabled:!1,sectorTokenName:!1,selfServicePerImage:!1,sessionCapabilities:!1,showArgosForSupport:!1,starterOverviewFirstImage:!1,storageToken:!1,syncStatus:!1,teamsNotifications:!1,testFeature:!1,timestamps:!1,wcagTextSpacing:!1},Eq=m.createContext(void 0),Eye=({children:e})=>{const[t]=Sq(),n=Cye(),[r]=ws("features"),i=Tye(),o=Tq(),a={...r,...n,...o,...i,...t};return b.jsx(Eq.Provider,{value:a,children:e})},Tye=()=>{const{hostname:e}=m.useContext(ri);return e==="console.chainguard.dev"?{iframeToken:!0}:{}},Cye=()=>{const{claims:e}=tC();return e?.internal?.debug?{internal:!0}:{}},Tq=()=>{const{rootUIDP:e}=Po();return Object.entries(uye).reduce((n,[r,i])=>(e in i&&(n[r]=i[e]),n),{})};function ma(){const e=m.useContext(Eq);return m.useMemo(()=>({...Mx,...e||{}}),[e])}const Aye=({showAllEdgeValues:e}={})=>{const t=ma(),[n]=ws("features"),r=Tq(),[i]=Sq();return t.internal?Object.entries(t).map(([a,s])=>({flag:a,value:s,retired:a in Sye,defaultValue:a in Mx?Mx[a]:void 0,edgeValue:a in(n||{})?n?.[a]:void 0,orgValue:a in r?r[a]:void 0,override:a in(i||{})})).filter(({retired:a,override:s,edgeValue:l})=>!a||s||e&&l):[]};function Iye(e,t){window.dataLayer?.push({event:e,...t})}function Vlt(e,t){window.opener?.postMessage(e,t)}function wye(e,t){return m.useCallback(n=>e.current?.contentWindow?.postMessage(n,t),[e,t])}function Cq(e){m.useEffect(()=>(window.addEventListener("message",e),function(){window.removeEventListener("message",e)}),[e])}
15const Nye=365.2425,SP=6048e5,Rye=864e5,Vf=6e4,Hy=36e5,xye=1e3,R5=525600,x5=43200,L5=1440,Aq=3600,Lye=60,EP=Aq*24,Oye=EP*7,Iq=EP*Nye,wq=Iq/12,Pye=wq*3,O5=Symbol.for("constructDateFrom");function xr(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&O5 in e?e[O5](t):e instanceof Date?new e.constructor(t):new Date(t)}function zt(e,t){return xr(t||e,e)}function Wy(e,t,n){const r=zt(e,n?.in);return isNaN(t)?xr(n?.in||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function TP(e,t,n){const r=zt(e,n?.in);if(isNaN(t))return xr(e,NaN);if(!t)return r;const i=r.getDate(),o=xr(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const a=o.getDate();return i>=a?o:(r.setFullYear(o.getFullYear(),o.getMonth(),i),r)}function rf(e,t,n){const{years:r=0,months:i=0,weeks:o=0,days:a=0,hours:s=0,minutes:l=0,seconds:u=0}=t,c=zt(e,n?.in),f=i||r?TP(c,i+r*12):c,p=a||o?Wy(f,a+o*7):f,v=l+s*60,y=(u+v*60)*1e3;return xr(e,+p+y)}function Nq(e,t,n){return xr(e,+zt(e)+t)}function rC(e,t,n){return Nq(e,t*Hy)}let _ye={};function Gu(){return _ye}function $s(e,t){const n=Gu(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=zt(e,t?.in),o=i.getDay(),a=(o<r?7:0)+o-r;return i.setDate(i.getDate()-a),i.setHours(0,0,0,0),i}function eh(e,t){return $s(e,{...t,weekStartsOn:1})}function Rq(e,t){const n=zt(e,t?.in),r=n.getFullYear(),i=xr(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);
15const o=eh(i),a=xr(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=eh(a);return n.getTime()>=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Zc(e){const t=zt(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function _o(e,...t){const n=xr.bind(null,e||t.find(r=>typeof r=="object"));return t.map(n)}function Qc(e,t){const n=zt(e,t?.in);return n.setHours(0,0,0,0),n}function Pv(e,t,n){const[r,i]=_o(n?.in,e,t),o=Qc(r),a=Qc(i),s=+o-Zc(o),l=+a-Zc(a);return Math.round((s-l)/Rye)}function Dye(e,t){const n=Rq(e,t),r=xr(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),eh(r)}function xq(e,t,n){const r=zt(e,n?.in);return r.setTime(r.getTime()+t*Vf),r}function Mye(e,t,n){return Nq(e,t*1e3)}function Fye(e,t,n){return Wy(e,t*7,n)}function Lq(e,t,n){return TP(e,t*12,n)}function Pm(e,t){const n=+zt(e)-+zt(t);return n<0?-1:n>0?1:n}function Uye(e,t){const n=+zt(e)-+zt(t);return n>0?-1:n<0?1:n}function Vye(e,t,n){const[r,i]=_o(n?.in,e,t);return+Qc(r)==+Qc(i)}function Bye(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Oq(e){return!(!Bye(e)&&typeof e!="number"||isNaN(+zt(e)))}function Fx(e,t,n){const[r,i]=_o(n?.in,e,t),o=r.getFullYear()-i.getFullYear(),a=r.getMonth()-i.getMonth();return o*12+a}function P5(e,t){const n=zt(e,t?.in);return Math.trunc(n.getMonth()/3)+1}function eN(e,t,n){const[r,i]=_o(n?.in,e,t),o=r.getFullYear()-i.getFullYear(),a=P5(r)-P5(i);return o*4+a}function _5(e,t,n){const[r,i]=_o(n?.in,e,t),o=$s(r,n),a=$s(i,n),s=+o-Zc(o),l=+a-Zc(a);return Math.round((s-l)/SP)}function aS(e,t,n){const[r,i]=_o(n?.in,e,t);return r.getFullYear()-i.getFullYear()}function jye(e,t,n){const[r,i]=_o(n?.in,e,t),o=D5(r,i),a=Math.abs(Pv(r,i));r.setDate(r.getDate()-o*a);const s=+(D5(r,i)===-o),l=o*(a-s);return l===0?0:l}function D5(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function iC(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return r===0?0:r}}function iy(e,t,n){const[r,i]=_o(n?.in,e,t),o=(+r-+i)/Hy;return iC(n?.roundingMethod)(o)}function Pq(e,t){return+zt(e)-+zt(t)}function Ux(e,t,n){const r=Pq(e,t)/Vf;return iC(n?.roundingMethod)(r)}function Vx(e,t){const n=zt(e,t?.in);return n.setHours(23,59,59,999),n}function _q(e,t){const n=zt(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function zye(e,t){const n=zt(e,t?.in);return+Vx(n,t)==+_q(n,t)}function Hye(e,t,n){const[r,i,o]=_o(n?.in,e,e,t),a=Pm(i,o),s=Math.abs(Fx(i,o));if(s<1)return 0;i.getMonth()===1&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-a*s);let l=Pm(i,o)===-a;zye(r)&&s===1&&Pm(r,o)===1&&(l=!1);const u=a*(s-+l);return u===0?0:u}function sS(e,t,n){const r=Pq(e,t)/1e3;return iC(n?.roundingMethod)(r)}function Wye(e,t,n){const[r,i]=_o(n?.in,e,t),o=Pm(r,i),a=Math.abs(aS(r,i));r.setFullYear(1584),i.setFullYear(1584);const s=Pm(r,i)===-o,l=o*(a-+s);return l===0?0:l}function qye(e,t){const[n,r]=_o(e,t.start,t.end);return{start:n,end:r}}function Gye(e,t){const n=zt(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function M5(e,t){const n=zt(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function Dq(e,t){const n=zt(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Kye(e,t){const n=Gu(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=zt(e,t?.in),o=i.getDay(),a=(o<r?-7:0)+6-(o-r);return i.setDate(i.getDate()+a),i.setHours(23,59,59,999),i}function Yye(e,t){const n=zt(e,t?.in);return n.setSeconds(59,999),n}const $ye={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Jye=(e,t,n)=>{let r;const i=$ye[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function tN(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Zye={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Qye={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Xye={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},eke={date:tN({formats:Zye,defaultWidth:"full"}),time:tN({formats:Qye,defaultWidth:"full"}),dateTime:tN({formats:Xye,defaultWidth:"full"})},tke={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},nke=(e,t,n,r)=>tke[e];function Mg(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,s=n?.width?String(n.width):a;i=e.formattingValues[s]||e.formattingValues[a]}else{const a=e.defaultWidth,s=n?.width?String(n.width):e.defaultWidth;i=e.values[s]||e.values[a]}const o=e.argumentCallback?e.argumentCallback(t):t;return i[o]}}const rke={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ike={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oke={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ake={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
15ay","Saturday"]},ske={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},lke={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},uke=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},cke={ordinalNumber:uke,era:Mg({values:rke,defaultWidth:"wide"}),quarter:Mg({values:ike,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Mg({values:oke,defaultWidth:"wide"}),day:Mg({values:ake,defaultWidth:"wide"}),dayPeriod:Mg({values:ske,defaultWidth:"wide",formattingValues:lke,defaultFormattingWidth:"wide"})};function Fg(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?fke(s,f=>f.test(a)):dke(s,f=>f.test(a));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(a.length);return{value:u,rest:c}}}function dke(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function fke(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function pke(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],o=t.match(e.parsePattern);if(!o)return null;let a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;const s=t.slice(i.length);return{value:a,rest:s}}}const mke=/^(\d+)(th|st|nd|rd)?/i,hke=/\d+/i,gke={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},vke={any:[/^b/i,/^(a|c)/i]},yke={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},kke={any:[/1/i,/2/i,/3/i,/4/i]},bke={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ske={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]}
vendor: 11,897 bytes, line 15
15,Eke={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Tke={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Cke={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ake={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ike={ordinalNumber:pke({matchPattern:mke,parsePattern:hke,valueCallback:e=>parseInt(e,10)}),era:Fg({matchPatterns:gke,defaultMatchWidth:"wide",parsePatterns:vke,defaultParseWidth:"any"}),quarter:Fg({matchPatterns:yke,defaultMatchWidth:"wide",parsePatterns:kke,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Fg({matchPatterns:bke,defaultMatchWidth:"wide",parsePatterns:Ske,defaultParseWidth:"any"}),day:Fg({matchPatterns:Eke,defaultMatchWidth:"wide",parsePatterns:Tke,defaultParseWidth:"any"}),dayPeriod:Fg({matchPatterns:Cke,defaultMatchWidth:"any",parsePatterns:Ake,defaultParseWidth:"any"})},qy={code:"en-US",formatDistance:Jye,formatLong:eke,formatRelative:nke,localize:cke,match:Ike,options:{weekStartsOn:0,firstWeekContainsDate:1}};function wke(e,t){const n=zt(e,t?.in);return Pv(n,Dq(n))+1}function Mq(e,t){const n=zt(e,t?.in),r=+eh(n)-+Dye(n);return Math.round(r/SP)+1}function CP(e,t){const n=zt(e,t?.in),r=n.getFullYear(),i=Gu(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,a=xr(t?.in||e,0);a.setFullYear(r+1,0,o),a.setHours(0,0,0,0);const s=$s(a,t),l=xr(t?.in||e,0);l.setFullYear(r,0,o),l.setHours(0,0,0,0);const u=$s(l,t);return+n>=+s?r+1:+n>=+u?r:r-1}function Nke(e,t){const n=Gu(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=CP(e,t),o=xr(t?.in||e,0);return o.setFullYear(i,0,r),o.setHours(0,0,0,0),$s(o,t)}function AP(e,t){const n=zt(e,t?.in),r=+$s(n,t)-+Nke(n,t);return Math.round(r/SP)+1}function pr(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const bc={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return pr(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):pr(n+1,2)},d(e,t){return pr(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return pr(e.getHours()%12||12,t.length)},H(e,t){return pr(e.getHours(),t.length)},m(e,t){return pr(e.getMinutes(),t.length)},s(e,t){return pr(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return pr(i,t.length)}},Vp={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},F5={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return bc.y(e,t)},Y:function(e,t,n,r){const i=CP(e,r),o=i>0?i:1-i;if(t==="YY"){const a=o%100;return pr(a,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):pr(o,t.length)},R:function(e,t){const n=Rq(e);return pr(n,t.length)},u:function(e,t){const n=e.getFullYear();return pr(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return pr(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return pr(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return bc.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return pr(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=AP(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):pr(i,t.length)},I:function(e,t,n){const r=Mq(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):pr(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):bc.d(e,t)},D:function(e,t,n){const r=wke(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):pr(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return pr(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return pr(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return pr(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(r===12?i=Vp.noon:r===0?i=Vp.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(r>=17?i=Vp.evening:r>=12?i=Vp.afternoon:r>=4?i=Vp.morning:i=Vp.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return bc.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):bc.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):pr(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):pr(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):bc.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):bc.s(e,t)},S:function(e,t){return bc.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return V5(r);case"XXXX":case"XX":return Zd(r);default:return Zd(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return V5(r);case"xxxx":case"xx":return Zd(r);default:return Zd(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+U5(r,":");default:return"GMT"+Zd(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+U5(r,":");default:return"GMT"+Zd(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return pr(r,t.length)},T:function(e,t,n){return pr(+e,t.length)}};function U5(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return o===0?n+String(i):n+String(i)+t+pr(o,2)}function V5(e,t){return e%60===0?(e>0?"-":"+")+pr(Math.abs(e)/60,2):Zd(e,t)}function Zd(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=pr(Math.trunc(r/60),2),o=pr(r%60,2);return n+i+t+o}const B5=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Fq=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Rke=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return B5(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",B5(r,t)).replace("{{time}}",Fq(i,t))},eE={p:Fq,P:Rke},xke=/^D+$/,Lke=/^Y+$/,Oke=["D","DD","YY","YYYY"];function Uq(e){return xke.test(e)}function Vq(e){return Lke.test(e)}function Bx(e,t,n){const r=Pke(e,t,n);if(console.warn(r),Oke.includes(e))throw new RangeError(r)}function Pke(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const _ke=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dke=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Mke=/^'([^]*?)'?$/,Fke=/''/g,Uke=/[a-zA-Z]/;function IP(e,t,n){const r=Gu(),i=n?.locale??r.locale??qy,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=zt(e,n?.in);if(!Oq(s))throw new RangeError("Invalid time value");let l=t.match(Dke).map(c=>{const f=c[0];if(f==="p"||f==="P"){const p=eE[f];return p(c,i.formatLong)}return c}).join("").match(_ke).map(c=>{if(c==="''")return{isToken:!1,value:"'"};const f=c[0];if(f==="'")return{isToken:!1,value:Vke(c)};if(F5[f])return{isToken:!0,value:c};
15if(f.match(Uke))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:c}});i.localize.preprocessor&&(l=i.localize.preprocessor(s,l));const u={firstWeekContainsDate:o,weekStartsOn:a,locale:i};return l.map(c=>{if(!c.isToken)return c.value;const f=c.value;(!n?.useAdditionalWeekYearTokens&&Vq(f)||!n?.useAdditionalDayOfYearTokens&&Uq(f))&&Bx(f,t,String(e));const p=F5[f[0]];return p(s,f,i.localize,u)}).join("")}function Vke(e){const t=e.match(Mke);return t?t[1].replace(Fke,"'"):e}function Bke(e,t,n){const r=Gu(),i=n?.locale??r.locale??qy,o=Pm(e,t);if(isNaN(o))throw new RangeError("Invalid time value");const a=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:o}),[s,l]=_o(n?.in,...o>0?[t,e]:[e,t]),u=iC(n?.roundingMethod??"round"),c=l.getTime()-s.getTime(),f=c/Vf,p=Zc(l)-Zc(s),v=(c-p)/Vf,g=n?.unit;let y;if(g?y=g:f<1?y="second":f<60?y="minute":f<L5?y="hour":v<x5?y="day":v<R5?y="month":y="year",y==="second"){const k=u(c/1e3);return i.formatDistance("xSeconds",k,a)}else if(y==="minute"){const k=u(f);return i.formatDistance("xMinutes",k,a)}else if(y==="hour"){const k=u(f/60);return i.formatDistance("xHours",k,a)}else if(y==="day"){const k=u(v/L5);return i.formatDistance("xDays",k,a)}else if(y==="month"){const k=u(v/x5);return k===12&&g!=="month"?i.formatDistance("xYears",1,a):i.formatDistance("xMonths",k,a)}else{const k=u(v/R5);return i.formatDistance("xYears",k,a)}}const jke=["years","months","weeks","days","hours","minutes","seconds"];function zke(e,t){const n=Gu(),r=t?.locale??n.locale??qy,i=t?.format??jke,o=t?.zero??!1,a=t?.delimiter??" ";return r.formatDistance?i.reduce((l,u)=>{const c=`x${u.replace(/(^.)/,p=>p.toUpperCase())}`,f=e[u];return f!==void 0&&(o||e[u])?l.concat(r.formatDistance(c,f)):l},[]).join(a):""}function Hke(e,t){return zt(e,t?.in).getDate()}function Bq(e,t){const n=zt(e,t?.in),r=n.getFullYear(),i=n.getMonth(),o=xr(n,
150);return o.setFullYear(r,i+1,0),o.setHours(0,0,0,0),o.getDate()}function Wke(){return Object.assign({},Gu())}function qke(e,t){return zt(e,t?.in).getHours()}function Gke(e,t){const n=zt(e,t?.in).getDay();return n===0?7:n}function Kke(e){return zt(e).getMilliseconds()}function Yke(e,t){return zt(e,t?.in).getMinutes()}function $ke(e,t){return zt(e,t?.in).getMonth()}function Jke(e){return zt(e).getSeconds()}function Zke(e,t){return zt(e,t?.in).getFullYear()}function Qke(e,t){const{start:n,end:r}=qye(t?.in,e),i={},o=Wye(r,n);o&&(i.years=o);const a=rf(n,{years:i.years}),s=Hye(r,a);s&&(i.months=s);const l=rf(a,{months:i.months}),u=jye(r,l);u&&(i.days=u);const c=rf(l,{days:i.days}),f=iy(r,c);f&&(i.hours=f);const p=rf(c,{hours:i.hours}),v=Ux(r,p);v&&(i.minutes=v);const g=rf(p,{minutes:i.minutes}),y=sS(r,g);return y&&(i.seconds=y),i}function Xke(e,t,n){let r=0,i;const[o,a]=_o(n?.in,e,t);if(n?.unit)i=n?.unit,i==="second"?r=sS(o,a):i==="minute"?r=Ux(o,a):i==="hour"?r=iy(o,a):i==="day"?r=Pv(o,a):i==="week"?r=_5(o,a):i==="month"?r=Fx(o,a):i==="quarter"?r=eN(o,a):i==="year"&&(r=aS(o,a));else{const l=sS(o,a);Math.abs(l)<Lye?(r=sS(o,a),i="second"):Math.abs(l)<Aq?(r=Ux(o,a),i="minute"):Math.abs(l)<EP&&Math.abs(Pv(o,a))<1?(r=iy(o,a),i="hour"):Math.abs(l)<Oye&&(r=Pv(o,a))&&Math.abs(r)<7?i="day":Math.abs(l)<wq?(r=_5(o,a),i="week"):Math.abs(l)<Pye?(r=Fx(o,a),i="month"):Math.abs(l)<Iq&&eN(o,a)<4?(r=eN(o,a),i="quarter"):(r=aS(o,a),i="year")}return new Intl.RelativeTimeFormat(n?.locale,{numeric:"auto",...n}).format(r,i)}function Tf(e,t){return+zt(e)>+zt(t)}function _m(e,t){return+zt(e)<+zt(t)}function tE(e,t){return+zt(e)==+zt(t)}function ebe(e,t){const n=tbe(t)?new t(0):xr(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function tbe(e){return typeof e=="function"&&e.prototype?.constructor===e}const nbe=10;class jq{subPriority=0;validate(t,n){return!0}}class rbe extends jq{constructor(t,n,r,i,o){super(),this.value=t,this.validateValue=n,this.setValue=r,this.priority=i,o&&(this.subPriority=o)}validate(t,n){return this.validateValue(t,this.value,n)}set(t,n,r){return this.setValue(t,n,this.value,r)}}class ibe extends jq{priority=nbe;subPriority=-1;constructor(t,n){super(),this.context=t||(r=>xr(n,r))}set(t,n){return n.timestampIsSet?t:xr(t,ebe(t,this.context))}}let or=class{run(t,n,r,i){const o=this.parse(t,n,r,i);return o?{setter:new rbe(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,n,r){return!0}};class obe extends or{priority=140;parse(t,n,r){switch(n){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,n,r){return n.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]}const Ei={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},xl={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ti(e,t){return e&&{value:t(e.value),rest:e.rest}}function Qr(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Ll(e,t){const n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};const r=n[1]==="+"?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(i*Hy+o*Vf+a*xye),rest:t.slice(n[0].length)}}function zq(e){return Qr(Ei.anyDigitsSigned,e)}function yi(e,t){switch(e){case 1:return Qr(Ei.singleDigit,t);case 2:return Qr(Ei.twoDigits,t);case 3:return Qr(Ei.threeDigits,t);case 4:return Qr(Ei.fourDigits,t);default:return Qr(new RegExp("^\\d{1,"+e+"}"),t)}}function nE(e,t){switch(e){case 1:return Qr(Ei.singleDigitSigned,t);case 2:return Qr(Ei.twoDigitsSigned,t);case 3:return Qr(Ei.threeDigitsSigned,t);case 4:return Qr(Ei.fourDigitsSigned,t);default:return Qr(new RegExp("^-?\\d{1,"+e+"}"),t)}}function wP(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Hq(e,t){const n=t>0,r=n?t:1-t;let i;if(r<=50)i=e||100;
15else{const o=r+50,a=Math.trunc(o/100)*100,s=e>=o%100;i=e+a-(s?100:0)}return n?i:1-i}function Wq(e){return e%400===0||e%4===0&&e%100!==0}class abe extends or{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,n,r){const i=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return Ti(yi(4,t),i);case"yo":return Ti(r.ordinalNumber(t,{unit:"year"}),i);default:return Ti(yi(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r){const i=t.getFullYear();if(r.isTwoDigitYear){const a=Hq(r.year,i);return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}const o=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class sbe extends or{priority=130;parse(t,n,r){const i=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Ti(yi(4,t),i);case"Yo":return Ti(r.ordinalNumber(t,{unit:"year"}),i);default:return Ti(yi(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r,i){const o=CP(t,i);if(r.isTwoDigitYear){const s=Hq(r.year,o);return t.setFullYear(s,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),$s(t,i)}const a=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(a,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),$s(t,i)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class lbe extends or{priority=130;parse(t,n){return nE(n==="R"?4:n.length,t)}set(t,n,r){const i=xr(t,0);return i.setFullYear(r,0,4),i.setHours(0,0,0,0),eh(i)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class ube extends or{priority=130;parse(t,n){return nE(n==="u"?4:n.length,t)}set(t,n,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class cbe extends or{priority=120;parse(t,n,r){switch(n){case"Q":case"QQ":return yi(n.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class dbe extends or{priority=120;parse(t,n,r){switch(n){case"q":case"qq":return yi(n.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class fbe extends or{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,n,r){const i=o=>o-1;switch(n){case"M":return Ti(Qr(Ei.month,t),i);case"MM":return Ti(yi(2,t),i);case"Mo":return Ti(r.ordinalNumber(t,{unit:"month"}),i);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}class pbe extends or{priority=110;parse(t,n,r){const i=o=>o-1;switch(n){case"L":return Ti(Qr(Ei.month,t),i);case"LL":return Ti(yi(2,t),i);case"Lo":return Ti(r.ordinalNumber(t,{unit:"month"}),i);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function mbe(e,t,n){const r=zt(e,n?.in),i=AP(r,n)-t;return r.setDate(r.getDate()-i*7),zt(r,n?.in)}class hbe extends or{priority=100;parse(t,n,r){switch(n){case"w":return Qr(Ei.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return yi(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r,i){return $s(mbe(t,r,i),i)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function gbe(e,t,n){const r=zt(e,n?.in),i=Mq(r,n)-t;return r.setDate(r.getDate()-i*7),r}class vbe extends or{priority=100;parse(t,n,r){switch(n){case"I":return Qr(Ei.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return yi(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r){return eh(gbe(t,r))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const ybe=[31,28,31,30,31,30,31,31,30,31,30,31],kbe=[31,29,31,30,31,30,31,31,30,31,30,31];class bbe extends or{priority=90;subPriority=1;parse(t,n,r){switch(n){case"d":return Qr(Ei.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return yi(n.length,t)}}validate(t,n){const r=t.getFullYear(),i=Wq(r),o=t.getMonth();return i?n>=1&&n<=kbe[o]:n>=1&&n<=ybe[o]}set(t,n,r){return t.setDate(r),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class Sbe extends or{priority=90;subpriority=1;parse(t,n,r){switch(n){case"D":case"DD":return Qr(Ei.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return yi(n.length,t)}}validate(t,n){const r=t.getFullYear();return Wq(r)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function NP(e,t,n){const r=Gu(),i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=zt(e,n?.in),a=o.getDay(),l=(t%7+7)%7,u=7-i,c=t<0||t>6?t-(a+u)%7:(l+u)%7-(a+u)%7;return Wy(o,c,n)}class Ebe extends or{priority=90;parse(t,n,r){switch(n){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,i){return t=NP(t,r,i),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}class Tbe extends or{priority=90;parse(t,n,r,i){const o=a=>{const s=Math.floor((a-1)/7)*7;return(a+i.weekStartsOn+6)%7+s};switch(n){case"e":case"ee":return Ti(yi(n.length,t),o);case"eo":return Ti(r.ordinalNumber(t,{unit:"day"}),o);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,i){return t=NP(t,r,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class Cbe extends or{priority=90;parse(t,n,r,i){const o=a=>{const s=Math.floor((a-1)/7)*7;return(a+i.weekStartsOn+6)%7+s};switch(n){case"c":case"cc":return Ti(yi(n.length,t),o);case"co":return Ti(r.ordinalNumber(t,{unit:"day"}),o);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,i){return t=NP(t,r,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function Abe(e,t,n){const r=zt(e,n?.in),i=Gke(r,n),o=t-i;return Wy(r,o,n)}class Ibe extends or{priority=90;parse(t,n,r){const i=o=>o===0?7:o;switch(n){case"i":case"ii":return yi(n.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return Ti(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return Ti(r.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return Ti(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i);default:return Ti(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,n){return n>=1&&n<=7}set(t,n,r){return t=Abe(t,r),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class wbe extends or{priority=80;parse(t,n,r){switch(n){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(wP(r),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]}class Nbe extends or{priority=80;
15parse(t,n,r){switch(n){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(wP(r),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]}class Rbe extends or{priority=80;parse(t,n,r){switch(n){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(wP(r),0,0,0),t}incompatibleTokens=["a","b","t","T"]}class xbe extends or{priority=70;parse(t,n,r){switch(n){case"h":return Qr(Ei.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return yi(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,r){const i=t.getHours()>=12;return i&&r<12?t.setHours(r+12,0,0,0):!i&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]}class Lbe extends or{priority=70;parse(t,n,r){switch(n){case"H":return Qr(Ei.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return yi(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,r){return t.setHours(r,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]}class Obe extends or{priority=70;parse(t,n,r){switch(n){case"K":return Qr(Ei.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return yi(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]}class Pbe extends or{priority=70;parse(t,n,r){switch(n){case"k":return Qr(Ei.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return yi(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,r){const i=r<=24?r%24:r;return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]}class _be extends or{priority=60;parse(t,n,r){switch(n){case"m":return Qr(Ei.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return yi(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setMinutes(r,0,0),t}incompatibleTokens=["t","T"]}class Dbe extends or{priority=50;parse(t,n,r){switch(n){case"s":return Qr(Ei.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return yi(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setSeconds(r,0),t}incompatibleTokens=["t","T"]}class Mbe extends or{priority=30;parse(t,n){const r=i=>Math.trunc(i*Math.pow(10,-n.length+3));return Ti(yi(n.length,t),r)}set(t,n,r){return t.setMilliseconds(r),t}incompatibleTokens=["t","T"]}class Fbe extends or{priority=10;parse(t,n){switch(n){case"X":return Ll(xl.basicOptionalMinutes,t);case"XX":return Ll(xl.basic,t);case"XXXX":return Ll(xl.basicOptionalSeconds,t);case"XXXXX":return Ll(xl.extendedOptionalSeconds,t);default:return Ll(xl.extended,t)}}set(t,n,r){return n.timestampIsSet?t:xr(t,t.getTime()-Zc(t)-r)}incompatibleTokens=["t","T","x"]}class Ube extends or{priority=10;parse(t,n){switch(n){case"x":return Ll(xl.basicOptionalMinutes,t);case"xx":return Ll(xl.basic,t);case"xxxx":return Ll(xl.basicOptionalSeconds,t);case"xxxxx":return Ll(xl.extendedOptionalSeconds,t);default:return Ll(xl.extended,t)}}set(t,n,r){return n.timestampIsSet?t:xr(t,t.getTime()-Zc(t)-r)}incompatibleTokens=["t","T","X"]}class Vbe extends or{priority=40;parse(t){return zq(t)}set(t,n,r){return[xr(t,r*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class Bbe extends or{priority=20;parse(t){return zq(t)}set(t,n,r){return[xr(t,r),{timestampIsSet:!0}]}incompatibleTokens="*"}const jbe={G:new obe,y:new abe,Y:new sbe,R:new lbe,u:new ube,Q:new cbe,q:new dbe,M:new fbe,L:new pbe,w:new hbe,I:new vbe,d:new bbe,D:new Sbe,E:new Ebe,e:new Tbe,c:new Cbe,i:new Ibe,a:new wbe,b:new Nbe,B:new Rbe,h:new xbe,H:new Lbe,K:new Obe,k:new Pbe,m:new _be,s:new Dbe,S:new Mbe,X:new Fbe,x:new Ube,t:new Vbe,T:new Bbe},zbe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Hbe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Wbe=/^'([^]*?)'?$/,qbe=/''/g,Gbe=/\S/,Kbe=/[a-zA-Z]/;function Ybe(e,t,n,r){const i=()=>
15xr(r?.in||n,NaN),o=Wke(),a=r?.locale??o.locale??qy,s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,l=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(!t)return e?i():zt(n,r?.in);const u={firstWeekContainsDate:s,weekStartsOn:l,locale:a},c=[new ibe(r?.in,n)],f=t.match(Hbe).map(k=>{const E=k[0];if(E in eE){const S=eE[E];return S(k,a.formatLong)}return k}).join("").match(zbe),p=[];for(let k of f){!r?.useAdditionalWeekYearTokens&&Vq(k)&&Bx(k,t,e),!r?.useAdditionalDayOfYearTokens&&Uq(k)&&Bx(k,t,e);const E=k[0],S=jbe[E];if(S){const{incompatibleTokens:T}=S;if(Array.isArray(T)){const A=p.find(w=>T.includes(w.token)||w.token===E);if(A)throw new RangeError(`The format string mustn't contain \`${A.fullToken}\` and \`${k}\` at the same time`)}else if(S.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${k}\` and any other token at the same time`);p.push({token:E,fullToken:k});const I=S.run(e,k,a.match,u);if(!I)return i();c.push(I.setter),e=I.rest}else{if(E.match(Kbe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");if(k==="''"?k="'":E==="'"&&(k=$be(k)),e.indexOf(k)===0)e=e.slice(k.length);else return i()}}if(e.length>0&&Gbe.test(e))return i();const v=c.map(k=>k.priority).sort((k,E)=>E-k).filter((k,E,S)=>S.indexOf(k)===E).map(k=>c.filter(E=>E.priority===k).sort((E,S)=>S.subPriority-E.subPriority)).map(k=>k[0]);let g=zt(n,r?.in);if(isNaN(+g))return i();const y={};for(const k of v){if(!k.validate(g,u))return i();const E=k.set(g,y,u);Array.isArray(E)?(g=E[0],Object.assign(y,E[1])):g=E}return g}function $be(e){return e.match(Wbe)[1].replace(qbe,"'")}function j5(e,t){const n=zt(e,t?.in);return n.setMinutes(0,0,0),n}function Jbe(e,t,n){const[r,i]=_o(n?.in,e,t);return+j5(r)==+j5(i)}function Zbe(e,t,n){const[r,i]=_o(n?.in,e,t);return r.getFullYear()===i.getFullYear()&&r.getMonth()===i.getMonth()}function Qbe(e,t,n){const[r,i]=_o(n?.in,e,t);return r.getFullYear()===i.getFullYear()}function qq(e,t,n){const r=+zt(e,n?.in),[i,o]=[+zt(t.start,n?.in),+zt(t.end,n?.in)].sort((a,s)=>a-s);return r>=i&&r<=o}function Xbe(e,t){const n=()=>xr(t?.in,NaN),i=r0e(e);let o;if(i.date){const u=i0e(i.date,2);o=o0e(u.restDateString,u.year)}if(!o||isNaN(+o))return n();const a=+o;let s=0,l;if(i.time&&(s=a0e(i.time),isNaN(s)))return n();if(i.timezone){if(l=s0e(i.timezone),isNaN(l))return n()}else{const u=new Date(a+s),c=zt(0,t?.in);return c.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),c.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),c}return zt(a+s+l,t?.in)}const Hb={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},e0e=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,t0e=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,n0e=/^([+-])(\d{2})(?::?(\d{2}))?$/;function r0e(e){const t={},n=e.split(Hb.dateTimeDelimiter);let r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],Hb.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Hb.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){const i=Hb.timezone.exec(r);i?(t.time=r.replace(i[1],""),t.timezone=i[1]):t.time=r}return t}function i0e(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((r[1]||r[2]).length)}}function o0e(e,t){if(t===null)return new Date(NaN);const n=e.match(e0e);if(!n)return new Date(NaN);const r=!!n[4],i=Ug(n[1]),o=Ug(n[2])-1,a=Ug(n[3]),s=Ug(n[4]),l=Ug(n[5])-1;if(r)return f0e(t,s,l)?l0e(t,s,l):new Date(NaN);{const u=new Date(0);return!c0e(t,o,a)||!d0e(t,i)?new Date(NaN):(u.setUTCFullYear(t,o,Math.max(i,a)),u)}}function Ug(e){return e?parseInt(e):1}function a0e(e){const t=e.match(t0e);if(!t)return NaN;const n=nN(t[1]),r=nN(t[2]),i=nN(t[3]);return p0e(n,r,i)?n*Hy+r*Vf+i*1e3:NaN}function nN(e){return e&&parseFloat(e.replace(",","."))||0}function s0e(e){if(e==="Z")return 0;const t=e.match(n0e);if(!t)return 0;
15const n=t[1]==="+"?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return m0e(r,i)?n*(r*Hy+i*Vf):NaN}function l0e(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const i=r.getUTCDay()||7,o=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}const u0e=[31,null,31,30,31,30,31,31,30,31,30,31];function Gq(e){return e%400===0||e%4===0&&e%100!==0}function c0e(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(u0e[t]||(Gq(e)?29:28))}function d0e(e,t){return t>=1&&t<=(Gq(e)?366:365)}function f0e(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function p0e(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function m0e(e,t){return t>=0&&t<=59}function h0e(e,t,n){const r=zt(e,n?.in),i=r.getFullYear(),o=r.getDate(),a=xr(e,0);a.setFullYear(i,t,15),a.setHours(0,0,0,0);const s=Bq(a);return r.setMonth(t,Math.min(o,s)),r}function g0e(e,t,n){const r=zt(e,n?.in);return r.setDate(t),r}function v0e(e,t,n){const r=zt(e,n?.in);return r.setHours(t),r}function y0e(e,t,n){const r=zt(e,n?.in);return r.setMilliseconds(t),r}function k0e(e,t,n){const r=zt(e,n?.in);return r.setMinutes(t),r}function b0e(e,t,n){const r=zt(e,n?.in);return r.setSeconds(t),r}function S0e(e,t,n){const r=zt(e,n?.in);return isNaN(+r)?xr(e,NaN):(r.setFullYear(t),r)}function Kq(e,t,n){return rC(e,-t)}function Yq(){const[e,t]=ws("chainguard-connection");return{connection:typeof e!="string"?e:void 0,setConnection(n){t(n,{path:"/",sameSite:"strict",secure:!0,expires:Lq(new Date,1)})}}}const E0e=60*1e3,RP=m.createContext(void 0),T0e=({children:e})=>{const{iframeToken:t,prodview:n,storageToken:r,debugUnauthenticated:i}=ma(),o=tC(),[a]=kye(),s=m.useMemo(()=>_Fe(o.claims,a),[o.claims,a]);rN("iframeToken",t),rN("prodview",n),rN("storageToken",r),m.useEffect(()=>{const S=i&&o.raw&&setTimeout(()=>o.raw&&o.set(o.raw.slice(0,-4)+"AAAA"),6e4);return S?()=>clearTimeout(S):void 0},[i,o]);const{removeRawToken:l}=gq(),{removeRawToken:u}=vq();m.useEffect(()=>r?l():u(),[r]);const[c]=ws("prodview");m.useEffect(()=>{!!n!=!!c&&window.location.reload()},[n,c]),PFe(o.claims);const f=m.useMemo(()=>(o?.present&&!o.expired())??!1,[o]),p=m.useCallback(()=>(o.present&&o.expired())??!1,[o]),[v,g]=m.useState(p);bP(()=>g(p()),E0e);const[y,k]=m.useState(o.raw);y!==o.raw&&(k(o.raw),g(p()));const E=m.useMemo(()=>({profile:s,token:o,loggedIn:f,expired:v}),[s,o,f,v]);return m.useEffect(()=>{E.loggedIn&&Iye(s?.hasOrgs?"login-returning":"login-new")},[E.loggedIn]),b.jsxs(RP.Provider,{value:E,children:[e,t&&!r&&b.jsx(C0e,{})]})},C0e=()=>{const{loggedIn:e}=ha(),{connection:t}=Yq(),[n,r]=m.useState(!1),i=m.useRef(null),o=kq(),a=wye(i,o),[s,l]=m.useState(e);return m.useEffect(()=>l(u=>e||u),[e]),m.useEffect(()=>{t&&n&&a({type:"connection",connection:JSON.stringify(t)})},[t,n,a]),m.useEffect(()=>{!e&&s&&n&&(l(!1),a({type:"logout"}))},[e,s,n,a]),b.jsx("iframe",{style:{display:"none"},ref:i,src:o,onLoad:()=>{r(!0),a({type:"init"})}})};function ha(){const e=m.useContext(RP),t=m.useRef(e);m.useEffect(()=>{t.current=e},[e]);const n=m.useCallback(()=>{t.current?.token.refresh()},[]),r=m.useCallback(()=>{t.current?.token.remove()},[]),i=m.useMemo(()=>e?.token?.raw,[e]);return m.useMemo(()=>({profile:e?.profile,rawToken:i,loggedIn:e?.loggedIn??!1,expired:e?.expired??!1,refresh:n,logout:r}),[e,n,r,i])}const rN=(e,t)=>{const[,n,r]=ws(e);m.useEffect(()=>{t?n(t):r()},[t])};function xP(e){const t=e.split("/");return{group:t.slice(0,-1).join("/"),name:t[t.length-1]}}function $q(e){return Array.from(e.matchAll(/\//g)).map(({index:t})=>e.substring(0,t)).concat(e)}function Bf(e){const t=e.indexOf("/");return t<0?e:e.substring(0,t)}function rE(e){return e.includes("/")}var z5={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bits:6},A0e={parse:function(t,n){return I0e(t,z5,n)},stringify:function(t,n){return w0e(t,z5,n)}};function I0e(e,t,n){var r;if(n===void 0&&(n={}),!t.codes){t.codes={};for(var i=0;i<t.chars.length;++i)t.codes[t.chars[i]]=i}if(!n.loose&&e.length*t.bits&7)throw new SyntaxError("Invalid padding");for(var o=e.length;e[o-1]==="=";)if(--o,!n.loose&&!((e.length-o)*t.bits&7))throw new SyntaxError("Invalid padding");for(var a=new((r=n.out)!=null?r:Uint8Array)(o*t.bits/8|0),s=0,l=0,u=0,c=0;c<o;++c){var f=t.codes[e[c]];if(f===void 0)throw new SyntaxError("Invalid character "+e[c]);l=l<<t.bits|f,s+=t.bits,s>=8&&(s-=8,a[u++]=255&l>>s)}if(s>=t.bits||255&l<<8-s)throw new SyntaxError("Unexpected end of data");return a}function w0e(e,t,n){n===void 0&&(n={});for(var r=n,i=r.pad,o=i===void 0?!0:i,a=(1<<t.bits)-1,s="",l=0,u=0,c=0;c<e.length;++c)for(u=u<<8|255&e[c],l+=8;l>t.bits;)l-=t.bits,s+=t.chars[a&u>>l];if(l&&(s+=t.chars[a&u<<t.bits-l]),o)for(;s.length*t.bits&7;)s+="=";return s}var K=(function(e){return e[e.INTERNAL=95]="INTERNAL",e[e.IAM_GROUPS_CREATE=1]="IAM_GROUPS_CREATE",e[e.IAM_GROUPS_UPDATE=2]="IAM_GROUPS_UPDATE",e[e.IAM_GROUPS_LIST=3]="IAM_GROUPS_LIST",e[e.IAM_GROUPS_DELET
15E=4]="IAM_GROUPS_DELETE",e[e.IAM_GROUP_INVITES_CREATE=5]="IAM_GROUP_INVITES_CREATE",e[e.IAM_GROUP_INVITES_LIST=6]="IAM_GROUP_INVITES_LIST",e[e.IAM_GROUP_INVITES_DELETE=7]="IAM_GROUP_INVITES_DELETE",e[e.IAM_ROLES_CREATE=8]="IAM_ROLES_CREATE",e[e.IAM_ROLES_UPDATE=9]="IAM_ROLES_UPDATE",e[e.IAM_ROLES_LIST=10]="IAM_ROLES_LIST",e[e.IAM_ROLES_DELETE=11]="IAM_ROLES_DELETE",e[e.IAM_ROLE_BINDINGS_CREATE=12]="IAM_ROLE_BINDINGS_CREATE",e[e.IAM_ROLE_BINDINGS_UPDATE=13]="IAM_ROLE_BINDINGS_UPDATE",e[e.IAM_ROLE_BINDINGS_LIST=14]="IAM_ROLE_BINDINGS_LIST",e[e.IAM_ROLE_BINDINGS_DELETE=15]="IAM_ROLE_BINDINGS_DELETE",e[e.TENANT_RECORD_SIGNATURES_LIST=49]="TENANT_RECORD_SIGNATURES_LIST",e[e.TENANT_SBOMS_LIST=69]="TENANT_SBOMS_LIST",e[e.TENANT_VULN_REPORTS_LIST=70]="TENANT_VULN_REPORTS_LIST",e[e.TENANT_ATTESTATIONS_LIST=71]="TENANT_ATTESTATIONS_LIST",e[e.IAM_ACCOUNT_ASSOCIATIONS_CREATE=21]="IAM_ACCOUNT_ASSOCIATIONS_CREATE",e[e.IAM_ACCOUNT_ASSOCIATIONS_UPDATE=22]="IAM_ACCOUNT_ASSOCIATIONS_UPDATE",e[e.IAM_ACCOUNT_ASSOCIATIONS_LIST=23]="IAM_ACCOUNT_ASSOCIATIONS_LIST",e[e.IAM_ACCOUNT_ASSOCIATIONS_DELETE=24]="IAM_ACCOUNT_ASSOCIATIONS_DELETE",e[e.IAM_IDENTITY_CREATE=29]="IAM_IDENTITY_CREATE",e[e.IAM_IDENTITY_UPDATE=30]="IAM_IDENTITY_UPDATE",e[e.IAM_IDENTITY_LIST=31]="IAM_IDENTITY_LIST",e[e.IAM_IDENTITY_DELETE=32]="IAM_IDENTITY_DELETE",e[e.IAM_IDENTITY_PROVIDERS_CREATE=52]="IAM_IDENTITY_PROVIDERS_CREATE",e[e.IAM_IDENTITY_PROVIDERS_UPDATE=53]="IAM_IDENTITY_PROVIDERS_UPDATE",e[e.IAM_IDENTITY_PROVIDERS_LIST=54]="IAM_IDENTITY_PROVIDERS_LIST",e[e.IAM_IDENTITY_PROVIDERS_DELETE=55]="IAM_IDENTITY_PROVIDERS_DELETE",e[e.IAM_SCIM_MANAGE=191]="IAM_SCIM_MANAGE",e[e.IAM_SCIM_USERS_LIST=225]="IAM_SCIM_USERS_LIST",e[e.EVENTS_SUBSCRIPTION_CREATE=36]="EVENTS_SUBSCRIPTION_CREATE",e[e.EVENTS_SUBSCRIPTION_UPDATE=37]="EVENTS_SUBSCRIPTION_UPDATE",e[e.EVENTS_SUBSCRIPTION_LIST=38]="EVENTS_SUBSCRIPTION_LIST",e[e.EVENTS_SUBSCRIPTION_DELETE=39]="EVENTS_SUBSCRIPTION_DELETE",e[e.REPO_BLOBS_GET=107]="REPO_BLOBS_GET",e[e.REPO_CREATE=56]="REPO_CREATE",e[e.REPO_UPDATE=57]="REPO_UPDATE",e[e.REPO_LIST=58]="REPO_LIST",e[e.REPO_DELETE=59]="REPO_DELETE",e[e.MANIFEST_CREATE=60]="MANIFEST_CREATE",e[e.MANIFEST_UPDATE=61]="MANIFEST_UPDATE",e[e.MANIFEST_LIST=62]="MANIFEST_LIST",e[e.MANIFEST_DELETE=63]="MANIFEST_DELETE",e[e.TAG_CREATE=64]="TAG_CREATE",e[e.TAG_UPDATE=65]="TAG_UPDATE",e[e.TAG_LIST=66]="TAG_LIST",e[e.TAG_DELETE=67]="TAG_DELETE",e[e.MANIFEST_METADATA_LIST=72]="MANIFEST_METADATA_LIST",e[e.REFERRERS_LIST=124]="REFERRERS_LIST",e[e.REPO_INTERNAL_ADMIN=168]="REPO_INTERNAL_ADMIN",e[e.APK_BLOBS_GET=108]="APK_BLOBS_GET",e[e.APK_CREATE=73]="APK_CREATE",e[e.APK_UPDATE=74]="APK_UPDATE",e[e.APK_LIST=75]="APK_LIST",e[e.APK_DELETE=76]="APK_DELETE",e[e.VERSION_LIST=77]="VERSION_LIST",e[e.VULN_REPORT_CREATE=78]="VULN_REPORT_CREATE",e[e.VULN_REPORT_LIST=79]="VULN_REPORT_LIST",e[e.VULN_CREATE=80]="VULN_CREATE",e[e.BUILD_REPORT_LIST=81]="BUILD_REPORT_LIST",e[e.LIBRARIES_ENTITLEMENTS_CREATE=82]="LIBRARIES_ENTITLEMENTS_CREATE",e[e.LIBRARIES_ENTITLEMENTS_LIST=83]="LIBRARIES_ENTITLEMENTS_LIST",e[e.LIBRARIES_ENTITLEMENTS_DELETE=84]="LIBRARIES_ENTITLEMENTS_DELETE",e[e.LIBRARIES_ARTIFACTS_LIST=94]="LIBRARIES_ARTIFACTS_LIST",e[e.LIBRARIES_PYTHON_LIST=85]="LIBRARIES_PYTHON_LIST",e[e.LIBRARIES_PYTHON_CREATE=111]="LIBRARIES_PYTHON_CREATE",e[e.LIBRARIES_JAVA_LIST=86]="LIBRARIES_JAVA_LIST",e[e.LIBRARIES_JAVA_CREATE=110]="LIBRARIES_JAVA_CREATE",e[e.LIBRARIES_JAVASCRIPT_LIST=88]="LIBRARIES_JAVASCRIPT_LIST",e[e.LIBRARIES_JAVASCRIPT_CREATE=109]="LIBRARIES_JAVASCRIPT_CREATE",e[e.LIBRARIES_DOTNET_LIST
15=196]="LIBRARIES_DOTNET_LIST",e[e.LIBRARIES_DOTNET_CREATE=197]="LIBRARIES_DOTNET_CREATE",e[e.LIBRARIES_GO_LIST=205]="LIBRARIES_GO_LIST",e[e.LIBRARIES_GO_CREATE=206]="LIBRARIES_GO_CREATE",e[e.LIBRARIES_CACHE_INVALIDATE=129]="LIBRARIES_CACHE_INVALIDATE",e[e.LIBRARIES_CACHE_LIST=192]="LIBRARIES_CACHE_LIST",e[e.LIBRARIES_REBUILDER_REQUESTS_CREATE=103]="LIBRARIES_REBUILDER_REQUESTS_CREATE",e[e.LIBRARIES_REBUILDER_REQUESTS_LIST=104]="LIBRARIES_REBUILDER_REQUESTS_LIST",e[e.LIBRARIES_REBUILDER_REQUESTS_CANCEL=105]="LIBRARIES_REBUILDER_REQUESTS_CANCEL",e[e.LIBRARIES_REBUILDER_REQUESTS_GROUP_UPDATE=121]="LIBRARIES_REBUILDER_REQUESTS_GROUP_UPDATE",e[e.LIBRARIES_REBUILDER_ARTIFACTS_INVALIDATE=106]="LIBRARIES_REBUILDER_ARTIFACTS_INVALIDATE",e[e.LIBRARIES_REBUILDER_EXCLUSIONS_MANAGE=112]="LIBRARIES_REBUILDER_EXCLUSIONS_MANAGE",e[e.LIBRARIES_REBUILDER_BUILDS_READ=122]="LIBRARIES_REBUILDER_BUILDS_READ",e[e.LIBRARIES_REBUILDER_BUILDS_TOKENS_FETCH=130]="LIBRARIES_REBUILDER_BUILDS_TOKENS_FETCH",e[e.LIBRARIES_REBUILDER_BUILDS_UNTRUSTED=131]="LIBRARIES_REBUILDER_BUILDS_UNTRUSTED",e[e.LIBRARIES_REBUILDER_REMEDIATED_ARTIFACTS_READ=132]="LIBRARIES_REBUILDER_REMEDIATED_ARTIFACTS_READ",e[e.LIBRARIES_REBUILDER_NEW_VERSIONS_READ=141]="LIBRARIES_REBUILDER_NEW_VERSIONS_READ",e[e.LIBRARIES_REBUILDER_NEW_VERSIONS_REFRESH=142]="LIBRARIES_REBUILDER_NEW_VERSIONS_REFRESH",e[e.LIBRARIES_REBUILDER_MALWARE_STATUS_READ=157]="LIBRARIES_REBUILDER_MALWARE_STATUS_READ",e[e.LIBRARIES_REBUILDER_CVE_REMEDIATIONS_LIST=177]="LIBRARIES_REBUILDER_CVE_REMEDIATIONS_LIST",e[e.LIBRARIES_REBUILDER_CVE_REMEDIATIONS_UPDATE=178]="LIBRARIES_REBUILDER_CVE_REMEDIATIONS_UPDATE",e[e.LIBRARIES_REBUILDER_SOURCE_COORDINATES_WRITE=200]="LIBRARIES_REBUILDER_SOURCE_COORDINATES_WRITE",e[e.LIBRARIES_REBUILDER_SOURCE_COORDINATES_RESOLVE=201]="LIBRARIES_REBUILDER_SOURCE_COORDINATES_RESOLVE",e[e.LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_CREATE=165]="LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_CREATE",e[e.LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_UPDATE=166]="LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_UPDATE",e[e.LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_LIST=167]="LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_LIST",e[e.LIBRARIES_REQUEST_GROUPS_CREATE=209]="LIBRARIES_REQUEST_GROUPS_CREATE",e[e.LIBRARIES_REQUEST_GROUPS_LIST=210]="LIBRARIES_REQUEST_GROUPS_LIST",e[e.LIBRARIES_REQUEST_GROUPS_UPDATE=211]="LIBRARIES_REQUEST_GROUPS_UPDATE",e[e.LIBRARIES_REQUEST_GROUPS_DELETE=212]="LIBRARIES_REQUEST_GROUPS_DELETE",e[e.LIBRARIES_REQUEST_GROUPS_SUBMIT=213]="LIBRARIES_REQUEST_GROUPS_SUBMIT",e[e.LIBRARIES_REQUEST_GROUPS_ITEMS_UPDATE=214]="LIBRARIES_REQUEST_GROUPS_ITEMS_UPDATE",e[e.LIBRARIES_REQUEST_GROUPS_REFRESH_COVERAGE=215]="LIBRARIES_REQUEST_GROUPS_REFRESH_COVERAGE",e[e.LIBRARIES_REQUEST_GROUPS_DELETE_SUBMITTED=216]="LIBRARIES_REQUEST_GROUPS_DELETE_SUBMITTED",e[e.LIBRARIES_REMOTE_REGISTRIES_CREATE=219]="LIBRARIES_REMOTE_REGISTRIES_CREATE",e[e.LIBRARIES_REMOTE_REGISTRIES_LIST=220]="LIBRARIES_REMOTE_REGISTRIES_LIST",e[e.LIBRARIES_REMOTE_REGISTRIES_DELETE=221]="LIBRARIES_REMOTE_REGISTRIES_DELETE",e[e.REGISTRY_ENTITLEMENTS_LIST=87]="REGISTRY_ENTITLEMENTS_LIST",e[e.REGISTRY_ENTITLEMENTS_CREATE=96]="REGISTRY_ENTITLEMENTS_CREATE",e[e.REGISTRY_ENTITLEMENTS_DELETE=97]="REGISTRY_ENTITLEMENTS_DELETE",e[e.REGISTRY_ENTITLEMENTS_IMAGES_ADD=133]="REGISTRY_ENTITLEMENTS_IMAGES_ADD",e[e.REGISTRY_ENTITLEMENTS_IMAGES_REMOVE=169]="REGISTRY_ENTITLEMENTS_IMAGES_REMOVE",e[e.REGISTRY_ENTITLEMENTS_IMAGES_SWAP=202]="REGISTRY_ENTITLEMENTS_IMAGES_SWAP",e[e.REGISTRY_SETTINGS_LIST=101]="REGISTRY_SETTINGS_LIST",e[e.REGISTRY_SETTINGS_UPDATE=102]="REGISTRY_SETTINGS_UPDATE",e[e.REGISTRY_OVERLAYS_LIST=207]="REGISTRY_OVERLAYS_LIST",e[e.REGISTRY_OVERLAYS_EDIT=208]="REGISTRY_OVERLAYS_EDIT",e[e.ADVISORIES_CREATE=89]="ADVISORIES_CREATE",e[e.ADVISORIES_UPDATE=90]="ADVISORIES_UPDATE",e[e.ADVISORIES_LIST=91]="ADVISORIES_LIST",e[e.ADVISORIES_DELETE=92]="ADVISORIES_DELETE",e[e.ADVISORIES_APPROVE=93]="ADVISORIES_APPROVE",e[e.REGISTRY_DEPLOYMENTS_CREATE=98]="REGISTRY_DEPLOYMENTS_CREATE",e[e.REGISTRY_DEPLOYMENTS_UPDATE=99]="REGISTRY_DEPLOYMENTS_UPDATE",e[e.REGISTRY_DEPLOYMENTS_LIST=100]="REGISTRY_DEPLOYMENTS_LIST",e[e.POLICIES_POLICY_CREATE=113]="POLICIES_POLICY_CREATE",e[e.POLICIES_POLICY_UPDATE=114]="POLICIES_POLICY_UPDATE",e[e.POLICIES_POLICY_LIST=115]="POLICIES_POLICY_LIST",e[e.POLICIES_POLICY_DELETE=116]="POLICIES_POLICY_DELETE",e[e.POLICIES_BINDING_CREATE=117]="POLICIES_BINDING_CREATE",e[e.POLICIES_BINDING_UPDATE=118]="POLICIES_BINDING_UPDATE",e[e.POLICIES_BINDING_LIST=119]="POLICIES_BINDING_LIST",e[e.POLICIES_BINDING_DELETE=120]="POLICIES_BINDING_DELETE",e[e.POLICIES_DECISION_LIST=173]="POLICIES_DECISION_LIST",e[e.POLICIES_OVERRIDE_CREATE=174]="POLICIES_OVERRIDE_CREATE",e[e.POLICIES_OVERRIDE_LIST=175]="POLICIES_OVERRIDE_LIST",e[e.POLICIES_OVERRIDE_DELETE=176]="POLICIES_OVERRIDE_DELETE",e[e.REPO_CHECK_POLICIES=134]="REPO_CHECK_POLICIES",e[e.PACKAGES_ENTITLEMENTS_LIST=123]="PACKAG
15ES_ENTITLEMENTS_LIST",e[e.TERMS_ACCEPT=125]="TERMS_ACCEPT",e[e.TERMS_LIST=126]="TERMS_LIST",e[e.GULFSTREAM=47]="GULFSTREAM",e[e.GUARDENER_DFC_CONVERT=127]="GUARDENER_DFC_CONVERT",e[e.GUARDENER_ASSOCIATION_MANAGE=170]="GUARDENER_ASSOCIATION_MANAGE",e[e.GUARDENER_ASSOCIATION_LIST=181]="GUARDENER_ASSOCIATION_LIST",e[e.GUARDENER_ENTITLEMENT_MANAGE=185]="GUARDENER_ENTITLEMENT_MANAGE",e[e.GUARDENER_ENTITLEMENT_LIST=186]="GUARDENER_ENTITLEMENT_LIST",e[e.GUARDENER_ACTIONS_MIGRATE=188]="GUARDENER_ACTIONS_MIGRATE",e[e.GUARDENER_SCAN_LIST=217]="GUARDENER_SCAN_LIST",e[e.GUARDENER_SCAN_GET=218]="GUARDENER_SCAN_GET",e[e.MCP_TOOL_CALL=128]="MCP_TOOL_CALL",e[e.SKILLS_PUBLISH=137]="SKILLS_PUBLISH",e[e.SKILLS_ENTITLEMENTS_CREATE=138]="SKILLS_ENTITLEMENTS_CREATE",e[e.SKILLS_ENTITLEMENTS_LIST=139]="SKILLS_ENTITLEMENTS_LIST",e[e.SKILLS_ENTITLEMENTS_DELETE=140]="SKILLS_ENTITLEMENTS_DELETE",e[e.SKILLS_LIST=195]="SKILLS_LIST",e[e.SKILLS_WRITE=193]="SKILLS_WRITE",e[e.SKILLS_DELETE=194]="SKILLS_DELETE",e[e.SKILLS_HARDEN_READ=199]="SKILLS_HARDEN_READ",e[e.SKILLS_HARDEN_WRITE=203]="SKILLS_HARDEN_WRITE",e[e.SKILLS_HARDEN_CANCEL=204]="SKILLS_HARDEN_CANCEL",e[e.ARGOS_DOCUMENTS_CREATE=144]="ARGOS_DOCUMENTS_CREATE",e[e.ARGOS_DOCUMENTS_LIST=145]="ARGOS_DOCUMENTS_LIST",e[e.ARGOS_DOCUMENTS_DELETE=146]="ARGOS_DOCUMENTS_DELETE",e[e.ARGOS_DOCUMENTATION_READ=222]="ARGOS_DOCUMENTATION_READ",e[e.ARGOS_OSV_READ=147]="ARGOS_OSV_READ",e[e.ARGOS_OSV_DUMP=198]="ARGOS_OSV_DUMP",e[e.LIBRARIES_POLICY_CREATE=148]="LIBRARIES_POLICY_CREATE",e[e.LIBRARIES_POLICY_UPDATE=149]="LIBRARIES_POLICY_UPDATE",e[e.LIBRARIES_POLICY_LIST=150]="LIBRARIES_POLICY_LIST",e[e.LIBRARIES_POLICY_DELETE=151]="LIBRARIES_POLICY_DELETE",e[e.LIBRARIES_POLICY_BINDING_CREATE=152]="LIBRARIES_POLICY_BINDING_CREATE",e[e.LIBRARIES_POLICY_BINDING_UPDATE=153]="LIBRARIES_POLICY_BINDING_UPDATE",e[e.LIBRARIES_POLICY_BINDING_LIST=154]="LIBRARIES_POLICY_BINDING_LIST",e[e.LIBRARIES_POLICY_BINDING_DELETE=155]="LIBRARIES_POLICY_BINDING_DELETE",e[e.LIBRARIES_POLICY_BLOCK_EVENT_LIST=156]="LIBRARIES_POLICY_BLOCK_EVENT_LIST",e[e.BUILDAPI_BUILD_CREATE=158]="BUILDAPI_BUILD_CREATE",e[e.BUILDAPI_BUILD_LIST=159]="BUILDAPI_BUILD_LIST",e[e.BUILDAPI_WORKER_SYNC=162]="BUILDAPI_WORKER_SYNC",e[e.BUILDAPI_BUILD_CANCEL=163]="BUILDAPI_BUILD_CANCEL",e[e.CASSIE_CAS_READ=160]="CASSIE_CAS_READ",e[e.CASSIE_CAS_WRITE=161]="CASSIE_CAS_WRITE",e[e.CASSIE_AC_READ=172]="CASSIE_AC_READ",e[e.CASSIE_AC_WRITE=171]="CASSIE_AC_WRITE",e[e.LOGGIE_LOGS_READ=179]="LOGGIE_LOGS_READ",e[e.LOGGIE_LOGS_WRITE=180]="LOGGIE_LOGS_WRITE",e[e.LOGGIE_LOGS_CREATE=187]="LOGGIE_LOGS_CREATE",e[e.REX_EXECUTIONS_CREATE=182]="REX_EXECUTIONS_CREATE",e[e.REX_EXECUTIONS_LIST=183]="REX_EXECUTIONS_LIST",e[e.REX_WORKERS_CONNECT=184]="REX_WORKERS_CONNECT",e[e.REX_CLASS_USE=189]="REX_CLASS_USE",e[e.REX_CLASS_SERVE=190]="REX_CLASS_SERVE",e[e.ACTIONS_LIST=164]="ACTIONS_LIST",e[e.ACTIONS_DEPENDENCIES_UPDATE=223]="ACTIONS_DEPENDENCIES_UPDATE",e[e.ACTIONS_DEPENDENCIES_LIST=224]="ACTIONS_DEPENDENCIES_LIST",e[e.SANDBOX_RUN_CREATE=226]="SANDBOX_RUN_CREATE",e[e.SANDBOX_RUN_LIST=227]="SANDBOX_RUN_LIST",e[e.SANDBOX_RUN_CANCEL=228]="SANDBOX_RUN_CANCEL",e})({});const Jq={[K.INTERNAL]:"internal",[K.IAM_GROUPS_CREATE]:"groups.create",[K.IAM_GROUPS_UPDATE]:"groups.update",[K.IAM_GROUPS_LIST]:"groups.list",[K.IAM_GROUPS_DELETE]:"groups.delete",[K.IAM_GROUP_INVITES_CREATE]:"group_invites.create",[K.IAM_GROUP_INVITES_LIST]:"group_invites.list",[K.IAM_GROUP_INVITES_DELETE]:"group_invites.delete",[K.IAM_ROLES_CREATE]:"roles.create",[K.IAM_ROLES_UPDATE]:"roles.update",[K.IAM_ROLES_LIST]:"roles.list",[K.IAM_ROLES_DELETE]:"roles.delete",[K.IAM_ROLE_BINDINGS_CREATE]:"role_bindings.create",[K.IAM_ROLE_BINDINGS_UPDATE]:"role_bindings.update",[K.IAM_ROLE_BINDINGS_LIST]:"role_bindings.list",[K.IAM_ROLE_BINDINGS_DELET
15E]:"role_bindings.delete",[K.TENANT_RECORD_SIGNATURES_LIST]:"record_signatures.list",[K.TENANT_SBOMS_LIST]:"sboms.list",[K.TENANT_VULN_REPORTS_LIST]:"vuln_reports.list",[K.TENANT_ATTESTATIONS_LIST]:"attestations.list",[K.IAM_ACCOUNT_ASSOCIATIONS_CREATE]:"account_associations.create",[K.IAM_ACCOUNT_ASSOCIATIONS_UPDATE]:"account_associations.update",[K.IAM_ACCOUNT_ASSOCIATIONS_LIST]:"account_associations.list",[K.IAM_ACCOUNT_ASSOCIATIONS_DELETE]:"account_associations.delete",[K.IAM_IDENTITY_CREATE]:"identity.create",[K.IAM_IDENTITY_UPDATE]:"identity.update",[K.IAM_IDENTITY_LIST]:"identity.list",[K.IAM_IDENTITY_DELETE]:"identity.delete",[K.IAM_IDENTITY_PROVIDERS_CREATE]:"identity_providers.create",[K.IAM_IDENTITY_PROVIDERS_UPDATE]:"identity_providers.update",[K.IAM_IDENTITY_PROVIDERS_LIST]:"identity_providers.list",[K.IAM_IDENTITY_PROVIDERS_DELETE]:"identity_providers.delete",[K.IAM_SCIM_MANAGE]:"identity_providers.scim.manage",[K.IAM_SCIM_USERS_LIST]:"identity_providers.scim.users.list",[K.EVENTS_SUBSCRIPTION_CREATE]:"subscriptions.create",[K.EVENTS_SUBSCRIPTION_UPDATE]:"subscriptions.update",[K.EVENTS_SUBSCRIPTION_LIST]:"subscriptions.list",[K.EVENTS_SUBSCRIPTION_DELETE]:"subscriptions.delete",[K.REPO_CREATE]:"repo.create",[K.REPO_UPDATE]:"repo.update",[K.REPO_LIST]:"repo.list",[K.REPO_DELETE]:"repo.delete",[K.REPO_BLOBS_GET]:"repo.blobs.get",[K.REPO_CHECK_POLICIES]:"repo.check_policies",[K.MANIFEST_CREATE]:"manifest.create",[K.MANIFEST_UPDATE]:"manifest.update",[K.MANIFEST_LIST]:"manifest.list",[K.MANIFEST_DELETE]:"manifest.delete",[K.TAG_CREATE]:"tag.create",[K.TAG_UPDATE]:"tag.update",[K.TAG_LIST]:"tag.list",[K.TAG_DELETE]:"tag.delete",[K.MANIFEST_METADATA_LIST]:"manifest.metadata.list",[K.APK_CREATE]:"apk.create",[K.APK_UPDATE]:"apk.update",[K.APK_LIST]:"apk.list",[K.APK_DELETE]:"apk.delete",[K.APK_BLOBS_GET]:"apk.blobs.get",[K.VERSION_LIST]:"version.list",[K.VULN_REPORT_CREATE]:"vuln_report.create",[K.VULN_REPORT_LIST]:"vuln_report.list",[K.VULN_CREATE]:"vuln.create",[K.BUILD_REPORT_LIST]:"build_report.list",[K.LIBRARIES_ENTITLEMENTS_CREATE]:"libraries.entitlements.create",[K.LIBRARIES_ENTITLEMENTS_LIST]:"libraries.entitlements.list",[K.LIBRARIES_ENTITLEMENTS_DELETE]:"libraries.entitlements.delete",[K.LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_CREATE]:"libraries.aws_marketplace.subscriptions.create",[K.LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_UPDATE]:"libraries.aws_marketplace.subscriptions.update",[K.LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_LIST]:"libraries.aws_marketplace.subscriptions.list",[K.LIBRARIES_ARTIFACTS_LIST]:"libraries.artifacts.list",[K.LIBRARIES_REQUEST_GROUPS_CREATE]:"libraries.request_groups.create",[K.LIBRARIES_REQUEST_GROUPS_LIST]:"libraries.request_groups.list",[K.LIBRARIES_REQUEST_GROUPS_UPDATE]:"libraries.request_groups.update",[K.LIBRARIES_REQUEST_GROUPS_DELETE]:"libraries.request_groups.delete",[K.LIBRARIES_REQUEST_GROUPS_SUBMIT]:"libraries.request_groups.submit",[K.LIBRARIES_REQUEST_GROUPS_ITEMS_UPDATE]:"libraries.request_groups.items.update",[K.LIBRARIES_REQUEST_GROUPS_REFRESH_COVERAGE]:"libraries.request_groups.refresh_coverage",[K.LIBRARIES_REQUEST_GROUPS_DELETE_SUBMITTED]:"libraries.request_groups.delete_submitted",[K.LIBRARIES_REMOTE_REGISTRIES_CREATE]:"libraries.remote_registries.create",[K.LIBRARIES_REMOTE_REGISTRIES_LIST]:"libraries.remote_registries.list",[K.LIBRARIES_REMOTE_REGISTRIES_DELETE]:"libraries.remote_registries.delete",[K.LIBRARIES_PYTHON_LIST]:"libraries.python.list",[K.LIBRARIES_PYTHON_CREATE]:"libraries.python.create",[K.LIBRARIES_JAVA_LIST]:"libraries.java.list",[K.LIBRARIES_JAVA_CREATE]:"libraries.java.create",[K.LIBRARIES_JAVASCRIPT_LIST]:"libraries.javascript.list",[K.LIBRARIES_JAVASCRIPT_CREATE]:"libraries.javascript.create",[K.LIBRARIES_DOTNET_LIST]:"libraries.dotnet.list",[K.LIBRARIES_DOTNET_CREATE]:"libraries.dotnet.create",[K.LIBRARIES_GO_LIST]:"libraries.go.list",[K.LIBRARIES_GO_CREATE]:"libraries.go.create",[K.LIBRARIES_CACHE_INVALIDATE]:"libraries.cache.invalidate",[K.LIBRARIES_CACHE_LIST]:"libraries.cache.list",[K.REGISTRY_ENTITLEMENTS_LIST]:"registry.entitlements.list",[K.REGISTRY_ENTITLEMENTS_CREATE]:"registry.entitlements.create",[K.REGISTRY_ENTITLEMENTS_DELETE]:"registry.entitlements.delete",[K.REGISTRY_ENTITLEMENTS_IMAGES_ADD]:"registry.entitlements.images.add",[K.REGISTRY_ENTITLEMENTS_IMAGES_SWAP]:"registry.entitlements.images.swap",[K.ADVISORIES_CREATE]:"advisories.create",[K.ADVISORIES_UPDATE]:"advisories.update",[K.ADVISORIES_LIST]:"advisories.list",[K.ADVISORIES_DELETE]:"advisories.delete",[K.ADVISORIES_APPROVE]:"advisories.approve",[K.LIBRARIES_REBUILDER_REQUESTS_CREATE]:"libraries.rebuilder.requests.create",[K.LIBRARIES_REBUILDER_REQUESTS_LIST]:"libraries.rebuilder.requests.list",[K.LIBRARIES_REBUILDER_REQUESTS_CANCEL]:"libraries.rebuilder.requests.cancel",[K.LIBRARIES_REBUILDER_ARTIFACTS_INVALIDATE]:"libraries.rebuilder.artifacts.invalidate",[K.LIBRARIES_REBUILDER_EXCLUSIONS_MANAGE]:"libraries.rebuilder.exclusions.manage",[K.LIBRARIES_REBUILDER_REQUESTS_GROUP_UPDATE]:"libraries.rebuilder.requests.group.update",[K.LIBRARIES_REBUILDER_BUILDS_READ]:"libraries.rebuilder.builds.read",[K.LIBRARIES_REBUILDER_BUILDS_TOKENS_FETCH]:"libraries.rebuilder.builds.tokens.fetch",[K.LIBRARIES_REBUILDER_BUILDS_UNTRUSTED]:"libraries.rebuilder.builds.untrusted",[K.LIBRARIES_REBUILDER_REMEDIATED_ARTIFACTS_READ]:"libraries.rebuilder.remediated_artifacts.read",[K.REGISTRY_SETTINGS_LIST]:"registry.settings.list",[K.REGISTRY_SETTINGS_UPDATE]:"registry.settings.update",[K.REGISTRY_OVERLAYS_LIST]:"registry.overlays.list",[K.REGISTRY_OVERLAYS_EDIT]:"registry.overlays.edit",[K.REGISTRY_DEPLOYMENTS_CREATE]:"registry.deployments.create",[K.REGISTRY_DEPLOYMENTS_UPDATE]:"registry.deployments.update",[K.REGISTRY_DEPLOYMENTS_LIST]:"registry.deployments.list",[K.POLICIES_POLICY_CREATE]:"policies.policy.
15create",[K.POLICIES_POLICY_UPDATE]:"policies.policy.update",[K.POLICIES_POLICY_LIST]:"policies.policy.list",[K.POLICIES_POLICY_DELETE]:"policies.policy.delete",[K.POLICIES_BINDING_CREATE]:"policies.binding.create",[K.POLICIES_BINDING_UPDATE]:"policies.binding.update",[K.POLICIES_BINDING_LIST]:"policies.binding.list",[K.POLICIES_BINDING_DELETE]:"policies.binding.delete",[K.POLICIES_DECISION_LIST]:"policies.decision.list",[K.POLICIES_OVERRIDE_CREATE]:"policies.override.create",[K.POLICIES_OVERRIDE_LIST]:"policies.override.list",[K.POLICIES_OVERRIDE_DELETE]:"policies.override.delete",[K.PACKAGES_ENTITLEMENTS_LIST]:"packages.entitlements.list",[K.REFERRERS_LIST]:"referrers.list",[K.TERMS_ACCEPT]:"terms.accept",[K.TERMS_LIST]:"terms.list",[K.GUARDENER_DFC_CONVERT]:"guardener.dfc.convert",[K.MCP_TOOL_CALL]:"mcp.tool.call",[K.ARGOS_DOCUMENTS_CREATE]:"argos.documents.create",[K.ARGOS_DOCUMENTS_LIST]:"argos.documents.list",[K.ARGOS_DOCUMENTS_DELETE]:"argos.documents.delete",[K.ARGOS_DOCUMENTATION_READ]:"argos.documentation.read",[K.ARGOS_OSV_READ]:"argos.osv.read",[K.ARGOS_OSV_DUMP]:"argos.osv.dump",[K.REPO_INTERNAL_ADMIN]:"repo.internal.admin",[K.REGISTRY_ENTITLEMENTS_IMAGES_REMOVE]:"registry.entitlements.images.remove",[K.LIBRARIES_REBUILDER_NEW_VERSIONS_READ]:"libraries.rebuilder.new_versions.read",[K.LIBRARIES_REBUILDER_NEW_VERSIONS_REFRESH]:"libraries.rebuilder.new_versions.refresh",[K.LIBRARIES_REBUILDER_MALWARE_STATUS_READ]:"libraries.rebuilder.malware.status.read",[K.LIBRARIES_REBUILDER_CVE_REMEDIATIONS_LIST]:"libraries.rebuilder.cve_remediations.list",[K.LIBRARIES_REBUILDER_CVE_REMEDIATIONS_UPDATE]:"libraries.rebuilder.cve_remediations.update",[K.LIBRARIES_REBUILDER_SOURCE_COORDINATES_WRITE]:"libraries.rebuilder.source_coordinates.write",[K.LIBRARIES_REBUILDER_SOURCE_COORDINATES_RESOLVE]:"libraries.rebuilder.source_coordinates.resolve",[K.LIBRARIES_POLICY_CREATE]:"libraries.policy.create",[K.LIBRARIES_POLICY_UPDATE]:"libraries.policy.update",[K.LIBRARIES_POLICY_LIST]:"libraries.policy.list",[K.LIBRARIES_POLICY_DELETE]:"libraries.policy.delete",[K.LIBRARIES_POLICY_BINDING_CREATE]:"libraries.policy.binding.create",[K.LIBRARIES_POLICY_BINDING_UPDATE]:"libraries.policy.binding.update",[K.LIBRARIES_POLICY_BINDING_LIST]:"libraries.policy.binding.list",[K.LIBRARIES_POLICY_BINDING_DELETE]:"libraries.policy.binding.delete",[K.LIBRARIES_POLICY_BLOCK_EVENT_LIST]:"libraries.policy.block_event.list",[K.SKILLS_PUBLISH]:"skills.publish",[K.SKILLS_ENTITLEMENTS_CREATE]:"skills.entitlements.create",[K.SKILLS_ENTITLEMENTS_LIST]:"skills.entitlements.list",[K.SKILLS_ENTITLEMENTS_DELETE]:"skills.entitlements.delete",[K.SKILLS_LIST]:"skills.list",[K.SKILLS_WRITE]:"skills.write",[K.SKILLS_DELETE]:"skills.delete",[K.SKILLS_HARDEN_READ]:"skills.harden.read",[K.SKILLS_HARDEN_WRITE]:"skills.harden.write",[K.SKILLS_HARDEN_CANCEL]:"skills.harden.cancel",[K.ACTIONS_LIST]:"actions.list",[K.ACTIONS_DEPENDENCIES_UPDATE]:"actions.dependencies.update",[K.ACTIONS_DEPENDENCIES_LIST]:"actions.dependencies.list",[K.GUARDENER_ASSOCIATION_MANAGE]:"guardener.association.manage",[K.GUARDENER_ASSOCIATION_LIST]:"guardener.association.list",[K.GUARDENER_ENTITLEMENT_MANAGE]:"guardener.entitlement.manage",[K.GUARDENER_ENTITLEMENT_LIST]:"guardener.entitlement.list",[K.GUARDENER_ACTIONS_MIGRATE]:"guardener.actions.migrate",[K.GUARDENER_SCAN_LIST]:"guardener.scan.list",[K.GUARDENER_SCAN_GET]:"guardener.scan.get",[K.GULFSTREAM]:"gulfstream",[K.BUILDAPI_BUILD_CREATE]:"buildapi.build.create",[K.BUILDAPI_BUILD_LIST]:"buildapi.build.list",[K.BUILDAPI_BUILD_CANCEL]:"buildapi.build.cancel",[K.BUILDAPI_WORKER_SYNC]:"buildapi.worker.sync",[K.CASSIE_CAS_READ]:"cassie.cas.read",[K.CASSIE_CAS_WRITE]:"cassie.cas.write",[K.CASSIE_AC_READ]:"cassie.ac.read",[K.CASSIE_AC_WRITE]:"cassie.ac.write",[K.LOGGIE_LOGS_READ]:"loggie.logs.read",[K.LOGGIE_LOGS_WRITE]:"loggie.logs.write",[K.LOGGIE_LOGS_CREATE]:"loggie.logs.create",[K.REX_EXECUTIONS_CREATE]:"rex.executions.create",[K.REX_EXECUTIONS_LIST]:"rex.executions.list",[K.REX_WORKERS_CONNECT]:"rex.workers.connect",[K.REX_CLASS_USE]:"rex.class.use",[K.REX_CLASS_SERVE]:"rex.class.serve",[K.SANDBOX_RUN_CREATE]:"sandbox.run.create",[K.SANDBOX_RUN_LIST]:"sandbox.run.list",[K.SANDBOX_RUN_CANCEL]:"sandbox.run.cancel"},N0e={[K.INTERNAL]:{id:"4V55yN"},[K.IAM_GROUPS_CREATE]:{id:"hcmIbx"},[K.IAM_GROUPS_UPDATE]:{id:"b3hhWS"},[K.IAM_GROUPS_LIST]:{id:"iHQAJB"}
15,[K.IAM_GROUPS_DELETE]:{id:"h3Mzx2"},[K.IAM_GROUP_INVITES_CREATE]:{id:"qWPHnt"},[K.IAM_GROUP_INVITES_LIST]:{id:"_GI46_"},[K.IAM_GROUP_INVITES_DELETE]:{id:"-IMfxp"},[K.IAM_ROLES_CREATE]:{id:"5V_6re"},[K.IAM_ROLES_UPDATE]:{id:"9FCAjA"},[K.IAM_ROLES_LIST]:{id:"gRAdEX"},[K.IAM_ROLES_DELETE]:{id:"QPWlLe"},[K.IAM_ROLE_BINDINGS_CREATE]:{id:"RSk63n"},[K.IAM_ROLE_BINDINGS_UPDATE]:{id:"NeVygY"},[K.IAM_ROLE_BINDINGS_LIST]:{id:"X0SWgo"},[K.IAM_ROLE_BINDINGS_DELETE]:{id:"h0QWRC"},[K.TENANT_RECORD_SIGNATURES_LIST]:{id:"azg7fL"},[K.TENANT_SBOMS_LIST]:{id:"qdeESc"},[K.TENANT_VULN_REPORTS_LIST]:{id:"OPHnNl"},[K.TENANT_ATTESTATIONS_LIST]:{id:"y3sZ91"},[K.IAM_ACCOUNT_ASSOCIATIONS_CREATE]:{id:"E8y-Rx"},[K.IAM_ACCOUNT_ASSOCIATIONS_UPDATE]:{id:"KzWevs"},[K.IAM_ACCOUNT_ASSOCIATIONS_LIST]:{id:"ICQpSU"},[K.IAM_ACCOUNT_ASSOCIATIONS_DELETE]:{id:"syMLfv"},[K.IAM_IDENTITY_CREATE]:{id:"BzYBuf"},[K.IAM_IDENTITY_UPDATE]:{id:"EZVjjy"},[K.IAM_IDENTITY_LIST]:{id:"iNkXYl"},[K.IAM_IDENTITY_DELETE]:{id:"roRpRV"},[K.IAM_IDENTITY_PROVIDERS_CREATE]:{id:"hhDrkb"},[K.IAM_IDENTITY_PROVIDERS_UPDATE]:{id:"oD54_M"},[K.IAM_IDENTITY_PROVIDERS_LIST]:{id:"rrVpeZ"},[K.IAM_IDENTITY_PROVIDERS_DELETE]:{id:"nBYDm1"},[K.IAM_SCIM_MANAGE]:{id:"ukY7dE"},[K.IAM_SCIM_USERS_LIST]:{id:"kYTGZJ"},[K.EVENTS_SUBSCRIPTION_CREATE]:{id:"ldktUE"},[K.EVENTS_SUBSCRIPTION_UPDATE]:{id:"z2mLAa"},[K.EVENTS_SUBSCRIPTION_LIST]:{id:"rMI_cB"},[K.EVENTS_SUBSCRIPTION_DELETE]:{id:"fG5XG0"},[K.REPO_CREATE]:{id:"tR6yO0"},[K.REPO_UPDATE]:{id:"gNCEuy"},[K.REPO_LIST]:{id:"fKpE6S"},[K.REPO_DELETE]:{id:"yKh4OV"},[K.REPO_BLOBS_GET]:{id:"dJhZ0s"},[K.REPO_CHECK_POLICIES]:{id:"cjACek"},[K.MANIFEST_CREATE]:{id:"7hXr8_"},[K.MANIFEST_UPDATE]:{id:"VJEn48"},[K.MANIFEST_LIST]:{id:"Kk71iG"},[K.MANIFEST_DELETE]:{id:"WKA9lv"},[K.TAG_CREATE]:{id:"ZRuMBX"},[K.TAG_UPDATE]:{id:"ANjJ-9"},[K.TAG_LIST]:{id:"tr2aTF"},[K.TAG_DELETE]:{id:"ou7t6C"},[K.MANIFEST_METADATA_LIST]:{id:"xcPm-a"},[K.APK_CREATE]:{id:"2ECroa"},[K.APK_UPDATE]:{id:"ti698j"},[K.APK_LIST]:{id:"foIZsq"},[K.APK_DELETE]:{id:"DRR65a"},[K.APK_BLOBS_GET]:{id:"uFNgMX"},[K.VERSION_LIST]:{id:"UKGNsC"},[K.VULN_REPORT_CREATE]:{id:"mR2bEy"},[K.VULN_REPORT_LIST]:{id:"Wog0d3"},[K.VULN_CREATE]:{id:"t9vFRU"},[K.BUILD_REPORT_LIST]:{id:"Q2xGgb"},[K.LIBRARIES_ENTITLEMENTS_CREATE]:{id:"Dc5gOE"},[K.LIBRARIES_ENTITLEMENTS_LIST]:{id:"nZ9S0v"},[K.LIBRARIES_ENTITLEMENTS_DELETE]:{id:"U9xZ0T"},[K.LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_CREATE]:{id:"jGKLRy"},[K.LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_UPDATE]:{id:"bJ9vpw"},[K.LIBRARIES_AWS_MARKETPLACE_SUBSCRIPTIONS_LIST]:{id:"HaUyoS"},[K.LIBRARIES_ARTIFACTS_LIST]:{id:"BRzNcD"},[K.LIBRARIES_PYTHON_LIST]:{id:"ut1QkM"},[K.LIBRARIES_PYTHON_CREATE]:{id:"1w3iE4"},[K.LIBRARIES_JAVA_LIST]:{id:"IDL0T9"},[K.LIBRARIES_JAVA_CREATE]:{id:"bRGYo2"},[K.LIBRARIES_JAVASCRIPT_LIST]:{id:"cN4Gx6"},[K.LIBRARIES_JAVASCRIPT_CREATE]:{id:"_AkVE_"},[K.LIBRARIES_DOTNET_LIST]:{id:"4yM0Vk"},[K.LIBRARIES_DOTNET_CREATE]:{id:"1DoJa4"},[K.LIBRARIES_GO_LIST]:{id:"oq4uYL"},[K.LIBRARIES_GO_CREATE]:{id:"9SH_ge"},[K.LIBRARIES_CACHE_INVALIDATE]:{id:"lCtNAz"},[K.LIBRARIES_CACHE_LIST]:{id:"HAxRO0"},[K.LIBRARIES_REQUEST_GROUPS_CREATE]:{id:"Y_oOGT"},[K.LIBRARIES_REQUEST_GROUPS_LIST]:{id:"_MCxXw"},[K.LIBRARIES_REQUEST_GROUPS_UPDATE]:{id:"Xd_9zG"},[K.LIBRARIES_REQUEST_GROUPS_DELETE]:{id:"HKfhXk"},[K.LIBRARIES_REQUEST_GROUPS_SUBMIT]:{id:"R58VsK"},[K.LIBRARIES_REQUEST_GROUPS_ITEMS_UPDATE]:{id:"tubILV"},[K.LIBRARIES_REQUEST_GROUPS_REFRESH_COVERAGE]:{id:"fMBd0c"},[K.LIBRARIES_REQUEST_GROUPS_DELETE_SUBMITTED]:{id:"4KpFo4"},[K.LIBRARIES_REMOTE_REGISTRIES_CREATE]:{id:"RG4juh"},[K.LIBRARIES_REMOTE_REGISTRIES_LIST]:{id:"ByKIuW"},[K.LIBRARIES_REMOTE_REGISTRIES_DELETE]:{id:"MzQZsV"},[K.REGISTRY_ENTITLEMENTS_LIST]:{id:"UOHE__"},[K.REGISTRY_ENTITLEMENTS_CREATE]:{id:"gDlLw7"},[K.REGISTRY_ENTITLEMENTS_DELETE]:{id:"C10XNv"},[K.REGISTRY_ENTITLEMENTS_IMAGES_ADD]:{id:"IJlVqf"},[K.REGISTRY_ENTITLEMENTS_IMAGES_SWAP]:{id:"0snK72"},[K.ADVISORIES_CREATE]:{id:"Z9Eisb"},[K.ADVISORIES_UPDATE]:{id:"uvZ7AL"},[K.ADVISORIES_LIST]:{id:"OhHmut"},[K.ADVISORIES_DELETE]:{id:"5ykc03"},[K.ADVISORIES_APPROVE]:{id:"u-VzLV"},[K.LIBRARIES_REBUILDER_REQUESTS_CREATE]:{id:"a_esFT"},[K.LIBRARIES_REBUILDER_REQUESTS_LIST]:{id:"excsbC"},[K.LIBRARIES_REBUILDER_REQUESTS_CANCEL]:{id:"hXAVlK"},[K.LIBRARIES_REBUILDER_ARTIFACTS_INVALIDATE]:{id:"c5pFKW"},[K.LIBRARIES_REBUILDER_EXCLUSIONS_MANAGE]:{id:"jJ0I8I"},[K.LIBRARIES_REBUILDER_REQUESTS_GROUP_UPDATE]:{id:"n53fL9"},[K.LIBRARIES_REBUILDER_BUILDS_READ]:{id:"0Bzz1L"},[K.LIBRARIES_REBUILDER_BUILDS_TOKENS_FETCH]:{id:"iwhaZA"},[K.LIBRARIES_REBUILDER_BUILDS_UNTRUSTED]:{id:"Au1WOg"},[K.LIBRARIES_REBUILDER_REMEDIATED_ARTIFACTS_READ]:{id:"kWmsB-"},[K.REGISTRY_SETTINGS_LIST]:{id:"R9cVq2"},[K.REGISTRY_SETTINGS_UPDATE]:{id:"LEw39j"},[K.REGISTRY_OVERLAYS_LIST]:{id:"C1eY_K"},[K.REGISTRY_OVERLAYS_EDIT]:{id:"gMbZd6"},[K.REGISTRY_DEPLOYMENTS_CREATE]:{id:"qZtnZD"},[K.REGISTRY_DEPLOYMENTS_UPDATE]:{id:"c82vuQ"},[K.REGISTRY_DEPLOYMENTS_LIST]:{id:"vOOex0"},[K.POLICIES_POLICY_CREATE]:{id:"GViTfo"},[K.POLICIES_POLICY_UPDATE]:{id:"su8I2Y"},[K.POLICIES_POLICY_LIST]:{id:"qbo3HV"},[K.POLICIES_POLICY_DELETE]:{id:"h4fU2T"},[K.POLICIES_BINDING_CREATE]:{id:"TWDINF"},[K.POLICIES_BINDING_UPDATE]:{id:"z_nJ2s"},[K.POLICIES_BINDING_LIST]:{id:"wHX7hS"},[K.POLICIES_BINDING_DELETE]:{id:"7ctnKA"},[K.POLICIES_DECISION_LIST]:{id:"fUgnRx"},[K.POLICIES_OVERRIDE_CREATE]:{id:"yiRgCe"},[K.POLICIES_OVERRIDE_LIST]:{id:"jABaS3"},[K.POLICIES_OVERRIDE_DELETE]:{id:"ttxVFr"}
15,[K.PACKAGES_ENTITLEMENTS_LIST]:{id:"6-Tx2j"},[K.REFERRERS_LIST]:{id:"8rk91b"},[K.TERMS_ACCEPT]:{id:"seckmI"},[K.TERMS_LIST]:{id:"GwRa3P"},[K.GUARDENER_DFC_CONVERT]:{id:"J1iO60"},[K.MCP_TOOL_CALL]:{id:"VkROsG"},[K.ARGOS_DOCUMENTS_CREATE]:{id:"8T0IMW"},[K.ARGOS_DOCUMENTS_LIST]:{id:"FOK7w4"},[K.ARGOS_DOCUMENTS_DELETE]:{id:"-VfhCt"},[K.ARGOS_DOCUMENTATION_READ]:{id:"ZmOfoZ"},[K.ARGOS_OSV_READ]:{id:"ZHmqPr"},[K.ARGOS_OSV_DUMP]:{id:"dQta4F"},[K.REPO_INTERNAL_ADMIN]:{id:"gEIsfi"},[K.REGISTRY_ENTITLEMENTS_IMAGES_REMOVE]:{id:"nFFLA2"},[K.LIBRARIES_REBUILDER_NEW_VERSIONS_READ]:{id:"xCoRTv"},[K.LIBRARIES_REBUILDER_NEW_VERSIONS_REFRESH]:{id:"qXlsj-"},[K.LIBRARIES_REBUILDER_MALWARE_STATUS_READ]:{id:"7nIjx6"},[K.LIBRARIES_REBUILDER_CVE_REMEDIATIONS_LIST]:{id:"L0bvEE"},[K.LIBRARIES_REBUILDER_CVE_REMEDIATIONS_UPDATE]:{id:"XmqQ7X"},[K.LIBRARIES_REBUILDER_SOURCE_COORDINATES_WRITE]:{id:"knG_Ob"},[K.LIBRARIES_REBUILDER_SOURCE_COORDINATES_RESOLVE]:{id:"ibw4P1"},[K.LIBRARIES_POLICY_CREATE]:{id:"xTKIFr"},[K.LIBRARIES_POLICY_UPDATE]:{id:"iwlRCb"},[K.LIBRARIES_POLICY_LIST]:{id:"dOQnMB"},[K.LIBRARIES_POLICY_DELETE]:{id:"rIgMwk"},[K.LIBRARIES_POLICY_BINDING_CREATE]:{id:"4ZQ_CI"},[K.LIBRARIES_POLICY_BINDING_UPDATE]:{id:"J8xTzd"},[K.LIBRARIES_POLICY_BINDING_LIST]:{id:"tw0Gjb"},[K.LIBRARIES_POLICY_BINDING_DELETE]:{id:"BWI-LU"},[K.LIBRARIES_POLICY_BLOCK_EVENT_LIST]:{id:"UjBFE4"},[K.SKILLS_PUBLISH]:{id:"4SRjRZ"},[K.SKILLS_ENTITLEMENTS_CREATE]:{id:"GkYhCB"},[K.SKILLS_ENTITLEMENTS_LIST]:{id:"GsU6uC"},[K.SKILLS_ENTITLEMENTS_DELETE]:{id:"PidTYf"},[K.SKILLS_LIST]:{id:"-7YS_Y"},[K.SKILLS_WRITE]:{id:"orKgAg"},[K.SKILLS_DELETE]:{id:"nrOK30"},[K.SKILLS_HARDEN_READ]:{id:"7wr3UH"},[K.SKILLS_HARDEN_WRITE]:{id:"q6-OZX"},[K.SKILLS_HARDEN_CANCEL]:{id:"U4Nrw-"},[K.ACTIONS_LIST]:{id:"rFCp4D"},[K.ACTIONS_DEPENDENCIES_UPDATE]:{id:"u3sK5R"},[K.ACTIONS_DEPENDENCIES_LIST]:{id:"mbR7tk"},[K.GUARDENER_ASSOCIATION_MANAGE]:{id:"-AM4gj"},[K.GUARDENER_ASSOCIATION_LIST]:{id:"c1qlWP"},[K.GUARDENER_ENTITLEMENT_MANAGE]:{id:"9EAFSa"},[K.GUARDENER_ENTITLEMENT_LIST]:{id:"V8ghw6"},[K.GUARDENER_ACTIONS_MIGRATE]:{id:"9CM33j"},[K.GUARDENER_SCAN_LIST]:{id:"E7BXug"},[K.GUARDENER_SCAN_GET]:{id:"HgqCgZ"},[K.GULFSTREAM]:{id:"Ka_Dzy"},[K.BUILDAPI_BUILD_CREATE]:{id:"lPn63D"},[K.BUILDAPI_BUILD_LIST]:{id:"mfj5Ta"},[K.BUILDAPI_BUILD_CANCEL]:{id:"VmcLKx"},[K.BUILDAPI_WORKER_SYNC]:{id:"ck5-44"},[K.CASSIE_CAS_READ]:{id:"MV3KqU"},[K.CASSIE_CAS_WRITE]:{id:"8PBAaF"},[K.CASSIE_AC_READ]:{id:"Xf9JFO"},[K.CASSIE_AC_WRITE]:{id:"f8fjus"},[K.LOGGIE_LOGS_READ]:{id:"PGsq1D"},[K.LOGGIE_LOGS_WRITE]:{id:"X0jCDc"},[K.LOGGIE_LOGS_CREATE]:{id:"_ahBdr"},[K.REX_EXECUTIONS_CREATE]:{id:"jEkFRy"},[K.REX_EXECUTIONS_LIST]:{id:"2Op6oY"},[K.REX_WORKERS_CONNECT]:{id:"Fv6BhK"},[K.REX_CLASS_USE]:{id:"GY3qwU"},[K.REX_CLASS_SERVE]:{id:"F3RuM9"},[K.SANDBOX_RUN_CREATE]:{id:"eXnyvy"},[K.SANDBOX_RUN_LIST]:{id:"XVFzes"},[K.SANDBOX_RUN_CANCEL]:{id:"RsHnoR"}},R0e={owner:{id:"VElYVR"},limited_owner:{id:"Osfsc9"},editor:{id:"UTyHzH"},viewer:{id:"dFv61a"},none:{id:"oPoLg-"},support:{id:"ZBKIC7"},"registry.pull":{id:"ntUVha"},"registry.push":{id:"e-ibq3"},"registry.pull_token_creator":{id:"SfWPDH"},"apk.pull":{id:"VAMPtH"},"apk.push":{id:"gKU6qv"},"advisories.admin":{id:"HKohyc"},"advisories.approve":{id:"u-VzLV"},"advisories.creator":{id:"Z9Eisb"},"advisories.viewer":{id:"NMockU"},"entitlement.service_agent":{id:"DFunXF"},gulfstream:{id:"Ka_Dzy"},"libraries.java.pull":{id:"YOuDiU"},"libraries.java.pull_token_creator":{id:"X0QfKy"},"libraries.python.pull":{id:"GmZ-1x"},"libraries.python.pull_token_creator":{id:"_3v--X"},"libraries.javascript.pull":{id:"PZUKVC"},"libraries.javascript.pull_token_creator":{id:"3UR9b_"},"guardener.user":{id:"ZO6RRG"},"guardener.admin":{id:"Unen8W"},console_viewer:{id:"52A7OW"}},jlt=Object.entries(R0e).reduce((e,[t,n])=>(e[t]=n,e),{}),zlt=Object.entries(N0e).reduce((e,[t,n])=>{const r=Jq[Number(t)];return r&&(e[r]=n),e},{});function x0e(e){return li(e,K.IAM_ROLES_CREATE)?"owner":li(e,K.EVENTS_SUBSCRIPTION_CREATE)?"editor":li(e,K.ADVISORIES_DELETE)?"advisories.admin":li(e,K.ADVISORIES_APPROVE)?"advisories.approve":li(e,K.ADVISORIES_CREATE)?"advisories.creator":li(e,K.ADVISORIES_LIST)?"advisories.viewer":li(e,K.REPO_CREATE)?"registry.push":li(e,K.IAM_IDENTITY_CREATE)&&li(e,K.IAM_ROLE_BINDINGS_CREATE)&&li(e,K.IAM_ROLES_LIST)&&li(e,K.IAM_GROUPS_LIST)&&li(e,K.REPO_LIST)&&li(e,K.APK_LIST)?"registry.pull_token_creator":li(e,K.REPO_LIST)?"registry.pull":li(e,K.APK_CREATE)?"apk.push":li(e,K.APK_LIST)?"apk.pull":li(e,K.LIBRARIES_JAVASCRIPT_LIST)?"libraries.javascript.pull":li(e,K.LIBRARIES_JAVA_LIST)?"libraries.java.pull":li(e,K.LIBRARIES_PYTHON_LIST)?"libraries.python.pull":li(e,K.IAM_GROUPS_LIST)||li(e,K.IAM_ROLES_LIST)?"viewer":"none"}function L0e(e,t){const n=t?.capabilities.get(e);return n?x0e(n):"none"}function LP(){const e=ha();return{can:(t,n)=>
15jx(e,t,n),getRoleByCapability:(t,n)=>L0e(t,n),getCapabilitiesByGroup:t=>O0e(t,e)}}function jx(e,t,n){const r=e.profile?.capabilities;return r?$q(n).some(i=>{const o=r.get(i);return o?li(o,t):!1}):!1}function Zq(e){const t=A0e.parse(e);return Object.values(t).reduce((r,i)=>r+i.toString(2).padStart(8,"0"),"").slice(64).match(/.{1,64}/g).map(r=>r.split("").reverse().join("")).join("")}function O0e(e,t){const n=t.profile?.capabilities;if(!n)return[];const r=n.get(e);return r?Zq(r).split("").map((o,a)=>o==="1"?Jq[a]:null).filter(Boolean):[]}function li(e,t){return Zq(e)[t]==="1"}function Js(e,t){return t?[...H5(e)?e:[e],...H5(t)?t:[t]]:e}function H5(e){return Array.isArray(e)}function P0e(e){if("ownerState"in e){const{ownerState:t,...n}=e;return n}return e}var iN={exports:{}},oN={};var W5;function _0e(){if(W5)return oN;W5=1;var e=ep();function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,o=e.useLayoutEffect,a=e.useDebugValue;function s(f,p){var v=p(),g=r({inst:{value:v,getSnapshot:p}}),y=g[0].inst,k=g[1];return o(function(){y.value=v,y.getSnapshot=p,l(y)&&k({inst:y})},[f,v,p]),i(function(){return l(y)&&k({inst:y}),f(function(){l(y)&&k({inst:y})})},[f]),a(v),v}function l(f){var p=f.getSnapshot;f=f.value;try{var v=p();return!n(f,v)}catch{return!0}}function u(f,p){return p()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return oN.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,oN}var q5;function Qq(){return q5||(q5=1,iN.exports=_0e()),iN.exports}var Lh=Qq();const D0e=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,M0e={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0};function Xq(e,t={}){const n=e.split(D0e);if(n.length===1)return e;const r=F0e(0,"$lingui$"),i=[],o=n.shift();o&&i.push(o);for(const[a,s,l]of eG(n)){let u=typeof a<"u"?t[a]:void 0;(!u||M0e[u.type]&&s)&&(console.error(u?`${u.type} is a void element tag therefore it must have no children`:`Can't use element at index '${a}' as it is not declared in the original translation`),u=b.jsx(b.Fragment,{})),Array.isArray(u)&&(u=b.jsx(b.Fragment,{children:u})),i.push(m.cloneElement(u,{key:r()},s?Xq(s,t):u.props.children)),l&&i.push(l)}return i.length===1?i[0]:i}function eG(e){if(!e.length)return[];const[t,n,r,i]=e.slice(0,4);return[[t||r,n||"",i]].concat(eG(e.slice(4,e.length)))}const F0e=(e=0,t="")=>()=>`${t}_${e++}`;function U0e(e){const{render:t,component:n,id:r,message:i,formats:o,lingui:{i18n:a,defaultComponent:s}}=e,{values:l,components:u}=B0e(e),c=a&&typeof a._=="function"?a._(r,l,{message:i,formats:o}):r,f=c?Xq(c,u):null;if(t===null||n===null)return f;const p=s||V0e,v={id:r,message:i,translation:f,children:f};if(t&&n)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&typeof t!="function")console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(n&&typeof n!="function")return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${n}`),b.jsx(p,{...v,children:f});if(typeof t=="function")return t(v);const g=n||p;return b.jsx(g,{...v,children:f})}const V0e=({children:e})=>e,B0e=e=>{if(!e.values)return{values:void 0,components:e.components};const t={...e.values},n={...e.components};return Object.entries(e.values).forEach(([r,i])=>{if(typeof i=="string"||typeof i=="number")return;const o=Object.keys(n).length;n[o]=b.jsx(b.Fragment,{children:i}),t[r]=`<${o}/>`}),{values:t,components:n}},tG=m.createContext(null),nG=e=>m.useContext(tG);function Tn(){return nG()}const G5=(e,t)=>({i18n:new Proxy(e,{}),defaultComponent:t,_:e.t.bind(e)}),j0e=(e,t)=>{let n=e.locale,r=G5(e,t);const i=()=>{n=e.locale,r=G5(e,t)};return{getSnapshot:()=>(n!==e.locale&&i(),r),subscribe:s=>e.on("change",()=>{i(),s()})}},z0e=({i18n:e,defaultComponent:t,children:n})=>{const r=m.useMemo(()=>j0e(e,t),[e,t]),i=Lh.useSyncExternalStore(r.subscribe,r.getSnapshot,r.getSnapshot);return i.i18n.locale?b.jsx(tG.Provider,{value:i,children:n}):null};function yn(e){const t=nG();return b.jsx(U0e,{...e,lingui:t})}const oy={black:"#000",white:"#fff"},Bp={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},jp={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},zp={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Hp={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Wp={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Vg={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},H0e={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function _u(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const gs="$$material";function vs(){return vs=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},vs.apply(null,arguments)}function W0e(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 q0e(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 G0e=(function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),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(q0e(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=W0e(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++}
vendor: 5,084 bytes, line 15
15,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})(),Co="-ms-",iE="-moz-",tr="-webkit-",rG="comm",OP="rule",PP="decl",K0e="@import",iG="@keyframes",Y0e="@layer",$0e=Math.abs,oC=String.fromCharCode,J0e=Object.assign;function Z0e(e,t){return fo(e,0)^45?(((t<<2^fo(e,0))<<2^fo(e,1))<<2^fo(e,2))<<2^fo(e,3):0}function oG(e){return e.trim()}function Q0e(e,t){return(e=t.exec(e))?e[0]:e}function nr(e,t,n){return e.replace(t,n)}function zx(e,t){return e.indexOf(t)}function fo(e,t){return e.charCodeAt(t)|0}function ay(e,t,n){return e.slice(t,n)}function Al(e){return e.length}function _P(e){return e.length}function Wb(e,t){return t.push(e),e}function X0e(e,t){return e.map(t).join("")}var aC=1,th=1,aG=0,da=0,xi=0,Oh="";function sC(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:aC,column:th,length:a,return:""}}function Bg(e,t){return J0e(sC("",null,null,"",null,null,0),e,{length:-e.length},t)}function eSe(){return xi}function tSe(){return xi=da>0?fo(Oh,--da):0,th--,xi===10&&(th=1,aC--),xi}function Pa(){return xi=da<aG?fo(Oh,da++):0,th++,xi===10&&(th=1,aC++),xi}function Ml(){return fo(Oh,da)}function lS(){return da}function Gy(e,t){return ay(Oh,e,t)}function sy(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 sG(e){return aC=th=1,aG=Al(Oh=e),da=0,[]}function lG(e){return Oh="",e}function uS(e){return oG(Gy(da-1,Hx(e===91?e+2:e===40?e+1:e)))}function nSe(e){for(;(xi=Ml())&&xi<33;)Pa();return sy(e)>2||sy(xi)>3?"":" "}function rSe(e,t){for(;--t&&Pa()&&!(xi<48||xi>102||xi>57&&xi<65||xi>70&&xi<97););return Gy(e,lS()+(t<6&&Ml()==32&&Pa()==32))}function Hx(e){for(;Pa();)switch(xi){case e:return da;case 34:case 39:e!==34&&e!==39&&Hx(xi);break;case 40:e===41&&Hx(e);break;case 92:Pa();break}return da}function iSe(e,t){for(;Pa()&&e+xi!==57;)if(e+xi===84&&Ml()===47)break;return"/*"+Gy(t,da-1)+"*"+oC(e===47?e:Pa())}function oSe(e){for(;!sy(Ml());)Pa();return Gy(e,da)}function aSe(e){return lG(cS("",null,null,null,[""],e=sG(e),0,[0],e))}function cS(e,t,n,r,i,o,a,s,l){for(var u=0,c=0,f=a,p=0,v=0,g=0,y=1,k=1,E=1,S=0,T="",I=i,A=o,w=r,R=T;k;)switch(g=S,S=Pa()){case 40:if(g!=108&&fo(R,f-1)==58){zx(R+=nr(uS(S),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:R+=uS(S);break;case 9:case 10:case 13:case 32:R+=nSe(g);break;case 92:R+=rSe(lS()-1,7);continue;case 47:switch(Ml()){case 42:case 47:Wb(sSe(iSe(Pa(),lS()),t,n),l);break;default:R+="/"}break;case 123*y:s[u++]=Al(R)*E;case 125*y:case 59:case 0:switch(S){case 0:case 125:k=0;case 59+c:E==-1&&(R=nr(R,/\f/g,"")),v>0&&Al(R)-f&&Wb(v>32?Y5(R+";",r,n,f-1):Y5(nr(R," ","")+";",r,n,f-2),l);break;case 59:R+=";";default:if(Wb(w=K5(R,t,n,u,c,i,s,T,I=[],A=[],f),o),S===123)if(c===0)cS(R,t,w,w,I,o,f,s,A);else switch(p===99&&fo(R,3)===110?100:p){case 100:case 108:case 109:case 115:cS(e,w,w,r&&Wb(K5(e,w,w,0,0,i,s,T,i,I=[],f),A),i,A,f,s,r?I:A);break;default:cS(R,w,w,w,[""],A,0,s,A)}}u=c=v=0,y=E=1,T=R="",f=a;break;case 58:f=1+Al(R),v=g;default:if(y<1){if(S==123)--y;else if(S==125&&y++==0&&tSe()==125)continue}switch(R+=oC(S),S*y){case 38:E=c>0?1:(R+="\f",-1);break;case 44:s[u++]=(Al(R)-1)*E,E=1;break;case 64:Ml()===45&&(R+=uS(Pa())),p=Ml(),c=f=Al(T=R+=oSe(lS())),S++;break;case 45:g===45&&Al(R)==2&&(y=0)}}return o}function K5(e,t,n,r,i,o,a,s,l,u,c){for(var f=i-1,p=i===0?o:[""],v=_P(p),g=0,y=0,k=0;g<r;++g)for(var E=0,S=ay(e,f+1,f=$0e(y=a[g])),T=e;E<v;++E)(T=oG(y>0?p[E]+" "+S:nr(S,/&\f/g,p[E])))&&(l[k++]=T);return sC(e,t,n,i===0?OP:s,l,u,c)}function sSe(e,t,n){return sC(e,t,n,rG,oC(eSe()),ay(e,2,-2),0)}function Y5(e,t,n,r){return sC(e,t,n,PP,ay(e,0,r),ay(e,r+1,-1),r)}function Dm(e,t){for(var n="",r=_P(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function lSe(e,t,n,r){switch(e.type){case Y0e:if(e.children.length)break;case K0e:case PP:return e.return=e.return||e.value;case rG:return"";case iG:return e.return=e.value+"{"+Dm(e.children,r)+"}";case OP:e.value=e.props.join(",")}return Al(n=Dm(e.children,r))?e.return=e.value+"{"+n+"}":""}function uSe(e){var t=_P(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function cSe(e){return function(t){t.root||(t=t.return)&&e(t)}}function uG(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var dSe=function(t,n,r){for(var i=0,o=0;i=o,o=Ml(),i===38&&o===12&&(n[r]=1),!sy(o);)Pa();return Gy(t,da)},fSe=function(t,n){var r=-1,i=44;do switch(sy(i)){case 0:i===38&&Ml()===12&&(n[r]=1),t[r]+=dSe(da-1,n,r);break;case 2:t[r]+=uS(i);break;case 4:if(i===44){t[++r]=Ml()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=oC(i)}while(i=Pa());return t},pSe=function(t,n){return lG(fSe(sG(t),n))},$5=new WeakMap,mSe=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;
vendor: 7,016 bytes, line 15
15if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!$5.get(r))&&!i){$5.set(t,!0);for(var o=[],a=pSe(n,o),s=r.props,l=0,u=0;l<a.length;l++)for(var c=0;c<s.length;c++,u++)t.props[u]=o[l]?a[l].replace(/&\f/g,s[c]):s[c]+" "+a[l]}}},hSe=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function cG(e,t){switch(Z0e(e,t)){case 5103:return tr+"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 tr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return tr+e+iE+e+Co+e+e;case 6828:case 4268:return tr+e+Co+e+e;case 6165:return tr+e+Co+"flex-"+e+e;case 5187:return tr+e+nr(e,/(\w+).+(:[^]+)/,tr+"box-$1$2"+Co+"flex-$1$2")+e;case 5443:return tr+e+Co+"flex-item-"+nr(e,/flex-|-self/,"")+e;case 4675:return tr+e+Co+"flex-line-pack"+nr(e,/align-content|flex-|-self/,"")+e;case 5548:return tr+e+Co+nr(e,"shrink","negative")+e;case 5292:return tr+e+Co+nr(e,"basis","preferred-size")+e;case 6060:return tr+"box-"+nr(e,"-grow","")+tr+e+Co+nr(e,"grow","positive")+e;case 4554:return tr+nr(e,/([^-])(transform)/g,"$1"+tr+"$2")+e;case 6187:return nr(nr(nr(e,/(zoom-|grab)/,tr+"$1"),/(image-set)/,tr+"$1"),e,"")+e;case 5495:case 3959:return nr(e,/(image-set\([^]*)/,tr+"$1$`$1");case 4968:return nr(nr(e,/(.+:)(flex-)?(.*)/,tr+"box-pack:$3"+Co+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+tr+e+e;case 4095:case 3583:case 4068:case 2532:return nr(e,/(.+)-inline(.+)/,tr+"$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(Al(e)-1-t>6)switch(fo(e,t+1)){case 109:if(fo(e,t+4)!==45)break;case 102:return nr(e,/(.+:)(.+)-([^]+)/,"$1"+tr+"$2-$3$1"+iE+(fo(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~zx(e,"stretch")?cG(nr(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fo(e,t+1)!==115)break;case 6444:switch(fo(e,Al(e)-3-(~zx(e,"!important")&&10))){case 107:return nr(e,":",":"+tr)+e;case 101:return nr(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+tr+(fo(e,14)===45?"inline-":"")+"box$3$1"+tr+"$2$3$1"+Co+"$2box$3")+e}break;case 5936:switch(fo(e,t+11)){case 114:return tr+e+Co+nr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return tr+e+Co+nr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return tr+e+Co+nr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return tr+e+Co+e+e}return e}var gSe=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case PP:t.return=cG(t.value,t.length);break;case iG:return Dm([Bg(t,{value:nr(t.value,"@","@"+tr)})],i);case OP:if(t.length)return X0e(t.props,function(o){switch(Q0e(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Dm([Bg(t,{props:[nr(o,/:(read-\w+)/,":"+iE+"$1")]})],i);case"::placeholder":return Dm([Bg(t,{props:[nr(o,/:(plac\w+)/,":"+tr+"input-$1")]}),Bg(t,{props:[nr(o,/:(plac\w+)/,":"+iE+"$1")]}),Bg(t,{props:[nr(o,/:(plac\w+)/,Co+"input-$1")]})],i)}return""})}},vSe=[gSe],ySe=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(y){var k=y.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||vSe,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var k=y.getAttribute("data-emotion").split(" "),E=1;E<k.length;E++)o[k[E]]=!0;s.push(y)});var l,u=[mSe,hSe];{var c,f=[lSe,cSe(function(y){c.insert(y)})],p=uSe(u.concat(i,f)),v=function(k){return Dm(aSe(k),p)};l=function(k,E,S,T){c=S,v(k?k+"{"+E.styles+"}":E.styles),T&&(g.inserted[E.name]=!0)}}var g={key:n,sheet:new G0e({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return g.sheet.hydrate(s),g},aN={exports:{}},ur={};var J5;function kSe(){if(J5)return ur;J5=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function T(A){if(typeof A=="object"&&A!==null){var w=A.$$typeof;switch(w){case t:switch(A=A.type,A){case l:case u:case r:case o:case i:case f:return A;default:switch(A=A&&A.$$typeof,A){case s:case c:case g:case v:case a:return A;default:return w}}case n:return w}}}function I(A){return T(A)===u}return ur.AsyncMode=l,ur.ConcurrentMode=u,ur.ContextConsumer=s,ur.ContextProvider=a,ur.Element=t,ur.ForwardRef=c,ur.Fragment=r,ur.Lazy=g,ur.Memo=v,ur.Portal=n,ur.Profiler=o,ur.StrictMode=i,ur.Suspense=f,ur.isAsyncMode=function(A){return I(A)||T(A)===l},ur.isConcurrentMode=I,ur.isContextConsumer=function(A){return T(A)===s},ur.isContextProvider=function(A){return T(A)===a},ur.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===t},ur.isForwardRef=function(A){return T(A)===c},ur.isFragment=function(A){return T(A)===r},ur.isLazy=function(A){return T(A)===g},ur.isMemo=function(A){return T(A)===v},ur.isPortal=function(A){return T(A)===n},ur.isProfiler=function(A){return T(A)===o},ur.isStrictMode=function(A){return T(A)===i},ur.isSuspense=function(A){return T(A)===f},ur.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===r||A===u||A===o||A===i||A===f||A===p||typeof A=="object"&&A!==null&&(A.$$typeof===g||A.$$typeof===v||A.$$typeof===a||A.$$typeof===s||A.$$typeof===c||A.$$typeof===k||A.$$typeof===E||A.$$typeof===S||A.$$typeof===y)},ur.typeOf=T,ur}var Z5;function bSe(){return Z5||(Z5=1,aN.exports=kSe()),aN.exports}var sN,Q5;function SSe(){if(Q5)return sN;Q5=1;var e=bSe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[e.ForwardRef]=r,o[e.Memo]=i;function a(g){return e.isMemo(g)?i:o[g.$$typeof]||t}var s=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;
vendor: 7,210 bytes, line 15
15function v(g,y,k){if(typeof y!="string"){if(p){var E=f(y);E&&E!==p&&v(g,E,k)}var S=l(y);u&&(S=S.concat(u(y)));for(var T=a(g),I=a(y),A=0;A<S.length;++A){var w=S[A];if(!n[w]&&!(k&&k[w])&&!(I&&I[w])&&!(T&&T[w])){var R=c(y,w);try{s(g,w,R)}catch{}}}}return g}return sN=v,sN}SSe();var ESe=!0;function dG(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var DP=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||ESe===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},MP=function(t,n,r){DP(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function TSe(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var CSe={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,scale: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},ASe=/[A-Z]|^ms/g,ISe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,fG=function(t){return t.charCodeAt(1)===45},X5=function(t){return t!=null&&typeof t!="boolean"},lN=uG(function(e){return fG(e)?e:e.replace(ASe,"-$&").toLowerCase()}),e6=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ISe,function(r,i,o){return Il={name:i,styles:o,next:Il},i})}return CSe[t]!==1&&!fG(t)&&typeof n=="number"&&n!==0?n+"px":n};function ly(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Il={name:i.name,styles:i.styles,next:Il},i.name;var o=n;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)Il={name:a.name,styles:a.styles,next:Il},a=a.next;var s=o.styles+";";return s}return wSe(e,t,n)}case"function":{if(e!==void 0){var l=Il,u=n(e);return Il=l,ly(e,t,u)}break}}var c=n;if(t==null)return c;var f=t[c];return f!==void 0?f:c}function wSe(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ly(e,t,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?r+=o+"{"+t[s]+"}":X5(s)&&(r+=lN(o)+":"+e6(o,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)X5(a[l])&&(r+=lN(o)+":"+e6(o,a[l])+";");else{var u=ly(e,t,a);switch(o){case"animation":case"animationName":{r+=lN(o)+":"+u+";";break}default:r+=o+"{"+u+"}"}}}return r}var t6=/label:\s*([^\s;{]+)\s*(;|$)/g,Il;function Ky(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";Il=void 0;var o=e[0];if(o==null||o.raw===void 0)r=!1,i+=ly(n,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=ly(n,t,e[s]),r){var l=o;i+=l[s]}t6.lastIndex=0;for(var u="",c;(c=t6.exec(i))!==null;)u+="-"+c[1];var f=TSe(i)+u;return{name:f,styles:i,next:Il}}var NSe=function(t){return t()},pG=Ks.useInsertionEffect?Ks.useInsertionEffect:!1,mG=pG||NSe,n6=pG||m.useLayoutEffect,hG=m.createContext(typeof HTMLElement<"u"?ySe({key:"css"}):null);hG.Provider;var FP=function(t){return m.forwardRef(function(n,r){var i=m.useContext(hG);return t(n,i,r)})},Yy=m.createContext({}),UP={}.hasOwnProperty,Wx="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",RSe=function(t,n){var r={};for(var i in n)UP.call(n,i)&&(r[i]=n[i]);return r[Wx]=t,r},xSe=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return DP(n,r,i),mG(function(){return MP(n,r,i)}),null},LSe=FP(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Wx],o=[r],a="";typeof e.className=="string"?a=dG(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=Ky(o,void 0,m.useContext(Yy));a+=t.key+"-"+s.name;var l={};for(var u in e)UP.call(e,u)&&u!=="css"&&u!==Wx&&(l[u]=e[u]);return l.className=a,n&&(l.ref=n),m.createElement(m.Fragment,null,m.createElement(xSe,{cache:t,serialized:s,isStringTag:typeof i=="string"}),m.createElement(i,l))}),OSe=LSe,r6=function(t,n){var r=arguments;if(n==null||!UP.call(n,"css"))return m.createElement.apply(void 0,r);var i=r.length,o=new Array(i);o[0]=OSe,o[1]=RSe(t,n);for(var a=2;a<i;a++)o[a]=r[a];return m.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(r6||(r6={}));var PSe=FP(function(e,t){var n=e.styles,r=Ky([n],void 0,m.useContext(Yy)),i=m.useRef();return n6(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",o),a.hydrate([l])),i.current=[a,s],function(){a.flush()}},[t]),n6(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(r.next!==void 0&&MP(t,r.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",r,a,!1)},[t,r.name]),null});function $y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ky(t)}function op(){var e=$y.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var _Se=/^((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|fetchpriority|fetchPriority|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|playsInl
15ine|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)-.*))$/,DSe=uG(function(e){return _Se.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),MSe=DSe,FSe=function(t){return t!=="theme"},i6=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?MSe:FSe},o6=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},USe=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return DP(n,r,i),mG(function(){return MP(n,r,i)}),null},VSe=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=o6(t,n,r),l=s||i6(i),u=!l("as");return function(){var c=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{var p=c[0];f.push(p[0]);for(var v=c.length,g=1;g<v;g++)f.push(c[g],p[g])}var y=FP(function(k,E,S){var T=u&&k.as||i,I="",A=[],w=k;if(k.theme==null){w={};for(var R in k)w[R]=k[R];w.theme=m.useContext(Yy)}typeof k.className=="string"?I=dG(E.registered,A,k.className):k.className!=null&&(I=k.className+" ");var x=Ky(f.concat(A),E.registered,w);I+=E.key+"-"+x.name,a!==void 0&&(I+=" "+a);var D=u&&s===void 0?i6(T):l,M={};
15for(var F in k)u&&F==="as"||D(F)&&(M[F]=k[F]);return M.className=I,S&&(M.ref=S),m.createElement(m.Fragment,null,m.createElement(USe,{cache:E,serialized:x,isStringTag:typeof T=="string"}),m.createElement(T,M))});return y.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=i,y.__emotion_styles=f,y.__emotion_forwardProp=s,Object.defineProperty(y,"toString",{value:function(){return"."+a}}),y.withComponent=function(k,E){var S=e(k,vs({},n,E,{shouldForwardProp:o6(y,E,!0)}));return S.apply(void 0,f)},y}},BSe=["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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],qx=VSe.bind(null);BSe.forEach(function(e){qx[e]=qx(e)});function jSe(e){return e==null||Object.keys(e).length===0}function gG(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?i=>t(jSe(i)?n:i):t;return b.jsx(PSe,{styles:r})}function vG(e,t){return qx(e,t)}function zSe(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const a6=[];function jc(e){return a6[0]=e,Ky(a6)}var uN={exports:{}},kr={};var s6;function HSe(){if(s6)return kr;s6=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(y){if(typeof y=="object"&&y!==null){var k=y.$$typeof;switch(k){case e:switch(y=y.type,y){case n:case i:case r:case l:case u:case p:return y;default:switch(y=y&&y.$$typeof,y){case a:case s:case f:case c:return y;case o:return y;default:return k}}case t:return k}}}return kr.ContextConsumer=o,kr.ContextProvider=a,kr.Element=e,kr.ForwardRef=s,kr.Fragment=n,kr.Lazy=f,kr.Memo=c,kr.Portal=t,kr.Profiler=i,kr.StrictMode=r,kr.Suspense=l,kr.SuspenseList=u,kr.isContextConsumer=function(y){return g(y)===o},kr.isContextProvider=function(y){return g(y)===a},kr.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},kr.isForwardRef=function(y){return g(y)===s},kr.isFragment=function(y){return g(y)===n},kr.isLazy=function(y){return g(y)===f},kr.isMemo=function(y){return g(y)===c},kr.isPortal=function(y){return g(y)===t},kr.isProfiler=function(y){return g(y)===i},kr.isStrictMode=function(y){return g(y)===r},kr.isSuspense=function(y){return g(y)===l},kr.isSuspenseList=function(y){return g(y)===u},kr.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===i||y===r||y===l||y===u||y===p||typeof y=="object"&&y!==null&&(y.$$typeof===f||y.$$typeof===c||y.$$typeof===a||y.$$typeof===o||y.$$typeof===s||y.$$typeof===v||y.getModuleId!==void 0)},kr.typeOf=g,kr}var l6;function WSe(){return l6||(l6=1,uN.exports=HSe()),uN.exports}var yG=WSe();function Ol(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);
15return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function kG(e){if(m.isValidElement(e)||yG.isValidElementType(e)||!Ol(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=kG(e[n])}),t}function oo(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Ol(e)&&Ol(t)&&Object.keys(t).forEach(i=>{m.isValidElement(t[i])||yG.isValidElementType(t[i])?r[i]=t[i]:Ol(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Ol(e[i])?r[i]=oo(e[i],t[i],n):n.clone?r[i]=Ol(t[i])?kG(t[i]):t[i]:r[i]=t[i]}),r}const qSe=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function GSe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=e,o=qSe(t),a=Object.keys(o);function s(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function l(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function u(p,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-r/100}${n})`}function c(p){return a.indexOf(p)+1<a.length?u(p,a[a.indexOf(p)+1]):s(p)}function f(p){const v=a.indexOf(p);return v===0?s(a[1]):v===a.length-1?l(a[v]):u(p,a[a.indexOf(p)+1]).replace("@media","@media not all and")}return{keys:a,values:o,up:s,down:l,between:u,only:c,not:f,unit:n,...i}}function u6(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,i)=>{const o=/min-width:\s*([0-9.]+)/;return+(r.match(o)?.[1]||0)-+(i.match(o)?.[1]||0)});return n.length?n.reduce((r,i)=>{const o=t[i];return delete r[i],r[i]=o,r},{...t}):t}function KSe(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function YSe(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,i]=n,o=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(o)}function $Se(e){const t=(o,a)=>o.replace("@media",a?`@container ${a}`:"@container");function n(o,a){o.up=(...s)=>t(e.breakpoints.up(...s),a),o.down=(...s)=>t(e.breakpoints.down(...s),a),o.between=(...s)=>t(e.breakpoints.between(...s),a),o.only=(...s)=>t(e.breakpoints.only(...s),a),o.not=(...s)=>{const l=t(e.breakpoints.not(...s),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},i=o=>(n(r,o),r);return n(i),{...e,containerQueries:i}}const JSe={borderRadius:4};function _v(e,t){return t?oo(e,t,{clone:!1}):e}const lC={xs:0,sm:600,md:900,lg:1200,xl:1536},c6={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${lC[e]}px)`},ZSe={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:lC[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Zs(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||c6;return t.reduce((a,s,l)=>(a[o.up(o.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const o=r.breakpoints||c6;return Object.keys(t).reduce((a,s)=>{if(KSe(o.keys,s)){const l=YSe(r.containerQueries?r:ZSe,s);l&&(a[l]=n(t[s],s))}else if(Object.keys(o.values||lC).includes(s)){const l=o.up(s);a[l]=n(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return n(t)}function bG(e={}){return e.keys?.reduce((n,r)=>{const i=e.up(r);return n[i]={},n},{})||{}}function Gx(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function QSe(e,...t){const n=bG(e),r=[n,...t].reduce((i,o)=>oo(i,o),{});return Gx(Object.keys(n),r)}function XSe(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((i,o)=>{o<e.length&&(n[i]=!0)}):r.forEach(i=>{e[i]!=null&&(n[i]=!0)}),n}function cN({values:e,breakpoints:t,base:n}){const r=n||XSe(e,t),i=Object.keys(r);if(i.length===0)return e;let o;return i.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[o],o=s):a[s]=e,a),{})}function it(e){if(typeof e!="string")throw new Error(_u(7));return e.charAt(0).toUpperCase()+e.slice(1)}function wl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function oE(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=wl(e,n)||r,t&&(i=t(i,r,e)),i}function Ci(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,u=wl(l,r)||{};return Zs(a,s,f=>{let p=oE(u,i,f);return f===p&&typeof f=="string"&&(p=oE(u,i,`${t}${f==="default"?"":it(f)}`,f)),n===!1?p:{[n]:p}})};return o.propTypes={},o.filterProps=[t],o}function eEe(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const tEe={m:"margin",p:"padding"},nEe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},d6={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},rEe=eEe(e=>{if(e.length>2)if(d6[e])e=d6[e];else return[e];const[t,n]=e.split(""),r=tEe[t],i=nEe[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),VP=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],BP=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...VP,...BP];function Jy(e,t,n,r){const i=wl(e,t,!0)??n;return typeof i=="number"||typeof i=="string"?o=>
15typeof o=="string"?o:typeof i=="string"?i.startsWith("var(")&&o===0?0:i.startsWith("var(")&&o===1?i:`calc(${o} * ${i})`:i*o:Array.isArray(i)?o=>{if(typeof o=="string")return o;const a=Math.abs(o),s=i[a];return o>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof i=="function"?i:()=>{}}function uC(e){return Jy(e,"spacing",8)}function jf(e,t){return typeof t=="string"||t==null?t:e(t)}function iEe(e,t){return n=>e.reduce((r,i)=>(r[i]=jf(t,n),r),{})}function oEe(e,t,n,r){if(!t.includes(n))return null;const i=rEe(n),o=iEe(i,r),a=e[n];return Zs(e,a,o)}function SG(e,t){const n=uC(e.theme);return Object.keys(e).map(r=>oEe(e,t,r,n)).reduce(_v,{})}function ui(e){return SG(e,VP)}ui.propTypes={};ui.filterProps=VP;function ci(e){return SG(e,BP)}ci.propTypes={};ci.filterProps=BP;function EG(e=8,t=uC({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function cC(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?_v(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function as(e){return typeof e!="number"?e:`${e}px solid`}function Ns(e,t){return Ci({prop:e,themeKey:"borders",transform:t})}const aEe=Ns("border",as),sEe=Ns("borderTop",as),lEe=Ns("borderRight",as),uEe=Ns("borderBottom",as),cEe=Ns("borderLeft",as),dEe=Ns("borderColor"),fEe=Ns("borderTopColor"),pEe
15=Ns("borderRightColor"),mEe=Ns("borderBottomColor"),hEe=Ns("borderLeftColor"),gEe=Ns("outline",as),vEe=Ns("outlineColor"),dC=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Jy(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:jf(t,r)});return Zs(e,e.borderRadius,n)}return null};dC.propTypes={};dC.filterProps=["borderRadius"];cC(aEe,sEe,lEe,uEe,cEe,dEe,fEe,pEe,mEe,hEe,dC,gEe,vEe);const fC=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Jy(e.theme,"spacing",8),n=r=>({gap:jf(t,r)});return Zs(e,e.gap,n)}return null};fC.propTypes={};fC.filterProps=["gap"];const pC=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Jy(e.theme,"spacing",8),n=r=>({columnGap:jf(t,r)});return Zs(e,e.columnGap,n)}return null};pC.propTypes={};pC.filterProps=["columnGap"];const mC=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Jy(e.theme,"spacing",8),n=r=>({rowGap:jf(t,r)});return Zs(e,e.rowGap,n)}return null};mC.propTypes={};mC.filterProps=["rowGap"];const yEe=Ci({prop:"gridColumn"}),kEe=Ci({prop:"gridRow"}),bEe=Ci({prop:"gridAutoFlow"}),SEe=Ci({prop:"gridAutoColumns"}),EEe=Ci({prop:"gridAutoRows"}),TEe=Ci({prop:"gridTemplateColumns"}),CEe=Ci({prop:"gridTemplateRows"}),AEe=Ci({prop:"gridTemplateAreas"}),IEe=Ci({prop:"gridArea"});cC(fC,pC,mC,yEe,kEe,bEe,SEe,EEe,TEe,CEe,AEe,IEe);function Mm(e,t){return t==="grey"?t:e}const wEe=Ci({prop:"color",themeKey:"palette",transform:Mm}),NEe=Ci({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Mm}),REe=Ci({prop:"backgroundColor",themeKey:"palette",transform:Mm});cC(wEe,NEe,REe);function xa(e){return e<=1&&e!==0?`${e*100}%`:e}const xEe=Ci({prop:"width",transform:xa}),jP=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const r=e.theme?.breakpoints?.values?.[n]||lC[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:xa(n)}};return Zs(e,e.maxWidth,t)}return null};jP.filterProps=["maxWidth"];const LEe=Ci({prop:"minWidth",transform:xa}),OEe=Ci({prop:"height",transform:xa}),PEe=Ci({prop:"maxHeight",transform:xa}),_Ee=Ci({prop:"minHeight",transform:xa});Ci({prop:"size",cssProperty:"width",transform:xa});Ci({prop:"size",cssProperty:"height",transform:xa});const DEe=Ci({prop:"boxSizing"});cC(xEe,jP,LEe,OEe,PEe,_Ee,DEe);const Zy={border:{themeKey:"borders",transform:as},borderTop:{themeKey:"borders",transform:as},borderRight:{themeKey:"borders",transform:as},borderBottom:{themeKey:"borders",transform:as},borderLeft:{themeKey:"borders",transform:as},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:as},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:dC},color:{themeKey:"palette",transform:Mm},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Mm},backgroundColor:{themeKey:"palette",transform:Mm},p:{style:ci},pt:{style:ci},pr:{style:ci},pb:{style:ci},pl:{style:ci},px:{style:ci},py:{style:ci},padding:{style:ci},paddingTop:{style:ci},paddingRight:{style:ci},paddingBottom:{style:ci},paddingLeft:{style:ci},paddingX:{style:ci},paddingY:{style:ci},paddingInline:{style:ci},paddingInlineStart:{style:ci},paddingInlineEnd:{style:ci},paddingBlock:{style:ci},paddingBlockStart:{style:ci},paddingBlockEnd:{style:ci},m:{style:ui},mt:{style:ui},mr:{style:ui},mb:{style:ui},ml:{style:ui},mx:{style:ui},my:{style:ui},margin:{style:ui},marginTop:{style:ui},marginRight:{style:ui},marginBottom:{style:ui},marginLeft:{style:ui},marginX:{style:ui},marginY:{style:ui},marginInline:{style:ui},marginInlineStart:{style:ui},marginInlineEnd:{style:ui},marginBlock:{style:ui},marginBlockStart:{style:ui},marginBlockEnd:{style:ui},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:fC},rowGap:{style:mC},columnGap:{style:pC},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:xa},maxWidth:{style:jP},minWidth:{transform:xa},height:{transform:xa},maxHeight:{transform:xa},minHeight:{transform:xa},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function MEe(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function FEe(e,t){return typeof e=="function"?e(t):e}function UEe(){function e(n,r,i,o){const a={[n]:r,theme:i},s=o[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:f}=s;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const p=wl(i,u)||{};return f?f(a):Zs(a,r,g=>{let y=oE(p,c,g);return g===y&&typeof g=="string"&&(y=oE(p,c,`${n}${g==="default"?"":it(g)}`,g)),l===!1?y:{[l]:y}})}function t(n){const{sx:r,theme:i={},nested:o}=n||{};if(!r)return null;const a=i.unstable_sxConfig??Zy;function s(l){let u=l;if(typeof l=="function")u=l(i);else if(typeof l!="object")return l;if(!u)return null;const c=bG(i.breakpoints),f=Object.keys(c);let p=c;return Object.keys(u).forEach(v=>{const g=FEe(u[v],i);if(g!=null)if(typeof g=="object")if(a[v])p=_v(p,e(v,g,i,a));else{const y=Zs({theme:i},g,k=>({[v]:k}));MEe(y,g)?p[v]=t({sx:g,theme:i,nested:!0}):p=_v(p,y)}else p=_v(p,e(v,g,i,a))}),!o&&i.modularCssLayers?{"@layer sx":u6(i,Gx(f,p))}:u6(i,Gx(f,p))}return Array.isArray(r)?r.map(s):s(r)}return t}const Xc=UEe();Xc.filterProps=["sx"];function VEe(e,t){const n=this;
15if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function hC(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={},...a}=e,s=GSe(n),l=EG(i);let u=oo({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...JSe,...o}},a);return u=$Se(u),u.applyStyles=VEe,u=t.reduce((c,f)=>oo(c,f),u),u.unstable_sxConfig={...Zy,...a?.unstable_sxConfig},u.unstable_sx=function(f){return Xc({sx:f,theme:this})},u}function BEe(e){return Object.keys(e).length===0}function gC(e=null){const t=m.useContext(Yy);return!t||BEe(t)?e:t}const jEe=hC();function vC(e=jEe){return gC(e)}function dN(e){const t=jc(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function TG({styles:e,themeId:t,defaultTheme:n={}}){const r=vC(n),i=t&&r[t]||r;let o=typeof e=="function"?e(i):e;return i.modularCssLayers&&(Array.isArray(o)?o=o.map(a=>dN(typeof a=="function"?a(i):a)):o=dN(o)),b.jsx(gG,{styles:o})}const zEe=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Zy;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function zP(e){const{sx:t,...n}=e,{systemProps:r,otherProps:i}=zEe(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...a)=>{const s=t(...a);return Ol(s)?{...r,...s}:r}:o={...r,...t},{...i,sx:o}}const f6=e=>e,HEe=()=>{let e=f6;return{configure(t){e=t},generate(t){return e(t)},reset(){e=f6}}},CG=HEe();function AG(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=AG(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function mt(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=AG(e))&&(r&&(r+=" "),r+=t);return r}function WEe(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,o=vG("div",{shouldForwardProp:s=>s!=="theme"&&s!=="sx"&&s!=="as"})(Xc);return m.forwardRef(function(l,u){const c=vC(n),{className:f,component:p="div",...v}=zP(l);return b.jsx(o,{as:p,ref:u,className:mt(f,i?i(r):r),theme:t&&c[t]||c,...v})})}const qEe={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function en(e,t,n="Mui"){const r=qEe[t];return r?`${n}-${r}`:`${CG.generate(e)}-${t}`}function tn(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=en(e,i,n)}),r}function IG(e){const{variants:t,...n}=e,r={variants:t,style:jc(n),isProcessed:!0};return r.style===n||t&&t.forEach(i=>{typeof i.style!="function"&&(i.style=jc(i.style))}),r}const GEe=hC();function fN(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function mf(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function KEe(e){return e?(t,n)=>n[e]:null}function YEe(e,t,n){e.theme=JEe(e.theme)?n:e.theme[t]||e.theme}function dS(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(i=>dS(e,i,n));if(Array.isArray(r?.variants)){let i;if(r.isProcessed)i=n?mf(r.style,n):r.style;else{const{variants:o,...a}=r;i=n?mf(jc(a),n):a}return wG(e,r.variants,[i],n)}return r?.isProcessed?n?mf(jc(r.style),n):r.style:n?mf(jc(r),n):r}function wG(e,t,n=[],r=void 0){let i;e:for(let o=0;o<t.length;o+=1){const a=t[o];if(typeof a.props=="function"){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(i))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&e.ownerState?.[s]!==a.props[s])continue e;typeof a.style=="function"?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?mf(jc(a.style(i)),r):a.style(i))):n.push(r?mf(jc(a.style),r):a.style)}return n}function NG(e={}){const{themeId:t,defaultTheme:n=GEe,rootShouldForwardProp:r=fN,slotShouldForwardProp:i=fN}=e;function o(s){YEe(s,t,n)}return(s,l={})=>{zSe(s,w=>w.filter(R=>R!==Xc));const{name:u,slot:c,skipVariantsResolver:f,skipSx:p,overridesResolver:v=KEe(QEe(c)),...g}
15=l,y=u&&u.startsWith("Mui")||c?"components":"custom",k=f!==void 0?f:c&&c!=="Root"&&c!=="root"||!1,E=p||!1;let S=fN;c==="Root"||c==="root"?S=r:c?S=i:ZEe(s)&&(S=void 0);const T=vG(s,{shouldForwardProp:S,label:$Ee(),...g}),I=w=>{if(w.__emotion_real===w)return w;if(typeof w=="function")return function(x){return dS(x,w,x.theme.modularCssLayers?y:void 0)};if(Ol(w)){const R=IG(w);return function(D){return R.variants?dS(D,R,D.theme.modularCssLayers?y:void 0):D.theme.modularCssLayers?mf(R.style,y):R.style}}return w},A=(...w)=>{const R=[],x=w.map(I),D=[];if(R.push(o),u&&v&&D.push(function(P){const B=P.theme.components?.[u]?.styleOverrides;if(!B)return null;const H={};for(const G in B)H[G]=dS(P,B[G],P.theme.modularCssLayers?"theme":void 0);return v(P,H)}),u&&!k&&D.push(function(P){const B=P.theme?.components?.[u]?.variants;return B?wG(P,B,[],P.theme.modularCssLayers?"theme":void 0):null}),E||D.push(Xc),Array.isArray(x[0])){const L=x.shift(),P=new Array(R.length).fill(""),j=new Array(D.length).fill("");let B;B=[...P,...L,...j],B.raw=[...P,...L.raw,...j],R.unshift(B)}const M=[...R,...x,...D],F=T(...M);return s.muiName&&(F.muiName=s.muiName),F};return T.withConfig&&(A.withConfig=T.withConfig),A}}function $Ee(e,t){return void 0}function JEe(e){for(const t in e)return!1;return!0}function ZEe(e){return typeof e=="string"&&e.charCodeAt(0)>96}function QEe(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const Qy=NG();function nh(e,t,n=!1){const r={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const o=i;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const a=e[o],s=t[o];if(!s)r[o]=a||{};else if(!a)r[o]=s;else{r[o]={...s};for(const l in a)if(Object.prototype.hasOwnProperty.call(a,l)){const u=l;r[o][u]=nh(a[u],s[u],n)}}}else o==="className"&&n&&t.className?r.className=mt(e?.className,t?.className):o==="style"&&n&&t.style?r.style={...e?.style,...t?.style}:r[o]===void 0&&(r[o]=e[o])}return r}function RG(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:nh(t.components[n].defaultProps,r)}function xG({props:e,name:t,defaultTheme:n,themeId:r}){let i=vC(n);return r&&(i=i[r]||i),RG({theme:i,name:t,props:e})}const ni=typeof window<"u"?m.useLayoutEffect:m.useEffect;function XEe(e,t,n,r,i){const[o,a]=m.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return ni(()=>{if(!n)return;const s=n(e),l=()=>{a(s.matches)};return l(),s.addEventListener("change",l),()=>{s.removeEventListener("change",l)}},[e,n]),o}const eTe={...Ks},LG=eTe.useSyncExternalStore;function tTe(e,t,n,r,i){const o=m.useCallback(()=>t,[t]),a=m.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return o},[o,e,r,i,n]),[s,l]=m.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const c=n(e);return[()=>c.matches,f=>(c.addEventListener("change",f),()=>{c.removeEventListener("change",f)})]},[o,n,e]);return LG(l,s,a)}function OG(e={}){const{themeId:t}=e;return function(r,i={}){let o=gC();o&&t&&(o=o[t]||o);const a=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:s=!1,matchMedia:l=a?window.matchMedia:null,ssrMatchMedia:u=null,noSsr:c=!1}=RG({name:"MuiUseMediaQuery",props:i,theme:o});let f=typeof r=="function"?r(o):r;return f=f.replace(/^@media( ?)/m,""),f.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(` 16`)),(LG!==void 0?tTe:XEe)(f,s,l,u,c)}}OG();function nTe(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function HP(e,t=0,n=1){return nTe(e,t,n)}function rTe(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Hl(e){if(e.type)return e;if(e.charAt(0)==="#")return Hl(rTe(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(_u(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(_u(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const iTe=e=>{const t=Hl(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},hv=(e,t)=>{try{return iTe(e)}catch{return e}};function Xy(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((i,o)=>o<3?parseInt(i,10):i):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n}
16 ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function PG(e){e=Hl(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=(u,c=(u+n/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Xy({type:s,values:l})}function Kx(e){e=Hl(e);let t=e.type==="hsl"||e.type==="hsla"?Hl(PG(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function oTe(e,t){const n=Kx(e),r=Kx(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Qt(e,t){return e=Hl(e),t=HP(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Xy(e)}function Hd(e,t,n){try{return Qt(e,t)}catch{return e}}function ia(e,t){if(e=Hl(e),t=HP(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Xy(e)}function dr(e,t,n){try{return ia(e,t)}catch{return e}}function Br(e,t){if(e=Hl(e),t=HP(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Xy(e)}function fr(e,t,n){try{return Br(e,t)}catch{return e}}function aTe(e,t=.15){return Kx(e)>.5?ia(e,t):Br(e,t)}function qb(e,t,n){try{return aTe(e,t)}catch{return e}}function p6(e,t,n,r=1){const i=(l,u)=>
16Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),o=Hl(e),a=Hl(t),s=[i(o.values[0],a.values[0]),i(o.values[1],a.values[1]),i(o.values[2],a.values[2])];return Xy({type:"rgb",values:s})}const _G=m.createContext(null);function WP(){return m.useContext(_G)}const sTe=typeof Symbol=="function"&&Symbol.for,lTe=sTe?Symbol.for("mui.nested"):"__THEME_NESTED__";function uTe(e,t){return typeof t=="function"?t(e):{...e,...t}}function cTe(e){const{children:t,theme:n}=e,r=WP(),i=m.useMemo(()=>{const o=r===null?{...n}:uTe(r,n);return o!=null&&(o[lTe]=r!==null),o},[n,r]);return b.jsx(_G.Provider,{value:i,children:t})}const DG=m.createContext();function dTe({value:e,...t}){return b.jsx(DG.Provider,{value:e??!0,...t})}const md=()=>m.useContext(DG)??!1,MG=m.createContext(void 0);function fTe({value:e,children:t}){return b.jsx(MG.Provider,{value:e,children:t})}function pTe(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?nh(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?nh(i,r,t.components.mergeClassNameAndStyle):r}function mTe({props:e,name:t}){const n=m.useContext(MG);return pTe({props:e,name:t,theme:{components:n}})}let m6=0;function hTe(e){const[t,n]=m.useState(e),r=e||t;return m.useEffect(()=>{t==null&&(m6+=1,n(`mui-${m6}`))},[t]),r}const gTe={...Ks},h6=gTe.useId;function Rr(e){if(h6!==void 0){const t=h6();return e??t}return hTe(e)}function vTe(e){const t=gC(),n=Rr()||"",{modularCssLayers:r}=e;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||t!==null?i="":typeof r=="string"?i=r.replace(/mui(?!\.)/g,i):i=`@layer ${i};`,ni(()=>{const o=document.querySelector("head");if(!o)return;const a=o.firstChild;if(i){if(a&&a.hasAttribute?.("data-mui-layer-order")&&a.getAttribute("data-mui-layer-order")===n)return;const s=document.createElement("style");s.setAttribute("data-mui-layer-order",n),s.textContent=i,o.prepend(s)}else o.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?b.jsx(TG,{styles:i}):null}const g6={};function v6(e,t,n,r=!1){return m.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const o=n(i),a=e?{...t,[e]:o}:o;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function FG(e){const{children:t,theme:n,themeId:r}=e,i=gC(g6),o=WP()||g6,a=v6(r,i,n),s=v6(r,o,n,!0),l=(r?a[r]:a).direction==="rtl",u=vTe(a);return b.jsx(cTe,{theme:s,children:b.jsx(Yy.Provider,{value:a,children:b.jsx(dTe,{value:l,children:b.jsxs(fTe,{value:r?a[r].components:a.components,children:[u,t]}
16)})})})}const y6={theme:void 0};function yTe(e){let t,n;return function(i){let o=t;return(o===void 0||i.theme!==n)&&(y6.theme=i.theme,o=IG(e(y6)),t=o,n=i.theme),o}}const qP="mode",GP="color-scheme",kTe="data-color-scheme";function bTe(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:i=qP,colorSchemeStorageKey:o=GP,attribute:a=kTe,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let u="",c=a;if(a==="class"&&(c=".%s"),a==="data"&&(c="[data-%s]"),c.startsWith(".")){const p=c.substring(1);u+=`${s}.classList.remove('${p}'.replace('%s', light), '${p}'.replace('%s', dark)); 17 ${s}.classList.add('${p}'.replace('%s', colorScheme));`}const f=c.match(/\[([^[\]]+)\]/);if(f){const[p,v]=f[1].split("=");v||(u+=`${s}.removeAttribute('${p}'.replace('%s', light)); 18 ${s}.removeAttribute('${p}'.replace('%s', dark));`),u+=` 19 ${s}.setAttribute('${p}'.replace('%s', colorScheme), ${v?`${v}.replace('%s', colorScheme)`:'""'});`}else c!==".%s"&&(u+=`${s}.setAttribute('${c}', colorScheme);`);return b.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(function() { 20try { 21 let colorScheme = ''; 22 const mode = localStorage.getItem('${i}') || '${t}'; 23 const dark = localStorage.getItem('${o}-dark') || '${r}'; 24 const light = localStorage.getItem('${o}-light') || '${n}'; 25 if (mode === 'system') { 26 // handle system mode 27 const mql = window.matchMedia('(prefers-color-scheme: dark)'); 28 if (mql.matches) { 29 colorScheme = dark 30 } else { 31 colorScheme = light 32 } 33 } 34 if (mode === 'light') { 35 colorScheme = light; 36 } 37 if (mode === 'dark') { 38 colorScheme = dark; 39 } 40 if (colorScheme) { 41 ${u} 42 } 43} catch(e){}})();`}},"mui-color-scheme-init")}function STe(){}const ETe=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(n){if(typeof window>"u")return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return STe;const r=i=>{const o=i.newValue;i.key===e&&n(o)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function pN(){}function k6(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function UG(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function TTe(e){return UG(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function CTe(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:o=qP,colorSchemeStorageKey:a=GP,storageWindow:s=typeof window>"u"?void 0:window,storageManager:l=ETe,noSsr:u=!1}=e,c=i.join(","),f=i.length>1,p=m.useMemo(()=>l?.({key:o,storageWindow:s}),[l,o,s]),v=m.useMemo(()=>l?.({key:`${a}-light`,storageWindow:s}),[l,a,s]),g=m.useMemo(()=>l?.({key:`${a}-dark`,storageWindow:s}),[l,a,s]),[y,k]=m.useState(()=>{const x=p?.get(t)||t,D=v?.get(n)||n,M=g?.get(r)||r;return{mode:x,systemMode:k6(x),lightColorScheme:D,darkColorScheme:M}}),[E,S]=m.useState(u||!f);m.useEffect(()=>{S(!0)},[]);const T=TTe(y),I=m.useCallback(x=>{k(D=>{if(x===D.mode)return D;const M=x??t;return p?.set(M),{...D,mode:M,systemMode:k6(M)}})},[p,t]),A=m.useCallback(x=>{x?typeof x=="string"?x&&!c.includes(x)?console.error(`\`${x}\` does not exist in \`theme.colorSchemes\`.`):k(D=>{const M={...D};return UG(D,F=>{F==="light"&&(v?.set(x),M.lightColorScheme=x),F==="dark"&&(g?.set(x),M.darkColorScheme=x)}),M}):k(D=>{const M={...D},F=x.light===null?n:x.light,L=x.dark===null?r:x.dark;return F&&(c.includes(F)?(M.lightColorScheme=F,v?.set(F)):console.error(`\`${F}\` does not exist in \`theme.colorSchemes\`.`)),L&&(c.includes(L)?(M.darkColorScheme=L,g?.set(L)):console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`)),M}):k(D=>(v?.set(n),g?.set(r),{...D,lightColorScheme:n,darkColorScheme:r}))},[c,v,g,n,r]),w=m.useCallback(x=>{y.mode==="system"&&k(D=>
43{const M=x?.matches?"dark":"light";return D.systemMode===M?D:{...D,systemMode:M}})},[y.mode]),R=m.useRef(w);return R.current=w,m.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;const x=(...M)=>R.current(...M),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(x),x(D),()=>{D.removeListener(x)}},[f]),m.useEffect(()=>{if(f){const x=p?.subscribe(F=>{(!F||["light","dark","system"].includes(F))&&I(F||t)})||pN,D=v?.subscribe(F=>{(!F||c.match(F))&&A({light:F})})||pN,M=g?.subscribe(F=>{(!F||c.match(F))&&A({dark:F})})||pN;return()=>{x(),D(),M()}}},[A,I,c,t,s,f,p,v,g]),{...y,mode:E?y.mode:void 0,systemMode:E?y.systemMode:void 0,colorScheme:E?T:void 0,setMode:I,setColorScheme:A}}const ATe="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ITe(e){const{themeId:t,theme:n={},modeStorageKey:r=qP,colorSchemeStorageKey:i=GP,disableTransitionOnChange:o=!1,defaultColorScheme:a,resolveTheme:s}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=m.createContext(void 0),c=()=>m.useContext(u)||l,f={},p={};function v(E){const{children:S,theme:T,modeStorageKey:I=r,colorSchemeStorageKey:A=i,disableTransitionOnChange:w=o,storageManager:R,storageWindow:x=typeof window>"u"?void 0:window,documentNode:D=typeof document>"u"?void 0:document,colorSchemeNode:M=typeof document>"u"?void 0:document.documentElement,disableNestedContext:F=!1,disableStyleSheetGeneration:L=!1,defaultMode:P="system",forceThemeRerender:j=!1,noSsr:B}=E,H=m.useRef(!1),G=WP(),O=m.useContext(u),V=!!O&&!F,W=m.useMemo(()=>T||(typeof n=="function"?n():n),[T]),U=W[t],q=U||W,{colorSchemes:$=f,components:J=p,cssVarPrefix:Z}=q,Y=Object.keys($).filter(ke=>!!$[ke]).join(","),ee=m.useMemo(()=>Y.split(","),[Y]),te=typeof a=="string"?a:a.light,ce=typeof a=="string"?a:a.dark,ne=$[te]&&$[ce]?P:$[q.defaultColorScheme]?.palette?.mode||q.palette?.mode,{mode:Ce,setMode:ae,systemMode:pe,lightColorScheme:ve,darkColorScheme:Se,colorScheme:De,setColorScheme:Ee}=CTe({supportedColorSchemes:ee,defaultLightColorScheme:te,defaultDarkColorScheme:ce,modeStorageKey:I,colorSchemeStorageKey:A,defaultMode:ne,storageManager:R,storageWindow:x,noSsr:B});let ye=Ce,Pe=De;V&&(ye=O.mode,Pe=O.colorScheme);let Me=Pe||q.defaultColorScheme;q.vars&&!j&&(Me=q.defaultColorScheme);const Qe=m.useMemo(()=>{const ke=q.generateThemeVars?.()||q.vars,ue={...q,components:J,colorSchemes:$,cssVarPrefix:Z,vars:ke};if(typeof ue.generateSpacing=="function"&&(ue.spacing=ue.generateSpacing()),Me){const ze=$[Me];ze&&typeof ze=="object"&&Object.keys(ze).forEach(et=>{ze[et]&&typeof ze[et]=="object"?ue[et]={...ue[et],...ze[et]}:ue[et]=ze[et]})}return s?s(ue):ue},[q,Me,J,$,Z]),Fe=q.colorSchemeSelector;ni(()=>{if(Pe&&M&&Fe&&Fe!=="media"){const ke=Fe;let ue=Fe;if(ke==="class"&&(ue=".%s"),ke==="data"&&(ue="[data-%s]"),ke?.startsWith("data-")&&!ke.includes("%s")&&(ue=`[${ke}="%s"]`),ue.startsWith("."))M.classList.remove(...ee.map(ze=>ue.substring(1).replace("%s",ze))),M.classList.add(ue.substring(1).replace("%s",Pe));else{const ze=ue.replace("%s",Pe).match(/\[([^\]]+)\]/);if(ze){const[et,lt]=ze[1].split("=");lt||ee.forEach(xe=>{M.removeAttribute(et.replace(Pe,xe))}),M.setAttribute(et,lt?lt.replace(/"|'/g,""):"")}else M.setAttribute(ue,Pe)}}},[Pe,Fe,M,ee]),m.useEffect(()=>{let ke;if(w&&H.current&&D){const ue=D.createElement("style");ue.appendChild(D.createTextNode(ATe)),D.head.appendChild(ue),window.getComputedStyle(D.body),ke=setTimeout(()=>{D.head.removeChild(ue)},1)}return()=>{clearTimeout(ke)}},[Pe,w,D]),m.useEffect(()=>(H.current=!0,()=>{H.current=!1}),[]);const Ve=m.useMemo(()=>({allColorSchemes:ee,colorScheme:Pe,darkColorScheme:Se,lightColorScheme:ve,mode:ye,setColorScheme:Ee,setMode:ae,systemMode:pe}),[ee,Pe,Se,ve,ye,Ee,ae,pe,Qe.colorSchemeSelector]);let be=!0;(L||q.cssVariables===!1||V&&G?.cssVarPrefix===Z)&&(be=!1);const Ae=b.jsxs(m.Fragment,{children:[b.jsx(FG,{themeId:U?t:void 0,theme:Qe,children:S}),be&&b.jsx(gG,{styles:Qe.generateStyleSheets?.()||[]})]});return V?Ae:b.jsx(u.Provider,{value:Ve,children:Ae})}
43const g=typeof a=="string"?a:a.light,y=typeof a=="string"?a:a.dark;return{CssVarsProvider:v,useColorScheme:c,getInitColorSchemeScript:E=>bTe({colorSchemeStorageKey:i,defaultLightColorScheme:g,defaultDarkColorScheme:y,modeStorageKey:r,...E})}}function wTe(e=""){function t(...r){if(!r.length)return"";const i=r[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${i}${t(...r.slice(1))})`:`, ${i}`}return(r,...i)=>`var(--${e?`${e}-`:""}${r}${t(...i)})`}const b6=(e,t,n,r=[])=>{let i=e;t.forEach((o,a)=>{a===t.length-1?Array.isArray(i)?i[Number(o)]=n:i&&typeof i=="object"&&(i[o]=n):i&&typeof i=="object"&&(i[o]||(i[o]=r.includes(o)?[]:{}),i=i[o])})},NTe=(e,t,n)=>{function r(i,o=[],a=[]){Object.entries(i).forEach(([s,l])=>{(!n||n&&!n([...o,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...o,s],Array.isArray(l)?[...a,s]:a):t([...o,s],l,a))})}r(e)},RTe=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function mN(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},o={},a={};return NTe(e,(s,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(s,l))){const c=`--${n?`${n}-`:""}${s.join("-")}`,f=RTe(s,l);Object.assign(i,{[c]:f}),b6(o,s,`var(${c})`,u),b6(a,s,`var(${c}, ${f})`,u)}},s=>s[0]==="vars"),{css:i,vars:o,varsWithDefaults:a}}function xTe(e,t={}){const{getSelector:n=E,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:o}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...u}=e,{vars:c,css:f,varsWithDefaults:p}=mN(u,t);let v=p;const g={},{[l]:y,...k}=a;if(Object.entries(k||{}).forEach(([I,A])=>{const{vars:w,css:R,varsWithDefaults:x}=mN(A,t);v=oo(v,x),g[I]={css:R,vars:w}}),y){const{css:I,vars:A,varsWithDefaults:w}=mN(y,t);v=oo(v,w),g[l]={css:I,vars:A}}function E(I,A){let w=i;if(i==="class"&&(w=".%s"),i==="data"&&(w="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(w=`[${i}="%s"]`),I){if(w==="media")return e.defaultColorScheme===I?":root":{[`@media (prefers-color-scheme: ${a[I]?.palette?.mode||I})`]:{":root":A}};if(w)return e.defaultColorScheme===I?`:root, ${w.replace("%s",String(I))}`:w.replace("%s",String(I))}return":root"}return{vars:v,generateThemeVars:()=>{let I={...c};return Object.entries(g).forEach(([,{vars:A}])=>{I=oo(I,A)}),I},generateStyleSheets:()=>{const I=[],A=e.defaultColorScheme||"light";
43function w(D,M){Object.keys(M).length&&I.push(typeof D=="string"?{[D]:{...M}}:D)}w(n(void 0,{...f}),f);const{[A]:R,...x}=g;if(R){const{css:D}=R,M=a[A]?.palette?.mode,F=!r&&M?{colorScheme:M,...D}:{...D};w(n(A,{...F}),F)}return Object.entries(x).forEach(([D,{css:M}])=>{const F=a[D]?.palette?.mode,L=!r&&F?{colorScheme:F,...M}:{...M};w(n(D,{...L}),L)}),o&&I.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),I}}}function LTe(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function Dt(e,t,n=void 0){const r={};for(const i in e){const o=e[i];let a="",s=!0;for(let l=0;l<o.length;l+=1){const u=o[l];u&&(a+=(s===!0?"":" ")+t(u),s=!1,n&&n[u]&&(a+=" "+n[u]))}r[i]=a}return r}function hN(e,t){return m.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const OTe=hC(),PTe=Qy("div",{name:"MuiStack",slot:"Root"});function _Te(e){return xG({props:e,name:"MuiStack",defaultTheme:OTe})}function DTe(e,t){const n=m.Children.toArray(e).filter(Boolean);return n.reduce((r,i,o)=>(r.push(i),o<n.length-1&&r.push(m.cloneElement(t,{key:`separator-${o}`})),r),[])}const MTe=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],FTe=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Zs({theme:t},cN({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=uC(t),i=Object.keys(t.breakpoints.values).reduce((l,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(l[u]=!0),l),{}),o=cN({values:e.direction,base:i}),a=cN({values:e.spacing,base:i});typeof o=="object"&&Object.keys(o).forEach((l,u,c)=>{if(!o[l]){const p=u>0?o[c[u-1]]:"column";o[l]=p}}),n=oo(n,Zs({theme:t},a,(l,u)=>e.useFlexGap?{gap:jf(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${MTe(u?o[u]:e.direction)}`]:jf(r,l)}}))}return n=QSe(t.breakpoints,n),n};function UTe(e={}){const{createStyledComponent:t=PTe,useThemeProps:n=_Te,componentName:r="MuiStack"}=e,i=()=>Dt({root:["root"]},l=>en(r,l),{}),o=t(FTe);return m.forwardRef(function(l,u){const c=n(l),f=zP(c),{component:p="div",direction:v="column",spacing:g=0,divider:y,children:k,className:E,useFlexGap:S=!1,...T}=f,I={direction:v,spacing:g,useFlexGap:S},A=i();return b.jsx(o,{as:p,ownerState:I,ref:u,className:mt(A.root,E),...T,children:y?DTe(k,y):k})})}function VG(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:oy.white,default:oy.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const BG=VG();function jG(){return{text:{primary:oy.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:oy.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Yx=jG();function S6(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Br(e.main,i):t==="dark"&&(e.dark=ia(e.main,o)))}function E6(e,t,n,r,i){const o=i.light||i,a=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(o*100).toFixed(0)}%)`:n==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function VTe(e="light"){return e==="dark"?{main:zp[200],light:zp[50],dark:zp[400]}:{main:zp[700],light:zp[400],dark:zp[800]}}function BTe(e="light"){return e==="dark"?{main:jp[200],light:jp[50],dark:jp[400]}:{main:jp[500],light:jp[300],dark:jp[700]}}function jTe(e="light"){return e==="dark"?{main:Bp[500],light:Bp[300],dark:Bp[700]}:{main:Bp[700],light:Bp[400],dark:Bp[800]}}function zTe(e="light"){return e==="dark"?{main:Hp[400],light:Hp[300],dark:Hp[700]}:{main:Hp[700],light:Hp[500],dark:Hp[900]}}function HTe(e="light"){return e==="dark"?{main:Wp[400],light:Wp[300],dark:Wp[700]}:{main:Wp[800],light:Wp[500],dark:Wp[900]}}function WTe(e="light"){return e==="dark"?{main:Vg[400],light:Vg[300],dark:Vg[700]}:{main:"#ed6c02",light:Vg[500],dark:Vg[900]}}function qTe(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function KP(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...o}=e,a=e.primary||VTe(t),s=e.secondary||BTe(t),l=e.error||jTe(t),u=e.info||zTe(t),c=e.success||HTe(t),f=e.warning||WTe(t);function p(k){return i?qTe(k):oTe(k,Yx.text.primary)>=n?Yx.text.primary:BG.text.primary}const v=({color:k,name:E,mainShade:S=500,lightShade:T=300,darkShade:I=700})=>{if(k={...k},!k.main&&k[S]&&(k.main=k[S]),!k.hasOwnProperty("main"))throw new Error(_u(11,E?` (${E})`:"",S));if(typeof k.main!="string")throw new Error(_u(12,E?` (${E})`:"",JSON.stringify(k.main)));return i?(E6(i,k,"light",T,r),E6(i,k,"dark",I,r)):(S6(k,"light",T,r),S6(k,"dark",I,r)),k.contrastText||(k.contrastText=p(k.main)),k};let g;return t==="light"?g=VG():t==="dark"&&(g=jG()),oo({common:{...oy},mode:t,primary:v({color:a,name:"primary"}
43),secondary:v({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:l,name:"error"}),warning:v({color:f,name:"warning"}),info:v({color:u,name:"info"}),success:v({color:c,name:"success"}),grey:H0e,contrastThreshold:n,getContrastText:p,augmentColor:v,tonalOffset:r,...g},o)}function GTe(e){const t={};return Object.entries(e).forEach(r=>{const[i,o]=r;typeof o=="object"&&(t[i]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),t}function KTe(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function YTe(e){return Math.round(e*1e5)/1e5}const T6={textTransform:"uppercase"},C6='"Roboto", "Helvetica", "Arial", sans-serif';function zG(e,t){const{fontFamily:n=C6,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:o=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:u,pxToRem:c,...f}=typeof t=="function"?t(e):t,p=r/14,v=c||(k=>`${k/l*p}rem`),g=(k,E,S,T,I)=>({fontFamily:n,fontWeight:k,fontSize:v(E),lineHeight:S,...n===C6?{letterSpacing:`${YTe(T/E)}em`}:{},...I,...u}),y={h1:g(i,96,1.167,-1.5),h2:g(i,60,1.2,-.5),h3:g(o,48,1.167,0),h4:g(o,34,1.235,.25),h5:g(o,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(o,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(o,16,1.5,.15),body2:g(o,14,1.43,.15),button:g(a,14,1.75,.4,T6),caption:g(o,12,1.66,.4),overline:g(o,12,2.66,1,T6),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return oo({htmlFontSize:l,pxToRem:v,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:o,fontWeightMedium:a,fontWeightBold:s,...y},f,{clone:!1})}const $Te=.2,JTe=.14,ZTe=.12;function Vr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$Te})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${JTe})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ZTe})`].join(",")}const QTe=["none",Vr(0,2,1,-1,0,1,1,0,0,1,3,0),Vr(0,3,1,-2,0,2,2,0,0,1,5,0),Vr(0,3,3,-2,0,3,4,0,0,1,8,0),Vr(0,2,4,-1,0,4,5,0,0,1,10,0),Vr(0,3,5,-1,0,5,8,0,0,1,14,0),Vr(0,3,5,-1,0,6,10,0,0,1,18,0),Vr(0,4,5,-2,0,7,10,1,0,2,16,1),Vr(0,5,5,-3,0,8,10,1,0,3,14,2),Vr(0,5,6,-3,0,9,12,1,0,3,16,2),Vr(0,6,6,-3,0,10,14,1,0,4,18,3),Vr(0,6,7,-4,0,11,15,1,0,4,20,3),Vr(0,7,8,-4,0,12,17,2,0,5,22,4),Vr(0,7,8,-4,0,13,19,2,0,5,24,4),Vr(0,7,9,-4,0,14,21,2,0,5,26,4),Vr(0,8,9,-5,0,15,22,2,0,6,28,5),Vr(0,8,10,-5,0,16,24,2,0,6,30,5),Vr(0,8,11,-5,0,17,26,2,0,6,32,5),Vr(0,9,11,-5,0,18,28,2,0,7,34,6),Vr(0,9,12,-6,0,19,29,2,0,7,36,6),Vr(0,10,13,-6,0,20,31,3,0,8,38,7),Vr(0,10,13,-6,0,21,33,3,0,8,40,7),Vr(0,10,14,-6,0,22,35,3,0,8,42,7),Vr(0,11,14,-7,0,23,36,3,0,9,44,8),Vr(0,11,15,-7,0,24,38,3,0,9,46,8)],XTe={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},HG={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function A6(e){return`${Math.round(e)}ms`}function eCe(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function tCe(e){const t={...XTe,...e.easing},n={...HG,...e.duration};return{getAutoHeightDuration:eCe,create:(i=["all"],o={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:l=0,...u}=o;return(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof a=="string"?a:A6(a)} ${s} ${typeof l=="string"?l:A6(l)}`).join(",")},...e,easing:t,duration:n}}const nCe={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function rCe(e){return Ol(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function WG(e={}){const t={...e};function n(r){const i=Object.entries(r);for(let o=0;o<i.length;o++){const[a,s]=i[o];!rCe(s)||a.startsWith("unstable_")?delete r[a]:Ol(s)&&(r[a]={...s},n(r[a]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles'; 44 45const theme = ${JSON.stringify(t,null,2)}; 46 47theme.breakpoints = createBreakpoints(theme.breakpoints || {}); 48theme.transitions = createTransitions(theme.transitions || {}); 49 50export default theme;`}function I6(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const iCe=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let r=0;r<t.length;r+=1)n+=+t[r];return n};function oCe(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n=="string"?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof n=="string"?`calc(${n})`:n})`:Qt(t,iCe(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${I6(n)})`:Br(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${I6(n)})`:ia(t,n)}})}function $x(e={},...t){const{breakpoints:n,mixins:r={},spacing:i,palette:o={},transitions:a={},typography:s={},shape:l,colorSpace:u,...c}=e;
50if(e.vars&&e.generateThemeVars===void 0)throw new Error(_u(20));const f=KP({...o,colorSpace:u}),p=hC(e);let v=oo(p,{mixins:KTe(p.breakpoints,r),palette:f,shadows:QTe.slice(),typography:zG(f,s),transitions:tCe(a),zIndex:{...nCe}});return v=oo(v,c),v=t.reduce((g,y)=>oo(g,y),v),v.unstable_sxConfig={...Zy,...c?.unstable_sxConfig},v.unstable_sx=function(y){return Xc({sx:y,theme:this})},v.toRuntimeSource=WG,oCe(v),v}function Jx(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const aCe=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Jx(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function qG(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function GG(e){return e==="dark"?aCe:[]}function sCe(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:i,...o}=e,a=KP({...t,colorSpace:i});return{palette:a,opacity:{...qG(a.mode),...n},overlays:r||GG(a.mode),...o}}function lCe(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const uCe=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],cCe=e=>(t,n)=>{const r=e.rootSelector||":root",i=e.colorSchemeSelector;let o=i;if(i==="class"&&(o=".%s"),i==="data"&&(o="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(o=`[${i}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return uCe(e.cssVarPrefix).forEach(s=>{a[s]=n[s],delete n[s]}),o==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:a}}:o?{[o.replace("%s",t)]:a,[`${r}, ${o.replace("%s",t)}`]:n}:{[r]:{...n,...a}}}if(o&&o!=="media")return`${r}, ${o.replace("%s",String(t))}`}else if(t){if(o==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(o)return o.replace("%s",String(t))}return r};function dCe(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Ze(e,t,n){!e[t]&&n&&(e[t]=n)}function gv(e){return typeof e!="string"||!e.startsWith("hsl")?e:PG(e)}function mu(e,t){`${t}Channel`in e||(e[`${t}Channel`]=hv(gv(e[t])))}function fCe(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const vl=e=>{try{return e()}catch{}},pCe=(e="mui")=>wTe(e);function gN(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;const o=i==="dark"?"dark":"light";if(!r){t[i]=sCe({...n,palette:{mode:o,...n?.palette},colorSpace:e});return}const{palette:a,...s}=$x({...r,palette:{mode:o,...n?.palette},colorSpace:e});return t[i]={...n,palette:a,opacity:{...qG(o),...n?.opacity},overlays:n?.overlays||GG(o)},s}function mCe(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:o="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=lCe,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,rootSelector:u=":root",...c}=e,f=Object.keys(n)[0],p=r||(n.light&&f!=="light"?"light":f),v=pCe(o),{[p]:g,light:y,dark:k,...E}=n,S={...E};let T=g;if((p==="dark"&&!("dark"in n)||p==="light"&&!("light"in n))&&(T=!0),!T)throw new Error(_u(21,p));let I;a&&(I="oklch");const A=gN(I,S,T,c,p);y&&!S.light&&gN(I,S,y,void 0,"light"),k&&!S.dark&&gN(I,S,k,void 0,"dark");let w={defaultColorScheme:p,...A,cssVarPrefix:o,colorSchemeSelector:l,rootSelector:u,getCssVar:v,colorSchemes:S,font:{...GTe(A.typography),...A.font},spacing:fCe(c.spacing)};Object.keys(w.colorSchemes).forEach(F=>{const L=w.colorSchemes[F].palette,P=B=>{const H=B.split("-"),G=H[1],O=H[2];return v(B,L[G][O])};L.mode==="light"&&(Ze(L.common,"background","#fff"),Ze(L.common,"onBackground","#000")),L.mode==="dark"&&(Ze(L.common,"background","#000"),Ze(L.common,"onBackground","#fff"));function j(B,H,G){if(I){let O;return B===Hd&&(O=`transparent ${((1-G)*100).toFixed(0)}%`),B===dr&&(O=`#000 ${(G*100).toFixed(0)}%`),B===fr&&(O=`#fff ${(G*100).toFixed(0)}%`),`color-mix(in ${I}, ${H}, ${O})`}return B(H,G)}if(dCe(L,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),L.mode==="light"){Ze(L.Alert,"errorColor",j(dr,L.error.light,.6)),Ze(L.Alert,"infoColor",j(dr,L.info.light,.6)),Ze(L.Alert,"successColor",j(dr,L.success.light,.6)),Ze(L.Alert,"warningColor",j(dr,L.warning.light,.6)),Ze(L.Alert,"errorFilledBg",P("palette-error-main")),Ze(L.Alert,"infoFilledBg",P("palette-info-main")),Ze(L.Alert,"successFilledBg",P("palette-success-main")),Ze(L.Alert,"warningFilledBg",P("palette-warning-main")),Ze(L.Alert,"errorFilledColor",vl(()=>L.getContrastText(L.error.main))),Ze(L.Alert,"infoFilledColor",vl(()=>L.getContrastText(L.info.main))),Ze(L.Alert,"successFilledColor",vl(()=>L.getContrastText(L.success.main))),Ze(L.Alert,"warningFilledColor",vl(()=>L.getContrastText(L.warning.main))),Ze(L.Alert,"errorStandardBg",j(fr,L.error.light,.9)),Ze(L.Alert,"infoStandardBg",j(fr,L.info.light,.9)),Ze(L.Alert,"successStandardBg",j(fr,L.success.light,.9)),Ze(L.Alert,"warningStandardBg",j(fr,L.warning.light,.9)),Ze(L.Alert,"errorIconColor",P("palette-error-main")),Ze(L.Alert,"infoIconColor",P("palette-info-main")),Ze(L.Alert,"successIconColor",P("palette-success-main")),Ze(L.Alert,"warningIconColor",P("palette-warning-main")),Ze(L.AppBar,"defaultBg",P("palette-grey-100")),Ze(L.Avatar,"defaultBg",P("palette-grey-400")),Ze(L.Button,"inheritContainedBg",P("palette-grey-300")),Ze(L.Button,"inheritContainedHoverBg",P("palette-grey-A100")),Ze(L.Chip,"defaultBorder",P("palette-grey-400")),Ze(L.Chip,"defaultAvatarColor",P("palette-grey-700")),Ze(L.Chip,"defaultIconColor",P("palette-grey-700")),Ze(L.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ze(L.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ze(L.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ze(L.LinearProgress,"primaryBg",j(fr,L.primary.main,.62)),Ze(L.LinearProgress,"secondaryBg",j(fr,L.secondary.main,.62)),Ze(L.LinearProgress,"errorBg",j(fr,L.error.main,.62)),Ze(L.LinearProgress,"infoBg",j(fr,L.info.main,.62)),Ze(L.LinearProgress,"successBg",j(fr,L.success.main,.62)),Ze(L.LinearProgress,"warningBg",j(fr,L.warning.main,.62)),Ze(L.Skeleton,"bg",I?j(Hd,L.text.primary,.11):`rgba(${P("palette-text-primaryChannel")}
50 / 0.11)`),Ze(L.Slider,"primaryTrack",j(fr,L.primary.main,.62)),Ze(L.Slider,"secondaryTrack",j(fr,L.secondary.main,.62)),Ze(L.Slider,"errorTrack",j(fr,L.error.main,.62)),Ze(L.Slider,"infoTrack",j(fr,L.info.main,.62)),Ze(L.Slider,"successTrack",j(fr,L.success.main,.62)),Ze(L.Slider,"warningTrack",j(fr,L.warning.main,.62));const B=I?j(dr,L.background.default,.6825):qb(L.background.default,.8);Ze(L.SnackbarContent,"bg",B),Ze(L.SnackbarContent,"color",vl(()=>I?Yx.text.primary:L.getContrastText(B))),Ze(L.SpeedDialAction,"fabHoverBg",qb(L.background.paper,.15)),Ze(L.StepConnector,"border",P("palette-grey-400")),Ze(L.StepContent,"border",P("palette-grey-400")),Ze(L.Switch,"defaultColor",P("palette-common-white")),Ze(L.Switch,"defaultDisabledColor",P("palette-grey-100")),Ze(L.Switch,"primaryDisabledColor",j(fr,L.primary.main,.62)),Ze(L.Switch,"secondaryDisabledColor",j(fr,L.secondary.main,.62)),Ze(L.Switch,"errorDisabledColor",j(fr,L.error.main,.62)),Ze(L.Switch,"infoDisabledColor",j(fr,L.info.main,.62)),Ze(L.Switch,"successDisabledColor",j(fr,L.success.main,.62)),Ze(L.Switch,"warningDisabledColor",j(fr,L.warning.main,.62)),Ze(L.TableCell,"border",j(fr,j(Hd,L.divider,1),.88)),Ze(L.Tooltip,"bg",j(Hd,L.grey[700],.92))}if(L.mode==="dark"){Ze(L.Alert,"errorColor",j(fr,L.error.light,.6)),Ze(L.Alert,"infoColor",j(fr,L.info.light,.6)),Ze(L.Alert,"successColor",j(fr,L.success.light,.6)),Ze(L.Alert,"warningColor",j(fr,L.warning.light,.6)),Ze(L.Alert,"errorFilledBg",P("palette-error-dark")),Ze(L.Alert,"infoFilledBg",P("palette-info-dark")),Ze(L.Alert,"successFilledBg",P("palette-success-dark")),Ze(L.Alert,"warningFilledBg",P("palette-warning-dark")),Ze(L.Alert,"errorFilledColor",vl(()=>L.getContrastText(L.error.dark))),Ze(L.Alert,"infoFilledColor",vl(()=>L.getContrastText(L.info.dark))),Ze(L.Alert,"successFilledColor",vl(()=>L.getContrastText(L.success.dark))),Ze(L.Alert,"warningFilledColor",vl(()=>L.getContrastText(L.warning.dark))),Ze(L.Alert,"errorStandardBg",j(dr,L.error.light,.9)),Ze(L.Alert,"infoStandardBg",j(dr,L.info.light,.9)),Ze(L.Alert,"successStandardBg",j(dr,L.success.light,.9)),Ze(L.Alert,"warningStandardBg",j(dr,L.warning.light,.9)),Ze(L.Alert,"errorIconColor",P("palette-error-main")),Ze(L.Alert,"infoIconColor",P("palette-info-main")),Ze(L.Alert,"successIconColor",P("palette-success-main")),Ze(L.Alert,"warningIconColor",P("palette-warning-main")),Ze(L.AppBar,"defaultBg",P("palette-grey-900")),Ze(L.AppBar,"darkBg",P("palette-background-paper")),Ze(L.AppBar,"darkColor",P("palette-text-primary")),Ze(L.Avatar,"defaultBg",P("palette-grey-600")),Ze(L.Button,"inheritContainedBg",P("palette-grey-800")),Ze(L.Button,"inheritContainedHoverBg",P("palette-grey-700")),Ze(L.Chip,"defaultBorder",P("palette-grey-700")),Ze(L.Chip,"defaultAvatarColor",P("palette-grey-300")),Ze(L.Chip,"defaultIconColor",P("palette-grey-300")),Ze(L.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ze(L.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ze(L.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ze(L.LinearProgress,"primaryBg",j(dr,L.primary.main,.5)),Ze(L.LinearProgress,"secondaryBg",j(dr,L.secondary.main,.5)),Ze(L.LinearProgress,"errorBg",j(dr,L.error.main,.5)),Ze(L.LinearProgress,"infoBg",j(dr,L.info.main,.5)),Ze(L.LinearProgress,"successBg",j(dr,L.success.main,.5)),Ze(L.LinearProgress,"warningBg",j(dr,L.warning.main,.5)),Ze(L.Skeleton,"bg",I?j(Hd,L.text.primary,.13):`rgba(${P("palette-text-primaryChannel")} / 0.13)`),Ze(L.Slider,"primaryTrack",j(dr,L.primary.main,.5)),Ze(L.Slider,"secondaryTrack",j(dr,L.secondary.main,.5)),Ze(L.Slider,"errorTrack",j(dr,L.error.main,.5)),Ze(L.Slider,"infoTrack",j(dr,L.info.main,.5)),Ze(L.Slider,"successTrack",j(dr,L.success.main,.5)),Ze(L.Slider,"warningTrack",j(dr,L.warning.main,.5));const B=I?j(fr,L.background.default,.985):qb(L.background.default,.98);Ze(L.SnackbarContent,"bg",B),Ze(L.SnackbarContent,"color",vl(()=>I?BG.text.primary:L.getContrastText(B))),Ze(L.SpeedDialAction,"fabHoverBg",qb(L.background.paper,.15)),Ze(L.StepConnector,"border",P("palette-grey-600")),Ze(L.StepContent,"border",P("palette-grey-600")),Ze(L.Switch,"defaultColor",P("palette-grey-300")),Ze(L.Switch,"defaultDisabledColor",P("palette-grey-600")),Ze(L.Switch,"primaryDisabledColor",j(dr,L.primary.main,.55)),Ze(L.Switch,"secondary
50DisabledColor",j(dr,L.secondary.main,.55)),Ze(L.Switch,"errorDisabledColor",j(dr,L.error.main,.55)),Ze(L.Switch,"infoDisabledColor",j(dr,L.info.main,.55)),Ze(L.Switch,"successDisabledColor",j(dr,L.success.main,.55)),Ze(L.Switch,"warningDisabledColor",j(dr,L.warning.main,.55)),Ze(L.TableCell,"border",j(dr,j(Hd,L.divider,1),.68)),Ze(L.Tooltip,"bg",j(Hd,L.grey[700],.92))}mu(L.background,"default"),mu(L.background,"paper"),mu(L.common,"background"),mu(L.common,"onBackground"),mu(L,"divider"),Object.keys(L).forEach(B=>{const H=L[B];B!=="tonalOffset"&&H&&typeof H=="object"&&(H.main&&Ze(L[B],"mainChannel",hv(gv(H.main))),H.light&&Ze(L[B],"lightChannel",hv(gv(H.light))),H.dark&&Ze(L[B],"darkChannel",hv(gv(H.dark))),H.contrastText&&Ze(L[B],"contrastTextChannel",hv(gv(H.contrastText))),B==="text"&&(mu(L[B],"primary"),mu(L[B],"secondary")),B==="action"&&(H.active&&mu(L[B],"active"),H.selected&&mu(L[B],"selected")))})}),w=t.reduce((F,L)=>oo(F,L),w);const R={prefix:o,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:cCe(w),enableContrastVars:a},{vars:x,generateThemeVars:D,generateStyleSheets:M}=xTe(w,R);return w.vars=x,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([F,L])=>{w[F]=L}),w.generateThemeVars=D,w.generateStyleSheets=M,w.generateSpacing=function(){return EG(c.spacing,uC(this))},w.getColorSchemeSelector=LTe(l),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=s,w.unstable_sxConfig={...Zy,...c?.unstable_sxConfig},w.unstable_sx=function(L){return Xc({sx:L,theme:this})},w.toRuntimeSource=WG,w}function w6(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:KP({...n===!0?{}:n.palette,mode:t})})}function yC(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:o=n?.mode,...a}=e,s=o||"light",l=i?.[s],u={...i,...n?{[s]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return $x(e,...t);let c=n;"palette"in e||u[s]&&(u[s]!==!0?c=u[s].palette:s==="dark"&&(c={mode:"dark"}));const f=$x({...e,palette:c},...t);return f.defaultColorScheme=s,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},w6(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},w6(f,"light",u.light)),f}return!n&&!("light"in u)&&s==="light"&&(u.light=!0),mCe({...a,colorSchemes:u,defaultColorScheme:s,...typeof r!="boolean"&&r},...t)}function hCe(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function gCe(e){return parseFloat(e)}const kC=yC();function ga(){const e=vC(kC);return e[gs]||e}function vCe({props:e,name:t}){return xG({props:e,name:t,defaultTheme:kC,themeId:gs})}function KG(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Wo=e=>KG(e)&&e!=="classes",$e=NG({themeId:gs,defaultTheme:kC,rootShouldForwardProp:Wo});function yCe({theme:e,...t}){const n=gs in e?e[gs]:void 0;return b.jsx(FG,{...t,themeId:n?gs:void 0,theme:n||e})}const Gb={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:kCe}=ITe({themeId:gs,theme:()=>yC({cssVariables:!0}),colorSchemeStorageKey:Gb.colorSchemeStorageKey,modeStorageKey:Gb.modeStorageKey,defaultColorScheme:{light:Gb.defaultLightColorScheme,dark:Gb.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:zG(e.palette,e.typography)};return t.unstable_sx=function(r){return Xc({sx:r,theme:this})},t}}),bCe=kCe;function SCe({theme:e,...t}){const n=m.useMemo(()=>{if(typeof e=="function")return e;const r=gs in e?e[gs]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return n?b.jsx(yCe,{theme:n,...t}):b.jsx(bCe,{theme:e,...t})}function N6(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function aE(e){return b.jsx(TG,{...e,defaultTheme:kC,themeId:gs})}function YP(e){return function(n){return b.jsx(aE,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function ECe(){return zP}const dn=yTe;function an(e){return mTe(e)}function TCe(e){return en("MuiSvgIcon",e)}const fS=tn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]),CCe=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${it(t)}`,`fontSize${it(n)}`]};return Dt(i,TCe,r)},ACe=$e("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${it(n.color)}`],t[`fontSize${it(n.fontSize)}`]]}})(dn(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),rn=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:p="0 0 24 24",...v}=r,g=m.isValidElement(i)&&i.type==="svg",y={...r,color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:p,hasSvgAsChild:g},k={};c||(k.viewBox=p);const E=CCe(y);return b.jsxs(ACe,{as:s,className:mt(E.root,o),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...k,...v,...g&&i.props,ownerState:y,children:[g?i.props.children:i,f?b.jsx("title",{children:f}):null]})});rn.muiName="SvgIcon";function hd(e,t){function n(r,i){return b.jsx(rn,{"data-testid":void 0,ref:i,...r,children:e})}return n.muiName=rn.muiName,m.memo(m.forwardRef(n))}function bC(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function xo(e){return e&&e.ownerDocument||document}function Qs(e){return xo(e).defaultView||window}function Zx(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Fm(e){const{controlled:t,default:n,name:r,state:i="value"}=e,{current:o}=m.useRef(t!==void 0),[a,s]=m.useState(n),l=o?t:a,u=m.useCallback(c=>{o||s(c)},[]);return[l,u]}function Hi(e){const t=m.useRef(e);return ni(()=>{t.current=e}),m.useRef((...n)=>(0,t.current)(...n)).current}function Hr(...e){const t=m.useRef(void 0),n=m.useCallback(r=>{const i=e.map(o=>{if(o==null)return null;if(typeof o=="function"){const a=o,s=a(r);return typeof s=="function"?s:()=>{a(null)}}return o.current=r,()=>{o.current=null}});return()=>
50{i.forEach(o=>o?.())}},e);return m.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}function ICe(e,t){const n=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&n>=65&&n<=90&&typeof t=="function"}function YG(e,t){if(!e)return t;function n(a,s){const l={};return Object.keys(s).forEach(u=>{ICe(u,s[u])&&typeof a[u]=="function"&&(l[u]=(...c)=>{a[u](...c),s[u](...c)})}),l}if(typeof e=="function"||typeof t=="function")return a=>{const s=typeof t=="function"?t(a):t,l=typeof e=="function"?e({...a,...s}):e,u=mt(a?.className,s?.className,l?.className),c=n(l,s);return{...s,...l,...c,...!!u&&{className:u},...s?.style&&l?.style&&{style:{...s.style,...l.style}},...s?.sx&&l?.sx&&{sx:[...Array.isArray(s.sx)?s.sx:[s.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const r=t,i=n(e,r),o=mt(r?.className,e?.className);return{...t,...e,...i,...!!o&&{className:o},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function qe(){return qe=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},qe.apply(null,arguments)}function Tr(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 Qx(e,t){return Qx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Qx(e,t)}function $G(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Qx(e,t)}var vN={exports:{}},Qo={},yN={exports:{}},kN={};var R6;function wCe(){return R6||(R6=1,(function(e){function t(O,V){var W=O.length;O.push(V);e:for(;0<W;){var U=W-1>>>1,q=O[U];if(0<i(q,V))O[U]=V,O[W]=q,W=U;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var V=O[0],W=O.pop();if(W!==V){O[0]=W;e:for(var U=0,q=O.length,$=q>>>1;U<$;){var J=2*(U+1)-1,Z=O[J],Y=J+1,ee=O[Y];if(0>i(Z,W))Y<q&&0>i(ee,Z)?(O[U]=ee,O[Y]=W,U=Y):(O[U]=Z,O[J]=W,U=J);else if(Y<q&&0>i(ee,W))O[U]=ee,O[Y]=W,U=Y;else break e}}return V}function i(O,V){var W=O.sortIndex-V.sortIndex;return W!==0?W:O.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,f=null,p=3,v=!1,g=!1,y=!1,k=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(O){for(var V=n(u);V!==null;){if(V.callback===null)r(u);else if(V.startTime<=O)r(u),V.sortIndex=V.expirationTime,t(l,V);else break;V=n(u)}}function I(O){if(y=!1,T(O),!g)if(n(l)!==null)g=!0,H(A);else{var V=n(u);V!==null&&G(I,V.startTime-O)}}function A(O,V){g=!1,y&&(y=!1,E(x),x=-1),v=!0;var W=p;try{for(T(V),f=n(l);f!==null&&(!(f.expirationTime>V)||O&&!F());){var U=f.callback;if(typeof U=="function"){f.callback=null,p=f.priorityLevel;var q=U(f.expirationTime<=V);V=e.unstable_now(),typeof q=="function"?f.callback=q:f===n(l)&&r(l),T(V)}else r(l);f=n(l)}if(f!==null)var $=!0;else{var J=n(u);J!==null&&G(I,J.startTime-V),$=!1}return $}finally{f=null,p=W,v=!1}}var w=!1,R=null,x=-1,D=5,M=-1;function F(){return!(e.unstable_now()-M<D)}function L(){if(R!==null){var O=e.unstable_now();M=O;var V=!0;try{V=R(!0,O)}finally{V?P():(w=!1,R=null)}}else w=!1}var P;if(typeof S=="function")P=function(){S(L)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,B=j.port2;j.port1.onmessage=L,P=function(){B.postMessage(null)}}else P=function(){k(L,0)};function H(O){R=O,w||(w=!0,P())}function G(O,V){x=k(function(){O(e.unstable_now())},V)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){g||v||(g=!0,H(A))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(O){switch(p){case 1:case 2:case 3:var V=3;break;default:V=p}var W=p;p=V;try{return O()}finally{p=W}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,V){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var W=p;p=O;try{return V()}finally{p=W}},e.unstable_scheduleCallback=function(O,V,W){var U=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?U+W:U):W=U,O){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}
vendor: 4,415 bytes, line 50
50return q=W+q,O={id:c++,callback:V,priorityLevel:O,startTime:W,expirationTime:q,sortIndex:-1},W>U?(O.sortIndex=W,t(u,O),n(l)===null&&O===n(u)&&(y?(E(x),x=-1):y=!0,G(I,W-U))):(O.sortIndex=q,t(l,O),g||v||(g=!0,H(A))),O},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(O){var V=p;return function(){var W=p;p=V;try{return O.apply(this,arguments)}finally{p=W}}}})(kN)),kN}var x6;function NCe(){return x6||(x6=1,yN.exports=wCe()),yN.exports}var L6;function RCe(){if(L6)return Qo;L6=1;var e=ep(),t=NCe();function n(d){for(var h="https://reactjs.org/docs/error-decoder.html?invariant="+d,C=1;C<arguments.length;C++)h+="&args[]="+encodeURIComponent(arguments[C]);return"Minified React error #"+d+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,i={};function o(d,h){a(d,h),a(d+"Capture",h)}function a(d,h){for(i[d]=h,d=0;d<h.length;d++)r.add(h[d])}var s=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,c={},f={};function p(d){return l.call(f,d)?!0:l.call(c,d)?!1:u.test(d)?f[d]=!0:(c[d]=!0,!1)}function v(d,h,C,N){if(C!==null&&C.type===0)return!1;switch(typeof h){case"function":case"symbol":return!0;case"boolean":return N?!1:C!==null?!C.acceptsBooleans:(d=d.toLowerCase().slice(0,5),d!=="data-"&&d!=="aria-");default:return!1}}function g(d,h,C,N){if(h===null||typeof h>"u"||v(d,h,C,N))return!0;if(N)return!1;if(C!==null)switch(C.type){case 3:return!h;case 4:return h===!1;case 5:return isNaN(h);case 6:return isNaN(h)||1>h}return!1}function y(d,h,C,N,_,z,Q){this.acceptsBooleans=h===2||h===3||h===4,this.attributeName=N,this.attributeNamespace=_,this.mustUseProperty=C,this.propertyName=d,this.type=h,this.sanitizeURL=z,this.removeEmptyString=Q}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(d){k[d]=new y(d,0,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(d){var h=d[0];k[h]=new y(h,1,!1,d[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){k[d]=new y(d,2,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){k[d]=new y(d,2,!1,d,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(d){k[d]=new y(d,3,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){k[d]=new y(d,3,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){k[d]=new y(d,4,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){k[d]=new y(d,6,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){k[d]=new y(d,5,!1,d.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function S(d){return d[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
50-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(d){var h=d.replace(E,S);k[h]=new y(h,1,!1,d,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(d){var h=d.replace(E,S);k[h]=new y(h,1,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var h=d.replace(E,S);k[h]=new y(h,1,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){k[d]=new y(d,1,!1,d.toLowerCase(),null,!1,!1)}),k.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){k[d]=new y(d,1,!1,d.toLowerCase(),null,!0,!0)});function T(d,h,C,N){var _=k.hasOwnProperty(h)?k[h]:null;(_!==null?_.type!==0:N||!(2<h.length)||h[0]!=="o"&&h[0]!=="O"||h[1]!=="n"&&h[1]!=="N")&&(g(h,C,_,N)&&(C=null),N||_===null?p(h)&&(C===null?d.removeAttribute(h):d.setAttribute(h,""+C)):_.mustUseProperty?d[_.propertyName]=C===null?_.type===3?!1:"":C:(h=_.attributeName,N=_.attributeNamespace,C===null?d.removeAttribute(h):(_=_.type,C=_===3||_===4&&C===!0?"":""+C,N?d.setAttributeNS(N,h,C):d.setAttribute(h,C))))}var I=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,A=Symbol.for("react.element"),w=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),F=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),G=Symbol.for("react.offscreen"),O=Symbol.iterator;function V(d){return d===null||typeof d!="object"?null:(d=O&&d[O]||d["@@iterator"],typeof d=="function"?d:null)}var W=Object.assign,U;function q(d){if(U===void 0)try{throw Error()}catch(C){var h=C.stack.trim().match(/\n( *(at )?)/);U=h&&h[1]||""}return` 51`+U+d}var $=!1;function J(d,h){if(!d||$)return"";$=!0;var C=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(h)if(h=function(){throw Error()},Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(He){var N=He}Reflect.construct(d,[],h)}else{try{h.call()}catch(He){N=He}d.call(h.prototype)}else{try{throw Error()}catch(He){N=He}d()}}catch(He){if(He&&N&&typeof He.stack=="string"){for(var _=He.stack.split(` 52`),z=N.stack.split(` 53`),Q=_.length-1,le=z.length-1;1<=Q&&0<=le&&_[Q]!==z[le];)le--;for(;1<=Q&&0<=le;Q--,le--)if(_[Q]!==z[le]){if(Q!==1||le!==1)do if(Q--,le--,0>le||_[Q]!==z[le]){var he=` 54`+_[Q].replace(" at new "," at ");return d.displayName&&he.includes("<anonymous>")&&(he=he.replace("<anonymous>",d.displayName)),he}while(1<=Q&&0<=le);break}}}finally{$=!1,Error.prepareStackTrace=C}return(d=d?d.displayName||d.name:"")?q(d):""}function Z(d){switch(d.tag){case 5:return q(d.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return d=J(d.type,!1),d;case 11:return d=J(d.type.render,!1),d;case 1:return d=J(d.type,!0),d;default:return""}}function Y(d){if(d==null)return null;if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case R:return"Fragment";case w:return"Portal";case D:return"Profiler";case x:return"StrictMode";case P:return"Suspense";case j:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case F:return(d.displayName||"Context")+".Consumer";case M:return(d._context.displayName||"Context")+".Provider";case L:var h=d.render;return d=d.displayName,d||(d=h.displayName||h.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case B:return h=d.displayName||null,h!==null?h:Y(d.type)||"Memo";case H:h=d._payload,d=d._init;try{return Y(d(h))}catch{}}return null}function ee(d){var h=d.type;switch(d.tag){case 24:return"Cache";case 9:return(h.displayName||"Context")+".Consumer";case 10:return(h._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return d=h.render,d=d.displayName||d.name||"",h.displayName||(d!==""?"ForwardRef("+d+")":"ForwardRef");case 7:return"Fragment";case 5:return h;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Y(h);case 8:return h===x?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h}return null}function te(d){switch(typeof d){case"boolean":case"number":case"string":case"undefined":return d;case"object":return d;default:return""}}function ce(d){var h=d.type;return(d=d.nodeName)&&d.toLowerCase()==="input"&&(h==="checkbox"||h==="radio")}
vendor: 5,962 bytes, line 54
54function ne(d){var h=ce(d)?"checked":"value",C=Object.getOwnPropertyDescriptor(d.constructor.prototype,h),N=""+d[h];if(!d.hasOwnProperty(h)&&typeof C<"u"&&typeof C.get=="function"&&typeof C.set=="function"){var _=C.get,z=C.set;return Object.defineProperty(d,h,{configurable:!0,get:function(){return _.call(this)},set:function(Q){N=""+Q,z.call(this,Q)}}),Object.defineProperty(d,h,{enumerable:C.enumerable}),{getValue:function(){return N},setValue:function(Q){N=""+Q},stopTracking:function(){d._valueTracker=null,delete d[h]}}}}function Ce(d){d._valueTracker||(d._valueTracker=ne(d))}function ae(d){if(!d)return!1;var h=d._valueTracker;if(!h)return!0;var C=h.getValue(),N="";return d&&(N=ce(d)?d.checked?"true":"false":d.value),d=N,d!==C?(h.setValue(d),!0):!1}function pe(d){if(d=d||(typeof document<"u"?document:void 0),typeof d>"u")return null;try{return d.activeElement||d.body}catch{return d.body}}function ve(d,h){var C=h.checked;return W({},h,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:C??d._wrapperState.initialChecked})}function Se(d,h){var C=h.defaultValue==null?"":h.defaultValue,N=h.checked!=null?h.checked:h.defaultChecked;C=te(h.value!=null?h.value:C),d._wrapperState={initialChecked:N,initialValue:C,controlled:h.type==="checkbox"||h.type==="radio"?h.checked!=null:h.value!=null}}function De(d,h){h=h.checked,h!=null&&T(d,"checked",h,!1)}function Ee(d,h){De(d,h);var C=te(h.value),N=h.type;if(C!=null)N==="number"?(C===0&&d.value===""||d.value!=C)&&(d.value=""+C):d.value!==""+C&&(d.value=""+C);else if(N==="submit"||N==="reset"){d.removeAttribute("value");return}h.hasOwnProperty("value")?Pe(d,h.type,C):h.hasOwnProperty("defaultValue")&&Pe(d,h.type,te(h.defaultValue)),h.checked==null&&h.defaultChecked!=null&&(d.defaultChecked=!!h.defaultChecked)}function ye(d,h,C){if(h.hasOwnProperty("value")||h.hasOwnProperty("defaultValue")){var N=h.type;if(!(N!=="submit"&&N!=="reset"||h.value!==void 0&&h.value!==null))return;h=""+d._wrapperState.initialValue,C||h===d.value||(d.value=h),d.defaultValue=h}C=d.name,C!==""&&(d.name=""),d.defaultChecked=!!d._wrapperState.initialChecked,C!==""&&(d.name=C)}function Pe(d,h,C){(h!=="number"||pe(d.ownerDocument)!==d)&&(C==null?d.defaultValue=""+d._wrapperState.initialValue:d.defaultValue!==""+C&&(d.defaultValue=""+C))}var Me=Array.isArray;function Qe(d,h,C,N){if(d=d.options,h){h={};for(var _=0;_<C.length;_++)h["$"+C[_]]=!0;for(C=0;C<d.length;C++)_=h.hasOwnProperty("$"+d[C].value),d[C].selected!==_&&(d[C].selected=_),_&&N&&(d[C].defaultSelected=!0)}else{for(C=""+te(C),h=null,_=0;_<d.length;_++){if(d[_].value===C){d[_].selected=!0,N&&(d[_].defaultSelected=!0);return}h!==null||d[_].disabled||(h=d[_])}h!==null&&(h.selected=!0)}}function Fe(d,h){if(h.dangerouslySetInnerHTML!=null)throw Error(n(91));return W({},h,{value:void 0,defaultValue:void 0,children:""+d._wrapperState.initialValue})}function Ve(d,h){var C=h.value;if(C==null){if(C=h.children,h=h.defaultValue,C!=null){if(h!=null)throw Error(n(92));if(Me(C)){if(1<C.length)throw Error(n(93));C=C[0]}h=C}h==null&&(h=""),C=h}d._wrapperState={initialValue:te(C)}}function be(d,h){var C=te(h.value),N=te(h.defaultValue);C!=null&&(C=""+C,C!==d.value&&(d.value=C),h.defaultValue==null&&d.defaultValue!==C&&(d.defaultValue=C)),N!=null&&(d.defaultValue=""+N)}function Ae(d){var h=d.textContent;h===d._wrapperState.initialValue&&h!==""&&h!==null&&(d.value=h)}function ke(d){switch(d){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(d,h){return d==null||d==="http://www.w3.org/1999/xhtml"?ke(h):d==="http://www.w3.org/2000/svg"&&h==="foreignObject"?"http://www.w3.org/1999/xhtml":d}var ze,et=(function(d){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(h,C,N,_){MSApp.execUnsafeLocalFunction(function(){return d(h,C,N,_)})}:d})(function(d,h){if(d.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in d)d.innerHTML=h;else{for(ze=ze||document.createElement("div"),ze.innerHTML="<svg>"+h.valueOf().toString()+"</svg>",h=ze.firstChild;d.firstChild;)d.removeChild(d.firstChild);for(;h.firstChild;)d.appendChild(h.firstChild)}});function lt(d,h){if(h){var C=d.firstChild;if(C&&C===d.lastChild&&C.nodeType===3){C.nodeValue=h;return}}d.textContent=h}var xe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},We=["Webkit","ms","Moz","O"];Object.keys(xe).forEach(function(d){We.forEach(function(h){h=h+d.charAt(0).toUpperCase()+d.substring(1),xe[h]=xe[d]})});function X(d,h,C){return h==null||typeof h=="boolean"||h===""?"":C||typeof h!="number"||h===0||xe.hasOwnProperty(d)&&xe[d]?(""+h).trim():h+"px"}function de(d,h){d=d.style;for(var C in h)if(h.hasOwnProperty(C)){var N=C.indexOf("--")===0,_=X(C,h[C],N);C==="float"&&(C="cssFloat"),N?d.setProperty(C,_):d[C]=_}}var ie=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Re(d,h){if(h){if(ie[d]&&(h.children!=null||h.dangerouslySetInnerHTML!=null))throw Error(n(137,d));if(h.dangerouslySetInnerHTML!=null){if(h.children!=null)throw Error(n(60));if(typeof h.dangerouslySetInnerHTML!="object"||!("__html"in h.dangerouslySetInnerHTML))throw Error(n(61))}if(h.style!=null&&typeof h.style!="object")throw Error(n(62))}}function Be(d,h){if(d.indexOf("-")===-1)return typeof h.is=="str
54ing";switch(d){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tt=null;function at(d){return d=d.target||d.srcElement||window,d.correspondingUseElement&&(d=d.correspondingUseElement),d.nodeType===3?d.parentNode:d}var ot=null,ft=null,Je=null;function Pt(d){if(d=lg(d)){if(typeof ot!="function")throw Error(n(280));var h=d.stateNode;h&&(h=Bk(h),ot(d.stateNode,d.type,h))}}function Ht(d){ft?Je?Je.push(d):Je=[d]:ft=d}function fn(){if(ft){var d=ft,h=Je;if(Je=ft=null,Pt(d),h)for(d=0;d<h.length;d++)Pt(h[d])}}function Sn(d,h){return d(h)}function Lt(){}var nn=!1;function Dn(d,h,C){if(nn)return d(h,C);nn=!0;try{return Sn(d,h,C)}finally{nn=!1,(ft!==null||Je!==null)&&(Lt(),fn())}}function Bn(d,h){var C=d.stateNode;if(C===null)return null;var N=Bk(C);if(N===null)return null;C=N[h];e:switch(h){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(N=!N.disabled)||(d=d.type,N=!(d==="button"||d==="input"||d==="select"||d==="textarea")),d=!N;break e;default:d=!1}if(d)return null;if(C&&typeof C!="function")throw Error(n(231,h,typeof C));return C}var Rn=!1;if(s)try{var Pn={};Object.defineProperty(Pn,"passive",{get:function(){Rn=!0}}),window.addEventListener("test",Pn,Pn),window.removeEventListener("test",Pn,Pn)}catch{Rn=!1}function se(d,h,C,N,_,z,Q,le,he){var He=Array.prototype.slice.call(arguments,3);try{h.apply(C,He)}catch(pt){this.onError(pt)}}var re=!1,ge=null,je=!1,Ge=null,ht={onError:function(d){re=!0,ge=d}};function At(d,h,C,N,_,z,Q,le,he){re=!1,ge=null,se.apply(ht,arguments)}function dt(d,h,C,N,_,z,Q,le,he){if(At.apply(this,arguments),re){if(re){var He=ge;re=!1,ge=null}else throw Error(n(198));je||(je=!0,Ge=He)}}function It(d){var h=d,C=d;if(d.alternate)for(;h.return;)h=h.return;else{d=h;do h=d,(h.flags&4098)!==0&&(C=h.return),d=h.return;while(d)}return h.tag===3?C:null}function Gt(d){if(d.tag===13){var h=d.memoizedState;if(h===null&&(d=d.alternate,d!==null&&(h=d.memoizedState)),h!==null)return h.dehydrated}return null}function Nt(d){if(It(d)!==d)throw Error(n(188))}function Xt(d){var h=d.alternate;if(!h){if(h=It(d),h===null)throw Error(n(188));return h!==d?null:d}for(var C=d,N=h;;){var _=C.return;if(_===null)break;var z=_.alternate;if(z===null){if(N=_.return,N!==null){C=N;continue}break}if(_.child===z.child){for(z=_.child;z;){if(z===C)return Nt(_),d;if(z===N)return Nt(_),h;z=z.sibling}throw Error(n(188))}if(C.return!==N.return)C=_,N=z;else{for(var Q=!1,le=_.child;le;){if(le===C){Q=!0,C=_,N=z;break}if(le===N){Q=!0,N=_,C=z;break}le=le.sibling}if(!Q){for(le=z.child;le;){if(le===C){Q=!0,C=z,N=_;break}if(le===N){Q=!0,N=z,C=_;break}le=le.sibling}if(!Q)throw Error(n(189))}}if(C.alternate!==N)throw Error(n(190))}if(C.tag!==3)throw Error(n(188));return C.stateNode.current===C?d:h}function Ne(d){return d=Xt(d),d!==null?Le(d):null}function Le(d){if(d.tag===5||d.tag===6)return d;for(d=d.child;d!==null;){var h=Le(d);if(h!==null)return h;d=d.sibling}return null}var ut=t.unstable_scheduleCallback,xt=t.unstable_cancelCallback,Rt=t.unstable_shouldYield,Bt=t.unstable_requestPaint,rt=t.unstable_now,Vn=t.unstable_getCurrentPriorityLevel,Ki=t.unstable_ImmediatePriority,Yi=t.unstable_UserBlockingPriority,_i=t.unstable_NormalPriority,$i=t.unstable_LowPriority,vn=t.unstable_IdlePriority,_r=null,Kn=null;function Ai(d){if(Kn&&typeof Kn.onCommitFiberRoot=="function")try{Kn.onCommitFiberRoot(_r,d,void 0,(d.current.flags&128)===128)}catch{}}var Kr=Math.clz32?Math.clz32:ar,ol=Math.log,cn=Math.LN2;function ar(d){return d>>>=0,d===0?32:31-(ol(d)/cn|0)|0}var Di=64,Mi=4194304;function Ha(d){switch(d&-d){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return d&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return d&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return d}}function Wa(d,h){var C=d.pendingLanes;if(C===0)return 0;var N=0,_=d.suspendedLanes,z=d.pingedLanes,Q=C&268435455;if(Q!==0){var le=Q&~_;le!==0?N=Ha(le):(z&=Q,z!==0&&(N=Ha(z)))}else Q=C&~_,Q!==0?N=Ha(Q):z!==0&&(N=Ha(z));if(N===0)return 0;if(h!==0&&h!==N&&(h&_)===0&&(_=N&-N,z=h&-h,_>=z||_===16&&(z&4194240)!==0))return h;if((N&4)!==0&&(N|=C&16),h=d.entangledLanes,h!==0)for(d=d.entanglements,h&=N;0<h;)C=31-Kr(h),_=1<<C,N|=d[C],h&=~_;return N}function sr(d,h){switch(d){case 1:case 2:case 4:return h+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return h+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Go(d,h){for(var C=d.suspendedLanes,N=d.pingedLanes,_=d.expirationTimes,z=d.pendingLanes;0<z;){var Q=31-Kr(z),le=1<<Q,he=_[Q];he===-1?((le&C)===0||(le&N)!==0)&&(_[Q]=sr(le,h)):he<=h&&(d.expiredLanes|=le),z&=~le}}function al(d){return d=d.pendingLanes&-1073741825,d!==0?d:d&1073741824?1073741824:0}function eu(){var d=Di;return Di<<=1,(Di&4194240)===0&&(Di=64),d}function Ed(d){for(var h=[],C=0;31>C;C++)h.push(d);return h}function sl(d,h,C){d.pendingLanes|=h,h!==536870912&&(d.suspendedLanes=0,d.pingedLanes=0),d=d.eventTimes,h=31-Kr(h),d[h]=C}function ll(d,h){var C=d.pendingLanes&~h;d.pendingLanes=h,d.suspendedLanes=0,d.pingedLanes=0,d.expiredLanes&=h,d.mutableReadLanes&=h,d.entangledLanes&=h,h=d.entanglements;var N=d.eventTimes;for(d=d.expirationTimes;0<C;){var _=31-Kr(C),z=1<<_;h[_]=0,N[_]=-1,d[_]=-1,C&=~z}}function ko(d,h){var C=d.entangledLanes|=h;for(d=d.entanglements;C;){var N=31-Kr(C),_=1<<N;
vendor: 27,652 bytes, lines 54-55
54_&h|d[N]&h&&(d[N]|=h),C&=~_}}var Nn=0;function Td(d){return d&=-d,1<d?4<d?(d&268435455)!==0?16:536870912:4:1}var ul,cl,mp,hp,Qu,Cd=!1,Xu=[],qa=null,ya=null,ka=null,tu=new Map,dl=new Map,Ga=[],ec="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ad(d,h){switch(d){case"focusin":case"focusout":qa=null;break;case"dragenter":case"dragleave":ya=null;break;case"mouseover":case"mouseout":ka=null;break;case"pointerover":case"pointerout":tu.delete(h.pointerId);break;case"gotpointercapture":case"lostpointercapture":dl.delete(h.pointerId)}}function Ka(d,h,C,N,_,z){return d===null||d.nativeEvent!==z?(d={blockedOn:h,domEventName:C,eventSystemFlags:N,nativeEvent:z,targetContainers:[_]},h!==null&&(h=lg(h),h!==null&&cl(h)),d):(d.eventSystemFlags|=N,h=d.targetContainers,_!==null&&h.indexOf(_)===-1&&h.push(_),d)}function Id(d,h,C,N,_){switch(h){case"focusin":return qa=Ka(qa,d,h,C,N,_),!0;case"dragenter":return ya=Ka(ya,d,h,C,N,_),!0;case"mouseover":return ka=Ka(ka,d,h,C,N,_),!0;case"pointerover":var z=_.pointerId;return tu.set(z,Ka(tu.get(z)||null,d,h,C,N,_)),!0;case"gotpointercapture":return z=_.pointerId,dl.set(z,Ka(dl.get(z)||null,d,h,C,N,_)),!0}return!1}function nu(d){var h=Rd(d.target);if(h!==null){var C=It(h);if(C!==null){if(h=C.tag,h===13){if(h=Gt(C),h!==null){d.blockedOn=h,Qu(d.priority,function(){mp(C)});return}}else if(h===3&&C.stateNode.current.memoizedState.isDehydrated){d.blockedOn=C.tag===3?C.stateNode.containerInfo:null;return}}}d.blockedOn=null}function Oe(d){if(d.blockedOn!==null)return!1;for(var h=d.targetContainers;0<h.length;){var C=rc(d.domEventName,d.eventSystemFlags,h[0],d.nativeEvent);if(C===null){C=d.nativeEvent;var N=new C.constructor(C.type,C);tt=N,C.target.dispatchEvent(N),tt=null}else return h=lg(C),h!==null&&cl(h),d.blockedOn=C,!1;h.shift()}return!0}function oe(d,h,C){Oe(d)&&C.delete(h)}function fe(){Cd=!1,qa!==null&&Oe(qa)&&(qa=null),ya!==null&&Oe(ya)&&(ya=null),ka!==null&&Oe(ka)&&(ka=null),tu.forEach(oe),dl.forEach(oe)}function Ke(d,h){d.blockedOn===h&&(d.blockedOn=null,Cd||(Cd=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,fe)))}function st(d){function h(_){return Ke(_,d)}if(0<Xu.length){Ke(Xu[0],d);for(var C=1;C<Xu.length;C++){var N=Xu[C];N.blockedOn===d&&(N.blockedOn=null)}}for(qa!==null&&Ke(qa,d),ya!==null&&Ke(ya,d),ka!==null&&Ke(ka,d),tu.forEach(h),dl.forEach(h),C=0;C<Ga.length;C++)N=Ga[C],N.blockedOn===d&&(N.blockedOn=null);for(;0<Ga.length&&(C=Ga[0],C.blockedOn===null);)nu(C),C.blockedOn===null&&Ga.shift()}var Cn=I.ReactCurrentBatchConfig,yr=!0;function Fi(d,h,C,N){var _=Nn,z=Cn.transition;Cn.transition=null;try{Nn=1,wd(d,h,C,N)}finally{Nn=_,Cn.transition=z}}function tc(d,h,C,N){var _=Nn,z=Cn.transition;Cn.transition=null;try{Nn=4,wd(d,h,C,N)}finally{Nn=_,Cn.transition=z}}function wd(d,h,C,N){if(yr){var _=rc(d,h,C,N);if(_===null)sI(d,h,N,nc,C),Ad(d,N);else if(Id(_,d,h,C,N))N.stopPropagation();else if(Ad(d,N),h&4&&-1<ec.indexOf(d)){for(;_!==null;){var z=lg(_);if(z!==null&&ul(z),z=rc(d,h,C,N),z===null&&sI(d,h,N,nc,C),z===_)break;_=z}_!==null&&N.stopPropagation()}else sI(d,h,N,null,C)}}var nc=null;function rc(d,h,C,N){if(nc=null,d=at(N),d=Rd(d),d!==null)if(h=It(d),h===null)d=null;else if(C=h.tag,C===13){if(d=Gt(h),d!==null)return d;d=null}else if(C===3){if(h.stateNode.current.memoizedState.isDehydrated)return h.tag===3?h.stateNode.containerInfo:null;d=null}else h!==d&&(d=null);return nc=d,null}function ru(d){switch(d){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Vn()){case Ki:return 1;case Yi:return 4;case _i:case $i:return 16;case vn:return 536870912;default:return 16}default:return 16}}var ba=null,ic=null,kt=null;function Ot(){if(kt)return kt;var d,h=ic,C=h.length,N,_="value"in ba?ba.value:ba.textContent,z=_.length;for(d=0;d<C&&h[d]===_[d];d++);var Q=C-d;for(N=1;N<=Q&&h[C-N]===_[z-N];N++);return kt=_.slice(d,1<N?1-N:void 0)}function wn(d){var h=d.keyCode;return"charCode"in d?(d=d.charCode,d===0&&h===13&&(d=13)):d=h,d===10&&(d=13),32<=d||d===13?d:0}function Hn(){return!0}function Dr(){return!1}function Gn(d){function h(C,N,_,z,Q){this._reactName=C,this._targetInst=_,this.type=N,this.nativeEvent=z,this.target=Q,this.currentTarget=null;for(var le in d)d.hasOwnProperty(le)&&(C=d[le],this[le]=C?C(z):z[le]);return this.isDefaultPrevented=(z.defaultPrevented!=null?z.defaultPrevented:z.returnValue===!1)?Hn:Dr,this.isPropagationStopped=Dr,this}return W(h.prototype,{preventDefault:function(){this.defaultPrevented=!0;var C=this.nativeEvent;C&&(C.preventDefault?C.preventDefault():typeof C.returnValue!="unknown"&&(C.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var C=this.nativeEvent;C&&(C.stopPropagation?C.stopPropagation():typeof C.cancelBubble!="unknown"&&(C.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){},isPersistent:Hn}),h}var lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(d){return d.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ii=Gn(lr),ao=W({},lr,{view:0,detail:0}),iu=Gn(ao),Ya,Ok,oc,Nd=W({},ao,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:JA,button:0,buttons:0,relatedTarget:function(d){return d.relatedTarget===void 0?d.fromElement===d.srcElement?d.toElement:d.fromElement:d.relatedTarget},movementX:function(d){return"movementX"in d?d.movementX:(d!==oc&&(oc&&d.type==="mousemove"?(Ya=d.screenX-oc.screenX,Ok=d.screenY-oc.screenY):Ok=Ya=0,oc=d),Ya)},movementY:function(d){return"movementY"in d?d.movementY:Ok}}),BF=Gn(Nd),Fie=W({},Nd,{dataTransfer:0}),Uie=Gn(Fie),Vie=W({},ao,{relatedTarget:0}),$A=Gn(Vie),Bie=W({},lr,{animationName:0,elapsedTime:0,pseudoElement:0}),jie=Gn(Bie),zie=W({},lr,{clipboardData:function(d){return"clipboardData"in d?d.clipboardData:window.clipboardData}}),Hie=Gn(zie),Wie=W({},lr,{data:0}),jF=Gn(Wie),qie={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Gie={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Kie={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yie(d){var h=this.nativeEvent;return h.getModifierState?h.getModifierState(d):(d=Kie[d])?!!h[d]:!1}function JA(){return Yie}var $ie=W({},ao,{key:function(d){if(d.key){var h=qie[d.key]||d.key;if(h!=="Unidentified")return h}return d.type==="keypress"?(d=wn(d),d===13?"Enter":String.fromCharCode(d)):d.type==="keydown"||d.type==="keyup"?Gie[d.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:JA,charCode:function(d){return d.type==="keypress"?wn(d):0},keyCode:function(d){return d.type==="keydown"||d.type==="keyup"?d.keyCode:0},which:function(d){return d.type==="keypress"?wn(d):d.type==="keydown"||d.type==="keyup"?d.keyCode:0}}),Jie=Gn($ie),Zie=W({},Nd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zF=Gn(Zie),Qie=W({},ao,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:JA}),Xie=Gn(Qie),eoe=W({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0}),toe=Gn(eoe),noe=W({},Nd,{deltaX:function(d){return"deltaX"in d?d.deltaX:"wheelDeltaX"in d?-d.wheelDeltaX:0},deltaY:function(d){return"deltaY"in d?d.deltaY:"wheelDeltaY"in d?-d.wheelDeltaY:"wheelDelta"in d?-d.wheelDelta:0},deltaZ:0,deltaMode:0}),roe=Gn(noe),ioe=[9,13,27,32],ZA=s&&"CompositionEvent"in window,Xh=null;s&&"documentMode"in document&&(Xh=document.documentMode);var ooe=s&&"TextEvent"in window&&!Xh,HF=s&&(!ZA||Xh&&8<Xh&&11>=Xh),WF=" ",qF=!1;function GF(d,h){switch(d){case"keyup":return ioe.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function KF(d){return d=d.detail,typeof d=="object"&&"data"in d?d.data:null}var gp=!1;function aoe(d,h){switch(d){case"compositionend":return KF(h);case"keypress":return h.which!==32?null:(qF=!0,WF);case"textInput":return d=h.data,d===WF&&qF?null:d;default:return null}}function soe(d,h){if(gp)return d==="compositionend"||!ZA&&GF(d,h)?(d=Ot(),kt=ic=ba=null,gp=!1,d):null;switch(d){case"paste":return null;case"keypress":if(!(h.ctrlKey||h.altKey||h.metaKey)||h.ctrlKey&&h.altKey){if(h.char&&1<h.char.length)return h.char;if(h.which)return String.fromCharCode(h.which)}return null;case"compositionend":return HF&&h.locale!=="ko"?null:h.data;default:return null}}var loe={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function YF(d){var h=d&&d.nodeName&&d.nodeName.toLowerCase();return h==="input"?!!loe[d.type]:h==="textarea"}function $F(d,h,C,N){Ht(N),h=Fk(h,"onChange"),0<h.length&&(C=new Ii("onChange","change",null,C,N),d.push({event:C,listeners:h}))}var eg=null,tg=null;function uoe(d){p4(d,0)}function Pk(d){var h=Sp(d);if(ae(h))return d}function coe(d,h){if(d==="change")return h}var JF=!1;if(s){var QA;if(s){var XA="oninput"in document;if(!XA){var ZF=document.createElement("div");ZF.setAttribute("oninput","return;"),XA=typeof ZF.oninput=="function"}QA=XA}else QA=!1;JF=QA&&(!document.documentMode||9<document.documentMode)}function QF(){eg&&(eg.detachEvent("onpropertychange",XF),tg=eg=null)}function XF(d){if(d.propertyName==="value"&&Pk(tg)){var h=[];$F(h,tg,d,at(d)),Dn(uoe,h)}}function doe(d,h,C){d==="focusin"?(QF(),eg=h,tg=C,eg.attachEvent("onpropertychange",XF)):d==="focusout"&&QF()}function foe(d){if(d==="selectionchange"||d==="keyup"||d==="keydown")return Pk(tg)}function poe(d,h){if(d==="click")return Pk(h)}function moe(d,h){if(d==="input"||d==="change")return Pk(h)}function hoe(d,h){return d===h&&(d!==0||1/d===1/h)||d!==d&&h!==h}var _s=typeof Object.is=="function"?Object.is:hoe;function ng(d,h){if(_s(d,h))return!0;if(typeof d!="object"||d===null||typeof h!="object"||h===null)return!1;var C=Object.keys(d),N=Object.keys(h);if(C.length!==N.length)return!1;for(N=0;N<C.length;N++){var _=C[N];if(!l.call(h,_)||!_s(d[_],h[_]))return!1}return!0}function e4(d){for(;d&&d.firstChild;)d=d.firstChild;return d}function t4(d,h){var C=e4(d);d=0;for(var N;C;){if(C.nodeType===3){if(N=d+C.textContent.length,d<=h&&N>=h)return{node:C,offset:h-d};d=N}e:{for(;C;){if(C.nextSibling){C=C.nextSibling;break e}C=C.parentNode}C=void 0}C=e4(C)}}function n4(d,h){return d&&h?d===h?!0:d&&d.nodeType===3?!1:h&&h.nodeType===3?n4(d,h.parentNode):"contains"in d?d.contains(h):d.compareDocumentPosition?!!(d.compareDocumentPosition(h)&16):!1:!1}function r4(){for(var d=window,h=pe();h instanceof d.HTMLIFrameElement;){try{var C=typeof h.contentWindow.location.href=="string"}catch{C=!1}if(C)d=h.contentWindow;else break;h=pe(d.document)}return h}function eI(d){var h=d&&d.nodeName&&d.nodeName.toLowerCase();return h&&(h==="input"&&(d.type==="text"||d.type==="search"||d.type==="tel"||d.type==="url"||d.type==="password")||h==="textarea"||d.contentEditable==="true")}function goe(d){var h=r4(),C=d.focusedElem,N=d.selectionRange;if(h!==C&&C&&C.ownerDocument&&n4(C.ownerDocument.documentElement,C)){if(N!==null&&eI(C)){if(h=N.start,d=N.end,d===void 0&&(d=h),"selectionStart"in C)C.selectionStart=h,C.selectionEnd=Math.min(d,C.value.length);else if(d=(h=C.ownerDocument||document)&&h.defaultView||window,d.getSelection){d=d.getSelection();var _=C.textContent.length,z=Math.min(N.start,_);N=N.end===void 0?z:Math.min(N.end,_),!d.extend&&z>N&&(_=N,N=z,z=_),_=t4(C,z);var Q=t4(C,N);_&&Q&&(d.rangeCount!==1||d.anchorNode!==_.node||d.anchorOffset!==_.offset||d.focusNode!==Q.node||d.focusOffset!==Q.offset)&&(h=h.createRange(),h.setStart(_.node,_.offset),d.removeAllRanges(),z>N?(d.addRange(h),d.extend(Q.node,Q.offset)):(h.setEnd(Q.node,Q.offset),d.addRange(h)))}}for(h=[],d=C;d=d.parentNode;)d.nodeType===1&&h.push({element:d,left:d.scrollLeft,top:d.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;C<h.length;C++)d=h[C],d.element.scrollLeft=d.left,d.element.scrollTop=d.top}}var voe=s&&"documentMode"in document&&11>=document.documentMode,vp=null,tI=null,rg=null,nI=!1;function i4(d,h,C){var N=C.window===C?C.document:C.nodeType===9?C:C.ownerDocument;nI||vp==null||vp!==pe(N)||(N=vp,"selectionStart"in N&&eI(N)?N={start:N.selectionStart,end:N.selectionEnd}:(N=(N.ownerDocument&&N.ownerDocument.defaultView||window).getSelection(),N={anchorNode:N.anchorNode,anchorOffset:N.anchorOffset,focusNode:N.focusNode,focusOffset:N.focusOffset}),rg&&ng(rg,N)||(rg=N,N=Fk(tI,"onSelect"),0<N.length&&(h=new Ii("onSelect","select",null,h,C),d.push({event:h,listeners:N}),h.target=vp)))}function _k(d,h){var C={};return C[d.toLowerCase()]=h.toLowerCase(),C["Webkit"+d]="webkit"+h,C["Moz"+d]="moz"+h,C}var yp={animationend:_k("Animation","AnimationEnd"),animationiteration:_k("Animation","AnimationIteration"),animationstart:_k("Animation","AnimationStart"),transitionend:_k("Transition","TransitionEnd")},rI={},o4={};s&&(o4=document.createElement("div").style,"AnimationEvent"in window||(delete yp.animationend.animation,delete yp.animationiteration.animation,delete yp.animationstart.animation),"TransitionEvent"in window||delete yp.transitionend.transition);function Dk(d){if(rI[d])return rI[d];if(!yp[d])return d;var h=yp[d],C;for(C in h)if(h.hasOwnProperty(C)&&C in o4)return rI[d]=h[C];return d}var a4=Dk("animationend"),s4=Dk("animationiteration"),l4=Dk("animationstart"),u4=Dk("transitionend"),c4=new Map,d4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ac(d,h){c4.set(d,h),o(h,[d])}for(var iI=0;iI<d4.length;iI++){var oI=d4[iI],yoe=oI.toLowerCase(),koe=oI[0].toUpperCase()+oI.slice(1);ac(yoe,"on"+koe)}ac(a4,"onAnimationEnd"),ac(s4,"onAnimationIteration"),ac(l4,"onAnimationStart"),ac("dblclick","onDoubleClick"),ac("focusin","onFocus"),ac("focusout","onBlur"),ac(u4,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ig="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),boe=new Set("cancel close invalid load scroll toggle".split(" ").concat(ig));function f4(d,h,C){var N=d.type||"unknown-event";d.currentTarget=C,dt(N,h,void 0,d),d.currentTarget=null}function p4(d,h){h=(h&4)!==0;for(var C=0;C<d.length;C++){var N=d[C],_=N.event;N=N.listeners;e:{var z=void 0;if(h)for(var Q=N.length-1;0<=Q;Q--){var le=N[Q],he=le.instance,He=le.currentTarget;if(le=le.listener,he!==z&&_.isPropagationStopped())break e;f4(_,le,He),z=he}else for(Q=0;Q<N.length;Q++){if(le=N[Q],he=le.instance,He=le.currentTarget,le=le.listener,he!==z&&_.isPropagationStopped())break e;f4(_,le,He),z=he}}}if(je)throw d=Ge,je=!1,Ge=null,d}function Lr(d,h){var C=h[pI];C===void 0&&(C=h[pI]=new Set);var N=d+"__bubble";C.has(N)||(m4(h,d,2,!1),C.add(N))}function aI(d,h,C){var N=0;h&&(N|=4),m4(C,d,N,h)}var Mk="_reactListening"+Math.random().toString(36).slice(2);function og(d){if(!d[Mk]){d[Mk]=!0,r.forEach(function(C){C!=="selectionchange"&&(boe.has(C)||aI(C,!1,d),aI(C,!0,d))});var h=d.nodeType===9?d:d.ownerDocument;h===null||h[Mk]||(h[Mk]=!0,aI("selectionchange",!1,h))}}function m4(d,h,C,N){switch(ru(h)){case 1:var _=Fi;break;case 4:_=tc;break;default:_=wd}C=_.bind(null,h,C,d),_=void 0,!Rn||h!=="touchstart"&&h!=="touchmove"&&h!=="wheel"||(_=!0),N?_!==void 0?d.addEventListener(h,C,{capture:!0,passive:_}):d.addEventListener(h,C,!0):_!==void 0?d.addEventListener(h,C,{passive:_}):d.addEventListener(h,C,!1)}function sI(d,h,C,N,_){var z=N;if((h&1)===0&&(h&2)===0&&N!==null)e:for(;;){if(N===null)return;var Q=N.tag;if(Q===3||Q===4){var le=N.stateNode.containerInfo;if(le===_||le.nodeType===8&&le.parentNode===_)break;if(Q===4)for(Q=N.return;Q!==null;){var he=Q.tag;if((he===3||he===4)&&(he=Q.stateNode.containerInfo,he===_||he.nodeType===8&&he.parentNode===_))return;Q=Q.return}for(;le!==null;){if(Q=Rd(le),Q===null)return;if(he=Q.tag,he===5||he===6){N=z=Q;continue e}le=le.parentNode}}N=N.return}Dn(function(){var He=z,pt=at(C),gt=[];e:{var ct=c4.get(d);if(ct!==void 0){var Mt=Ii,Wt=d;switch(d){case"keypress":if(wn(C)===0)break e;case"keydown":case"keyup":Mt=Jie;break;case"focusin":Wt="focus",Mt=$A;break;case"focusout":Wt="blur",Mt=$A;break;case"beforeblur":case"afterblur":Mt=$A;break;case"click":if(C.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Mt=BF;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Mt=Uie;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Mt=Xie;break;case a4:case s4:case l4:Mt=jie;break;case u4:Mt=toe;break;case"scroll":Mt=iu;break;case"wheel":Mt=roe;break;case"copy":case"cut":case"paste":Mt=Hie;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Mt=zF}var Kt=(h&4)!==0,ki=!Kt&&d==="scroll",_e=Kt?ct!==null?ct+"Capture":null:ct;Kt=[];for(var Te=He,Ue;Te!==null;){Ue=Te;var Ct=Ue.stateNode;if(Ue.tag===5&&Ct!==null&&(Ue=Ct,_e!==null&&(Ct=Bn(Te,_e),Ct!=null&&Kt.push(ag(Te,Ct,Ue)))),ki)break;Te=Te.return}0<Kt.length&&(ct=new Mt(ct,Wt,null,C,pt),gt.push({event:ct,listeners:Kt}))}}if((h&7)===0){e:{if(ct=d==="mouseover"||d==="pointerover",Mt=d==="mouseout"||d==="pointerout",ct&&C!==tt&&(Wt=C.relatedTarget||C.fromElement)&&(Rd(Wt)||Wt[ou]))break e;if((Mt||ct)&&(ct=pt.window===pt?pt:(ct=pt.ownerDocument)?ct.defaultView||ct.parentWindow:window,Mt?(Wt=C.relatedTarget||C.toElement,Mt=He,Wt=Wt?Rd(Wt):null,Wt!==null&&(ki=It(Wt),Wt!==ki||Wt.tag!==5&&Wt.tag!==6)&&(Wt=null)):(Mt=null,Wt=He),Mt!==Wt)){if(Kt=BF,Ct="onMouseLeave",_e="onMouseEnter",Te="mouse",(d==="pointerout"||d==="pointerover")&&(Kt=zF,Ct="onPointerLeave",_e="onPointerEnter",Te="pointer"),ki=Mt==null?ct:Sp(Mt),Ue=Wt==null?ct:Sp(Wt),ct=new Kt(Ct,Te+"leave",Mt,C,pt),ct.target=ki,ct.relatedTarget=Ue,Ct=null,Rd(pt)===He&&(Kt=new Kt(_e,Te+"enter",Wt,C,pt),Kt.target=Ue,Kt.relatedTarget=ki,Ct=Kt),ki=Ct,Mt&&Wt)t:{for(Kt=Mt,_e=Wt,Te=0,Ue=Kt;Ue;Ue=kp(Ue))Te++;for(Ue=0,Ct=_e;Ct;Ct=kp(Ct))Ue++;for(;0<Te-Ue;)Kt=kp(Kt),Te--;for(;0<Ue-Te;)_e=kp(_e),Ue--;for(;Te--;){if(Kt===_e||_e!==null&&Kt===_e.alternate)break t;Kt=kp(Kt),_e=kp(_e)}Kt=null}else Kt=null;Mt!==null&&h4(gt,ct,Mt,Kt,!1),Wt!==null&&ki!==null&&h4(gt,ki,Wt,Kt,!0)}}e:{if(ct=He?Sp(He):window,Mt=ct.nodeName&&ct.nodeName.toLowerCase(),Mt==="select"||Mt==="input"&&ct.type==="file")var Jt=coe;else if(YF(ct))if(JF)Jt=moe;else{Jt=foe;var pn=doe}else(Mt=ct.nodeName)&&Mt.toLowerCase()==="input"&&(ct.type==="checkbox"||ct.type==="radio")&&(Jt=poe);if(Jt&&(Jt=Jt(d,He))){$F(gt,Jt,C,pt);break e}pn&&pn(d,ct,He),d==="focusout"&&(pn=ct._wrapperState)&&pn.controlled&&ct.type==="number"&&Pe(ct,"number",ct.value)}switch(pn=He?Sp(He):window,d){case"focusin":(YF(pn)||pn.contentEditable==="true")&&(vp=pn,tI=He,rg=null);break;case"focusout":rg=tI=vp=null;break;case"mousedown":nI=!0;break;case"contextmenu":case"mouseup":case"dragend":nI=!1,i4(gt,C,pt);break;case"selectionchange":if(voe)break;case"keydown":case"keyup":i4(gt,C,pt)}var mn;if(ZA)e:{switch(d){case"compositionstart":var An="onCompositionStart";break e;case"compositionend":An="onCompositionEnd";break e;case"compositionupdate":An="onCompositionUpdate";break e}An=void 0}else gp?GF(d,C)&&(An="onCompositionEnd"):d==="keydown"&&C.keyCode===229&&(An="onCompositionStart");An&&(HF&&C.locale!=="ko"&&(gp||An!=="onCompositionStart"?An==="onCompositionEnd"&&gp&&(mn=Ot()):(ba=pt,ic="value"in ba?ba.value:ba.textContent,gp=!0)),pn=Fk(He,An),0<pn.length&&(An=new jF(An,d,null,C,pt),gt.push({event:An,listeners:pn}),mn?An.data=mn:(mn=KF(C),mn!==null&&(An.data=mn)))),(mn=ooe?aoe(d,C):soe(d,C))&&(He=Fk(He,"onBeforeInput"),0<He.length&&(pt=new jF("onBeforeInput","beforeinput",null,C,pt),gt.push({event:pt,listeners:He}),pt.data=mn))}p4(gt,h)})}function ag(d,h,C){return{instance:d,listener:h,currentTarget:C}}function Fk(d,h){for(var C=h+"Capture",N=[];d!==null;){var _=d,z=_.stateNode;_.tag===5&&z!==null&&(_=z,z=Bn(d,C),z!=null&&N.unshift(ag(d,z,_)),z=Bn(d,h),z!=null&&N.push(ag(d,z,_))),d=d.return}return N}function kp(d){if(d===null)return null;do d=d.return;while(d&&d.tag!==5);return d||null}function h4(d,h,C,N,_){for(var z=h._reactName,Q=[];C!==null&&C!==N;){var le=C,he=le.alternate,He=le.stateNode;if(he!==null&&he===N)break;le.tag===5&&He!==null&&(le=He,_?(he=Bn(C,z),he!=null&&Q.unshift(ag(C,he,le))):_||(he=Bn(C,z),he!=null&&Q.push(ag(C,he,le)))),C=C.return}Q.length!==0&&d.push({event:h,listeners:Q})}var Soe=/\r\n?/g,Eoe=/\u0000|\uFFFD/g;function g4(d){return(typeof d=="string"?d:""+d).replace(Soe,` 55`).replace(Eoe,"")}function Uk(d,h,C){if(h=g4(h),g4(d)!==h&&C)throw Error(n(425))}function Vk(){}var lI=null,uI=null;function cI(d,h){return d==="textarea"||d==="noscript"||typeof h.children=="string"||typeof h.children=="number"||typeof h.dangerouslySetInnerHTML=="object"&&h.dangerouslySetInnerHTML!==null&&h.dangerouslySetInnerHTML.__html!=null}var dI=typeof setTimeout=="function"?setTimeout:void 0,Toe=typeof clearTimeout=="function"?clearTimeout:void 0,v4=typeof Promise=="function"?Promise:void 0,Coe=typeof queueMicrotask=="function"?queueMicrotask:typeof v4<"u"?function(d){return v4.resolve(null).then(d).catch(Aoe)}:dI;function Aoe(d){setTimeout(function(){throw d})}function fI(d,h){var C=h,N=0;do{var _=C.nextSibling;if(d.removeChild(C),_&&_.nodeType===8)if(C=_.data,C==="/$"){if(N===0){d.removeChild(_),st(h);return}N--}else C!=="$"&&C!=="$?"&&C!=="$!"||N++;C=_}while(C);st(h)}function sc(d){for(;d!=null;d=d.nextSibling){var h=d.nodeType;if(h===1||h===3)break;if(h===8){if(h=d.data,h==="$"||h==="$!"||h==="$?")break;if(h==="/$")return null}}return d}function y4(d){d=d.previousSibling;for(var h=0;d;){if(d.nodeType===8){var C=d.data;if(C==="$"||C==="$!"||C==="$?"){if(h===0)return d;h--}else C==="/$"&&h++}d=d.previousSibling}return null}var bp=Math.random().toString(36).slice(2),fl="__reactFiber$"+bp,sg="__reactProps$"+bp,ou="__reactContainer$"+bp,pI="__reactEvents$"+bp,Ioe="__reactListeners$"+bp,woe="__reactHandles$"+bp;function Rd(d){var h=d[fl];if(h)return h;for(var C=d.parentNode;C;){if(h=C[ou]||C[fl]){if(C=h.alternate,h.child!==null||C!==null&&C.child!==null)for(d=y4(d);d!==null;){if(C=d[fl])return C;d=y4(d)}return h}d=C,C=d.parentNode}return null}function lg(d){return d=d[fl]||d[ou],!d||d.tag!==5&&d.tag!==6&&d.tag!==13&&d.tag!==3?null:d}function Sp(d){if(d.tag===5||d.tag===6)return d.stateNode;throw Error(n(33))}function Bk(d){return d[sg]||null}var mI=[],Ep=-1;function lc(d){return{current:d}}function Or(d){0>Ep||(d.current=mI[Ep],mI[Ep]=null,Ep--)}function Ar(d,h){Ep++,mI[Ep]=d.current,d.current=h}var uc={},bo=lc(uc),Ko=lc(!1),xd=uc;function Tp(d,h){var C=d.type.contextTypes;if(!C)return uc;var N=d.stateNode;if(N&&N.__reactInternalMemoizedUnmaskedChildContext===h)return N.__reactInternalMemoizedMaskedChildContext;var _={},z;for(z in C)_[z]=h[z];return N&&(d=d.stateNode,d.__reactInternalMemoizedUnmaskedChildContext=h,d.__reactInternalMemoizedMaskedChildContext=_),_}function Yo(d){return d=d.childContextTypes,d!=null}function jk(){Or(Ko),Or(bo)}function k4(d,h,C){if(bo.current!==uc)throw Error(n(168));Ar(bo,h),Ar(Ko,C)}function b4(d,h,C){var N=d.stateNode;if(h=h.childContextTypes,typeof N.getChildContext!="function")return C;N=N.getChildContext();for(var _ in N)if(!(_ in h))throw Error(n(108,ee(d)||"Unknown",_));return W({},C,N)}function zk(d){return d=(d=d.stateNode)&&d.__reactInternalMemoizedMergedChildContext||uc,xd=bo.current,Ar(bo,d),Ar(Ko,Ko.current),!0}function S4(d,h,C){var N=d.stateNode;if(!N)throw Error(n(169));C?(d=b4(d,h,xd),N.__reactInternalMemoizedMergedChildContext=d,Or(Ko),Or(bo),Ar(bo,d)):Or(Ko),Ar(Ko,C)}var au=null,Hk=!1,hI=!1;function E4(d){au===null?au=[d]:au.push(d)}function Noe(d){Hk=!0,E4(d)}function cc(){if(!hI&&au!==null){hI=!0;var d=0,h=Nn;try{var C=au;for(Nn=1;d<C.length;d++){var N=C[d];do N=N(!0);while(N!==null)}au=null,Hk=!1}catch(_){throw au!==null&&(au=au.slice(d+1)),ut(Ki,cc),_}finally{Nn=h,hI=!1}}return null}var Cp=[],Ap=0,Wk=null,qk=0,$a=[],Ja=0,Ld=null,su=1,lu="";function Od(d,h){Cp[Ap++]=qk,Cp[Ap++]=Wk,Wk=d,qk=h}function T4(d,h,C){$a[Ja++]=su,$a[Ja++]=lu,$a[Ja++]=Ld,Ld=d;var N=su;d=lu;var _=32-Kr(N)-1;N&=~(1<<_),C+=1;var z=32-Kr(h)+_;if(30<z){var Q=_-_%5;z=(N&(1<<Q)-1).toString(32),N>>=Q,_-=Q,su=1<<32-Kr(h)+_|C<<_|N,lu=z+d}else su=1<<z|C<<_|N,lu=d}function gI(d){d.return!==null&&(Od(d,1),T4(d,1,0))}function vI(d){for(;d===Wk;)Wk=Cp[--Ap],Cp[Ap]=null,qk=Cp[--Ap],Cp[Ap]=null;for(;d===Ld;)Ld=$a[--Ja],$a[Ja]=null,lu=$a[--Ja],$a[Ja]=null,su=$a[--Ja],$a[Ja]=null}var Sa=null,Ea=null,Mr=!1,Ds=null;function C4(d,h){var C=es(5,null,null,0);
vendor: 5,899 bytes, line 55
55C.elementType="DELETED",C.stateNode=h,C.return=d,h=d.deletions,h===null?(d.deletions=[C],d.flags|=16):h.push(C)}function A4(d,h){switch(d.tag){case 5:var C=d.type;return h=h.nodeType!==1||C.toLowerCase()!==h.nodeName.toLowerCase()?null:h,h!==null?(d.stateNode=h,Sa=d,Ea=sc(h.firstChild),!0):!1;case 6:return h=d.pendingProps===""||h.nodeType!==3?null:h,h!==null?(d.stateNode=h,Sa=d,Ea=null,!0):!1;case 13:return h=h.nodeType!==8?null:h,h!==null?(C=Ld!==null?{id:su,overflow:lu}:null,d.memoizedState={dehydrated:h,treeContext:C,retryLane:1073741824},C=es(18,null,null,0),C.stateNode=h,C.return=d,d.child=C,Sa=d,Ea=null,!0):!1;default:return!1}}function yI(d){return(d.mode&1)!==0&&(d.flags&128)===0}function kI(d){if(Mr){var h=Ea;if(h){var C=h;if(!A4(d,h)){if(yI(d))throw Error(n(418));h=sc(C.nextSibling);var N=Sa;h&&A4(d,h)?C4(N,C):(d.flags=d.flags&-4097|2,Mr=!1,Sa=d)}}else{if(yI(d))throw Error(n(418));d.flags=d.flags&-4097|2,Mr=!1,Sa=d}}}function I4(d){for(d=d.return;d!==null&&d.tag!==5&&d.tag!==3&&d.tag!==13;)d=d.return;Sa=d}function Gk(d){if(d!==Sa)return!1;if(!Mr)return I4(d),Mr=!0,!1;var h;if((h=d.tag!==3)&&!(h=d.tag!==5)&&(h=d.type,h=h!=="head"&&h!=="body"&&!cI(d.type,d.memoizedProps)),h&&(h=Ea)){if(yI(d))throw w4(),Error(n(418));for(;h;)C4(d,h),h=sc(h.nextSibling)}if(I4(d),d.tag===13){if(d=d.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(n(317));e:{for(d=d.nextSibling,h=0;d;){if(d.nodeType===8){var C=d.data;if(C==="/$"){if(h===0){Ea=sc(d.nextSibling);break e}h--}else C!=="$"&&C!=="$!"&&C!=="$?"||h++}d=d.nextSibling}Ea=null}}else Ea=Sa?sc(d.stateNode.nextSibling):null;return!0}function w4(){for(var d=Ea;d;)d=sc(d.nextSibling)}function Ip(){Ea=Sa=null,Mr=!1}function bI(d){Ds===null?Ds=[d]:Ds.push(d)}var Roe=I.ReactCurrentBatchConfig;function ug(d,h,C){if(d=C.ref,d!==null&&typeof d!="function"&&typeof d!="object"){if(C._owner){if(C=C._owner,C){if(C.tag!==1)throw Error(n(309));var N=C.stateNode}if(!N)throw Error(n(147,d));var _=N,z=""+d;return h!==null&&h.ref!==null&&typeof h.ref=="function"&&h.ref._stringRef===z?h.ref:(h=function(Q){var le=_.refs;Q===null?delete le[z]:le[z]=Q},h._stringRef=z,h)}if(typeof d!="string")throw Error(n(284));if(!C._owner)throw Error(n(290,d))}return d}function Kk(d,h){throw d=Object.prototype.toString.call(h),Error(n(31,d==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":d))}function N4(d){var h=d._init;return h(d._payload)}function R4(d){function h(_e,Te){if(d){var Ue=_e.deletions;Ue===null?(_e.deletions=[Te],_e.flags|=16):Ue.push(Te)}}function C(_e,Te){if(!d)return null;for(;Te!==null;)h(_e,Te),Te=Te.sibling;return null}function N(_e,Te){for(_e=new Map;Te!==null;)Te.key!==null?_e.set(Te.key,Te):_e.set(Te.index,Te),Te=Te.sibling;return _e}function _(_e,Te){return _e=yc(_e,Te),_e.index=0,_e.sibling=null,_e}function z(_e,Te,Ue){return _e.index=Ue,d?(Ue=_e.alternate,Ue!==null?(Ue=Ue.index,Ue<Te?(_e.flags|=2,Te):Ue):(_e.flags|=2,Te)):(_e.flags|=1048576,Te)}function Q(_e){return d&&_e.alternate===null&&(_e.flags|=2),_e}function le(_e,Te,Ue,Ct){return Te===null||Te.tag!==6?(Te=dw(Ue,_e.mode,Ct),Te.return=_e,Te):(Te=_(Te,Ue),Te.return=_e,Te)}function he(_e,Te,Ue,Ct){var Jt=Ue.type;return Jt===R?pt(_e,Te,Ue.props.children,Ct,Ue.key):Te!==null&&(Te.elementType===Jt||typeof Jt=="object"&&Jt!==null&&Jt.$$typeof===H&&N4(Jt)===Te.type)?(Ct=_(Te,Ue.props),Ct.ref=ug(_e,Te,Ue),Ct.return=_e,Ct):(Ct=vb(Ue.type,Ue.key,Ue.props,null,_e.mode,Ct),Ct.ref=ug(_e,Te,Ue),Ct.return=_e,Ct)}function He(_e,Te,Ue,Ct){return Te===null||Te.tag!==4||Te.stateNode.containerInfo!==Ue.containerInfo||Te.stateNode.implementation!==Ue.implementation?(Te=fw(Ue,_e.mode,Ct),Te.return=_e,Te):(Te=_(Te,Ue.children||[]),Te.return=_e,Te)}function pt(_e,Te,Ue,Ct,Jt){return Te===null||Te.tag!==7?(Te=Bd(Ue,_e.mode,Ct,Jt),Te.return=_e,Te):(Te=_(Te,Ue),Te.return=_e,Te)}function gt(_e,Te,Ue){if(typeof Te=="string"&&Te!==""||typeof Te=="number")return Te=dw(""+Te,_e.mode,Ue),Te.return=_e,Te;if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case A:return Ue=vb(Te.type,Te.key,Te.props,null,_e.mode,Ue),Ue.ref=ug(_e,null,Te),Ue.return=_e,Ue;case w:return Te=fw(Te,_e.mode,Ue),Te.return=_e,Te;case H:var Ct=Te._init;return gt(_e,Ct(Te._payload),Ue)}if(Me(Te)||V(Te))return Te=Bd(Te,_e.mode,Ue,null),Te.return=_e,Te;Kk(_e,Te)}return null}function ct(_e,Te,Ue,Ct){var Jt=Te!==null?Te.key:null;if(typeof Ue=="string"&&Ue!==""||typeof Ue=="number")return Jt!==null?null:le(_e,Te,""+Ue,Ct);if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case A:return Ue.key===Jt?he(_e,Te,Ue,Ct):null;case w:return Ue.key===Jt?He(_e,Te,Ue,Ct):null;case H:return Jt=Ue._init,ct(_e,Te,Jt(Ue._payload),Ct)}if(Me(Ue)||V(Ue))return Jt!==null?null:pt(_e,Te,Ue,Ct,null);Kk(_e,Ue)}return null}function Mt(_e,Te,Ue,Ct,Jt){if(typeof Ct=="string"&&Ct!==""||typeof Ct=="number")return _e=_e.get(Ue)||null,le(Te,_e,""+Ct,Jt);if(typeof Ct=="object"&&Ct!==null){switch(Ct.$$typeof){case A:return _e=_e.get(Ct.key===null?Ue:Ct.key)||null,he(Te,_e,Ct,Jt);case w:return _e=_e.get(Ct.key===null?Ue:Ct.key)||null,He(Te,_e,Ct,Jt);case H:var pn=Ct._init;return Mt(_e,Te,Ue,pn(Ct._payload),Jt)}if(Me(Ct)||V(Ct))return _e=_e.get(Ue)||null,pt(Te,_e,Ct,Jt,null);Kk(Te,Ct)}return null}function Wt(_e,Te,Ue,Ct){for(var Jt=null,pn=null,mn=Te,An=Te=0,Qi=null;mn!==null&&An<Ue.length;An++){mn.index>An?(Qi=mn,mn=null):Qi=mn.sibling;var er=ct(_e,mn,Ue[An],Ct);if(er===null){mn===null&&(mn=Qi);break}d&&mn&&er.alternate===null&&h(_e,mn),Te=z(er,Te,An),pn===null?Jt=er:pn.sibling=er,pn=er,mn=Qi}if(An===Ue.length)return C(_e,mn),Mr&&Od(_e,An),Jt;if(mn===null){for(;An<Ue.length;An++)mn=gt(_e,Ue[An],Ct),mn!==null&&(Te=z(mn,Te,An),pn===null?Jt=mn:pn.sibling=mn,pn=mn);return Mr&&Od(_e,An),Jt}for(mn=N(_e,mn);An<Ue.length;An++)Qi=Mt(mn,_e,An,Ue[An],Ct),Qi!==null&&(d&&Qi.alternate!==null&&mn.delete(Qi.key===null?An:Qi.key),Te=z(Qi,Te,An),pn===null?Jt=Qi:pn.sibling=Qi,pn=Qi);
vendor: 7,021 bytes, line 55
55return d&&mn.forEach(function(kc){return h(_e,kc)}),Mr&&Od(_e,An),Jt}function Kt(_e,Te,Ue,Ct){var Jt=V(Ue);if(typeof Jt!="function")throw Error(n(150));if(Ue=Jt.call(Ue),Ue==null)throw Error(n(151));for(var pn=Jt=null,mn=Te,An=Te=0,Qi=null,er=Ue.next();mn!==null&&!er.done;An++,er=Ue.next()){mn.index>An?(Qi=mn,mn=null):Qi=mn.sibling;var kc=ct(_e,mn,er.value,Ct);if(kc===null){mn===null&&(mn=Qi);break}d&&mn&&kc.alternate===null&&h(_e,mn),Te=z(kc,Te,An),pn===null?Jt=kc:pn.sibling=kc,pn=kc,mn=Qi}if(er.done)return C(_e,mn),Mr&&Od(_e,An),Jt;if(mn===null){for(;!er.done;An++,er=Ue.next())er=gt(_e,er.value,Ct),er!==null&&(Te=z(er,Te,An),pn===null?Jt=er:pn.sibling=er,pn=er);return Mr&&Od(_e,An),Jt}for(mn=N(_e,mn);!er.done;An++,er=Ue.next())er=Mt(mn,_e,An,er.value,Ct),er!==null&&(d&&er.alternate!==null&&mn.delete(er.key===null?An:er.key),Te=z(er,Te,An),pn===null?Jt=er:pn.sibling=er,pn=er);return d&&mn.forEach(function(lae){return h(_e,lae)}),Mr&&Od(_e,An),Jt}function ki(_e,Te,Ue,Ct){if(typeof Ue=="object"&&Ue!==null&&Ue.type===R&&Ue.key===null&&(Ue=Ue.props.children),typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case A:e:{for(var Jt=Ue.key,pn=Te;pn!==null;){if(pn.key===Jt){if(Jt=Ue.type,Jt===R){if(pn.tag===7){C(_e,pn.sibling),Te=_(pn,Ue.props.children),Te.return=_e,_e=Te;break e}}else if(pn.elementType===Jt||typeof Jt=="object"&&Jt!==null&&Jt.$$typeof===H&&N4(Jt)===pn.type){C(_e,pn.sibling),Te=_(pn,Ue.props),Te.ref=ug(_e,pn,Ue),Te.return=_e,_e=Te;break e}C(_e,pn);break}else h(_e,pn);pn=pn.sibling}Ue.type===R?(Te=Bd(Ue.props.children,_e.mode,Ct,Ue.key),Te.return=_e,_e=Te):(Ct=vb(Ue.type,Ue.key,Ue.props,null,_e.mode,Ct),Ct.ref=ug(_e,Te,Ue),Ct.return=_e,_e=Ct)}return Q(_e);case w:e:{for(pn=Ue.key;Te!==null;){if(Te.key===pn)if(Te.tag===4&&Te.stateNode.containerInfo===Ue.containerInfo&&Te.stateNode.implementation===Ue.implementation){C(_e,Te.sibling),Te=_(Te,Ue.children||[]),Te.return=_e,_e=Te;break e}else{C(_e,Te);break}else h(_e,Te);Te=Te.sibling}Te=fw(Ue,_e.mode,Ct),Te.return=_e,_e=Te}return Q(_e);case H:return pn=Ue._init,ki(_e,Te,pn(Ue._payload),Ct)}if(Me(Ue))return Wt(_e,Te,Ue,Ct);if(V(Ue))return Kt(_e,Te,Ue,Ct);Kk(_e,Ue)}return typeof Ue=="string"&&Ue!==""||typeof Ue=="number"?(Ue=""+Ue,Te!==null&&Te.tag===6?(C(_e,Te.sibling),Te=_(Te,Ue),Te.return=_e,_e=Te):(C(_e,Te),Te=dw(Ue,_e.mode,Ct),Te.return=_e,_e=Te),Q(_e)):C(_e,Te)}return ki}var wp=R4(!0),x4=R4(!1),Yk=lc(null),$k=null,Np=null,SI=null;function EI(){SI=Np=$k=null}function TI(d){var h=Yk.current;Or(Yk),d._currentValue=h}function CI(d,h,C){for(;d!==null;){var N=d.alternate;if((d.childLanes&h)!==h?(d.childLanes|=h,N!==null&&(N.childLanes|=h)):N!==null&&(N.childLanes&h)!==h&&(N.childLanes|=h),d===C)break;d=d.return}}function Rp(d,h){$k=d,SI=Np=null,d=d.dependencies,d!==null&&d.firstContext!==null&&((d.lanes&h)!==0&&($o=!0),d.firstContext=null)}function Za(d){var h=d._currentValue;if(SI!==d)if(d={context:d,memoizedValue:h,next:null},Np===null){if($k===null)throw Error(n(308));Np=d,$k.dependencies={lanes:0,firstContext:d}}else Np=Np.next=d;return h}var Pd=null;function AI(d){Pd===null?Pd=[d]:Pd.push(d)}function L4(d,h,C,N){var _=h.interleaved;return _===null?(C.next=C,AI(h)):(C.next=_.next,_.next=C),h.interleaved=C,uu(d,N)}function uu(d,h){d.lanes|=h;var C=d.alternate;for(C!==null&&(C.lanes|=h),C=d,d=d.return;d!==null;)d.childLanes|=h,C=d.alternate,C!==null&&(C.childLanes|=h),C=d,d=d.return;return C.tag===3?C.stateNode:null}var dc=!1;function II(d){d.updateQueue={baseState:d.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function O4(d,h){d=d.updateQueue,h.updateQueue===d&&(h.updateQueue={baseState:d.baseState,firstBaseUpdate:d.firstBaseUpdate,lastBaseUpdate:d.lastBaseUpdate,shared:d.shared,effects:d.effects})}function cu(d,h){return{eventTime:d,lane:h,tag:0,payload:null,callback:null,next:null}}function fc(d,h,C){var N=d.updateQueue;if(N===null)return null;if(N=N.shared,(Yn&2)!==0){var _=N.pending;return _===null?h.next=h:(h.next=_.next,_.next=h),N.pending=h,uu(d,C)}return _=N.interleaved,_===null?(h.next=h,AI(N)):(h.next=_.next,_.next=h),N.interleaved=h,uu(d,C)}function Jk(d,h,C){if(h=h.updateQueue,h!==null&&(h=h.shared,(C&4194240)!==0)){var N=h.lanes;N&=d.pendingLanes,C|=N,h.lanes=C,ko(d,C)}}function P4(d,h){var C=d.updateQueue,N=d.alternate;if(N!==null&&(N=N.updateQueue,C===N)){var _=null,z=null;if(C=C.firstBaseUpdate,C!==null){do{var Q={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};z===null?_=z=Q:z=z.next=Q,C=C.next}while(C!==null);z===null?_=z=h:z=z.next=h}else _=z=h;C={baseState:N.baseState,firstBaseUpdate:_,lastBaseUpdate:z,shared:N.shared,effects:N.effects},d.updateQueue=C;return}d=C.lastBaseUpdate,d===null?C.firstBaseUpdate=h:d.next=h,C.lastBaseUpdate=h}function Zk(d,h,C,N){var _=d.updateQueue;dc=!1;var z=_.firstBaseUpdate,Q=_.lastBaseUpdate,le=_.shared.pending;if(le!==null){_.shared.pending=null;var he=le,He=he.next;he.next=null,Q===null?z=He:Q.next=He,Q=he;var pt=d.alternate;pt!==null&&(pt=pt.updateQueue,le=pt.lastBaseUpdate,le!==Q&&(le===null?pt.firstBaseUpdate=He:le.next=He,pt.lastBaseUpdate=he))}if(z!==null){var gt=_.baseState;Q=0,pt=He=he=null,le=z;do{var ct=le.lane,Mt=le.eventTime;if((N&ct)===ct){pt!==null&&(pt=pt.next={eventTime:Mt,lane:0,tag:le.tag,payload:le.payload,callback:le.callback,next:null});e:{var Wt=d,Kt=le;switch(ct=h,Mt=C,Kt.tag){case 1:if(Wt=Kt.payload,typeof Wt=="function"){gt=Wt.call(Mt,gt,ct);break e}gt=Wt;break e;case 3:Wt.flags=Wt.flags&-65537|128;case 0:if(Wt=Kt.payload,ct=typeof Wt=="function"?Wt.call(Mt,gt,ct):Wt,ct==null)break e;gt=W({},gt,ct);break e;case 2:dc=!0}}le.callback!==null&&le.lane!==0&&(d.flags|=64,ct=_.effects,ct===null?_.effects=[le]:ct.push(le))}else Mt={eventTime:Mt,lane:ct,tag:le.tag,payload:le.payload,callback:le.callback,next:null},pt===null?(He=pt=Mt,he=gt):pt=pt.next=Mt,Q|=ct;if(le=le.next,le===null){if(le=_.shared.pending,le===null)break;ct=le,le=ct.next,ct.next=null,_.lastBaseUpdate=ct,_.shared.pending=null}}while(!0);if(pt===null&&(he=gt),_.baseState=he,_.firstBaseUpdate=He,_.lastBaseUpdate=pt,h=_.shared.interleaved,h!==null){_=h;do Q|=_.lane,_=_.next;while(_!==h)}else z===null&&(_.shared.lanes=0);Md|=Q,d.lanes=Q,d.memoizedState=gt}}function _4(d,h,C){if(d=h.effects,h.effects=null,d!==null)for(h=0;h<d.length;h++){var N=d[h],_=N.callback;if(_!==null){if(N.callback=null,N=C,typeof _!="function")throw Error(n(191,_));_.call(N)}}}var cg={},pl=lc(cg),dg=lc(cg),fg=lc(cg);function _d(d){if(d===cg)throw Error(n(174));return d}function wI(d,h){switch(Ar(fg,h),Ar(dg,d),Ar(pl,cg),d=h.nodeType,d){case 9:case 11:h=(h=h.documentElement)?h.namespaceURI:ue(null,"");break;default:d=d===8?h.parentNode:h,h=d.namespaceURI||null,d=d.tagName,h=ue(h,d)}Or(pl),Ar(pl,h)}function xp(){Or(pl),Or(dg),Or(fg)}function D4(d){_d(fg.current);var h=_d(pl.current),C=ue(h,d.type);h!==C&&(Ar(dg,d),Ar(pl,C))}function NI(d){dg.current===d&&(Or(pl),Or(dg))}var Yr=lc(0);function Qk(d){for(var h=d;h!==null;
vendor: 6,187 bytes, line 55
55){if(h.tag===13){var C=h.memoizedState;if(C!==null&&(C=C.dehydrated,C===null||C.data==="$?"||C.data==="$!"))return h}else if(h.tag===19&&h.memoizedProps.revealOrder!==void 0){if((h.flags&128)!==0)return h}else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===d)break;for(;h.sibling===null;){if(h.return===null||h.return===d)return null;h=h.return}h.sibling.return=h.return,h=h.sibling}return null}var RI=[];function xI(){for(var d=0;d<RI.length;d++)RI[d]._workInProgressVersionPrimary=null;RI.length=0}var Xk=I.ReactCurrentDispatcher,LI=I.ReactCurrentBatchConfig,Dd=0,$r=null,Ui=null,Ji=null,eb=!1,pg=!1,mg=0,xoe=0;function So(){throw Error(n(321))}function OI(d,h){if(h===null)return!1;for(var C=0;C<h.length&&C<d.length;C++)if(!_s(d[C],h[C]))return!1;return!0}function PI(d,h,C,N,_,z){if(Dd=z,$r=h,h.memoizedState=null,h.updateQueue=null,h.lanes=0,Xk.current=d===null||d.memoizedState===null?_oe:Doe,d=C(N,_),pg){z=0;do{if(pg=!1,mg=0,25<=z)throw Error(n(301));z+=1,Ji=Ui=null,h.updateQueue=null,Xk.current=Moe,d=C(N,_)}while(pg)}if(Xk.current=rb,h=Ui!==null&&Ui.next!==null,Dd=0,Ji=Ui=$r=null,eb=!1,h)throw Error(n(300));return d}function _I(){var d=mg!==0;return mg=0,d}function ml(){var d={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ji===null?$r.memoizedState=Ji=d:Ji=Ji.next=d,Ji}function Qa(){if(Ui===null){var d=$r.alternate;d=d!==null?d.memoizedState:null}else d=Ui.next;var h=Ji===null?$r.memoizedState:Ji.next;if(h!==null)Ji=h,Ui=d;else{if(d===null)throw Error(n(310));Ui=d,d={memoizedState:Ui.memoizedState,baseState:Ui.baseState,baseQueue:Ui.baseQueue,queue:Ui.queue,next:null},Ji===null?$r.memoizedState=Ji=d:Ji=Ji.next=d}return Ji}function hg(d,h){return typeof h=="function"?h(d):h}function DI(d){var h=Qa(),C=h.queue;if(C===null)throw Error(n(311));C.lastRenderedReducer=d;var N=Ui,_=N.baseQueue,z=C.pending;if(z!==null){if(_!==null){var Q=_.next;_.next=z.next,z.next=Q}N.baseQueue=_=z,C.pending=null}if(_!==null){z=_.next,N=N.baseState;var le=Q=null,he=null,He=z;do{var pt=He.lane;if((Dd&pt)===pt)he!==null&&(he=he.next={lane:0,action:He.action,hasEagerState:He.hasEagerState,eagerState:He.eagerState,next:null}),N=He.hasEagerState?He.eagerState:d(N,He.action);else{var gt={lane:pt,action:He.action,hasEagerState:He.hasEagerState,eagerState:He.eagerState,next:null};he===null?(le=he=gt,Q=N):he=he.next=gt,$r.lanes|=pt,Md|=pt}He=He.next}while(He!==null&&He!==z);he===null?Q=N:he.next=le,_s(N,h.memoizedState)||($o=!0),h.memoizedState=N,h.baseState=Q,h.baseQueue=he,C.lastRenderedState=N}if(d=C.interleaved,d!==null){_=d;do z=_.lane,$r.lanes|=z,Md|=z,_=_.next;while(_!==d)}else _===null&&(C.lanes=0);return[h.memoizedState,C.dispatch]}function MI(d){var h=Qa(),C=h.queue;if(C===null)throw Error(n(311));C.lastRenderedReducer=d;var N=C.dispatch,_=C.pending,z=h.memoizedState;if(_!==null){C.pending=null;var Q=_=_.next;do z=d(z,Q.action),Q=Q.next;while(Q!==_);_s(z,h.memoizedState)||($o=!0),h.memoizedState=z,h.baseQueue===null&&(h.baseState=z),C.lastRenderedState=z}return[z,N]}function M4(){}function F4(d,h){var C=$r,N=Qa(),_=h(),z=!_s(N.memoizedState,_);if(z&&(N.memoizedState=_,$o=!0),N=N.queue,FI(B4.bind(null,C,N,d),[d]),N.getSnapshot!==h||z||Ji!==null&&Ji.memoizedState.tag&1){if(C.flags|=2048,gg(9,V4.bind(null,C,N,_,h),void 0,null),Zi===null)throw Error(n(349));(Dd&30)!==0||U4(C,h,_)}return _}function U4(d,h,C){d.flags|=16384,d={getSnapshot:h,value:C},h=$r.updateQueue,h===null?(h={lastEffect:null,stores:null},$r.updateQueue=h,h.stores=[d]):(C=h.stores,C===null?h.stores=[d]:C.push(d))}function V4(d,h,C,N){h.value=C,h.getSnapshot=N,j4(h)&&z4(d)}function B4(d,h,C){return C(function(){j4(h)&&z4(d)})}function j4(d){var h=d.getSnapshot;d=d.value;try{var C=h();return!_s(d,C)}catch{return!0}}function z4(d){var h=uu(d,1);h!==null&&Vs(h,d,1,-1)}function H4(d){var h=ml();return typeof d=="function"&&(d=d()),h.memoizedState=h.baseState=d,d={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:hg,lastRenderedState:d},h.queue=d,d=d.dispatch=Poe.bind(null,$r,d),[h.memoizedState,d]}function gg(d,h,C,N){return d={tag:d,create:h,destroy:C,deps:N,next:null},h=$r.updateQueue,h===null?(h={lastEffect:null,stores:null},$r.updateQueue=h,h.lastEffect=d.next=d):(C=h.lastEffect,C===null?h.lastEffect=d.next=d:(N=C.next,C.next=d,d.next=N,h.lastEffect=d)),d}function W4(){return Qa().memoizedState}function tb(d,h,C,N){var _=ml();$r.flags|=d,_.memoizedState=gg(1|h,C,void 0,N===void 0?null:N)}function nb(d,h,C,N){var _=Qa();N=N===void 0?null:N;var z=void 0;if(Ui!==null){var Q=Ui.memoizedState;if(z=Q.destroy,N!==null&&OI(N,Q.deps)){_.memoizedState=gg(h,C,z,N);return}}$r.flags|=d,_.memoizedState=gg(1|h,C,z,N)}function q4(d,h){return tb(8390656,8,d,h)}function FI(d,h){return nb(2048,8,d,h)}function G4(d,h){return nb(4,2,d,h)}function K4(d,h){return nb(4,4,d,h)}function Y4(d,h){if(typeof h=="function")return d=d(),h(d),function(){h(null)};if(h!=null)return d=d(),h.current=d,function(){h.current=null}}function $4(d,h,C){return C=C!=null?C.concat([d]):null,nb(4,4,Y4.bind(null,h,d),C)}function UI(){}function J4(d,h){var C=Qa();h=h===void 0?null:h;var N=C.memoizedState;return N!==null&&h!==null&&OI(h,N[1])?N[0]:(C.memoizedState=[d,h],d)}function Z4(d,h){var C=Qa();h=h===void 0?null:h;var N=C.memoizedState;return N!==null&&h!==null&&OI(h,N[1])?N[0]:(d=d(),C.memoizedState=[d,h],d)}function Q4(d,h,C){return(Dd&21)===0?(d.baseState&&(d.baseState=!1,$o=!0),d.memoizedState=C):(_s(C,h)||(C=eu(),$r.lanes|=C,Md|=C,d.baseState=!0),h)}function Loe(d,h){var C=Nn;Nn=C!==0&&4>C?C:4,d(!0);var N=LI.transition;LI.transition={};try{d(!1),h()}finally{Nn=C,LI.transition=N}}function X4(){return Qa().memoizedState}function Ooe(d,h,C){var N=gc(d);if(C={lane:N,action:C,hasEagerState:!1,eagerState:null,next:null},e2(d))t2(h,C);else if(C=L4(d,h,C,N),C!==null){var _=Mo();Vs(C,d,N,_),n2(C,h,N)}}function Poe(d,h,C){var N=gc(d),_={lane:N,action:C,hasEagerState:!1,eagerState:null,next:null};if(e2(d))t2(h,_);else{var z=d.alternate;if(d.lanes===0&&(z===null||z.lanes===0)&&(z=h.lastRenderedReducer,z!==null))try{var Q=h.lastRenderedState,le=z(Q,C);if(_.hasEagerState=!0,_.eagerState=le,_s(le,Q)){var he=h.interleaved;
vendor: 6,701 bytes, lines 55-57
55he===null?(_.next=_,AI(h)):(_.next=he.next,he.next=_),h.interleaved=_;return}}catch{}C=L4(d,h,_,N),C!==null&&(_=Mo(),Vs(C,d,N,_),n2(C,h,N))}}function e2(d){var h=d.alternate;return d===$r||h!==null&&h===$r}function t2(d,h){pg=eb=!0;var C=d.pending;C===null?h.next=h:(h.next=C.next,C.next=h),d.pending=h}function n2(d,h,C){if((C&4194240)!==0){var N=h.lanes;N&=d.pendingLanes,C|=N,h.lanes=C,ko(d,C)}}var rb={readContext:Za,useCallback:So,useContext:So,useEffect:So,useImperativeHandle:So,useInsertionEffect:So,useLayoutEffect:So,useMemo:So,useReducer:So,useRef:So,useState:So,useDebugValue:So,useDeferredValue:So,useTransition:So,useMutableSource:So,useSyncExternalStore:So,useId:So,unstable_isNewReconciler:!1},_oe={readContext:Za,useCallback:function(d,h){return ml().memoizedState=[d,h===void 0?null:h],d},useContext:Za,useEffect:q4,useImperativeHandle:function(d,h,C){return C=C!=null?C.concat([d]):null,tb(4194308,4,Y4.bind(null,h,d),C)},useLayoutEffect:function(d,h){return tb(4194308,4,d,h)},useInsertionEffect:function(d,h){return tb(4,2,d,h)},useMemo:function(d,h){var C=ml();return h=h===void 0?null:h,d=d(),C.memoizedState=[d,h],d},useReducer:function(d,h,C){var N=ml();return h=C!==void 0?C(h):h,N.memoizedState=N.baseState=h,d={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:d,lastRenderedState:h},N.queue=d,d=d.dispatch=Ooe.bind(null,$r,d),[N.memoizedState,d]},useRef:function(d){var h=ml();return d={current:d},h.memoizedState=d},useState:H4,useDebugValue:UI,useDeferredValue:function(d){return ml().memoizedState=d},useTransition:function(){var d=H4(!1),h=d[0];return d=Loe.bind(null,d[1]),ml().memoizedState=d,[h,d]},useMutableSource:function(){},useSyncExternalStore:function(d,h,C){var N=$r,_=ml();if(Mr){if(C===void 0)throw Error(n(407));C=C()}else{if(C=h(),Zi===null)throw Error(n(349));(Dd&30)!==0||U4(N,h,C)}_.memoizedState=C;var z={value:C,getSnapshot:h};return _.queue=z,q4(B4.bind(null,N,z,d),[d]),N.flags|=2048,gg(9,V4.bind(null,N,z,C,h),void 0,null),C},useId:function(){var d=ml(),h=Zi.identifierPrefix;if(Mr){var C=lu,N=su;C=(N&~(1<<32-Kr(N)-1)).toString(32)+C,h=":"+h+"R"+C,C=mg++,0<C&&(h+="H"+C.toString(32)),h+=":"}else C=xoe++,h=":"+h+"r"+C.toString(32)+":";return d.memoizedState=h},unstable_isNewReconciler:!1},Doe={readContext:Za,useCallback:J4,useContext:Za,useEffect:FI,useImperativeHandle:$4,useInsertionEffect:G4,useLayoutEffect:K4,useMemo:Z4,useReducer:DI,useRef:W4,useState:function(){return DI(hg)},useDebugValue:UI,useDeferredValue:function(d){var h=Qa();return Q4(h,Ui.memoizedState,d)},useTransition:function(){var d=DI(hg)[0],h=Qa().memoizedState;return[d,h]},useMutableSource:M4,useSyncExternalStore:F4,useId:X4,unstable_isNewReconciler:!1},Moe={readContext:Za,useCallback:J4,useContext:Za,useEffect:FI,useImperativeHandle:$4,useInsertionEffect:G4,useLayoutEffect:K4,useMemo:Z4,useReducer:MI,useRef:W4,useState:function(){return MI(hg)},useDebugValue:UI,useDeferredValue:function(d){var h=Qa();return Ui===null?h.memoizedState=d:Q4(h,Ui.memoizedState,d)},useTransition:function(){var d=MI(hg)[0],h=Qa().memoizedState;return[d,h]},useMutableSource:M4,useSyncExternalStore:F4,useId:X4,unstable_isNewReconciler:!1};function Ms(d,h){if(d&&d.defaultProps){h=W({},h),d=d.defaultProps;for(var C in d)h[C]===void 0&&(h[C]=d[C]);return h}return h}function VI(d,h,C,N){h=d.memoizedState,C=C(N,h),C=C==null?h:W({},h,C),d.memoizedState=C,d.lanes===0&&(d.updateQueue.baseState=C)}var ib={isMounted:function(d){return(d=d._reactInternals)?It(d)===d:!1},enqueueSetState:function(d,h,C){d=d._reactInternals;var N=Mo(),_=gc(d),z=cu(N,_);z.payload=h,C!=null&&(z.callback=C),h=fc(d,z,_),h!==null&&(Vs(h,d,_,N),Jk(h,d,_))},enqueueReplaceState:function(d,h,C){d=d._reactInternals;var N=Mo(),_=gc(d),z=cu(N,_);z.tag=1,z.payload=h,C!=null&&(z.callback=C),h=fc(d,z,_),h!==null&&(Vs(h,d,_,N),Jk(h,d,_))},enqueueForceUpdate:function(d,h){d=d._reactInternals;var C=Mo(),N=gc(d),_=cu(C,N);_.tag=2,h!=null&&(_.callback=h),h=fc(d,_,N),h!==null&&(Vs(h,d,N,C),Jk(h,d,N))}};function r2(d,h,C,N,_,z,Q){return d=d.stateNode,typeof d.shouldComponentUpdate=="function"?d.shouldComponentUpdate(N,z,Q):h.prototype&&h.prototype.isPureReactComponent?!ng(C,N)||!ng(_,z):!0}function i2(d,h,C){var N=!1,_=uc,z=h.contextType;return typeof z=="object"&&z!==null?z=Za(z):(_=Yo(h)?xd:bo.current,N=h.contextTypes,z=(N=N!=null)?Tp(d,_):uc),h=new h(C,z),d.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=ib,d.stateNode=h,h._reactInternals=d,N&&(d=d.stateNode,d.__reactInternalMemoizedUnmaskedChildContext=_,d.__reactInternalMemoizedMaskedChildContext=z),h}function o2(d,h,C,N){d=h.state,typeof h.componentWillReceiveProps=="function"&&h.componentWillReceiveProps(C,N),typeof h.UNSAFE_componentWillReceiveProps=="function"&&h.UNSAFE_componentWillReceiveProps(C,N),h.state!==d&&ib.enqueueReplaceState(h,h.state,null)}function BI(d,h,C,N){var _=d.stateNode;_.props=C,_.state=d.memoizedState,_.refs={},II(d);var z=h.contextType;typeof z=="object"&&z!==null?_.context=Za(z):(z=Yo(h)?xd:bo.current,_.context=Tp(d,z)),_.state=d.memoizedState,z=h.getDerivedStateFromProps,typeof z=="function"&&(VI(d,h,z,C),_.state=d.memoizedState),typeof h.getDerivedStateFromProps=="function"||typeof _.getSnapshotBeforeUpdate=="function"||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(h=_.state,typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount(),h!==_.state&&ib.enqueueReplaceState(_,_.state,null),Zk(d,C,_,N),_.state=d.memoizedState),typeof _.componentDidMount=="function"&&(d.flags|=4194308)}function Lp(d,h){try{var C="",N=h;do C+=Z(N),N=N.return;while(N);var _=C}catch(z){_=` 56Error generating stack: `+z.message+` 57`+z.stack}return{value:d,source:h,stack:_,digest:null}}function jI(d,h,C){return{value:d,source:null,stack:C??null,digest:h??null}}function zI(d,h){try{console.error(h.value)}catch(C){setTimeout(function(){throw C})}}var Foe=typeof WeakMap=="function"?WeakMap:Map;function a2(d,h,C){C=cu(-1,C),C.tag=3,C.payload={element:null};var N=h.value;return C.callback=function(){db||(db=!0,rw=N),zI(d,h)},C}function s2(d,h,C){C=cu(-1,C),C.tag=3;var N=d.type.getDerivedStateFromError;if(typeof N=="function"){var _=h.value;C.payload=function(){return N(_)},C.callback=function(){zI(d,h)}}var z=d.stateNode;return z!==null&&typeof z.componentDidCatch=="function"&&(C.callback=function(){zI(d,h),typeof N!="function"&&(mc===null?mc=new Set([this]):mc.add(this));var Q=h.stack;this.componentDidCatch(h.value,{componentStack:Q!==null?Q:""})}),C}function l2(d,h,C){var N=d.pingCache;if(N===null){N=d.pingCache=new Foe;var _=new Set;N.set(h,_)}
vendor: 8,783 bytes, line 57
57else _=N.get(h),_===void 0&&(_=new Set,N.set(h,_));_.has(C)||(_.add(C),d=Zoe.bind(null,d,h,C),h.then(d,d))}function u2(d){do{var h;if((h=d.tag===13)&&(h=d.memoizedState,h=h!==null?h.dehydrated!==null:!0),h)return d;d=d.return}while(d!==null);return null}function c2(d,h,C,N,_){return(d.mode&1)===0?(d===h?d.flags|=65536:(d.flags|=128,C.flags|=131072,C.flags&=-52805,C.tag===1&&(C.alternate===null?C.tag=17:(h=cu(-1,1),h.tag=2,fc(C,h,1))),C.lanes|=1),d):(d.flags|=65536,d.lanes=_,d)}var Uoe=I.ReactCurrentOwner,$o=!1;function Do(d,h,C,N){h.child=d===null?x4(h,null,C,N):wp(h,d.child,C,N)}function d2(d,h,C,N,_){C=C.render;var z=h.ref;return Rp(h,_),N=PI(d,h,C,N,z,_),C=_I(),d!==null&&!$o?(h.updateQueue=d.updateQueue,h.flags&=-2053,d.lanes&=~_,du(d,h,_)):(Mr&&C&&gI(h),h.flags|=1,Do(d,h,N,_),h.child)}function f2(d,h,C,N,_){if(d===null){var z=C.type;return typeof z=="function"&&!cw(z)&&z.defaultProps===void 0&&C.compare===null&&C.defaultProps===void 0?(h.tag=15,h.type=z,p2(d,h,z,N,_)):(d=vb(C.type,null,N,h,h.mode,_),d.ref=h.ref,d.return=h,h.child=d)}if(z=d.child,(d.lanes&_)===0){var Q=z.memoizedProps;if(C=C.compare,C=C!==null?C:ng,C(Q,N)&&d.ref===h.ref)return du(d,h,_)}return h.flags|=1,d=yc(z,N),d.ref=h.ref,d.return=h,h.child=d}function p2(d,h,C,N,_){if(d!==null){var z=d.memoizedProps;if(ng(z,N)&&d.ref===h.ref)if($o=!1,h.pendingProps=N=z,(d.lanes&_)!==0)(d.flags&131072)!==0&&($o=!0);else return h.lanes=d.lanes,du(d,h,_)}return HI(d,h,C,N,_)}function m2(d,h,C){var N=h.pendingProps,_=N.children,z=d!==null?d.memoizedState:null;if(N.mode==="hidden")if((h.mode&1)===0)h.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ar(Pp,Ta),Ta|=C;else{if((C&1073741824)===0)return d=z!==null?z.baseLanes|C:C,h.lanes=h.childLanes=1073741824,h.memoizedState={baseLanes:d,cachePool:null,transitions:null},h.updateQueue=null,Ar(Pp,Ta),Ta|=d,null;h.memoizedState={baseLanes:0,cachePool:null,transitions:null},N=z!==null?z.baseLanes:C,Ar(Pp,Ta),Ta|=N}else z!==null?(N=z.baseLanes|C,h.memoizedState=null):N=C,Ar(Pp,Ta),Ta|=N;return Do(d,h,_,C),h.child}function h2(d,h){var C=h.ref;(d===null&&C!==null||d!==null&&d.ref!==C)&&(h.flags|=512,h.flags|=2097152)}function HI(d,h,C,N,_){var z=Yo(C)?xd:bo.current;return z=Tp(h,z),Rp(h,_),C=PI(d,h,C,N,z,_),N=_I(),d!==null&&!$o?(h.updateQueue=d.updateQueue,h.flags&=-2053,d.lanes&=~_,du(d,h,_)):(Mr&&N&&gI(h),h.flags|=1,Do(d,h,C,_),h.child)}function g2(d,h,C,N,_){if(Yo(C)){var z=!0;zk(h)}else z=!1;if(Rp(h,_),h.stateNode===null)ab(d,h),i2(h,C,N),BI(h,C,N,_),N=!0;else if(d===null){var Q=h.stateNode,le=h.memoizedProps;Q.props=le;var he=Q.context,He=C.contextType;typeof He=="object"&&He!==null?He=Za(He):(He=Yo(C)?xd:bo.current,He=Tp(h,He));var pt=C.getDerivedStateFromProps,gt=typeof pt=="function"||typeof Q.getSnapshotBeforeUpdate=="function";gt||typeof Q.UNSAFE_componentWillReceiveProps!="function"&&typeof Q.componentWillReceiveProps!="function"||(le!==N||he!==He)&&o2(h,Q,N,He),dc=!1;var ct=h.memoizedState;Q.state=ct,Zk(h,N,Q,_),he=h.memoizedState,le!==N||ct!==he||Ko.current||dc?(typeof pt=="function"&&(VI(h,C,pt,N),he=h.memoizedState),(le=dc||r2(h,C,le,N,ct,he,He))?(gt||typeof Q.UNSAFE_componentWillMount!="function"&&typeof Q.componentWillMount!="function"||(typeof Q.componentWillMount=="function"&&Q.componentWillMount(),typeof Q.UNSAFE_componentWillMount=="function"&&Q.UNSAFE_componentWillMount()),typeof Q.componentDidMount=="function"&&(h.flags|=4194308)):(typeof Q.componentDidMount=="function"&&(h.flags|=4194308),h.memoizedProps=N,h.memoizedState=he),Q.props=N,Q.state=he,Q.context=He,N=le):(typeof Q.componentDidMount=="function"&&(h.flags|=4194308),N=!1)}else{Q=h.stateNode,O4(d,h),le=h.memoizedProps,He=h.type===h.elementType?le:Ms(h.type,le),Q.props=He,gt=h.pendingProps,ct=Q.context,he=C.contextType,typeof he=="object"&&he!==null?he=Za(he):(he=Yo(C)?xd:bo.current,he=Tp(h,he));var Mt=C.getDerivedStateFromProps;(pt=typeof Mt=="function"||typeof Q.getSnapshotBeforeUpdate=="function")||typeof Q.UNSAFE_componentWillReceiveProps!="function"&&typeof Q.componentWillReceiveProps!="function"||(le!==gt||ct!==he)&&o2(h,Q,N,he),dc=!1,ct=h.memoizedState,Q.state=ct,Zk(h,N,Q,_);var Wt=h.memoizedState;le!==gt||ct!==Wt||Ko.current||dc?(typeof Mt=="function"&&(VI(h,C,Mt,N),Wt=h.memoizedState),(He=dc||r2(h,C,He,N,ct,Wt,he)||!1)?(pt||typeof Q.UNSAFE_componentWillUpdate!="function"&&typeof Q.componentWillUpdate!="function"||(typeof Q.componentWillUpdate=="function"&&Q.componentWillUpdate(N,Wt,he),typeof Q.UNSAFE_componentWillUpdate=="function"&&Q.UNSAFE_componentWillUpdate(N,Wt,he)),typeof Q.componentDidUpdate=="function"&&(h.flags|=4),typeof Q.getSnapshotBeforeUpdate=="function"&&(h.flags|=1024)):(typeof Q.componentDidUpdate!="function"||le===d.memoizedProps&&ct===d.memoizedState||(h.flags|=4),typeof Q.getSnapshotBeforeUpdate!="function"||le===d.memoizedProps&&ct===d.memoizedState||(h.flags|=1024),h.memoizedProps=N,h.memoizedState=Wt),Q.props=N,Q.state=Wt,Q.context=he,N=He):(typeof Q.componentDidUpdate!="function"||le===d.memoizedProps&&ct===d.memoizedState||(h.flags|=4),typeof Q.getSnapshotBeforeUpdate!="function"||le===d.memoizedProps&&ct===d.memoizedState||(h.flags|=1024),N=!1)}return WI(d,h,C,N,z,_)}function WI(d,h,C,N,_,z){h2(d,h);var Q=(h.flags&128)!==0;if(!N&&!Q)return _&&S4(h,C,!1),du(d,h,z);N=h.stateNode,Uoe.current=h;var le=Q&&typeof C.getDerivedStateFromError!="function"?null:N.render();return h.flags|=1,d!==null&&Q?(h.child=wp(h,d.child,null,z),h.child=wp(h,null,le,z)):Do(d,h,le,z),h.memoizedState=N.state,_&&S4(h,C,!0),h.child}function v2(d){var h=d.stateNode;h.pendingContext?k4(d,h.pendingContext,h.pendingContext!==h.context):h.context&&k4(d,h.context,!1),wI(d,h.containerInfo)}function y2(d,h,C,N,_){return Ip(),bI(_),h.flags|=256,Do(d,h,C,N),h.child}var qI={dehydrated:null,treeContext:null,retryLane:0};function GI(d){return{baseLanes:d,cachePool:null,transitions:null}}function k2(d,h,C){var N=h.pendingProps,_=Yr.current,z=!1,Q=(h.flags&128)!==0,le;if((le=Q)||(le=d!==null&&d.memoizedState===null?!1:(_&2)!==0),le?(z=!0,h.flags&=-129):(d===null||d.memoizedState!==null)&&(_|=1),Ar(Yr,_&1),d===null)return kI(h),d=h.memoizedState,d!==null&&(d=d.dehydrated,d!==null)?((h.mode&1)===0?h.lanes=1:d.data==="$!"?h.lanes=8:h.lanes=1073741824,null):(Q=N.children,d=N.fallback,z?(N=h.mode,z=h.child,Q={mode:"hidden",children:Q},(N&1)===0&&z!==null?(z.childLanes=0,z.pendingProps=Q):z=yb(Q,N,0,null),d=Bd(d,N,C,null),z.return=h,d.return=h,z.sibling=d,h.child=z,h.child.memoizedState=GI(C),h.memoizedState=qI,d):KI(h,Q));if(_=d.memoizedState,_!==null&&(le=_.dehydrated,le!==null))return Voe(d,h,Q,N,le,_,C);if(z){z=N.fallback,Q=h.mode,_=d.child,le=_.sibling;var he={mode:"hidden",children:N.children};return(Q&1)===0&&h.child!==_?(N=h.child,N.childLanes=0,N.pendingProps=he,h.deletions=null):(N=yc(_,he),N.subtreeFlags=_.subtreeFlags&14680064),le!==null?z=yc(le,z):(z=Bd(z,Q,C,null),z.flags|=2),z.return=h,N.return=h,N.sibling=z,h.child=N,N=z,z=h.child,Q=d.child.memoizedState,Q=Q===null?GI(C):{baseLanes:Q.baseLanes|C,cachePool:null,transitions:Q.transitions},z.memoizedState=Q,z.childLanes=d.childLanes&~C,h.memoizedState=qI,N}return z=d.child,d=z.sibling,N=yc(z,{mode:"visible",children:N.children}),(h.mode&1)===0&&(N.lanes=C),N.return=h,N.sibling=null,d!==null&&(C=h.deletions,C===null?(h.deletions=[d],h.flags|=16):C.push(d)),h.child=N,h.memoizedState=null,N}function KI(d,h){return h=yb({mode:"visible",children:h},d.mode,0,null),h.return=d,d.child=h}function ob(d,h,C,N){return N!==null&&bI(N),wp(h,d.child,null,C),d=KI(h,h.pendingProps.children),d.flags|=2,h.memoizedState=null,d}function Voe(d,h,C,N,_,z,Q){if(C)return h.flags&256?(h.flags&=-257,N=jI(Error(n(422))),ob(d,h,Q,N)):h.memoizedState!==null?(h.child=d.child,h.flags|=128,null):(z=N.fallback,_=h.mode,N=yb({mode:"visible",children:N.children},_,0,null),z=Bd(z,_,Q,null),z.flags|=2,N.return=h,z.return=h,N.sibling=z,h.child=N,(h.mode&1)!==0&&wp(h,d.child,null,Q),h.child.memoizedState=GI(Q),h.memoizedState=qI,z);if((h.mode&1)===0)return ob(d,h,Q,null);if(_.data==="$!"){if(N=_.nextSibling&&_.nextSibling.dataset,N)var le=N.dgst;return N=le,z=Error(n(419)),N=jI(z,N,void 0),ob(d,h,Q,N)}if(le=(Q&d.childLanes)!==0,$o||le){if(N=Zi,N!==null){switch(Q&-Q){case 4:_=2;break;case 16:_=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:_=32;break;case 536870912:_=268435456;break;default:_=0}_=(_&(N.suspendedLanes|Q))!==0?0:_,_!==0&&_!==z.retryLane&&(z.retryLane=_,uu(d,_),Vs(N,d,_,-1))}return uw(),N=jI(Error(n(421))),ob(d,h,Q,N)}return _.data==="$?"?(h.flags|=128,h.child=d.child,h=Qoe.bind(null,d),_._reactRetry=h,null):(d=z.tree
vendor: 4,602 bytes, line 57
57Context,Ea=sc(_.nextSibling),Sa=h,Mr=!0,Ds=null,d!==null&&($a[Ja++]=su,$a[Ja++]=lu,$a[Ja++]=Ld,su=d.id,lu=d.overflow,Ld=h),h=KI(h,N.children),h.flags|=4096,h)}function b2(d,h,C){d.lanes|=h;var N=d.alternate;N!==null&&(N.lanes|=h),CI(d.return,h,C)}function YI(d,h,C,N,_){var z=d.memoizedState;z===null?d.memoizedState={isBackwards:h,rendering:null,renderingStartTime:0,last:N,tail:C,tailMode:_}:(z.isBackwards=h,z.rendering=null,z.renderingStartTime=0,z.last=N,z.tail=C,z.tailMode=_)}function S2(d,h,C){var N=h.pendingProps,_=N.revealOrder,z=N.tail;if(Do(d,h,N.children,C),N=Yr.current,(N&2)!==0)N=N&1|2,h.flags|=128;else{if(d!==null&&(d.flags&128)!==0)e:for(d=h.child;d!==null;){if(d.tag===13)d.memoizedState!==null&&b2(d,C,h);else if(d.tag===19)b2(d,C,h);else if(d.child!==null){d.child.return=d,d=d.child;continue}if(d===h)break e;for(;d.sibling===null;){if(d.return===null||d.return===h)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}N&=1}if(Ar(Yr,N),(h.mode&1)===0)h.memoizedState=null;else switch(_){case"forwards":for(C=h.child,_=null;C!==null;)d=C.alternate,d!==null&&Qk(d)===null&&(_=C),C=C.sibling;C=_,C===null?(_=h.child,h.child=null):(_=C.sibling,C.sibling=null),YI(h,!1,_,C,z);break;case"backwards":for(C=null,_=h.child,h.child=null;_!==null;){if(d=_.alternate,d!==null&&Qk(d)===null){h.child=_;break}d=_.sibling,_.sibling=C,C=_,_=d}YI(h,!0,C,null,z);break;case"together":YI(h,!1,null,null,void 0);break;default:h.memoizedState=null}return h.child}function ab(d,h){(h.mode&1)===0&&d!==null&&(d.alternate=null,h.alternate=null,h.flags|=2)}function du(d,h,C){if(d!==null&&(h.dependencies=d.dependencies),Md|=h.lanes,(C&h.childLanes)===0)return null;if(d!==null&&h.child!==d.child)throw Error(n(153));if(h.child!==null){for(d=h.child,C=yc(d,d.pendingProps),h.child=C,C.return=h;d.sibling!==null;)d=d.sibling,C=C.sibling=yc(d,d.pendingProps),C.return=h;C.sibling=null}return h.child}function Boe(d,h,C){switch(h.tag){case 3:v2(h),Ip();break;case 5:D4(h);break;case 1:Yo(h.type)&&zk(h);break;case 4:wI(h,h.stateNode.containerInfo);break;case 10:var N=h.type._context,_=h.memoizedProps.value;Ar(Yk,N._currentValue),N._currentValue=_;break;case 13:if(N=h.memoizedState,N!==null)return N.dehydrated!==null?(Ar(Yr,Yr.current&1),h.flags|=128,null):(C&h.child.childLanes)!==0?k2(d,h,C):(Ar(Yr,Yr.current&1),d=du(d,h,C),d!==null?d.sibling:null);Ar(Yr,Yr.current&1);break;case 19:if(N=(C&h.childLanes)!==0,(d.flags&128)!==0){if(N)return S2(d,h,C);h.flags|=128}if(_=h.memoizedState,_!==null&&(_.rendering=null,_.tail=null,_.lastEffect=null),Ar(Yr,Yr.current),N)break;return null;case 22:case 23:return h.lanes=0,m2(d,h,C)}return du(d,h,C)}var E2,$I,T2,C2;E2=function(d,h){for(var C=h.child;C!==null;){if(C.tag===5||C.tag===6)d.appendChild(C.stateNode);else if(C.tag!==4&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===h)break;for(;C.sibling===null;){if(C.return===null||C.return===h)return;C=C.return}C.sibling.return=C.return,C=C.sibling}},$I=function(){},T2=function(d,h,C,N){var _=d.memoizedProps;if(_!==N){d=h.stateNode,_d(pl.current);var z=null;switch(C){case"input":_=ve(d,_),N=ve(d,N),z=[];break;case"select":_=W({},_,{value:void 0}),N=W({},N,{value:void 0}),z=[];break;case"textarea":_=Fe(d,_),N=Fe(d,N),z=[];break;default:typeof _.onClick!="function"&&typeof N.onClick=="function"&&(d.onclick=Vk)}Re(C,N);var Q;C=null;for(He in _)if(!N.hasOwnProperty(He)&&_.hasOwnProperty(He)&&_[He]!=null)if(He==="style"){var le=_[He];for(Q in le)le.hasOwnProperty(Q)&&(C||(C={}),C[Q]="")}else He!=="dangerouslySetInnerHTML"&&He!=="children"&&He!=="suppressContentEditableWarning"&&He!=="suppressHydrationWarning"&&He!=="autoFocus"&&(i.hasOwnProperty(He)?z||(z=[]):(z=z||[]).push(He,null));for(He in N){var he=N[He];if(le=_?.[He],N.hasOwnProperty(He)&&he!==le&&(he!=null||le!=null))if(He==="style")if(le){for(Q in le)!le.hasOwnProperty(Q)||he&&he.hasOwnProperty(Q)||(C||(C={}),C[Q]="");for(Q in he)he.hasOwnProperty(Q)&&le[Q]!==he[Q]&&(C||(C={}),C[Q]=he[Q])}else C||(z||(z=[]),z.push(He,C)),C=he;else He==="dangerouslySetInnerHTML"?(he=he?he.__html:void 0,le=le?le.__html:void 0,he!=null&&le!==he&&(z=z||[]).push(He,he)):He==="children"?typeof he!="string"&&typeof he!="number"||(z=z||[]).push(He,""+he):He!=="suppressContentEditableWarning"&&He!=="suppressHydrationWarning"&&(i.hasOwnProperty(He)?(he!=null&&He==="onScroll"&&Lr("scroll",d),z||le===he||(z=[])):(z=z||[]).push(He,he))}C&&(z=z||[]).push("style",C);var He=z;(h.updateQueue=He)&&(h.flags|=4)}},C2=function(d,h,C,N){C!==N&&(h.flags|=4)};function vg(d,h){if(!Mr)switch(d.tailMode){case"hidden":h=d.tail;for(var C=null;h!==null;
vendor: 9,860 bytes, line 57
57)h.alternate!==null&&(C=h),h=h.sibling;C===null?d.tail=null:C.sibling=null;break;case"collapsed":C=d.tail;for(var N=null;C!==null;)C.alternate!==null&&(N=C),C=C.sibling;N===null?h||d.tail===null?d.tail=null:d.tail.sibling=null:N.sibling=null}}function Eo(d){var h=d.alternate!==null&&d.alternate.child===d.child,C=0,N=0;if(h)for(var _=d.child;_!==null;)C|=_.lanes|_.childLanes,N|=_.subtreeFlags&14680064,N|=_.flags&14680064,_.return=d,_=_.sibling;else for(_=d.child;_!==null;)C|=_.lanes|_.childLanes,N|=_.subtreeFlags,N|=_.flags,_.return=d,_=_.sibling;return d.subtreeFlags|=N,d.childLanes=C,h}function joe(d,h,C){var N=h.pendingProps;switch(vI(h),h.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Eo(h),null;case 1:return Yo(h.type)&&jk(),Eo(h),null;case 3:return N=h.stateNode,xp(),Or(Ko),Or(bo),xI(),N.pendingContext&&(N.context=N.pendingContext,N.pendingContext=null),(d===null||d.child===null)&&(Gk(h)?h.flags|=4:d===null||d.memoizedState.isDehydrated&&(h.flags&256)===0||(h.flags|=1024,Ds!==null&&(aw(Ds),Ds=null))),$I(d,h),Eo(h),null;case 5:NI(h);var _=_d(fg.current);if(C=h.type,d!==null&&h.stateNode!=null)T2(d,h,C,N,_),d.ref!==h.ref&&(h.flags|=512,h.flags|=2097152);else{if(!N){if(h.stateNode===null)throw Error(n(166));return Eo(h),null}if(d=_d(pl.current),Gk(h)){N=h.stateNode,C=h.type;var z=h.memoizedProps;switch(N[fl]=h,N[sg]=z,d=(h.mode&1)!==0,C){case"dialog":Lr("cancel",N),Lr("close",N);break;case"iframe":case"object":case"embed":Lr("load",N);break;case"video":case"audio":for(_=0;_<ig.length;_++)Lr(ig[_],N);break;case"source":Lr("error",N);break;case"img":case"image":case"link":Lr("error",N),Lr("load",N);break;case"details":Lr("toggle",N);break;case"input":Se(N,z),Lr("invalid",N);break;case"select":N._wrapperState={wasMultiple:!!z.multiple},Lr("invalid",N);break;case"textarea":Ve(N,z),Lr("invalid",N)}Re(C,z),_=null;for(var Q in z)if(z.hasOwnProperty(Q)){var le=z[Q];Q==="children"?typeof le=="string"?N.textContent!==le&&(z.suppressHydrationWarning!==!0&&Uk(N.textContent,le,d),_=["children",le]):typeof le=="number"&&N.textContent!==""+le&&(z.suppressHydrationWarning!==!0&&Uk(N.textContent,le,d),_=["children",""+le]):i.hasOwnProperty(Q)&&le!=null&&Q==="onScroll"&&Lr("scroll",N)}switch(C){case"input":Ce(N),ye(N,z,!0);break;case"textarea":Ce(N),Ae(N);break;case"select":case"option":break;default:typeof z.onClick=="function"&&(N.onclick=Vk)}N=_,h.updateQueue=N,N!==null&&(h.flags|=4)}else{Q=_.nodeType===9?_:_.ownerDocument,d==="http://www.w3.org/1999/xhtml"&&(d=ke(C)),d==="http://www.w3.org/1999/xhtml"?C==="script"?(d=Q.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild)):typeof N.is=="string"?d=Q.createElement(C,{is:N.is}):(d=Q.createElement(C),C==="select"&&(Q=d,N.multiple?Q.multiple=!0:N.size&&(Q.size=N.size))):d=Q.createElementNS(d,C),d[fl]=h,d[sg]=N,E2(d,h,!1,!1),h.stateNode=d;e:{switch(Q=Be(C,N),C){case"dialog":Lr("cancel",d),Lr("close",d),_=N;break;case"iframe":case"object":case"embed":Lr("load",d),_=N;break;case"video":case"audio":for(_=0;_<ig.length;_++)Lr(ig[_],d);_=N;break;case"source":Lr("error",d),_=N;break;case"img":case"image":case"link":Lr("error",d),Lr("load",d),_=N;break;case"details":Lr("toggle",d),_=N;break;case"input":Se(d,N),_=ve(d,N),Lr("invalid",d);break;case"option":_=N;break;case"select":d._wrapperState={wasMultiple:!!N.multiple},_=W({},N,{value:void 0}),Lr("invalid",d);break;case"textarea":Ve(d,N),_=Fe(d,N),Lr("invalid",d);break;default:_=N}Re(C,_),le=_;for(z in le)if(le.hasOwnProperty(z)){var he=le[z];z==="style"?de(d,he):z==="dangerouslySetInnerHTML"?(he=he?he.__html:void 0,he!=null&&et(d,he)):z==="children"?typeof he=="string"?(C!=="textarea"||he!=="")&<(d,he):typeof he=="number"&<(d,""+he):z!=="suppressContentEditableWarning"&&z!=="suppressHydrationWarning"&&z!=="autoFocus"&&(i.hasOwnProperty(z)?he!=null&&z==="onScroll"&&Lr("scroll",d):he!=null&&T(d,z,he,Q))}switch(C){case"input":Ce(d),ye(d,N,!1);break;case"textarea":Ce(d),Ae(d);break;case"option":N.value!=null&&d.setAttribute("value",""+te(N.value));break;case"select":d.multiple=!!N.multiple,z=N.value,z!=null?Qe(d,!!N.multiple,z,!1):N.defaultValue!=null&&Qe(d,!!N.multiple,N.defaultValue,!0);break;default:typeof _.onClick=="function"&&(d.onclick=Vk)}switch(C){case"button":case"input":case"select":case"textarea":N=!!N.autoFocus;break e;case"img":N=!0;break e;default:N=!1}}N&&(h.flags|=4)}h.ref!==null&&(h.flags|=512,h.flags|=2097152)}return Eo(h),null;case 6:if(d&&h.stateNode!=null)C2(d,h,d.memoizedProps,N);else{if(typeof N!="string"&&h.stateNode===null)throw Error(n(166));if(C=_d(fg.current),_d(pl.current),Gk(h)){if(N=h.stateNode,C=h.memoizedProps,N[fl]=h,(z=N.nodeValue!==C)&&(d=Sa,d!==null))switch(d.tag){case 3:Uk(N.nodeValue,C,(d.mode&1)!==0);break;case 5:d.memoizedProps.suppressHydrationWarning!==!0&&Uk(N.nodeValue,C,(d.mode&1)!==0)}z&&(h.flags|=4)}else N=(C.nodeType===9?C:C.ownerDocument).createTextNode(N),N[fl]=h,h.stateNode=N}return Eo(h),null;case 13:if(Or(Yr),N=h.memoizedState,d===null||d.memoizedState!==null&&d.memoizedState.dehydrated!==null){if(Mr&&Ea!==null&&(h.mode&1)!==0&&(h.flags&128)===0)w4(),Ip(),h.flags|=98560,z=!1;else if(z=Gk(h),N!==null&&N.dehydrated!==null){if(d===null){if(!z)throw Error(n(318));if(z=h.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error(n(317));z[fl]=h}else Ip(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;Eo(h),z=!1}else Ds!==null&&(aw(Ds),Ds=null),z=!0;if(!z)return h.flags&65536?h:null}return(h.flags&128)!==0?(h.lanes=C,h):(N=N!==null,N!==(d!==null&&d.memoizedState!==null)&&N&&(h.child.flags|=8192,(h.mode&1)!==0&&(d===null||(Yr.current&1)!==0?Vi===0&&(Vi=3):uw())),h.updateQueue!==null&&(h.flags|=4),Eo(h),null);case 4:return xp(),$I(d,h),d===null&&og(h.stateNode.containerInfo),Eo(h),null;case 10:return TI(h.type._context),Eo(h),null;case 17:return Yo(h.type)&&jk(),Eo(h),null;case 19:if(Or(Yr),z=h.memoizedState,z===null)return Eo(h),null;if(N=(h.flags&128)!==0,Q=z.rendering,Q===null)if(N)vg(z,!1);else{if(Vi!==0||d!==null&&(d.flags&128)!==0)for(d=h.child;d!==null;){if(Q=Qk(d),Q!==null){for(h.flags|=128,vg(z,!1),N=Q.updateQueue,N!==null&&(h.updateQueue=N,h.flags|=4),h.subtreeFlags=0,N=C,C=h.child;C!==null;)z=C,d=N,z.flags&=14680066,Q=z.alternate,Q===null?(z.childLanes=0,z.lanes=d,z.child=null,z.subtreeFlags=0,z.memoizedProps=null,z.memoizedState=null,z.updateQueue=null,z.dependencies=null,z.stateNode=null):(z.childLanes=Q.childLanes,z.lanes=Q.lanes,z.child=Q.child,z.subtreeFlags=0,z.deletions=null,z.memoizedProps=Q.memoizedProps,z.memoizedState=Q.memoizedState,z.updateQueue=Q.updateQueue,z.type=Q.type,d=Q.dependencies,z.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext}),C=C.sibling;return Ar(Yr,Yr.current&1|2),h.child}d=d.sibling}z.tail!==null&&rt()>_p&&(h.flags|=128,N=!0,vg(z,!1),h.lanes=4194304)}else{if(!N)if(d=Qk(Q),d!==null){if(h.flags|=128,N=!0,C=d.updateQueue,C!==null&&(h.updateQueue=C,h.flags|=4),vg(z,!0),z.tail===null&&z.tailMode==="hidden"&&!Q.alternate&&!Mr)return Eo(h),null}else 2*rt()-z.renderingStartTime>_p&&C!==1073741824&&(h.flags|=128,N=!0,vg(z,!1),h.lanes=4194304);z.isBackwards?(Q.sibling=h.child,h.child=Q):(C=z.last,C!==null?C.sibling=Q:h.child=Q,z.last=Q)}return z.tail!==null?(h=z.tail,z.rendering=h,z.tail=h.sibling,z.renderingStartTime=rt(),h.sibling=null,C=Yr.current,Ar(Yr,N?C&1|2:C&1),h):(Eo(h),null);case 22:case 23:return lw(),N=h.memoizedState!==null,d!==null&&d.memoizedState!==null!==N&&(h.flags|=8192),N&&(h.mode&1)!==0?(Ta&1073741824)!==0&&(Eo(h),h.subtreeFlags&6&&(h.flags|=8192)):Eo(h),null;case 24:return null;case 25:return null}throw Error(n(156,h.tag))}function zoe(d,h){switch(vI(h),h.tag){case 1:return Yo(h.type)&&jk(),d=h.flags,d&65536?(h.flags=d&-65537|128,h):null;case 3:return xp(),Or(Ko),Or(bo),xI(),d=h.flags,(d&65536)!==0&&(d&128)===0?(h.flags=d&-65537|128,h):null;case 5:return NI(h),null;case 13:if(Or(Yr),d=h.memoizedState,d!==null&&d.dehydrated!==null){if(h.alternate===null)throw Error(n(340));Ip()}return d=h.flags,d&65536?(h.flags=d&-65537|128,h):null;case 19:return Or(Yr),null;case 4:return xp(),null;case 10:return TI(h.type._context),null;case 22:case 23:return lw(),null;case 24:return null;default:return null}}var sb=!1,To=!1,Hoe=typeof WeakSet=="function"?WeakSet:Set,jt=null;function Op(d,h){var C=d.ref;if(C!==null)if(typeof C=="function")try{C(null)}catch(N){si(d,h,N)}else C.current=null}function JI(d,h,C){try{C()}catch(N){si(d,h,N)}}var A2=!1;function Woe(d,h){if(lI=yr,d=r4(),eI(d)){if("selectionStart"in d)var C={start:d.selectionStart,end:d.selectionEnd};else e:{C=(C=d.ownerDocument)&&C.defaultView||window;var N=C.getSelection&&C.getSelection();if(N&&N.rangeCount!==0){C=N.anchorNode;var _=N.anchorOffset,z=N.focusNode;N=N.focusOffset;try{C.nodeType,z.nodeType}catch{C=null;break e}var Q=0,le=-1,he=-1,He=0,pt=0,gt=d,ct=null;t:for(;;){for(var Mt;gt!==C||_!==0&>.nodeType!==3||(le=Q+_),gt!==z||N!==0&>.nodeType!==3||(he=Q+N),gt.nodeType===3&&(Q+=gt.nodeValue.length),(Mt=gt.firstChild)!==null;)ct=gt,gt=Mt;for(;;){if(gt===d)break t;if(ct===C&&++He===_&&(le=Q),ct===z&&++pt===N&&(he=Q),(Mt=gt.nextSibling)!==null)break;gt=ct,ct=gt.parentNode}gt=Mt}C=le===-1||he===-1?null:{start:le,end:he}}else C=null}C=C||{start:0,end:0}}else C=null;for(uI={focusedElem:d,selectionRange:C},yr=!1,jt=h;jt!==null;)if(h=jt,d=h.child,(h.subtreeFlags&1028)!==0&&d!==null)d.return=h,jt=d;else for(;jt!==null;){h=jt;try{var Wt=h.alternate;if((h.flags&1024)!==0)switch(h.tag){case 0:case 11:case 15:break;case 1:if(Wt!==null){var Kt=Wt.memoizedProps,ki=Wt.memoizedState,_e=h.stateNode,Te=_e.getSnapshotBeforeUpdate(h.elementType===h.type?Kt:Ms(h.type,Kt),ki);_e.__reactInternalSnapshotBeforeUpdate=Te}break;case 3:var Ue=h.stateNode.containerInfo;Ue.nodeType===1?Ue.textContent="":Ue.nodeType===9&&Ue.documentElement&&Ue.removeChild(Ue.documentElement);break;
vendor: 4,380 bytes, line 57
57case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Ct){si(h,h.return,Ct)}if(d=h.sibling,d!==null){d.return=h.return,jt=d;break}jt=h.return}return Wt=A2,A2=!1,Wt}function yg(d,h,C){var N=h.updateQueue;if(N=N!==null?N.lastEffect:null,N!==null){var _=N=N.next;do{if((_.tag&d)===d){var z=_.destroy;_.destroy=void 0,z!==void 0&&JI(h,C,z)}_=_.next}while(_!==N)}}function lb(d,h){if(h=h.updateQueue,h=h!==null?h.lastEffect:null,h!==null){var C=h=h.next;do{if((C.tag&d)===d){var N=C.create;C.destroy=N()}C=C.next}while(C!==h)}}function ZI(d){var h=d.ref;if(h!==null){var C=d.stateNode;d.tag,d=C,typeof h=="function"?h(d):h.current=d}}function I2(d){var h=d.alternate;h!==null&&(d.alternate=null,I2(h)),d.child=null,d.deletions=null,d.sibling=null,d.tag===5&&(h=d.stateNode,h!==null&&(delete h[fl],delete h[sg],delete h[pI],delete h[Ioe],delete h[woe])),d.stateNode=null,d.return=null,d.dependencies=null,d.memoizedProps=null,d.memoizedState=null,d.pendingProps=null,d.stateNode=null,d.updateQueue=null}function w2(d){return d.tag===5||d.tag===3||d.tag===4}function N2(d){e:for(;;){for(;d.sibling===null;){if(d.return===null||w2(d.return))return null;d=d.return}for(d.sibling.return=d.return,d=d.sibling;d.tag!==5&&d.tag!==6&&d.tag!==18;){if(d.flags&2||d.child===null||d.tag===4)continue e;d.child.return=d,d=d.child}if(!(d.flags&2))return d.stateNode}}function QI(d,h,C){var N=d.tag;if(N===5||N===6)d=d.stateNode,h?C.nodeType===8?C.parentNode.insertBefore(d,h):C.insertBefore(d,h):(C.nodeType===8?(h=C.parentNode,h.insertBefore(d,C)):(h=C,h.appendChild(d)),C=C._reactRootContainer,C!=null||h.onclick!==null||(h.onclick=Vk));else if(N!==4&&(d=d.child,d!==null))for(QI(d,h,C),d=d.sibling;d!==null;)QI(d,h,C),d=d.sibling}function XI(d,h,C){var N=d.tag;if(N===5||N===6)d=d.stateNode,h?C.insertBefore(d,h):C.appendChild(d);else if(N!==4&&(d=d.child,d!==null))for(XI(d,h,C),d=d.sibling;d!==null;)XI(d,h,C),d=d.sibling}var so=null,Fs=!1;function pc(d,h,C){for(C=C.child;C!==null;)R2(d,h,C),C=C.sibling}function R2(d,h,C){if(Kn&&typeof Kn.onCommitFiberUnmount=="function")try{Kn.onCommitFiberUnmount(_r,C)}catch{}switch(C.tag){case 5:To||Op(C,h);case 6:var N=so,_=Fs;so=null,pc(d,h,C),so=N,Fs=_,so!==null&&(Fs?(d=so,C=C.stateNode,d.nodeType===8?d.parentNode.removeChild(C):d.removeChild(C)):so.removeChild(C.stateNode));break;case 18:so!==null&&(Fs?(d=so,C=C.stateNode,d.nodeType===8?fI(d.parentNode,C):d.nodeType===1&&fI(d,C),st(d)):fI(so,C.stateNode));break;case 4:N=so,_=Fs,so=C.stateNode.containerInfo,Fs=!0,pc(d,h,C),so=N,Fs=_;break;case 0:case 11:case 14:case 15:if(!To&&(N=C.updateQueue,N!==null&&(N=N.lastEffect,N!==null))){_=N=N.next;do{var z=_,Q=z.destroy;z=z.tag,Q!==void 0&&((z&2)!==0||(z&4)!==0)&&JI(C,h,Q),_=_.next}while(_!==N)}pc(d,h,C);break;case 1:if(!To&&(Op(C,h),N=C.stateNode,typeof N.componentWillUnmount=="function"))try{N.props=C.memoizedProps,N.state=C.memoizedState,N.componentWillUnmount()}catch(le){si(C,h,le)}pc(d,h,C);break;case 21:pc(d,h,C);break;case 22:C.mode&1?(To=(N=To)||C.memoizedState!==null,pc(d,h,C),To=N):pc(d,h,C);break;default:pc(d,h,C)}}function x2(d){var h=d.updateQueue;if(h!==null){d.updateQueue=null;var C=d.stateNode;C===null&&(C=d.stateNode=new Hoe),h.forEach(function(N){var _=Xoe.bind(null,d,N);C.has(N)||(C.add(N),N.then(_,_))})}}function Us(d,h){var C=h.deletions;if(C!==null)for(var N=0;N<C.length;N++){var _=C[N];try{var z=d,Q=h,le=Q;e:for(;le!==null;){switch(le.tag){case 5:so=le.stateNode,Fs=!1;break e;case 3:so=le.stateNode.containerInfo,Fs=!0;break e;case 4:so=le.stateNode.containerInfo,Fs=!0;break e}le=le.return}if(so===null)throw Error(n(160));R2(z,Q,_),so=null,Fs=!1;var he=_.alternate;he!==null&&(he.return=null),_.return=null}catch(He){si(_,h,He)}}if(h.subtreeFlags&12854)for(h=h.child;h!==null;)L2(h,d),h=h.sibling}function L2(d,h){var C=d.alternate,N=d.flags;switch(d.tag){case 0:case 11:case 14:case 15:if(Us(h,d),hl(d),N&4){try{yg(3,d,d.return),lb(3,d)}catch(Kt){si(d,d.return,Kt)}try{yg(5,d,d.return)}catch(Kt){si(d,d.return,Kt)}}break;case 1:Us(h,d),hl(d),N&512&&C!==null&&Op(C,C.return);break;case 5:if(Us(h,d),hl(d),N&512&&C!==null&&Op(C,C.return),d.flags&32){var _=d.stateNode;try{lt(_,"")}catch(Kt){si(d,d.return,Kt)}}if(N&4&&(_=d.stateNode,_!=null)){var z=d.memoizedProps,Q=C!==null?C.memoizedProps:z,le=d.type,he=d.updateQueue;if(d.updateQueue=null,he!==null)try{le==="input"&&z.type==="radio"&&z.n
vendor: 15,334 bytes, line 57
57ame!=null&&De(_,z),Be(le,Q);var He=Be(le,z);for(Q=0;Q<he.length;Q+=2){var pt=he[Q],gt=he[Q+1];pt==="style"?de(_,gt):pt==="dangerouslySetInnerHTML"?et(_,gt):pt==="children"?lt(_,gt):T(_,pt,gt,He)}switch(le){case"input":Ee(_,z);break;case"textarea":be(_,z);break;case"select":var ct=_._wrapperState.wasMultiple;_._wrapperState.wasMultiple=!!z.multiple;var Mt=z.value;Mt!=null?Qe(_,!!z.multiple,Mt,!1):ct!==!!z.multiple&&(z.defaultValue!=null?Qe(_,!!z.multiple,z.defaultValue,!0):Qe(_,!!z.multiple,z.multiple?[]:"",!1))}_[sg]=z}catch(Kt){si(d,d.return,Kt)}}break;case 6:if(Us(h,d),hl(d),N&4){if(d.stateNode===null)throw Error(n(162));_=d.stateNode,z=d.memoizedProps;try{_.nodeValue=z}catch(Kt){si(d,d.return,Kt)}}break;case 3:if(Us(h,d),hl(d),N&4&&C!==null&&C.memoizedState.isDehydrated)try{st(h.containerInfo)}catch(Kt){si(d,d.return,Kt)}break;case 4:Us(h,d),hl(d);break;case 13:Us(h,d),hl(d),_=d.child,_.flags&8192&&(z=_.memoizedState!==null,_.stateNode.isHidden=z,!z||_.alternate!==null&&_.alternate.memoizedState!==null||(nw=rt())),N&4&&x2(d);break;case 22:if(pt=C!==null&&C.memoizedState!==null,d.mode&1?(To=(He=To)||pt,Us(h,d),To=He):Us(h,d),hl(d),N&8192){if(He=d.memoizedState!==null,(d.stateNode.isHidden=He)&&!pt&&(d.mode&1)!==0)for(jt=d,pt=d.child;pt!==null;){for(gt=jt=pt;jt!==null;){switch(ct=jt,Mt=ct.child,ct.tag){case 0:case 11:case 14:case 15:yg(4,ct,ct.return);break;case 1:Op(ct,ct.return);var Wt=ct.stateNode;if(typeof Wt.componentWillUnmount=="function"){N=ct,C=ct.return;try{h=N,Wt.props=h.memoizedProps,Wt.state=h.memoizedState,Wt.componentWillUnmount()}catch(Kt){si(N,C,Kt)}}break;case 5:Op(ct,ct.return);break;case 22:if(ct.memoizedState!==null){_2(gt);continue}}Mt!==null?(Mt.return=ct,jt=Mt):_2(gt)}pt=pt.sibling}e:for(pt=null,gt=d;;){if(gt.tag===5){if(pt===null){pt=gt;try{_=gt.stateNode,He?(z=_.style,typeof z.setProperty=="function"?z.setProperty("display","none","important"):z.display="none"):(le=gt.stateNode,he=gt.memoizedProps.style,Q=he!=null&&he.hasOwnProperty("display")?he.display:null,le.style.display=X("display",Q))}catch(Kt){si(d,d.return,Kt)}}}else if(gt.tag===6){if(pt===null)try{gt.stateNode.nodeValue=He?"":gt.memoizedProps}catch(Kt){si(d,d.return,Kt)}}else if((gt.tag!==22&>.tag!==23||gt.memoizedState===null||gt===d)&>.child!==null){gt.child.return=gt,gt=gt.child;continue}if(gt===d)break e;for(;gt.sibling===null;){if(gt.return===null||gt.return===d)break e;pt===gt&&(pt=null),gt=gt.return}pt===gt&&(pt=null),gt.sibling.return=gt.return,gt=gt.sibling}}break;case 19:Us(h,d),hl(d),N&4&&x2(d);break;case 21:break;default:Us(h,d),hl(d)}}function hl(d){var h=d.flags;if(h&2){try{e:{for(var C=d.return;C!==null;){if(w2(C)){var N=C;break e}C=C.return}throw Error(n(160))}switch(N.tag){case 5:var _=N.stateNode;N.flags&32&&(lt(_,""),N.flags&=-33);var z=N2(d);XI(d,z,_);break;case 3:case 4:var Q=N.stateNode.containerInfo,le=N2(d);QI(d,le,Q);break;default:throw Error(n(161))}}catch(he){si(d,d.return,he)}d.flags&=-3}h&4096&&(d.flags&=-4097)}function qoe(d,h,C){jt=d,O2(d)}function O2(d,h,C){for(var N=(d.mode&1)!==0;jt!==null;){var _=jt,z=_.child;if(_.tag===22&&N){var Q=_.memoizedState!==null||sb;if(!Q){var le=_.alternate,he=le!==null&&le.memoizedState!==null||To;le=sb;var He=To;if(sb=Q,(To=he)&&!He)for(jt=_;jt!==null;)Q=jt,he=Q.child,Q.tag===22&&Q.memoizedState!==null?D2(_):he!==null?(he.return=Q,jt=he):D2(_);for(;z!==null;)jt=z,O2(z),z=z.sibling;jt=_,sb=le,To=He}P2(d)}else(_.subtreeFlags&8772)!==0&&z!==null?(z.return=_,jt=z):P2(d)}}function P2(d){for(;jt!==null;){var h=jt;if((h.flags&8772)!==0){var C=h.alternate;try{if((h.flags&8772)!==0)switch(h.tag){case 0:case 11:case 15:To||lb(5,h);break;case 1:var N=h.stateNode;if(h.flags&4&&!To)if(C===null)N.componentDidMount();else{var _=h.elementType===h.type?C.memoizedProps:Ms(h.type,C.memoizedProps);N.componentDidUpdate(_,C.memoizedState,N.__reactInternalSnapshotBeforeUpdate)}var z=h.updateQueue;z!==null&&_4(h,z,N);break;case 3:var Q=h.updateQueue;if(Q!==null){if(C=null,h.child!==null)switch(h.child.tag){case 5:C=h.child.stateNode;break;case 1:C=h.child.stateNode}_4(h,Q,C)}break;case 5:var le=h.stateNode;if(C===null&&h.flags&4){C=le;var he=h.memoizedProps;switch(h.type){case"button":case"input":case"select":case"textarea":he.autoFocus&&C.focus();break;case"img":he.src&&(C.src=he.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(h.memoizedState===null){var He=h.alternate;if(He!==null){var pt=He.memoizedState;if(pt!==null){var gt=pt.dehydrated;gt!==null&&st(gt)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}To||h.flags&512&&ZI(h)}catch(ct){si(h,h.return,ct)}}if(h===d){jt=null;break}if(C=h.sibling,C!==null){C.return=h.return,jt=C;break}jt=h.return}}function _2(d){for(;jt!==null;){var h=jt;if(h===d){jt=null;break}var C=h.sibling;if(C!==null){C.return=h.return,jt=C;break}jt=h.return}}function D2(d){for(;jt!==null;){var h=jt;try{switch(h.tag){case 0:case 11:case 15:var C=h.return;try{lb(4,h)}catch(he){si(h,C,he)}break;case 1:var N=h.stateNode;if(typeof N.componentDidMount=="function"){var _=h.return;try{N.componentDidMount()}catch(he){si(h,_,he)}}var z=h.return;try{ZI(h)}catch(he){si(h,z,he)}break;case 5:var Q=h.return;try{ZI(h)}catch(he){si(h,Q,he)}}}catch(he){si(h,h.return,he)}if(h===d){jt=null;break}var le=h.sibling;if(le!==null){le.return=h.return,jt=le;break}jt=h.return}}var Goe=Math.ceil,ub=I.ReactCurrentDispatcher,ew=I.ReactCurrentOwner,Xa=I.ReactCurrentBatchConfig,Yn=0,Zi=null,wi=null,lo=0,Ta=0,Pp=lc(0),Vi=0,kg=null,Md=0,cb=0,tw=0,bg=null,Jo=null,nw=0,_p=1/0,fu=null,db=!1,rw=null,mc=null,fb=!1,hc=null,pb=0,Sg=0,iw=null,mb=-1,hb=0;function Mo(){return(Yn&6)!==0?rt():mb!==-1?mb:mb=rt()}function gc(d){return(d.mode&1)===0?1:(Yn&2)!==0&&lo!==0?lo&-lo:Roe.transition!==null?(hb===0&&(hb=eu()),hb):(d=Nn,d!==0||(d=window.event,d=d===void 0?16:ru(d.type)),d)}function Vs(d,h,C,N){if(50<Sg)throw Sg=0,iw=null,Error(n(185));sl(d,C,N),((Yn&2)===0||d!==Zi)&&(d===Zi&&((Yn&2)===0&&(cb|=C),Vi===4&&vc(d,lo)),Zo(d,N),C===1&&Yn===0&&(h.mode&1)===0&&(_p=rt()+500,Hk&&cc()))}function Zo(d,h){var C=d.callbackNode;Go(d,h);var N=Wa(d,d===Zi?lo:0);if(N===0)C!==null&&xt(C),d.callbackNode=null,d.callbackPriority=0;else if(h=N&-N,d.callbackPriority!==h){if(C!=null&&xt(C),h===1)d.tag===0?Noe(F2.bind(null,d)):E4(F2.bind(null,d)),Coe(function(){(Yn&6)===0&&cc()}),C=null;else{switch(Td(N)){case 1:C=Ki;break;case 4:C=Yi;break;case 16:C=_i;break;case 536870912:C=vn;break;default:C=_i}C=q2(C,M2.bind(null,d))}d.callbackPriority=h,d.callbackNode=C}}function M2(d,h){if(mb=-1,hb=0,(Yn&6)!==0)throw Error(n(327));var C=d.callbackNode;if(Dp()&&d.callbackNode!==C)return null;var N=Wa(d,d===Zi?lo:0);if(N===0)return null;if((N&30)!==0||(N&d.expiredLanes)!==0||h)h=gb(d,N);else{h=N;var _=Yn;Yn|=2;var z=V2();(Zi!==d||lo!==h)&&(fu=null,_p=rt()+500,Ud(d,h));do try{$oe();break}catch(le){U2(d,le)}while(!0);EI(),ub.current=z,Yn=_,wi!==null?h=0:(Zi=null,lo=0,h=Vi)}if(h!==0){if(h===2&&(_=al(d),_!==0&&(N=_,h=ow(d,_))),h===1)throw C=kg,Ud(d,0),vc(d,N),Zo(d,rt()),C;if(h===6)vc(d,N);else{if(_=d.current.alternate,(N&30)===0&&!Koe(_)&&(h=gb(d,N),h===2&&(z=al(d),z!==0&&(N=z,h=ow(d,z))),h===1))throw C=kg,Ud(d,0),vc(d,N),Zo(d,rt()),C;switch(d.finishedWork=_,d.finishedLanes=N,h){case 0:case 1:throw Error(n(345));case 2:Vd(d,Jo,fu);break;case 3:if(vc(d,N),(N&130023424)===N&&(h=nw+500-rt(),10<h)){if(Wa(d,0)!==0)break;if(_=d.suspendedLanes,(_&N)!==N){Mo(),d.pingedLanes|=d.suspendedLanes&_;break}d.timeoutHandle=dI(Vd.bind(null,d,Jo,fu),h);break}Vd(d,Jo,fu);break;case 4:if(vc(d,N),(N&4194240)===N)break;for(h=d.eventTimes,_=-1;0<N;){var Q=31-Kr(N);z=1<<Q,Q=h[Q],Q>_&&(_=Q),N&=~z}if(N=_,N=rt()-N,N=(120>N?120:480>N?480:1080>N?1080:1920>N?1920:3e3>N?3e3:4320>N?4320:1960*Goe(N/1960))-N,10<N){d.timeoutHandle=dI(Vd.bind(null,d,Jo,fu),N);break}Vd(d,Jo,fu);break;case 5:Vd(d,Jo,fu);break;default:throw Error(n(329))}}}return Zo(d,rt()),d.callbackNode===C?M2.bind(null,d):null}function ow(d,h){var C=bg;return d.current.memoizedState.isDehydrated&&(Ud(d,h).flags|=256),d=gb(d,h),d!==2&&(h=Jo,Jo=C,h!==null&&aw(h)),d}function aw(d){Jo===null?Jo=d:Jo.push.apply(Jo,d)}function Koe(d){for(var h=d;;){if(h.flags&16384){var C=h.updateQueue;if(C!==null&&(C=C.stores,C!==null))for(var N=0;N<C.length;N++){var _=C[N],z=_.getSnapshot;_=_.value;try{if(!_s(z(),_))return!1}catch{return!1}}}if(C=h.child,h.subtreeFlags&16384&&C!==null)C.return=h,h=C;else{if(h===d)break;for(;h.sibling===null;){if(h.return===null||h.return===d)return!0;h=h.return}h.sibling.return=h.return,h=h.sibling}}return!0}function vc(d,h){for(h&=~tw,h&=~cb,d.suspendedLanes|=h,d.pingedLanes&=~h,d=d.expirationTimes;0<h;){var C=31-Kr(h),N=1<<C;d[C]=-1,h&=~N}}function F2(d){if((Yn&6)!==0)throw Error(n(327));Dp();var h=Wa(d,0);if((h&1)===0)return Zo(d,rt()),null;var C=gb(d,h);if(d.tag!==0&&C===2){var N=al(d);N!==0&&(h=N,C=ow(d,N))}if(C===1)throw C=kg,Ud(d,0),vc(d,h),Zo(d,rt()),C;if(C===6)throw Error(n(345));return d.finishedWork=d.current.alternate,d.finishedLanes=h,Vd(d,Jo,fu),Zo(d,rt()),null}function sw(d,h){var C=Yn;Yn|=1;try{return d(h)}finally{Yn=C,Yn===0&&(_p=rt()+500,Hk&&cc())}}function Fd(d){hc!==null&&hc.tag===0&&(Yn&6)===0&&Dp();var h=Yn;Yn|=1;var C=Xa.transition,N=Nn;try{if(Xa.transition=null,Nn=1,d)return d()}finally{Nn=N,Xa.transition=C,Yn=h,(Yn&6)===0&&cc()}}function lw(){Ta=Pp.current,Or(Pp)}function Ud(d,h){d.finishedWork=null,d.finishedLanes=0;var C=d.timeoutHandle;if(C!==-1&&(d.timeoutHandle=-1,Toe(C)),wi!==null)for(C=wi.return;C!==null;){var N=C;switch(vI(N),N.tag){case 1:N=N.type.childContextTypes,N!=null&&jk();break;case 3:xp(),Or(Ko),Or(bo),xI();break;case 5:NI(N);break;case 4:xp();break;case 13:Or(Yr);break;case 19:Or(Yr);break;case 10:TI(N.type._context);break;case 22:case 23:lw()}C=C.return}if(Zi=d,wi=d=yc(d.current,null),lo=Ta=h,Vi=0,kg=null,tw=cb=Md=0,Jo=bg=null,Pd!==null){for(h=0;h<Pd.length;h++)if(C=Pd[h],N=C.interleaved,N!==null){C.interleaved=null;var _=N.next,z=C.pending;if(z!==null){var Q=z.next;z.next=_,N.next=Q}C.pending=N}Pd=null}return d}function U2(d,h){do{var C=wi;try{if(EI(),Xk.current=rb,eb){for(var N=$r.memoizedState;N!==null;){var _=N.queue;_!==null&&(_.pending=null),N=N.next}eb=!1}if(Dd=0,Ji=Ui=$r=null,pg=!1,mg=0,ew.current=null,C===null||C.return===null){Vi=1,kg=h,wi=null;break}e:{var z=d,Q=C.return,le=C,he=h;if(h=lo,le.flags|=32768,he!==null&&typeof he=="object"&&typeof he.then=="function"){var He=he,pt=le,gt=pt.tag;if((pt.mode&1)===0&&(gt===0||gt===11||gt===15)){var ct=pt.alternate;ct?(pt.updateQueue=ct.updateQueue,pt.memoizedState=ct.memoizedState,pt.lanes=ct.lanes):(pt.updateQueue=null,pt.memoizedState=null)}var Mt=u2(Q);if(Mt!==null){Mt.flags&=-257,c2(Mt,Q,le,z,h),Mt.mode&1&&l2(z,He,h),h=Mt,he=He;var Wt=h.updateQueue;if(Wt===null){var Kt=new Set;Kt.add(he),h.updateQueue=Kt}else Wt.add(he);break e}else{if((h&1)===0){l2(z,He,h),uw();break e}he=Error(n(426))}}else if(Mr&&le.mode&1){var ki=u2(Q);if(ki!==null){(ki.flags&65536)===0&&(ki.flags|=256),c2(ki,Q,le,z,h),bI(Lp(he,le));break e}}z=he=Lp(he,le),Vi!==4&&(Vi=2),bg===null?bg=[z]:bg.push(z),z=Q;do{switch(z.tag){case 3:z.flags|=65536,h&=-h,z.lanes|=h;var _e=a2(z,he,h);P4(z,_e);break e;case 1:le=he;var Te=z.type,Ue=z.stateNode;if((z.flags&128)===0&&(typeof Te.getDerivedStateFromError=="function"||Ue!==null&&typeof Ue.componentDidCatch=="function"&&(mc===null||!mc.has(Ue)))){z.flags|=65536,h&=-h,z.lanes|=h;var Ct=s2(z,le,h);P4(z,Ct);break e}}z=z.return}while(z!==null)}j2(C)}catch(Jt){h=Jt,wi===C&&C!==null&&(wi=C=C.return);continue}break}while(!0)}function V2(){var d=ub.current;return ub.current=rb,d===null?rb:d}function uw(){(Vi===0||Vi===3||Vi===2)&&(Vi=4),Zi===null||(Md&268435455)===0&&(cb&268435455)===0||vc(Zi,lo)}function gb(d,h){var C=Yn;Yn|=2;var N=V2();(Zi!==d||lo!==h)&&(fu=null,Ud(d,h));do try{Yoe();break}catch(_){U2(d,_)}while(!0);if(EI(),Yn=C,ub.current=N,wi!==null)throw Error(n(261));return Zi=null,lo=0,Vi}function Yoe(){for(;wi!==null;)B2(wi)}function $oe(){for(;wi!==null&&!Rt();)B2(wi)}function B2(d){var h=W2(d.alternate,d,Ta);d.memoizedProps=d.pendingProps,h===null?j2(d):wi=h,ew.current=null}function j2(d){var h=d;do{var C=h.alternate;if(d=h.return,(h.flags&32768)===0){if(C=joe(C,h,Ta),C!==null){wi=C;return}}else{if(C=zoe(C,h),C!==null){C.flags&=32767,wi=C;return}if(d!==null)d.flags|=32768,d.subtreeFlags=0,d.deletions=null;else{Vi=6,wi=null;return}}if(h=h.sibling,h!==null){wi=h;return}wi=h=d}while(h!==null);Vi===0&&(Vi=5)}function Vd(d,h,C){var N=Nn,_=Xa.transition;try{Xa.transition=null,Nn=1,Joe(d,h,C,N)}finally{Xa.transition=_,Nn=N}return null}function Joe(d,h,C,N){do Dp();while(hc!==null);if((Yn&6)!==0)throw Error(n(327));C=d.finishedWork;var _=d.finishedLanes;if(C===null)return null;if(d.finishedWork=null,d.finishedLanes=0,C===d.current)throw Error(n(177));d.callbackNode=null,d.callbackPriority=0;var z=C.lanes|C.childLanes;if(ll(d,z),d===Zi&&(wi=Zi=null,lo=0),(C.subtreeFlags&2064)===0&&(C.flags&2064)===0||fb||(fb=!0,q2(_i,function(){return Dp(),null})),z=(C.flags&15990)!==0,(C.subtreeFlags&15990)!==0||z){z=Xa.transition,Xa.transition=null;var Q=Nn;Nn=1;var le=Yn;Yn|=4,ew.current=null,Woe(d,C),L2(C,d),goe(uI),yr=!!lI,uI=lI=null,d.current=C,qoe(C),Bt(),Yn=le,Nn=Q,Xa.transition=z}else d.current=C;if(fb&&(fb=!1,hc=d,pb=_),z=d.pendingLanes,z===0&&(mc=null),Ai(C.stateNode),Zo(d,rt()),h!==null)for(N=d.onRecoverableError,C=0;C<h.length;C++)_=h[C],N(_.value,{componentStack:_.stack,digest:_.digest});if(db)throw db=!1,d=rw,rw=null,d;return(pb&1)!==0&&d.tag!==0&&Dp(),z=d.pendingLanes,(z&1)!==0?d===iw?Sg++:(Sg=0,iw=d):Sg=0,cc(),null}function Dp(){if(hc!==null){var d=Td(pb),h=Xa.transition,C=Nn;try{if(Xa.transition=null,Nn=16>d?16:d,hc===null)var N=!1;else{if(d=hc,hc=null,pb=0,(Yn&6)!==0)throw Error(n(331));var _=Yn;for(Yn|=4,jt=d.current;jt!==null;){var z=jt,Q=z.child;if((jt.flags&16)!==0){var le=z.deletions;if(le!==null){for(var he=0;he<le.length;he++){var He=le[he];for(jt=He;jt!==null;){var pt=jt;switch(pt.tag){case 0:case 11:case 15:yg(8,pt,z)}var gt=pt.child;if(gt!==null)gt.return=pt,jt=gt;else for(;jt!==null;){pt=jt;var ct=pt.sibling,Mt=pt.return;if(I2(pt),pt===He){jt=null;break}if(ct!==null){ct.return=Mt,jt=ct;break}jt=Mt}}}var Wt=z.alternate;if(Wt!==null){var Kt=Wt.child;if(Kt!==null){Wt.child=null;do{var ki=Kt.sibling;Kt.sibling=null,Kt=ki}while(Kt!==null)}}jt=z}}if((z.subtreeFlags&2064)!==0&&Q!==null)Q.return=z,jt=Q;else e:for(;jt!==null;){if(z=jt,(z.flags&2048)!==0)switch(z.tag){case 0:case 11:case 15:yg(9,z,z.return)}var _e=z.sibling;if(_e!==null){_e.return=z.return,jt=_e;break e}jt=z.return}}var Te=d.current;for(jt=Te;jt!==null;){Q=jt;var Ue=Q.child;if((Q.subtreeFlags&2064)!==0&&Ue!==null)Ue.return=Q,jt=Ue;else e:for(Q=Te;jt!==null;){if(le=jt,(le.flags&2048)!==0)try{switch(le.tag){case 0:case 11:case 15:lb(9,le)}}catch(Jt){si(le,le.return,Jt)}if(le===Q){jt=null;break e}var Ct=le.sibling;if(Ct!==null){Ct.return=le.return,jt=Ct;break e}jt=le.return}}if(Yn=_,cc(),Kn&&typeof Kn.onPostCommitFiberRoot=="function")try{Kn.onPostCommitFiberRoot(_r,d)}catch{}N=!0}return N}finally{Nn=C,Xa.transition=h}}return!1}function z2(d,h,C){h=Lp(C,h),h=a2(d,h,1),d=fc(d,h,1),h=Mo(),d!==null&&(sl(d,1,h),Zo(d,h))}function si(d,h,C){if(d.tag===3)z2(d,d,C);else for(;h!==null;){if(h.tag===3){z2(h,d,C);break}else if(h.tag===1){var N=h.stateNode;if(typeof h.type.getDerivedStateFromError=="function"||typeof N.c
vendor: 8,966 bytes, line 57
57omponentDidCatch=="function"&&(mc===null||!mc.has(N))){d=Lp(C,d),d=s2(h,d,1),h=fc(h,d,1),d=Mo(),h!==null&&(sl(h,1,d),Zo(h,d));break}}h=h.return}}function Zoe(d,h,C){var N=d.pingCache;N!==null&&N.delete(h),h=Mo(),d.pingedLanes|=d.suspendedLanes&C,Zi===d&&(lo&C)===C&&(Vi===4||Vi===3&&(lo&130023424)===lo&&500>rt()-nw?Ud(d,0):tw|=C),Zo(d,h)}function H2(d,h){h===0&&((d.mode&1)===0?h=1:(h=Mi,Mi<<=1,(Mi&130023424)===0&&(Mi=4194304)));var C=Mo();d=uu(d,h),d!==null&&(sl(d,h,C),Zo(d,C))}function Qoe(d){var h=d.memoizedState,C=0;h!==null&&(C=h.retryLane),H2(d,C)}function Xoe(d,h){var C=0;switch(d.tag){case 13:var N=d.stateNode,_=d.memoizedState;_!==null&&(C=_.retryLane);break;case 19:N=d.stateNode;break;default:throw Error(n(314))}N!==null&&N.delete(h),H2(d,C)}var W2;W2=function(d,h,C){if(d!==null)if(d.memoizedProps!==h.pendingProps||Ko.current)$o=!0;else{if((d.lanes&C)===0&&(h.flags&128)===0)return $o=!1,Boe(d,h,C);$o=(d.flags&131072)!==0}else $o=!1,Mr&&(h.flags&1048576)!==0&&T4(h,qk,h.index);switch(h.lanes=0,h.tag){case 2:var N=h.type;ab(d,h),d=h.pendingProps;var _=Tp(h,bo.current);Rp(h,C),_=PI(null,h,N,d,_,C);var z=_I();return h.flags|=1,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0?(h.tag=1,h.memoizedState=null,h.updateQueue=null,Yo(N)?(z=!0,zk(h)):z=!1,h.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,II(h),_.updater=ib,h.stateNode=_,_._reactInternals=h,BI(h,N,d,C),h=WI(null,h,N,!0,z,C)):(h.tag=0,Mr&&z&&gI(h),Do(null,h,_,C),h=h.child),h;case 16:N=h.elementType;e:{switch(ab(d,h),d=h.pendingProps,_=N._init,N=_(N._payload),h.type=N,_=h.tag=tae(N),d=Ms(N,d),_){case 0:h=HI(null,h,N,d,C);break e;case 1:h=g2(null,h,N,d,C);break e;case 11:h=d2(null,h,N,d,C);break e;case 14:h=f2(null,h,N,Ms(N.type,d),C);break e}throw Error(n(306,N,""))}return h;case 0:return N=h.type,_=h.pendingProps,_=h.elementType===N?_:Ms(N,_),HI(d,h,N,_,C);case 1:return N=h.type,_=h.pendingProps,_=h.elementType===N?_:Ms(N,_),g2(d,h,N,_,C);case 3:e:{if(v2(h),d===null)throw Error(n(387));N=h.pendingProps,z=h.memoizedState,_=z.element,O4(d,h),Zk(h,N,null,C);var Q=h.memoizedState;if(N=Q.element,z.isDehydrated)if(z={element:N,isDehydrated:!1,cache:Q.cache,pendingSuspenseBoundaries:Q.pendingSuspenseBoundaries,transitions:Q.transitions},h.updateQueue.baseState=z,h.memoizedState=z,h.flags&256){_=Lp(Error(n(423)),h),h=y2(d,h,N,C,_);break e}else if(N!==_){_=Lp(Error(n(424)),h),h=y2(d,h,N,C,_);break e}else for(Ea=sc(h.stateNode.containerInfo.firstChild),Sa=h,Mr=!0,Ds=null,C=x4(h,null,N,C),h.child=C;C;)C.flags=C.flags&-3|4096,C=C.sibling;else{if(Ip(),N===_){h=du(d,h,C);break e}Do(d,h,N,C)}h=h.child}return h;case 5:return D4(h),d===null&&kI(h),N=h.type,_=h.pendingProps,z=d!==null?d.memoizedProps:null,Q=_.children,cI(N,_)?Q=null:z!==null&&cI(N,z)&&(h.flags|=32),h2(d,h),Do(d,h,Q,C),h.child;case 6:return d===null&&kI(h),null;case 13:return k2(d,h,C);case 4:return wI(h,h.stateNode.containerInfo),N=h.pendingProps,d===null?h.child=wp(h,null,N,C):Do(d,h,N,C),h.child;case 11:return N=h.type,_=h.pendingProps,_=h.elementType===N?_:Ms(N,_),d2(d,h,N,_,C);case 7:return Do(d,h,h.pendingProps,C),h.child;case 8:return Do(d,h,h.pendingProps.children,C),h.child;case 12:return Do(d,h,h.pendingProps.children,C),h.child;case 10:e:{if(N=h.type._context,_=h.pendingProps,z=h.memoizedProps,Q=_.value,Ar(Yk,N._currentValue),N._currentValue=Q,z!==null)if(_s(z.value,Q)){if(z.children===_.children&&!Ko.current){h=du(d,h,C);break e}}else for(z=h.child,z!==null&&(z.return=h);z!==null;){var le=z.dependencies;if(le!==null){Q=z.child;for(var he=le.firstContext;he!==null;){if(he.context===N){if(z.tag===1){he=cu(-1,C&-C),he.tag=2;var He=z.updateQueue;if(He!==null){He=He.shared;var pt=He.pending;pt===null?he.next=he:(he.next=pt.next,pt.next=he),He.pending=he}}z.lanes|=C,he=z.alternate,he!==null&&(he.lanes|=C),CI(z.return,C,h),le.lanes|=C;break}he=he.next}}else if(z.tag===10)Q=z.type===h.type?null:z.child;else if(z.tag===18){if(Q=z.return,Q===null)throw Error(n(341));Q.lanes|=C,le=Q.alternate,le!==null&&(le.lanes|=C),CI(Q,C,h),Q=z.sibling}else Q=z.child;if(Q!==null)Q.return=z;else for(Q=z;Q!==null;){if(Q===h){Q=null;break}if(z=Q.sibling,z!==null){z.return=Q.return,Q=z;break}Q=Q.return}z=Q}Do(d,h,_.children,C),h=h.child}return h;case 9:return _=h.type,N=h.pendingProps.children,Rp(h,C),_=Za(_),N=N(_),h.flags|=1,Do(d,h,N,C),h.child;case 14:return N=h.type,_=Ms(N,h.pendingProps),_=Ms(N.type,_),f2(d,h,N,_,C);case 15:return p2(d,h,h.type,h.pendingProps,C);case 17:return N=h.type,_=h.pendingProps,_=h.elementType===N?_:Ms(N,_),ab(d,h),h.tag=1,Yo(N)?(d=!0,zk(h)):d=!1,Rp(h,C),i2(h,N,_),BI(h,N,_,C),WI(null,h,N,!0,d,C);case 19:return S2(d,h,C);case 22:return m2(d,h,C)}throw Error(n(156,h.tag))};function q2(d,h){return ut(d,h)}function eae(d,h,C,N){this.tag=d,this.key=C,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=h,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=N,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function es(d,h,C,N){return new eae(d,h,C,N)}function cw(d){return d=d.prototype,!(!d||!d.isReactComponent)}function tae(d){if(typeof d=="function")return cw(d)?1:0;if(d!=null){if(d=d.$$typeof,d===L)return 11;if(d===B)return 14}return 2}function yc(d,h){var C=d.alternate;return C===null?(C=es(d.tag,h,d.key,d.mode),C.elementType=d.elementType,C.type=d.type,C.stateNode=d.stateNode,C.alternate=d,d.alternate=C):(C.pendingProps=h,C.type=d.type,C.flags=0,C.subtreeFlags=0,C.deletions=null),C.flags=d.flags&14680064,C.childLanes=d.childLanes,C.lanes=d.lanes,C.child=d.child,C.memoizedProps=d.memoizedProps,C.memoizedState=d.memoizedState,C.updateQueue=d.updateQueue,h=d.dependencies,C.dependencies=h===null?null:{lanes:h.lanes,firstContext:h.firstContext},C.sibling=d.sibling,C.index=d.index,C.ref=d.ref,C}function vb(d,h,C,N,_,z){var Q=2;if(N=d,typeof d=="function")cw(d)&&(Q=1);else if(typeof d=="string")Q=5;else e:switch(d){case R:return Bd(C.children,_,z,h);case x:Q=8,_|=8;break;case D:return d=es(12,C,h,_|2),d.elementType=D,d.lanes=z,d;case P:return d=es(13,C,h,_),d.elementType=P,d.lanes=z,d;case j:return d=es(19,C,h,_),d.elementType=j,d.lanes=z,d;case G:return yb(C,_,z,h);default:if(typeof d=="object"&&d!==null)switch(d.$$typeof){case M:Q=10;break e;case F:Q=9;break e;case L:Q=11;break e;case B:Q=14;break e;case H:Q=16,N=null;break e}throw Error(n(130,d==null?d:typeof d,""))}return h=es(Q,C,h,_),h.elementType=d,h.type=N,h.lanes=z,h}function Bd(d,h,C,N){return d=es(7,d,N,h),d.lanes=C,d}function yb(d,h,C,N){return d=es(22,d,N,h),d.elementType=G,d.lanes=C,d.stateNode={isHidden:!1},d}function dw(d,h,C){return d=es(6,d,null,h),d.lanes=C,d}function fw(d,h,C){return h=es(4,d.children!==null?d.children:[],d.key,h),h.lanes=C,h.stateNode={containerInfo:d.containerInfo,pendingChildren:null,implementation:d.implementation},h}function nae(d,h,C,N,_){this.tag=h,this.containerInfo=d,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ed(0),this.expirationTimes=Ed(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ed(0),this.identifierPrefix=N,this.onRecoverableError=_,this.mutableSourceEagerHydrationData=null}function pw(d,h,C,N,_,z,Q,le,he){return d=new nae(d,h,C,le,he),h===1?(h=1,z===!0&&(h|=8)):h=0,z=es(3,null,null,h),d.current=z,z.stateNode=d,z.memoizedState={element:N,isDehydrated:C,cache:null,transitions:null,pendingSuspenseBoundaries:null},II(z),d}function rae(d,h,C){var N=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:w,key:N==null?null:""+N,children:d,containerInfo:h,implementation:C}}function G2(d){if(!d)return uc;d=d._reactInternals;e:{if(It(d)!==d||d.tag!==1)throw Error(n(170));var h=d;do{switch(h.tag){case 3:h=h.stateNode.context;break e;case 1:if(Yo(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break e}}h=h.return}while(h!==null);throw Error(n(171))}if(d.tag===1){var C=d.type;if(Yo(C))return b4(d,C,h)}return h}function K2(d,h,C,N,_,z,Q,le,he){return d=pw(C,N,!0,d,_,z,Q,le,he),d.context=G2(null),C=d.current,N=Mo(),_=gc(C),z=cu(N,_),z.callback=h??null,fc(C,z,_),d.current.lanes=_,sl(d,_,N),Zo(d,N),d}function kb(d,h,C,N){var _=h.current,z=Mo(),Q=gc(_);return C=G2(C),h.context===null?h.context=C:h.pendingContext=C,h=cu(z,Q),h.payload={element:d},N=N===void 0?null:N,N!==null&&(h.callback=N),d=fc(_,h,Q),d!==null&&(Vs(d,_,Q,z),Jk(d,_,Q)),Q}function bb(d){return d=d.current,d.child?(d.child.tag===5,d.child.stateNode):null}function Y2(d,h){if(d=d.memoizedState,d!==null&&d.dehydrated!==null){var C=d.retryLane;d.retryLane=C!==0&&C<h?C:h}}function mw(d,h){Y2(d,h),(d=d.alternate)&&Y2(d,h)}function iae(){return null}
vendor: 2,050 bytes, line 57
57var $2=typeof reportError=="function"?reportError:function(d){console.error(d)};function hw(d){this._internalRoot=d}Sb.prototype.render=hw.prototype.render=function(d){var h=this._internalRoot;if(h===null)throw Error(n(409));kb(d,h,null,null)},Sb.prototype.unmount=hw.prototype.unmount=function(){var d=this._internalRoot;if(d!==null){this._internalRoot=null;var h=d.containerInfo;Fd(function(){kb(null,d,null,null)}),h[ou]=null}};function Sb(d){this._internalRoot=d}Sb.prototype.unstable_scheduleHydration=function(d){if(d){var h=hp();d={blockedOn:null,target:d,priority:h};for(var C=0;C<Ga.length&&h!==0&&h<Ga[C].priority;C++);Ga.splice(C,0,d),C===0&&nu(d)}};function gw(d){return!(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)}function Eb(d){return!(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11&&(d.nodeType!==8||d.nodeValue!==" react-mount-point-unstable "))}function J2(){}function oae(d,h,C,N,_){if(_){if(typeof N=="function"){var z=N;N=function(){var He=bb(Q);z.call(He)}}var Q=K2(h,N,d,0,null,!1,!1,"",J2);return d._reactRootContainer=Q,d[ou]=Q.current,og(d.nodeType===8?d.parentNode:d),Fd(),Q}for(;_=d.lastChild;)d.removeChild(_);if(typeof N=="function"){var le=N;N=function(){var He=bb(he);le.call(He)}}var he=pw(d,0,!1,null,null,!1,!1,"",J2);return d._reactRootContainer=he,d[ou]=he.current,og(d.nodeType===8?d.parentNode:d),Fd(function(){kb(h,he,C,N)}),he}function Tb(d,h,C,N,_){var z=C._reactRootContainer;if(z){var Q=z;if(typeof _=="function"){var le=_;_=function(){var he=bb(Q);le.call(he)}}kb(h,Q,d,_)}else Q=oae(C,h,d,_,N);return bb(Q)}ul=function(d){switch(d.tag){case 3:var h=d.stateNode;if(h.current.memoizedState.isDehydrated){var C=Ha(h.pendingLanes);C!==0&&(ko(h,C|1),Zo(h,rt()),(Yn&6)===0&&(_p=rt()+500,cc()))}break;case 13:Fd(function(){var N=uu(d,1);if(N!==null){var _=Mo();Vs(N,d,1,_)}}),mw(d,1)}},cl=function(d){if(d.tag===13){var h=uu(d,134217728);if(h!==null){var C=Mo();Vs(h,d,134217728,C)}mw(d,134217728)}},mp=function(d){if(d.tag===13){var h=gc(d),C=uu(d,h);if(C!==null){var N=Mo();Vs(C,d,h,N)}mw(d,h)}}
57,hp=function(){return Nn},Qu=function(d,h){var C=Nn;try{return Nn=d,h()}finally{Nn=C}},ot=function(d,h,C){switch(h){case"input":if(Ee(d,C),h=C.name,C.type==="radio"&&h!=null){for(C=d;C.parentNode;)C=C.parentNode;for(C=C.querySelectorAll("input[name="+JSON.stringify(""+h)+'][type="radio"]'),h=0;h<C.length;h++){var N=C[h];if(N!==d&&N.form===d.form){var _=Bk(N);if(!_)throw Error(n(90));ae(N),Ee(N,_)}}}break;case"textarea":be(d,C);break;case"select":h=C.value,h!=null&&Qe(d,!!C.multiple,h,!1)}},Sn=sw,Lt=Fd;var aae={usingClientEntryPoint:!1,Events:[lg,Sp,Bk,Ht,fn,sw]},Eg={findFiberByHostInstance:Rd,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},sae={bundleType:Eg.bundleType,version:Eg.version,rendererPackageName:Eg.rendererPackageName,rendererConfig:Eg.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:I.ReactCurrentDispatcher,findHostInstanceByFiber:function(d){return d=Ne(d),d===null?null:d.stateNode},findFiberByHostInstance:Eg.findFiberByHostInstance||iae,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Cb=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cb.isDisabled&&Cb.supportsFiber)try{_r=Cb.inject(sae),Kn=Cb}catch{}}return Qo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=aae,Qo.createPortal=function(d,h){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gw(h))throw Error(n(200));return rae(d,h,null,C)},Qo.createRoot=function(d,h){if(!gw(d))throw Error(n(299));var C=!1,N="",_=$2;return h!=null&&(h.unstable_strictMode===!0&&(C=!0),h.identifierPrefix!==void 0&&(N=h.identifierPrefix),h.onRecoverableError!==void 0&&(_=h.onRecoverableError)),h=pw(d,1,!1,null,null,C,!1,N,_),d[ou]=h.current,og(d.nodeType===8?d.parentNode:d),new hw(h)},Qo.findDOMNode=function(d){if(d==null)return null;if(d.nodeType===1)return d;var h=d._reactInternals;if(h===void 0)throw typeof d.render=="function"?Error(n(188)):(d=Object.keys(d).join(","),Error(n(268,d)));return d=Ne(h),d=d===null?null:d.stateNode,d},Qo.flushSync=function(d){return Fd(d)},Qo.hydrate=function(d,h,C){if(!Eb(h))throw Error(n(200));return Tb(null,d,h,!0,C)},Qo.hydrateRoot=function(d,h,C){if(!gw(d))throw Error(n(405));var N=C!=null&&C.hydratedSources||null,_=!1,z="",Q=$2;if(C!=null&&(C.unstable_strictMode===!0&&(_=!0),C.identifierPrefix!==void 0&&(z=C.identifierPrefix),C.onRecoverableError!==void 0&&(Q=C.onRecoverableError)),h=K2(h,null,d,1,C??null,_,!1,z,Q),d[ou]=h.current,og(d),N)for(d=0;d<N.length;d++)C=N[d],_=C._getVersion,_=_(C._source),h.mutableSourceEagerHydrationData==null?h.mutableSourceEagerHydrationData=[C,_]:h.mutableSourceEagerHydrationData.push(C,_);return new Sb(h)},Qo.render=function(d,h,C){if(!Eb(h))throw Error(n(200));return Tb(null,d,h,!1,C)},Qo.unmountComponentAtNode=function(d){if(!Eb(d))throw Error(n(40));return d._reactRootContainer?(Fd(function(){Tb(null,null,d,!1,function(){d._reactRootContainer=null,d[ou]=null})}),!0):!1},Qo.unstable_batchedUpdates=sw,Qo.unstable_renderSubtreeIntoContainer=function(d,h,C,N){if(!Eb(C))throw Error(n(200));if(d==null||d._reactInternals===void 0)throw Error(n(38));return Tb(d,h,C,!1,N)},Qo.version="18.3.1-next-f1338f8080-20240426",Qo}var O6;function JG(){if(O6)return vN.exports;O6=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),vN.exports=RCe(),vN.exports}var qo=JG();const Kb=Wu(qo),P6={disabled:!1},sE=Ye.createContext(null);var xCe=function(t){return t.scrollTop},vv="unmounted",Qd="exited",Xd="entering",pm="entered",Xx="exiting",Rs=(function(e){$G(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=Qd,o.appearStatus=Xd):l=pm:r.unmountOnExit||r.mountOnEnter?l=vv:l=Qd,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===vv?{status:Qd}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Xd&&a!==pm&&(o=Xd):(a===Xd||a===pm)&&(o=Xx)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Xd){if
vendor: 3,675 bytes, line 57
57(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Kb.findDOMNode(this);a&&xCe(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Qd&&this.setState({status:vv})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[Kb.findDOMNode(this),s],u=l[0],c=l[1],f=this.getTimeouts(),p=s?f.appear:f.enter;if(!i&&!a||P6.disabled){this.safeSetState({status:pm},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Xd},function(){o.props.onEntering(u,c),o.onTransitionEnd(p,function(){o.safeSetState({status:pm},function(){o.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Kb.findDOMNode(this);if(!o||P6.disabled){this.safeSetState({status:Qd},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Xx},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Qd},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:Kb.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===vv)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=Tr(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ye.createElement(sE.Provider,{value:null},typeof a=="function"?a(i,s):Ye.cloneElement(Ye.Children.only(a),s))},t})(Ye.Component);Rs.contextType=sE;Rs.propTypes={};function qp(){}Rs.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qp,onEntering:qp,onEntered:qp,onExit:qp,onExiting:qp,onExited:qp};Rs.UNMOUNTED=vv;Rs.EXITED=Qd;Rs.ENTERING=Xd;Rs.ENTERED=pm;Rs.EXITING=Xx;function LCe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $P(e,t){var n=function(o){return t&&m.isValidElement(o)?t(o):o},r=Object.create(null);return e&&m.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function OCe(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var a,s={};for(var l in t){if(r[l])for(a=0;a<r[l].length;a++){var u=r[l][a];s[r[l][a]]=n(u)}s[l]=n(l)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s}function hf(e,t,n){return n[t]!=null?n[t]:e.props[t]}function PCe(e,t){return $P(e.children,function(n){return m.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:hf(n,"appear",e),enter:hf(n,"enter",e),exit:hf(n,"exit",e)})})}function _Ce(e,t,n){var r=$P(e.children),i=OCe(t,r);
57return Object.keys(i).forEach(function(o){var a=i[o];if(m.isValidElement(a)){var s=o in t,l=o in r,u=t[o],c=m.isValidElement(u)&&!u.props.in;l&&(!s||c)?i[o]=m.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:hf(a,"exit",e),enter:hf(a,"enter",e)}):!l&&s&&!c?i[o]=m.cloneElement(a,{in:!1}):l&&s&&m.isValidElement(u)&&(i[o]=m.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:hf(a,"exit",e),enter:hf(a,"enter",e)}))}}),i}var DCe=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},MCe={component:"div",childFactory:function(t){return t}},JP=(function(e){$G(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=o.handleExited.bind(LCe(o));return o.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},o}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,o){var a=o.children,s=o.handleExited,l=o.firstRender;return{children:l?PCe(i,s):_Ce(i,a,s),firstRender:!1}},n.handleExited=function(i,o){var a=$P(this.props.children);i.key in a||(i.props.onExited&&i.props.onExited(o),this.mounted&&this.setState(function(s){var l=qe({},s.children);return delete l[i.key],{children:l}}))},n.render=function(){var i=this.props,o=i.component,a=i.childFactory,s=Tr(i,["component","childFactory"]),l=this.state.contextValue,u=DCe(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,o===null?Ye.createElement(sE.Provider,{value:l},u):Ye.createElement(sE.Provider,{value:l},Ye.createElement(o,s,u))},t})(Ye.Component);JP.propTypes={};JP.defaultProps=MCe;const _6={};function ek(e,t){const n=m.useRef(_6);return n.current===_6&&(n.current=e(t)),n}const FCe=[];function UCe(e){m.useEffect(e,FCe)}let ZG=class QG{static create(){return new QG}currentId=null;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function Pl(){const e=ek(ZG.create).current;return UCe(e.disposeEffect),e}const ZP=e=>e.scrollTop;function ed(e,t){const{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:i.transitionDelay}}function VCe(e){return en("MuiCollapse",e)}tn("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const BCe=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Dt(r,VCe,n)},jCe=$e("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(dn(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),zCe=$e("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),HCe=$e("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),uy=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiCollapse"}),{addEndListener:i,children:o,className:a,collapsedSize:s="0px",component:l,easing:u,in:c,onEnter:f,onEntered:p,onEntering:v,onExit:g,onExited:y,onExiting:k,orientation:E="vertical",style:S,timeout:T=HG.standard,TransitionComponent:I=Rs,...A}=r,w={...r,orientation:E,collapsedSize:s},R=BCe(w),x=ga(),D=Pl(),M=m.useRef(null),F=m.useRef(),L=typeof s=="number"?`${s}px`:s,P=E==="horizontal",j=P?"width":"height",B=m.useRef(null),H=Hr(n,B),G=Y=>ee=>
57{if(Y){const te=B.current;ee===void 0?Y(te):Y(te,ee)}},O=()=>M.current?M.current[P?"clientWidth":"clientHeight"]:0,V=G((Y,ee)=>{M.current&&P&&(M.current.style.position="absolute"),Y.style[j]=L,f&&f(Y,ee)}),W=G((Y,ee)=>{const te=O();M.current&&P&&(M.current.style.position="");const{duration:ce,easing:ne}=ed({style:S,timeout:T,easing:u},{mode:"enter"});if(T==="auto"){const Ce=x.transitions.getAutoHeightDuration(te);Y.style.transitionDuration=`${Ce}ms`,F.current=Ce}else Y.style.transitionDuration=typeof ce=="string"?ce:`${ce}ms`;Y.style[j]=`${te}px`,Y.style.transitionTimingFunction=ne,v&&v(Y,ee)}),U=G((Y,ee)=>{Y.style[j]="auto",p&&p(Y,ee)}),q=G(Y=>{Y.style[j]=`${O()}px`,g&&g(Y)}),$=G(y),J=G(Y=>{const ee=O(),{duration:te,easing:ce}=ed({style:S,timeout:T,easing:u},{mode:"exit"});if(T==="auto"){const ne=x.transitions.getAutoHeightDuration(ee);Y.style.transitionDuration=`${ne}ms`,F.current=ne}else Y.style.transitionDuration=typeof te=="string"?te:`${te}ms`;Y.style[j]=L,Y.style.transitionTimingFunction=ce,k&&k(Y)}),Z=Y=>{T==="auto"&&D.start(F.current||0,Y),i&&i(B.current,Y)};return b.jsx(I,{in:c,onEnter:V,onEntered:U,onEntering:W,onExit:q,onExited:$,onExiting:J,addEndListener:Z,nodeRef:B,timeout:T==="auto"?null:T,...A,children:(Y,{ownerState:ee,...te})=>b.jsx(jCe,{as:l,className:mt(R.root,a,{entered:R.entered,exited:!c&&L==="0px"&&R.hidden}[Y]),style:{[P?"minWidth":"minHeight"]:L,...S},ref:H,ownerState:{...w,state:Y},...te,children:b.jsx(zCe,{ownerState:{...w,state:Y},className:R.wrapper,ref:M,children:b.jsx(HCe,{ownerState:{...w,state:Y},className:R.wrapperInner,children:o})})})})});uy&&(uy.muiSupportAuto=!0);function WCe(e){return en("MuiPaper",e)}tn("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const qCe=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Dt(o,WCe,i)},GCe=$e("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(dn(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),$l=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiPaper"}),i=ga(),{className:o,component:a="div",elevation:s=1,square:l=!1,variant:u="elevation",...c}=r,f={...r,component:a,elevation:s,square:l,variant:u},p=qCe(f);return b.jsx(GCe,{as:a,ownerState:f,className:mt(p.root,o),ref:n,...c,style:{...u==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[s],...i.vars&&{"--Paper-overlay":i.vars.overlays?.[s]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Qt("#fff",Jx(s))}, ${Qt("#fff",Jx(s))})`}},...c.style}})});function lE(e){return typeof e=="string"}function XG(e,t,n){return e===void 0||lE(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function eK(e,t,n){return typeof e=="function"?e(t,n):e}function tK(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function D6(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function nK(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const v=mt(n?.className,o,i?.className,r?.className),g={...n?.style,...i?.style,...r?.style},y={...n,...i,...r};return v.length>0&&(y.className=v),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const a=tK({...i,...r}),s=D6(r),l=D6(i),u=t(a),c=mt(u?.className,n?.className,o,i?.className,r?.className),f={...u?.style,...n?.style,...i?.style,...r?.style},p={...u,...n,...l,...s};return c.length>0&&(p.className=c),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:u.ref}}function un(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,internalForwardedProps:a,shouldForwardComponentProp:s=!1,...l}=t,{component:u,slots:c={[e]:void 0},slotProps:f={[e]:void 0},...p}=o,v=c[e]||r,g=eK(f[e],i),{props:{component:y,...k},internalRef:E}=nK({className:n,...l,externalForwardedProps:e==="root"?p:void 0,externalSlotProps:g}),S=Hr(E,g?.ref,t.ref),T=e==="root"?y||u:y,I=XG(v,{...e==="root"&&!u&&!c[e]&&a,...e!=="root"&&!c[e]&&a,...k,...T&&!s&&{as:T},...T&&s&&{component:T},ref:S},i);return[v,I]}function rh(e){try{return e.matches(":focus-visible")}catch{}return!1}class uE{static create(){return new uE}static use(){const t=ek(uE.create).current,[n,r]=m.useState(!1);return t.shouldMount=n,t.setShouldMount=r,m.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=YCe(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function KCe(){return uE.use()}function YCe(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n}function $Ce(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:a,in:s,onExited:l,timeout:u}=e,[c,f]=m.useState(!1),p=mt(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:a,height:a,top:-(a/2)+o,left:-(a/2)+i},g=mt(n.child,c&&n.childLeaving,r&&n.childPulsate);return!s&&!c&&f(!0),m.useEffect(()=>{if(!s&&l!=null){const y=setTimeout(l,u);return()=>{clearTimeout(y)}}},[l,s,u]),b.jsx("span",{className:p,style:v,children:b.jsx("span",{className:g})})}const os=tn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),e1=550,JCe=80,ZCe=op` 58 0% { 59 transform: scale(0); 60 opacity: 0.1; 61 } 62 63 100% { 64 transform: scale(1); 65 opacity: 0.3; 66 } 67`,QCe=op` 68 0% { 69 opacity: 1; 70 } 71 72 100% { 73 opacity: 0; 74 }
75`,XCe=op` 76 0% { 77 transform: scale(1); 78 } 79 80 50% { 81 transform: scale(0.92); 82 } 83 84 100% { 85 transform: scale(1); 86 } 87`,eAe=$e("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),tAe=$e($Ce,{name:"MuiTouchRipple",slot:"Ripple"})` 88 opacity: 0; 89 position: absolute; 90 91 &.${os.rippleVisible} { 92 opacity: 0.3; 93 transform: scale(1); 94 animation-name: ${ZCe}; 95 animation-duration: ${e1}ms; 96 animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; 97 } 98 99 &.${os.ripplePulsate} { 100 animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; 101 } 102 103 & .${os.child} { 104 opacity: 1; 105 display: block; 106 width: 100%; 107 height: 100%; 108 border-radius: 50%; 109 background-color: currentColor; 110 } 111 112 & .${os.childLeaving} { 113 opacity: 0; 114 animation-name: ${QCe}; 115 animation-duration: ${e1}ms; 116 animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; 117 } 118 119 & .${os.childPulsate} { 120 position: absolute; 121 /* @noflip */ 122 left: 0px; 123 top: 0; 124 animation-name: ${XCe}; 125 animation-duration: 2500ms; 126 animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; 127 animation-iteration-count: infinite; 128 animation-delay: 200ms; 129 } 130`,nAe=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:a,...s}=r,[l,u]=m.useState([]),c=m.useRef(0),f=m.useRef(null);m.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const p=m.useRef(!1),v=Pl(),g=m.useRef(null),y=m.useRef(null),k=m.useCallback(I=>{const{pulsate:A,rippleX:w,rippleY:R,rippleSize:x,cb:D}=I;u(M=>[...M,b.jsx(tAe,{classes:{ripple:mt(o.ripple,os.ripple),rippleVisible:mt(o.rippleVisible,os.rippleVisible),ripplePulsate:mt(o.ripplePulsate,os.ripplePulsate),child:mt(o.child,os.child),childLeaving:mt(o.childLeaving,os.childLeaving),childPulsate:mt(o.childPulsate,os.childPulsate)},timeout:e1,pulsate:A,rippleX:w,rippleY:R,rippleSize:x},c.current)]),c.current+=1,f.current=D},[o]),E=m.useCallback((I={},A={},w=()=>{})=>{const{pulsate:R=!1,center:x=i||A.pulsate,fakeElement:D=!1}=A;if(I?.type==="mousedown"&&p.current){p.current=!1;return}I?.type==="touchstart"&&(p.current=!0);const M=D?null:y.current,F=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let L,P,j;if(x||I===void 0||I.clientX===0&&I.clientY===0||!I.clientX&&!I.touches)L=Math.round(F.width/2),P=Math.round(F.height/2);else{const{clientX:B,clientY:H}=I.touches&&I.touches.length>0?I.touches[0]:I;L=Math.round(B-F.left),P=Math.round(H-F.top)}if(x)j=Math.sqrt((2*F.width**2+F.height**2)/3),j%2===0&&(j+=1);else{const B=Math.max(Math.abs((M?M.clientWidth:0)-L),L)*2+2,H=Math.max(Math.abs((M?M.clientHeight:0)-P),P)*2+2;j=Math.sqrt(B**2+H**2)}I?.touches?g.current===null&&(g.current=()=>{k({pulsate:R,rippleX:L,rippleY:P,rippleSize:j,cb:w})},v.start(JCe,()=>{g.current&&(g.current(),g.current=null)})):k({pulsate:R,rippleX:L,rippleY:P,rippleSize:j,cb:w})},[i,k,v]),S=m.useCallback(()=>{E({},{pulsate:!0})},[E]),T=m.useCallback((I,A)=>{if(v.clear(),I?.type==="touchend"&&g.current){g.current(),g.current=null,v.start(0,()=>{T(I,A)});return}g.current=null,u(w=>w.length>0?w.slice(1):w),f.current=A},[v]);return m.useImperativeHandle(n,()=>({pulsate:S,start:E,stop:T}),[S,E,T]),b.jsx(eAe,{className:mt(os.root,o.root,a),ref:y,...s,children:b.jsx(JP,{component:null,exit:!0,children:l})})});function rAe(e){return en("MuiButtonBase",e)}const iAe=tn("MuiButtonBase",["root","disabled","focusVisible"]),oAe=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=Dt({root:["root",t&&"disabled",n&&"focusVisible"]},rAe,i);return n&&r&&(a.root+=` ${r}`),a},aAe=$e("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${iAe.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ih=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:p=!1,focusVisibleClassName:v,LinkComponent:g="a",onBlur:y,onClick:k,onContextMenu:E,onDragLeave:S,onFocus:T,onFocusVisible:I,onKeyDown:A,onKeyUp:w,onMouseDown:R,onMouseLeave:x,onMouseUp:D,onTouchEnd:M,onTouchMove:F,onTouchStart:L,tabIndex:P=0,TouchRippleProps:j,touchRippleRef:B,type:H,...G}=r,O=m.useRef(null),V=KCe(),W=Hr(V.ref,B),[U,q]=m.useState(!1);u&&U&&q(!1),m.useImperativeHandle(i,()=>({focusVisible:()=>{q(!0),O.current.focus()}}),[]);const $=V.shouldMount&&!c&&!u;m.useEffect(()=>{U&&p&&!c&&V.pulsate()},[c,p,U,V]);const J=hu(V,"start",R,f),Z=hu(V,"stop",E,f),Y=hu(V,"stop",S,f),ee=hu(V,"stop",D,f),te=hu(V,"stop",Fe=>{U&&Fe.preventDefault(),x&&x(Fe)},f),ce=hu(V,"start",L,f),ne=hu(V,"stop",M,f),Ce=hu(V,"stop",F,f),ae=hu(V,"stop",Fe=>{rh(Fe.target)||q(!1),y&&y(Fe)},!1),pe=Hi(Fe=>{O.current||(O.current=Fe.currentTarget),rh(Fe.target)&&(q(!0),I&&I(Fe)),T&&T(Fe)}),ve=()=>{const Fe=O.current;return l&&l!=="button"&&!(Fe.tagName==="A"&&Fe.href)},Se=Hi(Fe=>
130{p&&!Fe.repeat&&U&&Fe.key===" "&&V.stop(Fe,()=>{V.start(Fe)}),Fe.target===Fe.currentTarget&&ve()&&Fe.key===" "&&Fe.preventDefault(),A&&A(Fe),Fe.target===Fe.currentTarget&&ve()&&Fe.key==="Enter"&&!u&&(Fe.preventDefault(),k&&k(Fe))}),De=Hi(Fe=>{p&&Fe.key===" "&&U&&!Fe.defaultPrevented&&V.stop(Fe,()=>{V.pulsate(Fe)}),w&&w(Fe),k&&Fe.target===Fe.currentTarget&&ve()&&Fe.key===" "&&!Fe.defaultPrevented&&k(Fe)});let Ee=l;Ee==="button"&&(G.href||G.to)&&(Ee=g);const ye={};Ee==="button"?(ye.type=H===void 0?"button":H,ye.disabled=u):(!G.href&&!G.to&&(ye.role="button"),u&&(ye["aria-disabled"]=u));const Pe=Hr(n,O),Me={...r,centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:p,tabIndex:P,focusVisible:U},Qe=oAe(Me);return b.jsxs(aAe,{as:Ee,className:mt(Qe.root,s),ownerState:Me,onBlur:ae,onClick:k,onContextMenu:Z,onFocus:pe,onKeyDown:Se,onKeyUp:De,onMouseDown:J,onMouseLeave:te,onMouseUp:ee,onDragLeave:Y,onTouchEnd:ne,onTouchMove:Ce,onTouchStart:ce,ref:Pe,tabIndex:u?-1:P,type:H,...ye,...G,children:[a,$?b.jsx(nAe,{ref:W,center:o,...j}):null]})});function hu(e,t,n,r=!1){return Hi(i=>(n&&n(i),r||e[t](i),!0))}function sAe(e){return typeof e.main=="string"}function lAe(e,t=[]){if(!sAe(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Wi(e=[]){return([,t])=>t&&lAe(t,e)}function uAe(e){return en("MuiAlert",e)}const M6=tn("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function cAe(e){return en("MuiCircularProgress",e)}tn("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Bs=44,t1=op` 131 0% { 132 transform: rotate(0deg); 133 } 134 135 100% { 136 transform: rotate(360deg); 137 } 138`,n1=op` 139 0% { 140 stroke-dasharray: 1px, 200px; 141 stroke-dashoffset: 0; 142 } 143 144 50% { 145 stroke-dasharray: 100px, 200px; 146 stroke-dashoffset: -15px; 147 } 148 149 100% { 150 stroke-dasharray: 1px, 200px; 151 stroke-dashoffset: -126px; 152 } 153`,dAe=typeof t1!="string"?$y` 154 animation: ${t1} 1.4s linear infinite; 155 `:null,fAe=typeof n1!="string"?$y` 156 animation: ${n1} 1.4s ease-in-out infinite; 157 `:null,pAe=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,o={root:["root",n,`color${it(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${it(n)}`,i&&"circleDisableShrink"]};return Dt(o,cAe,t)},mAe=$e("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${it(n.color)}`]]}})(dn(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:dAe||{animation:`${t1} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Wi()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),hAe=$e("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),gAe=$e("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${it(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(dn(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:fAe||{animation:`${n1} 1.4s ease-in-out infinite`}}]}))),vAe=$e("circle",{name:"MuiCircularProgress",slot:"Track"})(dn(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),QP=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:a=!1,enableTrackSlot:s=!1,size:l=40,style:u,thickness:c=3.6,value:f=0,variant:p="indeterminate",...v}=r,g={...r,color:o,disableShrink:a,size:l,thickness:c,value:f,variant:p,enableTrackSlot:s},y=pAe(g),k={},E={},S={};if(p==="determinate"){const T=2*Math.PI*((Bs-c)/2);k.strokeDasharray=T.toFixed(3),S["aria-valuenow"]=Math.round(f),k.strokeDashoffset=`${((100-f)/100*T).toFixed(3)}px`,E.transform="rotate(-90deg)"}
157return b.jsx(mAe,{className:mt(y.root,i),style:{width:l,height:l,...E,...u},ownerState:g,ref:n,role:"progressbar",...S,...v,children:b.jsxs(hAe,{className:y.svg,ownerState:g,viewBox:`${Bs/2} ${Bs/2} ${Bs} ${Bs}`,children:[s?b.jsx(vAe,{className:y.track,ownerState:g,cx:Bs,cy:Bs,r:(Bs-c)/2,fill:"none",strokeWidth:c,"aria-hidden":"true"}):null,b.jsx(gAe,{className:y.circle,style:k,ownerState:g,cx:Bs,cy:Bs,r:(Bs-c)/2,fill:"none",strokeWidth:c})]})})});function yAe(e){return en("MuiIconButton",e)}const F6=tn("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),kAe=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o,loading:a}=e,s={root:["root",a&&"loading",n&&"disabled",r!=="default"&&`color${it(r)}`,i&&`edge${it(i)}`,`size${it(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Dt(s,yAe,t)},bAe=$e(ih,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${it(n.color)}`],n.edge&&t[`edge${it(n.edge)}`],t[`size${it(n.size)}`]]}})(dn(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),dn(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Wi()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Wi()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${F6.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${F6.loading}`]:{color:"transparent"}}))),SAe=$e("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Lo=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium",id:f,loading:p=null,loadingIndicator:v,...g}=r,y=Rr(f),k=v??b.jsx(QP,{"aria-labelledby":y,color:"inherit",size:16}),E={...r,edge:i,color:s,disabled:l,disableFocusRipple:u,loading:p,loadingIndicator:k,size:c},S=kAe(E);return b.jsxs(bAe,{id:p?y:f,className:mt(S.root,a),centerRipple:!0,focusRipple:!u,disabled:l||p,ref:n,...g,ownerState:E,children:[typeof p=="boolean"&&b.jsx("span",{className:S.loadingWrapper,style:{display:"contents"},children:b.jsx(SAe,{className:S.loadingIndicator,ownerState:E,children:p&&k})}),o]})}),EAe=hd(b.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})),TAe=hd(b.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),CAe=hd(b.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),AAe=hd(b.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"})),rK=hd(b.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 12z"})),IAe=e=>{const{variant:t,color:n,severity:r,classes:i}=e,o={root:["root",`color${it(n||r)}`,`${t}${it(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Dt(o,uAe,i)},wAe=$e($l,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${it(n.color||n.severity)}`]]}})(dn(({theme:e})=>{const t=e.palette.mode==="light"?e.darken:e.lighten,n=e.palette.mode==="light"?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Wi(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${M6.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Wi(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${M6.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Wi(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),NAe=$e("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),RAe=$e("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),xAe=$e("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),U6={success:b.jsx(EAe,{fontSize:"inherit"}),warning:b.jsx(TAe,{fontSize:"inherit"}),error:b.jsx(CAe,{fontSize:"inherit"}),info:b.jsx(AAe,{fontSize:"inherit"})},cE=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiAlert"}),{action:i,children:o,className:a,closeText:s="Close",color:l,components:u={},componentsProps:c={},icon:f,iconMapping:p=U6,onClose:v,role:g="alert",severity:y="success",slotProps:k={},slots:E={},variant:S="standard",...T}=r,I={...r,color:l,severity:y,variant:S,colorSeverity:l||y},A=IAe(I),w={slots:{closeButton:u.CloseButton,closeIcon:u.CloseIcon,...E},slotProps:{...c,...k}},[R,x]=un("root",{ref:n,shouldForwardComponentProp:!0,className:mt(A.root,a),elementType:wAe,externalForwardedProps:{...w,...T},ownerState:I,additionalProps:{role:g,elevation:0}}),[D,M]=un("icon",{className:A.icon,elementType:NAe,externalForwardedProps:w,ownerState:I}),[F,L]=un("message",{className:A.message,elementType:RAe,externalForwardedProps:w,ownerState:I}),[P,j]=un("action",{className:A.action,elementType:xAe,externalForwardedProps:w,ownerState:I}),[B,H]=un("closeButton",{elementType:Lo,externalForwardedProps:w,ownerState:I}),[G,O]=un("closeIcon",{elementType:rK,externalForwardedProps:w,ownerState:I});return b.jsxs(R,{...x,children:[f!==!1?b.jsx(D,{...M,children:f||p[y]||U6[y]}):null,b.jsx(F,{...L,children:o}),i!=null?b.jsx(P,{...j,children:i}):null,i==null&&v?b.jsx(P,{...j,children:b.jsx(B,{size:"small","aria-label":s,title:s,color:"inherit",onClick:v,...H,children:b.jsx(G,{fontSize:"small",...O})})}):null]})});function LAe(e){return en("MuiTypography",e)}const dE=tn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","
157subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),OAe={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},PAe=ECe(),_Ae=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,e.align!=="inherit"&&`align${it(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Dt(s,LAe,a)},DAe=$e("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${it(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(dn(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,n])=>t!=="inherit"&&n&&typeof n=="object").map(([t,n])=>({props:{variant:t},style:n})),...Object.entries(e.palette).filter(Wi()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${it(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),V6={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},En=m.forwardRef(function(t,n){const{color:r,...i}=an({props:t,name:"MuiTypography"}),o=!OAe[r],a=PAe({...i,...o&&{color:r}}),{align:s="inherit",className:l,component:u,gutterBottom:c=!1,noWrap:f=!1,paragraph:p=!1,variant:v="body1",variantMapping:g=V6,...y}=a,k={...a,align:s,color:r,className:l,component:u,gutterBottom:c,noWrap:f,paragraph:p,variant:v,variantMapping:g},E=u||(p?"p":g[v]||V6[v])||"span",S=_Ae(k);return b.jsx(DAe,{as:E,ref:n,className:mt(S.root,l),...y,ownerState:k,style:{...s!=="inherit"&&{"--Typography-textAlign":s},...y.style}})});function MAe(e){return en("MuiAlertTitle",e)}tn("MuiAlertTitle",["root"]);const FAe=e=>{const{classes:t}=e;return Dt({root:["root"]},MAe,t)},UAe=$e(En,{name:"MuiAlertTitle",slot:"Root"})(dn(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),B6=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiAlertTitle"}),{className:i,...o}=r,a=r,s=FAe(a);return b.jsx(UAe,{gutterBottom:!0,component:"div",ownerState:a,ref:n,className:mt(s.root,i),...o})});function VAe(e){return en("MuiAppBar",e)}tn("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const BAe=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${it(t)}`,`position${it(n)}`]};return Dt(i,VAe,r)},j6=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,jAe=$e($l,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${it(n.position)}`],t[`color${it(n.color)}`]]}})(dn(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(Wi(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?j6(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?j6(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),zAe=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:a=!1,position:s="fixed",...l}=r,u={...r,color:o,position:s,enableColorOnDark:a},c=BAe(u);return b.jsx(jAe,{square:!0,component:"header",ownerState:u,elevation:4,className:mt(c.root,i,s==="fixed"&&"mui-fixed"),ref:n,...l})});function XP(e){const t=m.useRef({});return m.useEffect(()=>{t.current=e}),t.current}function z6({array1:e,array2:t,parser:n=r=>r}){return e&&t&&e.length===t.length&&e.every((r,i)=>n(r)===n(t[i]))}function H6(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function iK(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:i="any",stringify:o,trim:a=!1}=e;return(s,{inputValue:l,getOptionLabel:u})=>{let c=a?l.trim():l;n&&(c=c.toLowerCase()),t&&(c=H6(c));const f=c?s.filter(p=>{let v=(o||u)(p);return n&&(v=v.toLowerCase()),t&&(v=H6(v)),i==="start"?v.startsWith(c):v.includes(c)}):s;return typeof r=="number"?f.slice(0,r):f}}const HAe=iK(),W6=5,WAe=e=>e.current!==null&&e.current.parentElement?.contains(document.activeElement),qAe=[];function q6(e,t,n,r){if(t||e==null||r)return"";const i=n(e);return typeof i=="string"?i:""}function GAe(e){const{unstable_isActiveElementInListbox:t=WAe,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:i=!1,autoSelect:o=!1,blurOnSelect:a=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:l=!1,componentName:u="useAutocomplete",defaultValue:c=e.multiple?qAe:null,disableClearable:f=!1,disableCloseOnSelect:p=!1,disabled:v,disabledItemsFocusable:g=!1,disableListWrap:y=!1,filterOptions:k=HAe,filterSelectedOptions:E=!1,freeSolo:S=!1,getOptionDisabled:T,getOptionKey:I,getOptionLabel:A=Ne=>Ne.label??Ne,groupBy:w,handleHomeEndKeys:R=!e.freeSolo,id:x,includeInputInList:D=!1,inputValue:M,isOptionEqualToValue:F=(Ne,Le)=>Ne===Le,multiple:L=!1,onChange:P,onClose:j,onHighlightChange:B,onInputChange:H,onOpen:G,open:O,openOnFocus:V=!1,options:W,readOnly:U=!1,renderValue:q,selectOnFocus:$=!e.freeSolo,value:J}=e,Z=Rr(x);let Y=A;Y=Ne=>{const Le=A(Ne);return typeof Le!="string"?String(Le):Le};const ee=m.useRef(!1),te=m.useRef(!0),ce=m.useRef(null),ne=m.useRef(null),[Ce,ae]=m.useState(null),[pe,ve]=m.useState(-1),Se=i?0:-1,De=m.useRef(Se),Ee=m.useRef(q6(c??J,L,Y)).current,[ye,Pe]=Fm({controlled:J,default:c,name:u}),[Me,Qe]=Fm({controlled:M,default:Ee,name:u,state:"inputValue"}),[Fe,Ve]=m.useState(!1),be=m.useCallback((Ne,Le,ut)=>{if(!(L?ye.length<Le.length:Le!==null)&&!s)return;const Rt=q6(Le,L,Y,q);Me!==Rt&&(Qe(Rt),H&&H(Ne,Rt,ut))},[Y,Me,L,H,Qe,s,ye,q]),[Ae,ke]=Fm({controlled:O,default:!1,name:u,state:"open"}),[ue,ze]=m.useState(!0),et=!L&&ye!=null&&Me===Y(ye),lt=Ae&&!U,xe=lt?k(W.filter(Ne=>!(E&&(L?ye:[ye]).some(Le=>
157Le!==null&&F(Ne,Le)))),{inputValue:et&&ue?"":Me,getOptionLabel:Y}):[],We=XP({filteredOptions:xe,value:ye,inputValue:Me});m.useEffect(()=>{const Ne=ye!==We.value;Fe&&!Ne||S&&!Ne||be(null,ye,"reset")},[ye,be,Fe,We.value,S]);const X=Ae&&xe.length>0&&!U,de=Hi(Ne=>{if(Ne===-1)ce.current.focus();else{const Le=q?"data-item-index":"data-tag-index";Ce.querySelector(`[${Le}="${Ne}"]`).focus()}});m.useEffect(()=>{L&&pe>ye.length-1&&(ve(-1),de(-1))},[ye,L,pe,de]);function ie(Ne,Le){if(!ne.current||Ne<0||Ne>=xe.length)return-1;let ut=Ne;for(;;){const xt=ne.current.querySelector(`[data-option-index="${ut}"]`),Rt=g?!1:!xt||xt.disabled||xt.getAttribute("aria-disabled")==="true";if(xt&&xt.hasAttribute("tabindex")&&!Rt)return ut;if(Le==="next"?ut=(ut+1)%xe.length:ut=(ut-1+xe.length)%xe.length,ut===Ne)return-1}}const Re=Hi(({event:Ne,index:Le,reason:ut})=>{if(De.current=Le,Le===-1?ce.current.removeAttribute("aria-activedescendant"):ce.current.setAttribute("aria-activedescendant",`${Z}-option-${Le}`),B&&["mouse","keyboard","touch"].includes(ut)&&B(Ne,Le===-1?null:xe[Le],ut),!ne.current)return;const xt=ne.current.querySelector(`[role="option"].${n}-focused`);xt&&(xt.classList.remove(`${n}-focused`),xt.classList.remove(`${n}-focusVisible`));let Rt=ne.current;if(ne.current.getAttribute("role")!=="listbox"&&(Rt=ne.current.parentElement.querySelector('[role="listbox"]')),!Rt)return;if(Le===-1){Rt.scrollTop=0;return}const Bt=ne.current.querySelector(`[data-option-index="${Le}"]`);if(Bt&&(Bt.classList.add(`${n}-focused`),ut==="keyboard"&&Bt.classList.add(`${n}-focusVisible`),Rt.scrollHeight>Rt.clientHeight&&ut!=="mouse"&&ut!=="touch")){const rt=Bt,Vn=Rt.clientHeight+Rt.scrollTop,Ki=rt.offsetTop+rt.offsetHeight;Ki>Vn?Rt.scrollTop=Ki-Rt.clientHeight:rt.offsetTop-rt.offsetHeight*(w?1.3:0)<Rt.scrollTop&&(Rt.scrollTop=rt.offsetTop-rt.offsetHeight*(w?1.3:0))}}),Be=Hi(({event:Ne,diff:Le,direction:ut="next",reason:xt})=>{if(!lt)return;const Bt=ie((()=>{const rt=xe.length-1;if(Le==="reset")return Se;if(Le==="start")return 0;if(Le==="end")return rt;const Vn=De.current+Le;return Vn<0?Vn===-1&&D?-1:y&&De.current!==-1||Math.abs(Le)>1?0:rt:Vn>rt?Vn===rt+1&&D?-1:y||Math.abs(Le)>1?rt:0:Vn})(),ut);if(Re({index:Bt,reason:xt,event:Ne}),r&&Le!=="reset")if(Bt===-1)ce.current.value=Me;else{const rt=Y(xe[Bt]);ce.current.value=rt,rt.toLowerCase().indexOf(Me.toLowerCase())===0&&Me.length>0&&ce.current.setSelectionRange(Me.length,rt.length)}}),tt=!z6({array1:We.filteredOptions,array2:xe,parser:Y}),at=()=>{const Ne=(Le,ut)=>{const xt=Le?Y(Le):"",Rt=ut?Y(ut):"";return xt===Rt};if(De.current!==-1&&!z6({array1:We.filteredOptions,array2:xe,parser:Y})&&We.inputValue===Me&&(L?ye.length===We.value.length&&We.value.every((Le,ut)=>Y(ye[ut])===Y(Le)):Ne(We.value,ye))){const Le=We.filteredOptions[De.current];if(Le)return xe.findIndex(ut=>Y(ut)===Y(Le))}return-1},ot=m.useCallback(()=>{if(!lt)return;const Ne=at();if(Ne!==-1){De.current=Ne;return}const Le=L?ye[0]:ye;if(xe.length===0||Le==null){Be({diff:"reset"});return}if(ne.current){if(Le!=null){const ut=xe[De.current];if(L&&ut&&ye.findIndex(Rt=>F(ut,Rt))!==-1)return;const xt=xe.findIndex(Rt=>F(Rt,Le));xt===-1?Be({diff:"reset"}):Re({index:xt});return}if(De.current>=xe.length-1){Re({index:xe.length-1});return}Re({index:De.current})}},[xe.length,L?!1:ye,E,Be,Re,lt,Me,L]),ft=Hi(Ne=>{Zx(ne,Ne),Ne&&ot()});m.useEffect(()=>{(tt||lt)&&ot()},[ot,tt,lt]);const Je=Ne=>{Ae||(ke(!0),ze(!0),G&&G(Ne))},Pt=(Ne,Le)=>{Ae&&(ke(!1),j&&j(Ne,Le))},Ht=(Ne,Le,ut,xt)=>{if(L){if(ye.length===Le.length&&ye.every((Rt,Bt)=>Rt===Le[Bt]))return}else if(ye===Le)return;P&&P(Ne,Le,ut,xt),Pe(Le)},fn=m.useRef(!1),Sn=(Ne,Le,ut="selectOption",xt="options")=>{let Rt=ut,Bt=Le;if(L){Bt=Array.isArray(ye)?ye.slice():[];const rt=Bt.findIndex(Vn=>F(Le,Vn));rt===-1?Bt.push(Le):xt!=="freeSolo"&&(Bt.splice(rt,1),Rt="removeOption")}be(Ne,Bt,Rt),Ht(Ne,Bt,Rt,{option:Le}),!p&&(!Ne||!Ne.ctrlKey&&!Ne.metaKey)&&Pt(Ne,Rt),(a===!0||a==="touch"&&fn.current||a==="mouse"&&!fn.current)&&ce.current.blur()};function Lt(Ne,Le){if(Ne===-1)return-1;let ut=Ne;for(;;){if(Le==="next"&&ut===ye.length||Le==="previous"&&ut===-1)return-1;const xt=q?"data-item-index":"data-tag-index",Rt=Ce.querySelector(`[${xt}="${ut}"]`);if(!Rt||!Rt.hasAttribute("tabindex")||Rt.disabled||Rt.getAttribute("aria-disabled")==="true")ut+=Le==="next"?1:-1;else return ut}}const nn=(Ne,Le)=>{if(!L)return;Me===""&&Pt(Ne,"toggleInput");let ut=pe;pe===-1?Me===""&&Le==="previous"&&(ut=ye.length-1):(ut+=Le==="next"?1:-1,ut<0&&(ut=0),ut===ye.length&&(ut=-1)),ut=Lt(ut,Le),ve(ut),de(ut)},Dn=Ne=>{ee.current=!0,Qe(""),H&&H(Ne,"","clear"),Ht(Ne,L?[]:null,"clear")},Bn=Ne=>Le=>{if(Ne.onKeyDown&&Ne.onKeyDown(Le),!Le.defaultMuiPrevented&&(pe!==-1&&!["ArrowLeft","ArrowRight"].includes(Le.ke
157y)&&(ve(-1),de(-1)),Le.which!==229))switch(Le.key){case"Home":lt&&R&&(Le.preventDefault(),Be({diff:"start",direction:"next",reason:"keyboard",event:Le}));break;case"End":lt&&R&&(Le.preventDefault(),Be({diff:"end",direction:"previous",reason:"keyboard",event:Le}));break;case"PageUp":Le.preventDefault(),Be({diff:-W6,direction:"previous",reason:"keyboard",event:Le}),Je(Le);break;case"PageDown":Le.preventDefault(),Be({diff:W6,direction:"next",reason:"keyboard",event:Le}),Je(Le);break;case"ArrowDown":Le.preventDefault(),Be({diff:1,direction:"next",reason:"keyboard",event:Le}),Je(Le);break;case"ArrowUp":Le.preventDefault(),Be({diff:-1,direction:"previous",reason:"keyboard",event:Le}),Je(Le);break;case"ArrowLeft":!L&&q?de(0):nn(Le,"previous");break;case"ArrowRight":!L&&q?de(-1):nn(Le,"next");break;case"Enter":if(De.current!==-1&<){const ut=xe[De.current],xt=T?T(ut):!1;if(Le.preventDefault(),xt)return;Sn(Le,ut,"selectOption"),r&&ce.current.setSelectionRange(ce.current.value.length,ce.current.value.length)}else S&&Me!==""&&et===!1&&(L&&Le.preventDefault(),Sn(Le,Me,"createOption","freeSolo"));break;case"Escape":lt?(Le.preventDefault(),Le.stopPropagation(),Pt(Le,"escape")):l&&(Me!==""||L&&ye.length>0||q)&&(Le.preventDefault(),Le.stopPropagation(),Dn(Le));break;case"Backspace":if(L&&!U&&Me===""&&ye.length>0){const ut=pe===-1?ye.length-1:pe,xt=ye.slice();xt.splice(ut,1),Ht(Le,xt,"removeOption",{option:ye[ut]})}!L&&q&&!U&&(Pe(null),de(-1));break;case"Delete":if(L&&!U&&Me===""&&ye.length>0&&pe!==-1){const ut=pe,xt=ye.slice();xt.splice(ut,1),Ht(Le,xt,"removeOption",{option:ye[ut]})}!L&&q&&!U&&(Pe(null),de(-1));break}},Rn=Ne=>{Ve(!0),V&&!ee.current&&Je(Ne)},Pn=Ne=>{if(t(ne)){ce.current.focus();return}Ve(!1),te.current=!0,ee.current=!1,o&&De.current!==-1&<?Sn(Ne,xe[De.current],"blur"):o&&S&&Me!==""?Sn(Ne,Me,"blur","freeSolo"):s&&be(Ne,ye,"blur"),Pt(Ne,"blur")},se=Ne=>{const Le=Ne.target.value;Me!==Le&&(Qe(Le),ze(!1),H&&H(Ne,Le,"input")),Le===""?!f&&!L&&Ht(Ne,null,"clear"):Je(Ne)},re=Ne=>{const Le=Number(Ne.currentTarget.getAttribute("data-option-index"));De.current!==Le&&Re({event:Ne,index:Le,reason:"mouse"})},ge=Ne=>{Re({event:Ne,index:Number(Ne.currentTarget.getAttribute("data-option-index")),reason:"touch"}),fn.current=!0},je=Ne=>{const Le=Number(Ne.currentTarget.getAttribute("data-option-index"));Sn(Ne,xe[Le],"selectOption"),fn.current=!1},Ge=Ne=>Le=>{const ut=ye.slice();ut.splice(Ne,1),Ht(Le,ut,"removeOption",{option:ye[Ne]})},ht=Ne=>{Ht(Ne,null,"removeOption",{option:ye})},At=Ne=>{Ae?Pt(Ne,"toggleInput"):Je(Ne)},dt=Ne=>{Ne.currentTarget.contains(Ne.target)&&Ne.target.getAttribute("id")!==Z&&Ne.preventDefault()},It=Ne=>{Ne.currentTarget.contains(Ne.target)&&(ce.current.focus(),$&&te.current&&ce.current.selectionEnd-ce.current.selectionStart===0&&ce.current.select(),te.current=!1)},Gt=Ne=>{!v&&(Me===""||!Ae)&&At(Ne)};let Nt=S&&Me.length>0;Nt=Nt||(L?ye.length>0:ye!==null);let Xt=xe;return w&&(Xt=xe.reduce((Ne,Le,ut)=>{const xt=w(Le);return Ne.length>0&&Ne[Ne.length-1].group===xt?Ne[Ne.length-1].options.push(Le):Ne.push({key:ut,index:ut,group:xt,options:[Le]}),Ne},[])),v&&Fe&&Pn(),{getRootProps:(Ne={})=>({...Ne,onKeyDown:Bn(Ne),onMouseDown:dt,onClick:It}),getInputLabelProps:()=>({id:`${Z}-label`,htmlFor:Z}),getInputProps:()=>({id:Z,value:Me,onBlur:Pn,onFocus:Rn,onChange:se,onMouseDown:Gt,"aria-activedescendant":lt?"":null,"aria-autocomplete":r?"both":"list","aria-controls":X?`${Z}-listbox`:void 0,"aria-expanded":X,autoComplete:"off",ref:ce,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:v}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Dn}),getItemProps:({index:Ne=0}={})=>({...L&&{key:Ne},...q?{"data-item-index":Ne}:{"data-tag-index":Ne},tabIndex:-1,...!U&&{onDelete:L?Ge(Ne):ht}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:At}),getTagProps:({index:Ne})=>({key:Ne,"data-tag-index":Ne,tabIndex:-1,...!U&&{onDelete:Ge(Ne)}}),getListboxProps:()=>({role:"listbox",id:`${Z}-listbox`,"aria-labelledby":`${Z}-label`,ref:ft,onMouseDown:Ne=>{Ne.preventDefault()}}),getOptionProps:({index:Ne,option:Le})=>{const ut=(L?ye:[ye]).some(Rt=>Rt!=null&&F(Le,Rt)),xt=T?T(Le):!1;return{key:I?.(Le)??Y(Le),tabIndex:-1,role:"option",id:`${Z}-option-${Ne}`,onMouseMove:re,onClick:je,onTouchStart:ge,"data-option-index":Ne,"aria-disabled":xt,"aria-selected":ut}},id:Z,inputValue:Me,value:ye,dirty:Nt,expanded:lt&&Ce,popupOpen:lt,focused:Fe||pe!==-1,anchorEl:Ce,setAnchorEl:ae,focusedItem:pe,focusedTag:pe,groupedOptions:Xt}}var sa="top",Ts="bottom",Cs="right",la="left",e_="auto",tk=[sa,Ts,Cs,la],oh="start",cy="end",KAe="clippingParents",oK="viewport",jg="popper",YAe="reference",G6=tk.reduce(function(e,t){return e.concat([t+"-"+oh,t+"-"+cy])},[]),aK=[].concat(tk,[e_]).reduce(function(e,t){return e.concat([t,t+"-"+oh,t+"-"+cy])},[]),$Ae="beforeRead",JAe="read",ZAe="afterRead",QAe="beforeMain",XAe="main",eIe="afterMain",tIe="beforeWrite",nIe="write",rIe="afterWrite",iIe=[$Ae,JAe,ZAe,QAe,XAe,eIe,tIe,nIe,rIe];function Wl(e){return e?(e.nodeName||"").toLowerCase():null}function Fa(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function zf(e){var t=Fa(e).Element;return e instanceof t||e instanceof Element}function ys(e){var t=Fa(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function t_(e){if(typeof ShadowRoot>"u")return!1;var t=Fa(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function oIe(e){var t=e.state;
vendor: 16,262 bytes, line 157
157Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!ys(o)||!Wl(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function aIe(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],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!ys(i)||!Wl(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const sIe={name:"applyStyles",enabled:!0,phase:"write",fn:oIe,effect:aIe,requires:["computeStyles"]};function Fl(e){return e.split("-")[0]}var Cf=Math.max,fE=Math.min,ah=Math.round;function r1(){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 sK(){return!/^((?!chrome|android).)*safari/i.test(r1())}function sh(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&ys(e)&&(i=e.offsetWidth>0&&ah(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ah(r.height)/e.offsetHeight||1);var a=zf(e)?Fa(e):window,s=a.visualViewport,l=!sK()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,c=(r.top+(l&&s?s.offsetTop:0))/o,f=r.width/i,p=r.height/o;return{width:f,height:p,top:c,right:u+f,bottom:c+p,left:u,x:u,y:c}}function n_(e){var t=sh(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 lK(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&t_(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Du(e){return Fa(e).getComputedStyle(e)}function lIe(e){return["table","td","th"].indexOf(Wl(e))>=0}function gd(e){return((zf(e)?e.ownerDocument:e.document)||window.document).documentElement}function SC(e){return Wl(e)==="html"?e:e.assignedSlot||e.parentNode||(t_(e)?e.host:null)||gd(e)}function K6(e){return!ys(e)||Du(e).position==="fixed"?null:e.offsetParent}function uIe(e){var t=/firefox/i.test(r1()),n=/Trident/i.test(r1());if(n&&ys(e)){var r=Du(e);if(r.position==="fixed")return null}var i=SC(e);for(t_(i)&&(i=i.host);ys(i)&&["html","body"].indexOf(Wl(i))<0;){var o=Du(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function nk(e){for(var t=Fa(e),n=K6(e);n&&lIe(n)&&Du(n).position==="static";)n=K6(n);return n&&(Wl(n)==="html"||Wl(n)==="body"&&Du(n).position==="static")?t:n||uIe(e)||t}function r_(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dv(e,t,n){return Cf(e,fE(t,n))}function cIe(e,t,n){var r=Dv(e,t,n);return r>n?n:r}function uK(){return{top:0,right:0,bottom:0,left:0}}function cK(e){return Object.assign({},uK(),e)}function dK(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var dIe=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,cK(typeof t!="number"?t:dK(t,tk))};function fIe(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Fl(n.placement),l=r_(s),u=[la,Cs].indexOf(s)>=0,c=u?"height":"width";if(!(!o||!a)){var f=dIe(i.padding,n),p=n_(o),v=l==="y"?sa:la,g=l==="y"?Ts:Cs,y=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],k=a[l]-n.rects.reference[l],E=nk(o),S=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,T=y/2-k/2,I=f[v],A=S-p[c]-f[g],w=S/2-p[c]/2+T,R=Dv(I,w,A),x=l;n.modifiersData[r]=(t={},t[x]=R,t.centerOffset=R-w,t)}}function pIe(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)||lK(t.elements.popper,i)&&(t.elements.arrow=i))}const mIe={name:"arrow",enabled:!0,phase:"main",fn:fIe,effect:pIe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lh(e){return e.split("-")[1]}var hIe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gIe(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:ah(n*i)/i||0,y:ah(r*i)/i||0}}function Y6(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,p=a.x,v=p===void 0?0:p,g=a.y,y=g===void 0?0:g,k=typeof c=="function"?c({x:v,y}):{x:v,y};v=k.x,y=k.y;var E=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),T=la,I=sa,A=window;if(u){var w=nk(n),R="clientHeight",x="clientWidth";if(w===Fa(n)&&(w=gd(n),Du(w).position!=="static"&&s==="absolute"&&(R="scrollHeight",x="scrollWidth")),w=w,i===sa||(i===la||i===Cs)&&o===cy){I=Ts;var D=f&&w===A&&A.visualViewport?A.visualViewport.height:w[R];y-=D-r.height,y*=l?1:-1}if(i===la||(i===sa||i===Ts)&&o===cy){T=Cs;var M=f&&w===A&&A.visualViewport?A.visualViewport.width:w[x];v-=M-r.width,v*=l?1:-1}}var F=Object.assign({position:s},u&&hIe),L=c===!0?gIe({x:v,y},Fa(n)):{x:v,y};if(v=L.x,y=L.y,l){var P;return Object.assign({},F,(P={},P[I]=S?"0":"",P[T]=E?"0":"",P.transform=(A.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",P))}return Object.assign({},F,(t={},t[I]=S?y+"px":"",t[T]=E?v+"px":"",t.transform="",t))}function vIe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Fl(t.placement),variation:lh(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,Y6(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Y6(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const yIe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vIe,data:{}};var Yb={passive:!0};function kIe(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Fa(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,Yb)}),s&&l.addEventListener("resize",n.update,Yb),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Yb)}),s&&l.removeEventListener("resize",n.update,Yb)}}const bIe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:kIe,data:{}};var SIe={left:"right",right:"left",bottom:"top",top:"bottom"};function pS(e){return e.replace(/left|right|bottom|top/g,function(t){return SIe[t]})}var EIe={start:"end",end:"start"};function $6(e){return e.replace(/start|end/g,function(t){return EIe[t]})}function i_(e){var t=Fa(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function o_(e){return sh(gd(e)).left+i_(e).scrollLeft}function TIe(e,t){var n=Fa(e),r=gd(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=sK();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+o_(e),y:l}}function CIe(e){var t,n=gd(e),r=i_(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Cf(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Cf(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+o_(e),l=-r.scrollTop;return Du(i||n).direction==="rtl"&&(s+=Cf(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function a_(e){var t=Du(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function fK(e){return["html","body","#document"].indexOf(Wl(e))>=0?e.ownerDocument.body:ys(e)&&a_(e)?e:fK(SC(e))}function Mv(e,t){var n;t===void 0&&(t=[]);var r=fK(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Fa(r),a=i?[o].concat(o.visualViewport||[],a_(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Mv(SC(a)))}function i1(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function AIe(e,t){var n=sh(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 J6(e,t,n){return t===oK?i1(TIe(e,n)):zf(t)?AIe(t,n):i1(CIe(gd(e)))}function IIe(e){var t=Mv(SC(e)),n=["absolute","fixed"].indexOf(Du(e).position)>=0,r=n&&ys(e)?nk(e):e;return zf(r)?t.filter(function(i){return zf(i)&&lK(i,r)&&Wl(i)!=="body"}):[]}function wIe(e,t,n,r){var i=t==="clippingParents"?IIe(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var c=J6(e,u,r);return l.top=Cf(c.top,l.top),l.right=fE(c.right,l.right),l.bottom=fE(c.bottom,l.bottom),l.left=Cf(c.left,l.left),l},J6(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function pK(e){var t=e.reference,n=e.element,r=e.placement,i=r?Fl(r):null,o=r?lh(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case sa:l={x:a,y:t.y-n.height};break;case Ts:l={x:a,y:t.y+t.height};break;case Cs:l={x:t.x+t.width,y:s};break;case la:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?r_(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case oh:l[u]=l[u]-(t[c]/2-n[c]/2);break;case cy:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function dy(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?KAe:s,u=n.rootBoundary,c=u===void 0?oK:u,f=n.elementContext,p=f===void 0?jg:f,v=n.altBoundary,g=v===void 0?!1:v,y=n.padding,k=y===void 0?0:y,E=cK(typeof k!="number"?k:dK(k,tk)),S=p===jg?YAe:jg,T=e.rects.popper,I=e.elements[g?S:p],A=wIe(zf(I)?I:I.contextElement||gd(e.elements.popper),l,c,a),w=sh(e.elements.reference),R=pK({reference:w,element:T,placement:i}),x=i1(Object.assign({},T,R)),D=p===jg?x:w,M={top:A.top-D.top+E.top,bottom:D.bottom-A.bottom+E.bottom,left:A.left-D.left+E.left,right:D.right-A.right+E.right},F=e.modifiersData.offset;if(p===jg&&F){var L=F[i];Object.keys(M).forEach(function(P){var j=[Cs,Ts].indexOf(P)>=0?1:-1,B=[sa,Ts].indexOf(P)>=0?"y":"x";M[P]+=L[B]*j})}return M}function NIe(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?aK:l,c=lh(r),f=c?s?G6:G6.filter(function(g){return lh(g)===c}):tk,p=f.filter(function(g){return u.indexOf(g)>=0});p.length===0&&(p=f);var v=p.reduce(function(g,y){return g[y]=dy(e,{placement:y,boundary:i,rootBoundary:o,padding:a})[Fl(y)],g},{});return Object.keys(v).sort(function(g,y){return v[g]-v[y]})}function RIe(e){if(Fl(e)===e_)return[];var t=pS(e);return[$6(e),t,$6(t)]}function xIe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,p=n.altBoundary,v=n.flipVariations,g=v===void 0?!0:v,y=n.allowedAutoPlacements,k=t.options.placement,E=Fl(k),S=E===k,T=l||(S||!g?[pS(k)]:RIe(k)),I=[k].concat(T).reduce(function(J,Z){return J.concat(Fl(Z)===e_?NIe(t,{placement:Z,boundary:c,rootBoundary:f,padding:u,flipVariations:g,allowedAutoPlacements:y}):Z)},[]),A=t.rects.reference,w=t.rects.popper,R=new Map,x=!0,D=I[0],M=0;M<I.length;M++){var F=I[M],L=Fl(F),P=lh(F)===oh,j=[sa,Ts].indexOf(L)>=0,B=j?"width":"height",H=dy(t,{placement:F,boundary:c,rootBoundary:f,altBoundary:p,padding:u}),G=j?P?Cs:la:P?Ts:sa;A[B]>w[B]&&(G=pS(G));var O=pS(G),V=[];if(o&&V.push(H[L]<=0),s&&V.push(H[G]<=0,H[O]<=0),V.every(function(J){return J})){D=F,x=!1;break}R.set(F,V)}if(x)for(var W=g?3:1,U=function(Z){var Y=I.find(function(ee){var te=R.get(ee);if(te)return te.slice(0,Z).every(function(ce){return ce})});if(Y)return D=Y,"break"},q=W;q>0;q--){var $=U(q);if($==="break")break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}const LIe={name:"flip",enabled:!0,phase:"main",fn:xIe,requiresIfExists:["offset"],data:{_skip:!1}};function Z6(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 Q6(e){return[sa,Cs,Ts,la].some(function(t){return e[t]>=0})}function OIe(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=dy(t,{elementContext:"reference"}),s=dy(t,{altBoundary:!0}),l=Z6(a,r),u=Z6(s,i,o),c=Q6(l),f=Q6(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const PIe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:OIe};function _Ie(e,t,n){var r=Fl(e),i=[la,sa].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[la,Cs].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function DIe(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=aK.reduce(function(c,f){return c[f]=_Ie(f,t.rects,o),c},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const MIe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:DIe};function FIe(e){var t=e.state,n=e.name;t.modifiersData[n]=pK({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const UIe={name:"popperOffsets",enabled:!0,phase:"read",fn:FIe,data:{}};function VIe(e){return e==="x"?"y":"x"}function BIe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,p=n.tether,v=p===void 0?!0:p,g=n.tetherOffset,y=g===void 0?0:g,k=dy(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),E=Fl(t.placement),S=lh(t.placement),T=!S,I=r_(E),A=VIe(I),w=t.modifiersData.popperOffsets,R=t.rects.reference,x=t.rects.popper,D=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,M=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(w){if(o){var P,j=I==="y"?sa:la,B=I==="y"?Ts:Cs,H=I==="y"?"height":"width",G=w[I],O=G+k[j],V=G-k[B],W=v?-x[H]/2:0,U=S===oh?R[H]:x[H],q=S===oh?-x[H]:-R[H],$=t.elements.arrow,J=v&&$?n_($):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:uK(),Y=Z[j],ee=Z[B],te=Dv(0,R[H],J[H]),ce=T?R[H]/2-W-te-Y-M.mainAxis:U-te-Y-M.mainAxis,ne=T?-R[H]/2+W+te+ee+M.mainAxis:q+te+ee+M.mainAxis,Ce=t.elements.arrow&&nk(t.elements.arrow),ae=Ce?I==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,pe=(P=F?.[I])!=null?P:0,ve=G+ce-pe-ae,Se=G+ne-pe,De=Dv(v?fE(O,ve):O,G,v?Cf(V,Se):V);w[I]=De,L[I]=De-G}if(s){var Ee,ye=I==="x"?sa:la,Pe=I==="x"?Ts:Cs,Me=w[A],Qe=A==="y"?"height":"width",Fe=Me+k[ye],Ve=Me-k[Pe],be=[sa,la].indexOf(E)!==-1,Ae=(Ee=F?.[A])!=null?Ee:0,ke=be?Fe:Me-R[Qe]-x[Qe]-Ae+M.altAxis,ue=be?Me+R[Qe]+x[Qe]-Ae-M.altAxis:Ve,ze=v&&be?cIe(ke,Me,ue):Dv(v?ke:Fe,Me,v?ue:Ve);w[A]=ze,L[A]=ze-Me}t.modifiersData[r]=L}}const jIe={name:"preventOverflow",enabled:!0,phase:"main",fn:BIe,requiresIfExists:["offset"]};function zIe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function HIe(e){return e===Fa(e)||!ys(e)?i_(e):zIe(e)}function WIe(e){var t=e.getBoundingClientRect(),n=ah(t.width)/e.offsetWidth||1,r=ah(t.height)/e.offsetHeight||1;return n!==1||r!==1}function qIe(e,t,n){n===void 0&&(n=!1);var r=ys(t),i=ys(t)&&WIe(t),o=gd(t),a=sh(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};
157return(r||!r&&!n)&&((Wl(t)!=="body"||a_(o))&&(s=HIe(t)),ys(t)?(l=sh(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=o_(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function GIe(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function KIe(e){var t=GIe(e);return iIe.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function YIe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function $Ie(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 X6={placement:"bottom",modifiers:[],strategy:"absolute"};function eV(){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 JIe(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?X6:i;return function(s,l,u){u===void 0&&(u=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},X6,o),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},f=[],p=!1,v={state:c,setOptions:function(E){var S=typeof E=="function"?E(c.options):E;y(),c.options=Object.assign({},o,c.options,S),c.scrollParents={reference:zf(s)?Mv(s):s.contextElement?Mv(s.contextElement):[],popper:Mv(l)};var T=KIe($Ie([].concat(r,c.options.modifiers)));return c.orderedModifiers=T.filter(function(I){return I.enabled}),g(),v.update()},forceUpdate:function(){if(!p){var E=c.elements,S=E.reference,T=E.popper;if(eV(S,T)){c.rects={reference:qIe(S,nk(T),c.options.strategy==="fixed"),popper:n_(T)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(M){return c.modifiersData[M.name]=Object.assign({},M.data)});for(var I=0;I<c.orderedModifiers.length;I++){if(c.reset===!0){c.reset=!1,I=-1;continue}var A=c.orderedModifiers[I],w=A.fn,R=A.options,x=R===void 0?{}:R,D=A.name;typeof w=="function"&&(c=w({state:c,options:x,name:D,instance:v})||c)}}}},update:YIe(function(){return new Promise(function(k){v.forceUpdate(),k(c)})}),destroy:function(){y(),p=!0}};if(!eV(s,l))return v;v.setOptions(u).then(function(k){!p&&u.onFirstUpdate&&u.onFirstUpdate(k)});function g(){c.orderedModifiers.forEach(function(k){var E=k.name,S=k.options,T=S===void 0?{}:S,I=k.effect;if(typeof I=="function"){var A=I({state:c,name:E,instance:v,options:T}),w=function(){};f.push(A||w)}})}function y(){f.forEach(function(k){return k()}),f=[]}return v}}var ZIe=[bIe,UIe,yIe,sIe,MIe,LIe,jIe,mIe,PIe],mK=JIe({defaultModifiers:ZIe});function hK(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...o}=e,a=i?{}:eK(n,r),{props:s,internalRef:l}=nK({...o,externalSlotProps:a}),u=Hr(l,a?.ref,e.additionalProps?.ref);return XG(t,{...s,ref:u},r)}function vd(e){return parseInt(m.version,10)>=19?e?.props?.ref||null:e?.ref||null}function QIe(e){return typeof e=="function"?e():e}const gK=m.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[a,s]=m.useState(null),l=Hr(m.isValidElement(r)?vd(r):null,n);if(ni(()=>{o||s(QIe(i)||document.body)},[i,o]),ni(()=>{if(a&&!o)return Zx(n,a),()=>{Zx(n,null)}},[n,a,o]),o){if(m.isValidElement(r)){const u={ref:l};return m.cloneElement(r,u)}return r}return a&&qo.createPortal(r,a)});function XIe(e){return en("MuiPopper",e)}tn("MuiPopper",["root"]);function ewe(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function o1(e){return typeof e=="function"?e():e}function twe(e){return e.nodeType!==void 0}const nwe=e=>{const{classes:t}=e;return Dt({root:["root"]},XIe,t)},rwe={},iwe=m.forwardRef(function(t,n){const{anchorEl:r,children:i,direction:o,disablePortal:a,modifiers:s,open:l,placement:u,popperOptions:c,popperRef:f,slotProps:p={},slots:v={},TransitionProps:g,ownerState:y,...k}=t,E=m.useRef(null),S=Hr(E,n),T=m.useRef(null),I=Hr(T,f),A=m.useRef(I);ni(()=>{A.current=I},[I]),m.useImperativeHandle(f,()=>T.current,[]);const w=ewe(u,o),[R,x]=m.useState(w),[D,M]=m.useState(o1(r));m.useEffect(()=>{T.current&&T.current.forceUpdate()}),m.useEffect(()=>{r&&M(o1(r))},[r]),ni(()=>
157{if(!D||!l)return;const B=O=>{x(O.placement)};let H=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:O})=>{B(O)}}];s!=null&&(H=H.concat(s)),c&&c.modifiers!=null&&(H=H.concat(c.modifiers));const G=mK(D,E.current,{placement:w,...c,modifiers:H});return A.current(G),()=>{G.destroy(),A.current(null)}},[D,a,s,l,c,w]);const F={placement:R};g!==null&&(F.TransitionProps=g);const L=nwe(t),P=v.root??"div",j=hK({elementType:P,externalSlotProps:p.root,externalForwardedProps:k,additionalProps:{role:"tooltip",ref:S},ownerState:t,className:L.root});return b.jsx(P,{...j,children:typeof i=="function"?i(F):i})}),owe=m.forwardRef(function(t,n){const{anchorEl:r,children:i,container:o,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:p=rwe,popperRef:v,style:g,transition:y=!1,slotProps:k={},slots:E={},...S}=t,[T,I]=m.useState(!0),A=()=>{I(!1)},w=()=>{I(!0)};if(!l&&!c&&(!y||T))return null;let R;if(o)R=o;else if(r){const M=o1(r);R=M&&twe(M)?xo(M).body:xo(null).body}const x=!c&&l&&(!y||T)?"none":void 0,D=y?{in:c,onEnter:A,onExited:w}:void 0;return b.jsx(gK,{disablePortal:s,container:R,children:b.jsx(iwe,{anchorEl:r,direction:a,disablePortal:s,modifiers:u,ref:n,open:y?!T:c,placement:f,popperOptions:p,popperRef:v,slotProps:k,slots:E,...S,style:{position:"fixed",top:0,left:0,display:x,...g},TransitionProps:D,children:i})})}),awe=$e(owe,{name:"MuiPopper",slot:"Root"})({}),rk=m.forwardRef(function(t,n){const r=md(),i=an({props:t,name:"MuiPopper"}),{anchorEl:o,component:a,components:s,componentsProps:l,container:u,disablePortal:c,keepMounted:f,modifiers:p,open:v,placement:g,popperOptions:y,popperRef:k,transition:E,slots:S,slotProps:T,...I}=i,A=S?.root??s?.Root,w={anchorEl:o,container:u,disablePortal:c,keepMounted:f,modifiers:p,open:v,placement:g,popperOptions:y,popperRef:k,transition:E,...I};return b.jsx(awe,{as:a,direction:r?"rtl":"ltr",slots:{root:A},slotProps:T??l,...w,ref:n})});function swe(e){return en("MuiListSubheader",e)}tn("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const lwe=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:o}=e,a={root:["root",n!=="default"&&`color${it(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return Dt(a,swe,t)},uwe=$e("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${it(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(dn(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),a1=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiListSubheader"}),{className:i,color:o="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:u=!1,...c}=r,f={...r,color:o,component:a,disableGutters:s,disableSticky:l,inset:u},p=lwe(f);return b.jsx(uwe,{as:a,className:mt(p.root,i),ref:n,ownerState:f,...c})});a1&&(a1.muiSkipListHighlight=!0);const cwe=hd(b.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}));function dwe(e){return en("MuiChip",e)}const kn=tn("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),fwe=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:o,onDelete:a,clickable:s,variant:l}=e,u={root:["root",l,n&&"disabled",`size${it(r)}`,`color${it(i)}`,s&&"clickable",s&&`clickableColor${it(i)}`,a&&"deletable",a&&`deletableColor${it(i)}`,`${l}${it(i)}`],label:["label",`label${it(r)}`],avatar:["avatar",`avatar${it(r)}`,`avatarColor${it(i)}`],icon:["icon",`icon${it(r)}`,`iconColor${it(o)}`],deleteIcon:["deleteIcon",`deleteIcon${it(r)}`,`deleteIconColor${it(i)}`,`deleteIcon${it(l)}Color${it(i)}`]};return Dt(u,dwe,t)},pwe=$e("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}
vendor: 4,249 bytes, line 157
157=e,{color:r,iconColor:i,clickable:o,onDelete:a,size:s,variant:l}=n;return[{[`& .${kn.avatar}`]:t.avatar},{[`& .${kn.avatar}`]:t[`avatar${it(s)}`]},{[`& .${kn.avatar}`]:t[`avatarColor${it(r)}`]},{[`& .${kn.icon}`]:t.icon},{[`& .${kn.icon}`]:t[`icon${it(s)}`]},{[`& .${kn.icon}`]:t[`iconColor${it(i)}`]},{[`& .${kn.deleteIcon}`]:t.deleteIcon},{[`& .${kn.deleteIcon}`]:t[`deleteIcon${it(s)}`]},{[`& .${kn.deleteIcon}`]:t[`deleteIconColor${it(r)}`]},{[`& .${kn.deleteIcon}`]:t[`deleteIcon${it(l)}Color${it(r)}`]},t.root,t[`size${it(s)}`],t[`color${it(r)}`],o&&t.clickable,o&&r!=="default"&&t[`clickableColor${it(r)})`],a&&t.deletable,a&&r!=="default"&&t[`deletableColor${it(r)}`],t[l],t[`${l}${it(r)}`]]}})(dn(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${kn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${kn.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${kn.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${kn.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${kn.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${kn.icon}`]:{marginLeft:5,marginRight:-6},[`& .${kn.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${kn.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${kn.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Wi(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${kn.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${kn.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${kn.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${kn.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(Wi(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${kn.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${kn.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Wi(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${kn.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${kn.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover}
157,[`&.${kn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${kn.avatar}`]:{marginLeft:4},[`& .${kn.avatarSmall}`]:{marginLeft:2},[`& .${kn.icon}`]:{marginLeft:4},[`& .${kn.iconSmall}`]:{marginLeft:2},[`& .${kn.deleteIcon}`]:{marginRight:5},[`& .${kn.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Wi()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.alpha((e.vars||e).palette[n].main,.7)}`,[`&.${kn.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${kn.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.focusOpacity)},[`& .${kn.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),mwe=$e("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${it(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function tV(e){return e.key==="Backspace"||e.key==="Delete"}const Hf=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:a,color:s="default",component:l,deleteIcon:u,disabled:c=!1,icon:f,label:p,onClick:v,onDelete:g,onKeyDown:y,onKeyUp:k,size:E="medium",variant:S="filled",tabIndex:T,skipFocusWhenDisabled:I=!1,slots:A={},slotProps:w={},...R}=r,x=m.useRef(null),D=Hr(x,n),M=Y=>{Y.stopPropagation(),g&&g(Y)},F=Y=>{Y.currentTarget===Y.target&&tV(Y)&&Y.preventDefault(),y&&y(Y)},L=Y=>{Y.currentTarget===Y.target&&g&&tV(Y)&&g(Y),k&&k(Y)},P=a!==!1&&v?!0:a,j=P||g?ih:l||"div",B={...r,component:j,disabled:c,size:E,color:s,iconColor:m.isValidElement(f)&&f.props.color||s,onDelete:!!g,clickable:P,variant:S},H=fwe(B),G=j===ih?{component:l||"div",focusVisibleClassName:H.focusVisible,...g&&{disableRipple:!0}}:{};let O=null;g&&(O=u&&m.isValidElement(u)?m.cloneElement(u,{className:mt(u.props.className,H.deleteIcon),onClick:M}):b.jsx(cwe,{className:H.deleteIcon,onClick:M}));let V=null;i&&m.isValidElement(i)&&(V=m.cloneElement(i,{className:mt(H.avatar,i.props.className)}));let W=null;f&&m.isValidElement(f)&&(W=m.cloneElement(f,{className:mt(H.icon,f.props.className)}));const U={slots:A,slotProps:w},[q,$]=un("root",{elementType:pwe,externalForwardedProps:{...U,...R},ownerState:B,shouldForwardComponentProp:!0,ref:D,className:mt(H.root,o),additionalProps:{disabled:P&&c?!0:void 0,tabIndex:I&&c?-1:T,...G},getSlotProps:Y=>({...Y,onClick:ee=>{Y.onClick?.(ee),v?.(ee)},onKeyDown:ee=>{Y.onKeyDown?.(ee),F(ee)},onKeyUp:ee=>{Y.onKeyUp?.(ee),L(ee)}})}),[J,Z]=un("label",{elementType:mwe,externalForwardedProps:U,ownerState:B,className:H.label});return b.jsxs(q,{as:j,...$,children:[V||W,b.jsx(J,{...Z,children:p}),O]})});function $b(e){return parseInt(e,10)||0}const hwe={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function gwe(e){for(const t in e)return!1;return!0}function nV(e){return gwe(e)||e.outerHeightStyle===0&&!e.overflowing}const vwe=m.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:a,value:s,...l}=t,{current:u}=m.useRef(s!=null),c=m.useRef(null),f=Hr(n,c),p=m.useRef(null),v=m.useRef(null),g=m.useCallback(()=>{const T=c.current,I=v.current;if(!T||!I)return;const w=Qs(T).getComputedStyle(T);if(w.width==="0px")return{outerHeightStyle:0,overflowing:!1};I.style.width=w.width,I.value=T.value||t.placeholder||"x",I.value.slice(-1)===` 158`&&(I.value+=" ");const R=w.boxSizing,x=$b(w.paddingBottom)+$b(w.paddingTop),D=$b(w.borderBottomWidth)+$b(w.borderTopWidth),M=I.scrollHeight;I.value="x";const F=I.scrollHeight;let L=M;o&&(L=Math.max(Number(o)*F,L)),i&&(L=Math.min(Number(i)*F,L)),L=Math.max(L,F);const P=L+(R==="border-box"?x+D:0),j=Math.abs(L-M)<=1;return{outerHeightStyle:P,overflowing:j}},[i,o,t.placeholder]),y=Hi(()=>{const T=c.current,I=g();if(!T||!I||nV(I))return!1;const A=I.outerHeightStyle;return p.current!=null&&p.current!==A}),k=m.useCallback(()=>{const T=c.current,I=g();if(!T||!I||nV(I))return;const A=I.outerHeightStyle;p.current!==A&&(p.current=A,T.style.height=`${A}px`),T.style.overflow=I.overflowing?"hidden":""},[g]),E=m.useRef(-1);ni(()=>{const T=bC(k),I=c?.current;if(!I)return;const A=Qs(I);A.addEventListener("resize",T);let w;return typeof ResizeObserver<"u"&&(w=new ResizeObserver(()=>{y()&&(w.unobserve(I),cancelAnimationFrame(E.current),k(),E.current=requestAnimationFrame(()=>{w.observe(I)}))}),w.observe(I)),()=>{T.clear(),cancelAnimationFrame(E.current),A.removeEventListener("resize",T),w&&w.disconnect()}},[g,k,y]),ni(()=>{k()});const S=T=>{u||k();const I=T.target,A=I.value.length,w=I.value.endsWith(` 159`),R=I.selectionStart===A;w&&R&&I.setSelectionRange(A,A),r&&r(T)};return b.jsxs(m.Fragment,{children:[b.jsx("textarea",{value:s,onChange:S,ref:f,rows:o,style:a,...l}
159),b.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:v,tabIndex:-1,style:{...hwe.shadow,...a,paddingTop:0,paddingBottom:0}})]})});function Ph({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const EC=m.createContext(void 0);function ap(){return m.useContext(EC)}function rV(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function pE(e,t=!1){return e&&(rV(e.value)&&e.value!==""||t&&rV(e.defaultValue)&&e.defaultValue!=="")}function ywe(e){return e.startAdornment}function kwe(e){return en("MuiInputBase",e)}const po=tn("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var iV;const TC=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${it(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},CC=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},bwe=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:f,size:p,startAdornment:v,type:g}=e,y={root:["root",`color${it(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",p&&p!=="medium"&&`size${it(p)}`,c&&"multiline",v&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",g==="search"&&"inputTypeSearch",c&&"inputMultiline",p==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",v&&"inputAdornedStart",o&&"inputAdornedEnd",f&&"readOnly"]};return Dt(y,kwe,t)},AC=$e("div",{name:"MuiInputBase",slot:"Root",overridesResolver:TC})(dn(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${po.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),IC=$e("input",{name:"MuiInputBase",slot:"Input",overridesResolver:CC})(dn(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${po.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${po.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:o})=>!o.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:o})=>o.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),oV=YP({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),ik=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:o,autoFocus:a,className:s,color:l,components:u={},componentsProps:c={},defaultValue:f,disabled:p,disableInjectingGlobalStyles:v,endAdornment:g,error:y,fullWidth:k=!1,id:E,inputComponent:S="input",inputProps:T={},inputRef:I,margin:A,maxRows:w,minRows:R,multiline:x=!1,name:D,onBlur:M,onChange:F,onClick:L,onFocus:P,onKeyDown:j,onKeyUp:B,placeholder:H,readOnly:G,render
159Suffix:O,rows:V,size:W,slotProps:U={},slots:q={},startAdornment:$,type:J="text",value:Z,...Y}=r,ee=T.value!=null?T.value:Z,{current:te}=m.useRef(ee!=null),ce=m.useRef(),ne=m.useCallback(xe=>{},[]),Ce=Hr(ce,I,T.ref,ne),[ae,pe]=m.useState(!1),ve=ap(),Se=Ph({props:r,muiFormControl:ve,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Se.focused=ve?ve.focused:ae,m.useEffect(()=>{!ve&&p&&ae&&(pe(!1),M&&M())},[ve,p,ae,M]);const De=ve&&ve.onFilled,Ee=ve&&ve.onEmpty,ye=m.useCallback(xe=>{pE(xe)?De&&De():Ee&&Ee()},[De,Ee]);ni(()=>{te&&ye({value:ee})},[ee,ye,te]);const Pe=xe=>{P&&P(xe),T.onFocus&&T.onFocus(xe),ve&&ve.onFocus?ve.onFocus(xe):pe(!0)},Me=xe=>{M&&M(xe),T.onBlur&&T.onBlur(xe),ve&&ve.onBlur?ve.onBlur(xe):pe(!1)},Qe=(xe,...We)=>{if(!te){const X=xe.target||ce.current;if(X==null)throw new Error(_u(1));ye({value:X.value})}T.onChange&&T.onChange(xe,...We),F&&F(xe,...We)};m.useEffect(()=>{ye(ce.current)},[]);const Fe=xe=>{ce.current&&xe.currentTarget===xe.target&&ce.current.focus(),L&&L(xe)};let Ve=S,be=T;x&&Ve==="input"&&(V?be={type:void 0,minRows:V,maxRows:V,...be}:be={type:void 0,maxRows:w,minRows:R,...be},Ve=vwe);const Ae=xe=>{ye(xe.animationName==="mui-auto-fill-cancel"?ce.current:{value:"x"})};m.useEffect(()=>{ve&&ve.setAdornedStart(!!$)},[ve,$]);const ke={...r,color:Se.color||"primary",disabled:Se.disabled,endAdornment:g,error:Se.error,focused:Se.focused,formControl:ve,fullWidth:k,hiddenLabel:Se.hiddenLabel,multiline:x,size:Se.size,startAdornment:$,type:J},ue=bwe(ke),ze=q.root||u.Root||AC,et=U.root||c.root||{},lt=q.input||u.Input||IC;return be={...be,...U.input??c.input},b.jsxs(m.Fragment,{children:[!v&&typeof oV=="function"&&(iV||(iV=b.jsx(oV,{}))),b.jsxs(ze,{...et,ref:n,onClick:Fe,...Y,...!lE(ze)&&{ownerState:{...ke,...et.ownerState}},className:mt(ue.root,et.className,s,G&&"MuiInputBase-readOnly"),children:[$,b.jsx(EC.Provider,{value:null,children:b.jsx(lt,{"aria-invalid":Se.error,"aria-describedby":i,autoComplete:o,autoFocus:a,defaultValue:f,disabled:Se.disabled,id:E,onAnimationStart:Ae,name:D,placeholder:H,readOnly:G,required:Se.required,rows:V,value:ee,onKeyDown:j,onKeyUp:B,type:J,...be,...!lE(lt)&&{as:Ve,ownerState:{...ke,...be.ownerState}},ref:Ce,className:mt(ue.input,be.className,G&&"MuiInputBase-readOnly"),onBlur:Me,onChange:Qe,onFocus:Pe})}),g,O?O({...Se,startAdornment:$}):null]})]})});function Swe(e){return en("MuiInput",e)}const Oc={...po,...tn("MuiInput",["root","underline","input"])};function Ewe(e){return en("MuiOutlinedInput",e)}const Ia={...po,...tn("MuiOutlinedInput",["root","notchedOutline","input"])};function Twe(e){return en("MuiFilledInput",e)}const Na={...po,...tn("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},vK=hd(b.jsx("path",{d:"M7 10l5 5 5-5z"}));function Cwe(e){return en("MuiAutocomplete",e)}const In=tn("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","
159input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var aV,sV;const Awe=e=>{const{classes:t,disablePortal:n,expanded:r,focused:i,fullWidth:o,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:u,size:c}=e,f={root:["root",r&&"expanded",i&&"focused",o&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${it(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Dt(f,Cwe,t)},Iwe=$e("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:i,hasPopupIcon:o,inputFocused:a,size:s}=n;return[{[`& .${In.tag}`]:t.tag},{[`& .${In.tag}`]:t[`tagSize${it(s)}`]},{[`& .${In.inputRoot}`]:t.inputRoot},{[`& .${In.input}`]:t.input},{[`& .${In.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,o&&t.hasPopupIcon,i&&t.hasClearIcon]}})({[`&.${In.focused} .${In.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${In.clearIndicator}`]:{visibility:"visible"}},[`& .${In.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${In.inputRoot}`]:{[`.${In.hasPopupIcon}&, .${In.hasClearIcon}&`]:{paddingRight:30},[`.${In.hasPopupIcon}.${In.hasClearIcon}&`]:{paddingRight:56},[`& .${In.input}`]:{width:0,minWidth:30}},[`& .${Oc.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Oc.root}.${po.sizeSmall}`]:{[`& .${Oc.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Ia.root}`]:{padding:9,[`.${In.hasPopupIcon}&, .${In.hasClearIcon}&`]:{paddingRight:39},[`.${In.hasPopupIcon}.${In.hasClearIcon}&`]:{paddingRight:65},[`& .${In.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${In.endAdornment}`]:{right:9}},[`& .${Ia.root}.${po.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${In.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Na.root}`]:{paddingTop:19,paddingLeft:8,[`.${In.hasPopupIcon}&, .${In.hasClearIcon}&`]:{paddingRight:39},[`.${In.hasPopupIcon}.${In.hasClearIcon}&`]:{paddingRight:65},[`& .${Na.input}`]:{padding:"7px 4px"},[`& .${In.endAdornment}`]:{right:9}},[`& .${Na.root}.${po.sizeSmall}`]:{paddingBottom:1,[`& .${Na.input}`]:{padding:"2.5px 4px"}},[`& .${po.hiddenLabel}`]:{paddingTop:8},[`& .${Na.root}.${po.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${In.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Na.root}.${po.hiddenLabel}.${po.sizeSmall}`]:{[`& .${In.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${In.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0}
159,variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${In.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${In.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${In.inputRoot}`]:{flexWrap:"wrap"}}}]}),wwe=$e("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),Nwe=$e(Lo,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),Rwe=$e(Lo,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),xwe=$e(rk,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${In.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(dn(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),Lwe=$e($l,{name:"MuiAutocomplete",slot:"Paper"})(dn(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),Owe=$e("div",{name:"MuiAutocomplete",slot:"Loading"})(dn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Pwe=$e("div",{name:"MuiAutocomplete",slot:"NoOptions"})(dn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),_we=$e("ul",{name:"MuiAutocomplete",slot:"Listbox"})(dn(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${In.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${In.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${In.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${In.focused}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${In.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))),Dwe=$e(a1,{name:"MuiAutocomplete",slot:"GroupLabel"})(dn(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Mwe=$e("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${In.option}`]:{paddingLeft:24}}),s_=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiAutocomplete"}),{autoComplete:i=!1,autoHighlight:o=!1,autoSelect:a=!1,blurOnSelect:s=!1,ChipProps:l,className:u,clearIcon:c=aV||(aV=b.jsx(rK,{fontSize:"small"})),clearOnBlur:f=!r.freeSolo,clearOnEscape:p=!1,clearText:v="Clear",closeText:g="Close",componentsProps:y,defaultValue:k=r.multiple?[]:null,disableClearable:E=!1,disableCloseOnSelect:S=!1,disabled:T=!1,disabledItemsFocusable:I=!1,disableListWrap:A=!1,disablePortal:w=!1,filterOptions:R,filterSelectedOptions:x=!1,forcePopupIcon:D="auto",freeSolo:M=!1,fullWidth:F=!1,getLimitTagsText:L=vn=>`+${vn}`,getOptionDisabled:P,getOptionKey:j,getOptionLabel:B,isOptionEqualToValue:H,groupBy:G,handleHomeEndKeys:O=!r.freeSolo,id:V,includeInputInList:W=!1,inputValue:U,limitTags:q=-1,ListboxComponent:$,ListboxProps:J,loading:Z=!1,loadingText:Y="Loadingâ¦",multiple:ee=!1,noOptionsText:te="No options",onChange:ce,onClose:ne,onHighlightChange:Ce,onInputChange:ae,onOpen:pe,open:ve,openOnFocus:Se=!1,openText:De="Open",options:Ee,PaperComponent:ye,PopperComponent:Pe,popupIcon:Me=sV||(sV=b.jsx(vK,{})),readOnly:Qe=!1,renderGroup:Fe,renderInput:Ve,renderOption:be,renderTags:Ae,renderValue:ke,selectOnFocus:ue=!r.freeSolo,size:ze="medium",slots:et={},slotProps:lt={},value:xe,...We}=r,{getRootProps:X,getInputProps:de,getInputLabelProps:ie,getPopupIndicatorProps:Re,getClearProps:Be,getItemProps:tt,getListboxProps:at,getOptionProps:ot,value:ft,dirty:Je,expanded:Pt,id:Ht,popupOpen:fn,focused:Sn,focusedItem:Lt,anchorEl:nn,setAnchorEl:Dn,inputValue:Bn,groupedOptions:Rn}=GAe({...r,componentName:"Autocomplete"}),Pn=!E&&!T&&Je&&!Qe,se=(!M||D===!0)&&D!==!1,{onMouseDown:re}=de(),{ref:ge,...je}=at(),ht=B||(vn=>vn.label??vn),At={...r,disablePortal:w,expanded:Pt,focused:Sn,fullWidth:F,getOptionLabel:ht,hasClearIcon:Pn,hasPopupIcon:se,inputFocused:Lt===-1,popupOpen:fn,size:ze},dt=Awe(At),It={slots:{paper:ye,popper:Pe,...et},slotProps:{chip:l,listbox:J,...y,...lt}},[Gt,Nt]=un("listbox",{elementType:_we,externalForwardedProps:It,ownerState:At,className:dt.listbox,additionalProps:je,ref:ge}),[Xt,Ne]=un("paper",{elementType:$l,externalForwardedProps:It,ownerState:At,className:dt.paper}),[Le,ut]=un("popper",{elementType:rk,externalForwardedProps:It,ownerState:At,className:dt.popper,additionalProps:{disablePortal:w,style:{width:nn?nn.clientWidth:null},role:"presentation",anchorEl:nn,open:fn}});let xt;const Rt=vn=>({className:dt.tag,disabled:T,...tt(vn)});if(ee?ft.length>0&&(Ae?xt=Ae(ft,Rt,At):ke?xt=ke(ft,Rt,At):xt=ft.map((vn,_r)=>{const{key:Kn,...Ai}=Rt({index:_r});return b.jsx(Hf,{label:ht(vn),size:ze,...Ai,...It.slotProps.chip},Kn)})):ke&&ft!=null&&(xt=ke(ft,Rt,At)),q>-1&&Array.isArray(xt)){const vn=xt.length-q;!Sn&&vn>0&&(xt=xt.splice(0,q),xt.push(b.jsx("span",{className:dt.tag,children:L(vn)},xt.length)))}const rt=Fe||(vn=>b.jsxs("li",{children:[b.jsx(Dwe,{className:dt.groupLabel,ownerState:At,component:"div",children:vn.group}),b.jsx(Mwe,{className:dt.groupUl,ownerState:At,children:vn.children})]},vn.key)),Ki=be||((vn,_r)=>{const{key:Kn,...Ai}=vn;return b.jsx("li",{...Ai,children:ht(_r)},Kn)}),Yi=(vn,_r)=>{const Kn=ot({option:vn,index:_r});return Ki({...Kn,className:dt.option},vn,{selected:Kn["aria-selected"],index:_r,inputValue:Bn},At)},_i=It.slotProps.clearIndicator,$i=It.slotProps.popupIndicator;return b.jsxs(m.Fragment,{children:[b.jsx(Iwe,{ref:n,className:mt(dt.root,u),ownerState:At,...X(We),children:Ve({id:Ht,disabled:T,fullWidth:!0,size:ze==="small"?"small":void 0,InputLabelProps:ie(),InputProps:{ref:Dn,className:dt.inputRoot,startAdornment:xt,onMouseDown:vn=>{vn.target===vn.currentTarget&&re(vn)},...(Pn||se)&&{endAdornment:b.jsxs(wwe,{className:dt.endAdornment,ownerState:At,children:[Pn?b.jsx(Nwe,{...Be(),"aria-label":v,title:v,ownerState:At,..._i,className:mt(dt.clearIndicator,_i?.className),children:c}
159):null,se?b.jsx(Rwe,{...Re(),disabled:T,"aria-label":fn?g:De,title:fn?g:De,ownerState:At,...$i,className:mt(dt.popupIndicator,$i?.className),children:Me}):null]})}},inputProps:{className:dt.input,disabled:T,readOnly:Qe,...de()}})}),nn?b.jsx(xwe,{as:Le,...ut,children:b.jsxs(Lwe,{as:Xt,...Ne,children:[Z&&Rn.length===0?b.jsx(Owe,{className:dt.loading,ownerState:At,children:Y}):null,Rn.length===0&&!M&&!Z?b.jsx(Pwe,{className:dt.noOptions,ownerState:At,role:"presentation",onMouseDown:vn=>{vn.preventDefault()},children:te}):null,Rn.length>0?b.jsx(Gt,{as:$,...Nt,children:Rn.map((vn,_r)=>G?rt({key:vn.key,group:vn.group,children:vn.options.map((Kn,Ai)=>Yi(Kn,vn.index+Ai))}):Yi(vn,_r))}):null]})}):null]})}),Fwe=hd(b.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}));function Uwe(e){return en("MuiAvatar",e)}tn("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Vwe=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Dt({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},Uwe,t)},Bwe=$e("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(dn(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),jwe=$e("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),zwe=$e(Fwe,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function Hwe({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,o]=m.useState(!1);return m.useEffect(()=>{if(!n&&!r)return;o(!1);let a=!0;const s=new Image;return s.onload=()=>{a&&o("loaded")},s.onerror=()=>{a&&o("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=n,r&&(s.srcset=r),()=>{a=!1}},[e,t,n,r]),i}const s1=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiAvatar"}),{alt:i,children:o,className:a,component:s="div",slots:l={},slotProps:u={},imgProps:c,sizes:f,src:p,srcSet:v,variant:g="circular",...y}=r;let k=null;const E={...r,component:s,variant:g},S=Hwe({...c,...typeof u.img=="function"?u.img(E):u.img,src:p,srcSet:v}),T=p||v,I=T&&S!=="error";E.colorDefault=!I,delete E.ownerState;const A=Vwe(E),[w,R]=un("root",{ref:n,className:mt(A.root,a),elementType:Bwe,externalForwardedProps:{slots:l,slotProps:u,component:s,...y},ownerState:E}),[x,D]=un("img",{className:A.img,elementType:jwe,externalForwardedProps:{slots:l,slotProps:{img:{...c,...u.img}}},additionalProps:{alt:i,src:p,srcSet:v,sizes:f},ownerState:E}),[M,F]=un("fallback",{className:A.fallback,elementType:zwe,externalForwardedProps:{slots:l,slotProps:u},shouldForwardComponentProp:!0,ownerState:E});return I?k=b.jsx(x,{...D}):o||o===0?k=o:T&&i?k=i[0]:k=b.jsx(M,{...F}),b.jsx(w,{...R,children:k})}),Wwe={entering:{opacity:1},entered:{opacity:1}},mE=m.forwardRef(function(t,n){const r=ga(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:u,onEnter:c,onEntered:f,onEntering:p,onExit:v,onExited:g,onExiting:y,style:k,timeout:E=i,TransitionComponent:S=Rs,...T}=t,I=m.useRef(null),A=Hr(I,vd(s),n),w=j=>B=>{if(j){const H=I.current;B===void 0?j(H):j(H,B)}},R=w(p),x=w((j,B)=>{ZP(j);const H=ed({style:k,timeout:E,easing:l},{mode:"enter"});j.style.webkitTransition=r.transitions.create("opacity",H),j.style.transition=r.transitions.create("opacity",H),c&&c(j,B)}),D=w(f),M=w(y),F=w(j=>{const B=ed({style:k,timeout:E,easing:l},{mode:"exit"});j.style.webkitTransition=r.transitions.create("opacity",B),j.style.transition=r.transitions.create("opacity",B),v&&v(j)}),L=w(g),P=j=>{o&&o(I.current,j)};return b.jsx(S,{appear:a,in:u,nodeRef:I,onEnter:x,onEntered:D,onEntering:R,onExit:F,onExited:L,onExiting:M,addEndListener:P,timeout:E,...T,children:(j,{ownerState:B,...H})=>m.cloneElement(s,{style:{opacity:0,visibility:j==="exited"&&!u?"hidden":void 0,...Wwe[j],...k,...s.props.style},ref:A,...H})})});function qwe(e){return en("MuiBackdrop",e)}tn("MuiBackdrop",["root","invisible"]);const Gwe=e=>{const{classes:t,invisible:n}=e;return Dt({root:["root",n&&"invisible"]},qwe,t)},Kwe=$e("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),yK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiBackdrop"}),{children:i,className:o,component:a="div",invisible:s=!1,open:l,components:u={},componentsProps:c={},slotProps:f={},slots:p={},TransitionComponent:v,transitionDuration:g,...y}=r,k={...r,component:a,invisible:s},E=Gwe(k),S={transition:v,root:u.Root,...p},T={...c,...f},I={component:a,slots:S,slotProps:T},[A,w]=un("root",{elementType:Kwe,externalForwardedProps:I,className:mt(E.root,o),ownerState:k}),[R,x]=un("transition",{elementType:mE,externalForwardedProps:I,ownerState:k});return b.jsx(R,{in:l,timeout:g,...y,...x,children:b.jsx(A,{"aria-hidden":!0,...w,classes:E,ref:n,children:i})})});function Ywe(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:i=!1}=e,o=XP({badgeContent:t,max:r});let a=n;n===!1&&t===0&&!i&&(a=!0);const{badgeContent:s,max:l=r}=a?o:e,u=s&&Number(s)>l?`${l}+`:s;
159return{badgeContent:s,invisible:a,max:l,displayValue:u}}function $we(e){return en("MuiBadge",e)}const ku=tn("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),bN=10,SN=4,Jwe=e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:i,variant:o,classes:a={}}=e,s={root:["root"],badge:["badge",o,r&&"invisible",`anchorOrigin${it(n.vertical)}${it(n.horizontal)}`,`anchorOrigin${it(n.vertical)}${it(n.horizontal)}${it(i)}`,`overlap${it(i)}`,t!=="default"&&`color${it(t)}`]};return Dt(s,$we,a)},Zwe=$e("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Qwe=$e("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;
159return[t.badge,t[n.variant],t[`anchorOrigin${it(n.anchorOrigin.vertical)}${it(n.anchorOrigin.horizontal)}${it(n.overlap)}`],n.color!=="default"&&t[`color${it(n.color)}`],n.invisible&&t.invisible]}})(dn(({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:bN*2,lineHeight:1,padding:"0 6px",height:bN*2,borderRadius:bN,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(Wi(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:SN,height:SN*2,minWidth:SN*2,padding:0}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${ku.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${ku.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${ku.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${ku.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${ku.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${ku.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${ku.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${ku.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})));function lV(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const kK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiBadge"}),{anchorOrigin:i,className:o,classes:a,component:s,components:l={},componentsProps:u={},children:c,overlap:f="rectangular",color:p="default",invisible:v=!1,max:g=99,badgeContent:y,slots:k,slotProps:E,showZero:S=!1,variant:T="standard",...I}=r,{badgeContent:A,invisible:w,max:R,displayValue:x}=Ywe({max:g,invisible:v,badgeContent:y,showZero:S}),D=XP({anchorOrigin:lV(i),color:p,overlap:f,variant:T,badgeContent:y}),M=w||A==null&&T!=="dot",{color:F=p,overlap:L=f,anchorOrigin:P,variant:j=T}=M?D:r,B=lV(P),H=j!=="dot"?x:void 0,G={...r,badgeContent:A,invisible:M,max:R,displayValue:H,showZero:S,anchorOrigin:B,color:F,overlap:L,variant:j},O=Jwe(G),V={slots:{root:k?.root??l.Root,badge:k?.badge??l.Badge},slotProps:{root:E?.root??u.root,badge:E?.badge??u.badge}},[W,U]=un("root",{elementType:Zwe,externalForwardedProps:{...V,...I},ownerState:G,className:mt(O.root,o),ref:n,additionalProps:{as:s}}),[q,$]=un("badge",{elementType:Qwe,externalForwardedProps:V,ownerState:G,className:O.badge});return b.jsxs(W,{...U,children:[c,b.jsx(q,{...$,children:H})]})}),Xwe=tn("MuiBox",["root"]),eNe=yC(),ei=WEe({themeId:gs,defaultTheme:eNe,defaultClassName:Xwe.root,generateClassName:CG.generate});function tNe(e){return en("MuiButton",e)}const Wd=tn("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),nNe=m.createContext({}),rNe=m.createContext(void 0),iNe=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:o,loading:a,loadingPosition:s,classes:l}=e,u={root:["root",a&&"loading",o,`${o}${it(t)}`,`size${it(i)}`,`${o}Size${it(i)}`,`color${it(t)}`,n&&"disableElevation",r&&"fullWidth",a&&`loadingPosition${it(s)}`],startIcon:["icon","startIcon",`iconSize${it(i)}`],endIcon:["icon","endIcon",`iconSize${it(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},c=Dt(u,tNe,l);return{...l,...c}},bK=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],oNe=$e(ih,{shouldForwardProp:e=>Wo(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${it(n.color)}`],t[`size${it(n.size)}`],t[`${n.variant}Size${it(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(dn(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Wd.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Wd.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Wd.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackgroun
vendor: 5,936 bytes, line 159
159d}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Wd.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Wi()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Wd.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Wd.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Wd.loading}`]:{color:"transparent"}}}]}})),aNe=$e("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${it(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...bK]})),sNe=$e("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${it(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...bK]})),lNe=$e("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),uV=$e("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Li=m.forwardRef(function(t,n){const r=m.useContext(nNe),i=m.useContext(rNe),o=nh(r,t),a=an({props:o,name:"MuiButton"}),{children:s,color:l="primary",component:u="button",className:c,disabled:f=!1,disableElevation:p=!1,disableFocusRipple:v=!1,endIcon:g,focusVisibleClassName:y,fullWidth:k=!1,id:E,loading:S=null,loadingIndicator:T,loadingPosition:I="center",size:A="medium",startIcon:w,type:R,variant:x="text",...D}=a,M=Rr(E),F=T??b.jsx(QP,{"aria-labelledby":M,color:"inherit",size:16}),L={...a,color:l,component:u,disabled:f,disableElevation:p,disableFocusRipple:v,fullWidth:k,loading:S,loadingIndicator:F,loadingPosition:I,size:A,type:R,variant:x},P=iNe(L),j=(w||S&&I==="start")&&b.jsx(aNe,{className:P.startIcon,ownerState:L,children:w||b.jsx(uV,{className:P.loadingIconPlaceholder,ownerState:L})}),B=(g||S&&I==="end")&&b.jsx(sNe,{className:P.endIcon,ownerState:L,children:g||b.jsx(uV,{className:P.loadingIconPlaceholder,ownerState:L})}),H=i||"",G=typeof S=="boolean"?b.jsx("span",{className:P.loadingWrapper,style:{display:"contents"},children:S&&b.jsx(lNe,{className:P.loadingIndicator,ownerState:L,children:F})}):null;return b.jsxs(oNe,{ownerState:L,className:mt(r.className,P.root,c,H),component:u,disabled:f||S,focusRipple:!v,focu
159sVisibleClassName:mt(P.focusVisible,y),ref:n,type:R,id:S?M:E,...D,classes:P,children:[j,I!=="end"&&G,s,I==="end"&&G,B]})});function uNe(e){return en("MuiCard",e)}tn("MuiCard",["root"]);const cNe=e=>{const{classes:t}=e;return Dt({root:["root"]},uNe,t)},dNe=$e($l,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),fNe=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiCard"}),{className:i,raised:o=!1,...a}=r,s={...r,raised:o},l=cNe(s);return b.jsx(dNe,{className:mt(l.root,i),elevation:o?8:void 0,ref:n,ownerState:s,...a})});function pNe(e){return en("MuiCardActions",e)}tn("MuiCardActions",["root","spacing"]);const mNe=e=>{const{classes:t,disableSpacing:n}=e;return Dt({root:["root",!n&&"spacing"]},pNe,t)},hNe=$e("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),gNe=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiCardActions"}),{disableSpacing:i=!1,className:o,...a}=r,s={...r,disableSpacing:i},l=mNe(s);return b.jsx(hNe,{className:mt(l.root,o),ownerState:s,ref:n,...a})});function vNe(e){return en("MuiCardContent",e)}const Hlt=tn("MuiCardContent",["root"]),yNe=e=>{const{classes:t}=e;return Dt({root:["root"]},vNe,t)},kNe=$e("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),SK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiCardContent"}),{className:i,component:o="div",...a}=r,s={...r,component:o},l=yNe(s);return b.jsx(kNe,{as:o,className:mt(l.root,i),ownerState:s,ref:n,...a})});function bNe(e){return en("MuiCardHeader",e)}const hE=tn("MuiCardHeader",["root","avatar","action","content","title","subheader"]),SNe=e=>{const{classes:t}=e;return Dt({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},bNe,t)},ENe=$e("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>[{[`& .${hE.title}`]:t.title},{[`& .${hE.subheader}`]:t.subheader},t.root]})({display:"flex",alignItems:"center",padding:16}),TNe=$e("div",{name:"MuiCardHeader",slot:"Avatar"})({display:"flex",flex:"0 0 auto",marginRight:16}),CNe=$e("div",{name:"MuiCardHeader",slot:"Action"})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),ANe=$e("div",{name:"MuiCardHeader",slot:"Content"})({flex:"1 1 auto",[`.${dE.root}:where(& .${hE.title})`]:{display:"block"},[`.${dE.root}:where(& .${hE.subheader})`]:{display:"block"}}),EK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiCardHeader"}),{action:i,avatar:o,component:a="div",disableTypography:s=!1,subheader:l,subheaderTypographyProps:u,title:c,titleTypographyProps:f,slots:p={},slotProps:v={},...g}=r,y={...r,component:a,disableTypography:s},k=SNe(y),E={slots:p,slotProps:{title:f,subheader:u,...v}};let S=c;const[T,I]=un("title",{className:k.title,elementType:En,externalForwardedProps:E,ownerState:y,additionalProps:{variant:o?"body2":"h5",component:"span"}});S!=null&&S.type!==En&&!s&&(S=b.jsx(T,{...I,children:S}));let A=l;const[w,R]=un("subheader",{className:k.subheader,elementType:En,externalForwardedProps:E,ownerState:y,additionalProps:{variant:o?"body2":"body1",color:"textSecondary",component:"span"}});A!=null&&A.type!==En&&!s&&(A=b.jsx(w,{...R,children:A}));const[x,D]=un("root",{ref:n,className:k.root,elementType:ENe,externalForwardedProps:{...E,...g,component:a},ownerState:y}),[M,F]=un("avatar",{className:k.avatar,elementType:TNe,externalForwardedProps:E,ownerState:y}),[L,P]=un("content",{className:k.content,elementType:ANe,externalForwardedProps:E,ownerState:y}),[j,B]=un("action",{className:k.action,elementType:CNe,externalForwardedProps:E,ownerState:y});return b.jsxs(x,{...D,children:[o&&b.jsx(M,{...F,children:o}),b.jsxs(L,{...P,children:[S,A]}),i&&b.jsx(j,{...B,children:i})]})});function cV(e){return e.substring(2).toLowerCase()}function INe(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function wNe(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:i,touchEvent:o="onTouchEnd"}=e,a=m.useRef(!1),s=m.useRef(null),l=m.useRef(!1),u=m.useRef(!1);m.useEffect(()=>(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const c=Hr(vd(t),s),f=Hi(g=>{const y=u.current;u.current=!1;const k=xo(s.current);if(!l.current||!s.current||"clientX"in g&&INe(g,k))return;if(a.current){a.current=!1;return}let E;g.composedPath?E=g.composedPath().includes(s.current):E=!k.documentElement.contains(g.target)||s.current.contains(g.target),!E&&(n||!y)&&i(g)}),p=g=>y=>{u.current=!0;const k=t.props[g];k&&k(y)},v={ref:c};return o!==!1&&(v[o]=p(o)),m.useEffect(()=>{if(o!==!1){const g=cV(o),y=xo(s.current),k=()=>{a.current=!0};return y.addEventListener(g,f),y.addEventListener("touchmove",k),()=>{y.removeEventListener(g,f),y.removeEventListener("touchmove",k)}}},[f,o]),r!==!1&&(v[r]=p(r)),m.useEffect(()=>{if(r!==!1){const g=cV(r),y=xo(s.current);return y.addEventListener(g,f),()=>{y.removeEventListener(g,f)}}},[f,r]),m.cloneElement(t,v)}const l1=typeof YP({})=="function",NNe=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),RNe=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),TK=(e,t=!1)=>{const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEac
159h(([o,a])=>{const s=e.getColorSchemeSelector(o);s.startsWith("@")?n[s]={":root":{colorScheme:a.palette?.mode}}:n[s.replace(/\s*&/,"")]={colorScheme:a.palette?.mode}});let r={html:NNe(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...RNe(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const i=e.components?.MuiCssBaseline?.styleOverrides;return i&&(r=[r,i]),r},mS="mui-ecs",xNe=e=>{const t=TK(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${mS})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,i])=>{const o=e.getColorSchemeSelector(r);o.startsWith("@")?n[o]={[`:root:not(:has(.${mS}))`]:{colorScheme:i.palette?.mode}}:n[o.replace(/\s*&/,"")]={[`&:not(:has(.${mS}))`]:{colorScheme:i.palette?.mode}}}),t},LNe=YP(l1?({theme:e,enableColorScheme:t})=>TK(e,t):({theme:e})=>xNe(e));function ONe(e){const t=an({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return b.jsxs(m.Fragment,{children:[l1&&b.jsx(LNe,{enableColorScheme:r}),!l1&&!r&&b.jsx("span",{className:mS,style:{display:"none"}}),n]})}function CK(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function PNe(e){const t=xo(e);return t.body===e?Qs(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Fv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function dV(e){return parseInt(Qs(e).getComputedStyle(e).paddingRight,10)||0}function _Ne(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function fV(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,a=>{const s=!o.includes(a),l=!_Ne(a);s&&l&&Fv(a,i)})}function EN(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function DNe(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(PNe(r)){const a=CK(Qs(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${dV(r)+a}px`;const s=xo(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${dV(l)+a}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=xo(r).body;else{const a=r.parentElement,s=Qs(r);o=a?.nodeName==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:a,property:s})=>{o?a.style.setProperty(s,o):a.style.removeProperty(s)})}}function MNe(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class FNe{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Fv(t.modalRef,!1);const i=MNe(n);fV(n,t.mount,t.modalRef,i,!0);const o=EN(this.containers,a=>a.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=EN(this.containers,o=>o.modals.includes(t)),i=this.containers[r];i.restore||(i.restore=DNe(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=EN(this.containers,a=>a.modals.includes(t)),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&Fv(t.modalRef,n),fV(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=o.modals[o.modals.length-1];a.modalRef&&Fv(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const UNe=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function VNe(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function BNe(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function jNe(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||BNe(e))}function zNe(e){const t=[],n=[];
159return Array.from(e.querySelectorAll(UNe)).forEach((r,i)=>{const o=VNe(r);o===-1||!jNe(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function HNe(){return!0}function AK(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=zNe,isEnabled:a=HNe,open:s}=e,l=m.useRef(!1),u=m.useRef(null),c=m.useRef(null),f=m.useRef(null),p=m.useRef(null),v=m.useRef(!1),g=m.useRef(null),y=Hr(vd(t),g),k=m.useRef(null);m.useEffect(()=>{!s||!g.current||(v.current=!n)},[n,s]),m.useEffect(()=>{if(!s||!g.current)return;const T=xo(g.current);return g.current.contains(T.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),v.current&&g.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),m.useEffect(()=>{if(!s||!g.current)return;const T=xo(g.current),I=R=>{k.current=R,!(r||!a()||R.key!=="Tab")&&T.activeElement===g.current&&R.shiftKey&&(l.current=!0,c.current&&c.current.focus())},A=()=>{const R=g.current;if(R===null)return;if(!T.hasFocus()||!a()||l.current){l.current=!1;return}if(R.contains(T.activeElement)||r&&T.activeElement!==u.current&&T.activeElement!==c.current)return;if(T.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!v.current)return;let x=[];if((T.activeElement===u.current||T.activeElement===c.current)&&(x=o(g.current)),x.length>0){const D=!!(k.current?.shiftKey&&k.current?.key==="Tab"),M=x[0],F=x[x.length-1];typeof M!="string"&&typeof F!="string"&&(D?F.focus():M.focus())}else R.focus()};T.addEventListener("focusin",A),T.addEventListener("keydown",I,!0);const w=setInterval(()=>{T.activeElement&&T.activeElement.tagName==="BODY"&&A()},50);return()=>{clearInterval(w),T.removeEventListener("focusin",A),T.removeEventListener("keydown",I,!0)}},[n,r,i,a,s,o]);const E=T=>{f.current===null&&(f.current=T.relatedTarget),v.current=!0,p.current=T.target;const I=t.props.onFocus;I&&I(T)},S=T=>{f.current===null&&(f.current=T.relatedTarget),v.current=!0};return b.jsxs(m.Fragment,{children:[b.jsx("div",{tabIndex:s?0:-1,onFocus:S,ref:u,"data-testid":"sentinelStart"}),m.cloneElement(t,{ref:y,onFocus:E}),b.jsx("div",{tabIndex:s?0:-1,onFocus:S,ref:c,"data-testid":"sentinelEnd"})]})}function WNe(e){return typeof e=="function"?e():e}function qNe(e){return e?e.props.hasOwnProperty("in"):!1}const pV=()=>{},Jb=new FNe;function GNe(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:o,onTransitionExited:a,children:s,onClose:l,open:u,rootRef:c}=e,f=m.useRef({}),p=m.useRef(null),v=m.useRef(null),g=Hr(v,c),[y,k]=m.useState(!u),E=qNe(s);let S=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(S=!1);const T=()=>xo(p.current),I=()=>(f.current.modalRef=v.current,f.current.mount=p.current,f.current),A=()=>{Jb.mount(I(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},w=Hi(()=>{const B=WNe(t)||T().body;Jb.add(I(),B),v.current&&A()}),R=()=>Jb.isTopModal(I()),x=Hi(B=>{p.current=B,B&&(u&&R()?A():v.current&&Fv(v.current,S))}),D=m.useCallback(()=>{Jb.remove(I(),S)},[S]);m.useEffect(()=>()=>{D()},[D]),m.useEffect(()=>{u?w():(!E||!i)&&D()},[u,D,E,i,w]);const M=B=>H=>{B.onKeyDown?.(H),!(H.key!=="Escape"||H.which===229||!R())&&(n||(H.stopPropagation(),l&&l(H,"escapeKeyDown")))},F=B=>H=>{B.onClick?.(H),H.target===H.currentTarget&&l&&l(H,"backdropClick")};return{getRootProps:(B={})=>{const H=tK(e);delete H.onTransitionEnter,delete H.onTransitionExited;const G={...H,...B};return{role:"presentation",...G,onKeyDown:M(G),ref:g}},getBackdropProps:(B={})=>{const H=B;return{"aria-hidden":!0,...H,onClick:F(H),open:u}},getTransitionProps:()=>{const B=()=>{k(!1),o&&o()},H=()=>{k(!0),a&&a(),i&&D()};return{onEnter:N6(B,s?.props.onEnter??pV),onExited:N6(H,s?.props.onExited??pV)}},rootRef:g,portalRef:x,isTopModal:R,exited:y,hasTransition:E}}function KNe(e){return en("MuiModal",e)}tn("MuiModal",["root","hidden","backdrop"]);const YNe=e=>{const{open:t,exited:n,classes:r}=e;return Dt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},KNe,r)},$Ne=$e("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(dn(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),JNe=$e(yK,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),l_=m.forwardRef(function(t,n){const r=an({name:"MuiModal",props:t}),{BackdropComponent:i=JNe,BackdropProps:o,classes:a,className:s,closeAfterTransition:l=!1,children:u,container:c,component:f,components:p={},componentsProps:v={},disableAutoFocus:g=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:k=!1,disablePortal:E=!1,disableRestoreFocus:S=!1,disableScrollLock:T=!1,hideBackdrop:I=!1,keepMounted:A=!1,onClose:w,onTransitionEnter:R,onTransitionExited:x,open:D,slotProps:M={},slots:F={},theme:L,...P}=r,j={...r,closeAfterTransition:l,disableAutoFocus:g,disableEnforceFocus:y,disableEscapeKeyDown:k,disablePortal:E,disableRestoreFocus:S,disableScrollLock:T,hideBackdrop:I,keepMounted:A},{getRootProps:B,getBackdropProps:H,getTransitionProps:G,portalRef:O,isTopModal:V,exited:W,hasTransition:U}=GNe({...j,rootRef:n}),q={...j,exited:W},$=YNe(q),J={};if(u.props.tabIndex===void 0&&(J.tabIndex="-1"),U){const{onEnter:ne,onExited:Ce}=G();J.onEnter=ne,J.onExited=Ce}const Z={slots:{root:p.Root,backdrop:p.Backdrop,...F},slotProps:{...v,...M}},[Y,ee]=un("root",{ref:n,elementType:$Ne,externalForwardedProps:{...Z,...P,component:f},getSlotProps:B,ownerState:q,className:mt(s,$?.root,!q.open&&q.exited&&$?.hidden)}),[te,ce]=un("backdrop",{ref:o?.ref,elementType:i,externalForwardedProps:Z,shouldForwardComponentProp:!0,additionalProps:o,getSlotProps:ne=>H({...ne,onClick:Ce=>{ne?.onClick&&ne.onClick(Ce)}}),className:mt(o?.className,$?.backdrop),ownerState:q});return!A&&!D&&(!U||W)?null:b.jsx(gK,{ref:O,container:c,disablePortal:E,children:b.jsxs(Y,{...ee,children:[!I&&i?b.jsx(te,{...ce}):null,b.jsx(AK,{disableEnforceFocus:y,disableAutoFocus:g,disableRestoreFocus:S,isEnabled:V,open:D,children:m.cloneElement(u,J)})]})})});function ZNe(e){return en("MuiDialog",e)}const TN=tn("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),IK=m.createContext({}),QNe=$e(yK,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),XNe=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:o}
159=e,a={root:["root"],container:["container",`scroll${it(n)}`],paper:["paper",`paperScroll${it(n)}`,`paperWidth${it(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return Dt(a,ZNe,t)},eRe=$e(l_,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),tRe=$e("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${it(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),nRe=$e($l,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${it(n.scroll)}`],t[`paperWidth${it(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(dn(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${TN.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${TN.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${TN.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),wK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiDialog"}),i=ga(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,"aria-modal":l=!0,BackdropComponent:u,BackdropProps:c,children:f,className:p,disableEscapeKeyDown:v=!1,fullScreen:g=!1,fullWidth:y=!1,maxWidth:k="sm",onClick:E,onClose:S,open:T,PaperComponent:I=$l,PaperProps:A={},scroll:w="paper",slots:R={},slotProps:x={},TransitionComponent:D=mE,transitionDuration:M=o,TransitionProps:F,...L}=r,P={...r,disableEscapeKeyDown:v,fullScreen:g,fullWidth:y,maxWidth:k,scroll:w},j=XNe(P),B=m.useRef(),H=pe=>{B.current=pe.target===pe.currentTarget},G=pe=>{E&&E(pe),B.current&&(B.current=null,S&&S(pe,"backdropClick"))},O=Rr(s),V=m.useMemo(()=>({titleId:O}),[O]),W={transition:D,...R},U={transition:F,paper:A,backdrop:c,...x},q={slots:W,slotProps:U},[$,J]=un("root",{elementType:eRe,shouldForwardComponentProp:!0,externalForwardedProps:q,ownerState:P,className:mt(j.root,p),ref:n}),[Z,Y]=un("backdrop",{elementType:QNe,shouldForwardComponentProp:!0,externalForwardedProps:q,ownerState:P}),[ee,te]=un("paper",{elementType:nRe,shouldForwardComponentProp:!0,externalForwardedProps:q,ownerState:P,className:mt(j.paper,A.className)}),[ce,ne]=un("container",{elementType:tRe,externalForwardedProps:q,ownerState:P,className:j.container}),[Ce,ae]=un("transition",{elementType:mE,externalForwardedProps:q,ownerState:P,additionalProps:{appear:!0,in:T,timeout:M,role:"presentation"}});return b.jsx($,{closeAfterTransition:!0,slots:{backdrop:Z},slotProps:{backdrop:{transitionDuration:M,as:u,...Y}},disableEscapeKeyDown:v,onClose:S,open:T,onClick:G,...J,...L,children:b.jsx(Ce,{...ae,children:b.jsx(ce,{onMouseDown:H,...ne,children:b.jsx(ee,{as:I,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":O,"aria-modal":l,...te,children:b.jsx(IK.Provider,{value:V,children:f})})})})})});function rRe(e){return en("MuiDialogActions",e)}tn("MuiDialogActions",["root","spacing"]);const iRe=e=>{const{classes:t,disableSpacing:n}=e;return Dt({root:["root",!n&&"spacing"]},rRe,t)},oRe=$e("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),aRe=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1,...a}=r,s={...r,disableSpacing:o},l=iRe(s);return b.jsx(oRe,{className:mt(l.root,i),ownerState:s,ref:n,...a})});function sRe(e){return en("MuiDialogContent",e)}tn("MuiDialogContent",["root","dividers"]);function lRe(e){return en("MuiDialogTitle",e)}const uRe=tn("MuiDialogTitle",["root"]),cRe=e=>{const{classes:t,dividers:n}=e;return Dt({root:["root",n&&"dividers"]},sRe,t)},dRe=$e("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(dn(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${uRe.root} + &`]:{paddingTop:0}}}]}))),NK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiDialogContent"}),{className:i,dividers:o=!1,...a}=r,s={...r,dividers:o},l=cRe(s);return b.jsx(dRe,{className:mt(l.root,i),ownerState:s,ref:n,...a})});function fRe(e){return en("MuiDialogContentText",e)}tn("MuiDialogContentText",["root"]);const pRe=e=>{const{classes:t}=e,r=Dt({root:["root"]},fRe,t);return{...t,...r}},mRe=$e(En,{shouldForwardProp:e=>Wo(e)||e==="classes",name:"MuiDialogContentText",slot:"Root"})({}),RK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiDialogContentText"}),{children:i,className:o,...a}=r,s=pRe(a);return b.jsx(mRe,{component:"p",variant:"body1",color:"textSecondary",ref:n,ownerState:a,className:mt(s.root,o),...r,classes:s})}),hRe=e=>{const{classes:t}=e;return Dt({root:["root"]},lRe,t)},gRe=$e(En,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),xK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiDialogTitle"}),{className:i,id:o,...a}=r,s=r,l=hRe(s),{titleId:u=o}=m.useContext(IK);return b.jsx(gRe,{component:"h2",className:mt(l.root,i),ownerState:s,ref:n,variant:"h6",id:o??u,...a})});function vRe(e){return en("MuiDivider",e)}const mV=tn("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),yRe=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:s,variant:l}=e;return Dt({root:["root",t&&"absolute",l,o&&"light",a==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},vRe,r)},kRe=$e("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,
159n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(dn(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),bRe=$e("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(dn(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),td=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiDivider"}),{absolute:i=!1,children:o,className:a,orientation:s="horizontal",component:l=o||s==="vertical"?"div":"hr",flexItem:u=!1,light:c=!1,role:f=l!=="hr"?"separator":void 0,textAlign:p="center",variant:v="fullWidth",...g}=r,y={...r,absolute:i,component:l,flexItem:u,light:c,orientation:s,role:f,textAlign:p,variant:v},k=yRe(y);return b.jsx(kRe,{as:l,className:mt(k.root,a),role:f,ref:n,ownerState:y,"aria-orientation":f==="separator"&&(l!=="hr"||s==="vertical")?s:void 0,...g,children:o?b.jsx(bRe,{className:k.wrapper,ownerState:y,children:o}):null})});td&&(td.muiSkipListHighlight=!0);function SRe(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=Qs(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const u=o.getComputedStyle(t);a=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let s=0,l=0;if(a&&a!=="none"&&typeof a=="string"){const u=a.split("(")[1].split(")")[0].split(",");s=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?i?`translateX(${i.right+s-r.left}px)`:`translateX(${o.innerWidth+s-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function ERe(e){return typeof e=="function"?e():e}function Zb(e,t,n){const r=ERe(n),i=SRe(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const TRe=m.forwardRef(function(t,n){const r=ga(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:u,direction:c="down",easing:f=i,in:p,onEnter:v,onEntered:g,onEntering:y,onExit:k,onExited:E,onExiting:S,style:T,timeout:I=o,TransitionComponent:A=Rs,...w}=t,R=m.useRef(null),x=Hr(vd(l),R,n),D=O=>V=>{O&&(V===void 0?O(R.current):O(R.current,V))},M=D((O,V)=>{Zb(c,O,u),ZP(O),v&&v(O,V)}),F=D((O,V)=>{const W=ed({timeout:I,style:T,easing:f},{mode:"enter"});O.style.webkitTransition=r.transitions.create("-webkit-transform",{...W}),O.style.transition=r.transitions.create("transform",{...W}),O.style.webkitTransform="none",O.style.transform="none",y&&y(O,V)}),L=D(g),P=D(S),j=D(O=>{const V=ed({timeout:I,style:T,easing:f},{mode:"exit"});O.style.webkitTransition=r.transitions.create("-webkit-transform",V),O.style.transition=r.transitions.create("transform",V),Zb(c,O,u),k&&k(O)}),B=D(O=>{O.style.webkitTransition="",O.style.transition="",E&&E(O)}),H=O=>{a&&a(R.current,O)},G=m.useCallback(()=>{R.current&&Zb(c,R.current,u)},[c,u]);return m.useEffect(()=>{if(p||c==="down"||c==="right")return;const O=bC(()=>{R.current&&Zb(c,R.current,u)}),V=Qs(R.current);return V.addEventListener("resize",O),()=>{O.clear(),V.removeEventListener("resize",O)}},[c,p,u]),m.useEffect(()=>{p||G()},[p,G]),b.jsx(A,{nodeRef:R,onEnter:M,onEntered:L,onEntering:F,onExit:j,onExited:B,onExiting:P,addEndListener:H,appear:s,in:p,timeout:I,...w,children:(O,{ownerState:V,...W})=>m.cloneElement(l,{ref:x,style:{visibility:O==="exited"&&!p?"hidden":void 0,...T,...l.props.style},...W})})});function CRe(e){return en("MuiDrawer",e)}const Wlt=tn("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),LK=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},ARe=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root",`anchor${it(n)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${it(n)}`,r!=="temporary"&&`paperAnchorDocked${it(n)}`]};return Dt(i,CRe,t)},IRe=$e(l_,{name:"MuiDrawer",slot:"Root",overridesResolver:LK})(dn(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),wRe=$e("div",{shouldForwardProp:Wo,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:LK})({flex:"0 0 auto"}),NRe=$e($l,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${it(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${it(n.anchor)}`]]}})(dn(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"}
159,style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),OK={left:"right",right:"left",top:"down",bottom:"up"};function RRe(e){return["left","right"].includes(e)}function xRe({direction:e},t){return e==="rtl"&&RRe(t)?OK[t]:t}const PK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiDrawer"}),i=ga(),o=md(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:l,children:u,className:c,elevation:f=16,hideBackdrop:p=!1,ModalProps:{BackdropProps:v,...g}={},onClose:y,open:k=!1,PaperProps:E={},SlideProps:S,TransitionComponent:T,transitionDuration:I=a,variant:A="temporary",slots:w={},slotProps:R={},...x}=r,D=m.useRef(!1);m.useEffect(()=>{D.current=!0},[]);const M=xRe({direction:o?"rtl":"ltr"},s),L={...r,anchor:s,elevation:f,open:k,variant:A,...x},P=ARe(L),j={slots:{transition:T,...w},slotProps:{paper:E,transition:S,...R,backdrop:YG(R.backdrop||{...l,...v},{transitionDuration:I})}},[B,H]=un("root",{ref:n,elementType:IRe,className:mt(P.root,P.modal,c),shouldForwardComponentProp:!0,ownerState:L,externalForwardedProps:{...j,...x,...g},additionalProps:{open:k,onClose:y,hideBackdrop:p,slots:{backdrop:j.slots.backdrop},slotProps:{backdrop:j.slotProps.backdrop}}}),[G,O]=un("paper",{elementType:NRe,shouldForwardComponentProp:!0,className:mt(P.paper,E.className),ownerState:L,externalForwardedProps:j,additionalProps:{elevation:A==="temporary"?f:0,square:!0,...A==="temporary"&&{role:"dialog","aria-modal":"true"}}}),[V,W]=un("docked",{elementType:wRe,ref:n,className:mt(P.root,P.docked,c),ownerState:L,externalForwardedProps:j,additionalProps:x}),[U,q]=un("transition",{elementType:TRe,ownerState:L,externalForwardedProps:j,additionalProps:{in:k,direction:OK[M],timeout:I,appear:D.current}}),$=b.jsx(G,{...O,children:u});if(A==="permanent")return b.jsx(V,{...W,children:$});const J=b.jsx(U,{...q,children:$});return A==="persistent"?b.jsx(V,{...W,children:J}):b.jsx(B,{...H,children:J})}),LRe=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:i,size:o,hiddenLabel:a,multiline:s}=e,l={root:["root",!n&&"underline",r&&"adornedStart",i&&"adornedEnd",o==="small"&&`size${it(o)}`,a&&"hiddenLabel",s&&"multiline"],input:["input"]},u=Dt(l,Twe,t);return{...t,...u}},ORe=$e(AC,{shouldForwardProp:e=>Wo(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...TC(e,t),!n.disableUnderline&&t.underline]}})(dn(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Na.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Na.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:o},variants:[{props:({ownerState:a})=>!a.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Na.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Na.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackgroun
159d,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Na.disabled}, .${Na.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Na.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Wi()).map(([a])=>({props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[a]?.main}`}}})),{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:12}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:12}},{props:({ownerState:a})=>a.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:a,size:s})=>a.multiline&&s==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),PRe=$e(IC,{name:"MuiFilledInput",slot:"Input",overridesResolver:CC})(dn(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),u_=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiFilledInput"}),{disableUnderline:i=!1,components:o={},componentsProps:a,fullWidth:s=!1,hiddenLabel:l,inputComponent:u="input",multiline:c=!1,slotProps:f,slots:p={},type:v="text",...g}=r,y={...r,disableUnderline:i,fullWidth:s,inputComponent:u,multiline:c,type:v},k=LRe(r),E={root:{ownerState:y},input:{ownerState:y}},S=f??a?oo(E,f??a):E,T=p.root??o.Root??ORe,I=p.input??o.Input??PRe;return b.jsx(ik,{slots:{root:T,input:I},slotProps:S,fullWidth:s,inputComponent:u,multiline:c,ref:n,type:v,...g,classes:k})});u_.muiName="Input";function _Re(e){return en("MuiFormControl",e)}tn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const DRe=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${it(n)}`,r&&"fullWidth"]};return Dt(i,_Re,t)},MRe=$e("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${it(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),FRe=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiFormControl"}),{children:i,className:o,color:a="primary",component:s="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:f=!1,hiddenLabel:p=!1,margin:v="none",required:g=!1,size:y="medium",variant:k="outlined",...E}=r,S={...r,color:a,component:s,disabled:l,error:u,fullWidth:f,hiddenLabel:p,margin:v,required:g,size:y,variant:k},T=DRe(S),[I,A]=m.useState(()=>{let B=!1;return i&&m.Children.forEach(i,H=>{if(!hN(H,["Input","Select"]))return;const G=hN(H,["Select"])?H.props.input:H;G&&ywe(G.props)&&(B=!0)}),B}),[w,R]=m.useState(()=>{let B=!1;
159return i&&m.Children.forEach(i,H=>{hN(H,["Input","Select"])&&(pE(H.props,!0)||pE(H.props.inputProps,!0))&&(B=!0)}),B}),[x,D]=m.useState(!1);l&&x&&D(!1);const M=c!==void 0&&!l?c:x;let F;m.useRef(!1);const L=m.useCallback(()=>{R(!0)},[]),P=m.useCallback(()=>{R(!1)},[]),j=m.useMemo(()=>({adornedStart:I,setAdornedStart:A,color:a,disabled:l,error:u,filled:w,focused:M,fullWidth:f,hiddenLabel:p,size:y,onBlur:()=>{D(!1)},onFocus:()=>{D(!0)},onEmpty:P,onFilled:L,registerEffect:F,required:g,variant:k}),[I,a,l,u,w,M,f,p,F,P,L,g,y,k]);return b.jsx(EC.Provider,{value:j,children:b.jsx(MRe,{as:s,ownerState:S,className:mt(T.root,o),ref:n,...E,children:i})})});function URe(e){return en("MuiFormHelperText",e)}const hV=tn("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var gV;const VRe=e=>{const{classes:t,contained:n,size:r,disabled:i,error:o,filled:a,focused:s,required:l}=e,u={root:["root",i&&"disabled",o&&"error",r&&`size${it(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return Dt(u,URe,t)},BRe=$e("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${it(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(dn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${hV.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${hV.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),jRe=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiFormHelperText"}),{children:i,className:o,component:a="p",disabled:s,error:l,filled:u,focused:c,margin:f,required:p,variant:v,...g}=r,y=ap(),k=Ph({props:r,muiFormControl:y,states:["variant","size","disabled","error","filled","focused","required"]}),E={...r,component:a,contained:k.variant==="filled"||k.variant==="outlined",variant:k.variant,size:k.size,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required};delete E.ownerState;const S=VRe(E);return b.jsx(BRe,{as:a,className:mt(S.root,o),ref:n,...g,ownerState:E,children:i===" "?gV||(gV=b.jsx("span",{className:"notranslate","aria-hidden":!0,children:"â"})):i})});function zRe(e){return en("MuiFormLabel",e)}const Uv=tn("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),HRe=e=>{const{classes:t,color:n,focused:r,disabled:i,error:o,filled:a,required:s}=e,l={root:["root",`color${it(n)}`,i&&"disabled",o&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return Dt(l,zRe,t)},WRe=$e("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(dn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Wi()).map(([t])=>({props:{color:t},style:{[`&.${Uv.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Uv.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Uv.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),qRe=$e("span",{name:"MuiFormLabel",slot:"Asterisk"})(dn(({theme:e})=>({[`&.${Uv.error}`]:{color:(e.vars||e).palette.error.main}}))),GRe=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiFormLabel"}),{children:i,className:o,color:a,component:s="label",disabled:l,error:u,filled:c,focused:f,required:p,...v}=r,g=ap(),y=Ph({props:r,muiFormControl:g,states:["color","required","focused","disabled","error","filled"]}),k={...r,color:y.color||"primary",component:s,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required},E=HRe(k);return b.jsxs(WRe,{as:s,ownerState:k,className:mt(E.root,o),ref:n,...v,children:[i,y.required&&b.jsxs(qRe,{ownerState:k,"aria-hidden":!0,className:E.asterisk,children:["â","*"]})]})});function u1(e){return`scale(${e}, ${e**2})`}const KRe={entering:{opacity:1,transform:u1(1)},entered:{opacity:1,transform:"none"}},CN=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),fy=m.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:o,easing:a,in:s,onEnter:l,onEntered:u,onEntering:c,onExit:f,onExited:p,onExiting:v,style:g,timeout:y="auto",TransitionComponent:k=Rs,...E}=t,S=Pl(),T=m.useRef(),I=ga(),A=m.useRef(null),w=Hr(A,vd(o),n),R=B=>H=>
159{if(B){const G=A.current;H===void 0?B(G):B(G,H)}},x=R(c),D=R((B,H)=>{ZP(B);const{duration:G,delay:O,easing:V}=ed({style:g,timeout:y,easing:a},{mode:"enter"});let W;y==="auto"?(W=I.transitions.getAutoHeightDuration(B.clientHeight),T.current=W):W=G,B.style.transition=[I.transitions.create("opacity",{duration:W,delay:O}),I.transitions.create("transform",{duration:CN?W:W*.666,delay:O,easing:V})].join(","),l&&l(B,H)}),M=R(u),F=R(v),L=R(B=>{const{duration:H,delay:G,easing:O}=ed({style:g,timeout:y,easing:a},{mode:"exit"});let V;y==="auto"?(V=I.transitions.getAutoHeightDuration(B.clientHeight),T.current=V):V=H,B.style.transition=[I.transitions.create("opacity",{duration:V,delay:G}),I.transitions.create("transform",{duration:CN?V:V*.666,delay:CN?G:G||V*.333,easing:O})].join(","),B.style.opacity=0,B.style.transform=u1(.75),f&&f(B)}),P=R(p),j=B=>{y==="auto"&&S.start(T.current||0,B),r&&r(A.current,B)};return b.jsx(k,{appear:i,in:s,nodeRef:A,onEnter:D,onEntered:M,onEntering:x,onExit:L,onExited:P,onExiting:F,addEndListener:j,timeout:y==="auto"?null:y,...E,children:(B,{ownerState:H,...G})=>m.cloneElement(o,{style:{opacity:0,transform:u1(.75),visibility:B==="exited"&&!s?"hidden":void 0,...KRe[B],...g,...o.props.style},ref:w,...G})})});fy&&(fy.muiSupportAuto=!0);const YRe=e=>{const{classes:t,disableUnderline:n}=e,i=Dt({root:["root",!n&&"underline"],input:["input"]},Swe,t);return{...t,...i}},$Re=$e(AC,{shouldForwardProp:e=>Wo(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...TC(e,t),!n.disableUnderline&&t.underline]}})(dn(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Oc.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Oc.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Oc.disabled}, .${Oc.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Oc.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Wi()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),JRe=$e(IC,{name:"MuiInput",slot:"Input",overridesResolver:CC})({}),c_=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiInput"}),{disableUnderline:i=!1,components:o={},componentsProps:a,fullWidth:s=!1,inputComponent:l="input",multiline:u=!1,slotProps:c,slots:f={},type:p="text",...v}=r,g=YRe(r),k={root:{ownerState:{disableUnderline:i}}},E=c??a?oo(c??a,k):k,S=f.root??o.Root??$Re,T=f.input??o.Input??JRe;return b.jsx(ik,{slots:{root:S,input:T},slotProps:E,fullWidth:s,inputComponent:l,multiline:u,ref:n,type:p,...v,classes:g})});c_.muiName="Input";function ZRe(e){return en("MuiInputAdornment",e)}const gE=tn("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var vV;const QRe=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${it(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},XRe=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:i,size:o,variant:a}=e,s={root:["root",n&&"disablePointerEvents",i&&`position${it(i)}`,a,r&&"hiddenLabel",o&&`size${it(o)}`]};return Dt(s,ZRe,t)},exe=$e("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:QRe})(dn(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${gE.positionStart}&:not(.${gE.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),d_=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiInputAdornment"}),{children:i,className:o,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:u,variant:c,...f}=r,p=ap()||{};let v=c;c&&p.variant,p&&!v&&(v=p.variant);const g={...r,hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:s,position:u,variant:v},y=XRe(g);return b.jsx(EC.Provider,{value:null,children:b.jsx(exe,{as:a,ownerState:g,className:mt(y.root,o),ref:n,...f,children:typeof i=="string"&&!l?b.jsx(En,{color:"textSecondary",children:i}):b.jsxs(m.Fragment,{children:[u==="start"?vV||(vV=b.jsx("span",{className:"notranslate","aria-hidden":!0,
159children:"â"})):null,i]})})})});function txe(e){return en("MuiInputLabel",e)}tn("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const nxe=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:o,variant:a,required:s}=e,l={root:["root",n&&"formControl",!o&&"animated",i&&"shrink",r&&r!=="medium"&&`size${it(r)}`,a],asterisk:[s&&"asterisk"]},u=Dt(l,txe,t);return{...t,...u}},rxe=$e(GRe,{shouldForwardProp:e=>Wo(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Uv.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(dn(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),ixe=m.forwardRef(function(t,n){const r=an({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,margin:o,shrink:a,variant:s,className:l,...u}=r,c=ap();let f=a;typeof f>"u"&&c&&(f=c.filled||c.focused||c.adornedStart);const p=Ph({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),v={...r,disableAnimation:i,formControl:c,shrink:f,size:p.size,variant:p.variant,required:p.required,focused:p.focused},g=nxe(v);return b.jsx(rxe,{"data-shrink":f,ref:n,className:mt(g.root,l),...u,ownerState:v,classes:g})});function oxe(e){return en("MuiLink",e)}const axe=tn("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),sxe=({theme:e,ownerState:t})=>{const n=t.color;if("colorSpace"in e&&e.colorSpace){const o=wl(e,`palette.${n}.main`)||wl(e,`palette.${n}`)||t.color;return e.alpha(o,.4)}const r=wl(e,`palette.${n}.main`,!1)||wl(e,`palette.${n}`,!1)||t.color,i=wl(e,`palette.${n}.mainChannel`)||wl(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:Qt(r,.4)},yV={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},lxe=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root",`underline${it(i)}`,n==="button"&&"button",r&&"focusVisible"]};return Dt(o,oxe,t)},uxe=$e(En,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${it(n.underline)}`],n.component==="button"&&t.button]}})(dn(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color==="inherit",style:e.colorSpace?{textDecorationColor:e.alpha("currentColor",.4)}:null},...Object.entries(e.palette).filter(Wi()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}
159,[`&.${axe.focusVisible}`]:{outline:"auto"}}}]}))),_h=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiLink"}),i=ga(),{className:o,color:a="primary",component:s="a",onBlur:l,onFocus:u,TypographyClasses:c,underline:f="always",variant:p="inherit",sx:v,...g}=r,[y,k]=m.useState(!1),E=A=>{rh(A.target)||k(!1),l&&l(A)},S=A=>{rh(A.target)&&k(!0),u&&u(A)},T={...r,color:a,component:s,focusVisible:y,underline:f,variant:p},I=lxe(T);return b.jsx(uxe,{color:a,className:mt(I.root,o),classes:c,component:s,onBlur:E,onFocus:S,ref:n,ownerState:T,variant:p,...g,sx:[...yV[a]===void 0?[{color:a}]:[],...Array.isArray(v)?v:[v]],style:{...g.style,...f==="always"&&a!=="inherit"&&!yV[a]&&{"--Link-underlineColor":sxe({theme:i,ownerState:T})}}})}),Wf=m.createContext({});function cxe(e){return en("MuiList",e)}tn("MuiList",["root","padding","dense","subheader"]);const dxe=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Dt({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},cxe,t)},fxe=$e("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),vE=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiList"}),{children:i,className:o,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:u,...c}=r,f=m.useMemo(()=>({dense:s}),[s]),p={...r,component:a,dense:s,disablePadding:l},v=dxe(p);return b.jsx(Wf.Provider,{value:f,children:b.jsxs(fxe,{as:a,className:mt(v.root,o),ref:n,ownerState:p,...c,children:[u,i]})})});function pxe(e){return en("MuiListItemButton",e)}const zg=tn("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),mxe=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},hxe=e=>{const{alignItems:t,classes:n,dense:r,disabled:i,disableGutters:o,divider:a,selected:s}=e,u=Dt({root:["root",r&&"dense",!o&&"gutters",a&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",s&&"selected"]},pxe,n);return{...n,...u}},gxe=$e(ih,{shouldForwardProp:e=>Wo(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:mxe})(dn(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${zg.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${zg.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${zg.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${zg.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${zg.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),vxe=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:o=!1,component:a="div",children:s,dense:l=!1,disableGutters:u=!1,divider:c=!1,focusVisibleClassName:f,selected:p=!1,className:v,...g}=r,y=m.useContext(Wf),k=m.useMemo(()=>({dense:l||y.dense||!1,alignItems:i,disableGutters:u}),[i,y.dense,l,u]),E=m.useRef(null);ni(()=>{o&&E.current&&E.current.focus()},[o]);const S={...r,alignItems:i,dense:k.dense,disableGutters:u,divider:c,selected:p},T=hxe(S),I=Hr(E,n);return b.jsx(Wf.Provider,{value:k,children:b.jsx(gxe,{ref:I,href:g.href||g.to,component:(g.href||g.to)&&a==="div"?"button":a,focusVisibleClassName:mt(T.focusVisible,f),ownerState:S,className:mt(T.root,v),...g,classes:T,children:s})})});function yxe(e){return en("MuiListItemIcon",e)}const yE=tn("MuiListItemIcon",["root","alignItemsFlexStart"]),kxe=e=>{const{alignItems:t,classes:n}=e;
159return Dt({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},yxe,n)},bxe=$e("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(dn(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),f_=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiListItemIcon"}),{className:i,...o}=r,a=m.useContext(Wf),s={...r,alignItems:a.alignItems},l=kxe(s);return b.jsx(bxe,{className:mt(l.root,i),ownerState:s,ref:n,...o})});function Sxe(e){return en("MuiListItemText",e)}const Sm=tn("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Exe=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:o}=e;return Dt({root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},Sxe,t)},Txe=$e("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Sm.primary}`]:t.primary},{[`& .${Sm.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${dE.root}:where(& .${Sm.primary})`]:{display:"block"},[`.${dE.root}:where(& .${Sm.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),_K=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiListItemText"}),{children:i,className:o,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:f,slots:p={},slotProps:v={},...g}=r,{dense:y}=m.useContext(Wf);let k=l??i,E=c;const S={...r,disableTypography:a,inset:s,primary:!!k,secondary:!!E,dense:y},T=Exe(S),I={slots:p,slotProps:{primary:u,secondary:f,...v}},[A,w]=un("root",{className:mt(T.root,o),elementType:Txe,externalForwardedProps:{...I,...g},ownerState:S,ref:n}),[R,x]=un("primary",{className:T.primary,elementType:En,externalForwardedProps:I,ownerState:S}),[D,M]=un("secondary",{className:T.secondary,elementType:En,externalForwardedProps:I,ownerState:S});return k!=null&&k.type!==En&&!a&&(k=b.jsx(R,{variant:y?"body2":"body1",component:x?.variant?void 0:"span",...x,children:k})),E!=null&&E.type!==En&&!a&&(E=b.jsx(D,{variant:"body2",color:"textSecondary",...M,children:E})),b.jsxs(A,{...w,children:[k,E]})});function AN(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function kV(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function DK(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Hg(e,t,n,r,i,o){let a=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!DK(s,o)||l)s=i(e,s,n);else return s.focus(),!0}return!1}const MK=m.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:f="selectedMenu",...p}=t,v=m.useRef(null),g=m.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ni(()=>{i&&v.current.focus()},[i]),m.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(T,{direction:I})=>{const A=!v.current.style.width;if(T.clientHeight<v.current.clientHeight&&A){const w=`${CK(Qs(T))}px`;v.current.style[I==="rtl"?"paddingLeft":"paddingRight"]=w,v.current.style.width=`calc(100% + ${w})`}return v.current}}),[]);const y=T=>{const I=v.current,A=T.key;if(T.ctrlKey||T.metaKey||T.altKey){c&&c(T);return}const R=xo(I).activeElement;if(A==="ArrowDown")T.preventDefault(),Hg(I,R,u,l,AN);else if(A==="ArrowUp")T.preventDefault(),Hg(I,R,u,l,kV);else if(A==="Home")T.preventDefault(),Hg(I,null,u,l,AN);else if(A==="End")T.preventDefault(),Hg(I,null,u,l,kV);else if(A.length===1){const x=g.current,D=A.toLowerCase(),M=performance.now();x.keys.length>0&&(M-x.lastTime>500?(x.keys=[],x.repeating=!0,x.previousKeyMatched=!0):x.repeating&&D!==x.keys[0]&&(x.repeating=!1)),x.lastTime=M,x.keys.push(D);const F=R&&!x.repeating&&DK(R,x);x.previousKeyMatched&&(F||Hg(I,R,!1,l,AN,x))?T.preventDefault():x.previousKeyMatched=!1}c&&c(T)},k=Hr(v,n);let E=-1;
159m.Children.forEach(a,(T,I)=>{if(!m.isValidElement(T)){E===I&&(E+=1,E>=a.length&&(E=-1));return}T.props.disabled||(f==="selectedMenu"&&T.props.selected||E===-1)&&(E=I),E===I&&(T.props.disabled||T.props.muiSkipListHighlight||T.type.muiSkipListHighlight)&&(E+=1,E>=a.length&&(E=-1))});const S=m.Children.map(a,(T,I)=>{if(I===E){const A={};return o&&(A.autoFocus=!0),T.props.tabIndex===void 0&&f==="selectedMenu"&&(A.tabIndex=0),m.cloneElement(T,A)}return T});return b.jsx(vE,{role:"menu",ref:k,className:s,onKeyDown:y,tabIndex:i?0:-1,...p,children:S})});function Cxe(e){return en("MuiPopover",e)}tn("MuiPopover",["root","paper"]);function bV(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function SV(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function EV(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Qb(e){return typeof e=="function"?e():e}const Axe=e=>{const{classes:t}=e;return Dt({root:["root"],paper:["paper"]},Cxe,t)},Ixe=$e(l_,{name:"MuiPopover",slot:"Root"})({}),FK=$e($l,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),wC=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiPopover"}),{action:i,anchorEl:o,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:u,className:c,container:f,elevation:p=8,marginThreshold:v=16,open:g,PaperProps:y={},slots:k={},slotProps:E={},transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:T,transitionDuration:I="auto",TransitionProps:A={},disableScrollLock:w=!1,...R}=r,x=m.useRef(),D={...r,anchorOrigin:a,anchorReference:l,elevation:p,marginThreshold:v,transformOrigin:S,TransitionComponent:T,transitionDuration:I,TransitionProps:A},M=Axe(D),F=m.useCallback(()=>{if(l==="anchorPosition")return s;const ne=Qb(o),ae=(ne&&ne.nodeType===1?ne:xo(x.current).body).getBoundingClientRect();return{top:ae.top+bV(ae,a.vertical),left:ae.left+SV(ae,a.horizontal)}},[o,a.horizontal,a.vertical,s,l]),L=m.useCallback(ne=>({vertical:bV(ne,S.vertical),horizontal:SV(ne,S.horizontal)}),[S.horizontal,S.vertical]),P=m.useCallback(ne=>{const Ce={width:ne.offsetWidth,height:ne.offsetHeight},ae=L(Ce);if(l==="none")return{top:null,left:null,transformOrigin:EV(ae)};const pe=F();let ve=pe.top-ae.vertical,Se=pe.left-ae.horizontal;const De=ve+Ce.height,Ee=Se+Ce.width,ye=Qs(Qb(o)),Pe=ye.innerHeight-v,Me=ye.innerWidth-v;if(v!==null&&ve<v){const Qe=ve-v;ve-=Qe,ae.vertical+=Qe}else if(v!==null&&De>Pe){const Qe=De-Pe;ve-=Qe,ae.vertical+=Qe}if(v!==null&&Se<v){const Qe=Se-v;Se-=Qe,ae.horizontal+=Qe}else if(Ee>Me){const Qe=Ee-Me;Se-=Qe,ae.horizontal+=Qe}return{top:`${Math.round(ve)}px`,left:`${Math.round(Se)}px`,transformOrigin:EV(ae)}},[o,l,F,L,v]),[j,B]=m.useState(g),H=m.useCallback(()=>{const ne=x.current;if(!ne)return;const Ce=P(ne);Ce.top!==null&&ne.style.setProperty("top",Ce.top),Ce.left!==null&&(ne.style.left=Ce.left),ne.style.transformOrigin=Ce.transformOrigin,B(!0)},[P]);m.useEffect(()=>(w&&window.addEventListener("scroll",H),()=>window.removeEventListener("scroll",H)),[o,w,H]);const G=()=>{H()},O=()=>{B(!1)};m.useEffect(()=>{g&&H()}),m.useImperativeHandle(i,()=>g?{updatePosition:()=>{H()}}:null,[g,H]),m.useEffect(()=>{if(!g)return;const ne=bC(()=>{H()}),Ce=Qs(Qb(o));return Ce.addEventListener("resize",ne),()=>{ne.clear(),Ce.removeEventListener("resize",ne)}},[o,g,H]);let V=I;const W={slots:{transition:T,...k},slotProps:{transition:A,paper:y,...E}},[U,q]=un("transition",{elementType:fy,externalForwardedProps:W,ownerState:D,getSlotProps:ne=>({...ne,onEntering:(Ce,ae)=>{ne.onEntering?.(Ce,ae),G()},onExited:Ce=>{ne.onExited?.(Ce),O()}}),additionalProps:{appear:!0,in:g}});I==="auto"&&!U.muiSupportAuto&&(V=void 0);const $=f||(o?xo(Qb(o)).body:void 0),[J,{slots:Z,slotProps:Y,...ee}]=un("root",{ref:n,elementType:Ixe,externalForwardedProps:{...W,...R},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:k.backdrop},slotProps:{backdrop:YG(typeof E.backdrop=="function"?E.backdrop(D):E.backdrop,{invisible:!0})},container:$,open:g},ownerState:D,className:mt(M.root,c)}),[te,ce]=un("paper",{ref:x,className:M.paper,elementType:FK,externalForwardedProps:W,shouldForwardComponentProp:!0,additionalProps:{elevation:p,style:j?void 0:{opacity:0}
vendor: 9,143 bytes, line 159
159},ownerState:D});return b.jsx(J,{...ee,...!lE(J)&&{slots:Z,slotProps:Y,disableScrollLock:w},children:b.jsx(U,{...q,timeout:V,children:b.jsx(te,{...ce,children:u})})})});function wxe(e){return en("MuiMenu",e)}tn("MuiMenu",["root","paper","list"]);const Nxe={vertical:"top",horizontal:"right"},Rxe={vertical:"top",horizontal:"left"},xxe=e=>{const{classes:t}=e;return Dt({root:["root"],paper:["paper"],list:["list"]},wxe,t)},Lxe=$e(wC,{shouldForwardProp:e=>Wo(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),Oxe=$e(FK,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Pxe=$e(MK,{name:"MuiMenu",slot:"List"})({outline:0}),UK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:o,className:a,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:u,open:c,PaperProps:f={},PopoverClasses:p,transitionDuration:v="auto",TransitionProps:{onEntering:g,...y}={},variant:k="selectedMenu",slots:E={},slotProps:S={},...T}=r,I=md(),A={...r,autoFocus:i,disableAutoFocusItem:s,MenuListProps:l,onEntering:g,PaperProps:f,transitionDuration:v,TransitionProps:y,variant:k},w=xxe(A),R=i&&!s&&c,x=m.useRef(null),D=(V,W)=>{x.current&&x.current.adjustStyleForScrollbar(V,{direction:I?"rtl":"ltr"}),g&&g(V,W)},M=V=>{V.key==="Tab"&&(V.preventDefault(),u&&u(V,"tabKeyDown"))};let F=-1;m.Children.map(o,(V,W)=>{m.isValidElement(V)&&(V.props.disabled||(k==="selectedMenu"&&V.props.selected||F===-1)&&(F=W))});const L={slots:E,slotProps:{list:l,transition:y,paper:f,...S}},P=hK({elementType:E.root,externalSlotProps:S.root,ownerState:A,className:[w.root,a]}),[j,B]=un("paper",{className:w.paper,elementType:Oxe,externalForwardedProps:L,shouldForwardComponentProp:!0,ownerState:A}),[H,G]=un("list",{className:mt(w.list,l.className),elementType:Pxe,shouldForwardComponentProp:!0,externalForwardedProps:L,getSlotProps:V=>({...V,onKeyDown:W=>{M(W),V.onKeyDown?.(W)}}),ownerState:A}),O=typeof L.slotProps.transition=="function"?L.slotProps.transition(A):L.slotProps.transition;return b.jsx(Lxe,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:I?"right":"left"},transformOrigin:I?Nxe:Rxe,slots:{root:E.root,paper:j,backdrop:E.backdrop,...E.transition&&{transition:E.transition}},slotProps:{root:P,paper:B,backdrop:typeof S.backdrop=="function"?S.backdrop(A):S.backdrop,transition:{...O,onEntering:(...V)=>{D(...V),O?.onEntering?.(...V)}}},open:c,ref:n,transitionDuration:v,ownerState:A,...T,classes:p,children:b.jsx(H,{actions:x,autoFocus:i&&(F===-1||s),autoFocusItem:R,variant:k,...G,children:o})})});function _xe(e){return en("MuiMenuItem",e)}const Wg=tn("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Dxe=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Mxe=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:o,classes:a}=e,l=Dt({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},_xe,a);return{...a,...l}},Fxe=$e(ih,{shouldForwardProp:e=>Wo(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Dxe})(dn(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Wg.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Wg.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Wg.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${Wg.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Wg.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${mV.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${mV.inset}`]:{marginLeft:52},[`& .${Sm.root}`]:{marginTop:0,marginBottom:0},[`& .${Sm.inset}`]:{paddingLeft:36},[`& .${yE.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${yE.root} svg`]:{fontSize:"1.25rem"}}}]}))),VK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:f,className:p,...v}=r,g=m.useContext(Wf),y=m.useMemo(()=>({dense:a||g.dense||!1,disableGutters:l}),[g.dense,a,l]),k=m.useRef(null);ni(()=>{i&&k.current&&k.current.focus()},[i]);const E={...r,dense:y.dense,divider:s,disableGutters:l},S=Mxe(r),T=Hr(k,n);let I;return r.disabled||(I=f!==void 0?f:-1),b.jsx(Wf.Provider,{value:y,children:b.jsx(Fxe,{ref:T,role:c,tabIndex:I,component:o,focusVisibleClassName:mt(S.focusVisible,u),className:mt(S.root,p),...v,ownerState:E,classes:S})})});function Uxe(e){return en("MuiNativeSelect",e)}const p_=tn("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Vxe=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o,error:a}=e,s={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${it(n)}`,o&&"iconOpen",r&&"disabled"]};return Dt(s,Uxe,t)},BK=$e("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${p_.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Bxe=$e(BK,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Wo,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${p_.multiple}`]:t.multiple}]}})({}),jK=$e("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${p_.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),jxe=$e(jK,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${it(n.variant)}`],n.open&&t.iconOpen]}})({}),zxe=m.forwardRef(function(t,n){const{className:r,disabled:i,error:o,IconComponent:a,inputRef:s,variant:l="standard",...u}=t,c={...t,disabled:i,variant:l,error:o},f=Vxe(c);return b.jsxs(m.Fragment,{children:[b.jsx(Bxe,{ownerState:c,className:mt(f.select,r),disabled:i,ref:s||n,...u}),t.multiple?null:b.jsx(jxe,{as:a,ownerState:c,className:f.icon})]})});var TV;const Hxe=$e("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Wo})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Wxe=$e("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Wo})(dn(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function qxe(e){const{children:t,classes:n,className:r,label:i,notched:o,...a}=e,s=i!=null&&i!=="",l={...e,notched:o,withLabel:s};
159return b.jsx(Hxe,{"aria-hidden":!0,className:r,ownerState:l,...a,children:b.jsx(Wxe,{ownerState:l,children:s?b.jsx("span",{children:i}):TV||(TV=b.jsx("span",{className:"notranslate","aria-hidden":!0,children:"â"}))})})}const Gxe=e=>{const{classes:t}=e,r=Dt({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ewe,t);return{...t,...r}},Kxe=$e(AC,{shouldForwardProp:e=>Wo(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:TC})(dn(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Ia.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ia.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Ia.focused} .${Ia.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Wi()).map(([n])=>({props:{color:n},style:{[`&.${Ia.focused} .${Ia.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${Ia.error} .${Ia.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ia.disabled} .${Ia.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),Yxe=$e(qxe,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(dn(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),$xe=$e(IC,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:CC})(dn(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),m_=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:o=!1,inputComponent:a="input",label:s,multiline:l=!1,notched:u,slots:c={},slotProps:f={},type:p="text",...v}=r,g=Gxe(r),y=ap(),k=Ph({props:r,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),E={...r,color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:y,fullWidth:o,hiddenLabel:k.hiddenLabel,multiline:l,size:k.size,type:p},S=c.root??i.Root??Kxe,T=c.input??i.Input??$xe,[I,A]=un("notchedOutline",{elementType:Yxe,className:g.notchedOutline,shouldForwardComponentProp:!0,ownerState:E,externalForwardedProps:{slots:c,slotProps:f},additionalProps:{label:s!=null&&s!==""&&k.required?b.jsxs(m.Fragment,{children:[s,"â","*"]}):s}});return b.jsx(ik,{slots:{root:S,input:T},slotProps:f,renderSuffix:w=>b.jsx(I,{...A,notched:typeof u<"u"?u:!!(w.startAdornment||w.filled||w.focused)}
159),fullWidth:o,inputComponent:a,multiline:l,ref:n,type:p,...v,classes:{...g,notchedOutline:null}})});m_.muiName="Input";function zK(e){return en("MuiSelect",e)}const mm=tn("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var CV;const Jxe=$e(BK,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${mm.select}`]:t.select},{[`&.${mm.select}`]:t[n.variant]},{[`&.${mm.error}`]:t.error},{[`&.${mm.multiple}`]:t.multiple}]}})({[`&.${mm.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Zxe=$e(jK,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${it(n.variant)}`],n.open&&t.iconOpen]}})({}),Qxe=$e("input",{shouldForwardProp:e=>KG(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function AV(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Xxe(e){return e==null||typeof e=="string"&&!e.trim()}const e1e=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:o,error:a}=e,s={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${it(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Dt(s,zK,t)},t1e=m.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":i,autoFocus:o,autoWidth:a,children:s,className:l,defaultOpen:u,defaultValue:c,disabled:f,displayEmpty:p,error:v=!1,IconComponent:g,inputRef:y,labelId:k,MenuProps:E={},multiple:S,name:T,onBlur:I,onChange:A,onClose:w,onFocus:R,onOpen:x,open:D,readOnly:M,renderValue:F,required:L,SelectDisplayProps:P={},tabIndex:j,type:B,value:H,variant:G="standard",...O}=t,[V,W]=Fm({controlled:H,default:c,name:"Select"}),[U,q]=Fm({controlled:D,default:u,name:"Select"}),$=m.useRef(null),J=m.useRef(null),[Z,Y]=m.useState(null),{current:ee}=m.useRef(D!=null),[te,ce]=m.useState(),ne=Hr(n,y),Ce=m.useCallback(ie=>{J.current=ie,ie&&Y(ie)},[]),ae=Z?.parentNode;m.useImperativeHandle(ne,()=>({focus:()=>{J.current.focus()},node:$.current,value:V}),[V]),m.useEffect(()=>{u&&U&&Z&&!ee&&(ce(a?null:ae.clientWidth),J.current.focus())},[Z,a]),m.useEffect(()=>{o&&J.current.focus()},[o]),m.useEffect(()=>{if(!k)return;const ie=xo(J.current).getElementById(k);if(ie){const Re=()=>{getSelection().isCollapsed&&J.current.focus()};return ie.addEventListener("click",Re),()=>{ie.removeEventListener("click",Re)}}},[k]);const pe=(ie,Re)=>{ie?x&&x(Re):w&&w(Re),ee||(ce(a?null:ae.clientWidth),q(ie))},ve=ie=>{ie.button===0&&(ie.preventDefault(),J.current.focus(),pe(!0,ie))},Se=ie=>{pe(!1,ie)},De=m.Children.toArray(s),Ee=ie=>{const Re=De.find(Be=>Be.props.value===ie.target.value);Re!==void 0&&(W(Re.props.value),A&&A(ie,Re))},ye=ie=>Re=>{let Be;if(Re.currentTarget.hasAttribute("tabindex")){if(S){Be=Array.isArray(V)?V.slice():[];const tt=V.indexOf(ie.props.value);tt===-1?Be.push(ie.props.value):Be.splice(tt,1)}else Be=ie.props.value;if(ie.props.onClick&&ie.props.onClick(Re),V!==Be&&(W(Be),A)){const tt=Re.nativeEvent||Re,at=new tt.constructor(tt.type,tt);Object.defineProperty(at,"target",{writable:!0,value:{value:Be,name:T}}),A(at,ie)}S||pe(!1,Re)}},Pe=ie=>{M||[" ","ArrowUp","ArrowDown","Enter"].includes(ie.key)&&(ie.preventDefault(),pe(!0,ie))},Me=Z!==null&&U,Qe=ie=>{!Me&&I&&(Object.defineProperty(ie,"target",{writable:!0,value:{value:V,name:T}}),I(ie))};delete O["aria-invalid"];let Fe,Ve;const be=[];let Ae=!1;(pE({value:V})||p)&&(F?Fe=F(V):Ae=!0);const ke=De.map(ie=>{if(!m.isValidElement(ie))return null;let Re;if(S){if(!Array.isArray(V))throw new Error(_u(2));Re=V.some(Be=>AV(Be,ie.props.value)),Re&&Ae&&be.push(ie.props.children)}else Re=AV(V,ie.props.value),Re&&Ae&&(Ve=ie.props.children);return m.cloneElement(ie,{"aria-selected":Re?"true":"false",onClick:ye(ie),onKeyUp:Be=>{Be.key===" "&&Be.preventDefault(),ie.props.onKeyUp&&ie.props.onKeyUp(Be)},role:"option",selected:Re,value:void 0,"data-value":ie.props.value})});Ae&&(S?be.length===0?Fe=null:Fe=be.reduce((ie,Re,Be)=>
159(ie.push(Re),Be<be.length-1&&ie.push(", "),ie),[]):Fe=Ve);let ue=te;!a&&ee&&Z&&(ue=ae.clientWidth);let ze;typeof j<"u"?ze=j:ze=f?null:0;const et=P.id||(T?`mui-component-select-${T}`:void 0),lt={...t,variant:G,value:V,open:Me,error:v},xe=e1e(lt),We={...E.PaperProps,...typeof E.slotProps?.paper=="function"?E.slotProps.paper(lt):E.slotProps?.paper},X={...E.MenuListProps,...typeof E.slotProps?.list=="function"?E.slotProps.list(lt):E.slotProps?.list},de=Rr();return b.jsxs(m.Fragment,{children:[b.jsx(Jxe,{as:"div",ref:Ce,tabIndex:ze,role:"combobox","aria-controls":Me?de:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":Me?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[k,et].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":L?"true":void 0,"aria-invalid":v?"true":void 0,onKeyDown:Pe,onMouseDown:f||M?null:ve,onBlur:Qe,onFocus:R,...P,ownerState:lt,className:mt(P.className,xe.select,l),id:et,children:Xxe(Fe)?CV||(CV=b.jsx("span",{className:"notranslate","aria-hidden":!0,children:"â"})):Fe}),b.jsx(Qxe,{"aria-invalid":v,value:Array.isArray(V)?V.join(","):V,name:T,ref:$,"aria-hidden":!0,onChange:Ee,tabIndex:-1,disabled:f,className:xe.nativeInput,autoFocus:o,required:L,...O,ownerState:lt}),b.jsx(Zxe,{as:g,className:xe.icon,ownerState:lt}),b.jsx(UK,{id:`menu-${T||""}`,anchorEl:ae,open:Me,onClose:Se,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...E,slotProps:{...E.slotProps,list:{"aria-labelledby":k,role:"listbox","aria-multiselectable":S?"true":void 0,disableListWrap:!0,id:de,...X},paper:{...We,style:{minWidth:ue,...We!=null?We.style:null}}},children:ke})]})}),n1e=e=>{const{classes:t}=e,r=Dt({root:["root"]},zK,t);return{...t,...r}},h_={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Wo(e)&&e!=="variant"},r1e=$e(c_,h_)(""),i1e=$e(m_,h_)(""),o1e=$e(u_,h_)(""),HK=m.forwardRef(function(t,n){const r=an({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:o,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=vK,id:f,input:p,inputProps:v,label:g,labelId:y,MenuProps:k,multiple:E=!1,native:S=!1,onClose:T,onOpen:I,open:A,renderValue:w,SelectDisplayProps:R,variant:x="outlined",...D}=r,M=S?zxe:t1e,F=ap(),L=Ph({props:r,muiFormControl:F,states:["variant","error"]}),P=L.variant||x,j={...r,variant:P,classes:a},B=n1e(j),{root:H,...G}=B,O=p||{standard:b.jsx(r1e,{ownerState:j}),outlined:b.jsx(i1e,{label:g,ownerState:j}),filled:b.jsx(o1e,{ownerState:j})}[P],V=Hr(n,vd(O));return b.jsx(m.Fragment,{children:m.cloneElement(O,{inputComponent:M,inputProps:{children:o,error:L.error,IconComponent:c,variant:P,type:void 0,multiple:E,...S?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:u,labelId:y,MenuProps:k,onClose:T,onOpen:I,open:A,renderValue:w,SelectDisplayProps:{id:f,...R}},...v,classes:v?oo(G,v.classes):G,...p?p.props.inputProps:{}},...(E&&S||u)&&P==="outlined"?{notched:!0}:{},ref:V,className:mt(O.props.className,s,B.root),...!p&&{variant:P},...D})})});HK.muiName="Select";function a1e(e){return en("MuiSkeleton",e)}const qlt=tn("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]),s1e=e=>{const{classes:t,variant:n,animation:r,hasChildren:i,width:o,height:a}=e;return Dt({root:["root",n,r,i&&"withChildren",i&&!o&&"fitContent",i&&!a&&"heightAuto"]},a1e,t)},c1=op` 160 0% { 161 opacity: 1; 162 } 163 164 50% { 165 opacity: 0.4; 166 } 167 168 100% { 169 opacity: 1; 170 } 171`,d1=op` 172 0% { 173 transform: translateX(-100%); 174 } 175 176 50% { 177 /* +0.5s of delay between each loop */ 178 transform: translateX(100%); 179 } 180 181 100% { 182 transform: translateX(100%); 183 } 184`,l1e=typeof c1!="string"?$y` 185 animation: ${c1} 2s ease-in-out 0.5s infinite; 186 `:null,u1e=typeof d1!="string"?$y` 187 &::after { 188 animation: ${d1} 2s linear 0.5s infinite; 189 } 190 `:null,c1e=$e("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.animation!==!1&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})(dn(({theme:e})=>{const t=hCe(e.shape.borderRadius)||"px",n=gCe(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:e.alpha(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${t}/${Math.round(n/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:r})=>r.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:r})=>r.hasChildren&&!r.width,style:{maxWidth:"fit-content"}},{props:({ownerState:r})=>r.hasChildren&&!r.height,style:{height:"auto"}},{props:{animation:"pulse"},style:l1e||{animation:`${c1} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient( 191 90deg, 192 transparent, 193 ${(e.vars||e).palette.action.hover}, 194 transparent 195 )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:u1e||{"&::after":{animation:`${d1} 2s linear 0.5s infinite`}}}]}})),py=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:o,component:a="span",height:s,style:l,variant:u="text",width:c,...f}=r,p={...r,animation:i,component:a,variant:u,hasChildren:!!f.children},v=s1e(p);return b.jsx(c1e,{as:a,ref:n,className:mt(v.root,o),ownerState:p,...f,style:{width:c,height:s,...l}})});function d1e(e){return en("MuiTooltip",e)}const pi=tn("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function f1e(e){return Math.round(e*1e5)/1e5}const p1e=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:o}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${it(o.split("-")[0])}`],arrow:["arrow"]};return Dt(a,d1e,t)},m1e=$e(rk,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(dn(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${pi.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${pi.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${pi.arrow}
195`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${pi.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${pi.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${pi.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${pi.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${pi.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),h1e=$e("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${it(n.placement.split("-")[0])}`]]}})(dn(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${pi.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${pi.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${pi.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${pi.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${f1e(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${pi.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${pi.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${pi.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${pi.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${pi.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${pi.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${pi.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${pi.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${pi.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${pi.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),g1e=$e("span",{name:"MuiTooltip",slot:"Arrow"})(dn(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Xb=!1;const IV=new ZG;let qg={x:0,y:0};function e0(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const xs=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiTooltip"}),{arrow:i=!1,children:o,classes:a,components:s={},componentsProps:l={},describeChild:u=!1,disableFocusListener:c=!1,disableHoverListener:f=!1,disableInteractive:p=!1,disableTouchListener:v=!1,enterDelay:g=100,enterNextDelay:y=0,enterTouchDelay:k=700,followCursor:E=!1,id:S,leaveDelay:T=0,leaveTouchDelay:I=1500,onClose:A,onOpen:w,open:R,placement:x="bottom",PopperComponent:D,PopperProps:M={},slotProps:F={},slots:L={},title:P,TransitionComponent:j,TransitionProps:B,...H}=r,G=m.isValidElement(o)?o:b.jsx("span",{children:o}),O=ga(),V=md(),[W,U]=m.useState(),[q,$]=m.useState(null),J=m.useRef(!1),Z=p||E,Y=Pl(),ee=Pl(),te=Pl(),ce=Pl(),[ne,Ce]=Fm({controlled:R,default:!1,name:"Tooltip",state:"open"});let ae=ne;const pe=Rr(S),ve=m.useRef(),Se=Hi(()=>{ve.current!==void 0&&(document.body.style.WebkitUserSelect=ve.current,ve.current=void 0),ce.clear()});m.useEffect(()=>Se,[Se]);const De=Lt=>{IV.clear(),Xb=!0,Ce(!0),w&&!ae&&w(Lt)},Ee=Hi(Lt=>{IV.start(800+T,()=>{Xb=!1}),Ce(!1),A&&ae&&A(Lt),Y.start(O.transitions.duration.shortest,()=>{J.current=!1})}),ye=Lt=>{J.current&&Lt.type!=="touchstart"||(W&&W.removeAttribute("title"),ee.clear(),te.clear(),g||Xb&&y?ee.start(Xb?y:g,()=>{De(Lt)}):De(Lt))},Pe=Lt=>{ee.clear(),te.start(T,()=>{Ee(Lt)})},[,Me]=m.useState(!1),Qe=Lt=>{rh(Lt.target)||(Me(!1),Pe(Lt))},Fe=Lt=>{W||U(Lt.currentTarget),rh(Lt.target)&&(Me(!0),ye(Lt))},Ve=Lt=>{J.current=!0;const nn=G.props;nn.onTouchStart&&nn.onTouchStart(Lt)},be=Lt=>{Ve(Lt),te.clear(),Y.clear(),Se(),ve.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ce.start(k,()=>{document.body.style.WebkitUserSelect=ve.current,ye(Lt)})},Ae=Lt=>{G.props.onTouchEnd&&G.props.onTouchEnd(Lt),Se(),te.start(I,()=>{Ee(Lt)})};m.useEffect(()=>{if(!ae)return;function Lt(nn){nn.key==="Escape"&&Ee(nn)}return document.addEventListener("keydown",Lt),()=>{document.removeEventListener("keydown",Lt)}},[Ee,ae]);const ke=Hr(vd(G),U,n);!P&&P!==0&&(ae=!1);const ue=m.useRef(),ze=Lt=>{const nn=G.props;nn.onMouseMove&&nn.onMouseMove(Lt),qg={x:Lt.clientX,y:Lt.clientY}
195,ue.current&&ue.current.update()},et={},lt=typeof P=="string";u?(et.title=!ae&<&&!f?P:null,et["aria-describedby"]=ae?pe:null):(et["aria-label"]=lt?P:null,et["aria-labelledby"]=ae&&!lt?pe:null);const xe={...et,...H,...G.props,className:mt(H.className,G.props.className),onTouchStart:Ve,ref:ke,...E?{onMouseMove:ze}:{}},We={};v||(xe.onTouchStart=be,xe.onTouchEnd=Ae),f||(xe.onMouseOver=e0(ye,xe.onMouseOver),xe.onMouseLeave=e0(Pe,xe.onMouseLeave),Z||(We.onMouseOver=ye,We.onMouseLeave=Pe)),c||(xe.onFocus=e0(Fe,xe.onFocus),xe.onBlur=e0(Qe,xe.onBlur),Z||(We.onFocus=Fe,We.onBlur=Qe));const X={...r,isRtl:V,arrow:i,disableInteractive:Z,placement:x,PopperComponentProp:D,touch:J.current},de=typeof F.popper=="function"?F.popper(X):F.popper,ie=m.useMemo(()=>{let Lt=[{name:"arrow",enabled:!!q,options:{element:q,padding:4}}];return M.popperOptions?.modifiers&&(Lt=Lt.concat(M.popperOptions.modifiers)),de?.popperOptions?.modifiers&&(Lt=Lt.concat(de.popperOptions.modifiers)),{...M.popperOptions,...de?.popperOptions,modifiers:Lt}},[q,M.popperOptions,de?.popperOptions]),Re=p1e(X),Be=typeof F.transition=="function"?F.transition(X):F.transition,tt={slots:{popper:s.Popper,transition:s.Transition??j,tooltip:s.Tooltip,arrow:s.Arrow,...L},slotProps:{arrow:F.arrow??l.arrow,popper:{...M,...de??l.popper},tooltip:F.tooltip??l.tooltip,transition:{...B,...Be??l.transition}}},[at,ot]=un("popper",{elementType:m1e,externalForwardedProps:tt,ownerState:X,className:mt(Re.popper,M?.className)}),[ft,Je]=un("transition",{elementType:fy,externalForwardedProps:tt,ownerState:X}),[Pt,Ht]=un("tooltip",{elementType:h1e,className:Re.tooltip,externalForwardedProps:tt,ownerState:X}),[fn,Sn]=un("arrow",{elementType:g1e,className:Re.arrow,externalForwardedProps:tt,ownerState:X,ref:$});return b.jsxs(m.Fragment,{children:[m.cloneElement(G,xe),b.jsx(at,{as:D??rk,placement:x,anchorEl:E?{getBoundingClientRect:()=>({top:qg.y,left:qg.x,right:qg.x,bottom:qg.y,width:0,height:0})}:W,popperRef:ue,open:W?ae:!1,id:pe,transition:!0,...We,...ot,popperOptions:ie,children:({TransitionProps:Lt})=>b.jsx(ft,{timeout:O.transitions.duration.shorter,...Lt,...Je,children:b.jsxs(Pt,{...Ht,children:[P,i?b.jsx(fn,{...Sn}):null]})})})]})}),zn=UTe({createStyledComponent:$e("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>an({props:e,name:"MuiStack"})});function v1e(e){return en("MuiToolbar",e)}const y1e=tn("MuiToolbar",["root","gutters","regular","dense"]),k1e=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Dt({root:["root",!n&&"gutters",r]},v1e,t)},b1e=$e("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(dn(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),WK=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:a=!1,variant:s="regular",...l}=r,u={...r,component:o,disableGutters:a,variant:s},c=k1e(u);return b.jsx(b1e,{as:o,className:mt(c.root,i),ref:n,ownerState:u,...l})});function Glt(e){return en("MuiTablePagination",e)}const S1e=tn("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);function Klt(e){return en("MuiTableSortLabel",e)}const wV=tn("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]);function E1e(e){return en("MuiTextField",e)}tn("MuiTextField",["root"]);const T1e={standard:c_,filled:u_,outlined:m_},C1e=e=>{const{classes:t}=e;return Dt({root:["root"]},E1e,t)},A1e=$e(FRe,{name:"MuiTextField",slot:"Root"})({}),g_=m.forwardRef(function(t,n){const r=an({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:u,disabled:c=!1,error:f=!1,FormHelperTextProps:p,fullWidth:v=!1,helperText:g,id:y,InputLabelProps:k,inputProps:E,InputProps:S,inputRef:T,label:I,maxRows:A,minRows:w,multiline:R=!1,name:x,onBlur:D,onChange:M,onFocus:
195F,placeholder:L,required:P=!1,rows:j,select:B=!1,SelectProps:H,slots:G={},slotProps:O={},type:V,value:W,variant:U="outlined",...q}=r,$={...r,autoFocus:o,color:l,disabled:c,error:f,fullWidth:v,multiline:R,required:P,select:B,variant:U},J=C1e($),Z=Rr(y),Y=g&&Z?`${Z}-helper-text`:void 0,ee=I&&Z?`${Z}-label`:void 0,te=T1e[U],ce={slots:G,slotProps:{input:S,inputLabel:k,htmlInput:E,formHelperText:p,select:H,...O}},ne={},Ce=ce.slotProps.inputLabel;U==="outlined"&&(Ce&&typeof Ce.shrink<"u"&&(ne.notched=Ce.shrink),ne.label=I),B&&((!H||!H.native)&&(ne.id=void 0),ne["aria-describedby"]=void 0);const[ae,pe]=un("root",{elementType:A1e,shouldForwardComponentProp:!0,externalForwardedProps:{...ce,...q},ownerState:$,className:mt(J.root,s),ref:n,additionalProps:{disabled:c,error:f,fullWidth:v,required:P,color:l,variant:U}}),[ve,Se]=un("input",{elementType:te,externalForwardedProps:ce,additionalProps:ne,ownerState:$}),[De,Ee]=un("inputLabel",{elementType:ixe,externalForwardedProps:ce,ownerState:$}),[ye,Pe]=un("htmlInput",{elementType:"input",externalForwardedProps:ce,ownerState:$}),[Me,Qe]=un("formHelperText",{elementType:jRe,externalForwardedProps:ce,ownerState:$}),[Fe,Ve]=un("select",{elementType:HK,externalForwardedProps:ce,ownerState:$}),be=b.jsx(ve,{"aria-describedby":Y,autoComplete:i,autoFocus:o,defaultValue:u,fullWidth:v,multiline:R,name:x,rows:j,maxRows:A,minRows:w,type:V,value:W,id:Z,inputRef:T,onBlur:D,onChange:M,onFocus:F,placeholder:L,inputProps:Pe,slots:{input:G.htmlInput?ye:void 0},...Se});return b.jsxs(ae,{...pe,children:[I!=null&&I!==""&&b.jsx(De,{htmlFor:Z,id:ee,...Ee,children:I}),B?b.jsx(Fe,{"aria-describedby":Y,id:Z,labelId:ee,value:W,input:be,...Ve,children:a}):be,g&&b.jsx(Me,{id:Y,...Qe,children:g})]})}),v_=OG({themeId:gs}),I1e=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"m250.92-218.92-32-32L448-480 218.92-709.08l32-32L480-512l229.08-229.08 32 32L512-480l229.08 229.08-32 32L480-448 250.92-218.92Z"})),Mu=m.memo(I1e);var Ut={},yv={exports:{}},w1e=yv.exports,NV;function N1e(){return NV||(NV=1,(function(e,t){(function(n,r){var i="1.0.35",o="",a="?",s="function",l="undefined",u="object",c="string",f="major",p="model",v="name",g="type",y="vendor",k="version",E="architecture",S="console",T="mobile",I="tablet",A="smarttv",w="wearable",R="embedded",x=350,D="Amazon",M="Apple",F="ASUS",L="BlackBerry",P="Browser",j="Chrome",B="Edge",H="Firefox",G="Google",O="Huawei",V="LG",W="Microsoft",U="Motorola",q="Opera",$="Samsung",J="Sharp",Z="Sony",Y="Xiaomi",ee="Zebra",te="Facebook",ce="Chromium OS",ne="Mac OS",Ce=function(Ae,ke){var ue={};for(var ze in Ae)ke[ze]&&ke[ze].length%2===0?ue[ze]=ke[ze].concat(Ae[ze]):ue[ze]=Ae[ze];return ue},ae=function(Ae){for(var ke={},ue=0;ue<Ae.length;ue++)ke[Ae[ue].toUpperCase()]=Ae[ue];return ke},pe=function(Ae,ke){return typeof Ae===c?ve(ke).indexOf(ve(Ae))!==-1:!1},ve=function(Ae){return Ae.toLowerCase()},Se=function(Ae){return typeof Ae===c?Ae.replace(/[^\d\.]/g,o).split(".")[0]:r},De=function(Ae,ke){if(typeof Ae===c)return Ae=Ae.replace(/^\s\s*/,o),typeof ke===l?Ae:Ae.substring(0,x)},Ee=function(Ae,ke){for(var ue=0,ze,et,lt,xe,We,X;ue<ke.length&&!We;){var de=ke[ue],ie=ke[ue+1];for(ze=et=0;ze<de.length&&!We&&de[ze];)if(We=de[ze++].exec(Ae),We)for(lt=0;lt<ie.length;lt++)X=We[++et],xe=ie[lt],typeof xe===u&&xe.length>0?xe.length===2?typeof xe[1]==s?this[xe[0]]=xe[1].call(this,X):this[xe[0]]=xe[1]:xe.length===3?typeof xe[1]===s&&!(xe[1].exec&&xe[1].test)?this[xe[0]]=X?xe[1].call(this,X,xe[2]):r:this[xe[0]]=X?X.replace(xe[1],xe[2]):r:xe.length===4&&(this[xe[0]]=X?xe[3].call(this,X.replace(xe[1],xe[2])):r):this[xe]=X||r;ue+=2}},ye=function(Ae,ke){for(var ue in ke)if(typeof ke[ue]===u&&ke[ue].length>0){for(var ze=0;ze<ke[ue].length;ze++)if(pe(ke[ue][ze],Ae))return ue===a?r:ue}else if(pe(ke[ue],Ae))return ue===a?r:ue;return Ae},Pe={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Me={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Qe={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[k,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[k,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,k],[/opios[\/ ]+([\w\.]+)/i],[k,[v,q+" Mini"]],[/\bopr\/([\w\.]+)/i],[k,[v,q]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,k],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[k,[v,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[k,[v,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[k,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[k,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[k,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[k,[v,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+P],k],[/\bfocus\/([\w\.]+)/i],[k,[v,H+" Focus"]],[/\bopt\/([\w\.]+)/i],[k,[v,q+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[k,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[k,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[k,[v,q+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[k,[v,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[k,[v,H]],[/\bqihu|(qi?ho?o?|360)browser/i],[[v,"360 "+P]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1 "+P],k],[/(comodo_dragon)\/([\w\.]+)/i],[[v,/_/g," "],k],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[v,k],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,te],k],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[v,k],[/\bgsa\/([\w\.]+) .*safari\//i],[k,[v,"GSA"]],[/musical_ly(?:.
vendor: 4,247 bytes, line 195
195+app_?version\/|_)([\w\.]+)/i],[k,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[k,[v,j+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,j+" WebView"],k],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[k,[v,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,k],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[k,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[k,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[k,ye,Pe]],[/(webkit|khtml)\/([\w\.]+)/i],[v,k],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],k],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[k,[v,H+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[v,k],[/(cobalt)\/([\w\.]+)/i],[v,[k,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[E,"amd64"]],[/(ia32(?=;))/i],[[E,ve]],[/((?:i[346]|x)86)[;\)]/i],[[E,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[E,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[E,"armhf"]],[/windows (ce|mobile); ppc;/i],[[E,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[E,/ower/,o,ve]],[/(sun4\w)[;\)]/i],[[E,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[E,ve]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[y,$],[g,I]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[p,[y,$],[g,T]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[y,M],[g,T]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[y,M],[g,I]],[/(macintosh);/i],[p,[y,M]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[y,J],[g,T]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[y,O],[g,I]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[y,O],[g,T]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[p,/_/g," "],[y,Y],[g,T]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[y,Y],[g,I]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[y,"OPPO"],[g,T]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[y,"Vivo"],[g,T]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[p,[y,"Realme"],[g,T]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[y,U],[g,T]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[y,U],[g,I]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[y,V],[g,I]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[y,V],[g,T]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[y,"Lenovo"],[g,I]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[y,"Nokia"],[g,T]],[/(pixel c)\b/i],[p,[y,G],[g,I]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[y,G],[g,T]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[y,Z],[g,T]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[y,Z],[g,I]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[y,"OnePlus"],[g,T]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[y,D],[g,I]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[
vendor: 5,182 bytes, line 195
195y,D],[g,T]],[/(playbook);[-\w\),; ]+(rim)/i],[p,y,[g,I]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[y,L],[g,T]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[y,F],[g,I]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[y,F],[g,T]],[/(nexus 9)/i],[p,[y,"HTC"],[g,I]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[y,[p,/_/g," "],[g,T]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[y,"Acer"],[g,I]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[y,"Meizu"],[g,T]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[y,p,[g,T]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[y,p,[g,I]],[/(surface duo)/i],[p,[y,W],[g,I]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[y,"Fairphone"],[g,T]],[/(u304aa)/i],[p,[y,"AT&T"],[g,T]],[/\bsie-(\w*)/i],[p,[y,"Siemens"],[g,T]],[/\b(rct\w+) b/i],[p,[y,"RCA"],[g,I]],[/\b(venue[\d ]{2,7}) b/i],[p,[y,"Dell"],[g,I]],[/\b(q(?:mv|ta)\w+) b/i],[p,[y,"Verizon"],[g,I]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[y,"Barnes & Noble"],[g,I]],[/\b(tm\d{3}\w+) b/i],[p,[y,"NuVision"],[g,I]],[/\b(k88) b/i],[p,[y,"ZTE"],[g,I]],[/\b(nx\d{3}j) b/i],[p,[y,"ZTE"],[g,T]],[/\b(gen\d{3}) b.+49h/i],[p,[y,"Swiss"],[g,T]],[/\b(zur\d{3}) b/i],[p,[y,"Swiss"],[g,I]],[/\b((zeki)?tb.*\b) b/i],[p,[y,"Zeki"],[g,I]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[y,"Dragon Touch"],p,[g,I]],[/\b(ns-?\w{0,9}) b/i],[p,[y,"Insignia"],[g,I]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[y,"NextBook"],[g,I]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[y,"Voice"],p,[g,T]],[/\b(lvtel\-)?(v1[12]) b/i],[[y,"LvTel"],p,[g,T]],[/\b(ph-1) /i],[p,[y,"Essential"],[g,T]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[y,"Envizen"],[g,I]],[/\b(trio[-\w\. ]+) b/i],[p,[y,"MachSpeed"],[g,I]],[/\btu_(1491) b/i],[p,[y,"Rotor"],[g,I]],[/(shield[\w ]+) b/i],[p,[y,"Nvidia"],[g,I]],[/(sprint) (\w+)/i],[y,p,[g,T]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[y,W],[g,T]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[y,ee],[g,I]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[y,ee],[g,T]],[/smart-tv.+(samsung)/i],[y,[g,A]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[y,$],[g,A]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[y,V],[g,A]],[/(apple) ?tv/i],[y,[p,M+" TV"],[g,A]],[/crkey/i],[[p,j+"cast"],[y,G],[g,A]],[/droid.+aft(\w)( bui|\))/i],[p,[y,D],[g,A]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[y,J],[g,A]],[/(bravia[\w ]+)( bui|\))/i],[p,[y,Z],[g,A]],[/(mitv-\w{5}) bui/i],[p,[y,Y],[g,A]],[/Hbbtv.*(technisat) (.*);/i],[y,p,[g,A]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[y,De],[p,De],[g,A]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[g,A]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[y,p,[g,S]],[/droid.+; (shield) bui/i],[p,[y,"Nvidia"],[g,S]],[/(playstation [345portablevi]+)/i],[p,[y,Z],[g,S]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[y,W],[g,S]],[/((pebble))app/i],[y,p,[g,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[y,M],[g,w]],[/droid.+; (glass) \d/i],[p,[y,G],[g,w]],[/droid.+; (wt63?0{2,3})\)/i],[p,[y,ee],[g,w]],[/(quest( 2| pro)?)/i],[p,[y,te],[g,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[y,[g,R]],[/(aeobc)\b/i],[p,[y,D],[g,R]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[p,[g,T]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[g,I]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[g,I]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[g,T]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[y,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[k,[v,B+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[k,[v,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[v,k],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[k,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,k],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[v,[k,ye,Me]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,"Windows"],[k,ye,Me]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[k,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,ne],[k,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[k,v],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);
195/i],[v,k],[/\(bb(10);/i],[k,[v,L]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[k,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[k,[v,H+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[k,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[k,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[k,[v,j+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,ce],k],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[v,k],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],k],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,k]]},Fe=function(Ae,ke){if(typeof Ae===u&&(ke=Ae,Ae=r),!(this instanceof Fe))return new Fe(Ae,ke).getResult();var ue=typeof n!==l&&n.navigator?n.navigator:r,ze=Ae||(ue&&ue.userAgent?ue.userAgent:o),et=ue&&ue.userAgentData?ue.userAgentData:r,lt=ke?Ce(Qe,ke):Qe,xe=ue&&ue.userAgent==ze;return this.getBrowser=function(){var We={};return We[v]=r,We[k]=r,Ee.call(We,ze,lt.browser),We[f]=Se(We[k]),xe&&ue&&ue.brave&&typeof ue.brave.isBrave==s&&(We[v]="Brave"),We},this.getCPU=function(){var We={};return We[E]=r,Ee.call(We,ze,lt.cpu),We},this.getDevice=function(){var We={};return We[y]=r,We[p]=r,We[g]=r,Ee.call(We,ze,lt.device),xe&&!We[g]&&et&&et.mobile&&(We[g]=T),xe&&We[p]=="Macintosh"&&ue&&typeof ue.standalone!==l&&ue.maxTouchPoints&&ue.maxTouchPoints>2&&(We[p]="iPad",We[g]=I),We},this.getEngine=function(){var We={};return We[v]=r,We[k]=r,Ee.call(We,ze,lt.engine),We},this.getOS=function(){var We={};return We[v]=r,We[k]=r,Ee.call(We,ze,lt.os),xe&&!We[v]&&et&&et.platform!="Unknown"&&(We[v]=et.platform.replace(/chrome os/i,ce).replace(/macos/i,ne)),We},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return ze},this.setUA=function(We){return ze=typeof We===c&&We.length>x?De(We,x):We,this},this.setUA(ze),this};Fe.VERSION=i,Fe.BROWSER=ae([v,k,f]),Fe.CPU=ae([E]),Fe.DEVICE=ae([p,y,g,S,T,A,I,w,R]),Fe.ENGINE=Fe.OS=ae([v,k]),e.exports&&(t=e.exports=Fe),t.UAParser=Fe;var Ve=typeof n!==l&&(n.jQuery||n.Zepto);if(Ve&&!Ve.ua){var be=new Fe;Ve.ua=be.getResult(),Ve.ua.get=function(){return be.getUA()},Ve.ua.set=function(Ae){be.setUA(Ae);var ke=be.getResult();for(var ue in ke)Ve.ua[ue]=ke[ue]}}})(typeof window=="object"?window:w1e)})(yv,yv.exports)),yv.exports}var RV;function R1e(){if(RV)return Ut;RV=1,Object.defineProperty(Ut,"__esModule",{value:!0});function e(Oe){return Oe&&typeof Oe=="object"&&"default"in Oe?Oe.default:Oe}var t=ep(),n=e(t),r=N1e(),i=new r,o=i.getBrowser(),a=i.getCPU(),s=i.getDevice(),l=i.getEngine(),u=i.getOS(),c=i.getUA(),f=function(oe){return i.setUA(oe)},p=function(oe){if(!oe){console.error("No userAgent string was provided");return}var fe=new r(oe);return{UA:fe,browser:fe.getBrowser(),cpu:fe.getCPU(),device:fe.getDevice(),engine:fe.getEngine(),os:fe.getOS(),ua:fe.getUA(),setUserAgent:function(st){return fe.setUA(st)}}},v=Object.freeze({ClientUAInstance:i,browser:o,cpu:a,device:s,engine:l,os:u,ua:c,setUa:f,parseUserAgent:p});function g(Oe,oe){var fe=Object.keys(Oe);if(Object.getOwnPropertySymbols){var Ke=Object.getOwnPropertySymbols(Oe);oe&&(Ke=Ke.filter(function(st){return Object.getOwnPropertyDescriptor(Oe,st).enumerable})),fe.push.apply(fe,Ke)}return fe}function y(Oe){for(var oe=1;oe<arguments.length;oe++){var fe=arguments[oe]!=null?arguments[oe]:{};
195oe%2?g(Object(fe),!0).forEach(function(Ke){I(Oe,Ke,fe[Ke])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Oe,Object.getOwnPropertyDescriptors(fe)):g(Object(fe)).forEach(function(Ke){Object.defineProperty(Oe,Ke,Object.getOwnPropertyDescriptor(fe,Ke))})}return Oe}function k(Oe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(oe){return typeof oe}:k=function(oe){return oe&&typeof Symbol=="function"&&oe.constructor===Symbol&&oe!==Symbol.prototype?"symbol":typeof oe},k(Oe)}function E(Oe,oe){if(!(Oe instanceof oe))throw new TypeError("Cannot call a class as a function")}function S(Oe,oe){for(var fe=0;fe<oe.length;fe++){var Ke=oe[fe];Ke.enumerable=Ke.enumerable||!1,Ke.configurable=!0,"value"in Ke&&(Ke.writable=!0),Object.defineProperty(Oe,Ke.key,Ke)}}function T(Oe,oe,fe){return oe&&S(Oe.prototype,oe),Oe}function I(Oe,oe,fe){return oe in Oe?Object.defineProperty(Oe,oe,{value:fe,enumerable:!0,configurable:!0,writable:!0}):Oe[oe]=fe,Oe}function A(){return A=Object.assign||function(Oe){for(var oe=1;oe<arguments.length;oe++){var fe=arguments[oe];for(var Ke in fe)Object.prototype.hasOwnProperty.call(fe,Ke)&&(Oe[Ke]=fe[Ke])}return Oe},A.apply(this,arguments)}function w(Oe,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");Oe.prototype=Object.create(oe&&oe.prototype,{constructor:{value:Oe,writable:!0,configurable:!0}}),oe&&x(Oe,oe)}function R(Oe){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(fe){return fe.__proto__||Object.getPrototypeOf(fe)},R(Oe)}function x(Oe,oe){return x=Object.setPrototypeOf||function(Ke,st){return Ke.__proto__=st,Ke},x(Oe,oe)}function D(Oe,oe){if(Oe==null)return{};var fe={},Ke=Object.keys(Oe),st,Cn;for(Cn=0;Cn<Ke.length;Cn++)st=Ke[Cn],!(oe.indexOf(st)>=0)&&(fe[st]=Oe[st]);return fe}function M(Oe,oe){if(Oe==null)return{};var fe=D(Oe,oe),Ke,st;if(Object.getOwnPropertySymbols){var Cn=Object.getOwnPropertySymbols(Oe);for(st=0;st<Cn.length;st++)Ke=Cn[st],!(oe.indexOf(Ke)>=0)&&Object.prototype.propertyIsEnumerable.call(Oe,Ke)&&(fe[Ke]=Oe[Ke])}return fe}function F(Oe){if(Oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe}function L(Oe,oe){if(oe&&(typeof oe=="object"||typeof oe=="function"))return oe;if(oe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(Oe)}function P(Oe,oe){return j(Oe)||B(Oe,oe)||H(Oe,oe)||O()}function j(Oe){if(Array.isArray(Oe))return Oe}function B(Oe,oe){var fe=Oe==null?null:typeof Symbol<"u"&&Oe[Symbol.iterator]||Oe["@@iterator"];if(fe!=null){var Ke=[],st=!0,Cn=!1,yr,Fi;try{for(fe=fe.call(Oe);!(st=(yr=fe.next()).done)&&(Ke.push(yr.value),!(oe&&Ke.length===oe));st=!0);}catch(tc){Cn=!0,Fi=tc}finally{try{!st&&fe.return!=null&&fe.return()}finally{if(Cn)throw Fi}}return Ke}}function H(Oe,oe){if(Oe){if(typeof Oe=="string")return G(Oe,oe);var fe=Object.prototype.toString.call(Oe).slice(8,-1);if(fe==="Object"&&Oe.constructor&&(fe=Oe.constructor.name),fe==="Map"||fe==="Set")return Array.from(Oe);if(fe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(fe))return G(Oe,oe)}}function G(Oe,oe){(oe==null||oe>Oe.length)&&(oe=Oe.length);for(var fe=0,Ke=new Array(oe);fe<oe;fe++)Ke[fe]=Oe[fe];return Ke}function O(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 196In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var V={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},W={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},U={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},q={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},$=function(oe){switch(oe){case V.Mobile:return{isMobile:!0};case V.Tablet:return{isTablet:!0};case V.SmartTv:return{isSmartTV:!0};case V.Console:return{isConsole:!0};case V.Wearable:return{isWearable:!0};case V.Browser:return{isBrowser:!0};case V.Embedded:return{isEmbedded:!0};default:return q}},J=function(oe){return f(oe)},Z=function(oe){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return oe||fe},Y=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},ee=function(oe){var fe=Y();return fe&&fe.platform&&(fe.platform.indexOf(oe)!==-1||fe.platform==="MacIntel"&&fe.maxTouchPoints>1&&!window.MSStream)},te=function(oe,fe,Ke,st,Cn){return{isBrowser:oe,browserMajorVersion:Z(fe.major),browserFullVersion:Z(fe.ver
196sion),browserName:Z(fe.name),engineName:Z(Ke.name),engineVersion:Z(Ke.version),osName:Z(st.name),osVersion:Z(st.version),userAgent:Z(Cn)}},ce=function(oe,fe,Ke,st){return y({},oe,{vendor:Z(fe.vendor),model:Z(fe.model),os:Z(Ke.name),osVersion:Z(Ke.version),ua:Z(st)})},ne=function(oe,fe,Ke,st){return{isSmartTV:oe,engineName:Z(fe.name),engineVersion:Z(fe.version),osName:Z(Ke.name),osVersion:Z(Ke.version),userAgent:Z(st)}},Ce=function(oe,fe,Ke,st){return{isConsole:oe,engineName:Z(fe.name),engineVersion:Z(fe.version),osName:Z(Ke.name),osVersion:Z(Ke.version),userAgent:Z(st)}},ae=function(oe,fe,Ke,st){return{isWearable:oe,engineName:Z(fe.name),engineVersion:Z(fe.version),osName:Z(Ke.name),osVersion:Z(Ke.version),userAgent:Z(st)}},pe=function(oe,fe,Ke,st,Cn){return{isEmbedded:oe,vendor:Z(fe.vendor),model:Z(fe.model),engineName:Z(Ke.name),engineVersion:Z(Ke.version),osName:Z(st.name),osVersion:Z(st.version),userAgent:Z(Cn)}};function ve(Oe){var oe=Oe?p(Oe):v,fe=oe.device,Ke=oe.browser,st=oe.engine,Cn=oe.os,yr=oe.ua,Fi=$(fe.type),tc=Fi.isBrowser,wd=Fi.isMobile,nc=Fi.isTablet,rc=Fi.isSmartTV,ru=Fi.isConsole,ba=Fi.isWearable,ic=Fi.isEmbedded;if(tc)return te(tc,Ke,st,Cn,yr);if(rc)return ne(rc,st,Cn,yr);if(ru)return Ce(ru,st,Cn,yr);if(wd||nc)return ce(Fi,fe,Cn,yr);if(ba)return ae(ba,st,Cn,yr);if(ic)return pe(ic,fe,st,Cn,yr)}var Se=function(oe){var fe=oe.type;return fe===V.Mobile},De=function(oe){var fe=oe.type;return fe===V.Tablet},Ee=function(oe){var fe=oe.type;return fe===V.Mobile||fe===V.Tablet},ye=function(oe){var fe=oe.type;return fe===V.SmartTv},Pe=function(oe){var fe=oe.type;return fe===V.Browser},Me=function(oe){var fe=oe.type;return fe===V.Wearable},Qe=function(oe){var fe=oe.type;return fe===V.Console},Fe=function(oe){var fe=oe.type;return fe===V.Embedded},Ve=function(oe){var fe=oe.vendor;return Z(fe)},be=function(oe){var fe=oe.model;return Z(fe)},Ae=function(oe){var fe=oe.type;return Z(fe,"browser")},ke=function(oe){var fe=oe.name;return fe===U.Android},ue=function(oe){var fe=oe.name;return fe===U.Windows},ze=function(oe){var fe=oe.name;return fe===U.MAC_OS},et=function(oe){var fe=oe.name;return fe===U.WindowsPhone},lt=function(oe){var fe=oe.name;return fe===U.IOS},xe=function(oe){var fe=oe.version;return Z(fe)},We=function(oe){var fe=oe.name;return Z(fe)},X=function(oe){var fe=oe.name;return fe===W.Chrome},de=function(oe){var fe=oe.name;return fe===W.Firefox},ie=function(oe){var fe=oe.name;return fe===W.Chromium},Re=function(oe){var fe=oe.name;return fe===W.Edge},Be=function(oe){var fe=oe.name;return fe===W.Yandex},tt=function(oe){var fe=oe.name;return fe===W.Safari||fe===W.MobileSafari},at=function(oe){var fe=oe.name;return fe===W.MobileSafari},ot=function(oe){var fe=oe.name;return fe===W.Opera},ft=function(oe){var fe=oe.name;return fe===W.InternetExplorer||fe===W.Ie},Je=function(oe){var fe=oe.name;return fe===W.MIUI},Pt=function(oe){var fe=oe.name;return fe===W.SamsungBrowser},Ht=function(oe){var fe=oe.version;return Z(fe)},fn=function(oe){var fe=oe.major;return Z(fe)},Sn=function(oe){var fe=oe.name;return Z(fe)},Lt=function(oe){var fe=oe.name;return Z(fe)},nn=function(oe){var fe=oe.version;return Z(fe)},Dn=function(){var oe=Y(),fe=oe&&oe.userAgent&&oe.userAgent.toLowerCase();return typeof fe=="string"?/electron/.test(fe):!1},Bn=function(oe){return typeof oe=="string"&&oe.indexOf("Edg/")!==-1},Rn=function(){var oe=Y();return oe&&(/iPad|iPhone|iPod/.test(oe.platform)||oe.platform==="MacIntel"&&oe.maxTouchPoints>1)&&!window.MSStream},Pn=function(){return ee("iPad")},se=function(){return ee("iPhone")},re=function(){return ee("iPod")},ge=function(oe){return Z(oe)};function je(Oe){var oe=Oe||v,fe=oe.device,Ke=oe.browser,st=oe.os,Cn=oe.engine,yr=oe.ua;return{isSmartTV:ye(fe),isConsole:Qe(fe),isWearable:Me(fe),isEmbedded:Fe(fe),isMobileSafari:at(Ke)||Pn(),isChromium:ie(Ke),isMobile:Ee(fe)||Pn(),isMobileOnly:Se(fe),isTablet:De(fe)||Pn(),isBrowser:Pe(fe),isDesktop:Pe(fe),isAndroid:ke(st),isWinPhone:et(st),isIOS:lt(st)||Pn(),isChrome:X(Ke),isFirefox:de(Ke),isSafari:tt(Ke),isOpera:ot(Ke),isIE:ft(Ke),osVersion:xe(st),osName:We(st),fullBrowserVersion:Ht(Ke),browserVersion:fn(Ke),browserName:Sn(Ke),mobileVendor:Ve(fe),mobileModel:be(fe),engineName:Lt(Cn),engineVersion:nn(Cn),getUA:ge(yr),isEdge:Re(Ke)||Bn(yr),isYandex:Be(Ke),deviceType:Ae(fe),isIOS13:Rn(),isIPad13:Pn(),isIPhone13:se(),isIPod13:re(),isElectron:Dn(),isEdgeChromium:Bn(yr),isLegacyEdge:Re(Ke)&&!Bn(yr),isWindows:ue(st),isMacOs:ze(st),isMIUI:Je(Ke),isSamsungBrowser:Pt(Ke)}}var Ge=ye(s),ht=Qe(s),At=Me(s),dt=Fe(s),It=at(o)||Pn(),Gt=ie(o),Nt=Ee(s)||Pn(),Xt=Se(s),Ne=De(s)||Pn(),Le=Pe(s),ut=Pe(s),xt=ke(u),Rt=et(u),Bt=lt(u)||Pn(),rt=X(o),Vn=de(o),Ki=tt(o),Yi=ot(o),_i=ft(o),$i=xe(u),vn=We(u),_r=Ht(o),Kn=fn(o),Ai=Sn(o),Kr=Ve(s),ol=be(s),cn=Lt(l),ar=nn(l),Di=ge(c),Mi=Re(o)||Bn(c),Ha=Be(o),Wa=Ae(s),sr=Rn(),Go=Pn(),al=se(),eu=re(),Ed=Dn(),sl=Bn(c),ll=Re(o)&&!Bn(c),ko=ue(u),Nn=ze(u),Td=Je(o),ul=Pt(o),cl=function(oe){if(!oe||typeof oe!="string"){console.error("No valid user agent string was provided");return}var fe=p(oe),Ke=fe.device,st=fe.browser,Cn=fe.os,yr=fe.engine,Fi=fe.ua;return je({device:Ke,browser:st,os:Cn,engine:yr,ua:Fi})},mp=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return xt?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},hp=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return Le?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},Qu=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return _i?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},Cd=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return Bt?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},Xu=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return Nt?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},qa=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return Ne?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},ya=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return Rt?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},ka=function(oe){var fe=oe.renderWithFragment,Ke=oe.children;oe.viewClassName,oe.style;var st=M(oe,["renderWithFragment","children","viewClassName","style"]);return Xt?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},tu=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return Ge?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},dl=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return ht?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},Ga=function(oe){var fe=oe.renderWithFragment,Ke=oe.children,st=M(oe,["renderWithFragment","children"]);return At?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",st,Ke):null},ec=function(oe){var fe=oe.renderWithFragment,Ke=oe.children;oe.viewClassName,oe.style;var st=oe.condition,Cn=M(oe,["renderWithFragment","children","viewClassName","style","condition"]);return st?fe?n.createElement(t.Fragment,null,Ke):n.createElement("div",Cn,Ke):null};function Ad(Oe){return(function(oe){w(fe,oe);function fe(Ke){var st;return E(this,fe),st=L(this,R(fe).call(this,Ke)),st.isEventListenerAdded=!1,st.handleOrientationChange=st.handleOrientationChange.bind(F(st)),st.onOr
196ientationChange=st.onOrientationChange.bind(F(st)),st.onPageLoad=st.onPageLoad.bind(F(st)),st.state={isLandscape:!1,isPortrait:!1},st}return T(fe,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var st=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:st===0,isLandscape:st===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":k(window))!==void 0&&Nt&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return n.createElement(Oe,A({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),fe})(n.Component)}function Ka(){var Oe=t.useState(function(){var Cn=window.innerWidth>window.innerHeight?90:0;return{isPortrait:Cn===0,isLandscape:Cn===90,orientation:Cn===0?"portrait":"landscape"}}),oe=P(Oe,2),fe=oe[0],Ke=oe[1],st=t.useCallback(function(){var Cn=window.innerWidth>window.innerHeight?90:0,yr={isPortrait:Cn===0,isLandscape:Cn===90,orientation:Cn===0?"portrait":"landscape"};fe.orientation!==yr.orientation&&Ke(yr)},[fe.orientation]);return t.useEffect(function(){return(typeof window>"u"?"undefined":k(window))!==void 0&&Nt&&(st(),window.addEventListener("load",st,!1),window.addEventListener("resize",st,!1)),function(){window.removeEventListener("resize",st,!1),window.removeEventListener("load",st,!1)}},[st]),fe}function Id(Oe){var oe=Oe||window.navigator.userAgent;return p(oe)}function nu(Oe){var oe=Oe||window.navigator.userAgent,fe=Id(oe),Ke=je(fe);return[Ke,fe]}return Ut.AndroidView=mp,Ut.BrowserTypes=W,Ut.BrowserView=hp,Ut.ConsoleView=dl,Ut.CustomView=ec,Ut.IEView=Qu,Ut.IOSView=Cd,Ut.MobileOnlyView=ka,Ut.MobileView=Xu,Ut.OsTypes=U,Ut.SmartTVView=tu,Ut.TabletView=qa,Ut.WearableView=Ga,Ut.WinPhoneView=ya,Ut.browserName=Ai,Ut.browserVersion=Kn,Ut.deviceDetect=ve,Ut.deviceType=Wa,Ut.engineName=cn,Ut.engineVersion=ar,Ut.fullBrowserVersion=_r,Ut.getSelectorsByUserAgent=cl,Ut.getUA=Di,Ut.isAndroid=xt,Ut.isBrowser=Le,Ut.isChrome=rt,Ut.isChromium=Gt,Ut.isConsole=ht,Ut.isDesktop=ut,Ut.isEdge=Mi,Ut.isEdgeChromium=sl,Ut.isElectron=Ed,Ut.isEmbedded=dt,Ut.isFirefox=Vn,Ut.isIE=_i,Ut.isIOS=Bt,Ut.isIOS13=sr,Ut.isIPad13=Go,Ut.isIPhone13=al,Ut.isIPod13=eu,Ut.isLegacyEdge=ll,Ut.isMIUI=Td,Ut.isMacOs=Nn,Ut.isMobile=Nt,Ut.isMobileOnly=Xt,Ut.isMobileSafari=It,Ut.isOpera=Yi,Ut.isSafari=Ki,Ut.isSamsungBrowser=ul,Ut.isSmartTV=Ge,Ut.isTablet=Ne,Ut.isWearable=At,Ut.isWinPhone=Rt,Ut.isWindows=ko,Ut.isYandex=Ha,Ut.mobileModel=ol,Ut.mobileVendor=Kr,Ut.osName=vn,Ut.osVersion=$i,Ut.parseUserAgent=p,Ut.
196setUserAgent=J,Ut.useDeviceData=Id,Ut.useDeviceSelectors=nu,Ut.useMobileOrientation=Ka,Ut.withOrientationChange=Ad,Ut}var qK=R1e();function Ku(){const{userAgent:e}=m.useContext(ri),t=!!qK.getSelectorsByUserAgent(e)?.isMobile,n=ga(),r=v_(n.breakpoints.down("sm"));return t||r}function x1e(e,t){return this?e?.mobile??e:e?.desktop??t}function GK(){const e=Ku();return x1e.bind(e)}function Ylt(e){const t=GK();return{nonPrintResponsiveStyle:t,responsiveStyle:(r,i)=>e?r:t(r,i)}}function Dh(){const[e,t]=m.useState(!1),{debugHydration:n}=ma();return m.useEffect(()=>{n?setTimeout(()=>t(!0),1):t(!0)},[e,n]),e}const L1e={splash:{variant:"h1",mobileVariant:"h2",component:"h1"},page:{variant:"h4",component:"h1"},drawer:{variant:"h5",component:"h2"},section:{variant:"h5",component:"h2"}},O1e=({children:e,gutterBottom:t=!0,type:n="page",sx:r})=>{const i=Ku(),{component:o,variant:a,mobileVariant:s}=L1e[n];return b.jsx(En,{component:o,variant:i?s??a:a,gutterBottom:t,sx:r,children:e})},KK=({onClose:e,onCloseNavigateTo:t,title:n,subtitle:r,children:i,contentSx:o,fullScreen:a,footer:s,slotProps:l,...u})=>{const{_:c}=Tn(),f=rp(),p=v_(g=>g.breakpoints.down("md")),v=m.useCallback((g,y)=>{e?.(g,y),t&&f(t)},[f,e,t]);return b.jsxs(PK,{anchor:"right",open:!0,...u,onClose:v,slotProps:{...l,paper:{sx:{p:3,pt:0,borderLeft:g=>`1px solid ${g.palette.divider}`,width:g=>p?"100%":a?"80%":`max(min(50%, ${g.spacing(120)}), ${g.spacing(80)})`}}},children:[b.jsxs(WK,{disableGutters:!0,sx:{pt:3,minHeight:"fit-content",alignItems:"center",justifyContent:n?"space-between":"flex-end"},children:[n&&b.jsx(O1e,{type:"drawer",gutterBottom:!1,children:n}),b.jsx(Lo,{onClick:g=>v(g,"escapeKeyDown"),"aria-label":c({id:"Jv26w1"}),size:"medium",children:b.jsx(Mu,{})})]}),r&&b.jsx(En,{component:"div",color:"textSecondary",variant:"body2",sx:{mt:.5},children:r}),b.jsx(zn,{sx:Js({flex:1,mt:3,...s&&{overflow:"auto"}},o),children:i}),s&&b.jsx(ei,{sx:{mx:-3,mb:-3,px:3,py:1.25,borderTop:g=>`1px solid ${g.palette.divider}`},children:s})]})},ok=()=>{const{_:e}=Tn();return b.jsx(ei,{role:"status",sx:{padding:8,display:"flex",alignItems:"center",justifyContent:"center"},children:b.jsx(QP,{"aria-label":e({id:"SN2VFW"})})})},P1e=()=>{const e=ga(),{oTLoaded:t}=ak(),n=e.palette.mode==="dark";return t?b.jsx(aE,{styles:{"#onetrust-consent-sdk #onetrust-banner-sdk.otFloatingRounded":{backgroundColor:e.palette.background.paper},"#onetrust-consent-sdk #onetrust-banner-sdk #onetrust-policy-text, #onetrust-banner-sdk #onetrust-policy-title":{color:e.palette.text.primary},"#onetrust-consent-sdk #onetrust-banner-sdk .ot-sdk-container a[href], #onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-desc a[href]":{color:e.palette.primary.main},"#onetrust-consent-sdk #onetrust-banner-sdk #onetrust-accept-btn-handler, #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-reject-all-handler":{backgroundColor:e.palette.blurple.main,color:e.palette.common.white,border:"none"},"#onetrust-banner-sdk button#onetrust-pc-btn-handler":{backgroundColor:"transparent",color:e.palette.secondary.main,borderColor:Qt(n?e.palette.common.white:e.palette.text.primary,.2)},"#onetrust-consent-sdk #onetrust-pc-sdk.otPcCenter, #onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] .ot-acc-grpcntr.ot-acc-txt":{backgroundColor:e.palette.background.paper,boxShadow:"none"},"#onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] #ot-pc-desc, #onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] #ot-pc-title, #onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] h3, #onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] h4, #onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] p, #onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] h3, #onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] h4, #onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] h5, #onetrust-consent-sdk #onetrust-pc-sdk div[role='dialog'] h6":{color:e.palette.text.primary},"#onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-header, #onetrust-consent-sdk #onetrust-pc-sdk .ot-accordion-layout.ot-cat-item, #onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-footer ":{borderColor:e.palette.divider},"#onetrust-consent-sdk #onetrust-pc-sdk .ot-switch-nob, #onetrust-consent-sdk #onetrust-pc-sdk .ot-tgl input
196:checked+.ot-switch .ot-switch-nob":{border:"none"},"#onetrust-consent-sdk #onetrust-pc-sdk .ot-cat-grp .ot-always-active":{color:e.palette.primary.main},"div#onetrust-consent-sdk #onetrust-pc-sdk *:focus, div#onetrust-consent-sdk #onetrust-banner-sdk:focus, #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-group-container *:focus, #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-button-group-parent *:focus, #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-close-btn-container *:focus":{outline:`3px solid ${Qt(e.palette.primary.main,.5)}`}}}):null},_1e="C0002",D1e="OptanonConsent",YK={oTLoaded:!1,hasAmplitudeConsent:!1,hasKapaConsent:!1,hasRejectedAll:!1},$K=m.createContext(YK);function M1e(e,t){return t?t.includes(`${e}:1`):!1}function F1e(e){return["C0002:0","C0003:0","C0004:0"].every(t=>e?.includes(t))}const U1e=({children:e})=>{const[t,n]=m.useState(YK.oTLoaded),[r]=ws(D1e),i=m.useMemo(()=>M1e(_1e,r),[r]),o=m.useMemo(()=>F1e(r),[r]);return m.useEffect(()=>{if(t||typeof window>"u")return;if(window.OneTrust){n(!0);return}const a=()=>{n(!0)};return window.addEventListener("OneTrustGroupsUpdated",a),()=>{window.removeEventListener("OneTrustGroupsUpdated",a)}},[t]),b.jsxs($K.Provider,{value:{oTLoaded:t,hasRejectedAll:o,hasAmplitudeConsent:i,hasKapaConsent:i},children:[b.jsx(P1e,{}),e]})},ak=()=>m.useContext($K),V1e=e=>typeof e=="string"?e.includes("#")?e.slice(e.indexOf("#")+1):"":e.hash?.slice(1)??"",B1e=e=>{const t=typeof e=="string"?e.startsWith("#"):!e.pathname&&!e.search&&!!e.hash,n=V1e(e);return t?{kind:Xm.DRAWER,navigateTo:n}:{kind:Xm.ROUTE,navigateTo:typeof e=="string"?e:(e.pathname??"")+(e.search??""),includedDrawer:n}};function sp(){const{kind:e}=m.useContext(xh),{drawerNavigate:t,routeNavigate:n}=m.useContext(JT),r=rp(),{debugNavigation:i}=ma();return(o,a)=>{if(i&&console.log({to:o,options:a,stack:new Error().stack}),typeof o=="number")return r(o);const{kind:s,navigateTo:l,includedDrawer:u}=B1e(o);if(s===e&&!u)return r(l,a);if(s===Xm.DRAWER)return t(l,a);if(s===Xm.ROUTE)return t(u||"/",a),n(l,{...a,replace:!0})}}function j1e(e){const t=qr(),n=t.state?.preventScroll;m.useEffect(()=>{t.hash&&!t.hash.startsWith("/")||n||e.current?.scrollTo?.(0,0)},[t.pathname,t.hash,n,e])}function JK(e,t){if(!e||!t)return;const n=AW(e),r=new URL(n.pathname,t);return r.search=n.search,r.hash=n.hash,r.toString()}const ZK=({to:e,activatable:t,onClick:n,children:r,ariaLabel:i,sx:o,underline:a="always",variant:s})=>{const l=sp(),u=qr(),{origin:c}=m.useContext(ri);return b.jsx(_h,{"aria-label":i,href:JK(e,c),onClick:f=>{f.preventDefault(),f.stopPropagation(),l(e),n?.()},underline:a,variant:s,sx:Js({...t&&{whiteSpace:"nowrap",color:u?.pathname.includes(e.toString())?"text.primary":"text.secondary",bgcolor:u?.pathname.includes(e.toString())?"action.selected":"","&:hover":{color:"text.primary"}}},o),children:r})},y_=m.forwardRef((e,t)=>{const{to:n,ariaLabel:r,onClick:i,tab:o,...a}=e,s=sp(),{origin:l}=m.useContext(ri);return b.jsx(Li,{...a,"aria-label":r||e["aria-label"],LinkComponent:_h,href:JK(n,l),onClick:u=>{n&&(u.preventDefault(),u.stopPropagation(),s(n),i?.())},ref:t,role:o?"tab":void 0,children:e.children})});y_.displayName="NavButton";const Ni=e=>{const{state:t,search:n}=qr(),r=typeof e.to=="string"?e.to+n:{...e.to,search:(e.to.search||"")+n};return b.jsx(Qm,{...e,to:r,state:{...t}})},QK=()=>b.jsx(KK,{children:b.jsx(ok,{})}),f1=({children:e})=>{const t=ha(),n=qr(),{rootUIDP:r}=Po(),{getRoleByCapability:i,can:o}=LP(),{kind:a}=m.useContext(xh),s=o(K.ARGOS_DOCUMENTS_CREATE,r),{hasRejectedAll:l}=ak();return s&&!l&&window.OneTrust?.RejectAll?.(),m.useEffect(()=>{if(t.loggedIn&&r){const u=i(r,t.profile),c=new rr.Identify;c.set("role",u),rr.identify(c),rr.setGroup("Account",r)}},[t.loggedIn,r,t.profile,i]),t.loggedIn?b.jsx(m.Suspense,{fallback:a===Xm.DRAWER?b.jsx(QK,{}):b.jsx(ok,{}),children:e}):b.jsx(Qm,{to:"/auth/login"+n.search,state:n.pathname==="/onboarding"?void 0:{from:n},replace:!0})},XK=({children:e})=>{const{profile:t}=ha(),[n]=$T(),{kind:r}=m.useContext(xh);return t&&t.onboarded||n.has("invite")?b.jsx(m.Suspense,{fallback:r===Xm.DRAWER?b.jsx(QK,{}):b.jsx(ok,{}),children:e}):b.jsx(Ni,{to:"/onboarding",replace:!0})},z1e=e=>m.createElement(rn,{viewBox:"0 0 97.6 96",...e},m.createElement("style",null,` 197 .github { 198 fill: #1B1F24; 199 stroke-width: 0px; 200 } 201`),m.createElement("path",{className:"github",d:"M48.9,0C21.8,0,0,22,0,49.2C0,71,14,89.4,33.4,95.9c2.4,0.5,3.3-1.1,3.3-2.4c0-1.1-0.1-5.1-0.1-9.1 c-13.6,2.9-16.4-5.9-16.4-5.9c-2.2-5.7-5.4-7.2-5.4-7.2c-4.4-3,0.3-3,0.3-3c4.9,0.3,7.5,5.1,7.5,5.1c4.4,7.5,11.4,5.4,14.2,4.1 c0.4-3.2,1.7-5.4,3.1-6.6c-10.8-1.1-22.2-5.4-22.2-24.3c0-5.4,1.9-9.8,5-13.2c-0.5-1.2-2.2-6.3,0.5-13c0,0,4.1-1.3,13.4,5.1 c3.9-1.1,8.1-1.6,12.2-1.6s8.3,0.6,12.2,1.6c9.3-6.4,13.4-5.1,13.4-5.1c2.7,6.8,1,11.8,0.5,13c3.2,3.4,5,7.8,5,13.2 c0,18.9-11.4,23.1-22.3,24.3
201c1.8,1.5,3.3,4.5,3.3,9.1c0,6.6-0.1,11.9-0.1,13.5c0,1.3,0.9,2.9,3.3,2.4C83.6,89.4,97.6,71,97.6,49.2 C97.7,22,75.8,0,48.9,0z"})),H1e=m.memo(z1e),W1e=e=>m.createElement(rn,{width:194,height:186,viewBox:"0 0 194 186",...e},m.createElement("path",{d:"M189.83 73.73L189.56 73.04L163.42 4.82C162.888 3.48292 161.946 2.34868 160.73 1.58C159.513 0.824386 158.093 0.460457 156.662 0.537353C155.232 0.614248 153.859 1.12827 152.73 2.01C151.613 2.91705 150.803 4.14614 150.41 5.53L132.76 59.53H61.29L43.64 5.53C43.2572 4.1386 42.4454 2.90335 41.32 2C40.1908 1.11826 38.8182 0.604246 37.3876 0.527351C35.957 0.450455 34.5372 0.814384 33.32 1.57C32.1063 2.34178 31.1654 3.47503 30.63 4.81L4.44003 73L4.18003 73.69C0.417055 83.5221 -0.0474224 94.311 2.85663 104.43C5.76067 114.549 11.8758 123.45 20.28 129.79L20.37 129.86L20.61 130.03L60.43 159.85L80.13 174.76L92.13 183.82C93.5337 184.886 95.2476 185.463 97.01 185.463C98.7724 185.463 100.486 184.886 101.89 183.82L113.89 174.76L133.59 159.85L173.65 129.85L173.75 129.77C182.135 123.429 188.236 114.537 191.136 104.432C194.036 94.3263 193.577 83.5527 189.83 73.73Z",fill:"#E24329"}),m.createElement("path",{d:"M189.83 73.73L189.56 73.04C176.823 75.6544 164.82 81.0496 154.41 88.84L97 132.25C116.55 147.04 133.57 159.89 133.57 159.89L173.63 129.89L173.73 129.81C182.127 123.469 188.238 114.572 191.141 104.458C194.045 94.3435 193.585 83.5599 189.83 73.73Z",fill:"#FC6D26"}),m.createElement("path",{d:"M60.43 159.89L80.13 174.8L92.13 183.86C93.5337 184.926 95.2476 185.503 97.01 185.503C98.7724 185.503 100.486 184.926 101.89 183.86L113.89 174.8L133.59 159.89C133.59 159.89 116.55 147 97 132.25C77.45 147 60.43 159.89 60.43 159.89Z",fill:"#FCA326"}),m.createElement("path",{d:"M39.58 88.84C29.178 81.0335 17.178 75.6243 4.44003 73L4.18003 73.69C0.417055 83.5221 -0.0474224 94.311 2.85663 104.43C5.76067 114.549 11.8758 123.45 20.28 129.79L20.37 129.86L20.61 130.03L60.43 159.85C60.43 159.85 77.43 147 97 132.21L39.58 88.84Z",fill:"#FC6D26"})),q1e=m.memo(W1e),G1e=e=>m.createElement(rn,{height:24,viewBox:"0 0 24 24",width:24,...e},m.createElement("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),m.createElement("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),m.createElement("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),m.createElement("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"}),m.createElement("path",{d:"M1 1h22v22H1z",fill:"none"})),K1e=m.memo(G1e),Y1e=e=>m.createElement(rn,{viewBox:"32.74 0 563.12 94.6",...e},m.createElement("style",{type:"text/css"},` 202 .chainguard { 203 fill: #0d161c; 204 } 205 `),m.createElement("g",{transform:"translate(32.74 0) scale(3.262069)"},m.createElement("path",{className:"chainguard",d:"M45.1575 23.0841C39.6496 23.0841 36.1276 19.5092 36.1276 13.2068C36.1276 7.24868 40.0997 3.59436 45.3429 3.59436C49.8711 3.59436 53.1282 6.18946 53.6048 10.5852H50.0035C49.6592 8.1755 48.0704 6.5337 45.3429 6.5337C42.0593 6.5337 39.7025 9.04936 39.7025 13.2068C39.7025 17.5231 42.0328 20.1447 45.2634 20.1447C48.0174 20.1447 49.8446 18.3705 50.2153 15.9078H53.6843C53.2341 20.1977 50.1359 23.0841 45.1575 23.0841ZM56.2092 22.6074V4.07101H59.4399V10.2675C59.4399 10.6382 59.4134 11.0354 59.3339 11.5385C60.0489 10.241 61.267 9.2612 63.306 9.2612C66.1659 9.2612 67.8607 11.2737 67.8607 14.4514V22.6074H64.6301V14.928C64.6301 13.0214 63.7032 11.8298 62.1938 11.8298C60.605 11.8298 59.4399 13.2333 59.4399 15.034V22.6074H56.2092ZM74.8131 23.0841C72.5622 23.0841 70.3643 21.6012 70.3643 19.059C70.3643 16.1462 72.6152 15.1399 75.3957 14.7692L77.2493 14.5308C78.3085 14.3984 78.6793 14.0012 78.6793 13.3657C78.6793 12.4654 77.9378 11.6709 76.5608 11.6709C75.0514 11.6709 74.0981 12.5183 73.9657 13.8688H70.6292C70.841 11.1678 73.0389 9.2612 76.3754 9.2612C80.321 9.2612 81.9099 11.3797 81.9099 15.0075V22.6074H78.9176V22.0778C78.9176 21.6541 78.9705 21.2569 79.05 20.8332C78.3615 22.1043 77.0375 23.0841 74.8131 23.0841ZM75.6869 20.7008C77.4082 20.7008 78.7852 19.4297 78.7852 17.6026V16.1991C78.4939 16.4639 78.0437 16.5963 77.2493 16.7552L76.1901 16.9671C74.6807 17.2583 73.6479 17.7615 73.6479 18.9266C73.6479 20.0653 74.5483 20.7008 75.6869 20.7008ZM85.0689 22.6074V9.68489H88.2996V22.6074H85.0689ZM84.9895 7.72533V4.33581H88.3525V7.72533H84.9895ZM91.6374 22.6074V9.68489H94.868V10.2675C94.868 10.6382 94.8415 11.0354 94.7621 11.5385C95.477 10.241 96.6952 9.2612 98.7342 9.2612C101.594 9.2612 103.289 11.2737 103.289 14.4514V22.6074H100.058V14.928C100.058 13.0214 99.1314 11.8298 97.622 11.8298C96.0331 11.8298 94.868 13.2333 94.868 15.034V22.6074H91.6374ZM112.254 28.48
20561C108.441 28.4861 106.269 26.4471 106.269 23.5078H109.553C109.606 25.0436 110.585 25.944 112.333 25.944C114.028 25.944 115.458 24.9377 115.458 23.0046V21.6012C115.458 21.0186 115.484 20.489 115.564 19.9858C114.796 21.151 113.551 22.1308 111.539 22.1308C108.176 22.1308 105.74 19.774 105.74 15.696C105.74 11.6709 108.546 9.2612 111.38 9.2612C113.657 9.2612 114.796 10.188 115.564 11.5385C115.484 11.0884 115.458 10.7441 115.458 10.2675V9.68489H118.689V22.2102C118.689 26.4471 116.067 28.4861 112.254 28.4861ZM112.36 19.5622C114.266 19.5622 115.643 17.9468 115.643 15.696C115.643 13.4451 114.266 11.8298 112.36 11.8298C110.4 11.8298 109.023 13.4451 109.023 15.696C109.023 17.9468 110.4 19.5622 112.36 19.5622ZM126.499 23.0841C123.904 23.0841 121.865 21.3099 121.865 17.8939V9.68489H125.122V17.3907C125.122 19.1914 125.916 20.489 127.478 20.489C129.12 20.489 130.285 19.2709 130.285 17.3643V9.68489H133.516V22.6074H130.312V22.0778C130.312 21.6806 130.365 21.2304 130.444 20.8332C129.782 22.0778 128.644 23.0841 126.499 23.0841ZM140.601 23.0841C138.35 23.0841 136.152 21.6012 136.152 19.059C136.152 16.1462 138.403 15.1399 141.183 14.7692L143.037 14.5308C144.096 14.3984 144.467 14.0012 144.467 13.3657C144.467 12.4654 143.725 11.6709 142.349 11.6709C140.839 11.6709 139.886 12.5183 139.753 13.8688H136.417C136.629 11.1678 138.827 9.2612 142.163 9.2612C146.109 9.2612 147.698 11.3797 147.698 15.0075V22.6074H144.705V22.0778C144.705 21.6541 144.758 21.2569 144.838 20.8332C144.149 22.1043 142.825 23.0841 140.601 23.0841ZM141.475 20.7008C143.196 20.7008 144.573 19.4297 144.573 17.6026V16.1991C144.282 16.4639 143.831 16.5963 143.037 16.7552L141.978 16.9671C140.468 17.2583 139.436 17.7615 139.436 18.9266C139.436 20.0653 140.336 20.7008 141.475 20.7008ZM150.857 22.6074V9.68489H154.087V10.6647C154.087 11.1413 154.061 11.5385 153.981 12.0152C154.67 10.5588 155.835 9.2612 157.768 9.2612C158.033 9.2612 158.245 9.28768 158.457 9.34064V12.4654C158.245 12.4124 157.953 12.3594
205157.53 12.3594C155.544 12.3594 154.087 13.3657 154.087 16.1991V22.6074H150.857ZM165.304 23.0841C161.888 23.0841 159.399 20.7538 159.399 16.1991C159.399 11.565 162.338 9.2612 165.357 9.2612C167.37 9.2612 168.614 10.2939 169.356 11.5385C169.25 11.0619 169.25 10.6647 169.25 10.2675V4.07101H172.48V22.6074H169.25V22.0778C169.25 21.6276 169.25 21.2834 169.356 20.8332C168.852 21.7865 167.687 23.0841 165.304 23.0841ZM166.072 20.5419C168.005 20.5419 169.435 18.7677 169.435 16.1726C169.435 13.5246 168.005 11.8298 166.072 11.8298C164.139 11.8298 162.682 13.604 162.682 16.1726C162.682 18.8472 164.139 20.5419 166.072 20.5419Z"}),m.createElement("path",{className:"chainguard",fillRule:"evenodd",clipRule:"evenodd",d:"M23.141 16.9955C23.3628 16.2024 23.4834 15.3332 23.4834 14.3879C23.4834 8.4751 18.7667 1.81992 14.056 1.81992C9.34521 1.81992 4.62852 8.4751 4.62852 14.3879C4.62852 15.6771 4.85275 16.8245 5.25225 17.8308L2.42059 17.6657C1.26726 17.5985 0.2047 18.4509 0.384583 19.6338C0.454351 20.0926 0.587314 20.5621 0.824777 20.9678C0.0231448 21.5523 -0.304315 22.6269 0.345227 23.4691C0.997283 24.3145 1.95468 25.0936 3.26884 25.0936C4.69423 25.0936 5.55207 24.7117 6.07304 24.2321C6.11107 24.4416 6.18951 24.6478 6.31334 24.8427C6.9531 25.8495 8.01264 26.9564 9.57907 26.9564C12.2437 26.9564 12.5409 25.2214 12.6901 24.3507C12.7017 24.2826 12.7125 24.2198 12.7234 24.1635L14.5041 23.2403L16.2848 24.1635C16.2957 24.2198 16.3065 24.2825 16.3181 24.3506L16.3182 24.3507C16.4673 25.2214 16.7645 26.9564 19.4291 26.9564C20.9956 26.9564 22.0551 25.8495 22.6949 24.8427C22.72 24.8031 22.7433 24.763 22.7648 24.7225C23.2667 24.9475 23.9313 25.0936 24.8129 25.0936C26.1271 25.0936 27.0845 24.3145 27.7366 23.4691C28.5352 22.4336 27.8568 21.0468 26.6361 20.6514L26.2327 20.5207C27.4172 19.8844 27.5915 18.6842 27.4646 17.6325C27.3213 16.4442 26.0725 15.9305 24.9824 16.3266L23.141 16.9955ZM14.5058 23.2231C14.5047 23.2232 14.5037 23.2232 14.5026 23.2232L14.5041 23.2241L14.5058 23.2231Z"}))),eY=m.memo(Y1e);var $lt=(function(e){return e.Failed="FAILED",e.Pending="PENDING",e.Ready="READY",e.Unspecified="UNSPECIFIED",e})({}),$1e=(function(e){return e.Failure="Failure",e.Success="Success",e.Unknown="Unknown",e})({}),J1e=(function(e){return e.Optional="OPTIONAL",e.Required="REQUIRED",e.Unspecified="UNSPECIFIED",e})({}),Jlt=(function(e){return e.CorrelationRuleOidEqualsExternalId="CORRELATION_RULE_OID_EQUALS_EXTERNAL_ID",e.CorrelationRuleSubEqualsExternalId="CORRELATION_RULE_SUB_EQUALS_EXTERNAL_ID",e.CorrelationRuleUnspecified="CORRELATION_RULE_UNSPECIFIED",e})({}),Zlt=(function(e){return e.Java="JAVA",e.Javascript="JAVASCRIPT",e.JavascriptAthena="JAVASCRIPT_ATHENA",e.JavaAthena="JAVA_ATHENA",e.Python="PYTHON",e.PythonAthena="PYTHON_ATHENA",e.Unknown="UNKNOWN",e})({}),Qlt=(function(e){return e.AnalysisNotPlanned="ANALYSIS_NOT_PLANNED",e.Detection="DETECTION",e.FalsePositiveDetermination="FALSE_POSITIVE_DETERMINATION",e.Fixed="FIXED",e.FixNotPlanned="FIX_NOT_PLANNED",e.PendingUpstreamFix="PENDING_UPSTREAM_FIX",e.TruePositiveDetermination="TRUE_POSITIVE_DETERMINATION",e.Unspecified="UNSPECIFIED",e})({}),Xlt=(function(e){return e.AnalysisNotPlanned="ANALYSIS_NOT_PLANNED",e.ComponentLocationChanged="COMPONENT_LOCATION_CHANGED",e.Detection="DETECTION",e.FalsePositiveDetermination="FALSE_POSITIVE_DETERMINATION",e.Fixed="FIXED",e.FixNotPlanned="FIX_NOT_PLANNED",e.Patched="PATCHED",e.PendingUpstreamFix="PENDING_UPSTREAM_FIX",e.TruePositiveDetermination="TRUE_POSITIVE_DETERMINATION",e.Unspecified="UNSPECIFIED",e})({}),eut=(function(e){return e.ComponentVulnerabilityMismatch="COMPONENT_VULNERABILITY_MISMATCH",e.InlineMitigationsExist="INLINE_MITIGATIONS_EXIST",e.Unspecified="UNSPECIFIED",e.VulnerabilityRecordAnalysisContested="VULNERABILITY_RECORD_ANALYSIS_CONTESTED",e.VulnerableCodeCannotBeControlledByAdversary="VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY",e.VulnerableCodeNotIncludedInPackage="VULNERABLE_CODE_NOT_INCLUDED_IN_PACKAGE",e.VulnerableCodeNotInExecutionPath="VULNERABLE_CODE_NOT_IN_EXECUTION_PATH",e.VulnerableCodeVersionNotUsed="VULNERABLE_CODE_VERSION_NOT_USED",e})({}),tut=(function(e){return e.ApkoBuilder="APKO_BUILDER",e.CatalogSyncer="CATALOG_SYNCER",e.Cosigned="COSIGNED",e.EntitlementSyncer="ENTITLEMENT_SYNCER",e.Guardener="GUARDENER",e.Ingester="INGESTER",e.Materializer
205="MATERIALIZER",e.Microflow="MICROFLOW",e.Microvm="MICROVM",e.Sandbox="SANDBOX",e.Sedimentology="SEDIMENTOLOGY",e.Skills="SKILLS",e.Skillup="SKILLUP",e.TenantScanner="TENANT_SCANNER",e.Unknown="UNKNOWN",e})({}),NC=(function(e){return e.Aws="AWS",e.ClaimMatch="CLAIM_MATCH",e.PullToken="PULL_TOKEN",e.ServicePrincipal="SERVICE_PRINCIPAL",e.Static="STATIC",e.Unknown="UNKNOWN",e})({}),nut=(function(e){return e.Package="PACKAGE",e.Version="VERSION",e})({}),rut=(function(e){return e.Chainguard="CHAINGUARD",e.ChainguardRemediated="CHAINGUARD_REMEDIATED",e.Upstream="UPSTREAM",e})({}),iut=(function(e){return e.AliasesAsc="ALIASES_ASC",e.AliasesDesc="ALIASES_DESC",e.CreatedAtAsc="CREATED_AT_ASC",e.CreatedAtDesc="CREATED_AT_DESC",e.DeletedAtAsc="DELETED_AT_ASC",e.DeletedAtDesc="DELETED_AT_DESC",e.IdAsc="ID_ASC",e.IdDesc="ID_DESC",e.OrderByUnspecified="ORDER_BY_UNSPECIFIED",e.UpdatedAtAsc="UPDATED_AT_ASC",e.UpdatedAtDesc="UPDATED_AT_DESC",e})({}),out=(function(e){return e.AwsMarketplace="AWS_MARKETPLACE",e.Customer="CUSTOMER",e.Dev="DEV",e.Infra="INFRA",e.Starter="STARTER",e.Unspecified="UNSPECIFIED",e})({}),Z1e=(function(e){return e.Initializing="INITIALIZING",e.Ready="READY",e.Unspecified="UNSPECIFIED",e})({}),xV=(function(e){return e.Base="BASE",e.Fips="FIPS",e.Unspecified="UNSPECIFIED",e})({}),aut=(function(e){return e.Month="MONTH",e.Week="WEEK",e})({}),sut=(function(e){return e.Chainguard="CHAINGUARD",e.ChainguardAndUpstream="CHAINGUARD_AND_UPSTREAM",e})({}),gi=(function(e){return e.Ai="AI",e.Application="APPLICATION",e.Base="BASE",e.Commercial="COMMERCIAL",e.Devtools="DEVTOOLS",e.Fips="FIPS",e.Free="FREE",e.Premium="PREMIUM",e.Standard="STANDARD",e.Unknown="UNKNOWN",e})({}),Em=(function(e){return e.Extra="EXTRA",e.Production="PRODUCTION",e.Starter="STARTER",e.Trial="TRIAL",e.Unknown="UNKNOWN",e})({}),lut=(function(e){return e.GraceActive="GRACE_ACTIVE",e.GraceBroken="GRACE_BROKEN",e.GraceEligible="GRACE_ELIGIBLE",e.GraceExpired="GRACE_EXPIRED",e.GraceNotEligible="GRACE_NOT_ELIGIBLE",e})({}),Jr=(function(e){return e.Catalog="CATALOG",e.PerImage="PER_IMAGE",e.PlanUnspecified="PLAN_UNSPECIFIED",e.Starter="STARTER",e})({}),uut=(function(e){return e.Approved="APPROVED",e.Pending="PENDING",e.Rejected="REJECTED",e.RequestChanges="REQUEST_CHANGES",e.Unknown="UNKNOWN",e})({}),cut=(function(e){return e.CredentialStateExpired="CREDENTIAL_STATE_EXPIRED",e.CredentialStateLive="CREDENTIAL_STATE_LIVE",e.CredentialStateNotIssued="CREDENTIAL_STATE_NOT_ISSUED",e.CredentialStateRevoked="CREDENTIAL_STATE_REVOKED",e.CredentialStateRotating="CREDENTIAL_STATE_ROTATING",e.CredentialStateUnspecified="CREDENTIAL_STATE_UNSPECIFIED",e})({}),dut=(function(e){return e.CvssV2="CVSS_V2",e.CvssV3="CVSS_V3",e.CvssV4="CVSS_V4",e.Unspecified="UNSPECIFIED",e})({}),Q1e=(function(e){return e.Sfdc="SFDC",e.Trial="TRIAL",e.Unknown="UNKNOWN",e})({}),fut=(function(e){return e.Chainguard="CHAINGUARD",e.ChainguardRemediated="CHAINGUARD_REMEDIATED",e.Upstream="UPSTREAM",e})({}),put=(function(e){return e.Active="ACTIVE",e.Expired="EXPIRED",e.Pending="PENDING",e.Unspecified="UNSPECIFIED",e.Unsubscribed="UNSUBSCRIBED",e.UnsubscribePending="UNSUBSCRIBE_PENDING",e})({}),IN=(function(e){return e.Failed="FAILED",e.InProgress="IN_PROGRESS",e.Queued="QUEUED",e.Unknown="UNKNOWN",e})({}),mut=(function(e){return e.Critical="CRITICAL",e.High="HIGH",e.Low="LOW",e.Medium="MEDIUM",e.Negligible="NEGLIGIBLE",e.Unknown="UNKNOWN",e})({});const X1e=new Set(["localstack","chainguard-desktop-workstation-rpi","chainguard-desktop-workstation-qemu","chainguard-desktop-workstation-pc","chainguard-server-minimal-qemu","chainguard-server-workstation-gcp","rpi-server-bootc"]),eLe=new Set(["gitlab-sidekiq-ee","gitlab-sidekiq-ee-fips","gitlab-toolbox-ee","gitlab-toolbox-ee-fips","gitlab-webservice-ee","gitlab-webservice-ee-fips","gitlab-workhorse-ee","gitlab-workhorse-ee-fips"]),tLe=new Set(["redis-sentinel","postgres-helm-compat"]),tY=new Set(["common"]),nLe=new Set(["cgr.dev/chainguard-vms/workstation:gcp-bootc"]);function nd(e){return["-fips","-bitnami","-iamguarded"].reduce((t,n)=>t.replace(n,""),e)}function nY(e){return`/logos/${encodeURI(nd(e))}.svg`}function rLe(e){return`/previews/${encodeURI(nd(e))}.png`}function rY(e,t){return(t||e).includes("-iamguarded")}function kE(e,t,n){return rY(t.name,n?.name)?!1:e.some(r=>r&&(n?.id??t.id).startsWith(r))}function iLe(e){return e.split("/").length===2}function oLe(e,t,n,r,i=!0){const o=e?.filter(u=>iLe(u.id)||i&&kE(r,u)),a=new Map(o?.filter(u=>u.tagSummary?.tagCount).map(u=>[u.id,u.name])||[]),s=o||[],l=t?.filter(u=>!new Set(a.values()).has(u.name));return s.concat(!n&&l||[]).filter(u=>u.name!=="scanner-test"&&(n||u.tagSummary?.tagCount)&&(n||!X1e.has(u.name))&&(n||!eLe.has(u.name))&&(n||!u.name.toLowerCase().includes("bitnami"))&&(n||!tLe.has(u.name)||kE(r,u))&&u.catalogTier!==gi.Devtools&&(n||!tY.has(u.name)))}function iY({hostname:e,prefix:t,staticEndpoint:n,sameDomain:r}){if(r){const i=e.split(".").slice(1).join(".");return`https://${t}.${i}`}return n}function aLe({hostname:e,staticEndpoint:t,sameDomain:n,serverlessFunction:r="query"}){return iY({hostname:e,prefix:"console-api",staticEndpoint:t,sameDomain:n})+`/${r}`}function oY(e){return!e&&!1}function aY(e,t,n,r){return iY({hostname:e,prefix:t,staticEndpoint:n,sameDomain:oY(r)})}function sLe(){const{hostname:e}=m.useContext(ri);return lLe(e)}function sY(){const{hostname:e}=m.useContext(ri);return aY(e,"console-api",sq)}function lLe(e,{server:t,staticEndpoint:n,serverlessFunction:r="query"}={}){return aLe({hostname:e,staticEndpoint:n??Ove,serverlessFunction:r,sameDomain:oY(t)})}function k_(){const{hostname:e}=m.useContext(ri);return aY(e,"issuer",lq)}const uLe=({Icon:e,title:t,containerSx:n,tooltipSlotProps:r,...i})=>b.jsx(ei,{display:"inline-flex",alignItems:"center",sx:n,children:b.jsx(xs,{arrow:!0,title:t,slotProps:r,children:b.jsx(ei,{display:"flex",role:"img","aria-label":"icon",children:b.jsx(e,{fontSize:i.fontSize??"small",...i})})})}),cLe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M421-311.46 690.54-581l-34.85-34.23L421-380.15 302.54-498.61l-33.85 34.23L421-311.46ZM480.07-100q-78.22 0-147.4-29.92t-120.99-81.71q
205-51.81-51.79-81.75-120.94Q100-401.71 100-479.93q0-78.84 29.92-148.21t81.71-120.68q51.79-51.31 120.94-81.25Q401.71-860 479.93-860q78.84 0 148.21 29.92t120.68 81.21q51.31 51.29 81.25 120.63Q860-558.9 860-480.07q0 78.22-29.92 147.4t-81.21 120.99q-51.29 51.81-120.63 81.75Q558.9-100 480.07-100Z"})),LV=m.memo(cLe),dLe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M318.46-230.77q-23.53 0-40.61-17.08t-17.08-40.61v-513.85q0-23.53 17.08-40.61T318.46-860h393.85q23.52 0 40.61 17.08Q770-825.84 770-802.31v513.85q0 23.53-17.08 40.61-17.09 17.08-40.61 17.08H318.46Zm0-45.39h393.85q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46v-513.85q0-4.61-3.84-8.46-3.85-3.84-8.46-3.84H318.46q-4.61 0-8.46 3.84-3.85 3.85-3.85 8.46v513.85q0 4.61 3.85 8.46 3.85 3.84 8.46 3.84ZM207.69-120q-23.52 0-40.61-17.08Q150-154.17 150-177.7v-559.22h45.39v559.22q0 4.62 3.84 8.47 3.85 3.84 8.46 3.84h439.23V-120H207.69Zm98.46-156.16v-538.45 538.45Z"})),OV=m.memo(dLe),lY=({text:e,size:t,fullButton:n,label:r,variant:i="text",sx:o,onCopy:a,copiedTooltip:s})=>{const{_:l}=Tn(),[u,c]=m.useState(!1),f=m.useCallback(async v=>{if(e)try{v.preventDefault(),v.stopPropagation(),await navigator.clipboard.writeText(e.trim()),c(!0),a?.()}catch{return}},[e,a]),p=s||l({id:"PiH3UR"});return b.jsx(xs,{open:u,title:b.jsx("span",{role:"status",children:p}),onClose:()=>c(!1),children:n?b.jsx(Li,{onClick:f,size:t,sx:o,startIcon:u?b.jsx(LV,{}):b.jsx(OV,{}),variant:i,"aria-label":r?void 0:l({id:"he3ygx"}),children:r??b.jsx(yn,{id:"he3ygx"})}):b.jsx(Lo,{onClick:f,size:t,sx:o,"aria-label":l({id:"he3ygx"}),children:u?b.jsx(LV,{}):b.jsx(OV,{})})})},fLe=$e(g_)(({theme:e})=>({[`& .${po.input}`]:{fontFamily:e.typography.monospace.fontFamily},[`& .${po.root} .${gE.root} > p`]:{fontFamily:e.typography.monospace.fontFamily}})),b_=m.forwardRef((e,t)=>{const{label:n,clipboardText:r,monospaced:i,prominentLabel:o=!0,prominentLabelAdornment:a,readOnly:s,width:l,name:u,...c}=e,f=u??n.toLowerCase().split(" ").join("-"),p=i?fLe:g_,v=c.slotProps?.htmlInput??c.inputProps,g=c.slotProps?.input??c.InputProps,y=c.slotProps?.inputLabel??c.InputLabelProps,k=c.slotProps?.select,E=g&&"endAdornment"in g?g.endAdornment:void 0;return b.jsxs(zn,{gap:1,width:l,children:[o&&b.jsxs(zn,{sx:{flexDirection:"row",alignItems:"center",gap:.5},children:[b.jsxs(En,{component:"label",htmlFor:f,variant:"body2",children:[n,c.required&&b.jsx(En,{component:"span",sx:{verticalAlign:"sub",lineHeight:.75,ml:.25},children:"*"})]}),a]}),b.jsx(p,{focused:s?!1:void 0,inputRef:t,size:"small",...c,hiddenLabel:o,id:f,label:o?void 0:n,name:f,sx:Js({[`& .${po.input}.${Ia.input}`]:{textOverflow:"ellipsis"}},c.sx),slotProps:{htmlInput:{...v,"aria-label":n,"data-1p-ignore":f.includes("name")},input:{...g,endAdornment:r?b.jsx(lY,{text:r,size:"small",sx:{alignSelf:c.multiline?"flex-start":"center",ml:1}}):E,notched:o?!1:void 0,readOnly:s},inputLabel:{...y,shrink:o?!0:void 0},select:k}})]})});b_.displayName="TextField";var Vv=(function(e){return e.EN="en",e.EN_XA="en-XA",e.FR="fr",e})({});const uY={en:{tag:"en",name:"English",native:"English"},"en-XA":{tag:"en-XA",name:"Pseudo Locale",native:"Pšëüdø Løçålë"},fr:{tag:"fr",name:"French",native:"Français"}},PV={fr:async()=>(await St(async()=>{const{fr:e}=await import("./fr-m64d6Pe_.js");return{fr:e}},[])).fr},pLe=e=>uY[e];function p1(e){const t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,i])=>t.indexOf(+r)===-1).map(([r,i])=>i)}function _V(e,t="|"){return e.map(n=>hY(n)).join(t)}function m1(e,t){return typeof t=="bigint"?t.toString():t}class mLe{constructor(t){this._getter=t,this._value=void 0}get value(){const t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}}function S_(e){return new mLe(e)}function hLe(e){return e==null}function E_(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function gLe(e,t){const n=e/t,r=Math.round(n),i=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function lp(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function cY(e){const t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function Fu(e){return cY(e._zod.def)??e._zod.def.shape}function dY(e,t,n){Object.defineProperty(e,t,{get(){const r=n();return lp(this,t,r),r},enumerable:!0,configurable:!0})}function fY(e,t,n){t in e?lp(e,t,n):e[t]=n}function qf(e,t,n,r){const i=Fu(t);for(const o of n){const a=Object.getOwnPropertyDescriptor(i,o);a.enumerable&&(a.get?dY(e,o,()=>{const s=t._zod.def.shape[o];return r?r(s,o):s}):fY(e,o,r?r(a.value,o):a.value))}}function vLe(e,t){for(const n of Reflect.ownKeys(t)){const r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?dY(e,n,()=>t[n]):fY(e,n,r.value))}}function La(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function yLe(e){return JSON.stringify(e)}function kLe(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const pY="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function bE(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const bLe=S_(()=>
205{if(ql.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function my(e){if(bE(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(bE(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function mY(e){return my(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const SLe=new Set(["string","number","symbol"]);function uh(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function yd(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function on(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function hY(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function ELe(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}const gY={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},TLe={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function CLe(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const o={};return qf(o,e,RC(e,t)),yd(e,La(n,{shape:o,checks:[]}))}function RC(e,t){const n=Fu(e),r=[];for(const i of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,i)?.enumerable)throw new Error(`Unrecognized key: "${String(i)}"`);t[i]&&r.push(i)}return r}function ALe(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const o=new Set(RC(e,t)),a={};return qf(a,e,Reflect.ownKeys(Fu(e)).filter(s=>!o.has(s))),yd(e,La(n,{shape:a,checks:[]}))}function ILe(e,t){if(!my(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const i=Fu(e);for(const o of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(i,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return yd(e,La(e._zod.def,{shape:vY(e,t)}))}function vY(e,t){const n={};return qf(n,e,Reflect.ownKeys(Fu(e))),vLe(n,t),n}function wLe(e,t){if(!my(t))throw new Error("Invalid input to safeExtend: expected a plain object");return yd(e,La(e._zod.def,{shape:vY(e,t)}))}function NLe(e,t){if(!t?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const n={};qf(n,e,Reflect.ownKeys(Fu(e))),qf(n,t,Reflect.ownKeys(Fu(t)));const r=La(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return yd(e,r)}function DV(e,t,n,r="partial"){const o=t._zod.def.checks;if(o&&o.length>0)throw new Error(`.${r}() cannot be used on object schemas containing refinements`);const s=n?new Set(RC(t,n)):void 0,l={};return qf(l,t,Reflect.ownKeys(Fu(t)),e&&((u,c)=>s&&!s.has(c)?u:new e({type:"optional",innerType:u}))),yd(t,La(t._zod.def,{shape:l,checks:[]}))}function RLe(e,t,n){const r=n?new Set(RC(t,n)):void 0,i={};return qf(i,t,Reflect.ownKeys(Fu(t)),(o,a)=>r&&!r.has(a)?o:new e({type:"nonoptional",innerType:o})),yd(t,La(t._zod.def,{shape:i}))}function wu(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function xLe(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function yY(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function Gg(e){return typeof e=="string"?e:e?.message}function MV(e,t,n){var r;for(let i=t;i<e.length;i++)(r=e[i]).schema??(r.schema=n)}function Mh(e,t,n){var r;const i=e.inst?._zod?.traits;i?.has("$ZodType")&&(i.has("$ZodCheck")?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);const o=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,a=e.message?e.message:Gg(e.inst?._zod.def?.error?.(e))??Gg(o?.(e))??Gg(t?.error?.(e))??Gg(n.customError?.(e))??Gg(n.localeError?.(e))??"Invalid input",s={};for(const l of Object.keys(e))l==="inst"||l==="schema"||l==="continue"||l==="input"||l==="__proto__"||(s[l]=e[l]);return s.path??(s.path=[]),s.message=a,t?.reportInput&&(s.input=e.input),s}const LLe=/[\uD800-\uDBFF]/;function T_(e){const t=e.length;if(!LLe.test(e))return t;let n=t;for(let r=0;r<t-1;
205r++)(e.charCodeAt(r)&64512)===55296&&(e.charCodeAt(r+1)&64512)===56320&&(n--,r++);return n}function C_(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function OLe(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";const n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function hy(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}function PLe(e,t){for(const n in t){const r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):_Le(e,n,r.value)}}function rd(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function kY(e,t,n){return rd(e,t,n,!1)}function A_(e,t){for(const n in e){const r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return rd(this,n,r(this))},set(i){rd(this,n,i)}})}return t}function _Le(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:rd(this,t,n.bind(this))},set(r){rd(this,t,r)}})}function DLe(e,t){const n=Object.getPrototypeOf(e);return t in n?void 0:n}let wN,Ac=!1;const MLe={configurable:!0,get(){Ac=!0}};function cr(e,t,n){const r=Object.getPrototypeOf(e._zod);if(t in r&&wN!==e._zod){wN=void 0;return}wN=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,MLe);const i=Ac;Ac=!1;try{const o=n(this);return Ac?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o}),Ac=Ac||i,o}catch(o){throw delete this[t],Ac=Ac||i,o}},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i})}})}function FLe(e,t,n,r){const i=DLe(e,t);i&&Object.defineProperty(i,t,{configurable:!0,get(){const o={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,o),o.value=n(this),Object.defineProperty(this,t,o),o.value},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:o})}})}const ULe="~constantCatch";function VLe(e){const t=()=>e;return t[ULe]=!0,t}var FV;const NN={value:void 0,enumerable:!1};let UV="captureStackTrace"in Error?Error:null;function BLe(e){const t=UV;if(t){const n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0}catch{return UV=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function nt(e,t,n,r){const i={};function o(p){this.def=p,this.constr=f,this.traits=new Set}o.prototype=i;const a=n,s=a&&new WeakSet;function l(p,v){if(p._zod){if(p._zod.traits.has(e))return}else{NN.value=new o(v);try{Object.defineProperty(p,"_zod",NN)}finally{NN.value=void 0}}if(p._zod.traits.add(e),t(p,v),s){const y=Object.getPrototypeOf(p),k=p._zod.constr.prototype;let E=y;for(;E&&E!==k;)E=Object.getPrototypeOf(E);const S=E??y;s.has(S)||(s.add(S),PLe(S,a))}const g=f.prototype;for(const y in g)Object.prototype.hasOwnProperty.call(g,y)&&(y in p||(p[y]=g[y].bind(p)))}const u=r?.Parent??Object;class c extends u{}Object.defineProperty(c,"name",{value:e});function f(p){const v=r?.Parent?BLe(c):this;l(v,p);const g=v._zod.deferred;if(g){for(const k of g)k();v._zod.deferred=void 0}const y=globalThis.__zod_globalConfig?.postProcessor;return y&&y(v),v}return Object.defineProperty(f,"init",{value:l}),Object.defineProperty(f,Symbol.hasInstance,{value:p=>r?.Parent&&p instanceof r.Parent?!0:p?._zod?.traits?.has(e)}),Object.defineProperty(f,"name",{value:e}),f}class Af extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class bY extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(FV=globalThis).__zod_globalConfig??(FV.__zod_globalConfig={});const ql=globalThis.__zod_globalConfig;function kd(e){return e&&Object.assign(ql,e),ql}function jLe(){const e=this._zod;return e.message??(e.message=JSON.stringify(e.def,m1,2)),e.message}function zLe(e){this._zod.message=e}const HLe={get:jLe,set:zLe,enumerable:!0,configurable:!0},RN={value:void 0,enumerable:!1},VV=new WeakSet([Object.prototype,Error.prototype]),WLe=(e,t)=>{e.name="$ZodError",RN.value=t,Object.defineProperty(e,"issues",RN),RN.value=void 0,Object.defineProperty(e,"message",HLe);const n=Object.getPrototypeOf(e);
205VV.has(n)||(VV.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){const r=()=>this.message;return Object.defineProperty(this,"toString",{value:r,configurable:!0,writable:!0}),r},set(r){Object.defineProperty(this,"toString",{value:r,configurable:!0,writable:!0})}}))},qLe=nt("$ZodError",WLe);function GLe(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function KLe(e,t=n=>n.message){const n={},r=[];for(const i of e.issues)i.path.length>0?GLe(n,i.path[0],()=>[]).push(t(i)):r.push(t(i));return{formErrors:r,fieldErrors:n}}function YLe(e,t=n=>n.message){const n={_errors:[]},r=(i,o=[])=>{for(const a of i.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(s=>r({issues:s},[...o,...a.path]));else if(a.code==="invalid_key")r({issues:a.issues},[...o,...a.path]);else if(a.code==="invalid_element")r({issues:a.issues},[...o,...a.path]);else{const s=[...o,...a.path];if(s.length===0)n._errors.push(t(a));else{let l=n,u=0;for(;u<s.length;){const c=s[u],f=u===s.length-1;if(c==="_errors"){f&&l._errors.push(t(a)),u++;continue}Object.prototype.hasOwnProperty.call(l,c)||Object.defineProperty(l,c,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});const p=l[c];f&&p._errors.push(t(a)),l=p,u++}}}};return r(e),n}function xC(e,t){return{callee:t?.callee??e,Err:t?.Err}}const I_=e=>{const t=(n,r,i,o)=>{const a=i?{...i,async:!1}:{async:!1},s=n._zod.run({value:r,issues:[]},a);if(s instanceof Promise)throw new Af;if(s.issues.length){const l=new(o?.Err??e)(s.issues.map(u=>Mh(u,a,kd())));throw pY(l,o?.callee??t),l}return s.value};return t},w_=e=>{const t=async(n,r,i,o)=>{const a=i?{...i,async:!0}:{async:!0};let s=n._zod.run({value:r,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){const l=new(o?.Err??e)(s.issues.map(u=>Mh(u,a,kd())));throw pY(l,o?.callee??t),l}return s.value};return t},N_=e=>(t,n,r)=>{const i=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise)throw new Af;return o.issues.length?SY(e,o.issues,i):{success:!0,data:o.value}};function SY(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(i=>Mh(i,n,kd()))),t=void 0,n=void 0),r},set error(i){r=i,t=void 0,n=void 0}}}const R_=e=>async(t,n,r)=>{const i=r?{...r,async:!0}:{async:!0};let o=t._zod.run({value:n,issues:[]},i);return o instanceof Promise&&(o=await o),o.issues.length?SY(e,o.issues,i):{success:!0,data:o.value}},$Le=Symbol.for("zod.compile.invalid"),JLe=Symbol.for("zod.compile.fallback"),ZLe=((e,t,n)=>{const r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==$Le)return!0;if(r.definite===!0&&n===void 0)return!1}return QLe(e,t,n)});function QLe(e,t,n){const r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},i=e._zod.bag.fallbackRun;let o;if(i?(r[JLe]=!0,o=i({value:t,issues:[]},r)):o=e._zod.run({value:t,issues:[]},r),o instanceof Promise)throw new Af;return o.issues.length===0}const XLe=async(e,t,n)=>{const r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0};let i=e._zod.run({value:t,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length===0},eOe=e=>{const t=I_(e),n=(r,i,o,a)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return t(r,i,s,xC(n,a))};return n},tOe=e=>{const t=I_(e),n=(r,i,o,a)=>t(r,i,o,xC(n,a));return n},nOe=e=>{const t=w_(e),n=async(r,i,o,a)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return await t(r,i,s,xC(n,a))};return n},rOe=e=>{const t=w_(e),n=async(r,i,o,a)=>await t(r,i,o,xC(n,a));return n},iOe=e=>(t,n,r)=>{const i=r?{...r,direction:"backward"}:{direction:"backward"};return N_(e)(t,n,i)},oOe=e=>(t,n,r)=>N_(e)(t,n,r),aOe=e=>async(t,n,r)=>{const i=r?{...r,direction:"backward"}:{direction:"backward"};return R_(e)(t,n,i)},sOe=e=>async(t,n,r)=>R_(e)(t,n,r),lOe=/^[cC][0-9a-z]{6,}$/,uOe=/^[0-9a-z]+$/,cOe=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,dOe=/^[0-9a-vA-V]{20}$/,fOe=/^[A-Za-z0-9]{27}$/,pOe=/^[a-zA-Z0-9_-]{21}$/;function mOe(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}const hOe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,gOe=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,BV=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,vOe=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,yOe="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function kOe(){return new RegExp(yOe,"u")}const bOe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,SOe=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,EOe=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,TOe=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,COe=/^$|^(?:[0-9a-zA-Z+/]{4}
205)*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,AOe=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,hut=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/,IOe=/^https?$/,wOe=/^\+[1-9]\d{6,14}$/,EY="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function NOe(e){return new RegExp(`^${e}$`)}const ROe=NOe(EY);function h1(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function xOe(e){return new RegExp(`^${h1(e)}$`)}function LOe(e){const t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${h1({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,r=e.local?`${n}|${h1({precision:e.precision})}`:n;return new RegExp(`^${EY}T(?:${r})$`)}const OOe=/^[\s\S]{0,}$/,POe=/^-?\d+(?:\.\d+)?$/,_Oe=/^(?:true|false)$/i,DOe=/^[^A-Z]*$/,MOe=/^[^a-z]*$/,va=nt("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),x_=e=>{const t=e.value;return!hLe(t)&&t.length!==void 0},SE={number:"number",bigint:"bigint",object:"date"},TY=nt("$ZodCheckLessThan",(e,t)=>{va.init(e,t);const n=SE[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:SE[typeof r.value]??n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),CY=nt("$ZodCheckGreaterThan",(e,t)=>{va.init(e,t);const n=SE[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:SE[typeof r.value]??n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),FOe=nt("$ZodCheckMultipleOf",(e,t)=>{va.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):gLe(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),UOe=nt("$ZodCheckNumberFormat",(e,t)=>{va.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[i,o]=gY[t.format];e._zod.check=a=>{const s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>o&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),VOe=nt("$ZodCheckMaxLength",(e,t)=>{var n;va.init(e,t),(n=e._zod.def).when??(n.when=x_),e._zod.check=r=>{const i=r.value,o=i.length;if((typeof i=="string"&&o>t.maximum?T_(i):o)<=t.maximum)return;const s=C_(i);r.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),BOe=nt("$ZodCheckMinLength",(e,t)=>{var n;va.init(e,t),(n=e._zod.def).when??(n.when=x_),e._zod.check=r=>{const i=r.value,o=i.length;if((typeof i=="string"&&o>=t.minimum&&o<t.minimum*2?T_(i):o)>=t.minimum)return;const s=C_(i);r.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),jOe=nt("$ZodCheckLengthEquals",(e,t)=>{var n;va.init(e,t),(n=e._zod.def).when??(n.when=x_),e._zod.check=r=>{const i=r.value,o=i.length,a=typeof i=="string"&&o>=t.length&&o<=t.length*2?T_(i):o;if(a===t.length)return;const s=C_(i),l=a>t.length;r.issues.push({origin:s,...l?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),LC=nt("$ZodCheckStringFormat",(e,t)=>{var n,r;va.init(e,t),t.pattern?(n=e._zod).check??(n.check=i=>{t.pattern.lastIndex=0,!t.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:t.format,input:i.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),zOe=nt("$ZodCheckRegex",(e,t)=>{LC.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),HOe=nt("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=DOe),LC.init(e,t)}),WOe=nt("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=MOe),LC.init(e,t)}),qOe=nt("$ZodCheckIncludes",(e,t)=>{va.init(e,t);const n=uh(t.includes),r=new RegExp(typeof t.position=="number"?`^.{${t.position},}${n}`:n);t.pattern=r,e._zod.check=i=>{i.value.includes(t.includes,t.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input
205:i.value,inst:e,continue:!t.abort})}}),GOe=nt("$ZodCheckStartsWith",(e,t)=>{va.init(e,t);const n=new RegExp(`^${uh(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),KOe=nt("$ZodCheckEndsWith",(e,t)=>{va.init(e,t);const n=new RegExp(`.*${uh(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),YOe=nt("$ZodCheckOverwrite",(e,t)=>{va.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class $Oe{constructor(t=[],n={}){this.content=[],this.indent=0,this.args=t,this.closed=n}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const r=t.split(` 206`).filter(a=>a),i=Math.min(...r.map(a=>a.length-a.trimStart().length)),o=r.map(a=>a.slice(i)).map(a=>" ".repeat(this.indent*2)+a);for(const a of o)this.content.push(a)}compile(){const t=Function,n=this?.content??[""];return new t(...Object.keys(this.closed),`return function (${this.args.join(", ")}) { 207${n.join(` 208`)} 209};`)(...Object.values(this.closed))}}const JOe={major:4,minor:6,patch:5},ii=nt("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=JOe;const r=e._zod.def.checks,i=e._zod.traits.has("$ZodCheck")?[e,...r??[]]:r?.length?[...r]:[];for(const o of i)for(const a of o._zod.onattach)a(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(s,l,u)=>{if(s.memo)return s;let c=wu(s),f;for(const p of l){if(p._zod.def.when){if(xLe(s)||!p._zod.def.when(s))continue}else if(c)continue;const v=s.issues.length,g=p._zod.check(s);if(g instanceof Promise&&u?.async===!1)throw new Af;if(f||g instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await g,s.issues.length!==v&&(MV(s.issues,v,e),c||(c=wu(s,v)))});else{if(s.issues.length===v)continue;MV(s.issues,v,e),c||(c=wu(s,v))}}return f?f.then(()=>s):s},a=(s,l,u)=>{if(wu(s))return s.aborted=!0,s;const c=o(l,i,u);if(c instanceof Promise){if(u.async===!1)throw new Af;return c.then(f=>e._zod.parse(f,u))}return e._zod.parse(c,u)};e._zod.run=(s,l)=>{if(l.skipChecks)return e._zod.parse(s,l);if(l.direction==="backward"){const c=e._zod.parse({value:s.value,issues:[]},{...l,skipChecks:!0});return c instanceof Promise?c.then(f=>a(f,s,l)):a(c,s,l)}const u=e._zod.parse(s,l);if(u instanceof Promise){if(l.async===!1)throw new Af;return u.then(c=>o(c,i,l))}return o(u,i,l)}}},{get"~standard"(){return kY(this,"~standard",IY(this))},set"~standard"(e){rd(this,"~standard",e)}}),AY=(e,t)=>e.issues.length?{issues:e.issues.map(n=>Mh(n,t,kd()))}:{value:e.value};async function ZOe(e,t){const n={async:!0};return AY(await e._zod.run({value:t,issues:[]},n),n)}function IY(e){return{validate:t=>{const n={async:!1};try{const r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return AY(r,n)}catch{}return ZOe(e,t)},vendor:"zod",version:1}}const L_=nt("$ZodString",(e,t)=>{ii.init(e,t),e._zod.pattern=t.pattern??OOe,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),Gr=nt("$ZodStringFormat",(e,t)=>{LC.init(e,t),L_.init(e,t)}),QOe=nt("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=gOe),Gr.init(e,t)}),XOe=nt("$ZodUUID",(e,t)=>{if(t.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=BV(r))}else t.pattern??(t.pattern=BV());Gr.init(e,t)}),ePe=nt("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=vOe),Gr.init(e,t)}),wY=1,EE=2;function NY(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function tPe(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?NY(e)||EE:nPe(e,t)}function nPe(e,t){if(!t.normalize&&t.protocol?.source===IOe.source&&!/^https?:\/\//i.test(e))return wY;try{if(typeof URL<"u"){const n=URL;if(typeof n.parse=="function")return n.parse(e)??EE}return new URL(e)}catch{return EE}}const rPe=/[\t\n\r]/g;function jV(e){return e.replace(rPe,"")}function iPe(e,t){return t.lastIndex=0,t.test(e.hostname)}function oPe(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}const aPe=nt("$ZodURL",(e,t)=>{Gr.init(e,t),e._zod.check=n=>{try{const r=n.value.trim(),i=tPe(r,t);
209if(i===wY){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(i===EE){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(i===!0){n.value=jV(r);return}t.hostname&&!iPe(i,t.hostname)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!oPe(i,t.protocol)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?i.href:jV(r);return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),sPe=nt("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=kOe()),Gr.init(e,t)}),lPe=nt("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?pOe:mOe(t.length)),Gr.init(e,t)}),uPe=nt("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=lOe),Gr.init(e,t)}),cPe=nt("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=uOe),Gr.init(e,t)}),dPe=nt("$ZodULID",(e,t)=>{t.pattern??(t.pattern=cOe),Gr.init(e,t)}),fPe=nt("$ZodXID",(e,t)=>{t.pattern??(t.pattern=dOe),Gr.init(e,t)}),pPe=nt("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=fOe),Gr.init(e,t)}),mPe=nt("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=LOe(t)),Gr.init(e,t)}),hPe=nt("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=ROe),Gr.init(e,t)}),gPe=nt("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=xOe(t)),Gr.init(e,t)}),vPe=nt("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=hOe),Gr.init(e,t)}),yPe=nt("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=bOe),Gr.init(e,t)}),kPe=/^[0-9a-fA-F:.]+$/;function RY(e){return kPe.test(e)?NY(`http://[${e}]`):!1}const bPe=nt("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=SOe),Gr.init(e,t),e._zod.check=n=>{RY(n.value)||n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}),SPe=nt("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=EOe),Gr.init(e,t)});function EPe(e){const t=e.split("/");if(t.length!==2)return!1;const[n,r]=t;if(!r)return!1;const i=Number(r);return`${i}`!==r||i<0||i>128?!1:RY(n)}const TPe=nt("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=TOe),Gr.init(e,t),e._zod.check=n=>{EPe(n.value)||n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function xY(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const LY=/^[0-9a-zA-Z+/]*={0,2}$/,CPe=nt("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=LY),Gr.init(e,t),e._zod.check=n=>{xY(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),O_=/^[A-Za-z0-9_-]*$/;function APe(e){if(!O_.test(e))return!1;const t=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return xY(n)}const IPe=nt("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=O_),Gr.init(e,t),e._zod.check=n=>{APe(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),wPe=nt("$ZodE164",(e,t)=>{t.pattern??(t.pattern=wOe),Gr.init(e,t)});function NPe(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const i=JSON.parse(atob(r));return!("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))}catch{return!1}}const RPe=nt("$ZodJWT",(e,t)=>{Gr.init(e,t),e._zod.check=n=>{NPe(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),OY=nt("$ZodNumber",(e,t)=>{ii.init(e,t),e._zod.pattern=POe,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const i=n.value;if(typeof i=="number"&&!Number.isNaN(i)&&Number.isFinite(i))return n;const o=typeof i=="number"?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:String(i):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...o?{received:o}:{}}),n}}),xPe=nt("$ZodNumberFormat",(e,t)=>{UOe.init(e,t),OY.init(e,t)}),LPe=nt("$ZodBoolean",(e,t)=>{ii.init(e,t),e._zod.pattern=_Oe,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const i=n.value;return typeof i=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),n}}),OPe=nt("$ZodUnknown",(e,t)=>{ii.init(e,t),e._zod.parse=n=>n}),PPe=nt("$ZodNever",(e,t)=>{ii.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}
209),_Pe=nt("$ZodDate",(e,t)=>{ii.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}const i=n.value,o=i instanceof Date;return o&&!Number.isNaN(i.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:i,...o?{received:"Invalid Date"}:{},inst:e}),n}});function zV(e,t,n){e.issues.length&&t.issues.push(...yY(n,e.issues)),t.value[n]=e.value}const DPe=nt("$ZodArray",(e,t)=>{ii.init(e,t);const n=ql.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{const o=r.value;if(!Array.isArray(o))return r.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),r;r.value=n?n.alloc(e,r,Array(o.length),i):Array(o.length);const a=[],s=i?.abortEarly;for(let l=0;l<o.length;l++){const u=o[l],c=t.element._zod.run({value:u,issues:[]},i);if(c instanceof Promise)a.push(c.then(f=>zV(f,r,l)));else if(zV(c,r,l),s&&c.issues.length!==0&&wu(c))break}return a.length?Promise.all(a).then(()=>r):r}});function TE(e,t,n,r,i,o){const a=n in r,s=o==="optional";if(!(!a&&s&&i==="optional")){if(e.issues.length){if(i!==void 0&&s&&!a)return;t.issues.push(...yY(n,e.issues))}if(!a&&i===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?(a||i==="defaulted"&&!s)&&(t.value[n]=void 0):t.value[n]=e.value}}const MPe=[];function PY(e){const t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:MPe,i=r.length?[...t,...r]:t;for(const a of i)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(a)}": expected a Zod schema`);const o=ELe(e.shape);return{...e,allKeys:i,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(o)}}function _Y(e,t,n,r,i,o,a){const s=[],l=i.keySet,u=i.catchall._zod,c=u.def.type,f=u.optin,p=u.optout;let v=0;for(const g in t){if(a&&n.issues.length!==v){if(wu(n,v))break;v=n.issues.length}if(l.has(g))continue;if(g==="__proto__"){c==="never"&&s.push(g);continue}if(c==="never"){s.push(g);continue}const y=u.run({value:t[g],issues:[]},r);y instanceof Promise?e.push(y.then(k=>TE(k,n,g,t,f,p))):TE(y,n,g,t,f,p)}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:o,continue:!0}),e.length?Promise.all(e).then(()=>n):n}const FPe=nt("$ZodObject",(e,t)=>{ii.init(e,t);const n=Object.getOwnPropertyDescriptor(t,"shape"),r=n?.get?n.get.raw:t.shape??{};if(r){const u=()=>{const c={...r};return Object.defineProperty(t,"shape",{value:c}),u.raw=c,c};u.raw=r,Object.defineProperty(t,"shape",{get:u})}const i=S_(()=>PY(t));cr(e,"propValues",u=>{const c=u.def.shape,f={};for(const p in c){const v=c[p]._zod;if(v.values){Object.prototype.hasOwnProperty.call(f,p)||lp(f,p,new Set);for(const g of v.values)f[p].add(g);v.optin!==void 0&&f[p].add(void 0)}}return f});const o=bE,a=t.catchall;let s;const l=ql.memoizer;l?.attach(e),e._zod.parse=(u,c)=>{s??(s=i.value);const f=u.value;if(!o(f))return u.issues.push({expected:"object",code:"invalid_type",input:f,inst:e}),u;u.value=l?l.alloc(e,u,{},c):{};const p=[],v=s.shape,g=c?.abortEarly;let y=u.issues.length;for(const k of s.allKeys){if(g&&u.issues.length!==y){if(wu(u,y))break;y=u.issues.length}if(k==="__proto__")continue;const E=v[k],S=E._zod.optin,T=E._zod.optout,I=E._zod.run({value:f[k],issues:[]},c);I instanceof Promise?p.push(I.then(A=>TE(A,u,k,f,S,T))):TE(I,u,k,f,S,T)}return a?_Y(p,f,u,c,i.value,e,g===!0):p.length?Promise.all(p).then(()=>u):u}}),UPe=nt("$ZodObjectJIT",(e,t)=>{FPe.init(e,t);const n=e._zod.parse,r=S_(()=>PY(t)),i=ql.memoizer,o=v=>{const g=r.value,y=g.symbolKeys,k=new $Oe(["payload","ctx"],{shape:v,inst:e,memo:i,syms:y}),E=A=>`shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`,S=(A,w)=>` 210 let ${A}_ab = false; 211 for (let i = 0; i < ${A}.issues.length; i++) { 212 const iss = ${A}.issues[i]; 213 iss.path = iss.path ? [${w}, ...iss.path] : [${w}]; 214 payload.issues.push(iss); 215 if (iss.continue !== true) ${A}_ab = true; 216 } 217 if (${A}_ab && ctx && ctx.abortEarly) { 218 payload.value = newResult; 219 return payload; 220 }`;k.write("const input = payload.value;");const T=Object.create(null);let I=0;
220for(const A of g.allKeys)T[A]=`key_${I++}`;k.write(i?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(const A of g.allKeys){if(A==="__proto__")continue;const w=T[A],R=typeof A=="symbol"?`syms[${y.indexOf(A)}]`:yLe(A),x=`${R} in input`,D=v[A],M=D?._zod?.optin,F=M!==void 0,L=D?._zod?.optout==="optional";if(k.write(`const ${w} = ${E(R)};`),F&&L){const P=M==="optional"?`${w}_present`:`${w}.value !== undefined || ${w}_present`;k.write(` 221 const ${w}_present = ${x}; 222 if (!${w}.issues.length || ${w}_present) { 223 if (${w}.issues.length) {${S(w,R)} 224 } 225 226 if (${P}) { 227 newResult[${R}] = ${w}.value; 228 } 229 } 230 231 `)}else F?(k.write(` 232 if (${w}.issues.length) {${S(w,R)} 233 } 234 `),M==="defaulted"?k.write(`newResult[${R}] = ${w}.value;`):k.write(` 235 if (${w}.value !== undefined || ${x}) { 236 newResult[${R}] = ${w}.value; 237 } 238 `)):k.write(` 239 const ${w}_present = ${x}; 240 if (${w}.issues.length) {${S(w,R)} 241 } 242 if (!${w}_present && !${w}.issues.length) { 243 payload.issues.push({ 244 code: "invalid_type", 245 expected: "nonoptional", 246 input: undefined, 247 path: [${R}] 248 }); 249 if (ctx && ctx.abortEarly) { 250 payload.value = newResult; 251 return payload; 252 } 253 } 254 255 if (${w}_present) { 256 newResult[${R}] = ${w}.value; 257 } 258 259 `)}return k.write("payload.value = newResult;"),k.write("return payload;"),k.compile()};let a;const s=bE,l=!ql.jitless,c=l&&bLe.value,f=t.catchall;let p;e._zod.parse=(v,g)=>{p??(p=r.value);const y=v.value;return s(y)?l&&c&&g?.async===!1&&g.jitless!==!0?(a||(a=o(t.shape)),v=a(v,g),f?_Y([],y,v,g,p,e,g?.abortEarly===!0):v):n(v,g):(v.issues.push({expected:"object",code:"invalid_type",input:y,inst:e}),v)}});function HV(e,t,n,r){for(const o of e)if(o.issues.length===0)return t.value=o.value,t;const i=e.filter(o=>!wu(o));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(a=>Mh(a,r,kd())))}),t)}const VPe=nt("$ZodUnion",(e,t)=>{ii.init(e,t),cr(e,"optin",r=>r.def.options.some(i=>i._zod.optin==="defaulted")?"defaulted":r.def.options.some(i=>i._zod.optin!==void 0)?"optional":void 0),cr(e,"optout",r=>r.def.options.some(i=>i._zod.optout==="optional")?"optional":void 0),cr(e,"values",r=>{if(r.def.options.every(i=>i._zod.values))return new Set(r.def.options.flatMap(i=>Array.from(i._zod.values)))}),cr(e,"pattern",r=>{if(r.def.options.every(i=>i._zod.pattern)){const i=r.def.options.map(o=>o._zod.pattern);return new RegExp(`^(${i.map(o=>E_(o.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let o=!1;const a=[];for(const s of t.options){const l=s._zod.run({value:r.value,issues:[]},i);if(l instanceof Promise)a.push(l),o=!0;else{if(l.issues.length===0)return l;a.push(l)}}return o?Promise.all(a).then(s=>HV(s,r,e,i)):HV(a,r,e,i)}}),BPe=nt("$ZodIntersection",(e,t)=>{ii.init(e,t),e._zod.parse=(n,r)=>{const i=n.value,o=t.left._zod.run({value:i,issues:[]},r),a=t.right._zod.run({value:i,issues:[]},r);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([l,u])=>WV(n,l,u)):WV(n,o,a)}});function g1(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(my(e)&&my(t)){const n=Object.keys(t),r=Object.keys(e).filter(o=>n.indexOf(o)!==-1),i={...e,...t};Object.prototype.hasOwnProperty.call(i,"__proto__")&&delete i.__proto__;for(const o of r){if(o==="__proto__")continue;const a=g1(e[o],t[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};i[o]=a.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const i=e[r],o=t[r],a=g1(i,o);if(!a.valid)return{valid:!1,mergeErrorPath:[r,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}
259function WV(e,t,n){const r=new Map;let i;const o=new Map,a=(u,c)=>{let f;if(u.code==="unrecognized_keys"&&!u.path?.length)i??(i=u),f=u.keys;else if(u.code==="invalid_key"&&u.origin==="record"&&u.path?.length===1){const p=String(u.path[0]);o.has(p)||o.set(p,u),f=[p]}else return!1;for(const p of f)r.has(p)||r.set(p,{}),r.get(p)[c]=!0;return!0};for(const u of t.issues)a(u,"l")||e.issues.push(u);for(const u of n.issues)a(u,"r")||e.issues.push(u);const s=[...r].filter(([,u])=>u.l&&u.r).map(([u])=>u);if(s.length){const u=i?s.filter(c=>i.keys.includes(c)):[];u.length&&e.issues.push({...i,keys:u});for(const c of s)!u.includes(c)&&o.has(c)&&e.issues.push(o.get(c))}const l=g1(t.value,n.value);if(!l.valid){if(wu(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`)}return e.value=l.data,e}const jPe=nt("$ZodEnum",(e,t)=>{ii.init(e,t);const n=p1(t.entries),r=new Set(n);e._zod.values=r,cr(e,"pattern",i=>{const o=p1(i.def.entries).filter(a=>SLe.has(typeof a));return new RegExp(o.length?`^(${o.map(a=>uh(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(i,o)=>{const a=i.value;return r.has(a)||i.issues.push({code:"invalid_value",values:n,input:a,inst:e}),i}}),zPe=nt("$ZodLiteral",(e,t)=>{ii.init(e,t);const n=new Set(t.values);e._zod.values=n,cr(e,"pattern",r=>{const i=r.def.values;return new RegExp(i.length?`^(${i.map(o=>typeof o=="string"?uh(o):o?uh(o.toString()):String(o)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(r,i)=>{const o=r.value;return n.has(o)||r.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),r}}),HPe=nt("$ZodTransform",(e,t)=>{ii.init(e,t),e._zod.optin="optional",ql.memoizer?.guard(e),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new bY(e.constructor.name);const i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(a=>(n.value=a,n));if(i instanceof Promise)throw new Af;return n.value=i,n}});function qV(e,t){return e.value=t.issues.length?void 0:t.value,e}const DY=nt("$ZodOptional",(e,t)=>{ii.init(e,t),cr(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",cr(e,"values",n=>{const r=n.def.innerType._zod.values;return r?new Set([...r,void 0]):void 0}),cr(e,"pattern",n=>{const r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${E_(r.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(n.value===void 0){if(t.innerType._zod.optin!=="defaulted")return n;const i=t.innerType._zod.run({value:n.value,issues:[]},r);return i instanceof Promise?i.then(o=>qV(n,o)):qV(n,i)}return t.innerType._zod.run(n,r)}}),WPe=nt("$ZodExactOptional",(e,t)=>{DY.init(e,t),cr(e,"values",n=>n.def.innerType._zod.values),cr(e,"pattern",n=>n.def.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),qPe=nt("$ZodNullable",(e,t)=>{ii.init(e,t),cr(e,"optin",n=>n.def.innerType._zod.optin),cr(e,"optout",n=>n.def.innerType._zod.optout),cr(e,"pattern",n=>{const r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${E_(r.source)}|null)$`):void 0}),cr(e,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r)}),GPe=nt("$ZodDefault",(e,t)=>{ii.init(e,t),e._zod.optin="defaulted",cr(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;const i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(o=>GV(o,t)):GV(i,t)}});function GV(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const KPe=nt("$ZodPrefault",(e,t)=>{ii.init(e,t),e._zod.optin="defaulted",cr(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r))}),YPe=nt("$ZodNonOptional",(e,t)=>{ii.init(e,t),cr(e,"values",n=>{const r=n.def.innerType._zod.values;return r?new Set([...r].filter(i=>i!==void 0)):void 0}),e._zod.parse=(n,r)=>{const i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(o=>KV(o,e)):KV(i,e)}});function KV(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}
259function YV(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(i=>Mh(i,r,kd()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}const $Pe=nt("$ZodCatch",(e,t)=>{ii.init(e,t),cr(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),cr(e,"optout",n=>n.def.innerType._zod.optout),cr(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const i=t.innerType._zod.run({value:n.value,issues:[]},r);return i instanceof Promise?i.then(o=>YV(n,o,t,r)):YV(n,i,t,r)}}),JPe=nt("$ZodPipe",(e,t)=>{ii.init(e,t),cr(e,"values",n=>n.def.in._zod.values),cr(e,"optin",n=>n.def.in._zod.optin),cr(e,"optout",n=>n.def.out._zod.optout),cr(e,"propValues",n=>n.def.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){const o=t.out._zod.run(n,r);return o instanceof Promise?o.then(a=>t0(a,t.in,r)):t0(o,t.in,r)}const i=t.in._zod.run(n,r);return i instanceof Promise?i.then(o=>t0(o,t.out,r)):t0(i,t.out,r)}});function t0(e,t,n){return e.issues.some(r=>r.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}const ZPe=nt("$ZodReadonly",(e,t)=>{ii.init(e,t),cr(e,"propValues",n=>n.def.innerType._zod.propValues),cr(e,"values",n=>n.def.innerType._zod.values),cr(e,"optin",n=>n.def.innerType?._zod?.optin),cr(e,"optout",n=>n.def.innerType?._zod?.optout),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then($V):$V(i)}});function $V(e){return e.memo||(e.value=Object.freeze(e.value)),e}const QPe=nt("$ZodCustom",(e,t)=>{va.init(e,t),ii.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{const r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(o=>JV(o,n,r,e));JV(i,n,r,e)}});function JV(e,t,n,r){if(!e){const i={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(i.params=r._zod.def.params),t.issues.push(hy(i))}}class XPe extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}}const v1="~memo",ZV=[];function MY(e){return e!==null&&typeof e=="object"}function xN(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}const FY=new WeakMap,kv=0,hS=1,Bv=2;function gS(e,t,n){const r=FY.get(e);if(r!==void 0)return r?Bv:kv;if(t.has(e))return Bv;t.add(e);let i=kv;const o=c=>{if(i!==Bv&&c?._zod){const f=gS(c,t);f>i&&(i=f)}},a=(c,f)=>{let p=kv;for(const v of Reflect.ownKeys(c)){const g=Object.getOwnPropertyDescriptor(c,v);if(!g.enumerable)continue;const y=g.get?hS:g.value?._zod?gS(g.value,t):kv;y>p&&(p=y)}return p},s=c=>{c>i&&(i=c)},l=e._zod.def;switch(l.type){case"object":{const c=cY(l);s(c?a(c):hS),o(l.catchall);break}case"array":o(l.element);break;case"tuple":for(const c of l.items)o(c);o(l.rest);break;case"record":case"map":o(l.keyType),o(l.valueType);break;case"set":o(l.valueType);break;case"union":for(const c of l.options)o(c);break;case"intersection":o(l.left),o(l.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":o(l.innerType);break;case"pipe":o(l.in),o(l.out);break;case"function":o(l.input),o(l.output);break;case"lazy":{const c=l._cachedInner??void 0;s(c?gS(c,t):hS);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(const c in l){const f=Object.getOwnPropertyDescriptor(l,c);if(!f||f.get)continue;const p=f.value;if(!(!p||typeof p!="object")){if(p._zod)o(p);else if(Array.isArray(p))for(const v of p)o(v)}}}return t.delete(e),e_e(e,i)}function e_e(e,t){return t!==hS&&FY.set(e,t===Bv),t}function t_e(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}let n0;const r0=[],n_e={alloc(e,t,n){const r=n0;if(!r)return n;n0=void 0;const i={value:n,issues:null};return r.set(t.value,i),r0.push(i),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const n=e._zod.parse,r=(i,o)=>
259{if(o.direction!=="backward"&&i_e(o,i.value))throw new XPe;return n(i,o)};e._zod.parse=r,e._zod.run===n&&(e._zod.run=r)})},attach(e){var t;let n,r=!1,i,o;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const a=e._zod.parse,s=(l,u)=>{if(n===void 0){const E=gS(e,new Set);if(E===kv)return e._zod.parse=a,e._zod.run===s&&(e._zod.run=a),a(l,u);E===Bv||r?n=!0:r=!0}const c=l.value;if(!MY(c))return a(l,u);let f=u[v1];f||(f={buckets:new WeakMap,backEdges:void 0},u[v1]=f);let p;i===u?p=o:(p=t_e(f,e),i=u,o=p);const v=p.get(c);if(v)return l.value=v.value,v.issues?v.issues.length&&l.issues.push(...xN(v.issues)):(l.memo=!0,f.backEdges??(f.backEdges=new WeakSet),f.backEdges.add(v.value)),l;n0=p;const g=r0.length,y=a(l,u);n0=void 0;const k=r0.length>g?r0.pop():void 0;return y instanceof Promise?y.then(E=>(k&&(k.issues=E.issues.length?xN(E.issues):ZV),E)):(k&&(k.issues=y.issues.length?xN(y.issues):ZV),y)};e._zod.parse=s,e._zod.run===a&&(e._zod.run=s)})}};function r_e(){return n_e}function i_e(e,t){const n=e[v1]?.backEdges;return n!==void 0&&MY(t)&&n.has(t)}const o_e=()=>{const e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(o){return e[o]??null}const n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},r={nan:"NaN"};function i(o,a){return o==="number"&&typeof a=="number"&&!Number.isFinite(a)?String(a):r[o]??o}return o=>{switch(o.code){case"invalid_type":{const a=i(o.expected),s=OLe(o.input),l=i(s,o.input);return`Invalid input: expected ${a}, received ${l}`}case"invalid_value":return o.values.length===1?`Invalid input: expected ${hY(o.values[0])}`:`Invalid option: expected one of ${_V(o.values,"|")}`;case"too_big":{const a=o.exact?"exactly ":o.inclusive?"<=":"<",s=t(o.origin);return s?`Too big: expected ${o.origin??"value"} to have ${a}${o.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${o.origin??"value"} to be ${a}${o.maximum.toString()}`}case"too_small":{const a=o.exact?"exactly ":o.inclusive?">=":">",s=t(o.origin);return s?`Too small: expected ${o.origin} to have ${a}${o.minimum.toString()} ${s.unit}`:`Too small: expected ${o.origin} to be ${a}${o.minimum.toString()}`}case"invalid_format":{const a=o;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${n[a.format]??o.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${o.divisor}`;case"unrecognized_keys":return`Unrecognized key${o.keys.length>1?"s":""}: ${_V(o.keys,", ")}`;case"invalid_key":return`Invalid key in ${o.origin}`;case"invalid_union":return o.options&&Array.isArray(o.options)&&o.options.length>0?`Invalid discriminator value. Expected ${o.options.map(s=>`'${s}'`).join(" | ")}`:o.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${o.origin}`;default:return"Invalid input"}}};function a_e(){return{localeError:o_e()}}var QV;class s_e{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const i={...r,...this._map.get(t)};return Object.keys(i).length?i:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function l_e(){return new s_e}(QV=globalThis).__zod_globalRegistry??(QV.__zod_globalRegistry=l_e());const bv=globalThis.__zod_globalRegistry;function UY(e){return e.checks&&(e.checks=[...e.checks]),e}function u_e(e,t){return new e(UY({type:"string",...on(t)}))}function VY(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...on(t)})}function c_e(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...on(t)})}
vendor: 4,625 bytes, line 259
259function d_e(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...on(t)})}function f_e(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...on(t)})}function p_e(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...on(t)})}function m_e(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...on(t)})}function BY(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...on(t)})}function h_e(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...on(t)})}function g_e(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...on(t)})}function v_e(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...on(t)})}function y_e(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...on(t)})}function k_e(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...on(t)})}function b_e(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...on(t)})}function S_e(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...on(t)})}function E_e(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...on(t)})}function T_e(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...on(t)})}function C_e(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...on(t)})}function A_e(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...on(t)})}function I_e(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...on(t)})}function w_e(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...on(t)})}function N_e(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...on(t)})}function R_e(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...on(t)})}function x_e(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...on(t)})}function L_e(e,t){return new e({type:"string",format:"date",check:"string_format",...on(t)})}function O_e(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...on(t)})}function P_e(e,t){return new e({type:"string",format:"duration",check:"string_format",...on(t)})}function __e(e,t){return new e(UY({type:"number",checks:[],...on(t)}))}function D_e(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...on(t)})}function M_e(e,t){return new e({type:"boolean",...on(t)})}function F_e(e){return new e({type:"unknown"})}function U_e(e,t){return new e({type:"never",...on(t)})}function V_e(e,t){return new e({type:"date",...on(t)})}function XV(e,t){return new TY({check:"less_than",...on(t),value:e,inclusive:!1})}function vS(e,t){return new TY({check:"less_than",...on(t),value:e,inclusive:!0})}function eB(e,t){return new CY({check:"greater_than",...on(t),value:e,inclusive:!1})}function yS(e,t){return new CY({check:"greater_than",...on(t),value:e,inclusive:!0})}function tB(e,t){return new FOe({check:"multiple_of",...on(t),value:e})}function jY(e,t){return new VOe({check:"max_length",...on(t),maximum:e})}function CE(e,t){return new BOe({check:"min_length",...on(t),minimum:e})}function zY(e,t){return new jOe({check:"length_equals",...on(t),length:e})}function B_e(e,t){return new zOe({check:"string_format",format:"regex",...on(t),pattern:e})}function j_e(e){return new HOe({check:"string_format",format:"lowercase",...on(e)})}function z_e(e){return new WOe({check:"string_format",format:"uppercase",...on(e)})}function H_e(e,t){return new qOe({check:"string_format",format:"includes",...on(t),includes:e})}function W_e(e,t){return new GOe({check:"string_format",format:"starts_with",...on(t),prefix:e})}function q_e(e,t){return new KOe({check:"string_format",format:"ends_with",...on(t),suffix:e})}function Fh(e){return new YOe({check:"overwrite",tx:e})}function G_e(e){return Fh(t=>t.normalize(e))}function K_e(){return Fh(e=>e.trim())}function Y_e(){return Fh(e=>e.toLowerCase())}function $_e(){return Fh(e=>e.toUpperCase())}function J_e(){return Fh(e=>kLe(e))}function Z_e(e,t,n){return new e({type:"array",element:t,...on(n)})}function Q_e(e,t,n){return new e({type:"custom",check:"custom",fn:t,...on(n)})}function X_e(e,t){const n=eDe(r=>(r.addIssue=i=>{if(typeof i=="string")r.issues.push(hy(i,r.value,n._zod.def));else{const o=i;
259o.fatal&&(o.continue=!1),o.code??(o.code="custom"),"input"in o||(o.input=r.value),o.inst??(o.inst=n),o.continue??(o.continue=!n._zod.def.abort),r.issues.push(hy(o))}},e(r.value,r)),t);return n}function eDe(e,t){const n=new va({check:"custom",...on(t)});return n._zod.check=e,n}function jv(e,...t){for(const n of t)for(const r of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,r)&&lp(e,r,n[r]);return e}function HY(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??bv,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function Uu(e,t,n,r,i){const o=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:r.path,message:i}):t.unrepresentable;if(o==="any")return!1;if(o===void 0||o==="throw")throw new Error(i);return Object.assign(n,o),!0}function go(e,t,n={path:[],schemaPath:[]}){var r;const i=e._zod.def,o=t.seen.get(e);if(o)return o.count++,n.schemaPath.includes(e)&&(o.cycle=n.path),o.schema;const a={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,a),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;const s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{const c={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,c);else{const p=a.schema,v=t.processors[i.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);v(e,t,p,c)}const f=e._zod.parent;f&&(a.ref||(a.ref=f),go(f,t,c),t.seen.get(f).isParent=!0)}const l=t.metadataRegistry.get(e);return l&&jv(a.schema,l),t.io==="input"&&Fo(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&"_prefault"in a.schema&&((r=a.schema).default??(r.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function nB(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function WY(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;const r=new Map;for(const a of e.seen.entries()){const s=e.metadataRegistry.get(a[0])?.id;if(s){const l=r.get(s);if(l&&l!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(s,a[0])}}const i=a=>{const s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const f=e.external.registry.get(a[0])?.id,p=e.external.uri??(g=>g);if(f)return{ref:p(f)};const v=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=v,{defId:v,ref:`${p("__shared")}#/${s}/${nB(v)}`}}const l="#",u=`${l}/${s}/`;if(a[1]===n&&!a[1].schema.id)return{ref:l};const c=a[1].schema.id??`__schema${e.counter++}`;return{defId:c,ref:u+nB(c)}},o=a=>{if(a[1].schema.$ref)return;const s=a[1],{ref:l,defId:u}=i(a);s.def={...s.schema},u&&(s.defId=u);const c=s.schema;for(const f in c)delete c[f];c.$ref=l};if(e.cycles==="throw")for(const a of e.seen.entries()){const s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root> 260 261Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const a of e.seen.entries()){const s=a[1];if(t===a[0]){o(a);continue}if(e.external){const u=e.external.registry.get(a[0])?.id;if(t!==a[0]&&u){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}s.count>1&&e.reused==="ref"&&o(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function qY(e){const t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;const n=[];for(const r of t){if(!r||typeof r!="object")return;qY(r);const i=Object.keys(r);if(i.length!==1||i[0]!=="type")return;const o=r.type;for(const a of Array.isArray(o)?o:[o]){if(typeof a!="string")return;n.includes(a)||n.push(a)}}delete e.anyOf,e.type=n.length===1?n[0]:n}const GY=new Set(["type","properties","required","additionalProperties"]),rB=["oneOf","anyOf"];function iB(e){const t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function y1(e){const t=[];for(const o of e){if(typeof o!="object"||o.type!=="object")return null;for(const a in o)if(!GY.has(a))return null;t.push(o)}const n={},r=new Set;for(const o of t){for(const a in o.properties){if(Object.prototype.hasOwnProperty.call(n,a))continue;const s=[];for(const u of t){const c=u.properties?.[a]??iB(u);c!=null&&(s.some(f=>JSON.stringify(f)===JSON.stringify(c))||s.push(c))}const l=s.length===1?s[0]:y1(s)??{allOf:s};lp(n,a,l)}for(const a of o.required??[])r.add(a)}const i={type:"object",properties:n};if(r.size&&(i.required=[...r]),t.every(o=>o.additionalProperties===!1))i.additionalProperties=!1;else{const o=[];for(const a of t){const s=iB(a);s&&!o.some(l=>JSON.stringify(l)===JSON.stringify(s))&&o.push(s)}o.length===1?i.additionalProperties=o[0]:o.length>1&&(i.additionalProperties={allOf:o})}return i}function tDe(e){const t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(const i of GY)if(i in e)return;const n=t.filter(i=>rB.some(o=>Array.isArray(i[o])));let r=null;if(!n.length)r=y1(t);else{const i=n[0],o=rB.find(l=>Array.isArray(i[l]));if(Object.keys(i).length!==1)return;const a=t.filter(l=>l!==i),s=i[o].map(l=>y1([...a,l]));if(s.some(l=>!l))return;r={[o]:s}}r&&(delete e.allOf,jv(e,r))}function KY(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=s=>{const l=e.seen.get(s);if(l.ref===null)return;const u=l.def??l.schema,c={...u},f=l.ref;if(l.ref=null,f){r(f);const v=e.seen.get(f),g=v.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(g)):jv(u,g),jv(u,c),s._zod.parent===f)for(const k in u)k==="$ref"||k==="allOf"||k in c||delete u[k];if(g.$ref&&v.def)for(const k in u)k==="$ref"||k==="allOf"||k in v.def&&JSON.stringify(u[k])===JSON.stringify(v.def[k])&&delete u[k]}const p=s._zod.parent;if(p&&p!==f){r(p);const v=e.seen.get(p);if(v?.schema.$ref&&(u.$ref=v.schema.$ref,v.def))for(const g in u)g==="$ref"||g==="allOf"||g in v.def&&JSON.stringify(u[g])===JSON.stringify(v.def[g])&&delete u[g]}e.override({zodSchema:s,jsonSchema:u,path:l.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(const s of[...e.seen.entries()].reverse())r(s[0]);if(e.target!=="openapi-3.0")for(const s of e.seen.entries())qY(s[1].def??s[1].schema);for(const s of e.deferred)s();if(e.intersections.length){const s=new Map;for(const l of e.seen.values())for(const u of[l.schema,l.def]){const c=u?.allOf;if(!Array.isArray(c))continue;const f=s.get(c);f?f.push(u):s.set(c,[u])}for(const l of e.intersections)for(const u of s.get(l)??[])tDe(u)}}const i={};
261if(e.target==="draft-2020-12"?i.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?i.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?i.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");i.$id=e.external.uri(s)}jv(i,n.defId?n.schema:n.def??n.schema);const o=e.metadataRegistry.get(t)?.id;o!==void 0&&i.id===o&&delete i.id;const a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(const s of e.seen.entries()){const l=s[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,lp(a,l.defId,l.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?i.$defs=a:i.definitions=a);try{const s=JSON.parse(JSON.stringify(i));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:AE(t,"input",e.processors),output:AE(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function Fo(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return Fo(r.element,n);if(r.type==="set")return Fo(r.valueType,n);if(r.type==="lazy")return Fo(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault"||r.type==="catch")return Fo(r.innerType,n);if(r.type==="intersection")return Fo(r.left,n)||Fo(r.right,n);if(r.type==="record"||r.type==="map")return Fo(r.keyType,n)||Fo(r.valueType,n);if(r.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Fo(r.in,n)||Fo(r.out,n);if(r.type==="object"){for(const i in r.shape)if(Fo(r.shape[i],n))return!0;return!1}if(r.type==="union"){for(const i of r.options)if(Fo(i,n))return!0;return!1}if(r.type==="tuple"){for(const i of r.items)if(Fo(i,n))return!0;return!!(r.rest&&Fo(r.rest,n))}return!1}const nDe=(e,t={})=>n=>{const r=HY({...n,processors:t});return go(e,r),WY(r,e),KY(r,e)},AE=(e,t,n={})=>r=>{const{libraryOptions:i,target:o}=r??{},a=HY({...i??{},target:o,io:t,processors:n});return go(e,a),WY(a,e),KY(a,e)},ch=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},dh=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},oB=(e,t)=>{ch(e,"minimum",t),dh(e,"maximum",t)},YY=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},$Y=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},JY=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},ZY=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},aB=(e,t)=>ch(e,"minimum",t.minimum),sB=(e,t)=>dh(e,"maximum",t.maximum),lB=e=>(t,n)=>{ZY(t,n.format);const[r,i]=e[n.format];ch(t,"minimum",r),dh(t,"maximum",i)},rDe={greater_than:(e,t)=>ch(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>dh(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>YY(e,t.value),number_format:lB(gY),bigint_format:lB(TLe),min_length:aB,max_length:sB,length_equals:(e,t)=>oB(e,t.length),min_size:aB,max_size:sB,size_equals:(e,t)=>oB(e,t.size),string_format:(e,t)=>{ZY(e,t.format),t.pattern&&$Y(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>JY(e,t.mime)};function cs(e){const t={},n=e._zod.def,r=e._zod.traits.has("$ZodCheck")?[e,...n.checks??[]]:n.checks??[];for(const o of r)rDe[o._zod.def.check]?.(t,o._zod.def);const i=e._zod.bag;i.minimum!==void 0&&ch(t,"minimum",i.minimum),i.exclusiveMinimum!==void 0&&ch(t,"exclusiveMinimum",i.exclusiveMinimum),i.maximum!==void 0&&dh(t,"maximum",i.maximum),i.exclusiveMaximum!==void 0&&dh(t,"exclusiveMaximum",i.exclusiveMaximum),i.multipleOf!==void 0&&YY(t,i.multipleOf),i.format!==void 0&&(t.format??(t.format=i.format),i.format.includes("int")&&(t.isInt=!0)),i.mime&&JY(t,i.mime);for(const o of i.patterns??[])$Y(t,o);return t}const iDe={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},oDe=new Map([[LY,COe],[O_,AOe]]),aDe=e=>oDe.get(e)??e,sDe=(e,t,n,r)=>{const i=n;i.type="string";const{minimum:o,maximum:a,format:s,patterns:l,contentEncoding:u,laxFormat:c}=cs(e);if(typeof o=="number"&&(i.minLength=o),typeof a=="number"&&(i.maxLength=a),s&&(i.format=iDe[s]??s,i.format===""&&delete i.format,(s==="time"||c)&&delete i.format),u&&(i.contentEncoding=u),l&&l.size>0){const f=[...l].map(aDe);f.length===1?i.pattern=f[0].source:f.length>1&&(i.allOf=[...f.map(p=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},lDe=(e,t,n,r)=>{const i=n,{minimum:o,maximum:a,multipleOf:s,exclusiveMaximum:l,exclusiveMinimum:u,isInt:c}=cs(e);i.type=c?"integer":"number";const f=typeof u=="number"&&u>=(o??Number.NEGATIVE_INFINITY),p=typeof l=="number"&&l<=(a??Number.POSITIVE_INFINITY),v=t.target==="draft-04"||t.target==="openapi-3.0";if(f?v?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof o=="number"&&(i.minimum=o),p?v?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof a=="number"&&(i.maximum=a),s){const g=new Set;for(const E of s)Number.isFinite(E)&&E!==0?g.add(Math.abs(E)):Uu(e,t,i,r,`A multipleOf divisor of ${E} cannot be represented in JSON Schema`);const[y,...k]=g;y!==void 0&&(i.multipleOf=y),k.length&&(i.allOf=[...i.allOf??[],...k.map(E=>({multipleOf:E}))])}},uDe=(e,t,n,r)=>{n.type="boolean"},cDe=(e,t,n,r)=>{n.not={}},dDe=(e,t,n,r)=>{},fDe=(e,t,n,r)=>{Uu(e,t,n,r,"Date cannot be represented in JSON Schema")},pDe=(e,t,n,r)=>{const i=e._zod.def,o=p1(i.entries);if(o.length===0){n.not={};return}o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>
261typeof a=="string")&&(n.type="string"),n.enum=o},mDe=(e,t,n,r)=>{const i=e._zod.def;if(i.values.length===0){n.not={};return}const o=[];for(const a of i.values)if(a===void 0){if(Uu(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(Uu(e,t,n,r,"BigInt literals cannot be represented in JSON Schema"))return;o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){const a=o[0];n.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[a]:n.const=a}else o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),o.every(a=>typeof a=="boolean")&&(n.type="boolean"),o.every(a=>a===null)&&(n.type="null"),n.enum=o},hDe=(e,t,n,r)=>{Uu(e,t,n,r,"Custom types cannot be represented in JSON Schema")},gDe=(e,t,n,r)=>{Uu(e,t,n,r,"Transforms cannot be represented in JSON Schema")},vDe=(e,t,n,r)=>{const i=n,o=e._zod.def,{minimum:a,maximum:s}=cs(e);typeof a=="number"&&(i.minItems=a),typeof s=="number"&&(i.maxItems=s),i.type="array",i.items=go(o.element,t,{...r,path:[...r.path,"items"]})};function k1(e){const t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?k1(t.out):t.type==="catch"?k1(t.innerType):e._zod.optin}const yDe=(e,t,n,r)=>{const i=n,o=e._zod.def,a=o.shape;if(Object.getOwnPropertySymbols(a).length&&Uu(e,t,i,r,"Symbol keys cannot be represented in JSON Schema"))return;i.type="object",i.properties={};for(const u in a)lp(i.properties,u,go(a[u],t,{...r,path:[...r.path,"properties",u]}));const l=[];for(const u of Object.keys(a)){const c=o.shape[u];(t.io==="input"?k1(c)===void 0:c._zod.optout===void 0)&&l.push(u)}l.length>0&&(i.required=l),o.catchall?._zod.def.type==="never"?i.additionalProperties=!1:o.catchall?o.catchall&&(i.additionalProperties=go(o.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(i.additionalProperties=!1)},kDe=(e,t,n,r)=>{const i=e._zod.def,o=i.inclusive===!1,a=i.options.map((s,l)=>go(s,t,{...r,path:[...r.path,o?"oneOf":"anyOf",l]}));o?n.oneOf=a:n.anyOf=a},bDe=(e,t,n,r)=>{const i=e._zod.def,o=go(i.left,t,{...r,path:[...r.path,"allOf",0]}),a=go(i.right,t,{...r,path:[...r.path,"allOf",1]}),s=u=>"allOf"in u&&Object.keys(u).length===1,l=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];n.allOf=l,t.intersections.push(l)},SDe=(e,t,n,r)=>{const i=e._zod.def,o=go(i.innerType,t,r),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=i.innerType,n.nullable=!0):n.anyOf=[o,{type:"null"}]},EDe=(e,t,n,r)=>{const i=e._zod.def;go(i.innerType,t,r);const o=t.seen.get(e);o.ref=i.innerType},P_=Symbol();function QY(e,t,n,r,i){let o=!1;const a=JSON.stringify(e,(s,l)=>typeof l!="bigint"?l:(o=!0,null));return o?(Uu(t,n,r,i,"BigInt defaults cannot be represented in JSON Schema"),P_):JSON.parse(a)}const TDe=(e,t,n,r)=>{const i=e._zod.def;go(i.innerType,t,r);const o=t.seen.get(e);o.ref=i.innerType;const a=QY(i.defaultValue,e,t,n,r);a!==P_&&(n.default=a)},CDe=(e,t,n,r)=>{const i=e._zod.def;go(i.innerType,t,r);const o=t.seen.get(e);if(o.ref=i.innerType,t.io!=="input")return;const a=QY(i.defaultValue,e,t,n,r);a!==P_&&(n._prefault=a)},ADe=(e,t,n,r)=>{const i=e._zod.def;go(i.innerType,t,r);const o=t.seen.get(e);o.ref=i.innerType;let a;try{a=i.catchValue(void 0)}catch{Uu(e,t,n,r,"Dynamic catch values are not supported in JSON Schema");return}n.default=a},IDe=(e,t,n,r)=>{const i=e._zod.def,o=i.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?o?i.out:i.in:i.out;go(a,t,r);const s=t.seen.get(e);s.ref=a},wDe=(e,t,n,r)=>{const i=e._zod.def;go(i.innerType,t,r);const o=t.seen.get(e);o.ref=i.innerType,n.readOnly=!0},XY=(e,t,n,r)=>{const i=e._zod.def;go(i.innerType,t,r);const o=t.seen.get(e);o.ref=i.innerType},uB=new WeakSet([Object.prototype,Error.prototype]);function i0(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){const r=n(this);return Object.defineProperty(this,t,{value:r,configurable:!0,writable:!0}),r},set(r){Object.defineProperty(this,t,{value:r,configurable:!0,writable:!0})}})}const NDe=(e,t)=>{qLe.init(e,t),e.name="ZodError";const n=Object.getPrototypeOf(e);uB.has(n)||(uB.add(n),i0(n,"format",r=>i=>YLe(r,i)),i0(n,"flatten",r=>i=>KLe(r,i)),i0(n,"addIssue",r=>i=>{r.issues.push(i),r.message=JSON.stringify(r.issues,m1,2)}),i0(n,"addIssues",r=>i=>{r.issues.push(...i),r.message=JSON.stringify(r.issues,m1,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},Ls=nt("ZodError",NDe,void 0,{Parent:Error}),RDe=I_(Ls),xDe=w_(Ls),LDe=N_(Ls),ODe=R_(Ls),PDe=eOe(Ls),_De=tOe(Ls),DDe=nOe(Ls),MDe=rOe(Ls),FDe=iOe(Ls),UDe=oOe(Ls),VDe=
vendor: 5,197 bytes, line 261
261aOe(Ls),BDe=sOe(Ls);function jDe(){ql.localeError||kd(a_e())}function __(){ql.memoizer||kd({memoizer:r_e()})}const oi=nt("ZodType",(e,t)=>(jDe(),ii.init(e,t),e.def=t,e.type=t.type,e),{check(...e){const t=this.def;return this.clone(La(t,{checks:[...t.checks??[],...e.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return yd(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(BMe(e,t))},superRefine(e,t){return this.check(jMe(e,t))},overwrite(e){return this.check(Fh(e))},optional(){return fB(this)},exactOptional(){return wMe(this)},nullable(){return pB(this)},nullish(){return fB(pB(this))},nonoptional(e){return PMe(this,e)},array(){return vMe(this)},or(e){return bMe([this,e])},and(e){return EMe(this,e)},transform(e){return mB(this,IMe(e))},default(e){return xMe(this,e)},prefault(e){return OMe(this,e)},catch(e){return DMe(this,e)},pipe(e){return mB(this,e)},readonly(){return UMe(this)},describe(e){const t=this.clone();return bv.add(t,{description:e}),t},meta(...e){if(e.length===0)return bv.get(this);const t=this.clone();return bv.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return kY(this,"~standard",{...IY(this),jsonSchema:{input:AE(this,"input"),output:AE(this,"output")}})},set"~standard"(e){rd(this,"~standard",e)},parse:function e(t,n){return RDe(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await xDe(this,t,n,{callee:e})},safeParse(e,t){return LDe(this,e,t)},async safeParseAsync(e,t){return ODe(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){rd(this,"spa",e)},validate(e,t){return ZLe(this,e,t)},validateAsync(e,t){return XLe(this,e,t)},encode:function e(t,n){return PDe(this,t,n,{callee:e})},decode:function e(t,n){return _De(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await DDe(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await MDe(this,t,n,{callee:e})},safeEncode(e,t){return FDe(this,e,t)},safeDecode(e,t){return UDe(this,e,t)},async safeEncodeAsync(e,t){return VDe(this,e,t)},async safeDecodeAsync(e,t){return BDe(this,e,t)},toJSONSchema(e){return nDe(this,{})(e)},get description(){return bv.get(this)?.description},get _def(){return this._zod.def}}),e$=nt("_ZodString",(e,t)=>{L_.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>sDe(e,n,r)},A_({format:e=>cs(e).format??null,minLength:e=>cs(e).minimum??null,maxLength:e=>cs(e).maximum??null},{regex(...e){return this.check(B_e(...e))},includes(...e){return this.check(H_e(...e))},startsWith(...e){return this.check(W_e(...e))},endsWith(...e){return this.check(q_e(...e))},min(...e){return this.check(CE(...e))},max(...e){return this.check(jY(...e))},length(...e){return this.check(zY(...e))},nonempty(...e){return this.check(CE(1,...e))},lowercase(e){return this.check(j_e(e))},uppercase(e){return this.check(z_e(e))},trim(){return this.check(K_e())},normalize(...e){return this.check(G_e(...e))},toLowerCase(){return this.check(Y_e())},toUpperCase(){return this.check($_e())},slugify(){return this.check(J_e())}})),zDe=nt("ZodString",(e,t)=>{L_.init(e,t),e$.init(e,t)},{email(e){return this.check(VY(n$,e))},url(e){return this.check(BY(r$,e))},jwt(e){return this.check(R_e(lMe,e))},emoji(e){return this.check(h_e(YDe,e))},guid(e){return this.check(c_e(KDe,e))},uuid(e){return this.check(d_e(o0,e))},uuidv4(e){return this.check(f_e(o0,e))},uuidv6(e){return this.check(p_e(o0,e))},uuidv7(e){return this.check(m_e(o0,e))},nanoid(e){return this.check(g_e($De,e))},cuid(e){return this.check(v_e(JDe,e))},cuid2(e){return this.check(y_e(ZDe,e))},ulid(e){return this.check(k_e(QDe,e))},base64(e){return this.check(I_e(oMe,e))},base64url(e){return this.check(w_e(aMe,e))},xid(e){return this.check(b_e(XDe,e))},ksuid(e){return this.check(S_e(eMe,e))},ipv4(e){return this.check(E_e(tMe,e))},ipv6(e){return this.check(T_e(nMe,e))},cidrv4(e){return this.check(C_e(rMe,e))},cidrv6(e){return this.check(A_e(iMe,e))},e164(e){return this.check(N_e(sMe,e))},datetime(e){return this.check(x_e(HDe,e))},date(e){return this.check(L_e(WDe,e))},time(e){return this.check(O_e(qDe,e))},duration(e){return this.check(P_e(GDe,e))}});function t$(e){return u_e(zDe,e)}const ai=nt("ZodStringFormat",(e,t)=>{Gr.init(e,t),e$.init(e,t)}),HDe=nt("ZodISODateTime",(e,t)=>{mPe.init(e,t),ai.init(e,t)}),WDe=nt("ZodISODate",(e,t)=>{hPe.init(e,t),ai.init(e,t)}),qDe=nt("ZodISOTime",(e,t)=>{gPe.init(e,t),ai.init(e,t)}),GDe=nt("ZodISODuration",(e,t)=>{vPe.init(e,t),ai.init(e,t)}),n$=nt("ZodEmail",(e,t)=>{ePe.init(e,t),ai.init(e,t)});function gut(e){return VY(n$,e)}const KDe=nt("ZodGUID",(e,t)=>{QOe.init(e,t),ai.init(e,t)}),o0=nt("ZodUUID",(e,t)=>{XOe.init(e,t),ai.init(e,t)}),r$=nt("ZodURL",(e,t)=>{aPe.init(e,t),ai.init(e,t)});function vut(e){return BY(r$,e)}const YDe=nt("ZodEmoji",(e,t)=>{sPe.init(e,t),ai.init(e,t)}),$De=nt("ZodNanoID",(e,t)=>{lPe.init(e,t),ai.init(e,t)}),JDe=nt("ZodCUID",(e,t)=>{uPe.init(e,t),ai.init(e,t)}),ZDe=nt("ZodCUID2",(e,t)=>{cPe.init(e,t),ai.init(e,t)}
261),QDe=nt("ZodULID",(e,t)=>{dPe.init(e,t),ai.init(e,t)}),XDe=nt("ZodXID",(e,t)=>{fPe.init(e,t),ai.init(e,t)}),eMe=nt("ZodKSUID",(e,t)=>{pPe.init(e,t),ai.init(e,t)}),tMe=nt("ZodIPv4",(e,t)=>{yPe.init(e,t),ai.init(e,t)}),nMe=nt("ZodIPv6",(e,t)=>{bPe.init(e,t),ai.init(e,t)}),rMe=nt("ZodCIDRv4",(e,t)=>{SPe.init(e,t),ai.init(e,t)}),iMe=nt("ZodCIDRv6",(e,t)=>{TPe.init(e,t),ai.init(e,t)}),oMe=nt("ZodBase64",(e,t)=>{CPe.init(e,t),ai.init(e,t)}),aMe=nt("ZodBase64URL",(e,t)=>{IPe.init(e,t),ai.init(e,t)}),sMe=nt("ZodE164",(e,t)=>{wPe.init(e,t),ai.init(e,t)}),lMe=nt("ZodJWT",(e,t)=>{RPe.init(e,t),ai.init(e,t)}),i$=nt("ZodNumber",(e,t)=>{OY.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>lDe(e,n,r,i),e.isFinite=!0},A_({minValue:e=>{const{minimum:t,exclusiveMinimum:n}=cs(e);return Math.max(t??Number.NEGATIVE_INFINITY,n??Number.NEGATIVE_INFINITY)},maxValue:e=>{const{maximum:t,exclusiveMaximum:n}=cs(e);return Math.min(t??Number.POSITIVE_INFINITY,n??Number.POSITIVE_INFINITY)},isInt:e=>{const{isInt:t,multipleOf:n}=cs(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>cs(e).format??null},{gt(e,t){return this.check(eB(e,t))},gte(e,t){return this.check(yS(e,t))},min(e,t){return this.check(yS(e,t))},lt(e,t){return this.check(XV(e,t))},lte(e,t){return this.check(vS(e,t))},max(e,t){return this.check(vS(e,t))},int(e){return this.check(cB(e))},safe(e){return this.check(cB(e))},positive(e){return this.check(eB(0,e))},nonnegative(e){return this.check(yS(0,e))},negative(e){return this.check(XV(0,e))},nonpositive(e){return this.check(vS(0,e))},multipleOf(e,t){return this.check(tB(e,t))},step(e,t){return this.check(tB(e,t))},finite(){return this}}));function yut(e){return __e(i$,e)}const uMe=nt("ZodNumberFormat",(e,t)=>{xPe.init(e,t),i$.init(e,t)});function cB(e){return D_e(uMe,e)}const cMe=nt("ZodBoolean",(e,t)=>{LPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>uDe(e,n,r)});function kut(e){return M_e(cMe,e)}const dMe=nt("ZodUnknown",(e,t)=>{OPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>dDe()});function dB(){return F_e(dMe)}const fMe=nt("ZodNever",(e,t)=>{PPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>cDe(e,n,r)});function pMe(e){return U_e(fMe,e)}const mMe=nt("ZodDate",(e,t)=>{_Pe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>fDe(e,n,r,i),e.min=(n,r)=>e.check(yS(n,r)),e.max=(n,r)=>e.check(vS(n,r))},A_({minDate:e=>{const{minimum:t}=cs(e);return t?new Date(t):null},maxDate:e=>{const{maximum:t}=cs(e);return t?new Date(t):null}},{}));function hMe(e){return V_e(mMe,e)}const gMe=nt("ZodArray",(e,t)=>{__(),DPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>vDe(e,n,r,i),e.element=t.element},{min(e,t){return this.check(CE(e,t))},nonempty(e){return this.check(CE(1,e))},max(e,t){return this.check(jY(e,t))},length(e,t){return this.check(zY(e,t))},unwrap(){return this.element}});function vMe(e,t){return Z_e(gMe,e,t)}const yMe=nt("ZodObject",(e,t)=>{__(),UPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>yDe(e,n,r,i),FLe(e,"shape",n=>n._zod.def.shape,!1)},{keyof(){return TMe(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(La(this._zod.def,{catchall:e}))},passthrough(){return this.clone(La(this._zod.def,{catchall:dB()}))},loose(){return this.clone(La(this._zod.def,{catchall:dB()}))},strict(){return this.clone(La(this._zod.def,{catchall:pMe()}))},strip(){return this.clone(La(this._zod.def,{catchall:void 0}))},extend(e){return ILe(this,e)},safeExtend(e){return wLe(this,e)},merge(e){return NLe(this,e)},pick(e){return CLe(this,e)},omit(e){return ALe(this,e)},partial(...e){return DV(a$,this,e[0])},exactPartial(...e){return DV(s$,this,e[0],"exactPartial")},required(...e){return RLe(l$,this,e[0])}});function o$(e,t){const n={type:"object",shape:e??{},...on(t)};return new yMe(n)}const kMe=nt("ZodUnion",(e,t)=>{VPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>kDe(e,n,r,i),e.options=t.options});function bMe(e,t){return new kMe({type:"union",options:e,...on(t)})}const SMe=nt("ZodIntersection",(e,t)=>{BPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>bDe(e,n,r,i)});function EMe(e,t){return new SMe({type:"intersection",left:e,right:t})}const b1=nt("ZodEnum",(e,t)=>{jPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(r,i,o)=>pDe(e,r,i),e.enum=t.entries,e.options=[...e._zod.values];const n=new Set(Object.keys(t.entries));e.extract=(r,i)=>{const o={};for(const a of r)if(n.has(a))o[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new b1({...t,checks:[],...on(i),entries:o})},e.exclude=(r,i)=>{const o={...t.entries};for(const a of r)if(n.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new b1({...t,checks:[],...on(i),entries:o})}});function TMe(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new b1({type:"enum",entries:n,...on(t)})}const CMe=nt("ZodLiteral",(e,t)=>{zPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>mDe(e,n,r,i),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
261(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function but(e,t){return new CMe({type:"literal",values:Array.isArray(e)?e:[e],...on(t)})}const AMe=nt("ZodTransform",(e,t)=>{__(),HPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>gDe(e,n,r,i),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new bY(e.constructor.name);n.addIssue=o=>{if(typeof o=="string")n.issues.push(hy(o,n.value,t));else{const a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=n.value),a.inst??(a.inst=e),n.issues.push(hy(a))}};const i=t.transform(n.value,n);return i instanceof Promise?i.then(o=>(n.value=o,n)):(n.value=i,n)}});function IMe(e){return new AMe({type:"transform",transform:e})}const a$=nt("ZodOptional",(e,t)=>{DY.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>XY(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function fB(e){return new a$({type:"optional",innerType:e})}const s$=nt("ZodExactOptional",(e,t)=>{WPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>XY(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function wMe(e){return new s$({type:"optional",innerType:e})}const NMe=nt("ZodNullable",(e,t)=>{qPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>SDe(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function pB(e){return new NMe({type:"nullable",innerType:e})}const RMe=nt("ZodDefault",(e,t)=>{GPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>TDe(e,n,r,i),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function xMe(e,t){return new RMe({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():mY(t)}})}const LMe=nt("ZodPrefault",(e,t)=>{KPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>CDe(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function OMe(e,t){return new LMe({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():mY(t)}})}const l$=nt("ZodNonOptional",(e,t)=>{YPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>EDe(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function PMe(e,t){return new l$({type:"nonoptional",innerType:e,...on(t)})}const _Me=nt("ZodCatch",(e,t)=>{$Pe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>ADe(e,n,r,i),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function DMe(e,t){return new _Me({type:"catch",innerType:e,catchValue:typeof t=="function"?t:VLe(t)})}const MMe=nt("ZodPipe",(e,t)=>{JPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>IDe(e,n,r,i),e.in=t.in,e.out=t.out});function mB(e,t){return new MMe({type:"pipe",in:e,out:t})}const FMe=nt("ZodReadonly",(e,t)=>{ZPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>wDe(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function UMe(e){return new FMe({type:"readonly",innerType:e})}const VMe=nt("ZodCustom",(e,t)=>{QPe.init(e,t),oi.init(e,t),e._zod.processJSONSchema=(n,r,i)=>hDe(e,n,r,i)});function BMe(e,t={}){return Q_e(VMe,e,t)}function jMe(e,t){return X_e(e,t)}const OC=new Date(Date.now()),Sut=rf(OC,{hours:24}),Eut=new Date("2021-01-01"),Tut=rf(OC,{hours:24*365});function zMe(){const[e]=m.useState(()=>new Date(Date.now()));return e}const Cut=new Set(["Sat Feb 01 2025 12:00:00 GMT-0500 (Eastern Standard Time)","Sun Feb 02 2025 12:00:00 GMT-0500 (Eastern Standard Time)","Mon Feb 03 2025 12:00:00 GMT-0500 (Eastern Standard Time)","Tue Feb 04 2025 12:00:00 GMT-0500 (Eastern Standard Time)","Tue Jan 06 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Wed Jan 07 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Thu Jan 08 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Fri Jan 09 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Sat Jan 10 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Sun Jan 11 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Mon Jan 12 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Tue Jan 13 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Wed Jan 14 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Thu Jan 15 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Fri Jan 16 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Sat Jan 17 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Sun Jan 18 2026 12:00:00 GMT-0500 (Eastern Standard Time)","Mon Jan 19 2026 12:00:00 GMT-0500 (Eastern Standard Time)"].map(e=>gy(new Date(e)).getTime()));function gy(e){return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()))}function HMe(e,t=1){let n=e;for(let r=0;r<t;r++)n=gy(rC(gy(n),26));return n}function Aut(e,t=1){let n=e;for(let r=0;r<t;r++)n=gy(rC(gy(n),-2));return n}function Iut(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())}function wut(e){return[e,new Date(Math.min(HMe(e,6).getTime(),OC.getTime()))]}function D_(){const{i18n:e}=Tn(),[t,n]=m.useState(void 0);return m.useEffect(()=>{e.locale in PV?PV[e.locale]().then(r=>{n(r)}):n(void 0)},[e.locale]),t}function Nut(){const e=Dh(),t=D_();return e?(n,r={})=>{const{addSuffix:i,format:o}=r;return WMe(n,{addSuffix:i,format:o,locale:t})}:()=>""}function WMe(e,t={}){const n=new Date(e),{addSuffix:r=!0,format:i,locale:o}=t;return i?IP(n,i,{locale:o}):Bke(n,new Date(Date.now()),{addSuffix:r,locale:o})}const u$=e=>_m(new Date(e),new Date(Date.now())),qMe="E, MMM dd yyyy";function GMe(){const e=D_();return m.useCallback(t=>KMe(new Date(t),e),[e])}function KMe(e,t){return IP(new Date(e),qMe,{locale:t})}function Rut(){const e=D_(),t=$Me();return m.useCallback((n,r)=>r?.shortFormat?t(n):YMe(n,{format:r?.format,locale:e}),[e,t])}function YMe(e,t){return zke(e,t)}function $Me(){const{_:e}=Tn();return t=>Object.entries(JMe).map(([n,r])=>{const o=t[n];return o?`${o}${e(r)}`:void 0}
261).filter(Boolean).join(" ")}const JMe={years:{id:"Nj0MPy"},months:{id:"IUlvO9"},weeks:{id:"DqXr_p"},days:{id:"4PxMqr"},hours:{id:"jlRJvF"},minutes:{id:"OfzRK9"},seconds:{id:"Q7hPR0"}};function xut(e,t){const n=["years","months","weeks","days","hours","minutes","seconds"];for(const r of n){const i=e[r]??0,o=t[r]??0;if(i>o)return 1;if(i<o)return-1}return 0}function Lut(e,{min:t,max:n}){return!!(e&&hMe().safeParse(e).success&&(_m(e,n)||tE(e,n))&&(Tf(e,t)||tE(e,t)))}const ZMe=e=>tE(e,new Date(0));function hB(e){return(e?.charAt(0).toUpperCase()||"")+(e?.slice(1)||"")}const QMe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M459.54-290h45.38v-230h-45.38v230Zm39.73-301.56q7.96-7.57 7.96-19.05 0-11.95-7.85-19.9-7.85-7.95-19.36-7.95-11.9 0-19.58 7.95-7.67 7.95-7.67 19.9 0 11.48 7.94 19.05 7.95 7.56 19.27 7.56 11.33 0 19.29-7.56ZM480.33-100q-78.95 0-147.89-29.92-68.95-29.92-120.76-81.71-51.81-51.79-81.75-120.78Q100-401.39 100-480.43q0-78.66 29.92-147.87 29.92-69.21 81.71-120.52 51.79-51.31 120.78-81.25Q401.39-860 480.43-860q78.66 0 147.87 29.92 69.21 29.92 120.52 81.21 51.31 51.29 81.25 120.63Q860-558.9 860-480.33q0 78.95-29.92 147.89-29.92 68.95-81.21 120.57-51.29 51.63-120.63 81.75Q558.9-100 480.33-100Zm.17-45.39q139.19 0 236.65-97.76 97.46-97.77 97.46-237.35 0-139.19-97.27-236.65-97.27-97.46-237.34-97.46-139.08 0-236.85 97.27-97.76 97.27-97.76 237.34 0 139.08 97.76 236.85 97.77 97.76 237.35 97.76ZM480-480Z"})),IE=m.memo(QMe);function c$(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=c$(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function up(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=c$(e))&&(r&&(r+=" "),r+=t);return r}let XMe={data:""},eFe=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||XMe,tFe=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,nFe=/\/\*[^]*?\*\/| +/g,gB=/\n+/g,of=(e,t)=>{let n="",r="",i="";for(let o in e){let a=e[o];o[0]=="@"?o[1]=="i"?n=o+" "+a+";":r+=o[1]=="f"?of(a,o):o+"{"+of(a,o[1]=="k"?"":t)+"}":typeof a=="object"?r+=of(a,t?t.replace(/([^,])+/g,s=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,s):s?s+" "+l:l)):o):a!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=of.p?of.p(o,a):o+":"+a+";")}return n+(t&&i?t+"{"+i+"}":i)+r},gu={},d$=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+d$(e[n]);return t}return e},rFe=(e,t,n,r,i)=>{let o=d$(e),a=gu[o]||(gu[o]=(l=>{let u=0,c=11;for(;u<l.length;)c=101*c+l.charCodeAt(u++)>>>0;return"go"+c})(o));if(!gu[a]){let l=o!==e?e:(u=>{let c,f,p=[{}];for(;c=tFe.exec(u.replace(nFe,""));)c[4]?p.shift():c[3]?(f=c[3].replace(gB," ").trim(),p.unshift(p[0][f]=p[0][f]||{})):p[0][c[1]]=c[2].replace(gB," ").trim();return p[0]})(e);gu[a]=of(i?{["@keyframes "+a]:l}:l,n?"":"."+a)}let s=n&&gu.g?gu.g:null;return n&&(gu.g=gu[a]),((l,u,c,f)=>{f?u.data=u.data.replace(f,l):u.data.indexOf(l)===-1&&(u.data=c?l+u.data:u.data+l)})(gu[a],t,r,s),a},iFe=(e,t,n)=>e.reduce((r,i,o)=>{let a=t[o];if(a&&a.call){let s=a(n),l=s&&s.props&&s.props.className||/^go/.test(s)&&s;a=l?"."+l:s&&typeof s=="object"?s.props?"":of(s,""):s===!1?"":s}return r+i+(a??"")},"");function M_(e){let t=this||{},n=e.call?e(t.p):e;return rFe(n.unshift?n.raw?iFe(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,eFe(t.target),t.g,t.o,t.k)}M_.bind({g:1});M_.bind({k:1});function oFe(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,r.key,r)}}function f$(e,t,n){return t&&oFe(e.prototype,t),e}function Sr(){return Sr=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},Sr.apply(this,arguments)}function p$(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function sk(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function vB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var yB=function(){return""},m$=Ye.createContext({enqueueSnackbar:yB,closeSnackbar:yB}),ef={downXs:"@media (max-width:599.95px)",upSm:"@media (min-width:600px)"},kB=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},F_=function(t){return""+kB(t.vertical)+kB(t.horizontal)},a0=function(t){return!!t||t===0},s0="unmounted",Gp="exited",Kp="entering",Kg="entered",bB="exiting",U_=(function(e){p$(t,e);function t(r){var i;i=e.call(this,r)||this;var o=r.appear,a;return i.appearStatus=null,r.in?o?(a=Gp,i.appearStatus=Kp):a=Kg:r.unmountOnExit||r.mountOnEnter?a=s0:a=Gp,i.state={status:a},i.nextCallback=null,i}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===s0?{status:Gp}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Kp&&a!==Kg&&(o=Kp):(a===Kp||a===Kg)&&(o=bB)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o=i,a=i;
vendor: 4,220 bytes, line 261
261return i!=null&&typeof i!="number"&&typeof i!="string"&&(a=i.exit,o=i.enter),{exit:a,enter:o}},n.updateStatus=function(i,o){i===void 0&&(i=!1),o!==null?(this.cancelNextCallback(),o===Kp?this.performEnter(i):this.performExit()):this.props.unmountOnExit&&this.state.status===Gp&&this.setState({status:s0})},n.performEnter=function(i){var o=this,a=this.props.enter,s=i,l=this.getTimeouts();if(!i&&!a){this.safeSetState({status:Kg},function(){o.props.onEntered&&o.props.onEntered(o.node,s)});return}this.props.onEnter&&this.props.onEnter(this.node,s),this.safeSetState({status:Kp},function(){o.props.onEntering&&o.props.onEntering(o.node,s),o.onTransitionEnd(l.enter,function(){o.safeSetState({status:Kg},function(){o.props.onEntered&&o.props.onEntered(o.node,s)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts();if(!o){this.safeSetState({status:Gp},function(){i.props.onExited&&i.props.onExited(i.node)});return}this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:bB},function(){i.props.onExiting&&i.props.onExiting(i.node),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Gp},function(){i.props.onExited&&i.props.onExited(i.node)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(){a&&(a=!1,o.nextCallback=null,i())},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=i==null&&!this.props.addEndListener;if(!this.node||a){setTimeout(this.nextCallback,0);return}this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===s0)return null;var o=this.props,a=o.children,s=sk(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a(i,s)},f$(t,[{key:"node",get:function(){var i,o=(i=this.props.nodeRef)===null||i===void 0?void 0:i.current;if(!o)throw new Error("notistack - Custom snackbar is not refForwarding");return o}}]),t})(Ye.Component);function Yp(){}U_.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Yp,onEntering:Yp,onEntered:Yp,onExit:Yp,onExiting:Yp,onExited:Yp};function SB(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function S1(e,t){return m.useMemo(function(){return e==null&&t==null?null:function(n){SB(e,n),SB(t,n)}},[e,t])}function wE(e){var t=e.timeout,n=e.style,r=n===void 0?{}:n,i=e.mode;return{duration:typeof t=="object"?t[i]||0:t,easing:r.transitionTimingFunction,delay:r.transitionDelay}}var E1={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},h$=function(t){t.scrollTop=t.scrollTop},EB=function(t){return Math.round(t)+"ms"};function Tm(e,t){e===void 0&&(e=["all"]);var n=t||{},r=n.duration,i=r===void 0?300:r,o=n.easing,a=o===void 0?E1.easeInOut:o,s=n.delay,l=s===void 0?0:s,u=Array.isArray(e)?e:[e];return u.map(function(c){var f=typeof i=="string"?i:EB(i),p=typeof l=="string"?l:EB(l);return c+" "+f+" "+a+" "+p}).join(",")}function aFe(e){return e&&e.ownerDocument||document}function g$(e){var t=aFe(e);return t.defaultView||window}function sFe(e,t){t===void 0&&(t=166);var n;function r(){for(var i=this,o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];var l=function(){e.apply(i,a)};clearTimeout(n),n=setTimeout(l,t)}return r.clear=function(){clearTimeout(n)},r}function lFe(e,t){var n=t.getBoundingClientRect(),r=g$(t),i;if(t.fakeTransform)i=t.fakeTransform;else{var o=r.getComputedStyle(t);i=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var a=0,s=0;if(i&&i!=="none"&&typeof i=="string"){var l=i.split("(")[1].split(")")[0].split(",");a=parseInt(l[4],10),s=parseInt(l[5],10)}switch(e){case"left":return"translateX("+(r.innerWidth+a-n.left)+"px)";case"right":return"translateX(-"+(n.left+n.width-a)+"px)";
261case"up":return"translateY("+(r.innerHeight+s-n.top)+"px)";default:return"translateY(-"+(n.top+n.height-s)+"px)"}}function l0(e,t){if(t){var n=lFe(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}}var v$=m.forwardRef(function(e,t){var n=e.children,r=e.direction,i=r===void 0?"down":r,o=e.in,a=e.style,s=e.timeout,l=s===void 0?0:s,u=e.onEnter,c=e.onEntered,f=e.onExit,p=e.onExited,v=sk(e,["children","direction","in","style","timeout","onEnter","onEntered","onExit","onExited"]),g=m.useRef(null),y=S1(n.ref,g),k=S1(y,t),E=function(R,x){l0(i,R),h$(R),u&&u(R,x)},S=function(R){var x=a?.transitionTimingFunction||E1.easeOut,D=wE({timeout:l,mode:"enter",style:Sr({},a,{transitionTimingFunction:x})});R.style.webkitTransition=Tm("-webkit-transform",D),R.style.transition=Tm("transform",D),R.style.webkitTransform="none",R.style.transform="none"},T=function(R){var x=a?.transitionTimingFunction||E1.sharp,D=wE({timeout:l,mode:"exit",style:Sr({},a,{transitionTimingFunction:x})});R.style.webkitTransition=Tm("-webkit-transform",D),R.style.transition=Tm("transform",D),l0(i,R),f&&f(R)},I=function(R){R.style.webkitTransition="",R.style.transition="",p&&p(R)},A=m.useCallback(function(){g.current&&l0(i,g.current)},[i]);return m.useEffect(function(){if(!(o||i==="down"||i==="right")){var w=sFe(function(){g.current&&l0(i,g.current)}),R=g$(g.current);return R.addEventListener("resize",w),function(){w.clear(),R.removeEventListener("resize",w)}}},[i,o]),m.useEffect(function(){o||A()},[o,A]),m.createElement(U_,Object.assign({appear:!0,nodeRef:g,onEnter:E,onEntered:c,onEntering:S,onExit:T,onExited:I,in:o,timeout:l},v),function(w,R){return m.cloneElement(n,Sr({ref:k,style:Sr({visibility:w==="exited"&&!o?"hidden":void 0},a,{},n.props.style)},R))})});v$.displayName="Slide";var PC=function(t){return Ye.createElement("svg",Object.assign({viewBox:"0 0 24 24",focusable:"false",style:{fontSize:20,marginInlineEnd:8,userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0}},t))},uFe=function(){return Ye.createElement(PC,null,Ye.createElement("path",{d:`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 262 10.59L10 14.17L17.59 6.58L19 8L10 17Z`}))},cFe=function(){return Ye.createElement(PC,null,Ye.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},dFe=function(){return Ye.createElement(PC,null,Ye.createElement("path",{d:`M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2, 263 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12, 264 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},fFe=function(){return Ye.createElement(PC,null,Ye.createElement("path",{d:`M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 265 0 22,12A10,10 0 0,0 12,2Z`}))},pFe={default:void 0,success:Ye.createElement(uFe,null),warning:Ye.createElement(cFe,null),error:Ye.createElement(dFe,null),info:Ye.createElement(fFe,null)},If={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:pFe,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:v$,transitionDuration:{enter:225,exit:195}},mFe=function(t,n){var r=function(o){return typeof o=="number"||o===null};return r(t)?t:r(n)?n:If.autoHideDuration},hFe=function(t,n){var r=function(o,a){return a.some(function(s){return typeof o===s})};return r(t,["string","number"])?t:r(t,["object"])?Sr({},If.transitionDuration,{},r(n,["object"])&&n,{},t):r(n,["string","number"])?n:r(n,["object"])?Sr({},If.transitionDuration,{},n):If.transitionDuration},gFe=function(t,n){return function(r,i){return i===void 0&&(i=!1),i?Sr({},If[r],{},n[r],{},t[r]):r==="autoHideDuration"?mFe(t.autoHideDuration,n.autoHideDuration):r==="transitionDuration"?hFe(t.transitionDuration,n.transitionDuration):t[r]||n[r]||If[r]}};function lk(e){return Object.entries(e).reduce(function(t,n){var r,i=n[0],o=n[1];return Sr({},t,(r={},r[i]=M_(o),r))},{})}var fh={SnackbarContainer:"notistack-SnackbarContainer",Snackbar:"notistack-Snackbar",CollapseWrapper:"notistack-CollapseWrapper",MuiContent:"notistack-MuiContent",MuiContentVariant:function(t){return"notistack-MuiContent-"+t}},TB=lk({root:{height:0},entered:{height:"auto"}}),LN="0px",ON=175,y$=m.forwardRef(function(e,t){var n=e.children,r=e.in,i=e.onExited,o=m.useRef(null),a=m.useRef(null),s=S1(t,a),l=function(){return o.current?o.current.clientHeight:0},u=function(y){y.style.height=LN},c=function(y){var k=l(),E=wE({timeout:ON,mode:"enter"}),S=E.duration,T=E.easing;y.style.transitionDuration=typeof S=="string"?S:S+"ms",y.style.height=k+"px",y.style.transitionTimingFunction=T||""},f=function(y){y.style.height="auto"},p=function(y){y.style.height=l()+"px"},v=function(y){h$(y);var k=wE({timeout:ON,mode:"exit"}),E=k.duration,S=k.easing;y.style.transitionDuration=typeof E=="string"?E:E+"ms",y.style.height=LN,y.style.transitionTimingFunction=S||""};return m.createElement(U_,{in:r,unmountOnExit:!0,onEnter:u,onEntered:f,onEntering:c,onExit:p,onExited:i,onExiting:v,nodeRef:a,timeout:ON},function(g,y){return m.createElement("div",Object.assign({ref:s,className:up(TB.root,g==="entered"&&TB.entered),style:Sr({pointerEvents:"all",overflow:"hidden",minHeight:LN,transition:Tm("height")},g==="entered"&&{overflow:"visible"},{},g==="exited"&&!r&&{visibility:"hidden"})},y),m.createElement("div",{ref:o,className:fh.CollapseWrapper,style:{display:"flex",width:"100%"}},n))})});y$.displayName="Collapse";
265var CB={right:"left",left:"right",bottom:"up",top:"down"},vFe=function(t){return t.horizontal!=="center"?CB[t.horizontal]:CB[t.vertical]},yFe=function(t){return"anchorOrigin"+F_(t)},kFe=function(t){t===void 0&&(t={});var n={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(t).filter(function(r){return!n[r]}).reduce(function(r,i){var o;return Sr({},r,(o={},o[i]=t[i],o))},{})},bFe=function(){};function zv(e,t){return e.reduce(function(n,r){return r==null?n:function(){for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];var l=[].concat(a);t&&l.indexOf(t)===-1&&l.push(t),n.apply(this,l),r.apply(this,l)}},bFe)}var SFe=typeof window<"u"?m.useLayoutEffect:m.useEffect;function AB(e){var t=m.useRef(e);return SFe(function(){t.current=e}),m.useCallback(function(){return t.current.apply(void 0,arguments)},[])}var k$=m.forwardRef(function(e,t){var n=e.children,r=e.className,i=e.autoHideDuration,o=e.disableWindowBlurListener,a=o===void 0?!1:o,s=e.onClose,l=e.id,u=e.open,c=e.SnackbarProps,f=c===void 0?{}:c,p=m.useRef(),v=AB(function(){s&&s.apply(void 0,arguments)}),g=AB(function(T){!s||T==null||(p.current&&clearTimeout(p.current),p.current=setTimeout(function(){v(null,"timeout",l)},T))});m.useEffect(function(){return u&&g(i),function(){p.current&&clearTimeout(p.current)}},[u,i,g]);var y=function(){p.current&&clearTimeout(p.current)},k=m.useCallback(function(){i!=null&&g(i*.5)},[i,g]),E=function(I){f.onMouseEnter&&f.onMouseEnter(I),y()},S=function(I){f.onMouseLeave&&f.onMouseLeave(I),k()};return m.useEffect(function(){if(!a&&u)return window.addEventListener("focus",k),window.addEventListener("blur",y),function(){window.removeEventListener("focus",k),window.removeEventListener("blur",y)}},[a,k,u]),m.createElement("div",Object.assign({ref:t},f,{className:up(fh.Snackbar,r),onMouseEnter:E,onMouseLeave:S}),n)});k$.displayName="Snackbar";var PN,EFe=lk({root:(PN={display:"flex",flexWrap:"wrap",flexGrow:1},PN[ef.upSm]={flexGrow:"initial",minWidth:"288px"},PN)}),b$=m.forwardRef(function(e,t){var n=e.className,r=sk(e,["className"]);return Ye.createElement("div",Object.assign({ref:t,className:up(EFe.root,n)},r))});b$.displayName="SnackbarContent";var Yg=lk({root:{backgroundColor:"#313131",fontSize:"0.875rem",lineHeight:1.43,letterSpacing:"0.01071em",color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},lessPadding:{paddingLeft:8*2.5+"px"},default:{backgroundColor:"#313131"},success:{backgroundColor:"#43a047"},error:{backgroundColor:"#d32f2f"},warning:{backgroundColor:"#ff9800"},info:{backgroundColor:"#2196f3"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:"16px",marginRight:"-8px"}}),IB="notistack-snackbar",S$=m.forwardRef(function(e,t){var n=e.id,r=e.message,i=e.action,o=e.iconVariant,a=e.variant,s=e.hideIconVariant,l=e.style,u=e.className,c=o[a],f=i;return typeof f=="function"&&(f=f(n)),Ye.createElement(b$,{ref:t,role:"alert","aria-describedby":IB,style:l,className:up(fh.MuiContent,fh.MuiContentVariant(a),Yg.root,Yg[a],u,!s&&c&&Yg.lessPadding)},Ye.createElement("div",{id:IB,className:Yg.message},s?null:c,r),f&&Ye.createElement("div",{className:Yg.action},f))});S$.displayName="MaterialDesignContent";var E$=m.memo(S$),TFe=lk({wrappedRoot:{width:"100%",position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0,minWidth:"288px"}}),CFe=function(t){var n=m.useRef(),r=m.useState(!0),i=r[0],o=r[1],a=zv([t.snack.onClose,t.onClose]),s=function(){t.snack.requestClose&&a(null,"instructed",t.snack.id)},l=m.useCallback(function(){n.current=setTimeout(function(){o(function(D){return!D})},125)},[]);m.useEffect(function(){return function(){n.current&&clearTimeout(n.current)}},[]);var u=t.snack,c=t.classes,f=t.Component,p=f===void 0?E$:f,v=m.useMemo(function(){return kFe(c)},[c]),g=u.open,y=u.SnackbarProps,k=u.TransitionComponent,E=u.TransitionProps,S=u.transitionDuration,T=u.disableWindowBlurListener,I=u.content,A=sk(u,["open","SnackbarProps","TransitionComponent","TransitionProps","transitionDuration","disableWindowBlurListener","content","entered","requestClose","onEnter","onEntered","onExit","onExited"]),w=Sr({direction:vFe(A.anchorOrigin),timeout:S},E),R=I;typeof R=="function"&&(R=R(A.id,A.message));var x=["onEnter","onEntered","onExit","onExited"].reduce(function(D,M){var F;return Sr({},D,(F={},F[M]=zv([t.snack[M],t[M]],A.id),F))},{});return Ye.createElement(y$,{in:i,onExited:x.onExited},Ye.createElement(k$,{open:g,id:A.id,disableWindowBlurListener:T,autoHideDuration:A.autoHideDuration,className:up(TFe.wrappedRoot,v.root,v[yFe(A.anchorOrigin)]),SnackbarProps:y,onClose:a},Ye.createElement(k,Object.assign({},w,{appear:!0,in:g,onExit:x.onExit,onExited:l,onEnter:x.onEnter,onEntered:zv([x.onEntered,s],A.id)}),R||Ye.createElement(p,Object.assign({},A)))))},$g,_N,u0,c0,DN,vu={view:{default:20},snackbar:{default:6,dense:2}},wB="."+fh.CollapseWrapper,MN=16,d0=lk({root:($g={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:1400,height:"auto",width:"auto",transition:Tm(["top","right","bottom","left","max-width"],{duration:300,easing:"ease"}),pointerEvents:"none"},$g[wB]={padding:vu.snackbar.default+"px 0px",transition:"padding 300ms ease 0ms"},$g.maxWidth="calc(100% - "+vu.view.default*2+"px)",$g[ef.downXs]={width:"100%",maxWidth:"calc(100% - "+MN*2+"px)"},$g),rootDense:(_N={},_N[wB]={padding:vu.snackbar.dense+"px 0px"},_N),top:{top:vu.view.default-vu.snackbar.default+"px",flexDirection:"column"},bottom:{bottom:vu.view.default-vu.snackbar.default+"px",flexDirection:"column-reverse"},left:(u0={left:vu.view.default+"px"},u0[ef.upSm]={alignItems:"flex-start"},u0[ef.downXs]={left:MN+"px"},u0),right:(c0={right:vu.view.default+"px"},c0[ef.upSm]={alignItems:"flex-end"},c0[ef.downXs]={right:MN+"px"},c0),center:(DN={left:"50%",transform:"translateX(-50%)"},DN[ef.upSm]={alignItems:"center"},DN)}),AFe=function(t){var n=t.classes,r=n===void 0?{}:n,i=t.anchorOrigin,o=t.dense,a=t.children,s=up(fh.SnackbarContainer,d0[i.vertical],d0[i.horizontal],d0.root,r.containerRoot,r["containerAnchorOrigin"+F_(i)],o&&d0.rootDense);return Ye.createElement("div",{className:s},a)},IFe=m.memo(AFe),NB=function(t){var n=typeof t=="string"||m.isValidElement(t);return!n},Sv,T1,wFe=(function(e){p$(t,e);function t(r){var i;return i=e.call(this,r)||this,i.enqueueSnackbar=function(o,a){if(a===void 0&&(a={}
265),o==null)throw new Error("enqueueSnackbar called with invalid argument");var s=NB(o)?o:a,l=NB(o)?o.message:o,u=s.key,c=s.preventDuplicate,f=sk(s,["key","preventDuplicate"]),p=a0(u),v=p?u:new Date().getTime()+Math.random(),g=gFe(f,i.props),y=Sr({id:v},f,{message:l,open:!0,entered:!1,requestClose:!1,persist:g("persist"),action:g("action"),content:g("content"),variant:g("variant"),anchorOrigin:g("anchorOrigin"),disableWindowBlurListener:g("disableWindowBlurListener"),autoHideDuration:g("autoHideDuration"),hideIconVariant:g("hideIconVariant"),TransitionComponent:g("TransitionComponent"),transitionDuration:g("transitionDuration"),TransitionProps:g("TransitionProps",!0),iconVariant:g("iconVariant",!0),style:g("style",!0),SnackbarProps:g("SnackbarProps",!0),className:up(i.props.className,f.className)});return y.persist&&(y.autoHideDuration=void 0),i.setState(function(k){if(c===void 0&&i.props.preventDuplicate||c){var E=function(A){return p?A.id===v:A.message===l},S=k.queue.findIndex(E)>-1,T=k.snacks.findIndex(E)>-1;if(S||T)return k}return i.handleDisplaySnack(Sr({},k,{queue:[].concat(k.queue,[y])}))}),v},i.handleDisplaySnack=function(o){var a=o.snacks;return a.length>=i.maxSnack?i.handleDismissOldest(o):i.processQueue(o)},i.processQueue=function(o){var a=o.queue,s=o.snacks;return a.length>0?Sr({},o,{snacks:[].concat(s,[a[0]]),queue:a.slice(1,a.length)}):o},i.handleDismissOldest=function(o){if(o.snacks.some(function(c){return!c.open||c.requestClose}))return o;var a=!1,s=!1,l=o.snacks.reduce(function(c,f){return c+(f.open&&f.persist?1:0)},0);l===i.maxSnack&&(s=!0);var u=o.snacks.map(function(c){return!a&&(!c.persist||s)?(a=!0,c.entered?(c.onClose&&c.onClose(null,"maxsnack",c.id),i.props.onClose&&i.props.onClose(null,"maxsnack",c.id),Sr({},c,{open:!1})):Sr({},c,{requestClose:!0})):Sr({},c)});return Sr({},o,{snacks:u})},i.handleEnteredSnack=function(o,a,s){if(!a0(s))throw new Error("handleEnteredSnack Cannot be called with undefined key");i.setState(function(l){var u=l.snacks;return{snacks:u.map(function(c){return c.id===s?Sr({},c,{entered:!0}):Sr({},c)})}})},i.handleCloseSnack=function(o,a,s){i.props.onClose&&i.props.onClose(o,a,s);var l=s===void 0;i.setState(function(u){var c=u.snacks,f=u.queue;return{snacks:c.map(function(p){return!l&&p.id!==s?Sr({},p):p.entered?Sr({},p,{open:!1}):Sr({},p,{requestClose:!0})}),queue:f.filter(function(p){return p.id!==s})}})},i.closeSnackbar=function(o){var a=i.state.snacks.find(function(s){return s.id===o});a0(o)&&a&&a.onClose&&a.onClose(null,"instructed",o),i.handleCloseSnack(null,"instructed",o)},i.handleExitedSnack=function(o,a){if(!a0(a))throw new Error("handleExitedSnack Cannot be called with undefined key");i.setState(function(s){var l=i.processQueue(Sr({},s,{snacks:s.snacks.filter(function(u){return u.id!==a})}));return l.queue.length===0?l:i.handleDismissOldest(l)})},Sv=i.enqueueSnackbar,T1=i.closeSnackbar,i.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:i.enqueueSnackbar.bind(vB(i)),closeSnackbar:i.closeSnackbar.bind(vB(i))}},i}var n=t.prototype;return n.render=function(){var i=this,o=this.state.contextValue,a=this.props,s=a.domRoot,l=a.children,u=a.dense,c=u===void 0?!1:u,f=a.Components,p=f===void 0?{}:f,v=a.classes,g=this.state.snacks.reduce(function(k,E){var S,T=F_(E.anchorOrigin),I=k[T]||[];return Sr({},k,(S={},S[T]=[].concat(I,[E]),S))},{}),y=Object.keys(g).map(function(k){var E=g[k],S=E[0];
265return Ye.createElement(IFe,{key:k,dense:c,anchorOrigin:S.anchorOrigin,classes:v},E.map(function(T){return Ye.createElement(CFe,{key:T.id,snack:T,classes:v,Component:p[T.variant],onClose:i.handleCloseSnack,onEnter:i.props.onEnter,onExit:i.props.onExit,onExited:zv([i.handleExitedSnack,i.props.onExited],T.id),onEntered:zv([i.handleEnteredSnack,i.props.onEntered],T.id)})}))});return Ye.createElement(m$.Provider,{value:o},l,s?qo.createPortal(y,s):y)},f$(t,[{key:"maxSnack",get:function(){return this.props.maxSnack||If.maxSnack}}]),t})(m.Component),uk=(function(){return m.useContext(m$)});class V_ extends Error{constructor(){super("Login popup was blocked by the browser"),this.name="PopupBlockedError"}}class T$ extends Error{constructor(){super("Login popup was closed before completing"),this.name="PopupClosedError"}}function C$(){const e=ha(),{connection:t}=Yq();return m.useMemo(()=>{if(!(!t?.clientId&&!t?.idpId))return{clientId:t.clientId,connection:t.provider,identity:t.identity,idpId:t.idpId,loginHint:e.profile?.email}},[e,t])}function A$(){const{hostname:e}=m.useContext(ri);return e.endsWith(uq)}function I$(){const e=sY();return m.useMemo(()=>[e,ZT],[e])}const FN="session-expired";let $p,Jg;function w$(){const{iframeToken:e,storageToken:t}=ma(),n=ha(),r=C$(),i=A$(),{_:o}=Tn();let a;if(!i&&!e&&!t)a=NFe();else{const l=tC(),u=xFe(l.set);a=m.useCallback(c=>u(c).then(f=>l.set(f)),[u,l])}const s=m.useRef({auth:n,popup:a,refreshOptions:r,_:o});return m.useEffect(()=>{s.current={auth:n,popup:a,refreshOptions:r,_:o}},[n,a,r,o]),m.useEffect(()=>{n.rawToken&&!n.expired&&($p?.resolve(),$p=void 0,T1(FN))},[n.rawToken,n.expired]),m.useMemo(()=>{const l=async p=>{const{auth:v,popup:g,refreshOptions:y}=s.current;if(!y)return Promise.reject("missing refresh information");await g({...y,invite:p}),v.refresh()},u=p=>p instanceof V_||p instanceof T$,c=()=>Jg||(Jg=(async()=>{const{_:p}=s.current;Sv({message:p({id:"bD1XRa"}),variant:"info"});try{await l(),Sv({message:p({id:"Ql_Do-"}),variant:"success"})}catch(v){throw u(v)||Sv({message:p({id:"9v8G6g"}),variant:"error"}),v}})().finally(()=>{Jg=void 0}),Jg),f=()=>{if($p)return $p.promise;let p,v;const g=new Promise((S,T)=>{p=S,v=T});$p={promise:g,resolve:p,reject:v};const y=S=>{$p=void 0,S()};function k(){const{_:S}=s.current;Sv({message:S({id:"csgbLa"}),key:FN,variant:"warning",persist:!0,preventDuplicate:!0,SnackbarProps:{onClick:E,style:{cursor:"pointer"}}})}function E(){T1(FN),c().then(()=>y(p),S=>u(S)?k():y(()=>v(S)))}return k(),g};return{async login(p){const{auth:v,popup:g}=s.current;await g(p),v.refresh()},refresh:l,async backgroundRefresh(){if(document.visibilityState!=="visible"){await f();return}try{await c()}catch(p){if(!u(p))throw p;await f()}}}},[])}function NFe(){const e=k_(),t=m.useRef(),n=m.useRef(),r=I$(),i=m.useCallback(()=>{n.current?.resolve(),n.current=void 0},[]),o=m.useCallback(s=>{n.current?.reject(s),n.current=void 0},[]);bP(()=>{t.current?.closed&&i()},fq);const a=m.useCallback(s=>{s.origin!==e||!n.current||s.data==="success"&&(t.current?.close(),i())},[e,i]);return Cq(a),m.useCallback(s=>(n.current&&o(),new Promise((l,u)=>{n.current={resolve:l,reject:u};const c=NE({...s,exit:"popup",audiences:r},e),f=window.open(c,"Login",N$());f?t.current=f:o(new V_)})),[o,e,r])}function RFe(e){return!!e&&typeof e=="object"&&Object.hasOwn(e,"token")}function xFe(e){const{origin:t}=m.useContext(ri),n=kq(),r=k_(),i=A$(),{iframeToken:o,storageToken:a}=ma(),s=m.useRef(),l=m.useRef(),{setError:u}=lye(),c=I$(),f=m.useCallback(g=>{l.current?.resolve(g),l.current=void 0},[]),p=m.useCallback(g=>{l.current?.reject(g),l.current=void 0},[]);bP(()=>{s.current?.closed&&p(new T$)},fq);const v=m.useCallback(g=>{[t,(o||a)&&n].filter(Boolean).includes(g.origin)&&RFe(g.data)&&(l.current?(f(g.data.token),s.current?.close()):e?.(g.data.token),g.data.error?u(g.data.error):!a&&g.data.token.length>4e3&&u("Token exceeds maximum cookie size"))},[f,o,a,e,n,t,u]);return Cq(v),m.useCallback(async g=>(l.current&&p(),new Promise((y,k)=>{l.current={resolve:y,reject:k};const E="Login",S=NE(o||a?{...g,exit:"redirect",redirect:Jve(n,a,t).toString(),audiences:c}:{...g,exit:i?"dev":"redirect",redirect:i?void 0:new URL("/auth/login/redirect?token",window.origin).toString(),audiences:c},r),T=window.open(S,E,N$());T?s.current=T:p(new V_)})),[p,o,a,r,n,t,i,c])}function Out(){const e=C$(),t=k_();return(n,r)=>{if(!e)return;const i=new URL(n,window.location.origin).toString();return NE({...e,invite:r,redirect:i,exit:"redirect"},t)}}async function LFe(e,t){const n=new URL("/orgcheck",t);n.searchParams.set("name",e);const r=await fetch(n),i=await r.text();if(r.ok)return i==="true";throw new Error("Provider not found.")}function OFe(e){const t=e.split("."),n=[];for(let r=0;r<t.length-1;r++)n.push(t.slice(r).join("."));return n.length>0?n:[e]}async function Put(e,t){const n=OFe(e);
265for(const r of n)try{if(await LFe(r,t))return r}catch{}}function N$(){const n=window.screenX+(window.outerWidth-500)/2,r=window.screenY+(window.outerHeight-600)/2.5;return`width=500,height=600,left=${n},top=${r}`}function NE(e,t){const n=new URL("/oauth",t);return e.clientId&&n.searchParams.set("client_id",e.clientId),n.searchParams.set("exit",e.exit),e.connection&&n.searchParams.set("connection",e.connection),e.invite&&n.searchParams.set("invite",e.invite),e.redirect&&n.searchParams.set("redirect",e.redirect),e.loginHint&&n.searchParams.set("login_hint",e.loginHint),e.idpId&&n.searchParams.set("idp_id",e.idpId),e.identity&&n.searchParams.set("identity",e.identity),e.audiences&&n.searchParams.append("audience",e.audiences.join(",")),e.prompt&&n.searchParams.set("prompt",e.prompt),e.screenHint&&n.searchParams.set("screen_hint",e.screenHint),n}async function PFe(e){if(e?.act?.sub){const t=e.upstream?.email||e?.email,n=new rr.Identify;rr.setUserId(e.sub);const r=t?.split("@").at(1);r&&n.set("emailDomain",r),e.sub&&(n.set("uidp",e.sub),n.set("additionalIdentity",e.act.sub)),rr.identify(n)}}function _Fe(e,t){if(!e)return;const n=e.cap||{},r=Object.entries(n).length>0;return{email:e.upstream?.email??"",subject:e.act?.sub??"",capabilities:e.cap?new Map(Object.entries(n)):new Map,onboarded:e.onb||r||!!t,hasOrgs:r}}function mo(e,t){const n=yq();if(!n)return fetch(e,t);const r="Authorization",i=new Headers(t?.headers);return i.has(r)||i.set(r,`Bearer ${n}`),fetch(e,{...t,headers:i})}const DFe=async e=>{const t=await mo("/zendeskauthentication");if(t.ok){const r=await t.json(),i=e?`return_to=${e}`:"";return{error:!1,data:{token:r.token,url:`${zve}/access/jwt?${i}`}}}const{reason:n}=await t.json();return{error:!0,reason:n}};class _C extends Error{code;constructor(t,n){super(t),this.code=n,Object.setPrototypeOf(this,_C.prototype)}}var B_=(function(e){return e[e.OK=0]="OK",e[e.CANCELED=1]="CANCELED",e[e.UNKNOWN=2]="UNKNOWN",e[e.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",e[e.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",e[e.NOT_FOUND=5]="NOT_FOUND",e[e.ALREADY_EXISTS=6]="ALREADY_EXISTS",e[e.PERMISSION_DENIED=7]="PERMISSION_DENIED",e[e.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",e[e.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",e[e.ABORTED=10]="ABORTED",e[e.OUT_OF_RANGE=11]="OUT_OF_RANGE",e[e.UNIMPLEMENTED=12]="UNIMPLEMENTED",e[e.INTERNAL=13]="INTERNAL",e[e.UNAVAILABLE=14]="UNAVAILABLE",e[e.DATA_LOSS=15]="DATA_LOSS",e[e.UNAUTHENTICATED=16]="UNAUTHENTICATED",e})({});function RB(e){if(e)return MFe[e]}const MFe={0:"Ok",1:"Canceled",2:"Unknown",3:"Invalid argument",4:"Deadline exceeded",5:"Not found",6:"Already exists",7:"Permission denied",8:"Resource exhausted",9:"Failed precondition",10:"Aborted",11:"Out of range",12:"Unimplemented",13:"Internal",14:"Unavailable",15:"Data loss",16:"Unauthenticated"};function R$(e){const t=e.graphQLErrors.map(n=>{let r="";if(typeof n?.extensions?.code=="number"){const i=RB(n.extensions.code);i&&(r+=i+": ")}return n.message&&(r+=n.message),r||`Unexpected GraphQL error at path: "${n.path?.join(".")}"`});if(e.networkError){e.response?.url&&t.push(`Network error while fetching ${e.response.url}`);let n="";e.networkError instanceof _C&&(n+=RB(e.networkError.code)+": "),n+=e.networkError.message,t.push(n)}return t}const FFe=new Set(["shellscript","bash","sh","shell","zsh","shellsession","console","docker","dockerfile","yaml","yml","json","graphql"]),UFe=e=>!!e&&FFe.has(e.toLowerCase()),VFe=m.lazy(()=>St(async()=>{const{HighlightedCode:e}=await import("./highlight-CjEmq4Uf.js");return{HighlightedCode:e}},__vite__mapDeps([0,1])).then(({HighlightedCode:e})=>({default:e}))),BFe=$e("pre")(({theme:e})=>({...e.typography.monospace,backgroundColor:e.palette.background.paper,borderRadius:e.shape.borderRadius,border:`1px solid ${e.palette.divider}`,padding:e.spacing(2),overflow:"auto",margin:0})),jFe=({code:e,language:t,containerSx:n,copyVisible:r,preSx:i,onCopy:o})=>{const[a,s]=m.useState(!1),l=e.trimEnd();return b.jsxs(ei,{component:"pre",onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),sx:Js({position:"relative",margin:0},n),children:[b.jsx(mE,{in:r||a,children:b.jsx("div",{children:b.jsx(lY,{sx:u=>({position:"absolute",top:u.spacing(1),right:u.spacing(1),backgroundColor:Qt(u.palette.background.paper,.8),"&:hover":{backgroundColor:u.palette.background.paper}}),text:l,onCopy:o})})}),b.jsx(BFe,{sx:i,tabIndex:0,children:UFe(t)?b.jsx(m.Suspense,{fallback:l,children:b.jsx(VFe,{code:l,language:t})}):l})]})},zFe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M480-173.08 152.31-427.69l37.31-28.16L480-230.62l290.38-225.23 37.31 28.16L480-173.08Zm0-140.85L152.31-568.54 480-823.15l327.69 254.61L480-313.93Zm0-269.84Zm0 212.31 253.54-197.08L480-765.23 226.46-568.54 480-371.46Z"})),HFe=m.memo(zFe),WFe=({style:e,color:t="primary"})=>{const n=ga();return b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"20",viewBox:"0 0 47.3 41",style:e,children:b.jsx("path",{xmlns:"http://www.w3.org/2000/svg",fill:n.palette[t].main,stroke:n.palette[t].main,d:"M46.011 30.958c-.196-.666-2.195-1.45-1.725-1.92.353-.353.275-1.216-.196-1.843-.43-.549-1.058-.862-1.646-1.215-.314-.157-.745-.274-1.058-.353-.98-.235-2.94-.51-3.96-.588-.196 0-.47 0-.548-.274 0-.118.392-1.607.43-1.725.08-.157.118-.549.197-.823.157-.549.196-.98.274-1.568.314-2.901-.392-6.155-1.568-8.938C34.8 8.34 32.801 5.126 29.9 2.813 27.822 1.206 25.588.383 22.922.5 15.75.578 11.476 7.909 9.594 13.514c-.94 2.784-1.254 5.488-.666 8.232.196.902.94 2.823.862 3.019
265-.156.313-1.215.392-1.607.431-.705.118-2.822.314-3.528.588-1.254.47-2.038.862-2.744 1.96-.392.627-.353.745-.274 1.058.078.314.431.275.235.47-.314.314-1.294 1.255-1.372 1.726-.078.784.157 1.176.627 1.724 2.352 2.784 6.155 3.019 9.879 1.098.117-.04.235 0 .235.118.117.548.313 1.176.784 1.607 2.077 1.92 4.86 2.705 7.173.98.784-.588 1.059-1.372 1.333-1.921.314-.706.627-1.607 1.255-1.92 1.568-.824 3.45-.354 3.959.626.353.706 1.019 2.352 1.646 2.862 1.255.98 1.921 1.254 3.45 1.215 1.293-.039 2.783-.274 3.763-1.176.706-.666.902-1.842 1.45-1.96.353-.078 1.294.51 2.039.706 1.646.392 3.253.313 4.86-.353 2-.784 3.215-2.626 3.058-3.606Z"})})},_ut=({mt:e})=>b.jsx(HFe,{sx:t=>({color:t.palette.fix.fixed,mt:e})}),Um=({badge:e,alternative:t,children:n})=>{const{internal:r}=ma(),i=Dh();return i&&r?b.jsxs(b.Fragment,{children:[n,e?b.jsx(GFe,{badgeSx:e===!0?void 0:e}):b.jsx(qFe,{})]}):typeof t=="string"?i&&b.jsx(Qm,{to:t,replace:!0}):b.jsx(b.Fragment,{children:t})};function Dut(){const{internal:e}=ma(),t=Dh();return m.useCallback(n=>t&&e?n.internal:n.public,[e,t])}const qFe=({compact:e})=>{const{_:t}=Tn();return b.jsx(xs,{title:t({id:"3PnvnF"}),children:b.jsx(Hf,{label:t({id:"2EcUjH"}),color:"info",sx:n=>({mx:1,fontWeight:"medium",...e&&{height:n.spacing(2)},cursor:"help"})})})},GFe=({badgeSx:e})=>{const{_:t}=Tn();return b.jsx(ei,{position:"relative",display:"inline",sx:e,children:b.jsx(xs,{title:t({id:"p8zpfe"}),children:b.jsx(ei,{children:b.jsx(WFe,{color:"info",style:{position:"absolute",left:0,height:"14px",bottom:"-7px",cursor:"help"}})})})})},KFe=({error:e,codeblock:t})=>{const n=e?.stack||e?.toString()||"undefined error";return`Reporting the following runtime error: 266 267${t?`\`\`\`typescript 268${n} 269\`\`\``:n}`},YFe=({color:e,error:t,size:n,sx:r,variant:i})=>{const[o,a]=m.useState(!1),s=()=>{a(!1),rr.track("BugReport",{error:KFe({error:t})}),a(!0)};return b.jsx(xs,{title:o?b.jsx(yn,{id:"z_Isif"}):void 0,children:b.jsx("span",{children:b.jsx(Li,{color:e,onClick:s,size:n,disabled:o,variant:i,sx:r,children:o?b.jsx(yn,{id:"PROUMh"}):b.jsx(yn,{id:"_0IgkP"})})})})},C1=({message:e,error:t,query:n,sx:r})=>{const i=ha(),[o,a]=n??[],s=o?.error&&R$(o.error),l=m.useMemo(()=>o?.error?.networkError instanceof _C?o.error.networkError.code===B_.UNAUTHENTICATED:!1,[o?.error?.networkError]);return b.jsxs(zn,{sx:Js({my:16,alignItems:"center",justifyContent:"center",position:"relative",zIndex:1},r),children:[b.jsx(En,{component:"p",variant:"title1",textAlign:"center",gutterBottom:!0,children:b.jsx(yn,{id:"AoEdTj"})}),[e].concat(s).filter(Boolean).map(u=>b.jsxs(En,{variant:"body2",children:[u,"."]},u)),b.jsxs(zn,{sx:{flexDirection:"row",mt:2,gap:1},children:[a&&b.jsx(Li,{size:"small",onClick:()=>a({requestPolicy:"network-only"}),children:b.jsx(yn,{id:"KDw4GX"})}),l&&b.jsx(Li,{variant:"outlined",size:"small",onClick:()=>i.logout(),children:b.jsx(yn,{id:"fcWrnU"})})]}),!n&&b.jsxs(zn,{sx:{gap:2,alignItems:"center"},children:[b.jsx(En,{variant:"body2",children:b.jsx(yn,{id:"cb_LO6"})}),b.jsx(YFe,{size:"small",error:t})]}),b.jsx(Um,{badge:!0,children:b.jsx(zn,{gap:2,maxWidth:"100%",my:3,children:[e,t,s].map((u,c)=>{const f=(typeof u=="string"?u:Array.isArray(u)?u.join(` 270`):u?.stack)||"";return f?b.jsx(jFe,{code:f},c):b.jsx(m.Fragment,{},c)})})})]})};class $Fe extends m.Component{constructor(t){super(t),this.state={}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?this.props.drawer?b.jsx(KK,{onCloseNavigateTo:"/",children:b.jsx(C1,{error:this.state.error})}):b.jsx(C1,{error:this.state.error}):this.props.children}}function x$(e){let t=0;return function(r){return b.jsx($Fe,{drawer:e,children:r},t++)}}var _l={NAME:"Name",OPERATION_DEFINITION:"OperationDefinition",FIELD:"Field",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition"};let A1=class extends Error{constructor(t,n,r,i,o,a,s){super(t),this.name="GraphQLError",this.message=t,o&&(this.path=o),n&&(this.nodes=Array.isArray(n)?n:[n]),r&&(this.source=r),i&&(this.positions=i),a&&(this.originalError=a);var l=s;if(!l&&a){var u=a.extensions;u&&typeof u=="object"&&(l=u)}this.extensions=l||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}};var Yt,bt;function jo(e){return new A1(`Syntax Error: Unexpected token at ${bt} in ${e}`)}function xB(e){if(e.lastIndex=bt,e.test(Yt))return Yt.slice(bt,bt=e.lastIndex)}var f0=/ +(?=[^\s])/y;function JFe(e){for(var t=e.split(` 271`),n="",r=0,i=0,o=t.length-1,a=0;a<t.length;
271a++)f0.lastIndex=0,f0.test(t[a])&&(a&&(!r||f0.lastIndex<r)&&(r=f0.lastIndex),i=i||a,o=a);for(var s=i;s<=o;s++)s!==i&&(n+=` 272`),n+=t[s].slice(r).replace(/\\"""/g,'"""');return n}function qn(){for(var e=0|Yt.charCodeAt(bt++);e===9||e===10||e===13||e===32||e===35||e===44||e===65279;e=0|Yt.charCodeAt(bt++))if(e===35)for(;(e=0|Yt.charCodeAt(bt++))&&e!==10&&e!==13;);bt--}function j_(){for(var e=bt,t=0|Yt.charCodeAt(bt++);t>=48&&t<=57||t>=65&&t<=90||t===95||t>=97&&t<=122;t=0|Yt.charCodeAt(bt++));if(e===bt-1)throw jo("Name");var n=Yt.slice(e,--bt);return qn(),n}function oa(){return{kind:"Name",value:j_()}}var ZFe=/(?:"""|(?:[\s\S]*?[^\\])""")/y,QFe=/(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;function ph(e){var t;switch(Yt.charCodeAt(bt)){case 91:bt++,qn();for(var n=[];Yt.charCodeAt(bt)!==93;)n.push(ph(e));return bt++,qn(),{kind:"ListValue",values:n};case 123:bt++,qn();for(var r=[];Yt.charCodeAt(bt)!==125;){var i=oa();if(Yt.charCodeAt(bt++)!==58)throw jo("ObjectField");qn(),r.push({kind:"ObjectField",name:i,value:ph(e)})}return bt++,qn(),{kind:"ObjectValue",fields:r};case 36:if(e)throw jo("Variable");return bt++,{kind:"Variable",name:oa()};case 34:if(Yt.charCodeAt(bt+1)===34&&Yt.charCodeAt(bt+2)===34){if(bt+=3,(t=xB(ZFe))==null)throw jo("StringValue");return qn(),{kind:"StringValue",value:JFe(t.slice(0,-3)),block:!0}}else{var o=bt,a;bt++;var s=!1;for(a=0|Yt.charCodeAt(bt++);a===92&&(bt++,s=!0)||a!==10&&a!==13&&a!==34&&a;a=0|Yt.charCodeAt(bt++));if(a!==34)throw jo("StringValue");return t=Yt.slice(o,bt),qn(),{kind:"StringValue",value:s?JSON.parse(t):t.slice(1,-1),block:!1}}case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var l=bt++,u;(u=0|Yt.charCodeAt(bt++))>=48&&u<=57;);var c=Yt.slice(l,--bt);if((u=Yt.charCodeAt(bt))===46||u===69||u===101){if((t=xB(QFe))==null)throw jo("FloatValue");return qn(),{kind:"FloatValue",value:c+t}}else return qn(),{kind:"IntValue",value:c};case 110:if(Yt.charCodeAt(bt+1)===117&&Yt.charCodeAt(bt+2)===108&&Yt.charCodeAt(bt+3)===108)return bt+=4,qn(),{kind:"NullValue"};break;case 116:if(Yt.charCodeAt(bt+1)===114&&Yt.charCodeAt(bt+2)===117&&Yt.charCodeAt(bt+3)===101)return bt+=4,qn(),{kind:"BooleanValue",value:!0};break;case 102:if(Yt.charCodeAt(bt+1)===97&&Yt.charCodeAt(bt+2)===108&&Yt.charCodeAt(bt+3)===115&&Yt.charCodeAt(bt+4)===101)return bt+=5,qn(),{kind:"BooleanValue",value:!1};break}return{kind:"EnumValue",value:j_()}}function L$(e){if(Yt.charCodeAt(bt)===40){var t=[];bt++,qn();do{var n=oa();if(Yt.charCodeAt(bt++)!==58)throw jo("Argument");qn(),t.push({kind:"Argument",name:n,value:ph(e)})}while(Yt.charCodeAt(bt)!==41);return bt++,qn(),t}}function Pc(e){if(Yt.charCodeAt(bt)===64){var t=[];do bt++,t.push({kind:"Directive",name:oa(),arguments:L$(e)});while(Yt.charCodeAt(bt)===64);return t}}function XFe(){for(var e=0;Yt.charCodeAt(bt)===91;)e++,bt++,qn();var t={kind:"NamedType",name:oa()};do if(Yt.charCodeAt(bt)===33&&(bt++,qn(),t={kind:"NonNullType",type:t}),e){if(Yt.charCodeAt(bt++)!==93)throw jo("NamedType");qn(),t={kind:"ListType",type:t}}while(e--);return t}function RE(){if(Yt.charCodeAt(bt++)!==123)throw jo("SelectionSet");return qn(),xE()}function xE(){var e=[];do if(Yt.charCodeAt(bt)===46){if(Yt.charCodeAt(++bt)!==46||Yt.charCodeAt(++bt)!==46)throw jo("SelectionSet");switch(bt++,qn(),Yt.charCodeAt(bt)){case 64:e.push({kind:"InlineFragment",typeCondition:void 0,directives:Pc(!1),selectionSet:RE()});break;case 111:Yt.charCodeAt(bt+1)===110?(bt+=2,qn(),e.push({kind:"InlineFragment",typeCondition:{kind:"NamedType",name:oa()},directives:Pc(!1),selectionSet:RE()})):e.push({kind:"FragmentSpread",name:oa(),directives:Pc(!1)});break;case 123:bt++,qn(),e.push({kind:"InlineFragment",typeCondition:void 0,directives:void 0,selectionSet:xE()});break;default:e.push({kind:"FragmentSpread",name:oa(),directives:Pc(!1)})}}else{var t=oa(),n=void 0;Yt.charCodeAt(bt)===58&&(bt++,qn(),n=t,t=oa());var r=L$(!1),i=Pc(!1),o=void 0;Yt.charCodeAt(bt)===123&&(bt++,qn(),o=xE()),e.push({kind:"Field",alias:n,name:t,arguments:r,directives:i,selectionSet:o})}while(Yt.charCodeAt(bt)!==125);return bt++,qn(),{kind:"SelectionSet",selections:e}}function e4e(){if(qn(),Yt.charCodeAt(bt)===40){var e=[];bt++,qn();do{var t=void 0;if(Yt.charCodeAt(bt)===34&&(t=ph(!0)),Yt.charCodeAt(bt++)!==36)throw jo("Variable");var n=oa();if(Yt.charCodeAt(bt++)!==58)throw jo("VariableDefinition");qn();var r=XFe(),i=void 0;Yt.charCodeAt(bt)===61&&(bt++,qn(),i=ph(!0)),qn();var o={kind:"VariableDefinition",variable:{kind:"Variable",name:n},type:r,defaultValue:i,directives:Pc(!0)};t&&(o.description=t),e.push(o)}while(Yt.charCodeAt(bt)!==41);return bt++,qn(),e}}function t4e(e){var t=oa();if(Yt.charCodeAt(bt++)!==111||Yt.charCodeAt(bt++)!==110)throw jo("FragmentDefinition");qn();var n={kind:"FragmentDefinition",name:t,typeCondition:{kind:"NamedType",name:oa()}
272,directives:Pc(!1),selectionSet:RE()};return e&&(n.description=e),n}function LB(){var e=[];do{var t=void 0;if(Yt.charCodeAt(bt)===34&&(t=ph(!0)),Yt.charCodeAt(bt)===123){if(t)throw jo("Document");bt++,qn(),e.push({kind:"OperationDefinition",operation:"query",name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:xE()})}else{var n=j_();switch(n){case"fragment":e.push(t4e(t));break;case"query":case"mutation":case"subscription":var r,i=void 0;(r=Yt.charCodeAt(bt))!==40&&r!==64&&r!==123&&(i=oa());var o={kind:"OperationDefinition",operation:n,name:i,variableDefinitions:e4e(),directives:Pc(!1),selectionSet:RE()};t&&(o.description=t),e.push(o);break;default:throw jo("Document")}}}while(bt<Yt.length);return e}function n4e(e,t){return Yt=e.body?e.body:e,bt=0,qn(),t&&t.noLocation?{kind:"Document",definitions:LB()}:{kind:"Document",definitions:LB(),loc:{start:0,end:Yt.length,startToken:void 0,endToken:void 0,source:{body:Yt,name:"graphql.web",locationOffset:{line:1,column:1}}}}}function Xo(e,t,n){for(var r="",i=0;i<e.length;i++)i&&(r+=t),r+=n(e[i]);return r}function r4e(e){return JSON.stringify(e)}function i4e(e){return`""" 273`+e.replace(/"""/g,'\\"""')+` 274"""`}var kl=` 275`,di={OperationDefinition(e){var t="";e.description&&(t+=di.StringValue(e.description)+` 276`),t+=e.operation,e.name&&(t+=" "+e.name.value),e.variableDefinitions&&e.variableDefinitions.length&&(e.name||(t+=" "),t+="("+Xo(e.variableDefinitions,", ",di.VariableDefinition)+")"),e.directives&&e.directives.length&&(t+=" "+Xo(e.directives," ",di.Directive));var n=di.SelectionSet(e.selectionSet);return t!=="query"?t+" "+n:n},VariableDefinition(e){var t="";return e.description&&(t+=di.StringValue(e.description)+" "),t+=di.Variable(e.variable)+": "+yu(e.type),e.defaultValue&&(t+=" = "+yu(e.defaultValue)),e.directives&&e.directives.length&&(t+=" "+Xo(e.directives," ",di.Directive)),t},Field(e){var t=e.alias?e.alias.value+": "+e.name.value:e.name.value;if(e.arguments&&e.arguments.length){var n=Xo(e.arguments,", ",di.Argument);t.length+n.length+2>80?t+="("+(kl+=" ")+Xo(e.arguments,kl,di.Argument)+(kl=kl.slice(0,-2))+")":t+="("+n+")"}return e.directives&&e.directives.length&&(t+=" "+Xo(e.directives," ",di.Directive)),e.selectionSet&&e.selectionSet.selections.length&&(t+=" "+di.SelectionSet(e.selectionSet)),t}
276,StringValue(e){return e.block?i4e(e.value).replace(/\n/g,kl):r4e(e.value)},BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+Xo(e.values,", ",yu)+"]",ObjectValue:e=>"{"+Xo(e.fields,", ",di.ObjectField)+"}",ObjectField:e=>e.name.value+": "+yu(e.value),Document(e){return!e.definitions||!e.definitions.length?"":Xo(e.definitions,` 277 278`,yu)},SelectionSet:e=>"{"+(kl+=" ")+Xo(e.selections,kl,yu)+(kl=kl.slice(0,-2))+"}",Argument:e=>e.name.value+": "+yu(e.value),FragmentSpread(e){var t="..."+e.name.value;return e.directives&&e.directives.length&&(t+=" "+Xo(e.directives," ",di.Directive)),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),e.directives&&e.directives.length&&(t+=" "+Xo(e.directives," ",di.Directive)),t+=" "+di.SelectionSet(e.selectionSet)},FragmentDefinition(e){var t="";return e.description&&(t+=di.StringValue(e.description)+` 279`),t+="fragment "+e.name.value,t+=" on "+e.typeCondition.name.value,e.directives&&e.directives.length&&(t+=" "+Xo(e.directives," ",di.Directive)),t+" "+di.SelectionSet(e.selectionSet)},Directive(e){var t="@"+e.name.value;return e.arguments&&e.arguments.length&&(t+="("+Xo(e.arguments,", ",di.Argument)+")"),t},NamedType:e=>
279e.name.value,ListType:e=>"["+yu(e.type)+"]",NonNullType:e=>yu(e.type)+"!"},yu=e=>di[e.kind](e);function o4e(e){return kl=` 280`,di[e.kind]?di[e.kind](e):""}function mh(e,t){switch(e.kind){case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"StringValue":case"EnumValue":case"BooleanValue":return e.value;case"ListValue":for(var n=[],r=0,i=e.values.length;r<i;r++)n.push(mh(e.values[r],t));return n;case"ObjectValue":for(var o=Object.create(null),a=0,s=e.fields.length;a<s;a++){var l=e.fields[a];o[l.name.value]=mh(l.value,t)}return o;case"Variable":return t&&t[e.name.value]}}var O$=()=>{},_a=O$;function Va(e){return{tag:0,0:e}}function ck(e){return{tag:1,0:e}}var I1=()=>typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator",a4e=e=>e;function hi(e){return t=>n=>{var r=_a;t((i=>{i===0?n(0):i.tag===0?(r=i[0],n(i)):e(i[0])?n(i):r(0)}))}}function qs(e){return t=>n=>t((r=>{r===0||r.tag===0?n(r):n(ck(e(r[0])))}))}function DC(e){return t=>n=>{var r=[],i=_a,o=!1,a=!1;t((s=>{a||(s===0?(a=!0,r.length||n(0)):s.tag===0?i=s[0]:(o=!1,(function(u){var c=_a;u((f=>{if(f===0){if(r.length){var p=r.indexOf(c);p>-1&&(r=r.slice()).splice(p,1),r.length||(a?n(0):o||(o=!0,i(0)))}}else f.tag===0?(r.push(c=f[0]),c(0)):r.length&&(n(f),c(0))}))})(e(s[0])),o||(o=!0,i(0))))})),n(Va((s=>{if(s===1){a||(a=!0,i(1));for(var l=0,u=r,c=r.length;l<c;l++)u[l](1);r.length=0}else{!a&&!o?(o=!0,i(0)):o=!1;for(var f=0,p=r,v=r.length;f<v;f++)p[f](0)}})))}}function s4e(e){return DC(a4e)(e)}function id(e){return s4e(D$(e))}function LE(e){return t=>n=>{var r=!1;t((i=>{if(!r)if(i===0)r=!0,n(0),e();else if(i.tag===0){var o=i[0];n(Va((a=>{a===1?(r=!0,o(1),e()):o(a)})))}else n(i)}))}}function OE(e){return t=>n=>{var r=!1;t((i=>{if(!r)if(i===0)r=!0,n(0);else if(i.tag===0){var o=i[0];n(Va((a=>{a===1&&(r=!0),o(a)})))}else e(i[0]),n(i)}))}}function w1(e){return t=>n=>t((r=>{r===0?n(0):r.tag===0?(n(r),e()):n(r)}))}function hh(e){var t=[],n=_a,r=!1;return i=>{t.push(i),t.length===1&&e((o=>{if(o===0){for(var a=0,s=t,l=t.length;a<l;a++)s[a](0);t.length=0}else if(o.tag===0)n=o[0];else{r=!1;for(var u=0,c=t,f=t.length;u<f;u++)c[u](o)}})),i(Va((o=>{if(o===1){var a=t.indexOf(i);a>-1&&(t=t.slice()).splice(a,1),t.length||n(1)}else r||(r=!0,n(0))})))}}function OB(e){return t=>n=>{var r=_a,i=_a,o=!1,a=!1,s=!1,l=!1;t((u=>{l||(u===0?(l=!0,s||n(0)):u.tag===0?r=u[0]:(s&&(i(1),i=_a),o?o=!1:(o=!0,r(0)),(function(f){s=!0,f((p=>{s&&(p===0?(s=!1,l?n(0):o||(o=!0,r(0))):p.tag===0?(a=!1,(i=p[0])(0)):(n(p),a?a=!1:i(0)))}))})(e(u[0]))))})),n(Va((u=>{u===1?(l||(l=!0,r(1)),s&&(s=!1,i(1))):(!l&&!o&&(o=!0,r(0)),s&&!a&&(a=!0,i(0)))})))}}function MC(e){return t=>n=>{var r=_a,i=!1,o=0;t((a=>{i||(a===0?(i=!0,n(0)):a.tag===0?r=a[0]:o++<e?(n(a),!i&&o>=e&&(i=!0,n(0),r(1))):n(a))})),n(Va((a=>{a===1&&!i?(i=!0,r(1)):a===0&&!i&&o<e&&r(0)})))}}function z_(e){return t=>n=>{var r=_a,i=_a,o=!1;t((a=>{o||(a===0?(o=!0,i(1),n(0)):a.tag===0?(r=a[0],e((s=>{s===0||(s.tag===0?(i=s[0])(0):(o=!0,i(1),r(1),n(0)))}))):n(a))})),n(Va((a=>{a===1&&!o?(o=!0,r(1),i(1)):o||r(0)})))}}function P$(e,t){return n=>r=>{var i=_a,o=!1;n((a=>{o||(a===0?(o=!0,r(0)):a.tag===0?(i=a[0],r(a)):e(a[0])?r(a):(o=!0,t&&r(a),r(0),i(1)))}))}}function l4e(e){return t=>n=>{var r,i=!1,o=!1;t((a=>{if(!o)if(a===0)o=!0,r?i=!0:n(0);else if(a.tag===0){var s=a[0];n(Va((l=>{l===1&&!o?(o=!0,i=!1,r&&clearTimeout(r),s(1)):o||s(0)})))}else r&&clearTimeout(r),r=setTimeout((()=>{r=void 0,n(a),i&&n(0)}),e(a[0]))}))}}function u4e(e){return t=>e()(t)}function _$(e){return t=>{var n=e[I1()]&&e[I1()]()||e,r=!1,i=!1,o=!1,a;t(Va((async s=>{if(s===1)r=!0,n.return&&n.return();else if(i)o=!0;else{for(o=i=!0;o&&!r;)if((a=await n.next()).done)r=!0,n.return&&await n.return(),t(0);else try{o=!1,t(ck(a.value))}catch(l){if(n.throw)(r=!!(await n.throw(l)).done)&&t(0);else throw l}i=!1}})))}}function c4e(e){return e[I1()]?_$(e):t=>{var n=e[Symbol.iterator](),r=!1,i=!1,o=!1,a;t(Va((s=>{if(s===1)r=!0,n.return&&n.return();else if(i)o=!0;else{for(o=i=!0;o&&!r;)if((a=n.next()).done)r=!0,n.return&&n.return(),t(0);else try{o=!1,t(ck(a.value))}catch(l){if(n.throw)(r=!!n.throw(l).done)&&t(0);else throw l}i=!1}})))}}var D$=c4e;function kS(e){return t=>{var n=!1;t(Va((r=>{r===1?n=!0:n||(n=!0,t(ck(e)),t(0))})))}}function d4e(e){return t=>{var n=!1,r=e({next(i){n||t(ck(i))},complete(){n||(n=!0,t(0))}});t(Va((i=>{i===1&&!n&&(n=!0,r())})))}}function PE(){var e,t;return{source:hh(d4e((n=>(e=n.next,t=n.complete,O$)))),next(n){e&&e(n)},complete(){t&&t()}}}var f4e=e=>{var t=!1;e(Va((n=>{n===1?t=!0:t||(t=!0,e(0))})))};function gh(e){return t=>{var n=_a,r=!1;return t((i=>{i===0?r=!0:i.tag===0?(n=i[0])(0):r||(e(i[0]),n(0))})),{unsubscribe(){r||(r=!0,n(1))}}}}function p4e(e){gh((t=>{}))(e)}function H_(e){return new Promise((t=>{var n=_a,r;e((i=>{i===0?Promise.resolve(r).then(t):i.tag===0?(n=i[0])(0):(r=i[0],n(0))}))}))}var _E=(...e)=>{for(var t=e[0],n=1,r=e.length;n<r;n++)t=e[n](t);return t},m4e=e=>e&&typeof e.message=="string"&&(e.extensions||e.name==="GraphQLError")?e:typeof e=="object"&&typeof e.message=="string"?new A1(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new A1(e);
280class W_ extends Error{constructor(t){var n=(t.graphQLErrors||[]).map(m4e),r=((i,o)=>{var a="";if(i)return`[Network] ${i.message}`;if(o)for(var s=0,l=o.length;s<l;s++)a&&(a+=` 281`),a+=`[GraphQL] ${o[s].message}`;return a})(t.networkError,n);super(r),this.name="CombinedError",this.message=r,this.graphQLErrors=n,this.networkError=t.networkError,this.response=t.response}toString(){return this.message}}var bS=(e,t)=>{for(var n=0|(t||5381),r=0,i=0|e.length;r<i;r++)n=(n<<5)+n+e.charCodeAt(r);return n},wf=new Set,PB=new WeakMap,hm=(e,t)=>{if(e===null||wf.has(e))return"null";if(typeof e!="object")return JSON.stringify(e)||"";if(e.toJSON)return hm(e.toJSON(),t);if(Array.isArray(e)){for(var n="[",r=0,i=e.length;r<i;r++)n.length>1&&(n+=","),n+=hm(e[r],t)||"null";return n+="]"}else if(!t&&(DE!==vh&&e instanceof DE||ME!==vh&&e instanceof ME))return"null";var o=Object.keys(e).sort();if(!o.length&&e.constructor&&Object.getPrototypeOf(e).constructor!==Object.prototype.constructor){var a=PB.get(e)||Math.random().toString(36).slice(2);return PB.set(e,a),hm({__key:a},t)}wf.add(e);for(var s="{",l=0,u=o.length;l<u;l++){var c=hm(e[o[l]],t);c&&(s.length>1&&(s+=","),s+=hm(o[l],t)+":"+c)}return wf.delete(e),s+="}"},N1=(e,t,n)=>{if(!(n==null||typeof n!="object"||n.toJSON||wf.has(n)))if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)N1(e,`${t}.${r}`,n[r]);else if(n instanceof DE||n instanceof ME)e.set(t,n);else{wf.add(n);for(var o in n)N1(e,`${t}.${o}`,n[o])}},Gf=(e,t)=>(wf.clear(),hm(e,t||!1));class vh{}var DE=typeof File<"u"?File:vh,ME=typeof Blob<"u"?Blob:vh,h4e=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,g4e=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,v4e=(e,t)=>t%2==0?e.replace(g4e,` 282`):e,_B=e=>e.split(h4e).map(v4e).join("").trim(),DB=new Map,SS=new Map,q_=e=>{var t;return typeof e=="string"?t=_B(e):e.loc&&SS.get(e.__key)===e?t=e.loc.source.body:(t=DB.get(e)||_B(o4e(e)),DB.set(e,t)),typeof e!="string"&&!e.loc&&(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},MB=e=>{var t;if(e.documentId)t=bS(e.documentId);else if(t=bS(q_(e)),e.definitions){var n=FC(e);n&&(t=bS(` 283# ${n}`,t))}return t},M$=e=>{var t,n;return typeof e=="string"?(t=MB(e),n=SS.get(t)||n4e(e,{noLocation:!0})):(t=e.__key||MB(e),n=SS.get(t)||e),n.loc||q_(n),n.__key=t,SS.set(t,n),n},zc=(e,t,n)=>{var r=t||{},i=M$(e),o=Gf(r,!0),a=i.__key;return o!=="{}"&&(a=bS(o,a)),{key:a,query:i,variables:r,extensions:n}},FC=e=>{for(var t=0,n=e.definitions.length;t<n;t++){var r=e.definitions[t];if(r.kind===_l.OPERATION_DEFINITION)return r.name?r.name.value:void 0}},FB=(e,t,n)=>{var r=t.payload||t;if(!("data"in r||"errors"in r&&Array.isArray(r.errors)))throw new Error("No Content");var i=e.kind==="subscription";return{operation:e,data:r.data,error:Array.isArray(r.errors)?new W_({graphQLErrors:r.errors,response:n}):void 0,extensions:r.extensions?{...r.extensions}:void 0,hasNext:t.hasNext==null?i:t.hasNext,stale:!1}},FE=(e,t)=>{if(typeof e=="object"&&e!=null){if(Array.isArray(e)){e=[...e];for(var n=0,r=t.length;n<r;n++)e[n]=FE(e[n],t[n]);return e}if(!e.constructor||e.constructor===Object){e={...e};for(var i in t)e[i]=FE(e[i],t[i]);return e}}return t},y4e=(e,t,n,r)=>{var i=e.error?e.error.graphQLErrors:[],o=!!e.extensions||!!(t.payload||t).extensions,a={...e.extensions,...(t.payload||t).extensions},s=t.incremental;"path"in t&&(s=[t]);var l={data:e.data};if(s)for(var u=function(){var p=s[c];Array.isArray(p.errors)&&i.push(...p.errors),p.extensions&&(Object.assign(a,p.extensions),o=!0);var v="data",g=l,y=[];if(p.path)y=p.path;else if(r){var k=r.find((w=>w.id===p.id));p.subPath?y=[...k.path,...p.subPath]:y=k.path}for(var E=0,S=y.length;E<S;v=y[E++])g=g[v]=Array.isArray(g[v])?[...g[v]]:{...g[v]};if(p.items)for(var T=+v>=0?v:0,I=0,A=p.items.length;I<A;I++)g[T+I]=FE(g[T+I],p.items[I]);else p.data!==void 0&&(g[v]=FE(g[v],p.data))},c=0,f=s.length;c<f;c++)u();else l.data=(t.payload||t).data||e.data,i=t.errors||t.payload&&t.payload.errors||i;return{operation:e.operation,data:l.data,error:i.length?new W_({graphQLErrors:i,response:n}):void 0,extensions:o?a:void 0,hasNext:t.hasNext!=null?t.hasNext:e.hasNext,stale:!1}}
283,F$=(e,t,n)=>({operation:e,data:void 0,error:new W_({networkError:t,response:n}),extensions:void 0,hasNext:!1,stale:!1});function k4e(e){var t={query:void 0,documentId:void 0,operationName:FC(e.query),variables:e.variables||void 0,extensions:e.extensions};return"documentId"in e.query&&e.query.documentId&&(!e.query.definitions||!e.query.definitions.length)?t.documentId=e.query.documentId:(!e.extensions||!e.extensions.persistedQuery||e.extensions.persistedQuery.miss)&&(t.query=q_(e.query)),t}var b4e=(e,t)=>{var n=e.kind==="query"&&e.context.preferGetMethod;if(!n||!t)return e.context.url;var r=S4e(e.context.url);for(var i in t){var o=t[i];o&&r[1].set(i,typeof o=="object"?Gf(o):o)}var a=r.join("?");return a.length>2047&&n!=="force"?(e.context.preferGetMethod=!1,e.context.url):a},S4e=e=>{var t=e.indexOf("?");return t>-1?[e.slice(0,t),new URLSearchParams(e.slice(t+1))]:[e,new URLSearchParams]},E4e=(e,t)=>{if(t&&!(e.kind==="query"&&e.context.preferGetMethod)){var n=Gf(t),r=(s=>{var l=new Map;return(DE!==vh||ME!==vh)&&(wf.clear(),N1(l,"variables",s)),l})(t.variables);if(r.size){var i=new FormData;i.append("operations",n),i.append("map",Gf({...[...r.keys()].map((s=>[s]))}));var o=0;for(var a of r.values())i.append(""+o++,a);return i}return n}},T4e=(e,t)=>{var n={accept:e.kind==="subscription"?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},r=(typeof e.context.fetchOptions=="function"?e.context.fetchOptions():e.context.fetchOptions)||{};if(r.headers)if((a=>"has"in a&&!Object.keys(a).length)(r.headers))r.headers.forEach(((a,s)=>{n[s]=a}));else if(Array.isArray(r.headers))r.headers.forEach(((a,s)=>{Array.isArray(a)?n[a[0]]?n[a[0]]=`${n[a[0]]},${a[1]}`:n[a[0]]=a[1]:n[s]=a}));else for(var i in r.headers)n[i.toLowerCase()]=r.headers[i];var o=E4e(e,t);return typeof o=="string"&&!n["content-type"]&&(n["content-type"]="application/json"),{...r,method:o?"POST":"GET",body:o,headers:n}},C4e=/boundary="?([^=";]+)"?/i,A4e=/data: ?([^\n]+)/;async function*UB(e){if(e.body[Symbol.asyncIterator])for await(var t of e.body)yield t;else{var n=e.body.getReader(),r;try{for(;!(r=await n.read()).done;)yield r.value}finally{n.cancel()}}}async function*VB(e,t){var n=typeof TextDecoder<"u"?new TextDecoder:null,r="",i;for await(var o of e)for(r+=o.constructor.name==="Buffer"?o.toString():n.decode(o,{stream:!0});(i=r.indexOf(t))>-1;)yield r.slice(0,i),r=r.slice(i+t.length)}async function*I4e(e,t,n){var r=!0,i=null,o;try{yield await Promise.resolve();var a=(o=await(e.context.fetch||fetch)(t,n)).headers.get("Content-Type")||"",s;/multipart\/mixed/i.test(a)?s=(async function*(f,p){var v=f.match(C4e),g="--"+(v?v[1]:"-"),y=!0,k;for await(var E of VB(UB(p),`\r 284`+g)){if(y){y=!1;var S=E.indexOf(g);if(S>-1)E=E.slice(S+g.length);else continue}try{yield k=JSON.parse(E.slice(E.indexOf(`\r 285\r 286`)+4))}catch(T){if(!k)throw T}if(k&&k.hasNext===!1)break}k&&k.hasNext!==!1&&(yield{hasNext:!1})})(a,o):/text\/event-stream/i.test(a)?s=(async function*(f){var p;for await(var v of VB(UB(f),` 287 288`)){var g=v.match(A4e);if(g){var y=g[1];try{yield p=JSON.parse(y)}catch(k){if(!p)throw k}if(p&&p.hasNext===!1)break}}p&&p.hasNext!==!1&&(yield{hasNext:!1})})(o):/text\//i.test(a)?s=(async function*(f){var p=await f.text();try{var v=JSON.parse(p);yield v}catch{throw new Error(p)}})(o):s=(async function*(f){yield JSON.parse(await f.text())})(o);var l;for await(var u of s)u.pending&&!i?l=u.pending:u.pending&&(l=[...l,...u.pending]),i=i?y4e(i,u,o,l):FB(e,u,o),r=!1,yield i,r=!0;i||(yield i=FB(e,{},o))}catch(c){if(!r)throw c;yield F$(e,o&&(o.status<200||o.status>=300)&&o.statusText?new Error(o.statusText):c,o)}}function w4e(e,t,n){var r;return typeof AbortController<"u"&&(n.signal=(r=new AbortController).signal),LE((()=>{r&&r.abort()}))(hi((i=>!!i))(_$(I4e(e,t,n))))}var R1=e=>{if("definitions"in e){for(var t=[],n=0,r=e.definitions.length;n<r;n++){var i=R1(e.definitions[n]);t.push(i)}return{...e,definitions:t}}if("directives"in e&&e.directives&&e.directives.length){for(var o=[],a={},s=0,l=e.directives.length;s<l;s++){var u=e.directives[s],c=u.name.value;c[0]!=="_"?o.push(u):c=c.slice(1),a[c]=u}e={...e,directives:o,_directives:a}}if("selectionSet"in e){var f=[],p=e.kind===_l.OPERATION_DEFINITION;if(e.selectionSet){for(var v=0,g=e.selectionSet.selections.length;v<g;v++){var y=e.selectionSet.selections[v];p=p||y.kind===_l.FIELD&&y.name.value==="__typename"&&!y.alias;var k=R1(y);f.push(k)}return p||f.push({kind:_l.FIELD,name:{kind:_l.NAME,value:"__typename"},_generated:!0}),{...e,selectionSet:{...e.selectionSet,selections:f}}}}return e},BB=new Map,vy=e=>{var t=M$(e),n=BB.get(t.__key);return n||(BB.set(t.__key,n=R1(t)),Object.defineProperty(n,"__key",{value:t.__key,enumerable:!1})),n};function jB(e){var t=n=>e(n);return t.toPromise=()=>H_(MC(1)(hi((n=>!n.stale&&!n.hasNext))(t))),t.then=(n,r)=>t.toPromise().then(n,r),t.subscribe=n=>gh(n)(t),t}
288function od(e,t,n){return{...t,kind:e,context:t.context?{...t.context,...n}:n||t.context}}var N4e=()=>{},R4e=({forward:e,dispatchDebug:t})=>n=>{var r=DC((o=>{var a=k4e(o),s=b4e(o,a),l=T4e(o,a),u=z_(hi((c=>c.kind==="teardown"&&c.key===o.key))(n))(w4e(o,s,l));return u}))(hi((o=>o.kind!=="teardown"&&(o.kind!=="subscription"||!!o.context.fetchSubscriptions)))(n)),i=e(hi((o=>o.kind==="teardown"||o.kind==="subscription"&&!o.context.fetchSubscriptions))(n));return id([r,i])},x4e=e=>({client:t,forward:n,dispatchDebug:r})=>e.reduceRight(((i,o)=>o({client:t,forward(a){return hh(i(hh(a)))},dispatchDebug(a){}})),n),L4e=({dispatchDebug:e})=>t=>hi((n=>!1))(t),O4e=function e(t){var n=0,r=new Map,i=new Map,o=new Set,a=[],s={url:t.url,fetchSubscriptions:t.fetchSubscriptions,fetchOptions:t.fetchOptions,fetch:t.fetch,preferGetMethod:t.preferGetMethod!=null?t.preferGetMethod:"within-url-limit",requestPolicy:t.requestPolicy||"cache-first"},l=PE();function u(S){(S.kind==="mutation"||S.kind==="teardown"||!o.has(S.key))&&(S.kind==="teardown"?o.delete(S.key):S.kind!=="mutation"&&o.add(S.key),l.next(S))}var c=!1;function f(S){if(S&&u(S),!c){for(c=!0;c&&(S=a.shift());)u(S);c=!1}}var p=S=>{var T=z_(hi((I=>I.kind==="teardown"&&I.key===S.key))(l.source))(hi((I=>I.operation.kind===S.kind&&I.operation.key===S.key&&(!I.operation.context._instance||I.operation.context._instance===S.context._instance)))(E));return S.kind!=="query"?T=P$((I=>!!I.hasNext),!0)(T):T=OB((I=>{var A=kS(I);return I.stale||I.hasNext?A:id([A,qs((()=>(I.stale=!0,I)))(MC(1)(hi((w=>w.key===S.key))(l.source)))])}))(T),S.kind!=="mutation"?T=LE((()=>{o.delete(S.key),r.delete(S.key),i.delete(S.key),c=!1;for(var I=a.length-1;I>=0;I--)a[I].key===S.key&&a.splice(I,1);u(od("teardown",S,S.context))}))(OE((I=>{if(I.stale)if(!I.hasNext)o.delete(S.key);else for(var A=0;A<a.length;A++){var w=a[A];if(w.key===I.operation.key){o.delete(w.key);break}}else I.hasNext||o.delete(S.key);r.set(S.key,I)}))(T)):T=w1((()=>{u(S)}))(T),hh(T)},v=this instanceof e?this:Object.create(e.prototype),g=Object.assign(v,{suspense:!!t.suspense,operations$:l.source,reexecuteOperation(S){if(S.kind==="teardown")f(S);else if(S.kind==="mutation")a.push(S),Promise.resolve().then(f);else if(i.has(S.key)){for(var T=!1,I=0;I<a.length;I++)a[I].key===S.key&&(a[I]=S,T=!0);T||o.has(S.key)&&S.context.requestPolicy!=="network-only"?(o.delete(S.key),Promise.resolve().then(f)):(a.push(S),Promise.resolve().then(f))}},createRequestOperation(S,T,I){return I||(I={}),od(S,T,{_instance:S==="mutation"?n=n+1|0:void 0,...s,...I,requestPolicy:I.requestPolicy||s.requestPolicy,suspense:I.suspense||I.suspense!==!1&&g.suspense})},executeRequestOperation(S){return S.kind==="mutation"?jB(p(S)):jB(u4e((()=>{var T=i.get(S.key);T||i.set(S.key,T=p(S)),T=w1((()=>{f(S)}))(T);var I=r.get(S.key);return S.kind==="query"&&I&&(I.stale||I.hasNext)?OB(kS)(id([T,hi((A=>A===r.get(S.key)))(kS(I))])):T})))},executeQuery(S,T){var I=g.createRequestOperation("query",S,T);return g.executeRequestOperation(I)},executeSubscription(S,T){var I=g.createRequestOperation("subscription",S,T);return g.executeRequestOperation(I)},executeMutation(S,T){var I=g.createRequestOperation("mutation",S,T);return g.executeRequestOperation(I)},readQuery(S,T,I){var A=null;return gh((w=>{A=w}))(g.query(S,T,I)).unsubscribe(),A},query:(S,T,I)=>g.executeQuery(zc(S,T),I),subscription:(S,T,I)=>g.executeSubscription(zc(S,T),I),mutation:(S,T,I)=>g.executeMutation(zc(S,T),I)}),y=N4e,k=x4e(t.exchanges),E=hh(k({client:g,dispatchDebug:y,forward:L4e({dispatchDebug:y})})(l.source));return p4e(E),g},P4e={},UC=m.createContext(P4e),_4e=UC.Provider;UC.Consumer;UC.displayName="UrqlContext";var G_=()=>{var e=m.useContext(UC);return e},x1={fetching:!1,stale:!1,hasNext:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},D4e=(e,t)=>e===t||!(!e||!t||e.key!==t.key),UN=(e,t)=>{var n={...e,...t,data:t.data!==void 0||t.error?t.data:e.data,fetching:!!t.fetching,stale:!!t.stale,error:t.fetching?e.error:t.error};return((r,i)=>{for(var o in r)if(!(o in i))return!0;for(var a in i)if(a==="operation"?!D4e(r[a],i[a]):r[a]!==i[a])return!0;return!1})(e,n)?n:e},M4e=(e,t)=>
288{for(var n=0,r=t.length;n<r;n++)if(e[n]!==t[n])return!0;return!1},VN=!1;function Cm(e,t){if(!VN||t===void 0)try{return VN=!0,e(t)}finally{VN=!1}else Promise.resolve(t).then(e)}function Ul(e){var t=m.useRef(!0),n=G_(),[r,i]=m.useState(x1),o=m.useCallback(((a,s)=>(Cm(i,{...x1,fetching:!0}),H_(MC(1)(hi((l=>!l.hasNext))(OE((l=>{t.current&&Cm(i,{fetching:!1,stale:l.stale,data:l.data,error:l.error,extensions:l.extensions,operation:l.operation,hasNext:l.hasNext})}))(n.executeMutation(zc(e,a),s||{}))))))),[n,e,i]);return m.useEffect((()=>(t.current=!0,()=>{t.current=!1})),[]),[r,o]}function F4e(e,t){var n=m.useRef(void 0);return m.useMemo((()=>{var r=zc(e,t);return n.current!==void 0&&n.current.key===r.key?n.current:(n.current=r,r)}),[e,t])}var U4e=e=>{if(!e._react){var t=new Set,n=new Map;e.operations$&&gh((r=>{r.kind==="teardown"&&t.has(r.key)&&(t.delete(r.key),n.delete(r.key))}))(e.operations$),e._react={get:r=>n.get(r),set(r,i){t.delete(r),n.set(r,i)},clear(r){t.delete(r),n.delete(r)},dispose(r){t.add(r)}}}return e._react},V4e=(e,t)=>t&&t.suspense!==void 0?!!t.suspense:e.suspense;function ir(e){var t=G_(),n=U4e(t),r=V4e(t,e.context),i=F4e(e.query,e.variables),o=m.useMemo((()=>{if(e.pause)return null;var p=t.executeQuery(i,{requestPolicy:e.requestPolicy,...e.context});return r?OE((v=>{n.set(i.key,v)}))(p):p}),[n,t,i,r,e.pause,e.requestPolicy,e.context]),a=m.useCallback(((p,v)=>{if(!p)return{fetching:!1};var g=n.get(i.key);if(g){if(v&&g!=null&&"then"in g){var S=g,T=()=>{n.get(i.key)===S&&n.clear(i.key)};throw S.then(T,T),g}}else{var y,k,E=gh((A=>{g=A,y&&y(g)}))(LE((()=>{k&&!g&&(n.get(i.key)===k&&n.clear(i.key),y&&y(void 0))}))(P$((()=>v&&!y||!g||"hasNext"in g&&g.hasNext))(p)));if(g==null&&v)throw k=new Promise((A=>{y=A})),n.set(i.key,k),k;E.unsubscribe()}if(v&&g!=null&&!("then"in g)&&g.error){var I=g;queueMicrotask((()=>{n.get(i.key)===I&&n.clear(i.key)}))}return g||{fetching:!0}}),[n,i]),s=[t,i,e.requestPolicy,e.context,e.pause],[l,u]=m.useState((()=>[o,UN(x1,Cm((()=>a(o,r)))),s])),c=l[1];o!==l[0]&&M4e(l[2],s)&&u([o,c=UN(l[1],Cm((()=>a(o,r)))),s]),m.useEffect((()=>{var p=l[0],v=l[2][1],g=!1,y=E=>{g=!0,Cm(u,(S=>{var T=UN(S[1],E);return S[1]!==T?[S[0],T,S[2]]:S}))};if(p){var k=gh(y)(LE((()=>{y({fetching:!1})}))(p));return g||y({fetching:!0}),()=>{n.dispose(v.key),k.unsubscribe()}}else y({fetching:!1})}),[n,l[0],l[2][1]]);var f=m.useCallback((p=>{var v={requestPolicy:e.requestPolicy,...e.context,...p};Cm(u,(g=>[r?OE((y=>{n.set(i.key,y)}))(t.executeQuery(i,v)):t.executeQuery(i,v),g[1],s]))}),[t,n,i,r,e.requestPolicy,e.context,e.pause]);return[c,f]}function U$(){return`${sY()}/query`}function Fut(e){const t=U$(),n=m.useMemo(()=>({...e.context,url:t}),[e.context,t]),[r,i]=ir({...e,context:n}),{expired:o}=ha();return m.useEffect(()=>{o&&i({requestPolicy:"network-only"})},[o,i]),[m.useMemo(()=>o?{...r,data:void 0,error:void 0,fetching:!0}:r,[r,o]),i]}function zB(e){const t=U$(),[n,r]=Ul(e),i=m.useCallback((o,a)=>r(o,{...a,url:t}),[r,t]);return[n,i]}function BN(e,t){if(!!!e)throw new Error(t)}function B4e(e){return typeof e=="object"&&e!==null}function j4e(e,t){if(!!!e)throw new Error("Unexpected invariant triggered.")}const z4e=/\r\n|[\n\r]/g;function L1(e,t){let n=0,r=1;for(const i of e.body.matchAll(z4e)){if(typeof i.index=="number"||j4e(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function H4e(e){return V$(e.source,L1(e.source,e.start))}function V$(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=t.line===1?n:0,l=t.column+s,u=`${e.name}:${a}:${l} 289`,c=r.split(/\r\n|[\n\r]/g),f=c[i];if(f.length>120){const p=Math.floor(l/80),v=l%80,g=[];for(let y=0;y<f.length;y+=80)g.push(f.slice(y,y+80));return u+HB([[`${a} |`,g[0]],...g.slice(1,p+1).map(y=>["|",y]),["|","^".padStart(v)],["|",g[p+1]]])}return u+HB([[`${a-1} |`,c[i-1]],[`${a} |`,f],["|","^".padStart(l)],[`${a+1} |`,c[i+1]]])}function HB(e){const t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` 290`)}function W4e(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}
vendor: 5,590 bytes, lines 290-294
290class K_ extends Error{constructor(t,...n){var r,i,o;const{nodes:a,source:s,positions:l,path:u,originalError:c,extensions:f}=W4e(n);super(t),this.name="GraphQLError",this.path=u??void 0,this.originalError=c??void 0,this.nodes=WB(Array.isArray(a)?a:a?[a]:void 0);const p=WB((r=this.nodes)===null||r===void 0?void 0:r.map(g=>g.loc).filter(g=>g!=null));this.source=s??(p==null||(i=p[0])===null||i===void 0?void 0:i.source),this.positions=l??p?.map(g=>g.start),this.locations=l&&s?l.map(g=>L1(s,g)):p?.map(g=>L1(g.source,g.start));const v=B4e(c?.extensions)?c?.extensions:void 0;this.extensions=(o=f??v)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),c!=null&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,K_):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` 291 292`+H4e(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` 293 294`+V$(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function WB(e){return e===void 0||e.length===0?void 0:e}function ji(e,t,n){return new K_(`Syntax Error: ${n}`,{source:e,positions:[t]})}class q4e{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class B${constructor(t,n,r,i,o,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const G4e={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},K4e=new Set(Object.keys(G4e));function Uut(e){const t=e?.kind;return typeof t=="string"&&K4e.has(t)}var Am;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Am||(Am={}));var O1;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",e.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION"})(O1||(O1={}));var ln;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="Str
vendor: 4,313 bytes, lines 294-296
294ingValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.DIRECTIVE_EXTENSION="DirectiveExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})(ln||(ln={}));function P1(e){return e===9||e===32}function yy(e){return e>=48&&e<=57}function j$(e){return e>=97&&e<=122||e>=65&&e<=90}function z$(e){return j$(e)||e===95}function Y4e(e){return j$(e)||yy(e)||e===95}function $4e(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;a<e.length;++a){var o;const s=e[a],l=J4e(s);l!==s.length&&(r=(o=r)!==null&&o!==void 0?o:a,i=a,a!==0&&l<n&&(n=l))}return e.map((a,s)=>s===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function J4e(e){let t=0;for(;t<e.length&&P1(e.charCodeAt(t));)++t;return t}function Vut(e,t){const n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=r.length===1,o=r.length>1&&r.slice(1).every(v=>v.length===0||P1(v.charCodeAt(0))),a=n.endsWith('\\"""'),s=e.endsWith('"')&&!a,l=e.endsWith("\\"),u=s||l,c=!i||e.length>70||u||o||a;let f="";const p=i&&P1(e.charCodeAt(0));return(c&&!p||o)&&(f+=` 295`),f+=n,(c||u)&&(f+=` 296`),'"""'+f+'"""'}var Xe;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(Xe||(Xe={}));class Z4e{constructor(t){const n=new B$(Xe.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==Xe.EOF)do if(t.next)t=t.next;else{const n=X4e(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===Xe.COMMENT);return t}}function Q4e(e){return e===Xe.BANG||e===Xe.DOLLAR||e===Xe.AMP||e===Xe.PAREN_L||e===Xe.PAREN_R||e===Xe.DOT||e===Xe.SPREAD||e===Xe.COLON||e===Xe.EQUALS||e===Xe.AT||e===Xe.BRACKET_L||e===Xe.BRACKET_R||e===Xe.BRACE_L||e===Xe.PIPE||e===Xe.BRACE_R}function Uh(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function VC(e,t){return H$(e.charCodeAt(t))&&W$(e.charCodeAt(t+1))}function H$(e){return e>=55296&&e<=56319}function W$(e){return e>=56320&&e<=57343}function Kf(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return Xe.EOF;if(n>=32&&n<=126){const r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Ri(e,t,n,r,i){const o=e.line,a=1+n-e.lineStart;return new B$(t,n,r,o,a,i)}function X4e(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const o=n.charCodeAt(i);switch(o){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:n.charCodeAt(i+1)===10?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return e2e(e,i);case 33:return Ri(e,Xe.BANG,i,i+1);case 36:return Ri(e,Xe.DOLLAR,i,i+1);case 38:return Ri(e,Xe.AMP,i,i+1);case 40:return Ri(e,Xe.PAREN_L,i,i+1);case 41:return Ri(e,Xe.PAREN_R,i,i+1);
vendor: 5,061 bytes, lines 296-298
296case 46:if(n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)===46)return Ri(e,Xe.SPREAD,i,i+3);break;case 58:return Ri(e,Xe.COLON,i,i+1);case 61:return Ri(e,Xe.EQUALS,i,i+1);case 64:return Ri(e,Xe.AT,i,i+1);case 91:return Ri(e,Xe.BRACKET_L,i,i+1);case 93:return Ri(e,Xe.BRACKET_R,i,i+1);case 123:return Ri(e,Xe.BRACE_L,i,i+1);case 124:return Ri(e,Xe.PIPE,i,i+1);case 125:return Ri(e,Xe.BRACE_R,i,i+1);case 34:return n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34?a2e(e,i):n2e(e,i)}if(yy(o)||o===45)return t2e(e,i,o);if(z$(o))return s2e(e,i);throw ji(e.source,i,o===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Uh(o)||VC(n,i)?`Unexpected character: ${Kf(e,i)}.`:`Invalid character: ${Kf(e,i)}.`)}return Ri(e,Xe.EOF,r,r)}function e2e(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const o=n.charCodeAt(i);if(o===10||o===13)break;if(Uh(o))++i;else if(VC(n,i))i+=2;else break}return Ri(e,Xe.COMMENT,t,i,n.slice(t+1,i))}function t2e(e,t,n){const r=e.source.body;let i=t,o=n,a=!1;if(o===45&&(o=r.charCodeAt(++i)),o===48){if(o=r.charCodeAt(++i),yy(o))throw ji(e.source,i,`Invalid number, unexpected digit after 0: ${Kf(e,i)}.`)}else i=jN(e,i,o),o=r.charCodeAt(i);if(o===46&&(a=!0,o=r.charCodeAt(++i),i=jN(e,i,o),o=r.charCodeAt(i)),(o===69||o===101)&&(a=!0,o=r.charCodeAt(++i),(o===43||o===45)&&(o=r.charCodeAt(++i)),i=jN(e,i,o),o=r.charCodeAt(i)),o===46||z$(o))throw ji(e.source,i,`Invalid number, expected digit but got: ${Kf(e,i)}.`);return Ri(e,a?Xe.FLOAT:Xe.INT,t,i,r.slice(t,i))}function jN(e,t,n){if(!yy(n))throw ji(e.source,t,`Invalid number, expected digit but got: ${Kf(e,t)}.`);const r=e.source.body;let i=t+1;for(;yy(r.charCodeAt(i));)++i;return i}function n2e(e,t){const n=e.source.body,r=n.length;let i=t+1,o=i,a="";for(;i<r;){const s=n.charCodeAt(i);if(s===34)return a+=n.slice(o,i),Ri(e,Xe.STRING,t,i+1,a);if(s===92){a+=n.slice(o,i);const l=n.charCodeAt(i+1)===117?n.charCodeAt(i+2)===123?r2e(e,i):i2e(e,i):o2e(e,i);a+=l.value,i+=l.size,o=i;continue}if(s===10||s===13)break;if(Uh(s))++i;else if(VC(n,i))i+=2;else throw ji(e.source,i,`Invalid character within String: ${Kf(e,i)}.`)}throw ji(e.source,i,"Unterminated string.")}function r2e(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const o=n.charCodeAt(t+i++);if(o===125){if(i<5||!Uh(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|Ev(o),r<0)break}throw ji(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function i2e(e,t){const n=e.source.body,r=qB(n,t+2);if(Uh(r))return{value:String.fromCodePoint(r),size:6};if(H$(r)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){const i=qB(n,t+8);if(W$(i))return{value:String.fromCodePoint(r,i),size:12}}throw ji(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function qB(e,t){return Ev(e.charCodeAt(t))<<12|Ev(e.charCodeAt(t+1))<<8|Ev(e.charCodeAt(t+2))<<4|Ev(e.charCodeAt(t+3))}function Ev(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function o2e(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` 297`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ji(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function a2e(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,a=o,s="";const l=[];for(;o<r;){const u=n.charCodeAt(o);if(u===34&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34){s+=n.slice(a,o),l.push(s);const c=Ri(e,Xe.BLOCK_STRING,t,o+3,$4e(l).join(` 298`));return e.line+=l.length-1,e.lineStart=i,c}if(u===92&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34&&n.charCodeAt(o+3)===34){s+=n.slice(a,o),a=o+1,o+=4;continue}if(u===10||u===13){s+=n.slice(a,o),l.push(s),u===13&&n.charCodeAt(o+1)===10?o+=2:++o,s="",a=o,i=o;continue}if(Uh(u))++o;else if(VC(n,o))o+=2;else throw ji(e.source,o,`Invalid character within String: ${Kf(e,o)}.`)}throw ji(e.source,o,"Unterminated string.")}function s2e(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const o=n.charCodeAt(i);if(Y4e(o))++i;else break}return Ri(e,Xe.NAME,t,i,n.slice(t,i))}const l2e=10,q$=2;function G$(e){return BC(e,[])}function BC(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return u2e(e,t);default:return String(e)}}function u2e(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(c2e(e)){const r=e.toJSON();if(r!==e)return typeof r=="string"?r:BC(r,n)}else if(Array.isArray(e))return f2e(e,n);return d2e(e,n)}function c2e(e){return typeof e.toJSON=="function"}function d2e(e,t){const n=Object.entries(e);return n.length===0?"{}":t.length>q$?"["+p2e(e)+"]":"{ "+n.map(([i,o])=>i+": "+BC(o,t)).join(", ")+" }"}function f2e(e,t){if(e.length===0)return"[]";if(t.length>q$)return"[Array]";const n=Math.min(l2e,e.length),r=e.length-n,i=[];for(let o=0;o<n;++o)i.push(BC(e[o],t));
298return r===1?i.push("... 1 more item"):r>1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function p2e(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const m2e=globalThis.process&&!0,h2e=m2e?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;const i=n.prototype[Symbol.toStringTag],o=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===o){const a=G$(t);throw new Error(`Cannot use ${i} "${a}" from another module or realm. 299 300Ensure that there is only one instance of "graphql" in the node_modules 301directory. If different versions of "graphql" are the dependencies of other 302relied on modules, use "resolutions" to ensure only one version is installed. 303 304https://yarnpkg.com/en/docs/selective-version-resolutions 305 306Duplicate "graphql" modules cannot be used at the same time since different 307versions may have different capabilities and behavior. The data from one 308version used in the function from another could produce confusing and 309spurious results.`)}}return!1};class K${constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||BN(!1,`Body must be a string. Received: ${G$(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||BN(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||BN(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function g2e(e){return h2e(e,K$)}function v2e(e,t){const n=new y2e(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}class y2e{constructor(t,n={}){const{lexer:r,...i}=n;if(r)this._lexer=r;else{const o=g2e(t)?t:new K$(t);this._lexer=new Z4e(o)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const t=this.expectToken(Xe.NAME);return this.node(t,{kind:ln.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:ln.DOCUMENT,definitions:this.many(Xe.SOF,this.parseDefinition,Xe.EOF)})}parseDefinition(){if(this.peek(Xe.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(t&&n.kind===Xe.BRACE_L)throw ji(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(n.kind===Xe.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(t)throw ji(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if(n.value==="extend")return this.parseTypeSystemExtension()}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(Xe.BRACE_L))return this.node(t,{kind:ln.OPERATION_DEFINITION,operation:Am.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseDescription(),r=this.parseOperationType();let i;return this.peek(Xe.NAME)&&(i=this.parseName()),this.node(t,{kind:ln.OPERATION_DEFINITION,operation:r,description:n,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(Xe.NAME);switch(t.value){case"query":return Am.QUERY;case"mutation":return Am.MUTATION;case"subscription":return Am.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(Xe.PAREN_L,this.parseVariableDefinition,
vendor: 10,030 bytes, line 309
309Xe.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:ln.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(Xe.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Xe.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(Xe.DOLLAR),this.node(t,{kind:ln.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:ln.SELECTION_SET,selections:this.many(Xe.BRACE_L,this.parseSelection,Xe.BRACE_R)})}parseSelection(){return this.peek(Xe.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let r,i;return this.expectOptionalToken(Xe.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:ln.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Xe.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(Xe.PAREN_L,n,Xe.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,r=this.parseName();return this.expectToken(Xe.COLON),this.node(n,{kind:ln.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(Xe.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(Xe.NAME)?this.node(t,{kind:ln.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:ln.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token,n=this.parseDescription();return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:ln.FRAGMENT_DEFINITION,description:n,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:ln.FRAGMENT_DEFINITION,description:n,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case Xe.BRACKET_L:return this.parseList(t);case Xe.BRACE_L:return this.parseObject(t);case Xe.INT:return this.advanceLexer(),this.node(n,{kind:ln.INT,value:n.value});case Xe.FLOAT:return this.advanceLexer(),this.node(n,{kind:ln.FLOAT,value:n.value});case Xe.STRING:case Xe.BLOCK_STRING:return this.parseStringLiteral();case Xe.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:ln.BOOLEAN,value:!0});case"false":return this.node(n,{kind:ln.BOOLEAN,value:!1});case"null":return this.node(n,{kind:ln.NULL});default:return this.node(n,{kind:ln.ENUM,value:n.value})}case Xe.DOLLAR:if(t)if(this.expectToken(Xe.DOLLAR),this._lexer.token.kind===Xe.NAME){const r=this._lexer.token.value;throw ji(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:ln.STRING,value:t.value,block:t.kind===Xe.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:ln.LIST,values:this.any(Xe.BRACKET_L,n,Xe.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:ln.OBJECT,fields:this.any(Xe.BRACE_L,n,Xe.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,r=this.parseName();return this.expectToken(Xe.COLON),this.node(n,{kind:ln.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(Xe.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(Xe.AT),this.node(n,{kind:ln.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(Xe.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(Xe.BRACKET_R),n=this.node(t,{kind:ln.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(Xe.BANG)?this.node(t,{kind:ln.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:ln.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(Xe.STRING)||this.peek(Xe.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),i=this.many(Xe.BRACE_L,this.parseOperationTypeDefinition,Xe.BRACE_R);return this.node(t,{kind:ln.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(Xe.COLON);const r=this.parseNamedType();return this.node(t,{kind:ln.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:ln.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:ln.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Xe.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(Xe.BRACE_L,this.parseFieldDefinition,Xe.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(Xe.COLON);const o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:ln.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(Xe.PAREN_L,this.parseInputValueDef,Xe.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(Xe.COLON);const i=this.parseTypeReference();let o;this.expectOptionalToken(Xe.EQUALS)&&(o=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:ln.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:ln.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:ln.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(Xe.EQUALS)?this.delimitedMany(Xe.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:ln.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o})}parseEnumValuesDefinition(){return this.optionalMany(Xe.BRACE_L,this.parseEnumValueDefinition,Xe.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:ln.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw ji(this._lexer.source,this._lexer.token.start,`${p0(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:ln.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(Xe.BRACE_L,this.parseInputValueDef,Xe.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===Xe.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension();break}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.optionalMany(Xe.BRACE_L,this.parseOperationTypeDefinition,
309Xe.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:ln.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:ln.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:ln.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:ln.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:ln.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:ln.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:ln.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinitionExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(Xe.AT);const n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:ln.DIRECTIVE_EXTENSION,name:n,directives:r})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Xe.AT);const r=this.parseName(),i=this.parseArgumentDefs(),o=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const s=this.parseDirectiveLocations();return this.node(t,{kind:ln.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,directives:o,repeatable:a,locations:s})}parseDirectiveLocations(){return this.delimitedMany(Xe.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(O1,n.value))return n;throw this.unexpected(t)}parseSchemaCoordinate(){const t=this._lexer.token,n=this.expectOptionalToken(Xe.AT),r=this.parseName();let i;!n&&this.expectOptionalToken(Xe.DOT)&&(i=this.parseName());let o;return(n||i)&&this.expectOptionalToken(Xe.PAREN_L)&&(o=this.parseName(),this.expectToken(Xe.COLON),this.expectToken(Xe.PAREN_R)),n?o?this.node(t,{kind:ln.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:o}):this.node(t,{kind:ln.DIRECTIVE_COORDINATE,name:r}):i?o?this.node(t,{kind:ln.ARGUMENT_COORDINATE,name:r,fieldName:i,argumentName:o}):this.node(t,{kind:ln.MEMBER_COORDINATE,name:r,memberName:i}):this.node(t,{kind:ln.TYPE_COORDINATE,name:r})}node(t,n){return this._options.noLocation!==!0&&(n.loc=new q4e(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw ji(this._lexer.source,n.start,`Expected ${Y$(t)}, found ${p0(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===Xe.NAME&&n.value===t)this.advanceLexer();else throw ji(this._lexer.source,n.start,`Expected "${t}", found ${p0(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===Xe.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return ji(this._lexer.source,n.start,`Unexpected ${p0(n)}.`)}any(t,n,r){this.expectToken(t);const i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);const r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(n.kind!==Xe.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw ji(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function p0(e){const t=e.value;return Y$(e.kind)+(t!=null?` "${t}"`:"")}function Y$(e){return Q4e(e)?`"${e}"`:e}var ES=new Map,_1=new Map,$$=!0,Hv=!1;function J$(e){return e.replace(/[\s,]+/g," ").trim()}function k2e(e){return J$(e.source.body.substring(e.start,e.end))}function b2e(e){var t=new Set,n=[];return e.definitions.forEach(function(r){if(r.kind==="FragmentDefinition"){var i=r.name.value,o=k2e(r.loc),a=_1.get(i);a&&!a.has(o)?$$&&console.warn("Warning: fragment with name "+i+` already exists. 310graphql-tag enforces all fragment names across your application to be unique; read more about 311this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||_1.set(i,a=new Set),a.add(o),t.has(o)||
vendor: 4,863 bytes, lines 311-543
311(t.add(o),n.push(r))}else n.push(r)}),me(me({},e),{definitions:n})}function S2e(e){var t=new Set(e.definitions);t.forEach(function(r){r.loc&&delete r.loc,Object.keys(r).forEach(function(i){var o=r[i];o&&typeof o=="object"&&t.add(o)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function E2e(e){var t=J$(e);if(!ES.has(t)){var n=v2e(e,{experimentalFragmentVariables:Hv,allowLegacyFragmentVariables:Hv,experimentalFragmentArguments:Hv});if(!n||n.kind!=="Document")throw new Error("Not a valid GraphQL document.");ES.set(t,S2e(b2e(n)))}return ES.get(t)}function vt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];typeof e=="string"&&(e=[e]);var r=e[0];return t.forEach(function(i,o){i&&i.kind==="Document"?r+=i.loc.source.body:r+=i,r+=e[o+1]}),E2e(r)}function T2e(){ES.clear(),_1.clear()}function C2e(){$$=!1}function A2e(){Hv=!0}function I2e(){Hv=!1}var Zg={gql:vt,resetCaches:T2e,disableFragmentWarnings:C2e,enableExperimentalFragmentVariables:A2e,disableExperimentalFragmentVariables:I2e};(function(e){e.gql=Zg.gql,e.resetCaches=Zg.resetCaches,e.disableFragmentWarnings=Zg.disableFragmentWarnings,e.enableExperimentalFragmentVariables=Zg.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=Zg.disableExperimentalFragmentVariables})(vt||(vt={}));vt.default=vt;const w2e=vt` 312 query Organizations { 313 groups { 314 id 315 name 316 description 317 verified 318 kind 319 status 320 } 321 } 322`,N2e=vt` 323 query Organization($id: ID!) { 324 group(id: $id) { 325 id 326 name 327 description 328 verified 329 kind 330 status 331 } 332 } 333`,R2e=vt` 334 query OrganizationFolders($id: ID!) { 335 groups(filter: {uidp: {descendantsOf: $id}}) { 336 id 337 name 338 } 339 } 340`,x2e=vt` 341 mutation CreateOrganization($group: GroupInput!) { 342 createGroup(parentID: "", group: $group) { 343 id 344 name 345 } 346 } 347`,L2e=vt` 348 mutation CreateStarterOrganization($org: GroupInput!) { 349 createStarterOrg(input: $org) { 350 id 351 name 352 kind 353 status 354 } 355 } 356`,O2e=vt` 357 mutation CreateAwsOrganization($org: GroupInput!) { 358 createAWSMarketplaceOrg(input: $org) { 359 id 360 name 361 kind 362 status 363 } 364 } 365`,P2e=vt` 366 mutation UpdateGroup($id: ID!, $group: GroupInput!) { 367 updateGroup(id: $id, group: $group) { 368 id 369 name 370 description 371 } 372 } 373`,_2e=vt` 374 mutation RequestOrgAccess($id: ID!) { 375 requestOrgAccess(input: {groupId: $id}) 376 } 377`,D2e=vt` 378 query RoleBindingList($organizationId: ID = "") { 379 roleBindings(filter: {uidp: {descendantsOf: $organizationId}}) { 380 id 381 identity 382 issuer 383 subject 384 role { 385 id 386 name 387 description 388 capabilities 389 } 390 email 391 emailUnverified 392 createdAt 393 } 394 } 395`,M2e=vt` 396 mutation CreateRoleBinding($parentID: ID!, $roleBinding: RoleBindingInput!) { 397 createRoleBinding(parentID: $parentID, roleBinding: $roleBinding) { 398 id 399 identity 400 role { 401 id 402 name 403 description 404 capabilities 405 } 406 } 407 } 408`,F2e=vt` 409 mutation UpdateRoleBinding($id: ID!, $roleBinding: RoleBindingInput!) { 410 updateRoleBinding(id: $id, roleBinding: $roleBinding) { 411 id 412 identity 413 role { 414 id 415 name 416 description 417 capabilities 418 } 419 } 420 } 421`,U2e=vt` 422 mutation DeleteRoleBinding($id: ID!) { 423 deleteRoleBinding(id: $id) 424 } 425`,V2e=vt` 426 query Roles($organizationId: ID!) { 427 roles(filter: {parent: $organizationId}) { 428 id 429 name 430 description 431 capabilities 432 } 433 } 434`,B2e=vt` 435 query RoleDetails($id: ID!) { 436 role(id: $id) { 437 id 438 name 439 description 440 capabilities 441 } 442 } 443`,j2e=vt` 444 mutation CreateRole($parentID: ID!, $role: RoleInput!) { 445 createRole(parentID: $parentID, role: $role) { 446 id 447 name 448 description 449 capabilities 450 } 451 } 452`,z2e=vt` 453 mutation UpdateRole($id: ID!, $role: RoleInput!) { 454 updateRole(id: $id, role: $role) { 455 id 456 name 457 description 458 capabilities 459 } 460 } 461`,H2e=vt` 462 mutation DeleteRole($id: ID!) { 463 deleteRole(id: $id) 464 } 465`,W2e=vt` 466 query Identity($id: ID!) { 467 identity(id: $id) { 468 id 469 name 470 description 471 type 472 createdAt 473 updatedAt 474 claimMatch { 475 issuer 476 issuerPattern 477 subject 478 subjectPattern 479 audience 480 audiencePattern 481 claims { 482 claim 483 value 484 } 485 claimPatterns { 486 claim 487 pattern 488 } 489 } 490 static { 491 issuer 492 subject 493 issuerKeys 494 expiration 495 } 496 servicePrincipal 497 awsIdentity { 498 awsAccount 499 arn 500 arnPattern 501 userId 502 userIdPattern 503 } 504 } 505 } 506`,q2e=vt` 507 query Identities($organizationId: ID!) { 508 identities(filter: {uidp: {descendantsOf: $organizationId}}) { 509 id 510 name 511 description 512 type 513 createdAt 514 updatedAt 515 static { 516 expiration 517 } 518 claimMatch { 519 issuer 520 issuerPattern 521 subject 522 subjectPattern 523 } 524 } 525 } 526`,G2e=vt` 527 query AllIdentities { 528 identities { 529 id 530 name 531 type 532 } 533 } 534`,K2e=vt` 535 mutation CreatePullToken( 536 $group: ID! 537 $name: String! 538 $description: String! 539 $ttl: Int! 540 $role: String! 541 ) { 542 createPullToken( 543 parentID: $group
544 input: {name: $name, description: $description, ttl: $ttl, role: $role} 545 ) { 546 username 547 password 548 registry 549 expiration 550 } 551 } 552`,Y2e=vt` 553 mutation DeleteIdentity($id: ID!) { 554 deleteIdentity(id: $id) 555 } 556`,$2e=vt` 557 mutation DeleteExpiredPullTokens($parentID: ID!) { 558 deleteExpiredPullTokens(parentID: $parentID) 559 } 560`,J2e=vt` 561 query Invites($organizationID: ID!) { 562 invites(filter: {group: $organizationID}) { 563 id 564 createdAt 565 expiration 566 role { 567 id 568 name 569 description 570 capabilities 571 } 572 email 573 } 574 } 575`,Z2e=vt` 576 mutation CreateInvite($parentID: ID!, $inviteInput: InviteInput!) { 577 createInvite(parentID: $parentID, inviteInput: $inviteInput) { 578 id 579 code 580 expiration 581 role { 582 id 583 name 584 description 585 capabilities 586 } 587 } 588 } 589`,Q2e=vt` 590 mutation CreateIdentity($parentID: ID!, $identity: IdentityInput!) { 591 createIdentity(parentID: $parentID, identity: $identity) { 592 id 593 name 594 description 595 type 596 createdAt 597 updatedAt 598 claimMatch { 599 issuer 600 issuerPattern 601 subject 602 subjectPattern 603 audience 604 audiencePattern 605 claims { 606 claim 607 value 608 } 609 claimPatterns { 610 claim 611 pattern 612 } 613 } 614 static { 615 issuer 616 subject 617 issuerKeys 618 expiration 619 } 620 servicePrincipal 621 awsIdentity { 622 awsAccount 623 arn 624 arnPattern 625 userId 626 userIdPattern 627 } 628 } 629 } 630`,X2e=vt` 631 mutation UpdateIdentity($id: ID!, $identity: IdentityInput!) { 632 updateIdentity(id: $id, identity: $identity) { 633 id 634 name 635 description 636 type 637 createdAt 638 updatedAt 639 claimMatch { 640 issuer 641 issuerPattern 642 subject 643 subjectPattern 644 audience 645 audiencePattern 646 claims { 647 claim 648 value 649 } 650 claimPatterns { 651 claim 652 pattern 653 } 654 } 655 static { 656 issuer 657 subject 658 issuerKeys 659 expiration 660 } 661 servicePrincipal 662 awsIdentity { 663 awsAccount 664 arn 665 arnPattern 666 userId 667 userIdPattern 668 } 669 } 670 } 671`,e3e=vt` 672 mutation DeleteInvite($id: ID!) { 673 deleteInvite(id: $id) 674 } 675`,t3e=vt` 676 query IdentityProviders { 677 identityProviders { 678 id 679 name 680 defaultRole 681 description 682 oidc { 683 issuer 684 clientId 685 additionalScopes 686 groupsClaim 687 correlationRule 688 } 689 scim { 690 enabled 691 endpointUrl 692 etag 693 credentialState 694 } 695 } 696 } 697`,n3e=vt` 698 query IdentityProvider($id: ID!) { 699 identityProvider(id: $id) { 700 id 701 name 702 description 703 defaultRole 704 oidc { 705 issuer 706 clientId 707 additionalScopes 708 groupsClaim 709 correlationRule 710 } 711 } 712 } 713`,r3e=vt` 714 mutation CreateIdentityProvider( 715 $identityProvider: IdentityProviderCreateInput! 716 $parentID: ID! 717 ) { 718 createIdentityProvider( 719 parentID: $parentID 720 identityProvider: $identityProvider 721 ) { 722 id 723 } 724 } 725`,i3e=vt` 726 mutation UpdateIdentityProvider( 727 $identityProvider: IdentityProviderUpdateInput! 728 $id: ID! 729 ) { 730 updateIdentityProvider(id: $id, identityProvider: $identityProvider) { 731 id 732 } 733 } 734`,o3e=vt` 735 mutation DeleteIdentityProvider($id: ID!) { 736 deleteIdentityProvider(id: $id) 737 } 738`,a3e=vt` 739 mutation GenerateScimToken( 740 $identityProviderId: ID! 741 $input: GenerateScimTokenInput! 742 ) { 743 generateScimToken(identityProviderId: $identityProviderId, input: $input) { 744 token 745 endpointUrl 746 expireTime 747 identityProviderId 748 etag 749 } 750 } 751`,s3e=vt` 752 mutation RegenerateScimToken( 753 $identityProviderId: ID! 754 $input: RegenerateScimTokenInput! 755 ) { 756 regenerateScimToken( 757 identityProviderId: $identityProviderId 758 input: $input 759 ) { 760 token 761 endpointUrl 762 expireTime 763 previousTokenExpireTime 764 requestedOverlapSeconds 765 identityProviderId 766 etag 767 } 768 } 769`,l3e=vt` 770 mutation RevokeScimToken($identityProviderId: ID!) { 771 revokeScimToken(identityProviderId: $identityProviderId) { 772 identityProviderId 773 etag 774 enabled 775 revokeTime 776 } 777 } 778`,u3e=vt` 779 mutation SetScimEnabled( 780 $identityProviderId: ID! 781 $input: SetScimEnabledInput! 782 ) { 783 setScimEnabled(identityProviderId: $identityProviderId, input: $input) { 784 identityProviderId 785 enabled 786 etag 787 } 788 } 789`,c3e=vt` 790 query ExternalGroupRoleMappingsList($filter: ExternalGroupRoleMappingFilter) { 791 externalGroupRoleMappings(filter: $filter) { 792 items { 793 id
794 identityProviderUidp 795 externalGroupId 796 roleUidp 797 scope 798 createdAt 799 } 800 } 801 } 802`,d3e=vt` 803 mutation CreateExternalGroupRoleMapping( 804 $parentID: ID! 805 $mapping: ExternalGroupRoleMappingCreateInput! 806 ) { 807 createExternalGroupRoleMapping(parentID: $parentID, mapping: $mapping) { 808 id 809 } 810 } 811`,f3e=vt` 812 mutation DeleteExternalGroupRoleMapping($id: ID!) { 813 deleteExternalGroupRoleMapping(id: $id) 814 } 815`,p3e=vt` 816 mutation BatchDeleteExternalGroupRoleMappings($parentID: ID!, $ids: [ID!]!) { 817 batchDeleteExternalGroupRoleMappings(parentID: $parentID, ids: $ids) { 818 items { 819 id 820 } 821 } 822 } 823`,m3e=vt` 824 query CheckEligibility { 825 checkEligibility { 826 eligible 827 } 828 } 829`,h3e=vt` 830 query LookupOrg { 831 lookupOrg { 832 group { 833 id 834 name 835 description 836 verified 837 kind 838 status 839 } 840 } 841 } 842`,g3e=vt` 843 query Profile { 844 profile { 845 name 846 picture 847 givenName 848 } 849 } 850`,v3e=vt` 851 query SessionCapabilities { 852 whoami { 853 capabilities { 854 group { 855 id 856 } 857 role { 858 id 859 capabilities 860 } 861 capabilities 862 } 863 } 864 } 865`,y3e=vt` 866 mutation UpdateMetadata($metadata: MetadataInput!) { 867 updateMetadata(metadata: $metadata) { 868 givenName 869 familyName 870 onboardingQuestions { 871 companyName 872 jobTitle 873 utmCampaign 874 utmContent 875 utmMedium 876 utmSource 877 utmTerm 878 latestFormSubmitUrl 879 latestInternalReferringUrl 880 hubspotUtk 881 selfServe 882 } 883 } 884 } 885`,Z$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Organizations"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"groups"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"verified"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},Q$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Organization"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"group"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"verified"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},X$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OrganizationFolders"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"groups"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},k3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateOrganization"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"group"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"GroupInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createGroup"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"StringValue",value:"",block:!1}},{kind:"Argument",name:{kind:"Name",value:"group"},value:{kind:"Variable",name:{kind:"Name",value:"group"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]},b3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateStarterOrganization"}
885,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"org"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"GroupInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createStarterOrg"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"org"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},S3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateAwsOrganization"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"org"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"GroupInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createAWSMarketplaceOrg"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"org"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},E3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateGroup"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"group"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"GroupInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateGroup"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"group"},value:{kind:"Variable",name:{kind:"Name",value:"group"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]},T3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RequestOrgAccess"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"requestOrgAccess"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"groupId"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}]}}]},eJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RoleBindingList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},defaultValue:{kind:"StringValue",value:"",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"roleBindings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"identity"}},{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"subject"}},{kind:"Field",name:{kind:"Name",value:"role"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}},{kind:"Field",name:{kind:"Name",value:"email"}},{kind:"Field",name:{kind:"Name",value:"emailUnverified"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]},tJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateRoleBinding"}
885,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"roleBinding"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RoleBindingInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createRoleBinding"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"Variable",name:{kind:"Name",value:"parentID"}}},{kind:"Argument",name:{kind:"Name",value:"roleBinding"},value:{kind:"Variable",name:{kind:"Name",value:"roleBinding"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"identity"}},{kind:"Field",name:{kind:"Name",value:"role"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}}]}}]}}]},C3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateRoleBinding"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"roleBinding"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RoleBindingInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateRoleBinding"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"roleBinding"},value:{kind:"Variable",name:{kind:"Name",value:"roleBinding"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"identity"}},{kind:"Field",name:{kind:"Name",value:"role"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}}]}}]}}]},A3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteRoleBinding"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteRoleBinding"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},I3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Roles"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"roles"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parent"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}}]}}]},w3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RoleDetails"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"role"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}}]}}]},N3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateRole"}
885,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"role"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RoleInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createRole"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"Variable",name:{kind:"Name",value:"parentID"}}},{kind:"Argument",name:{kind:"Name",value:"role"},value:{kind:"Variable",name:{kind:"Name",value:"role"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}}]}}]},R3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateRole"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"role"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RoleInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateRole"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"role"},value:{kind:"Variable",name:{kind:"Name",value:"role"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}}]}}]},x3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteRole"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteRole"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},nJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Identity"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identity"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"claimMatch"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"issuerPattern"}},{kind:"Field",name:{kind:"Name",value:"subject"}},{kind:"Field",name:{kind:"Name",value:"subjectPattern"}},{kind:"Field",name:{kind:"Name",value:"audience"}},{kind:"Field",name:{kind:"Name",value:"audiencePattern"}},{kind:"Field",name:{kind:"Name",value:"claims"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"claim"}},{kind:"Field",name:{kind:"Name",value:"value"}}]}},{kind:"Field",name:{kind:"Name",value:"claimPatterns"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"claim"}},{kind:"Field",name:{kind:"Name",value:"pattern"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"static"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"subject"}},{kind:"Field",name:{kind:"Name",value:"issuerKeys"}},{kind:"Field",name:{kind:"Name",value:"expiration"}}]}},{kind:"Field",name:{kind:"Name",value:"servicePrincipal"}},{kind:"Field",name:{kind:"Name",value:"awsIdentity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"awsAccount"}},{kind:"Field",name:{kind:"Name",value:"arn"}},{kind:"Field",name:{kind:"Name",value:"arnPattern"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"userIdPattern"}}]}}]}}]}}]},rJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Identities"}
885,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identities"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"static"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expiration"}}]}},{kind:"Field",name:{kind:"Name",value:"claimMatch"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"issuerPattern"}},{kind:"Field",name:{kind:"Name",value:"subject"}},{kind:"Field",name:{kind:"Name",value:"subjectPattern"}}]}}]}}]}}]},iJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AllIdentities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"type"}}]}}]}}]},L3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreatePullToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"group"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"description"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ttl"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"role"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createPullToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"Variable",name:{kind:"Name",value:"group"}}},{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"ObjectField",name:{kind:"Name",value:"description"},value:{kind:"Variable",name:{kind:"Name",value:"description"}}},{kind:"ObjectField",name:{kind:"Name",value:"ttl"},value:{kind:"Variable",name:{kind:"Name",value:"ttl"}}},{kind:"ObjectField",name:{kind:"Name",value:"role"},value:{kind:"Variable",name:{kind:"Name",value:"role"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"password"}},{kind:"Field",name:{kind:"Name",value:"registry"}},{kind:"Field",name:{kind:"Name",value:"expiration"}}]}}]}}]},oJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteIdentity"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteIdentity"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},O3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteExpiredPullTokens"}
885,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteExpiredPullTokens"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"Variable",name:{kind:"Name",value:"parentID"}}}]}]}}]},aJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Invites"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invites"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"group"},value:{kind:"Variable",name:{kind:"Name",value:"organizationID"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"expiration"}},{kind:"Field",name:{kind:"Name",value:"role"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}},{kind:"Field",name:{kind:"Name",value:"email"}}]}}]}}]},P3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateInvite"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"inviteInput"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InviteInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createInvite"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"Variable",name:{kind:"Name",value:"parentID"}}},{kind:"Argument",name:{kind:"Name",value:"inviteInput"},value:{kind:"Variable",name:{kind:"Name",value:"inviteInput"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"expiration"}},{kind:"Field",name:{kind:"Name",value:"role"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}}]}}]}}]},sJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateIdentity"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identity"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IdentityInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createIdentity"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"Variable",name:{kind:"Name",value:"parentID"}}},{kind:"Argument",name:{kind:"Name",value:"identity"},value:{kind:"Variable",name:{kind:"Name",value:"identity"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"claimMatch"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"issuerPattern"}},{kind:"Field",name:{kind:"Name",value:"subject"}},{kind:"Field",name:{kind:"Name",value:"subjectPattern"}},{kind:"Field",name:{kind:"Name",value:"audience"}},{kind:"Field",name:{kind:"Name",value:"audiencePattern"}},{kind:"Field",name:{kind:"Name",value:"claims"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"claim"}},{kind:"Field",name:{kind:"Name",value:"value"}}]}},{kind:"Field",name:{kind:"Name",value:"claimPatterns"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"claim"}},{kind:"Field",name:{kind:"Name",value:"pattern"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"static"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"subject"}},{kind:"Field",name:{kind:"Name",value:"issuerKeys"}},{kind:"Field",name:{kind:"Name",value:"expiration"}}]}},{kind:"Field",name:{kind:"Name",value:"servicePrincipal"}},{kind:"Field",name:{kind:"Name",value:"awsIdentity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"awsAccount"}},{kind:"Field",name:{kind:"Name",value:"arn"}},{kind:"Field",name:{kind:"Name",value:"arnPattern"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"userIdPattern"}}]}}]}}]}}]},lJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateIdentity"}
885,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identity"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IdentityInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateIdentity"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"identity"},value:{kind:"Variable",name:{kind:"Name",value:"identity"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"claimMatch"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"issuerPattern"}},{kind:"Field",name:{kind:"Name",value:"subject"}},{kind:"Field",name:{kind:"Name",value:"subjectPattern"}},{kind:"Field",name:{kind:"Name",value:"audience"}},{kind:"Field",name:{kind:"Name",value:"audiencePattern"}},{kind:"Field",name:{kind:"Name",value:"claims"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"claim"}},{kind:"Field",name:{kind:"Name",value:"value"}}]}},{kind:"Field",name:{kind:"Name",value:"claimPatterns"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"claim"}},{kind:"Field",name:{kind:"Name",value:"pattern"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"static"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"subject"}},{kind:"Field",name:{kind:"Name",value:"issuerKeys"}},{kind:"Field",name:{kind:"Name",value:"expiration"}}]}},{kind:"Field",name:{kind:"Name",value:"servicePrincipal"}},{kind:"Field",name:{kind:"Name",value:"awsIdentity"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"awsAccount"}},{kind:"Field",name:{kind:"Name",value:"arn"}},{kind:"Field",name:{kind:"Name",value:"arnPattern"}},{kind:"Field",name:{kind:"Name",value:"userId"}},{kind:"Field",name:{kind:"Name",value:"userIdPattern"}}]}}]}}]}}]},_3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteInvite"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteInvite"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},D3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IdentityProviders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identityProviders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"defaultRole"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"oidc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"clientId"}},{kind:"Field",name:{kind:"Name",value:"additionalScopes"}},{kind:"Field",name:{kind:"Name",value:"groupsClaim"}},{kind:"Field",name:{kind:"Name",value:"correlationRule"}}]}},{kind:"Field",name:{kind:"Name",value:"scim"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"}},{kind:"Field",name:{kind:"Name",value:"endpointUrl"}},{kind:"Field",name:{kind:"Name",value:"etag"}},{kind:"Field",name:{kind:"Name",value:"credentialState"}}]}}]}}]}}]},M3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IdentityProvi
885der"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identityProvider"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"defaultRole"}},{kind:"Field",name:{kind:"Name",value:"oidc"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"issuer"}},{kind:"Field",name:{kind:"Name",value:"clientId"}},{kind:"Field",name:{kind:"Name",value:"additionalScopes"}},{kind:"Field",name:{kind:"Name",value:"groupsClaim"}},{kind:"Field",name:{kind:"Name",value:"correlationRule"}}]}}]}}]}}]},F3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateIdentityProvider"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identityProvider"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IdentityProviderCreateInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createIdentityProvider"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"Variable",name:{kind:"Name",value:"parentID"}}},{kind:"Argument",name:{kind:"Name",value:"identityProvider"},value:{kind:"Variable",name:{kind:"Name",value:"identityProvider"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},U3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateIdentityProvider"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identityProvider"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IdentityProviderUpdateInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateIdentityProvider"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"identityProvider"},value:{kind:"Variable",name:{kind:"Name",value:"identityProvider"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},V3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteIdentityProvider"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteIdentityProvider"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},uJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"GenerateScimToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identityProviderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"GenerateScimTokenInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateScimToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"identityProvi
885derId"},value:{kind:"Variable",name:{kind:"Name",value:"identityProviderId"}}},{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"}},{kind:"Field",name:{kind:"Name",value:"endpointUrl"}},{kind:"Field",name:{kind:"Name",value:"expireTime"}},{kind:"Field",name:{kind:"Name",value:"identityProviderId"}},{kind:"Field",name:{kind:"Name",value:"etag"}}]}}]}}]},cJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RegenerateScimToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identityProviderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RegenerateScimTokenInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"regenerateScimToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"identityProviderId"},value:{kind:"Variable",name:{kind:"Name",value:"identityProviderId"}}},{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"}},{kind:"Field",name:{kind:"Name",value:"endpointUrl"}},{kind:"Field",name:{kind:"Name",value:"expireTime"}},{kind:"Field",name:{kind:"Name",value:"previousTokenExpireTime"}},{kind:"Field",name:{kind:"Name",value:"requestedOverlapSeconds"}},{kind:"Field",name:{kind:"Name",value:"identityProviderId"}},{kind:"Field",name:{kind:"Name",value:"etag"}}]}}]}}]},dJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RevokeScimToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identityProviderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"revokeScimToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"identityProviderId"},value:{kind:"Variable",name:{kind:"Name",value:"identityProviderId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identityProviderId"}},{kind:"Field",name:{kind:"Name",value:"etag"}},{kind:"Field",name:{kind:"Name",value:"enabled"}},{kind:"Field",name:{kind:"Name",value:"revokeTime"}}]}}]}}]},fJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SetScimEnabled"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identityProviderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SetScimEnabledInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setScimEnabled"},arguments:[{kind:"Argument",name:{kind:"Name",value:"identityProviderId"},value:{kind:"Variable",name:{kind:"Name",value:"identityProviderId"}}},{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identityProviderId"}},{kind:"Field",name:{kind:"Name",value:"enabled"}},{kind:"Field",name:{kind:"Name",value:"etag"}}]}}]}}]},B3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ExternalGroupRoleMappingsList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filter"}},type:{kind:"NamedType",name:{kind:"Name",value:"ExternalGroupRoleMappingFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"externalGroupRoleMappings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}
885,{kind:"Field",name:{kind:"Name",value:"identityProviderUidp"}},{kind:"Field",name:{kind:"Name",value:"externalGroupId"}},{kind:"Field",name:{kind:"Name",value:"roleUidp"}},{kind:"Field",name:{kind:"Name",value:"scope"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]}}]},j3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateExternalGroupRoleMapping"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mapping"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ExternalGroupRoleMappingCreateInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createExternalGroupRoleMapping"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"Variable",name:{kind:"Name",value:"parentID"}}},{kind:"Argument",name:{kind:"Name",value:"mapping"},value:{kind:"Variable",name:{kind:"Name",value:"mapping"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},pJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteExternalGroupRoleMapping"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteExternalGroupRoleMapping"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},mJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"BatchDeleteExternalGroupRoleMappings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"batchDeleteExternalGroupRoleMappings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentID"},value:{kind:"Variable",name:{kind:"Name",value:"parentID"}}},{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},hJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CheckEligibility"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"checkEligibility"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"eligible"}}]}}]}}]},gJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"LookupOrg"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lookupOrg"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"group"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"verified"}},{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]}}]},vJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Profile"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profile"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"picture"}},{kind:"Field",name:{kind:"Name",value:"givenName"}}]}}]}}]},z3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SessionCapabilities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"who
885ami"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"capabilities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"group"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"role"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}},{kind:"Field",name:{kind:"Name",value:"capabilities"}}]}}]}}]}}]},H3e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateMetadata"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"metadata"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MetadataInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateMetadata"},arguments:[{kind:"Argument",name:{kind:"Name",value:"metadata"},value:{kind:"Variable",name:{kind:"Name",value:"metadata"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"givenName"}},{kind:"Field",name:{kind:"Name",value:"familyName"}},{kind:"Field",name:{kind:"Name",value:"onboardingQuestions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"companyName"}},{kind:"Field",name:{kind:"Name",value:"jobTitle"}},{kind:"Field",name:{kind:"Name",value:"utmCampaign"}},{kind:"Field",name:{kind:"Name",value:"utmContent"}},{kind:"Field",name:{kind:"Name",value:"utmMedium"}},{kind:"Field",name:{kind:"Name",value:"utmSource"}},{kind:"Field",name:{kind:"Name",value:"utmTerm"}},{kind:"Field",name:{kind:"Name",value:"latestFormSubmitUrl"}},{kind:"Field",name:{kind:"Name",value:"latestInternalReferringUrl"}},{kind:"Field",name:{kind:"Name",value:"hubspotUtk"}},{kind:"Field",name:{kind:"Name",value:"selfServe"}}]}}]}}]}}]},But=Object.freeze(Object.defineProperty({__proto__:null,AllIdentities:iJ,AllIdentitiesDocument:G2e,BatchDeleteExternalGroupRoleMappings:mJ,BatchDeleteExternalGroupRoleMappingsDocument:p3e,CheckEligibility:hJ,CheckEligibilityDocument:m3e,CreateAwsOrganization:S3e,CreateAwsOrganizationDocument:O2e,CreateExternalGroupRoleMapping:j3e,CreateExternalGroupRoleMappingDocument:d3e,CreateIdentity:sJ,CreateIdentityDocument:Q2e,CreateIdentityProvider:F3e,CreateIdentityProviderDocument:r3e,CreateInvite:P3e,CreateInviteDocument:Z2e,CreateOrganization:k3e,CreateOrganizationDocument:x2e,CreatePullToken:L3e,CreatePullTokenDocument:K2e,CreateRole:N3e,CreateRoleBinding:tJ,CreateRoleBindingDocument:M2e,CreateRoleDocument:j2e,CreateStarterOrganization:b3e,CreateStarterOrganizationDocument:L2e,DeleteExpiredPullTokens:O3e,DeleteExpiredPullTokensDocument:$2e,DeleteExternalGroupRoleMapping:pJ,DeleteExternalGroupRoleMappingDocument:f3e,DeleteIdentity:oJ,DeleteIdentityDocument:Y2e,DeleteIdentityProvider:V3e,DeleteIdentityProviderDocument:o3e,DeleteInvite:_3e,DeleteInviteDocument:e3e,DeleteRole:x3e,DeleteRoleBinding:A3e,DeleteRoleBindingDocument:U2e,DeleteRoleDocument:H2e,ExternalGroupRoleMappingsList:B3e,ExternalGroupRoleMappingsListDocument:c3e,GenerateScimToken:uJ,GenerateScimTokenDocument:a3e,Identities:rJ,IdentitiesDocument:q2e,Identity:nJ,IdentityDocument:W2e,IdentityProvider:M3e,IdentityProviderDocument:n3e,IdentityProviders:D3e,IdentityProvidersDocument:t3e,Invites:aJ,InvitesDocument:J2e,LookupOrg:gJ,LookupOrgDocument:h3e,Organization:Q$,OrganizationDocument:N2e,OrganizationFolders:X$,OrganizationFoldersDocument:R2e,Organizations:Z$,OrganizationsDocument:w2e,Profile:vJ,ProfileDocument:g3e,RegenerateScimToken:cJ,RegenerateScimTokenDocument:s3e,RequestOrgAccess:T3e,RequestOrgAccessDocument:_2e,RevokeScimToken:dJ,RevokeScimTokenDocument:l3e,RoleBindingList:eJ,RoleBindingListDocument:D2e,RoleDetails:w3e,RoleDetailsDocument:B2e,Roles:I3e,RolesDocument:V2e,SessionCapabilities:z3e,SessionCapabilitiesDocument:v3e,SetScimEnabled:fJ,SetScimEnabledDocument:u3e,UpdateGroup:E3e,UpdateGroupDocument:P2e,UpdateIdentity:lJ,UpdateIdentityDocument:X2e,UpdateIdentityProvi
885der:U3e,UpdateIdentityProviderDocument:i3e,UpdateMetadata:H3e,UpdateMetadataDocument:y3e,UpdateRole:R3e,UpdateRoleBinding:C3e,UpdateRoleBindingDocument:F2e,UpdateRoleDocument:z2e},Symbol.toStringTag,{value:"Module"})),GB=e=>e.type===NC.PullToken;var jut=(function(e){return e.EMAIL="email",e.PROFILE="profile",e.OPENID="openid",e.GROUPS="groups",e})({});const zut=["email","profile","openid","groups"],Hut=e=>[...new Set(["openid",...e])],Wut=e=>/microsoftonline\./i.test(e),yJ=m.createContext(void 0),kJ=({children:e})=>{const{_:t}=Tn(),[{data:n,fetching:r}]=ir({query:Z$}),i=m.useMemo(()=>n?.groups.sort((l,u)=>l.id.localeCompare(u.id))??[],[n?.groups]),o=m.useMemo(()=>new Map(i.map(l=>[l.id,l])),[i]),a=m.useCallback(l=>o.get(l)?.name??t({id:"rNDhLF"}),[t,o]),s=m.useMemo(()=>({getName:a,fetching:r,organizations:i,organizationsMap:o}),[a,r,i,o]);return b.jsx(yJ.Provider,{value:s,children:e})},jC=()=>{const e=m.useContext(yJ);if(!e)throw new Error("useOrganizationsContext must be used within an OrganizationsProvider");return e},dk=()=>{const{rootUIDP:e}=Po(),{organizationsMap:t}=jC(),n=t.get(e);return n?.verified?n.name:e||"welcome"},bJ=()=>{const{_:e}=Tn(),{rootUIDP:t}=Po(),n=ir({query:X$,variables:{id:t}}),[{data:r,error:i,fetching:o}]=n,a=m.useMemo(()=>r?.groups.filter(c=>c.id!==t)??[],[r?.groups,t]),s=m.useMemo(()=>new Map(a.map(({id:c,name:f})=>[c,f])),[a]),l=m.useMemo(()=>new Map(a.map(({id:c,name:f})=>rE(c)?[c,$q(c).slice(1).map(p=>s.get(p)??e({id:"rNDhLF"})).join(" / ")]:[c,f])),[e,a,s]),u=m.useCallback(c=>l.get(c)??e({id:"rNDhLF"}),[e,l]);return{folders:a,getFolderName:u,fetching:o,error:i&&{query:n}}},qut=()=>{const[{fetching:e,error:t},n]=Ul(oJ),[{fetching:r,error:i},o]=Ul(sJ),[{fetching:a,error:s},l]=Ul(lJ);return{deleteIdentity:n,createIdentity:o,updateIdentity:l,deleteIdentityFetching:e,createIdentityFetching:r,updateIdentityFetching:a,identityMutationError:t||i||s}},Gut=()=>{const[{fetching:e,error:t},n]=Ul(tJ);return{createRoleBinding:n,createRoleBindingFetching:e,createRoleBindingError:t}},Kut=()=>{const[{fetching:e,error:t},n]=Ul(pJ),[{fetching:r,error:i},o]=Ul(mJ);return{deleteExternalGroupRoleMapping:n,deleteExternalGroupRoleMappingFetching:e,deleteExternalGroupRoleMappingError:t,batchDeleteExternalGroupRoleMappings:o,batchDeleteExternalGroupRoleMappingsFetching:r,batchDeleteExternalGroupRoleMappingsError:i}},Yut=()=>{const[{fetching:e},t]=zB(uJ),[{fetching:n},r]=zB(cJ),[{fetching:i},o]=Ul(dJ),[{fetching:a},s]=Ul(fJ);return{generateScimToken:t,generateScimTokenFetching:e,regenerateScimToken:r,regenerateScimTokenFetching:n,revokeScimToken:o,revokeScimTokenFetching:i,setScimEnabled:s,setScimEnabledFetching:a}},W3e=e=>{const t=ir({query:aJ,variables:{organizationID:e}}),[{data:n,fetching:r,error:i}]=t,o=n?.invites.map(a=>({id:a.id,createdAt:new Date(a.createdAt),email:a.email,expiration:new Date(a.expiration),expired:u$(a.expiration),roleName:a.role.name}))??[];return i?{invites:[],fetching:!1,error:{query:t}}:{invites:o,fetching:r,error:void 0}},zN={id:"ATo-uy"},q3e={id:"j492XF"},G3e={id:"hV-qII"},K3e={id:"Ac5x6h"},SJ="ce2d1984a010471142503340d670612d63ffb9f6/ac92e3a8b3865440",Y3e="images publisher",EJ={id:"i09_-g"},Y_=Fve,$3e="chainguard support",TJ={id:"txPPqC"},CJ={id:"0jPWn_"};var $ut=(function(e){return e.ROOT="Root Identity",e.ASSUMABLE="Assumable Identity",e.SERVICE_PRINCIPAL="Service Principal",e.GULFSTREAM="Gulfstream",e})({});const Jut={"Root Identity":{id:"VNF9y6"},"Assumable Identity":{id:"x9sgw-"},"Service Principal":{id:"x6E4Ik"},Gulfstream:{id:"uE9oEv"}},Zut=e=>{if(e.includes("github"))return{Icon:H1e,provider:{id:"RkXlPZ"}};if(e.includes("gitlab"))return{Icon:q1e,provider:{id:"vZbIkJ"}};if(e.includes("google"))return{Icon:K1e,provider:{id:"eoe8BR"}}},J3e=(e,t)=>e&&t?`{ ${e}, ${t} }`:"",Z3e=(e,t,n,r,i)=>{const{identity:o,role:a,email:s,emailUnverified:l,issuer:u,subject:c,createdAt:f}=t;if(Bf(o)!==o){const y=r===NC.ServicePrincipal?"Service Principal":"Assumable Identity";return y==="Service Principal"?{id:o,type:y,displayName:n||o,createdAt:f??"",meta:{reason:"chainguard-identity",title:e._(zN),c
885ontent:e._(CJ)}}:Bf(o)===Y_?{id:o,type:y,displayName:n||$3e,createdAt:f??"",meta:{reason:"chainguard-identity",title:e._(zN),content:e._(TJ)}}:o===SJ?{id:o,type:y,displayName:n||Y3e,createdAt:f??"",meta:{reason:"chainguard-identity",title:e._(zN),content:e._(EJ)}}:{id:o,type:y,displayName:n||o,createdAt:f??"",meta:n?void 0:{reason:"no-display-name",content:e._(G3e),severity:"warning"}}}const p=J3e(u,c),v={issuer:u,subject:c};if(a.name==="gulfstream"){const y=s||p||o;return{id:o,type:"Gulfstream",displayName:y,createdAt:f??"",claimsInfo:v,meta:y===o?{reason:"no-display-name",content:e._(q3e)}:void 0}}const g=s||l||p||o;return{id:o,type:"Root Identity",displayName:g,createdAt:f??"",claimsInfo:v,meta:g===o?{reason:"no-display-name",title:e._(K3e),content:e._({id:"lzScRN",values:{0:i(f??"")}})}:c?{reason:"social-provider",content:c,hideAlert:!0}:void 0}},Q3e=e=>{const{i18n:t}=Tn(),n=ir({query:eJ,variables:{organizationId:e}}),[r]=n,i=ir({query:iJ}),[o]=i,{getFolderName:a,fetching:s,error:l}=bJ(),u=GMe();if(rE(e))throw new Error("OrganizationId cannot be a folder.");const c=m.useMemo(()=>{const p=o.data?.identities||[];return(r.data?.roleBindings||[]).filter(({id:y})=>Bf(y)===e).reduce((y,k)=>{const E=k.identity,S=p.find(M=>M.id===E),T=S?.name??"",I=S?.type??NC.Unknown,A=xP(k.id).group,w=A===e?"":a(A),R=Z3e(t,k,T,I,u),x={...k.role,roleBindingId:k.id,folderName:w},D=y.get(E);return D?y.set(E,{...D,roles:[...D.roles,x]}):y.set(E,{...R,roles:[x]}),y},new Map)},[o.data?.identities,u,a,t,e,r.data?.roleBindings]);return{users:m.useMemo(()=>Array.from(c.values()),[c]),usersMap:c,fetching:r.fetching||o.fetching||s,error:r.error?{query:n}:o.error?{query:i}:l?{query:l.query}:void 0}},Qut=e=>{const{_:t}=Tn(),[{data:n}]=ir({query:nJ,variables:{id:e}}),r=n?.identity;return e===SJ?{isChainguardIdentity:!0,purpose:t(EJ)}:Bf(e)===Y_?{isChainguardIdentity:!0,purpose:t(TJ)}:r?.type===NC.ServicePrincipal?{isChainguardIdentity:!0,purpose:t(CJ)}:{isChainguardIdentity:!1}},AJ=m.createContext(void 0),IJ=({children:e,uidp:t})=>{const{rootUIDP:n}=Po(),r=t||n,i=ir({query:Q$,variables:{id:r}}),[{data:o,fetching:a,error:s}]=i,l=o?.group,u=ir({query:rJ,variables:{organizationId:r}}),[{data:c,fetching:f,error:p}]=u,v=c?.identities??[],g=v.filter(x=>!GB(x)),y=v.filter(x=>GB(x)),{users:k,usersMap:E,fetching:S,error:T}=Q3e(r),{invites:I,fetching:A,error:w}=W3e(r),R={identities:g,identitiesFetching:f,identitiesError:p?{query:u}:void 0,invites:I,invitesFetching:A,invitesError:w,organization:l,organizationFetching:a,organizationError:s?{query:i}:void 0,pullTokens:y,users:k,usersMap:E,usersFetching:S,usersError:T};return b.jsx(AJ.Provider,{value:R,children:e})};function Jl(){const e=m.useContext(AJ);if(!e)throw new Error("useIAM must be used within a IAMProvider.");return e}var TS=(function(e){return e.ACTIVE="Active",e.EXPIRED="Expired",e})({}),jr=(function(e){return e.ADD_HELM_CHART="AddHelmChart",e.ADD_IMAGE="AddImage",e.ADD_IMAGE_ENTITLEMENT="AddImageEntitlement",e.CUSTOMIZE_IMAGE="CustomizeImage",e.FILL_IMAGE_SLOT="FillImageSlot",e.IMAGE_REQUESTS_DASHBOARD="ImageRequestsDashboard",e.MANAGE_ROLES="ManageRoles",e.REQUEST_HELM="RequestHelm",e.SUPPORT_ACCESS="SupportAccess",e.SWAP_IMAGE="SwapImage",e})({});const X3e=new Set(["AddHelmChart","AddImage","AddImageEntitlement","CustomizeImage","FillImageSlot","ImageRequestsDashboard","RequestHelm","SupportAccess","SwapImage"]),Xut=()=>{const{_:e}=Tn();return{getCatalogTier:a=>{switch(a){case gi.Ai:return e({id:"jsQZMk"});case gi.Application:return e({id:"IrC12v"});case gi.Base:return e({id:"Nzwli2"});case gi.Commercial:return e({id:"gyjsV2"});case gi.Fips:return e({id:"8woUoV"});default:return e({id:"Ef7StM"})}},getContainerPlan:a=>{switch(a){case Jr.Catalog:return e({id:"QaAFbO"});case Jr.PerImage:return e({id:"aCKWlF"});case Jr.Starter:return e({id:"-wfmQu"});case Jr.PlanUnspecified:default:return e({id:"Ef7StM"})}},getPackageTier:a=>{switch(a){case xV.Base:return e({id:"Nzwli2"});case xV.Fips:return e({id:"8woUoV"});default:return e({id:"Ef7StM"})}},getStatus:a=>{switch(a){case"Active":return e({id:"F6pfE9"});case"Expired":return e({id:"M1RnFv"});default:return e({id:"Ef7StM"})}},getType:a=>{switch(a){case Em.Production:return e({id:"w6qPWt"});case Em.Trial:return e({id:"lhkaAC"});case Em.Extra:return e({id:"_Ltc_k"});case Em.Starter:return e({id:"rnwGuj"});default:return e({id:"Ef7StM"})}}}},eUe=vt` 886 query ContainerEntitlementsOverview($organizationId: ID!) { 887 effectiveRegistryEntitlements(filter: {parent: $organizationId}) { 888 plan 889 activeTiers 890 activeImages { 891 id 892 name 893 catalogTier 894 type 895 expirationTime 896 } 897 quota { 898 catalogTier 899 current 900 max 901 } 902 maxTotalImages 903 swapQuota 904 swapsUsed 905 swapRefillTime 906 } 907 registryEntitlements(filter: {parent: $organizationId}) { 908 id 909 externalId 910 expirationTime 911 type 912 quota { 913 tier 914 current 915 max 916 } 917 } 918 } 919`,tUe=vt` 920 query ContainerEntitlements($organizationId: ID!) { 921 registryEntitlements(filter: {parent: $organizationId}) { 922 id 923 createTime 924 updateTime 925 expirationTime 926 type 927 quota { 928 tier 929 current 930 max 931 } 932 images { 933 id 934 name 935 catalogTier 936 includedInImageGroup 937 } 938 tiers 939 externalId 940 } 941 } 942`,nUe=vt` 943 mutation CreateContainerImageEntitlements( 944 $parentId: ID! 945 $imageNames: [String!]! 946 ) { 947 addEntitlementImages(
948 input: {entitlement: {parent: $parentId}, imageNames: $imageNames} 949 ) { 950 parent 951 images { 952 id 953 name 954 } 955 } 956 } 957`,rUe=vt` 958 mutation CreateContainerImageEntitlementsById( 959 $entitlementId: ID! 960 $imageNames: [String!]! 961 ) { 962 addEntitlementImages( 963 input: {entitlement: {id: $entitlementId}, imageNames: $imageNames} 964 ) { 965 parent 966 images { 967 id 968 name 969 } 970 } 971 } 972`,iUe=vt` 973 mutation SwapContainerImageEntitlementsById( 974 $entitlementId: ID! 975 $addImageNames: [String!]! 976 $removeImageNames: [String!]! 977 ) { 978 swapEntitlementImages( 979 input: { 980 entitlement: {id: $entitlementId} 981 addImageNames: $addImageNames 982 removeImageNames: $removeImageNames 983 } 984 ) { 985 parent 986 added { 987 id 988 name 989 } 990 removed { 991 id 992 name 993 } 994 } 995 } 996`,oUe=vt` 997 query LibraryEntitlements($organizationId: ID!) { 998 libraryEntitlements(filter: {parentId: $organizationId}) { 999 items { 1000 id 1001 ecosystem 1002 policy 1003 source 1004 } 1005 } 1006 } 1007`,aUe=vt` 1008 mutation CreateLibraryEntitlement( 1009 $parentId: ID! 1010 $ecosystem: EcosystemEnum! 1011 $policy: PolicyEnum 1012 ) { 1013 createLibraryEntitlement( 1014 parentId: $parentId 1015 input: {ecosystem: $ecosystem, policy: $policy} 1016 ) { 1017 id 1018 ecosystem 1019 policy 1020 } 1021 } 1022`,sUe=vt` 1023 mutation DeleteLibraryEntitlement($id: ID!) { 1024 deleteLibraryEntitlement(id: $id) 1025 } 1026`,lUe=vt` 1027 query PackageEntitlements($organizationId: ID!) { 1028 packageEntitlements(filter: {parentId: $organizationId}) { 1029 items { 1030 id 1031 tier 1032 } 1033 } 1034 } 1035`,wJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ContainerEntitlementsOverview"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"effectiveRegistryEntitlements"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parent"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"plan"}},{kind:"Field",name:{kind:"Name",value:"activeTiers"}},{kind:"Field",name:{kind:"Name",value:"activeImages"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"catalogTier"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"expirationTime"}}]}},{kind:"Field",name:{kind:"Name",value:"quota"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catalogTier"}},{kind:"Field",name:{kind:"Name",value:"current"}},{kind:"Field",name:{kind:"Name",value:"max"}}]}},{kind:"Field",name:{kind:"Name",value:"maxTotalImages"}},{kind:"Field",name:{kind:"Name",value:"swapQuota"}},{kind:"Field",name:{kind:"Name",value:"swapsUsed"}},{kind:"Field",name:{kind:"Name",value:"swapRefillTime"}}]}},{kind:"Field",name:{kind:"Name",value:"registryEntitlements"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parent"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"externalId"}},{kind:"Field",name:{kind:"Name",value:"expirationTime"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"quota"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tier"}},{kind:"Field",name:{kind:"Name",value:"current"}},{kind:"Field",name:{kind:"Name",value:"max"}}]}}]}}]}}]},uUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ContainerEntitlements"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"registryEntitlements"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parent"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"createTime"}},{kind:"Field",name:{kind:"Name",value:"updateTime"}},{kind:"Field",name:{kind:"Name",value:"expirationTime"}}
1035,{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"quota"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tier"}},{kind:"Field",name:{kind:"Name",value:"current"}},{kind:"Field",name:{kind:"Name",value:"max"}}]}},{kind:"Field",name:{kind:"Name",value:"images"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"catalogTier"}},{kind:"Field",name:{kind:"Name",value:"includedInImageGroup"}}]}},{kind:"Field",name:{kind:"Name",value:"tiers"}},{kind:"Field",name:{kind:"Name",value:"externalId"}}]}}]}}]},cUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateContainerImageEntitlements"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imageNames"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addEntitlementImages"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"entitlement"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parent"},value:{kind:"Variable",name:{kind:"Name",value:"parentId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"imageNames"},value:{kind:"Variable",name:{kind:"Name",value:"imageNames"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"parent"}},{kind:"Field",name:{kind:"Name",value:"images"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},dUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateContainerImageEntitlementsById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"entitlementId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imageNames"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addEntitlementImages"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"entitlement"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"entitlementId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"imageNames"},value:{kind:"Variable",name:{kind:"Name",value:"imageNames"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"parent"}},{kind:"Field",name:{kind:"Name",value:"images"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},fUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SwapContainerImageEntitlementsById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"entitlementId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"addImageNames"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"removeImageNames"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"swapEntitlementImages"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"entitlement"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"entitlementId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"addImageNames"},value:{kind:"Variable",name:{kind:"Name",value:"addImageNames"}}},{kind:"ObjectField",name:{kind:"Name",value:"removeImageNames"},value:{kind:"Variable",name:{kind:"Name",value:"removeImageNames"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"parent"}},{kind:"Field",name:{kind:"Name",value:"added"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"removed"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},NJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"LibraryEntitlements"}
1035,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"libraryEntitlements"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parentId"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"ecosystem"}},{kind:"Field",name:{kind:"Name",value:"policy"}},{kind:"Field",name:{kind:"Name",value:"source"}}]}}]}}]}}]},pUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateLibraryEntitlement"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ecosystem"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"EcosystemEnum"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"policy"}},type:{kind:"NamedType",name:{kind:"Name",value:"PolicyEnum"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createLibraryEntitlement"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentId"},value:{kind:"Variable",name:{kind:"Name",value:"parentId"}}},{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"ecosystem"},value:{kind:"Variable",name:{kind:"Name",value:"ecosystem"}}},{kind:"ObjectField",name:{kind:"Name",value:"policy"},value:{kind:"Variable",name:{kind:"Name",value:"policy"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"ecosystem"}},{kind:"Field",name:{kind:"Name",value:"policy"}}]}}]}}]},mUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteLibraryEntitlement"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteLibraryEntitlement"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},RJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PackageEntitlements"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"packageEntitlements"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"parentId"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tier"}}]}}]}}]}}]},ect=Object.freeze(Object.defineProperty({__proto__:null,ContainerEntitlements:uUe,ContainerEntitlementsDocument:tUe,ContainerEntitlementsOverview:wJ,ContainerEntitlementsOverviewDocument:eUe,CreateContainerImageEntitlements:cUe,CreateContainerImageEntitlementsById:dUe,CreateContainerImageEntitlementsByIdDocument:rUe,CreateContainerImageEntitlementsDocument:nUe,CreateLibraryEntitlement:pUe,CreateLibraryEntitlementDocument:aUe,DeleteLibraryEntitlement:mUe,DeleteLibraryEntitlementDocument:sUe,LibraryEntitlements:NJ,LibraryEntitlementsDocument:oUe,PackageEntitlements:RJ,PackageEntitlementsDocument:lUe,SwapContainerImageEntitlementsById:fUe,SwapContainerImageEntitlementsByIdDocument:iUe},Symbol.toStringTag,{value:"Module"})),hUe=vt` 1036 query HelmCharts( 1037 $organizationId: ID! 1038 $excludeDates: Boolean = true
1039 $excludeEpochs: Boolean = true 1040 ) { 1041 repos(filter: {uidp: {childrenOf: $organizationId}}) { 1042 id 1043 name 1044 friendlyName 1045 syncConfig { 1046 source 1047 } 1048 tagSummary( 1049 filter: { 1050 excludeDates: $excludeDates 1051 excludeEpochs: $excludeEpochs 1052 excludeReferrers: true 1053 excludeVcsSnapshots: true 1054 } 1055 ) { 1056 latestTag { 1057 id 1058 name 1059 digest 1060 lastUpdated 1061 } 1062 latestVersion 1063 lastUpdated 1064 } 1065 tags( 1066 filter: { 1067 excludeDates: $excludeDates 1068 excludeEpochs: $excludeEpochs 1069 excludeReferrers: true 1070 excludeVcsSnapshots: true 1071 } 1072 ) { 1073 id 1074 name 1075 digest 1076 lastUpdated 1077 } 1078 createTime 1079 } 1080 } 1081`,gUe=vt` 1082 query HelmDetails( 1083 $id: ID! 1084 $excludeDates: Boolean = true 1085 $excludeEpochs: Boolean = true 1086 ) { 1087 repos(filter: {uidp: {descendantsOf: $id}}) { 1088 id 1089 name 1090 friendlyName 1091 overview 1092 description 1093 tagSummary( 1094 filter: { 1095 excludeDates: $excludeDates 1096 excludeEpochs: $excludeEpochs 1097 excludeReferrers: true 1098 excludeVcsSnapshots: true 1099 } 1100 ) { 1101 latestVersion 1102 } 1103 tags( 1104 filter: { 1105 excludeDates: $excludeDates
1106 excludeEpochs: $excludeEpochs 1107 excludeReferrers: true 1108 excludeVcsSnapshots: true 1109 } 1110 ) { 1111 id 1112 name 1113 digest 1114 lastUpdated 1115 } 1116 createTime 1117 } 1118 } 1119`,vUe=vt` 1120 query GetChart($repoId: ID!, $digest: String!) { 1121 chart(filter: {repoId: $repoId, digest: $digest}) { 1122 name 1123 version 1124 appVersion 1125 description 1126 dependencies { 1127 name 1128 version 1129 repository 1130 } 1131 annotations { 1132 key 1133 value 1134 } 1135 images { 1136 name 1137 image 1138 requirement 1139 } 1140 raw 1141 values 1142 } 1143 } 1144`,yUe=vt` 1145 mutation AddChart($input: AddChartInput!) { 1146 addChart(input: $input) { 1147 repos { 1148 name 1149 created 1150 id 1151 } 1152 } 1153 } 1154`,kUe=vt` 1155 query GetTagByName($repoId: ID!, $name: String!) { 1156 tags(filter: {uidp: {childrenOf: $repoId}, name: $name}) { 1157 id 1158 name 1159 digest 1160 lastUpdated 1161 archs 1162 } 1163 } 1164`,bUe=vt` 1165 query ChartsByImageRepos($imageIds: [ID!]!) { 1166 chartsByImageRepos(filter: {imageRepoIds: $imageIds}) { 1167 chartImageBindings { 1168 chartRepo 1169 imageRepo 1170 requirement 1171 } 1172 } 1173 } 1174`,ky={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HelmCharts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}
1174,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"childrenOf"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"friendlyName"}},{kind:"Field",name:{kind:"Name",value:"syncConfig"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"source"}}]}},{kind:"Field",name:{kind:"Name",value:"tagSummary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}}
1174,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestTag"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"latestVersion"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}}
1174,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"createTime"}}]}}]}}]},xJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HelmDetails"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}
1174,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"friendlyName"}},{kind:"Field",name:{kind:"Name",value:"overview"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"tagSummary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}}
1174,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestVersion"}}]}},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"createTime"}}]}}]}}]},LJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetChart"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"repoId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"digest"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chart"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"repoId"},value:{kind:"Variable",name:{kind:"Name",value:"repoId"}}},{kind:"ObjectField",name:{kind:"Name",value:"digest"},value:{kind:"Variable",name:{kind:"Name",value:"digest"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"appVersion"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"dependencies"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"repository"}}]}},{kind:"Field",name:{kind:"Name",value:"annotations"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"value"}}]}},{kind:"Field",name:{kind:"Name",value:"images"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"requirement"}}]}},{kind:"Field",name:{kind:"Name",value:"raw"}},{kind:"Field",name:{kind:"Name",value:"values"}}]}}]}}]},SUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddChart"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AddChartInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addChart"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"created"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]},EUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetTagByName"}
1174,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"repoId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"childrenOf"},value:{kind:"Variable",name:{kind:"Name",value:"repoId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}},{kind:"Field",name:{kind:"Name",value:"archs"}}]}}]}}]},OJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChartsByImageRepos"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imageIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chartsByImageRepos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"imageRepoIds"},value:{kind:"Variable",name:{kind:"Name",value:"imageIds"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chartImageBindings"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"chartRepo"}},{kind:"Field",name:{kind:"Name",value:"imageRepo"}},{kind:"Field",name:{kind:"Name",value:"requirement"}}]}}]}}]}}]},tct=Object.freeze(Object.defineProperty({__proto__:null,AddChart:SUe,AddChartDocument:yUe,ChartsByImageRepos:OJ,ChartsByImageReposDocument:bUe,GetChart:LJ,GetChartDocument:vUe,GetTagByName:EUe,GetTagByNameDocument:kUe,HelmCharts:ky,HelmChartsDocument:hUe,HelmDetails:xJ,HelmDetailsDocument:gUe},Symbol.toStringTag,{value:"Module"})),TUe=vt` 1175 query OrganizationImageCatalog($organization: ID!) { 1176 repos(filter: {uidp: {childrenOf: $organization}}) { 1177 id 1178 name 1179 description 1180 shortDescription 1181 friendlyName 1182 keywords 1183 aliases 1184 catalogTier 1185 syncConfig { 1186 source 1187 expiration 1188 gracePeriod 1189 } 1190 customizable 1191 customized 1192 createTime 1193 } 1194 } 1195`,CUe=vt` 1196 query OrganizationCatalogTagSummary( 1197 $organization: ID! 1198 $excludeDates: Boolean = true 1199 $excludeEpochs: Boolean = true 1200 ) { 1201 repos(filter: {uidp: {childrenOf: $organization}}) { 1202 id 1203 tagSummary( 1204 filter: { 1205 excludeDates: $excludeDates
1206 excludeEpochs: $excludeEpochs 1207 excludeReferrers: true 1208 excludeVcsSnapshots: true 1209 } 1210 ) { 1211 latestTag { 1212 id 1213 name 1214 digest 1215 lastUpdated 1216 } 1217 latestVersion 1218 tagCount 1219 lastUpdated 1220 } 1221 } 1222 } 1223`,AUe=vt` 1224 query ChainguardPrivateImageCatalog( 1225 $organization: ID! 1226 $excludeDates: Boolean = true 1227 $excludeEpochs: Boolean = true 1228 ) { 1229 repos(filter: {uidp: {descendantsOf: $organization}}) { 1230 id 1231 name 1232 description 1233 shortDescription 1234 keywords 1235 aliases 1236 catalogTier 1237 tagSummary( 1238 filter: { 1239 excludeDates: $excludeDates 1240 excludeEpochs: $excludeEpochs 1241 excludeReferrers: true 1242 excludeVcsSnapshots: true 1243 } 1244 ) { 1245 latestTag { 1246 id 1247 name 1248 digest 1249 } 1250 latestVersion 1251 tagCount 1252 lastUpdated 1253 } 1254 createTime 1255 } 1256 } 1257`,IUe=vt` 1258 query FreeImageCatalog( 1259 $organization: ID! 1260 $excludeDates: Boolean = true 1261 $excludeEpochs: Boolean = true 1262 ) { 1263 repos(filter: {uidp: {childrenOf: $organization}}) { 1264 id 1265 name 1266 description 1267 shortDescription 1268 friendlyName 1269 keywords 1270 aliases 1271 catalogTier 1272 tags( 1273 filter: { 1274 excludeDates: $excludeDates
1275 excludeEpochs: $excludeEpochs 1276 excludeReferrers: true 1277 excludeVcsSnapshots: true 1278 } 1279 ) { 1280 name 1281 } 1282 tagSummary( 1283 filter: { 1284 excludeDates: $excludeDates 1285 excludeEpochs: $excludeEpochs 1286 excludeReferrers: true 1287 excludeVcsSnapshots: true 1288 } 1289 ) { 1290 latestTag { 1291 id 1292 name 1293 digest 1294 lastUpdated 1295 } 1296 latestVersion 1297 tagCount 1298 lastUpdated 1299 } 1300 syncConfig { 1301 source 1302 expiration 1303 gracePeriod 1304 } 1305 customizable 1306 customized 1307 createTime 1308 } 1309 } 1310`,wUe=vt` 1311 query ImageDetails( 1312 $imageId: ID! 1313 $excludeDates: Boolean = true 1314 $excludeEpochs: Boolean = true 1315 $arch: String! 1316 ) { 1317 repos(filter: {uidp: {descendantsOf: $imageId}}) { 1318 id 1319 name 1320 friendlyName 1321 overview 1322 keywords 1323 aliases 1324 catalogTier 1325 tags( 1326 filter: { 1327 excludeDates: $excludeDates 1328 excludeEpochs: $excludeEpochs 1329 excludeReferrers: true 1330 excludeVcsSnapshots: true 1331 } 1332 ) { 1333 id 1334 name 1335 digest 1336 lastUpdated 1337 size(filter: {arch: $arch}) { 1338 size 1339 arch 1340 } 1341 archs 1342 } 1343 customOverlay { 1344 contents { 1345 packages 1346 } 1347 } 1348 tagSummary( 1349 filter: { 1350 excludeDates: $excludeDates
1351 excludeEpochs: $excludeEpochs 1352 excludeReferrers: true 1353 excludeVcsSnapshots: true 1354 } 1355 ) { 1356 isVersionStreamed 1357 } 1358 activeTags 1359 syncCount 1360 } 1361 } 1362`,NUe=vt` 1363 query EolTags($name: String!, $parent: ID!) { 1364 eolTags(filter: {name: $name, uidp: {descendantsOf: $parent}}) { 1365 id 1366 name 1367 eolTagStatus 1368 mainPackageName 1369 eolGracePeriodStatus 1370 gracePeriodExpiryDate 1371 mainPackageVersion { 1372 eolDate 1373 eolBroken 1374 version 1375 latestVersion 1376 } 1377 } 1378 } 1379`,RUe=vt` 1380 query RegistrySettings($organizationId: ID!) { 1381 registrySettings(registryId: $organizationId) { 1382 registryId 1383 uniqueTags 1384 } 1385 } 1386`,xUe=vt` 1387 query TagWithManifestMetadata($id: ID!, $arch: String!) { 1388 tags( 1389 filter: { 1390 id: $id 1391 excludeDates: false 1392 excludeEpochs: false 1393 excludeReferrers: true 1394 excludeVcsSnapshots: true 1395 } 1396 ) { 1397 id 1398 manifestMetadata(filter: {items: {indexFilter: {arch: $arch}}}) { 1399 digest 1400 pkgMetadata { 1401 purl 1402 originPurl 1403 name 1404 version 1405 eolDate 1406 license 1407 } 1408 } 1409 } 1410 } 1411`,LUe=vt` 1412 query TagWithConfig($id: ID!, $registry: Boolean = false, $arch: String!) { 1413 tags( 1414 filter: { 1415 id: $id 1416 excludeDates: false
1417 excludeEpochs: false 1418 excludeReferrers: true 1419 excludeVcsSnapshots: true 1420 } 1421 ) { 1422 id 1423 config(filter: {registry: $registry, arch: $arch}) { 1424 user 1425 env 1426 entrypoint 1427 cmd 1428 volumes 1429 workingDir 1430 stopSignal 1431 labels { 1432 label 1433 value 1434 } 1435 } 1436 } 1437 } 1438`,OUe=vt` 1439 query TagWithVulnerabilities($id: ID!) { 1440 tags( 1441 filter: { 1442 id: $id 1443 excludeDates: false 1444 excludeEpochs: false 1445 excludeReferrers: true 1446 excludeVcsSnapshots: true 1447 } 1448 ) { 1449 id 1450 lastUpdated 1451 scannerReport { 1452 scanner { 1453 name 1454 version 1455 } 1456 reportGeneration 1457 vulnerabilities { 1458 id 1459 cveId 1460 severity 1461 package 1462 version 1463 lastSeen 1464 description 1465 fixedVersions 1466 relatedUrls 1467 cvss { 1468 score 1469 version 1470 severity 1471 } 1472 } 1473 } 1474 } 1475 } 1476`,PUe=vt` 1477 query BuildStatus($organizationId: ID!) { 1478 buildStatus(filter: {uidp: {descendantsOf: $organizationId}}) { 1479 failures { 1480 repoId 1481 total 1482 } 1483 } 1484 } 1485`,_Ue=vt` 1486 query BuildReports( 1487 $imageId: ID! 1488 $startedBefore: Timestamp! 1489 $pageSize: Int = 50 1490 $excludeDates: Boolean = true 1491 $excludeEpochs: Boolean = true 1492 ) { 1493 buildReports( 1494 filter: { 1495 uidp: {descendantsOf: $imageId} 1496 startedBefore: $startedBefore 1497 pageSize: $pageSize 1498 excludeLogs: true 1499 } 1500 ) { 1501 id 1502 result 1503 digest 1504 startedAt 1505 completedAt 1506 } 1507 tags( 1508 filter: { 1509 uidp: {descendantsOf: $imageId} 1510 excludeDates: $excludeDates
1511 excludeEpochs: $excludeEpochs 1512 excludeReferrers: true 1513 excludeVcsSnapshots: true 1514 } 1515 ) { 1516 id 1517 name 1518 digest 1519 } 1520 } 1521`,DUe=vt` 1522 query BuildReportDetails($id: ID!, $startedBefore: Timestamp!) { 1523 buildReports( 1524 filter: { 1525 uidp: {descendantsOf: $id} 1526 startedBefore: $startedBefore 1527 pageSize: 1 1528 } 1529 ) { 1530 id 1531 warnings 1532 log 1533 } 1534 } 1535`,MUe=vt` 1536 query VulnCountReportSizeBytes( 1537 $repo: String! 1538 $tag: String! 1539 $from: Timestamp! 1540 $to: Timestamp! 1541 $references: [RepoTagReference!] = [] 1542 ) { 1543 vulnCountReport( 1544 filter: { 1545 repo: $repo 1546 tag: $tag 1547 from: $from 1548 to: $to 1549 references: $references 1550 } 1551 ) { 1552 repo 1553 tag 1554 date 1555 sizeBytes 1556 } 1557 } 1558`,FUe=vt` 1559 query VulnCountReportWithNetNew( 1560 $repo: String! 1561 $tag: String! 1562 $from: Timestamp! 1563 $to: Timestamp! 1564 $references: [RepoTagReference!] = [] 1565 ) { 1566 vulnCountReportWithNetNew( 1567 filter: { 1568 repo: $repo 1569 tag: $tag 1570 from: $from 1571 to: $to 1572 references: $references 1573 } 1574 ) { 1575 repo 1576 tag 1577 date 1578 vulnCounts { 1579 severity 1580 count 1581 } 1582 netNew 1583 } 1584 } 1585`,UUe=vt` 1586 query ResolvedVulnsReport( 1587 $imageRefs: [ResolvedVulnsReportFilter_ImageRef!] 1588 $from: Timestamp! 1589 $to: Timestamp! 1590 ) { 1591 resolvedCveCountReport( 1592 filter: {imageRefs: $imageRefs, from: $from, to: $to} 1593 ) { 1594 date 1595 resolvedVulns { 1596 id 1597 aliases 1598 } 1599 } 1600 } 1601`,VUe=vt` 1602 query SyncStatus($imageId: ID!) { 1603 syncStatus(repoId: $imageId) { 1604 status 1605 } 1606 } 1607`,BUe=vt` 1608 query ImageTagSummary( 1609 $imageId: ID! 1610 $excludeDates: Boolean = true 1611 $excludeEpochs: Boolean = true 1612 ) { 1613 repos(filter: {uidp: {descendantsOf: $imageId}}) { 1614 id 1615 tagSummary( 1616 filter: { 1617 excludeDates: $excludeDates
1618 excludeEpochs: $excludeEpochs 1619 excludeReferrers: true 1620 excludeVcsSnapshots: true 1621 } 1622 ) { 1623 tagCount 1624 lastUpdated 1625 } 1626 } 1627 } 1628`,jUe=vt` 1629 mutation UpdateRepo($id: ID!, $input: UpdateRepoInput!) { 1630 updateRepo(id: $id, input: $input) { 1631 id 1632 name 1633 description 1634 customized 1635 customOverlay { 1636 contents { 1637 packages 1638 } 1639 } 1640 } 1641 } 1642`,zUe=vt` 1643 mutation CreateRepo( 1644 $organizationId: ID! 1645 $name: String! 1646 $sourceID: String! 1647 ) { 1648 createRepo( 1649 parentId: $organizationId 1650 repo: {name: $name, sourceId: $sourceID} 1651 ) { 1652 id 1653 name 1654 createTime 1655 } 1656 } 1657`,HUe=vt` 1658 mutation CreateCustomRepo( 1659 $organizationId: ID! 1660 $name: String! 1661 $sourceId: String! 1662 $customizations: RepoCustomizationsInput 1663 ) { 1664 createRepo( 1665 parentId: $organizationId 1666 repo: {name: $name, sourceId: $sourceId, customizations: $customizations} 1667 ) { 1668 id 1669 name 1670 description 1671 shortDescription 1672 friendlyName 1673 keywords 1674 aliases 1675 catalogTier 1676 tagSummary( 1677 filter: { 1678 excludeDates: true 1679 excludeEpochs: true 1680 excludeReferrers: true 1681 excludeVcsSnapshots: true 1682 } 1683 ) { 1684 latestTag { 1685 id 1686 name 1687 digest 1688 lastUpdated 1689 } 1690 latestVersion 1691 tagCount 1692 lastUpdated 1693 } 1694 syncConfig { 1695 source 1696 expiration 1697 gracePeriod 1698 } 1699 customizable 1700 customized 1701 createTime 1702 } 1703 } 1704`,WUe=vt` 1705 mutation DeleteRepo($id: ID!) { 1706 deleteRepo(id: $id) 1707 } 1708`,PJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OrganizationImageCatalog"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organization"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"childrenOf"},value:{kind:"Variable",name:{kind:"Name",value:"organization"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"shortDescription"}},{kind:"Field",name:{kind:"Name",value:"friendlyName"}},{kind:"Field",name:{kind:"Name",value:"keywords"}},{kind:"Field",name:{kind:"Name",value:"aliases"}},{kind:"Field",name:{kind:"Name",value:"catalogTier"}},{kind:"Field",name:{kind:"Name",value:"syncConfig"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"source"}},{kind:"Field",name:{kind:"Name",value:"expiration"}},{kind:"Field",name:{kind:"Name",value:"gracePeriod"}}]}},{kind:"Field",name:{kind:"Name",value:"customizable"}},{kind:"Field",name:{kind:"Name",value:"customized"}},{kind:"Field",name:{kind:"Name",value:"createTime"}}]}}]}}]},_J={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OrganizationCatalogTagSummary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organization"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}
1708,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"childrenOf"},value:{kind:"Variable",name:{kind:"Name",value:"organization"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tagSummary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"}
1708,value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestTag"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"latestVersion"}},{kind:"Field",name:{kind:"Name",value:"tagCount"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}}]}}]}}]},DJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChainguardPrivateImageCatalog"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organization"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}
1708,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"organization"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"shortDescription"}},{kind:"Field",name:{kind:"Name",value:"keywords"}},{kind:"Field",name:{kind:"Name",value:"aliases"}},{kind:"Field",name:{kind:"Name",value:"catalogTier"}},{kind:"Field",name:{kind:"Name",value:"tagSummary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}}
1708,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestTag"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}}]}},{kind:"Field",name:{kind:"Name",value:"latestVersion"}},{kind:"Field",name:{kind:"Name",value:"tagCount"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"createTime"}}]}}]}}]},MJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FreeImageCatalog"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organization"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}
1708,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"childrenOf"},value:{kind:"Variable",name:{kind:"Name",value:"organization"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"shortDescription"}},{kind:"Field",name:{kind:"Name",value:"friendlyName"}},{kind:"Field",name:{kind:"Name",value:"keywords"}},{kind:"Field",name:{kind:"Name",value:"aliases"}},{kind:"Field",name:{kind:"Name",value:"catalogTier"}},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}}
1708,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"tagSummary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestTag"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"latestVersion"}},{kind:"Field",name:{kind:"Name",value:"tagCount"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"syncConfig"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"source"}},{kind:"Field",name:{kind:"Name",value:"expiration"}},{kind:"Field",name:{kind:"Name",value:"gracePeriod"}}]}},{kind:"Field",name:{kind:"Name",value:"customizable"}},{kind:"Field",name:{kind:"Name",value:"customized"}},{kind:"Field",name:{kind:"Name",value:"createTime"}}]}}]}}]},UE={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ImageDetails"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imageId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}
1708,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"arch"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"imageId"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"friendlyName"}},{kind:"Field",name:{kind:"Name",value:"overview"}},{kind:"Field",name:{kind:"Name",value:"keywords"}},{kind:"Field",name:{kind:"Name",value:"aliases"}},{kind:"Field",name:{kind:"Name",value:"catalogTier"}},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}}
1708,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}},{kind:"Field",name:{kind:"Name",value:"size"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"arch"},value:{kind:"Variable",name:{kind:"Name",value:"arch"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"size"}},{kind:"Field",name:{kind:"Name",value:"arch"}}]}},{kind:"Field",name:{kind:"Name",value:"archs"}}]}},{kind:"Field",name:{kind:"Name",value:"customOverlay"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"packages"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"tagSummary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}}
1708,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isVersionStreamed"}}]}},{kind:"Field",name:{kind:"Name",value:"activeTags"}},{kind:"Field",name:{kind:"Name",value:"syncCount"}}]}}]}}]},qUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EolTags"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parent"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"eolTags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"parent"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"eolTagStatus"}},{kind:"Field",name:{kind:"Name",value:"mainPackageName"}},{kind:"Field",name:{kind:"Name",value:"eolGracePeriodStatus"}},{kind:"Field",name:{kind:"Name",value:"gracePeriodExpiryDate"}},{kind:"Field",name:{kind:"Name",value:"mainPackageVersion"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"eolDate"}},{kind:"Field",name:{kind:"Name",value:"eolBroken"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"latestVersion"}}]}}]}}]}}]},FJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RegistrySettings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"registrySettings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"registryId"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"registryId"}},{kind:"Field",name:{kind:"Name",value:"uniqueTags"}}]}}]}}]},GUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TagWithManifestMetadata"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"arch"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"BooleanValue",value:!1}}
1708,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"BooleanValue",value:!1}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"manifestMetadata"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"items"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"indexFilter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"arch"},value:{kind:"Variable",name:{kind:"Name",value:"arch"}}}]}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"pkgMetadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"purl"}},{kind:"Field",name:{kind:"Name",value:"originPurl"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"eolDate"}},{kind:"Field",name:{kind:"Name",value:"license"}}]}}]}}]}}]}}]},KUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TagWithConfig"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"registry"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1}}
1708,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"arch"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"BooleanValue",value:!1}},{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"BooleanValue",value:!1}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"registry"},value:{kind:"Variable",name:{kind:"Name",value:"registry"}}},{kind:"ObjectField",name:{kind:"Name",value:"arch"},value:{kind:"Variable",name:{kind:"Name",value:"arch"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"user"}},{kind:"Field",name:{kind:"Name",value:"env"}},{kind:"Field",name:{kind:"Name",value:"entrypoint"}},{kind:"Field",name:{kind:"Name",value:"cmd"}},{kind:"Field",name:{kind:"Name",value:"volumes"}},{kind:"Field",name:{kind:"Name",value:"workingDir"}},{kind:"Field",name:{kind:"Name",value:"stopSignal"}},{kind:"Field",name:{kind:"Name",value:"labels"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"}},{kind:"Field",name:{kind:"Name",value:"value"}}]}}]}}]}}]}}]},YUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TagWithVulnerabilities"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"BooleanValue",value:!1}}
1708,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"BooleanValue",value:!1}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}},{kind:"Field",name:{kind:"Name",value:"scannerReport"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"scanner"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"reportGeneration"}},{kind:"Field",name:{kind:"Name",value:"vulnerabilities"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"cveId"}},{kind:"Field",name:{kind:"Name",value:"severity"}},{kind:"Field",name:{kind:"Name",value:"package"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"lastSeen"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"fixedVersions"}},{kind:"Field",name:{kind:"Name",value:"relatedUrls"}},{kind:"Field",name:{kind:"Name",value:"cvss"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"score"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"severity"}}]}}]}}]}}]}}]}}]},UJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BuildStatus"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"buildStatus"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"failures"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repoId"}},{kind:"Field",name:{kind:"Name",value:"total"}}]}}]}}]}}]},VJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BuildReports"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imageId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"startedBefore"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Timestamp"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"50"}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}
1708,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"buildReports"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"imageId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"startedBefore"},value:{kind:"Variable",name:{kind:"Name",value:"startedBefore"}}},{kind:"ObjectField",name:{kind:"Name",value:"pageSize"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeLogs"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",name:{kind:"Name",value:"completedAt"}}]}},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"imageId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}}
1708,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}}]}}]}}]},$Ue={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BuildReportDetails"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"startedBefore"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Timestamp"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"buildReports"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"startedBefore"},value:{kind:"Variable",name:{kind:"Name",value:"startedBefore"}}},{kind:"ObjectField",name:{kind:"Name",value:"pageSize"},value:{kind:"IntValue",value:"1"}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"warnings"}},{kind:"Field",name:{kind:"Name",value:"log"}}]}}]}}]},JUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VulnCountReportSizeBytes"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"repo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tag"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"from"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Timestamp"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"to"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Timestamp"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"references"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RepoTagReference"}}}},defaultValue:{kind:"ListValue",values:[]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vulnCountReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"repo"},value:{kind:"Variable",name:{kind:"Name",value:"repo"}}},{kind:"ObjectField",name:{kind:"Name",value:"tag"},value:{kind:"Variable",name:{kind:"Name",value:"tag"}}},{kind:"ObjectField",name:{kind:"Name",value:"from"},value:{kind:"Variable",name:{kind:"Name",value:"from"}}},{kind:"ObjectField",name:{kind:"Name",value:"to"},value:{kind:"Variable",name:{kind:"Name",value:"to"}}},{kind:"ObjectField",name:{kind:"Name",value:"references"},value:{kind:"Variable",name:{kind:"Name",value:"references"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repo"}},{kind:"Field",name:{kind:"Name",value:"tag"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"sizeBytes"}}]}}]}}]},BJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VulnCountReportWithNetNew"}
1708,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"repo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tag"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"from"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Timestamp"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"to"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Timestamp"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"references"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RepoTagReference"}}}},defaultValue:{kind:"ListValue",values:[]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vulnCountReportWithNetNew"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"repo"},value:{kind:"Variable",name:{kind:"Name",value:"repo"}}},{kind:"ObjectField",name:{kind:"Name",value:"tag"},value:{kind:"Variable",name:{kind:"Name",value:"tag"}}},{kind:"ObjectField",name:{kind:"Name",value:"from"},value:{kind:"Variable",name:{kind:"Name",value:"from"}}},{kind:"ObjectField",name:{kind:"Name",value:"to"},value:{kind:"Variable",name:{kind:"Name",value:"to"}}},{kind:"ObjectField",name:{kind:"Name",value:"references"},value:{kind:"Variable",name:{kind:"Name",value:"references"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repo"}},{kind:"Field",name:{kind:"Name",value:"tag"}},{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"vulnCounts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"severity"}},{kind:"Field",name:{kind:"Name",value:"count"}}]}},{kind:"Field",name:{kind:"Name",value:"netNew"}}]}}]}}]},jJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ResolvedVulnsReport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imageRefs"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ResolvedVulnsReportFilter_ImageRef"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"from"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Timestamp"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"to"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Timestamp"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resolvedCveCountReport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"imageRefs"},value:{kind:"Variable",name:{kind:"Name",value:"imageRefs"}}},{kind:"ObjectField",name:{kind:"Name",value:"from"},value:{kind:"Variable",name:{kind:"Name",value:"from"}}},{kind:"ObjectField",name:{kind:"Name",value:"to"},value:{kind:"Variable",name:{kind:"Name",value:"to"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"date"}},{kind:"Field",name:{kind:"Name",value:"resolvedVulns"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"aliases"}}]}}]}}]}}]},zJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SyncStatus"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imageId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"syncStatus"},arguments:[{kind:"Argument",name:{kind:"Name",value:"repoId"},value:{kind:"Variable",name:{kind:"Name",value:"imageId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}}]}}]}}]},HJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ImageTagSummary"}
1708,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imageId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"imageId"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tagSummary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"Variable",name:{kind:"Name",value:"excludeDates"}}}
1708,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"Variable",name:{kind:"Name",value:"excludeEpochs"}}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tagCount"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}}]}}]}}]},ZUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateRepo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateRepoInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateRepo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"customized"}},{kind:"Field",name:{kind:"Name",value:"customOverlay"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"packages"}}]}}]}}]}}]}}]},WJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateRepo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sourceID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createRepo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentId"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}},{kind:"Argument",name:{kind:"Name",value:"repo"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"ObjectField",name:{kind:"Name",value:"sourceId"},value:{kind:"Variable",name:{kind:"Name",value:"sourceID"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"createTime"}}]}}]}}]},QUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateCustomRepo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sourceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"customizations"}},type:{kind:"NamedType",name:{kind:"Name",value:"RepoCustomizationsInput"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createRepo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"parentId"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}},{kind:"Argument",name:{kind:"Name",value:"repo"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"ObjectField",name:{kind:"Name",value:"sourceId"},value:{kind:"Variable",name:{kind:"Name",value:"sourceId"}}},{kind:"ObjectField",name:{kind:"Name",value:"customizations"},value:{kind:"Variable",name:{kind:"Name",value:"customizations"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"shortDescription"}},{kind:"Field",name:{kind:"Name",value:"friendlyName"}},{kind:"Field",name:{kind:"Name",value:"keywords"}},{kind:"Field",name:{kind:"Name",value:"aliases"}},{kind:"Field",name:{kind:"Name",value:"catalogTier"}},{kind:"Field",name:{kind:"Name",value:"tagSummary"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"excludeDates"},value:{kind:"BooleanValue",value:!0}}
1708,{kind:"ObjectField",name:{kind:"Name",value:"excludeEpochs"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeReferrers"},value:{kind:"BooleanValue",value:!0}},{kind:"ObjectField",name:{kind:"Name",value:"excludeVcsSnapshots"},value:{kind:"BooleanValue",value:!0}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestTag"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"digest"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"latestVersion"}},{kind:"Field",name:{kind:"Name",value:"tagCount"}},{kind:"Field",name:{kind:"Name",value:"lastUpdated"}}]}},{kind:"Field",name:{kind:"Name",value:"syncConfig"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"source"}},{kind:"Field",name:{kind:"Name",value:"expiration"}},{kind:"Field",name:{kind:"Name",value:"gracePeriod"}}]}},{kind:"Field",name:{kind:"Name",value:"customizable"}},{kind:"Field",name:{kind:"Name",value:"customized"}},{kind:"Field",name:{kind:"Name",value:"createTime"}}]}}]}}]},XUe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteRepo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteRepo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}]}]}}]},nct=Object.freeze(Object.defineProperty({__proto__:null,BuildReportDetails:$Ue,BuildReportDetailsDocument:DUe,BuildReports:VJ,BuildReportsDocument:_Ue,BuildStatus:UJ,BuildStatusDocument:PUe,ChainguardPrivateImageCatalog:DJ,ChainguardPrivateImageCatalogDocument:AUe,CreateCustomRepo:QUe,CreateCustomRepoDocument:HUe,CreateRepo:WJ,CreateRepoDocument:zUe,DeleteRepo:XUe,DeleteRepoDocument:WUe,EolTags:qUe,EolTagsDocument:NUe,FreeImageCatalog:MJ,FreeImageCatalogDocument:IUe,ImageDetails:UE,ImageDetailsDocument:wUe,ImageTagSummary:HJ,ImageTagSummaryDocument:BUe,OrganizationCatalogTagSummary:_J,OrganizationCatalogTagSummaryDocument:CUe,OrganizationImageCatalog:PJ,OrganizationImageCatalogDocument:TUe,RegistrySettings:FJ,RegistrySettingsDocument:RUe,ResolvedVulnsReport:jJ,ResolvedVulnsReportDocument:UUe,SyncStatus:zJ,SyncStatusDocument:VUe,TagWithConfig:KUe,TagWithConfigDocument:LUe,TagWithManifestMetadata:GUe,TagWithManifestMetadataDocument:xUe,TagWithVulnerabilities:YUe,TagWithVulnerabilitiesDocument:OUe,UpdateRepo:ZUe,UpdateRepoDocument:jUe,VulnCountReportSizeBytes:JUe,VulnCountReportSizeBytesDocument:MUe,VulnCountReportWithNetNew:BJ,VulnCountReportWithNetNewDocument:FUe},Symbol.toStringTag,{value:"Module"})),e5e=vt` 1709 query PublicSkills( 1710 $organizationId: ID! 1711 $query: String = "" 1712 $source: String = "" 1713 $hardened: Boolean 1714 $pageSize: Int = 8 1715 $pageToken: String = "" 1716 $skip: Int = 0 1717 ) { 1718 searchSkills( 1719 filter: { 1720 uidp: {descendantsOf: $organizationId} 1721 query: $query 1722 source: $source 1723 hardened: $hardened 1724 pageSize: $pageSize 1725 pageToken: $pageToken 1726 skip: $skip 1727 } 1728 ) { 1729 items { 1730 id 1731 name 1732 description 1733 updateTime 1734 hardened 1735 stars 1736 downloads 1737 source 1738 } 1739 nextPageToken 1740 totalCount 1741 } 1742 } 1743`,t5e=vt` 1744 query SkillDetails( 1745 $organizationId: ID! 1746 $query: String = "" 1747 $source: String = "" 1748 ) { 1749 searchSkills( 1750 filter: { 1751 uidp: {descendantsOf: $organizationId} 1752 query: $query 1753 source: $source 1754 pageSize: 50 1755 } 1756 ) { 1757 items { 1758 id 1759 name 1760 description 1761 license 1762 updateTime 1763 hardened 1764 stars 1765 downloads 1766 source 1767 } 1768 nextPageToken 1769 totalCount 1770 } 1771 } 1772`,qJ={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PublicSkills"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}
1772,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"query"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},defaultValue:{kind:"StringValue",value:"",block:!1}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"source"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},defaultValue:{kind:"StringValue",value:"",block:!1}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hardened"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"8"}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageToken"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},defaultValue:{kind:"StringValue",value:"",block:!1}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"skip"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"0"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"searchSkills"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"query"},value:{kind:"Variable",name:{kind:"Name",value:"query"}}},{kind:"ObjectField",name:{kind:"Name",value:"source"},value:{kind:"Variable",name:{kind:"Name",value:"source"}}},{kind:"ObjectField",name:{kind:"Name",value:"hardened"},value:{kind:"Variable",name:{kind:"Name",value:"hardened"}}},{kind:"ObjectField",name:{kind:"Name",value:"pageSize"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"ObjectField",name:{kind:"Name",value:"pageToken"},value:{kind:"Variable",name:{kind:"Name",value:"pageToken"}}},{kind:"ObjectField",name:{kind:"Name",value:"skip"},value:{kind:"Variable",name:{kind:"Name",value:"skip"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"updateTime"}},{kind:"Field",name:{kind:"Name",value:"hardened"}},{kind:"Field",name:{kind:"Name",value:"stars"}},{kind:"Field",name:{kind:"Name",value:"downloads"}},{kind:"Field",name:{kind:"Name",value:"source"}}]}},{kind:"Field",name:{kind:"Name",value:"nextPageToken"}},{kind:"Field",name:{kind:"Name",value:"totalCount"}}]}}]}}]},n5e={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SkillDetails"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"organizationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"query"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},defaultValue:{kind:"StringValue",value:"",block:!1}}
1772,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"source"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},defaultValue:{kind:"StringValue",value:"",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"searchSkills"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uidp"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"descendantsOf"},value:{kind:"Variable",name:{kind:"Name",value:"organizationId"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"query"},value:{kind:"Variable",name:{kind:"Name",value:"query"}}},{kind:"ObjectField",name:{kind:"Name",value:"source"},value:{kind:"Variable",name:{kind:"Name",value:"source"}}},{kind:"ObjectField",name:{kind:"Name",value:"pageSize"},value:{kind:"IntValue",value:"50"}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"license"}},{kind:"Field",name:{kind:"Name",value:"updateTime"}},{kind:"Field",name:{kind:"Name",value:"hardened"}},{kind:"Field",name:{kind:"Name",value:"stars"}},{kind:"Field",name:{kind:"Name",value:"downloads"}},{kind:"Field",name:{kind:"Name",value:"source"}}]}},{kind:"Field",name:{kind:"Name",value:"nextPageToken"}},{kind:"Field",name:{kind:"Name",value:"totalCount"}}]}}]}}]},rct=Object.freeze(Object.defineProperty({__proto__:null,PublicSkills:qJ,PublicSkillsDocument:e5e,SkillDetails:n5e,SkillDetailsDocument:t5e},Symbol.toStringTag,{value:"Module"}));function m0(e,t){return{query:e,variables:t,hash:["query","variables"]}}function HN(e){return t=>({query:e,variables:t,hash:["query"]})}const VE={CHAINGUARD_PRIVATE_IMAGE_CATALOG:m0(DJ,{organization:ry,excludeDates:!0,excludeEpoc
1772hs:!0}),CHAINGUARD_PUBLIC_IMAGE_CATALOG:m0(MJ,{organization:Dve,excludeDates:!0,excludeEpochs:!0}),CHAINGUARD_RESOLVED_VULN_REPORTS:HN(jJ),CHAINGUARD_VULN_COUNT_REPORT:HN(BJ),CHAINGUARD_PUBLIC_HELM_CATALOG:m0(ky,{organizationId:QT}),CHAINGUARD_PUBLIC_HELM_COMMUNITY_CATALOG:m0(ky,{organizationId:XT}),CHAINGUARD_PUBLIC_SKILLS_CATALOG:HN(qJ)},r5e=new Date("2023-11-16T17:51:21.205Z"),ict={value:"All",display:{id:"N40H-G"}},Yf="latest",i5e=/-latest$/,oct="-dev",o5e="byol",act={id:"w0RLAc"};var ho=(function(e){return e.IAMGUARDED_CHART="chart",e.COMMUNITY_CHART="community-chart",e})({});const a5e=e=>`Minimal ${e} image.`,sct=e=>`Helm chart for deploying ${e}.`;var mr=(function(e){return e.DEVELOPER="free",e.PRODUCTION="production",e.FIPS="fips",e.STIGS="stigs",e.ALL="all",e.FEATURED="featured",e.BYOL="byol",e.HELM="chart",e.MCP="mcp",e.EMERITOSS="emeritoss",e})({}),Vm=(function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.ACTIVE=1]="ACTIVE",e[e.EXPIRED=2]="EXPIRED",e})({});const lct=e=>e.tags.map(t=>t.name).join(", ");var GJ=(function(e){return e.X86_64="x86_64",e.AMD64="amd64",e.ARM64="arm64",e.AARCH64="aarch64",e})({});const s5e={x86_64:"amd64",amd64:"x86_64",aarch64:"arm64",arm64:"aarch64"},KB=e=>e==="aarch64"||e==="amd64"||e==="arm64"||e==="x86_64",uct=(e,t)=>t.find(n=>n===e||n===s5e[e]),cct=()=>{const{_:e}=Tn(),t=r=>{switch(r){case"x86_64":case"amd64":return e({id:"-r4LBp"});case"arm64":case"aarch64":return e({id:"t4VC6y"});default:return r}};return{getName:t,getFormattedList:(r,i)=>{const o=t(i);if(r.length<=1)return o;if(r.length===2){const[s,l]=r;return`${o} + ${t(s===i?l:s)}`}const a=r.length-1;return e({id:"odTSaP",values:{currentName:o,restLength:a}})}}},l5e=e=>e.replace(/-fips$/,""),u5e=e=>e.entitlement.source?e.entitlement.source.catalogTier===gi.Fips||e.entitlement.source.name.includes("-fips"):e.catalogTier===gi.Fips||e.name.includes("-fips"),dct=()=>{const{i18n:e}=Tn(),t=["byte","kilobyte","megabyte","gigabyte","terabyte"];return n=>{let r=0;for(;n>=1024&&r<t.length-1;)n/=1024,r++;return e.number(n,{style:"unit",unit:t[r],unitDisplay:"narrow",maximumFractionDigits:r>1?2:0,minimumFractionDigits:r>1?2:0}).replace("k",e.locale===Vv.EN?"K":"k").replace(/([\d,.\s]+)/,"$1 ")}};function fct(e){return e.slice(-1)[0]}const pct=e=>{const t=e.digests.filter(n=>n.tags.length&&n.lastUpdated&&n.lastUpdated>r5e);return{latest:t.at(0),metadataDigests:t??[]}};var WN=(function(e){return e.DIRECTORY="directory",e.CHAINGUARD="public",e.ORGANIZATION="organization",e})({});const qN=e=>{const{catalog:t,imageId:n,tab:r,chartKind:i}=e;return i?Dl(`/directory/${i}/:chartName/:tab`,{chartName:encodeURIComponent(n),tab:"overview"}):t==="directory"?Dl("/directory/image/:imageId/:tab",{imageId:encodeURIComponent(n),tab:r??""}):Dl("/org/:org/images/:catalog/image/:imageId/:tab",{org:encodeURIComponent(e.scopeOrg),catalog:t,imageId:encodeURIComponent(n),tab:r??""})},mct=()=>{const{rootUIDP:e}=Po(),t=ir({query:UJ,variables:{organizationId:e}}),[{data:n,fetching:r,error:i}]=t;return{failures:m.useMemo(()=>new Map(n?.buildStatus.failures.map(a=>[a.repoId,a.total])),[n?.buildStatus.failures]),fetching:r,error:i&&{query:t}}},KJ=(e,t,n)=>{if(e=e.replaceAll("REPO_NAME",t),!n)return e;let r="";for(;e!==r;)r=e,e=e.replaceAll(/(```[^`]*?)\$?ORGANIZATION([^=])([^`]*?```)/g,`$1${n}$2$3`);return e=e.replaceAll(/\/\$?ORGANIZATION/g,`/${n}`),e=e.replace(/[A-Z][^.`*\n]*?`?\$?ORGANIZATION`?[^`]*?\./g,""),e},hct=e=>e.description||e.entitlement.source?.description||"",gct=e=>e.replace(i5e,""),c5e=new Map([["ai","AI"],[mr.FIPS,"FIPS"],[mr.STIGS,"STIG"],["cicd","CI/CD"],["gpu","GPU"],["servers","Web servers"],[mr.BYOL,"Bring your own license"],[mr.HELM,"Helm charts"],["aws","AWS"],["ci","CI"],["gitlab","GitLab"],["ide","IDE"],["ui","UI"],["eck","ECK"],["ssh","SSH"],["nvidia","NVIDIA"],["sts","STS"],["ai-gpu","AI-GPU"],["commercial","Commercial"]]),GN=new Map([mr.ALL,mr.FEATURED,mr.DEVELOPER,mr.HELM,gi.Base,gi.Application,gi.Fips,mr.STIGS,gi.Ai,mr.BYOL,gi.Commercial,mr.EMERITOSS].map((e,t)=>[e,t])),d5e=new Map([["custom",""],["bundle:custom",""],["standard",""],["bundle:standard",""],["bundle:ai",""],["FREE",""],["PREMIUM",""],["STANDARD",""]]);function f5e(e){return e.split("/category/")[0]}function YB(e,t){return`${e}/category/${encodeURIComponent(t)}`}const p5e={all:{id:"all"},featured:{id:"featured"},fips:{id:"fips"},stig:{id:"stig"},developer:{id:"developer"},production:{id:"production"},ai:{id:"ai"},application:{id:"application"},base:{id:"base"},"ai-gpu":{id:"ai-gpu"},byol:{id:"byol"},starter:{id:"starter"},free:{id:"free"},mcp:{id:"mcp"},commercial:{id:"commercial"},emeritoss:{id:"emeritoss"}},m5e=()=>{const{_:e}=Tn();return m.useCallback(t=>{const n=(t.split(":")[1]||t).toLocaleLowerCase(),r=p5e[n];if(r){const o=e(r);return hB(o)}const i=c5e.get(n)||n;return hB(i)},[e])};function h5e(e,t,n,r){const i=[e.keywords.includes(mr.FEATURED)&&mr.FEATURED,e.keywords.includes(mr.BYOL)&&mr.BYOL,e.keywords.includes(mr.EMERITO
1772SS)&&mr.EMERITOSS,n?.public&&mr.DEVELOPER,(e.name.startsWith("mcp-")||e.name.endsWith("-mcp"))&&mr.MCP,r&&mr.HELM,...t?[gi.Fips,mr.STIGS]:[]].filter(Boolean),o=new Set([e.catalogTier.toString()].concat(i).map(a=>d5e.get(a)??a).filter(a=>a!==gi.Unknown));return Array.from(o)}function g5e(...e){const[t,n]=e.map(r=>GN.has(r)?GN.get(r)-GN.size:0);return t-n||e[0].localeCompare(e[1])}function vct({images:e,addAllKeyword:t,disableNavigate:n}){const{_:r}=Tn(),{category:i}=ip(),{pathname:o,search:a}=qr(),s=sp(),l=f5e(o),u=m5e(),[c,f]=m.useState(""),{keywords:p,hasKeyword:v}=m.useMemo(()=>{const A=Array.from(new Set(e?.flatMap(R=>R.repoKeywords))).sort(g5e).filter(R=>R!==mr.STIGS&&R!==mr.BYOL&&R!==mr.EMERITOSS).map(R=>R.toLowerCase()),w=new Map(e?.map(R=>[R.uidp,new Set(R.repoKeywords.map(x=>x.toLowerCase()))])||[]);return{keywords:[mr.ALL,...A],hasKeyword:(R,x)=>x===mr.ALL||w.get(R.uidp)?.has(x)}},[t,e]),g=(n?c:i)||p[0],y=m.useCallback(A=>{rr.track("SelectImageCategory",{keyword:A}),n?f(A):s(YB(l,A)+a,{state:{preventScroll:!0}})},[n,s,l,a]),k=m.useCallback(A=>YB(l,A)+a,[l,a]),E=m.useMemo(()=>e?.filter(A=>v(A,g))||[],[v,e,g]),S=m.useMemo(()=>({id:"keyword",heading:r({id:"K7tIrx"}),allValue:mr.ALL,options:p.map(A=>({label:u(A),value:A}))}),[r,p,u]),T=m.useMemo(()=>({keywords:p,value:g,onSelect:y,getHref:k}),[p,g,y,k]),I=m.useMemo(()=>({keywords:p,value:g,onSelect:y}),[p,g,y]);return{filteredImages:E,count:E.length,selectedKeyword:g,keywords:p,keywordCategory:S,onKeywordSelect:y,keywordPickerProps:T,keywordSelectProps:I}}const v5e=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M457.31-457.31H220v-45.38h237.31V-740h45.38v237.31H740v45.38H502.69V-220h-45.38v-237.31Z"})),y5e=m.memo(v5e),k5e=({children:e,sourceName:t,small:n=!1,hide:r=!1})=>{const{_:i}=Tn();return r?e:b.jsx(xs,{title:i(t?{id:"490YCu",values:{sourceName:t}}:{id:"63Q_VZ"}),children:b.jsx(kK,{overlap:"circular",anchorOrigin:{vertical:"bottom",horizontal:"right"},badgeContent:b.jsx(s1,{sx:{border:o=>`2px solid ${o.palette.background.default}`,bgcolor:"info.main",width:n?12:16,height:n?12:16},children:b.jsx(y5e,{color:"inherit",sx:{fontSize:n?10:14}})}),children:e})})},b5e=`All Chainguard's container images contain verifiable signatures and high-quality SBOMs (software bill of materials), features that enable users to confirm the origin of each image build and have a detailed list of everything that is included. 1773 1774You'll need [cosign](https://docs.sigstore.dev/about/overview/) and [jq](https://stedolan.github.io/jq/) in order to download and verify image attestations. 1775 1776## Registry and Tags for $IMAGE Image 1777 1778Attestations are provided per image build, so you'll need to specify the correct tag and registry when pulling attestations from an image with \`cosign\`. 1779 1780<!-- starter --> 1781 1782- \`$REGISTRY/chainguard\` - the Public Registry contains our **Free Containers**, which typically comprise the \`latest*\` versions of an image. 1783 1784<!-- /starter --> 1785 1786- \`$REGISTRY/$ORGANIZATION\` - contains all **Production Containers** that your organization has access to. 1787 1788The commands listed on this page will default to the \`latest\` tag, but you can specify a different tag to fetch attestations for. 1789 1790## Verifying $IMAGE Image Signatures 1791 1792The **$IMAGE** Chainguard Containers are signed using Sigstore, and you can check the included signatures using \`cosign\`. 1793 1794The \`cosign verify\` command will pull detailed information about all signatures found for the provided image. 1795 1796<!-- starter --> 1797 1798### Free Containers 1799 1800\`\`\`shell 1801cosign verify \\ 1802 --certificate-oidc-issuer=https://token.actions.githubusercontent.com \\ 1803 --certificate-identity=https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main \\ 1804 $REGISTRY/chainguard/$IMAGE | jq 1805\`\`\` 1806 1807<!-- /starter --> 1808 1809### Production Containers 1810 1811\`\`\`shell 1812ORGANIZATION=<your-org-name> 1813CATALOG_SYNCER=$(chainctl iam account-associations describe $ORGANIZATION -o json | jq -r '.[].chainguard.service_bindings.CATALOG_SYNCER') 1814APKO_BUILDER=$(chainctl iam account-associations describe $ORGANIZATION -o json | jq -r '.[].chainguard.service_bindings.APKO_BUILDER') 1815 1816cosign verify \\ 1817 --certificate-oidc-issuer=$ISSUER \\ 1818 --certificate-identity-regexp="$ISSUER/(\${CATALOG_SYNCER}|\${APKO_BUILDER})" \\ 1819 $REGISTRY/\${ORGANIZATION}/$IMAGE | jq 1820\`\`\` 1821 1822## Downloading $IMAGE Image Attestations 1823 1824The following [attestations](https://slsa.dev/attestation-model) for the $IMAGE image can be obtained and verified via cosign: 1825 1826| Attestation Type | Description | 1827| --- | --- | 1828| \`https://slsa.dev/provenance/v1\` | The [SLSA 1.0](https://slsa.dev/spec/v1.0/provenance) provenance attestation contains information about the image build environment. | 1829| \`https://apko.dev/image-configuration\` | Contains the configuration used by that particular image build, including direct dependencies, user accounts, and entry point. | 1830| \`https://spdx.dev/Document\` | Contains the image SBOM (Software Bill of Materials) in SPDX format. | 1831 1832To download an attestation, use the \`cosign download attestation\` command and provide both the predicate type and the build platform. For example, the following command will obtain the SBOM for the $IMAGE image on \`linux/amd64\`: 1833 1834<!-- starter --> 1835 1836### Free Containers 1837 1838\`\`\`shell 1839cosign download attestation \\ 1840 --platform=linux/amd64 \\ 1841 --predicate-type=https://spdx.dev/Document \\ 1842 $REGISTRY/chainguard/$IMAGE | jq -r .payload | base64 -d | jq .predicate 1843\`\`\` 1844 1845<!-- /starter --> 1846 1847### Production Containers 1848 1849\`\`\`shell 1850cosign download attestation \\ 1851 --platform=linux/amd64 \\ 1852 --predicate-type=https://spdx.dev/Document \\ 1853 $REGISTRY/$ORGANIZATION/$IMAGE | jq -r .payload | base64 -d | jq .predicate 1854\`\`\` 1855 1856By default, this command will fetch the SBOM assigned to the \`latest\` tag. You can also specify the tag you want to fetch the attestation from. 1857 1858To download a different attestation, replace the \`--predicate-type\` parameter value with the desired attestation URL identifier. 1859 1860## Verifying $IMAGE Image Attestations 1861 1862You can use the \`cosign verify-attestation\` command to check the signatures of the $IMAGE image attestations: 1863 1864<!-- starter --> 1865 1866### Free Containers 1867 1868\`\`\`shell 1869cosign verify-attestation \\ 1870 --type https://spdx.dev/Document \\ 1871 --certificate-oidc-issuer=https://token.actions.githubusercontent.com \\ 1872 --certificate-identity=https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main \\ 1873 $REGISTRY/chainguard/$IMAGE 1874\`\`\` 1875 1876<!-- /starter --> 1877 1878### Production Containers 1879 1880\`\`\`shell 1881ORGANIZATION=<your-org-name> 1882CATALOG_SYNCER=$(chainctl iam account-associations describe $ORGANIZATION -o json | jq -r '.[].chainguard.service_bindings.CATALOG_SYNCER') 1883APKO_BUILDER=$(chainctl iam account-associations describe $ORGANIZATION -o json | jq -r '.[].chainguard.service_bindings.APKO_BUILDER') 1884 1885cosign verify-attestation \\ 1886 --type https://spdx.dev/Document \\ 1887 --certificate-oidc-issuer=$ISSUER \\ 1888 --certificate-identity-regexp="$ISSUER/(\${CATALOG_SYNCER}|\${APKO_BUILDER})" \\ 1889 $REGISTRY/$ORGANIZATION/$IMAGE 1890\`\`\` 1891 1892This will pull in the signature for the attestation specified by the \`--type\` parameter, which in this case is the SPDX attestation. You will receive output that verifies the SBOM attestation signature in cosign's transparency log: 1893 1894\`\`\` 1895Verification for $REGISTRY/$ORGANIZATION/$IMAGE -- 1896The following checks were performed on each of these signatures: 1897- The cosign claims were validated 1898- Existence of the claims in the transparency log was verified offline 1899- The code-signing certificate was verified using trusted certificate authority certificates 1900Certificate subject: https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main 1901Certificate issuer URL: https://token.actions.githubusercontent.com 1902GitHub Workflow Trigger: schedule 1903GitHub Workflow SHA: da283c26829d46c2d2883de5ff98bee672428696 1904GitHub Workflow Name: .github/workflows/release.yaml 1905GitHub Workflow Trigger: chainguard-images/images 1906GitHub Workflow Ref: refs/heads/main 1907... 1908\`\`\` 1909`,zC=()=>{const{rootUIDP:e}=Po(),t=ir({query:FJ,variables:{organizationId:e},pause:!e}),[{data:n,fetching:r,error:i}]=t;return m.useMemo(()=>{const o=n?.registrySettings;return r||i?{uniqueTags:!1}:{uniqueTags:o?.uniqueTags??!1}},[n?.registrySettings,i,r])},yct={anchor:null,catalogTier:gi.Unknown,entitlementId:""},S5e=({createTime:e,tagCount:t})=>
1909{const n=new Date(Date.now()),r=Kq(n,1),i=xq(n,1);return qq(e,{start:r,end:i})&&t===0},kct=e=>{if(!e)return!1;const t=new Date(Date.now());return Tf(e,Kq(t,2))},bct=e=>{const t=e?.uidp??"",{uniqueTags:n}=zC(),{options:r}=nC(),[{data:i,fetching:o},a]=ir({query:HJ,variables:{imageId:t,excludeDates:!n,excludeEpochs:!r.showEpochTags},requestPolicy:"network-only",pause:!t}),[{data:s,fetching:l},u]=ir({query:zJ,variables:{imageId:t},requestPolicy:"network-only",pause:!t}),c=m.useCallback(()=>{u({requestPolicy:"network-only"}),a({requestPolicy:"network-only"})},[u,a]),f=m.useMemo(()=>l||o,[l,o]),p=m.useMemo(()=>i?.repos.at(0)?.tagSummary??void 0,[i]),v=m.useMemo(()=>p?.tagCount??0,[p]),g=m.useMemo(()=>p?.lastUpdated?new Date(p.lastUpdated):void 0,[p]),y=m.useMemo(()=>s?.syncStatus.status??IN.Unknown,[s]),k=m.useMemo(()=>y===IN.Queued||y===IN.InProgress,[y]);return{fetching:f,lastUpdated:g,refresh:c,status:y,syncing:k,tagCount:v}};var E5e=(function(e){return e.ADD_IMAGE="ADD_IMAGE",e.ADD_IMAGE_ENTITLEMENT="ADD_IMAGE_ENTITLEMENT",e.FILL_IMAGE_SLOT="FILL_IMAGE_SLOT",e.IN_ORG="IN_ORG",e.IN_ORG_ADD_IMAGE="IN_ORG_ADD_IMAGE",e.IN_ORG_SYNCING="IN_ORG_SYNCING",e.SWAP_IMAGE="SWAP_IMAGE",e.UNAVAILABLE="UNAVAILABLE",e.UNAVAILABLE_CONTACT_US="UNAVAILABLE_CONTACT_US",e})({});const YJ=e=>e==="IN_ORG"||e==="IN_ORG_SYNCING"||e==="IN_ORG_ADD_IMAGE",T5e=e=>e==="UNAVAILABLE"||e==="UNAVAILABLE_CONTACT_US",HC=()=>{const{organization:e,organizationFetching:t}=Jl(),{canAccess:n,container:{activeImagesMap:r,catalogTierQuota:i,fetching:o,isAtRegistryLimit:a,isAtTierQuotaLimit:s,isEntitled:l,swapQuota:u}}=cp(),{error:c,fetching:f,images:p}=As({organization:e,includeHelm:!1}),v=f||t||o,g=m.useMemo(()=>(p??[]).reduce((E,S)=>{if(S.entitlement.source?.uidp){const T=E.get(S.entitlement.source.uidp);E.set(S.entitlement.source.uidp,T?[...T,S]:[S])}return E},new Map),[p]),y=m.useCallback(E=>{const S=g.get(E);return{inOrg:!!S,hasActive:S?.some(T=>T.entitlement.status===Vm.ACTIVE)??!1,syncing:S?.some(T=>T.syncing)??!1}},[g]),k=m.useCallback(E=>{const{inOrg:S,hasActive:T,syncing:I}=y(E.uidp),A=n(jr.ADD_IMAGE),w=n(jr.ADD_IMAGE_ENTITLEMENT),R=n(jr.FILL_IMAGE_SLOT),x=n(jr.SWAP_IMAGE);if(!e?.verified||!ry)return"UNAVAILABLE_CONTACT_US";if(Bf(E.uidp)!==ry)return"UNAVAILABLE";if(S&&I)return"IN_ORG_SYNCING";if(S&&T)return A?"IN_ORG_ADD_IMAGE":"IN_ORG";if(r.has(E.uidp))return"IN_ORG_SYNCING";if(A)return l(E)?"ADD_IMAGE":"UNAVAILABLE";if(R||x){if(R&&l(E))return"FILL_IMAGE_SLOT";const D=(i.map.get(E.catalogTier)?.total??0)>0;return x&&s&&u.available>0&&D?"SWAP_IMAGE":"UNAVAILABLE_CONTACT_US"}return w&&l(E)&&!E.repoKeywords.includes(mr.EMERITOSS)&&!a?"ADD_IMAGE_ENTITLEMENT":"UNAVAILABLE_CONTACT_US"},[r,n,i.map,y,a,s,l,e?.verified,u.available]);return m.useMemo(()=>({error:c,fetching:v,getAccessType:k,imageSourceMap:g}),[c,v,k,g])},C5e=[],A5e=[],$J=/20[0-9]{2}[0-1][0-9][0-3][0-9]\d*/,I5e=new RegExp("-"+$J.source),w5e=/^(?:v|\w+-)?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-.]\w+)*$/,N5e=/-r(\d+)/,$B=nY("static");rLe("static");const JB="data-fallback",R5e=new Date(Date.now());function x5e({imageName:e,repoKeywords:t,organization:n,identities:r}){const[i,o]=["apko_builder","catalog_syncer"].map(l=>r.find(u=>u.name===l)?.id),a={IMAGE:e,APKO_BUILDER:i,CATALOG_SYNCER:o,ORGANIZATION:n?.name,REGISTRY:ZT,ISSUER:lq};let s=Object.entries(a).filter(([,l])=>l!==void 0).reduce((l,[u,c])=>l.replaceAll(new RegExp(`${u}=.*? 1910+`,"g"),"").replaceAll(`$${u}`,c).replaceAll(`\${${u}}`,c),b5e);return(!t.includes(mr.DEVELOPER)||n)&&(s=s.replaceAll(/<!-- starter -->[\s\S]*?<!-- \/starter -->/g,"")),s=s.replaceAll(/<!-- \/?.*? -->/g,""),s}function JJ(e,t){return`${ZT}/${t.organization?e.friendlyName||xP(e.id).group:t.public?Hve:dq}/${e.name}`}const L5e=e=>e.replace(I5e,"");function D1(e,t,n,r){return r||n?`${JJ(e,{public:n,organization:r})}:${t.name}`:void 0}function ZB(e,t){return e.name+"/"+t.name}function O5e(e,t){return Qc(new Date(e||0)).getTime()-Qc(new Date(t||0)).getTime()}function $_(...e){const t=a=>typeof a=="string"?a:a.name,[n,r]=e.map(a=>t(a)===Yf?-10:WC(a)?-1:0),[i,o]=e;return n-r||M1(i.name)-M1(o.name)||O5e(i.lastUpdated,o.lastUpdated)||i.name.length-o.name.length}function M1(e){const t=L5e(e),[,n,r,i]=w5e.exec(t)||[],[,o]=N5e.exec(t)||[];return+(n||0)*1e9+ +(r||0)*1e6+ +(i||0)*1e3+ +(o||0)}const QB=new Set,P5e=({imageName:e,logo:t,fips:n,size:r,sx:i,defaultLogo:o,publicHelm:a=!1})=>b.jsxs(ei,{display:"flex",position:"relative",sx:Js(i||{},({palette:s})=>({minWidth:r,minHeight:r,maxWidth:r,maxHeight:r,textShadow:`-1px -1px 0 ${s.background.default},1px -1px 0 ${s.background.default},-1px 1px 0 ${s.background.default},1px 1px 0 ${s.background.default}`,color:s.text.primary})),children:[b.jsx("img",{alt:`${e} logo`,src:QB.has(t)?o??$B:t,style:{maxWidth:"100%",objectFit:"contain"},onError:s=>{const l=s.target;l.hasAttribute(JB)||(l.setAttribute(JB,"true"),l.src=o??$B,QB.add(t))}}),a?b.jsx("svg",{viewBox:"0 0 50 30",xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",bottom:-2,right:-4,width:"100%",minWidth:32,pointerEvents:"none"},children:b.jsx("text",{x:"49",y:"29",style:{fill:"currentColor",fontSize:13,fontWeight:700,textAnchor:"end",alignmentBaseline:"after-edge"},children:"HELM"})}):n&&b.jsx("svg",{viewBox:"0 0 50 30",xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",bottom:-2,right:-4,width:"100%",minWidth:36,pointerEvents:"none"},children:b.jsx("text",{x:"49",y:"29",style:{fill:"currentColor",fontSize:13,fontWeight:700,textAnchor:"end",alignmentBaseline:"after-edge"},children:"FIPS"})})]});function WC(e){const t=typeof e=="string"?e:e.name;return t.includes(Yf)&&!$J.test(t)}function ZJ(){const e=ir(VE.CHAINGUARD_PUBLIC_IMAGE_CATALOG),[t]=e,n=m.useMemo(()=>new Set(t.data?.repos.flatMap(o=>o.tags.filter(WC).map(a=>ZB(o,a)))),[t.data?.repos]),r=m.useCallback((o,a)=>n.has(ZB(o,a)),[n]),i=m.useCallback(o=>_5e(o.name,t.data?.repos),[t.data?.repos]);return t.error?{error:{query:e}}:t.fetching?{fetching:!0}:{isTagPublic:r,isRepoPublic:i,publicCatalogResult:t}}function _5e(e,t){return!!t?.some(n=>n.name===e)}function D5e(e){return e?.trim().replace(/^## Overview/,"").replace(/^# Chainguard Image for .*\n/,"").replace(/^# Chainguard Container for .*\n/,"").replace("Chainguard Images are regularly-updated, minimal container images with low-to-zero CVEs.","").replace("Chainguard Containers are regularly-updated, secure-by-default container images.","").trim()}const M5e=e=>{const t=Mve;return!!e.syncConfig?.source&&Bf(e.syncConfig.source)===t};function F5e(e){const t=i=>nd(i.name),n=Array.from(e.reduce((i,o)=>{const a=JSON.stringify(o.aliases);return i.set(a,(i.get(a)??[]).concat(o)),i},new Map).values()).filter(i=>new Set(i.map(o=>t(o))).size>1);for(const i of n){const o=new Set(i[0].aliases);for(const a of i){const s=a.aliases.filter(l=>{const u=/\/?([^/-]*?):/.exec(l)?.[1];if(!u)return!1;const c=t(a);return c.endsWith(u)||c.endsWith(u.replace(/v?\d+$/,""))});
1910a.aliases=s,s.forEach(l=>o.delete(l))}if(o.size>0)for(const a of i)a.aliases.length===0&&(a.aliases=Array.from(o))}const r=new Map(e.map(i=>[i.name,i]));for(const i of e){const o=t(i);if(o!==i.name){const a=r.get(o);a&&(i.aliases=Array.from(new Set(i.aliases.concat(a.aliases||[]))))}}}const U5e=(e,t)=>{if(kE([QT],e,t))return ho.IAMGUARDED_CHART;if(kE([XT],e,t))return ho.COMMUNITY_CHART};function QJ({organization:e,uniqueTags:t=!1,cgrPrivateImages:n=C5e,identities:r=A5e}={}){const{setStatusCode:i}=m.useContext(ri),{rootUIDP:o}=Po(),{options:a}=nC(),{isTagPublic:s,publicCatalogResult:l,error:u,fetching:c}=ZJ(),f=by("uidp",n),p=e?o:ry;if(p===void 0)throw new Error("Missing VITE_PRIVATE_CATALOG_ORG");const v=ir(e?{query:PJ,variables:{organization:p}}:VE.CHAINGUARD_PRIVATE_IMAGE_CATALOG),[g,y]=v,k=ir({query:_J,variables:{organization:p,excludeDates:t,excludeEpochs:!a.showEpochTags},pause:!e}),[E]=k,S=()=>y({requestPolicy:"network-only"}),T=m.useMemo(()=>{const A=new Map;for(const w of E.data?.repos??[])A.set(w.id,w.tagSummary);return A},[E.data?.repos]),I=m.useMemo(()=>{const w=(F=>F.map(L=>({...L,tagSummary:T.get(L.id)??L.tagSummary})))(g.data?.repos||[]),R=[QT,XT],x=oLe(w,l?.data?.repos||[],!!e,R),D=new Map(x.map(F=>[F.name,F.shortDescription])),M=[];for(const F of x){const L=F.tagSummary?.latestTag,P=F.tagSummary?.latestVersion,j=!!(L&&s?.(F,L)),B=L?.digest,H=M5e(F),G=f(F.syncConfig?.source),O=U5e(F,G),V=P?D1(F,{name:P},s?.(F,{name:P})||!1,e):L?D1(F,L,j,e):"",W=u5e({name:F.name,catalogTier:F.catalogTier,entitlement:{source:G}}),U=h5e(F,W,{public:j&&!O},O),q=F.tagSummary?.tagCount||0,$=S5e({createTime:new Date(F.createTime),tagCount:q});M.push({uidp:F.id,id:F.name,name:F.name,friendlyName:e?F.friendlyName:dq,description:F.description,shortDescription:D5e(D.get(F.name)||D.get(nd(F.name)))||a5e(F.name),logo:({size:J,sx:Z})=>b.jsx(k5e,{sourceName:G?.name,small:J<=30,hide:!F.customized,children:b.jsx(P5e,{imageName:F.name,logo:nY(G?.name??F.name),fips:W,publicHelm:!!O,size:J,sx:Z})}),provenanceInfo:x5e({imageName:F.name,repoKeywords:U,organization:e,identities:r}),lastUpdated:F.tagSummary?.lastUpdated?new Date(F.tagSummary?.lastUpdated):void 0,repoKeywords:U,catalogTier:F.catalogTier,tagCount:q,hasLatest:L?.name===Yf,reference:JJ(F,{organization:e}),latestVersion:P||L?.name||"",latestDigest:B,latestUri:V,fips:W,entitlement:{status:F.syncConfig?.expiration?Tf(F.syncConfig.expiration,R5e)?Vm.ACTIVE:Vm.EXPIRED:Vm.UNKNOWN,expiration:F.syncConfig?.expiration?new Date(F.syncConfig.expiration):void 0,customizable:H?!1:F.customizable,customized:F.customized,source:G,gracePeriod:F.syncConfig?.gracePeriod??void 0,requestUidp:H?F.syncConfig?.source:void 0},byol:U.includes(o5e),aliases:Array.from(new Set(F?.aliases||[])).filter(J=>!nLe.has(J)).sort((J,Z)=>{const[Y,ee]=[J,Z].map(te=>te.endsWith(Yf)?1:0);return ee-Y||J.split(":")[0].length-Z.split(":")[0].length||J.localeCompare(Z)}),createTime:new Date(F.createTime),syncing:$,chartKind:O})}return F5e(M),M.sort((F,L)=>F.name.localeCompare(L.name))},[g.data?.repos,l?.data?.repos,T,e,s,f,r]);return u?(i?.({status:503,query:u.query}),{error:u}):g.error?(i?.({status:503,query:v}),{error:{query:v}}):g.fetching||g.stale||c?{fetching:!0}:{images:I,refresh:S,tagInfoFetching:e?E.fetching||E.stale:!1}}function V5e(e,t,n=()=>!1){if(!e)return t;const r=e.toLowerCase().split(" ").filter(Boolean),i=s=>r.every(s),o=[({name:s})=>i(l=>s.toLowerCase()===l),({name:s})=>i(l=>nd(s.toLowerCase())===l),({name:s})=>i(l=>s.toLowerCase().includes(l)),({name:s})=>i(l=>l.includes(s.toLowerCase())),({description:s})=>i(l=>s.toLowerCase().includes(l)),({shortDescription:s})=>i(l=>s.toLowerCase().includes(l)),s=>i(l=>n(s,l))],a=new Map;for(const s of o)for(const l of t)!a.has(l.uidp)&&s(l)&&a.set(l.uidp,l);return rr.track("SearchQuery",{search:e,imageCount:a.size}),Array.from(a.values())}function Sct(e,t){return m.useMemo(()=>t.filter(n=>n.name!==e.name&&!n.chartKind&&nd(n.name)===nd(e.name)),[e,t])}const by=(e,t)=>{const n=m.useMemo(()=>new Map(t.map(r=>[r[e],r])),[t,e]);return m.useCallback(r=>n.get(r||""),[n])},XJ=m.createContext({fetching:!0}),eZ=m.createContext({fetching:!0}),B5e=({children:e})=>{const t=QJ();return b.jsx(XJ.Provider,{value:t,children:e})},tZ=({children:e})=>{const{uniqueTags:t}=zC(),{images:n}=As(),{identities:r,organization:i}=Jl(),o=QJ({organization:i,uniqueTags:t,cgrPrivateImages:n,identities:r});return b.jsx(eZ.Provider,{value:o,children:e})};function As({organization:e,includeHelm:t=!0}={}){const n=m.useContext(e?eZ:XJ),r=m.useMemo(()=>n.images?.filter(i=>!i.chartKind),[n.images]);return t?n:{...n,images:r}}const j5e=()=>{const{organization:e,organizationFetching:t}=Jl(),{error:n,fetching:r,images:i}=As({organization:e,includeHelm:!1}),o=m.useMemo(()=>new Set(i?.map(s=>s.name)??[]),[i]),a=m.useCallback(s=>o.has(s),[o]);return m.useMemo(()=>({error:n,fetching:r||t,hasNameCollision:a}),[n,r,a,t])},XB=new Map([["pytorch-cuda12","pytorch"],["victoriametrics-operator-fips-fips","victoriametrics-operator-fips"]]);function nZ(...e){const[t,n]=e.map(s=>Math.max(...s.tags.map(u=>M1(u.name)))),[r,i]=e.map(s=>
1910Math.min(...s.tags.map(l=>l.name===Yf?-10:WC(l.name)?-1:0))),[o,a]=e.map(s=>s.lastUpdated&&Qc(s.lastUpdated).getTime()||0);return r-i||a-o||n-t}function rZ(e){const t=e.map(n=>n.lastUpdated).filter(Boolean);return e.length?new Date(Math.max(...t.map(n=>n.getTime()))):void 0}function z5e(e,t,n){const r=new Map;for(const o of e.tags){const a=o.digest+(WC(o)?"-"+Yf:""),s=r.get(a)??[],l=o.lastUpdated?new Date(o.lastUpdated):void 0,u=t.isTagPublic?.(e,o)||!1,c=o.size&&KB(o.size.arch)?{...o.size,arch:o.size.arch}:void 0,f=o.archs.filter(KB)??[];s.push({...o,lastUpdated:l,public:u,uri:D1(e,o,u,n),size:c,archList:f}),r.set(a,s)}return r.forEach((o,a)=>{r.set(a,o.sort($_))}),Array.from(r.entries()).map(([o,a])=>{const s=o.includes(Yf)?r.get(o.split("-")[0])?.at(-1)?.name:void 0,l=a.some(u=>e.activeTags?.includes(u.name));return{digest:o,image:e.name,id:e.name+"/"+o,lastUpdated:rZ(a),tags:a,uri:a[0]?.uri,size:a[0]?.size,archList:a[0]?.archList,alias:s,active:l}}).sort(nZ).map(o=>({...o}))}function H5e({image:e,arch:t,organization:n}){const{setStatusCode:r}=m.useContext(ri),i=ZJ(),{uniqueTags:o}=zC(),{options:a}=nC(),s=ir({query:UE,variables:{imageId:e?.uidp||"",arch:t,excludeDates:!o,excludeEpoc
1910hs:n?!a.showEpochTags:!0},pause:!e}),[l,u]=s,c=l.data?.repos?.[0],f=e?.entitlement.source?.uidp||e?.uidp,p=ir({query:UE,variables:{imageId:f||"",arch:t,excludeDates:!o,excludeEpochs:n?!a.showEpochTags:!0},pause:!f}),[v]=p,g=()=>u({requestPolicy:"network-only"}),y=v.data?.repos?.[0],k=As({organization:n});if(k.error)return r?.({status:503,query:k.error.query}),{error:k.error};if(i.error)return r?.({status:503,query:i.error.query}),{error:i.error};if(l.error)return r?.({status:503,query:s}),{error:{query:s}};if(!c||k.fetching||i.fetching||l.fetching||v.fetching)return{fetching:!0};const E=k.images?.find(I=>I.uidp===e?.uidp);if(!E)return{error:{query:k}};const[S,T]=[{uidp:e?.uidp,repo:c},{uidp:f,repo:y}].map(({uidp:I,repo:A})=>{if(A){const w=z5e(A,i,n);return{...E,...A,id:A.name,aliases:E.aliases,uidp:I??E.uidp,overview:KJ(A.overview,A.name,n?.name),digests:w,isVersionStreamed:A.tagSummary?.isVersionStreamed??!1,customizations:n&&A.customOverlay?{packages:A.customOverlay.contents?.packages??[]}:void 0}}});return{image:S,chainguardImage:T,refresh:g}}const J_=m.createContext({fetching:!0}),af=({children:e,organization:t})=>t?b.jsx(W5e,{children:e}):b.jsx(iZ,{children:e}),W5e=({children:e})=>{const{organization:t}=Jl();return b.jsx(iZ,{organization:t,children:e})},iZ=({children:e,organization:t})=>{const{imageId:n}=ip();if(!n)throw new Error("Param imageId is required.");const{images:r,fetching:i,error:o}=As({organization:t,includeHelm:!1}),a=r?.find(s=>
1910s.id===n);return i||o?b.jsx(J_.Provider,{value:i?{fetching:!0}:{error:o},children:e}):a?b.jsx(G5e,{image:a,organization:t,children:e}):b.jsx(q5e,{})},q5e=()=>{const{imageId:e}=ip(),t=qr(),n=sp(),{setStatusCode:r}=m.useContext(ri);return m.useEffect(()=>{e&&XB.has(e)&&n(t.pathname.replace(e,XB.get(e)),{replace:!0})},[e]),r?.({status:404}),b.jsx(yn,{id:"u1lIQ7"})},G5e=({children:e,image:t,organization:n})=>{const[r,i]=m.useState(GJ.AMD64),o=H5e({image:t,organization:n,arch:r});return b.jsx(J_.Provider,{value:{...o,arch:r,setArch:i},children:e})},K5e=()=>m.useContext(J_),Ect="/logos/helm.svg",oZ=new Map([["postgresql-ha","pgpool2"],["postgresql","postgres"],["kube-prometheus","prometheus-operator"],["cert-manager","cert-manager-acmesolver"],["node-exporter","prometheus-node-exporter"],["nginx-ingress-controller","ingress-nginx-controller"],["redis","redis-server"],["flux","flux-image-automation-controller"],["apisix","apache-apisix"],["sealed-secrets","sealed-secrets-controller"],["argo-workflows","argo-workflow-controller"]]),Y5e=new Map(Array.from(oZ.entries()).map(([e,t])=>[t,e]));function aZ({organization:e}={}){return m.useContext(e?CS:sZ)}const sZ=m.createContext({fetching:!0,helmCharts:[]}),CS=m.createContext({fetching:!0,helmCharts:[]}),BE=({children:e})=>{const t=lZ();return b.jsx(sZ.Provider,{value:t,children:e})},F1=({children:e})=>{const{organization:t,organizationFetching:n,organizationError:r}=Jl(),i=t?.name,{folders:o,fetching:a,error:s}=bJ(),l=o.find(y=>y.name==="iamguarded-charts"),u=l&&i?{id:l.id,name:i}:void 0,c=o.find(y=>y.name==="charts"),f=c&&i?{id:c.id,name:i}:void 0,p=lZ({iamguardedOrg:u,communityOrg:f,organization:!0}),v=a||n,g=s||r;return v||g?b.jsx(CS.Provider,{value:{...v?{fetching:!0}:{fetching:!1,error:g},helmCharts:[]},children:e}):!u&&!f?b.jsx(CS.Provider,{value:{fetching:!1,helmCharts:[]},children:e}):b.jsx(CS.Provider,{value:p,children:e})};function lZ({iamguardedOrg:e,communityOrg:t,organization:n}={}){const r=e?.name??t?.name,i=e?.id??(n?void 0:QT),o=t?.id??(n?void 0:XT);if(!n&&i===void 0)throw new Error("Missing VITE_HELM_ORG");if(!n&&!o)throw new Error("Missing VITE_HELM_COMMUNITY_ORG");const a=ir(n?{query:ky,variables:{organizationId:i??""},pause:!i}:VE.CHAINGUARD_PUBLIC_HELM_CATALOG),[{data:s,stale:l,fetching:u,error:c}]=a,f=ir(n?{query:ky,variables:{organizationId:o??""},pause:!o}:VE.CHAINGUARD_PUBLIC_HELM_COMMUNITY_CATALOG),[{data:p,stale:v,fetching:g,error:y}]=f,k=g||v,E=y&&{query:f},S=e8(i?s?.repos:void 0,r),T=e8(o?p?.repos:void 0,r,ho.COMMUNITY_CHART),I=m.useMemo(()=>[...S.values(),...T.values()],[S,T]),A=m.useCallback((w,R)=>R===ho.COMMUNITY_CHART?T.get(w):S.get(w),[S,T]);return{error:c?{query:a}:E||void 0,fetching:u||l||k,helmCharts:I,getChartByName:A}}const Tct=()=>{const{_:e}=Tn();return t=>{switch(t){case ho.IAMGUARDED_CHART:return e({id:"Gda1G3"});case ho.COMMUNITY_CHART:return e({id:"chL5IG"})}}},$5e=(e,t,n=ho.IAMGUARDED_CHART)=>`oci://${ZT}/${t}/${n===ho.COMMUNITY_CHART?"charts":"iamguarded-charts"}/${e.split(":").at(0)}`;function J5e(e){const t=new Map;for(const r of e.tags??[]){const i=r.digest,o=t.get(i)??[],a=r.lastUpdated?new Date(r.lastUpdated):void 0;o.push({...r,lastUpdated:a,public:!1,archList:[]}),t.set(i,o)}return t.forEach((r,i)=>{t.set(i,r.sort($_))}),Array.from(t.entries()).map(([r,i])=>{const o=i.some(a=>e.activeTags?.includes(a.name));return{digest:r,image:e.name,id:e.name+"/"+r,lastUpdated:rZ(i),tags:i,archList:i[0]?.archList,active:o}}).sort(nZ)}const uZ=(e,t=ho.IAMGUARDED_CHART,n,r,i)=>{const o=n?$5e(e.name,n,t):void 0,a=e.tagSummary?.latestVersion,s=e.tags?J5e(e).map(c=>({...c,uri:o})):void 0,l=e.tagSummary?.latestTag||e.tags?.at(0),u=s?.at(0);return{id:e.id,name:e.name,overview:r??e.overview,overviewSource:i,description:e.description,friendlyName:e.friendlyName,latestVersion:a||l?.name||"",lastUpdated:e.tagSummary?.lastUpdated?new Date(e.tagSummary?.lastUpdated):u?.lastUpdated?new Date(u?.lastUpdated):void 0,uri:o,digests:s,tags:e.tags,createTime:new Date(e.createTime),chartKind:t,syncConfig:e.syncConfig}},Z5e=(e,t)=>{const n=ir({query:LJ,variables:{repoId:e,digest:t??""},pause:!t}),[{data:r,fetching:i,error:o}]=n,a=r?.chart;return{chartData:a?{...a,images:a.images?[...new Map(a.images.map(l
1910=>[l.image,l])).values()]:void 0}:void 0,fetching:i,error:o&&{query:n}}},Q5e=(e,t)=>{const{images:n}=As({includeHelm:!1}),{images:r}=As({organization:t,includeHelm:!1}),i=by("name",n??[]),o=by("name",r??[]);return m.useCallback(a=>{if(!a)return;const s=i(a),l=o(a);if(e){if(t&&l)return{inOrg:!0,id:l.id,url:qN({catalog:WN.ORGANIZATION,imageId:l.id,tab:"overview",scopeOrg:e})};if(s)return{inOrg:!1,id:s.id,url:qN({catalog:WN.CHAINGUARD,imageId:s.id,tab:"overview",scopeOrg:e})}}return{inOrg:!1,url:qN({catalog:WN.DIRECTORY,imageId:a,tab:"overview"})}},[t,e,i,o])},Cct=(e,t)=>{const n=e.chartKind;return t?Dl(`/directory/${n}/:chartName/overview`,{chartName:encodeURIComponent(e.name)}):Dl(`/helm/public/${n}/:chartName/overview`,{chartName:encodeURIComponent(e.name)})},X5e=e=>{let t=e,n,r;const i=t.match(/^(.+)@(sha256:.+)$/);i&&(t=i[1],r=i[2]);const o=t.match(/^(.+):([^/:]+)$/);o&&(t=o[1],n=o[2]);const a=t,s=a.split("/");return{imageName:s[s.length-1],fullImagePath:a,tagName:n,digest:r}},Act=e=>{const{images:t}=As(),n=m.useMemo(()=>t?.filter(r=>!!r.chartKind)??[],[t]);return m.useMemo(()=>{if(e.chartKind)return;const i=rY(e.name,e.entitlement.source?.name)?ho.IAMGUARDED_CHART:ho.COMMUNITY_CHART,o=l5e(e.entitlement.source?.name||e.name).replace(/-iamguarded$/,""),a=Y5e.get(o);return n.find(s=>s.chartKind===i&&(s.name===a||s.name===o))},[e,n])},e8=(e,t,n=ho.IAMGUARDED_CHART)=>m.useMemo(()=>e?e.reduce((r,i)=>{if(tY.has(i.name))return r;const o=uZ(i,n,t);return o.latestVersion&&r.set(i.name,o),r},new Map):new Map,[e,n,t]);function Ict(e,t){if(!e)return t;const n=e.toLowerCase().split(" ").filter(Boolean);return t.filter(r=>{const i=r.name.toLowerCase();return n.every(o=>i.includes(o))})}const wct=e=>e!==J1e.Optional,e6e=e=>{const{helmCharts:t,fetching:n,error:r}=aZ({organization:!0}),i=ir({query:OJ,variables:{imageIds:e},pause:!t.length||!e.length}),[{data:o,fetching:a,error:s}]=i,l=m.useMemo(()=>t.reduce((c,f)=>{const p=f.syncConfig?.source;if(p){const v=c.get(p)??[];c.set(p,v.concat(f.name))}return c},new Map),[t]);return{imageToChartMap:m.useMemo(()=>(o?.chartsByImageRepos.chartImageBindings??[]).reduce((c,f)=>{const{imageRepo:p,chartRepo:v}=f,g=l.get(v)??[];if(g.length>0){const y=c.get(p)??[],k=g.map(E=>({chartName:E,requirement:f.requirement}));c.set(p,y.concat(k))}return c},new Map),[o?.chartsByImageRepos.chartImageBindings,l]),fetching:a||n,error:r??(s&&{query:i})}},t6e=[gi.Devtools,gi.Free,gi.Premium,gi.Standard,gi.Unknown],n6e=e=>Object.values(gi).includes(e),r6e=e=>!t6e.includes(e),i6e=e=>{const t=e?new Date(e):new Date(0);return ZMe(t)?{expirationDate:t,status:TS.ACTIVE}:{expirationDate:t,status:u$(t)?TS.EXPIRED:TS.ACTIVE}},t8=e=>new Map(e.map(t=>{const n="tier"in t?t.tier:t.catalogTier;if(!n6e(n)||!r6e(n))return;const r=Math.max(t.max-t.current,0);return[n,{active:t.current,total:t.max,available:r}]}).filter(Boolean).sort((t,n)=>!t||!n?0:t[0].localeCompare(n[0]))),n8=e=>{const{active:t,available:n,total:r}=e.values().reduce((o,a)=>({active:o.active+a.active,available:o.available+a.available,total:o.total+a.total}),{active:0,available:0,total:0});return{active:t>r?r-n:t,available:n,total:r}},o6e=[Em.Extra,Em.Production],a6e=e=>e.startsWith("gh_"),s6e=e=>e.status===TS.ACTIVE&&o6e.includes(e.type)&&!a6e(e.externalId),l6e=e=>{const{imageSourceMap:t,fetching:n,error:r}=HC();return{orgImagesFromImageEntitlements:m.useMemo(()=>{if(r)return[];const o=new Set(e.map(a=>a.id));return[...t].filter(([a])=>o.has(a)).map(([,a])=>{const s=a.filter(l=>l.entitlement.status===Vm.ACTIVE);return s.find(l=>l.name===l.entitlement.source?.name)??s.at(0)}).filter(Boolean)},[r,e,t]),fetching:n}},Nct=(e,{enabled:t})=>{const{orgImagesFromImageEntitlements:n,fetching:r}=l6e(t?e:[]),{imageToChartMap:i,fetching:o}=e6e(t?n.map(a=>a.uidp):[]);return{imageToChartMap:i,fetching:t&&(r||o)}},cZ=m.createContext(void 0),dZ=({children:e})=>{const{rootUIDP:t}=Po(),{organization:n,organizationFetching:r}=Jl(),{imageSwaps:i}=ma(),o=ir({query:wJ,variables:{organizationId:t}}),[{data:a,fetching:s,error:l}]=o,u=a?.effectiveRegistryEntitlements,c=ir({query:NJ,variables:{organizationId:t}}
1910),[{data:f,fetching:p,error:v},g]=c,y=f?.libraryEntitlements,k=ir({query:RJ,variables:{organizationId:t}}),[{data:E,fetching:S,error:T}]=k,I=E?.packageEntitlements,A=m.useMemo(()=>u?.plan??Jr.PlanUnspecified,[u?.plan]),w=m.useMemo(()=>u?.activeTiers??[],[u?.activeTiers]),R=m.useMemo(()=>new Map(u?.activeImages.map(U=>[U.id,U])??[]),[u?.activeImages]),x=m.useMemo(()=>{if(A===Jr.PerImage){const $=(a?.registryEntitlements??[]).filter(({expirationTime:J,type:Z,externalId:Y})=>{const{status:ee}=i6e(J);return s6e({status:ee,type:Z,externalId:Y})}).reduce((J,Z)=>(t8(Z.quota).forEach((Y,ee)=>{const te=J.get(ee);J.set(ee,{active:(te?.active??0)+Y.active,available:(te?.available??0)+Y.available,total:(te?.total??0)+Y.total})}),J),new Map);return{map:$,summary:n8($)}}const U=t8(u?.quota??[]),q=n8(U);return{map:U,summary:q}},[a?.registryEntitlements,A,u?.quota]),D=m.useMemo(()=>{const U=u?.maxTotalImages??-1,{active:q}=x.summary;return{total:U,active:q,available:Math.max(U-q,0)}},[x.summary,u?.maxTotalImages]),M=m.useMemo(()=>{const U=u?.swapQuota??-1,q=u?.swapsUsed??0,$=u?.swapRefillTime?new Date(u.swapRefillTime):void 0;return{total:U,active:q,available:Math.max(U-q,0),resetDate:$}},[u?.swapQuota,u?.swapRefillTime,u?.swapsUsed]),F=m.useMemo(()=>{if(A===Jr.Catalog||A===Jr.PerImage)return!1;if(A===Jr.Starter){const{available:U,total:q}=D;return q===-1?!0:U===0}return!1},[A,D]),L=m.useMemo(()=>A===Jr.PerImage?x.summary.available===0:!1,[x.summary.available,A]),P=m.useCallback(U=>{if(A===Jr.Catalog)return w.includes(U.catalogTier)||R.has(U.uidp);const q=x.map.get(U.catalogTier)?.available??0;return A===Jr.PerImage?R.has(U.uidp)||q>0:A===Jr.Starter?q>0:!1},[R,w,A,x.map]),j=m.useMemo(()=>new Map(y?.items?.map(U=>[U.ecosystem,U.policy])??[]),[y]),B=m.useCallback(U=>j.get(U),[j]),H=m.useMemo(()=>(y?.items??[]).filter(U=>U.source!==Q1e.Unknown).reduce((U,q)=>{const $=U.get(q.source)??[];return $.push(q.ecosystem),U.set(q.source,$)},new Map),[y]),G=m.useMemo(()=>new Set(I?.items.map(U=>U.tier)??[]),[I]),O=G.size>0,V=m.useCallback(U=>{if(X3e.has(U)&&!n?.verified)return!1;switch(U){case jr.ADD_HELM_CHART:return A===Jr.Catalog&&!O;case jr.ADD_IMAGE:return A===Jr.Catalog&&!O;case jr.ADD_IMAGE_ENTITLEMENT:return A===Jr.Starter;case jr.CUSTOMIZE_IMAGE:return A!==Jr.Starter&&!O;case jr.FILL_IMAGE_SLOT:return A===Jr.PerImage&&!O;case jr.IMAGE_REQUESTS_DASHBOARD:return A!==Jr.Starter;case jr.MANAGE_ROLES:return A!==Jr.Starter;case jr.REQUEST_HELM:return A!==Jr.Starter&&!O;case jr.SUPPORT_ACCESS:return A!==Jr.Starter;case jr.SWAP_IMAGE:return i&&A===Jr.PerImage&&!O}},[A,i,O,n?.verified]);m.useEffect(()=>{if(s||p||S)return;const U=new rr.Identify;l||U.set("planContainers",A),v||U.set("planLibraries",[...j.keys()]),T||U.set("planPackages",[...G]),rr.identify(U)},[l,s,A,j,v,p,T,S,G]);const W=m.useMemo(()=>({accessFetching:s||S||r,canAccess:V,isOrgReady:n?.status===Z1e.Ready,container:{activeImagesMap:R,catalogTierQuota:x,error:l&&{query:o},fetching:s,isAtRegistryLimit:F,isAtTierQuotaLimit:L,isEntitled:P,plan:A,registryQuota:D,swapQuota:M},library:{error:v&&{query:c},fetching:p,getPolicy:B,isEntitledToAnyEcosystem:j.size>0,refetch:()=>g({requestPolicy:"network-only"}),ecosystemsBySource:H},package:{error:T&&{query:k},fetching:S,hasEntitlements:O,tiers:G}}),[R,V,x,P,l,s,A,o,j.size,H,B,O,F,L,v,p,c,n?.status,r,T,S,G,k,g,D,M]);return b.jsx(cZ.Provider,{value:W,children:e})},cp=()=>{const e=m.useContext(cZ);if(!e)throw new Error("useEntitlements must be used within an EntitlementsProvider.");return e};var Rct=(function(e){return e.SELECTION="SELECTION",e.CONFIRMATION="CONFIRMATION",e})({});const fZ=m.createContext(void 0),pZ=({children:e})=>{const{images:t,fetching:n}=As({includeHelm:!1}),{container:{fetching:r,isAtRegistryLimit:i,registryQuota:o}}=cp(),{fetching:a,getAccessType:s}=HC(),{cart:l,addImage:u,removeImage:c,clearCart:f}=bye(),[p]=$T(),v=p.get("direct")==="true",[g,y]=m.useState(v?"CONFIRMATION":"SELECTION"),k=m.useMemo(()=>t?l.images.map(w=>t.find(R=>R.uidp===w)).filter(Boolean).sort((w,R)=>w.name.localeCompare(R.name)).slice(0,o.available):[],[l.images,t,o.available]),E=m.useMemo(()=>t?.map(w=>{const R=s(w);return{...w,accessType:R}})??[],[t,s]),S=m.useCallback((w,R)=>{R?c(w):u(w)},[c,u]),T=m.useCallback(()=>{f("images")},[f]),I=k.length,A=m.useMemo(()=>({fetching:n||r||a,isAtRegistryLimit:i,isAtSelectionLimit:I>=o.available,isDirectAdd:v,onImageSelectionChange:S,onResetSelection:T,registryQuota:o,selectableImages:E,selectedImages:k,selectedImagesCount:I,setStep:y,step:g}),[a,n,r,i,v,S,T,o,E,k,I,g]);return b.jsx(fZ.Provider,{value:A,children:e})},u6e=()=>{const e=m.useContext(fZ);if(!e)throw new Error("useSelection must be used within an SelectionProvider.");return e},qC=m.createContext({fetching:!0}),jE=({children:e,organization:t})=>t?b.jsx(c6e,{children:e}):b.jsx(mZ,{children:e}),c6e=({children:e})=>{const{organization:t,organizationFetching:n}=Jl(),r=dk();return n?b.jsx(qC.Provider,{value:{fetching:!0},children:e}):b.jsx(mZ,{organization:t,scopeOrg:r,children:e})},mZ=({children:e,organization:t,scopeOrg:n})=>{const{chartName:r}=ip(),{pathname:i}=qr(),{getChartByName:o,fetching:a,error:s}=aZ({organization:!!t}),l=i.includes(ho.COMMUNITY_CHART)?ho.COMMUNITY_CHART:ho.IAMGUARDED_CHART,u=o?.(r??"",l),c=t?.name,{images:f}=As({includeHelm:!1}),p=by("name",f??[]),v=u&&p(`${oZ.get(u.name)??u.name}-iamguarded`),g=ir({query:UE,variables:{imageId:v?.uidp??"",arch:GJ.AMD64},pause:!v||l===ho.COMMUNITY_CHART}),[{data:y,fetching:k}]=g,E=y?.repos.at(0);if(!r)throw new Error("Param chartName is required.");const S=ir({query:xJ,variables:{id:u?.id??""},pause:!u}),[{data:T,fetching:I,error:A}]=S,w=T?.repos.at(0),R=l===ho.COMMUNITY_CHART,x=R?w?.overview:E?.overview&&w?KJ(E.overview,E.name,c):"",D=R?void 0:{reference:v?.reference,name:v?.name},M=w&&uZ(w,l,c,x,D),F=a||I||k,L=s||A;return!F&&!L&&!M?b.jsx(yn,{id:"ZAJjft"}):M&&!F?b.jsx(d6e,{helmChart:M,organization:t,scopeOrg:n,children:e},M.id):b.jsx(qC.Provider,{value:{fetching:F,error:L&&(s??{query:S})},children:e})},d6e=({children:e,helmChart:t,organization:n,scopeOrg:r})=>{const[i,o]=m.useState(t.digests?.at(0)),{fetching:a,error:s,chartData:l}=Z5e(t.id,i?.digest),{images:u}=As({includeHelm:!1}),c=by("name",u??[]),f=Q5e(r,n),p=m.useMemo(()=>l?.images?.map(g=>{const y=X5e(g.image),k=y?.imageName??g.name,E=f(k);return{...g,name:k,id:c(k)?.uidp,tagName:y.tagName,digest:y.digest,url:E?.url,inOrg:E?.inOrg??!1}}),[l?.images,c,f]),v=l?{...l,images:p}:void 0;return b.jsx(qC.Provider,{value:{fetching:a,error:s,helmChart:t,organization:n,chartData:v,digest:i,setDigest:o},children:e})},xct=()=>m.useContext(qC),hZ=m.createContext(void 0),f6e=({children:e})=>{const{organizations:t,fetching:n}=jC(),[{data:r,fetching:i}]=ir({query:hJ}),[{data:o,fetching:a,error:s}]=ir({query:gJ}),l=m.useMemo(()=>!!t?.some(c=>
1910c.verified),[t]),u=m.useMemo(()=>({domainOrg:s?void 0:o?.lookupOrg.group,domainOrgFetching:a,eligibilityFetching:i,eligible:r?.checkEligibility.eligible??!1,hasVerifiedOrgs:l,verifiedFetching:n}),[o?.lookupOrg.group,s,a,r?.checkEligibility.eligible,i,l,n]);return b.jsx(hZ.Provider,{value:u,children:e})};function Lct(){const e=m.useContext(hZ);if(!e)throw new Error("useOrgDiscovery must be used within an OrgDiscoveryProvider.");return e}const zE=m.createContext(void 0),p6e=e=>{const t=e.split("@");return t.length<2?e:t.at(1)??e},m6e=(e,t)=>{const n=Qke({start:e,end:t});return Object.keys(n).length===0?{seconds:1}:n},h6e=(e,t)=>iy(t,e)>=1,g6e=({children:e,imageId:t})=>{const n=zMe(),{uniqueTags:r}=zC(),{options:i}=nC(),o=ir({query:VJ,variables:{imageId:t,startedBefore:Yye(n).toISOString(),excludeDates:!r,excludeEpochs:!i.showEpochTags}}),[{data:a,fetching:s,error:l},u]=o,f=(a?.tags??[]).reduce((k,E)=>{const S=k.get(E.digest),T={...E,public:!1,archList:[]};return k.set(E.digest,S?[...S,T]:[T]),k},new Map),p=k=>{const E=f.get(k);return E?E.sort($_).map(S=>S.name):[]},v=a?.buildReports.map(k=>{const E=p6e(k.digest),S=new Date(k.startedAt),T=k.completedAt?new Date(k.completedAt):n;return{id:xP(k.id).name,uidp:k.id,versions:p(E),result:k.result,digest:E,startedAt:S,duration:m6e(S,T),incomplete:h6e(S,T)}}).sort((k,E)=>Uye(k.startedAt,E.startedAt))??[],g=()=>u({requestPolicy:"network-only"}),y={error:l?{query:o}:void 0,fetching:l?!1:s,reports:l?[]:v,hasBuildErrors:v.filter(k=>iy(n,k.startedAt)<24).some(k=>k.result===$1e.Failure||k.incomplete),refresh:g};return b.jsx(zE.Provider,{value:y,children:e})},Wv=({children:e})=>{const{image:t,fetching:n,error:r}=K5e();return n||r?b.jsx(zE.Provider,{value:{...n?{fetching:!0,error:void 0}:{fetching:!1,error:r},reports:[]},children:e}):t?t.entitlement.status===Vm.ACTIVE?b.jsx(g6e,{imageId:t.uidp,children:e}):b.jsx(zE.Provider,{value:{fetching:!1,error:void 0,reports:[]},children:e}):b.jsx(yn,{id:"u1lIQ7"})},Oct=()=>{const e=m.useContext(zE);if(!e)throw new Error("useImageBuilds must be used within an ImageBuildsProvider.");return e},gZ=({organizationId:e,capabilities:t,accessChecks:n})=>{const{_:r}=Tn(),{can:i}=LP(),o=t.every(u=>i(u,e)),a=n?.find(u=>!u.allow),s=!a&&o,l=s||!e?void 0:a?.message??r({id:"UtTZm5"});return{hasPermission:s,denialMessage:l}},Pct=[K.REPO_LIST,K.IAM_GROUPS_LIST],v6e=({organizationId:e,capabilities:t,accessChecks:n,renderContent:r,placement:i,slotProps:o,sx:a})=>{const{_:s}=Tn(),{hasPermission:l,denialMessage:u}=gZ({organizationId:e,capabilities:t,accessChecks:n});return l?r(!0):b.jsx(xs,{title:u,placement:i,slotProps:o,children:b.jsx(ei,{"aria-description":s({id:"2crpLl"}),sx:Js({cursor:"not-allowed",display:"inherit"},a),children:b.jsx(ei,{"aria-disabled":"true",sx:{display:"inherit",pointerEvents:"none",userSelect:"none"},children:r(!1)})})})},y6e={id:"HDNgFO"},_ct={id:"XU6nhz"},k6e={id:"7Mem_L"},b6e={id:"PYxxPl"},S6e=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M331.54-299.54 480-448l148.46 148.46 32-32L512-480l148.46-148.46-32-32L480-512 331.54-660.46l-32 32L448-480 299.54-331.54l32 32ZM480.07-100q-78.22 0-147.4-29.92t-120.99-81.71q-51.81-51.79-81.75-120.94Q100-401.71 100-479.93q0-78.84 29.92-148.21t81.71-120.68q51.79-51.31 120.94-81.25Q401.71-860 479.93-860q78.84 0 148.21 29.92t120.68 81.21q51.31 51.29 81.25 120.63Q860-558.9 860-480.07q0 78.22-29.92 147.4t-81.21 120.99q-51.29 51.81-120.63 81.75Q558.9-100 480.07-100Zm-.07-45.39q139.69 0 237.15-97.76 97.46-97.77 97.46-236.85 0-139.69-97.46-237.15-97.46-97.46-237.15-97.46-139.08 0-236.85 97.46-97.76 97.46-97.76 237.15 0 139.08 97.76 236.85 97.77 97.76 236.85 97.76ZM480-480Z"})),E6e=m.memo(S6e),T6e=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M421-311.46 690.54-581l-34.85-34.23L421-380.15 302.54-498.61l-33.85 34.23L421-311.46ZM480.07-100q-78.22 0-147.4-29.92t-120.99-81.71q-51.81-51.79-81.75-120.94Q100-401.71 100-479.93q0-78.84 29.92-148.21t81.71-120.68q51.79-51.31 120.94-81.25Q401.71-860 479.93-860q78.84 0 148.21 29.92t120.68 81.21q51.31 51.29 81.25 120.63Q860-558.9 860-480.07q0 78.22-29.92 147.4t-81.21 120.99q-51.29 51.81-120.63 81.75Q558.9-100 480.07-100Zm-.07-45.39q139.69 0 237.15-97.76 97.46-97.77 97.46-236.85 0-139.69-97.46-237.15-97.46-97.46-237.15-97.46-139.08 0-236.85 97.46-97.76 97.46-97.76 237.15 0 139.08 97.76 236.85 97.77 97.76 236.85 97.76ZM480-480Z"})),Z_=m.memo(T6e);var fk=e=>e.type==="checkbox",GC=e=>e.type==="file",Fc=e=>e instanceof Date,no=e=>e==null;const Q_=e=>typeof e=="object";var Xr=e=>!no(e)&&!Array.isArray(e)&&Q_(e)&&!Fc(e),U1=e=>Xr(e)&&e.target?fk(e.target)?e.target.checked:GC(e.target)?e.target.files:e.target.value:e;const C6e=/[.[\]'"]/;var $f=e=>
1910e.split(C6e).filter(Boolean);function A6e(e,t){const n=$f(t);let r=e._formValues,i=e._defaultValues;for(let o=0;o<n.length-1;o++){const a=n[o];if(r=r==null?r:r[a],i=i==null?i:i[a],r===null||i===null)return null}}var vZ=(e,t)=>t.split(".").some((n,r,i)=>!isNaN(Number(n))&&e.has(i.slice(0,r).join("."))),KC=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Qn(e){if(e===null||typeof e!="object")return e;if(e instanceof Date)return new Date(e);const t=typeof FileList<"u"&&e instanceof FileList;if(KC&&(e instanceof Blob||t))return e;const n=Array.isArray(e);if(!n&&e.constructor!==Object)return e;const r=n?[]:Object.create(Object.getPrototypeOf(e));for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=Qn(e[i]));return r}const Rc={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},ls={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},zs={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},yZ="root",X_=["__proto__","constructor","prototype"],I6e=/^\w*$/;var Jf=e=>I6e.test(e),Wn=e=>e===void 0,Et=(e,t,n)=>{if(!t||!Xr(e))return n;const r=Jf(t)?[t]:$f(t);if(r.some(o=>X_.includes(o)))return n;const i=r.reduce((o,a)=>no(o)?void 0:o[a],e);return Wn(i)||i===e?Wn(e[t])?n:e[t]:i},ta=e=>typeof e=="boolean",wo=e=>typeof e=="function",Zn=(e,t,n)=>{let r=-1;const i=Jf(t)?[t]:$f(t),o=i.length,a=o-1;for(;++r<o;){const s=i[r];let l=n;if(r!==a){const u=e[s];l=Xr(u)||Array.isArray(u)?u:isNaN(+i[r+1])?{}:[]}if(X_.includes(s))return;e[s]=l,e=e[s]}};const eD=Ye.createContext(null);eD.displayName="HookFormControlContext";const YC=()=>Ye.useContext(eD);var kZ=(e,t,n,r=!0)=>{const i={};for(const o in e)Object.defineProperty(i,o,{get:()=>{const a=o;return t._proxyFormState[a]!==ls.all&&(t._proxyFormState[a]=!r||ls.all),n&&(n[a]=!0),e[a]}});return i};const $C=KC?Ye.useLayoutEffect:Ye.useEffect;var w6e=e=>{const t=e.constructor&&e.constructor.prototype;return Xr(t)&&t.hasOwnProperty("isPrototypeOf")},V1=e=>no(e)||!Q_(e);const r8=(e,t)=>t.length===0&&!Array.isArray(e)&&!w6e(e);function na(e,t,n=new WeakMap){if(e===t)return!0;if(V1(e)||V1(t))return Object.is(e,t);if(Fc(e)&&Fc(t))return Object.is(e.getTime(),t.getTime());const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(r8(e,r)||r8(t,i))return Object.is(e,t);if(!r.length&&Array.isArray(e)!==Array.isArray(t))return!1;const o=n.get(e);if(o&&o.has(t))return!0;if(o)o.add(t);else{const a=new WeakSet;a.add(t),n.set(e,a)}for(const a of r){const s=e[a];if(!(a in t))return!1;if(a!=="ref"){const l=t[a];if(Fc(s)&&Fc(l)||(Xr(s)||Array.isArray(s))&&(Xr(l)||Array.isArray(l))?!na(s,l,n):!Object.is(s,l))return!1}}return!0}function tD(e){const t=Ye.useRef(!1),n=Ye.useRef(!1),r=Ye.useRef(void 0),i=Ye.useRef(0);i.current++,!n.current&&e&&(n.current=!0,r.current=Qn(e()));const o=Ye.useCallback((s,l,u)=>{if(s&&(t.current||n.current&&i.current>1)){const c=l();na(r.current,c)||u(c)}t.current=!0},[]),a=Ye.useCallback((s,l)=>{s&&(r.current=Qn(l()))},[]);return{resyncIfNeeded:o,snapshot:a}}function N6e(e){const t=YC(),{control:n=t,disabled:r,name:i,exact:o}=e||{},a=()=>({...n._formState,defaultValues:n._defaultValues}),[s,l]=Ye.useState(a),u=Ye.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),{resyncIfNeeded:c,snapshot:f}=tD(a);return $C(()=>{c(!r,a,l);const p=n._subscribe({name:i,formState:u.current,exact:o,callback:v=>{!r&&l({...n._formState,...v,defaultValues:n._defaultValues})}});return()=>{p(),f(!r,a)}},[i,r,o,c,f]),Ye.useEffect(()=>{u.current.isValid&&n._setValid(!0)},[n]),Ye.useMemo(()=>kZ(s,n,u.current,!1),[s,n])}var ro=e=>typeof e=="string",B1=(e,t,n,r,i)=>ro(e)?(r&&t.watch.add(e),Et(n,e,i)):Array.isArray(e)?e.map(o=>(r&&t.watch.add(o),Et(n,o,Et(i,o)))):(r&&(t.watchAll=!0),n);function R6e(e){const t=YC(),{control:n=t,name:r,defaultValue:i,disabled:o,exact:a,compute:s}=e||{},l=Ye.useRef(i),u=Ye.useRef(s),c=Ye.useRef(void 0),f=Ye.useRef(n),p=Ye.useRef(r);u.current=s;const v=()=>{const D=n._getWatch(r,l.current);return u.current?u.current(D):D},[g,y]=Ye.useState(v),k=Ye.useCallback(D=>{const M=B1(r,n._names,D||n._formValues,!1,l.current);return u.current?u.current(M):M},[n._formValues,n._names,r]),E=Ye.useCallback(D=>{if(!o){const M=B1(r,n._names,D||n._formValues,!1,l.current);if(u.current){const F=u.current(M);na(F,c.current)||(y(F),c.current=F)}else y(M)}},[n._formValues,n._names,o,r]),{resyncIfNeeded:S,snapshot:T}=tD(v),I=Ye.useRef(E);I.current=E;const A=Ye.useRef(k);A.current=k,$C(()=>
1910{f.current!==n||!na(p.current,r)?(f.current=n,p.current=r,I.current()):S(!o,()=>A.current(),M=>{y(M),c.current=M});const D=n._subscribe({name:r,formState:{values:!0},exact:a,callback:M=>{I.current(M.values)}});return()=>{D(),T(!o,()=>A.current())}},[n,a,r,o,S,T]),Ye.useEffect(()=>n._removeUnmounted());const w=f.current!==n,R=p.current;return Ye.useMemo(()=>{if(o)return!1;const D=!w&&!na(R,r);return w||D},[o,w,r,R])?k():g}function bZ(e){const t=YC(),{name:n,disabled:r,control:i=t,shouldUnregister:o,defaultValue:a,exact:s=!0}=e,l=vZ(i._names.array,n),u=Ye.useMemo(()=>{const I=Et(i._formValues,n,Et(i._defaultValues,n,a));return Wn(I)?A6e(i,n):I},[i,n,a]),c=R6e({control:i,name:n,defaultValue:u,exact:s}),f=N6e({control:i,name:n,exact:s}),p=Ye.useRef(e),v=Ye.useRef(null),g=Ye.useRef(i.register(n,{...e.rules,value:c,...ta(e.disabled)?{disabled:e.disabled}:{}}));p.current=e;const y=Ye.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Et(f.errors,n)},isDirty:{enumerable:!0,get:()=>!!Et(f.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!Et(f.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!Et(f.validatingFields,n)},error:{enumerable:!0,get:()=>Et(f.errors,n)}}),[f,n]),k=Ye.useCallback(I=>{const A=U1(I);return Et(i._fields,n)||(g.current=i.register(n,{...p.current.rules,value:A})),g.current.onChange({target:{value:U1(I),name:n},type:Rc.CHANGE})},[n,i]),E=Ye.useCallback(()=>g.current.onBlur({target:{value:Et(i._formValues,n),name:n},type:Rc.BLUR}),[n,i._formValues]),S=Ye.useCallback(I=>{I&&(v.current={focus:()=>wo(I.focus)&&I.focus(),select:()=>wo(I.select)&&I.select(),setCustomValidity:w=>wo(I.setCustomValidity)&&I.setCustomValidity(w),reportValidity:()=>wo(I.reportValidity)&&I.reportValidity()});const A=Et(i._fields,n);A&&A._f&&I&&(A._f.ref=v.current)},[i._fields,n]),T=Ye.useMemo(()=>({name:n,value:c,...ta(r)||f.disabled?{disabled:f.disabled||r}:{},onChange:k,onBlur:E,ref:S}),[n,r,f.disabled,k,E,S,c]);return Ye.useEffect(()=>{const I=i._options.shouldUnregister||o;g.current=i.register(n,{...p.current.rules,...ta(p.current.disabled)?{disabled:p.current.disabled}:{}});const A=(w,R)=>{const x=Et(i._fields,w);x&&x._f&&(x._f.mount=R)};if(A(n,!0),I){const w=Qn(Et(o?i._defaultValues:i._options.values||i._defaultValues,n,Et(i._options.defaultValues,n,p.current.defaultValue)));Zn(i._defaultValues,n,w),Wn(Et(i._formValues,n))&&Zn(i._formValues,n,w)}if(!l&&i.register(n),v.current){const w=Et(i._fields,n);w&&w._f&&(w._f.ref=v.current)}return()=>{(l?I&&!i._state.action:I)?i.unregister(n):A(n,!1)}},[n,i,l,o]),Ye.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),Ye.useMemo(()=>({field:T,formState:f,fieldState:y}),[T,f,y])}const x6e=e=>e.render(bZ(e));var Sc=()=>typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}),KN=(e,t,n={})=>n.shouldFocus||Wn(n.shouldFocus)?n.focusName||`${e}.${Wn(n.focusIndex)?t:n.focusIndex}.`:"",Im=e=>({isOnSubmit:!e||e===ls.onSubmit,isOnBlur:e===ls.onBlur,isOnChange:e===ls.onChange,isOnAll:e===ls.all,isOnTouch:e===ls.onTouched}),AS=(e,t,n)=>{if(n)return!1;if(t.watchAll||t.watch.has(e))return!0;for(const r of t.watch)if(e.startsWith(r)&&e.charAt(r.length)===".")return!0;return!1};const Bm=(e,t,n,r)=>{for(const i of n||Object.keys(e)){if(i==="_f")continue;const o=n?Et(e,i):e[i];if(o){const{_f:a}=o;if(a){if(a.refs&&a.refs[0]&&t(a.refs[0],i)&&!r)return!0;if(a.ref&&t(a.ref,a.name)&&!r)return!0;if(Bm(o,t))break}else if((Xr(o)||Array.isArray(o))&&Bm(o,t))break}}};var HE=(e,t,n)=>{const r=Et(e,n),i=Array.isArray(r)?r:[];return Zn(i,yZ,t[n]),Zn(e,n,i),e},Xi=e=>Xr(e)&&!Object.keys(e).length,WE=e=>{if(!KC)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},nD=e=>e.type==="radio",qE=e=>e instanceof RegExp,rD=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{};const i8={value:!1,isValid:!1},o8={value:!0,isValid:!0};var SZ=e=>{if(!Array.isArray(e))return i8;if(e.length>1){const n=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:n,isValid:!!n.length}}const t=e[0];
1910return!t||!t.checked||t.disabled?i8:!t.attributes||!("value"in t.attributes)||Wn(t.value)||t.value===""?o8:{value:t.value,isValid:!0}};const a8={isValid:!1,value:null};var EZ=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,a8):a8;function s8(e,t,n="validate"){if(ro(e)||Array.isArray(e)&&e.every(ro)||ta(e)&&!e)return{type:n,message:ro(e)?e:"",ref:t}}var Jp=e=>Xr(e)&&!qE(e)?e:{value:e,message:""},j1=async(e,t,n,r,i,o)=>{const{ref:a,refs:s,required:l,maxLength:u,minLength:c,min:f,max:p,pattern:v,validate:g,name:y,valueAsNumber:k,mount:E}=e._f,S=Et(n,y);if(!E||t.has(y))return{};const T=s?s[0]:a,I=P=>{if(i&&T.reportValidity){const j=ta(P)?"":P||"";s?s.forEach(B=>B.setCustomValidity(j)):T.setCustomValidity(j),T.reportValidity()}},A={},w=nD(a),R=fk(a),x=w||R,D=(k||GC(a))&&Wn(a.value)&&Wn(S)||WE(a)&&a.value===""||S===""||Array.isArray(S)&&!S.length,M=rD.bind(null,y,r,A),F=(P,j,B,H=zs.maxLength,G=zs.minLength)=>{const O=P?j:B;A[y]={type:P?H:G,message:O,ref:a,...M(P?H:G,O)}};if(o?!Array.isArray(S)||!S.length:l&&(!x&&(D||no(S))||ta(S)&&!S||R&&!SZ(s).isValid||w&&!EZ(s).isValid)){const{value:P,message:j}=ro(l)?{value:!!l,message:l}:Jp(l);if(P&&(A[y]={type:zs.required,message:j,ref:T,...M(zs.required,j)},!r))return I(j),A}if(!D&&(!no(f)||!no(p))){let P,j;const B=Jp(p),H=Jp(f);if(!no(S)&&!Fc(S)&&!isNaN(S)){const G=a.valueAsNumber||S&&+S;no(B.value)||(P=G>B.value),no(H.value)||(j=G<H.value)}else{const G=a.valueAsDate||new Date(S),O=U=>new Date(new Date().toDateString()+" "+U),V=a.type=="time",W=a.type=="week";ro(B.value)&&S&&(P=V?O(S)>O(B.value):W?S>B.value:G>new Date(B.value)),ro(H.value)&&S&&(j=V?O(S)<O(H.value):W?S<H.value:G<new Date(H.value))}if((P||j)&&(F(!!P,B.message,H.message,zs.max,zs.min),!r))return I(A[y].message),A}if((u||c)&&!D&&(ro(S)||o&&Array.isArray(S))){const P=Jp(u),j=Jp(c),B=!no(P.value)&&S.length>+P.value,H=!no(j.value)&&S.length<+j.value;if((B||H)&&(F(B,P.message,j.message),!r))return I(A[y].message),A}if(v&&!D&&ro(S)){const{value:P,message:j}=Jp(v);if(qE(P)&&!S.match(P)&&(A[y]={type:zs.pattern,message:j,ref:a,...M(zs.pattern,j)},!r))return I(j),A}if(g){if(wo(g)){const P=await g(S,n),j=s8(P,T);if(j&&(A[y]={...j,...M(zs.validate,j.message)},!r))return I(j.message),A}else if(Xr(g)){let P={};for(const j in g){if(!Xi(P)&&!r)break;const B=s8(await g[j](S,n),T,j);B&&(P={...B,...M(j,B.message)},I(B.message),r&&(A[y]=P))}if(!Xi(P)&&(A[y]={ref:T,...P},!r))return A}}const L=A[y];return I(L?L.message:!0),A}
1910,Oa=e=>Array.isArray(e)?e:[e],YN=(e,t)=>[...e,...Oa(t)],h0=e=>Array.isArray(e)?e.map(()=>{}):void 0;function $N(e,t,n){return[...e.slice(0,t),...Oa(n),...e.slice(t)]}var JN=(e,t,n)=>Array.isArray(e)?(Wn(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[],ZN=(e,t)=>[...Oa(t),...Oa(e)],iD=e=>Array.isArray(e)?e.filter(Boolean):[];function L6e(e,t){let n=0;const r=[...e];for(const i of t)r.splice(i-n,1),n++;return iD(r).length?r:[]}var QN=(e,t)=>Wn(t)?[]:L6e(e,Oa(t).sort((n,r)=>n-r)),XN=(e,t,n)=>{[e[t],e[n]]=[e[n],e[t]]};function O6e(e,t){const n=t.length-1;let r=0;for(;r<n;){if(no(e)){e=void 0;break}e=e[t[r]],r++}return e}function P6e(e){for(const t in e)if(e.hasOwnProperty(t)&&!Wn(e[t]))return!1;return!0}function fi(e,t){if(ro(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;const n=Array.isArray(t)?t:Jf(t)?[t]:$f(t);if(n.some(a=>X_.includes(String(a))))return e;const r=n.length===1?e:O6e(e,n),i=n.length-1,o=n[i];return r&&delete r[o],i!==0&&(Xr(r)&&Xi(r)||Array.isArray(r)&&P6e(r))&&fi(e,n.slice(0,-1)),e}var l8=(e,t,n)=>(e[t]=n,e);function Dct(e){const t=YC(),{control:n=t,name:r,keyName:i="id",disabled:o,shouldUnregister:a,rules:s}=e,[l,u]=Ye.useState(n._getFieldArray(r)),c=Ye.useRef(n._getFieldArray(r).map(Sc)),f=Ye.useRef(!1);o||n._names.array.add(r),Ye.useMemo(()=>!o&&s&&l.length>=0&&n.register(r,s),[n,r,l.length,s,o]),$C(()=>{if(!o)return n._subjects.array.subscribe({next:({values:A,name:w})=>{if(w===r||!w){const R=Et(A,r);Array.isArray(R)?(u(R),c.current=R.map(Sc)):w||(u([]),c.current=[])}}}).unsubscribe},[n,r,o]);const p=Ye.useCallback(A=>{f.current=!0,n._setFieldArray(r,A)},[n,r]),v=(A,w)=>{if(o)return;const R=Oa(Qn(A)),x=YN(n._getFieldArray(r),R);n._names.focus=KN(r,x.length-1,w),c.current=YN(c.current,R.map(Sc)),p(x),u(x),n._setFieldArray(r,x,YN,{argA:h0(A)})},g=(A,w)=>{if(o)return;const R=Oa(Qn(A)),x=ZN(n._getFieldArray(r),R);n._names.focus=KN(r,0,w),c.current=ZN(c.current,R.map(Sc)),p(x),u(x),n._setFieldArray(r,x,ZN,{argA:h0(A)})},y=A=>{if(o)return;const w=QN(n._getFieldArray(r),A);c.current=QN(c.current,A),p(w),u(w),!Array.isArray(Et(n._fields,r))&&Zn(n._fields,r,void 0),n._setFieldArray(r,w,QN,{argA:A})},k=(A,w,R)=>{if(o)return;const x=Oa(Qn(w)),D=$N(n._getFieldArray(r),A,x);n._names.focus=KN(r,A,R),c.current=$N(c.current,A,x.map(Sc)),p(D),u(D),n._setFieldArray(r,D,$N,{argA:A,argB:h0(w)})},E=(A,w)=>{if(o)return;const R=n._getFieldArray(r);XN(R,A,w),XN(c.current,A,w),p(R),u(R),n._setFieldArray(r,R,XN,{argA:A,argB:w},!1)},S=(A,w)=>{if(o)return;const R=n._getFieldArray(r);JN(R,A,w),JN(c.current,A,w),p(R),u(R),n._setFieldArray(r,R,JN,{argA:A,argB:w},!1)},T=(A,w)=>{if(o)return;const R=Qn(w),x=l8(n._getFieldArray(r),A,R);c.current=[...x].map((D,M)=>!D||M===A?Sc():c.current[M]),p(x),u([...x]),n._setFieldArray(r,x,l8,{argA:A,argB:h0(w)})},I=A=>{if(o)return;const w=Oa(Qn(A));c.current=w.map(Sc),p([...w]),u([...w]),n._setFieldArray(r,[...w],R=>R,{},!0,!1)};return Ye.useEffect(()=>{if(o){n._state.actionArrayLengths.delete(r);return}n._state.action=!1,n._state.actionArrayLengths.delete(r),AS(r,n._names)&&n._subjects.state.next({...n._formState});const A=Im(n._options.mode);if(f.current&&(!A.isOnSubmit||n._formState.isSubmitted)&&!Im(n._options.reValidateMode).isOnSubmit&&!A.isOnBlur)if(n._options.resolver)n._runSchema([r]).then(w=>{var R,x;n._updateIsValidating([r]);const D=Et(w.errors,r),M=Et(n._formState.errors,r),F=M&&(M.type||((R=M.root)===null||R===void 0?void 0:R.type)),L=M&&(M.message||((x=M.root)===null||x===void 0?void 0:x.message));(M?!D&&F||D&&(F!==D.type||L!==D.message):D&&D.type)&&(D?Xr(D)&&!Object.keys(D).some(P=>!Number.isNaN(+P))?HE(n._formState.errors,{[r]:D},r):Zn(n._formState.errors,r,D):fi(n._formState.errors,r),n._subjects.state.next({errors:n._formState.errors}))});else{const w=Et(n._fields,r);w&&w._f&&j1(w,n._names.disabled,n._formValues,n._options.criteriaMode===ls.all,n._options.shouldUseNativeValidation,!0).then(R=>!Xi(R)&&n._subjects.state.next({errors:HE(n._formState.errors,R,r)}))}f.current&&n._subjects.state.next({name:r,values:Qn(n._formValues)}
1910),n._names.focus&&Bm(n._fields,(w,R)=>{if(n._names.focus&&R.startsWith(n._names.focus)&&w.focus)return w.focus(),1}),n._names.focus="",n._setValid(),f.current=!1},[l,r,n,o]),Ye.useEffect(()=>(o||!Et(n._formValues,r)&&n._setFieldArray(r),()=>{if(n._state.actionArrayLengths.delete(r),o)return;const A=!(n._options.shouldUnregister||a),w=(R,x)=>{const D=Et(n._fields,R);D&&D._f&&(D._f.mount=x)};f.current&&A&&n._subjects.state.next({name:r,values:Qn(n._formValues)}),A?w(r,!1):n.unregister(r)}),[r,n,i,a,o]),{swap:Ye.useCallback(E,[p,r,n,o]),move:Ye.useCallback(S,[p,r,n,o]),prepend:Ye.useCallback(g,[p,r,n,o]),append:Ye.useCallback(v,[p,r,n,o]),remove:Ye.useCallback(y,[p,r,n,o]),insert:Ye.useCallback(k,[p,r,n,o]),update:Ye.useCallback(T,[p,r,n,o]),replace:Ye.useCallback(I,[p,r,n,o]),fields:Ye.useMemo(()=>l.map((A,w)=>({...A,...ta(o)?{disabled:o}:{},[i]:c.current[w]||Sc()})),[l,i,o])}}const oD=Ye.createContext(null);oD.displayName="HookFormContext";const Mct=()=>Ye.useContext(oD),Fct=({children:e,watch:t,getValues:n,getErrors:r,getFieldState:i,setError:o,clearErrors:a,setValue:s,setValues:l,trigger:u,formState:c,resetField:f,reset:p,resetDefaultValues:v,handleSubmit:g,unregister:y,control:k,register:E,setFocus:S,subscribe:T})=>{const I=Ye.useMemo(()=>({watch:t,getValues:n,getErrors:r,getFieldState:i,setError:o,clearErrors:a,setValue:s,setValues:l,trigger:u,formState:c,resetField:f,reset:p,resetDefaultValues:v,handleSubmit:g,unregister:y,control:k,register:E,setFocus:S,subscribe:T}),[a,k,c,r,i,n,g,E,p,v,f,o,S,s,l,T,u,y,t]);return Ye.createElement(oD.Provider,{value:I},Ye.createElement(eD.Provider,{value:I.control},e))};var u8=()=>{let e=[];return{get observers(){return e},next:i=>{for(const o of e)o.next&&o.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(o=>o!==i)}}),unsubscribe:()=>{e=[]}}};function TZ(e,t){const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r],o=t[r];if(i&&Xr(i)&&o){const a=TZ(i,o);Xr(a)&&(n[r]=a)}else e[r]&&(n[r]=o)}return n}const c8=(e,t)=>e!==null&&Q_(e)&&Object.prototype.hasOwnProperty.call(e,t);var _6e=(e,t)=>{if(!t)return!1;let n=e;for(const r of Jf(t)?[t]:$f(t)){if(!c8(n,r))return c8(e,t);n=n[r]}return!0},CZ=e=>e.type==="select-multiple",D6e=e=>nD(e)||fk(e),eR=e=>WE(e)&&e.isConnected;function d8(e){return Array.isArray(e)||Xr(e)}function AZ(e,t,n="",r=[]){for(const i in e){const o=n?`${n}.${i}`:i,a=e[i];d8(a)&&d8(Et(t,o))?AZ(a,t,o,r):r.push(o)}return r}var M6e=e=>{for(const t in e)if(wo(e[t]))return!0;return!1};function IZ(e){return Array.isArray(e)||Xr(e)&&!M6e(e)}function wZ(e){return!!(e&&"_f"in e)}function NZ(e){return Array.isArray(e)?!e.some(t=>!Wn(t)):!Object.keys(e).length}function z1(e,t){Array.isArray(e)?e[t]=void 0:delete e[t]}function H1(e,t={},n){for(const r in e){const i=e[r],o=n&&n[r];IZ(i)&&(!Array.isArray(i)||!wZ(o))?(t[r]=Array.isArray(i)?[]:{},H1(i,t[r],o),NZ(t[r])&&z1(t,r)):Wn(i)||(t[r]=!0)}return t}function tf(e,t,n,r){n||(n=H1(t,{},r));for(const i in e){const o=e[i],a=r&&r[i];IZ(o)&&(!Array.isArray(o)||!wZ(a))?(Wn(t)||V1(n[i])?n[i]=H1(o,Array.isArray(o)?[]:{},a):tf(o,no(t)?{}:t[i],n[i],a),NZ(n[i])&&z1(n,i)):na(o,t[i])?z1(n,i):n[i]=!0}return n}var F6e=(e,t)=>{const n=t.split("."),r=[];let i=n[0];for(let o=1;o<n.length;i+="."+n[o++])!isNaN(+n[o])&&e.has(i)&&r.push(`${i}.${n[o]}`);return r},RZ=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Wn(e)?e:t?e===""?NaN:e&&+e:n&&ro(e)?new Date(e):r?r(e):e;function f8(e){const t=e.ref;return GC(t)?t.files:nD(t)?EZ(e.refs).value:CZ(t)?[...t.selectedOptions].map(({value:n})=>n):fk(t)?SZ(e.refs).value:RZ(t.value,e)}var U6e=(e,t,n,r)=>{const i={};for(const o of e){const a=Et(t,o);a&&Zn(i,o,a._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},Qg=e=>Wn(e)?e:qE(e)?e.source:Xr(e)?qE(e.value)?e.value.source:e.value:e;const p8="AsyncFunction";var V6e=e=>{if(!e||!e.validate)return!1;if(wo(e.validate))return e.validate.constructor.name===p8;if(Xr(e.validate)){for(const t in e.validate)if(e.validate[t].constructor.name===p8)return!0}return!1},B6e=e=>e.mount&&(e.required||!Wn(e.required)&&e.required!==!1||!Wn(e.min)||!Wn(e.max)||!Wn(e.maxLength)||!Wn(e.minLength)||e.pattern||e.validate);function m8(e,t,n){const r=Et(e,n);if(r||Jf(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const o=i.join("."),a=Et(t,o),s=Et(e,o);if(a&&!Array.isArray(a)&&n!==o)return{name:n};if(s&&s.type)return{name:o,error:s};if(s&&s.root&&s.root.type)return{name:`${o}.root`,error:s.root};i.pop()}return{name:n}}var j6e=(e,t,n,r)=>{n(e);const i=Object.keys(e).filter(o=>o!=="name");return!i.length||r&&i.length>=Object.keys(t).length||i.find(o=>t[o]===(!r||ls.all))},z6e=(e,t,n)=>!e||!t||e===t||Oa(e).some(r=>r&&(n?r===t||r.startsWith(t+"."):r.startsWith(t)||t.startsWith(r))),H6e=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,W6e=(e,t)=>{const n=Et(e,t);!iD(n).length&&!n?.root&&fi(e,t)};const q6e={mode:ls.onSubmit,reValidateMode:ls.onChange,shouldFocusError:!0},tR="form",G6e=(e,t)=>{for(const n in e)n in t||delete e[n];Object.assign(e,t)},xZ={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function K6e(e={}){let t={...q6e,...e},n={...Qn(xZ),isLoading:wo(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1}
1910,r={},i=Xr(t.defaultValues)||Xr(t.values)?Qn(t.defaultValues||t.values)||{}:{},o=t.shouldUnregister?{}:Qn(i),a={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},s={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set};const l={},u={};let c=0,f=Im(t.mode),p=Im(t.reValidateMode);const v={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},g={...v};let y={...g};const k={array:u8(),state:u8()};let E=0;const S=t.criteriaMode===ls.all,T=(X,de)=>ie=>{clearTimeout(u[X]),u[X]=setTimeout(de,ie)},I=async X=>{if(!a.keepIsValid&&!t.disabled&&(g.isValid||y.isValid||X)){const de=++E;let ie;t.resolver?(ie=Xi((await B()).errors),de===E&&A()):ie=await O({fields:r,onlyCheckValid:!0,eventType:Rc.VALID}),de===E&&ie!==n.isValid&&k.state.next({isValid:ie})}},A=(X,de)=>{!t.disabled&&(g.isValidating||g.validatingFields||y.isValidating||y.validatingFields)&&((X||s.mount).forEach(ie=>{ie&&(de?Zn(n.validatingFields,ie,de):fi(n.validatingFields,ie))}),k.state.next({validatingFields:n.validatingFields,isValidating:!Xi(n.validatingFields)}))},w=()=>{n.dirtyFields=tf(i,o,void 0,r)},R=(X,de=[],ie,Re,Be=!0,tt=!0)=>{if(Re&&ie&&!t.disabled){a.action=!0;const at=Et(r,X);if(a.actionArrayLengths.has(X)||a.actionArrayLengths.set(X,Array.isArray(at)?at.length:0),tt&&Array.isArray(at)){const Je=ie(at,Re.argA,Re.argB);Be&&Zn(r,X,Je)}const ot=Et(n.errors,X);if(tt&&Array.isArray(ot)){const Je=ot.root,Pt=ie(ot,Re.argA,Re.argB)||ot;Je&&(Pt.root=Je),Be&&Zn(n.errors,X,Pt),W6e(n.errors,X)}const ft=Et(n.touchedFields,X);if((g.touchedFields||y.touchedFields)&&tt&&Array.isArray(ft)){const Je=ie(ft,Re.argA,Re.argB);Be&&Zn(n.touchedFields,X,Je)}(g.dirtyFields||y.dirtyFields)&&w(),k.state.next({name:X,isDirty:W(X,de),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Zn(o,X,de)},x=(X,de)=>{Zn(n.errors,X,de),n.errors={...n.errors},k.state.next({errors:n.errors})},D=X=>{n.errors=X,k.state.next({errors:n.errors,isValid:!1})},M=X=>{const de=Jf(X)?[X]:$f(X);let ie=o,Re=i;for(let Be=0;Be<de.length-1;Be++){const tt=de[Be];if(ie=no(ie)?ie:ie[tt],Re=no(Re)?Re:Re[tt],ie===null&&Re!==null)return!0}return!1},F=X=>{if(!a.actionArrayLengths.size)return!1;const de=Jf(X)?[X]:$f(X);let ie=o,Re="",Be=-1,tt=0;for(let at=0;at<de.length;at++){if(no(ie))return!1;const ot=de[at];if(Re=Re?`${Re}.${ot}`:ot,Array.isArray(ie)&&+ot>=ie.length)return Be===-1?!1:at===Be?+ot<tt:!0;a.actionArrayLengths.has(Re)&&(Be=at+1,tt=a.actionArrayLengths.get(Re)),ie=ie[ot]}return!1},L=(X,de,ie,Re)=>{const Be=Et(r,X);if(Be){if(M(X)||F(X))return;const tt=Wn(Et(o,X)),at=Et(o,X,Wn(ie)?Et(i,X):ie);Wn(at)||Re&&Re.defaultChecked||de?Zn(o,X,de?at:f8(Be._f)):$(X,at),a.mount&&!a.action&&(I(),tt&&n.isDirty&&(g.isDirty||y.isDirty)&&(W()||(n.isDirty=!1,k.state.next({...n}))),e.shouldUnregister&&tt&&!Wn(Et(o,X))&&AS(X,s)&&(a.watch=!0))}},P=(X,de,ie,Re,Be)=>{let tt=!1,at=!1;const ot={name:X};
1910if(!t.disabled||Re===!0){if(!ie||Re){const ft=na(Et(i,X),de);(g.isDirty||y.isDirty)&&(at=n.isDirty,n.isDirty=ot.isDirty=!ft||W(),tt=at!==ot.isDirty),at=!!Et(n.dirtyFields,X),ft!==n.isDirty?G6e(n.dirtyFields,tf(i,o,void 0,r)):ft?fi(n.dirtyFields,X):Zn(n.dirtyFields,X,!0),ot.dirtyFields=n.dirtyFields,tt=tt||(g.dirtyFields||y.dirtyFields)&&at!==!ft}if(ie){const ft=Et(n.touchedFields,X);ft||(Zn(n.touchedFields,X,ie),ot.touchedFields=n.touchedFields,tt=tt||(g.touchedFields||y.touchedFields)&&ft!==ie)}tt&&Be&&k.state.next(ot)}return tt?ot:{}},j=(X,de,ie,Re)=>{const Be=Et(n.errors,X),tt=(g.isValid||y.isValid)&&ta(de)&&n.isValid!==de;if(t.delayError&&ie?(l[X]=T(X,()=>x(X,ie)),l[X](t.delayError)):(clearTimeout(u[X]),delete l[X],ie?Zn(n.errors,X,ie):fi(n.errors,X),n.errors={...n.errors}),(ie?!na(Be,ie):Be)||!Xi(Re)||tt){const at={...Re,...tt&&ta(de)?{isValid:de}:{},errors:n.errors,name:X};k.state.next(at)}},B=async X=>(A(X,!0),await t.resolver(o,t.context,U6e(X||s.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),H=async X=>{const{errors:de}=await B(X);if(A(X),X){for(const ie of X){const Re=Et(de,ie);Re?s.array.has(ie)&&Xr(Re)&&!Object.keys(Re).some(Be=>!Number.isNaN(Number(Be)))?HE(n.errors,{[ie]:Re},ie):Zn(n.errors,ie,Re):fi(n.errors,ie)}n.errors={...n.errors}}else n.errors=de;return de},G=async({name:X,eventType:de})=>{if(e.validate){const ie=await e.validate({formValues:o,formState:n,name:X,eventType:de});if(Xr(ie))for(const Re in ie){const Be=ie[Re];Be&&Se(`${tR}.${Re}`,{message:ro(Be.message)?Be.message:"",type:Be.type||zs.validate})}else ro(ie)||!ie?Se(tR,{message:ie||"",type:zs.validate}):ve(tR);return ie}return!0},O=async({fields:X,onlyCheckValid:de,name:ie,eventType:Re,context:Be={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(Be.runRootValidation=!0,!await G({name:ie,eventType:Re})&&(Be.valid=!1,de)))return Be.valid;for(const tt in X){const at=X[tt];if(at){const{_f:ot,...ft}=at;if(ot){const Je=s.array.has(ot.name),Pt=at._f&&V6e(at._f),Ht=g.validatingFields||g.isValidating||y.validatingFields||y.isValidating;Pt&&Ht&&A([ot.name],!0);const fn=await j1(at,s.disabled,o,S,t.shouldUseNativeValidation&&!de,Je);if(Pt&&Ht&&A([ot.name]),fn[ot.name]&&(Be.valid=!1,de)||(!de&&(Et(fn,ot.name)?Je?HE(n.errors,fn,ot.name):Zn(n.errors,ot.name,fn[ot.name]):fi(n.errors,ot.name)),e.shouldUseNativeValidation&&fn[ot.name]))break}!Xi(ft)&&await O({context:Be,onlyCheckValid:de,fields:ft,name:tt,eventType:Re})}}return Be.valid},V=()=>{for(const X of s.unMount){const de=Et(r,X);de&&(de._f.refs?de._f.refs.every(ie=>!eR(ie)):!eR(de._f.ref))&&Pe(X)}s.unMount=new Set},W=(X,de)=>(X&&de&&Zn(o,X,de),!na(a.mount?o:i,i)),U=(X,de,ie)=>B1(X,s,{...a.mount?o:Wn(de)||ro(X)?i:de},ie,de),q=X=>iD(Et(a.mount?o:i,X,t.shouldUnregister?Et(i,X,[]):[])),$=(X,de,ie={},Re=!1,Be=!1,tt=!1)=>{const at=Et(r,X);let ot=de;if(at){const ft=at._f;ft&&(!ft.disabled&&Zn(o,X,RZ(de,ft)),ot=WE(ft.ref)&&no(de)?"":de,CZ(ft.ref)?[...ft.ref.options].forEach(Je=>Je.selected=ot.includes(Je.value)):ft.refs?fk(ft.ref)?ft.refs.forEach(Je=>{(!Je.defaultChecked||!Je.disabled)&&(Array.isArray(ot)?Je.checked=!!ot.find(Pt=>Pt===Je.value):Je.checked=ot===Je.value||!!ot)}):ft.refs.forEach(Je=>Je.checked=Je.value===ot):GC(ft.ref)?ft.ref.value="":(ft.ref.value=ot,!ft.ref.type&&!Be&&!tt&&k.state.next({name:X,values:Re?o:Qn(o)})))}(ie.shouldDirty||ie.shouldTouch)&&P(X,ot,ie.shouldTouch,ie.shouldDirty,!Be),ie.shouldValidate&&ne(X,{delayError:ie.delayError})},J=(X,de,ie,Re=!1,Be=!1,tt=!1)=>{s.array.has(X)&&k.array.next({name:X,values:Re?o:Qn(o)});for(const at in de){if(!de.hasOwnProperty(at))continue;const ot=de[at],ft=X+"."+at,Je=Et(r,ft);(s.array.has(X)||Xr(ot)||Je&&!Je._f)&&!Fc(ot)?J(ft,ot,ie,Re,Be,tt):$(ft,ot,ie,Re,Be,tt)}},Z=(X,de,ie,Re,Be=!1)=>{const tt=Et(r,X),at=s.array.has(X),ot=Re?de:Qn(de),ft=Et(o,X),Je=na(ft,ot);if(Je||Zn(o,X,ot),at)k.array.next({name:X,values:Re?o:Qn(o)}),(g.isDirty||g.dirtyFields||y.isDirty||y.dirtyFields)&&ie.shouldDirty&&(w(),Be||k.state.next({name:X,dirtyFields:n.dirtyFields,isDirty:W(X,ot)}));else{const Pt=Array.isArray(ot)&&!ot.length||Xi(ot),Ht=!Je&&!Be;!tt||tt._f||no(ot)||Pt?$(X,ot,ie,Re,Be,Ht):J(X,ot,ie,Re,Be,Ht)}if(!Je&&!Be){const Pt=AS(X,s),Ht=Re?o:Qn(o);if(k.state.next({...Pt&&n,name:a.mount||Pt?X:void 0,values:Ht}),!at)for(const fn of F6e(s.array,X))k.state.next({name:fn,values:Ht})}},Y=(X,de,ie={})=>Z(X,de,ie,!1),ee=(X,de={})=>{const ie=wo(X)?X(o):X;if(!na(o,ie)){o={...o,...ie};for(const Re of s.mount)_6e(ie,Re)&&Z(Re,Et(ie,Re),de,!0,!0);k.state.next({...n,name:void 0,type:void 0,...c?{values:o}:{}}),de.shouldValidate&&I()}},te=async X=>{a.mount=!0;const de=X.target;let ie=de.name,Re=!0;const Be=Et(r,ie),tt=at=>{Re=Number.isNaN(at)||Fc(at)&&isNaN(at.getTime())||na(at,Et(o,ie,at))};if(Be){let at,ot;
1910const ft=de.type?f8(Be._f):U1(X),Je=X.type===Rc.BLUR||X.type===Rc.FOCUS_OUT,Pt=!B6e(Be._f)&&!e.validate&&!t.resolver&&!Et(n.errors,ie)&&!Be._f.deps,Ht=Pt||H6e(Je,Et(n.touchedFields,ie),n.isSubmitted,p,f),fn=AS(ie,s,Je);if(Zn(o,ie,Qn(ft)),Je){if(!de||!de.readOnly){Be._f.onBlur&&Be._f.onBlur(X);const nn=l[ie];nn&&nn(0)}}else Be._f.onChange&&Be._f.onChange(X);const Sn=P(ie,ft,Je),Lt=!Xi(Sn)||fn;if(!Je&&k.state.next({name:ie,type:X.type,...c?{values:Qn(o)}:{}}),Ht)return(!Pt||!n.isValid)&&(g.isValid||y.isValid)&&(t.mode==="onBlur"?Je&&I():Je||I()),Lt&&k.state.next({name:ie,...fn?{}:Sn});if(!t.resolver&&e.validate&&await G({name:ie,eventType:X.type}),!Je&&fn&&k.state.next({...n}),t.resolver){const{errors:nn}=await B([ie]);if(A([ie]),tt(ft),!Re){!Xi(Sn)&&k.state.next(Sn);return}const Dn=m8(n.errors,r,ie),Bn=m8(nn,r,Dn.name||ie);at=Bn.error,ie=Bn.name,ot=Xi(nn)}else A([ie],!0),at=(await j1(Be,s.disabled,o,S,t.shouldUseNativeValidation))[ie],A([ie]),tt(ft),Re&&(at?ot=!1:(g.isValid||y.isValid)&&(ot=await O({fields:r,onlyCheckValid:!0,name:ie,eventType:X.type})));Re&&(Be._f.deps&&(!Array.isArray(Be._f.deps)||Be._f.deps.length>0)&&ne(Be._f.deps),j(ie,ot,at,Sn))}},ce=(X,de)=>{if(Et(n.errors,de)&&X.focus)return X.focus(),1},ne=async(X,de={})=>{let ie,Re;const Be=Oa(X);if(t.resolver){const tt=await H(Wn(X)?X:Be);ie=Xi(tt),Re=X?!Be.some(at=>Et(tt,at)):ie}else X?(Re=(await Promise.all(Be.map(async tt=>{const at=Et(r,tt);return await O({fields:at&&at._f?{[tt]:at}:at,eventType:Rc.TRIGGER})}))).every(Boolean),!(!Re&&!n.isValid)&&I()):Re=ie=await O({fields:r,name:X,eventType:Rc.TRIGGER});if(de.delayError&&t.delayError&&ro(X)){const tt=Et(n.errors,X);tt?(fi(n.errors,X),l[X]=T(X,()=>x(X,tt)),l[X](t.delayError)):(clearTimeout(u[X]),delete l[X])}if(de.shouldTouch)for(const tt of X?Be:s.mount)!s.array.has(tt)&&Zn(n.touchedFields,tt,!0);return k.state.next({...!ro(X)||(g.isValid||y.isValid)&&ie!==n.isValid?{}:{name:X},...t.resolver||!X?{isValid:ie}:{},...de.shouldTouch&&(g.touchedFields||y.touchedFields)?{touchedFields:n.touchedFields}:{},errors:n.errors}),de.shouldFocus&&!Re&&Bm(r,ce,X?Be:s.mount),Re},Ce=(X,de)=>{let ie={...a.mount?o:i};return de&&(ie=TZ(de.dirtyFields?n.dirtyFields:n.touchedFields,ie)),Wn(X)?ie:ro(X)?Et(ie,X):X.map(Re=>Et(ie,Re))},ae=X=>Wn(X)?{...n.errors}:ro(X)?Et(n.errors,X):X.map(de=>Et(n.errors,de)),pe=(X,de)=>{const ie=de||n,Re=Et(ie.errors,X);return{invalid:!!Re,isDirty:!!Et(ie.dirtyFields,X),error:Re,isValidating:!!Et(n.validatingFields,X),isTouched:!!Et(ie.touchedFields,X)}},ve=X=>{const de=X?Oa(X):void 0;de?.forEach(ie=>fi(n.errors,ie)),de?de.forEach(ie=>{k.state.next({name:ie,errors:n.errors})}):(n.errors={},k.state.next({errors:n.errors}))},Se=(X,de,ie)=>{const Re=(Et(r,X,{_f:{}})._f||{}).ref,Be=Et(n.errors,X)||{},{ref:tt,message:at,type:ot,...ft}=Be;Zn(n.errors,X,{...ft,...de,ref:Re}),k.state.next({name:X,errors:n.errors,isValid:!1}),ie&&ie.shouldFocus&&Re&&Re.focus&&Re.focus()},De=(X,de)=>{if(wo(X)){c++;const{unsubscribe:ie}=k.state.subscribe({next:Be=>"values"in Be&&X(Be.values||U(void 0,de),Be)});let Re=!1;return{unsubscribe:()=>{Re||(Re=!0,c--,ie())}}}return U(X,de,!0)},Ee=X=>{var de;const ie=!!(!((de=X.formState)===null||de===void 0)&&de.values);ie&&c++;const{unsubscribe:Re}=k.state.subscribe({next:tt=>{if(z6e(X.name,tt.name,X.exact)&&j6e(tt,X.formState||g,et,X.reRenderRoot)){const at={...o};X.callback({values:at,...n,...tt,defaultValues:i})}}});if(!ie)return Re;let Be=!1;return()=>{Be||(Be=!0,c--,Re())}},ye=X=>(a.mount=!0,y={...y,...X.formState},Ee({...X,formState:{...v,...X.formState}})),Pe=(X,de={})=>{for(const ie of X?Oa(X):s.mount)s.mount.delete(ie),s.array.delete(ie),de.keepValue||(fi(r,ie),fi(o,ie)),!de.keepError&&fi(n.errors,ie),!de.keepDirty&&fi(n.dirtyFields,ie),!de.keepTouched&&fi(n.touchedFields,ie),!de.keepIsValidating&&fi(n.validatingFields,ie),!t.shouldUnregister&&!de.keepDefaultValue&&fi(i,ie);c&&k.state.next({values:Qn(o)}),k.state.next({...n,...de.keepDirty?{}:{isDirty:W()}}),!de.keepIsValid&&I()},Me=({disabled:X,name:de})=>{if(ta(X)&&a.mount||X||s.disabled.has(de)){const Be=s.disabled.has(de)!==!!X;
1910X?s.disabled.add(de):s.disabled.delete(de),Be&&a.mount&&!a.action&&I()}},Qe=(X,de={})=>{let ie=Et(r,X);const Re=ta(de.disabled)||ta(t.disabled),Be=!s.registerName.has(X)&&ie&&ie._f&&!ie._f.mount;return Zn(r,X,{...ie||{},_f:{...ie&&ie._f?ie._f:{ref:{name:X}},name:X,mount:!0,...de}}),s.mount.add(X),ie&&!Be?Me({disabled:ta(de.disabled)?de.disabled:t.disabled,name:X}):L(X,!0,de.value),{...Re?{disabled:de.disabled||t.disabled}:{},...t.progressive?{required:!!de.required,min:Qg(de.min),max:Qg(de.max),minLength:Qg(de.minLength),maxLength:Qg(de.maxLength),pattern:Qg(de.pattern)}:{},name:X,onChange:te,onBlur:te,ref:tt=>{if(tt){s.registerName.add(X),Qe(X,de),s.registerName.delete(X),ie=Et(r,X);const at=Wn(tt.value)&&tt.querySelectorAll&&tt.querySelectorAll("input,select,textarea")[0]||tt,ot=D6e(at),ft=ie._f.refs||[];if(ot?ft.find(Pt=>Pt===at):at===ie._f.ref)return;const Je={...ie._f};ot?(Je.refs=[...ft.filter(eR),at,...Array.isArray(Et(i,X))?[{}]:[]],Je.ref={type:at.type,name:X}):(Je.ref=at,delete Je.refs),Zn(r,X,{_f:Je}),L(X,!1,void 0,at)}else ie=Et(r,X,{}),ie._f&&(ie._f.mount=!1),(t.shouldUnregister||de.shouldUnregister)&&!(vZ(s.array,X)&&a.action)&&s.unMount.add(X)}}},Fe=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&Bm(r,ce,s.mount),Ve=X=>{ta(X)&&(k.state.next({disabled:X}),Bm(r,(de,ie)=>{const Re=Et(r,ie);Re&&(de.disabled=Re._f.disabled||X,Array.isArray(Re._f.refs)&&Re._f.refs.forEach(Be=>{Be.disabled=Re._f.disabled||X}))},0,!1))},be=(X,de)=>async ie=>{let Re,Be;ie&&(ie.preventDefault&&ie.preventDefault(),ie.persist&&ie.persist());let tt=Qn(o);if(k.state.next({isSubmitting:!0}),t.resolver){const{errors:at,values:ot}=await B();A(),n.errors=at,tt=Qn(ot)}else await O({fields:r,eventType:Rc.SUBMIT});if(s.disabled.size)for(const at of s.disabled)fi(tt,at);if(fi(n.errors,yZ),Xi(n.errors)){k.state.next({errors:{}});try{Re=await X(tt,ie)}catch(at){Be=at}}else de&&await de({...n.errors},ie),Fe(),setTimeout(Fe);if(k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Xi(n.errors)&&!Be,submitCount:n.submitCount+1,errors:n.errors}),Be)throw Be;return Re},Ae=(X,de={})=>{Et(r,X)&&(Wn(de.defaultValue)?Y(X,Qn(Et(i,X))):(Y(X,de.defaultValue),Zn(i,X,Qn(de.defaultValue))),de.keepTouched||fi(n.touchedFields,X),de.keepDirty||(fi(n.dirtyFields,X),n.isDirty=de.defaultValue?W(X,Qn(Et(i,X))):W()),de.keepError||(fi(n.errors,X),I()),k.state.next({...n}))},ke=(X,de={})=>{const ie=X?Qn(X):i,Re=Qn(ie),Be=Xi(X),tt=Re,at=r;if(de.keepDefaultValues||(i=ie),!de.keepValues){if(de.keepDirtyValues){const ot=new Set([...s.mount,...AZ(tf(i,o,void 0,at),n.dirtyFields)]);for(const ft of ot){const Je=Et(n.dirtyFields,ft),Pt=Et(o,ft),Ht=Et(tt,ft);Je&&!Wn(Pt)?Zn(tt,ft,Pt):!Je&&!Wn(Ht)&&Y(ft,Ht)}}else{if(KC&&Wn(X))for(const ot of s.mount){const ft=Et(r,ot);if(ft&&ft._f){const Je=Array.isArray(ft._f.refs)?ft._f.refs[0]:ft._f.ref;if(WE(Je)){const Pt=Je.closest("form");if(Pt){Pt.reset();break}}}}if(de.keepFieldsRef)for(const ot of s.mount)Y(ot,Et(tt,ot));else r={}}if(t.shouldUnregister){if(o=de.keepDefaultValues?Qn(i):{},de.keepFieldsRef)for(const ot of s.mount)Zn(o,ot,Et(tt,ot))}else o=Qn(tt);k.array.next({values:{...tt}}),k.state.next({name:void 0,type:void 0,values:{...tt}})}s={mount:de.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},a.mount=!g.isValid||!!de.keepIsValid||!!de.keepDirtyValues||!t.shouldUnregister&&!Xi(tt),a.watch=!!t.shouldUnregister,a.keepIsValid=!!de.keepIsValid,a.action=!1,a.actionArrayLengths.clear(),de.keepErrors||(n.errors={}),k.state.next({submitCount:de.keepSubmitCount?n.submitCount:0,isDirty:Be?!1:de.keepDirty?n.isDirty:de.keepValues?W():!!(de.keepDefaultValues&&!na(X,i)),isSubmitted:de.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Be?{}:de.keepDirtyValues?de.keepDefaultValues&&o?tf(i,o,void 0,at):n.dirtyFields:de.keepDefaultValues&&X?tf(i,X,void 0,at):de.keepDirty?n.dirtyFields:{},touchedFields:de.keepTouched?n.touchedFields:{},errors:de.keepErrors?n.errors:{},isSubmitSuccessful:de.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},ue=(X,de)=>ke(wo(X)?X(o):X,{...t.resetOptions,...de}),ze=(X,de={})=>{const ie=Et(r,X),Re=ie&&ie._f;
1910if(Re){const Be=Re.refs?Re.refs[0]:Re.ref;Be.focus&&setTimeout(()=>{Be.focus(),de.shouldSelect&&wo(Be.select)&&Be.select()})}},et=X=>{const{name:de,type:ie,values:Re,...Be}=X;n={...n,...Be}};k.state.subscribe({next:et});const We={control:{register:Qe,unregister:Pe,getFieldState:pe,handleSubmit:be,setError:Se,_subscribe:Ee,_runSchema:B,_updateIsValidating:A,_focusError:Fe,_getWatch:U,_getDirty:W,_setValid:I,_setFieldArray:R,_setDisabledField:Me,_setErrors:D,_getFieldArray:q,_reset:ke,_resetDefaultValues:()=>wo(t.defaultValues)&&t.defaultValues().then(X=>{ue(X,t.resetOptions),k.state.next({isLoading:!1})}),_removeUnmounted:V,_disableForm:Ve,_subjects:k,_proxyFormState:g,get _fields(){return r},get _formValues(){return o},get _state(){return a},set _state(X){a=X},get _defaultValues(){return i},get _names(){return s},set _names(X){s=X},get _formState(){return n},get _options(){return t},set _options(X){t={...t,...X},f=Im(t.mode),p=Im(t.reValidateMode)}},subscribe:ye,trigger:ne,register:Qe,handleSubmit:be,watch:De,setValue:Y,setValues:ee,getValues:Ce,getErrors:ae,reset:ue,resetField:Ae,resetDefaultValues:(X,de={})=>{if(i=Qn(X),!de.keepDirty){const ie=tf(i,o,void 0,r);n.dirtyFields=ie,n.isDirty=!Xi(ie)}de.keepIsValid||I(),k.state.next({...n,defaultValues:i})},clearErrors:ve,unregister:Pe,setError:Se,setFocus:ze,getFieldState:pe};return{...We,formControl:We}}function LZ(e={}){const t=Ye.useRef(void 0),n=Ye.useRef(void 0),r=Ye.useRef(e.formControl),[i,o]=Ye.useState(()=>({...Qn(xZ),isLoading:wo(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:wo(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&r.current!==e.formControl)if(r.current=e.formControl,e.formControl)t.current={...e.formControl,formState:i},e.defaultValues&&!wo(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:u,...c}=K6e(e);t.current={...c,formState:i}}const a=t.current.control;a._options=e;const{resyncIfNeeded:s,snapshot:l}=tD();return $C(()=>{const u=()=>({...a._formState,defaultValues:a._defaultValues});s(!0,u,o);const c=a._subscribe({formState:a._proxyFormState,callback:()=>o({...a._formState,defaultValues:a._defaultValues}),reRenderRoot:!0});return o(f=>({...f,isReady:!0})),a._formState.isReady=!0,()=>{c(),l(!0,u)}},[a,s,l]),Ye.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),Ye.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode)},[a,e.mode,e.reValidateMode]),Ye.useEffect(()=>{e.errors&&(a._setErrors(e.errors),a._focusError())},[a,e.errors]),Ye.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),Ye.useEffect(()=>{if(a._proxyFormState.isDirty){const u=a._getDirty();u!==i.isDirty&&a._subjects.state.next({isDirty:u})}},[a,i.isDirty]),Ye.useEffect(()=>{var u;e.values&&!na(e.values,n.current)?(a._reset(e.values,{keepFieldsRef:!0,...a._options.resetOptions}),!((u=a._options.resetOptions)===null||u===void 0)&&u.keepIsValid||a._setValid(),n.current=e.values,o(c=>({...c}))):a._resetDefaultValues()},[a,e.values]),Ye.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=Ye.useMemo(()=>kZ(i,a),[a,i]),t.current}const Y6e=e=>{const{_:t}=Tn(),{controllerProps:n,onInputChange:r,defaultBackground:i=!1,...o}=e,{field:{onChange:a,...s},fieldState:{error:l,invalid:u}}=bZ(n),c=mq(r,500);return b.jsx(b_,{...o,...s,autoComplete:"off",onChange:f=>{a(f),c()},disabled:n.disabled,error:u,helperText:l?.message??b.jsx(ei,{component:"span","aria-disabled":n.disabled,children:o.helperText??t(b6e)}),label:o.label??t({id:"AuvdmS"}),placeholder:o.placeholder??t({id:"5pTR9O"}),slotProps:{...o.slotProps,input:{...o.slotProps?.input,endAdornment:!n.disabled&&b.jsx(d_,{position:"end",children:u?b.jsx(E6e,{color:"error"}):s.value?b.jsx(Z_,{color:"success"}):b.jsx(b.Fragment,{})}),sx:{bgcolor:u?void 0:n.disabled?"action.disabledBackground":i?"background.default":"inherit"}}}})},Uct=/^[a-z0-9 ._-]+$/,$6e=/^[a-z0-9_-]+$/,h8=(e,t,n)=>{if(e&&"reportValidity"in e){const r=Et(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},W1=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?h8(r.ref,n,e):r&&r.refs&&r.refs.forEac
1910h(i=>h8(i,n,e))}},g8=(e,t)=>{t.shouldUseNativeValidation&&W1(e,t);const n={};for(const r in e){const i=Et(t.fields,r),o=Object.assign(e[r]||{},{ref:i&&i.refs?i.refs[0]:i&&i.ref});if(J6e(t.names||Object.keys(e),r)){const a=Object.assign({},Et(n,r));Zn(a,"root",o),Zn(n,r,a)}else Zn(n,r,o)}return n},J6e=(e,t)=>{const n=v8(t).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some(r=>v8(r).match(`^${n}\\.\\d+`))};function v8(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function q1(){return q1=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},q1.apply(null,arguments)}function y8(e,t){try{var n=e()}catch(r){return t(r)}return n&&n.then?n.then(void 0,t):n}function Z6e(e,t){for(var n=Object.create(null);e.length;){var r=e[0],i=r.code,o=r.message,a=r.path.join(".");if(!n[a])if("unionErrors"in r){var s,l,u=r.unionErrors.reduce(function(p,v){return v.errors.length<p.errors.length?v:p}).errors[0];n[a]={message:(s=u?.message)!=null?s:o,type:(l=u?.code)!=null?l:i}}else n[a]={message:o,type:i};if("unionErrors"in r&&r.unionErrors.forEach(function(p){return p.errors.forEach(function(v){return e.push(v)})}),t){var c=n[a].types,f=c&&c[r.code];n[a]=rD(a,t,n,i,f?[].concat(f,r.message):r.message)}e.shift()}return n}function Q6e(e,t){for(var n=Object.create(null),r=function(){var i=e[0],o=i.code,a=i.message,s=i.path.join(".");if(!n[s])if(i.code==="invalid_union"&&i.errors.length>0){var l,u,c=i.errors.reduce(function(v,g){return g.length<v.length?g:v})[0];n[s]={message:(l=c?.message)!=null?l:a,type:(u=c?.code)!=null?u:o}}else n[s]={message:a,type:o};if(i.code==="invalid_union"&&i.errors.forEach(function(v){return v.forEach(function(g){return e.push(q1({},g,{path:[].concat(i.path,g.path)}))})}),t){var f=n[s].types,p=f&&f[i.code];n[s]=rD(s,t,n,o,p?[].concat(p,i.message):i.message)}e.shift()};e.length;)r();return n}function OZ(e,t,n){if(n===void 0&&(n={}),(function(r){return"_zod"in r&&typeof r._zod=="object"})(e))return function(r,i,o){try{return Promise.resolve(y8(function(){function a(l){return o.shouldUseNativeValidation&&W1({},o),{errors:{},values:n.raw?Object.assign({},r):l}}var s=e;return n.mode==="sync"?a(s.parse(r,t)):Promise.resolve(s.parseAsync(r,t)).then(a)},function(a){if((function(s){var l;return!(s==null||(l=s._zod)==null||(l=l.traits)==null||!l.has("$ZodError"))})(a))return{values:{},errors:g8(Q6e(a.issues,!o.shouldUseNativeValidation&&o.criteriaMode==="all"),o)};throw a}))}catch(a){return Promise.reject(a)}};if((function(r){return"_def"in r&&typeof r._def=="object"})(e))return function(r,i,o){try{return Promise.resolve(y8(function(){return Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(a){return o.shouldUseNativeValidation&&W1({},o),{errors:{},values:n.raw?Object.assign({},r):a}})},function(a){if((function(s){return Array.isArray(s?.issues)})(a))return{values:{},errors:g8(Z6e(a.errors,!o.shouldUseNativeValidation&&o.criteriaMode==="all"),o)};throw a}))}catch(a){return Promise.reject(a)}};throw new Error("Invalid input: not a Zod schema")}const X6e=(e,t)=>o$({name:t$().trim().min(1,{error:e({id:"KQfHVq"})}).max(64).regex($6e,{error:e(y6e)}).refine(n=>!t(n),{error:e(k6e)})}),eVe=({onCancel:e,onClose:t,organization:n,sourceImage:r,singleAdd:i})=>{const{_:o}=Tn(),{hasNameCollision:a}=j5e(),{getAccessType:s,fetching:l}=HC(),{name:u,logo:c}=r,[{fetching:f},p]=Ul(WJ),{control:v,formState:{isValid:g},handleSubmit:y,trigger:k,reset:E}=LZ({resolver:OZ(X6e(o,a)),mode:"onBlur",defaultValues:{name:u}}),[S,T]=m.useState(),[I,A]=m.useState(),{pathname:w}=qr(),{canAccess:R,container:x,package:D}=cp(),{enqueueSnackbar:M}=uk(),F=w.endsWith("organization")?"organization":w.endsWith("public")?"chainguard-catalog":"image-details",L=s(r),P=y(async({name:B})=>{T(void 0);const{data:H,error:G}=await p({name:B,organizationId:n.id,sourceID:r.uidp});if(G){T(R$(G).join(", "));return}if(H?.createRepo){const O=H.createRepo.name;rr.track("AddImageFinish",{orgName:n.name,from:F,sourceImage:r.name,name:O}),R(jr.ADD_IMAGE)||rr.track("PlanBadAccess",{orgId:n.id,orgName:n.name,feature:jr.ADD_IMAGE,container:x.plan,package:D.hasEntitlements}
1910),i?(M({message:o({id:"G-9wbB",values:{createdRepoName:O}}),variant:"success"}),t()):A(O)}}),j=()=>{rr.track("AddImageAnother",{orgName:n.name,afterAdding:r.name}),E(),A(void 0),T(void 0),e()};return m.useEffect(()=>{k("name")},[]),I?b.jsxs(zn,{sx:{gap:2},children:[b.jsxs(cE,{severity:"success",children:[b.jsx(B6,{children:b.jsx(yn,{id:"9UYMnL",values:{newRepoName:I}})}),b.jsx(yn,{id:"MD9Rgd"})]}),b.jsx(En,{variant:"body2",color:"textSecondary",children:b.jsx(yn,{id:"ahbb0O"})}),b.jsxs(zn,{sx:{flexDirection:"row",justifyContent:"space-between"},children:[b.jsx(Li,{onClick:t,size:"small",variant:"text",children:b.jsx(yn,{id:"yz7wBu"})}),b.jsx(Li,{color:"primary",onClick:j,size:"small",children:b.jsx(yn,{id:"z9AsQ8"})})]})]}):b.jsxs(zn,{component:"form",onSubmit:P,sx:{gap:2},children:[b.jsx(b_,{autoComplete:"off",label:o({id:"P0qMd6"}),value:u,title:u,readOnly:!0,helperText:o({id:"FWlgk5"}),slotProps:{input:{startAdornment:b.jsx(d_,{position:"start",children:b.jsx(c,{size:20})}),endAdornment:l?b.jsx(py,{width:160,children:b.jsx(Hf,{})}):YJ(L)&&b.jsx(Hf,{label:o({id:"Za2Oyz"}),color:"info",sx:{ml:.5}})}}}),b.jsx(Y6e,{autoFocus:!0,controllerProps:{control:v,disabled:f,name:"name"},defaultBackground:!0,label:o({id:"kaxKmV"}),placeholder:o({id:"qVtZbC"}),onInputChange:()=>k("name"),required:!0}),S&&b.jsxs(cE,{severity:"error",children:[b.jsx(B6,{children:b.jsx(yn,{id:"gEHQ3K"})}),S,b.jsx(En,{variant:"inherit",sx:{mt:1},children:b.jsx(yn,{id:"Xjn_yx"})})]}),b.jsxs(zn,{sx:{flexDirection:"row",justifyContent:i?"flex-end":"space-between"},children:[!i&&b.jsx(Li,{onClick:e,size:"small",variant:"text",children:b.jsx(yn,{id:"dEgA5A"})}),b.jsx(v6e,{organizationId:n.id,capabilities:[K.REPO_CREATE],renderContent:B=>b.jsx(Li,{color:"primary",disabled:!B||!g,loading:f,size:"small",type:"submit",children:b.jsx(yn,{id:"P5MuiB"})})})]})]})},GE=typeof window<"u"?m.useLayoutEffect:m.useEffect;function k8(e){if(e!==void 0)switch(typeof e){case"number":return e;case"string":{if(e.endsWith("px"))return parseFloat(e);break}}}function tVe({box:e,defaultHeight:t,defaultWidth:n,disabled:r,element:i,mode:o,style:a}){const{styleHeight:s,styleWidth:l}=m.useMemo(()=>({styleHeight:k8(a?.height),styleWidth:k8(a?.width)}),[a?.height,a?.width]),[u,c]=m.useState({height:t,width:n}),f=r||s!==void 0||o==="only-width"||s!==void 0&&l!==void 0;return GE(()=>{if(i===null||f)return;const p=new ResizeObserver(v=>{for(const g of v){const{contentRect:y,target:k}=g;i===k&&c(E=>E.height===y.height&&E.width===y.width?E:{height:y.height,width:y.width})}});return p.observe(i,{box:e}),()=>{p?.unobserve(i)}},[e,f,i,s,l]),m.useMemo(()=>({height:s??u.height,width:l??u.width}),[u,s,l])}function nVe(e){const t=m.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return GE(()=>{t.current=e},[e]),m.useCallback(n=>t.current?.(n),[t])}function nR({containerElement:e,direction:t,isRtl:n,scrollOffset:r}){return r}function Hc(e,t="Assertion error"){if(!e)throw console.error(t),Error(t)}function qv(e,t){if(e===t)return!0;if(!!e!=!!t||(Hc(e!==void 0),Hc(t!==void 0),Object.keys(e).length!==Object.keys(t).length))return!1;for(const n in e)if(!Object.is(t[n],e[n]))return!1;return!0}
1910function PZ({cachedBounds:e,itemCount:t,itemSize:n}){if(t===0)return 0;if(typeof n=="number")return t*n;{const r=e.get(e.size===0?0:e.size-1);Hc(r!==void 0,"Unexpected bounds cache miss");const i=(r.scrollOffset+r.size)/e.size;return t*i}}function rVe({align:e,cachedBounds:t,index:n,itemCount:r,itemSize:i,containerScrollOffset:o,containerSize:a}){const s=PZ({cachedBounds:t,itemCount:r,itemSize:i}),l=t.get(n),u=Math.max(0,Math.min(s-a,l.scrollOffset)),c=Math.max(0,l.scrollOffset-a+l.size);switch(e==="smart"&&(o>=c&&o<=u?e="auto":e="center"),e){case"start":return u;case"end":return c;case"center":return l.scrollOffset<=a/2?0:l.scrollOffset+l.size/2>=s-a/2?s-a:l.scrollOffset+l.size/2-a/2;default:return o>=c&&o<=u?o:o<c?c:u}}function b8({cachedBounds:e,containerScrollOffset:t,containerSize:n,itemCount:r,overscanCount:i}){const o=r-1;let a=0,s=-1,l=0,u=-1,c=0;for(;c<o;){const f=e.get(c);if(f.scrollOffset+f.size>t)break;c++}for(a=c,l=Math.max(0,a-i);c<o;){const f=e.get(c);if(f.scrollOffset+f.size>=t+n)break;c++}return s=Math.min(o,c),u=Math.min(r-1,s+i),a<0&&(a=0,s=-1,l=0,u=-1),{startIndexVisible:a,stopIndexVisible:s,startIndexOverscan:l,stopIndexOverscan:u}}function iVe({itemCount:e,itemProps:t,itemSize:n}){const r=new Map;return{get(i){for(Hc(i<e,`Invalid index ${i}`);r.size-1<i;){const a=r.size;let s;switch(typeof n){case"function":{s=n(a,t);break}case"number":{s=n;break}}if(a===0)r.set(a,{size:s,scrollOffset:0});else{const l=r.get(a-1);Hc(l!==void 0,`Unexpected bounds cache miss for index ${i}`),r.set(a,{scrollOffset:l.scrollOffset+l.size,size:s})}}const o=r.get(i);return Hc(o!==void 0,`Unexpected bounds cache miss for index ${i}`),o},set(i,o){r.set(i,o)},get size(){return r.size}}}function oVe({itemCount:e,itemProps:t,itemSize:n}){return m.useMemo(()=>iVe({itemCount:e,itemProps:t,itemSize:n}),[e,t,n])}function aVe({containerSize:e,itemSize:t}){let n;return typeof t==="string"?(Hc(t.endsWith("%"),`Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`),Hc(e!==void 0,"Container size must be defined if a percentage item size is specified"),n=e*parseInt(t)/100):n=t,n}function sVe({containerElement:e,containerStyle:t,defaultContainerSize:n=0,direction:r,isRtl:i=!1,itemCount:o,itemProps:a,itemSize:s,onResize:l,overscanCount:u}){const[c,f]=m.useState({startIndexVisible:0,startIndexOverscan:0,stopIndexVisible:-1,stopIndexOverscan:-1}),{startIndexVisible:p,startIndexOverscan:v,stopIndexVisible:g,stopIndexOverscan:y}={startIndexVisible:Math.min(o-1,c.startIndexVisible),startIndexOverscan:Math.min(o-1,c.startIndexOverscan),stopIndexVisible:Math.min(o-1,c.stopIndexVisible),stopIndexOverscan:Math.min(o-1,c.stopIndexOverscan)},{height:k=n,width:E=n}=tVe({defaultHeight:n,defaultWidth:void 0,element:e,mode:"only-height",style:t}),S=m.useRef({height:0,width:0}),T=k,I=aVe({containerSize:T,itemSize:s});m.useLayoutEffect(()=>{if(typeof l=="function"){const M=S.current;(M.height!==k||M.width!==E)&&(l({height:k,width:E},{...M}),M.height=k,M.width=E)}},[k,l,E]);const A=oVe({itemCount:o,itemProps:a,itemSize:I}),w=m.useCallback(M=>A.get(M),[A]),R=m.useCallback(()=>PZ({cachedBounds:A,itemCount:o,itemSize:I}),[A,o,I]),x=m.useCallback(M=>{const F=nR({containerElement:e,direction:r,isRtl:i,scrollOffset:M});return b8({cachedBounds:A,containerScrollOffset:F,containerSize:T,itemCount:o,overscanCount:u})},[A,e,T,r,i,o,u]);GE(()=>{const M=e?.scrollTop??0;f(x(M))},[e,r,x]),GE(()=>{if(!e)return;const M=()=>{f(F=>{const{scrollLeft:L,scrollTop:P}=e,j=nR({containerElement:e,direction:r,isRtl:i,scrollOffset:P}),B=b8({cachedBounds:A,containerScrollOffset:j,containerSize:T,itemCount:o,overscanCount:u});return qv(B,F)?F:B})};return e.addEventListener("scroll",M),()=>{e.removeEventListener("scroll",M)}},[A,e,T,r,o,u]);const D=nVe(({align:M="auto",containerScrollOffset:F,index:L})=>{let P=rVe({align:M,cachedBounds:A,containerScrollOffset:F,containerSize:T,index:L,itemCount:o,itemSize:I});if(e){if(P=nR({containerElement:e,direction:r,isRtl:i,scrollOffset:P}),typeof e.scrollTo!="function"){const j=x(P);qv(c,j)||f(j)}return P}});return{getCellBounds:w,getEstimatedSize:R,scrollToIndex:D,startIndexOverscan:v,startIndexVisible:p,stopIndexOverscan:y,stopIndexVisible:g}}function lVe(e){return m.useMemo(()=>e,Object.values(e))}function uVe(e,t){const{ariaAttributes:n,style:r,...i}=e,{ariaAttributes:o,style:a,...s}=t;return qv(n,o)&&qv(r,a)&&qv(i,s)}function cVe({children:e,className:t,defaultHeight:n=0,listRef:r,onResize:i,onRowsRendered:o,overscanCount:a=3,rowComponent:s,rowCount:l,rowHeight:u,rowProps:c,tagName:f="div",style:p,...v}){const g=lVe(c),y=m.useMemo(()=>m.memo(s,uVe),[s]),[k,E]=m.useState(null),{getCellBounds:S,getEstimatedSize:T,scrollToIndex:I,startIndexOverscan:A,startIndexVisible:w,stopIndexOverscan:R,stopIndexVisible:x}=sVe({containerElement:k,containerStyle:p,defaultContainerSize:n,direction:"vertical",itemCount:l,itemProps:g,itemSize:u,onResize:i,overscanCount:a});m.useImperativeHandle(r,()=>
1910({get element(){return k},scrollToRow({align:F="auto",behavior:L="auto",index:P}){const j=I({align:F,containerScrollOffset:k?.scrollTop??0,index:P});typeof k?.scrollTo=="function"&&k.scrollTo({behavior:L,top:j})}}),[k,I]),m.useEffect(()=>{A>=0&&R>=0&&o&&o({startIndex:w,stopIndex:x},{startIndex:A,stopIndex:R})},[o,A,w,R,x]);const D=m.useMemo(()=>{const F=[];if(l>0)for(let L=A;L<=R;L++){const P=S(L);F.push(m.createElement(y,{...g,ariaAttributes:{"aria-posinset":L+1,"aria-setsize":l,role:"listitem"},key:L,index:L,style:{position:"absolute",left:0,transform:`translateY(${P.scrollOffset}px)`,height:P.size,width:"100%"}}))}return F},[y,S,l,g,A,R]),M=b.jsx("div",{"aria-hidden":!0,style:{height:T(),width:"100%",zIndex:-1}});return m.createElement(f,{role:"list",...v,className:t,ref:E,style:{position:"relative",maxHeight:"100%",flexGrow:1,overflowY:"auto",...p}},D,e,M)}const dVe=(e,t)=>{const{_:n}=Tn(),{children:r,itemSize:i,maxItems:o,ListItemComponent:a,style:s,width:l="100%",role:u="listbox","aria-label":c=n({id:"996xRf"}),sx:f,...p}=P0e(e),v={role:u,tabIndex:0,"aria-label":c},g=r.flatMap(E=>[E,...E.children||[]]),y=m.useRef(null),k=m.useRef(null);return m.useEffect(()=>{y.current?.scrollToRow({index:0,align:"start"}),setTimeout(()=>y.current?.scrollToRow({index:0,align:"start"}))},[g.length]),m.useEffect(()=>{const E=k.current;if(!E)return;const S=new MutationObserver(()=>{E.querySelector(".Mui-focused")?.scrollIntoView({block:"nearest"})});return S.observe(E,{subtree:!0,attributes:!0,attributeFilter:["class"]}),()=>S.disconnect()},[]),b.jsx(ei,{ref:E=>{k.current=E,typeof t=="function"?t(E):t&&(t.current=E)},sx:Js({height:Math.min(o,g.length)*i,ul:{p:0,m:0},"li:hover, li.Mui-focused":{bgcolor:"action.hover",cursor:"pointer"}},f),...p,children:b.jsx(cVe,{rowProps:{data:g},style:{width:l,...s},listRef:y,tagName:"ul",rowComponent:a,rowHeight:i,rowCount:g.length,...v})})},_Z=m.forwardRef(dVe);_Z.displayName="VirtualizedListBox";const fVe=$e("div")({[`&.${In.popperDisablePortal}`]:{position:"relative"}}),pVe=e=>{const{anchorEl:t,disablePortal:n,open:r,...i}=e;return b.jsx(fVe,{...i})},mVe={borderRadius:0,border:0,width:"100%",[`& .${In.noOptions}`]:{p:1,pt:1}},hVe={default:{popper:{sx:{[`& .${In.noOptions}`]:{bgcolor:"background.default"}}},listbox:{sx:{bgcolor:"background.default"}}},paper:{popper:{sx:{[`& .${In.noOptions}`]:{bgcolor:"background.paper"}}},listbox:{sx:{bgcolor:"background.paper"}}}},aD=e=>Qt(e.palette.error.main,.16),gVe={styleOverrides:{root:({theme:e})=>({fontSize:e.typography.body2.fontSize})}},vVe={styleOverrides:{positionStart:({theme:e})=>({"& p":{fontSize:e.typography.body2.fontSize},"& svg":{color:e.palette.text.secondary,fontSize:"20px"}}),positionEnd:({theme:e})=>({"& p":{fontSize:e.typography.body2.fontSize}})}},yVe={styleOverrides:{root:{'& input[type="search"]::-webkit-search-decoration,\n & input[type="search"]::-webkit-search-cancel-button,\n & input[type="search"]::-webkit-search-results-button,\n & input[type="search"]::-webkit-search-results-decoration':{display:"none"},variants:[{props:{readOnly:!0},style:({theme:e})=>({backgroundColor:e.palette.action.readOnly,"& > input, textarea":{cursor:"default"},"& > fieldset":{border:"none"}})}]},notchedOutline:({theme:e})=>({border:`1px solid ${e.palette.form}`,"& legend":{fontSize:"0.85em"}}),error:({theme:e})=>({backgroundColor:aD(e)}),input:{variants:[{props:{size:"small"},style:{height:"23px",[`&.${mm.select}`]:{height:"23px"}}}]}}},kVe={defaultProps:{variant:"outlined"}},bVe={defaultProps:{"aria-live":"polite"},styleOverrides:{root:({theme:e})=>({margin:0,marginTop:e.spacing(.5)})}},g0={CONTACT_US:{id:"8771b667-8503-46a2-85c1-34b4d286519f",header:{id:"5Axf3M"},subheader:{id:"ej406h"},sfdcCampaignId:"701Dp000000YJtBIAW"},REQUEST_SKILL:{id:"e6684946-0c0f-43d0-89cc-4f32e0ae6adf",header:{id:"PHokMS"},subheader:{id:"rTCLIk"}},REQUEST_TRIAL:{id:"c80a6fd1-5e58-4705-9b2e-6a609895c60e",header:{id:"fCr3sl"},subheader:{id:"AaXB_0"},sfdcCampaignId:"701Dp000000YJtBIAW"}},SVe=({isModalOpen:e,closeModal:t,formOptions:n})=>{const{_:r}=Tn(),[i,o]=m.useState(!1),[a,s]=m.useState(!1),l=Ku(),u=m.useRef(null),c=m.useRef(null),f=ga(),p=m.useCallback(()=>{t()},[t]),v=m.useCallback(()=>{u.current&&(u.current.style.opacity="1",u.current.style.minHeight="539px")},[]),g=m.useCallback(()=>{const k=u.current,E=c.current;if(!k||!E){rr.track("HubspotFormError",{reason:"Could not find #hs-form-card or #hs-form-container"});return}const S=()=>{const T=E.querySelector("form.hs-form");if(T){const I=T.querySelector(".hs_submit.hs-submit"),A=T.querySelector("fieldset:has(.legal-consent-container)");if(I&&A&&T.insertBefore(I,A),n.type==="REQUEST_TRIAL"){const R=T.querySelector(".hs-input.hs-fieldtype-textarea[name='additional_notes']");R&&(R.textContent=n.imageName||null)}if(n.type==="REQUEST_SKILL"){const R=T.querySelector(".hs-input[name='which_public_skills_would_you_like_hardened']");R&&(R.value=n.skillName||"")}T.querySelector("input:not([type='hidden']):not([type='submit']), textarea, select")?.focus()}};v(),S()},[v,n]),y=m.useCallback(()=>{s(!0)},[]);return b.jsxs(wK,{open:e,onClose:p,slotProps:{paper:{ref:u,id:"hs-form-card",sx:{opacity:0,transition:"opacity 0.3s ease-in-out",maxWidth:600,position:"relative"},elevation:0},transition:{onExited:()=>{s(!1),o(!1)}}},children:[b.jsx(Lo,{color:"inherit","aria-label":r({id:"cu6iol"}),onClick:p,size:"medium",sx:{position:"absolute",top:20,right:20},children:b.jsx(Mu,{})}),!a&&b.jsxs(ei,{children:[b.jsx(xK,{sx:{paddingTop:6.25,paddingBottom:0,paddingX:l?0:5,marginBottom:1,color:f.palette.text.primary,textAlign:"center",fontSize:"2.25rem"},children:r(g0[n.type].header)}),b.jsx(ei,{sx:{borderBottom:`1px solid ${f.palette.divider}`,marginX:l?3:5},children:b.jsx(En,{variant:"body2",sx:{color:f.palette.text.secondary,textAlign:"center",maxWidth:400,margin:"0 auto 24px auto"},children:r(g0[n.type].subheader)})})]}),b.jsx(NK,{sx:{paddingBottom:3.5,paddingX:l?3:5,overflow:"unset",display:a?"flex":"block",alignItems:a?"center":"initial",textAlign:a?"center":"left"},children:b.jsxs(ei,{children:[a&&b.jsxs(ei,{sx:{marginBottom:3},children:[b.jsx("img",{src:"/hubspot/success-check.svg",alt:r({id:"yrdkCW"})}),b.jsx(En,{variant:"h2",sx:{color:f.palette.text.primary,marginTop:6},children:b.jsx(yn,{id:"1LLF3Z"})})]}),b.jsxs(RK,{component:"div",sx:{maxWidth:a?"80%":"none",margin:a?"auto":"initial"},children:[b.jsx(EVe,{onFormReady:g,onFormSubmitted:y,formId:g0[n.type].id,formType:n.type,sfdcCampaignId:g0[n.type].sfdcCampaignId,setIsError:o,showHsModal:v,formContainerRef:c}),i&&b.jsx(En,{sx:{color:f.palette.text.primary},children:b.jsx(yn,{id:"bmHkmc"})})]})]})})]})},EVe=({formId:e,formContainerRef:t,setIsError:n,onFormReady:r,onF
1910ormSubmitted:i,sfdcCampaignId:o,formType:a,showHsModal:s})=>(m.useEffect(()=>{const l=document.createElement("script");return l.src="https://js.hsforms.net/forms/v2.js",document.body.appendChild(l),l.addEventListener("load",()=>{if(window.hbspt){const u={portalId:"21744766",formId:e,target:"#hs-form-container",...o&&{sfdcCampaignId:o},...i&&{onFormSubmitted:i},...r&&{onFormReady:r}};try{window.hbspt.forms.create(u)}catch(c){rr.track("HubspotFormError",{reason:"Failed to create form",error:String(c)}),n(!0),s()}}else rr.track("HubspotFormError",{reason:"Form loader successful but no hbspt property to create form"}),n(!0),s()}),l.addEventListener("error",()=>{rr.track("HubspotFormError",{reason:"Form loader failed"}),n(!0),s()}),()=>{document.body.removeChild(l)}},[e,i,r,o,n,s]),b.jsx(TVe,{id:"hs-form-container",ref:t,className:"hubspotForm",formType:a})),TVe=$e("div")(({formType:e,theme:t})=>({"&.hubspotForm":{label:{marginBottom:8,lineHeight:"24px",fontWeight:400,fontSize:".875rem",display:"inline-block",color:t.palette.text.primary,fontFamily:t.typography.fontFamily},"li::marker":{content:"none"},"fieldset .hs-form-field":{marginBottom:16,"+ .hs-form-field":{paddingLeft:12},".input":{marginRight:0,"ul.inputs-list":{paddingLeft:0,margin:0,".hs-form-booleancheckbox-display":{marginBottom:0,display:"flex",alignItems:"start",gap:8,"& input[type='checkbox']":{marginTop:5}}}},".hs-error-msgs":{paddingLeft:0,margin:0,"label.hs-error-msg":{color:t.palette.error.main,fontSize:".75rem",fontWeight:400,marginBottom:0}}},'input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]), select.hs-input:has(option), textarea.hs-input.hs-fieldtype-textarea':{border:`1px solid ${t.palette.form}`,width:"100%",borderRadius:4,height:40,padding:"8px 12px",fontSize:".875rem",lineHeight:"24px",backgroundColor:t.palette.background.paper,color:t.palette.text.primary,"&:focus-visible":{border:`1px solid ${t.palette.primary.main}`,outline:"none",boxShadow:`0px 0px 0px 3px ${t.palette.divider}`},caretColor:t.palette.primary.main,"&::placeholder":{fontFamily:t.typography.fontFamily,color:t.palette.text.disabled},"&.invalid, &.error":{borderColor:t.palette.error.main,backgroundColor:aD(t)}},'input[type="submit"]':{...t.typography.button,backgroundColor:t.palette.mode==="dark"?t.palette.blurple.main:t.palette.primary.main,borderRadius:t.shape.borderRadius,color:t.palette.mode==="dark"?t.palette.getContrastText(t.palette.blurple.main):t.palette.primary.contrastText,border:0,width:"100%",height:"36.5px",padding:"6px 16px",cursor:"pointer","&:hover":{backgroundColor:t.palette.mode==="dark"?ia(t.palette.blurple.main,.2):t.palette.primary.dark},transition:t.transitions.create(["background-color"],{duration:t.transitions.duration.shortest})},textarea:{padding:"8px 12px",minHeight:e==="CONTACT_US"?57:0,height:e==="CONTACT_US"?"auto":40,fontFamily:t.typography.fontFamily,overflowY:"hidden"},".hs-richtext p":{marginTop:20,marginBottom:24,fontSize:".75rem",lineHeight:1.4,color:t.palette.text.secondary,a:{textDecoration:"underline",color:t.palette.primary.main}},'input[type="checkbox"]':{colorScheme:"light"},"fieldset:has(label span:empty)":{display:"none"},".submitted-message":{color:t.palette.text.secondary}}})),DZ=m.createContext(null);function CVe(){const e=m.useContext(DZ);if(!e)throw new Error("useHubspotModal must be used within HubspotModalProvider");return e}const AVe=({children:e})=>{const[t,n]=m.useState(!1),[r,i]=m.useState({type:"CONTACT_US"}),o=m.useCallback(s=>{i(s),n(!0)},[]),a=m.useCallback(()=>n(!1),[]);return m.useEffect(()=>{new URLSearchParams(window.location.search).get("request-trial")==="true"&&(n(!0),i({type:"REQUEST_TRIAL"}))},[]),b.jsxs(DZ.Provider,{value:{isOpen:t,openModal:o,closeModal:a},children:[e,b.jsx(SVe,{isModalOpen:t,closeModal:a,formOptions:r})]})},sD=m.forwardRef((e,t)=>{const{openModal:n}=CVe(),{children:r,formOptions:i,onClick:o,inlineText:a=!1,...s}=e;return a?b.jsx(_h,{component:"button",type:"button",sx:{verticalAlign:"unset"},onClick:l=>{l.stopPropagation(),o?.(l),n(i)},children:r}):b.jsx(Li,{type:"button",ref:t,...s,onClick:l=>{o?.(l),n(i)},children:r})});sD.displayName="HubspotFormButton";const IVe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M241.62-258.69 210-290.31l413.92-414.31H241.31V-750h460v460h-45.39v-382.62l-414.3 413.93Z"})),MZ=m.memo(IVe),FZ=m.forwardRef((e,t)=>
1910{const{children:n,...r}=e;return b.jsxs(_h,{ref:t,rel:"noopener noreferrer",target:"_blank",...r,children:[n,b.jsx(MZ,{"aria-hidden":"true",sx:{height:18,verticalAlign:"middle"}})]})});FZ.displayName="Outlink";const wVe=({lowercase:e=!1,toFormModal:t=!1})=>{const{_:n}=Tn(),r=n(e?{id:"pOixTq"}:{id:"Bhgd0l"});return t?b.jsx(sD,{formOptions:{type:"CONTACT_US"},inlineText:!0,children:r}):b.jsx(FZ,{href:"https://www.chainguard.dev/contact",children:r})},Vct=({label:e,tooltip:t})=>b.jsx(xs,{title:t,children:b.jsx(sD,{formOptions:{type:"CONTACT_US"},sx:{textWrap:"nowrap"},children:e||b.jsx(yn,{id:"AIYbGt"})})}),NVe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"m701-603.85-93.69-93.3 31.61-32.62L701-667.69l146.08-147.08 32.61 32.62L701-603.85ZM220-150v-616.15q0-23.23 17.08-40.46t40.61-17.23h264.23v45.38H277.69q-4.61 0-8.46 3.85-3.84 3.84-3.84 8.46v546.69L480-310.54l214.61 91.08v-319H740V-150L480-261.54 220-150Zm45.39-628.46h276.53-276.53Z"})),RVe=m.memo(NVe),xVe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M790.61-137.54 531.08-397.08q-29.85 26.42-69.65 40.71-39.81 14.29-82.28 14.29-101.62 0-172.31-70.57-70.68-70.58-70.68-171 0-100.43 70.57-171 70.58-70.58 171.72-70.58 100.14 0 170.69 70.58 70.55 70.57 70.55 170.86 0 42.17-14.38 81.98-14.39 39.81-41.62 72.12l260.15 258.54-33.23 33.61ZM378.54-387.46q81.7 0 138.74-57.12 57.03-57.11 57.03-139.07 0-81.97-57.03-139.08-57.04-57.12-138.74-57.12-82.39 0-139.69 57.12-57.31 57.11-57.31 139.08 0 81.96 57.31 139.07 57.3 57.12 139.69 57.12Z"})),UZ=m.memo(xVe),LVe=e=>{const{_:t}=Tn(),{data:n,index:r,style:i}=e,[o,a,s,l]=n[r],{name:u,logo:c}=s,f=T5e(l);return m.createElement(ei,{component:"li",...o,key:u,style:i,sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",flex:1,gap:1,"&:hover > p":{opacity:1},...f&&{opacity:p=>p.palette.action.disabledOpacity,"&:active":{pointerEvents:"none"},"&:hover, &.Mui-focused":{background:"none !important",cursor:"not-allowed !important"}}}},b.jsxs(b.Fragment,{children:[b.jsxs(zn,{sx:{alignItems:"center",flex:1,flexDirection:"row",gap:1,overflow:"hidden"},children:[b.jsx(c,{size:20}),b.jsx(En,{noWrap:!0,fontSize:"inherit",title:u,"aria-disabled":f,children:u}),YJ(l)&&b.jsx(uLe,{Icon:RVe,color:"text.dim",title:t({id:"D_vbx4"}),sx:{mt:.25}})]}),f?b.jsx(xs,{title:f&&t({id:"pP-eK7"}),placement:"top",children:b.jsx(En,{variant:"body2","aria-disabled":!0,children:b.jsx(yn,{id:"jqzUyM"})})}):a?b.jsx(En,{variant:"body2",color:"primary",sx:{opacity:0,transition:p=>p.transitions.create(["opacity"])},children:a}):null]}))},OVe=m.forwardRef((e,t)=>b.jsx(_Z,{ref:t,...e,itemSize:40,maxItems:8,ListItemComponent:LVe})),VZ=e=>{const{onSelect:t,actionText:n,alwaysOpen:r=!0,background:i="default",customFilterFn:o,id:a,image:s,onClear:l,placeholder:u,noOptionsText:c,disabled:f,sx:p}=e,{_:v}=Tn(),{error:g,fetching:y,images:k}=As({includeHelm:!1}),{fetching:E,getAccessType:S}=HC(),[T,I]=m.useState(""),[A,w]=m.useState(null),R=m.useMemo(()=>s??A,[s,A]),x=m.useMemo(()=>bC(I,250),[I]),D=ry,M=k?.filter(L=>Bf(L.uidp)===D),F=m.useCallback(L=>{w(L),L?t(L):l?.()},[t,l]);return y||E?b.jsx(py,{variant:"rectangular",height:r?368:40,sx:r?void 0:{flex:1}}):g?b.jsx(C1,{query:g.query}):b.jsx(s_,{disabled:f,disableClearable:r,filterOptions:()=>V5e(T,M??[]).filter(L=>o?.(L,S(L))??!0),forcePopupIcon:!r,getOptionLabel:L=>L.name,id:a,isOptionEqualToValue:(L,P)=>L.uidp===P.uidp,noOptionsText:b.jsx(En,{variant:"body2",children:c??b.jsxs(b.Fragment,{children:[b.jsx(yn,{id:"b4bbVJ"})," ",b.jsx(wVe,{})]})}),onChange:(L,P)=>{F(P)},onInputChange:(L,P)=>x(P),open:r||void 0,options:M??[],renderInput:L=>b.jsx(g_,{...L,autoComplete:"off",autoFocus:!0,placeholder:u??v({id:"ot0gId"}),slotProps:{input:{...L.InputProps,startAdornment:b.jsx(d_,{position:"start",children:R?b.jsx(R.logo,{size:20}):b.jsx(UZ,{})}),sx:{bgcolor:"background.default"}}}}),renderOption:(L,P)=>[L,n,P,S(P)],slots:{listbox:OVe,popper:r?pVe:void 0},slotProps:{paper:{sx:mVe},...hVe[i]},value:R,sx:p})},PVe=e=>{const{onClose:t,organization:n,singleAdd:r,sourceImage:i}=e,[o,a]=m.useState(i),s=()=>a(void 0),l=()=>{a(void 0),t()};return o?b.jsx(eVe,{onCancel:s,onClose:l,organization:n,sourceImage:o,singleAdd:r}):b.jsxs(zn,{children:[b.jsx(VZ,{onSelect:a,actionText:b.jsx(yn,{id:"P5MuiB"}),background:"paper"}),b.jsx(td,{sx:{mb:1,mx:-2}}),b.jsx(ZK,{to:"/images/public",underline:"hover",variant:"body2",sx:{mb:-1},children:b.jsx(yn,{id:"TMqv4V"})})]})},_Ve=e=>{const{onClose:t,organization:n}=e,{_:r}=Tn(),i=n.name;return b.jsxs(zn,{children:[b.jsx(ei,{component:EK,title:b.jsx(yn,{id:"gqAGKA",values:{orgName:i}}),action:b.jsx(Lo,{"aria-label":r({id:"cu6iol"}),onClick:t,children:b.jsx(Mu,{})}),slotProps:{title:{variant:"title2"}}}),b.jsx(SK,{children:b.jsx(PVe,{...e})})]})},DVe=e=>{const{anchorEl:t,anchorOrigin:n={vertical:"bottom",horizontal:"right"},transformOrigin:r={vertical:"top",horizontal:"right"},...i}=e;return t?b.jsx(wC,{open:!0,anchorEl:t,onClose:i.onClose,anchorOrigin:n,transformOrigin:r,disableRestoreFocus:!0,slotProps:{paper:{sx:{width:450}}},children:b.jsx(_Ve,{...i})}):b.jsx(b.Fragment,{})},MVe=e=>e==="FAILED_AUTHENTICATION"?{id:"wgP9yT"}:{id:"M9NLFq"},FVe=async({imageName:e,orgName:t,imageId:n,missingImages:r,type:i="image"})=>{try{if(!(await mo("/zendeskauthentication?token=false")).ok)return{error:!0,reason:"FAILED_AUTHENTICATION"};const a=await mo("/zendeskimagerequest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({imageName:e,orgName:t,imageId:n,missingImages:r,type:i})});if(a.ok){const{id:s}=await a.json();return{error:!1,ticket:{type:"ticket",display_id:`Ticket #${s}`}}}return{error:!0,reason:"FAILED_CREATE_TICKET"}}catch{return{error:!0,reason:"FAILED_CREATE_TICKET"}}},UVe=e=>{const{_:t}=Tn(),{onClose:n,onCancel:r,onConfirm:i,onConfirmAsync:o,open:a,title:s,confirmButtonText:l=t({id:"7VpPHA"}),cancelButtonText:u=t({id:"dEgA5A"}),hideCloseButton:c=!1,closeOnConfirm:f=!0,slotProps:p,children:v,ConfirmButton:g,...y}=e,[k,E]=m.useState(!1),S=Ku();return b.jsxs(wK,{...y,open:a,onClose:n,children:[b.jsxs(xK,{display:"flex",gap:1,justifyContent:"space-between",children:[s,!c&&b.jsx(Lo,{"aria-label":t({id:"cu6iol"}),onClick:n,sx:{mt:-.5,alignSelf:"flex-start"},children:b.jsx(Mu,{})})]}),b.jsx(NK,{children:typeof v=="string"?b.jsx(RK,{children:v}):v}),b.jsxs(aRe,{children:[b.jsx(Li,{onClick:()=>{r?.(),n()},variant:"outlined",size:S?"small":"medium",...p?.cancelButton,children:u}),o&&b.jsx(Li,{onClick:async()=>{E(!0),await o(),E(!1),f&&n()},loading:k,size:S?"small":"medium",...p?.confirmButton,children:l}),g||i&&b.jsx(Li,{onClick:()=>{i(),f&&n()},size:S?"small":"medium",...p?.confirmButton,children:l})]})]})},VVe=o$({name:t$()}),BVe=({open:e,organization:t,onClose:n,image:r})=>{const{_:i}=Tn(),{canAccess:o,container:a,package:s}=cp(),{control:l,formState:{isValid:u},handleSubmit:c,reset:f}=LZ({resolver:OZ(VVe),mode:"onChange",defaultValues:{name:r?.name}}),p=t.name,[v,g]=m.useState(r),[y,k]=m.useState(),[E,S]=m.useState(),T=c(async({name:A})=>{k(void 0);
1910const w=await FVe({imageName:A,orgName:t.name});if(w.error){k(i(MVe(w.reason)));return}rr.track("NewSupportImageRequest",{platform:"Zendesk Console",orgName:t.name,name:A}),o(jr.FILL_IMAGE_SLOT)||rr.track("PlanBadAccess",{orgId:t.id,orgName:t.name,feature:jr.FILL_IMAGE_SLOT,container:a.plan,package:s.hasEntitlements}),S(w.ticket.display_id)}),I=()=>{f(),g(r),k(void 0),S(void 0),n()};return e&&b.jsx(UVe,{open:!0,onClose:I,title:i({id:"a1ObDg"}),closeOnConfirm:!1,confirmButtonText:i({id:"Qki3dx"}),cancelButtonText:i(E?{id:"yz7wBu"}:{id:"dEgA5A"}),onConfirmAsync:E?void 0:T,slotProps:{cancelButton:{variant:E?"contained":"outlined"},confirmButton:{disabled:!u}},children:E?b.jsxs(zn,{sx:{maxWidth:400,gap:2},children:[b.jsx(cE,{severity:"success",children:b.jsx(yn,{id:"vcOLLR",values:{ticketId:E}})}),b.jsx(En,{variant:"body2",color:"textSecondary",children:b.jsx(yn,{id:"Q23npX"})})]}):b.jsxs(zn,{component:"form",sx:{maxWidth:400,gap:2},children:[y&&b.jsx(cE,{severity:"error",children:y}),b.jsx(En,{variant:"body2",color:"textSecondary",children:b.jsx(yn,{id:"UrsPfh",values:{organizationName:p},components:{0:b.jsx(ei,{component:"span",sx:{color:"text.primary"}})}})}),b.jsx(x6e,{control:l,name:"name",render:({field:A})=>b.jsx(VZ,{alwaysOpen:!1,customFilterFn:(w,R)=>R===E5e.FILL_IMAGE_SLOT,disabled:!!r,image:v,onSelect:w=>{g(w),A.onChange(w.name)},onClear:()=>{g(void 0),A.onChange(void 0)},placeholder:i({id:"2Pk01f"}),sx:r&&{[`& .${po.input}.Mui-disabled`]:{color:"text.primary",WebkitTextFillColor:w=>w.palette.text.primary}}})}),b.jsx(En,{variant:"body2",color:"textSecondary",children:b.jsx(yn,{id:"zNYoPf"})})]})})},BZ=m.createContext(null),jVe=({children:e})=>{const{organization:t,organizationFetching:n}=Jl(),r=sp(),{canAccess:i,accessFetching:o,isOrgReady:a,container:{isAtTierQuotaLimit:s}}=cp(),{onImageSelectionChange:l,onResetSelection:u}=u6e(),[c,f]=m.useState({anchor:null}),[p,v]=m.useState(!1),g=i(jr.ADD_IMAGE),y=i(jr.ADD_IMAGE_ENTITLEMENT),k=i(jr.FILL_IMAGE_SLOT),E=i(jr.SWAP_IMAGE),S=(R,x)=>{rr.track("AddImageStart",{orgName:t?.name,from:x?"chainguard-catalog":"organization",sourceImage:x?.name}),f({anchor:R.currentTarget,sourceImage:x})},T=()=>f({anchor:null}),I=()=>{rr.track("RequestImage",{orgName:t?.name}),v(!0)},A=()=>v(!1),w=R=>{u(),l(R.uidp,!1),r("#/starter/select?direct=true")};return b.jsxs(BZ.Provider,{value:{canAddImage:g,canAddImageEntitlement:y,canFillImageSlot:k,canSwapImage:E,dependenciesFetching:n||o,isAtTierQuotaLimit:s,isOrgReady:a,onAddImage:S,onRequestImage:I,onSelectImage:w},children:[e,t&&g&&b.jsx(DVe,{anchorEl:c.anchor,onClose:T,organization:t,sourceImage:c.sourceImage}),t&&k&&b.jsx(BVe,{organization:t,open:p,onClose:A})]})},Bct=()=>{const e=m.useContext(BZ);if(!e)throw new Error("useImageSelfService must be used within a ImageSelfServiceProvider");return e},zVe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"m553.85-255.46-32.62-31.62 171.85-171.84H180v-45.39h513.08L520.62-676.77l32.61-31.61L780-481.62 553.85-255.46Z"})),HVe=m.memo(zVe),WVe=[{announcementKey:"authMaintenance3",message:{id:"EOEtcl"},variant:"banner",duration:{start:new Date("2026-07-13T04:00:00Z"),end:new Date("2026-07-15T05:00:00Z")},showInConsole:!0,showInDirectory:!1},{announcementKey:"libraryTrialEnd",message:{id:"p7ERFl"},cta:{label:{id:"xgvi4p"},link:"https://www.chainguard.dev/contact"},duration:{start:new Date("2026-06-01T00:00:00Z"),end:new Date("2026-07-01T00:00:00Z")},hide:(e,t)=>!["6b153a71b6d452b7832026ee8be52db3fdc316a9","eb5adb290416d827aecceab545959c31d54b04cf","b651de338e06d92c950fb2bdc153582861a63bac","d20d4ecc8bd34aa273029b27a1dc13e07ea37990","5a2bf9541c8d868183dfd093fae88889191ddb68","80607dd3efe6b47fe5d4a8419d8ec73a9b1b3191","9ca42ccf7c8bc82d7d6f22e2f084965c9496585f","ac21b99dda953e138fbd8e590433a538db5889df","9aba5b99c7dde3355293c012491716583d4b14df","6de6edb9a6f9419213547d9a17ce391805407022","52a5ddb16a5dd05e8562187f18b0c5004f07fb8f","79294164db7cf89dcdb253b7f9cf4a5575bafe36","f7f3c67e15204c3c612ae7ed3904aeeee966e173","dec1e00dea10935a2aded54f52c871cd613adb29","e96ee1b70b600dab96f2220a7f724b9f52ddaf04","1d960a6ebc640bc94037425a58496e3580d0a025","3df2abd6cb11d4644e3de05ae7c2e43eda62ecee","a9e4d44a010c813a5fe1034cc76bd1e21e34b553","4aee1237ee7bc01412d9c41ff75a102f6ba6f042","b6da1b6b7fb7854734e7acc4b4a9bc58e8951982","8398ee249412faee4b2468c6f7dbdcc82b1d6bc5","de767c7cdef05a49e0433dc083cd9473c01bc836","dd4078092d117d1a21dc1d24be88f40dcbbcaee9","4a14f8a39a5e50b0f766ba826e82e1ea92d9c28c","a50359a5d99a0d775184e7d5690f65d1db24a192","ef3483cafaacd7ca7aa8e186a8ee255b368e5e47"].includes(t??""),variant:"banner",showInConsole:!0,showInDirectory:!1}],S8=({announcementKey:e,cta:t,variant:n})=>{const{_:r}=Tn();return t&&b.jsx(Li,{LinkComponent:_h,endIcon:b.jsx(HVe,{}),href:t.link,onClick:()=>{rr.track(e)},size:"small",target:"_blank",sx:{textWrap:"nowrap",width:n==="card"?"100%":void 0,minWidth:"auto"},children:t.label&&r(t.label)||b.jsx(yn,{id:"zwWKhA"})})},qVe=new RegExp("^/org/([^/]+)/overview$"),E8=({sx:e,entitlementsContext:t})=>{const n=Die(),r=n===OT.CONSOLE,i=n===OT.DIRECTORY,{_:o}
1910=Tn(),a=Ku(),s=GK(),l=Dh(),u=ga(),{isDismissed:c,dismissNow:f}=yye(),p=qr(),v=qVe.test(p.pathname),g=new Date,y=Po().rootUIDP,{debugAnnouncements:k}=ma(),E=m.useMemo(()=>WVe.find(({announcementKey:F,duration:L,hide:P,showInConsole:j,showInDirectory:B})=>!c(F)&&(r&&j||i&&B)&&!P?.(t,y)&&(!(_m(OC,L.start)||Tf(g,L.end))||k)),[y,t?.container.fetching,t?.library.fetching]),S=u.palette.mode==="dark",T=p6(u.palette.background.default,u.palette.primary.main,.15),I=p6(u.palette.background.default,u.palette.primary.main,.3),A=S?u.palette.primary.main:u.palette.primary.dark;if(!l||!E||r&&!v||r&&!y||t?.container.fetching||t?.library.fetching||c(E.announcementKey))return b.jsx(b.Fragment,{});const{announcementKey:w,message:R,cta:x,variant:D}=E,M=()=>f(w);return D==="card"?b.jsxs(fNe,{role:"alert",sx:Js({bgcolor:T,borderColor:I},e),children:[b.jsx(EK,{action:b.jsx(Lo,{color:"inherit",onClick:M,title:o({id:"yz7wBu"}),children:b.jsx(Mu,{})}),title:o(R),slotProps:{title:{variant:"monospace",lineHeight:"inherit",textTransform:"uppercase",sx:{color:A}}}}),b.jsx(SK,{sx:{pt:1},children:b.jsx(En,{variant:"body2",children:o(R)})}),b.jsx(gNe,{children:b.jsx(S8,{announcementKey:w,cta:x,variant:D})})]}):b.jsxs(zn,{role:"alert",sx:Js({flexDirection:"row",alignItems:"center",bgcolor:T,gap:s(1,4),pl:4,pr:s(1,2),py:1.5},e),children:[!a&&b.jsx(ei,{width:40}),b.jsxs(zn,{sx:{alignItems:s("flex-start","center"),flexDirection:s("column","row"),flex:1,gap:s(1,5),justifyContent:"center"},children:[b.jsx(En,{variant:a?"body2":"body1",children:o(R)}),b.jsx(S8,{announcementKey:w,cta:x,variant:D})]}),b.jsx(Lo,{onClick:M,size:"small",color:"inherit",title:o({id:"yz7wBu"}),sx:{mr:s(0,2)},children:b.jsx(Mu,{})})]})},GVe=" - ",G1=m.createContext([]),KVe=({title:e,children:t})=>{const n=m.useContext(G1);return b.jsx(G1.Provider,{value:e.concat(n),children:t})},YVe=({title:e,canonical:t,children:n})=>(QVe(...e),m.useEffect(()=>document.querySelector("link[rel='canonical']")?.setAttribute("href",t),[t]),n),T8=(e,t)=>e?typeof e!="string"?t?t._(e):e.message||"":e:"";function $Ve(e,t,n,r){const i=Fy(e,t),o=i?.slice().reverse(),a=(f,p,v=!1)=>{let g=f&&T8(f,r)||"";for(const y of i||[])for(const k in y.params){const E=y.params[k],S=v&&(k==="imageId"||k==="chartName")?nd(E):E;g=g.replace(`:${k}`,T8(p?.[k]?.[E],r)||S)}return g},s=o?.map(f=>a(f.route.meta.title,f.route.meta.customReplacements)).filter(Boolean).join(" | ")||"Chainguard",l=o?.reduce((f,p)=>{const v=p.route.meta.preview;return f||a(v,p.route.meta.customReplacements,!0)},"")||"/previews/chainguard-base.png",u=o?.reduce((f,p)=>{const v=p.route.meta.description;return f||a(v,p.route.meta.customReplacements)},"")||"Chainguard",c=n+(t.pathname==="/home"?"/":t.pathname);return{title:s,description:u,preview:l,canonical:c}}function JVe(e,t,n,r){const{origin:i,setDescription:o}=m.useContext(ri),{title:a,canonical:s,description:l}=$Ve(t,n,i,r);return m.useEffect(()=>{l&&o(l)},[l,o]),b.jsx(YVe,{title:[a],canonical:s,children:b.jsx(KVe,{title:[a],children:e})})}let rR;const ZVe=e=>{const{setTitle:t}=m.useContext(ri);rR&&clearTimeout(rR),rR=setTimeout(()=>t(e),0)},QVe=(...e)=>{const t=m.useContext(G1);let n=e.concat(t).filter(Boolean).join(GVe);const r=ip();for(const i in r)n=n.replace(`:${i}`,r[i]);ZVe(n)};function XVe(e){return e==="fast"?600:e==="slow"?900:750}var eBe=({color:e="rgba(0,0,0,0.4)",speed:t="medium",gap:n=4,thickness:r=4,size:i="1em",...o})=>b.jsxs("svg",{height:i,width:i,...o,style:{animationDuration:`${XVe(t)}ms`},className:"__react-svg-spinner_circle",role:"img","aria-labelledby":"title desc",viewBox:"0 0 32 32",children:[b.jsx("title",{id:"title",children:"Circle loading spinner"}),b.jsx("desc",{id:"desc",children:'Image of a partial circle indicating "loading."'}),b.jsx("style",{dangerouslySetInnerHTML:{__html:` 1911 .__react-svg-spinner_circle{ 1912 transition-property: transform; 1913 animation-name: __react-svg-spinner_infinite-spin; 1914 animation-iteration-count: infinite; 1915 animation-timing-function: linear; 1916 } 1917 @keyframes __react-svg-spinner_infinite-spin { 1918 from {transform: rotate(0deg)} 1919 to {transform: rotate(360deg)} 1920 } 1921 `}}),b.jsx("circle",{role:"presentation",cx:16,cy:16,r:14-r/2,stroke:e,fill:"none",strokeWidth:r,strokeDasharray:Math.PI*2*(11-n),strokeLinecap:"round"})]}),tBe=({hasLabel:e})=>b.jsx("div",{className:`rnf-button-spinner rnf-button-spinner--${e?"with-label":"without-label"}`,children:b.jsx(eBe,{})}),nBe={translations:{archiveNotification:"Archive this notification",archiveRead:"Archive Read",markAllAsRead:"Mark all as read",notifications:"Notifications",emptyFeedTitle:"No notifications yet",emptyFeedBody:"We'll let you know
1921when we've got something new for you.",all:"All",unread:"Unread",read:"Read",unseen:"Unseen",msTeamsChannelSetError:"Error setting channel.",msTeamsConnect:"Connect to Microsoft Teams",msTeamsConnected:"Connected",msTeamsConnecting:"Connecting to Microsoft Teamsâ¦",msTeamsConnectionErrorExists:"Try reconnecting to Microsoft Teams to find and select channels from your teams.",msTeamsConnectionErrorOccurred:"There was an error connecting to Microsoft Teams. Try reconnecting to find and select channels from your teams.",msTeamsConnectContainerDescription:"Connect to get notifications in Microsoft Teams",msTeamsDisconnect:"Disconnect",msTeamsDisconnecting:"Disconnecting from Microsoft Teamsâ¦",msTeamsError:"Error",msTeamsReconnect:"Reconnect",msTeamsTenantIdNotSet:"Microsoft Teams tenant ID not set.",slackConnectChannel:"Connect channel",slackChannelId:"Slack channel ID",slackConnecting:"Connecting to Slack...",slackDisconnecting:"Disconnecting...",slackConnect:"Connect to Slack",slackConnected:"Connected",slackConnectContainerDescription:"Connect to get notifications in your Slack workspace.",slackSearchbarDisconnected:"Slack is not connected.",slackSearchbarNoChannelsConnected:"Search channels",slackSearchbarNoChannelsFound:"No slack channels.",slackSearchbarChannelsError:"Error fetching channels.",slackSearchChannels:"Search channels",slackConnectionErrorExists:"Try reconnecting to Slack to find and select channels from your workspace.",slackConnectionErrorOccurred:"There was an error connecting to Slack. Try reconnecting to find and select channels from your workspace.",slackChannelAlreadyConnected:"Error: already connected",slackError:"Error",slackDisconnect:"Disconnect",slackChannelSetError:"Error setting channel.",slackAccessTokenNotSet:"Access token not set.",slackReconnect:"Reconnect"},locale:"en"},lD={en:nBe},jZ=Ye.createContext(lD.en),rBe=({i18n:e=lD.en,...t})=>b.jsx(jZ.Provider,{...t,value:e});function zZ(){let{translations:e,locale:t}=m.useContext(jZ);return{locale:t,t:n=>e[n]||lD.en.translations[n]}}var K1=(e,t)=>{if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){let n=e,r=t;if(n.constructor!==r.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,a)=>K1(o,t[a]));if(e.constructor===RegExp){let o=e,a=t;return o.source===a.source&&o.flags===a.flags}if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===r.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===r.toString();let i=Object.keys(n);return i.length===Object.keys(r).length&&i.every(o=>Object.prototype.hasOwnProperty.call(r,o)&&K1(n[o],r[o]))}return e!==e&&t!==t};function Y1(e){let t=m.useRef(void 0);return m.useMemo(()=>{let n=t.current;return n&&K1(e,n)?n:(t.current=e,e)},[e])}var Nf=(function(e){return e.loading="loading",e.fetchMore="fetchMore",e.ready="ready",e.error="error",e})({});function iBe(e){return["loading","fetchMore"].includes(e)}var oBe=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;function aBe(e){return oBe.test(e)}function C8(e,{baseDelayMs:t,maxDelayMs:n,minDelayMs:r=250}){let i=Math.min(n,t*2**Math.max(0,e-1));if(i<=r)return r;let o=i-r;return r+Math.floor(Math.random()*o)}const jm=new WeakMap,IS=new WeakMap,KE={current:[]};let iR=!1;const v0=new Set,A8=new Map;function HZ(e){const t=Array.from(e).sort((n,r)=>n instanceof zm&&n.options.deps.includes(r)?1:r instanceof zm&&r.options.deps.includes(n)?-1:0);for(const n of t){if(KE.current.includes(n))continue;KE.current.push(n),n.recompute();const r=IS.get(n);if(r)for(const i of r){const o=jm.get(i);o&&HZ(o)}}}function sBe(e){const t={prevVal:e.prevState,currentVal:e.state};for(const n of e.listeners)n(t)}function lBe(e){const t={prevVal:e.prevState,currentVal:e.state};for(const n of e.listeners)n(t)}function uBe(e){if(v0.add(e),!iR)try{for(iR=!0;v0.size>0;){const t=Array.from(v0);v0.clear();for(const n of t){const r=A8.get(n)??n.prevState;n.prevState=r,sBe(n)}for(const n of t){const r=jm.get(n);r&&(KE.current.push(n),HZ(r))}for(const n of t){const r=jm.get(n);if(r)for(const i of r)lBe(i)}}}finally{iR=!1,KE.current=[],A8.clear()}}function cBe(e){return typeof e=="function"}let Sy=class{constructor(t,n){this.listeners=new Set,this.subscribe=r=>{var i,o;this.listeners.add(r);const a=(o=(i=this.options)==null?void 0:i.onSubscribe)==null?void 0:o.call(i,r,this);return()=>{this.listeners.delete(r),a?.()}},this.prevState=t,this.state=t,this.options=n}setState(t){var n,r,i;this.prevState=this.state,(n=this.options)!=null&&n.updateFn?this.state=this.options.updateFn(this.prevState)(t):cBe(t)?this.state=t(this.prevState):this.state=t,(i=(r=this.options)==null?void 0:r.onUpdate)==null||i.call(r),uBe(this)}};class zm{constructor(t){this.listeners=new Set,this._subscriptions=[],this.lastSeenDepValues=[],this.getDepVals=()=>{const n=this.options.deps.length,r=new Array(n),i=new Array(n);for(let o=0;o<n;o++){const a=this.options.deps[o];r[o]=a.prevState,i[o]=a.state}return this.lastSeenDepValues=i,{prevDepVals:r,currDepVals:i,prevVal:this.prevState??void 0}},this.recompute=()=>{var n,r;this.prevState=this.state;const i=this.getDepVals();this.state=this.options.fn(i),(r=(n=this.options).onUpdate)==null||r.call(n)},this.checkIfRecalculationNeededDeeply=()=>{for(const o of this.options.deps)o instanceof zm&&o.checkIfRecalculationNeededDeeply();let n=!1;const r=this.lastSeenDepValues,{currDepVals:i}=this.getDepVals();for(let o=0;o<i.length;o++)if(i[o]!==r[o]){n=!0;break}n&&this.recompute()},this.mount=()=>(this.registerOnGraph(),this.checkIfRecalculationNeededDeeply(),()=>{this.unregisterFromGraph();for(const n of this._subscriptions)n()}),this.subscribe=n=>{var r,i;this.listeners.add(n);const o=(i=(r=this.options).onSubscribe)==null?void 0:i.call(r,n,this);return()=>{this.listeners.delete(n),o?.()}},this.options=t,this.state=t.fn({prevDepVals:void 0,prevVal:void 0,currDepVals:this.getDepVals().currDepVals})}registerOnGraph(t=this.options.deps){for(const n of t)if(n instanceof zm)n.registerOnGraph(),this.registerOnGraph(n.options.deps);else if(n instanceof Sy){let r=jm.get(n);r||(r=new Set,jm.set(n,r)),r.add(this);let i=IS.get(this);i||(i=new Set,IS.set(this,i)),i.add(n)}}unregisterFromGraph(t=this.options.deps){for(const n of t)if(n instanceof zm)this.unregisterFromGraph(n.options.deps);else if(n instanceof Sy){const r=jm.get(n);r&&r.delete(this);const i=IS.get(this);i&&i.delete(n)}}}var WZ={NewMessage:"new-message"},I8=[WZ.NewMessage],dBe=class{socket;channels;params;inbox;constructor(t){this.socket=t,this.channels={},this.params={},this.inbox=new Sy({})}join(t){let n=t.socketChannelTopic,r=t.referenceId,i=t.defaultOptions;this.socket.isConnected()||this.socket.connect(),this.params[n]||(this.params[n]={});let o=this.params[n][r],a=!o||JSON.stringify(o)!==JSON.stringify(i);if(a&&(this.params[n]={...this.params[n],[r]:i}),!this.channels[n]||a){let l=this.socket.channel(n,this.params[n]);for(let u of I8)l.on(u,c=>this.setInbox(c));this.channels[n]=l}let s=this.channels[n];return["closed","errored"].includes(s.state)&&s.join(),this.inbox.subscribe(()=>{let l=this.inbox.state[r];l&&t.handleSocketEvent(l)})}leave(t){t.unsubscribeFromSocketEvents?.();let n=t.socketChannelTopic,r=t.referenceId,i={...this.params},o=i[n]||{};o[r]&&delete o[r];let a={...this.channels},s=a[n];if(s&&Object.keys(o).length===0){for(let l of I8)s.off(l);s.leave(),delete a[n]}this.params=i,this.channels=a}setInbox(t){let{attn:n,...r}=t;this.inbox.setState(()=>n.reduce((i,o)=>({...i,[o]:r}),{}))}};function fBe(e){let t={};return e.reduce((n,r)=>t[r.id]?n:(t[r.id]=!0,[...n,r]),[])}function pBe(e){return e.sort((t,n)=>new Date(n.inserted_at).getTime()-new Date(t.inserted_at).getTime())}function w8(e){let{inserted_at_date_range:t,...n}=e;if(!t)return n;let r={},i=t.inclusive??!1;if(t.start){let o=i?"inserted_at.gte":"inserted_at.gt";r[o]=t.start}if(t.end){let o=i?"inserted_at.lte":"inserted_at.lt";r[o]=t.end}return{...n,...r}}function N8(e){if(typeof e?.trigger_data=="object")return JSON.stringify(e.trigger_data);
1921if(typeof e?.trigger_data=="string")return e.trigger_data}function mBe(e){return pBe(fBe(e))}var hBe={shouldSetPage:!0,shouldAppend:!1},wS={items:[],metadata:{total_count:0,unread_count:0,unseen_count:0},pageInfo:{before:null,after:null,page_size:50},loading:!1,networkStatus:Nf.ready,setResult:()=>{},setMetadata:()=>{},setNetworkStatus:()=>{},resetStore:()=>{},setItemAttrs:()=>{}},gBe=()=>{let e=new Sy(wS);return e.setState(t=>({...t,networkStatus:Nf.ready,loading:!1,setNetworkStatus:n=>e.setState(r=>({...r,networkStatus:n,loading:n===Nf.loading})),setResult:({entries:n,meta:r,page_info:i},o=hBe)=>e.setState(a=>{let s=o.shouldAppend?mBe(a.items.concat(n)):n;return{...a,items:s,metadata:r,pageInfo:o.shouldSetPage?i:a.pageInfo,loading:!1,networkStatus:Nf.ready}}),setMetadata:n=>e.setState(r=>({...r,metadata:n})),resetStore:(n=wS.metadata)=>e.setState(()=>({...wS,setResult:e.state.setResult,setMetadata:e.state.setMetadata,setNetworkStatus:e.state.setNetworkStatus,resetStore:e.state.resetStore,setItemAttrs:e.state.setItemAttrs,metadata:n})),setItemAttrs:(n,r)=>{let i=n.reduce((o,a)=>({...o,[a]:r}),{});return e.setState(o=>{let a=o.items.map(s=>i[s.id]?{...s,...i[s.id]}:s);return{...o,items:a}})}})),e},vBe=class{store;constructor(t){this.store=t}getState(){return this.store.state}setState(t){this.store.setState(typeof t=="function"?t:()=>t)}getInitialState(){return wS}subscribe(t){return this.store.subscribe(n=>t(n.currentVal))}};function yBe(){return new vBe(gBe())}var oR={exports:{}};var R8;function kBe(){return R8||(R8=1,(function(e,t){(function(n){var r=Object.hasOwnProperty,i=Array.isArray?Array.isArray:function(V){return Object.prototype.toString.call(V)==="[object Array]"},o=10,a=typeof process=="object"&&typeof process.nextTick=="function",s=typeof Symbol=="function",l=typeof Reflect=="object",u=typeof setImmediate=="function",c=u?setImmediate:setTimeout,f=s?l&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(O){var V=Object.getOwnPropertyNames(O);return V.push.apply(V,Object.getOwnPropertySymbols(O)),V}:Object.keys;function p(){this._events={},this._conf&&v.call(this,this._conf)}function v(O){O&&(this._conf=O,O.delimiter&&(this.delimiter=O.delimiter),O.maxListeners!==n&&(this._maxListeners=O.maxListeners),O.wildcard&&(this.wildcard=O.wildcard),O.newListener&&(this._newListener=O.newListener),O.removeListener&&(this._removeListener=O.removeListener),O.verboseMemoryLeak&&(this.verboseMemoryLeak=O.verboseMemoryLeak),O.ignoreErrors&&(this.ignoreErrors=O.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function g(O,V){var W="(node) warning: possible EventEmitter memory leak detected. "+O+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(W+=" Event name: "+V+"."),typeof process<"u"&&process.emitWarning){var U=new Error(W);U.name="MaxListenersExceededWarning",U.emitter=this,U.count=O,process.emitWarning(U)}else console.error(W),console.trace&&console.trace()}var y=function(O,V,W){var U=arguments.length;switch(U){case 0:return[];case 1:return[O];case 2:return[O,V];case 3:return[O,V,W];default:for(var q=new Array(U);U--;)q[U]=arguments[U];return q}};function k(O,V){for(var W={},U,q=O.length,$=0,J=0;J<q;J++)U=O[J],W[U]=J<$?V[J]:n;return W}function E(O,V,W){this._emitter=O,this._target=V,this._listeners={},this._listenersCount=0;var U,q;if((W.on||W.off)&&(U=W.on,q=W.off),V.addEventListener?(U=V.addEventListener,q=V.removeEventListener):V.addListener?(U=V.addListener,q=V.removeListener):V.on&&(U=V.on,q=V.off),!U&&!q)throw Error("target does not implement any known event API");if(typeof U!="function")throw TypeError("on method must be a function");if(typeof q!="function")throw TypeError("off method must be a function");this._on=U,this._off=q;var $=O._observers;$?$.push(this):O._observers=[this]}Object.assign(E.prototype,{subscribe:function(O,V,W){var U=this,q=this._target,$=this._emitter,J=this._listeners,Z=function(){var Y=y.apply(null,arguments),ee={data:Y,name:V,original:O};if(W){var te=W.call(q,ee);te!==!1&&$.emit.apply($,[ee.name].concat(Y));return}$.emit.apply($,[V].concat(Y))};if(J[O])throw Error("Event '"+O+"' is already listening");this._listenersCount++,$._newListener&&$._removeListener&&!U._onNewListener?(this._onNewListener=function(Y){Y===V&&J[O]===null&&(J[O]=Z,U._on.call(q,O,Z))},$.on("newListener",this._onNewListener),this._onRemoveListener=function(Y){Y===V&&!$.hasListeners(Y)&&J[O]&&(J[O]=null,U._off.call(q,O,Z))},J[O]=null,$.on("removeListener",this._onRemoveListener)):(J[O]=Z,U._on.call(q,O,Z))},unsubscribe:function(O){var V=this,W=this._listeners,U=this._emitter,q,$,J=this._off,Z=this._target,Y;if(O&&typeof O!="string")throw TypeError("event must be a string");function ee(){V._onNewListener&&(U.off("newListener",V._onNewListener),U.off("removeListener",V._onRemoveListener),V._onNewListener=null,V._onRemoveListener=null);var te=x.call(U,V);U._observers.splice(te,1)}if(O){if(q=W[O],!q)return;J.call(Z,O,q),delete W[O],--this._listenersCount||ee()}else{for($=f(W),Y=$.length;Y-- >0;)O=$[Y],J.call(Z,O,W[O]);this._listeners={},this._listenersCount=0,ee()}}});function S(O,V,W,U){var q=Object.assign({},V);if(!O)return q;if(typeof O!="object")throw TypeError("options must be an object");var $=Object.keys(O),J=$.length,Z,Y,ee;function te(ne){throw Error('Invalid "'+Z+'" option value'+(ne?". Reason: "+ne:""))}for(var ce=0;ce<J;ce++){if(Z=$[ce],!r.call(V,Z))throw Error('Unknown "'+Z+'" option');Y=O[Z],Y!==n&&(ee=W[Z],q[Z]=ee?ee(Y,te):Y)}return q}function T(O,V){return(typeof O!="function"||!O.hasOwnProperty("prototype"))&&V("value must be a constructor"),O}function I(O){var V="value must be type of "+O.join("|"),W=O.length,U=O[0],q=O[1];return W===1?function($,J){if(typeof $===U)return $;J(V)}:W===2?function($,J){var Z=typeof $;if(Z===U||Z===q)return $;J(V)}:function($,J){for(var Z=typeof $,Y=W;Y-- >0;)if(Z===O[Y])return $;J(V)}}var A=I(["function"]),w=I(["object","function"]);function R(O,V,W){var U,q,$=0,J,Z=new O(function(Y,ee,te){W=S(W,{timeout:0,overload:!1},{timeout:function(ae,pe){return ae*=1,(typeof ae!="number"||ae<0||!Number.isFinite(ae))&&pe("timeout must be a positive number"),ae}}),U=!W.overload&&typeof O.prototype.cancel=="function"&&typeof te=="function";function ce(){q&&(q=null),$&&(clearTimeout($),$=0)}var ne=function(ae){ce(),Y(ae)},Ce=function(ae){ce(),ee(ae)};U?V(ne,Ce,te):(q=[function(ae){Ce(ae||Error("canceled"))}],V(ne,Ce,function(ae){if(J)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof ae!="function")throw TypeError("onCancel callback must be a function");q.push(ae)}),J=!0),W.timeout>0&&($=setTimeout(function(){var ae=Error("timeout");ae.code="ETIMEDOUT",$=0,Z.cancel(ae),ee(ae)},W.timeout))});return U||(Z.cancel=function(Y){if(q){for(var ee=q.length,te=1;te<ee;te++)q[te](Y);q[0](Y),q=null}}),Z}function x(O){var V=this._observers;if(!V)return-1;for(var W=V.length,U=0;U<W;U++)if(V[U]._target===O)return U;return-1}function D(O,V,W,U,q){if(!W)return null;if(U===0){var $=typeof V;if($==="string"){var J,Z,Y=0,ee=0,te=this.delimiter,ce=te.length;if((Z=V.indexOf(te))!==-1){J=new Array(5);do J[Y++]=V.slice(ee,Z),ee=Z+ce;while((Z=V.indexOf(te,ee))!==-1);J[Y++]=V.slice(ee),V=J,q=Y}else V=[V],q=1}else $==="object"?q=V.length:(V=[V],q=1)}var ne=null,Ce,ae,pe,ve,Se,De=V[U],Ee=V[U+1],ye,Pe;if(U===q)W._listeners&&(typeof W._listeners=="function"?(O&&O.push(W._listeners),ne=[W]):(O&&O.push.apply(O,W._listeners),ne=[W]));else if(De==="*"){for(ye=f(W),Z=ye.length;Z-- >0;)Ce=ye[Z],Ce!=="_listeners"&&(Pe=D(O,V,W[Ce],U+1,q),Pe&&(ne?ne.pu
1921sh.apply(ne,Pe):ne=Pe));return ne}else if(De==="**"){for(Se=U+1===q||U+2===q&&Ee==="*",Se&&W._listeners&&(ne=D(O,V,W,q,q)),ye=f(W),Z=ye.length;Z-- >0;)Ce=ye[Z],Ce!=="_listeners"&&(Ce==="*"||Ce==="**"?(W[Ce]._listeners&&!Se&&(Pe=D(O,V,W[Ce],q,q),Pe&&(ne?ne.push.apply(ne,Pe):ne=Pe)),Pe=D(O,V,W[Ce],U,q)):Ce===Ee?Pe=D(O,V,W[Ce],U+2,q):Pe=D(O,V,W[Ce],U,q),Pe&&(ne?ne.push.apply(ne,Pe):ne=Pe));return ne}else W[De]&&(ne=D(O,V,W[De],U+1,q));if(ae=W["*"],ae&&D(O,V,ae,U+1,q),pe=W["**"],pe)if(U<q)for(pe._listeners&&D(O,V,pe,q,q),ye=f(pe),Z=ye.length;Z-- >0;)Ce=ye[Z],Ce!=="_listeners"&&(Ce===Ee?D(O,V,pe[Ce],U+2,q):Ce===De?D(O,V,pe[Ce],U+1,q):(ve={},ve[Ce]=pe[Ce],D(O,V,{"**":ve},U+1,q)));else pe._listeners?D(O,V,pe,q,q):pe["*"]&&pe["*"]._listeners&&D(O,V,pe["*"],q,q);return ne}function M(O,V,W){var U=0,q=0,$,J=this.delimiter,Z=J.length,Y;if(typeof O=="string")if(($=O.indexOf(J))!==-1){Y=new Array(5);do Y[U++]=O.slice(q,$),q=$+Z;while(($=O.indexOf(J,q))!==-1);Y[U++]=O.slice(q)}else Y=[O],U=1;else Y=O,U=O.length;if(U>1){for($=0;$+1<U;$++)if(Y[$]==="**"&&Y[$+1]==="**")return}var ee=this.listenerTree,te;for($=0;$<U;$++)if(te=Y[$],ee=ee[te]||(ee[te]={}),$===U-1)return ee._listeners?(typeof ee._listeners=="function"&&(ee._listeners=[ee._listeners]),W?ee._listeners.unshift(V):ee._listeners.push(V),!ee._listeners.warned&&this._maxListeners>0&&ee._listeners.length>this._maxListeners&&(ee._listeners.warned=!0,g.call(this,ee._listeners.length,te))):ee._listeners=V,!0;return!0}function F(O,V,W,U){for(var q=f(O),$=q.length,J,Z,Y,ee=O._listeners,te;$-- >0;)Z=q[$],J=O[Z],Z==="_listeners"?Y=W:Y=W?W.concat(Z):[Z],te=U||typeof Z=="symbol",ee&&V.push(te?Y:Y.join(this.delimiter)),typeof J=="object"&&F.call(this,J,V,Y,te);return V}function L(O){for(var V=f(O),W=V.length,U,q,$;W-- >0;)q=V[W],U=O[q],U&&($=!0,q!=="_listeners"&&!L(U)&&delete O[q]);return $}function P(O,V,W){this.emitter=O,this.event=V,this.listener=W}P.prototype.off=function(){return this.emitter.off(this.event,this.listener),this};function j(O,V,W){if(W===!0)q=!0;else if(W===!1)U=!0;else{if(!W||typeof W!="object")throw TypeError("options should be an object or true");var U=W.async,q=W.promisify,$=W.nextTick,J=W.objectify}if(U||$||q){var Z=V,Y=V._origin||V;if($&&!a)throw Error("process.nextTick is not supported");q===n&&(q=V.constructor.name==="AsyncFunction"),V=function(){var ee=arguments,te=this,ce=this.event;return q?$?Promise.resolve():new Promise(function(ne){c(ne)}).then(function(){return te.event=ce,Z.apply(te,ee)}):($?process.nextTick:c)(function(){te.event=ce,Z.apply(te,ee)})},V._async=!0,V._origin=Y}return[V,J?new P(this,O,V):this]}function B(O){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,v.call(this,O)}B.EventEmitter2=B,B.prototype.listenTo=function(O,V,W){if(typeof O!="object")throw TypeError("target musts be an object");var U=this;W=S(W,{on:n,off:n,reducers:n},{on:A,off:A,reducers:w});function q($){if(typeof $!="object")throw TypeError("events must be an object");var J=W.reducers,Z=x.call(U,O),Y;Z===-1?Y=new E(U,O,W):Y=U._observers[Z];for(var ee=f($),te=ee.length,ce,ne=typeof J=="function",Ce=0;Ce<te;Ce++)ce=ee[Ce],Y.subscribe(ce,$[ce]||ce,ne?J:J&&J[ce])}return i(V)?q(k(V)):q(typeof V=="string"?k(V.split(/\s+/)):V),this},B.prototype.stopListeningTo=function(O,V){var W=this._observers;if(!W)return!1;var U=W.length,q,$=!1;if(O&&typeof O!="object")throw TypeError("target should be an object");for(;U-- >0;)q=W[U],(!O||q._target===O)&&(q.unsubscribe(V),$=!0);return $},B.prototype.delimiter=".",B.prototype.setMaxListeners=function(O){O!==n&&(this._maxListeners=O,this._conf||(this._conf={}),this._conf.maxListeners=O)},B.prototype.getMaxListeners=function(){return this._maxListeners},B.prototype.event="",B.prototype.once=function(O,V,W){return this._once(O,V,!1,W)},B.prototype.prependOnceListener=function(O,V,W){return this._once(O,V,!0,W)},B.prototype._once=function(O,V,W,U){return this._many(O,1,V,W,U)},B.prototype.many=function(O,V,W,U){return this._many(O,V,W,!1,U)},B.prototype.prependMany=function(O,V,W,U){return this._many(O,V,W,!0,U)},B.prototype._many=function(O,V,W,U,q){var $=this;if(typeof W!="function")throw new Error("many only accepts instances of Function");function J(){return--V===0&&$.off(O,J),W.apply(this,arguments)}return J._origin=W,this._on(O,J,U,q)},B.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||p.call(this);var O=arguments[0],V,W=this.wildcard,U,q,$,J,Z;if(O==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(W&&(V=O,O!=="newListener"&&O!=="removeListener"&&typeof O=="object")){if(q=O.length,s){for($=0;$<q;$++)if(typeof O[$]=="symbol"){Z=!0;break}}Z||(O=O.join(this.delimiter))}var Y=arguments.length,ee;if(this._all&&this._all.length)for(ee=this._all.slice(),$=0,q=ee.length;$<q;$++)switch(this.event=O,Y){case 1:ee[$].call(this,O);break;case 2:ee[$].call(this,O,arguments[1]);break;case 3:ee[$].call(this,O,arguments[1],arguments[2]);break;default:ee[$].apply(this,arguments)}if(W)ee=[],D.call(this,ee,V,this.listenerTree,0,q);else if(ee=this._events[O],typeof ee=="function"){switch(this.event=O,Y){case 1:ee.call(this);break;case 2:ee.call(this,arguments[1]);break;case 3:ee.call(this,arguments[1],arguments[2]);break;default:for(U=new Array(Y-1),J=1;J<Y;J++)U[J-1]=arguments[J];ee.apply(this,U)}return!0}else ee&&(ee=ee.slice());if(ee&&ee.length){if(Y>3)for(U=new Array(Y-1),J=1;J<Y;J++)U[J-1]=arguments[J];for($=0,q=ee.length;$<q;$++)switch(this.event=O,Y){case 1:ee[$].call(this);break;case 2:ee[$].call(this,arguments[1]);break;case 3:ee[$].call(this,arguments[1],arguments[2]);break;default:ee[$].apply(this,U)}return!0}else if(!this.ignoreErrors&&!this._all&&O==="error")throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},B.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||p.call(this);var O=arguments[0],V=this.wildcard,W,U,q,$,J,Z;if(O==="newListener"&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(V&&(W=O,O!=="newListener"&&O!=="removeListener"&&typeof O=="object")){if($=O.length,s){for(J=0;J<$;J++)if(typeof O[J]=="symbol"){U=!0;break}}U||(O=O.join(this.delimiter))}var Y=[],ee=arguments.length,te;if(this._all)for(J=0,$=this._all.length;J<$;J++)switch(this.event=O,ee){case 1:Y.push(this._all[J].call(this,O));break;case 2:Y.push(this._all[J].call(this,O,arguments[1]));break;case 3:Y.push(this._all[J].call(this,O,arguments[1],arguments[2]));break;default:Y.push(this._all[J].apply(this,arguments))}if(V?(te=[],D.call(this,te,W,this.listenerTree,0)):te=this._events[O],typeof te=="function")switch(this.event=O,ee){case 1:Y.push(te.call(this));break;case 2:Y.push(te.call(this,arguments[1]));break;case 3:Y.push(te.call(this,arguments[1],arguments[2]));break;default:for(q=new Array(ee-1),Z=1;Z<ee;Z++)q[Z-1]=arguments[Z];Y.push(te.apply(this,q))}else if(te&&te.length){if(te=te.slice(),ee>3)for(q=new Array(ee-1),Z=1;Z<ee;Z++)q[Z-1]=arguments[Z];for(J=0,$=te.length;J<$;J++)switch(this.event=O,ee){case 1:Y.push(te[J].call(this));break;case 2:Y.push(te[J].call(this,arguments[1]));break;case 3:Y.push(te[J].call(this,arguments[1],arguments[2]));break;default:Y.push(te[J].apply(this,q))}}else if(!this.ignoreErrors&&!this._all&&O==="error")return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(Y)},B.prototype.on=function(O,V,W){return this._on(O,V,!1,W)},B.prototype.prependListener=function(O,V,W){return this._on(O,V,!0,W)},B.prototype.onAny=function(O){return this._onAny(O,!1)},B.prototype.prependAny=function(O){return this._onAny(O,!0)},B.prototype.addListener=B.prototype.on,B.prototype._onAny=function(O,V){if(typeof O!="function")throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),V?this._all.unshift(O):this._all.push(O),this},B.prototype._on=function(O,V,W,U){if(typeof O=="function")return this._onAny(O,V),this;if(typeof V!="function")throw new Error("on only accepts instances of Function");this._events||p.call(this);var q=this,$;return U!==n&&($=j.call(this,O,V,U),V=$[0],q=$[1]),this._newListener&&this.emit
1921("newListener",O,V),this.wildcard?(M.call(this,O,V,W),q):(this._events[O]?(typeof this._events[O]=="function"&&(this._events[O]=[this._events[O]]),W?this._events[O].unshift(V):this._events[O].push(V),!this._events[O].warned&&this._maxListeners>0&&this._events[O].length>this._maxListeners&&(this._events[O].warned=!0,g.call(this,this._events[O].length,O))):this._events[O]=V,q)},B.prototype.off=function(O,V){if(typeof V!="function")throw new Error("removeListener only takes instances of Function");var W,U=[];if(this.wildcard){var q=typeof O=="string"?O.split(this.delimiter):O.slice();if(U=D.call(this,null,q,this.listenerTree,0),!U)return this}else{if(!this._events[O])return this;W=this._events[O],U.push({_listeners:W})}for(var $=0;$<U.length;$++){var J=U[$];if(W=J._listeners,i(W)){for(var Z=-1,Y=0,ee=W.length;Y<ee;Y++)if(W[Y]===V||W[Y].listener&&W[Y].listener===V||W[Y]._origin&&W[Y]._origin===V){Z=Y;break}if(Z<0)continue;return this.wildcard?J._listeners.splice(Z,1):this._events[O].splice(Z,1),W.length===0&&(this.wildcard?delete J._listeners:delete this._events[O]),this._removeListener&&this.emit("removeListener",O,V),this}else(W===V||W.listener&&W.listener===V||W._origin&&W._origin===V)&&(this.wildcard?delete J._listeners:delete this._events[O],this._removeListener&&this.emit("removeListener",O,V))}return this.listenerTree&&L(this.listenerTree),this},B.prototype.offAny=function(O){var V=0,W=0,U;if(O&&this._all&&this._all.length>0){for(U=this._all,V=0,W=U.length;V<W;V++)if(O===U[V])return U.splice(V,1),this._removeListener&&this.emit("removeListenerAny",O),this}else{if(U=this._all,this._removeListener)for(V=0,W=U.length;V<W;V++)this.emit("removeListenerAny",U[V]);this._all=[]}return this},B.prototype.removeListener=B.prototype.off,B.prototype.removeAllListeners=function(O){if(O===n)return!this._events||p.call(this),this;if(this.wildcard){var V=D.call(this,null,O,this.listenerTree,0),W,U;if(!V)return this;for(U=0;U<V.length;U++)W=V[U],W._listeners=null;this.listenerTree&&L(this.listenerTree)}else this._events&&(this._events[O]=null);return this},B.prototype.listeners=function(O){var V=this._events,W,U,q,$,J;if(O===n){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!V)return[];for(W=f(V),$=W.length,q=[];$-- >0;)U=V[W[$]],typeof U=="function"?q.push(U):q.push.apply(q,U);return q}else{if(this.wildcard){if(J=this.listenerTree,!J)return[];var Z=[],Y=typeof O=="string"?O.split(this.delimiter):O.slice();return D.call(this,Z,Y,J,0),Z}return V?(U=V[O],U?typeof U=="function"?[U]:U:[]):[]}},B.prototype.eventNames=function(O){var V=this._events;return this.wildcard?F.call(this,this.listenerTree,[],null,O):V?f(V):[]},B.prototype.listenerCount=function(O){return this.listeners(O).length},B.prototype.hasListeners=function(O){if(this.wildcard){var V=[],W=typeof O=="string"?O.split(this.delimiter):O.slice();return D.call(this,V,W,this.listenerTree,0),V.length>0}var U=this._events,q=this._all;return!!(q&&q.length||U&&(O===n?f(U).length:U[O]))},B.prototype.listenersAny=function(){return this._all?this._all:[]},B.prototype.waitFor=function(O,V){var W=this,U=typeof V;return U==="number"?V={timeout:V}:U==="function"&&(V={filter:V}),V=S(V,{timeout:0,filter:n,handleError:!1,Promise,overload:!1},{filter:A,Promise:T}),R(V.Promise,function(q,$,J){function Z(){var Y=V.filter;if(!(Y&&!Y.apply(W,arguments)))if(W.off(O,Z),V.handleError){var ee=arguments[0];ee?$(ee):q(y.apply(null,arguments).slice(1))}else q(y.apply(null,arguments))}J(function(){W.off(O,Z)}),W._on(O,Z,!1)},{timeout:V.timeout,overload:V.overload})};function H(O,V,W){W=S(W,{Promise,timeout:0,overload:!1},{Promise:T});var U=W.Promise;return R(U,function(q,$,J){var Z;if(typeof O.addEventListener=="function"){Z=function(){q(y.apply(null,arguments))},J(function(){O.removeEventListener(V,Z)}),O.addEventListener(V,Z,{once:!0});return}var Y=function(){ee&&O.removeListener("error",ee),q(y.apply(null,arguments))},ee;V!=="error"&&(ee=function(te){O.removeListener(V,Y),$(te)},O.once("error",ee)),J(function(){ee&&O.removeListener("error",ee),O.removeListener(V,Y)}),O.once(V,Y)},{timeout:W.timeout,overload:W.overload})}var G=B.prototype;Object.defineProperties(B,{defaultMaxListeners:{get:function(){return G._maxListeners},set:function(O){if(typeof O!="number"||O<0||Number.isNaN(O))throw TypeError("n must be a non-negative number");G._maxListeners=O},enumerable:!0},once:{value:H,writable:!0,configurable:!0}}),Object.defineProperties(G,{_maxListeners:{value:o,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),e.exports=B})()})(oR)),oR.exports}var bBe=kBe();const SBe=Wu(bBe);let EBe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",TBe=(e=21)=>{let t="",n=e|0;for(;n-- >0;)t+=EBe[Math.random()*64|0];return t};var CBe={archived:"exclude",mode:"compact"},ABe="client_",IBe=class{knock;feedId;defaultOptions;referenceId;unsubscribeFromSocketEvents=void 0;socketManager;userFeedId;broadcaster;broadcastChannel;hasSubscribedToRealTimeUpdates=!1;store;constructor(t,n,r,i){this.knock=t,this.feedId=n,(!n||!aBe(n))&&this.knock.log("[Feed] Invalid or missing feedId provided to the Feed constructor. The feed should be a UUID of an in-app feed channel (`in_app_feed`) found in the Knock dashboard. Please provide a valid feedId to the Feed constructor.",!0),this.feedId=n,this.userFeedId=this.buildUserFeedId(),this.referenceId=ABe+TBe(),this.socketManager=i,this.store=yBe(),this.broadcaster=new SBe({wildcard:!0,delimiter:"."}),this.defaultOptions={...CBe,...w8(r)},this.knock.log(`[Feed] Initialized a feed on channel ${n}`),this.initializeRealtimeConnection(),this.setupBroadcastChannel()}reinitialize(t){this.socketManager=t,this.userFeedId=this.buildUserFeedId(),this.initializeRealtimeConnection(),this.setupBroadcastChannel()}teardown(){this.knock.log("[Feed] Tearing down feed instance"),this.socketManager?.leave(this),this.broadcastChannel&&this.broadcastChannel.close()}dispose(){this.knock.log("[Feed] Disposing of feed instance"),this.teardown(),this.broadcaster.removeAllListeners(),this.knock.feeds.removeInstance(this)}listenForUpdates(){if(this.knock.log("[Feed] Connecting to real-time service"),this.hasSubscribedToRealTimeUpdates=!0,!this.knock.isAuthenticated()){this.knock.log("[Feed] User is not authenticated, skipping listening for updates");return}this.unsubscribeFromSocketEvents=this.socketManager?.join(this)}on(t,n){this.broadcaster.on(t,n)}off(t,n){this.broadcaster.off(t,n)}getState(){return this.store.getState()}canMutate(t){return this.knock.isAuthenticated()?!0:(this.knock.log(`[Feed] User is not authenticated, skipping ${t}`),!1)}async markAsSeen(t){if(!this.canMutate("markAsSeen"))return;let n=new Date().toISOString();return this.optimisticallyPerformStatusUpdate(t,"seen",{seen_at:n},"unseen_count"),this.makeStatusUpdate(t,"seen")}async markAllAsSeen(){if(!this.canMutate("markAllAsSeen"))return;let{metadata:t,items:n,...r}=this.store.getState();if(this.defaultOptions.status==="unseen")r.resetStore({...t,total_count:0,unseen_count:0});else{r.setMetadata({...t,unseen_count:0});let o={seen_at:new Date().toISOString()},a=n.map(s=>s.id);r.setItemAttrs(a,o)}let i=await this.makeBulkStatusUpdate("seen");return this.emitEvent("all_seen",n),i}async markAsUnseen(t){if(this.canMutate("markAsUnseen"))return this.optimisticallyPerformStatusUpdate(t,"unseen",{seen_at:null},"unseen_count"),this.makeStatusUpdate(t,"unseen")}async markAsRead(t){if(!this.canMutate("markAsRead"))return;let n=new Date().toISOString();return this.optimisticallyPerformStatusUpdate(t,"read",{read_at:n},"unread_count"),this.makeStatusUpdate(t,"read")}async markAllAsRead(){if(!this.canMutate("markAllAsRead"))return;let{metadata:t,items:n,...r}=this.store.getState();if(this.defaultOptions.status==="unread")r.resetStore({...t,total_count:0,unread_count:0});else{r.setMetadata({...t,unread_count:0});let o={read_at:new Date().toISOString()},a=n.map(s=>s.id);r.setItemAttrs(a,o)}let i=await this.makeBulkStatusUpdate("read");return this.emitEvent("all_read",n),i}async markAsUnread(t){if(this.canMutate("markAsUnread"))return this.optimisticallyPerformStatusUpdate(t,"unread",{read_at:null},"unread_count"),this.makeStatusUpdate(t,"unread")}async markAsInteracted(t,n){if(!this.canMutate("markAsInteracted"))return;let r=new Date().toISOString();return this.optimisticallyPerformStatusUpdate(t,"interacted",{read_at:r,interacted_at:r}
1921,"unread_count"),this.makeStatusUpdate(t,"interacted",n)}async markAsArchived(t){if(!this.canMutate("markAsArchived"))return;let n=this.store.getState(),r=this.defaultOptions.archived==="exclude",i=Array.isArray(t)?t:[t],o=i.map(a=>a.id);if(r){let a=i.filter(c=>!c.seen_at).length,s=i.filter(c=>!c.read_at).length,l={...n.metadata,total_count:Math.max(0,n.metadata.total_count-i.length),unseen_count:Math.max(0,n.metadata.unseen_count-a),unread_count:Math.max(0,n.metadata.unread_count-s)},u=n.items.filter(c=>!o.includes(c.id));n.setResult({entries:u,meta:l,page_info:n.pageInfo})}else n.setItemAttrs(o,{archived_at:new Date().toISOString()});return this.makeStatusUpdate(t,"archived")}async markAllAsArchived(){if(!this.canMutate("markAllAsArchived"))return;let{items:t,...n}=this.store.getState();if(this.defaultOptions.archived==="exclude")n.resetStore();else{let i=t.map(o=>o.id);n.setItemAttrs(i,{archived_at:new Date().toISOString()})}let r=await this.makeBulkStatusUpdate("archive");return this.emitEvent("all_archived",t),r}async markAllReadAsArchived(){if(!this.canMutate("markAllReadAsArchived"))return;let{items:t,...n}=this.store.getState(),r=t.filter(i=>i.read_at===null).map(i=>i.id);if(n.setItemAttrs(r,{archived_at:new Date().toISOString()}),this.defaultOptions.archived==="exclude"){let i=t.filter(a=>!r.includes(a.id)),o={...n.metadata,total_count:i.length,unread_count:0};n.setResult({entries:i,meta:o,page_info:n.pageInfo})}return await this.makeBulkStatusUpdate("archive")}async markAsUnarchived(t){if(!this.canMutate("markAsUnarchived"))return;let n=this.store.getState(),r=Array.isArray(t)?t:[t],i=r.map(o=>o.id);if(this.defaultOptions.archived==="only"){let o=r.filter(u=>!u.seen_at).length,a=r.filter(u=>!u.read_at).length,s={...n.metadata,total_count:Math.max(0,n.metadata.total_count-r.length),unseen_count:Math.max(0,n.metadata.unseen_count-o),unread_count:Math.max(0,n.metadata.unread_count-a)},l=n.items.filter(u=>!i.includes(u.id));n.setResult({entries:l,meta:s,page_info:n.pageInfo})}else this.optimisticallyPerformStatusUpdate(t,"unarchived",{archived_at:null});return this.makeStatusUpdate(t,"unarchived")}async fetch(t={}){let{networkStatus:n,...r}=this.store.getState();if(!this.knock.isAuthenticated()){this.knock.log("[Feed] User is not authenticated, skipping fetch");return}if(iBe(n)){this.knock.log("[Feed] Request is in flight, skipping fetch");return}r.setNetworkStatus(t.__loadingType??Nf.loading);let i=N8({...this.defaultOptions,...t}),o={...this.defaultOptions,...w8(t),trigger_data:i,__loadingType:void 0,__fetchSource:void 0,__experimentalCrossBrowserUpdates:void 0},a=await this.knock.client().makeRequest({method:"GET",url:`/v1/users/${this.knock.userId}/feeds/${this.feedId}`,params:o});if(a.statusCode==="error"||!a.body)return r.setNetworkStatus(Nf.error),{status:a.statusCode,data:a.error||a.body};let s={entries:a.body.entries,meta:a.body.meta,page_info:a.body.page_info};t.before?r.setResult(s,{shouldSetPage:!1,shouldAppend:!0}):t.after?r.setResult(s,{shouldSetPage:!0,shouldAppend:!0}):r.setResult(s),this.broadcast("messages.new",s);let l=t.__fetchSource==="socket"?"items.received.realtime":"items.received.page",u={items:s.entries,metadata:s.meta,event:l};return this.broadcast(u.event,u),{data:s,status:a.statusCode}}async fetchNextPage(t={}){if(!this.canMutate("fetchNextPage"))return;let{pageInfo:n}=this.store.getState();n.after&&this.fetch({...t,after:n.after,__loadingType:Nf.fetchMore})}get socketChannelTopic(){return`feeds:${this.userFeedId}`}broadcast(t,n){this.broadcaster.emit(t,n)}async onNewMessageReceived({data:t}){this.knock.log("[Feed] Received new real-time message");let{items:n,...r}=this.store.getState(),i=n[0],o=t[this.referenceId]?.metadata;o&&r.setMetadata(o),this.fetch({before:i?.__cursor,__fetchSource:"socket"})}buildUserFeedId(){return`${this.feedId}:${this.knock.userId}`}optimisticallyPerformStatusUpdate(t,n,r,i){let o=this.store.getState(),a=Array.isArray(t)?t:[t],s=a.map(l=>l.id);if(i){let{metadata:l}=o,u=a.filter(f=>{switch(n){case"seen":return f.seen_at===null;case"unseen":return f.seen_at!==null;case"read":case"interacted":return f.read_at===null;case"unread":return f.read_at!==null;default:return!0}}),c=n.startsWith("un")?u.length:-u.length;o.setMetadata({...l,[i]:Math.max(0,l[i]+c)})}o.setItemAttrs(s,r)}async makeStatusUpdate(t,n,r){let i=Array.isArray(t)?t:[t],o=i.map(s=>s.id),a=await this.knock.messages.batchUpdateStatuses(o,n,{metadata:r});return this.emitEvent(n,i),a}async makeBulkStatusUpdate(t){let n={user_ids:[this.knock.userId],engagement_status:this.defaultOptions.status==="all"?void 0:this.defaultOptions.status,archived:this.defaultOptions.archived,has_tenant:this.defaultOptions.has_tenant,tenants:this.defaultOptions.tenant?[this.defaultOptions.tenant]:void 0,trigger_data:N8(this.defaultOptions)};
1921return await this.knock.messages.bulkUpdateAllStatusesInChannel({channelId:this.feedId,status:t,options:n})}setupBroadcastChannel(){this.broadcastChannel=typeof self<"u"&&"BroadcastChannel"in self?new BroadcastChannel(`knock:feed:${this.userFeedId}`):null,this.broadcastChannel&&this.defaultOptions.__experimentalCrossBrowserUpdates===!0&&(this.broadcastChannel.onmessage=t=>{switch(t.data.type){case"items:archived":case"items:unarchived":case"items:seen":case"items:unseen":case"items:read":case"items:unread":case"items:all_read":case"items:all_seen":case"items:all_archived":return this.fetch();default:return null}})}broadcastOverChannel(t,n){if(this.broadcastChannel)try{let r=JSON.parse(JSON.stringify(n));this.broadcastChannel.postMessage({type:t,payload:r})}catch(r){console.warn(`Could not broadcast ${t}, got error: ${r}`)}}initializeRealtimeConnection(){this.socketManager&&this.hasSubscribedToRealTimeUpdates&&this.knock.isAuthenticated()&&(this.unsubscribeFromSocketEvents=this.socketManager?.join(this))}async handleSocketEvent(t){if(t.event===WZ.NewMessage){this.onNewMessageReceived(t);return}else{t.event;return}}emitEvent(t,n){this.broadcaster.emit(`items.${t}`,{items:n}),this.broadcaster.emit(`items:${t}`,{items:n}),this.broadcastOverChannel(`items:${t}`,{items:n})}},wBe=class{instance;feedInstances=[];socketManager;constructor(t){this.instance=t}initialize(t,n={}){this.initSocketManager();let r=new IBe(this.instance,t,n,this.socketManager);return this.feedInstances.push(r),r}removeInstance(t){this.feedInstances=this.feedInstances.filter(n=>n!==t)}hasInstances(){return this.feedInstances.length>0}teardownInstances(){for(let t of this.feedInstances)t.teardown()}reinitializeInstances(){for(let t of this.feedInstances)this.socketManager?.leave(t);this.socketManager=void 0,this.initSocketManager();for(let t of this.feedInstances)t.reinitialize(this.socketManager)}initSocketManager(){let t=this.instance.client().socket;t&&!this.socketManager&&(this.socketManager=new dBe(t))}},gf="$tenants",NBe=Object.defineProperty,hn=(e,t)=>NBe(e,"name",{value:t,configurable:!0}),Hm=class{type=3;name="";prefix="";value="";suffix="";modifier=3;constructor(t,n,r,i,o,a){this.type=t,this.name=n,this.prefix=r,this.value=i,this.suffix=o,this.modifier=a}hasCustomName(){return this.name!==""&&typeof this.name!="number"}};hn(Hm,"Part");var RBe=/[$_\p{ID_Start}]/u,xBe=/[$_\u200C\u200D\p{ID_Continue}]/u,$1=".*";function qZ(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}hn(qZ,"isASCII");function uD(e,t=!1){let n=[],r=0;for(;r<e.length;){let i=e[r],o=hn(function(a){if(!t)throw new TypeError(a);n.push({type:"INVALID_CHAR",index:r,value:e[r++]})},"ErrorOrInvalid");if(i==="*"){n.push({type:"ASTERISK",index:r,value:e[r++]});continue}if(i==="+"||i==="?"){n.push({type:"OTHER_MODIFIER",index:r,value:e[r++]});continue}if(i==="\\"){n.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if(i==="{"){n.push({type:"OPEN",index:r,value:e[r++]});continue}if(i==="}"){n.push({type:"CLOSE",index:r,value:e[r++]});continue}if(i===":"){let a="",s=r+1;for(;s<e.length;){let l=e.substr(s,1);if(s===r+1&&RBe.test(l)||s!==r+1&&xBe.test(l)){a+=e[s++];continue}break}if(!a){o(`Missing parameter name at ${r}`);continue}n.push({type:"NAME",index:r,value:a}),r=s;continue}if(i==="("){let a=1,s="",l=r+1,u=!1;if(e[l]==="?"){o(`Pattern cannot start with "?" at ${l}`);continue}for(;l<e.length;){if(!qZ(e[l],!1)){o(`Invalid character '${e[l]}' at ${l}.`),u=!0;break}if(e[l]==="\\"){s+=e[l++]+e[l++];continue}if(e[l]===")"){if(a--,a===0){l++;break}}else if(e[l]==="("&&(a++,e[l+1]!=="?")){o(`Capturing groups are not allowed at ${l}`),u=!0;break}s+=e[l++]}if(u)continue;if(a){o(`Unbalanced pattern at ${r}`);continue}if(!s){o(`Missing pattern at ${r}`);continue}n.push({type:"REGEX",index:r,value:s}),r=l;continue}n.push({type:"CHAR",index:r,value:e[r++]})}return n.push({type:"END",index:r,value:""}),n}hn(uD,"lexer");function cD(e,t={}){let n=uD(e);t.delimiter??="/#?",t.prefixes??="./";let r=`[^${Aa(t.delimiter)}]+?`,i=[],o=0,a=0,s=new Set,l=hn(S=>{if(a<n.length&&n[a].type===S)return n[a++].value},"tryConsume"),u=hn(()=>l("OTHER_MODIFIER")??l("ASTERISK"),"tryConsumeModifier"),c=hn(S=>
vendor: 15,271 bytes, line 1921
1921{let T=l(S);if(T!==void 0)return T;let{type:I,index:A}=n[a];throw new TypeError(`Unexpected ${I} at ${A}, expected ${S}`)},"mustConsume"),f=hn(()=>{let S="",T;for(;T=l("CHAR")??l("ESCAPED_CHAR");)S+=T;return S},"consumeText"),p=hn(S=>S,"DefaultEncodePart"),v=t.encodePart||p,g="",y=hn(S=>{g+=S},"appendToPendingFixedValue"),k=hn(()=>{g.length&&(i.push(new Hm(3,"","",v(g),"",3)),g="")},"maybeAddPartFromPendingFixedValue"),E=hn((S,T,I,A,w)=>{let R=3;switch(w){case"?":R=1;break;case"*":R=0;break;case"+":R=2;break}if(!T&&!I&&R===3){y(S);return}if(k(),!T&&!I){if(!S)return;i.push(new Hm(3,"","",v(S),"",R));return}let x;I?I==="*"?x=$1:x=I:x=r;let D=2;x===r?(D=1,x=""):x===$1&&(D=0,x="");let M;if(T?M=T:I&&(M=o++),s.has(M))throw new TypeError(`Duplicate name '${M}'.`);s.add(M),i.push(new Hm(D,M,v(S),x,v(A),R))},"addPart");for(;a<n.length;){let S=l("CHAR"),T=l("NAME"),I=l("REGEX");if(!T&&!I&&(I=l("ASTERISK")),T||I){let w=S??"";t.prefixes.indexOf(w)===-1&&(y(w),w=""),k();let R=u();E(w,T,I,"",R);continue}let A=S??l("ESCAPED_CHAR");if(A){y(A);continue}if(l("OPEN")){let w=f(),R=l("NAME"),x=l("REGEX");!R&&!x&&(x=l("ASTERISK"));let D=f();c("CLOSE");let M=u();E(w,R,x,D,M);continue}k(),c("END")}return i}hn(cD,"parse");function Aa(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}hn(Aa,"escapeString");function J1(e){return e&&e.ignoreCase?"ui":"u"}hn(J1,"flags");function GZ(e,t,n){return dD(cD(e,n),t,n)}hn(GZ,"stringToRegexp");function vf(e){switch(e){case 0:return"*";case 1:return"?";case 2:return"+";case 3:return""}}hn(vf,"modifierToString");function dD(e,t,n={}){n.delimiter??="/#?",n.prefixes??="./",n.sensitive??=!1,n.strict??=!1,n.end??=!0,n.start??=!0,n.endsWith="";let r=n.start?"^":"";for(let s of e){if(s.type===3){s.modifier===3?r+=Aa(s.value):r+=`(?:${Aa(s.value)})${vf(s.modifier)}`;continue}t&&t.push(s.name);let l=`[^${Aa(n.delimiter)}]+?`,u=s.value;if(s.type===1?u=l:s.type===0&&(u=$1),!s.prefix.length&&!s.suffix.length){s.modifier===3||s.modifier===1?r+=`(${u})${vf(s.modifier)}`:r+=`((?:${u})${vf(s.modifier)})`;continue}if(s.modifier===3||s.modifier===1){r+=`(?:${Aa(s.prefix)}(${u})${Aa(s.suffix)})`,r+=vf(s.modifier);continue}r+=`(?:${Aa(s.prefix)}`,r+=`((?:${u})(?:`,r+=Aa(s.suffix),r+=Aa(s.prefix),r+=`(?:${u}))*)${Aa(s.suffix)})`,s.modifier===0&&(r+="?")}let i=`[${Aa(n.endsWith)}]|$`,o=`[${Aa(n.delimiter)}]`;if(n.end)return n.strict||(r+=`${o}?`),n.endsWith.length?r+=`(?=${i})`:r+="$",new RegExp(r,J1(n));n.strict||(r+=`(?:${o}(?=${i}))?`);let a=!1;if(e.length){let s=e[e.length-1];s.type===3&&s.modifier===3&&(a=n.delimiter.indexOf(s)>-1)}return a||(r+=`(?=${o}|${i})`),new RegExp(r,J1(n))}hn(dD,"partsToRegexp");var Ic={delimiter:"",prefixes:"",sensitive:!0,strict:!0},LBe={delimiter:".",prefixes:"",sensitive:!0,strict:!0},OBe={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function KZ(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}hn(KZ,"isAbsolutePathname");function fD(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}hn(fD,"maybeStripPrefix");function YZ(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}hn(YZ,"maybeStripSuffix");function pD(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}hn(pD,"treatAsIPv6Hostname");var $Z=["ftp","file","http","https","ws","wss"];function mD(e){if(!e)return!0;for(let t of $Z)if(e.test(t))return!0;return!1}hn(mD,"isSpecialScheme");function JZ(e,t){if(e=fD(e,"#"),t||e==="")return e;let n=new URL("https://example.com");return n.hash=e,n.hash?n.hash.substring(1,n.hash.length):""}hn(JZ,"canonicalizeHash");function ZZ(e,t){if(e=fD(e,"?"),t||e==="")return e;let n=new URL("https://example.com");return n.search=e,n.search?n.search.substring(1,n.search.length):""}hn(ZZ,"canonicalizeSearch");function QZ(e,t){return t||e===""?e:pD(e)?vD(e):gD(e)}hn(QZ,"canonicalizeHostname");function XZ(e,t){if(t||e==="")return e;let n=new URL("https://example.com");return n.password=e,n.password}hn(XZ,"canonicalizePassword");function eQ(e,t){if(t||e==="")return e;let n=new URL("https://example.com");return n.username=e,n.username}hn(eQ,"canonicalizeUsername");function tQ(e,t,n){if(n||e==="")return e;if(t&&!$Z.includes(t))return new URL(`${t}:${e}`).pathname;let r=e[0]=="/";return e=new URL(r?e:"/-"+e,"https://example.com").pathname,r||(e=e.substring(2,e.length)),e}hn(tQ,"canonicalizePathname");function nQ(e,t,n){return hD(t)===e&&(e=""),n||e===""?e:yD(e)}hn(nQ,"canonicalizePort");function rQ(e,t){return e=YZ(e,":"),t||e===""?e:JC(e)}hn(rQ,"canonicalizeProtocol");function hD(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}hn(hD,"defaultPortForProtocol");function JC(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}hn(JC,"protocolEncodeCallback");function iQ(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}hn(iQ,"usernameEncodeCallback");function oQ(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}hn(oQ,"passwordEncodeCallback");function gD(e){if(e==="")return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw new TypeError(`Invalid hostname '${e}'`);let t=new URL("https://example.com");return t.hostname=e,t.hostname}hn(gD,"hostnameEncodeCallback");function vD(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}hn(vD,"ipv6HostnameEncodeCallback");function yD(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}hn(yD,"portEncodeCallback");function aQ(e){if(e==="")return e;let t=new URL("https://example.com");return t.pathname=e[0]!=="/"?"/-"+e:e,e[0]!=="/"?t.pathname.substring(2,t.pathname.length):t.pathname}hn(aQ,"standardURLPathnameEncodeCallback");function sQ(e){return e===""?e:new URL(`data:${e}`).pathname}hn(sQ,"pathURLPathnameEncodeCallback");function lQ(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}hn(lQ,"searchEncodeCallback");function uQ(e){if(e==="")return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}hn(uQ,"hashEncodeCallback");var cQ=class{#o;#r=[];#t={};#e=0;#i=1;#u=0;#s=0;#p=0;#m=0;#h=!1;constructor(t){this.#o=t}get result(){return this.#t}parse(){for(this.#r=uD(this.#o,!0);this.#e<this.#r.length;this.#e+=this.#i){if(this.#i=1,this.#r[this.#e].type==="END"){if(this.#s===0){this.#k(),this.#c()?this.#n(9,1):this.#d()?this.#n(8,1):this.#n(7,0);continue}else if(this.#s===2){this.#f(5);continue}this.#n(10,0);break}if(this.#p>0)if(this.#I())this.#p-=1;else continue;if(this.#A()){this.#p+=1;continue}switch(this.#s){case 0:this.#b()&&this.#f(1);break;case 1:if(this.#b()){this.#R();let t=7,n=1;this.#E()?(t=2,n=3):this.#h&&(t=2),this.#n(t,n)}break;case 2:this.#v()?this.#f(3):(this.#y()||this.#d()||this.#c())&&this.#f(5);break;case 3:this.#T()?this.#n(4,1):this.#v()&&this.#n(5,1);break;case 4:this.#v()&&this.#n(5,1);break;case 5:this.#w()?this.#m+=1:this.#N()&&(this.#m-=1),this.#C()&&!this.#m?this.#n(6,1):this.#y()?this.#n(7,0):this.#d()?this.#n(8,1):this.#c()&&this.#n(9,1);break;case 6:this.#y()?this.#n(7,0):this.#d()?this.#n(8,1):this.#c()&&this.#n(9,1);break;case 7:this.#d()?this.#n(8,1):this.#c()&&this.#n(9,1);break;case 8:this.#c()&&this.#n(9,1);break}}this.#t.hostname!==void 0&&this.#t.port===void 0&&(this.#t.port="")}#n(t,n){switch(this.#s){case 0:break;case 1:this.#t.protocol=this.#l();break;case 2:break;case 3:this.#t.username=this.#l();break;case 4:this.#t.password=this.#l();break;case 5:this.#t.hostname=this.#l();break;case 6:this.#t.port=this.#l();break;case 7:this.#t.pathname=this.#l();break;case 8:this.#t.search=this.#l();break;case 9:this.#t.hash=this.#l();break}this.#s!==0&&t!==10&&([1,2,3,4].includes(this.#s)&&[6,7,8,9].includes(t)&&(this.#t.hostname??=""),[1,2,3,4,5,6].includes(this.#s)&&[8,9].includes(t)&&(this.#t.pathname??=this.#h?"/":""),[1,2,3,4,5,6,7].includes(this.#s)&&t===9&&(this.#t.search??="")),this.#S(t,n)}#S(t,n){this.#s=t,this.#u=this.#e+n,this.#e+=n,this.#i=0}#k(){this.#e=this.#u,this.#i=0}#f(t){this.#k(),this.#s=t}#g(t){return t<0&&(t=this.#r.length-t),t<this.#r.length?this.#r[t]:this.#r[this.#r.length-1]}#a(t,n){let r=this.#g(t);return r.value===n&&(r.type==="CHAR"||r.type==="ESCAPED_CHAR"||r.type==="INVALID_CHAR")}#b(){return this.#a(this.#e,":")}#E(){return this.#a(this.#e+1,"/")&&this.#a(this.#e+2,"/")}#v(){return this.#a(this.#e,"@")}#T(){return this.#a(this.#e,":")}#C(){return this.#a(this.#e,":")}#y(){return this.#a(this.#e,"/")}#d(){if(this.#a(this.#e,"?"))return!0;if(this.#r[this.#e].value!=="?")return!1;let t=this.#g(this.#e-1);return t.type!=="NAME"&&t.type!=="REGEX"&&t.type!=="CLOSE"&&t.type!=="ASTERISK"}#c(){return this.#a(this.#e,"#")}#A(){return this.#r[this.#e].type=="OPEN"}#I(){return this.#r[this.#e].type=="CLOSE"}#w(){return this.#a(this.#e,"[")}#N(){return this.#a(this.#e,"]")}#l(){let t=this.#r[this.#e],n=this.#g(this.#u).index;return this.#o.substring(n,t.index)}#R(){let t={};Object.assign(t,Ic),t.encodePart=JC;let n=GZ(this.#l(),void 0,t);this.#h=mD(n)}};hn(cQ,"Parser");var aR=["protocol","username","password","hostname","port","pathname","search","hash"],Ec="*";function Z1(e,t){if(typeof e!="string")throw new TypeError("parameter 1 is not of type 'string'.");let n=new URL(e,t);return{protocol:n.protocol.substring(0,n.protocol.length-1),username:n.username,password:n.password,hostname:n.hostname,port:n.port,pathname:n.pathname,search:n.search!==""?n.search.substring(1,n.search.length):void 0,hash:n.hash!==""?n.hash.substring(1,n.hash.length):void 0}}hn(Z1,"extractValues");function bl(e,t){return t?wm(e):e}hn(bl,"processBaseURLString");function gm(e,t,n){let r;if(typeof t.baseURL=="string")try{r=new URL(t.baseURL),t.protocol===void 0&&(e.protocol=bl(r.protocol.substring(0,r.protocol.length-1),n)),!n&&t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.username===void 0&&(e.username=bl(r.username,n)),!n&&t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.username===void 0&&t.password===void 0&&(e.password=bl(r.password,n)),t.protocol===void 0&&t.hostname===void 0&&(e.hostname=bl(r.hostname,n)),t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&(e.port=bl(r.port,n)),t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.pathname===void 0&&(e.pathname=bl(r.pathname,n)),t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.pathname===void 0&&t.search===void 0&&(e.search=bl(r.search.substring(1,r.search.length),n)),t.protocol===void 0&&t.hostname===void 0&&t.port===void 0&&t.pathname===void 0&&t.search===void 0&&t.hash===void 0&&(e.hash=bl(r.hash.substring(1,r.hash.length),n))}catch{throw new TypeError(`invalid baseURL '${t.baseURL}'.`)}if(typeof t.protocol=="string"&&(e.protocol=rQ(t.protocol,n)),typeof t.username=="string"&&(e.username=eQ(t.username,n)),typeof t.password=="string"&&(e.password=XZ(t.password,n)),typeof t.hostname=="string"&&(e.hostname=QZ(t.hostname,n)),typeof t.port=="string"&&(e.port=nQ(t.port,e.protocol,n)),typeof t.pathname=="string"){if(e.pathname=t.pathname,r&&!KZ(e.pathname,n)){let i=r.pathname.lastIndexOf("/");i>=0&&(e.pathname=bl(r.pathname.substring(0,i+1),n)+e.pathname)}e.pathname=tQ(e.pathname,e.protocol,n)}return typeof t.search=="string"&&(e.search=ZZ(t.search,n)),typeof t.hash=="string"&&(e.hash=JZ(t.hash,n)),e}hn(gm,"applyInit");function wm(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}hn(wm,"escapePatternString");function dQ(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}hn(dQ,"escapeRegexpString");function fQ(e,t){t.delimiter??="/#?",t.prefixes??="./",t.sensitive??=!1,t.strict??=!1,t.end??=!0,t.start??=!0,t.endsWith="";let n=".*",r=`[^${dQ(t.delimiter)}]+?`,i=/[$_\u200C\u200D\p{ID_Continue}]/u,o="";for(let a=0;a<e.length;++a){let s=e[a];if(s.type===3){if(s.modifier===3){o+=wm(s.value);continue}o+=`{${wm(s.value)}}${vf(s.modifier)}`;continue}let l=s.hasCustomName(),u=!!s.suffix.length||!!s.prefix.length&&(s.prefix.length!==1||!t.prefixes.includes(s.prefix)),c=a>0?e[a-1]:null,f=a<e.length-1?e[a+1]:null;if(!u&&l&&s.type===1&&s.modifier===3&&f&&!f.prefix.length&&!f.suffix.length)if(f.type===3){let p=f.value.length>0?f.value[0]:"";u=i.test(p)}else u=!f.hasCustomName();if(!u&&!s.prefix.length&&c&&c.type===3){let p=c.value[c.value.length-1];u=t.prefixes.includes(p)}u&&(o+="{"),o+=wm(s.prefix),l&&(o+=`:${s.name}`),s.type===2?o+=`(${s.value})`:s.type===1?l||(o+=`(${r})`):s.type===0&&(!l&&(!c||c.type===3||c.modifier!==3||u||s.prefix!=="")?o+="*":o+=`(${n})`),s.type===1&&l&&s.suffix.length&&i.test(s.suffix[0])&&(o+="\\"),o+=wm(s.suffix),u&&(o+="}"),s.modifier!==3&&(o+=vf(s.modifier))}return o}hn(fQ,"partsToPattern");var pQ=class{#o;#r={};#t={};#e={};#i={};#u=!1;constructor(t={},n,r){try{let i;if(typeof n=="string"?i=n:r=n,typeof t=="string"){let l=new cQ(t);if(l.parse(),t=l.result,i===void 0&&typeof t.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.");t.baseURL=i}else{if(!t||typeof t!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(i)throw new TypeError("parameter 1 is not of type 'string'.")}typeof r>"u"&&(r={ignoreCase:!1});let o={ignoreCase:r.ignoreCase===!0},a={pathname:Ec,protocol:Ec,username:Ec,password:Ec,hostname:Ec,port:Ec,search:Ec,hash:Ec};this.#o=gm(a,t,!0),hD(this.#o.protocol)===this.#o.port&&(this.#o.port="");let s;for(s of aR){if(!(s in this.#o))continue;let l={},u=this.#o[s];switch(this.#t[s]=[],s){case"protocol":Object.assign(l,Ic),l.encodePart=JC;break;case"username":Object.assign(l,Ic),l.encodePart=iQ;break;case"password":Object.assign(l,Ic),l.encodePart=oQ;break;case"hostname":Object.assign(l,LBe),pD(u)?l.encodePart=vD:l.encodePart=gD;break;case"port":Object.assign(l,Ic),l.encodePart=yD;break;case"pathname":mD(this.#r.protocol)?(Object.assign(l,OBe,o),l.encodePart=aQ):(Object.assign(l,Ic,o),l.encodePart=sQ);break;case"search":Object.assign(l,Ic,o),l.encodePart=lQ;break;case"hash":Object.assign(l,Ic,o),l.encodePart=uQ;break}try{this.#i[s]=cD(u,l),this.#r[s]=dD(this.#i[s],this.#t[s],l),this.#e[s]=fQ(this.#i[s],l),this.#u=this.#u||this.#i[s].some(c=>c.type===2)}catch{throw new TypeError(`invalid ${s} pattern '${this.#o[s]}'.`)}}}catch(i){throw new TypeError(`Failed to construct 'URLPattern': ${i.message}`)}}get[Symbol.toStringTag](){return"URLPattern"}test(t={},n){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof t!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof t>"u")return!1;try{typeof t=="object"?r=gm(r,t,!1):r=gm(r,Z1(t,n),!1)}catch{return!1}let i;for(i of aR)if(!this.#r[i].exec(r[i]))return!1;return!0}exec(t={},n){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof t!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof t>"u")return;try{typeof t=="object"?r=gm(r,t,!1):r=gm(r,Z1(t,n),!1)}catch{return null}let i={};n?i.inputs=[t,n]:i.inputs=[t];let o;for(o of aR){let a=this.#r[o].exec(r[o]);if(!a)return null;let s={};
1921for(let[l,u]of this.#t[o].entries())if(typeof u=="string"||typeof u=="number"){let c=a[l+1];s[u]=c}i[o]={input:r[o]??"",groups:s}}return i}static compareComponent(t,n,r){let i=hn((l,u)=>{for(let c of["type","modifier","prefix","value","suffix"]){if(l[c]<u[c])return-1;if(l[c]!==u[c])return 1}return 0},"comparePart"),o=new Hm(3,"","","","",3),a=new Hm(0,"","","","",3),s=hn((l,u)=>{let c=0;for(;c<Math.min(l.length,u.length);++c){let f=i(l[c],u[c]);if(f)return f}return l.length===u.length?0:i(l[c]??o,u[c]??o)},"comparePartList");return!n.#e[t]&&!r.#e[t]?0:n.#e[t]&&!r.#e[t]?s(n.#i[t],[a]):!n.#e[t]&&r.#e[t]?s([a],r.#i[t]):s(n.#i[t],r.#i[t])}get protocol(){return this.#e.protocol}get username(){return this.#e.username}get password(){return this.#e.password}get hostname(){return this.#e.hostname}get port(){return this.#e.port}get pathname(){return this.#e.pathname}get search(){return this.#e.search}get hash(){return this.#e.hash}get hasRegExpGroups(){return this.#u}};hn(pQ,"URLPattern");globalThis.URLPattern||(globalThis.URLPattern=pQ);var sR=e=>`/v1/users/${e}/guides`,x8="default",PBe=class{instance;constructor(t){this.instance=t}async get(){this.instance.failIfNotAuthenticated();let t=await this.instance.client().makeRequest({method:"GET",url:`/v1/users/${this.instance.userId}`});return this.handleResponse(t)}async identify(t={}){this.instance.failIfNotAuthenticated();let n=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}`,data:t});return this.handleResponse(n)}async getAllPreferences(){this.instance.failIfNotAuthenticated();let t=await this.instance.client().makeRequest({method:"GET",url:`/v1/users/${this.instance.userId}/preferences`});return this.handleResponse(t)}async getPreferences(t={}){this.instance.failIfNotAuthenticated();let n=t.preferenceSet||x8,r=await this.instance.client().makeRequest({method:"GET",url:`/v1/users/${this.instance.userId}/preferences/${n}`,params:{tenant:t.tenant}});return this.handleResponse(r)}async setPreferences(t,n={}){this.instance.failIfNotAuthenticated();let r=n.preferenceSet||x8,i=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}/preferences/${r}`,data:t});return this.handleResponse(i)}async getChannelData(t){this.instance.failIfNotAuthenticated();let n=await this.instance.client().makeRequest({method:"GET",url:`/v1/users/${this.instance.userId}/channel_data/${t.channelId}`});return this.handleResponse(n)}async setChannelData({channelId:t,channelData:n}){this.instance.failIfNotAuthenticated();let r=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}/channel_data/${t}`,data:{data:n}});return this.handleResponse(r)}async getGuides(t,n){let r=await this.instance.client().makeRequest({method:"GET",url:`${sR(this.instance.userId)}/${t}`,params:n});return this.handleResponse(r)}async markGuideStepAs(t,n){let r=await this.instance.client().makeRequest({method:"PUT",url:`${sR(this.instance.userId)}/messages/${t}`,data:n});return this.handleResponse(r)}async resetGuideEngagement(t){let n=await this.instance.client().makeRequest({method:"PUT",url:`${sR(this.instance.userId)}/engagements/reset`,data:t});return this.handleResponse(n)}handleResponse(t){if(t.statusCode==="error")throw Error(t.error||t.body);return t.body}},_Be=class{socket;disconnectDelayMs;disconnectTimer=null;shouldReconnectOnVisible=!1;socketWasActive=!1;constructor(t,n=3e4){this.socket=t,this.disconnectDelayMs=n,this.socket.onOpen(this.markActive),this.socket.onClose(this.markActive),typeof document<"u"&&document.addEventListener("visibilitychange",this.onVisibilityChange)}markActive=()=>{this.socketWasActive=!0};onVisibilityChange=()=>{document.hidden?this.scheduleDisconnect():this.reconnect()};scheduleDisconnect(){this.clearTimer(),this.disconnectTimer=setTimeout(()=>{this.disconnectTimer=null,this.socketWasActive&&(this.shouldReconnectOnVisible=!0,this.socket.disconnect())},this.disconnectDelayMs)}reconnect(){this.clearTimer(),this.shouldReconnectOnVisible&&(this.shouldReconnectOnVisible=!1,this.socket.connect())}clearTimer(){this.disconnectTimer&&=(clearTimeout(this.disconnectTimer),null)}teardown(){this.clearTimer(),typeof document<"u"&&document.removeEventListener("visibilitychange",this.onVisibilityChange)}},Wm=e=>typeof e=="function"?e:function(){return e},DBe=typeof self<"u"?self:null,vm=typeof window<"u"?window:null,Tl=DBe||vm||globalThis,MBe="2.0.0",Nl={connecting:0,open:1,closing:2,closed:3},FBe=100,UBe=1e4,VBe=1e3,Ca={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Cu={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},Q1={longpoll:"longpoll",websocket:"websocket"},BBe={complete:4},X1="base64url.bearer.phx.",y0=class{constructor(e,t,n,r){this.channel=e,this.event=t,this.payload=n||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHo
vendor: 6,014 bytes, line 1921
1921oks=[],this.sent=!1}resend(e){this.timeout=e,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:e,response:t,_ref:n}){this.recHooks.filter(r=>r.status===e).forEach(r=>r.callback(t))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,e=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=e,this.matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}trigger(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}},mQ=class{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},jBe=class{constructor(e,t,n){this.state=Ca.closed,this.topic=e,this.params=Wm(t||{}),this.socket=n,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new y0(this,Cu.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new mQ(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=Ca.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=Ca.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=Ca.closed,this.socket.remove(this)}),this.onError(r=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.isJoining()&&this.joinPush.reset(),this.state=Ca.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new y0(this,Cu.leave,Wm({}),this.timeout).send(),this.state=Ca.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(Cu.reply,(r,i)=>{this.trigger(this.replyEventName(i),r)})}join(e=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(e){this.on(Cu.close,e)}onError(e){return this.on(Cu.error,t=>e(t))}on(e,t){let n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}off(e,t){this.bindings=this.bindings.filter(n=>!(n.event===e&&(typeof t>"u"||t===n.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(e,t,n=this.timeout){if(t=t||{},!this.joinedOnce)throw new Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new y0(this,e,function(){return t},n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(e=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=Ca.leaving;let t=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(Cu.close,"leave")},n=new y0(this,Cu.leave,Wm({}),e);return n.receive("ok",()=>t()).receive("timeout",()=>t()),n.send(),this.canPush()||n.trigger("ok",{}),n}onMessage(e,t,n){return t}isMember(e,t,n,r){return this.topic!==e?!1:r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:e,event:t,payload:n,joinRef:r}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(e=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Ca.joining,this.joinPush.resend(e))}trigger(e,t,n,r){let i=this.onMessage(e,t,n,r);if(t&&!i)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(a=>a.event===e);for(let a=0;a<o.length;a++)o[a].callback(i,n,r||this.joinRef())}replyEventName(e){return`chan_reply_${e}`}isClosed(){return this.state===Ca.closed}isErrored(){return this.state===Ca.errored}isJoined(){return this.state===Ca.joined}isJoining(){return this.state===Ca.joining}isLeaving(){return this.state===Ca.leaving}},YE=class{static request(e,t,n,r,i,o,a){if(Tl.XDomainRequest){let s=new Tl.XDomainRequest;return this.xdomainRequest(s,e,t,r,i,o,a)}else if(Tl.XMLHttpRequest){let s=new Tl.XMLHttpRequest;return this.xhrRequest(s,e,t,n,r,i,o,a)}else{if(Tl.fetch&&Tl.AbortController)return this.fetchRequest(e,t,n,r,i,o,a);throw new Error("No suitable XMLHttpRequest implementation found")}}static fetchRequest(e,t,n,r,i,o,a){let s={method:e,headers:n,body:r},l=null;return i&&(l=new AbortController,setTimeout(()=>l.abort(),i),s.signal=l.signal),Tl.fetch(t,s).then(u=>u.text()).then(u=>this.parseJSON(u)).then(u=>a&&a(u)).catch(u=>{u.name==="AbortError"&&o?o():a&&a(null)}),l}static xdomainRequest(e,t,n,r,i,o,a){return e.timeout=i,e.open(t,n),e.onload=()=>{let s=this.parseJSON(e.responseText);a&&a(s)},o&&(e.ontimeout=o),e.onprogress=()=>{},e.send(r),e}
vendor: 9,257 bytes, lines 1921-1922
1921static xhrRequest(e,t,n,r,i,o,a,s){e.open(t,n,!0),e.timeout=o;for(let[l,u]of Object.entries(r))e.setRequestHeader(l,u);return e.onerror=()=>s&&s(null),e.onreadystatechange=()=>{if(e.readyState===BBe.complete&&s){let l=this.parseJSON(e.responseText);s(l)}},a&&(e.ontimeout=a),e.send(i),e}static parseJSON(e){if(!e||e==="")return null;try{return JSON.parse(e)}catch{return console&&console.log("failed to parse JSON response",e),null}}static serialize(e,t){let n=[];for(var r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=t?`${t}[${r}]`:r,o=e[r];typeof o=="object"?n.push(this.serialize(o,i)):n.push(encodeURIComponent(i)+"="+encodeURIComponent(o))}return n.join("&")}static appendParams(e,t){if(Object.keys(t).length===0)return e;let n=e.match(/\?/)?"&":"?";return`${e}${n}${this.serialize(t)}`}},zBe=e=>{let t="",n=new Uint8Array(e),r=n.byteLength;for(let i=0;i<r;i++)t+=String.fromCharCode(n[i]);return btoa(t)},Zp=class{constructor(e,t){t&&t.length===2&&t[1].startsWith(X1)&&(this.authToken=atob(t[1].slice(X1.length))),this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(e),this.readyState=Nl.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(e){return e.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+Q1.websocket),"$1/"+Q1.longpoll)}endpointURL(){return YE.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(e,t,n){this.close(e,t,n),this.readyState=Nl.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Nl.open||this.readyState===Nl.connecting}poll(){const e={Accept:"application/json"};this.authToken&&(e["X-Phoenix-AuthToken"]=this.authToken),this.ajax("GET",e,null,()=>this.ontimeout(),t=>{if(t){var{status:n,token:r,messages:i}=t;if(n===410&&this.token!==null){this.onerror(410),this.closeAndRetry(3410,"session_gone",!1);return}this.token=r}else n=0;switch(n){case 200:i.forEach(o=>{setTimeout(()=>this.onmessage({data:o}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Nl.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${n}`)}})}send(e){typeof e!="string"&&(e=zBe(e)),this.currentBatch?this.currentBatch.push(e):this.awaitingBatchAck?this.batchBuffer.push(e):(this.currentBatch=[e],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(e,t=0){this.awaitingBatchAck=!0;const n=t+FBe,r=e.slice(t,n);this.ajax("POST",{"Content-Type":"application/x-ndjson"},r.join(` 1922`),()=>this.onerror("timeout"),i=>{!i||i.status!==200?(this.awaitingBatchAck=!1,this.onerror(i&&i.status),this.closeAndRetry(1011,"internal server error",!1)):n<e.length?this.batchSend(e,n):this.batchBuffer.length>0?(this.batchSend(this.batchBuffer),this.batchBuffer=[]):this.awaitingBatchAck=!1})}close(e,t,n){for(let i of this.reqs)i.abort();this.readyState=Nl.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(e,t,n,r,i){let o,a=()=>{this.reqs.delete(o),r()};o=YE.request(e,this.endpointURL(),t,n,this.timeout,a,s=>{this.reqs.delete(o),this.isActive()&&i(s)}),this.reqs.add(o)}},k0={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,r,i,o,a]=JSON.parse(e);return t({join_ref:n,ref:r,topic:i,event:o,payload:a})}},binaryEncode(e){let{join_ref:t,ref:n,event:r,topic:i,payload:o}=e,a=new TextEncoder,s=a.encode(t),l=a.encode(n),u=a.encode(i),c=a.encode(r);this.assertFieldSize(s.byteLength,"join_ref"),this.assertFieldSize(l.byteLength,"ref"),this.assertFieldSize(u.byteLength,"topic"),this.assertFieldSize(c.byteLength,"event");let f=this.META_LENGTH+s.byteLength+l.byteLength+u.byteLength+c.byteLength,p=new ArrayBuffer(this.HEADER_LENGTH+f),v=new Uint8Array(p),g=new DataView(p),y=0;g.setUint8(y++,this.KINDS.push),g.setUint8(y++,s.byteLength),g.setUint8(y++,l.byteLength),g.setUint8(y++,u.byteLength),g.setUint8(y++,c.byteLength),v.set(s,y),y+=s.byteLength,v.set(l,y),y+=l.byteLength,v.set(u,y),y+=u.byteLength,v.set(c,y),y+=c.byteLength;var k=new Uint8Array(p.byteLength+o.byteLength);return k.set(v,0),k.set(new Uint8Array(o),p.byteLength),k.buffer},assertFieldSize(e,t){if(e>255)throw new Error(`unable to convert ${t} to binary: must be less than or equal to 255 bytes, but is ${e} bytes`)},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,r);case this.KINDS.reply:return this.decodeReply(e,t,r);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,r)}},decodePush(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),o=t.getUint8(3),a=this.HEADER_LENGTH+this.META_LENGTH-1,s=n.decode(e.slice(a,a+r));a=a+r;let l=n.decode(e.slice(a,a+i));a=a+i;let u=n.decode(e.slice(a,a+o));a=a+o;let c=e.slice(a,e.byteLength);return{join_ref:s,ref:null,topic:l,event:u,payload:c}},decodeReply(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),o=t.getUint8(3),a=t.getUint8(4),s=this.HEADER_LENGTH+this.META_LENGTH,l=n.decode(e.slice(s,s+r));s=s+r;let u=n.decode(e.slice(s,s+i));s=s+i;let c=n.decode(e.slice(s,s+o));s=s+o;let f=n.decode(e.slice(s,s+a));s=s+a;let p=e.slice(s,e.byteLength),v={status:f,response:p};return{join_ref:l,ref:u,topic:c,event:Cu.reply,payload:v}},decodeBroadcast(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),o=this.HEADER_LENGTH+2,a=n.decode(e.slice(o,o+r));o=o+r;let s=n.decode(e.slice(o,o+i));o=o+i;let l=e.slice(o,e.byteLength);return{join_ref:null,ref:null,topic:a,event:s,payload:l}}},HBe=class{constructor(e,t={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.fallbackRef=null,this.timeout=t.timeout||UBe,this.transport=t.transport||Tl.WebSocket||Zp,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=t.longPollFallbackMs,this.fallbackTimer=null,this.sessionStore=t.sessionStorage||Tl&&Tl.sessionStorage,this.establishedConnections=0,this.defaultEncoder=k0.encode.bind(k0),this.defaultDecoder=k0.decode.bind(k0),this.closeWasClean=!0,this.disconnecting=!1,this.binaryType=t.binaryType||"arraybuffer",this.connectClock=1,this.pageHidden=!1,this.transport!==Zp?(this.encode=t.encode||this.defaultEncoder,this.decode=t.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let n=null;vm&&vm.addEventListener&&(vm.addEventListener("pagehide",r=>{this.conn&&(this.disconnect(),n=this.connectClock)}),vm.addEventListener("pageshow",r=>{n===this.connectClock&&(n=null,this.connect())}),vm.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?this.pageHidden=!0:(this.pageHidden=!1,!this.isConnected()&&!this.closeWasClean&&this.teardown(()=>this.connect()))})),this.heartbeatIntervalMs=t.heartbeatIntervalMs||3e4,this.rejoinAfterMs=r=>t.rejoinAfterMs?t.rejoinAfterMs(r):[1e3,2e3,5e3][r-1]||1e4,this.reconnectAfterMs=r=>t.reconnectAfterMs?t.reconnectAfterMs(r):[10,50,100,150,200,250,500,1e3,2e3][r-1]||5e3,this.logger=t.logger||null,!this.logger&&t.debug&&(this.logger=(r,i,o)=>{console.log(`${r}: ${i}`,o)}),this.longpollerTimeout=t.longpollerTimeout||2e4,this.params=Wm(t.params||{}),this.endPoint=`${e}/${Q1.websocket}`,this.vsn=t.vsn||MBe,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new mQ(()=>{if(this.pageHidden){this.log("Not reconnecting as page is hidden!"),this.teardown();return}this.teardown(()=>this.connect())},this.reconnectAfterMs),this.authToken=t.authToken&&Wm(t.authToken)}getLongPollTransport(){return Zp}replaceTransport(e){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=e}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let e=YE.appendParams(YE.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return e.charAt(0)!=="/"?e:e.charAt(1)==="/"?`${this.protocol()}:${e}`:`${this.protocol()}://${location.host}${e}`}disconnect(e,t,n){this.connectClock++,this.disconnecting=!0,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(()=>{this.disconnecting=!1,e&&e()},t,n)}connect(e){e&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=Wm(e)),!(this.conn&&!this.disconnecting)&&(this.longPollFallbackMs&&this.transport!==Zp?this.connectWithF
vendor: 4,250 bytes, line 1922
1922allback(Zp,this.longPollFallbackMs):this.transportConnect())}log(e,t,n){this.logger&&this.logger(e,t,n)}hasLogger(){return this.logger!==null}onOpen(e){let t=this.makeRef();return this.stateChangeCallbacks.open.push([t,e]),t}onClose(e){let t=this.makeRef();return this.stateChangeCallbacks.close.push([t,e]),t}onError(e){let t=this.makeRef();return this.stateChangeCallbacks.error.push([t,e]),t}onMessage(e){let t=this.makeRef();return this.stateChangeCallbacks.message.push([t,e]),t}ping(e){if(!this.isConnected())return!1;let t=this.makeRef(),n=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:t});let r=this.onMessage(i=>{i.ref===t&&(this.off([r]),e(Date.now()-n))});return!0}transportName(e){return e===Zp?"LongPoll":e.name}transportConnect(){this.connectClock++,this.closeWasClean=!1;let e;this.authToken&&(e=["phoenix",`${X1}${btoa(this.authToken()).replace(/=/g,"")}`]),this.conn=new this.transport(this.endPointURL(),e),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(e){return this.sessionStore&&this.sessionStore.getItem(e)}storeSession(e,t){this.sessionStore&&this.sessionStore.setItem(e,t)}connectWithFallback(e,t=2500){clearTimeout(this.fallbackTimer);let n=!1,r=!0,i,o,a=this.transportName(e),s=l=>{this.log("transport",`falling back to ${a}...`,l),this.off([i,o]),r=!1,this.replaceTransport(e),this.transportConnect()};if(this.getSession(`phx:fallback:${a}`))return s("memorized");this.fallbackTimer=setTimeout(s,t),o=this.onError(l=>{this.log("transport","error",l),r&&!n&&(clearTimeout(this.fallbackTimer),s(l))}),this.fallbackRef&&this.off([this.fallbackRef]),this.fallbackRef=this.onOpen(()=>{if(n=!0,!r){let l=this.transportName(e);return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${l}`,"true"),this.log("transport",`established ${l} fallback`)}clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(s,t),this.ping(l=>{this.log("transport","connected to primary after",l),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`${this.transportName(this.transport)} connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.disconnecting=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,e])=>e())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),VBe,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(e,t,n){if(!this.conn)return e&&e();const r=this.conn;this.waitForBufferDone(r,()=>{t?r.close(t,n||""):r.close(),this.waitForSocketClosed(r,()=>{this.conn===r&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),e&&e()})})}waitForBufferDone(e,t,n=1){if(n===5||!e.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(e,t,n+1)},150*n)}waitForSocketClosed(e,t,n=1){if(n===5||e.readyState===Nl.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(e,t,n+1)},150*n)}onConnClose(e){this.conn&&(this.conn.onclose=()=>{});let t=e&&e.code;this.hasLogger()&&this.log("transport","close",e),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&t!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,n])=>n(e))}onConnError(e){this.hasLogger()&&this.log("transport","error",e);let t=this.transport,n=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,r])=>{r(e,t,n)}),(t===this.transport||n>0)&&this.triggerChanError()}
1922triggerChanError(){this.channels.forEach(e=>{e.isErrored()||e.isLeaving()||e.isClosed()||e.trigger(Cu.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Nl.connecting:return"connecting";case Nl.open:return"open";case Nl.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(e){this.off(e.stateChangeRefs),this.channels=this.channels.filter(t=>t!==e)}off(e){for(let t in this.stateChangeCallbacks)this.stateChangeCallbacks[t]=this.stateChangeCallbacks[t].filter(([n])=>e.indexOf(n)===-1)}channel(e,t={}){let n=new jBe(e,t,this);return this.channels.push(n),n}push(e){if(this.hasLogger()){let{topic:t,event:n,payload:r,ref:i,join_ref:o}=e;this.log("push",`${t} ${n} (${o}, ${i})`,r)}this.isConnected()?this.encode(e,t=>this.conn.send(t)):this.sendBuffer.push(()=>this.encode(e,t=>this.conn.send(t)))}makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}onConnMessage(e){this.decode(e.data,t=>{let{topic:n,event:r,payload:i,ref:o,join_ref:a}=t;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${i.status||""} ${n} ${r} ${o&&"("+o+")"||""}`,i);for(let s=0;s<this.channels.length;s++){const l=this.channels[s];l.isMember(n,r,i,a)&&l.trigger(r,i,o,a)}for(let s=0;s<this.stateChangeCallbacks.message.length;s++){let[,l]=this.stateChangeCallbacks.message[s];l(t)}})}leaveOpenTopic(e){let t=this.channels.find(n=>n.topic===e&&(n.isJoined()||n.isJoining()));t&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${e}"`),t.leave())}},WBe=6e5,qBe=3e4,GBe=15,L8=class extends Error{response;constructor(t,n){super(`Request failed with status code ${t.status}`),this.name="ApiRequestError",this.response={status:t.status,data:n}}},KBe=class{host;apiKey;userToken;branch;fetchClient;defaultHeaders;socket;pageVisibility;unstableConnectionCount=0;socketOpenedAt=null;awaitingReconnect=!1;constructor(t){this.host=t.host,this.apiKey=t.apiKey,this.userToken=t.userToken||null,this.branch=t.branch||null,this.fetchClient=this.getFetchClient(),this.defaultHeaders=this.compactHeaders({Accept:"application/json","Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`,"X-Knock-User-Token":this.userToken,"X-Knock-Client":this.getKnockClientHeader(),"X-Knock-Branch":this.branch}),typeof window<"u"&&(this.socket=new HBe(`${this.host.replace("http","ws")}/ws/v1`,{params:{user_token:this.userToken,api_key:this.apiKey,branch_slug:this.branch},reconnectAfterMs:n=>C8(Math.max(n,this.unstableConnectionCount),{baseDelayMs:1e3,maxDelayMs:WBe}),rejoinAfterMs:n=>C8(n,{baseDelayMs:1e3,maxDelayMs:6e4})}),this.trackConnectionStability(this.socket),typeof window.addEventListener=="function"&&window.addEventListener("online",this.handleOnline),t.disconnectOnPageHidden!==!1&&(this.pageVisibility=new _Be(this.socket)))}trackConnectionStability(t){t.onOpen(()=>{this.awaitingReconnect=!1,this.socketOpenedAt=Date.now()}),t.onClose(n=>{let r=this.socketOpenedAt;this.socketOpenedAt=null,this.awaitingReconnect=!n?.wasClean,r!==null&&Date.now()-r>=qBe?this.unstableConnectionCount=0:n?.wasClean||(this.unstableConnectionCount=Math.min(this.unstableConnectionCount+1,GBe))})}handleOnline=()=>{let t=this.socket;t&&(!this.awaitingReconnect||t.isConnected()||typeof document<"u"&&document.hidden||t.disconnect(()=>t.connect()))};async makeRequest(t){try{let n=await this.requestWithRetries(t),r=await this.parseResponseBody(n);return{statusCode:n.ok?"ok":"error",body:r,error:n.ok?void 0:new L8(n,r),status:n.status}}catch(n){console.error(n);let r=n?.response;return{statusCode:"error",status:r?.status??500,body:r?.data,error:n}}}async requestWithRetries(t){let n;for(let r=0;r<=3;r++){let i=0;try{let o=await this.fetchClient(this.buildUrl(t.url,t.params),this.buildRequestInit(t));if(!o.ok&&this.canRetryRequest({response:o}))i=this.getRetryAfterMs(o),n=new L8(o,await this.parseResponseBody(o));else return o}catch(o){if(n=o,!this.canRetryRequest(o))throw o}r<3&&await this.delay(this.getRetryDelay(r+1,i))}throw n}buildRequestInit(t){return{method:t.method,headers:{...this.defaultHeaders,...this.compactHeaders(t.headers)},body:t.data===void 0?void 0:JSON.stringify(t.data),signal:t.signal}}buildUrl(t="",n){let r=new URL(t,this.host);
1922return n&&(n instanceof URLSearchParams?n.forEach((i,o)=>{r.searchParams.append(o,i)}):typeof n=="object"&&Object.entries(n).forEach(([i,o])=>{this.appendSearchParam(r.searchParams,i,o)})),r.toString()}appendSearchParam(t,n,r){if(r!=null){if(Array.isArray(r)){r.forEach(i=>{this.appendSearchParam(t,`${n}[]`,i)});return}if(r instanceof Date){t.append(n,r.toISOString());return}if(typeof r=="object"){Object.entries(r).forEach(([i,o])=>{this.appendSearchParam(t,`${n}[${i}]`,o)});return}t.append(n,String(r))}}async parseResponseBody(t){if(t.status===204)return;let n=await t.text();if(n)try{return JSON.parse(n)}catch{return n}}delay(t){return new Promise(n=>setTimeout(n,t))}getRetryDelay(t,n=0){let r=Math.min(100*2**t,3e4),i=Math.max(r,n);return i+i*.2*Math.random()}getRetryAfterMs(t){let n=t.headers.get("retry-after");if(!n)return 0;let r=Number(n);if(!Number.isNaN(r))return Math.max(0,r*1e3);let i=new Date(n).valueOf();return Number.isNaN(i)?0:Math.max(0,i-Date.now())}getFetchClient(){return typeof globalThis.fetch=="function"?globalThis.fetch.bind(globalThis):()=>Promise.reject(Error("Fetch is not available in this environment. Please provide a native fetch implementation."))}teardown(){this.pageVisibility?.teardown(),typeof window<"u"&&typeof window.removeEventListener=="function"&&window.removeEventListener("online",this.handleOnline),this.socket?.disconnect()}canRetryRequest(t){if(this.isFetchNetworkError(t))return!0;let n=t?.response;return n?n.status>=500&&n.status<=599||n.status===429:!1}isFetchNetworkError(t){return t instanceof TypeError||typeof DOMException<"u"&&t instanceof DOMException&&t.name==="NetworkError"}compactHeaders(t){let n={};return t?t instanceof Headers?(t.forEach((r,i)=>{n[i]=r}),n):Array.isArray(t)?(t.forEach(([r,i])=>{n[r]=i}),n):(Object.entries(t).forEach(([r,i])=>{i!=null&&(n[r]=String(i))}),n):n}getKnockClientHeader(){return"Knock/ClientJS 0.22.2"}},YBe=class{knock;constructor(t){this.knock=t}async get(t){let n=await this.knock.client().makeRequest({method:"GET",url:`/v1/messages/${t}`});return this.handleResponse(n)}async updateStatus(t,n,r){let i=n==="interacted"&&r?{metadata:r.metadata}:void 0,o=await this.knock.client().makeRequest({method:"PUT",url:`/v1/messages/${t}/${n}`,data:i});return this.handleResponse(o)}async removeStatus(t,n){let r=await this.knock.client().makeRequest({method:"DELETE",url:`/v1/messages/${t}/${n}`});return this.handleResponse(r)}async batchUpdateStatuses(t,n,r){if(!this.knock.isAuthenticated())return this.knock.log("[Messages] User is not authenticated, skipping batchUpdateStatuses"),[];let i=n==="interacted"&&r?{metadata:r.metadata}:{},o=await this.knock.client().makeRequest({method:"POST",url:`/v1/messages/batch/${n}`,data:{message_ids:t,...i}});return this.handleResponse(o)}async bulkUpdateAllStatusesInChannel({channelId:t,status:n,options:r}){let i=await this.knock.client().makeRequest({method:"POST",url:`/v1/channels/${t}/messages/bulk/${n}`,data:r});return this.handleResponse(i)}handleResponse(t){if(t.statusCode==="error"){if(t.error?.response?.status<500)return t.error||t.body;throw Error(t.error||t.body)}return t.body}},$Be=class{instance;constructor(t){this.instance=t}async authCheck({tenant:t,knockChannelId:n}){if(!this.instance.isAuthenticated())return this.instance.log("[MsTeams] User is not authenticated, skipping authCheck"),{connection:{ok:!1}};let r=await this.instance.client().makeRequest({method:"GET",url:`/v1/providers/ms-teams/${n}/auth_check`,params:{ms_teams_tenant_object:{object_id:t,collection:gf},channel_id:n}});return this.handleResponse(r)}async getTeams(t){if(!this.instance.isAuthenticated())return this.instance.log("[MsTeams] User is not authenticated, skipping getTeams"),{ms_teams_teams:[],skip_token:null};let{knockChannelId:n,tenant:r}=t,i=t.queryOptions||{},o=await this.instance.client().makeRequest({method:"GET",url:`/v1/providers/ms-teams/${n}/teams`,params:{ms_teams_tenant_object:{object_id:r,collection:gf},query_options:{$filter:i.$filter,$select:i.$select,$top:i.$top,$skiptoken:i.$skiptoken}}});return this.handleResponse(o)}async getChannels(t){if(!this.instance.isAuthenticated())return this.instance.log("[MsTeams] User is not authenticated, skipping getChannels"),{ms_team
1922s_channels:[]};let{knockChannelId:n,teamId:r,tenant:i}=t,o=t.queryOptions||{},a=await this.instance.client().makeRequest({method:"GET",url:`/v1/providers/ms-teams/${n}/channels`,params:{ms_teams_tenant_object:{object_id:i,collection:gf},team_id:r,query_options:{$filter:o.$filter,$select:o.$select}}});return this.handleResponse(a)}async revokeAccessToken({tenant:t,knockChannelId:n}){let r=await this.instance.client().makeRequest({method:"PUT",url:`/v1/providers/ms-teams/${n}/revoke_access`,params:{ms_teams_tenant_object:{object_id:t,collection:gf},channel_id:n}});return this.handleResponse(r)}handleResponse(t){if(t.statusCode==="error"){if(t.error?.response?.status<500)return t.error||t.body;throw Error(t.error||t.body)}return t.body}},JBe=class{instance;constructor(t){this.instance=t}async getChannelData({collection:t,objectId:n,channelId:r}){let i=await this.instance.client().makeRequest({method:"GET",url:`/v1/objects/${t}/${n}/channel_data/${r}`});return this.handleResponse(i)}async setChannelData({objectId:t,collection:n,channelId:r,data:i}){let o=await this.instance.client().makeRequest({method:"PUT",url:`v1/objects/${n}/${t}/channel_data/${r}`,data:{data:i}});return this.handleResponse(o)}handleResponse(t){if(t.statusCode==="error")throw Error(t.error||t.body);return t.body}},Tc="default";function O8(e){return typeof e=="object"?e:{subscribed:e}}var ZBe=class{instance;constructor(t){this.instance=t}async getAll(){this.instance.failIfNotAuthenticated();let t=await this.instance.client().makeRequest({method:"GET",url:`/v1/users/${this.instance.userId}/preferences`});return this.handleResponse(t)}async get(t={}){this.instance.failIfNotAuthenticated();let n=t.preferenceSet||Tc,r=await this.instance.client().makeRequest({method:"GET",url:`/v1/users/${this.instance.userId}/preferences/${n}`});return this.handleResponse(r)}async set(t,n={}){this.instance.failIfNotAuthenticated();let r=n.preferenceSet||Tc,i=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}/preferences/${r}`,data:t});return this.handleResponse(i)}async setChannelTypes(t,n={}){this.instance.failIfNotAuthenticated();let r=n.preferenceSet||Tc,i=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}/preferences/${r}/channel_types`,data:t});return this.handleResponse(i)}async setChannelType(t,n,r={}){this.instance.failIfNotAuthenticated();let i=r.preferenceSet||Tc,o=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}/preferences/${i}/channel_types/${t}`,data:{subscribed:n}});return this.handleResponse(o)}async setWorkflows(t,n={}){this.instance.failIfNotAuthenticated();let r=n.preferenceSet||Tc,i=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}/preferences/${r}/workflows`,data:t});return this.handleResponse(i)}async setWorkflow(t,n,r={}){this.instance.failIfNotAuthenticated();let i=r.preferenceSet||Tc,o=O8(n),a=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}/preferences/${i}/workflows/${t}`,data:o});return this.handleResponse(a)}async setCategories(t,n={}){this.instance.failIfNotAuthenticated();let r=n.preferenceSet||Tc,i=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}/preferences/${r}/categories`,data:t});return this.handleResponse(i)}async setCategory(t,n,r={}){this.instance.failIfNotAuthenticated();let i=r.preferenceSet||Tc,o=O8(n),a=await this.instance.client().makeRequest({method:"PUT",url:`/v1/users/${this.instance.userId}/preferences/${i}/categories/${t}`,data:o});return this.handleResponse(a)}handleResponse(t){if(t.statusCode==="error")throw Error(t.error||t.body);return t.body}},QBe=class{instance;constructor(t){this.instance=t}async authCheck({tenant:t,knockChannelId:n}){if(!this.instance.isAuthenticated())return this.instance.log("[Slack] User is not authenticated, skipping authCheck"),{connection:{ok:!1}};let r=await this.instance.client().makeRequest({method:"GET",url:`/v1/providers/slack/${n}/auth_check`,params:{access_token_object:{object_id:t,collection:gf},channel_id:n}});return this.handleResponse(r)}async getChannels(t){if(!this.instance.isAuthenticated())return this.instance.log("[Slack] User is not authenticated, skipping getChannels"),{slack_channels:[],next_cursor:null};let{knockChannelId:n,tenant:r}=t,i=t.queryOptions||{}
1922,o=await this.instance.client().makeRequest({method:"GET",url:`/v1/providers/slack/${n}/channels`,params:{access_token_object:{object_id:r,collection:gf},channel_id:n,query_options:{cursor:i.cursor,limit:i.limit,exclude_archived:i.excludeArchived,team_id:i.teamId,types:i.types}}});return this.handleResponse(o)}async revokeAccessToken({tenant:t,knockChannelId:n}){let r=await this.instance.client().makeRequest({method:"PUT",url:`/v1/providers/slack/${n}/revoke_access`,params:{access_token_object:{object_id:t,collection:gf},channel_id:n}});return this.handleResponse(r)}handleResponse(t){if(t.statusCode==="error"){if(t.error?.response?.status<500)return t.error||t.body;throw Error(t.error||t.body)}return t.body}},Gv=class extends Error{};Gv.prototype.name="InvalidTokenError";var XBe=e=>decodeURIComponent(atob(e).replace(/(.)/g,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))),e8e=e=>{let t=e.replace(/-/g,"+").replace(/_/g,"/"),n=t.length%4;if(n===1)throw Error("base64 string is not of the correct length");let r=t+"=".repeat((4-n)%4);try{return XBe(r)}catch{return atob(r)}},t8e=e=>{try{return e8e(e)}catch(t){throw new Gv(`Invalid token specified: invalid base64 for part #2 (${t instanceof Error?t.message:String(t)})`)}},P8=e=>{if(typeof e!="string")throw new Gv("Invalid token specified: must be a string");let t=e.split(".")[1];if(typeof t!="string")throw new Gv("Invalid token specified: missing part #2");let n=t8e(t);try{return JSON.parse(n)}catch(r){throw new Gv(`Invalid token specified: invalid json for part #2 (${r instanceof Error?r.message:String(r)})`)}},n8e="https://api.knock.app",r8e=1e3,i8e=class{apiKey;host;apiClient=null;userId;userToken;logLevel;branch;disconnectOnPageHidden;tokenExpirationTimer=null;feeds=new wBe(this);objects=new JBe(this);preferences=new ZBe(this);slack=new QBe(this);msTeams=new $Be(this);user=new PBe(this);messages=new YBe(this);authStore=new Sy({status:"unauthenticated",userId:void 0,userToken:void 0});constructor(t,n={}){if(this.apiKey=t,this.host=n.host||n8e,this.logLevel=n.logLevel,this.branch=n.branch||void 0,this.disconnectOnPageHidden=n.disconnectOnPageHidden,this.log("Initialized Knock instance"),this.apiKey&&this.apiKey.startsWith("sk_"))throw Error("[Knock] You are using your secret API key on the client. Please use the public key.")}client(){return this.apiClient||=this.createApiClient(),this.apiClient}authenticate(t,n,r){let i=!1,o=this.apiClient,a=this.getUserId(t),s=r?.identificationStrategy||"inline";if((this.userId!==a||this.userToken!==n)&&(o||this.feeds.hasInstances())&&(this.log("userId or userToken changed; reinitializing connections"),this.feeds.teardownInstances(),this.teardown(),i=!0),this.userId=a,this.userToken=n,this.log(`Authenticated with userId ${a}`),this.userToken&&r?.onUserTokenExpiring instanceof Function&&this.maybeScheduleUserTokenExpiration(r.onUserTokenExpiring,r.timeBeforeExpirationInMs),i&&(this.apiClient=this.createApiClient(),this.feeds.reinitializeInstances(),this.log("Reinitialized real-time connections")),this.syncAuthState(),s==="skip"){this.log("Skipping inline user identification");return}if(s==="inline"&&typeof t=="object"&&t?.id){this.log(`Identifying user ${t.id} inline`);let{id:l,...u}=t;this.user.identify(u).catch(c=>{let f=c instanceof Error?c.message:"Unknown error";this.log(`Error identifying user ${t.id} inline: 1923${f}`)})}}failIfNotAuthenticated(){if(!this.isAuthenticated())throw Error("Not authenticated. Please call `authenticate` first.")}isAuthenticated(t=!1){return t?!!(this.userId&&this.userToken):!!this.userId}get authStatus(){return this.authStore.state.status}logout(){this.log("Logging out and tearing down connections"),this.feeds.teardownInstances(),this.teardown(),this.userId=void 0,this.userToken=void 0,this.apiClient=null,this.syncAuthState()}teardown(){this.tokenExpirationTimer&&=(clearTimeout(this.tokenExpirationTimer),null),this.apiClient?.teardown()}syncAuthState(){let t=this.isAuthenticated()?"authenticated":"unauthenticated";this.authStore.setState(n=>n.status===t&&n.userId===this.userId&&n.userToken===this.userToken?n:{status:t,userId:this.userId,userToken:this.userToken})}log(t,n=!1){(this.logLevel==="debug"||n)&&console.log(`[Knock] ${t}`)}createApiClient(){return new KBe({apiKey:this.apiKey,host:this.host,userToken:this.userToken,branch:this.branch,disconnectOnPageHidden:this.disconnectOnPageHidden})}async maybeScheduleUserTokenExpiration(t,n=3e4){if(!this.userToken)return;let r=P8(this.userToken),i=(r.exp??0)*1e3,o=Date.now();if(!i||i<=o)return;this.tokenExpirationTimer&&=(clearTimeout(this.tokenExpirationTimer),null);let a=Math.max(i-n-o,r8e),s=setTimeout(async()=>{let l=await t(this.userToken,r);if(this.tokenExpirationTimer===s&&typeof l=="string"){if(!this.refreshMakesProgress(l,i,n)){this.log("Refreshed user token expires too soon to schedule another refresh; not re-authenticating",!0);return}this.authenticate(this.userId,l,{onUserTokenExpiring:t,timeBeforeExpirationInMs:n})}},a);this.tokenExpirationTimer=s}
1923refreshMakesProgress(t,n,r){let i;try{i=(P8(t).exp??0)*1e3}catch{return!0}return i?i<=n?!1:i-r-Date.now()>0:!0}getUserId(t){if(typeof t=="string"||!t)return t;if(t?.id)return t.id}},o8e=i8e;function _8(e,t,n,r={}){e.authenticate(t,n,{onUserTokenExpiring:r?.onUserTokenExpiring,timeBeforeExpirationInMs:r?.timeBeforeExpirationInMs,identificationStrategy:r?.identificationStrategy})}function a8e(e,t,n,r={}){let i=Ye.useRef(void 0),{enabled:o=!0,...a}=r,s=Y1(a),l=Y1(t),u=Ye.useMemo(()=>{let c=o?l:void 0,f=o?n:void 0,p=typeof c=="string"?c:c?.id,v=i.current;if(o&&v&&v.isAuthenticated()&&(v.userId!==p||v.userToken!==f))return _8(v,c,f,s),v;v&&v.teardown();let g=new o8e(e,{host:s.host,logLevel:s.logLevel,branch:s.branch});return _8(g,c,f,s),i.current=g,g},[e,o,l,n,s]);return Ye.useEffect(()=>()=>{i.current?.teardown()},[]),u}var lR={exports:{}},uR={};var D8;function s8e(){if(D8)return uR;D8=1;var e=ep(),t=Qq();function n(u,c){return u===c&&(u!==0||1/u===1/c)||u!==u&&c!==c}var r=typeof Object.is=="function"?Object.is:n,i=t.useSyncExternalStore,o=e.useRef,a=e.useEffect,s=e.useMemo,l=e.useDebugValue;return uR.useSyncExternalStoreWithSelector=function(u,c,f,p,v){var g=o(null);if(g.current===null){var y={hasValue:!1,value:null};g.current=y}else y=g.current;g=s(function(){function E(w){if(!S){if(S=!0,T=w,w=p(w),v!==void 0&&y.hasValue){var R=y.value;if(v(R,w))return I=R}return I=w}if(R=I,r(T,w))return R;var x=p(w);return v!==void 0&&v(R,x)?(T=w,R):(T=w,I=x)}var S=!1,T,I,A=f===void 0?null:f;return[function(){return E(c())},A===null?void 0:function(){return E(A())}]},[c,f,p,v]);var k=i(u,g[0],g[1]);return a(function(){y.hasValue=!0,y.value=k},[k]),l(k),k},uR}var M8;function l8e(){return M8||(M8=1,lR.exports=s8e()),lR.exports}var hQ=l8e();function u8e(e,t=n=>n){return hQ.useSyncExternalStoreWithSelector(e.subscribe,()=>e.state,()=>e.state,t,c8e)}function c8e(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[r,i]of e)if(!t.has(r)||!Object.is(i,t.get(r)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();const n=F8(e);if(n.length!==F8(t).length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Object.is(e[n[r]],t[n[r]]))return!1;return!0}function F8(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}var gQ=m.createContext(null),d8e=({apiKey:e,host:t,logLevel:n,userToken:r,onUserTokenExpiring:i,timeBeforeExpirationInMs:o,children:a,i18n:s,identificationStrategy:l,branch:u,enabled:c,...f})=>{let p=f?.user||f?.userId,v=m.useMemo(()=>({host:t,onUserTokenExpiring:i,timeBeforeExpirationInMs:o,logLevel:n,identificationStrategy:l,branch:u,enabled:c}),[t,i,o,n,l,u,c]),g=a8e(e??"",p,r,v);return b.jsx(gQ.Provider,{value:{knock:g},children:b.jsx(rBe,{i18n:s,children:a})})},f8e=()=>{let e=m.useContext(gQ);if(!e)throw Error("useKnockClient must be used within a KnockProvider");return e.knock},cR=(function(e){return e.All="all",e.Read="read",e.Unseen="unseen",e.Unread="unread",e})({});function p8e(e){return e>9?"9+":e}function m8e(e,t){return`${e} ${t==="all"?"":`${t} `}${e===1?"notification":"notifications"}`}
1923function h8e(e,t={}){try{return Xke(Xbe(e),new Date,{locale:t.locale})}catch{return e}}function U8(e,t){return e===void 0?t:e}function adt({userId:e,knockSlackChannelId:t,tenantId:n,connectionStatus:r,errorLabel:i}){return[e,t,n,r,i].filter(o=>o!=null).join("-")}function sdt({userId:e,knockMsTeamsChannelId:t,tenantId:n,connectionStatus:r,errorLabel:i}){return[e,t,n,r,i].filter(o=>o!=null).join("-")}function g8e(e,t,n={}){let r=m.useCallback((l,u)=>{let c=e.feeds.initialize(l,u);return c.listenForUpdates(),c},[e]),i=Y1(n),[o,a]=m.useState(()=>({feedClient:r(t,i),options:i})),s=m.useRef(!1);return m.useEffect(()=>{let l=s.current;if(o.feedClient.feedId!==t||o.options!==i||l){s.current=!1,a({feedClient:r(t,i),options:i});return}return()=>{s.current=!0,o.feedClient.dispose()}},[r,t,i,o]),o.feedClient}function v8e(e){return t=>u8e(e.store.store,t??(n=>n))}function y8e(e,t){return v8e(e)((n=>n))}var k8e=m.createContext(void 0),pk=()=>{let e=m.useContext(k8e);if(!e)throw Error("useKnockFeed must be used within a KnockFeedProvider");return e},b8e=({variant:e="primary",loadingText:t,isLoading:n=!1,isDisabled:r=!1,isFullWidth:i=!1,onClick:o,children:a})=>{let{colorMode:s}=pk();return b.jsxs("button",{onClick:o,className:["rnf-button",`rnf-button--${e}`,i?"rnf-button--full-width":"",n?"rnf-button--is-loading":"",`rnf-button--${s}`].join(" "),disabled:n||r,type:"button",children:[n&&b.jsx(tBe,{hasLabel:!!t}),n?t||b.jsx("span",{className:"rnf-button__button-text-hidden",children:a}):a]})},S8e=({children:e})=>b.jsx("div",{className:"rnf-button-group",children:e}),E8e=({width:e=24,height:t=24,"aria-hidden":n})=>b.jsxs("svg",{width:e,viewBox:"0 0 24 24",fill:"none",height:t,"aria-hidden":n,children:[b.jsx("path",{d:"M20.0474 16.4728C18.8436 14.9996 17.9938 14.2496 17.9938 10.1879C17.9938 6.46832 16.0944 5.14317 14.5311 4.49957C14.3235 4.41426 14.128 4.21832 14.0647 4.00504C13.7905 3.07176 13.0217 2.24957 11.9999 2.24957C10.978 2.24957 10.2088 3.07223 9.93736 4.00598C9.87408 4.2216 9.67861 4.41426 9.47096 4.49957C7.9058 5.1441 6.0083 6.46457 6.0083 10.1879C6.00596 14.2496 5.15611 14.9996 3.95237 16.4728C3.45362 17.0832 3.89049 17.9996 4.76283 17.9996H19.2416C20.1092 17.9996 20.5433 17.0803 20.0474 16.4728Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),b.jsx("path",{d:"M14.9999 17.9988V18.7488C14.9999 19.5445 14.6838 20.3075 14.1212 20.8701C13.5586 21.4327 12.7955 21.7488 11.9999 21.7488C11.2042 21.7488 10.4412 21.4327 9.87856 20.8701C9.31595 20.3075 8.99988 19.5445 8.99988 18.7488V17.9988",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),T8e=({width:e=14,height:t=14,"aria-hidden":n})=>b.jsx("svg",{width:e,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":n,children:b.jsx("path",{d:"M7.00012 0.499939C3.41606 0.499939 0.500122 3.41588 0.500122 6.99994C0.500122 10.584 3.41606 13.4999 7.00012 13.4999C10.5842 13.4999 13.5001 10.584 13.5001 6.99994C13.5001 3.41588 10.5842 0.499939 7.00012 0.499939ZM9.35356 8.6465C9.40194 8.69247 9.44063 8.74766 9.46735 8.80881C9.49407 8.86997 9.50828 8.93585 9.50913 9.00259C9.50999 9.06932 9.49747 9.13555 9.47233 9.19737C9.44718 9.25919 9.40992 9.31535 9.36273 9.36254C9.31553 9.40973 9.25937 9.447 9.19755 9.47214C9.13573 9.49729 9.0695 9.5098 9.00277 9.50895C8.93604 9.50809 8.87015 9.49389 8.809 9.46717C8.74784 9.44045 8.69265 9.40176 8.64668 9.35337L7.00012 7.70712L5.35356 9.35337C5.25903 9.44318 5.13315 9.49251 5.00277 9.49084C4.87239 9.48918 4.74782 9.43664 4.65562 9.34444C4.56342 9.25224 4.51088 9.12767 4.50921 8.99729C4.50755 8.86691 4.55687 8.74103 4.64668 8.6465L6.29293 6.99994L4.64668 5.35338C4.55687 5.25884 4.50755 5.13297 4.50921 5.00259C4.51088 4.87221 4.56342 4.74764 4.65562 4.65544C4.74782 4.56324 4.87239 4.5107 5.00277 4.50903C5.13315 4.50736 5.25903 4.55669 5.35356 4.6465L7.00012 6.29275L8.64668 4.6465C8.74121 4.55669 8.86709 4.50736 8.99747 4.50903C9.12785 4.5107 9.25242 4.56324 9.34462 4.65544C9.43682 4.74764 9.48936 4.87221 9.49103 5.00259C9.4927 5.13297 9.44337 5.25884 9.35356 5.35338L7.70731 6.99994L9.35356 8.6465Z",fill:"currentColor"})}),C8e=({name:e,src:t})=>{function n(r){let[i,o]=r.split(" ");return i&&o?`${i.charAt(0)}${o.charAt(0)}`:i?i.charAt(0):""}return b.jsx("div",{className:"rnf-avatar",children:t?b.jsx("img",{src:t,alt:e,className:"rnf-avatar__image"}):b.jsx("span",{className:"rnf-avatar__initials",children:n(e)})})},A8e=({item:e})=>{let{colorMode:t,feedClient:n}=pk(),{t:r}=zZ(),[i,o]=m.useState(!1),a=m.useRef(null),s=m.useRef(null),l=m.useCallback(u=>{u.preventDefault(),u.stopPropagation(),n.markAsArchived(e)},[e]);return m.useEffect(()=>{if(a.current&&s.current&&i){let u=mK(a.current,s.current,{placement:"top-end",modifiers:[{name:"offset",options:{offset:[0,8]}}]});return()=>{u.destroy()}}},[i]),b.jsxs("button",{ref:a,onClick:l,onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),type:"button","aria-label":r("archiveNotification"),className:`rnf-archive-notification-btn rnf-archive-notification-btn--${t}`,children:[b.jsx(T8e,{"aria-hidden":!0}),i&&b.jsx("div",{ref:s,className:`rnf-tooltip rnf-tooltip--${t}`,children:r("archiveNotification")})]})};function V8(e){e&&e!==""&&setTimeout(()=>window.location.assign(e),200)}Ye.forwardRef(({item:e,onItemClick:t,onButtonClick:n,avatar:r,children:i,archiveButton:o},a)=>{let{feedClient:s,colorMode:l}=pk(),{locale:u}=zZ(),c=m.useMemo(()=>e.blocks.reduce((E,S)=>({...E,[S.name]:S}),{}),[e]),f=c.action_url?.rendered,p=c.actions,v=Ye.useCallback(()=>(s.markAsInteracted(e,{type:"cell_click",action:f}),t?t(e):V8(f)),[e,f,t,s]),g=Ye.useCallback((E,S)=>(s.markAsInteracted(e,{type:"button_click",name:S.name,label:S.label,action:S.action}),n?n(e,S):V8(S.action)),[n,s,e]),y=Ye.useCallback(E=>{E.key==="Enter"&&(E.stopPropagation(),v())},[v]),k=e.actors[0];return b.jsx("div",{ref:a,className:`rnf-notification-cell rnf-notification-cell--${l}`,onClick:v,onKeyDown:y,tabIndex:0,children:b.jsxs("div",{className:"rnf-notification-cell__inner",children:[!e.read_at&&b.jsx("div",{className:"rnf-notification-cell__unread-dot"}),U8(r,k&&"name"in k&&k.name&&b.jsx(C8e,{name:k.name,src:k.avatar})),b.jsxs("div",{className:"rnf-notification-cell__content-outer",children:[c.body&&b.jsx("div",{className:"rnf-notification-cell__content",dangerouslySetInnerHTML:{__html:c.body.rendered}}),p&&b.jsx("div",{className:"rnf-notification-cell__button-group",children:b.jsx(S8e,{children:p.buttons.map((E,S)=>b.jsx(b8e,{variant:S===0?"primary":"secondary",onClick:T=>g(T,E),children:E.label},E.name))})}),i&&b.jsx("div",{className:"rnf-notification-cell__child-content",children:i}),b.jsx("span",{className:"rnf-notification-cell__timestamp",children:h8e(e.inserted_at,{locale:u})})]}),U8(o,b.jsx(A8e,{item:e}))]})})});cR.All,cR.Unread,cR.Read;function I8e(e,t){switch(e){case"all":return t.total_count;case"unread":return t.unread_count;case"unseen":return t.unseen_count}}var w8e=({badgeCountType:e="unseen"})=>{let{useFeedStore:t}=pk(),n=t(r=>I8e(e,r.metadata));return n===0?null:b.jsx("div",{className:"rnf-unseen-badge",role:"status","aria-label":m8e(n,e),
1923children:b.jsx("span",{className:"rnf-unseen-badge__count","aria-hidden":"true",children:p8e(n)})})};Ye.forwardRef(({onClick:e,badgeCountType:t},n)=>{let{colorMode:r}=pk();return b.jsxs("button",{className:`rnf-notification-icon-button rnf-notification-icon-button--${r}`,"aria-label":"Open notification feed",ref:n,onClick:e,children:[b.jsx(E8e,{"aria-hidden":!0}),b.jsx(w8e,{badgeCountType:t})]})});var gr=(...e)=>e.filter(t=>!!t).join(" "),vQ=e=>{let t;try{t=new URL(e)}catch{return!1}return t.protocol==="http:"||t.protocol==="https:"},kD=({children:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-banner",t),...n,children:e});kD.displayName="BannerView.Root";var bD=({children:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-banner__message",t),...n,children:e});bD.displayName="BannerView.Content";var SD=({title:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-banner__title",t),...n,children:e});SD.displayName="BannerView.Title";var ED=({body:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-banner__body",t),dangerouslySetInnerHTML:{__html:e},...n});ED.displayName="BannerView.Body";var TD=({children:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-banner__actions",t),...n,children:e});TD.displayName="BannerView.Actions";var CD=({text:e,action:t,className:n,...r})=>b.jsx("button",{className:gr("knock-guide-banner__action",n),...r,children:e});CD.displayName="BannerView.PrimaryButton";var AD=({text:e,action:t,className:n,...r})=>b.jsx("button",{className:gr("knock-guide-banner__action knock-guide-banner__action--secondary",n),...r,children:e});AD.displayName="BannerView.SecondaryButton";var ID=({className:e,...t})=>b.jsx("button",{className:gr("knock-guide-banner__close",e),...t,children:b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",children:b.jsxs("g",{fill:"#60646C",fillRule:"evenodd",clipRule:"evenodd",children:[b.jsx("path",{d:"M14.03 3.97a.75.75 0 0 1 0 1.06l-9 9a.75.75 0 0 1-1.06-1.06l9-9a.75.75 0 0 1 1.06 0Z"}),b.jsx("path",{d:"M3.97 3.97a.75.75 0 0 1 1.06 0l9 9a.75.75 0 1 1-1.06 1.06l-9-9a.75.75 0 0 1 0-1.06Z"})]})})});ID.displayName="BannerView.DismissButton";var yQ=({content:e,colorMode:t="light",onDismiss:n,onButtonClick:r})=>b.jsxs(kD,{"data-knock-color-mode":t,children:[b.jsxs(bD,{children:[b.jsx(SD,{title:e.title}),b.jsx(ED,{body:e.body})]}),b.jsxs(TD,{children:[e.secondary_button&&b.jsx(AD,{text:e.secondary_button.text,action:e.secondary_button.action,onClick:i=>{if(r){let{text:o,action:a}=e.secondary_button;r(i,{name:"secondary_button",text:o,action:a})}}}),e.primary_button&&b.jsx(CD,{text:e.primary_button.text,action:e.primary_button.action,onClick:i=>{if(r){let{text:o,action:a}=e.primary_button;r(i,{name:"primary_button",text:o,action:a})}}}),e.dismissible&&b.jsx(ID,{onClick:n})]})]});yQ.displayName="BannerView.Default";var N8e={};Object.assign(N8e,{Default:yQ,Root:kD,Content:bD,Title:SD,Body:ED,Actions:TD,PrimaryButton:CD,SecondaryButton:AD,DismissButton:ID});var wD=({children:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-card",t),...n,children:e});wD.displayName="CardView.Root";var ND=({children:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-card__message",t),...n,children:e});ND.displayName="CardView.Content";var kQ=({children:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-card__header",t),...n,children:e});kQ.displayName="CardView.Header";var bQ=({headline:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-card__headline",t),...n,children:e});bQ.displayName="CardView.Headline";var RD=({title:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-card__title",t),...n,children:e});RD.displayName="CardView.Title";var xD=({body:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-card__body",t),dangerouslySetInnerHTML:{__html:e},...n});xD.displayName="CardView.Body";var LD=({children:e,className:t,alt:n,...r})=>b.jsx("img",{className:gr("knock-guide-card__img",t),alt:n||"",...r,children:e});LD.displayName="CardView.Img";var OD=({children:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-card__actions",t),...n,children:e});
1923OD.displayName="CardView.Actions";var PD=({text:e,action:t,className:n,...r})=>b.jsx("button",{className:gr("knock-guide-card__action",n),...r,children:e});PD.displayName="CardView.PrimaryButton";var _D=({text:e,action:t,className:n,...r})=>b.jsx("button",{className:gr("knock-guide-card__action knock-guide-card__action--secondary",n),...r,children:e});_D.displayName="CardView.SecondaryButton";var DD=({className:e,...t})=>b.jsx("button",{className:gr("knock-guide-card__close",e),...t,children:b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",children:b.jsxs("g",{fill:"#60646C",fillRule:"evenodd",clipRule:"evenodd",children:[b.jsx("path",{d:"M14.03 3.97a.75.75 0 0 1 0 1.06l-9 9a.75.75 0 0 1-1.06-1.06l9-9a.75.75 0 0 1 1.06 0Z"}),b.jsx("path",{d:"M3.97 3.97a.75.75 0 0 1 1.06 0l9 9a.75.75 0 1 1-1.06 1.06l-9-9a.75.75 0 0 1 0-1.06Z"})]})})});DD.displayName="CardView.DismissButton";var SQ=({content:e,colorMode:t="light",onDismiss:n,onButtonClick:r,onImageClick:i})=>b.jsxs(wD,{"data-knock-color-mode":t,children:[b.jsxs(ND,{children:[b.jsxs(kQ,{children:[b.jsx(bQ,{headline:e.headline}),e.dismissible&&b.jsx(DD,{onClick:n})]}),b.jsx(RD,{title:e.title}),b.jsx(xD,{body:e.body})]}),e.image&&b.jsx("a",{href:vQ(e.image.action)?e.image.action:void 0,target:"_blank",children:b.jsx(LD,{src:e.image.url,alt:e.image.alt,onClick:o=>{i&&i(o,e.image)}})}),(e.primary_button||e.secondary_button)&&b.jsxs(OD,{children:[e.primary_button&&b.jsx(PD,{text:e.primary_button.text,action:e.primary_button.action,onClick:o=>{if(r){let{text:a,action:s}=e.primary_button;r(o,{name:"primary_button",text:a,action:s})}}}),e.secondary_button&&b.jsx(_D,{text:e.secondary_button.text,action:e.secondary_button.action,onClick:o=>{if(r){let{text:a,action:s}=e.secondary_button;r(o,{name:"secondary_button",text:a,action:s})}}})]})]});SQ.displayName="CardView.Default";var R8e={};Object.assign(R8e,{Default:SQ,Root:wD,Content:ND,Title:RD,Body:xD,Img:LD,Actions:OD,PrimaryButton:PD,SecondaryButton:_D,DismissButton:DD});var x8e=Object.defineProperty,Vh=(e,t)=>x8e(e,"name",{value:t,configurable:!0}),EQ=!!(typeof window<"u"&&window.document&&window.document.createElement);function Wc(e,t,{checkForDefaultPrevented:n=!0}={}){return Vh(function(i){if(e?.(i),n===!1||!i||!i.defaultPrevented)return t?.(i)},"handleEvent")}Vh(Wc,"composeEventHandlers");function L8e(e){if(!EQ)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}Vh(L8e,"getOwnerWindow");function eL(e){if(!EQ)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}Vh(eL,"getOwnerDocument");function TQ(e,t=!1){const{activeElement:n}=eL(e);if(!n?.nodeName)return null;if(CQ(n)&&n.contentDocument)return TQ(n.contentDocument.body,t);if(t){const r=n.getAttribute("aria-activedescendant");if(r){const i=eL(n).getElementById(r);if(i)return i}}return n}Vh(TQ,"getActiveElement");function CQ(e){return e.tagName==="IFRAME"}Vh(CQ,"isFrame");var O8e=Object.defineProperty,MD=(e,t)=>O8e(e,"name",{value:t,configurable:!0});function tL(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}MD(tL,"setRef");function AQ(...e){return t=>{let n=!1;const r=e.map(i=>{const o=tL(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():tL(e[i],null)}}}}MD(AQ,"composeRefs");function Bh(...e){return m.useCallback(AQ(...e),e)}MD(Bh,"useComposedRefs");var P8e=Object.defineProperty,us=(e,t)=>P8e(e,"name",{value:t,configurable:!0});function _8e(e,t){const n=m.createContext(t);n.displayName=e+"Context";const r=us(o=>{const{children:a,...s}=o,l=m.useMemo(()=>s,Object.values(s));return b.jsx(n.Provider,{value:l,children:a})},"Provider");r.displayName=e+"Provider";function i(o,a={}){const{optional:s=!1}=a,l=m.useContext(n);if(l)return l;if(t!==void 0)return t;if(!s)throw new Error(`\`${o}\` must be used within \`${e}\``)}return us(i,"useContext"),[r,i]}us(_8e,"createContext");function IQ(e,t=[]){let n=[];function r(o,a){const s=m.createContext(a);s.displayName=o+"Context";const l=n.length;n=[...n,a];const u=us(f=>{const{scope:p,children:v,...g}=f,y=p?.[e]?.[l]||s,k=m.useMemo(()=>g,Object.values(g));return b.jsx(y.Provider,{value:k,children:v})},"Provider");u.displayName=o+"Provider";function c(f,p,v={}){const{optional:g=!1}=v,y=p?.[e]?.[l]||s,k=m.useContext(y);if(k)return k;if(a!==void 0)return a;
1923if(!g)throw new Error(`\`${f}\` must be used within \`${o}\``)}return us(c,"useContext"),[u,c]}us(r,"createContext");const i=us(()=>{const o=n.map(a=>m.createContext(a));return us(function(s){const l=s?.[e]||o;return m.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])},"useScope")},"createScope");return i.scopeName=e,[r,wQ(i,...t)]}us(IQ,"createContextScope");function wQ(...e){const t=e[0];if(e.length===1)return t;const n=us(()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return us(function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const f=l(o)[`__scope${u}`];return{...s,...f}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}us(wQ,"composeContextScopes");var ad=globalThis?.document?m.useLayoutEffect:()=>{},D8e=Object.defineProperty,M8e=(e,t)=>D8e(e,"name",{value:t,configurable:!0}),F8e=Ks[" useId ".trim().toString()]||(()=>{}),U8e=0;function NS(e){const[t,n]=m.useState(F8e());return ad(()=>{e||n(r=>r??String(U8e++))},[e]),e||(t?`radix-${t}`:"")}M8e(NS,"useId");var V8e=Object.defineProperty,B8e=(e,t)=>V8e(e,"name",{value:t,configurable:!0}),B8=Ks[" useEffectEvent ".trim().toString()],j8=Ks[" useInsertionEffect ".trim().toString()];function NQ(e){if(typeof B8=="function")return B8(e);const t=m.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof j8=="function"?j8(()=>{t.current=e}):ad(()=>{t.current=e}),m.useMemo(()=>((...n)=>t.current?.(...n)),[])}B8e(NQ,"useEffectEvent");var j8e=Object.defineProperty,mk=(e,t)=>j8e(e,"name",{value:t,configurable:!0}),z8e=Ks[" useInsertionEffect ".trim().toString()]||ad;function RQ({prop:e,defaultProp:t,onChange:n=mk(()=>{},"onChange"),caller:r}){const[i,o,a]=xQ({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:i,u=m.useCallback(c=>{if(s){const f=LQ(c)?c(e):c;f!==e&&a.current?.(f)}else o(c)},[s,e,o,a]);return[l,u]}mk(RQ,"useControllableState");function xQ({defaultProp:e,onChange:t}){const[n,r]=m.useState(e),i=m.useRef(n),o=m.useRef(t);return z8e(()=>{o.current=t},[t]),m.useEffect(()=>{i.current!==n&&(o.current?.(n),i.current=n)},[n,i]),[n,r,o]}mk(xQ,"useUncontrolledState");function LQ(e){return typeof e=="function"}mk(LQ,"isFunction");var z8=Symbol("RADIX:SYNC_STATE");function H8e(e,t,n,r){const{prop:i,defaultProp:o,onChange:a,caller:s}=t,l=i!==void 0,u=NQ(a),c=[{...n,state:o}];r&&c.push(r);const[f,p]=m.useReducer((k,E)=>{if(E.type===z8)return{...k,state:E.state};const S=e(k,E);return l&&!Object.is(S.state,k.state)&&u(S.state),S},...c),v=f.state,g=m.useRef(v);m.useEffect(()=>{g.current!==v&&(g.current=v,l||u(v))},[v,g,l]);const y=m.useMemo(()=>i!==void 0?{...f,state:i}:f,[f,i]);return m.useEffect(()=>{l&&!Object.is(i,f.state)&&p({type:z8,state:i})},[i,f.state,l]),[y,p]}mk(H8e,"useControllableStateReducer");var W8e=Object.defineProperty,il=(e,t)=>W8e(e,"name",{value:t,configurable:!0});function FD(e){const t=m.forwardRef((n,r)=>{let{children:i,...o}=n,a=null,s=!1;const l=[];nL(i)&&typeof b0=="function"&&(i=b0(i._payload)),m.Children.forEach(i,p=>{if(DQ(p)){s=!0;const v=p;let g="child"in v.props?v.props.child:v.props.children;nL(g)&&typeof b0=="function"&&(g=b0(g._payload)),a=G8e(v,g),l.push(a?.props?.children)}else l.push(p)}),a?a=m.cloneElement(a,void 0,l):!s&&m.Children.count(i)===1&&m.isValidElement(i)&&(a=i);const u=a?_Q(a):void 0,c=Bh(r,u);if(!a){if(i||i===0)throw new Error(s?$8e(e):Y8e(e));return i}const f=PQ(o,a.props??{});return a.type!==m.Fragment&&(f.ref=r?c:u),m.cloneElement(a,f)});return t.displayName=`${e}.Slot`,t}il(FD,"createSlot");var OQ=Symbol.for("radix.slottable");function q8e(e){const t=il(n=>"child"in n?n.children(n.child):n.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=OQ,t}il(q8e,"createSlottable");var G8e=il((e,t)=>{if("child"in e.props){const n=e.props.child;return m.isValidElement(n)?m.cloneElement(n,void 0,e.props.children(n.props.children)):null}return m.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function PQ(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const l=o(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}
1923:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}il(PQ,"mergeProps");function _Q(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}il(_Q,"getElementRef");function DQ(e){return m.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===OQ}il(DQ,"isSlottable");var K8e=Symbol.for("react.lazy");function nL(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===K8e&&"_payload"in e&&MQ(e._payload)}il(nL,"isLazyComponent");function MQ(e){return typeof e=="object"&&e!==null&&"then"in e}il(MQ,"isPromiseLike");var Y8e=il(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),$8e=il(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),b0=Ks[" use ".trim().toString()],J8e=Object.defineProperty,Z8e=(e,t)=>J8e(e,"name",{value:t,configurable:!0}),Q8e=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],dp=Q8e.reduce((e,t)=>{const n=FD(`Primitive.${t}`),r=m.forwardRef((i,o)=>{const{asChild:a,...s}=i,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(l,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function FQ(e,t){e&&qo.flushSync(()=>e.dispatchEvent(t))}Z8e(FQ,"dispatchDiscreteCustomEvent");var X8e=Object.defineProperty,eje=(e,t)=>X8e(e,"name",{value:t,configurable:!0});function yh(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>((...n)=>t.current?.(...n)),[])}eje(yh,"useCallbackRef");var tje=Object.defineProperty,io=(e,t)=>tje(e,"name",{value:t,configurable:!0}),rL="dismissableLayer.update",nje="dismissableLayer.pointerDownOutside",rje="dismissableLayer.focusOutside",H8,UQ=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),ije=m.forwardRef(io(function(t,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:i=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:l,onDismiss:u,...c}=t,f=m.useContext(UQ),[p,v]=m.useState(null),g=p?.ownerDocument??globalThis?.document,[,y]=m.useState({}),k=Bh(n,v),E=Array.from(f.layers),[S]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),T=S?E.indexOf(S):-1,I=p?E.indexOf(p):-1,A=f.layersWithOutsidePointerEventsDisabled.size>0,w=I>=T,R=m.useRef(!1),x=BQ(L=>{a?.(L),l?.(L),L.defaultPrevented||u?.()},{ownerDocument:g,deferPointerDownOutside:i,isDeferredPointerDownOutsideRef:R,dismissableSurfaces:f.dismissableSurfaces,shouldHandlePointerDownOutside:m.useCallback(L=>{if(!(L instanceof Node))return!1;const P=[...f.branches].some(j=>j.contains(L));return w&&!P},[f.branches,w])}),D=jQ(L=>{if(i&&R.current)return;const P=L.target;[...f.branches].some(B=>B.contains(P))||(s?.(L),l?.(L),L.defaultPrevented||u?.())},g),M=p?I===E.length-1:!1,F=yh(L=>{L.key==="Escape"&&(o?.(L),!L.defaultPrevented&&u&&(L.preventDefault(),u()))});return m.useEffect(()=>{if(M)return g.addEventListener("keydown",F,{capture:!0}),()=>g.removeEventListener("keydown",F,{capture:!0})},[g,M,F]),m.useEffect(()=>{if(p)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(H8=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),iL(),()=>{r&&(f.layersWithOutsidePointerEventsDisabled.delete(p),f.layersWithOutsidePointerEventsDisabled.size===0&&(g.body.style.pointerEvents=H8))}},[p,g,r,f]),m.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),iL())},[p,f]),m.useEffect(()=>{const L=io(()=>y({}),"handleUpdate");return document.addEventListener(rL,L),()=>document.removeEventListener(rL,L)},[]),b.jsx(dp.div,{...c,ref:k,style:{pointerEvents:A?w?"auto":"none":void 0,...t.style},onFocusCapture:Wc(t.onFocusCapture,D.onFocusCapture),onBlurCapture:Wc(t.onBlurCapture,D.onBlurCapture),onPointerDownCapture:Wc(t.onPointerDownCapture,x.onPointerDownCapture)})},"DismissableLayer"));function VQ(){const e=m.useContext(UQ),[t,n]=m.useState(null);return m.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}io(VQ,"useDismissableLayerSurface");var oje=io(()=>!0,"IS_TRUE");function BQ(e,t){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:o,shouldHandlePointerDownOutside:a=oje}=t,s=yh(e),l=m.useRef(!1),u=m.useRef(!1),c=m.useRef(new Map),f=m.useRef(()=>{});return m.useEffect(()=>{function p(){u.current=!1,i.current=!1,c.current.clear()}io(p,"resetOutsideInteraction");function v(){return Array.from(c.current.values()).some(Boolean)}io(v,"isOutsideInteractionIntercepted");function g(T){if(!u.current)return;const I=T.target;I instanceof Node&&[...o].some(w=>w.contains(I))||c.current.set(T.type,!0),T.type==="click"&&window.setTimeout(()=>{u.current&&f.current()},0)}io(g,"handleInteractionCapture");function y(T){u.current&&c.current.set(T.type,!1)}io(y,"handleInteractionBubble");const k=io(T=>{if(T.target&&!l.current){let I=function(){n.removeEventListener("click",f.current);const w=v();p(),w||UD(nje,s,A,{discrete:!0})};if(io(I,"handleAndDispatchPointerDownOutsideEvent"),!a(T.target)){n.removeEventListener("click",f.current),p(),l.current=!1;return}const A={originalEvent:T};u.current=!0,i.current=r&&T.button===0,c.current.clear(),!r||T.button!==0?I():(n.removeEventListener("click",f.current),f.current=I,n.addEventListener("click",f.current,{once:!0}))}else n.removeEventListener("click",f.current),p();l.current=!1},"handlePointerDown"),E=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const T of E)n.addEventListener(T,g,!0),n.addEventListener(T,y);const S=window.setTimeout(()=>{n.addEventListener("pointerdown",k)}
1923,0);return()=>{window.clearTimeout(S),n.removeEventListener("pointerdown",k),n.removeEventListener("click",f.current);for(const T of E)n.removeEventListener(T,g,!0),n.removeEventListener(T,y)}},[n,s,r,i,o,a]),{onPointerDownCapture:io(()=>l.current=!0,"onPointerDownCapture")}}io(BQ,"usePointerDownOutside");function jQ(e,t=globalThis?.document){const n=yh(e),r=m.useRef(!1);return m.useEffect(()=>{const i=io(o=>{o.target&&!r.current&&UD(rje,n,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:io(()=>r.current=!0,"onFocusCapture"),onBlurCapture:io(()=>r.current=!1,"onBlurCapture")}}io(jQ,"useFocusOutside");function iL(){const e=new CustomEvent(rL);document.dispatchEvent(e)}io(iL,"dispatchUpdate");function UD(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?FQ(i,o):i.dispatchEvent(o)}io(UD,"handleAndDispatchCustomEvent");var aje=Object.defineProperty,zo=(e,t)=>aje(e,"name",{value:t,configurable:!0}),dR="focusScope.autoFocusOnMount",fR="focusScope.autoFocusOnUnmount",W8={bubbles:!1,cancelable:!0},sje=m.forwardRef(zo(function(t,n){const{loop:r=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=t,[l,u]=m.useState(null),c=yh(o),f=yh(a),p=m.useRef(null),v=Bh(n,u),g=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(i){let k=function(I){if(g.paused||!l)return;const A=I.target;l.contains(A)?p.current=A:Au(p.current,{select:!0})},E=function(I){if(g.paused||!l)return;const A=I.relatedTarget;A!==null&&(l.contains(A)||Au(p.current,{select:!0}))},S=function(I){if(document.activeElement===document.body)for(const w of I)w.removedNodes.length>0&&Au(l)};zo(k,"handleFocusIn"),zo(E,"handleFocusOut"),zo(S,"handleMutations"),document.addEventListener("focusin",k),document.addEventListener("focusout",E);const T=new MutationObserver(S);return l&&T.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",k),document.removeEventListener("focusout",E),T.disconnect()}}},[i,l,g.paused]),m.useEffect(()=>{if(l){q8.add(g);const k=document.activeElement;if(!l.contains(k)){const S=new CustomEvent(dR,W8);l.addEventListener(dR,c),l.dispatchEvent(S),S.defaultPrevented||(zQ(KQ(VD(l)),{select:!0}),document.activeElement===k&&Au(l))}return()=>{l.removeEventListener(dR,c),setTimeout(()=>{const S=new CustomEvent(fR,W8);l.addEventListener(fR,f),l.dispatchEvent(S),S.defaultPrevented||Au(k??document.body,{select:!0}),l.removeEventListener(fR,f),q8.remove(g)},0)}}},[l,c,f,g]);const y=m.useCallback(k=>{if(!r&&!i||g.paused)return;const E=k.key==="Tab"&&!k.altKey&&!k.ctrlKey&&!k.metaKey,S=document.activeElement;if(E&&S){const T=k.currentTarget,[I,A]=HQ(T);I&&A?!k.shiftKey&&S===A?(k.preventDefault(),r&&Au(I,{select:!0})):k.shiftKey&&S===I&&(k.preventDefault(),r&&Au(A,{select:!0})):S===T&&k.preventDefault()}},[r,i,g.paused]);return b.jsx(dp.div,{tabIndex:-1,...s,ref:v,onKeyDown:y})},"FocusScope"));function zQ(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Au(r,{select:t}),document.activeElement!==n)return}zo(zQ,"focusFirst");function HQ(e){const t=VD(e),n=oL(t,e),r=oL(t.reverse(),e);return[n,r]}zo(HQ,"getTabbableEdges");function VD(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:zo(r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}zo(VD,"getTabbableCandidates");function oL(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):WQ(r,{upTo:t})))return r}zo(oL,"findVisible");function WQ(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}zo(WQ,"isHidden");function qQ(e){return e instanceof HTMLInputElement&&"select"in e}zo(qQ,"isSelectableInput");function Au(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&qQ(e)&&t&&e.select()}}zo(Au,"focus");var q8=GQ();function GQ(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=aL(e,t),e.unshift(t)},remove(t){e=aL(e,t),e[0]?.resume()}}}zo(GQ,"createFocusScopesStack");function aL(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}zo(aL,"arrayRemove");function KQ(e){return e.filter(t=>t.tagName!=="A")}zo(KQ,"removeLinks");var lje=Object.defineProperty,uje=(e,t)=>lje(e,"name",{value:t,configurable:!0}),cje=m.forwardRef(uje(function(t,n){const{container:r,...i}=t,[o,a]=m.useState(!1);ad(()=>a(!0),[]);const s=r||o&&globalThis?.document?.body;return s?qo.createPortal(b.jsx(dp.div,{...i,ref:n}),s):null},"Portal")),dje=Object.defineProperty,Vu=(e,t)=>dje(e,"name",{value:t,configurable:!0});function YQ(e,t){return m.useReducer((n,r)=>t[n][r]??n,e)}Vu(YQ,"useStateMachine");var BD=Vu(e=>{const{present:t,children:n}=e,r=$Q(t),i=typeof n=="function"?n({present:r.isPresent}):m.Children.only(n),o=JQ(r.ref,ZQ(i));return typeof n=="function"||r.isPresent?m.cloneElement(i,{ref:o}):null},"Presence");function $Q(e){const[t,n]=m.useState(),r=m.useRef(null),i=m.useRef(e),o=m.useRef("none"),a=m.useRef(void 0),s=e?"mounted":"unmounted",[l,u]=YQ(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.useEffect(()=>{l==="mounted"?(o.current=a.current??ym(r.current),a.current=void 0):o.current="none"},[l]),ad(()=>{const c=r.current,f=i.current;if(f!==e){const v=o.current,g=ym(c);
1923e?(a.current=g,u("MOUNT")):g==="none"||c?.display==="none"?u("UNMOUNT"):u(f&&v!==g?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,u]),ad(()=>{if(t){let c;const f=t.ownerDocument.defaultView??window,p=Vu(g=>{const k=ym(r.current).includes(CSS.escape(g.animationName));if(g.target===t&&k&&(u("ANIMATION_END"),!i.current)){const E=t.style.animationFillMode;t.style.animationFillMode="forwards",c=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=E)})}},"handleAnimationEnd"),v=Vu(g=>{g.target===t&&(o.current=ym(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{f.clearTimeout(c),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:m.useCallback(c=>{if(c){const f=getComputedStyle(c);r.current=f,a.current=ym(f)}else r.current=null;n(c)},[])}}Vu($Q,"usePresence");function sL(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}Vu(sL,"setRef");function JQ(...e){const t=m.useRef(e);return t.current=e,m.useCallback(n=>{const r=t.current;let i=!1;const o=r.map(a=>{const s=sL(a,n);return!i&&typeof s=="function"&&(i=!0),s});if(i)return()=>{for(let a=0;a<o.length;a++){const s=o[a];typeof s=="function"?s():sL(r[a],null)}}},[])}Vu(JQ,"useStableComposedRefs");function ym(e){return e?.animationName||"none"}Vu(ym,"getAnimationName");function ZQ(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}Vu(ZQ,"getElementRef");var fje=Object.defineProperty,jD=(e,t)=>fje(e,"name",{value:t,configurable:!0}),S0=0,Qp=null;function pje(e){return zD(),e.children}jD(pje,"FocusGuards");function zD(){m.useEffect(()=>{Qp||(Qp={start:lL(),end:lL()});const{start:e,end:t}=Qp;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),S0++,()=>{S0===1&&(Qp?.start.remove(),Qp?.end.remove(),Qp=null),S0=Math.max(0,S0-1)}},[])}jD(zD,"useFocusGuards");function lL(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}jD(lL,"createFocusGuard");var RS="right-scroll-bar-position",xS="width-before-scroll-bar",mje="with-scroll-bars-hidden",hje="--removed-body-scroll-bar-size";function pR(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function gje(e,t){var n=m.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var vje=typeof window<"u"?m.useLayoutEffect:m.useEffect,G8=new WeakMap;function yje(e,t){var n=gje(null,function(r){return e.forEach(function(i){return pR(i,r)})});return vje(function(){var r=G8.get(n);if(r){var i=new Set(r),o=new Set(e),a=n.current;
vendor: 4,224 bytes, lines 1923-1938
1923i.forEach(function(s){o.has(s)||pR(s,null)}),o.forEach(function(s){i.has(s)||pR(s,a)})}G8.set(n,e)},[e]),n}function kje(e){return e}function bje(e,t){t===void 0&&(t=kje);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(s){return o(s)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(o),a=n}var l=function(){var c=a;a=[],c.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return i}function Sje(e){e===void 0&&(e={});var t=bje(null);return t.options=me({async:!0,ssr:!1},e),t}var QQ=function(e){var t=e.sideCar,n=Nu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return m.createElement(r,me({},n))};QQ.isSideCarExport=!0;function Eje(e,t){return e.useMedium(t),QQ}var XQ=Sje(),mR=function(){},ZC=m.forwardRef(function(e,t){var n=m.useRef(null),r=m.useState({onScrollCapture:mR,onWheelCapture:mR,onTouchMoveCapture:mR}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,v=e.noRelative,g=e.noIsolation,y=e.inert,k=e.allowPinchZoom,E=e.as,S=E===void 0?"div":E,T=e.gapMode,I=Nu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=p,w=yje([n,t]),R=me(me({},I),i);return m.createElement(m.Fragment,null,c&&m.createElement(A,{sideCar:XQ,removeScrollBar:u,shards:f,noRelative:v,noIsolation:g,inert:y,setCallbacks:o,allowPinchZoom:!!k,lockRef:n,gapMode:T}),a?m.cloneElement(m.Children.only(s),me(me({},R),{ref:w})):m.createElement(S,me({},R,{className:l,ref:w}),s))});ZC.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ZC.classNames={fullWidth:xS,zeroRight:RS};var Tje=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Cje(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Tje();return t&&e.setAttribute("nonce",t),e}function Aje(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ije(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var wje=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Cje())&&(Aje(t,n),Ije(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Nje=function(){var e=wje();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},eX=function(){var e=Nje(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},Rje={left:0,top:0,right:0,gap:0},hR=function(e){return parseInt(e||"",10)||0},xje=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[hR(n),hR(r),hR(i)]},Lje=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Rje;var t=xje(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Oje=eX(),qm="data-scroll-locked",Pje=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),` 1924 .`.concat(mje,` { 1925 overflow: hidden `).concat(r,`; 1926 padding-right: `).concat(s,"px ").concat(r,`; 1927 } 1928 body[`).concat(qm,`] { 1929 overflow: hidden `).concat(r,`; 1930 overscroll-behavior: contain; 1931 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 1932 padding-left: `.concat(i,`px; 1933 padding-top: `).concat(o,`px; 1934 padding-right: `).concat(a,`px; 1935 margin-left:0; 1936 margin-top:0; 1937 margin-right: `).concat(s,"px ").concat(r,`; 1938 `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";
1938")].filter(Boolean).join(""),` 1939 } 1940 1941 .`).concat(RS,` { 1942 right: `).concat(s,"px ").concat(r,`; 1943 } 1944 1945 .`).concat(xS,` { 1946 margin-right: `).concat(s,"px ").concat(r,`; 1947 } 1948 1949 .`).concat(RS," .").concat(RS,` { 1950 right: 0 `).concat(r,`; 1951 } 1952 1953 .`).concat(xS," .").concat(xS,` { 1954 margin-right: 0 `).concat(r,`; 1955 } 1956 1957 body[`).concat(qm,`] { 1958 `).concat(hje,": ").concat(s,`px; 1959 } 1960`)},K8=function(){var e=parseInt(document.body.getAttribute(qm)||"0",10);return isFinite(e)?e:0},_je=function(){m.useEffect(function(){return document.body.setAttribute(qm,(K8()+1).toString()),function(){var e=K8()-1;e<=0?document.body.removeAttribute(qm):document.body.setAttribute(qm,e.toString())}},[])},Dje=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;_je();var o=m.useMemo(function(){return Lje(i)},[i]);return m.createElement(Oje,{styles:Pje(o,!t,i,n?"":"!important")})},uL=!1;if(typeof window<"u")try{var E0=Object.defineProperty({},"passive",{get:function(){return uL=!0,!0}});window.addEventListener("test",E0,E0),window.removeEventListener("test",E0,E0)}catch{uL=!1}var Xp=uL?{passive:!1}:!1,Mje=function(e){return e.tagName==="TEXTAREA"},tX=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Mje(e)&&n[t]==="visible")},Fje=function(e){return tX(e,"overflowY")},Uje=function(e){return tX(e,"overflowX")},Y8=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=nX(e,r);if(i){var o=rX(e,r),a=o[1],s=o[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Vje=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Bje=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},nX=function(e,t){return e==="v"?Fje(t):Uje(t)},rX=function(e,t){return e==="v"?Vje(t):Bje(t)},jje=function(e,t){return e==="h"&&t==="rtl"?-1:1},zje=function(e,t,n,r,i){var o=jje(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,l=t.contains(s),u=!1,c=a>0,f=0,p=0;do{if(!s)break;var v=rX(e,s),g=v[0],y=v[1],k=v[2],E=y-k-o*g;(g||E)&&nX(e,s)&&(f+=E,p+=g);var S=s.parentNode;s=S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?S.host:S}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&Math.abs(f)<1||!c&&Math.abs(p)<1)&&(u=!0),u},T0=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$8=function(e){return[e.deltaX,e.deltaY]},J8=function(e){return e&&"current"in e?e.current:e},Hje=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Wje=function(e){return` 1961 .block-interactivity-`.concat(e,` {pointer-events: none;} 1962 .allow-interactivity-`).concat(e,` {pointer-events: all;} 1963`)},qje=0,em=[];function Gje(e){var t=m.useRef([]),n=m.useRef([0,0]),r=m.useRef(),i=m.useState(qje++)[0],o=m.useState(eX)[0],a=m.useRef(e);m.useEffect(function(){a.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var y=$t([e.lockRef.current],(e.shards||[]).map(J8),!0).filter(Boolean);return y.forEach(function(k){return k.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),y.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=m.useCallback(function(y,k){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!a.current.allowPinchZoom;var E=T0(y),S=n.current,T="deltaX"in y?y.deltaX:S[0]-E[0],I="deltaY"in y?y.deltaY:S[1]-E[1],A,w=y.target,R=Math.abs(T)>Math.abs(I)?"h":"v";if("touches"in y&&R==="h"&&w.type==="range")return!1;var x=window.getSelection(),D=x&&x.anchorNode,M=D?D===w||D.contains(w):!1;if(M)return!1;var F=Y8(R,w);if(!F)return!0;if(F?A=R:(A=R==="v"?"h":"v",F=Y8(R,w)),!F)return!1;if(!r.current&&"changedTouches"in y&&(T||I)&&(r.current=A),!A)return!0;var L=r.current||A;return zje(L,k,y,L==="h"?T:I)},[]),l=m.useCallback(function(y){var k=y;if(!(!em.length||em[em.length-1]!==o)){var E="deltaY"in k?$8(k):T0(k),S=t.current.filter(function(A){return A.name===k.type&&(A.target===k.target||k.target===A.shadowParent)&&Hje(A.delta,E)})[0];if(S&&S.should){k.cancelable&&k.preventDefault();return}
vendor: 1,935 bytes, line 1963
1963if(!S){var T=(a.current.shards||[]).map(J8).filter(Boolean).filter(function(A){return A.contains(k.target)}),I=T.length>0?s(k,T[0]):!a.current.noIsolation;I&&k.cancelable&&k.preventDefault()}}},[]),u=m.useCallback(function(y,k,E,S){var T={name:y,delta:k,target:E,should:S,shadowParent:Kje(E)};t.current.push(T),setTimeout(function(){t.current=t.current.filter(function(I){return I!==T})},1)},[]),c=m.useCallback(function(y){n.current=T0(y),r.current=void 0},[]),f=m.useCallback(function(y){u(y.type,$8(y),y.target,s(y,e.lockRef.current))},[]),p=m.useCallback(function(y){u(y.type,T0(y),y.target,s(y,e.lockRef.current))},[]);m.useEffect(function(){return em.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Xp),document.addEventListener("touchmove",l,Xp),document.addEventListener("touchstart",c,Xp),function(){em=em.filter(function(y){return y!==o}),document.removeEventListener("wheel",l,Xp),document.removeEventListener("touchmove",l,Xp),document.removeEventListener("touchstart",c,Xp)}},[]);var v=e.removeScrollBar,g=e.inert;return m.createElement(m.Fragment,null,g?m.createElement(o,{styles:Wje(i)}):null,v?m.createElement(Dje,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Kje(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Yje=Eje(XQ,Gje);var iX=m.forwardRef(function(e,t){return m.createElement(ZC,me({},e,{ref:t,sideCar:Yje}))});iX.classNames=ZC.classNames;var $je=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},tm=new WeakMap,C0=new WeakMap,A0={},gR=0,oX=function(e){return e&&(e.host||oX(e.parentNode))},Jje=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=oX(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})}
1963,Zje=function(e,t,n,r){var i=Jje(t,Array.isArray(e)?e:[e]);A0[n]||(A0[n]=new WeakMap);var o=A0[n],a=[],s=new Set,l=new Set(i),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else try{var v=p.getAttribute(r),g=v!==null&&v!=="false",y=(tm.get(p)||0)+1,k=(o.get(p)||0)+1;tm.set(p,y),o.set(p,k),a.push(p),y===1&&g&&C0.set(p,!0),k===1&&p.setAttribute(n,"true"),g||p.setAttribute(r,"true")}catch(E){console.error("aria-hidden: cannot operate on ",p,E)}})};return c(t),s.clear(),gR++,function(){a.forEach(function(f){var p=tm.get(f)-1,v=o.get(f)-1;tm.set(f,p),o.set(f,v),p||(C0.has(f)||f.removeAttribute(r),C0.delete(f)),v||f.removeAttribute(n)}),gR--,gR||(tm=new WeakMap,tm=new WeakMap,C0=new WeakMap,A0={})}},Qje=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=$je(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),Zje(r,i,n,"aria-hidden")):function(){return null}},Xje=Object.defineProperty,Os=(e,t)=>Xje(e,"name",{value:t,configurable:!0}),HD="Dialog",[aX,ldt]=IQ(HD),[e9e,Zl]=aX(HD),t9e=Os(e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,s=m.useRef(null),l=m.useRef(null),[u,c]=RQ({prop:r,defaultProp:i??!1,onChange:o,caller:HD}),[f,p]=m.useState(0),[v,g]=m.useState(0);return b.jsx(e9e,{scope:t,triggerRef:s,contentRef:l,contentId:NS(),titleId:NS(),descriptionId:NS(),titlePresent:f>0,descriptionPresent:v>0,setTitleCount:p,setDescriptionCount:g,open:u,onOpenChange:c,onOpenToggle:m.useCallback(()=>c(y=>!y),[c]),modal:a,children:n})},"Dialog"),sX="DialogPortal",[n9e,lX]=aX(sX,{forceMount:void 0}),r9e=Os(e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Zl(sX,t);return b.jsx(n9e,{scope:t,forceMount:n,children:m.Children.map(r,a=>b.jsx(BD,{present:n||o.open,children:b.jsx(cje,{asChild:!0,container:i,children:a})}))})},"DialogPortal"),cL="DialogOverlay",i9e=m.forwardRef(Os(function(t,n){const r=lX(cL,t.__scopeDialog),{forceMount:i=r.forceMount,...o}=t,a=Zl(cL,t.__scopeDialog);return a.modal?b.jsx(BD,{present:i||a.open,children:b.jsx(a9e,{...o,ref:n})}):null},"DialogOverlay")),o9e=FD("DialogOverlay.RemoveScroll"),a9e=m.forwardRef(Os(function(t,n){const{__scopeDialog:r,...i}=t,o=Zl(cL,r),a=VQ(),s=Bh(n,a);return b.jsx(iX,{as:o9e,allowPinchZoom:!0,shards:[o.contentRef],children:b.jsx(dp.div,{"data-state":WD(o.open),...i,ref:s,style:{pointerEvents:"auto",...i.style}})})},"DialogOverlayImpl")),Ey="DialogContent",s9e=m.forwardRef(Os(function(t,n){const r=lX(Ey,t.__scopeDialog),{forceMount:i=r.forceMount,...o}=t,a=Zl(Ey,t.__scopeDialog);return b.jsx(BD,{present:i||a.open,children:a.modal?b.jsx(l9e,{...o,ref:n}):b.jsx(u9e,{...o,ref:n})})},"DialogContent")),l9e=m.forwardRef(Os(function(t,n){const r=Zl(Ey,t.__scopeDialog),i=m.useRef(null),o=Bh(n,r.contentRef,i);return m.useEffect(()=>{const a=i.current;if(a)return Qje(a)},[]),b.jsx(uX,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:Wc(t.onCloseAutoFocus,a=>{a.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:Wc(t.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0;(s.button===2||l)&&a.preventDefault()}),onFocusOutside:Wc(t.onFocusOutside,a=>a.preventDefault())})},"DialogContentModal")),u9e=m.forwardRef(Os(function(t,n){const r=Zl(Ey,t.__scopeDialog),i=m.useRef(!1),o=m.useRef(!1);return b.jsx(uX,{...t,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{t.onCloseAutoFocus?.(a),a.defaultPrevented||(i.current||r.triggerRef.current?.focus(),a.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:a=>{t.onInteractOutside?.(a),a.defaultPrevented||(i.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=a.target;r.triggerRef.current?.contains(s)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}})},"DialogContentNonModal")),uX=m.forwardRef(Os(function(t,n){const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,...s}=t,l=Zl(Ey,r);return zD(),b.jsx(b.Fragment,{children:b.jsx(sje,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:a,children:b.jsx(ije,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionPresent?l.descriptionId:void 0,"aria-labelledby":l.titlePresent?l.titleId:void 0,"data-state":WD(l.open),...s,ref:n,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})},"DialogContentImpl")),c9e="DialogTitle",d9e=m.forwardRef(Os(function(t,n){const{__scopeDialog:r,...i}=t,o=Zl(c9e,r),{setTitleCount:a}=o;return ad(()=>(a(s=>s+1),()=>a(s=>s-1)),[a]),b.jsx(dp.h2,{id:o.titleId,...i,ref:n})},"DialogTitle")),f9e="DialogDescription",p9e=m.forwardRef(Os(function(t,n){const{__scopeDialog:r,...i}=t,o=Zl(f9e,r),{setDescriptionCount:a}=o;return ad(()=>(a(s=>s+1),()=>a(s=>s-1)),[a]),b.jsx(dp.p,{id:o.descriptionId,...i,ref:n})},"DialogDescription")),m9e="DialogClose",h9e=m.forwardRef(Os(function(t,n){const{__scopeDialog:r,...i}=t,o=Zl(m9e,r);return b.jsx(dp.button,{type:"button",...i,ref:n,onClick:Wc(t.onClick,()=>o.onOpenChange(!1))})},"DialogClose"));function WD(e){return e?"open":"closed"}Os(WD,"getState");var qD=({children:e,onOpenChange:t,...n})=>b.jsx(t9e,{defaultOpen:!0,onOpenChange:t,...n,children:b.jsx(r9e,{children:e})});qD.displayName="ModalView.Root";var GD=Ye.forwardRef(({className:e,...t},n)=>b.jsx(i9e,{className:gr("knock-guide-modal__overlay",e),ref:n,...t}));GD.displayName="ModalView.Overlay";var KD=Ye.forwardRef(({children:e,className:t,...n},r)=>
1963b.jsx(s9e,{className:gr("knock-guide-modal",t),ref:r,...n,children:e}));KD.displayName="ModalView.Content";var cX=({children:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-modal__header",t),...n,children:e});cX.displayName="ModalView.Header";var YD=({title:e,className:t,...n})=>b.jsx(d9e,{className:gr("knock-guide-modal__title",t),...n,children:e});YD.displayName="ModalView.Title";var $D=({body:e,className:t,...n})=>b.jsx(p9e,{className:gr("knock-guide-modal__body",t),dangerouslySetInnerHTML:{__html:e},...n});$D.displayName="ModalView.Body";var JD=({children:e,className:t,alt:n,...r})=>b.jsx("img",{className:gr("knock-guide-modal__img",t),alt:n||"",...r,children:e});JD.displayName="ModalView.Img";var ZD=({children:e,className:t,...n})=>b.jsx("div",{className:gr("knock-guide-modal__actions",t),...n,children:e});ZD.displayName="ModalView.Actions";var QD=({text:e,action:t,className:n,...r})=>b.jsx("button",{className:gr("knock-guide-modal__action",n),...r,children:e});QD.displayName="ModalView.PrimaryButton";var XD=({text:e,action:t,className:n,...r})=>b.jsx("button",{className:gr("knock-guide-modal__action knock-guide-modal__action--secondary",n),...r,children:e});XD.displayName="ModalView.SecondaryButton";var eM=({className:e,...t})=>b.jsx(h9e,{className:gr("knock-guide-modal__close",e),...t,children:b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",children:b.jsxs("g",{fill:"#60646C",fillRule:"evenodd",clipRule:"evenodd",children:[b.jsx("path",{d:"M14.03 3.97a.75.75 0 0 1 0 1.06l-9 9a.75.75 0 0 1-1.06-1.06l9-9a.75.75 0 0 1 1.06 0Z"}),b.jsx("path",{d:"M3.97 3.97a.75.75 0 0 1 1.06 0l9 9a.75.75 0 1 1-1.06 1.06l-9-9a.75.75 0 0 1 0-1.06Z"})]})})});eM.displayName="ModalView.Close";var dX=({content:e,colorMode:t="light",onOpenChange:n,onDismiss:r,onButtonClick:i,onImageClick:o})=>b.jsxs(qD,{onOpenChange:n,children:[b.jsx(GD,{}),b.jsxs(KD,{"data-knock-color-mode":t,onPointerDownOutside:r,children:[b.jsxs(cX,{children:[b.jsx(YD,{title:e.title}),e.dismissible&&b.jsx(eM,{onClick:r})]}),b.jsx($D,{body:e.body}),e.image&&b.jsx("a",{href:vQ(e.image.action)?e.image.action:void 0,target:"_blank",children:b.jsx(JD,{src:e.image.url,alt:e.image.alt,onClick:a=>{o&&o(a,e.image)}})}),(e.primary_button||e.secondary_button)&&b.jsxs(ZD,{children:[e.secondary_button&&b.jsx(XD,{text:e.secondary_button.text,action:e.secondary_button.action,onClick:a=>{if(i){let{text:s,action:l}=e.secondary_button;i(a,{name:"secondary_button",text:s,action:l})}}}),e.primary_button&&b.jsx(QD,{text:e.primary_button.text,action:e.primary_button.action,onClick:a=>{if(i){let{text:s,action:l}=e.primary_button;i(a,{name:"primary_button",text:s,action:l})}}})]})]})]});dX.displayName="ModalView.Default";var g9e={};Object.assign(g9e,{Default:dX,Root:qD,Overlay:GD,Content:KD,Title:YD,Body:$D,Img:JD,Actions:ZD,PrimaryButton:QD,SecondaryButton:XD,Close:eM});function dL(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}const tM={};function qc(e,t,n,r,i){if(!n&&!r&&!i&&!e)return $E(t);let o=$E(e);return t&&(o=Tv(o,t)),n&&(o=Tv(o,n)),r&&(o=Tv(o,r)),i&&(o=Tv(o,i)),o}function v9e(e){if(e.length===0)return tM;if(e.length===1)return $E(e[0]);let t=$E(e[0]);for(let n=1;n<e.length;n+=1)t=Tv(t,e[n]);return t}function $E(e){return nM(e)?{...pX(e,tM)}:y9e(e)}function Tv(e,t){return nM(t)?pX(t,e):k9e(e,t)}function y9e(e){const t={...e};for(const n in t){const r=t[n];fX(n,r)&&(t[n]=mX(r))}return t}function k9e(e,t){if(!t)return e;for(const n in t){const r=t[n];switch(n){case"style":{e[n]=dL(e.style,r);break}case"className":{e[n]=hX(e.className,r);break}default:fX(n,r)?e[n]=b9e(e[n],r):e[n]=r}}return e}function fX(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return n===111&&r===110&&i>=65&&i<=90&&(typeof t=="function"||typeof t>"u")}function nM(e){return typeof e=="function"}function pX(e,t){return nM(e)?e(t):e??tM}function b9e(e,t){return t?e?(...n)=>{const r=n[0];if(gX(r)){const o=r;JE(o);const a=t(...n);return o.baseUIHandlerPrevented||e?.(...n),a}const i=t(...n);return e?.(...n),i}:mX(t):e}function mX(e){return e&&((...t)=>{const n=t[0];return gX(n)&&JE(n),e(...t)})}function JE(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function hX(e,t){return t?e?t+" "+e:t:e}function gX(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}var Z8=Symbol.for("react.forward_ref"),Q8=(e,t)=>{let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...a)=>{o(...a),i(...a)}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}
1963:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}},S9e=({children:e,...t},n)=>e?Ye.Children.toArray(e).map(r=>{if(Ye.isValidElement(r)){let i=r,o=i.$$typeof,a=i.type.$$typeof,s=i.props,l=s.tgphRef;return o===Z8||a===Z8?Ye.cloneElement(i,{...Q8(t,s),tgphRef:l||n,ref:l||n}):Ye.cloneElement(i,{...Q8(t,s),tgphRef:l||n})}return r}):null,rM=Ye.forwardRef(({children:e,...t},n)=>{let r=Ye.useRef(n),i=Ye.useRef(null);Ye.useEffect(()=>{let a=r.current,s=i.current;a!==n&&s&&(typeof a=="function"?a(null):a&&(a.current=null),typeof n=="function"?n(s):n&&(n.current=s)),r.current=n});let o=Ye.useCallback(a=>{i.current=a;let s=r.current;typeof s=="function"?s(a):s&&(s.current=a)},[]);return S9e({children:e,...t},o)});rM.displayName="RefToTgphRef";var X8=Symbol.for("react.forward_ref"),ej=e=>!!(e&&"isReactWarning"in e&&e.isReactWarning),E9e=e=>{let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get;if(ej(t))return e.ref;let n=Object.getOwnPropertyDescriptor(e,"ref")?.get;return ej(n)?e.props.ref:e.props.ref??e.ref},fL=(e,t)=>{typeof e=="function"?e(t):e!=null&&(e.current=t)},T9e=(...e)=>t=>{e.forEach(n=>fL(n,t))},C9e=e=>e.filter(t=>!!t),A9e=(e,t)=>e.length===t.length&&e.every((n,r)=>n===t[r]),tj=(...e)=>{let t=C9e(e),n=m.useRef(t),r=m.useRef(t),i=m.useRef(null);n.current=t,m.useEffect(()=>{let a=r.current,s=n.current,l=i.current;l&&!A9e(a,s)&&(a.forEach(u=>{s.includes(u)||fL(u,null)}),s.forEach(u=>{a.includes(u)||fL(u,l)})),r.current=s});let o=m.useCallback(a=>{i.current=a,T9e(...n.current)(a)},[]);return t.length>0?o:void 0},I9e=e=>typeof e.type=="string",w9e=e=>e.$$typeof===X8||typeof e.type!="string"&&e.type.$$typeof===X8,N9e=(e,t,n
1963)=>{let r=e.props.tgphRef;if(!t&&!r)return{};let i=e;return I9e(i)?{ref:t}:w9e(i)?{...t?{ref:t}:{},...r&&n?{tgphRef:n}:{}}:{...n?{tgphRef:n}:{}}},QC=m.forwardRef(({children:e,...t},n)=>{let r=m.Children.only(e),i=m.isValidElement(r)?r:null,o=i?E9e(i):void 0,a=i?.props.tgphRef,s=tj(n,o),l=tj(n,a);return i?m.cloneElement(i,{...qc(t,i.props),...N9e(i,s,l)}):null});QC.displayName="TgphSlot";var R9e=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),x9e=e=>({...R9e,...e}),vX=({asChild:e=!1,style:t,...n})=>{let r={style:x9e(t),...n};return b.jsx(e?QC:"span",{...r})},pL=({defaultProp:e,onChange:t,prop:n})=>{let[r,i]=m.useState(e),o=m.useRef(r),a=n!==void 0,s=a?n:r;return m.useEffect(()=>{o.current=r},[r]),[s,m.useCallback(l=>{let u=a?n:o.current,c=typeof l=="function"?l(u):l;Object.is(u,c)||(a||(o.current=c,i(c)),t?.(c))},[a,t,n])]},L9e=({value:e,determinateValue:t,minDurationMs:n=1e3})=>{let[r,i]=m.useState(e),o=m.useRef(null),a=m.useRef(null),s=()=>{o.current&&=(clearTimeout(o.current),null)},l=m.useCallback(()=>{if(e===t)s(),i(t),a.current=Date.now();else if(a.current!==null){let u=n-(Date.now()-a.current);u>0?(s(),o.current=setTimeout(()=>{i(e),a.current=null},u)):(i(e),a.current=null)}else i(e)},[e,t,n]);return m.useEffect(()=>(l(),s),[e,l]),r},O9e=({element:e,state:t})=>typeof e=="function"?e(t):e,P9e=({props:e,renderElement:t})=>{let{ref:n}=e;return b.jsx(QC,{...e,ref:n,children:t})},Gl=e=>(t,n)=>{let r=O9e({element:e,state:n});return m.isValidElement(r)?P9e({props:t,renderElement:r}):r},_9e=5,vR={escapeKey:"escape-key",focusOut:"focus-out",outsidePress:"outside-press"},Xg=(e,t)=>(e?.(t),t.defaultPrevented),D9e=(e,t)=>{let{event:n,reason:r}=e;if(r===vR.escapeKey)return Xg(t.onEscapeKeyDown,n);if(r===vR.outsidePress){let i=Xg(t.onPointerDownOutside,n),o=Xg(t.onInteractOutside,n);return i||o}if(r===vR.focusOut){let i=Xg(t.onFocusOutside,n),o=Xg(t.onInteractOutside,n);return i||o}return!1},M9e=(e,t=_9e)=>e==="top"?{y:-t}:e==="bottom"?{y:t}:e==="left"?{x:-t}:e==="right"?{x:t}:{},yX=({anchorHidden:e,hideWhenDetached:t,zIndex:n})=>({visibility:t&&e?"hidden":void 0,zIndex:n}),F9e=Symbol.for("motionComponentSymbol"),kX=Symbol.for("@telegraph/native-button-resolver"),nj=({component:e,resolver:t})=>{Object.defineProperty(e,kX,{configurable:!0,value:t})},bX=({component:e,nativeButton:t,props:n})=>{if(typeof e=="string")return t??e==="button";if(typeof e!="function"&&typeof e!="object"||e===null)return;let r=e,i=r[kX];if(i)return i(n,t);let o=r[F9e];return o&&o!==e?bX({component:o,nativeButton:t,props:n}):t},U9e=["_hover","_focus","_active","_focusWithin","_disabled"],V9e={_hover:"hover",_focus:"focus",_active:"active",_focusWithin:"focus-within",_disabled:"disabled"},B9e=e=>{let t=[],n="",r=0;for(let i=0;i<e.length;i++){let o=e[i];o==="("?(r++,n+=o):o===")"?(r--,n+=o):o===" "&&r===0?n&&=(t.push(n),""):n+=o}for(n&&t.push(n);t.length<4;)t.push("0");return[t[0]||"0",t[1]||"0",t[2]||"0",t[3]||"0"]},j9e=({currentValueOfCssVar:e="0 0 0 0",value:t,direction:n})=>{let[r,i,o,a]=B9e(e),s={top:r,right:i,bottom:o,left:a};return n==="top"&&(s.top=t),n==="right"&&(s.right=t),n==="bottom"&&(s.bottom=t),n==="left"&&(s.left=t),n==="all"&&(s.top=t,s.right=t,s.bottom=t,s.left=t),n==="x"&&(s.left=t,s.right=t),n==="y"&&(s.top=t,s.bottom=t),n==="side-top"&&(s.top=t,s.right=t),n==="side-bottom"&&(s.bottom=t,s.left=t),n==="side-left"&&(s.top=t,s.left=t),n==="side-right"&&(s.right=t,s.bottom=t),Object.values(s).join(" ")},z9e=({currentValueOfCssVar:e="visible visible",value:t,axis:n})=>{let[r,i]=e.split(" ");return n==="x"?`${t} ${i}`:n==="y"?`${r} ${t}`:`${t} ${t}`},rj=(e,t)=>{if(typeof t=="string"&&t.startsWith("-")){let n=t.slice(1);return`calc(-1 * ${e.value.replace("VARIABLE",n)})`}return e.value.replace("VARIABLE",t)},ij=(e,t,n,r)=>{let i=r??t.cssVar;if(t.direction){let o=e?.[i],a=j9e({currentValueOfCssVar:o,value:n,direction:t.direction});return{...e,[i]:a}}if(t.axis){let o=e?.[i],a=z9e({currentValueOfCssVar:o,value:n,axis:t.axis});return{...e,[i]:a}}return{...e,[i]:n}},H9e=(e,t)=>
1963`--${V9e[t]}--${e.replace(/^--/,"")}`,W9e=e=>{let{cssVars:t}=e;if(!e?.props||Object.keys(e.props).length===0)return{styleProp:{},otherProps:{},interactive:!1};let{style:n={},...r}=e.props,i=n,o={},a=!1;return Object.keys(r).forEach(s=>{let l=s;if(U9e.includes(s)&&typeof r[l]=="object"&&r[l]!==null){let p=s,v=r[l],g={};if(Object.keys(v).forEach(y=>{let k=v[y];if(!k)return;let E=t?.[y];if(!E){g[y]=k;return}let S=rj(E,k),T=H9e(E.cssVar,p);i=ij(i,E,S,T)}),Object.keys(g).length>0){let y=o[s]||{};Object.assign(o,{[s]:{...y,...g}})}Object.keys(v).length>Object.keys(g).length&&(a=!0);return}let u=t?.[l];if(!u){Object.assign(o,{[l]:r[l]});return}let c=r?.[l];if(!c){Object.assign(i,{[l]:r[l]});return}let f=rj(u,c);i=ij(i,u,f)}),{styleProp:i,otherProps:o,interactive:a}},XC=e=>Ye.useMemo(()=>W9e(e),[e]),On={display:{cssVar:"--display",value:"VARIABLE"},backgroundColor:{cssVar:"--background-color",value:"var(--tgph-VARIABLE)"},borderStyle:{cssVar:"--border-style",value:"var(--tgph-border-style-VARIABLE)"},padding:{cssVar:"--padding",value:"var(--tgph-spacing-VARIABLE)",direction:"all"},paddingX:{cssVar:"--padding",value:"var(--tgph-spacing-VARIABLE)",direction:"x"},paddingY:{cssVar:"--padding",value:"var(--tgph-spacing-VARIABLE)",direction:"y"},paddingTop:{cssVar:"--padding",value:"var(--tgph-spacing-VARIABLE)",direction:"top"},paddingBottom:{cssVar:"--padding",value:"var(--tgph-spacing-VARIABLE)",direction:"bottom"},paddingLeft:{cssVar:"--padding",value:"var(--tgph-spacing-VARIABLE)",direction:"left"},paddingRight:{cssVar:"--padding",value:"var(--tgph-spacing-VARIABLE)",direction:"right"},margin:{cssVar:"--margin",value:"var(--tgph-spacing-VARIABLE)",direction:"all"},marginX:{cssVar:"--margin",value:"var(--tgph-spacing-VARIABLE)",direction:"x"},marginY:{cssVar:"--margin",value:"var(--tgph-spacing-VARIABLE)",direction:"y"},marginTop:{cssVar:"--margin",value:"var(--tgph-spacing-VARIABLE)",direction:"top"},marginBottom:{cssVar:"--margin",value:"var(--tgph-spacing-VARIABLE)",direction:"bottom"},marginLeft:{cssVar:"--margin",value:"var(--tgph-spacing-VARIABLE)",direction:"left"},marginRight:{cssVar:"--margin",value:"var(--tgph-spacing-VARIABLE)",direction:"right"},borderColor:{cssVar:"--border-color",value:"var(--tgph-VARIABLE)"},borderTopColor:{cssVar:"--border-color",value:"var(--tgph-VARIABLE)",direction:"top"},borderBottomColor:{cssVar:"--border-color",value:"var(--tgph-VARIABLE)",direction:"bottom"},borderLeftColor:{cssVar:"--border-color",value:"var(--tgph-VARIABLE)",direction:"left"},borderRightColor:{cssVar:"--border-color",value:"var(--tgph-VARIABLE)",direction:"right"},borderWidth:{cssVar:"--border-width",value:"var(--tgph-spacing-VARIABLE)"},borderTopWidth:{cssVar:"--border-width",value:"var(--tgph-spacing-VARIABLE)",direction:"top"},borderBottomWidth:{cssVar:"--border-width",value:"var(--tgph-spacing-VARIABLE)",direction:"bottom"},borderLeftWidth:{cssVar:"--border-width",value:"var(--tgph-spacing-VARIABLE)",direction:"left"},borderRightWidth:{cssVar:"--border-width",value:"var(--tgph-spacing-VARIABLE)",direction:"right"},borderRadius:{cssVar:"--border-radius",value:"var(--tgph-rounded-VARIABLE)"},borderTopLeftRadius:{cssVar:"--border-radius",value:"var(--tgph-rounded-VARIABLE)",direction:"top"},borderTopRightRadius:{cssVar:"--border-radius",value:"var(--tgph-rounded-VARIABLE)",direction:"right"},borderBottomLeftRadius:{cssVar:"--border-radius",value:"var(--tgph-rounded-VARIABLE)",direction:"left"},borderBottomRightRadius:{cssVar:"--border-radius",value:"var(--tgph-rounded-VARIABLE)",direction:"bottom"},borderTopRadius:{cssVar:"--border-radius",value:"var(--tgph-rounded-VARIABLE)",direction:"side-top"},borderBottomRadius:{cssVar:"--border-radius",value:"var(--tgph-rounded-VARIABLE)",direction:"side-bottom"},borderLeftRadius:{cssVar:"--border-radius",value:"var(--tgph-rounded-VARIABLE)",direction:"side-left"},borderRightRadius:{cssVar:"--border-radius",value:"var(--tgph-rounded-VARIABLE)",direction:"side-right"},boxShadow:{cssVar:"--box-shadow",value:"var(--tgph-shadow-VARIABLE)"},width:{cssVar:"--width",value:"var(--tgph-spacing-VARIABLE)"},height:{cssVar:"--height",value:"var(--tgph-spacing-VARIABLE)"},minWidth:{cssVar:"--min-width",value:"var(--tgph-spacing-VARIABLE)"},minHeight:{cssVar:"--min-height",value:"var(--tgph-spacing-VARIABLE)"},maxWidth:{cssVar:"--max-width",value:"var(--tgph-spacing-VARIABLE)"},maxHeight:{cssVar:"--max-height",value:"var(--tgph-spacing-VARIABLE)"},zIndex:{cssVar:"--z-index",value:"var(--tgph-zIndex-VARIABLE)"},position:{cssVar:"--position",value:"VARIABLE"},top:{cssVar:"--top",value:"var(--tgph-spacing-VARIABLE)"},left:{cssVar:"--left",value:"var(--tgph-spacing-VARIABLE)"},right:{cssVar:"--right",value:"var(--tgph-spacing-VARIABLE)"},bottom:{cssVar:"--bottom",value:"var(--tgph-spacing-VARIABLE)"},overflow:{cssVar:"--overflow",value:"VARIABLE",axis:"both"},overflowX:{cssVar:"--overflow",value:"VARIABLE",axis:"x"},overflowY:{cssVar:"--overflow",value:"VARIABLE",axis:"y"},alignSelf:{cssVar:"--align-self",value:"VARIABLE"},flexDirection:{cssVar:"--direction",value:"VARIABLE"}},q9e={border:On.borderWidth,borderX:On.borderLeftWidth,borderY:On.borderTopWidth,bg:On.backgroundColor,p:On.padding,m:On.margin,px:On.paddingX,py:On.paddingY,pt:On.paddingTop,pb:On.paddingBottom,pl:On.paddingLeft,pr:On.paddingRight,mx:On.marginX,my:On.marginY,mt:On.marginTop,mb:On.marginBottom,ml:On.marginLeft,mr:On.marginRight,shadow:On.boxSh
1963adow,w:On.width,h:On.height,minW:On.minWidth,minH:On.minHeight,maxW:On.maxWidth,maxH:On.maxHeight,rounded:On.borderRadius,roundedTopLeft:On.borderTopLeftRadius,roundedTopRight:On.borderTopRightRadius,roundedBottomLeft:On.borderBottomLeftRadius,roundedBottomRight:On.borderBottomRightRadius,roundedTop:On.borderTopRadius,roundedBottom:On.borderBottomRadius,roundedLeft:On.borderLeftRadius,roundedRight:On.borderRightRadius,borderTop:On.borderTopWidth,borderBottom:On.borderBottomWidth,borderLeft:On.borderLeftWidth,borderRight:On.borderRightWidth,direction:On.flexDirection},G9e={...On,...q9e},Gc=({as:e,className:t,tgphRef:n,children:r,...i})=>{let o=e||"div",{styleProp:a,otherProps:s,interactive:l}=XC({props:i,cssVars:G9e});return b.jsx(o,{className:mt("tgph-box",l&&"tgph-box--interactive",t),style:a,...s,ref:n,children:r})},K9e={flexDirection:{cssVar:"--direction",value:"VARIABLE"},flexWrap:{cssVar:"--wrap",value:"VARIABLE"},justifyContent:{cssVar:"--justify",value:"VARIABLE"},alignItems:{cssVar:"--align",value:"VARIABLE"},gap:{cssVar:"--gap",value:"var(--tgph-spacing-VARIABLE)"}},Y9e={direction:{cssVar:"--direction",value:"VARIABLE"},align:{cssVar:"--align",value:"VARIABLE"},justify:{cssVar:"--justify",value:"VARIABLE"},wrap:{cssVar:"--wrap",value:"VARIABLE"}},$9e={...K9e,...Y9e},fa=({className:e,...t})=>{let{styleProp:n,otherProps:r}=XC({props:t,cssVars:$9e});return b.jsx(Gc,{className:mt("tgph-stack",e),style:n,...r})},J9e={color:{cssVar:"--color",value:"var(--tgph-VARIABLE)"},fontSize:{cssVar:"--font-size",value:"var(--tgph-text-VARIABLE)"},weight:{cssVar:"--weight",value:"var(--tgph-weight-VARIABLE)"},leading:{cssVar:"--leading",value:"var(--tgph-leading-VARIABLE)"},tracking:{cssVar:"--tracking",value:"var(--tgph-tracking-VARIABLE)"},align:{cssVar:"--text-align",value:"VARIABLE"},family:{cssVar:"--font-family",value:"var(--tgph-family-VARIABLE)"},textOverflow:{cssVar:"--text-overflow",value:"VARIABLE"}},Z9e={default:"gray-12",gray:"gray-11",red:"red-11",beige:"beige-11",blue:"blue-11",green:"green-11",yellow:"yellow-11",purple:"purple-11",accent:"accent-11",white:"white",black:"black",contrast:"gray-1",disabled:"gray-9"},Yu=({as:e,size:t="2",weight:n="regular",align:r="left",color:i,className:o,internal_optionalAs:a,...s})=>{if(!e)throw Error("as prop is required");let{styleProp:l,otherProps:u}=XC({props:{color:Z9e[i],fontSize:t,tracking:t,leading:t,weight:n,align:r,...s},cssVars:J9e});return b.jsx(Gc,{as:e,className:mt("tgph-text",o),display:"inline",style:l,...u})};const Q9e=e=>e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();function X9e(e,t,n=[]){if(t==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:Q9e(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}const e7e=e=>{let t="",n=!1;for(const r of e){if(r==="-"||r==="_"||r<=" "){n=t.length>0;continue}t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1}return t};const t7e=e=>{const t=e7e(e);return t.charAt(0).toUpperCase()+t.slice(1)};const mL=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();const qd={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function yR(e){return e!=null}function n7e(e,t={}){const n=t.attributeNames??{},r=p=>n[p]??p,i=e.size??e.width??qd.width,o=e.size??e.height??qd.height,a=e.aliases?.filter(p=>typeof p=="string"&&p.trim()!=="").map(p=>`lucide-${p}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...a],l=t.className?.split(" ").filter(Boolean)??[],u=t.includeDefaultClasses===!1?mL(...l):mL("lucide",...s,...l),c=t.absoluteStrokeWidth?Number(t.strokeWidth??qd["stroke-width"])*Number(e.size??e.width??qd.width)/Number(t.size??t.width??qd.width):t.strokeWidth??qd["stroke-width"];return["svg",{...Object.entries(qd).reduce((p,[v,g])=>(p[r(v)]=g,p),{}),..."color"in t&&t.color&&{[r("stroke")]:t.color},..."size"in t&&yR(t.size)&&{[r("width")]:t.size,[r("height")]:t.size},..."width"in t&&yR(t.width)&&{[r("width")]:t.width},..."height"in t&&yR(t.height)&&{[r("height")]:t.height},[r("stroke-width")]:c,...u&&{[r("class")]:u},[r("viewBox")]:`0 0 ${i} ${o}`,...t.hasA11yProp===!1?{[r("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(p=>{const[v,g,y]=p,k=t.nonScalingStroke?{[r("vector-effect")]:"non-scaling-stroke",...g}:g;return y?[v,k,y]:[v,k]})]}function r7e(e,t={}){return n7e(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}const i7e=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},o7e=m.createContext({}),a7e=()=>m.useContext(o7e),s7e=m.forwardRef(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:o,nonScalingStroke:a,className:s="",children:l,iconNode:u=[],icon:c={node:u,aliases:[],size:24},...f},p)=>{const{size:v=24,strokeWidth:g=2,absoluteStrokeWidth:y=!1,nonScalingStroke:k=!1,color:E="currentColor",className:S=""}=a7e()??{},T=!!l||i7e(f),[I,A,w=[]]=r7e(c,{color:e??E,width:n??t??v,height:r??t??v,strokeWidth:i??g,absoluteStrokeWidth:o??y,nonScalingStroke:a??k,className:mL(S,s),hasA11yProp:T,attributes:f});return m.createElement(I,{ref:p,...A},[...w.map(([R,x])=>m.createElement(R,x)),...Array.isArray(l)?l:[l]])});function $u(e,t=[],n=[]){const r=typeof e=="string"?X9e(e,t,n):e,i=m.forwardRef(({className:o,...a},s)=>m.createElement(s7e,{ref:s,icon:r,className:o,...a}
1963));return r.name&&(i.displayName=t7e(r.name)),i}const SX={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};SX.node;const EX=$u(SX);const TX={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};TX.node;const l7e=$u(TX);const CX={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};CX.node;const u7e=$u(CX);const AX={name:"chevrons-up-down",size:24,node:[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]};AX.node;const c7e=$u(AX);const IX={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};IX.node;const d7e=$u(IX);const wX={name:"loader-circle",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],aliases:["loader-2"]};wX.node;const f7e=$u(wX);const NX={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};NX.node;const p7e=$u(NX);const RX={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};RX.node;const xX=$u(RX);const LX={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};LX.node;const hk=$u(LX);var oj={0:"var(--tgph-spacing-3)",1:"var(--tgph-spacing-3_5)",2:"var(--tgph-spacing-4)",3:"1.125rem",4:"var(--tgph-spacing-5)",5:"var(--tgph-spacing-6)",6:"var(--tgph-spacing-7)",7:"var(--tgph-spacing-8)",8:"var(--tgph-spacing-10)",9:"var(--tgph-spacing-12)"},m7e={primary:{default:"var(--tgph-gray-12)",gray:"var(--tgph-gray-11)",accent:"var(--tgph-accent-11)",beige:"var(--tgph-beige-11)",blue:"var(--tgph-blue-11)",green:"var(--tgph-green-11)",yellow:"var(--tgph-yellow-11)",purple:"var(--tgph-purple-11)",red:"var(--tgph-red-11)",white:"var(--tgph-white)",disabled:"var(--tgph-gray-9)",black:"var(--tgph-black)",contrast:"var(--tgph-gray-1)"},secondary:{default:"var(--tgph-gray-11)",gray:"var(--tgph-gray-10)",accent:"var(--tgph-accent-10)",beige:"var(--tgph-beige-10)",blue:"var(--tgph-blue-10)",green:"var(--tgph-green-10)",yellow:"var(--tgph-yellow-10)",purple:"var(--tgph-purple-10)",red:"var(--tgph-red-10)",white:"var(--tgph-white)",disabled:"var(--tgph-gray-8)",black:"var(--tgph-black)",contrast:"var(--tgph-gray-1)"}},gk=e=>{let{as:t,size:n="2",color:r="default",variant:i="primary",animation:o="none",icon:a,alt:s,className:l,style:u,...c}=e,f=a;return f||console.error("@telegraph/icon: icon prop is required"),!s&&!c["aria-hidden"]&&console.error("@telegraph/icon: alt prop is required"),b.jsx(Yu,{as:t||"span",className:mt("tgph-icon",l),"data-tgph-icon":!0,"data-tgph-icon-animation":o,style:{"--height":oj[n],"--width":oj[n],"--color":m7e[i][r],...u},...c,children:f&&b.jsx(f,{role:"img","aria-label":s,width:"100%",height:"100%",display:"block","data-tgph-icon-svg":!0})})},h7e=e=>{let{color:t="gray",icon:n=f7e,animation:r="spin",alt:i="Loading...",...o}=e;return b.jsx(gk,{color:t,icon:n,animation:r,alt:i,role:"status","aria-live":"polite",...o})},g7e={buttonShadowColor:{cssVar:"--box-shadow",value:"inset 0 0 0 1px var(--tgph-VARIABLE)"},buttonTextColor:{cssVar:"--tgph-button-text-color",value:"var(--tgph-VARIABLE)"}},v7e={solid:{default:{backgroundColor:"gray-12",_hover:{backgroundColor:"gray-11",buttonTextColor:"gray-1"},_focus:{backgroundColor:"gray-10"},_active:{backgroundColor:"gray-10"}},accent:{backgroundColor:"accent-9",_hover:{backgroundColor:"accent-10",buttonTextColor:"white"},_focus:{backgroundColor:"accent-11"},_active:{backgroundColor:"accent-11"}},red:{backgroundColor:"red-9",_hover:{backgroundColor:"red-10",buttonTextColor:"white"},_focus:{backgroundColor:"red-11"},_active:{backgroundColor:"red-11"}},gray:{backgroundColor:"gray-9",_hover:{backgroundColor:"gray-10",buttonTextColor:"white"},_focus:{backgroundColor:"gray-11"},_active:{backgroundColor:"gray-11"}},green:{backgroundColor:"green-9",_hover:{backgroundColor:"green-10",buttonTextColor:"white"},_focus:{backgroundColor:"green-11"},_active:{backgroundColor:"green-11"}},blue:{backgroundColor:"blue-9",_hover:{backgroundColor:"blue-10",buttonTextColor:"white"},_focus:{backgroundColor:"blue-11"},_active:{backgroundColor:"blue-11"}},yellow:{backgroundColor:"yellow-9",_hover:{backgroundColor:"yellow-10",buttonTextColor:"black"},_focus:{backgroundColor:"yellow-11"},_active:{backgroundColor:"yellow-11"}},purple:{backgroundColor:"purple-9",_hover:{backgroundColor:"purple-10",buttonTextColor:"white"},_focus:{backgroundColor:"purple-11"},_active:{backgroundColor:"purple-11"}}},soft:{default:{backgroundColor:"gray-3",_hover:{backgroundColor:"gray-4",buttonTextColor:"gray-12"},_focus:{backgroundColor:"gray-5"},_active:{backgroundColor:"gray-5"}},gray:{backgroundColor:"gray-3",_hover:{backgroundColor:"gray-4",buttonTextColor:"gray-12"},_focus:{backgroundColor:"gray-5"},_active:{backgroundColor:"gray-5"}},red:{backgroundColor:"red-3",_hover:{backgroundColor:"red-4",buttonTextColor:"red-11"},_focus:{backgroundColor:"red-5"},_active:{backgroundColor:"red-5"}},accent:{backgroundColor:"accent-3",_hover:{backgroundColor:"accent-4",buttonTextColor:"accent-11"},_focus:{backgroundColor:"accent-5"},_active:{backgroundColor:"accent-5"}},green:{backgroundColor:"green-3",_hover:{backgroundColor:"green-4",buttonTextColor:"green-11"},_focus:{backgroundColor:"green-5"},_active:{backgroundColor:"green-5"}},blue:{backgroundColor:"blue-3",_hover:{backgroundColor:"blue-4",buttonTextColor:"blue-11"},_focus:{backgroundColor:"blue-5"},_active:{backgroundColor:"blue-5"}},yellow:{backgroundColor:"yellow-3",_hover:{backgroundColor:"yellow-4",buttonTextColor:"yellow-11"},_focus:{backgroundColor:"yellow-5"},_active:{backgroundColor:"yellow-5"}},purple:{backgroundColor:"purple-3",_hover:{backgroundColor:"purple-4",buttonTextColor:"purple-11"},_focus:{backgroundColor:"purple-5"},_active:{backgroundColor:"purple-5"}}},outline:{default:{backgroundColor:"surface-1",buttonShadowColor:"gray-6",_hover:{backgroundColor:"gray-2",buttonShadowColor:"gray-7",buttonTextColor:"gray-12"},_focus:{backgroundColor:"surface-3",buttonShadowColor:"gray-8"},_active:{backgroundColor:"gray-3",buttonShadowColor:"gray-8"}},gray:{backgroundColor:"surface-3",buttonShadowColor:"gray-6",_hover:{backgroundColor:"gray-2",buttonShadowColor:"gray-7",buttonTextColor:"gray-12"},_focus:{backgroundColor:"surface-3",buttonShadowColor:"gray-8"},_active:{backgroundColor:"gray-3",buttonShadowColor:"gray-8"}},red:{backgroundColor:"surface-3",buttonShadowColor:"red-6",_hover:{backgroundColor:"red-2",buttonShadowColor:"red-7",buttonTextColor:"red-11"},_focus:{backgroundColor:"surface-3",buttonShadowColor:"red-8"},_active:{backgroundColor:"red-3",buttonShadowColor:"red-8"}},accent:{backgroundColor:"surface-3",buttonShadowColor:"accent-6",_hover:{backgroundColor:"accent-2",buttonShadowColor:"accent-7",buttonTextColor:"accent-11"},_focus:{backgroundColor:"surface-3",buttonShadowColor:"accent-8"},_active:{backgroundColor:"accent-3",buttonShadowColor:"accent-8"}},green:{backgroundColor:"surface-3",buttonShadowColor:"green-6",_hover:{backgroundColor:"green-2",buttonShadowColor:"green-7",buttonTextColor:"green-11"},_focus:{backgroundColor:"surface-3",buttonShadowColor:"green-8"},_active:{backgroundColor:"green-3",buttonShadowColor:"green-8"}},blue:{backgroundColor:"surface-3",buttonShadowColor:"blue-6",_hover:{backgroundColor:"blue-2",buttonShadowColor:"blue-7",buttonTextColor:"blue-11"},_focus:{backgroundColor:"surface-3",buttonShadowColor:"blue-8"},_active:{backgroundColor:"blue-3",buttonShadowColor:"blue-8"}},yellow:{backgroundColor:"surface-3",buttonShadowColor:"yellow-6",_hover:{backgroundColor:"yellow-2",buttonShadowColor:"yellow-7",buttonTextColor:"yellow-11"},_focus:{backgroundColor:"surface-3",buttonShadowColor:"yellow-8"},_active:{backgroundColor:"yellow-3",buttonShadowColor:"yellow-8"}},purple:{backgroundColor:"surface-3",buttonShadowColor:"purple-6",_hover:{backgroundColor:"purple-2",buttonShadowColor:"purple-7",buttonTextColor:"purple-11"},_focus:{backgroundColor:"surface-3",buttonShadowColor:"purple-8"},_active:{backgroundColor:"purple-3",buttonShadowColor:"purple-8"}}},ghost:{default:{backgroundColor:"transparent",_hover:{backgroundColor:"gray-3",buttonTextColor:"gray-12"},_focus:{backgroundColor:"gray-4"},_active:{backgroundColor:"gray-4"}},gray:{backgroundColor:"transparent",_hover:{backgroundColor:"gray-3",buttonTextColor:"gray-12"},_focus:{backgroundColor:"gray-4"},_active:{backgroundColor:"gray-4"}},red:{backgroundColor:"transparent",_hover:{backgroundColor:"red-3",buttonTextColor:"red-11"},_focus:{backgroundColor:"red-4"},_active:{backgroundColor:"red-4"}},accent:{backgroundColor:"transparent",_hover:{backgroundColor:"accent-3",buttonTextColor:"accent-11"},_focus:{backgroundColor:"accent-4"},_active:{backgroundColor:"accent-4"}},green:{backgroundColor:"transparent",_hover:{backgroundColor:"green-3",buttonTextColor:"green-11"},_focus:{backgroundColor:"green-4"},_active:{backgroundColor:"green-4"}},blue:{backgroundColor:"transparent",_hover:{backgroundColor:"blue-3",buttonTextColor:"blue-11"},_focus:{backgroundColor:"blue-4"},_active:{backgroundColor:"blue-4"}},yellow:{backgroundColor:"transparent",_hover:{backgroundColor:"yellow-3",buttonTextColor:"yellow-11"},_focus:{backgroundColor:"yellow-4"},_active:{backgroundColor:"yellow-4"}}
1963,purple:{backgroundColor:"transparent",_hover:{backgroundColor:"purple-3",buttonTextColor:"purple-11"},_focus:{backgroundColor:"purple-4"},_active:{backgroundColor:"purple-4"}}}},y7e={default:{0:{w:"auto",h:"5",gap:"0_5",px:"1",rounded:"2"},1:{w:"auto",h:"6",gap:"1",px:"1_5",rounded:"2"},2:{w:"auto",h:"8",gap:"1_5",px:"2",rounded:"2"},3:{w:"auto",h:"10",gap:"2",px:"3",rounded:"3"}},"icon-only":{0:{w:"5",h:"5",gap:"0",px:"0",rounded:"2"},1:{w:"6",h:"6",gap:"0",px:"0",rounded:"2"},2:{w:"8",h:"8",gap:"0",px:"0",rounded:"2"},3:{w:"10",h:"10",gap:"0",px:"0",rounded:"3"}}},k7e={0:"0",1:"1",2:"2",3:"3"},b7e={solid:{default:"contrast",gray:"white",red:"white",accent:"white",green:"white",blue:"white",yellow:"black",purple:"white",disabled:"disabled"},soft:{default:"default",gray:"gray",red:"red",accent:"accent",green:"green",blue:"blue",yellow:"yellow",purple:"purple",disabled:"disabled"},outline:{default:"default",gray:"gray",red:"red",accent:"accent",green:"green",blue:"blue",yellow:"yellow",purple:"purple",disabled:"disabled"},ghost:{default:"default",gray:"gray",red:"red",accent:"accent",green:"green",blue:"blue",yellow:"yellow",purple:"purple",disabled:"disabled"}},OX={0:"0",1:"1",2:"2",3:"3"},PX={solid:{default:"contrast",gray:"white",red:"white",accent:"white",green:"white",blue:"white",yellow:"black",purple:"white",disabled:"disabled"},soft:{default:"default",accent:"accent",gray:"gray",red:"red",green:"green",blue:"blue",yellow:"yellow",purple:"purple",disabled:"disabled"},outline:{default:"default",accent:"accent",gray:"gray",red:"red",green:"green",blue:"blue",yellow:"yellow",purple:"purple",disabled:"disabled"},ghost:{default:"gray",accent:"accent",gray:"gray",red:"red",green:"green",blue:"blue",yellow:"yellow",purple:"purple",disabled:"disabled"}},_X={default:"secondary","icon-only":"primary"},iM=({as:e,disabled:t,nativeButton:n})=>t?!0:n===void 0?!e||bX({component:e}):n,S7e=(e,t)=>!!t||!e||e==="button",oM=Ye.createContext({variant:"solid",size:"2",color:"default",state:"default",layout:"default",active:!1}),E7e=e=>e.disabled?"disabled":e.state==="loading"?"loading":e.active?"active":e.state,DX=e=>{let{as:t,variant:n="solid",size:r="2",color:i="default",state:o="default",active:a=!1,type:s="button",disabled:l,onClick:u,className:c,children:f,style:p,...v}=e,g=E7e({state:o,disabled:l,active:a}),y=L9e({value:g,determinateValue:"loading",minDurationMs:1200}),{styleProp:k,otherProps:E}=XC({props:{...v7e[n][i],style:p},cssVars:g7e}),S=S7e(t,l)?"button":t,T=Ye.useMemo(()=>{let I=Ye.Children.toArray(f);return I?.length===1&&Ye.isValidElement(I[0])&&I[0]?.props?.icon?"icon-only":"default"},[f]);return b.jsx(oM.Provider,{value:{variant:n,size:r,color:i,state:y,layout:T,active:a},children:b.jsxs(fa,{as:S,className:mt("tgph-button",c),display:"inline-flex",align:"center",justify:"center",...y7e[T][r],style:k,"data-tgph-button":!0,"data-tgph-button-layout":T,"data-tgph-button-state":y,"data-tgph-button-variant":n,"data-tgph-button-color":i,disabled:y==="disabled"||y==="loading",...S==="button"&&{type:s},...E,...v,...typeof u=="function"&&{onClick:u},children:[y==="loading"&&b.jsx(h7e,{size:OX[r],color:PX[n][i],variant:_X[T],"data-tgph-button-loading-icon":!0}),f]})})},hL=e=>{let{size:t,color:n,variant:r,icon:i,alt:o,"aria-hidden":a,internal_iconType:s,...l}=e,u=Ye.useContext(oM),c={size:t??OX[u.size],color:n??PX[u.variant][u.state==="disabled"?"disabled":u.color],variant:r??_X[u.layout]},f=o?{alt:o}:{"aria-hidden":a};return u.state==="loading"&&s==="leading"?null:b.jsx(gk,{icon:i,"data-button-icon":!0,"data-button-icon-color":c.color,...f,...c,...l})},MX=e=>{let{as:t,color:n,size:r,weight:i="medium",style:o,...a}=e,s=Ye.useContext(oM),l=n??b7e[s.variant][s.state==="disabled"?"disabled":s.color];return b.jsx(Yu,{as:t||"span",color:l,size:r??k7e[s.size],weight:i,internal_optionalAs:!0,"data-button-text":!0,"data-button-text-color":l,style:{textDecoration:"none",whiteSpace:"nowrap",...o},...a})},FX=({leadingIcon:e,trailingIcon:t,icon:n,onClick:r,children:i,...o})=>{let a=e||n;return b.jsxs(DX,{...o,...typeof r=="function"&&{onClick:r},children:[a&&b.jsx(hL,{...a,internal_iconType:"leading"}),i&&b.jsx(MX,{children:i}),t&&b.jsx(hL,{...t,internal_iconType:"trailing"})]})};Object.assign(FX,{Root:DX,Icon:hL,Text:MX});var Oi=FX,aj=(e={},t)=>{let{as:n,disabled:r}=e;return iM({as:n,disabled:r,nativeButton:t})};nj({component:Oi,resolver:aj}
1963),nj({component:Oi.Root,resolver:aj});const sj={};function Oo(e,t){const n=m.useRef(sj);return n.current===sj&&(n.current=e(t)),n}const gL=[];let vL;function T7e(){return vL}function C7e(e){gL.push(e)}function UX(e){const t=(n,r)=>{const i=Oo(I7e).current;let o;try{vL=i;for(const a of gL)a.before(i);o=e(n,r);for(const a of gL)a.after(i);i.didInitialize=!0}finally{vL=void 0}return o};return t.displayName=e.displayName||e.name,t}function A7e(e){return m.forwardRef(UX(e))}function I7e(){return{didInitialize:!1}}function Cr(){}const ds=Object.freeze([]),vi=Object.freeze({}),w7e=()=>{},Vt=typeof document<"u"?m.useLayoutEffect:w7e;function N7e(e,t){return function(r,...i){const o=new URL(e);return o.searchParams.set("code",r.toString()),i.forEach(a=>o.searchParams.append("args[]",a)),`${t} error #${r}; visit ${o} for the full message.`}}const Ba=N7e("https://base-ui.com/production-error","Base UI"),VX=m.createContext(void 0);function eA(e){const t=m.useContext(VX);if(t===void 0&&!e)throw new Error(Ba(72));return t}function aM(e){m.useEffect(e,ds)}const ev=0;class Xs{static create(){return new Xs}currentId=ev;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=ev,n()},t)}isStarted(){return this.currentId!==ev}clear=()=>{this.currentId!==ev&&(clearTimeout(this.currentId),this.currentId=ev)};disposeEffect=()=>this.clear}function el(){const e=Oo(Xs.create).current;return aM(e.disposeEffect),e}function R7e(){return typeof navigator>"u"?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}const{userAgent:x7e,platform:L7e,maxTouchPoints:O7e}=R7e(),tA=x7e.toLowerCase(),Ty=L7e.toLowerCase(),nA=/^i(os$|p)/.test(Ty)||Ty==="macintel"&&O7e>1,lj="android",ZE=Ty===lj||tA.includes(lj),BX=!nA&&Ty.startsWith("mac");Ty.startsWith("win");const P7e=BX||nA,bd=typeof CSS<"u"&&!!CSS.supports?.("-webkit-backdrop-filter:none"),uj=!bd&&tA.includes("firefox");!bd&&tA.includes("chrom");const _7e=P7e,sM=/jsdom|happydom/.test(tA);function zi(e){e.preventDefault(),e.stopPropagation()}function D7e(e){return"nativeEvent"in e}function lM(e){return e.pointerType===""&&e.isTrusted?!0:ZE&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function uM(e){return sM?!1:!ZE&&e.width===0&&e.height===0||ZE&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function Kc(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function M7e(e){const t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}function rA(){return typeof window<"u"}function vo(e){return cM(e)?(e.nodeName||"").toLowerCase():"#document"}function ti(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ju(e){var t;return(t=(cM(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function cM(e){return rA()?e instanceof Node||e instanceof ti(e).Node:!1}function Un(e){return rA()?e instanceof Element||e instanceof ti(e).Element:!1}function Er(e){return rA()?e instanceof HTMLElement||e instanceof ti(e).HTMLElement:!1}function kh(e){return!rA()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ti(e).ShadowRoot}function vk(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=pa(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!=="inline"&&i!=="contents"}function F7e(e){return/^(table|td|th)$/.test(vo(e))}function iA(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const U7e=/transform|translate|scale|rotate|perspective|filter/,V7e=/paint|layout|strict|content/,Gd=e=>!!e&&e!=="none";let kR;function dM(e){const t=Un(e)?pa(e):e;return Gd(t.transform)||Gd(t.translate)||Gd(t.scale)||Gd(t.rotate)||Gd(t.perspective)||!fM()&&(Gd(t.backdropFilter)||Gd(t.filter))||U7e.test(t.willChange||"")||V7e.test(t.contain||"")}function B7e(e){let t=sd(e);for(;Er(t)&&!Yc(t);){if(dM(t))return t;if(iA(t))return null;t=sd(t)}return null}function fM(){return kR==null&&(kR=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),kR}function Yc(e){return/^(html|body|#document)$/.test(vo(e))}function pa(e){return ti(e).getComputedStyle(e)}function oA(e){return Un(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function sd(e){if(vo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kh(e)&&e.host||Ju(e);return kh(t)?t.host:t}function jX(e){const t=sd(e);return Yc(t)?(e.ownerDocument||e).body:Er(t)&&vk(t)?t:jX(t)}function bh(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=jX(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=ti(i);if(o){const s=yL(a);
1963return t.concat(a,a.visualViewport||[],vk(i)?i:[],s&&n?bh(s):[])}else return t.concat(i,bh(i,[],n))}function yL(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ea(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Zt(e,t){if(!e||!t)return!1;const n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&kh(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Pi(e){return"composedPath"in e?e.composedPath()[0]??e.target:e.target}const kL="data-base-ui-focusable",zX="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",Rf="ArrowLeft",xf="ArrowRight",pM="ArrowUp",aA="ArrowDown",HX="data-starting-style",j7e="data-ending-style",z7e={[HX]:""},H7e={[j7e]:""},WX={transitionStatus(e){return e==="starting"?z7e:e==="ending"?H7e:null}},W7e="data-open",q7e="data-closed",G7e="data-anchor-hidden",qX="data-popup-open",K7e="data-pressed",Y7e={[qX]:""},$7e={[qX]:"",[K7e]:""},J7e={[W7e]:""},Z7e={[q7e]:""},Q7e={[G7e]:""},X7e={open(e){return e?Y7e:null}},eze={open(e){return e?$7e:null}},mM={open(e){return e?J7e:Z7e},anchorHidden(e){return e?Q7e:null}},tze={...mM,...WX},bL="data-trigger-disabled";function QE(e,t){if(!Un(e))return!1;const n=e;if(t.hasElement(n))return!n.hasAttribute(bL);for(const[,r]of t.entries())if(Zt(r,n))return!r.hasAttribute(bL);return!1}function bR(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function nze(e){return e.matches("html,body")}function sA(e){return Er(e)&&e.matches(zX)}function rze(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${zX}`)!=null}function SL(e){return e?e.getAttribute("role")==="combobox"&&sA(e):!1}function ize(e){if(!e||sM)return!0;try{return e.matches(":focus-visible")}catch{return!0}}function EL(e){return e?e.hasAttribute(kL)?e:e.querySelector(`[${kL}]`)||e:null}function oze(e,t){return t!=null&&!Kc(t)?0:typeof e=="function"?e():e}function Zf(e,t,n){const r=oze(e,n);return typeof r=="number"?r:r?.[t]}function cj(e){return typeof e=="function"?e():e}function GX(e,t){return t||e==="click"||e==="mousedown"}function aze(e){return e?.includes("mouse")&&e!=="mousedown"}const Vo="none",yk="trigger-press",ra="trigger-hover",LS="trigger-focus",hM="outside-press",dj="item-press",sze="close-press",Kv="input-change",El="input-clear",lze="input-press",lA="focus-out",kk="escape-key",TL="list-navigation",KX="keyboard",gM="pointer",uze="cancel-open",cze="disabled",dze="imperative-action";function gn(e,t,n,r){let i=!1,o=!1;const a=r??vi;return{reason:e,event:t??new Event("base-ui"),cancel(){i=!0},allowPropagation(){o=!0},get isCanceled(){return i},get isPropagationAllowed(){return o},trigger:n,...a}}function fze(e,t,n){const r=n??vi;return{reason:e,event:t??new Event("base-ui"),...r}}const YX=m.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new Xs,currentIdRef:{current:null},currentContextRef:{current:null}});function pze(e,t){e.current=t.current}function mze(e){const{children:t,delay:n,timeoutMs:r=0}=e,i=m.useRef(n),o=m.useRef(n),a=m.useRef(null),s=m.useRef(null),l=el();return Vt(()=>{if(o.current=n,!a.current){i.current=n;return}i.current={open:Zf(i.current,"open"),close:Zf(n,"close")}},[n,a,i,o]),b.jsx(YX.Provider,{value:m.useMemo(()=>({hasProvider:!0,delayRef:i,initialDelayRef:o,currentIdRef:a,timeoutMs:r,currentContextRef:s,timeout:l}),[r,l]),children:t})}function hze(e,t={open:!1}){const{open:n}=t,r="rootStore"in e?e.rootStore:e,i=r.useState("floatingId"),o=m.useContext(YX),{currentIdRef:a,delayRef:s,timeoutMs:l,initialDelayRef:u,currentContextRef:c,hasProvider:f,timeout:p}=o,[v,g]=m.useState(!1),y=m.useRef(n);return Vt(()=>{y.current=n},[n]),Vt(()=>{function k(){c.current?.setIsInstantPhase(!1),a.current=null,c.current=null,s.current=u.current,p.clear()}if(a.current&&!n&&a.current===i){if(g(!1),l){const E=i;return p.start(l,()=>{r.select("open")||a.current&&a.current!==E||k()}),()=>{(y.current||a.current!==E)&&p.clear()}}k()}},[n,i,a,s,l,u,c,p,r]),Vt(()=>{if(!n)return;const k=c.current,E=a.current;p.clear(),c.current={onOpenChange:r.setOpen,setIsInstantPhase:g},a.current=i,s.current={open:0,close:Zf(u.current,"close")},E!==null&&E!==i?(g(!0),k?.setIsInstantPhase(!0),k?.onOpenChange(!1,gn(Vo))):(g(!1),k?.setIsInstantPhase(!1))},[n,i,r,a,s,u,c,p]),Vt(()=>()=>{if(a.current===i){if(c.current=null,!y.current)return;a.current=null,pze(s,u),p.clear()}},[c,a,s,i,u,p]),m.useMemo(()=>({activeIdRef:a,hasProvider:f,delayRef:s,isInstantPhase:v}),[a,f,s,v])}function _n(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Vl(...e){return()=>{for(let t=0;t<e.length;t+=1){const n=e[t];n&&n()}}}function ld(e,t,n,r){const i=Oo($X).current;return vze(i,e,t,n,r)&&JX(i,[e,t,n,r]),i.callback}function gze(e){const t=Oo($X).current;return yze(t,e)&&JX(t,e),t.callback}function $X(){return{callback:null,cleanup:null,refs:[]}}
1963function vze(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function yze(e,t){return e.refs.length!==t.length||e.refs.some((n,r)=>n!==t[r])}function JX(e,t){if(e.refs=t,t.every(n=>n==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),n!=null){const r=Array(t.length).fill(null);for(let i=0;i<t.length;i+=1){const o=t[i];if(o!=null)switch(typeof o){case"function":{const a=o(n);typeof a=="function"&&(r[i]=a);break}case"object":{o.current=n;break}}}e.cleanup=()=>{for(let i=0;i<t.length;i+=1){const o=t[i];if(o!=null)switch(typeof o){case"function":{const a=r[i];typeof a=="function"?a():o(null);break}case"object":{o.current=null;break}}}}}}}function Si(e){const t=Oo(kze,e).current;return t.next=e,Vt(t.effect),t}function kze(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}const vM={...Ks},SR=vM.useInsertionEffect,bze=SR&&SR!==vM.useLayoutEffect?SR:e=>e();function _t(e){const t=Oo(Sze).current;return t.next=e,bze(t.effect),t.trampoline}function Sze(){const e={next:void 0,callback:Eze,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function Eze(){}const I0=null;class Tze{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;const n=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let i=0;i<n.length;i+=1)n[i]?.(t)};request(t){const n=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),n}cancel(t){const n=t-this.startId;n<0||n>=this.callbacks.length||this.callbacks[n]!==null&&(this.callbacks[n]=null,this.callbacksCount-=1)}}let w0=new Tze;class Rl{static create(){return new Rl}static request(t){return w0.request(t)}static cancel(t){return w0.cancel(t)}currentId=I0;request(t){this.cancel(),this.currentId=w0.request(()=>{this.currentId=I0,t()})}cancel=()=>{this.currentId!==I0&&(w0.cancel(this.currentId),this.currentId=I0)};disposeEffect=()=>this.cancel}function Cy(){const e=Oo(Rl.create).current;return aM(e.disposeEffect),e}function hr(e){return e?.ownerDocument||document}const ZX={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},QX={...ZX,position:"fixed",top:0,left:0},XX={...ZX,position:"absolute"},XE=m.forwardRef(function(t,n){const[r,i]=m.useState();Vt(()=>{_7e&&bd&&i("button")},[]);const o={tabIndex:0,role:r};return b.jsx("span",{...t,ref:n,style:QX,"aria-hidden":r?void 0:!0,...o,"data-base-ui-focus-guard":""})}),Sh=Math.min,Ru=Math.max,eT=Math.round,yf=Math.floor,xu=e=>({x:e,y:e}),Cze={left:"right",right:"left",bottom:"top",top:"bottom"};function eee(e,t,n){return Ru(e,Sh(t,n))}function ud(e,t){return typeof e=="function"?e(t):e}function ks(e){return e.split("-")[0]}function Bu(e){return e.split("-")[1]}function yM(e){return e==="x"?"y":"x"}function kM(e){return e==="y"?"height":"width"}function fs(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function bM(e){return yM(fs(e))}function Aze(e,t,n){n===void 0&&(n=!1);const r=Bu(e),i=bM(e),o=kM(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=tT(a)),[a,tT(a)]}function Ize(e){const t=tT(e);return[CL(e),t,CL(t)]}function CL(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const fj=["left","right"],pj=["right","left"],wze=["top","bottom"],Nze=["bottom","top"];function Rze(e,t,n){switch(e){case"top":case"bottom":return n?t?pj:fj:t?fj:pj;case"left":case"right":return t?wze:Nze;default:return[]}}function xze(e,t,n,r){const i=Bu(e);let o=Rze(ks(e),n==="start",r);return i&&(o=o.map(a=>a+"-"+i),t&&(o=o.concat(o.map(CL)))),o}function tT(e){const t=ks(e);return Cze[t]+e.slice(t.length)}function Lze(e){var t,n,r,i;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(r=e.bottom)!=null?r:0,left:(i=e.left)!=null?i:0}}function tee(e){return typeof e!="number"?Lze(e):{top:e,right:e,bottom:e,left:e}}function nT(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 N0(e,t,n){return Math.floor(e/t)!==n}function $c(e,t){return t<0||t>=e.length}function OS(e,t){return to(e.current,{disabledIndices:t})}function AL(e,t){return to(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function to(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let o=t;do o+=n?-i:i;while(o>=0&&o<=e.length-1&&Jc(e,o,r));return o}function Oze(e,{event:t,orientation:n,loopFocus:r,onLoop:i,rtl:o,cols:a,disabledIndices:s,minIndex:l,maxIndex:u,prevIndex:c,stopEvent:f=!1}){let p=c,v;if(t.key===pM?v="up":t.key===aA&&(v="down"),v){const g=[],y=[];let k=!1,E=0;{let D=null,M=-1;e.forEach((F,L)=>{if(F==null)return;E+=1;const P=F.closest('[role="row"]');P&&(k=!0),(P!==D||M===-1)&&(D=P,M+=1,g[M]=[]),g[M].push(L),y[L]=M})}let S=!1,T=0;if(k)for(const D of g){const M=D.length;M>T&&(T=M),M!==a&&(S=!0)}const I=S&&E<e.length,A=T||a,w=D=>{if(!S||c===-1)return;const M=y[c];if(M==null)return;const F=g[M].indexOf(c),L=D==="up"?-1:1;for(let P=M+L,j=0;j<g.length;j+=1,P+=L){if(P<0||P>=g.length){if(!r||I)return;if(P=P<0?g.length-1:0,i){const H=Math.min(F,g[P].length-1),G=g[P][H]??g[P][0],O=i(t,c,G);P=y[O]??P}}const B=g[P];for(let H=Math.min(F,B.length-1);H>=0;H-=1){const G=B[H];if(!Jc(e,G,s))return G}}},R=D=>
1963{if(!I||c===-1)return;const M=c%A,F=D==="up"?-A:A,L=u-u%A,P=yf(u/A)+1;for(let j=c-M+F,B=0;B<P;B+=1,j+=F){if(j<0||j>u){if(!r)return;j=j<0?L:0}const H=Math.min(j+A-1,u);for(let G=Math.min(j+M,H);G>=j;G-=1)if(!Jc(e,G,s))return G}};f&&zi(t);const x=w(v)??R(v);if(x!==void 0)p=x;else if(c===-1)p=v==="up"?u:l;else if(p=to(e,{startingIndex:c,amount:A,decrement:v==="up",disabledIndices:s}),r){if(v==="up"&&(c-A<l||p<0)){const D=c%A,M=u%A,F=u-(M-D);M===D?p=u:p=M>D?F:F-A,i&&(p=i(t,c,p))}v==="down"&&c+A>u&&(p=to(e,{startingIndex:c%A-A,amount:A,disabledIndices:s}),i&&(p=i(t,c,p)))}$c(e,p)&&(p=c)}if(n==="both"){const g=yf(c/a);t.key===(o?Rf:xf)&&(f&&zi(t),c%a!==a-1?(p=to(e,{startingIndex:c,disabledIndices:s}),r&&N0(p,a,g)&&(p=to(e,{startingIndex:c-c%a-1,disabledIndices:s}),i&&(p=i(t,c,p)))):r&&(p=to(e,{startingIndex:c-c%a-1,disabledIndices:s}),i&&(p=i(t,c,p))),N0(p,a,g)&&(p=c)),t.key===(o?xf:Rf)&&(f&&zi(t),c%a!==0?(p=to(e,{startingIndex:c,decrement:!0,disabledIndices:s}),r&&N0(p,a,g)&&(p=to(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:s}),i&&(p=i(t,c,p)))):r&&(p=to(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:s}),i&&(p=i(t,c,p))),N0(p,a,g)&&(p=c));const y=yf(u/a)===g;$c(e,p)&&(r&&y?(p=t.key===(o?xf:Rf)?u:to(e,{startingIndex:c-c%a-1,disabledIndices:s}),i&&(p=i(t,c,p))):p=c)}return p}function Jc(e,t,n){if(typeof n=="function"?n(t):n?.includes(t)??!1)return!0;const i=e[t];return i?!uA(i)||i.matches(":disabled")?!0:!n&&(i.hasAttribute("disabled")||i.getAttribute("aria-disabled")==="true"):!1}function Pze(e){return e.visibility==="hidden"||e.visibility==="collapse"}function uA(e,t=e?pa(e):null){return!e||!e.isConnected||!t||Pze(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}const _ze='a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';function Dze(e){const t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;const n=e.getRootNode();return kh(n)?n.host:null}function IL(e){for(const t of Array.from(e.children))if(vo(t)==="summary")return t;return null}function Mze(e,t){const n=IL(t);return!!n&&(e===n||Zt(n,e))}function nee(e){const t=e?vo(e):"";return e!=null&&e.matches(_ze)&&(t!=="summary"||e.parentElement!=null&&vo(e.parentElement)==="details"&&IL(e.parentElement)===e)&&(t!=="details"||IL(e)==null)&&(t!=="input"||e.type!=="hidden")}function ree(e){if(!nee(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=Dze(t)){const n=t!==e,r=vo(t)==="slot";if(t.hasAttribute("inert")||n&&vo(t)==="details"&&!t.open&&!Mze(e,t)||t.hasAttribute("hidden")||!r&&!Fze(t,n))return!1}return!0}function Fze(e,t){const n=pa(e);return t?n.display!=="none":uA(e,n)}function iee(e){const t=e.tabIndex;if(t<0){const n=vo(e);if(n==="details"||n==="audio"||n==="video"||Er(e)&&e.isContentEditable)return 0}return t}function ER(e){if(vo(e)!=="input")return null;const t=e;return t.type==="radio"&&t.name!==""?t:null}function Uze(e,t){const n=ER(e);if(!n)return!0;const r=t.find(i=>{const o=ER(i);return o?.name===n.name&&o.form===n.form&&o.checked});return r?r===n:t.find(i=>{const o=ER(i);return o?.name===n.name&&o.form===n.form})===n}function oee(e){if(Er(e)&&vo(e)==="slot"){const t=e.assignedElements({flatten:!0});if(t.length>0)return t}return Er(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function aee(e,t){oee(e).forEach(n=>{nee(n)&&t.push(n),aee(n,t)})}function see(e,t,n){oee(e).forEach(r=>{Er(r)&&r.matches(t)&&n.push(r),see(r,t,n)})}function SM(e){return ree(e)&&iee(e)>=0}function lee(e){const t=[];return aee(e,t),t.filter(ree)}function cA(e){const t=lee(e);return t.filter(n=>iee(n)>=0&&Uze(n,t))}function uee(e,t){const n=cA(e),r=n.length;if(r===0)return;const i=ea(hr(e)),o=n.indexOf(i),a=o===-1?t===1?0:r-1:o+t;return n[a]}function cee(e){return uee(hr(e).body,1)||e}function dee(e){return uee(hr(e).body,-1)||e}function Yv(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!Zt(n,r)}function Vze(e){cA(e).forEach(n=>
1963{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function mj(e){const t=[];see(e,"[data-tabindex]",t),t.forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}function cd(e,t,n=!0){return e.filter(i=>i.parentId===t).flatMap(i=>[...!n||i.context?.open?[i]:[],...cd(e,i.id,n)])}function hj(e,t){let n=[],r=e.find(i=>i.id===t)?.parentId;for(;r;){const i=e.find(o=>o.id===r);r=i?.parentId,i&&(n=n.concat(i))}return n}function Ay(e){return`data-base-ui-${e}`}let R0=0;function PS(e,t={}){const{preventScroll:n=!1,sync:r=!1,shouldFocus:i}=t;cancelAnimationFrame(R0);function o(){i&&!i()||e?.focus({preventScroll:n})}if(r)return o(),Cr;const a=requestAnimationFrame(o);return R0=a,()=>{R0===a&&(cancelAnimationFrame(a),R0=0)}}const TR={inert:new WeakMap,"aria-hidden":new WeakMap},gj="data-base-ui-inert",wL={inert:new WeakSet,"aria-hidden":new WeakSet};let tv=new WeakMap,CR=0;function Bze(e){return wL[e]}function fee(e){return e?kh(e)?e.host:fee(e.parentNode):null}const vj=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=fee(n);return e.contains(r)?r:null}).filter(n=>n!=null),yj=e=>{const t=new Set;return e.forEach(n=>{let r=n;for(;r&&!t.has(r);)t.add(r),r=r.parentNode}),t},kj=(e,t,n)=>{const r=[],i=o=>{!o||n.has(o)||Array.from(o.children).forEach(a=>{vo(a)!=="script"&&(t.has(a)?i(a):r.push(a))})};return i(e),r};function jze(e,t,n,r,{mark:i=!0}){let o=null;r?o="inert":n&&(o="aria-hidden");let a=null,s=null;const l=vj(t,e),u=i?kj(t,yj(l),new Set(l)):[],c=[],f=[];if(o){const p=TR[o],v=Bze(o);s=v,a=p;const g=vj(t,Array.from(t.querySelectorAll("[aria-live]"))),y=l.concat(g);kj(t,yj(y),new Set(y)).forEach(E=>{const S=E.getAttribute(o),T=S!==null&&S!=="false",I=(p.get(E)||0)+1;p.set(E,I),c.push(E),I===1&&T&&v.add(E),T||E.setAttribute(o,o==="inert"?"":"true")})}return i&&u.forEach(p=>{const v=(tv.get(p)||0)+1;tv.set(p,v),f.push(p),v===1&&p.setAttribute(gj,"")}),CR+=1,()=>{a&&c.forEach(p=>{const g=(a.get(p)||0)-1;a.set(p,g),g||(!s?.has(p)&&o&&p.removeAttribute(o),s?.delete(p))}),i&&f.forEach(p=>{const v=(tv.get(p)||0)-1;tv.set(p,v),v||p.removeAttribute(gj)}),CR-=1,CR||(TR.inert=new WeakMap,TR["aria-hidden"]=new WeakMap,wL.inert=new WeakSet,wL["aria-hidden"]=new WeakSet,tv=new WeakMap)}}function bj(e,t={}){const{ariaHidden:n=!1,inert:r=!1,mark:i=!0}=t,o=hr(e[0]).body;return jze(e,o,n,r,{mark:i})}let Sj=0;function zze(e,t="mui"){const[n,r]=m.useState(e),i=e||n;return m.useEffect(()=>{n==null&&(Sj+=1,r(`${t}-${Sj}`))},[n,t]),i}const Ej=vM.useId;function dA(e,t){if(Ej!==void 0){const n=Ej();return e??(t?`${t}-${n}`:n)}return zze(e,t)}const Hze=parseInt(m.version,10);function EM(e){return Hze>=e}function Tj(e){if(!m.isValidElement(e))return null;const t=e,n=t.props;return(EM(19)?n?.ref:t.ref)??null}function Wze(e,t){const n={};for(const r in e){const i=e[r];if(t?.hasOwnProperty(r)){const o=t[r](i);o!=null&&Object.assign(n,o);continue}i===!0?n[`data-${r.toLowerCase()}`]="":i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function qze(e,t){return typeof e=="function"?e(t):e}function Gze(e,t){return typeof e=="function"?e(t):e}function ja(e,t,n={}){let r=t.render;n.enabled!==!1&&(r=Jze(r));const i=Kze(t,n,r);if(n.enabled===!1)return null;const o=n.state??vi;return Zze(e,r,i,o)}function Kze(e,t,n){const{className:r,style:i}=e,{state:o=vi,ref:a,props:s,stateAttributesMapping:l,enabled:u=!0}=t,c=u?qze(r,o):void 0,f=u?Gze(i,o):void 0,p=u?Wze(o,l):vi,v=u&&s?Yze(s):void 0,g=u?dL(p,v)??{}:vi;return typeof document<"u"&&(u?Array.isArray(a)?g.ref=gze([g.ref,Tj(n),...a]):g.ref=ld(g.ref,Tj(n),a):ld(null,null)),u?(c!==void 0&&(g.className=hX(g.className,c)),f!==void 0&&(g.style=dL(g.style,f)),g):vi}function Yze(e){return Array.isArray(e)?v9e(e):qc(void 0,e)}const $ze=Symbol.for("react.lazy");function Jze(e){if(e?.$$typeof!==$ze)return e;const t=m.Children.toArray(e)[0];return m.isValidElement(t)?t:e}function Zze(e,t,n,r){if(t){if(typeof t=="function")return t(n,r);const i=qc(n,t.props);return i.ref=n.ref,m.cloneElement(t,i)}if(e&&typeof e=="string")return Qze(e,n);throw new Error(Ba(8))}function Qze(e,t){return e==="button"?m.createElement("button",{type:"button",...t,key:t.key}):e==="img"?m.createElement("img",{alt:"",...t,key:t.key}):m.createElement(e,t)}const Xze={style:{transition:"none"}},eHe="data-base-ui-click-trigger",tHe={fallbackAxisSide:"none"},nHe={fallbackAxisSide:"end"},rHe={clipPath:"inset(50%)",position:"fixed",top:0,left:0},pee=m.createContext(null),mee=()=>m.useContext(pee),iHe=Ay("portal");function hee(e={}){const{ref:t,container:n,componentProps:r=vi,elementProps:i}=e,o=dA(),s=mee()?.portalNode,[l,u]=m.useState(null),[c,f]=m.useState(null),p=_t(k=>{k!==null&&f(k)}),v=m.useRef(null);Vt(()=>{if(n===null){v.current&&(v.current=null,f(null),u(null));return}const k=(n&&(cM(n)?n:n.current))??s??document.body;if(k==null){v.current&&(v.current=null,f(null),u(null));return}v.current!==k&&(v.current=k,f(null),u(k))},[n,s]);const g=ja("div",r,{ref:[t,p],props:[{id:o,[iHe]:""},i]}),y=l&&g?qo.createPortal(g,l):null;return{node:c,nodeId:m.isValidElement(g)?g.props.id:void 0,subtree:y}}const oHe=m.forwardRef(function(t,n){const{render:r,className:i,style:o,children:a,container:s,portalOwnerRole:l,...u}=t,{node:c,nodeId:f,subtree:p}=hee({container:s,ref:n,componentProps:t,elementProps:u}),v=m.useRef(null),g=m.useRef(null),y=m.useRef(null),k=m.useRef(null),[E,S]=m.useState(null),T=m.useRef(!1),I=E?.modal,A=E?.open,w=!!E&&!E.modal&&E.open&&!!c;m.useEffect(()=>{if(!c||I)return;function x(D){c&&D.relatedTarget&&Yv(D)&&(D.type==="focusin"?T.current&&(mj(c),T.current=!1):(Vze(c),T.current=!0))}
1963return Vl(_n(c,"focusin",x,!0),_n(c,"focusout",x,!0))},[c,I]),Vt(()=>{!c||A!==!0||!T.current||(mj(c),T.current=!1)},[A,c]);const R=m.useMemo(()=>({beforeOutsideRef:v,afterOutsideRef:g,beforeInsideRef:y,afterInsideRef:k,portalNode:c,setFocusManagerState:S}),[c]);return b.jsxs(m.Fragment,{children:[p,b.jsxs(pee.Provider,{value:R,children:[w&&c&&b.jsx(XE,{"data-type":"outside",ref:v,onFocus:x=>{if(Yv(x,c))y.current?.focus();else{const D=E?E.domReference:null;dee(D)?.focus()}}}),w&&c&&b.jsx("span",{role:l,"aria-owns":f,style:rHe}),c&&qo.createPortal(a,c),w&&c&&b.jsx(XE,{"data-type":"outside",ref:g,onFocus:x=>{if(Yv(x,c))k.current?.focus();else{const D=E?E.domReference:null;cee(D)?.focus(),E?.closeOnFocusOut&&E?.onOpenChange(!1,gn(lA,x.nativeEvent))}}})]})]})});function aHe(){const e=new Map;return{emit(t,n){e.get(t)?.forEach(r=>r(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}const sHe=m.createContext(null),lHe=m.createContext(null),fA=()=>m.useContext(sHe)?.id||null,jh=e=>{const t=m.useContext(lHe);return e??t};function bu(e){return e==null?e:"current"in e?e.current:e}function uHe(e,t){const n=ti(Pi(e));return e instanceof n.KeyboardEvent?"keyboard":e instanceof n.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof n.MouseEvent?t||(e.detail===0?"keyboard":"mouse"):""}const Cj=20;let Uc=[];function TM(){Uc=Uc.filter(e=>e.deref()?.isConnected)}function Aj(e){TM(),e&&vo(e)!=="body"&&(Uc.push(new WeakRef(e)),Uc.length>Cj&&(Uc=Uc.slice(-Cj)))}function Ij(){return TM(),Uc[Uc.length-1]?.deref()}function cHe(e){return e?SM(e)?e:cA(e)[0]||e:null}function wj(e){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!e.getAttribute("role")?.includes("dialog"))return;const n=lee(e).filter(i=>{const o=i.getAttribute("data-tabindex")||"";return SM(i)||i.hasAttribute("data-tabindex")&&!o.startsWith("-")}),r=e.getAttribute("tabindex");n.length===0?r!=="0"&&(e.setAttribute("tabindex","0"),e.setAttribute("data-tabindex","0")):(r!=="-1"||e.hasAttribute("data-tabindex")&&e.getAttribute("data-tabindex")!=="-1")&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function dHe(e){const{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:o=!0,restoreFocus:a=!1,modal:s=!0,closeOnFocusOut:l=!0,openInteractionType:u="",nextFocusableElement:c,previousFocusableElement:f,beforeContentFocusGuardRef:p,externalTree:v,getInsideElements:g}=e,y="rootStore"in t?t.rootStore:t,k=y.useState("open"),E=y.useState("domReferenceElement"),S=y.useState("floatingElement"),{events:T,dataRef:I}=y.context,A=_t(()=>I.current.floatingContext?.nodeId),w=i===!1,R=SL(E)&&w,x=Si(i),D=Si(o),M=Si(u),F=Si(k),L=jh(v),P=mee(),j=m.useRef(!1),B=m.useRef(!1),H=m.useRef(!1),G=m.useRef(null),O=m.useRef(""),V=m.useRef(""),W=m.useRef(null),U=m.useRef(null),q=ld(W,p,P?.beforeInsideRef),$=ld(U,P?.afterInsideRef),J=el(),Z=el(),Y=Cy(),ee=P!=null,te=EL(S),ce=_t((ae=te)=>ae?cA(ae):[]),ne=_t(()=>g?.().filter(ae=>ae!=null)??[]);m.useEffect(()=>{if(r||!s)return;function ae(ve){ve.key==="Tab"&&Zt(te,ea(hr(te)))&&ce().length===0&&!R&&zi(ve)}const pe=hr(te);return _n(pe,"keydown",ae)},[r,te,s,R,ce]),m.useEffect(()=>{if(r||!k)return;const ae=hr(te);function pe(){H.current=!1}function ve(De){const Ee=Pi(De),ye=ne(),Pe=Zt(S,Ee)||Zt(E,Ee)||Zt(P?.portalNode,Ee)||ye.some(Me=>Me===Ee||Zt(Me,Ee));H.current=!Pe,V.current=De.pointerType||"keyboard",Ee?.closest(`[${eHe}]`)&&(B.current=!0,Z.start(0,()=>{B.current=!1}))}function Se(){V.current="keyboard"}return Vl(_n(ae,"pointerdown",ve,!0),_n(ae,"pointerup",pe,!0),_n(ae,"pointercancel",pe,!0),_n(ae,"keydown",Se,!0),pe)},[r,S,E,te,k,P,Z,ne]),m.useEffect(()=>{if(r||!l)return;const ae=hr(te);function pe(){B.current=!0,Z.start(0,()=>{B.current=!1})}function ve(ye){const Pe=Pi(ye);SM(Pe)&&(G.current=Pe)}function Se(ye){const Pe=ye.relatedTarget,Me=ye.currentTarget,Qe=Pi(ye);s&&Pe==null&&Qe!=null&&Zt(S,Qe)&&Aj(Qe),queueMicrotask(()=>{const Fe=A(),Ve=y.context.triggerElements,be=ne(),Ae=Pe?.hasAttribute(Ay("focus-guard"))&&[W.current,U.current,P?.beforeInsideRef.current,P?.afterInsideRef.current,P?.beforeOutsideRef.current,P?.afterOutsideRef.current,bu(f),bu(c)].includes(Pe),ke=!(Zt(E,Pe)||Zt(S,Pe)||Zt(Pe,S)||Zt(P?.portalNode,Pe)||be.some(ue=>ue===Pe||Zt(ue,Pe))||Ve.hasMatchingElement(ue=>
1963Zt(ue,Pe))||Ae||L&&(cd(L.nodesRef.current,Fe).find(ue=>Zt(ue.context?.elements.floating,Pe)||Zt(ue.context?.elements.domReference,Pe))||hj(L.nodesRef.current,Fe).find(ue=>[ue.context?.elements.floating,EL(ue.context?.elements.floating)].includes(Pe)||ue.context?.elements.domReference===Pe)));if(Me===E&&te&&wj(te),a&&Me!==E&&!uA(Qe)&&ea(ae)===ae.body){if(Er(te)&&(te.focus(),a==="popup")){Y.request(()=>{te.focus()});return}const ue=ce(),ze=G.current,et=(ze&&ue.includes(ze)?ze:null)||ue[ue.length-1]||te;Er(et)&&et.focus()}if(I.current.insideReactTree){I.current.insideReactTree=!1;return}(R||!s)&&Pe&&ke&&!B.current&&(R||Pe!==Ij())&&(j.current=!0,y.setOpen(!1,gn(lA,ye)))})}function De(){H.current||(I.current.insideReactTree=!0,J.start(0,()=>{I.current.insideReactTree=!1}))}const Ee=Er(E)?E:null;if(!(!S&&!Ee))return Vl(Ee&&_n(Ee,"focusout",Se),Ee&&_n(Ee,"pointerdown",pe),S&&_n(S,"focusin",ve),S&&_n(S,"focusout",Se),S&&P&&_n(S,"focusout",De,!0))},[r,E,S,te,s,L,P,y,l,a,ce,R,A,I,J,Z,Y,c,f,ne]),m.useEffect(()=>{if(r||!S||!k)return;const ae=Array.from(P?.portalNode?.querySelectorAll(`[${Ay("portal")}]`)||[]),ve=(L?hj(L.nodesRef.current,A()):[]).find(Me=>SL(Me.context?.elements.domReference||null))?.context?.elements.domReference,De=[...[S,...ae,W.current,U.current,P?.beforeOutsideRef.current,P?.afterOutsideRef.current,...ne()],ve,bu(f),bu(c),R?E:null].filter(Me=>Me!=null),Ee=bj(De,{ariaHidden:s||R,mark:!1}),ye=[S,...ae].filter(Me=>Me!=null),Pe=bj(ye);return()=>{Pe(),Ee()}},[k,r,E,S,s,P,R,L,A,c,f,ne]),Vt(()=>{if(!k||r||!Er(te))return;O.current="",V.current="";const ae=hr(te),pe=ea(ae);queueMicrotask(()=>{const ve=x.current,Se=typeof ve=="function"?ve(M.current||""):ve;if(Se===void 0||Se===!1||Zt(te,pe))return;let Ee=null;const ye=()=>(Ee==null&&(Ee=ce(te)),Ee[0]||te);let Pe;Se===!0||Se===null?Pe=ye():Pe=bu(Se),Pe=Pe||ye();const Me=Zt(te,ea(ae));PS(Pe,{preventScroll:Pe===te,shouldFocus(){if(!F.current)return!1;if(Me)return!0;const Qe=ea(ae);return!(Qe!==Pe&&Zt(te,Qe))}})})},[r,k,te,ce,x,M,F]),Vt(()=>{if(r||!te)return;const ae=hr(te),pe=ea(ae),ve=M.current==null;Aj(pe);function Se(Ee){if(Ee.open||(O.current=uHe(Ee.nativeEvent,V.current)),Ee.reason===ra&&Ee.nativeEvent.type==="mouseleave"&&(j.current=!0),Ee.reason===hM)if(Ee.nested)j.current=!1;else if(lM(Ee.nativeEvent)||uM(Ee.nativeEvent))j.current=!1;else{let ye=!1;hr(te).createElement("div").focus({get preventScroll(){return ye=!0,!1}}),ye?j.current=!1:j.current=!0}}T.on("openchange",Se);function De(Ee){const ye=D.current;let Pe=typeof ye=="function"?ye(Ee):ye;if(Pe===void 0||Pe===!1)return null;Pe===null&&(Pe=!0);const Me=E?.isConnected?E:null,Qe=pe?.isConnected&&vo(pe)!=="body"?pe:null;let Fe=ve?Qe||Me:Me||Qe;return Fe||(Fe=Ij()||null),typeof Pe=="boolean"?Fe:bu(Pe)||Fe||null}return()=>{T.off("openchange",Se);const Ee=ea(ae),ye=ne(),Pe=Zt(S,Ee)||ye.some(Ve=>
1963Ve===Ee||Zt(Ve,Ee))||L&&cd(L.nodesRef.current,A(),!1).some(Ve=>Zt(Ve.context?.elements.floating,Ee)),Me=D.current,Qe=O.current,Fe=De(Qe);queueMicrotask(()=>{const Ve=cHe(Fe),be=typeof Me!="boolean";if(Me&&!j.current&&Er(Ve)&&(!(!be&&Ve!==Ee&&Ee!==ae.body)||Pe)){const Ae={preventScroll:!0};Qe==="keyboard"&&(Ae.focusVisible=!0),Ve.focus(Ae)}j.current=!1})}},[r,S,te,D,M,T,L,E,A,ne]),Vt(()=>{if(!bd||k||!S)return;const ae=ea(hr(S));!Er(ae)||!sA(ae)||Zt(S,ae)&&ae.blur()},[k,S]),Vt(()=>{if(!(r||!P))return P.setFocusManagerState({modal:s,closeOnFocusOut:l,open:k,onOpenChange:y.setOpen,domReference:E}),()=>{P.setFocusManagerState(null)}},[r,P,s,k,y,l,E]),Vt(()=>{if(!(r||!te))return wj(te),()=>{queueMicrotask(TM)}},[r,te]);const Ce=!r&&(s?!R:!0)&&(ee||s);return b.jsxs(m.Fragment,{children:[Ce&&b.jsx(XE,{"data-type":"inside",ref:q,onFocus:ae=>{if(s){const pe=ce();PS(pe[pe.length-1])}else P?.portalNode&&(j.current=!1,Yv(ae,P.portalNode)?cee(E)?.focus():bu(f??P.beforeOutsideRef)?.focus())}}),n,Ce&&b.jsx(XE,{"data-type":"inside",ref:$,onFocus:ae=>{s?PS(ce()[0]):P?.portalNode&&(l&&(j.current=!0),Yv(ae,P.portalNode)?dee(E)?.focus():bu(c??P.afterOutsideRef)?.focus())}})]})}function gee(e,t={}){const{enabled:n=!0,event:r="click",toggle:i=!0,ignoreMouse:o=!1,stickIfOpen:a=!0,touchOpenDelay:s=0,reason:l=yk}=t,u="rootStore"in e?e.rootStore:e,c=u.context.dataRef,f=m.useRef(void 0),p=Cy(),v=el(),g=m.useMemo(()=>{function y(E,S,T,I){const A=gn(l,S,T);E&&I==="touch"&&s>0?v.start(s,()=>{u.setOpen(!0,A)}):u.setOpen(E,A)}function k(E,S,T){const I=c.current.openEvent,A=u.select("domReferenceElement")!==S;return E&&A||!E||!i?!0:I&&a?!T(I.type):!1}return{onPointerDown(E){f.current=Kc(E.pointerType,!0)&&uM(E.nativeEvent)?"virtual":E.pointerType},onMouseDown(E){const S=f.current,T=E.nativeEvent,I=u.select("open");if(E.button!==0||r==="click"||Kc(S,!0)&&o)return;const A=k(I,E.currentTarget,x=>x==="click"||x==="mousedown"),w=Pi(T);if(sA(w)){y(A,T,w,S);return}const R=E.currentTarget;p.request(()=>{y(A,T,R,S)})},onClick(E){if(r==="mousedown-only")return;const S=f.current;if(r==="mousedown"&&S){f.current=void 0;return}if(Kc(S,!0)&&o)return;const T=u.select("open"),I=k(T,E.currentTarget,A=>A==="click"||A==="mousedown"||A==="keydown"||A==="keyup");y(I,E.nativeEvent,E.currentTarget,S)},onKeyDown(){f.current=void 0}}},[c,r,o,l,u,a,i,p,v,s]);return m.useMemo(()=>n?{reference:g}:vi,[n,g])}function fHe(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){const o=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},a=t.axis==="x"||t.axis==="both",s=t.axis==="y"||t.axis==="both",l=["mouseenter","mousemove"].includes(t.dataRef.current.openEvent?.type||"")&&t.pointerType!=="touch";let u=o.width,c=o.height,f=o.x,p=o.y;return n==null&&t.x&&a&&(n=o.x-t.x),r==null&&t.y&&s&&(r=o.y-t.y),f-=n||0,p-=r||0,u=0,c=0,!i||l?(u=t.axis==="y"?o.width:0,c=t.axis==="x"?o.height:0,f=a&&t.x!=null?t.x:f,p=s&&t.y!=null?t.y:p):i&&!l&&(c=t.axis==="x"?o.height:c,u=t.axis==="y"?o.width:u),i=!0,{width:u,height:c,x:f,y:p,top:p,right:f+u,bottom:p+c,left:f}}}}function Nj(e){return e!=null&&e.clientX!=null}function pHe(e,t={}){const{enabled:n=!0,axis:r="both"}=t,i="rootStore"in e?e.rootStore:e,o=i.useState("open"),a=i.useState("floatingElement"),s=i.useState("domReferenceElement"),l=i.context.dataRef,u=m.useRef(!1),c=m.useRef(null),[f,p]=m.useState(),[v,g]=m.useState([]),y=_t(I=>{i.set("positionReference",I)}),k=_t((I,A,w)=>{u.current||l.current.openEvent&&!Nj(l.current.openEvent)||i.set("positionReference",fHe(w??s,{x:I,y:A,axis:r,dataRef:l,pointerType:f}))}),E=_t(I=>{o?c.current||(k(I.clientX,I.clientY,I.currentTarget),g([])):k(I.clientX,I.clientY,I.currentTarget)}),S=Kc(f)?a:o;m.useEffect(()=>{if(!n){y(s);return}if(!S)return;function I(){c.current?.(),c.current=null}const A=ti(a);function w(R){const x=Pi(R);Zt(a,x)?I():k(R.clientX,R.clientY)}return!l.current.openEvent||Nj(l.current.openEvent)?c.current=_n(A,"mousemove",w):y(s),I},[S,n,a,l,s,i,k,y,v]),m.useEffect(()=>()=>{i.set("positionReference",null)},[i]),m.useEffect(()=>{n&&!a&&(u.current=!1)},[n,a]),m.useEffect(()=>{!n&&o&&(u.current=!0)},[n,o]);const T=m.useMemo(()=>{function I(A){p(A.pointerType)}return{onPointerDown:I,onPointerEnter:I,onMouseMove:E,onMouseEnter:E}},[E]);return m.useMemo(()=>n?{reference:T,trigger:T}:{},[n,T])}function mHe(){return!1}function hHe(e){return{escapeKey:typeof e=="boolean"?e:e?.escapeKey??!1,outsidePress:typeof e=="boolean"?e:e?.outsidePress??!0}}function vee(e,t={}){const{enabled:n=!0,escapeKey:r=!0,outsidePress:i=!0,outsidePressEvent:o="sloppy",referencePress:a=mHe,bubbles:s,externalTree:l}=t,u="rootStore"in e?e.rootStore:e,c=u.useState("open"),f=u.useState("floatingElement"),{dataRef:p,events:v}=u.context,g=jh(l),y=_t(typeof i=="function"?i:()=>!1),k=typeof i=="function"?y:i,E=k!==!1,S=_t(()=>
1963o),{escapeKey:T,outsidePress:I}=hHe(s),A=m.useRef(!1),w=m.useRef(!1),R=m.useRef(!1),x=m.useRef(!1),D=m.useRef(!1),M=m.useRef(""),F=m.useRef(null),L=el(),P=el(),j=_t(()=>{P.clear(),p.current.insideReactTree=!1}),B=_t(J=>{const Z=p.current.floatingContext?.nodeId;return(g?cd(g.nodesRef.current,Z):[]).some(ee=>ee.context?.open&&!ee.context.dataRef.current[J])}),H=_t(J=>bR(J,u.select("floatingElement"))||bR(J,u.select("domReferenceElement"))),G=_t(J=>{a()&&u.setOpen(!1,gn(yk,J.nativeEvent))}),O=_t(J=>{if(!c||!n||!r||J.key!=="Escape"||D.current||!T&&B("__escapeKeyBubbles"))return;const Z=D7e(J)?J.nativeEvent:J,Y=gn(kk,Z);u.setOpen(!1,Y),Y.isCanceled||J.preventDefault(),!T&&!Y.isPropagationAllowed&&J.stopPropagation()}),V=_t(()=>{p.current.insideReactTree=!0,P.start(0,j)}),W=_t(J=>{if(!c||!n||J.button!==0)return;const Z=Pi(J.nativeEvent);Zt(u.select("floatingElement"),Z)&&(A.current||(A.current=!0,w.current=!1))}),U=_t(J=>{!c||!n||(J.defaultPrevented||J.nativeEvent.defaultPrevented)&&A.current&&(w.current=!0)});m.useEffect(()=>{function J(Z){Z.open||(x.current=!1)}return v.on("openchange",J),()=>{v.off("openchange",J)}},[v]),m.useEffect(()=>{if(!c||!n)return c||(x.current=!1),j;p.current.__escapeKeyBubbles=T,p.current.__outsidePressBubbles=I;const J=new Xs,Z=new Xs,Y=hr(f);function ee(){J.clear(),D.current=!0}function te(){J.start(bd?5:0,()=>{D.current=!1})}function ce(){R.current=!0,Z.start(0,()=>{R.current=!1})}function ne(){A.current=!1,w.current=!1}function Ce(){const ke=M.current,ue=ke==="pen"||!ke?"mouse":ke,ze=S(),et=typeof ze=="function"?ze():ze;return typeof et=="string"?et:et[ue]}function ae(ke){const ue=Ce();return ue==="intentional"&&ke.type!=="click"||ue==="sloppy"&&ke.type==="click"}function pe(ke){const ue=p.current.floatingContext?.nodeId,ze=g&&cd(g.nodesRef.current,ue).some(et=>bR(ke,et.context?.elements.floating));return H(ke)||ze}function ve(ke){if(ae(ke)){ke.type!=="click"&&!H(ke)&&(Z.clear(),R.current=!1),j();return}if(p.current.insideReactTree){j();return}const ue=Pi(ke),ze=`[${Ay("inert")}]`,et=Un(ue)?ue.getRootNode():null,lt=Array.from((kh(et)?et:hr(u.select("floatingElement"))).querySelectorAll(ze)),xe=u.context.triggerElements;if(ue&&(xe.hasElement(ue)||xe.hasMatchingElement(X=>Zt(X,ue))))return;let We=Un(ue)?ue:null;for(;We&&!Yc(We);){const X=sd(We);if(Yc(X)||!Un(X))break;We=X}if(!(lt.length&&Un(ue)&&!nze(ue)&&!Zt(ue,u.select("floatingElement"))&<.every(X=>!Zt(We,X)))){if(Er(ue)&&!("touches"in ke)){const X=Yc(ue),de=pa(ue),ie=/auto|scroll/,Re=X||ie.test(de.overflowX),Be=X||ie.test(de.overflowY),tt=Re&&ue.clientWidth>0&&ue.scrollWidth>ue.clientWidth,at=Be&&ue.clientHeight>0&&ue.scrollHeight>ue.clientHeight,ot=de.direction==="rtl",ft=at&&(ot?ke.offsetX<=ue.offsetWidth-ue.clientWidth:ke.offsetX>ue.clientWidth),Je=tt&&ke.offsetY>ue.clientHeight;if(ft||Je)return}if(!pe(ke)){if(Ce()==="intentional"){if(ke.detail!==0&&!lM(ke)&&!x.current)return;if(R.current){Z.clear(),R.current=!1;return}}typeof k=="function"&&!k(ke)||B("__outsidePressBubbles")||(u.setOpen(!1,gn(hM,ke)),j())}}}function Se(ke){Ce()!=="sloppy"||ke.pointerType==="touch"||!u.select("open")||!n||H(ke)||ve(ke)}function De(ke){if(Ce()!=="sloppy"||!u.select("open")||!n||H(ke))return;const ue=ke.touches[0];ue&&(F.current={startTime:Date.now(),startX:ue.clientX,startY:ue.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},L.start(1e3,()=>{F.current&&(F.current.dismissOnTouchEnd=!1,F.current.dismissOnMouseDown=!1)}))}function Ee(ke,ue){const ze=Pi(ke);if(!ze)return;const et=_n(ze,ke.type,()=>{ue(ke),et()})}function ye(ke){M.current="touch",Ee(ke,De)}function Pe(ke){L.clear(),ke.type==="pointerdown"&&(ke.button===0&&(x.current=!0),M.current=ke.pointerType),!(ke.type==="mousedown"&&F.current&&!F.current.dismissOnMouseDown)&&Ee(ke,ue=>{ue.type==="pointerdown"?Se(ue):ve(ue)})}function Me(ke){if(ke.type==="pointercancel"&&(x.current=!1),!A.current)return;const ue=w.current;if(ne(),Ce()==="intentional"){if(ke.type==="pointercancel"){ue&&ce();return}if(!pe(ke)){if(ue){ce();return}typeof k=="function"&&!k(ke)||(Z.clear(),R.current=!0,j())}}}function Qe(ke){if(Ce()!=="sloppy"||!F.current||H(ke))return;const ue=ke.touches[0];if(!ue)return;const ze=Math.abs(ue.clientX-F.current.startX),et=Math.abs(ue.clientY-F.current.startY),lt=Math.sqrt(ze*ze+et*et);lt>5&&(F.current.dismissOnTouchEnd=!0),lt>10&&(ve(ke),L.clear(),F.current=null)}function Fe(ke){Ee(ke,Qe)}function Ve(ke){Ce()!=="sloppy"||!F.current||H(ke)||(F.current.dismissOnTouchEnd&&ve(ke),L.clear(),F.current=null)}function be(ke){Ee(ke,Ve)}const Ae=Vl(r&&Vl(_n(Y,"keydown",O),_n(Y,"compositionstart",ee),_n(Y,"compositionend",te)),E&&Vl(_n(Y,"click",Pe,!0),_n(Y,"pointerdown",Pe,!0),_n(Y,"pointerup",Me,!0),_n(Y,"pointercancel",Me,!0),_n(Y,"mousedown",Pe,!0),_n(Y,"mouseup",Me,!0),_n(Y,"touchstart",ye,{capture:!0,passive:!0}),_n(Y,"touchmove",Fe,{capture:!0,passive:!0}),_n(Y,"touchend",be,{capture:!0,passive:!0})));return()=>{Ae(),J.clear(),Z.clear(),ne(),R.current=!1,j()}},[p,f,r,E,k,c,n,T,I,O,j,S,B,H,g,u,L]);const q=m.useMemo(()=>({onKeyDown:O,onPointerDown:G,onClick:G}),[O,G]),$=m.useMemo(()=>({onKeyDown:O,onPointerDown:U,onMouseDown:U,onClickCapture:V,onMouseDownCapture(J){V(),W(J)},onPointerDownCapture(J){V(),W(J)},onMouseUpCapture:V,onTouchEndCapture:V,onTouchMoveCapture:V}),[O,V,W,U]);return m.useMemo(()=>n?{reference:q,floating:$,trigger:q}:{},[n,q,$])}function Rj(e,t,n){let{reference:r,floating:i}=e;const o=fs(t),a=bM(t),s=kM(a),l=ks(t),u=o==="y",c=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,p=r[s]/2-i[s]/2;let v;switch(l){case"top":v={x:c,y:r.y-i.height};break;case"bottom":v={x:c,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:f};break;case"left":v={x:r.x-i.width,y:f};break;default:v={x:r.x,y:r.y}}const g=Bu(t);return g&&(v[a]+=p*(g==="end"?1:-1)*(n&&u?-1:1)),v}async function gHe(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:v=0}=ud(t,e),g=tee(v),k=s[p?f==="floating"?"reference":"floating":f],E=nT(await o.getClippingRect
1963({element:(n=await(o.isElement==null?void 0:o.isElement(k)))==null||n?k:k.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),S=f==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,T=await(o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)),I=await(o.isElement==null?void 0:o.isElement(T))&&await(o.getScale==null?void 0:o.getScale(T))||{x:1,y:1},A=nT(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:S,offsetParent:T,strategy:l}):S);return{top:(E.top-A.top+g.top)/I.y,bottom:(A.bottom-E.bottom+g.bottom)/I.y,left:(E.left-A.left+g.left)/I.x,right:(A.right-E.right+g.right)/I.x}}const vHe=50,yHe=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:gHe},l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=Rj(u,r,l),p=r,v=0;const g={};for(let y=0;y<o.length;y++){const k=o[y];if(!k)continue;const{name:E,fn:S}=k,{x:T,y:I,data:A,reset:w}=await S({x:c,y:f,initialPlacement:r,placement:p,strategy:i,middlewareData:g,rects:u,platform:s,elements:{reference:e,floating:t}});c=T??c,f=I??f,g[E]={...g[E],...A},w&&v<vHe&&(v++,typeof w=="object"&&(w.placement&&(p=w.placement),w.rects&&(u=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:f}=Rj(u,p,l)),y=-1)}return{x:c,y:f,placement:p,strategy:i,middlewareData:g}},kHe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...k}=ud(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const E=ks(i),S=fs(s),T=ks(s)===s,I=await(l.isRTL==null?void 0:l.isRTL(u.floating)),A=p||(T||!y?[tT(s)]:Ize(s)),w=g!=="none";!p&&w&&A.push(...xze(s,y,g,I));const R=[s,...A],x=await l.detectOverflow(t,k),D=[];let M=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&D.push(x[E]),f){const j=Aze(i,a,I);D.push(x[j[0]],x[j[1]])}if(M=[...M,{placement:i,overflows:D}],!D.every(j=>j<=0)){var F,L;const j=(((F=o.flip)==null?void 0:F.index)||0)+1,B=R[j];if(B&&(!(f==="alignment"?S!==fs(B):!1)||M.every(O=>fs(O.placement)===S?O.overflows[0]>0:!0)))return{data:{index:j,overflows:M},reset:{placement:B}};let H=(L=M.filter(G=>G.overflows[0]<=0).sort((G,O)=>G.overflows[1]-O.overflows[1])[0])==null?void 0:L.placement;if(!H)switch(v){case"bestFit":{var P;const G=(P=M.filter(O=>{if(w){const V=fs(O.placement);return V===S||V==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(V=>V>0).reduce((V,W)=>V+W,0)]).sort((O,V)=>O[1]-V[1])[0])==null?void 0:P[0];G&&(H=G);break}case"initialPlacement":H=s;break}if(i!==H)return{reset:{placement:H}}}return{}}}},yee=new Set(["left","top"]);async function bHe(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),a=ks(n),s=Bu(n),l=fs(n)==="y",u=yee.has(a)?-1:1,c=o&&l?-1:1,f=ud(t,e);let{mainAxis:p,crossAxis:v,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof g=="number"&&(v=s==="end"?g*-1:g),l?{x:v*c,y:p*u}:{x:p*u,y:v*c}}const SHe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,l=await bHe(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},EHe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:S=>{let{x:T,y:I}=S;return{x:T,y:I}}},...u}=ud(e,t),c={x:n,y:r},f=await o.detectOverflow(t,u),p=fs(i),v=yM(p);let g=c[v],y=c[p];const k=(S,T)=>eee(T+f[S==="y"?"top":"left"],T,T-f[S==="y"?"bottom":"right"]);a&&(g=k(v,g)),s&&(y=k(p,y));const E=l.fn({...t,[v]:g,[p]:y});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[v]:a,[p]:s}}}}}}
1963,THe=function(e){return e===void 0&&(e={}),{options:e,fn(t){var n,r;const{x:i,y:o,placement:a,rects:s,middlewareData:l}=t,{offset:u=0,mainAxis:c=!0,crossAxis:f=!0}=ud(e,t),p={x:i,y:o},v=fs(a),g=yM(v);let y=p[g],k=p[v];const E=ud(u,t),S=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:(n=E.mainAxis)!=null?n:0,crossAxis:(r=E.crossAxis)!=null?r:0};if(c){const A=g==="y"?"height":"width",w=s.reference[g]-s.floating[A]+S.mainAxis,R=s.reference[g]+s.reference[A]-S.mainAxis;y<w?y=w:y>R&&(y=R)}if(f){var T,I;const A=g==="y"?"width":"height",w=yee.has(ks(a)),R=s.reference[v]-s.floating[A]+(w&&((T=l.offset)==null?void 0:T[v])||0)+(w?0:S.crossAxis),x=s.reference[v]+s.reference[A]+(w?0:((I=l.offset)==null?void 0:I[v])||0)-(w?S.crossAxis:0);k<R?k=R:k>x&&(k=x)}return{[g]:y,[v]:k}}}},CHe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:o}=t,{apply:a=()=>{},...s}=ud(e,t),l=await i.detectOverflow(t,s),u=ks(n),c=Bu(n),f=fs(n)==="y",{width:p,height:v}=r.floating;let g,y;u==="top"||u==="bottom"?(g=u,y=c===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(y=u,g=c==="end"?"top":"bottom");const k=v-l.top-l.bottom,E=p-l.left-l.right,S=Sh(v-l[g],k),T=Sh(p-l[y],E),I=t.middlewareData.shift,A=!I;let w=S,R=T;I!=null&&I.enabled.x&&(R=E),I!=null&&I.enabled.y&&(w=k),A&&!c&&(f?R=p-2*Ru(l.left,l.right):w=v-2*Ru(l.top,l.bottom)),await a({...t,availableWidth:R,availableHeight:w});const x=await i.getDimensions(o.floating);return p!==x.width||v!==x.height?{reset:{rects:!0}}:{}}}};function kee(e){const t=pa(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Er(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=eT(n)!==o||eT(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function CM(e){return Un(e)?e:e.contextElement}function Gm(e){const t=CM(e);if(!Er(t))return xu(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=kee(t);let a=(o?eT(n.width):n.width)/r,s=(o?eT(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const AHe=xu(0);function bee(e){const t=ti(e);return!fM()||!t.visualViewport?AHe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function IHe(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===ti(e)}function Qf(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=CM(e);let a=xu(1);t&&(r?Un(r)&&(a=Gm(r)):a=Gm(e));const s=IHe(o,n,r)?bee(o):xu(0);let l=(i.left+s.x)/a.x,u=(i.top+s.y)/a.y,c=i.width/a.x,f=i.height/a.y;if(o&&r){const p=ti(o),v=Un(r)?ti(r):r;let g=p,y=yL(g);for(;y&&v!==g;){const k=Gm(y),E=y.getBoundingClientRect(),S=pa(y),T=E.left+(y.clientLeft+parseFloat(S.paddingLeft))*k.x,I=E.top+(y.clientTop+parseFloat(S.paddingTop))*k.y;l*=k.x,u*=k.y,c*=k.x,f*=k.y,l+=T,u+=I,g=ti(y),y=yL(g)}}return nT({width:c,height:f,x:l,y:u})}function pA(e,t){const n=oA(e).scrollLeft;return t?t.left+n:Qf(Ju(e)).left+n}function See(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-pA(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function wHe(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=Ju(r),s=t?iA(t.floating):!1;if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},u=xu(1);const c=xu(0),f=Er(r);if((f||!o)&&((vo(r)!=="body"||vk(a))&&(l=oA(r)),f)){const v=Qf(r);u=Gm(r),c.x=v.x+r.clientLeft,c.y=v.y+r.clientTop}const p=a&&!f&&!o?See(a,l):xu(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-l.scrollTop*u.y+c.y+p.y}}function NHe(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function RHe(e){const t=oA(e),n=e.ownerDocument.body,r=Ru(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Ru(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let o=-t.scrollLeft+pA(e);const a=-t.scrollTop;return pa(n).direction==="rtl"&&(o+=Ru(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:o,y:a}}const xHe=25;function LHe(e,t,n){n===void 0&&(n="viewport");const r=n==="layoutViewport",i=ti(e),o=Ju(e),a=i.visualViewport;let s=o.clientWidth,l=o.clientHeight,u=0,c=0;if(a){const p=!fM()||t==="fixed";r?p||(u=-a.offsetLeft,c=-a.offsetTop):(s=a.width,l=a.height,p&&(u=a.offsetLeft,c=a.offsetTop))}if(pA(o)<=0){const p=o.ownerDocument,v=p.body,g=getComputedStyle(v),y=p.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,k=Math.abs(o.clientWidth-v.clientWidth-y),E=getComputedStyle(o).scrollbarGutter==="stable both-edges"?k/2:k;E<=xHe&&(s-=E)}return{width:s,height:l,x:u,y:c}}function OHe(e,t){const n=Qf(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Gm(e),a=e.clientWidth*o.x,s=e.clientHeight*o.y,l=i*o.x,u=r*o.y;return{width:a,height:s,x:l,y:u}}function xj(e,t,n){let r;if(t==="viewport"||t==="layoutViewport")r=LHe(e,n,t);else if(t==="document")r=RHe(Ju(e));else if(Un(t))r=OHe(t,n);else{const i=bee(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return nT(r)}function PHe(e,t){const n=t.get(e);if(n)return n;let r=bh(e,[],!1).filter(s=>Un(s)&&vo(s)!=="body"),i=null;const o=pa(e).position==="fixed";let a=o?sd(e):e;for(;Un(a)&&!Yc(a);){const s=pa(a),l=dM(a),u=i?i.position:o?"fixed":"";!l&&(u==="fixed"||u==="absolute"&&s.position==="static")?r=r.filter(f=>f!==a):i=s,a=sd(a)}return t.set(e,r),r}function _He(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?iA(t)?[]:PHe(t,this._c):[].concat(n),r],s=xj(t,a[0],i);let l=s.top,u=s.right,c=s.bottom,f=s.left;for(let p=1;p<a.length;
1963p++){const v=xj(t,a[p],i);l=Ru(v.top,l),u=Sh(v.right,u),c=Sh(v.bottom,c),f=Ru(v.left,f)}return{width:u-f,height:c-l,x:f,y:l}}function DHe(e){const{width:t,height:n}=kee(e);return{width:t,height:n}}function MHe(e,t,n){const r=Er(t),i=Ju(t),o=n==="fixed",a=Qf(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=xu(0);if((r||!o)&&((vo(t)!=="body"||vk(i))&&(s=oA(t)),r)){const p=Qf(t,!0,o,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}!r&&i&&(l.x=pA(i));const u=i&&!r&&!o?See(i,s):xu(0),c=a.left+s.scrollLeft-l.x-u.x,f=a.top+s.scrollTop-l.y-u.y;return{x:c,y:f,width:a.width,height:a.height}}function AR(e){return pa(e).position==="static"}function Lj(e,t){if(!Er(e)||pa(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ju(e)===n&&(n=n.ownerDocument.body),n}function Eee(e,t){const n=ti(e);if(iA(e))return n;if(!Er(e)){let i=sd(e);for(;i&&!Yc(i);){if(Un(i)&&!AR(i))return i;i=sd(i)}return n}let r=Lj(e,t);for(;r&&F7e(r)&&AR(r);)r=Lj(r,t);return r&&Yc(r)&&AR(r)&&!dM(r)?n:r||B7e(e)||n}const FHe=async function(e){const t=this.getOffsetParent||Eee,n=this.getDimensions,r=await n(e.floating);return{reference:MHe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function UHe(e){return pa(e).direction==="rtl"}const VHe={convertOffsetParentRelativeRectToViewportRelativeRect:wHe,getDocumentElement:Ju,getClippingRect:_He,getOffsetParent:Eee,getElementRects:FHe,getClientRects:NHe,getDimensions:DHe,getScale:Gm,isElement:Un,isRTL:UHe};function Tee(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function BHe(e,t,n){let r=null,i;const o=Ju(e);function a(){var c;clearTimeout(i),(c=r)==null||c.disconnect(),r=null}function s(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),a();const p=e.getBoundingClientRect(),{left:v,top:g,width:y,height:k}=p;if(c||t(),!y||!k)return;const E=yf(g),S=yf(o.clientWidth-(v+y)),T=yf(o.clientHeight-(g+k)),I=yf(v),w={rootMargin:-E+"px "+-S+"px "+-T+"px "+-I+"px",threshold:Ru(0,Sh(1,f))||1};let R=!0;function x(D){const M=D[0].intersectionRatio;if(!Tee(p,e.getBoundingClientRect()))return s();if(M!==f){if(!R)return s();M?s(!1,M):i=setTimeout(()=>{s(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(x,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(x,w)}r.observe(e)}const l=ti(e),u=()=>s(n);return l.addEventListener("resize",u),s(!0),()=>{l.removeEventListener("resize",u),a()}}function Oj(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=CM(e),c=i||o?[...u?bh(u):[],...t?bh(t):[]]:[];c.forEach(E=>{i&&E.addEventListener("scroll",n),o&&E.addEventListener("resize",n)});const f=u&&s?BHe(u,n,o):null;let p=-1,v=null;a&&(v=new ResizeObserver(E=>{let[S]=E;S&&S.target===u&&v&&t&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var T;(T=v)==null||T.observe(t)})),n()}),u&&!l&&v.observe(u),t&&v.observe(t));let g,y=l?Qf(e):null;l&&k();function k(){const E=Qf(e);y&&!Tee(y,E)&&n(),y=E,g=requestAnimationFrame(k)}return n(),()=>{var E;c.forEach(S=>{i&&S.removeEventListener("scroll",n),o&&S.removeEventListener("resize",n)}),f?.(),(E=v)==null||E.disconnect(),v=null,l&&cancelAnimationFrame(g)}}const jHe=SHe,zHe=EHe,HHe=kHe,WHe=CHe,qHe=THe,GHe=(e,t,n)=>{const r=new Map,i=n??{},o={...VHe,...i.platform,_c:r};return yHe(e,t,{...i,platform:o})};var KHe=typeof document<"u",YHe=function(){},_S=KHe?m.useLayoutEffect:YHe;function rT(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!rT(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!rT(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Cee(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pj(e,t){const n=Cee(e);return Math.round(t*n)/n}function IR(e){const t=m.useRef(e);return _S(()=>{t.current=e}),t}function $He(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,f]=m.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,v]=m.useState(r);rT(p,r)||v(r);const[g,y]=m.useState(null),[k,E]=m.useState(null),S=m.useCallback(O=>{O!==w.current&&(w.current=O,y(O))},[]),T=m.useCallback(O=>{O!==R.current&&(R.current=O,E(O))},[]),I=o||g,A=a||k,w=m.useRef(null),R=m.useRef(null),x=m.useRef(c),D=l!=null,M=IR(l),F=IR(i),L=IR(u),P=m.useCallback(()=>
1963{if(!w.current||!R.current)return;const O={placement:t,strategy:n,middleware:p};F.current&&(O.platform=F.current),GHe(w.current,R.current,O).then(V=>{const W={...V,isPositioned:L.current!==!1};j.current&&!rT(x.current,W)&&(x.current=W,qo.flushSync(()=>{f(W)}))})},[p,t,n,F,L]);_S(()=>{u===!1&&x.current.isPositioned&&(x.current.isPositioned=!1,f(O=>({...O,isPositioned:!1})))},[u]);const j=m.useRef(!1);_S(()=>(j.current=!0,()=>{j.current=!1}),[]),_S(()=>{if(I&&(w.current=I),A&&(R.current=A),I&&A){if(M.current)return M.current(I,A,P);P()}},[I,A,P,M,D]);const B=m.useMemo(()=>({reference:w,floating:R,setReference:S,setFloating:T}),[S,T]),H=m.useMemo(()=>({reference:I,floating:A}),[I,A]),G=m.useMemo(()=>{const O={position:n,left:0,top:0};if(!H.floating)return O;const V=Pj(H.floating,c.x),W=Pj(H.floating,c.y);return s?{...O,transform:"translate("+V+"px, "+W+"px)",...Cee(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:W}},[n,s,H.floating,c.x,c.y]);return m.useMemo(()=>({...c,update:P,refs:B,elements:H,floatingStyles:G}),[c,P,B,H,G])}const JHe=(e,t)=>{const n=jHe(e);return{name:n.name,fn:n.fn,options:[e,t]}},ZHe=(e,t)=>{const n=zHe(e);return{name:n.name,fn:n.fn,options:[e,t]}},QHe=(e,t)=>({fn:qHe(e).fn,options:[e,t]}),XHe=(e,t)=>{const n=HHe(e);return{name:n.name,fn:n.fn,options:[e,t]}},eWe=(e,t)=>{const n=WHe(e);return{name:n.name,fn:n.fn,options:[e,t]}},tWe=EM(19),nWe=tWe?iWe:oWe;function Aee(e,t,n,r,i){return nWe(e,t,n,r,i)}function rWe(e,t,n,r,i){const o=m.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return Lh.useSyncExternalStore(e.subscribe,o,o)}C7e({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){const r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{const n=new Set;for(const i of e.syncHooks)n.add(i.store);const r=[];for(const i of n)r.push(i.subscribe(t));return()=>{for(const i of r)i()}}),Lh.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot))}});function iWe(e,t,n,r,i){const o=T7e();if(!o)return rWe(e,t,n,r,i);const a=o.syncIndex;o.syncIndex+=1;let s;return o.didInitialize?(s=o.syncHooks[a],(s.store!==e||s.selector!==t||!Object.is(s.a1,n)||!Object.is(s.a2,r)||!Object.is(s.a3,i))&&(s.store!==e&&(o.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.value=t(e.getSnapshot(),n,r,i))):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i)},o.syncHooks.push(s)),s.value}function oWe(e,t,n,r,i){return hQ.useSyncExternalStoreWithSelector(e.subscribe,e.getSnapshot,e.getSnapshot,o=>t(o,n,r,i))}let aWe=class{static create(t){return new this(t)}constructor(t){this.state=t,this.listeners=new Set,this.updateTick=0}subscribe=t=>(this.listeners.add(t),()=>{this.listeners.delete(t)});getSnapshot=()=>this.state;setState(t){if(this.state===t)return;this.state=t,this.updateTick+=1;const n=this.updateTick;for(const r of this.listeners){if(n!==this.updateTick)return;r(t)}}update(t){for(const n in t)if(!Object.is(this.state[n],t[n])){this.setState({...this.state,...t});return}}set(t,n){Object.is(this.state[t],n)||this.setState({...this.state,[t]:n})}notifyAll(){const t={...this.state};this.setState(t)}use(t,n,r,i){return Aee(this,t,n,r,i)}};class AM extends aWe{constructor(t,n={},r){super(t),this.context=n,this.selectors=r}useSyncedValue(t,n){m.useDebugValue(t);const r=this;Vt(()=>{r.state[t]!==n&&r.set(t,n)},[r,t,n])}useSyncedValueWithCleanup(t,n){const r=this;Vt(()=>(r.state[t]!==n&&r.set(t,n),()=>{r.set(t,void 0)}),[r,t,n])}useSyncedValues(t){const n=this,r=Object.values(t);Vt(()=>{n.update(t)},[n,...r])}useControlledProp(t,n){m.useDebugValue(t);const r=this,i=n!==void 0;Vt(()=>{i&&!Object.is(r.state[t],n)&&r.setState({...r.state,[t]:n})},[r,t,n,i])}select(t,n,r,i){const o=this.selectors[t];return o(this.state,n,r,i)}useState(t,n,r,i){return m.useDebugValue(t),Aee(this,this.selectors[t],n,r,i)}useContextCallback(t,n){m.useDebugValue(t);const r=_t(n??Cr);this.context[t]=r}useStateSetter(t){const n=m.useRef(void 0);return n.current===void 0&&(n.current=r=>{this.set(t,r)}),n.current}observe(t,n){let r;typeof t=="function"?r=t:r=this.selectors[t];let i=r(this.state);return n(i,i,this),this.subscribe(o=>{const a=r(o);if(!Object.is(i,a)){const s=i;i=a,n(a,s,this)}})}}const sWe={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId};class IM extends AM{constructor(t){const{syncOnly:n,nested:r,onOpenChange:i,triggerElements:o,...a}=t;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:i,dataRef:{current:{}},events:aHe(),nested:r,triggerElements:o},sWe),this.syncOnly=n}syncOpenEvent=(t,n)=>{(!t||!this.state.open||n!=null&&M7e(n))&&(this.context.dataRef.current.openEvent=t?n:void 0)};dispatchOpenChange=(t,n)=>{this.syncOpenEvent(t,n.event);const r={open:t,reason:n.reason,nativeEvent:n.event,nested:this.context.nested,triggerElement:n.trigger};this.context.events.emit("openchange",r)};setOpen=(t,n)=>{if(this.syncOnly){this.context.onOpenChange?.(t,n);return}this.dispatchOpenChange(t,n),this.context.onOpenChange?.(t,n)}}function lWe(e){const{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:r,floatingId:i,nested:o,onOpenChange:a}=e,s=t.useState("open"),l=t.useState("activeTriggerElement"),u=t.useState(n?"popupElement":"positionerElement"),c=t.context.triggerElements,f=a,p=m.useRef(null);
1963r===void 0&&p.current===null&&(p.current=new IM({open:s,transitionStatus:void 0,referenceElement:l,floatingElement:u,triggerElements:c,onOpenChange:f,floatingId:i,syncOnly:!0,nested:o}));const v=r??p.current;return t.useSyncedValue("floatingId",i),Vt(()=>{const g={open:s,floatingId:i,referenceElement:l,floatingElement:u};Un(l)&&(g.domReferenceElement=l),v.state.positionReference===v.state.referenceElement&&(g.positionReference=l),v.update(g)},[s,i,l,u,v]),v.context.onOpenChange=f,v.context.nested=o,v}function Iee(e,t=!1,n=!1,r=!1){const[i,o]=m.useState(e&&t?"idle":void 0),[a,s]=m.useState(e&&!r);return e&&!a&&(s(!0),o("starting")),!e&&a&&i!=="ending"&&!n&&o("ending"),!e&&!a&&i==="ending"&&o(void 0),Vt(()=>{if(!e&&a&&i!=="ending"&&n){const l=Rl.request(()=>{o("ending")});return()=>{Rl.cancel(l)}}},[e,a,i,n]),Vt(()=>{if(!e||t)return;const l=Rl.request(()=>{o(void 0)});return()=>{Rl.cancel(l)}},[t,e]),Vt(()=>{if(!e||!t)return;e&&a&&i!=="idle"&&o("starting");const l=Rl.request(()=>{o("idle")});return()=>{Rl.cancel(l)}},[t,e,a,i]),{mounted:a,setMounted:s,transitionStatus:i}}let x0=null;function uWe(e){if(!x0){const t=[];x0=t,queueMicrotask(()=>{x0=null,qo.flushSync(()=>{for(const n of t)n()})})}x0.push(e)}function cWe(e,t=!1,n=!1){const r=Cy();return _t((i,o=null)=>{r.cancel();const a=bu(e);if(a==null)return;const s=a,l=()=>{if(!n){qo.flushSync(i);return}uWe(()=>{o?.aborted||i()})};if(typeof s.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function u(){Promise.all(s.getAnimations().map(c=>c.finished)).then(()=>{o?.aborted||l()},()=>{if(o?.aborted)return;if(s.getAnimations().some(f=>f.pending||f.playState!=="finished")){u();return}l()})}if(t){const c=HX;if(!s.hasAttribute(c)){r.request(u);return}const f=new MutationObserver(()=>{s.hasAttribute(c)||(f.disconnect(),u())});f.observe(s,{attributes:!0,attributeFilter:[c]}),o?.addEventListener("abort",()=>f.disconnect(),{once:!0});return}r.request(u)})}function mA(e){const{enabled:t=!0,open:n,ref:r,batch:i=!1,onComplete:o}=e,a=_t(o),s=cWe(r,n,i);m.useEffect(()=>{if(!t)return;const l=new AbortController;return s(a,l.signal),()=>{l.abort()}},[t,n,a,s])}const wee={tabIndex:-1,[kL]:""};function dWe(e,t=!1){const n=dA(),r=fA()!=null,i=Oo(()=>e(n,r)).current;return lWe({popupStore:i,treatPopupAsFloatingElement:t,floatingRootContext:i.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:i.setOpen}),i}function fWe({handle:e,store:t}){return Vt(()=>e.attachStore(t),[e,t]),null}function _j(e){const t=e.context.triggerElements.size;e.select("open")&&e.state.triggerCount!==t&&e.set("triggerCount",t)}function pWe(e,t){const n=m.useRef(null);return _t(r=>{const i=n.current;if(i!==null){if(i.element===r&&i.store===t&&i.id===e)return;n.current=null;const o=i.store;o.context.triggerElements.getById(i.id)===i.element&&(o.context.triggerElements.delete(i.id),_j(o))}r!==null&&e!==void 0&&(n.current={store:t,id:e,element:r},t.context.triggerElements.add(e,r),_j(t))})}function mWe(e,t,n,r=!1){let i=e.preventUnmountingOnClose;t?i=!1:r&&(i=!0);const o=n?.id??null;let a=e.activeTriggerId,s=e.activeTriggerElement;return(o||t)&&(a=o,s=n??null),{open:t,preventUnmountingOnClose:i,activeTriggerId:a,activeTriggerElement:s}}function hWe(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function gWe(e,t,n,r={}){const i=n.reason,o=i===ra,a=t&&i===LS,s=!t&&(i===yk||i===kk),l=hWe(n);if(e.context.onOpenChange?.(t,n),n.isCanceled)return;r.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,n);const u=()=>{const c=mWe(e.state,t,n.trigger,l()),f={...r.extraState,...c};a?f.instantType="focus":s?f.instantType="dismiss":o&&(f.instantType=void 0),e.update(f)};o?qo.flushSync(u):u()}function vWe(e,t,n,r){const i=n.useState("isMountedByTrigger",e),o=pWe(e,n),a=_t(l=>{const u=n.select("open"),c=n.select("activeTriggerId");if(c===e){const f={activeTriggerElement:l,...u?r:null};n.update(f);return}if(c==null&&u){const f={activeTriggerId:e??null,activeTriggerElement:l,...r};n.update(f)}}),s=_t(l=>{o(l),l&&a(l)});return Vt(()=>(s(t.current),()=>s(null)),[s,t,n,e]),Vt(()=>{if(i){const l={activeTriggerElement:t.current,...r};n.update(l)}},[i,n,t,...Object.values(r)]),{registerTrigger:s,isMountedByThisTrigger:i}}function yWe(e,t={}){const{closeOnActiveTriggerUnmount:n=!1}=t,r=m.useRef(null),i=e.useState("open"),o=e.useState("triggerCount"),a=e.useState("activeTriggerId"),s=e.useState("activeTriggerElement");Vt(()=>{if(!i){r.current=null,e.state.triggerCount!==0&&e.set("triggerCount",0);return}const l=e.context.triggerElements.size,u={};e.state.triggerCount!==l&&(u.triggerCount=l);const c=e.select("activeTriggerId");let f=null;if(c){const p=e.context.triggerElements.getById(c);if(p)r.current=c,p!==e.state.activeTriggerElement&&(u.activeTriggerElement=p);else{for(const[v,g]of e.context.triggerElements.entries())if(g===e.state.activeTriggerElement){u.activeTriggerId=v,u.activeTriggerElement=g,r.current=v;break}u.activeTriggerId===void 0&&(r.current===c?f=c:r.current=null)}}else r.current=null;if(!f&&!c&&l===1){const p=e.context.triggerElements.entries().next();if(!p.done){const[v,g]=p.value;u.activeTriggerId=v,u.activeTriggerElement=g,r.current=v}}(u.triggerCount!==void 0||u.activeTriggerId!==void 0||u.activeTriggerElement!==void 0)&&e.update(u),f&&n&&queueMicrotask(()=>
1963{if(e.select("open")&&e.select("activeTriggerId")===f&&!e.context.triggerElements.getById(f)){const p=gn(Vo);e.setOpen(!1,p),p.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[i,e,o,a,s,n])}function kWe(e,t,n,r){const{mounted:i,setMounted:o,transitionStatus:a}=Iee(e,!1,!1,r),s=t.useState("preventUnmountingOnClose"),l=e?!1:s;t.useSyncedValues({mounted:i,transitionStatus:a,preventUnmountingOnClose:l});const u=_t(()=>{o(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),t.context.onOpenChangeComplete?.(!1)});return mA({enabled:i&&!e&&!l,open:e,ref:t.context.popupRef,onComplete(){e||u()}}),{forceUnmount:u,transitionStatus:a}}function bWe(e,t){e.useSyncedValues(t),Vt(()=>()=>{e.update({activeTriggerProps:vi,inactiveTriggerProps:vi,popupProps:vi})},[e])}class Nee{constructor(){this.idMap=new Map}add(t,n){this.idMap.set(t,n)}delete(t){this.idMap.delete(t)}hasElement(t){for(const n of this.idMap.values())if(n===t)return!0;return!1}hasMatchingElement(t){for(const n of this.idMap.values())if(t(n))return!0;return!1}getById(t){return this.idMap.get(t)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}}function SWe(e,t,n=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new IM({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:vi,inactiveTriggerProps:vi,popupProps:vi}}const $v=e=>e.triggerIdProp??e.activeTriggerId,wM=e=>e.openProp??e.open,Dj=e=>(e.popupElement?.id??e.floatingId)||void 0;function Ree(e,t){return t!==void 0&&wM(e)&&$v(e)===t}function EWe(e,t){return Ree(e,t)?!0:t!==void 0&&wM(e)&&$v(e)==null&&e.triggerCount===1}const TWe={open:wM,mounted:e=>e.mounted,transitionStatus:e=>e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:$v,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:Dj,isTriggerActive:(e,t)=>t!==void 0&&$v(e)===t,isOpenedByTrigger:(e,t)=>Ree(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&$v(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>EWe(e,t)?Dj(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};function CWe(e){const t=m.useCallback(r=>e===void 0?Cr:e.subscribeStore(r),[e]),n=m.useCallback(()=>e===void 0?void 0:e.store,[e]);return Lh.useSyncExternalStore(t,n,()=>e?.serverStore)}function AWe(e){const{open:t=!1,onOpenChange:n,elements:r={}}=e,i=dA(),o=fA()!=null,a=Oo(()=>new IM({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new Nee,floatingId:i,syncOnly:!1,nested:o})).current;return Vt(()=>{const s={open:t,floatingId:i};r.reference!==void 0&&(s.referenceElement=r.reference,s.domReferenceElement=Un(r.reference)?r.reference:null),r.floating!==void 0&&(s.floatingElement=r.floating),a.update(s)},[t,i,r.reference,r.floating,a]),a.context.onOpenChange=n,a.context.nested=o,a}function IWe(e){return wWe(e,e.rootContext)}function wWe(e,t){const{nodeId:n,externalTree:r}=e,i=t.useState("referenceElement"),o=t.useState("floatingElement"),a=t.useState("domReferenceElement"),s=t.useState("open"),l=t.useState("floatingId"),[u,c]=m.useState(null),[f,p]=m.useState(void 0),[v,g]=m.useState(void 0),y=m.useRef(null),k=jh(r),E=m.useMemo(()=>({reference:i,floating:o,domReference:a}),[i,o,a]),S=$He({...e,elements:{...E,...u&&{reference:u}}}),T=Un(f)?f:null,I=v===void 0?t.state.floatingElement:v;t.useSyncedValue("referenceElement",f??null),t.useSyncedValue("domReferenceElement",f===void 0?a:T),t.useSyncedValue("floatingElement",I);const A=m.useCallback(F=>{const L=Un(F)?{getBoundingClientRect:()=>F.getBoundingClientRect(),getClientRects:()=>F.getClientRects(),contextElement:F}:F;c(L),S.refs.setReference(L)},[S.refs]),w=m.useCallback(F=>{(Un(F)||F===null)&&(y.current=F,p(F)),(Un(S.refs.reference.current)||S.refs.reference.current===null||F!==null&&!Un(F))&&S.refs.setReference(F)},[S.refs,p]),R=m.useCallback(F=>{g(F),S.refs.setFloating(F)},[S.refs]),x=m.useMemo(()=>({...S.refs,setReference:w,setFloating:R,setPositionReference:A,domReference:y}),[S.refs,w,R,A]),D=m.useMemo(()=>({...S.elements,domReference:a}
1963),[S.elements,a]),M=m.useMemo(()=>({...S,dataRef:t.context.dataRef,open:s,onOpenChange:t.setOpen,events:t.context.events,floatingId:l,refs:x,elements:D,nodeId:n,rootStore:t}),[S,x,D,n,t,s,l]);return Vt(()=>{a&&(y.current=a)},[a]),Vt(()=>{t.context.dataRef.current.floatingContext=M;const F=k?.nodesRef.current.find(L=>L.id===n);F&&(F.context=M)}),m.useMemo(()=>({...S,context:M,refs:x,elements:D,rootStore:t}),[S,x,D,M,t])}const wR=BX&&bd;function NWe(e,t={}){const{enabled:n=!0,delay:r}=t,i="rootStore"in e?e.rootStore:e,{events:o,dataRef:a}=i.context,s=m.useRef(!1),l=m.useRef(null),u=m.useRef(!0),c=el();m.useEffect(()=>{const p=i.select("domReferenceElement");if(!n)return;const v=ti(p);function g(){const E=i.select("domReferenceElement");!i.select("open")&&Er(E)&&E===ea(hr(E))&&(s.current=!0,l.current=E)}function y(){u.current=!0}function k(){u.current=!1}return Vl(_n(v,"blur",g),wR&&_n(v,"keydown",y,!0),wR&&_n(v,"pointerdown",k,!0))},[i,n]),m.useEffect(()=>{if(!n)return;function p(v){if(v.reason===yk||v.reason===kk){const g=i.select("domReferenceElement");Un(g)&&(l.current=g,s.current=!0)}}return o.on("openchange",p),()=>{o.off("openchange",p)}},[o,n,i]);const f=m.useMemo(()=>{function p(){s.current=!1,l.current=null}return{onMouseLeave(){p()},onFocus(v){const g=v.currentTarget;if(s.current){if(l.current===g)return;p()}const y=Pi(v.nativeEvent);if(Un(y)){if(wR&&!v.relatedTarget){if(!u.current&&!sA(y))return}else if(!ize(y))return}const k=QE(v.relatedTarget,i.context.triggerElements),{nativeEvent:E,currentTarget:S}=v,T=typeof r=="function"?r():r;if(i.select("open")&&k||T===0||T===void 0){i.setOpen(!0,gn(LS,E,S));return}c.start(T,()=>{s.current||i.setOpen(!0,gn(LS,E,S))})},onBlur(v){p();const g=v.relatedTarget,y=v.nativeEvent,k=Un(g)&&g.hasAttribute(Ay("focus-guard"))&&g.getAttribute("data-type")==="outside";c.start(0,()=>{const E=i.select("domReferenceElement"),S=ea(hr(E));!g&&S===E||Zt(a.current.floatingContext?.refs.floating.current,S)||Zt(E,S)||k||QE(g??S,i.context.triggerElements)||i.setOpen(!1,gn(LS,y))})}}},[a,r,i,c]);return m.useMemo(()=>n?{reference:f,trigger:f}:{},[n,f])}class NM{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new Xs,this.restTimeout=new Xs,this.handleCloseOptions=void 0}static create(){return new NM}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose}const iT=new WeakMap;function oT(e){if(!e.performedPointerEventsMutation)return;const t=e.pointerEventsScopeElement;t&&iT.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty("pointer-events"),e.pointerEventsReferenceElement?.style.removeProperty("pointer-events"),e.pointerEventsFloatingElement?.style.removeProperty("pointer-events"),iT.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function xee(e,t){const{scopeElement:n,referenceElement:r,floatingElement:i}=t,o=iT.get(n);o&&o!==e&&oT(o),oT(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,iT.set(n,e),n.style.pointerEvents="none",r.style.pointerEvents="auto",i.style.pointerEvents="auto"}function RM(e){const t=e.context.dataRef.current,n=Oo(()=>t.hoverInteractionState??NM.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=n),aM(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function RWe(e,t={}){const{enabled:n=!0,closeDelay:r=0,nodeId:i}=t,o="rootStore"in e?e.rootStore:e,a=o.useState("open"),s=o.useState("floatingElement"),l=o.useState("domReferenceElement"),{dataRef:u}=o.context,c=jh(),f=fA(),p=RM(o),v=el(),g=_t(()=>GX(u.current.openEvent?.type,p.interactedInside)),y=_t(()=>aze(u.current.openEvent?.type)),k=_t(()=>{oT(p)});Vt(()=>{a||(p.pointerType=void 0,p.restTimeoutPending=!1,p.interactedInside=!1,k())},[a,p,k]),m.useEffect(()=>k,[k]),Vt(()=>{if(n&&a&&p.handleCloseOptions?.blockPointerEvents&&y()&&Un(l)&&s){const E=l,S=s,T=hr(s),I=c?.nodesRef.current.find(x=>x.id===f)?.context?.elements.floating;I&&(I.style.pointerEvents="");const A=p.pointerEventsScopeElement!==S?p.pointerEventsScopeElement:null,w=I!==S?I:null,R=p.handleCloseOptions?.getScope?.()??A??w??E.closest("[data-rootownerid]")??T.body;return xee(p,{scopeElement:R,referenceElement:E,floatingElement:S}),()=>{k()}}},[n,a,l,s,p,y,c,f,k]),m.useEffect(()=>{if(!n)return;function E(){return!!(c&&f&&cd(c.nodesRef.current,f).length>0)}function S(x){const D=Zf(r,"close",p.pointerType),M=()=>{o.setOpen(!1,gn(ra,x)),c?.events.emit("floating.closed",x)};D?p.openChangeTimeout.start(D,M):(p.openChangeTimeout.clear(),M())}function T(x){const D=Pi(x);if(!rze(D)){p.interactedInside=!1;return}p.interactedInside=D?.closest("[aria-haspopup]")!=null}function I(){p.openChangeTimeout.clear(),v.clear(),c?.events.off("floating.closed",w),k()}function A(x){if(E()&&c){c.events.on("floating.closed",w);return}if(QE(x.relatedTarget,o.context.triggerElements))return;const D=u.current.floatingContext?.nodeId??i,M=x.relatedTarget;if(!(c&&D&&Un(M)&&cd(c.nodesRef.current,D,!1).some(L=>Zt(L.context?.elements.floating,M)))){if(p.handler){p.handler(x);return}
1963k(),y()&&!g()&&S(x)}}function w(x){!c||!f||E()||v.start(0,()=>{c.events.off("floating.closed",w),o.setOpen(!1,gn(ra,x)),c.events.emit("floating.closed",x)})}const R=s;return Vl(R&&_n(R,"mouseenter",I),R&&_n(R,"mouseleave",A),R&&_n(R,"pointerdown",T,!0),()=>{c?.events.off("floating.closed",w)})},[n,s,o,u,r,i,y,g,k,p,c,f,v])}const xWe={current:null};function LWe(e,t={}){const{enabled:n=!0,delay:r=0,handleClose:i=null,mouseOnly:o=!1,restMs:a=0,move:s=!0,triggerElementRef:l=xWe,externalTree:u,isActiveTrigger:c=!0,getHandleCloseContext:f,isClosing:p,shouldOpen:v,guardStaleOpen:g=!1}=t,y="rootStore"in e?e.rootStore:e,{dataRef:k,events:E}=y.context,S=jh(u),T=RM(y),I=m.useRef(!1),A=Si(i),w=Si(r),R=Si(a),x=Si(n),D=Si(v),M=Si(p),F=_t(()=>GX(k.current.openEvent?.type,T.interactedInside)),L=_t(()=>D.current?.()!==!1),P=_t((H,G,O)=>{const V=y.context.triggerElements;if(V.hasElement(G))return!H||!Zt(H,G);if(!Un(O))return!1;const W=O;return V.hasMatchingElement(U=>Zt(U,W))&&(!H||!Zt(H,W))}),j=_t(()=>{if(!T.handler)return;hr(y.select("domReferenceElement")).removeEventListener("mousemove",T.handler),T.handler=void 0}),B=_t(()=>{oT(T)});return c&&(T.handleCloseOptions=i?.__options),m.useEffect(()=>j,[j]),m.useEffect(()=>{if(!n)return;function H(G){G.open?I.current=!1:(I.current=G.reason===ra,j(),T.openChangeTimeout.clear(),T.restTimeout.clear(),T.blockMouseMove=!0,T.restTimeoutPending=!1)}return E.on("openchange",H),()=>{E.off("openchange",H)}},[n,E,T,j]),m.useEffect(()=>{if(!n)return;function H(q,$=!0){const J=Zf(w.current,"close",T.pointerType);J?T.openChangeTimeout.start(J,()=>{y.setOpen(!1,gn(ra,q)),S?.events.emit("floating.closed",q)}):$&&(T.openChangeTimeout.clear(),y.setOpen(!1,gn(ra,q)),S?.events.emit("floating.closed",q))}const G=l.current??(c?y.select("domReferenceElement"):null);if(!Un(G))return;function O(q){if(T.openChangeTimeout.clear(),T.blockMouseMove=!1,o&&!Kc(T.pointerType))return;const $=cj(R.current),J=Zf(w.current,"open",T.pointerType),Z=Pi(q),Y=q.currentTarget??null,ee=y.select("domReferenceElement");let te=Y;if(Un(Z)&&!y.context.triggerElements.hasElement(Z)){for(const Ee of y.context.triggerElements.elements())if(Zt(Ee,Z)){te=Ee;break}}Un(Y)&&Un(ee)&&!y.context.triggerElements.hasElement(Y)&&Zt(Y,ee)&&(te=ee);const ce=te==null?!1:P(ee,te,Z),ne=y.select("open"),Ce=M.current?.()??y.select("transitionStatus")==="ending",ae=!ne&&Ce&&I.current,pe=!ce&&Un(te)&&Un(ee)&&Zt(ee,te)&&ae,ve=$>0&&!J,Se=ce&&(ne||ae)||pe,De=!ne||ce;if(Se){L()&&y.setOpen(!0,gn(ra,q,te));return}ve||(J?T.openChangeTimeout.start(J,()=>{De&&L()&&y.setOpen(!0,gn(ra,q,te))}):De&&L()&&y.setOpen(!0,gn(ra,q,te)))}function V(q){if(F()){B();return}j();const $=y.select("domReferenceElement"),J=hr($);T.restTimeout.clear(),T.restTimeoutPending=!1;const Z=k.current.floatingContext??f?.();if(QE(q.relatedTarget,y.context.triggerElements))return;
1963if(A.current&&Z){y.select("open")||T.openChangeTimeout.clear();const ee=l.current;T.handler=A.current({...Z,tree:S,x:q.clientX,y:q.clientY,onClose(){B(),j(),x.current&&!F()&&ee===y.select("domReferenceElement")&&H(q,!0)}}),J.addEventListener("mousemove",T.handler),T.handler(q);return}(T.pointerType!=="touch"||!Zt(y.select("floatingElement"),q.relatedTarget))&&H(q)}function W(q){Zt(G,q.relatedTarget)||(T.openChangeTimeout.clear(),T.restTimeout.clear(),T.restTimeoutPending=!1)}const U=g?_n(G,"mouseout",W):void 0;return s?Vl(_n(G,"mousemove",O,{once:!0}),_n(G,"mouseenter",O),_n(G,"mouseleave",V),U):Vl(_n(G,"mouseenter",O),_n(G,"mouseleave",V),U)},[j,B,k,w,y,n,A,T,c,P,F,o,s,R,l,S,x,f,M,L,g]),m.useMemo(()=>{if(!n)return;function H(G){T.pointerType=G.pointerType}return{onPointerDown:H,onPointerEnter:H,onMouseMove(G){const{nativeEvent:O}=G,V=G.currentTarget,W=y.select("domReferenceElement"),U=y.select("open"),q=P(W,V,G.target);if(o&&!Kc(T.pointerType))return;if(U&&q&&T.handleCloseOptions?.blockPointerEvents){const Z=y.select("floatingElement");if(Z){const Y=T.handleCloseOptions?.getScope?.()??V.ownerDocument.body;xee(T,{scopeElement:Y,referenceElement:V,floatingElement:Z})}}const $=cj(R.current);if(U&&!q||$===0||!q&&T.restTimeoutPending&&G.movementX**2+G.movementY**2<2)return;T.restTimeout.clear();function J(){if(T.restTimeoutPending=!1,F())return;const Z=y.select("open");!T.blockMouseMove&&(!Z||q)&&L()&&y.setOpen(!0,gn(ra,O,V))}T.pointerType==="touch"?qo.flushSync(()=>{J()}):q&&U?J():(T.restTimeoutPending=!0,T.restTimeout.start($,J))}}},[n,T,F,P,o,y,R,L])}const OWe="Escape";function Mj(e){return bd&&e.movementX===0&&e.movementY===0}function hA(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function L0(e,t){return hA(t,e===pM||e===aA,e===Rf||e===xf)}function NR(e,t,n){return hA(t,e===aA,n?e===Rf:e===xf)||e==="Enter"||e===" "||e===""}function PWe(e,t,n){return hA(t,n?e===Rf:e===xf,e===aA)}function _We(e,t,n,r){const i=n?e===xf:e===Rf,o=e===pM;return t==="both"||t==="horizontal"&&r?e===OWe:hA(t,i,o)}function DWe(e,t){const{listRef:n,activeIndex:r,onNavigate:i=()=>{},enabled:o=!0,selectedIndex:a=null,allowEscape:s=!1,loopFocus:l=!1,nested:u=!1,rtl:c=!1,virtual:f=!1,focusItemOnOpen:p="auto",focusItemOnHover:v=!0,openOnArrowKeyDown:g=!0,disabledIndices:y=void 0,orientation:k="vertical",parentOrientation:E,id:S,resetOnPointerLeave:T=!0,externalTree:I,grid:A}=t,w=A!=null,R="rootStore"in e?e.rootStore:e,x=R.useState("open"),D=R.useState("floatingElement"),M=R.useState("domReferenceElement"),F=R.context.dataRef,L=EL(D),P=SL(M),j=Si(L),B=fA(),H=jh(I),G=m.useRef(p),O=m.useRef(a??-1),V=m.useRef(null),W=m.useRef(!0),U=_t(be=>{i(O.current===-1?null:O.current,be)}),q=m.useRef(!!D),$=m.useRef(x),J=m.useRef(!1),Z=m.useRef(!1),Y=m.useRef(null),ee=Si(y),te=Si(x),ce=Si(a),ne=Si(T),Ce=Cy(),ae=Cy(),pe=_t(()=>{function be(ze){f?H?.events.emit("virtualfocus",ze):Y.current=PS(ze,{sync:J.current,preventScroll:!0})}const Ae=n.current[O.current],ke=Z.current;Ae&&be(Ae),(J.current?ze=>ze():ze=>Ce.request(ze))(()=>{const ze=n.current[O.current]||Ae;if(!ze)return;Ae||be(ze),Pe&&(ke||!W.current)&&ze.scrollIntoView?.({block:"nearest",inline:"nearest"})})});Vt(()=>{F.current.orientation=k},[F,k]),Vt(()=>{o&&(x&&D?(O.current=a??-1,G.current&&a!=null&&(Z.current=!0,U())):q.current&&(O.current=-1,U())
1963)},[o,x,D,a,U]),Vt(()=>{if(o){if(!x){J.current=!1;return}if(D)if(r==null){if(J.current=!1,ce.current!=null)return;if(q.current&&(O.current=-1,pe()),(!$.current||!q.current)&&G.current&&(V.current!=null||G.current===!0&&V.current==null)){let be=0;const Ae=()=>{n.current[0]==null?(be<2&&(be?ue=>ae.request(ue):queueMicrotask)(Ae),be+=1):(O.current=V.current==null||NR(V.current,k,c)||u?OS(n):AL(n),V.current=null,U())};Ae()}}else $c(n.current,r)||(O.current=r,pe(),Z.current=!1)}},[o,x,D,r,ce,u,n,k,c,U,pe,ae]),Vt(()=>{if(!o||D||!H||f||!q.current)return;const be=H.nodesRef.current,Ae=be.find(ze=>ze.id===B)?.context?.elements.floating,ke=ea(hr(M??Ae??null)),ue=be.some(ze=>ze.context&&Zt(ze.context.elements.floating,ke));Ae&&!ue&&W.current&&Ae.focus({preventScroll:!0})},[o,D,M,H,B,f]),Vt(()=>{$.current=x,q.current=!!D}),Vt(()=>{x||(V.current=null,G.current=p)},[x,p]);const ve=r!=null,Se=_t(be=>{if(!te.current)return;const Ae=n.current.indexOf(be.currentTarget);Ae!==-1&&(O.current!==Ae||r!==Ae)&&(O.current=Ae,U(be))}),De=_t(()=>E??H?.nodesRef.current.find(be=>be.id===B)?.context?.dataRef?.current.orientation),Ee=_t(()=>OS(n,ee.current)),ye=_t(be=>{if(W.current=!1,J.current=!0,be.which===229||!te.current&&be.currentTarget===j.current)return;if(u&&_We(be.key,k,c,w)){L0(be.key,De())||zi(be),R.setOpen(!1,gn(TL,be.nativeEvent)),Er(M)&&(f?H?.events.emit("virtualfocus",M):M.focus());return}const Ae=O.current,ke=OS(n,y),ue=AL(n,y);if(P||(be.key==="Home"&&(zi(be),O.current=ke,U(be)),be.key==="End"&&(zi(be),O.current=ue,U(be))),A!=null){const ze=A(be,O.current,n,k,l,c,y,ke,ue);if(ze!=null&&(O.current=ze,U(be)),k==="both")return}if(L0(be.key,k)){if(zi(be),x&&!f&&ea(be.currentTarget.ownerDocument)===be.currentTarget){O.current=NR(be.key,k,c)?ke:ue,U(be);return}NR(be.key,k,c)?l?Ae>=ue?s&&Ae!==n.current.length?O.current=-1:(J.current=!1,O.current=ke):O.current=to(n.current,{startingIndex:Ae,disabledIndices:y}):O.current=Math.min(ue,to(n.current,{startingIndex:Ae,disabledIndices:y})):l?Ae<=ke?s&&Ae!==-1?O.current=n.current.length:(J.current=!1,O.current=ue):O.current=to(n.current,{startingIndex:Ae,decrement:!0,disabledIndices:y}):O.current=Math.max(ke,to(n.current,{startingIndex:Ae,decrement:!0,disabledIndices:y})),$c(n.current,O.current)&&(O.current=-1),U(be)}}),Pe=m.useMemo(()=>({onFocus(Ae){J.current=!0,Se(Ae)},onClick:({currentTarget:Ae})=>Ae.focus({preventScroll:!0}),onMouseMove(Ae){Mj(Ae)||(J.current=!0,Z.current=!1,v&&Se(Ae))},onPointerLeave(Ae){if(!te.current||!W.current||Ae.pointerType==="touch")return;J.current=!0;const ke=Ae.relatedTarget;if(!(!v||n.current.includes(ke))&&ne.current&&(Y.current?.(),Y.current=null,O.current=-1,U(Ae),!f)){const ue=j.current,ze=ea(hr(ue));ue&&Zt(ue,ze)&&ue.focus({preventScroll:!0})}}}),[Se,te,j,v,n,U,ne,f]),Me=m.useMemo(()=>f&&x&&ve&&{"aria-activedescendant":`${S}-${r}`},[f,x,ve,S,r]),Qe=m.useMemo(()=>({...P?{}:Me,onKeyDown(be){if(be.key==="Tab"&&be.shiftKey&&x&&!f){const Ae=Pi(be.nativeEvent);if(Ae&&!Zt(j.current,Ae))return;zi(be),R.setOpen(!1,gn(lA,be.nativeEvent)),Er(M)&&M.focus();return}ye(be)},onPointerMove(be){Mj(be)||(W.current=!0)}}),[Me,ye,j,P,R,x,f,M]),Fe=m.useMemo(()=>{function be(ue){R.setOpen(!0,gn(TL,ue.nativeEvent,ue.currentTarget))}function Ae(ue){p==="auto"&&lM(ue.nativeEvent)&&(G.current=!f)}function ke(ue){G.current=p,p==="auto"&&uM(ue.nativeEvent)&&(G.current=!0)}return{onKeyDown(ue){const ze=R.select("open");W.current=!1;const et=ue.key.startsWith("Arrow"),lt=PWe(ue.key,De(),c),xe=L0(ue.key,k),We=(u?lt:xe)||ue.key==="Enter"||ue.key.trim()==="";if(f&&ze)return ye(ue);if(!(!ze&&!g&&et)){if(We){const X=L0(ue.key,De());V.current=u&&X?null:ue.key}if(u){lt&&(zi(ue),ze?(O.current=Ee(),U(ue)):be(ue));return}xe&&(ce.current!=null&&(O.current=ce.current),zi(ue),!ze&&g?be(ue):ye(ue),ze&&U(ue))}},onFocus(ue){R.select("open")&&!f&&(O.current=-1,U(ue))},onPointerDown:ke,onPointerEnter:ke,onMouseDown:Ae,onClick:Ae}},[ye,p,Ee,u,U,R,g,k,De,c,ce,f]),Ve=m.useMemo(()=>({...Me,...Fe}),[Me,Fe]);return m.useMemo(()=>o?{reference:Ve,floating:Qe,item:Pe,trigger:Fe}:{},[o,Ve,Qe,Fe,Pe])}function MWe(e,t){const{listRef:n,elementsRef:r,activeIndex:i,onMatch:o,disabledIndices:a,onTyping:s,enabled:l=!0,resetMs:u=750,selectedIndex:c=null}=t,f="rootStore"in e?e.rootStore:e,p=f.useState("open"),v=el(),g=m.useRef(""),y=m.useRef(c??i??-1),k=m.useRef(null),E=_t(
1963I=>{function A(j){return r?.current[j]}function w(j){const B=A(j);return B&&!uA(B)||B?.matches(":disabled")?!1:a==null||!Jc(ds,j,a)}function R(j,B,H=0){if(j.length===0)return-1;const G=(H%j.length+j.length)%j.length,O=B.toLowerCase();for(let V=0;V<j.length;V+=1){const W=(G+V)%j.length;if(!(!j[W]?.toLowerCase().startsWith(O)||!w(W)))return W}return-1}const x=n.current;if(g.current.length>0&&I.key===" "&&(zi(I),s?.(!0)),g.current.length>0&&g.current[0]!==" "&&R(x,g.current)===-1&&I.key!==" "&&s?.(!1),x==null||I.key.length!==1||I.ctrlKey||I.metaKey||I.altKey)return;p&&I.key!==" "&&(zi(I),s?.(!0));const D=g.current==="";D&&(y.current=c??i??-1),x.every((j,B)=>j&&w(B)?j[0]?.toLowerCase()!==j[1]?.toLowerCase():!0)&&g.current===I.key&&(g.current="",y.current=k.current),g.current+=I.key,v.start(u,()=>{g.current="",y.current=k.current,s?.(!1)});const L=((D?c??i??-1:y.current)??0)+1,P=R(x,g.current,L);P!==-1?(o?.(P),k.current=P):I.key!==" "&&(g.current="",s?.(!1))}),S=_t(I=>{const A=I.relatedTarget,w=f.select("domReferenceElement"),R=f.select("floatingElement");Zt(w,A)||Zt(R,A)||(v.clear(),g.current="",y.current=k.current,s?.(!1))});Vt(()=>{!p&&c!==null||(v.clear(),k.current=null,g.current!==""&&(g.current=""))},[p,c,v]);const T=m.useMemo(()=>({onKeyDown:E,onBlur:S}),[E,S]);return m.useMemo(()=>l?{reference:T,floating:T}:{},[l,T])}const Fj=.1,FWe=Fj*Fj,br=.5;function O0(e,t,n,r,i,o){return r>=t!=o>=t&&e<=(i-n)*(t-r)/(o-r)+n}function P0(e,t,n,r,i,o,a,s,l,u){let c=!1;return O0(e,t,n,r,i,o)&&(c=!c),O0(e,t,i,o,a,s)&&(c=!c),O0(e,t,a,s,l,u)&&(c=!c),O0(e,t,l,u,n,r)&&(c=!c),c}function UWe(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function _0(e,t,n,r,i,o){const a=Math.min(n,i),s=Math.max(n,i),l=Math.min(r,o),u=Math.max(r,o);return e>=a&&e<=s&&t>=l&&t<=u}function VWe(e={}){const{blockPointerEvents:t=!1}=e,n=new Xs,r=({x:i,y:o,placement:a,elements:s,onClose:l,nodeId:u,tree:c})=>{const f=a?.split("-")[0];let p=!1,v=null,g=null,y=typeof performance<"u"?performance.now():0;function k(S,T){const I=performance.now(),A=I-y;if(v===null||g===null||A===0)return v=S,g=T,y=I,!1;const w=S-v,R=T-g,x=w*w+R*R,D=A*A*FWe;return v=S,g=T,y=I,x<D}function E(){n.clear(),l()}return function(T){n.clear();const I=s.domReference,A=s.floating;if(!I||!A||f==null||i==null||o==null)return;const{clientX:w,clientY:R}=T,x=Pi(T),D=T.type==="mouseleave",M=Zt(A,x),F=Zt(I,x);if(M&&(p=!0,!D))return;if(F&&(p=!1,!D)){p=!0;return}if(D&&Un(T.relatedTarget)&&Zt(A,T.relatedTarget))return;function L(){return!!(c&&cd(c.nodesRef.current,u).length>0)}function P(){L()||E()}if(L())return;const j=I.getBoundingClientRect(),B=A.getBoundingClientRect(),H=i>B.right-B.width/2,G=o>B.bottom-B.height/2,O=B.width>j.width,V=B.height>j.height,W=(O?j:B).left,U=(O?j:B).right,q=(V?j:B).top,$=(V?j:B).bottom;if(f==="top"&&o>=j.bottom-1||f==="bottom"&&o<=j.top+1||f==="left"&&i>=j.right-1||f==="right"&&i<=j.left+1){P();return}let J=!1;switch(f){case"top":J=_0(w,R,W,j.top+1,U,B.bottom-1);break;case"bottom":J=_0(w,R,W,B.top+1,U,j.bottom-1);break;case"left":J=_0(w,R,B.right-1,$,j.left+1,q);break;case"right":J=_0(w,R,j.right-1,$,B.left+1,q);break}if(J)return;if(p&&!UWe(w,R,j)){P();return}if(!D&&k(w,R)){P();return}let Z=!1;switch(f){case"top":{const Y=O?br/2:br*4,ee=O||H?i+Y:i-Y,te=O?i-Y:H?i+Y:i-Y,ce=o+br+1,ne=H||O?B.bottom-br:B.top,Ce=H?O?B.bottom-br:B.top:B.bottom-br;Z=P0(w,R,ee,ce,te,ce,B.left,ne,B.right,Ce);break}case"bottom":{const Y=O?br/2:br*4,ee=O||H?i+Y:i-Y,te=O?i-Y:H?i+Y:i-Y,ce=o-br,ne=H||O?B.top+br:B.bottom,Ce=H?O?B.top+br:B.bottom:B.top+br;Z=P0(w,R,ee,ce,te,ce,B.left,ne,B.right,Ce);break}case"left":{const Y=V?br/2:br*4,ee=V||G?o+Y:o-Y,te=V?o-Y:G?o+Y:o-Y,ce=i+br+1,ne=G||V?B.right-br:B.left,Ce=G?V?B.right-br:B.left:B.right-br;Z=P0(w,R,ne,B.top,Ce,B.bottom,ce,ee,ce,te);break}case"right":{const Y=V?br/2:br*4,ee=V||G?o+Y:o-Y,te=V?o-Y:G?o+Y:o-Y,ce=i-br,ne=G||V?B.left+br:B.right,Ce=G?V?B.left+br:B.right:B.left+br;Z=P0(w,R,ce,ee,ce,te,ne,B.top,Ce,B.bottom);break}}Z?p||n.start(40,P):P()}};return r.__options={...e,blockPointerEvents:t},r}const BWe={...TWe,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};
1963class jWe extends AM{constructor(t,n,r){const i=new Nee;super(zWe(t,i,n,r),HWe(i),BWe)}setOpen=(t,n)=>{gWe(this,t,n,{extraState:{openChangeReason:n.reason}})};cancelPendingOpen(t){this.state.floatingRootContext.dispatchOpenChange(!1,gn(yk,t))}}function zWe(e,t,n,r=!1){return{...SWe(t,n,r),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}function HWe(e){return{popupRef:m.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}const WWe=UX(function(t){const{disabled:n=!1,defaultOpen:r=!1,open:i,disableHoverablePopup:o=!1,trackCursorAxis:a="none",actionsRef:s,onOpenChange:l,onOpenChangeComplete:u,handle:c,triggerId:f,defaultTriggerId:p=null,children:v}=t,g=dWe((F,L)=>new jWe({open:r,openProp:i,activeTriggerId:p,triggerIdProp:f},F,L));g.useControlledProp("openProp",i),g.useControlledProp("triggerIdProp",f),g.useContextCallback("onOpenChange",l),g.useContextCallback("onOpenChangeComplete",u);const y=g.useState("open"),k=!n&&y,E=g.useState("activeTriggerId"),S=g.useState("mounted"),T=g.useState("payload");g.useSyncedValues({trackCursorAxis:a,disableHoverablePopup:o,disabled:n}),yWe(g,{closeOnActiveTriggerUnmount:!0});const{forceUnmount:I,transitionStatus:A}=kWe(k,g),w=g.useState("isInstantPhase"),R=g.useState("instantType"),x=g.useState("lastOpenChangeReason"),D=m.useRef(null);Vt(()=>{y&&n&&g.setOpen(!1,gn(cze))},[y,n,g]),Vt(()=>{A==="ending"&&x===Vo||A!=="ending"&&w?(R!=="delay"&&(D.current=R),g.set("instantType","delay")):D.current!==null&&(g.set("instantType",D.current),D.current=null)},[A,w,x,R,g]),Vt(()=>{k&&E==null&&g.set("payload",void 0)},[g,E,k]),m.useImperativeHandle(s,()=>({unmount:I,close:()=>g.setOpen(!1,gn(dze))}),[I,g]);const M=k||S||!n&&a!=="none";return b.jsxs(VX.Provider,{value:g,children:[c&&b.jsx(fWe,{handle:c,store:g}),M&&b.jsx(qWe,{store:g,disabled:n,trackCursorAxis:a}),typeof v=="function"?v({payload:T}):v]})});function qWe({store:e,disabled:t,trackCursorAxis:n}){const r=e.useState("floatingRootContext"),i=vee(r,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),o=pHe(r,{enabled:!t&&n!=="none",axis:n==="none"?void 0:n}),a=m.useMemo(()=>qc(o.reference,i.reference),[o.reference,i.reference]);return bWe(e,{activeTriggerProps:a,inactiveTriggerProps:a,popupProps:i.floating??vi}),null}function gA(e){return dA(e,"base-ui")}const Lee=m.createContext(void 0);function GWe(){return m.useContext(Lee)}const KWe=600,Oee="data-base-ui-tooltip-trigger";function Uj(e){if("composedPath"in e){const n=e.composedPath();for(let r=0;r<n.length;r+=1){const i=n[r];if(Un(i))return i}}const t=e.target;return Un(t)?t:null}function YWe(e){let t=e;for(;t;){const n=t.closest(`[${Oee}]`);if(n)return n;const r=t.getRootNode();t="host"in r&&Un(r.host)?r.host:null}return null}const Vj=A7e(function(t,n){const{render:r,className:i,style:o,handle:a,payload:s,disabled:l,delay:u,closeOnClick:c=!0,closeDelay:f,id:p,...v}=t,g=eA(!0),k=CWe(a)??g;if(!k)throw new Error(Ba(82));const E=gA(p),S=k.useState("isTriggerActive",E),T=k.useState("isOpenedByTrigger",E),I=k.useState("floatingRootContext"),A=m.useRef(null),w=f??0,{registerTrigger:R,isMountedByThisTrigger:x}=vWe(E,A,k,{payload:s,closeOnClick:c,closeDelay:w}),D=GWe(),{activeIdRef:M,delayRef:F,isInstantPhase:L,hasProvider:P}=hze(I,{open:T}),j=RM(I);k.useSyncedValue("isInstantPhase",L);const B=k.useState("disabled"),H=l??B,G=Si(H),O=k.useState("trackCursorAxis"),V=k.useState("disableHoverablePopup"),W=m.useRef(!1),U=el(),q=m.useRef(void 0);function $(){return P&&M.current!=null?0:u??D??KWe}function J(pe){const ve=A.current;if(!ve||!pe)return!1;const Se=YWe(pe);return Se!==null&&Se!==ve&&Zt(ve,Se)}function Z(pe){const ve=J(pe);return W.current=ve,ve&&(j.openChangeTimeout.clear(),j.restTimeout.clear(),j.restTimeoutPending=!1,U.clear()),ve}const Y=LWe(I,{enabled:!H,mouseOnly:!0,move:!1,handleClose:!V&&O!=="both"?VWe():null,restMs:$,delay(){return f==null&&P?{close:Zf(F.current,"close")}:{close:w}},triggerElementRef:A,isActiveTrigger:S,isClosing:()=>k.select("transitionStatus")==="ending",shouldOpen(){return!W.current}}),ee=NWe(I,{enabled:!H}).reference,te=pe=>{const ve=W.current,Se=Uj(pe),De=Z(Se),Ee=A.current,ye=Ee&&Se&&Zt(Ee,Se);
1963if(De&&k.select("open")&&k.select("lastOpenChangeReason")===ra){k.setOpen(!1,gn(ra,pe));return}if(ve&&!De&&ye&&!G.current&&!k.select("open")&&Ee&&Kc(q.current)){const Pe=()=>{!W.current&&!G.current&&!k.select("open")&&k.setOpen(!0,gn(ra,pe,Ee))},Me=$();Me===0?(U.clear(),Pe()):U.start(Me,Pe)}},ce=k.useState("triggerProps",x);return ja("button",t,{state:{open:T},ref:[n,R,A],props:[Y,ee,x||O!=="none"?ce:void 0,{onMouseOver(pe){te(pe.nativeEvent)},onFocus(pe){J(Uj(pe.nativeEvent))&&pe.preventBaseUIHandler()},onMouseLeave(){W.current=!1,U.clear(),q.current=void 0},onPointerEnter(pe){q.current=pe.pointerType},onPointerDown(pe){q.current=pe.pointerType,k.set("closeOnClick",c),c&&!k.select("open")&&k.cancelPendingOpen(pe.nativeEvent)},onClick(pe){c&&!k.select("open")&&k.cancelPendingOpen(pe.nativeEvent)},id:E,[bL]:H?"":void 0,[Oee]:H?void 0:""},v],stateAttributesMapping:X7e})}),Pee=m.createContext(void 0);function $We(){const e=m.useContext(Pee);if(e===void 0)throw new Error(Ba(70));return e}const JWe=m.forwardRef(function(t,n){const{children:r,container:i,className:o,render:a,style:s,...l}=t,{node:u,subtree:c}=hee({container:i,ref:n,componentProps:t,elementProps:l});return!c&&!u?null:b.jsxs(m.Fragment,{children:[c,u&&qo.createPortal(r,u)]})}),ZWe=m.forwardRef(function(t,n){const{keepMounted:r=!1,...i}=t;return eA().useState("mounted")||r?b.jsx(Pee.Provider,{value:r,children:b.jsx(JWe,{ref:n,...i})}):null}),_ee=m.createContext(void 0);function QWe(){const e=m.useContext(_ee);if(e===void 0)throw new Error(Ba(71));return e}const Dee=m.createContext(void 0);function vA(){return m.useContext(Dee)?.direction??"ltr"}const XWe=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0,offsetParent:f="real"}=ud(e,t)||{};if(u==null)return{};const p=tee(c),v={x:n,y:r},g=bM(i),y=kM(g),k=await a.getDimensions(u),E=g==="y",S=E?"top":"left",T=E?"bottom":"right",I=E?"clientHeight":"clientWidth",A=o.reference[y]+o.reference[g]-v[g]-o.floating[y],w=v[g]-o.reference[g],R=f==="real"?await a.getOffsetParent?.(u):s.floating;let x=s.floating[I]||o.floating[y];(!x||!await a.isElement?.(R))&&(x=s.floating[I]||o.floating[y]);const D=A/2-w/2,M=x/2-k[y]/2-1,F=Math.min(p[S],M),L=Math.min(p[T],M),P=F,j=x-k[y]-L,B=x/2-k[y]/2+D,H=eee(P,B,j),G=!l.arrow&&Bu(i)!=null&&B!==H&&o.reference[y]/2-(B<P?F:L)-k[y]/2<0,O=G?B<P?B-P:B-j:0;return{[g]:v[g]+O,data:{[g]:H,centerOffset:B-H-O,...G&&{alignmentOffset:O}},reset:G}}}),eqe=(e,t)=>{const{name:n,fn:r}=XWe(e);return{name:n,fn:r,options:[e,t]}},tqe={name:"hide",async fn(e){const{width:t,height:n,x:r,y:i}=e.rects.reference,o=t===0&&n===0&&r===0&&i===0,a=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:a.top-n>=0||a.right-t>=0||a.bottom-n>=0||a.left-t>=0||o}}}},nqe={sideX:"left",sideY:"top"},rqe="--available-width",iqe="--available-height",oqe="--anchor-width",aqe="--anchor-height",sqe="--transform-origin",Bj=rqe,jj=iqe;function Mee(e,t,n){const r=e==="inline-start"||e==="inline-end";return{top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"}[t]}function zj(e,t,n){const{rects:r,placement:i}=e;return{side:Mee(t,ks(i),n),align:Bu(i)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function Fee(e){return lqe(e,IWe)}function lqe(e,t){const{anchor:n,positionMethod:r="absolute",side:i="bottom",sideOffset:o=0,align:a="center",alignOffset:s=0,collisionBoundary:l,collisionPadding:u=5,sticky:c=!1,arrowPadding:f=5,disableAnchorTracking:p=!1,inline:v,keepMounted:g=!1,floatingRootContext:y,mounted:k,collisionAvoidance:E,shift:S,nodeId:T,adaptiveOrigin:I,lazyFlip:A=!1,externalTree:w}=e,[R,x]=m.useState(null);!k&&R!==null&&x(null);const D=E.side||"flip",M=E.align||"flip",F=E.fallbackAxisSide||"end",L=S?.crossAxis??!1,P=S?.rootBoundary,j=typeof n=="function"?n:void 0,B=_t(j),H=j?B:n,G=Si(n),O=Si(k),W=vA()==="rtl",U=R||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":W?"left":"right","inline-start":W?"right":"left"}[i],q=a==="center"?U:`${U}-${a}`;let $=u;typeof $=="number"?$={top:$,right:$,bottom:$,left:$}
1963:$&&($={top:$.top||0,right:$.right||0,bottom:$.bottom||0,left:$.left||0});const J=1,Z=i==="bottom"?J:0,Y=i==="top"?J:0,ee=i==="right"?J:0,te=i==="left"?J:0,ce={boundary:l==="clipping-ancestors"?"clippingAncestors":l,padding:$},ne=m.useRef(null),Ce=Si(o),ae=Si(s),pe=typeof o!="function"?o:0,ve=typeof s!="function"?s:0,Se=[];v&&Se.push(v),Se.push(JHe(Je=>{const Pt=zj(Je,i,W),Ht=typeof Ce.current=="function"?Ce.current(Pt):Ce.current,fn=typeof ae.current=="function"?ae.current(Pt):ae.current;return{mainAxis:Ht,crossAxis:fn,alignmentAxis:fn}},[pe,ve,W,i]));const De=M==="none"&&D!=="shift",Ee=!De&&(c||L||D==="shift"),ye=D==="none"?null:XHe({...ce,padding:{top:$.top+J+Z,right:$.right+J+te,bottom:$.bottom+J+Y,left:$.left+J+ee},mainAxis:!L&&D==="flip",crossAxis:M==="flip"?"alignment":!1,fallbackAxisSideDirection:F}),Pe=De?null:ZHe({...ce,rootBoundary:P,mainAxis:M!=="none",crossAxis:Ee,limiter:c||L?void 0:QHe(Je=>{if(!ne.current)return{};const{width:Pt,height:Ht}=ne.current.getBoundingClientRect(),fn=fs(ks(Je.placement)),Sn=fn==="y"?Pt:Ht,Lt=fn==="y"?$.left+$.right:$.top+$.bottom;return{offset:Sn/2+Lt/2}})},[ce,c,L,P,$,M]);D==="shift"||M==="shift"||a==="center"?Se.push(Pe,ye):Se.push(ye,Pe),Se.push(eWe({...ce,apply({elements:{floating:Je},availableWidth:Pt,availableHeight:Ht,rects:fn}){if(!O.current)return;const Sn=Je.style;Sn.setProperty(Bj,`${Pt}px`),Sn.setProperty(jj,`${Ht}px`);const Lt=ti(Je).devicePixelRatio||1,{x:nn,y:Dn,width:Bn,height:Rn}=fn.reference,Pn=(Math.round((nn+Bn)*Lt)-Math.round(nn*Lt))/Lt,se=(Math.round((Dn+Rn)*Lt)-Math.round(Dn*Lt))/Lt;Sn.setProperty(oqe,`${Pn}px`),Sn.setProperty(aqe,`${se}px`)}}),eqe(Je=>({element:ne.current||hr(Je.elements.floating).createElement("div"),padding:ne.current?f:0,offsetParent:"floating"}),[f]),{name:"transformOrigin",fn(Je){const{elements:{floating:Pt},middlewareData:Ht,placement:fn,platform:Sn,rects:Lt,y:nn}=Je,Dn=ks(fn),Bn=Bu(fn),Rn=fs(Dn)==="y",Pn=ne.current,se=typeof o=="function"?o(zj(Je,i,W)):o;let re;if(!Pn&&Bn&&Math.abs(Rn?Ht.shift?.x||0:Ht.shift?.y||0)<=1)re=Bn==="start"===(Rn&&Sn.isRTL?.(Pt)===!0)?"100%":"0%";else{const je=Rn?Ht.arrow?.x||0:Ht.arrow?.y||0,Ge=Rn?Pn?.clientWidth||0:Pn?.clientHeight||0;re=`${je+Ge/2}px`}let ge=Dn==="top"||Dn==="left"?`calc(100% + ${se}px)`:`${-se}px`;return Ee&&Rn&&Math.abs(Ht.shift?.y||0)>se&&(ge=`${Lt.reference.y+Lt.reference.height/2-nn}px`),Pt.style.setProperty(sqe,Rn?`${re} ${ge}`:`${ge} ${re}`),{}}},tqe,I),Vt(()=>{!k&&y&&y.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[k,y]);const Me=m.useMemo(()=>({ancestorScroll:!p,elementResize:!p&&typeof ResizeObserver<"u",layoutShift:!p&&typeof IntersectionObserver<"u"}),[p]),{refs:Qe,elements:Fe,x:Ve,y:be,middlewareData:Ae,update:ke,placement:ue,context:ze,isPositioned:et,floatingStyles:lt}=t({rootContext:y,open:g?k:void 0,placement:q,middleware:Se,strategy:r,whileElementsMounted:g?void 0:(...Je)=>Oj(...Je,Me),nodeId:T,externalTree:w}),{sideX:xe,sideY:We}=Ae.adaptiveOrigin||nqe,X=et?r:"fixed",de=m.useMemo(()=>{let Je;return et?I?Je={position:X,[xe]:Ve,[We]:be}:Je={...lt,position:X}:Je={position:X,top:0,left:0},Je[Bj]="100vw",Je[jj]="100vh",et||(Je.opacity=0),Je},[I,X,xe,Ve,We,be,lt,et]),ie=m.useRef(null);Vt(()=>{if(!k)return;const Je=G.current,Pt=typeof Je=="function"?Je():Je,fn=(Hj(Pt)?Pt.current:Pt)||null||null;fn!==ie.current&&(Qe.setPositionReference(fn),ie.current=fn)},[k,Qe,H,G]),m.useEffect(()=>{if(!k)return;const Je=G.current;typeof Je!="function"&&Hj(Je)&&Je.current!==ie.current&&(Qe.setPositionReference(Je.current),ie.current=Je.current)},[k,Qe,H,G]),m.useEffect(()=>{if(g&&k&&Fe.reference&&Fe.floating)return Oj(Fe.reference,Fe.floating,ke,Me)},[g,k,Fe,ke,Me]);const Re=ks(ue),Be=Mee(i,Re,W),tt=Bu(ue)||"center",at=!!Ae.hide?.referenceHidden;Vt(()=>{A&&k&&et&&Re!==U&&x(Re)},[A,k,et,Re,U]);const ot=m.useMemo(()=>({position:"absolute",top:Ae.arrow?.y,left:Ae.arrow?.x}),[Ae.arrow]),ft=Ae.arrow?.centerOffset!==0;return m.useMemo(()=>({positionerStyles:de,arrowStyles:ot,arrowRef:ne,arrowUncentered:ft,side:Be,align:tt,physicalSide:Re,anchorHidden:at,refs:
1963Qe,context:ze,isPositioned:et,update:ke}),[de,ot,ne,ft,Be,tt,Re,at,Qe,ze,et,ke])}function Hj(e){return e!=null&&"current"in e}function xM(e){return e==="starting"?Xze:vi}function Uee(e,t,{styles:n,transitionStatus:r,props:i,refs:o,hidden:a,inert:s=!1}){const l={...n};return s&&(l.pointerEvents="none"),ja("div",e,{state:t,ref:o,props:[{role:"presentation",hidden:a,style:l},xM(r),i],stateAttributesMapping:mM})}const uqe=m.forwardRef(function(t,n){const{render:r,className:i,anchor:o,positionMethod:a="absolute",side:s="top",align:l="center",sideOffset:u=0,alignOffset:c=0,collisionBoundary:f="clipping-ancestors",collisionPadding:p=5,arrowPadding:v=5,sticky:g=!1,disableAnchorTracking:y=!1,collisionAvoidance:k=nHe,style:E,...S}=t,T=eA(),I=$We(),A=T.useState("open"),w=T.useState("mounted"),R=T.useState("trackCursorAxis"),x=T.useState("disableHoverablePopup"),D=T.useState("floatingRootContext"),M=T.useState("instantType"),F=T.useState("transitionStatus"),L=T.useState("adaptiveOrigin"),P=Fee({anchor:o,positionMethod:a,floatingRootContext:D,mounted:w,side:s,sideOffset:u,align:l,alignOffset:c,collisionBoundary:f,collisionPadding:p,sticky:g,arrowPadding:v,disableAnchorTracking:y,keepMounted:I,collisionAvoidance:k,adaptiveOrigin:L}),j=m.useMemo(()=>({open:A,side:P.side,align:P.align,anchorHidden:P.anchorHidden,instant:R!=="none"?"tracking-cursor":M}),[A,P.side,P.align,P.anchorHidden,R,M]),B=Uee(t,j,{styles:P.positionerStyles,transitionStatus:F,props:S,refs:[n,T.useStateSetter("positionerElement")],hidden:!w,inert:!A||R==="both"||x});return b.jsx(_ee.Provider,{value:P,children:B})}),cqe=m.forwardRef(function(t,n){const{render:r,className:i,style:o,...a}=t,s=eA(),{side:l,align:u}=QWe(),c=s.useState("open"),f=s.useState("instantType"),p=s.useState("transitionStatus"),v=s.useState("popupProps"),g=s.useState("floatingRootContext"),y=s.useState("disabled"),k=s.useState("closeDelay");mA({open:c,ref:s.context.popupRef,onComplete(){c&&s.context.onOpenChangeComplete?.(!0)}}),RWe(g,{enabled:!y,closeDelay:k});const E=s.useStateSetter("popupElement");return ja("div",t,{state:{open:c,side:l,align:u,instant:f,transitionStatus:p},ref:[n,s.context.popupRef,E],props:[wee,v,xM(p),a],stateAttributesMapping:tze})}),dqe=function(t){const{delay:n,closeDelay:r,timeout:i=400}=t,o=m.useMemo(()=>({open:n,close:r}),[n,r]);return b.jsx(Lee.Provider,{value:n,children:b.jsx(mze,{delay:o,timeoutMs:i,children:t.children})})};function fqe(e){return EM(19)?e:e?"true":void 0}const pqe=function(t){const{direction:n="ltr"}=t,r=m.useMemo(()=>({direction:n}),[n]);return b.jsx(Dee.Provider,{value:r,children:t.children})},mqe=m.createContext({});function hqe(e){const t=m.useRef(null);return t.current===null&&(t.current=e()),t.current}const gqe=typeof window<"u",vqe=gqe?m.useLayoutEffect:m.useEffect,Vee=m.createContext(null);function yqe(e,t){e.indexOf(t)===-1&&e.push(t)}function kqe(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const ju=(e,t,n)=>n>t?t:n<e?e:n;let yA=()=>{};const zu={},LM=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),bqe=e=>typeof e=="object"&&e!==null,OM=e=>/^0[^.\s]+$/u.test(e);function Bee(e){let t;return()=>(t===void 0&&(t=e()),t)}const bk=e=>e,kA=(...e)=>e.reduce((t,n)=>r=>n(t(r))),jee=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class NL{constructor(){this.subscriptions=[]}add(t){return yqe(this.subscriptions,t),()=>this.remove(t)}remove(t){kqe(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const a=this.subscriptions[o];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Bl=e=>e*1e3,ps=e=>e/1e3,zee=(e,t)=>t?e*(1e3/t):0,Hee=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Sqe=1e-7,Eqe=12;function Tqe(e,t,n,r,i){let o,a,s=0;do a=t+(n-t)/2,o=Hee(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>Sqe&&++s<Eqe);return a}function Sk(e,t,n,r){if(e===t&&n===r)return bk;const i=o=>Tqe(o,0,1,e,n);return o=>o===0||o===1?o:Hee(i(o),t,r)}const Wee=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,qee=e=>t=>1-e(1-t),Gee=Sk(.33,1.53,.69,.99),PM=qee(Gee),Kee=Wee(PM),Yee=e=>e>=1?1:(e*=2)<1?.5*PM(e):.5*(2-Math.pow(2,-10*(e-1))),_M=e=>1-Math.sin(Math.acos(e)),Cqe=qee(_M),$ee=Wee(_M),Aqe=Sk(.42,0,1,1),Iqe=Sk(0,0,.58,1),Jee=Sk(.42,0,.58,1),wqe=e=>Array.isArray(e)&&typeof e[0]!="number",Zee=e=>Array.isArray(e)&&typeof e[0]=="number",Nqe={linear:bk,easeIn:Aqe,easeInOut:Jee,easeOut:Iqe,circIn:_M,circInOut:$ee,circOut:Cqe,backIn:PM,backInOut:Kee,backOut:Gee,anticipate:Yee},Rqe=e=>typeof e=="string",Wj=e=>{if(Zee(e)){yA(e.length===4);const[t,n,r,i]=e;return Sk(t,n,r,i)}else if(Rqe(e))return Nqe[e];return e},D0=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function xqe(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new Set;let a={delta:0,timestamp:0,isProcessing:!1};function s(u){o.has(u)&&(n.add(u),e()),u(a)}const l={schedule:(u,c=!1,f=!1)=>{const v=f&&r?t:n;return c&&o.add(u),v.add(u),u},cancel:u=>{n.delete(u),o.delete(u)},process:u=>{if(a=u,r){i=!0;return}r=!0;const c=t;t=n,n=c,t.forEach(s),t.clear(),r=!1,i&&(i=!1,l.process(u))}};return l}const Lqe=40;function Qee(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=D0.reduce((T,I)=>
vendor: 4,567 bytes, line 1963
1963(T[I]=xqe(o),T),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:p,render:v,postRender:g}=a,y=()=>{const T=zu.useManualTiming,I=T?i.timestamp:performance.now();n=!1,T||(i.delta=r?1e3/60:Math.max(Math.min(I-i.timestamp,Lqe),1)),i.timestamp=I,i.isProcessing=!0,s.process(i),l.process(i),u.process(i),c.process(i),f.process(i),p.process(i),v.process(i),g.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},k=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:D0.reduce((T,I)=>{const A=a[I];return T[I]=(w,R=!1,x=!1)=>(n||k(),A.schedule(w,R,x)),T},{}),cancel:T=>{for(let I=0;I<D0.length;I++)a[D0[I]].cancel(T)},state:i,steps:a}}const{schedule:bs,cancel:RL,state:Eh}=Qee(typeof requestAnimationFrame<"u"?requestAnimationFrame:bk,!0);let DS;function Oqe(){DS=void 0}const aa={now:()=>(DS===void 0&&aa.set(Eh.isProcessing||zu.useManualTiming?Eh.timestamp:performance.now()),DS),set:e=>{DS=e,queueMicrotask(Oqe)}},Km=e=>Math.round(e*1e5)/1e5,Xee=e=>t=>typeof t=="string"&&t.startsWith(e),ete=Xee("--"),Pqe=Xee("var(--"),DM=e=>Pqe(e)?_qe.test(e.split("/*")[0].trim()):!1,_qe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function qj(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const zh={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Iy={...zh,transform:e=>ju(0,1,e)},M0={...zh,default:1},MM=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Dqe(e){return e==null}const Mqe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,FM=(e,t)=>n=>!!(typeof n=="string"&&Mqe.test(n)&&n.startsWith(e)||t&&!Dqe(n)&&Object.prototype.hasOwnProperty.call(n,t)),tte=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,a,s]=r.match(MM);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Fqe=e=>ju(0,255,e),RR={...zh,transform:e=>Math.round(Fqe(e))},kf={test:FM("rgb","red"),parse:tte("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+RR.transform(e)+", "+RR.transform(t)+", "+RR.transform(n)+", "+Km(Iy.transform(r))+")"};function Uqe(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const xL={test:FM("#"),parse:Uqe,transform:kf.transform},Ek=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Su=Ek("deg"),Ym=Ek("%"),qt=Ek("px"),Vqe=Ek("vh"),Bqe=Ek("vw"),Gj={...Ym,parse:e=>Ym.parse(e)/100,transform:e=>Ym.transform(e*100)},Nm={test:FM("hsl","hue"),parse:tte("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ym.transform(Km(t))+", "+Ym.transform(Km(n))+", "+Km(Iy.transform(r))+")"},Bi={test:e=>kf.test(e)||xL.test(e)||Nm.test(e),parse:e=>kf.test(e)?kf.parse(e):Nm.test(e)?Nm.parse(e):xL.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?kf.transform(e):Nm.transform(e),getAnimatableNone:e=>{const t=Bi.parse(e);return t.alpha=0,Bi.transform(t)}},jqe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,nte=new RegExp(MM.source),rte=new RegExp(jqe.source,"i");function zqe(e){return isNaN(e)&&typeof e=="string"&&(nte.test(e)||rte.test(e))}const ite="number",ote="color",Hqe="var",Wqe="var(",Kj="${}",qqe=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Gqe(e){const t=e.toString();return nte.test(t)||rte.test(t)}function wy(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const s=t.replace(qqe,l=>(Bi.test(l)?(r.color.push(o),i.push(ote),n.push(Bi.parse(l))):l.startsWith(Wqe)?(r.var.push(o),i.push(Hqe),n.push(l)):(r.number.push(o),i.push(ite),n.push(parseFloat(l))),++o,Kj)).split(Kj);return{values:n,split:s,indexes:r,types:i}}function Kqe(e){return wy(e).values}function ate({split:e,types:t}){const n=e.length;return r=>{let i="";for(let o=0;o<n;o++)if(i+=e[o],r[o]!==void 0){const a=t[o];a===ite?i+=Km(r[o]):a===ote?i+=Bi.transform(r[o]):i+=r[o]}return i}}function Yqe(e){return ate(wy(e))}const $qe=e=>typeof e=="number"?0:Bi.test(e)?Bi.getAnimatableNone(e):e,Jqe=(e,t)=>
1963typeof e=="number"?t?.trim().endsWith("/")?e:0:$qe(e);function Zqe(e){const t=wy(e);return ate(t)(t.values.map((r,i)=>Jqe(r,t.split[i])))}const Da={test:zqe,parse:Kqe,createTransformer:Yqe,getAnimatableNone:Zqe};function xR(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Qqe({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=xR(l,s,e+1/3),o=xR(l,s,e),a=xR(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function aT(e,t){return n=>n>0?t:e}const Hh=(e,t,n)=>e+(t-e)*n,LR=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Xqe=[xL,kf,Nm],eGe=e=>Xqe.find(t=>t.test(e));function Yj(e){const t=eGe(e);if(!t)return!1;let n=t.parse(e);return t===Nm&&(n=Qqe(n)),n}const $j=(e,t)=>{const n=Yj(e),r=Yj(t);if(!n||!r)return aT(e,t);const i={...n};return o=>(i.red=LR(n.red,r.red,o),i.green=LR(n.green,r.green,o),i.blue=LR(n.blue,r.blue,o),i.alpha=Hh(n.alpha,r.alpha,o),kf.transform(i))},LL=new Set(["none","hidden"]);function tGe(e,t){return LL.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function nGe(e,t){return n=>Hh(e,t,n)}function UM(e){return typeof e=="number"?nGe:typeof e=="string"?DM(e)?aT:Bi.test(e)?$j:oGe:Array.isArray(e)?ste:typeof e=="object"?Bi.test(e)?$j:rGe:aT}function ste(e,t){const n=[...e],r=n.length,i=e.map((o,a)=>UM(o)(o,t[a]));return o=>{for(let a=0;a<r;a++)n[a]=i[a](o);return n}}function rGe(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=UM(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function iGe(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],a=e.indexes[o][r[o]],s=e.values[a]??0;n[i]=s,r[o]++}return n}const oGe=(e,t)=>{const n=Da.createTransformer(t),r=wy(e),i=wy(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?LL.has(e)&&!i.values.length||LL.has(t)&&!r.values.length?tGe(e,t):kA(ste(iGe(r,i),i.values),n):aT(e,t)},Jj=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function aGe(e,t){const n=Jj.exec(e);if(!n)return;const r=Jj.exec(t);if(!r||n[2]!==r[2])return;const i=n[2],o=parseFloat(n[1]),a=parseFloat(r[1]);return s=>Km(Hh(o,a,s))+i}function VM(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return Hh(e,t,n);if(typeof e=="string"&&typeof t=="string"){const i=aGe(e,t);if(i)return i}return UM(e)(e,t)}const sGe=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>bs.update(t,n),stop:()=>RL(t),now:()=>Eh.isProcessing?Eh.timestamp:aa.now()}},lte=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o<i;o++)r+=Math.round(e(o/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},BM=2e4;function jM(e,t=50,n=BM,r){let i=0,o=e.next(i);for(;!o.done&&i<n;)i+=t,o=e.next(i);return i>=n?1/0:i}function lGe(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(jM(r),BM);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:ps(i)}}const mi={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function OL(e,t){return e*Math.sqrt(1-t*t)}const uGe=12;function cGe(e,t,n){let r=n;for(let i=1;i<uGe;i++)r=r-e(r)/t(r);return r}const OR=.001;function dGe({duration:e=mi.duration,bounce:t=mi.bounce,velocity:n=mi.velocity,mass:r=mi.mass}){let i,o,a=1-t;a=ju(mi.minDamping,mi.maxDamping,a),e=ju(mi.minDuration,mi.maxDuration,ps(e)),a<1?(i=u=>{const c=u*a,f=c*e,p=c-n,v=OL(u,a),g=Math.exp(-f);return OR-p/v*g},o=u=>{const f=u*a*e,p=f*n+n,v=a*a*u*u*e,g=Math.exp(-f),y=OL(u*u,a);return(-i(u)+OR>0?-1:1)*((p-v)*g)/y}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-OR+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const s=5/e,l=cGe(i,o,s);if(e=Bl(e),isNaN(l))return{stiffness:mi.stiffness,damping:mi.damping,duration:e};{const u=l*l*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const ute=["duration","bounce"],cte=["stiffness","damping","mass"];function sT(e,t){return t.some(n=>e[n]!==void 0)}function fGe(e){let t={velocity:mi.velocity,stiffness:mi.stiffness,damping:mi.damping,mass:mi.mass,isResolvedFromDuration:!1,...e};if(!sT(e,cte)&&sT(e,ute))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*ju(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:mi.mass,stiffness:i,damping:o}}else{const n=dGe({...e,velocity:0});t={...t,...n,mass:mi.mass},t.isResolvedFromDuration=!0}return t}function lT(e=mi.visualDuration,t=mi.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,r=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],o={done:!1,value:r},{stiffness:a,damping:s,mass:l,duration:u,velocity:c,isResolvedFromDuration:f}=fGe({...n,velocity:-ps(n.velocity||0)}),p=s/(2*Math.sqrt(a*l)),v=ps(Math.sqrt(a/l)),g=p*v,y={target:i,delta:i-r,velocity:c||0,restSpeed:0,restDelta:0},k=()=>{const R=Math.abs(y.delta)<5;y.restSpeed=n.restSpeed||(R?mi.restSpeed.granular:mi.restSpeed.default),y.restDelta=n.restDelta||(R?mi.restDelta.granular:mi.restDelta.default)};k();let E,S,T;if(p<1){const R=OL(v,p),x={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};T=()=>{x.A=(y.velocity+g*y.delta)/R,x.sinC=g*x.A+y.delta*R,x.cosC=g*y.delta-x.A*R};const D=M=>{M!==x.t&&(x.t=M,x.env=Math.exp(-g*M),x.sin=Math.sin(R*M),x.cos=Math.cos(R*M))};E=M=>(D(M),y.target-x.env*(x.A*x.sin+y.delta*x.cos)),S=M=>(D(M),x.env*(x.sinC*x.sin+x.cosC*x.cos))}else if(p===1){E=x=>y.target-Math.exp(-v*x)*(y.delta+(y.velocity+v*y.delta)*x);const R={C:0};T=()=>{R.C=y.velocity+v*y.delta},S=x=>Math.exp(-v*x)*(v*R.C*x-y.velocity)}else{const R=v*Math.sqrt(p*p-1);E=D=>{const M=Math.exp(-g*D),F=Math.min(R*D,300);return y.target-M*((y.velocity+g*y.delta)*Math.sinh(F)+R*y.delta*Math.cosh(F))/R};const x={P:0,sinh:0,cosh:0};T=()=>{x.P=(y.velocity+g*y.delta)/R,x.sinh=g*x.P-y.delta*R,x.cosh=g*y.delta-x.P*R},S=D=>{const M=Math.exp(-g*D),F=Math.min(R*D,300);return M*(x.sinh*Math.sinh(F)+x.cosh*Math.cosh(F))}}T();
1963const I=!sT(n,cte)&&sT(n,ute),A=f&&u||null,w={calculatedDuration:A,retarget:(R,x)=>{y.target=R[R.length-1],y.delta=y.target-R[0],y.velocity=I?0:-ps(x),n.restSpeed&&n.restDelta||k(),w.calculatedDuration=A,o.done=!1,T()},velocity:R=>Bl(S(R)),next:R=>{const x=E(R);if(f)o.done=R>=u;else{const D=Bl(S(R));o.done=Math.abs(D)<=y.restSpeed&&Math.abs(y.target-x)<=y.restDelta}return o.value=o.done?y.target:x,o},toString:()=>{const R=Math.min(jM(w),BM),x=lte(D=>w.next(R*D).value,R,30);return R+"ms "+x},toTransition:()=>{}};return w}lT.applyToOptions=e=>{const t=lGe(e,100,lT);return e.ease=t.ease,e.duration=Bl(t.duration),e.type="keyframes",e};function PL({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){const f=e[0],p={done:!1,value:f},v=R=>R<s||R>l,g=R=>s===void 0?l:l===void 0||Math.abs(s-R)<Math.abs(l-R)?s:l;let y=n*t;const k=f+y,E=a===void 0?k:a(k);E!==k&&(y=E-f);const S=R=>-y*Math.exp(-R/r),T=R=>{const x=S(R);p.done=Math.abs(x)<=u,p.value=p.done?E:E+x};let I,A;const w=R=>{v(p.value)&&(I=R,A=lT({keyframes:[p.value,g(p.value)],velocity:-S(R)/r*1e3,damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return w(0),{calculatedDuration:null,next:R=>{let x=!1;return!A&&I===void 0&&(x=!0,T(R),w(R)),I!==void 0&&R>=I?A.next(R-I):(!x&&T(R),p)}}}function pGe(e,t,n){const r=[],i=n||zu.mix||VM,o=e.length-1;for(let a=0;a<o;a++){let s=i(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]||bk:t;s=kA(l,s)}r.push(s)}return r}function mGe(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(yA(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=pGe(t,r,i),l=s.length,u=c=>{if(a&&c<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(c<e[f+1]);f++);const p=jee(e[f],e[f+1],c);return s[f](p)};return n?c=>u(ju(e[0],e[o-1],c)):u}function hGe(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=jee(0,t,r);e.push(Hh(n,1,i))}}function gGe(e){const t=[0];return hGe(t,e.length-1),t}function vGe(e,t){return e.map(n=>n*t)}function yGe(e,t){return e.map(()=>t||Jee).splice(0,e.length-1)}function Jv({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=wqe(r)?r.map(Wj):Wj(r),o={done:!1,value:t[0]};if(t.length===2&&!Array.isArray(i)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){const[l,u]=t,c=l===u?void 0:(zu.mix||VM)(l,u);return{calculatedDuration:e,next:f=>(o.value=c?c(i(e>0?ju(0,1,f/e):1)):u,o.done=f>=e,o)}}const a=vGe(n&&n.length===t.length?n:gGe(t),e),s=mGe(a,t,{ease:Array.isArray(i)?i:yGe(t,i)});return{calculatedDuration:e,next:l=>(o.value=s(l),o.done=l>=e,o)}}const kGe=5;function bGe(e,t,n){const r=Math.max(t-kGe,0);return zee(n-e(r),t-r)}function SGe(e,t,n=0){return t<=0?n:e.velocity?e.velocity(t):bGe(r=>e.next(r).value,t,e.next(t).value)}const EGe=e=>e!==null;function bA(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(EGe),s=i<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!s||r===void 0?o[s]:r}const TGe={decay:PL,inertia:PL,tween:Jv,keyframes:Jv,spring:lT};function dte(e){typeof e.type=="string"&&(e.type=TGe[e.type])}function CGe(e,t){return{kind:e,animation:t,timestamp:aa.now(),frameTimestamp:Eh.timestamp,frameIsProcessing:Eh.isProcessing}}function fte(e,t,n){const r=globalThis.__MOTION_INSPECT__;if(r)try{r({...CGe("animation-start",e),options:n?{...t,...n}:t})}catch{}}class zM{constructor(){this.isResolved=!1}get finished(){return this._finished||(this._finished=this.isResolved?Promise.resolve():new Promise(t=>{this._resolve=t})),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(t,n){return this.finished.then(t,n)}}const AGe=e=>e/100;class uT extends zM{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==aa.now()&&this.tick(aa.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause(),fte(this,this.options)}initAnimation(){const{options:t}=this;dte(t);
vendor: 6,354 bytes, line 1963
1963const{type:n=Jv,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:a=0}=t;let{keyframes:s}=t;const l=n||Jv;l!==Jv&&typeof s[0]!="number"&&(this.mixKeyframes=kA(AGe,VM(s[0],s[1])),s=[0,100]);const u=l(s===t.keyframes?t:{...t,keyframes:s});o==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...s].reverse(),velocity:-a})),u.calculatedDuration===null&&(u.calculatedDuration=jM(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:p,repeatDelay:v,type:g,onUpdate:y,finalKeyframe:k}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const E=this.currentTime-u*(this.playbackSpeed>=0?1:-1),S=this.playbackSpeed>=0?E<0:E>i;this.currentTime=Math.max(E,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let T=this.currentTime,I=r;if(f){const x=Math.min(this.currentTime,i)/s;let D=Math.floor(x),M=x%1;!M&&x>=1&&(M=1),M===1&&D--,D=Math.min(D,f+1),D%2&&(p==="reverse"?(M=1-M,v&&(M-=v/s)):p==="mirror"&&(I=a)),T=ju(0,1,M)*s}let A;S?(this.delayState.value=c[0],A=this.delayState):A=I.next(T),o&&!S&&(A.value=o(A.value));let{done:w}=A;!S&&l!==null&&(w=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&w);return R&&g!==PL&&(A.value=bA(c,this.options,k,this.speed)),y&&y(A.value),R&&this.finish(),A}then(t,n){return this.finished.then(t,n)}get duration(){return ps(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ps(t)}get time(){return ps(this.currentTime)}set time(t){t=Bl(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){return SGe(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(aa.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=ps(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=sGe,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(aa.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}const IGe=new Set(["brightness","contrast","saturate","opacity"]);function wGe(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(MM)||[];if(!r)return e;const i=n.replace(r,"");let o=IGe.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const NGe=/\b([a-z-]*)\(.*?\)/gu,_L={...Da,getAnimatableNone:e=>{const t=e.match(NGe);return t?t.map(wGe).join(" "):e}},DL={...Da,getAnimatableNone:e=>{const t=Da.parse(e);return Da.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Zj={...zh,transform:Math.round},RGe={rotate:Su,pathRotation:Su,rotateX:Su,rotateY:Su,rotateZ:Su,scale:M0,scaleX:M0,scaleY:M0,scaleZ:M0,skew:Su,skewX:Su,skewY:Su,distance:qt,translateX:qt,translateY:qt,translateZ:qt,x:qt,y:qt,z:qt,perspective:qt,transformPerspective:qt,opacity:Iy,originX:Gj,originY:Gj,originZ:qt},cT={borderWidth:qt,borderTopWidth:qt,borderRightWidth:qt,borderBottomWidth:qt,borderLeftWidth:qt,borderRadius:qt,borderTopLeftRadius:qt,borderTopRightRadius:qt,borderBottomRightRadius:qt,borderBottomLeftRadius:qt,width:qt,maxWidth:qt,height:qt,maxHeight:qt,top:qt,right:qt,bottom:qt,left:qt,inset:qt,insetBlock:qt,insetBlockStart:qt,insetBlockEnd:qt,insetInline:qt,insetInlineStart:qt,insetInlineEnd:qt,padding:qt,paddingTop:qt,paddingRight:qt,paddingBottom:qt,paddingLeft:qt,paddingBlock:qt,paddingBlockStart:qt,paddingBlockEnd:qt,paddingInline:qt,paddingInlineStart:qt,paddingInlineEnd:qt,margin:qt,marginTop:qt,marginRight:qt,marginBottom:qt,marginLeft:qt,marginBlock:qt,marginBlockStart:qt,marginBlockEnd:qt,marginInline:qt,marginInlineStart:qt,marginInlineEnd:qt,fontSize:qt,backgroundPositionX:qt,backgroundPositionY:qt,...RGe,zIndex:Zj,fillOpacity:Iy,strokeOpacity:Iy,numOctaves:Zj},xGe={...cT,color:Bi,backgroundColor:Bi,outlineColor:Bi,fill:Bi,stroke:Bi,borderColor:Bi,borderTopColor:Bi,borderRightColor:Bi,borderBottomColor:Bi,borderLeftColor:Bi,filter:_L,WebkitFilter:_L,mask:DL,WebkitMask:DL},pte=e=>xGe[e],LGe=new Set([_L,DL]);function HM(e,t){let n=pte(e);return LGe.has(n)||(n=Da),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function OGe(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const bf=e=>e*180/Math.PI,ML=e=>{const t=bf(Math.atan2(e[1],e[0]));return FL(t)},PGe={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ML,rotateZ:ML,skewX:e=>bf(Math.atan(e[1])),skewY:e=>bf(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2}
1963,FL=e=>(e=e%360,e<0&&(e+=360),e),Qj=ML,Xj=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),e9=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),_Ge={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Xj,scaleY:e9,scale:e=>(Xj(e)+e9(e))/2,rotateX:e=>FL(bf(Math.atan2(e[6],e[5]))),rotateY:e=>FL(bf(Math.atan2(-e[2],e[0]))),rotateZ:Qj,rotate:Qj,skewX:e=>bf(Math.atan(e[4])),skewY:e=>bf(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function UL(e){return e.includes("scale")?1:0}function VL(e,t){if(!e||e==="none")return UL(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=_Ge,i=n;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=PGe,i=s}if(!i)return UL(t);const o=r[t],a=i[1].split(",").map(MGe);return typeof o=="function"?o(a):a[o]}const DGe=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return VL(n,t)};function MGe(e){return parseFloat(e.trim())}const Wh=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],qh=new Set([...Wh,"pathRotation"]),t9=e=>e===zh||e===qt,FGe=new Set(["x","y","z"]),UGe=Wh.filter(e=>!FGe.has(e));function VGe(e){const t=[];return UGe.forEach(n=>{const r=e.getValue(n);if(r!==void 0){const i=r.get(),o=n.startsWith("scale")?1:0;if(i===o)return;t.push([n,i]),r.set(o)}}),t}const BGe=new Set(["bottom","right"]);function n9(e,t,n,r,i,o){const a=parseFloat(e);if(!isNaN(a))return a;const{min:s,max:l}=t()[n],u=l-s;return o==="border-box"?u:u-parseFloat(r)-parseFloat(i)}const Lf={width:({width:e,paddingLeft:t="0",paddingRight:n="0",boxSizing:r},i)=>n9(e,i,"x",t,n,r),height:({height:e,paddingTop:t="0",paddingBottom:n="0",boxSizing:r},i)=>n9(e,i,"y",t,n,r),top:({top:e})=>parseFloat(e),left:({left:e})=>parseFloat(e),bottom:({top:e},t)=>{const{y:n}=t();return parseFloat(e)+(n.max-n.min)},right:({left:e},t)=>{const{x:n}=t();return parseFloat(e)+(n.max-n.min)},x:({transform:e})=>VL(e,"x"),y:({transform:e})=>VL(e,"y")};Lf.translateX=Lf.x;Lf.translateY=Lf.y;const Of=new Set;let BL=!1,jL=!1,zL=!1;function mte(){if(jL){const e=[],t=new Set,n=new Set;Of.forEach(i=>{i.needsMeasurement&&(e.push(i),t.add(i.element),BGe.has(i.name)&&n.add(i.element))});const r=new Map;n.forEach(i=>{const o=VGe(i);o.length&&(r.set(i,o),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const o=r.get(i);o&&o.forEach(([a,s])=>{i.getValue(a)?.set(s)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}jL=!1,BL=!1,Of.forEach(e=>e.complete(zL)),Of.clear()}function hte(){Of.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(jL=!0)})}function jGe(){zL=!0,hte(),mte(),zL=!1}function zGe(e,t,n){if(typeof e=="string"){if(LM(e)||OM(e))return parseFloat(e);if(!Da.test(e)&&Da.test(n))return HM(t,n)}return e??void 0}class WM{constructor(t,n,r,i,o,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(Of.add(this),BL||(BL=!0,bs.read(hte),bs.resolveKeyframes(mte))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const o=i?.get(),a=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const s=zGe(r.readValue(n,a),n,a);s!==void 0&&(t[0]=s)}t[0]===void 0&&(t[0]=a),i&&o===void 0&&i.set(t[0])}OGe(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Of.delete(this)}cancel(){this.state==="scheduled"&&(Of.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const HGe=e=>e.startsWith("--");function gte(e,t,n){HGe(t)?e.style.setProperty(t,n):e.style[t]=n}const WGe={};function vte(e,t){const n=Bee(e);return()=>WGe[t]??n()}const qGe=vte(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),yte=vte(()=>{try{document.createElement("div").animate({opacity:0}
vendor: 4,581 bytes, line 1963
1963,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Cv=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,r9={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Cv([0,.65,.55,1]),circOut:Cv([.55,0,1,.45]),backIn:Cv([.31,.01,.66,-.59]),backOut:Cv([.33,1.53,.69,.99])};function kte(e,t){if(e)return typeof e=="function"?yte()?lte(e,t):"ease-out":Zee(e)?Cv(e):Array.isArray(e)?e.map(n=>kte(n,t)||r9.easeOut):r9[e]}function GGe(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const f=kte(s,i);Array.isArray(f)&&(c.easing=f);const p={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"};return u&&(p.pseudoElement=u),e.animate(c,p)}function bte(e){return typeof e=="function"&&"applyToOptions"in e}function KGe({type:e,...t}){return bte(e)&&yte()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Ste extends zM{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!o,this.allowFlatten=a,this.options=t,yA(typeof t.type!="string");const u=KGe(t);this.animation=GGe(n,r,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=bA(i,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(c),gte(n,r,c),this.animation.cancel()}l?.(),this.notifyFinished()},fte(this,t,u)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return ps(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ps(t)}get time(){return ps(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Bl(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&qGe()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),bk):i(this)}}const Ete={anticipate:Yee,backInOut:Kee,circInOut:$ee};function YGe(e){return e in Ete}function $Ge(e){typeof e.ease=="string"&&YGe(e.ease)&&(e.ease=Ete[e.ease])}const PR=10;class JGe extends Ste{constructor(t){$Ge(t),dte(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const s=new uT({...a,autoplay:!1}),l=Math.max(PR,aa.now()-this.startTime),u=ju(0,PR,l-PR),c=s.sample(l).value,{name:f}=this.options;o&&f&>e(o,f,c),n.setWithVelocity(s.sample(Math.max(0,l-u)).value,c,u),s.stop()}}const i9=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Da.test(e)||e==="0")&&!e.startsWith("url("));function ZGe(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function QGe(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],a=i9(i,t),s=i9(o,t);return!a||!s?!1:ZGe(e)||(n==="spring"||bte(n))&&r}function HL(e){e.duration=0,e.type="keyframes"}const WL=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),XGe=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function eKe(e){for(let t=0;t<e.length;
1963t++)if(typeof e[t]=="string"&&XGe.test(e[t]))return!0;return!1}const o9=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tKe=Bee(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function nKe(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:a,keyframes:s}=e;if(!n||!(WL.has(n)||o9.has(n)))return!1;const l=t?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;const{onUpdate:u,transformTemplate:c}=t.owner.getProps();return tKe()&&(WL.has(n)||o9.has(n)&&eKe(s))&&(n!=="transform"||!c)&&!u&&!r&&i!=="mirror"&&o!==0&&a!=="inertia"}const rKe=40;class iKe extends zM{constructor(t){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=aa.now();const{keyframes:n,name:r,motionValue:i,element:o}=t,a=t;a.autoplay??(a.autoplay=!0),a.delay??(a.delay=0),a.type??(a.type="keyframes"),a.repeat??(a.repeat=0),a.repeatDelay??(a.repeatDelay=0),a.repeatType??(a.repeatType="loop");const s=o?.KeyframeResolver||WM;this.keyframeResolver=new s(n,(l,u,c)=>this.onKeyframesResolved(l,u,a,!c),r,i,o),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,i){this.keyframeResolver=void 0;const{name:o,type:a,velocity:s,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=aa.now();let f=!0;QGe(t,o,a,s)||(f=!1,(zu.instantAnimations||!l)&&c?.(bA(t,r,n)),t[0]=t[t.length-1],HL(r),r.repeat=0);const p=i?this.resolvedAt?this.resolvedAt-this.createdAt>rKe?this.resolvedAt:this.createdAt:this.createdAt:void 0,{onComplete:v}=r;r.startTime??(r.startTime=p),r.finalKeyframe=n,r.keyframes=t,r.onComplete=()=>{v?.(),this.notifyFinished()};const g=f&&!u&&nKe(r);let y;if(g){r.element=r.motionValue?.owner?.current;try{y=new JGe(r)}catch{y=new uT(r)}}else y=new uT(r);this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this._animation.finished:super.finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),jGe()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Tte(e,t,n,r=0,i=1){const o=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),a=e.size,s=(a-1)*r;return typeof n=="function"?n(o,a):i===1?o*r:s-o*r}const a9=30,oKe=e=>!isNaN(parseFloat(e));class aKe{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const i=aa.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=aa.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=oKe(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){var r;return t==="change"?this.onChangeSubscribe(n):((r=this.events)[t]||(r[t]=new NL)).add(n)}onChangeSubscribe(t){const{events:n}=this;return!n.change&&!this.changeSubscriber?this.changeSubscriber=t:(n.change||(n.change=new NL,n.change.add(this.changeSubscriber),this.changeSubscriber=void 0),n.change.add(t)),()=>{this.changeSubscriber===t?this.changeSubscriber=void 0:n.change?.remove(t),this.stopIfUnobserved()}}stopIfUnobserved(){bs.read(()=>{!this.changeSubscriber&&!this.events.change?.getSize()&&this.stop()})}clearListeners(){this.changeSubscriber=void 0;for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){const{current:t,changeSubscriber:n}=this;n?n(t):this.events.change?.notify(t)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=aa.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>a9)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,a9);return zee(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0;let r=!1,i;i=t(()=>{r=!0,this.events.animationComplete?.notify(),this.animation===i&&this.clearAnimation(),n()}),r||(this.animation=i),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function dT(e,t){return new aKe(e,t)}function Cte(e,t){if(e?.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Ate(e,t){const n=e?.[t]??e?.default??e;return n!==e?Cte(n,e):n}const sKe={type:"spring",stiffness:500,damping:25,restSpeed:10},lKe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),uKe={type:"keyframes",duration:.8},cKe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dKe=(e,{keyframes:t})=>t.length>2?uKe:qh.has(e)?e.startsWith("scale")?lKe(t[1]):sKe:cKe,fKe=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function pKe(e){for(const t in e)if(!fKe.has(t))return!0;return!1}const mKe=(e,t,n,r={},i,o)=>a=>{const s=Ate(r,e)||{},l=s.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Bl(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:p=>{t.set(p),s.onUpdate&&s.onUpdate(p)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:i};pKe(s)||Object.assign(c,dKe(e,c)),c.duration&&(c.duration=Bl(c.duration)),c.repeatDelay&&(c.repeatDelay=Bl(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(HL(c),c.delay===0&&(f=!0)),(zu.instantAnimations||zu.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(f=!0,HL(c),c.delay=0),c.allowFlatten=!s.type&&!s.ease,f&&!o&&t.get()!==void 0){const p=bA(c.keyframes,s);if(p!==void 0){bs.update(()=>{c.onUpdate(p),c.onComplete()});return}}return s.isSync?new uT(c):new iKe(c)},hKe=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gKe(e){const t=hKe.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function Ite(e,t,n=1){const[r,i]=gKe(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const a=o.trim();return LM(a)?parseFloat(a):a}return DM(i)?Ite(i,t,n+1):i}function s9(e){const t=[{},{}];
vendor: 3,169 bytes, line 1963
1963return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function qM(e,t,n,r){if(typeof t=="function"){const[i,o]=s9(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=s9(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Pf(e,t,n){const r=e.getProps();return qM(r,t,n!==void 0?n:r.custom,e)}const wte=new Set(["width","height","top","left","right","bottom",...Wh]),qL=e=>Array.isArray(e);function vKe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,dT(n))}function yKe(e){return qL(e)?e[e.length-1]||0:e}function kKe(e,t){const n=Pf(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const a in o){const s=yKe(o[a]);vKe(e,a,s)}}const No=e=>!!(e&&e.getVelocity);function bKe(e){return!!(No(e)&&e.add)}function SKe(e,t){const n=e.getValue("willChange");if(bKe(n))return n.add(t);if(!n&&zu.WillChange){const r=new zu.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function GM(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const EKe="framerAppearId",Nte="data-"+GM(EKe);function TKe(e){return e.props[Nte]}const CKe=typeof window<"u";function AKe({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Rte(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:a,...s}=t;const l=e.getDefaultTransition();o=o?Cte(o,l):l;const u=o?.reduceMotion,c=o?.skipAnimations;r&&(o=r);const f=[],p=i&&e.animationState&&e.animationState.getState()[i],v=o?.path;v&&v.animateVisualElement(e,s,o,n,f);for(const g in s){const y=e.getValue(g,e.latestValues[g]??null),k=s[g];if(k===void 0||p&&AKe(p,g))continue;const E={delay:n,...Ate(o||{},g)};c&&(E.skipAnimations=!0);const S=y.get();if(S!==void 0&&!y.isAnimating()&&!Array.isArray(k)&&k===S&&!E.velocity){bs.update(()=>y.set(k));continue}let T=!1;if(CKe&&window.MotionHandoffAnimation){const w=TKe(e);if(w){const R=window.MotionHandoffAnimation(w,g,bs);R!==null&&(E.startTime=R,T=!0)}}SKe(e,g);const I=u??e.shouldReduceMotion;y.start(mKe(g,y,k,I&&wte.has(g)?{type:!1}:E,e,T));const A=y.animation;A&&f.push(A)}if(a){const g=()=>bs.update(()=>{a&&kKe(e,a)});f.length?Promise.all(f).then(g):g()}return f}function GL(e,t,n={}){const r=Pf(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Rte(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return IKe(e,t,l,u,c,f,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[l,u]=s==="beforeChildren"?[o,a]:[a,o];return l().then(()=>u())}else return Promise.all([o(),a(n.delay)])}function IKe(e,t,n=0,r=0,i=0,o=1,a){const s=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),s.push(GL(l,t,{...a,delay:n+(typeof r=="function"?0:r)+Tte(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}function wKe(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>GL(e,o,n));r=Promise.all(i)}
1963else if(typeof t=="string")r=GL(e,t,n);else{const i=typeof t=="function"?Pf(e,t,n.custom):t;r=Promise.all(Rte(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const NKe={test:e=>e==="auto",parse:e=>e},RKe=e=>t=>t.test(e),xKe=[zh,qt,Ym,Su,Bqe,Vqe,NKe],l9=e=>xKe.find(RKe(e));function LKe(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||OM(e):!0}const OKe=new Set(["auto","none","0"]);function PKe(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!OKe.has(o)&&Gqe(o)&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]!==i&&(e[o]=HM(n,i))}class _Ke extends WM{constructor(t,n,r,i,o){super(t,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let f=t[c];if(typeof f=="string"&&(f=f.trim(),DM(f))){const p=Ite(f,n.current);p!==void 0&&(t[c]=p),c===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!wte.has(r)||t.length!==2)return;const[i,o]=t;if(typeof i=="number"&&typeof o=="number")return;const a=l9(i),s=l9(o),l=qj(i),u=qj(o);if(l!==u&&Lf[r]){this.needsMeasurement=!0;return}if(a!==s)if(t9(a)&&t9(s))for(let c=0;c<t.length;c++){const f=t[c];typeof f=="string"&&(t[c]=parseFloat(f))}else Lf[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||LKe(t[i]))&&r.push(i);r.length&&PKe(t,r,n)}measure(){const{element:t,name:n}=this;return Lf[n](window.getComputedStyle(t.current),()=>t.measureViewportBox())}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&this.motionValue?.jump(i,!1)}measureEndState(){const{element:t,unresolvedKeyframes:n}=this;if(!t||!t.current)return;this.motionValue?.jump(this.measuredOrigin,!1);const r=n.length-1,i=n[r];n[r]=this.measure(),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEac
1963h(([o,a])=>{t.getValue(o).set(a)}),this.resolveNoneKeyframes()}}const DKe=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function MKe(e){return bqe(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const KL=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function FKe(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const UKe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VKe=Wh.length;function BKe(e,t,n){let r="",i=!0;for(let a=0;a<VKe;a++){const s=Wh[a],l=e[s];if(l===void 0)continue;let u=!0;if(typeof l=="number")u=l===(s.startsWith("scale")?1:0);else{const c=parseFloat(l);u=s.startsWith("scale")?c===1:c===0}if(!u||n){const c=KL(l,cT[s]);if(!u){i=!1;const f=UKe[s]||s;r+=`${f}(${c}) `}n&&(t[s]=c)}}const o=e.pathRotation;return o&&(i=!1,r+=`rotate(${KL(o,cT.pathRotation)}) `),r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function KM(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let a=!1,s=!1;for(const l in t){const u=t[l];if(qh.has(l)){a=!0;continue}else if(ete(l)){i[l]=u;continue}else{const c=KL(u,cT[l]);l.startsWith("origin")?(s=!0,o[l]=c):r[l]=c}}if(t.transform||(a||n?r.transform=BKe(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;r.transformOrigin=`${l} ${u} ${c}`}}const jKe={offset:"stroke-dashoffset",array:"stroke-dasharray"},zKe={offset:"strokeDashoffset",array:"strokeDasharray"};function HKe(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?jKe:zKe;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}const xte=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Lte(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:a=0,...s},l,u,c){if(KM(e,s,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:p}=e;for(const v of xte)f[v]!==void 0&&(p[v]=f[v],delete f[v]);(p.transform||f.transformOrigin)&&(p.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),p.transform&&(p.transformBox=c?.transformBox??"fill-box",delete f.transformBox),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&HKe(f,i,o,a,!1)}function WKe({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function qKe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function GKe(e,t){return WKe(qKe(e.getBoundingClientRect(),t))}const{schedule:KKe}=Qee(queueMicrotask,!1),YKe={y:!1};function $Ke(){return YKe.y}function Ote(e,t){const n=FKe(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function JKe(e){return!(e.pointerType==="touch"||$Ke())}function ZKe(e,t,n={}){const[r,i,o]=Ote(e,n);return r.forEach(a=>{let s=!1,l=!1,u;const c=()=>{a.removeEventListener("pointerleave",g)},f=k=>{u&&(u(k),u=void 0),c()},p=k=>{s=!1,window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",p),l&&(l=!1,f(k))},v=()=>{s=!0,window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",p,i)},g=k=>{if(k.pointerType!=="touch"){if(s){l=!0;return}f(k)}},y=k=>{if(!JKe(k))return;l=!1;const E=t(a,k);typeof E=="function"&&(u=E,a.addEventListener("pointerleave",g,i))};a.addEventListener("pointerenter",y,i),a.addEventListener("pointerdown",v,i)}),o}const Pte=(e,t)=>t?e===t?!0:Pte(e,t.parentElement):!1,QKe=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,XKe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function eYe(e){return XKe.has(e.tagName)||e.isContentEditable===!0}const MS=new WeakSet;function u9(e){return t=>{t.key==="Enter"&&e(t)}}function _R(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const tYe=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=u9(()=>{if(MS.has(n))return;_R(n,"down");const i=u9(()=>{_R(n,"up")}),o=()=>_R(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function c9(e){return QKe(e)&&!0}const d9=new WeakSet;function nYe(e,t,n={}){const[r,i,o]=Ote(e,n),a=s=>{const l=s.currentTarget;if(!c9(s)||d9.has(s))return;MS.add(l),n.stopPropagation&&d9.add(s);const u=t(l,s),c={...i,capture:!0},f=(g,y)=>{window.removeEventListener("pointerup",p,c),window.removeEventListener("pointercancel",v,c),MS.has(l)&&MS.delete(l),c9(g)&&typeof u=="function"&&u(g,{success:y}
vendor: 14,216 bytes, line 1963
1963)},p=g=>{f(g,l===window||l===document||n.useGlobalTarget||Pte(l,g.target))},v=g=>{f(g,!1)};window.addEventListener("pointerup",p,c),window.addEventListener("pointercancel",v,c)};return r.forEach(s=>{(n.useGlobalTarget?window:s).addEventListener("pointerdown",a,i),MKe(s)&&(s.addEventListener("focus",u=>tYe(u,i)),!eYe(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),o}const f9=()=>({min:0,max:0}),_te=()=>({x:f9(),y:f9()}),rYe=new WeakMap;function SA(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ny(e){return typeof e=="string"||Array.isArray(e)}const YM=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],fT=["initial",...YM];function EA(e){if(SA(e.animate))return!0;for(let t=0;t<fT.length;t++)if(Ny(e[fT[t]]))return!0;return!1}function Dte(e){return!!(EA(e)||e.variants)}function iYe(e,t,n){for(const r in t){const i=t[r],o=n[r];if(No(i))e.addValue(r,i);else if(No(o))e.addValue(r,dT(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(i):a.hasAnimated||a.set(i)}else{const a=e.getStaticValue(r);e.addValue(r,dT(a!==void 0?a:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const YL={current:null},Mte={current:!1},oYe=typeof window<"u";function aYe(){if(Mte.current=!0,!!oYe)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>YL.current=e.matches;e.addEventListener("change",t),t()}else YL.current=!1}const p9=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let pT={};function Fte(e){pT=e}function sYe(){return pT}class lYe{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:a,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=WM,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const v=aa.now();this.renderScheduledAt<v&&(this.renderScheduledAt=v,bs.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=s;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!a,this.isControllingVariants=EA(n),this.isVariantNode=Dte(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const v in p){const g=p[v];u[v]!==void 0&&No(g)&&g.set(u[v])}}mount(t){if(this.hasBeenMounted)for(const n in this.initialValues)this.values.get(n)?.jump(this.initialValues[n]),this.latestValues[n]=this.initialValues[n];this.current=t,rYe.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Mte.current||aYe(),this.shouldReduceMotion=YL.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),RL(this.notifyUpdate),RL(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&WL.has(t)&&this.current instanceof HTMLElement){const{factory:a,keyframes:s,times:l,ease:u,duration:c}=n.accelerate,f=new Ste({element:this.current,name:t,keyframes:s,times:l,ease:u,duration:Bl(c)}),p=a(f);this.valueSubscriptions.set(t,()=>{p(),f.cancel()});return}const r=qh.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&bs.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o&&o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in pT){const n=pT[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):_te()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<p9.length;r++){const i=p9[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,a=t[o];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=iYe(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=dT(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(LM(r)||OM(r))?r=parseFloat(r):typeof r!="number"&&!Da.test(r)&&Da.test(n)&&(r=HM(t,n)),this.setBaseTarget(t,No(r)?r.get():r)),No(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=qM(this.props,n,this.presenceContext?.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!No(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new NL),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){KKe.render(this.render)}}class Ute extends lYe{constructor(){super(...arguments),this.KeyframeResolver=_Ke}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;No(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Gh{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Vte(e,{style:t,vars:n},r,i){const o=e.style;let a;for(a in t)o[a]=t[a];i?.applyProjectionStyles(o,r);for(a in n)o.setProperty(a,n[a])}function m9(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const nv={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(qt.test(e))e=parseFloat(e);else return e;const n=m9(e,t.target.x),r=m9(e,t.target.y);return`${n}% ${r}%`}},uYe={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Da.parse(e);if(i.length>5)return r;const o=Da.createTransformer(e),a=typeof i[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const u=Hh(s,l,.5);return typeof i[2+a]=="number"&&(i[2+a]/=u),typeof i[3+a]=="number"&&(i[3+a]/=u),o(i)}},cYe={borderRadius:{...nv,applyTo:[...DKe]},borderTopLeftRadius:nv,borderTopRightRadius:nv,borderBottomLeftRadius:nv,borderBottomRightRadius:nv,boxShadow:uYe};function Bte(e,{layout:t,layoutId:n}){return qh.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!cYe[e]||e==="opacity")}function $M(e,t,n){const r=e.style,i=t?.style,o={};if(!r)return o;for(const a in r)(No(r[a])||i&&No(i[a])||Bte(a,e)||n?.getValue(a)?.liveStyle!==void 0)&&(o[a]=r[a]);return o}function dYe(e){return window.getComputedStyle(e)}class fYe extends Ute{constructor(){super(...arguments),this.type="html",this.renderInstance=Vte}mount(t){yA(!!t.style),super.mount(t)}readValueFromInstance(t,n){if(qh.has(n))return this.projection?.isProjecting?UL(n):DGe(t,n);{const r=dYe(t),i=(ete(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return GKe(t,n)}build(t,n,r){KM(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return $M(t,n,r)}}const jte=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),zte=e=>typeof e=="string"&&e.toLowerCase()==="svg";function pYe(e,t,n,r){Vte(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(jte.has(i)?i:GM(i),t.attrs[i])}function Hte(e,t,n){const r=$M(e,t,n);for(const i in e)if(No(e[i])||No(t[i])){const o=Wh.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}class mYe extends Ute{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_te}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(qh.has(n)){const r=pte(n);return r&&r.default||0}if(xte.includes(n)){const i=getComputedStyle(t)[n];if(typeof i=="string"&&i)return i.trim()}return n=jte.has(n)?n:GM(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Hte(t,n,r)}build(t,n,r){Lte(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){pYe(t,n,r,i)}mount(t){this.isSVGTag=zte(t.tagName),super.mount(t)}}const hYe=fT.length;function Wte(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Wte(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<hYe;n++){const r=fT[n],i=e.props[r];(Ny(i)||i===!1)&&(t[r]=i)}return t}function qte(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const gYe=[...YM].reverse(),vYe=YM.length;function yYe(e){return t=>Promise.all(t.map(({animation:n,options:r})=>wKe(e,n,r)))}function kYe(e){let t=yYe(e),n=h9(),r=!0,i=!1;const o=u=>(c,f)=>{const p=Pf(e,f,u==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:v,transitionEnd:g,...y}=p;c={...c,...y,...g}}return c};function a(u){t=u(e)}function s(u){const{props:c}=e,f=Wte(e.parent)||{},p=[],v=new Set;let g={},y=1/0;for(let E=0;E<vYe;E++){const S=gYe[E],T=n[S],I=c[S]!==void 0?c[S]:f[S],A=Ny(I),w=S===u?T.isActive:null;w===!1&&(y=E);let R=I===f[S]&&I!==c[S]&&A;if(R&&(r||i)&&e.manuallyAnimateOnMount&&(R=!1),T.protectedKeys={...g},!T.isActive&&w===null||!I&&!T.prevProp||SA(I)||typeof I=="boolean")continue;if(S==="exit"&&T.isActive&&w!==!0){T.prevResolvedValues&&(g={...g,...T.prevResolvedValues});continue}const x=bYe(T.prevProp,I);let D=x||S===u&&T.isActive&&!R&&A||E>y&&A,M=!1;const F=Array.isArray(I)?I:[I];let L=F.reduce(o(S),{});w===!1&&(L={});const{prevResolvedValues:P={}}=T,j={...P,...L},B=O=>{D=!0,v.has(O)&&(M=!0,v.delete(O)),T.needsAnimating[O]=!0;const V=e.getValue(O);V&&(V.liveStyle=!1)};for(const O in j){const V=L[O],W=P[O];if(g.hasOwnProperty(O))continue;let U=!1;qL(V)&&qL(W)?U=!qte(V,W)||x:U=V!==W,U?V!=null?B(O):v.add(O):V!==void 0&&v.has(O)?B(O):T.protectedKeys[O]=!0}T.prevProp=I,T.prevResolvedValues=L,T.isActive&&(g={...g,...L}),(r||i)&&e.blockInitialAnimation&&(D=!1);const H=R&&x;D&&(!H||M)&&p.push(...F.map(O=>{const V={type:S};if(typeof O=="string"&&(r||i)&&!H&&e.manuallyAnimateOnMount&&e.parent){const{parent:W}=e,U=Pf(W,O);if(W.enteringChildren&&U){const{delayChildren:q}=U.transition||{};V.delay=Tte(W.enteringChildren,e,q)}}
1963return{animation:O,options:V}}))}if(v.size){const E={};if(typeof c.initial!="boolean"){const S=Pf(e,Array.isArray(c.initial)?c.initial[0]:c.initial);S&&S.transition&&(E.transition=S.transition)}v.forEach(S=>{const T=e.getBaseTarget(S),I=e.getValue(S);I&&(I.liveStyle=!0),E[S]=T??null}),p.push({animation:E})}let k=!!p.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(k=!1),r=!1,i=!1,k?t(p):Promise.resolve()}function l(u,c){if(n[u].isActive===c)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(u,c)),n[u].isActive=c;const f=s(u);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:s,setActive:l,setAnimateFunction:a,getState:()=>n,reset:()=>{n=h9(),i=!0}}}function bYe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!qte(t,e):!1}function Kd(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function h9(){return{animate:Kd(!0),whileInView:Kd(),whileHover:Kd(),whileTap:Kd(),whileDrag:Kd(),whileFocus:Kd(),exit:Kd()}}function g9(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function SYe(e){return No(e)?e.get():e}const Gte=m.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),JM=m.createContext({strict:!1}),v9={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let y9=!1;function EYe(){if(y9)return;const e={};for(const t in v9)e[t]={isEnabled:n=>v9[t].some(r=>!!n[r])};Fte(e),y9=!0}function Kte(){return EYe(),sYe()}function k9(e){const t=Kte();for(const n in e)t[n]={...t[n],...e[n]};Fte(t)}function Tk({children:e,features:t,strict:n=!1}){const[,r]=m.useState(!DR(t)),i=m.useRef(void 0);if(!DR(t)){const{renderer:o,...a}=t;i.current=o,k9(a)}return m.useEffect(()=>{DR(t)&&t().then(({renderer:o,...a})=>{k9(a),i.current=o,r(!0)})},[]),b.jsx(JM.Provider,{value:{renderer:i.current,strict:n},children:e})}function DR(e){return typeof e=="function"}const TA=m.createContext({});function TYe(e,t){if(EA(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ny(n)?n:void 0,animate:Ny(r)?r:void 0}}return e.inherit!==!1?t:{}}function CYe(e){const{initial:t,animate:n}=TYe(e,m.useContext(TA));return m.useMemo(()=>({initial:t,animate:n}),[b9(t),b9(n)])}function b9(e){return Array.isArray(e)?e.join(" "):e}const ZM=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Yte(e,t,n){for(const r in t)!No(t[r])&&!Bte(r,n)&&(e[r]=t[r])}function AYe({transformTemplate:e},t){return m.useMemo(()=>{const n=ZM();return KM(n,t,e),Object.assign({},n.vars,n.style)},[t])}function IYe(e,t){const n=e.style||{},r={};return Yte(r,n,e),Object.assign(r,AYe(e,t)),r}function wYe(e,t){const n={},r=IYe(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const $te=()=>({...ZM(),attrs:{}});function NYe(e,t,n,r){const i=m.useMemo(()=>{const o=$te();return Lte(o,t,zte(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Yte(o,e.style,e),i.style={...o,...i.style}}return i}const RYe=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function mT(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||RYe.has(e)}function xYe(e,t){return e.startsWith("on")?!mT(e):t?.(e)??!mT(e)}function LYe(e,t,n,r){const i={};for(const o in e)o==="values"&&typeof e.values=="object"||No(e[o])||(xYe(o,r)||n===!0&&mT(o)||!t&&!mT(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}const OYe=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function QM(e){return typeof e!="string"||e.includes("-")?!1:!!(OYe.indexOf(e)>-1||/[A-Z]/u.test(e))}function PYe(e,t,n,{latestValues:r},i,o=!1,a,s){const u=(a??QM(e)?NYe:wYe)(t,r,i,e),c=LYe(t,typeof e=="string",o,s),f=e!==m.Fragment?{...c,...u,ref:n}:{},{children:p}=t,v=m.useMemo(()=>No(p)?p.get():p,[p]);return m.createElement(e,{...f,children:v})}function _Ye({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:DYe(n,r,i,e),renderState:t()}}function DYe(e,t,n,r){const i={},o=r(e,{});for(const p in o)i[p]=SYe(o[p]);let{initial:a,animate:s}=e;const l=EA(e),u=Dte(e);t&&u&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let c=n?n.initial===!1:!1;c=c||a===!1;const f=c?s:a;if(f&&typeof f!="boolean"&&!SA(f)){const p=Array.isArray(f)?f:[f];for(let v=0;v<p.length;v++){const g=qM(e,p[v]);if(g){const{transitionEnd:y,transition:k,...E}=g;for(const S in E){let T=E[S];if(Array.isArray(T)){const I=c?T.length-1:0;T=T[I]}T!==null&&(i[S]=T)}for(const S in y)i[S]=y[S]}}}return i}const Jte=e=>(t,n)=>{const r=m.useContext(TA),i=m.useContext(Vee),o=()=>
vendor: 4,246 bytes, line 1963
1963_Ye(e,t,r,i);return n?o():hqe(o)},MYe=Jte({scrapeMotionValuesFromProps:$M,createRenderState:ZM}),FYe=Jte({scrapeMotionValuesFromProps:Hte,createRenderState:$te}),UYe=Symbol.for("motionComponentSymbol");function VYe(e,t,n){const r=m.useRef(n);m.useInsertionEffect(()=>{r.current=n});const i=m.useRef(null);return m.useCallback(o=>{o&&e.onMount?.(o),t&&(o?t.mount(o):t.unmount());const a=r.current;if(typeof a=="function")if(o){const s=a(o);typeof s=="function"&&(i.current=s)}else i.current?(i.current(),i.current=null):a(o);else a&&(a.current=o)},[t])}const BYe=m.createContext({});function jYe(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function zYe(e,t,n,r,i,o){const{visualElement:a}=m.useContext(TA),s=m.useContext(JM),l=m.useContext(Vee),u=m.useContext(Gte),c=u.reducedMotion,f=u.skipAnimations,p=m.useRef(null),v=m.useRef(!1);r=r||s.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:a,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:f,isSVG:o}),v.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));const g=p.current,y=m.useContext(BYe);g&&!g.projection&&i&&(g.type==="html"||g.type==="svg")&&HYe(p.current,n,i,y);const k=m.useRef(!1);m.useInsertionEffect(()=>{g&&k.current&&g.update(n,l)});const E=n[Nte],S=m.useRef(!!E&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(E)&&window.MotionHasOptimisedAnimation?.(E));return vqe(()=>{v.current=!0,g&&(k.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),S.current&&g.animationState&&g.animationState.animateChanges())}),m.useEffect(()=>{g&&(!S.current&&g.animationState&&g.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(E)}),S.current=!1),g.enteringChildren=void 0)}),g}function HYe(e,t,n,r){const{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Zte(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||s&&jYe(s),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}function Zte(e){if(e)return e.options.allowProjection!==!1?e.projection:Zte(e.parent)}function WYe(e,{forwardMotionProps:t=!1,type:n}={},r,i){const o=n?n==="svg":QM(e),a=o?FYe:MYe;function s(u,c){let f;const p={...m.useContext(Gte),...u,layoutId:qYe(u)},{isStatic:v,isValidProp:g}=p,y=CYe(u),k=a(u,v);if(!v&&typeof window<"u"){GYe();const E=KYe(p);f=E.MeasureLayout,y.visualElement=zYe(e,k,p,i,E.ProjectionNode,o)}return b.jsxs(TA.Provider,{value:y,children:[f&&y.visualElement?b.jsx(f,{visualElement:y.visualElement,...p}):null,PYe(e,u,VYe(k,y.visualElement,c),k,v,t,o,g)]})}s.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=m.forwardRef(s);return l[UYe]=e,l}function qYe({layoutId:e}){const t=m.useContext(mqe).id;return t&&e!==void 0?t+"-"+e:e}function GYe(e,t){m.useContext(JM).strict}function KYe(e){const t=Kte(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n?.isEnabled(e)||r?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const YYe=(e,t)=>t.isSVG??QM(e)?new mYe(t):new fYe(t,{allowProjection:e!==m.Fragment});class $Ye extends Gh{constructor(t){super(t),t.animationState||(t.animationState=kYe(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();SA(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let JYe=0;class ZYe extends Gh{constructor(){super(...arguments),this.id=JYe++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:o,custom:a}=this.node.getProps();
1963if(typeof o=="string"||typeof o=="object"&&o!==null&&!Array.isArray(o)){const s=Pf(this.node,o,a);if(s){const{transition:l,transitionEnd:u,...c}=s;for(const f in c)this.node.getValue(f)?.jump(c[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const QYe={animation:{Feature:$Ye},exit:{Feature:ZYe}};function Qte(e){return{point:{x:e.pageX,y:e.pageY}}}function S9(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&bs.postRender(()=>o(t,Qte(t)))}class XYe extends Gh{mount(){const{current:t}=this.node;t&&(this.unmount=ZKe(t,(n,r)=>(S9(this.node,r,"Start"),i=>S9(this.node,i,"End"))))}unmount(){}}class e$e extends Gh{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=kA(g9(this.node.current,"focus",()=>this.onFocus()),g9(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function E9(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&bs.postRender(()=>o(t,Qte(t)))}class t$e extends Gh{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=nYe(t,(i,o)=>(E9(this.node,o,"Start"),(a,{success:s})=>E9(this.node,a,s?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:r?.tap===!1})}unmount(){}}const $L=new WeakMap,MR=new WeakMap,n$e=e=>{const t=$L.get(e.target);t&&t(e)},r$e=e=>{e.forEach(n$e)};function i$e({root:e,...t}){const n=e||document;MR.has(n)||MR.set(n,{});const r=MR.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(r$e,{root:e,...t})),r[i]}function o$e(e,t,n){const r=i$e(t);return $L.set(e,n),r.observe(e),()=>{$L.delete(e),r.unobserve(e)}}const a$e={some:0,all:1};class s$e extends Gh{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:a$e[i]},s=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),p=u?c:f;p&&p(l)};this.stopObserver=o$e(this.node.current,a,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(l$e(t,n))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function l$e({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const u$e={inView:{Feature:s$e},tap:{Feature:t$e},focus:{Feature:e$e},hover:{Feature:XYe}},Ck={renderer:YYe,...QYe,...u$e};function Xte(e,t){return WYe(e,t)}const hT=Xte("div"),Th=Xte("span");var c$e={align:"none",fallbackAxisSide:"none",side:"none"},d$e=m.createContext({groupOpen:!1,setGroupOpen:()=>{}}),f$e=({open:e,delay:t=600})=>{let n=m.useContext(d$e);return m.useEffect(()=>{if(!n.setGroupOpen)return;if(e===!0){n.setGroupOpen(!0);return}let r=setTimeout(()=>{n.setGroupOpen?.(!1)},t);return()=>{clearTimeout(r)}},[e,n,t]),{groupOpen:n.groupOpen}},XM=({delayDuration:e=400,skipDelayDuration:t,closeDelay:n,disableHoverableContent:r,defaultOpen:i,open:o,onOpenChange:a,onOpenChangeComplete:s,actionsRef:l,handle:u,trackCursorAxis:c,triggerId:f,defaultTr
1963iggerId:p,"aria-label":v,onEscapeKeyDown:g,onPointerDownOutside:y,forceMount:k,side:E="bottom",sideOffset:S=4,align:T="center",alignOffset:I,anchor:A,positionMethod:w,avoidCollisions:R,collisionAvoidance:x,collisionBoundary:D,collisionPadding:M,arrowPadding:F,sticky:L,disableAnchorTracking:P,hideWhenDetached:j,label:B,labelProps:H,enabled:G=!0,disableFocusOpen:O=!1,skipAnimation:V,style:W,triggerRef:U,id:q,children:$})=>{let J=m.useId(),[Z,Y]=m.useState(i??!1),ee=o!==void 0,te=G===!1?!1:ee?o:Z,{groupOpen:ce}=f$e({open:!!te,delay:e}),ne=m.Children.toArray($).some(be=>m.isValidElement(be)?be.props.disabled:!1),Ce=ce||ne?0:e,ae=x??(R===!1?c$e:void 0),{style:pe,as:ve,...Se}=H??{},De={transformOrigin:"var(--transform-origin)",...W,...pe},Ee=!ce,ye=q??J,Pe=te?"open":"closed",Me=[m.isValidElement($)?$.props["aria-describedby"]:void 0,te?ye:void 0].filter(Boolean).join(" ")||void 0,Qe=U,Fe=m.useCallback((be,Ae)=>{if(!be&&D9e(Ae,{onEscapeKeyDown:g,onPointerDownOutside:y})){Ae.cancel();return}ee||Y(be),a?.(be)},[ee,g,a,y]),Ve=m.useCallback(be=>{O&&(be.preventDefault(),be.preventBaseUIHandler())},[O]);return b.jsx(Tk,{features:Ck,children:b.jsx(dqe,{delay:Ce,closeDelay:n,timeout:t,children:b.jsxs(WWe,{actionsRef:l,defaultTriggerId:p,disabled:G===!1,disableHoverablePopup:r,handle:u,onOpenChange:Fe,onOpenChangeComplete:s,open:te,trackCursorAxis:c,triggerId:f,children:[m.isValidElement($)?b.jsx(Vj,{"aria-describedby":Me,"data-state":Pe,delay:Ce,onFocus:Ve,ref:Qe,render:Gl(m.cloneElement($,{"aria-describedby":Me,"data-state":Pe}))}):b.jsx(Vj,{"aria-describedby":Me,"data-state":Pe,delay:Ce,onFocus:Ve,ref:Qe,children:$}),b.jsx(ZWe,{keepMounted:k,children:b.jsx(uqe,{align:T,alignOffset:I,anchor:A,arrowPadding:F,collisionAvoidance:ae,collisionBoundary:D,collisionPadding:M,disableAnchorTracking:P,positionMethod:w,side:E,sideOffset:S,sticky:L,style:be=>yX({anchorHidden:be.anchorHidden,hideWhenDetached:j,zIndex:"var(--tgph-zIndex-tooltip)"}),children:b.jsx(cqe,{"aria-label":v,id:ye,render:Gl(be=>b.jsx(fa,{as:hT,className:"tgph",initial:Ee&&!V?{opacity:0,scale:.8,...M9e(E)}:{},animate:{opacity:1,scale:1,x:0,y:0},transition:{duration:.1,type:"spring",bounce:0},bg:"surface-1","data-state":be.open?"open":"closed","data-tgph-appearance":"dark",shadow:"2",rounded:"3",py:"1_5",px:"2",align:"center",justify:"center",style:De,...Se,id:ye,role:"tooltip",children:typeof B=="string"?b.jsx(Yu,{as:"span",size:"1",children:B}):B}))})})})]})})})},p$e=["_hover","_focus","_active","_focusWithin","_disabled"],m$e={_hover:"hover",_focus:"focus",_active:"active",_focusWithin:"focus-within",_disabled:"disabled"},h$e=e=>{let t=[],n="",r=0;for(let i=0;i<e.length;i++){let o=e[i];o==="("?(r++,n+=o):o===")"?(r--,n+=o):o===" "&&r===0?n&&=(t.push(n),""):n+=o}for(n&&t.push(n);t.length<4;)t.push("0");return[t[0]||"0",t[1]||"0",t[2]||"0",t[3]||"0"]},g$e=({currentValueOfCssVar:e="0 0 0 0",value:t,direction:n})=>{let[r,i,o,a]=h$e(e),s={top:r,right:i,bottom:o,left:a};return n==="top"&&(s.top=t),n==="right"&&(s.right=t),n==="bottom"&&(s.bottom=t),n==="left"&&(s.left=t),n==="all"&&(s.top=t,s.right=t,s.bottom=t,s.left=t),n==="x"&&(s.left=t,s.right=t),n==="y"&&(s.top=t,s.bottom=t),n==="side-top"&&(s.top=t,s.right=t),n==="side-bottom"&&(s.bottom=t,s.left=t),n==="side-left"&&(s.top=t,s.left=t),n==="side-right"&&(s.right=t,s.bottom=t),Object.values(s).join(" ")},v$e=({currentValueOfCssVar:e="visible visible",value:t,axis:n})=>{let[r,i]=e.split(" ");return n==="x"?`${t} ${i}`:n==="y"?`${r} ${t}`:`${t} ${t}`},T9=(e,t)=>{if(typeof t=="string"&&t.startsWith("-")){let n=t.slice(1);return`calc(-1 * ${e.value.replace("VARIABLE",n)})`}return e.value.replace("VARIABLE",t)},C9=(e,t,n,r)=>{let i=r??t.cssVar;if(t.direction){let o=e?.[i],a=g$e({currentValueOfCssVar:o,value:n,direction:t.direction});return{...e,[i]:a}}if(t.axis){let o=e?.[i],a=v$e({currentValueOfCssVar:o,value:n,axis:t.axis});return{...e,[i]:a}}return{...e,[i]:n}},y$e=(e,t)=>`--${m$e[t]}--${e.replace(/^--/,"")}`,k$e=e=>{let{cssVars:t}=e;if(!e?.props||Object.keys(e.props).length===0)return{styleProp:{},otherProps:{},interactive:!1};let{style:n={},...r}=e.props,i=n,o={},a=!1;return Object.keys(r).forEach(s=>{let l=s;if(p$e.includes(s)&&typeof r[l]=="object"&&r[l]!==null){let p=s,v=r[l],g={};if(Object.keys(v).forEach(y=>{let k=v[y];if(!k)return;let E=t?.[y];if(!E){g[y]=k;return}let S=T9(E,k),T=y$e(E.cssVar,p);i=C9(i,E,S,T)}),Object.keys(g).length>0){let y=o[s]||{};Object.assign(o,{[s]:{...y,...g}})}Object.keys(v).length>Object.keys(g).length&&(a=!0);return}let u=t?.[l];
1963if(!u){Object.assign(o,{[l]:r[l]});return}let c=r?.[l];if(!c){Object.assign(i,{[l]:r[l]});return}let f=T9(u,c);i=C9(i,u,f)}),{styleProp:i,otherProps:o,interactive:a}},b$e=e=>Ye.useMemo(()=>k$e(e),[e]),S$e={Root:{0:{h:"5"},1:{h:"6"},2:{h:"8"}}},CA={Root:{0:{pl:"1_5"},1:{pl:"2"},2:{pl:"2_5"}},Text:{0:{mr:"1_5"},1:{mr:"2"},2:{mr:"2_5"}},Button:{0:{ml:"0_5"},1:{ml:"1"},2:{ml:"1"}}},Ch={Root:{solid:{default:"gray-12",accent:"accent-9",gray:"gray-9",red:"red-9",blue:"blue-9",green:"green-9",yellow:"yellow-9",purple:"purple-9"},soft:{default:"gray-2",accent:"accent-2",gray:"gray-2",red:"red-2",blue:"blue-2",green:"green-2",yellow:"yellow-2",purple:"purple-2"}},Border:{soft:{default:"gray-4",accent:"accent-4",gray:"gray-4",red:"red-4",blue:"blue-4",green:"green-4",yellow:"yellow-4",purple:"purple-4"}},Icon:{solid:{default:"contrast",gray:"white",red:"white",accent:"white",blue:"white",green:"white",yellow:"black",purple:"white"},soft:{default:"default",gray:"gray",accent:"accent",red:"red",blue:"blue",green:"green",yellow:"yellow",purple:"purple"}},Text:{solid:{default:"contrast",gray:"white",accent:"white",red:"white",blue:"white",green:"white",yellow:"black",purple:"white"},soft:{default:"default",gray:"gray",accent:"accent",red:"red",blue:"blue",green:"green",yellow:"yellow",purple:"purple"}},Button:{solid:{default:"default",gray:"gray",accent:"accent",red:"red",blue:"blue",green:"green",yellow:"yellow",purple:"purple"},soft:{default:"gray",gray:"gray",accent:"accent",red:"red",blue:"blue",green:"green",yellow:"yellow",purple:"purple"}}},ene={Button:{solid:"solid",soft:"ghost"}},E$e={tagBorderColor:{cssVar:"--box-shadow",value:"inset 0 0 0 1px var(--tgph-VARIABLE)"}},Ak=m.createContext({size:"1",color:"default",variant:"soft"}),tne=e=>{let{as:t="span",size:n="1",color:r="default",variant:i="soft",className:o,style:a,...s}=e,{styleProp:l,otherProps:u}=b$e({props:{...i==="soft"?{tagBorderColor:Ch.Border.soft[r]}:{},style:a},cssVars:E$e});return b.jsx(Ak.Provider,{value:{size:n,color:r,variant:i},children:b.jsx(fa,{as:t,align:"center",rounded:"full",display:"inline-flex",pl:CA.Root[n].pl,backgroundColor:Ch.Root[i][r],h:S$e.Root[n].h,className:mt("tgph-tag",o),style:l,...u,...s,"data-tag":!0})})},nne=e=>{let{as:t="span",maxW:n="40",overflow:r="hidden",style:i,...o}=e,a=m.useContext(Ak);return b.jsx(Yu,{as:t,size:a.size,color:Ch.Text[a.variant][a.color],weight:"medium",mr:CA.Text[a.size].mr,maxW:n,overflow:r,internal_optionalAs:!0,style:{whiteSpace:"nowrap",textOverflow:"ellipsis",...i},...o})},rne=({onClick:e,textToCopy:t,...n})=>{let r=m.useContext(Ak),[i,o]=m.useState(!1);return m.useEffect(()=>{if(i){let a=setTimeout(()=>o(!1),2e3);return()=>clearTimeout(a)}},[i]),b.jsx(Tk,{features:Ck,children:b.jsx(XM,{label:"Copy text",children:b.jsxs(Oi.Root,{onClick:a=>{e?.(a),o(!0),t&&navigator.clipboard.writeText(t),a.currentTarget?.blur()},size:r.size,color:Ch.Button[r.variant][r.color],variant:ene.Button[r.variant],rounded:"0",position:"relative",overflow:"hidden",borderTopRightRadius:"full",borderBottomRightRadius:"full",ml:CA.Button[r.size].ml,...n,children:[b.jsx(Oi.Icon,{as:Th,initial:!1,animate:{y:i?0:"150%",opacity:1},transition:{duration:.15,type:"spring",bounce:0},icon:EX,...i?{alt:"Copied text"}:{"aria-hidden":!0}}),b.jsx(Oi.Icon,{as:Th,initial:!1,animate:{y:i?"-150%":0,opacity:1},transition:{duration:.15,type:"spring",bounce:0},icon:d7e,position:"absolute",...i?{"aria-hidden":!0}:{alt:"Copy text"}})]})})})},ine=({...e})=>{let t=m.useContext(Ak);return b.jsx(Oi,{size:t.size,color:Ch.Button[t.variant][t.color],variant:ene.Button[t.variant],icon:{icon:hk,alt:"close"},rounded:"0",borderTopRightRadius:"full",borderBottomRightRadius:"full",ml:CA.Button[t.size].ml,...e})},one=e=>{let{icon:t,alt:n,"aria-hidden":r,...i}=e,o=m.useContext(Ak),a=n?{alt:n}:{"aria-hidden":r};return b.jsx(gk,{icon:t,size:o.size,color:Ch.Icon[o.variant][o.color],mr:"1",...a,...i})},ane=({color:e="default",size:t="1",variant:n="soft",icon:r,onRemove:i,onCopy:o,textToCopy:a,textProps:s={maxW:"40"},children:l,...u})=>{let c=!!(i||o),f={...s,...c?{mr:"0"}:{}};return b.jsxs(tne,{color:e,size:t,variant:n,...u,children:[r&&b.jsx(one,{...r}),b.jsx(nne,{as:"span",...f,children:l}),i&&b.jsx(ine,{onClick:i,icon:{icon:hk,alt:"Remove"}}),o&&b.jsx(rne,{onClick:o,textToCopy:a})]})};Object.assign(ane,{Root:tne,Button:ine,Text:nne,Icon:one,CopyButton:rne});var eF=ane;m.createContext({size:"2",value:!1,disabled:!1,id:"",labelId:"",onValueChange:()=>{},required:!1,name:void 0,color:"blue"});function Zv({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=m.useRef(e!==void 0),[o,a]=m.useState(t),s=i&&e!==void 0?e:o,l=m.useCallback(u=>{i||a(u)},[]);return[s,l]}const sne=m.createContext(void 0);function T$e(){return m.useContext(sne)}const lne=m.createContext(void 0);function une(e=!1){const t=m.useContext(lne);if(t===void 0&&!e)throw new Error(Ba(16));return t}function C$e(e){const{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:o}=e,a=r&&t!==!1,s=r&&t===!1;return{props:m.useMemo(()=>{const u={onKeyDown(c){n&&t&&c.key!=="Tab"&&c.preventDefault()}};return r||(u.tabIndex=i,!o&&n&&(u.tabIndex=t?i:-1)),(o&&(t||a)||!o&&n)&&(u["aria-disabled"]=n),o&&(!t||s)&&(u.disabled=n),u},[r,n,t,a,s,o,i])}}function FR(e,t,{detail:n=0}={}){e.dispatchEvent(new(ti(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:n,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function AA(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:i=!0,composite:o}=e,a=m.useRef(null),s=une(!0),l=o??s!==void 0,{props:u}=C$e({focusableWhenDisabled:n,disabled:t,composite:l,tabIndex:r,isNativeButton:i}),c=m.useCallback(()=>{const v=a.current;UR(v)&&l&&t&&u.disabled===void 0&&v.disabled&&(v.disabled=!1)},[t,u.disabled,l]);Vt(c,[c]);const f=m.useCallback((v={})=>{const{onClick:g,onMouseDown:y,onKeyUp:k,onKeyDown:E,onPointerDown:S,...T}=v;return qc({onClick(I){if(t){I.preventDefault();return}g?.(I)},onMouseDown(I){t||y?.(I)},onKeyDown(I){if(t||(JE(I),E?.(I),I.baseUIHandlerPrevented))return;const A=I.target===I.currentTarget,w=I.currentTarget,R=UR(w),x=!i&&A$e(w),D=A&&(i?R:!x),M=I.key==="Enter",F=I.key===" ",L=w.getAttribute("role"),P=L?.startsWith("menuitem")||L==="option"||L==="gridcell";if(A&&l&&F){if(I.defaultPrevented&&P)return;I.preventDefault(),(!i||R)&&(I.preventBaseUIHandler(),FR(w,I));return}
1963if(!D||i||!F&&!M){A&&x&&F&&I.preventDefault();return}I.defaultPrevented||(I.preventDefault(),M&&(I.preventBaseUIHandler(),FR(w,I)))},onKeyUp(I){if(!t){if(JE(I),k?.(I),I.target===I.currentTarget&&i&&l&&UR(I.currentTarget)&&I.key===" "){I.preventDefault();return}I.baseUIHandlerPrevented||I.target===I.currentTarget&&!i&&!l&&!I.defaultPrevented&&I.key===" "&&(I.preventBaseUIHandler(),FR(I.currentTarget,I))}},onPointerDown(I){if(t){I.preventDefault();return}S?.(I)}},i?{type:"button"}:{role:"button"},u,T)},[t,u,l,i]),p=_t(v=>{a.current=v,c()});return{getButtonProps:f,buttonRef:p}}function UR(e){return Er(e)&&e.tagName==="BUTTON"}function A$e(e){return Er(e)&&e.tagName==="A"&&!!e.href}const cne=m.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function I$e(){return m.useContext(cne)}function dne(e={}){const{guess:t,label:n,metadata:r,textRef:i,index:o}=e,{register:a,unregister:s,subscribeMapChange:l,nextIndexRef:u}=I$e(),c=m.useRef(-1),[f,p]=m.useState(o==null&&t?()=>{if(c.current===-1){const k=u.current;u.current+=1,c.current=k}return c.current}:-1),v=o??f,g=m.useRef(null),y=m.useCallback(k=>{const E=g.current;E&&s(E),g.current=k,k&&a(k,{metadata:r??null,index:o??null,label:n,textRef:i})},[o,a,s,r,n,i]);return Vt(()=>{if(o==null)return l(k=>{const E=g.current?k.get(g.current)?.index:null;E!=null&&p(E)})},[o,l]),{ref:y,index:v}}function w$e(e={}){const{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=une(),{ref:i,index:o}=dne(e),a=n===o,s=m.useRef(null),l=ld(i,s);return{compositeProps:{tabIndex:a?0:-1,onFocus(){r(o)},onMouseMove(){const c=s.current;if(!t||!c)return;const f=c.hasAttribute("disabled")||c.ariaDisabled==="true";!a&&!f&&c.focus()}},compositeRef:l,index:o}}function N$e(e){const{render:t,className:n,style:r,state:i=vi,props:o=ds,refs:a=ds,metadata:s,stateAttributesMapping:l,tag:u="div",...c}=e,{compositeProps:f,compositeRef:p}=w$e({metadata:s});return ja(u,e,{state:i,ref:[p,...a],props:[f,...o,c],stateAttributesMapping:l})}const R$e=m.forwardRef(function(t,n){const{className:r,defaultPressed:i=!1,disabled:o=!1,form:a,onPressedCh
1963ange:s,pressed:l,render:u,type:c,value:f,nativeButton:p=!0,style:v,...g}=t,y=gA(f||void 0),k=T$e(),E=k?.value??[],S=(o||k?.disabled)??!1,[T,I]=Zv({controlled:k?y!==void 0&&E.indexOf(y)>-1:l,default:i,name:"Toggle",state:"pressed"}),{getButtonProps:A,buttonRef:w}=AA({disabled:S,native:p}),R={disabled:S,pressed:T},x=[w,n],D=[{"aria-pressed":T,onClick(L){const P=!T,j=gn(Vo,L.nativeEvent);s?.(P,j),!j.isCanceled&&(y&&k?.setGroupValue?.(y,P,j),!j.isCanceled&&I(P))}},g,A],M=ja("button",t,{enabled:!k,state:R,ref:x,props:D}),F=m.useMemo(()=>({disabled:S,focusableWhenDisabled:!1}),[S]);return k?b.jsx(N$e,{tag:"button",render:u,className:r,style:v,metadata:F,state:R,refs:x,props:D}):M});function fne(e){const{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,o=_t(i),[,a]=m.useState(!1),s=Oo(L$e).current,l=Oo(x$e).current,u=m.useRef(0),c=m.useRef(!0),f=m.useRef(null),p=m.useRef(null),v=_t(()=>{c.current||(c.current=!0,a(A=>!A))}),g=_t((A,w)=>{l.set(A,w),v()}),y=_t(A=>{l.delete(A),v()}),k=_t(A=>{const w=new Map;return n.current.length=0,r&&(r.current.length=0),A.forEach(R=>{w.set(R.element,{...R.registration.metadata??{},index:R.index}),n.current[R.index]=R.element,r&&(r.current[R.index]=R.registration.label!==void 0?R.registration.label:R.registration.textRef?.current?.textContent??R.element.textContent)}),u.current=n.current.length,w});function E(A){if(p.current?.disconnect(),p.current=null,typeof MutationObserver!="function"||A.length<2)return;const w=new MutationObserver(x=>{if(!_$e(x))return;let D=null;for(const M of A)if(M.isConnected){if(D&&pne(D,M)>0){w.disconnect(),v();return}D=M}});p.current=w;const R=new Set;for(let x=1;x<A.length;x+=1){const D=P$e(A[x-1],A[x]);D&&R.add(D)}R.forEach(x=>w.observe(x,{childList:!0}))}const S=_t(()=>{const[A,w]=O$e(l),R=k(A),x=f.current,D=!x||x.length!==A.length||A.some((M,F)=>{const L=x[F];return M.index!==L.index||M.element!==L.element||M.registration.index!==L.registration.index||M.registration.metadata!==L.registration.metadata});E(w),f.current=A,c.current=!1,D&&(s.forEach(M=>M(R)),o(R))});Vt(()=>(!c.current&&f.current&&k(f.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,k]),Vt(()=>{c.current&&S()}),Vt(()=>()=>{p.current?.disconnect(),c.current=!0},[]);const T=_t(A=>(s.add(A),()=>{s.delete(A)})),I=m.useMemo(()=>({register:g,unregister:y,subscribeMapChange:T,nextIndexRef:u}),[g,y,T,u]);return b.jsx(cne.Provider,{value:I,children:t})}function x$e(){return new Map}function L$e(){return new Set}function O$e(e){const t=new Set,n=[],r=[];e.forEach((o,a)=>{if(!a.isConnected)return;const s=o.index,l={index:s??-1,element:a,registration:o};s===null?r.push(l):s>=0&&(t.add(s),n.push(l))});let i=0;return r.sort((o,a)=>pne(o.element,a.element)),r.forEach(o=>{for(;t.has(i);)i+=1;o.index=i,n.push(o),i+=1}),t.size>0&&n.sort((o,a)=>o.index-a.index),[n,r.map(o=>o.element)]}function P$e(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function _$e(e){for(const t of e)for(let n=0;n<t.removedNodes.length;n+=1)if(t.removedNodes[n].isConnected)return!0;return!1}function pne(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function D$e(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}const JL="ArrowUp",ZL="ArrowDown",QL="ArrowLeft",XL="ArrowRight",eO="Home",tO="End",M$e=new Set([JL,ZL,QL,XL,eO,tO]),F$e="Shift",U$e=[F$e,"Control","Alt","Meta"];function V$e(e){return Er(e)&&e.tagName==="INPUT"}function A9(e){return!!(V$e(e)&&e.selectionStart!=null||Er(e)&&e.tagName==="TEXTAREA")}function I9(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,o=e.scrollTop;const a=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(a&&r!=="vertical"){const l=w9(e,t,"left"),u=F0(e),c=F0(t);n==="ltr"&&(l+t.offsetWidth+c.scrollMarginRight>e.scrollLeft+e.clientWidth-u.scrollPaddingRight?i=l+t.offsetWidth+c.scrollMarginRight-e.clientWidth+u.scrollPaddingRight:l-c.scrollMarginLeft<e.scrollLeft+u.scrollPaddingLeft&&(i=l-c.scrollMarginLeft-u.scrollPaddingLeft)),n==="rtl"&&(l-c.scrollMarginLeft<e.scrollLeft+u.scrollPaddingLeft?i=l-c.scrollMarginLeft-u.scrollPaddingLeft:l+t.offsetWidth+c.scrollMarginRight>e.scrollLeft+e.clientWidth-u.scrollPaddingRight&&(i=l+t.offsetWidth+c.scrollMarginRight-e.clientWidth+u.scrollPaddingRight))}if(s&&r!=="horizontal"){const l=w9(e,t,"top"),u=F0(e),c=F0(t);l-c.scrollMarginTop<e.scrollTop+u.scrollPaddingTop?o=l-c.scrollMarginTop-u.scrollPaddingTop:l+t.offsetHeight+c.scrollMarginBottom>e.scrollTop+e.clientHeight-u.scrollPaddingBottom&&(o=l+t.offsetHeight+c.scrollMarginBottom-e.clientHeight+u.scrollPaddingBottom)}e.scrollTo({left:i,top:o,behavior:"auto"})}function w9(e,t,n){const r=n==="left"?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function F0(e){const t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||
19630,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}const mne="data-composite-item-active";function B$e(e){const{loopFocus:t=!0,orientation:n="both",grid:r,onLoop:i,direction:o,highlightedIndex:a,onHighlightedIndexChange:s,rootRef:l,enableHomeAndEndKeys:u=!1,stopEventPropagation:c,disabledIndices:f,modifierKeys:p=ds}=e,[v,g]=m.useState(0),y=r!=null,k=m.useRef(null),E=ld(k,l),S=m.useRef([]),T=m.useRef(!1),I=m.useRef(null),A=a??v,w=_t((F,L=!1)=>{if(I.current=S.current[F]??null,(s??g)(F),L){const P=S.current[F];I9(k.current,P,o,n)}}),R=_t(F=>{if(F.size===0)return;if(T.current){const B=S.current,H=B.indexOf(I.current);if(H===-1){const G=B[A];!G||Jc(B,A,f)?w(j$e(B,f)):I.current=G}else H!==A&&w(H);return}T.current=!0;const L=Array.from(F.keys()),P=L.find(B=>B?.hasAttribute(mne))??null,j=P?F.get(P)?.index??-1:-1;if(j!==-1)w(j);else if(Jc(L,A,f)){const B=to(L,{disabledIndices:f});$c(L,B)||w(B)}I9(k.current,P,o,n)});Vt(()=>{if(f==null||a!=null||!T.current)return;const F=S.current;if(Jc(F,A,f)){const L=to(F,{disabledIndices:f});$c(F,L)||w(L)}},[f,a,A,S,w]);const x=_t((F,L,P)=>i?i(F,L,P,S):P),D=_t(F=>{const L=F.key===eO||F.key===tO;if(!M$e.has(F.key)||!u&&L||z$e(F,p)||!k.current)return;const j=o==="rtl",B=j?QL:XL,H=j?XL:QL,G=n==="vertical"?ZL:B,O=n==="vertical"?JL:H,V=Pi(F.nativeEvent);if(V!=null&&A9(V)&&!D$e(V)){const Z=V.selectionStart,Y=V.selectionEnd,ee=V.value;if(Z==null||F.shiftKey||Z!==Y||F.key!==O&&Z<ee.length||F.key!==G&&Z>0)return}let W=A;const U=OS(S,f),q=AL(S,f);r!=null&&(W=r({disabledIndices:f,elementsRef:S,event:F,highlightedIndex:A,loopFocus:t,maxIndex:q,minIndex:U,onLoop:x,orientation:n,rtl:j}));const $=n!=="vertical"&&F.key===B||n!=="horizontal"&&F.key===ZL,J=n!=="vertical"&&F.key===H||n!=="horizontal"&&F.key===JL;u&&(F.key===eO?W=U:F.key===tO&&(W=q)),W===A&&($||J)&&(t&&W===q&&$?(W=U,i&&(W=i(F,A,W,S))):t&&W===U&&J?(W=q,i&&(W=i(F,A,W,S))):W=to(S.current,{startingIndex:W,decrement:J,disabledIndices:f})),W!==A&&!$c(S.current,W)&&(c&&F.stopPropagation(),(y||L||$||J)&&F.preventDefault(),w(W,!0),queueMicrotask(()=>{S.current[W]?.focus()}))});return{props:{ref:E,onFocus(F){const L=k.current,P=Pi(F.nativeEvent);!L||P==null||!A9(P)||P.setSelectionRange(0,P.value.length)},onKeyDown:D},highlightedIndex:A,onHighlightedIndexChange:w,elementsRef:S,onMapChange:R,relayKeyboardEvent:D}}function j$e(e,t){let n=-1;for(let r=0;r<e.length;r+=1){const i=e[r];if(!(!i||Jc(e,r,t))){if(i.hasAttribute(mne))return r;n===-1&&(n=r)}}return Math.max(n,0)}function z$e(e,t){for(const n of U$e)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function H$e(e){const{render:t,className:n,style:r,refs:i=ds,props:o=ds,state:a=vi,stateAttributesMapping:s,highlightedIndex:l,onHighlightedIndexChange:u,orientation:c,grid:f,loopFocus:p,onLoop:v,enableHomeAndEndKeys:g,onMapChange:y,stopEventPropagation:k=!0,rootRef:E,disabledIndices:S,modifierKeys:T,highlightItemOnHover:I=!1,tag:A="div",...w}=e,R=vA(),{props:x,highlightedIndex:D,onHighlightedIndexChange:M,elementsRef:F,onMapChange:L,relayKeyboardEvent:P}=B$e({grid:f,loopFocus:p,onLoop:v,orientation:c,highlightedIndex:l,onHighlightedIndexChange:u,rootRef:E,stopEventPropagation:k,enableHomeAndEndKeys:g,direction:R,disabledIndices:S,modifierKeys:T}),j=ja(A,e,{state:a,ref:i,props:[x,...o,w],stateAttributesMapping:s}),B=m.useMemo(()=>({highlightedIndex:D,onHighlightedIndexChange:M,highlightItemOnHover:I,relayKeyboardEvent:P}),[D,M,I,P]);return b.jsx(lne.Provider,{value:B,children:b.jsx(fne,{elementsRef:F,onMapChange:H=>{y?.(H),L(H)},children:j})})}const W$e=m.createContext(void 0);function q$e(e){return m.useContext(W$e)}const G$e=m.createContext(void 0);function K$e(){return m.useContext(G$e)}const Y$e=m.forwardRef(function(t,n){const{defaultValue:r,disabled:i=!1,loopFocus:o=!0,onValueChange:a,orientation:s="horizontal",multiple:l=!1,value:u,className:c,render:f,style:p,...v}=t,g=q$e(),y=K$e(),k=r??ds,E=u!==void 0||r!==void 0,S=(g?.disabled??!1)||(y?.disabled??!1)||i,[T,I]=Zv({controlled:u,default:k,name:"ToggleGroup",state:"value"}),A=_t((M,F,L)=>{let P;l?(P=T.slice(),F?P.push(M):P.splice(T.indexOf(M),1)):P=F?[M]:[],a?.(P,L),!L.isCanceled&&I(P)}),w={disabled:S,multiple:l,orientation:s},R=m.useMemo(()=>({disabled:S,setGroupValue:A,value:T,isValueInitialized:E}),[S,A,T,E]),x={role:"group"},D=ja("div",t,{enabled:!!g,state:w,ref:n,props:[x,v]});return b.jsx(sne.Provider,{value:R,children:g?D:b.jsx(H$e,{render:f,className:c,style:p,state:w,refs:[n],props:[x,v],loopFocus:o,enableHomeAndEndKeys:!0,orientation:s})})});function $$e(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function J$e(...e){return t=>e.forEach(n=>$$e(n,t))}function Zu(...e){return m.useCallback(J$e(...e),e)}var Z$e=e=>e.scrollWidth>e.clientWidth,hne=({label:e,children:t,isTruncated:n=Z$e,onOpenChange:r,...i})=>{let o=m.useRef(null),[a,s]=m.useState(!1),l=(()=>
1963{if(e!==void 0)return e;if(typeof t=="string")return t;if(m.isValidElement(t))return t.props.children})();return b.jsx(XM,{label:b.jsx(Yu,{as:"span",size:"1",children:l}),triggerRef:o,...i,open:a,onOpenChange:u=>{let c=o.current;u&&!(c&&n(c))||(s(u),r?.(u))},children:b.jsx(rM,{children:t})})},Q$e=({tgphRef:e},t=[])=>{let[n,r]=m.useState(!1);return m.useEffect(()=>{let i=e.current,o=l=>r(u=>u===l?u:l);if(!i){o(!1);return}let a=()=>o(i.scrollWidth>i.clientWidth);a();let s=new ResizeObserver(a);return s.observe(i),()=>s.disconnect()},[e,...t]),{truncated:n}},X$e=["ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home"],tF="__tgph_segmented_control_value__",gne=`${tF}empty`,nO=`${tF}escaped__`,rO=e=>e===""?gne:e.startsWith(tF)?`${nO}${e}`:e,N9=e=>e===gne?"":e.startsWith(nO)?e.slice(nO.length):e,eJe=e=>{if(e!==void 0)return Array.isArray(e)?e.map(rO):[rO(e)]},tJe=(e,t)=>e==="multiple"?t.map(N9):N9(t[0]??""),R9=1,nJe=24,nF=m.createContext({disabled:!1,size:"1",showScrollButtons:!1,activeOptionRef:null,setActiveOptionRef:()=>{},isMultiple:!1}),rJe=({children:e,dir:t})=>t?b.jsx(pqe,{direction:t,children:e}):b.jsx(b.Fragment,{children:e}),iJe=({type:e,size:t="1",scrollControls:n="arrows",value:r,defaultValue:i,onValueChange:o,disabled:a,rovingFocus:s,orientation:l,dir:u,loop:c=!0,children:f,onKeyDown:p,tgphRef:v,...g})=>{let y=m.useId(),k=m.useRef(null),E=Zu(v,k),{truncated:S}=Q$e({tgphRef:k}),T=m.useRef(null),I=n==="arrows"&&S,A=I,w=e??"single",R=w==="multiple",[x,D]=pL({prop:r,defaultProp:i,onChange:o}),M=eJe(x)??[],F=m.useCallback(q=>{!R&&q.length===0||D(tJe(w,q))},[R,D,w]),L=m.useCallback(q=>{if(p?.(q),q.defaultPrevented){q.preventBaseUIHandler?.();return}s===!1&&X$e.includes(q.key)&&q.preventBaseUIHandler?.()},[p,s]),[P,j]=m.useState(null),[B,H]=m.useState(null),G=m.useCallback(q=>{if(!k.current)return;let $=k.current.clientWidth,J=q==="left"?k.current.scrollLeft-$:k.current.scrollLeft+$;k.current.scrollTo({left:J,behavior:"smooth"})},[]),O=m.useCallback(q=>{if(!k.current)return null;let $=k.current.scrollWidth-k.current.clientWidth;return q<=R9?"flushLeft":q>=$-R9?"flushRight":"middle"},[]),V=m.useCallback(()=>{if(!k.current)return;let q=k.current.scrollLeft,$=O(q);H($)},[O]);m.useEffect(()=>{if(!k.current)return;let q=k.current;return V(),q.addEventListener("scroll",V),()=>{q?.removeEventListener("scroll",V)}},[V]);let[W,U]=m.useState(!1);return m.useEffect(()=>{if(I&&P){let q=P.offsetLeft,$=O(q),J=(T.current?.clientWidth??0)+nJe;H($);let Z=$==="flushRight"||$==="middle"?q-J:q;k.current?.scrollTo({left:Z,behavior:W?"smooth":"instant"}),W||U(!0)}},[I,P,O,W]),b.jsxs(Gc,{position:"relative",overflow:I?"hidden":"visible",rounded:"2",children:[b.jsx(nF.Provider,{value:{size:t,disabled:a,showScrollButtons:I,activeOptionRef:P,setActiveOptionRef:j,isMultiple:R},children:b.jsx(rJe,{dir:u,children:b.jsx(Y$e,{value:M,onValueChange:F,disabled:a,multiple:R,orientation:l,loopFocus:c,render:Gl(b.jsx(fa,{id:y,bg:"gray-3",rounded:"2",align:"center",justify:"space-between",overflow:I?"hidden":"visible",position:"relative",dir:u,...R?void 0:{role:"radiogroup"},tgphRef:E,onKeyDown:L,...g,children:f}))})})}),A&&b.jsxs(Tk,{features:Ck,children:[b.jsx(Gc,{as:hT,animate:{x:B==="flushRight"||B==="middle"?0:"-100%",display:B==="flushRight"||B==="middle"?"flex":"none"},transition:{duration:.2,type:"spring",bounce:0},position:"absolute",left:"0",top:"0",bottom:"0",children:b.jsx(Oi,{variant:"outline",icon:{icon:l7e,alt:"Scroll left"},onClick:()=>G("left"),size:t,"aria-label":"Scroll left to view more options","aria-controls":y})},"left-scroll-button"),b.jsx(Gc,{as:hT,animate:{x:B==="flushLeft"||B==="middle"?0:"100%",display:B==="flushLeft"||B==="middle"?"flex":"none"},transition:{duration:.2,type:"spring",bounce:0},position:"absolute",right:"0",top:"0",bottom:"0",tgphRef:T,children:b.jsx(Oi,{variant:"outline",icon:{icon:u7e,alt:"Scroll right"},onClick:()=>G("right"),size:t,"aria-label":"Scroll right to view more options","aria-controls":y})},"right-scroll-button")]})]})},oJe={active:{variant:"outline",color:"default"},inactive:{variant:"ghost",color:"gray"}},aJe=({as:e,buttonRef:t,disabled:n,size:r="1",status:i,style:o,tgphRef:a,...s})=>{let{setActiveOptionRef:l,isMultiple:u,...c}=m.useContext(nF),f=c.size??r,p=!!(c.disabled||n),v=Zu(a,t);return m.useEffect(()=>{i==="active"&&l?.(t.current)},[t,i,l]),b.jsx(Oi,{as:e,size:f,disabled:p,...oJe[i],style:{flexGrow:1,...o},"data-tgph-segmented-control-option":!0,"data-tgph-segmented-control-option-status":i,tgphRef:v,...s,...u?void 0:{role:"radio","aria-checked":i==="active","aria-pressed":void 0},"aria-disabled":p||void 0})},sJe=e=>{let{as:t,value:n,disabled:r,nativeButton:i,...o}=e,a=m.useRef(null),{disabled:s}=m.useContext(nF),l=!!(s||r);return b.jsx(R$e,{value:rO(n),disabled:r,nativeButton:iM({as:t,disabled:l,nativeButton:i}),render:Gl(u=>b.jsx(aJe,{as:t,buttonRef:a,disabled:u.disabled||r,status:u.pressed?"active":"inactive",...o}))})},vne={};Object.assign(vne,{Root:iJe,Option:sJe});var yne=vne;function lJe(e){const t=m.useRef(!0);t.current&&(t.current=!1,e())}function uJe(e,t,n,r,i,o,a,s,l,u=2){const c=Oze(n.current,{event:e,orientation:r,loopFocus:i,rtl:o,cols:u,disabledIndices:a,minIndex:s,maxIndex:l,prevIndex:t>l?s:t,stopEvent:!0});return $c(n.current,c)?void 0:c}const kne=m.createContext(void 0),bne=m.createContext(void 0),Sne=m.createContext(void 0),Ene=m.createContext(!1),Tne=m.createContext("");function Ql(){const e=m.useContext(kne);if(!e)throw new Error(Ba(22));return e}function IA(){const e=m.useContext(bne);if(!e)throw new Error(Ba(23));return e}function wA(){const e=m.useContext(Sne);if(!e)throw new Error(Ba(24));return e}function Cne(){return m.useContext(Tne)}function cJe(){return m.useContext(Ene)}function dJe(e,t,n=Object.is){const{length:r}=e;if(r!==t.length)return!1;for(let i=0;i<r;i+=1)if(!n(e[i],t[i]))return!1;return!0}const rF=(e,t)=>Object.is(e,t);
1963function Hu(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function fJe(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!dJe(e,t,(r,i)=>Hu(r,i,n)):e!==t}function gT(e,t,n){return e?e.some(r=>r===void 0?!1:Hu(t,r,n)):!1}function iF(e,t,n){return e?e.findIndex(r=>r===void 0?!1:Hu(r,t,n)):-1}function pJe(e,t){if(t!==rF)return r=>gT(e,r,t);const n=new Set(e);return n.delete(void 0),r=>n.has(r)&&(r!==0||e.some(i=>Object.is(r,i)))}function FS(e,t,n,r){const i=r&&Array.isArray(t)?e.findIndex(pJe(t,n)):iF(e,t,n);return i===-1?null:i}function mJe(e,t,n,r,i,o){return gT(r,t,i)?o!=null&&e>o&&gT(r,n[o],i)?o:e:e===o?FS(n,r,i,!0):o}function hJe(e,t,n){return e.filter(r=>!Hu(t,r,n))}function iO(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}function gJe(e){return typeof e=="object"&&e!=null&&Array.isArray(e.items)}function oF(e){return gJe(e?.[0])}function VR(e){return oF(e)?e.flatMap(t=>t.items):e}function vJe(e){if(!Array.isArray(e))return e!=null&&"null"in e;const t=e;if(oF(t)){for(const n of t)for(const r of n.items)if(r&&r.value==null&&r.label!=null)return!0;return!1}for(const n of t)if(n&&n.value==null&&n.label!=null)return!0;return!1}function _f(e,t){if(t&&e!=null)return t(e)??"";if(e&&typeof e=="object"){if("label"in e&&e.label!=null)return String(e.label);if("value"in e)return String(e.value)}return iO(e)}function rv(e,t){return t&&e!=null?t(e)??"":e&&typeof e=="object"&&"value"in e&&"label"in e?iO(e.value):iO(e)}const yJe={id:e=>e.id,labelId:e=>e.labelId,items:e=>e.items,selectedValue:e=>e.selectedValue,hasSelectionChips:e=>{const t=e.selectedValue;return Array.isArray(t)&&t.length>0},hasSelectedValue:e=>{const{selectedValue:t,selectionMode:n}=e;return t==null?!1:n==="multiple"&&Array.isArray(t)?t.length>0:!0},hasNullItemLabel:(e,t)=>t?vJe(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMounted:e=>e.forceMounted,inline:e=>e.inline,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{const n=e.isItemEqualToValue,r=e.selectedValue;return Array.isArray(r)?r.some(i=>Hu(t,i,n)):Hu(t,r,n)},transitionStatus:e=>e.transitionStatus,popupProps:e=>e.popupProps,listProps:e=>e.listProps,inputProps:e=>e.inputProps,triggerProps:e=>e.triggerProps,itemProps:e=>e.itemProps,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupId:e=>e.popupId,triggerElement:e=>e.triggerElement,inputElement:e=>e.inputElement,inputGroupElement:e=>e.inputGroupElement,popupSide:e=>e.popupSide,openMethod:e=>e.openMethod,inputInsidePopup:e=>e.inputInsidePopup,inputOwnsFormValue:e=>e.inputOwnsFormValue,selectionMode:e=>e.selectionMode,name:e=>e.name,form:e=>e.form,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,grid:e=>e.grid,virtualized:e=>e.virtualized,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,modal:e=>e.modal,autoHighlight:e=>e.autoHighlight},kJe="data-valid",bJe="data-invalid",SJe={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},Ane={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},EJe={disabled:!1,...Ane},TJe={valid(e){return e===null?null:e?{[kJe]:""}:{[bJe]:""}}},Ine={invalid:void 0,name:void 0,validityData:{state:SJe,errors:[],error:"",value:"",initialValue:null},setValidityData:Cr,disabled:void 0,setTouched:Cr,setDirty:Cr,setFilled:Cr,setFocused:Cr,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:EJe,registerFieldControl:Cr,validation:{getValidationProps:(e,t=vi)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:Cr,getInputControl:()=>null,commit:async()=>{},change:Cr}},wne=m.createContext(Ine);function NA(e=!0){const t=m.useContext(wne);if(t.setValidityData===Cr&&!e)throw new Error(Ba(28));return t}function CJe(e,t,n,r,i=!0,o){const{registerFieldControl:a}=NA(),s=Oo(()=>Symbol());Vt(()=>{const l=s.current;if(!i){a(l,void 0);return}a(l,{controlRef:e,getValue:r,id:t,name:o,value:n})},[e,i,r,t,o,a,s,n]),Vt(()=>{const l=s.current;return()=>{a(l,void 0)}},[a,s])}const AJe=m.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:Cr,validationMode:"onSubmit",submitCountRef:{current:0}});function IJe(){return m.useContext(AJe)}const wJe=m.createContext({controlId:void 0,registerControlId:Cr,resetControlId:Cr,labelId:void 0,setLabelId:Cr,messageIds:[],setMessageIds:Cr,getDescriptionProps:e=>e});function aF(){return m.useContext(wJe)}function Nne(e={}){const{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:i,resetControlId:o}=aF(),a=gA(),s=Oo(()=>Symbol()),l=m.useRef(!1),u=m.useRef(!1),c=_t(()=>{!l.current||i===Cr||(l.current=!1,i(s.current,void 0))});return Vt(()=>{if(!n||i===Cr){c();return}let f;if(t!==void 0)u.current=!0,f=t;else if(u.current)f=a;else{o();return}if(f===void 0){c();return}l.current=!0,i(s.current,f)},[t,n,i,o,a,s,c]),Vt(()=>c,[c]),(n?r:void 0)??t??a}function Rne(e){return e==null?void 0:`${e}-popup`}function NJe(e,t){return(n,r)=>n==null?!1:e.contains(n,r,t)}function xne(e){return Array.isArray(e)?e.map(t=>xne(t)).join(","):e==null?"":String(e)}const x9=new Map;function RJe(e={}){const t={usage:"search",sensitivity:"base",ignorePunctuation:!0,...e},n=`${xne(e.locale)}|${JSON.stringify(t)}`,r=x9.get(n);if(r)return r;const i=new Intl.Collator(e.locale,t),o={contains(a,s,l){if(!s)return!0;const u=_f(a,l);for(let c=0;c<=u.length-s.length;c+=1)if(i.compare(u.slice(c,c+s.length),s)===0)return!0;return!1},startsWith(a,s,l){if(!s)return!0;const u=_f(a,l);return i.compare(u.slice(0,s.length),s)===0},endsWith(a,s,l){if(!s)return!0;const u=_f(a,l),c=s.length;return u.length>=c&&i.compare(u.slice(u.length-c),s)===0}};return x9.set(n,o),o}const Lne=RJe;function xJe(e){const t=m.useRef(""),n=m.useCallback(i=>{i.defaultPrevented||(t.current=i.pointerType,e(i,i.pointerType))},[e]);return{onClick:m.useCallback(i=>{if(i.detail===0){e(i,"keyboard");return}"pointerType"in i?e(i,i.pointerType):e(i,t.current),t.current=""},[e]),onPointerDown:n}}function nf(e,t){const n=m.useRef(e),r=_t(t);Vt(()=>{n.current!==e&&r(n.current),n.current=e},[e,r])}function LJe(e,t){const n=_t((o,a)=>
1963{(typeof e=="function"?e():e)||t(a||(nA?"touch":""))}),{onClick:r,onPointerDown:i}=xJe(n);return m.useMemo(()=>({onClick:r,onPointerDown:i}),[r,i])}function OJe(e){const[t,n]=m.useState(null),r=LJe(e,n);return nf(e,i=>{i&&!e&&n(null)}),m.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}function PJe(e,t=!1){const{overflowY:n}=pa(e);return n!=="auto"&&n!=="scroll"?!1:t?e.clientHeight>0:e.scrollHeight>e.clientHeight}const One=Symbol("none"),BR={value:One,index:-1};function _Je(e,t,n){const r=e.get(t);if(r!==void 0||n===rF)return r;for(const[i,o]of e)if(Hu(i,t,n))return o}function Pne(e){const{id:t,onOpenChangeComplete:n,defaultSelectedValue:r=null,selectedValue:i,onSelectedValueChange:o,defaultInputValue:a,inputValue:s,open:l,defaultOpen:u=!1,selectionMode:c,onItemHighlighted:f,name:p,form:v,disabled:g=!1,readOnly:y=!1,required:k=!1,inputRef:E,grid:S=!1,items:T,filteredItems:I,filter:A,filterQuery:w,openOnInputClick:R=!0,autoHighlight:x=!1,keepHighlight:D=!1,highlightItemOnHover:M=!0,loopFocus:F=!0,itemToStringLabel:L,itemToStringValue:P,isItemEqualToValue:j=rF,virtualized:B=!1,inline:H=!1,fillInputOnItemPress:G=!0,modal:O=!1,limit:V=-1,autoComplete:W="list",formAutoComplete:U,locale:q,submitOnItemClick:$=!1}=e,{clearErrors:J}=IJe(),{setDirty:Z,validityData:Y,setFilled:ee,name:te,disabled:ce,setTouched:ne,setFocused:Ce,validationMode:ae,validation:pe}=NA(),ve=vA(),Se=Nne({id:t}),De=Lne({locale:q}),Ee=Array.isArray(T)?null:T;if(Ee&&typeof Ee.label!="function")throw new Error(Ba(100));const ye=Ee?Ee.data:T,Pe=Ee?.value,Me=Pe?void 0:ye,Qe=m.useMemo(()=>{if(!I||!Pe)return;const kt=VR(I),Ot=kt.map(Pe);let wn;return{values:Ot,findItem(Hn,Dr){if(!wn){wn=new Map;for(let Gn=0;Gn<Ot.length;Gn+=1)wn.has(Ot[Gn])||wn.set(Ot[Gn],kt[Gn])}return _Je(wn,Hn,Dr)}}},[I,Pe]),Fe=m.useMemo(()=>Ee?kt=>Ee.label(kt,j,Ot=>{const wn=Qe?.findItem(Ot,j);return wn!=null?Ee.itemLabel(wn):_f(Ot,L)}):L,[Ee,L,Qe,j]),Ve=m.useMemo(()=>Ee?Object.assign(kt=>Ee.itemLabel(kt),{selected:kt=>_f(kt,Fe)}):L,[Ee,Fe,L]);function be(kt){return _f(kt,Fe)}const[Ae,ke]=m.useState(!1),[ue,ze]=m.useState(null),et=m.useRef(ue),lt=m.useRef([]),xe=m.useRef([]),We=m.useRef(null),X=m.useRef(null),de=m.useRef(null),ie=m.useRef(null),Re=m.useRef(null),Be=m.useRef(!0),tt=m.useRef(!1),at=m.useRef(null),ot=m.useRef(null),ft=m.useRef(null),Je=m.useRef(BR),Pt=m.useRef(null),Ht=m.useRef([]),fn=m.useRef(null),Sn=ce||g,Lt=te??p,nn=c==="multiple",Dn=c==="single",Bn=s!==void 0||a!==void 0,Rn=ye!==void 0,Pn=I!==void 0;let se;x==="always"?se="always":se=x?"input-change":!1;const[re,ge]=Zv({controlled:i,default:nn?r??ds:r,name:"Combobox",state:"selectedValue"}),je=m.useMemo(()=>A===null?()=>!0:A!==void 0?A:NJe(De,Ve),[A,De,Ve]),Ge=Oo(()=>Bn?a??"":Dn?be(re):"").current,[ht,At]=Zv({controlled:s,default:Ge,name:"Combobox",state:"inputValue"}),[dt,It]=Zv({controlled:l,default:u,name:"Combobox",state:"open"}),Gt=oF(ye),Nt=!dt&&ue!==null?ue:String(ht).trim(),Xt=Dn?be(re):"",Ne=Dn&&!Ae&&Nt!==""&&Xt.length===Nt.length&&De.contains(Xt,Nt),Le=Ne?"":w??Nt,ut=Rn&&Pn&&Ne&&(!Ee||Ee.hasValue(re,j)),xt=m.useMemo(()=>ye?VR(ye):ds,[ye]),Rt=m.useMemo(()=>{if(I&&!ut)return I;if(!ye)return ds;if(Gt){const Ot=ye,wn=[];let Hn=0;for(const Dr of Ot){if(V>-1&&Hn>=V)break;const Gn=V>-1?V-Hn:1/0,lr=Le===""?Dr.items.slice(0,Gn):[];if(Le!=="")for(const Ii of Dr.items){if(lr.length>=Gn)break;je(Ii,Le,Ve)&&lr.push(Ii)}if(lr.length>0){const Ii={...Dr,items:lr};wn.push(Ii),Hn+=lr.length}}return wn}if(Le==="")return V>-1?xt.slice(0,V):xt;const kt=[];for(const Ot of xt){if(V>-1&&kt.length>=V)break;je(Ot,Le,Ve)&&kt.push(Ot)}return kt},[I,ut,ye,Gt,Le,V,je,Ve,xt]),Bt=m.useMemo(()=>{if(Qe&&Rt===I)return Qe.values;const kt=VR(Rt);return Pe?kt.map(Ot=>Pe(Ot)):kt},[Rt,I,Qe,Pe]),rt=Oo(()=>{let kt=null;return H&&dt&&Rn&&c!=="none"&&(kt=FS(Bt,re,j,nn)),new AM({id:Se,labelId:void 0,selectedValue:re,open:dt,items:Me,selectionMode:c,name:Lt,form:v,disabled:Sn,readOnly:y,required:k,grid:S,virtualized:B,openOnInputClick:R,itemToStringLabel:Fe,isItemEqualToValue:j,modal:O,autoHighlight:se,submitOnItemClick:$,hasInputValue:Bn,mounted:!1,forceMounted:!1,transitionStatus:"idle",inline:H,activeIndex:null,selectedIndex:kt,popupProps:{},listProps:{},inputProps:{},triggerProps:{},itemProps:vi,positionerElement:null,listElement:null,popupId:void 0,triggerElement:null,inputElement:null,inputGroupElement:null,popupSide:null,openMethod:null,inputInsidePopup:!0,inputOwnsFormValue:c==="none"},{onOpenChangeComplete:Cr,setOpen:Cr,setInputValue:Cr,setSelectedValue:Cr,setIndices:Cr,handleSelection:Cr,forceMount:Cr,requestSubmit:Cr,listRef:lt,labelsRef:xe,popupRef:We,emptyRef:Re,inputRef:X,startDismissRef:de,endDismissRef:ie,keyboardActiveRef:Be,chipsContainerRef:at,clearRef:ot,valuesRef:Ht,pointerDownItemRef:fn,selectionEventRef:ft},yJe)}).current,Vn=c==="none"?ht:re,Ki=m.useMemo(()=>c==="none"?Vn:Array.isArray(re)?re.map(kt=>rv(kt,P)):rv(re,P),[Vn,P,c,re]),Yi=_t(f),_i=_t(n),$i=rt.useState("activeIndex"),vn=rt.useState("selectedIndex"),_r=rt.useState("positionerElement"),Kn=rt.useState("listElement"),Ai=rt.useState("triggerElement"),Kr=rt.useState("inputElement"),ol=rt.useState("inputGroupElement"),cn=rt.useState("inline"),ar=rt.useState("inputInsidePopup"),Di=rt.useState("inputOwnsFormValue"),Mi=Dn&&!ar&&ht===Xt,Ha=Si(Ai),{mounted:Wa,setMounted:sr,transitionStatus:Go}=Iee(dt),{openMethod:al,triggerProps:eu}=OJe(dt),Ed=_t(()=>Ki);CJe(ar?Ha:X,Se,Vn,Ed,!Sn,p);const sl=_t(()=>{ye?xe.current=Bt.map(be):rt.set("forceMounted",!0)}),ll=_t((kt,Ot,wn)=>
1963{if(Ot===-1){if(Je.current===BR)return;Je.current=BR}else Je.current={value:kt,index:Ot};Yi(kt,fze(wn,void 0,{index:Ot}))}),ko=_t(kt=>{const Ot={};kt.activeIndex!==void 0&&(Ot.activeIndex=kt.activeIndex),kt.selectedIndex!==void 0&&(Ot.selectedIndex=kt.selectedIndex),rt.update(Ot);const wn=kt.activeIndex;if(wn===void 0)return;const Hn=kt.type||Vo;wn===null?ll(void 0,-1,Hn):ll(Ht.current[wn],wn,Hn)}),Nn=_t((kt,Ot)=>{if(e.onInputValueChange?.(kt,Ot),!Ot.isCanceled){if(tt.current=Ot.reason===El,Ot.reason===Kv){dt&&ue!==null&&ze(null);const wn=Ot.event,Hn=wn.inputType;if(wn.type==="compositionend"||Hn!=null&&Hn!==""&&Hn!=="insertReplacementText"){const Gn=kt.trim()!=="";Gn&&ke(!0),Pt.current={hasQuery:Gn};const lr=rt.state.listElement;if(!rt.state.virtualized&&lr){const Ii=We.current;for(const ao of bh(lr.firstElementChild??lr)){if(!Er(ao)||(Ii?!Zt(Ii,ao):ao.getAttribute("role")==="dialog"))break;if(PJe(ao)){ao.scrollTop=0;break}}}Gn&&se&&rt.state.activeIndex==null&&(dt||cn)&&rt.set("activeIndex",0)}}else Ot.reason===El&&kt===""&&rt.state.inputInsidePopup&&(Pt.current={hasQuery:!1,selection:!0}
1963);At(kt)}}),Td=_t(kt=>{const Ot=!kt&&ar&&!cn&&ht!==""&&(String(ht).trim()===ue||ht===Xt);!kt&&(Ot||ht===""||Mi)&&ke(!1),ze(null),Ot&&Nn("",gn(El))}),ul=_t((kt,Ot)=>{if(dt!==kt&&(Ot.reason===kk&&Rn&&Bt.length===0&&!Re.current&&Ot.allowPropagation(),e.onOpenChange?.(kt,Ot),!Ot.isCanceled&&(kt&&ue!==null&&Td(Ot.reason===Kv),!kt&&Ae&&(Dn?(cn||ze(Nt),Nt===""&&ke(!1)):nn&&(cn||ze(Nt),ar&&ko({activeIndex:null}),(!ar||cn)&&Nn("",gn(El,Ot.event,void 0,{isItemPress:Ot.reason===dj})))),It(kt),!kt&&ar&&(Ot.reason===lA||Ot.reason===hM)&&(ne(!0),Ce(!1),ae==="onBlur")))){const wn=c==="none"?ht:re;pe.commit(wn)}}),cl=_t((kt,Ot)=>{if(o?.(kt,Ot),Ot.isCanceled)return;ge(kt),(c==="none"&&We.current&&G||Dn&&!rt.state.inputInsidePopup)&&Nn(be(kt),gn(Ot.reason,Ot.event))}),mp=_t((kt,Ot)=>{const wn=Pi(kt),Hn=ft.current??kt;ft.current=null;const Dr=gn(dj,Hn),Gn=wn?.closest("a")?.getAttribute("href");if(Gn){Gn.startsWith("#")&&ul(!1,Dr);return}if(nn){const lr=Array.isArray(re)?re:[],Ii=gT(lr,Ot,j),ao=Ii?hJe(lr,Ot,j):[...lr,Ot];if(cl(ao,Dr),Dr.isCanceled||!(X.current?X.current.value.trim()!=="":!1))return;if(rt.state.inputInsidePopup){Nn("",gn(El,Dr.event,void 0,{isItemPress:!0}));const Ya=Pt.current;Ya&&!Ii&&(Ya.toggledValue=Ot)}else ul(!1,Dr)}else{if(cl(Ot,Dr),Dr.isCanceled)return;ul(!1,Dr)}}),hp=_t(()=>{const kt=pe.inputRef.current?.form??rt.state.inputElement?.form;kt&&typeof kt.requestSubmit=="function"&&kt.requestSubmit()}),Qu=_t(()=>{if(sr(!1),_i?.(!1),ke(!1),ze(null),ko(c==="none"?{activeIndex:null,selectedIndex:null}:{activeIndex:null}),nn&&X.current&&X.current.value!==""&&!tt.current&&Nn("",gn(El)),Dn)if(rt.state.inputInsidePopup)X.current&&X.current.value!==""&&Nn("",gn(El));
1963else{const kt=be(re);X.current&&X.current.value!==kt&&Nn(kt,gn(kt===""?El:Vo))}}),Cd=m.useMemo(()=>cn&&_r?{current:_r.closest('[role="dialog"]')}:We,[cn,_r]);mA({enabled:!e.actionsRef,open:dt,ref:Cd,onComplete(){dt||Qu()}}),m.useImperativeHandle(e.actionsRef,()=>({unmount:Qu}),[Qu]),Vt(function(){const Ot=et.current!==null&&ue===null;if(et.current=ue,dt&&(!Ot||!Rn)||(dt||(fn.current=null),c==="none"))return;const wn=Rn?Bt:Ht.current;ko({selectedIndex:FS(wn,re,j,nn)})},[dt,ue,re,c,nn,Rn,Bt,j,ko]),Vt(()=>{ye&&(Ht.current=Bt,lt.current.length=Bt.length)},[ye,Bt]),Vt(()=>{const kt=Pt.current;if(kt){const Ii=dt||cn||rt.state.positionerElement?.hidden===!1;if(kt.hasQuery)se&&Ii&&rt.set("activeIndex",0),Pt.current=null;else if(String(ht).trim()===""&&(Pt.current=null,Ii)){const ao=kt.selection;se==="always"&&!ao&&rt.state.selectionMode==="none"&&rt.set("activeIndex",0),queueMicrotask(()=>{if(!rt.state.open&&!rt.state.inline||X.current&&X.current.value.trim()!=="")return;const iu=rt.state.selectedValue,Ya=rt.state.selectionMode==="multiple";if(Ya&&Array.isArray(iu)?iu.length>0:rt.state.selectionMode!=="none"&&iu!=null){const oc=Rn||Pn?Bt:Ht.current,Nd=iF(oc,kt.toggledValue,rt.state.isItemEqualToValue);rt.set("activeIndex",Nd!==-1?Nd:FS(oc,iu,rt.state.isItemEqualToValue,Ya))}else ao?rt.set("activeIndex",null):se==="always"&&rt.set("activeIndex",0)})}}if(!dt&&!cn)return;const wn=Rn||Pn?Bt:Ht.current,Hn=rt.state.activeIndex;if(Hn==null){if(se==="always"&&wn.length>0){rt.set("activeIndex",0);return}ll(void 0,-1,Vo);return}if(Hn>=wn.length){ll(void 0,-1,Vo),rt.set("activeIndex",null);return}const Dr=wn[Hn],Gn=Je.current.value,lr=Gn!==One&&Hu(Dr,Gn,rt.state.isItemEqualToValue);(Je.current.index!==Hn||!lr)&&ll(Dr,Hn,Vo)},[$i,se,ll,Pn,Rn,Bt,cn,dt,rt,ht]),Vt(()=>{if(c==="none"){ee(String(ht)!=="");return}ee(nn?Array.isArray(re)&&re.length>0:re!=null)},[ee,c,ht,re,nn]),m.useEffect(()=>{Rn&&se&&Bt.length===0&&ko({activeIndex:null})},[Rn,se,Bt.length,ko]);function Xu(){dt&&Nt!==""&&Nt!==String(Ge)&&!Mi&&ke(!0)}function qa(){dt&&ue!==null&&Td(!1)}let ya=!1;function ka(){!ya&&ht!==Xt&&(ya=!0,Nn(Xt,gn(Vo)))}function tu(){c!=="none"&&(J(Lt),Z(fJe(re,Y.initialValue,j)),pe.change(re),Dn&&!Bn&&!ar&&ka())}function dl(){Dn&&!Bn&&!ar&&!Ae&&ka()}function Ga(){c==="none"&&(J(Lt),Z(ht!==Y.initialValue),pe.change(ht))}nf(Nt,Xu),nf(dt,qa),nf(re,tu),nf(Xt,dl),nf(ye,dl),nf(ht,Ga);const ec=AWe({open:cn?!0:dt,onOpenChange:ul,elements:{reference:ar?Ai:Kr,floating:_r}}),Ad=S?"grid":"listbox",Ka=dt||cn,Id=Ka?"true":"false",nu=m.useMemo(()=>{const kt=Kr?.tagName==="INPUT",Ot=Kr==null||kt,wn=Ot||Ka,Hn=Ot?{autoComplete:"off",spellCheck:"false",autoCorrect:"off",autoCapitalize:"none"}:{};return wn&&(Hn.role="combobox",Hn["aria-expanded"]=Id,Hn["aria-haspopup"]=Ad,Hn["aria-controls"]=Ka?Kn?.id:void 0,Hn["aria-autocomplete"]=y?"none":W),{reference:Hn,floating:{role:"presentation"}}},[Kr,Ka,Id,Ad,Kn?.id,W,y]),Oe=gee(ec,{enabled:!Sn&&R,event:"mousedown-only",toggle:!1,touchOpenDelay:ar?0:100,reason:lze}),oe=vee(ec,{enabled:!Sn&&!cn,outsidePressEvent:{mouse:"sloppy",touch:"intentional"},bubbles:cn?!0:void 0,outsidePress(kt){const Ot=Pi(kt);return!Zt(Ai,Ot)&&!Zt(ot.current,Ot)&&!Zt(at.current,Ot)&&!Zt(ol,Ot)}}),fe=DWe(ec,{enabled:!Sn,id:Se,listRef:lt,activeIndex:$i,selectedIndex:vn,virtual:!0,loopFocus:F,allowEscape:F&&!se,focusItemOnOpen:Ae||c==="none"&&!se?!1:"auto",focusItemOnHover:M,resetOnPointerLeave:!D,orientation:S?"horizontal":void 0,rtl:ve==="rtl",disabledIndices:ds,grid:S?uJe:void 0,onNavigate(kt,Ot){!Ot&&!dt||Go==="ending"||ko(Ot?{activeIndex:kt,type:Be.current?KX:gM}:{activeIndex:kt})}}),Ke=m.useMemo(()=>qc(fe.reference,{onKeyDown(kt){S&&rt.state.activeIndex==null&&(kt.key==="ArrowLeft"||kt.key==="ArrowRight")&&kt.preventBaseUIHandler()}},oe.reference,Oe.reference,nu.reference),[fe.reference,oe.reference,Oe.reference,nu.reference,S,rt]),st=m.useMemo(()=>qc(wee,oe.floating),[oe.floating]),Cn=m.useMemo(()=>qc(fe.floating,nu.floating),[fe.floating,nu.floating]),yr=m.useMemo(()=>{const kt=fe.item;return kt?{...kt,onFocus:void 0}:vi},[fe.item]);rt.useContextCallback("setOpen",ul),rt.useContextCallback("setInputValue",Nn),rt.useContextCallback("setSelectedValue",cl),rt.useContextCallback("setIndices",ko),rt.useContextCallback("handleSelection",mp),rt.useContextCallback("forceMount",sl),rt.useContextCallback("requestSubmit",hp),rt.useContextCallback("onOpenChangeComplete",n),lJe(()=>{rt.update({inline:H,popupProps:st,listProps:Cn,inputProps:Ke,triggerProps:eu,itemProps:yr})});const Fi={id:Se,selectedValue:re,open:dt,mounted:Wa,transitionStatus:Go,items:Me,inline:H,popupProps:st,listProps:Cn,inputProps:Ke,triggerProps:eu,itemProps:yr,openMethod:al,selectionMode:c,name:Lt,form:v,disabled:Sn,readOnly:y,required:k,grid:S,virtualized:B,openOnInputClick:R,itemToStringLabel:Fe,modal:O,autoHighlight:se,isItemEqualToValue:j,submitOnItemClick:$,hasInputValue:Bn};Vt(()=>{rt.update({...Fi,inputOwnsFormValue:c==="none"&&(H||!rt.state.inputInsidePopup)})},[rt,...Object.values(Fi)]);const tc=ld(E,pe.inputRef),wd=m.useMemo(()=>({query:Nt,hasItems:Rn,filteredItems:Rt,flatFilteredValues:Bt}),[Nt,Rn,Rt,Bt]),nc=m.useMemo(()=>Array.isArray(Vn)?"":rv(Vn,P),[Vn,P]),rc=nn&&Array.isArray(re)&&re.length>0,ru=nn||c==="none"&&Di?void 0:Lt,ba=m.useMemo(()=>!nn||!Array.isArray(re)||!Lt?null:re.map(kt=>{const Ot=rv(kt,P);return b.jsx("input",{type:"hidden",form:v,name:Lt,value:Ot,disabled:Sn},Ot)}),[nn,re,v,Lt,P,Sn]),ic=b.jsxs(m.Fragment,{children:[e.children,b.jsx("input",{...pe.getValidationProps(Sn,{onFocus(){if(ar){Ai?.focu
1963s();return}(X.current||Ai)?.focus()},onChange(kt){if(kt.nativeEvent.defaultPrevented||Sn||y)return;const Ot=kt.currentTarget.value,wn=Ot.toLowerCase(),Hn=gn(Vo,kt.nativeEvent),Dr=()=>Ht.current.findIndex(lr=>rv(lr,P).toLowerCase()===wn||be(lr).toLowerCase()===wn);function Gn(){if(nn)return;if(c==="none"){Nn(Ot,Hn);return}let lr=Dr();lr===-1&&(lr=Ht.current.findIndex((ao,iu)=>{const Ya=xe.current[iu];return Ya!=null&&Ya.toLowerCase()===wn}));const Ii=lr===-1?void 0:Ht.current[lr];Ii!=null&&cl?.(Ii,Hn)}Dn&&(sl(),ye&&Dr()===-1&&rt.set("forceMounted",!0)),queueMicrotask(Gn)}}),id:Se&&ru==null?`${Se}-hidden-input`:void 0,form:v,name:ru,autoComplete:U,disabled:Sn,required:k&&!rc,readOnly:y,value:nc,ref:tc,style:ru?XX:QX,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),ba]});return b.jsx(kne.Provider,{value:rt,children:b.jsx(bne.Provider,{value:ec,children:b.jsx(Ene.Provider,{value:Rn,children:b.jsx(Sne.Provider,{value:wd,children:b.jsx(Tne.Provider,{value:ht,children:ic})})})})})}function DJe(e){const{openOnInputClick:t=!1,value:n,defaultValue:r,onValueChange:i,mode:o="list",itemToStringValue:a,...s}=e,l=(o==="inline"||o==="both")&&!e.readOnly,u=o==="inline"||o==="none",c=n!==void 0,[f,p]=m.useState(r??""),[v,g]=m.useState("");m.useEffect(()=>{(c||!l)&&g("")},[n,c,l]);let y;l&&v!==""?y=v:c?y=n??"":y=f;const k=Lne({locale:s.locale}),E=String((c?n:f)??"").trim(),S=u||s.filter===null?null:s.filter??k.contains;function T(A,w){g(""),c||p(A),i?.(A,w)}function I(A,w){e.onItemHighlighted?.(A,w),w.reason!==gM&&g(l&&A!=null?_f(A,a):"")}return b.jsx(Pne,{...s,itemToStringLabel:a,openOnInputClick:t,selectionMode:"none",fillInputOnItemPress:!0,filter:S,filterQuery:o==="both"?E:void 0,autoComplete:o,inputValue:y,defaultInputValue:r,onInputValueChange:T,onItemHighlighted:I})}const MJe="data-popup-side",FJe="data-list-empty",_ne={...eze,...TJe,popupSide:e=>e?{[MJe]:e}:null,listEmpty:e=>e?{[FJe]:""}:null},U0=5;function UJe(e,t){const n=VJe(t);return e.clientX>=n.left-U0&&e.clientX<=n.right+U0&&e.clientY>=n.top-U0&&e.clientY<=n.bottom+U0}function VJe(e){const t=e.getBoundingClientRect(),n=ti(e);if(sM)return t;const r=n.getComputedStyle(e,"::before"),i=n.getComputedStyle(e,"::after");if(!(r.content!=="none"||i.content!=="none"))return t;const a=parseFloat(r.width)||0,s=parseFloat(r.height)||0,l=parseFloat(i.width)||0,u=parseFloat(i.height)||0,c=Math.max(t.width,a,l),f=Math.max(t.height,s,u),p=c-t.width,v=f-t.height;return{left:t.left-p/2,right:t.right+p/2,top:t.top-v/2,bottom:t.bottom+v/2}}function BJe(e,t){return e??t}function Dne(e){const t=e.useState("mounted"),n=e.useState("popupSide"),r=e.useState("positionerElement");return t&&r?n:null}function RA(){return wA().filteredItems.length===0}function jJe(e){return e==="rtl"?["ArrowRight","ArrowLeft"]:["ArrowLeft","ArrowRight"]}function zJe(e,t){const n=e>=t-1?t-2:e;return n>=0?n:void 0}function Mne(e,t,n){const r=e.context.listRef.current[t];r&&(e.context.selectionEventRef.current=n,r.click(),e.context.selectionEventRef.current=null)}const HJe=m.forwardRef(function(t,n){const{render:r,className:i,nativeButton:o=!0,disabled:a=!1,id:s,style:l,...u}=t,{state:c,disabled:f,setTouched:p,setFocused:v,validationMode:g,validation:y}=NA(),{labelId:k}=aF(),E=Ql(),S=E.useState("selectionMode"),T=E.useState("disabled"),I=E.useState("readOnly"),A=E.useState("required"),w=E.useState("positionerElement"),R=E.useState("listElement"),x=E.useState("popupId"),D=E.useState("triggerProps"),M=E.useState("inputInsidePopup"),F=E.useState("id"),L=E.useState("labelId"),P=E.useState("open"),j=E.useState("selectedValue"),B=E.useState("activeIndex"),H=E.useState("selectedIndex"),G=E.useState("hasSelectedValue"),O=IA(),V=Cne(),W=el(),U=f||T||a,q=RA(),$=Dne(E);Nne({id:M?s:void 0});const J=M?s??F:s,Z=BJe(k,L);let Y;P&&M?Y=x??Rne(F):P&&(Y=R?.id);const ee=m.useRef("");function te(De){ee.current=De.pointerType}const{reference:ce}=MWe(O,{enabled:!P&&!I&&!T&&S==="single",listRef:E.context.labelsRef,activeIndex:B,selectedIndex:H,onMatch(De){const Ee=E.context.valuesRef.current[De];Ee!==void 0&&E.context.setSelectedValue(Ee,gn(Vo))}}),{reference:ne}
1963=gee(O,{enabled:!T,event:"mousedown"}),{buttonRef:Ce,getButtonProps:ae}=AA({native:o,disabled:U}),pe={...c,readOnly:I,open:P,disabled:U,popupSide:$,listEmpty:q,placeholder:S==="none"?!1:!G},ve=_t(De=>{E.set("triggerElement",De)});return ja("button",t,{ref:[n,Ce,ve],state:pe,props:[D,ne,ce,{id:J,tabIndex:M?0:-1,role:M?"combobox":void 0,"aria-expanded":P,"aria-haspopup":M?"dialog":"listbox","aria-controls":Y,"aria-required":M&&A||void 0,"aria-readonly":M&&I||void 0,"aria-labelledby":Z,onPointerDown:te,onPointerEnter:te,onFocus(){v(!0),!U&&W.start(0,E.context.forceMount)},onBlur(De){if(!Zt(w,De.relatedTarget)&&(p(!0),v(!1),g==="onBlur")){const Ee=S==="none"?V:j;y.commit(Ee)}},onMouseDown(De){if(U||(M||O.set("domReferenceElement",De.currentTarget),E.context.forceMount(),ee.current!=="touch"&&(E.context.inputRef.current?.focus(),M||De.preventDefault()),P))return;const Ee=hr(De.currentTarget);function ye(Pe){const Me=E.state.triggerElement;if(!Me)return;const Qe=Pi(Pe),Fe=E.state.positionerElement,Ve=E.state.listElement;Zt(Me,Qe)||Zt(Fe,Qe)||Zt(Ve,Qe)||UJe(Pe,Me)||E.context.setOpen(!1,gn(uze,Pe))}M&&Ee.addEventListener("mouseup",ye,{once:!0})},onKeyDown(De){(De.key==="ArrowDown"||De.key==="ArrowUp")&&(zi(De),E.context.setOpen(!0,gn(TL,De.nativeEvent)),E.context.inputRef.current?.focus())}},y.getValidationProps(U,u),ae],stateAttributesMapping:_ne})}),WJe=m.createContext(void 0);function qJe(){return m.useContext(WJe)}const Fne=m.createContext(void 0);function sF(e){const t=m.useContext(Fne);if(t===void 0&&!e)throw new Error(Ba(21));return t}const Une=m.forwardRef(function(t,n){const r=Ql(),{buttonRef:i,getButtonProps:o}=AA({native:!1}),a=ld(n,i);function s(u){r.context.setOpen(!1,gn(sze,u.nativeEvent,u.currentTarget))}const l=o({onClick:s});return b.jsx("span",{ref:a,...l,"aria-label":"Dismiss",tabIndex:void 0,style:XX})}),lF=m.forwardRef(function(t,n){const{render:r,className:i,disabled:o=!1,id:a,style:s,...l}=t,{state:u,disabled:c,setTouched:f,setFocused:p,validationMode:v,validation:g}=NA(),{labelId:y}=aF(),k=qJe(),S=!!sF(!0),T=Ql(),I=Cne(),A=vA(),w=T.useState("required"),R=T.useState("disabled"),x=T.useState("readOnly"),D=T.useState("name"),M=T.useState("form"),F=T.useState("selectionMode"),L=T.useState("autoHighlight"),P=T.useState("inputProps"),j=T.useState("triggerProps"),B=T.useState("open"),H=T.useState("mounted"),G=T.useState("selectedValue"),O=T.useState("id"),V=T.useState("inline"),W=T.useState("modal"),U=!!L,q=Dne(T),$=c||R||o,J=RA(),Z=S||V,Y=!Z||W,ee=gA(a??(Z?void 0:O)),te=S?Ane:u,[ce,ne]=m.useState(null),Ce=m.useRef(!1),ae=m.useRef(null),pe=m.useRef(!1),ve=F==="none"&&!S,Se=_t(Ve=>{const be=S||T.state.inline;be&&!T.state.hasInputValue&&T.context.setInputValue("",gn(Vo)),T.update({inputElement:Ve,inputInsidePopup:be,inputOwnsFormValue:ve})}),De=S?l:g.getValidationProps($,l);function Ee(){T.context.setIndices({activeIndex:null,selectedIndex:null,type:T.context.keyboardActiveRef.current?KX:gM})}function ye(){T.context.keyboardActiveRef.current=!1}const Pe={...te,open:B,disabled:$,readOnly:x,popupSide:q,listEmpty:J};function Me(Ve){if(!k)return;let be;const{highlightedChipIndex:Ae}=k,ke=k.chipsRef.current.length,[ue,ze]=jJe(A);return Ae!==void 0?(Ve.key===ue?(Ve.preventDefault(),Ae>0?be=Ae-1:be=void 0):Ve.key===ze?(Ve.preventDefault(),Ae<ke-1?be=Ae+1:be=void 0):(Ve.key==="Backspace"||Ve.key==="Delete")&&(Ve.preventDefault(),be=zJe(Ae,G.length),Ee()),be):(Ve.key===ue&&(Ve.currentTarget.selectionStart??0)===0&&G.length>0&&(Ve.preventDefault(),be=ke>0?ke-1:void 0),be)}const Qe=ja("input",t,{state:Pe,ref:[n,T.context.inputRef,Se],props:[P,j,{value:ce??I,"aria-readonly":x||void 0,"aria-required":w||void 0,"aria-labelledby":y,disabled:$,readOnly:x,required:F==="none"?w:void 0,form:M,...ve&&D&&{name:D},id:ee,onFocus(){if(p(!0),!V||!pe.current)return;pe.current=!1;const Ve=ae.current;Ve==null||!Object.hasOwn(T.context.valuesRef.current,Ve)||T.context.setIndices({activeIndex:Ve})},onBlur(){f(!0),p(!1);const Ve=T.state.activeIndex;if(V&&Ve!==null&&L!=="always"&&(ae.current=Ve,pe.current=!0,T.context.setIndices({activeIndex:null})),v==="onBlur"){const be=F==="none"?I:G;g.commit(be)}},onCompositionStart(Ve){ZE||(Ce.current=!0,ne(Ve.currentTarget.value))},onCompositionEnd(Ve){Ce.current=!1;const be=Ve.currentTarget.value;ne(null),T.context.setInputValue(be,gn(Kv,Ve.nativeEvent))},onChange(Ve){const be=Ve.nativeEvent,Ae=be.inputType,ke=!Ae||Ae==="insertReplacementText",ue=Ce.current||!ke;function ze(We){x||$||!We||!ue||(T.context.setOpen(!0,gn(Kv,be)),U||Ee())}if(Ce.current){const We=Ve.currentTarget.value;
1963ne(We),We===""&&!T.state.openOnInputClick&&!T.state.inputInsidePopup&&T.context.setOpen(!1,gn(El,be));const X=We.trim(),de=U&&X!=="";ze(X),B&&T.state.activeIndex!==null&&!de&&Ee();return}const et=gn(Kv,be);if(T.context.setInputValue(Ve.currentTarget.value,et),et.isCanceled)return;const lt=Ve.currentTarget.value==="",xe=gn(El,be);lt&&!T.state.inputInsidePopup&&(F==="single"&&T.context.setSelectedValue(null,xe),T.state.openOnInputClick||T.context.setOpen(!1,xe)),ze(Ve.currentTarget.value.trim()),B&&T.state.activeIndex!==null&&!U&&Ee()},onKeyDown(Ve){if(Ve.ctrlKey||Ve.shiftKey||Ve.altKey||Ve.metaKey)return;if(T.context.keyboardActiveRef.current=!0,$||x){x&&Ve.key==="Enter"&&B&&T.state.activeIndex!==null&&zi(Ve);return}const be=Ve.currentTarget,Ae=be.scrollWidth-be.clientWidth,ke=A==="rtl";if(Ve.key==="Home"){zi(Ve);const et=uj&&ke?be.value.length:0;be.setSelectionRange(et,et),be.scrollLeft=0;return}if(Ve.key==="End"){zi(Ve);const et=uj&&ke?0:be.value.length;be.setSelectionRange(et,et),be.scrollLeft=ke?-Ae:Ae;return}if(!H&&Ve.key==="Escape"){const et=F==="multiple"&&Array.isArray(G)?G.length===0:G===null,lt=gn(kk,Ve.nativeEvent),xe=F==="multiple"?[]:null;T.context.setInputValue("",lt),T.context.setSelectedValue(xe,lt),!et&&!T.state.inline&&!lt.isPropagationAllowed&&Ve.stopPropagation();return}if(k&&Ve.key==="Backspace"&&be.value===""&&k.highlightedChipIndex===void 0&&Array.isArray(G)&&G.length>0){const et=k.chipsRef.current.length,lt=et>0?et-1:G.length-1,xe=G.filter((We,X)=>X!==lt);Ee(),T.context.setSelectedValue(xe,gn(Vo,Ve.nativeEvent));return}const ue=k?.highlightedChipIndex!==void 0,ze=Me(Ve);if(k?.setHighlightedChipIndex(ze),ze!==void 0?k?.chipsRef.current[ze]?.focus():ue&&T.context.inputRef.current?.focus(),Ve.which!==229&&Ve.key==="Enter"&&B){const et=T.state.activeIndex,lt=Ve.nativeEvent;if(et===null){if(V)return;T.context.setOpen(!1,gn(Vo,lt));return}zi(Ve),Mne(T,et,lt)}},onPointerMove:ye,onPointerDown:ye},De],stateAttributesMapping:_ne}),Fe=S?b.jsx(wne.Provider,{value:Ine,children:Qe}):Qe;return b.jsxs(m.Fragment,{children:[B&&Y&&b.jsx(Une,{ref:T.context.startDismissRef}),Fe]})}),GJe=m.createContext(null);function KJe(){return m.useContext(GJe)}function YJe(e){const{children:t}=e,{filteredItems:n}=wA(),r=KJe(),i=r?r.items:n;return b.jsx(m.Fragment,{children:i.map(t)})}const $Je=m.forwardRef(function(t,n){var r;const{render:i,className:o,style:a,children:s,...l}=t,u=Ql(),c=IA(),f=!!sF(!0),{filteredItems:p,hasItems:v}=wA(),g=u.useState("selectionMode"),y=u.useState("grid"),k=u.useState("readOnly"),E=u.useState("listProps"),S=u.useState("virtualized"),T=u.useState("forceMounted"),I=g==="multiple",A=p.length===0,w=_t(P=>{u.set("positionerElement",P)}),R=_t(P=>{u.set("listElement",P)}),x=m.useMemo(()=>typeof s=="function"?r||(r=b.jsx(YJe,{children:s})):s,[s]),D={empty:A},M=c.useState("floatingId"),F=ja("div",t,{state:D,ref:[n,R,f?null:w],props:[E,{children:x,tabIndex:-1,id:M,role:y?"grid":"listbox","aria-multiselectable":I?"true":void 0,"aria-readonly":!y&&k?!0:void 0,onKeyDown(P){if(!(u.state.disabled||u.state.readOnly)&&P.key==="Enter"){const j=u.state.activeIndex;if(j==null)return;zi(P),Mne(u,j,P.nativeEvent)}},onKeyDownCapture(){u.context.keyboardActiveRef.current=!0},onPointerMoveCapture(){u.context.keyboardActiveRef.current=!1}},l]});if(S)return F;const L=v&&!T?void 0:u.context.labelsRef;return b.jsx(fne,{elementsRef:u.context.listRef,labelsRef:L,children:F})}),Vne=m.createContext(void 0);function JJe(){const e=m.useContext(Vne);if(e===void 0)throw new Error(Ba(20));return e}const ZJe=m.forwardRef(function(t,n){const{keepMounted:r=!1,...i}=t,o=Ql(),a=o.useState("mounted"),s=o.useState("forceMounted");return a||r||s?b.jsx(Vne.Provider,{value:r,children:b.jsx(oHe,{ref:n,...i})}):null}),QJe=m.forwardRef(function(t,n){const{cutout:r,...i}=t;let o;if(r){const a=r.getBoundingClientRect();o=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${a.left}px ${a.top}px,${a.left}px ${a.bottom}px,${a.right}px ${a.bottom}px,${a.right}px ${a.top}px,${a.left}px ${a.top}px)`}return b.jsx("div",{ref:n,role:"presentation","data-base-ui-inert":"",...i,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:o}})});let L9={},O9={},P9="";function xA(e,t){return vk(e)?e:t}function _9(e,t,n){return/hidden|clip/.test(e.getComputedStyle(xA(t,n)).overflowY)}function XJe(e){if(typeof document>"u")return!1;const t=hr(e);return ti(t).innerWidth-t.documentElement.clientWidth>0}function eZe(e){if(!(typeof CSS<"u"&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||typeof document>"u")return!1;const n=hr(e),r=n.documentElement,i=n.body,o=xA(r,i),a=o.style.overflowY,s=r.style.scrollbarGutter;r.style.scrollbarGutter="stable",o.style.overflowY="scroll";const l=o.offsetWidth;o.style.overflowY="hidden";const u=o.offsetWidth;return o.style.overflowY=a,r.style.scrollbarGutter=s,l===u}function tZe(e){const t=hr(e),n=t.documentElement,r=t.body,i=xA(n,r),o={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(i.style,o)}}function nZe(e){const t=hr(e),n=t.documentElement,r=t.body,i=ti(n);let o=0,a=0,s=!1;const l=Rl.create();
1963if(bd&&(i.visualViewport?.scale??1)!==1)return()=>{};function u(){const v=i.getComputedStyle(n),g=i.getComputedStyle(r),E=(v.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";o=n.scrollTop,a=n.scrollLeft,L9={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},P9=n.style.scrollBehavior,O9={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};const S=n.scrollHeight>n.clientHeight,T=n.scrollWidth>n.clientWidth,I=v.overflowY==="scroll"||g.overflowY==="scroll",A=v.overflowX==="scroll"||g.overflowX==="scroll",w=Math.max(0,i.innerWidth-r.clientWidth),R=Math.max(0,i.innerHeight-r.clientHeight),x=parseFloat(g.marginTop)+parseFloat(g.marginBottom),D=parseFloat(g.marginLeft)+parseFloat(g.marginRight),M=xA(n,r);if(s=eZe(e),s){n.style.scrollbarGutter=E,M.style.overflowY="hidden",M.style.overflowX="hidden";return}Object.assign(n.style,{scrollbarGutter:E,overflowY:"hidden",overflowX:"hidden"}),(S||I)&&(n.style.overflowY="scroll"),(T||A)&&(n.style.overflowX="scroll"),Object.assign(r.style,{position:"relative",height:x||R?`calc(100dvh - ${x+R}px)`:"100dvh",width:D||w?`calc(100vw - ${D+w}px)`:"100vw",boxSizing:"border-box",overflowY:"hidden",overflowX:"hidden",scrollBehavior:"unset"}),r.scrollTop=o,r.scrollLeft=a,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function c(){Object.assign(n.style,L9),Object.assign(r.style,O9),s||(n.scrollTop=o,n.scrollLeft=a,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=P9)}function f(){c(),l.request(u)}u();const p=_n(i,"resize",f);return()=>{l.cancel(),c(),typeof i.removeEventListener=="function"&&p()}}class rZe{lockCount=0;restore=null;timeoutLock=Xs.create();timeoutUnlock=Xs.create();acquire(t){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(t)),this.release}release=()=>{this.lockCount-=1,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(t){if(this.lockCount===0||this.restore!==null)return;const n=hr(t),r=n.documentElement,i=n.body,o=ti(r);if(_9(o,r,i)){const s=new o.MutationObserver(()=>{_9(o,r,i)||(s.disconnect(),this.restore=null,this.lock(t))}),l={attributes:!0};s.observe(r,l),s.observe(i,l),this.restore=()=>s.disconnect();return}const a=nA||!XJe(t);this.restore=a?tZe(t):nZe(t)}}const iZe=new rZe;function oZe(e=!0,t=null){Vt(()=>{if(e)return iZe.acquire(t)},[e,t])}const aZe=20;function sZe(e,t,n,r){const[i,o]=m.useState(!1);Vt(()=>{if(!e||!t||n==null){o(!1);return}const a=hr(n).documentElement.clientWidth,s=n.offsetWidth;o(a>0&&s>0&&s>=a-aZe)},[e,t,n]),oZe(e&&(!t||i),r)}const lZe=m.forwardRef(function(t,n){const{render:r,className:i,anchor:o,positionMethod:a,side:s,align:l,sideOffset:u,alignOffset:c,collisionBoundary:f="clipping-ancestors",collisionPadding:p,arrowPadding:v,sticky:g,disableAnchorTracking:y=!1,collisionAvoidance:k=tHe,style:E,...S}=t,T=Ql(),I=IA(),A=JJe(),w=T.useState("modal"),R=T.useState("open"),x=T.useState("mounted"),D=T.useState("openMethod"),M=T.useState("positionerElement"),F=T.useState("triggerElement"),L=T.useState("inputElement"),P=T.useState("inputGroupElement"),j=T.useState("inputInsidePopup"),B=T.useState("transitionStatus"),H=RA(),O=Fee({anchor:o??(j?F:P??L),floatingRootContext:I,positionMethod:a,mounted:x,side:s,sideOffset:u,align:l,alignOffset:c,arrowPadding:v,collisionBoundary:f,collisionPadding:p,sticky:g,disableAnchorTracking:y,keepMounted:A,collisionAvoidance:k,lazyFlip:!0});sZe(R&&w,D==="touch",M,F);const V={open:R,side:O.side,align:O.align,anchorHidden:O.anchorHidden,empty:H};Vt(()=>{T.set("popupSide",O.side)},[T,O.side]);const W=_t(q=>{T.set("positionerElement",q)}),U=Uee(t,V,{styles:O.positionerStyles,transitionStatus:B,props:S,refs:[n,W],hidden:!x,inert:!R});return b.jsxs(Fne.Provider,{value:O,children:[x&&w&&b.jsx(QJe,{inert:fqe(!R),cutout:P??L??F}),U]})}),uZe={...mM,...WX},cZe=m.forwardRef(function(t,n){const{render:r,className:i,style:o,initialFocus:a,finalFocus:s,...l}=t,u=Ql(),c=sF(),f=IA(),p=u.useState("mounted"),v=u.useState("open"),g=u.useState("openMethod"),y=u.useState("popupProps"),k=u.useState("transitionStatus"),E=u.useState("inputInsidePopup"),S=u.useState("inputElement"),T=u.useState("modal"),I=u.useState("id"),A=RA(),w=l.id??(E?Rne(I):void 0);Vt(()=>(u.set("popupId",u.context.popupRef.current?.id||w),()=>{u.set("popupId",void 0)}),[u,w]),mA({open:v,ref:u.context.popupRef,onComplete(){v&&u.context.onOpenChangeComplete(!0)}});const R={open:v,side:c.side,align:c.align,anchorHidden:c.anchorHidden,transitionStatus:k,empty:A},x=ja("div",t,{state:R,ref:[n,u.context.popupRef],props:[y,{id:w,role:E?"dialog":"presentation",onFocus(P){const j=Pi(P.nativeEvent);g!=="touch"&&(Zt(u.state.listElement,j)||j===P.currentTarget)&&u.context.
1963inputRef.current?.focus()}},xM(k),l],stateAttributesMapping:uZe}),M=a===void 0?E?P=>P==="touch"?u.context.popupRef.current:S:!1:a;let F;s!=null?F=s:F=E?void 0:!1;const L=!E||T;return b.jsx(dHe,{context:f,disabled:!p,modal:L,openInteractionType:g,initialFocus:M,returnFocus:F,getInsideElements:()=>[u.context.startDismissRef.current,u.context.endDismissRef.current],children:b.jsxs(m.Fragment,{children:[x,L&&b.jsx(Une,{ref:u.context.endDismissRef})]})})}),dZe=m.createContext(void 0),fZe=m.createContext(!1);function pZe(){return m.useContext(fZe)}function Bne(e){const{componentProps:t,forwardedRef:n,virtualized:r,indexFromFilter:i}=e,{render:o,className:a,style:s,value:l=null,index:u,disabled:c=!1,nativeButton:f=!1,...p}=t,v=m.useRef(null),g=dne({guess:!0,index:u,textRef:v}),y=Ql(),k=pZe(),E=cJe(),S=y.useState("selectionMode"),T=y.useState("disabled"),I=y.useState("readOnly"),A=y.useState("isItemEqualToValue"),w=T||c,R=S!=="none",x=u??i??g.index,D=x!==-1,M=y.useState("id"),F=y.useState("isActive",x),L=y.useState("isSelected",l),P=y.useState("itemProps"),j=m.useRef(null),B=M!=null&&D?`${M}-${x}`:void 0,H=L&&R;Vt(()=>{if(!(D&&(r||u!=null)))return;
1963const Z=y.context.listRef.current;return Z[x]=j.current,()=>{delete Z[x]}},[D,r,x,u,y]),Vt(()=>{if(!D||E)return;const J=y.context.valuesRef.current;return J[x]=l,()=>{delete J[x]}},[D,E,x,l,y]),Vt(()=>{if(!D||E)return;const J=y.state.selectedValue;let Z=y.state.selectedIndex;y.state.selectionMode==="multiple"&&Array.isArray(J)?Z=mJe(x,l,y.context.valuesRef.current,J,A,Z):Hu(l,J,A)&&(Z=x),y.set("selectedIndex",Z)},[D,E,y,x,l,A]);const{getButtonProps:G,buttonRef:O}=AA({disabled:w,focusableWhenDisabled:!0,native:f,composite:!0}),V={disabled:w,selected:H,highlighted:F};function W(J){function Z(){y.context.handleSelection(J,l)}y.state.submitOnItemClick?(qo.flushSync(Z),y.context.requestSubmit()):Z()}const U={id:B,role:k?"gridcell":"option","aria-selected":R?H:void 0,tabIndex:void 0,onPointerDownCapture(J){J.isPrimary&&(y.context.pointerDownItemRef.current=J.currentTarget),J.preventDefault()},onMouseDown(J){J.preventDefault()},onClick(J){w||I||W(J.nativeEvent)},onMouseUp(J){const Z=y.context.pointerDownItemRef.current===J.currentTarget;y.context.pointerDownItemRef.current=null,!(w||I||J.button!==0||Z||!F)&&W(J.nativeEvent)}},q=ja("div",t,{ref:[O,n,g.ref,j],state:V,props:[P,U,p,G]}),$=m.useMemo(()=>({selected:H,textRef:v}),[H,v]);return b.jsx(dZe.Provider,{value:$,children:q})}function mZe(e){const{componentProps:t,forwardedRef:n}=e,i=Ql().useState("isItemEqualToValue"),{flatFilteredValues:o}=wA(),a=t.value??null,s=iF(o,a,i);return b.jsx(Bne,{componentProps:t,forwardedRef:n,virtualized:!0,indexFromFilter:s})}const hZe=m.memo(m.forwardRef(function(t,n){const i=Ql().useState("virtualized");return i&&t.index==null?b.jsx(mZe,{componentProps:t,forwardedRef:n}):b.jsx(Bne,{componentProps:t,forwardedRef:n,virtualized:i,indexFromFilter:void 0})}));function gZe(e){const{multiple:t=!1,defaultValue:n,value:r,onValueChange:i,autoComplete:o,...a}=e;return b.jsx(Pne,{...a,selectionMode:t?"multiple":"single",selectedValue:r,defaultSelectedValue:n,onSelectedValueChange:i,formAutoComplete:o})}var vT={Container:{1:{h:"6",pl:"0",rounded:"2"},2:{h:"8",pl:"0",rounded:"2"},3:{h:"10",pl:"0",rounded:"2"}},Text:{1:{size:"1",px:"1"},2:{size:"2",px:"2"},3:{size:"3",px:"3"}},SlotLeading:{1:{pl:"1_5"},2:{pl:"2"},3:{pl:"3"}},SlotTrailing:{1:{pr:"1"},2:{pr:"2"},3:{pr:"3"}}},D9={Container:{default:{outline:{bg:"surface-1",border:"px",borderColor:"gray-6",_hover:{backgroundColor:"surface-2",borderColor:"gray-7"},_focusWithin:{backgroundColor:"surface-3",borderColor:"blue-8"}},ghost:{bg:"transparent",border:"px",borderColor:"transparent",_hover:{backgroundColor:"surface-2",borderColor:"gray-7"},_focusWithin:{backgroundColor:"surface-3",borderColor:"blue-8"}}},disabled:{outline:{bg:"gray-2",border:"px",borderColor:"transparent"},ghost:{bg:"transparent",border:"px",borderColor:"transparent"}},error:{outline:{bg:"surface-1",border:"px",borderColor:"red-6",_hover:{backgroundColor:"surface-2",borderColor:"red-7"},_focusWithin:{backgroundColor:"surface-3",borderColor:"blue-8"}},ghost:{bg:"surface-1",border:"px",borderColor:"red-6",_hover:{backgroundColor:"surface-2",borderColor:"red-7"},_focusWithin:{backgroundColor:"surface-3",borderColor:"blue-8"}}}},Text:{default:{color:"default"},disabled:{color:"disabled"},error:{color:"default"}}},jne=m.createContext({state:"default",size:"2",variant:"outline"}),zne=e=>{let{as:t="input",size:n="2",variant:r="outline",textProps:i,stackProps:o,disabled:a,errored:s,children:l,tgphRef:u,...c}=e,f=t,p=m.useRef(null),v=Zu(u,p),g=a?"disabled":s?"error":"default";return b.jsx(jne.Provider,{value:{size:n,variant:r,state:g},children:b.jsxs(fa,{onPointerDown:y=>{if(y.target.closest("button, a")){y.preventDefault();return}let k=p.current;k&&requestAnimationFrame(()=>{k.focus()})},align:"center",...vT.Container[n],...D9.Container[g][r],"data-tgph-input-container":!0,"data-tgph-input-container-variant":r,"data-tgph-input-container-state":g,"data-tgph-input-container-size":n,...o,children:[b.jsx(Yu,{as:f,bg:"transparent",shadow:"0",h:"full",w:"full",disabled:a,tgphRef:v,...vT.Text[n],...D9.Text[g],...c,...i,"data-tgph-input-field":!0}),l]})})},yT=m.forwardRef(({position:e="leading",...t},n)=>{let r=m.useContext(jne),i=t.size??r.size;return b.jsx(fa,{align:"center",justify:"center",h:"full","data-tgph-input-slot":!0,"data-tgph-input-slot-position":e,"data-tgph-input-slot-size":i,...e==="leading"&&vT.SlotLeading[r.size],...e==="trailing"&&vT.SlotTrailing[r.size],children:b.jsx(QC,{size:i,...t,ref:n})})});yT.displayName="Slot";
1963var Hne=({LeadingComponent:e,TrailingComponent:t,...n})=>b.jsxs(zne,{...n,children:[e&&b.jsx(yT,{position:"leading",children:e}),t&&b.jsx(yT,{position:"trailing",children:t})]});Object.assign(Hne,{Root:zne,Slot:yT});var Wne=Hne,vZe={0:"5",1:"6",2:"8",3:"10"},ua=e=>Array.isArray(e),dd=e=>!Array.isArray(e),yZe=({children:e,isOptionElement:t,isOptionsElement:n,isPageElement:r,activePage:i})=>{let o=(a,s=[],l=!1)=>(m.Children.toArray(a).forEach(u=>{if(!m.isValidElement(u))return;let c=u.props,f=n(u);if(l&&t(u)){s.push(u);return}l&&r?.(u)===!0&&i!==void 0&&c.value!==i||c.children&&o(c.children,s,l||f)}),s);return o(e)},M9=({children:e,isOptionElement:t,isOptionsElement:n,isPageElement:r,activePage:i})=>yZe({children:e,isOptionElement:t,isOptionsElement:n,isPageElement:r,activePage:i}).map(o=>{let a=o;return{value:a.props.value,label:a.props?.label||a.props.children||a.props.value}}),oO=e=>{if(e)return typeof e.label=="string"&&e.label!==""?e.label:typeof e.label=="number"||typeof e.label=="bigint"?String(e.label):e.value},aO=(e,t)=>{if(!e||!t||t.length===0)return;let n=t.find(r=>r.value===e);if(n)return n},V0=e=>e.replace(/\s+/g," ").trim().toLowerCase(),qne=({children:e,value:t,renderedText:n,searchQuery:r})=>{let i=V0(r);if(!i)return!0;let o=V0(Gne(e).join(" "));return V0(t??"").includes(i)||o.includes(i)||(n??[]).some(a=>V0(a).includes(i))},kZe=e=>{if(!e)return[];let t=[],n=r=>{r.nodeType===Node.TEXT_NODE&&r.nodeValue&&t.push(r.nodeValue),r.childNodes.forEach(n)};return n(e),[t.join(""),t.join(" ")]},Gne=e=>{let t=m.Children.toArray(e),n=[];return t.forEach(r=>{if(typeof r=="string"&&n.push(r),typeof r=="number"&&n.push(String(r)),m.isValidElement(r)){let i=r.props;n.push(...Gne(i.children))}}),n},bZe=({variant:e="ghost",size:t="2",px:n="2",gap:r="1_5",justify:i="space-between",w:o="auto",selected:a,icon:s,leadingIcon:l,leadingComponent:u,trailingIcon:c,trailingComponent:f,textProps:p,fontWeight:v,...g})=>{let y=g;return b.jsxs(Oi.Root,{size:t,variant:e,gap:r,px:n,justify:i,w:o,...y,children:[b.jsxs(fa,{gap:r,align:"center",w:"full",children:[b.jsx(SZe,{icon:s,selected:a,leadingIcon:l,leadingComponent:u}),b.jsx(Oi.Text,{weight:v||"medium",w:"full",overflow:"hidden",textOverflow:"ellipsis",...p,children:y.children})]}),b.jsx(EZe,{trailingIcon:c,trailingComponent:f})]})},SZe=({icon:e,selected:t,leadingIcon:n,leadingComponent:r})=>{if(t===!0||t===!1)return b.jsx(Oi.Icon,{as:Th,variant:"primary",icon:EX,"aria-hidden":!0,initial:!1,animate:t?{opacity:1,rotate:0,scale:1}:{opacity:0,rotate:-45,scale:.3},transition:{duration:.15,type:"spring",bounce:0},style:{transformOrigin:"center"},display:"block"});let i=n||e;if(i)return b.jsx(Oi.Icon,{variant:"primary",...i});if(r)return r},EZe=({trailingIcon:e,trailingComponent:t})=>{if(e)return b.jsx(Oi.Icon,{variant:"primary",...e});if(t)return t},TZe=e=>{let{icon:t=c7e,"aria-hidden":n=!0,as:r,alt:i,...o}=e,a=m.useContext(Gi);return b.jsx(Oi.Icon,{as:Th,animate:{rotate:a.open?180:0},transition:{duration:.15,type:"spring",bounce:0},icon:t,"aria-hidden":n,...o})},CZe=e=>{let{tooltipProps:t,...n}=e,r=m.useContext(Gi),i=()=>
1963{if(ua(r.value)){let o=r.onValueChange;o?.([])}if(dd(r.value)){let o=r.onValueChange;o?.(void 0)}r.triggerRef?.current?.focus()};return m.useMemo(()=>{if(dd(r.value))return r.clearable&&r.value;if(ua(r.value))return r.clearable&&r.value?.length>0},[r.clearable,r.value])?b.jsx(XM,{label:"Clear field",...t,children:b.jsx(Oi,{type:"button",icon:{icon:hk,alt:"Clear field"},size:"0",variant:"ghost",onClick:o=>{r.value&&(o.stopPropagation(),i())},onKeyDown:o=>{(o.key==="Enter"||o.key===" ")&&(o.stopPropagation(),o.preventDefault(),i())},"data-tgph-combobox-clear":!0,style:{marginTop:"calc(-1 * var(--tgph-spacing-1)",marginBottom:"calc(-1 * var(--tgph-spacing-1)"},...n})}):null},Kne=e=>{let{children:t,...n}=e,r=m.useContext(Gi),i=m.useMemo(()=>{if(!dd(r.value))return;let o=aO(r.value,r.options);return o?.label||o?.value||r.placeholder},[r.value,r.options,r.placeholder]);return b.jsx(hne,{children:b.jsx(Oi.Text,{color:r.value?"default":"gray",textOverflow:"ellipsis",overflow:"hidden",...n,children:t||i})})},sO=e=>{let{children:t,...n}=e,r=m.useContext(Gi);return b.jsx(hne,{children:b.jsx(Oi.Text,{color:"gray",textOverflow:"ellipsis",overflow:"hidden",...n,children:t||r.placeholder})})},Yne=({children:e})=>{let t=m.useContext(Gi);if(!ua(t.value))return null;let n=t.layout||"truncate",r=(t.value.length-2).toString().split("");return b.jsxs(fa,{gap:"0_5",w:"full",wrap:n==="wrap"?"wrap":"nowrap",align:"center",style:{position:"relative",flexGrow:1},children:[e,n==="truncate"&&t.value.length>2&&b.jsx(fa,{as:hT,initial:{opacity:0}
1963,animate:{opacity:1},exit:{opacity:0},transition:{duration:.1,type:"spring",bounce:0},h:"full",pr:"1",pl:"8",align:"center","aria-label":`${t.value.length-2} more selected`,position:"absolute",right:"0",style:{backgroundImage:"linear-gradient(to left, var(--tgph-surface-1) 0 60%, transparent 90% 100%)"},children:b.jsxs(Yu,{as:"span",size:"1",style:{whiteSpace:"nowrap"},children:["+",r.map(i=>b.jsx(Gc,{as:Th,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.1,type:"spring",bounce:0},w:"2",display:"inline-block",children:i},i))," ","more"]})})]})},uF=m.createContext({value:""}),AZe=e=>{let{value:t,children:n,as:r,...i}=e;return b.jsx(uF.Provider,{value:{value:t},children:b.jsx(eF.Root,{as:Th,initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.5},transition:{duration:.1,type:"spring",bounce:0},size:"1",maxH:"5",rounded:"1",layout:"position",...i,children:n})})},IZe=e=>{let{children:t,...n}=e,r=m.useContext(Gi),i=m.useContext(uF),o=m.useMemo(()=>{let a=r.options.find(l=>l.value===i.value);if(a)return a.label||a.value;if(!ua(r.value))return;let s=r.value.find(l=>l===i.value);if(s)return s},[r.options,r.value,i.value]);return b.jsx(eF.Text,{...n,children:t||o})},wZe=e=>{let{children:t,...n}=e,r=m.useContext(Gi),i=m.useContext(uF);return b.jsx(eF.Button,{icon:{icon:hk,alt:`Remove ${i.value}`},height:"full",borderRightRadius:"1",onClick:o=>{if(!r.onValueChange)return;let a=r.onValueChange,s=r.value.filter(l=>l!==i.value);a?.(s),o.stopPropagation(),o.preventDefault()},"data-tgph-combobox-tag-button":!0,...n,children:t})},NZe=e=>{let{value:t,children:n,...r}=e;return b.jsxs(Qv.Root,{value:t,...r,children:[b.jsx(Qv.Text,{children:n}),b.jsx(Qv.Button,{})]})},RZe=e=>b.jsx(fa,{align:"center",gap:"1",...e}),xZe=()=>{let e=m.useContext(Gi);if(e.value&&ua(e.value)){let t=e.layout||"truncate";return e.value.length===0?b.jsx(sO,{}):b.jsx(Tk,{features:Ck,children:b.jsx(Yne,{children:e.value.map((n,r)=>{if(n&&(t==="truncate"&&r<=1||t==="wrap"))return b.jsx(rM,{children:b.jsx(Qv.Default,{value:n})},n)})})})}if(e&&dd(e.value))return e.value?b.jsx(Kne,{}):b.jsx(sO,{})},Qv={Root:AZe,Text:IZe,Button:wZe,Default:NZe},Av={TriggerIndicator:TZe,TriggerClear:CZe,TriggerText:Kne,TriggerPlaceholder:sO,TriggerTagsContainer:Yne,TriggerActionsContainer:RZe,TriggerTag:Qv,TriggerValue:xZe},$ne=new WeakSet,Gi=m.createContext({value:void 0,onValueChange:()=>{},contentId:"",triggerId:"",open:!1,setOpen:()=>{},onOpenToggle:()=>{},clearable:!1,disabled:!1,options:[],hasSearch:!1,manualFiltering:!1,resolvedSelectionMode:"single",hasAnchorInput:!1,anchorInputId:"",pageValues:[],setPage:()=>{},goToPage:()=>{},switchPage:()=>{}}),Jne=m.createContext(void 0),cF=Object.freeze({__tgphActionItem:!0}),B0=e=>e===cF,F9=JSON.stringify(cF),U9="item-press",LZe=new Set(["input-change","input-clear","input-paste"]),OZe=({modal:e=!0,closeOnSelect:t=!0,clearable:n=!1,disabled:r=!1,open:i,onOpenChange:o,defaultOpen:a,value:s,defaultValue:l,onValueChange:u,errored:c,placeholder:f,layout:p,manualFiltering:v,onItemHighlighted:g,defaultScrollToValue:y,page:k,defaultPage:E,onPageChange:S,loopPages:T=!0,selectionMode:I,inputValue:A,defaultInputValue:w,onInputValueChange:R,autocompleteMode:x="list",autoHighlight:D,openOnInputClick:M,loopFocus:F,actionsRef:L,required:P,name:j,children:B})=>{let H=m.useId(),G=m.useId(),O=m.useRef(null),V=m.useRef(null),W=m.useRef(null),U=m.useRef(null),q=m.useRef(void 0),$=m.useRef(!1),J=m.useMemo(()=>M9({children:B,isOptionElement:V9,isOptionsElement:B9}),[B]),Z=m.useMemo(()=>Xne(B),[B]),Y=Z?.value!==void 0||Z?.onValueChange!==void 0,ee=v??Y,te=m.useMemo(()=>nre(B),[B]),ce=m.useMemo(()=>ere(B),[B]),ne=ce!==void 0,Ce=ce?.props?.id??G,ae=m.useMemo(()=>VZe(B),[B]),[pe,ve]=pL({prop:k,defaultProp:E??ae[0]??"",onChange:S}),Se=pe&&ae.includes(pe)?pe:ae[0],De=m.useRef(void 0),Ee=m.useCallback(re=>{De.current=re,W.current?.setAttribute("data-tgph-combobox-page-slide-direction",re)},[]),ye=m.useCallback(re=>{let ge=ae.indexOf(Se??""),je=ae.indexOf(re);ge!==-1&&je!==-1&&je!==ge&&Ee(je>ge?"forward":"back"),ve(re)},[ae,Se,ve,Ee]),Pe=m.useCallback(re=>{if(ae.length<2)return;let ge=Se?ae.indexOf(Se):-1,je=ge<0?0:ge,Ge=je+re,ht=T?(Ge+ae.length)%ae.length:Math.min(Math.max(Ge,0),ae.length-1),At=ae[ht];At!==void 0&&ht!==je&&(Ee(re===1?"forward":"back"),ve(At))},[ae,Se,ve,Ee,T]),Me=m.useMemo(()=>ae.length>0?M9({children:B,isOptionElement:V9,isOptionsElement:B9,isPageElement:FZe,activePage:Se}):J,[B,Se,ae.length,J]),Qe=ua(s)||ua(l),Fe=I??(Qe?"multiple":"single"),Ve=Fe==="none",be=Fe==="multiple",Ae=A!==void 0,[ke,ue]=m.useState(()=>w??""),ze=Ae?A:ke,[et,lt]=m.useState(()=>Z?.defaultValue??A??w??""),xe=Ve?ze:Z?.value??A??et,We=xe,X=m.useRef(!1),de=!ee&&(!Ve||x==="list"||x==="both"),{filteredItems:ie,createIndex:Re}=m.useMemo(()=>{let re=de?We:"",ge=Me.filter(ht=>!re||qne({children:ht.label,value:ht.value,searchQuery:re})||vF(ht.label)).map(ht=>ht.value),je=We,Ge;return je&&te&&(Ge=ge.length,ge.push(je)),{filteredItems:ge,createIndex:Ge}},[Me,We,te,de]),Be=i!==void 0,[tt,at]=m.useState(a??!1),ot=m.useRef(tt);m.useEffect(()=>{ot.current=tt},[tt]);let ft=Be?i:tt,Je=m.useCallback((re,ge)=>{let je=Be?i:ot.current,Ge=typeof re=="function"?re(je):re;Object.is(je,Ge)||(Be||(ot.current=Ge,at(Ge)),o?.(Ge,ge))},[Be,i,o]),[Pt,Ht]=pL({prop:s,defaultProp:l,onChange:u}),fn=m.useCallback(()=>{Je(re=>!re)},[Je]),Sn=m.useRef(ft);m.useEffect(()=>{Sn.current&&!ft&&(X.current=!1,De.current=void 0,W.current?.removeAttribute("data-tgph-combobox-page-sl
1963ide-direction"),Ve||lt("")),Sn.current=ft},[ft,Ve]);let Lt=m.useMemo(()=>be?ua(Pt)?Pt:[]:dd(Pt)?Pt??null:null,[Pt,be]),nn=m.useCallback((re,ge)=>{let je=be&&Array.isArray(re)?re:[];if(be?je.some(Ge=>Ge==null||B0(Ge)):Array.isArray(re)||B0(re)){ge.cancel();return}X.current=be&&t===!1&&ge.reason===U9&&We.trim()!=="",t===!0&&re!=null&&Je(!1,ge),Ht?.(be?je:re==null||Array.isArray(re)?void 0:re),!t&&$.current&&Je(!1)},[be,Ht,t,Je,We]),Dn=m.useCallback((re,ge)=>{let je=ge.reason;if(!re){if(je==="item-press"&&(!t&&!$.current&&ge.cancel(),!Ve||!t))return;if(je==="escape-key"){let Ge=q.current;if(Ge&&(Ge(ge.event),ge.event.defaultPrevented)){ge.cancel();return}}}Je(re,ge)},[Je,Ve,t]),Bn=m.useCallback((re,ge)=>{if(Ve&&ge.reason===U9&&re===F9){ge.cancel();return}let je=X.current&&ge.reason==="input-clear";if(X.current=!1,je){ge.cancel();return}R?.(re,ge),!ge.isCanceled&&(!Ve&&LZe.has(ge.reason)&<(re),Ve&&!Ae&&ue(re))},[Ve,Ae,R]),Rn=m.useCallback(re=>{if(X.current=!1,Ve){Ae||ue(re);return}lt(re)},[Ve,Ae]),Pn=m.useCallback((re,ge)=>{let je=B0(re)?void 0:re;if(g?.(je,ge),je===void 0)return;let Ge=Array.from(W.current?.querySelectorAll("[data-tgph-combobox-option]")??[]).find(ht=>ht.getAttribute("data-tgph-combobox-option-value")===je);if(Ge){let ht=new FocusEvent("focusin",{bubbles:!0});$ne.add(ht),Ge.dispatchEvent(ht)}},[g]),se=m.useCallback(re=>B0(re)?F9:typeof re=="string"?oO(J.find(ge=>ge.value===re))??re:"",[J]);return b.jsx(Gi.Provider,{value:{contentId:H,triggerId:G,value:Pt,onValueChange:Ht,placeholder:f,open:ft,setOpen:Je,onOpenToggle:fn,closeOnSelect:t,clearable:n,disabled:r,searchQuery:We,setSearchQuery:Rn,hasSearch:Z!==void 0,triggerRef:O,searchRef:V,contentRef:W,anchorInputRef:U,onEscapeKeyDownRef:q,errored:c,layout:p,options:J,manualFiltering:ee,autocompleteMode:x,defaultScrollToValue:y,createIndex:Re,optionCloseOnClickRef:$,resolvedSelectionMode:Fe,hasAnchorInput:ne,anchorInputId:Ce,activePage:Se,pageValues:ae,pageDirection:De.current,setPage:ve,goToPage:ye,switchPage:Pe},children:Ve?b.jsx(DJe,{value:ze,onValueChange:Bn,mode:x,open:ft,onOpenChange:Dn,filteredItems:ie,itemToStringValue:se,autoHighlight:D??!1,openOnInputClick:M,loopFocus:F,onItemHighlighted:Pn,actionsRef:L,modal:e,disabled:r,required:P,name:j,children:B}):b.jsx(gZe,{multiple:be,value:Lt,onValueChange:nn,open:ft,onOpenChange:Dn,onInputValueChange:Bn,autoHighlight:D??!0,inputValue:ne?A:xe,defaultInputValue:ne?w:void 0,openOnInputClick:M,loopFocus:F,onItemHighlighted:Pn,actionsRef:L,filteredItems:ie,itemToStringLabel:se,modal:e,disabled:r,required:P,name:j,children:B})})},PZe=({size:e="1",children:t,tgphRef:n,...r})=>{let i=m.useContext(Gi),o=Zu(n,i.triggerRef),a=ua(i.value)&&i.value.length>0,s=m.useMemo(()=>{if(i.value){if(dd(i.value))return aO(i.value,i.options);if(ua(i.value))return i.value.map(u=>aO(u,i.options))}},[i.value,i.options]),l=m.useCallback(()=>s?dd(s)?oO(s)||i.placeholder:ua(s)&&s.map(u=>oO(u)).filter(Boolean).join(", ")||i.placeholder:i.placeholder,[s,i.placeholder]);return b.jsx(HJe,{disabled:i.disabled,nativeButton:!0,onMouseDownCapture:u=>{u.target.closest?.("[data-tgph-combobox-tag-button], [data-tgph-combobox-clear]")&&u.stopPropagation()},onMouseDown:u=>{u.button!==0||i.open||i.disabled||(i.setOpen(!0),u.preventBaseUIHandler?.())},render:Gl(b.jsx(Oi.Root,{id:i.triggerId,type:"button",bg:"surface-1",variant:"outline",align:"center",minH:vZe[e],h:"auto",w:"full",py:"0_5",pr:"1_5",pl:a?"0_5":"1_5",size:e,color:i.errored?"red":"gray",justify:"space-between",role:"combobox","aria-label":l(),"aria-controls":i.contentId,"aria-expanded":i.open,"aria-haspopup":"listbox","data-tgph-combobox-trigger":!0,"data-tgph-combobox-trigger-open":i.open,disabled:i.disabled,...r,tgphRef:o,children:t?typeof t=="function"?t({value:s}):t:b.jsxs(b.Fragment,{children:[b.jsx(Av.TriggerValue,{}),b.jsxs(Av.TriggerActionsContainer,{children:[b.jsx(Av.TriggerClear,{}),b.jsx(Av.TriggerIndicator,{})]})]})}))})},dF=({size:e="2",variant:t="outline",placeholder:n,errored:r,disabled:i,LeadingComponent:o,TrailingComponent:a,onKeyDownCapture:s,tgphRef:l,...u})=>{let c=m.useContext(Gi),f=Zu(l,c.anchorInputRef),p=i??c.disabled,v=r??c.errored;return b.jsx(lF,{disabled:p,render:Gl(b.jsx(Wne,{id:c.anchorInputId,size:e,variant:t,placeholder:n??c.placeholder,errored:v,disabled:p,LeadingComponent:o,TrailingComponent:a,"aria-controls":c.contentId,"data-tgph-combobox-input":!0,onKeyDownCapture:g=>{mF(g,{pageValues:c.pageValues,switchPage:c.switchPage,alwaysSwitch:!1,open:c.open}),s?.(g)},...u,tgphRef:f}))})},Zne=({style:e,children:t,onEscapeKeyDown:n,onCloseAutoFocus:r,onOpenAutoFocus:i,finalFocus:o,forceMount:a,side:s="bottom",align:l="start",sideOffset:u=4,alignOffset:c,collisionPadding:f,sticky:p,hideWhenDetached:v,onKeyDown:g,onFocus:y,tgphRef:k,...E})=>{let S=m.useContext(Gi),T=Zu(k,S.contentRef),I=m.useRef(null),A=m.useRef(!1),[w,R]=m.useState(0),[x,D]=m.useState(!1),M=!S.hasSearch&&!S.hasAnchorInput;m.useEffect(()=>{let B=S.onEscapeKeyDownRef;if(B)return B.current=n,()=>
1963{B.current=void 0}},[n,S.onEscapeKeyDownRef]),m.useLayoutEffect(()=>{if(!S.open||S.hasAnchorInput||i)return;let B=S.contentRef?.current;(B?.querySelector("[data-tgph-combobox-search]")??B?.querySelector("[data-tgph-combobox-input-hidden]"))?.focus()},[S.open,S.contentRef,S.hasAnchorInput,M,i]);let F=m.useCallback(B=>{let H=B?.getBoundingClientRect();H&&R(H.height),x||D(!0)},[x]);m.useEffect(()=>{let B=new ResizeObserver(H=>{for(let G of H){let O=G.target;F(O)}});return I.current&&x&&B.observe(I.current),()=>B.disconnect()},[x,F]),m.useEffect(()=>{x===!0&&S.open===!1&&D(!1)},[S.open,x]),m.useEffect(()=>{if(!S.open)return;let B=window.setTimeout(()=>{I.current&&F(I.current)},10);return()=>window.clearTimeout(B)},[S.open,F]);let L=m.useMemo(()=>o===void 0?r?()=>{let B=new Event("closeAutoFocus",{cancelable:!0});return r(B),!B.defaultPrevented}:S.hasAnchorInput?!0:B=>B!=="keyboard"||S.triggerRef?.current:o,[o,r,S.triggerRef,S.hasAnchorInput]),P=m.useMemo(()=>{if(i)return()=>{let B=new Event("openAutoFocus",{cancelable:!0});return i(B),B.defaultPrevented?!1:S.anchorInputRef?.current??S.searchRef?.current??S.contentRef?.current?.querySelector("[data-tgph-combobox-search], [data-tgph-combobox-input-hidden]")??null}},[i,S.anchorInputRef,S.searchRef,S.contentRef]),j=E;return b.jsx(ZJe,{keepMounted:a,children:b.jsx(lZe,{side:s,align:l,sideOffset:u,alignOffset:c,collisionPadding:f,sticky:p,style:B=>yX({anchorHidden:B.anchorHidden,hideWhenDetached:v,zIndex:"var(--tgph-zIndex-popover)"}),children:b.jsx(cZe,{initialFocus:P,finalFocus:L,render:Gl(b.jsxs(fa,{className:"tgph",direction:"column",gap:"1",bg:"surface-1",rounded:"4",shadow:"2",py:"1",mt:"1","aria-labelledby":S.hasAnchorInput?S.anchorInputId:S.triggerId,"data-tgph-combobox-content":!0,"data-tgph-combobox-content-open":S.open,tgphRef:T,style:{outline:"none",overflowY:"auto",width:"var(--tgph-combobox-trigger-width)",transition:"min-height 200ms ease-in-out",minHeight:w?`${w}px`:"0",...e,"--tgph-combobox-content-transform-origin":"var(--transform-origin)","--tgph-combobox-content-available-width":"var(--available-width)","--tgph-combobox-content-available-height":"calc(var(--available-height) - var(--tgph-spacing-8))","--tgph-combobox-trigger-width":"var(--anchor-width)","--tgph-combobox-trigger-height":"var(--anchor-height)"},...j,onPointerDownCapture:B=>{j.onPointerDownCapture?.(B),A.current=!0},onPointerUpCapture:B=>{j.onPointerUpCapture?.(B),window.setTimeout(()=>{A.current=!1},0)},onPointerCancelCapture:B=>{j.onPointerCancelCapture?.(B),A.current=!1},onKeyDown:B=>{g?.(B),S.open&&B.stopPropagation()},onFocus:B=>{y?.(B);let H=$ne.has(B.nativeEvent);!A.current&&B.target instanceof Element&&B.target.closest("[data-tgph-combobox-option]")&&B.preventBaseUIHandler?.(),H&&B.stopPropagation()},children:[M?b.jsx(vX,{children:b.jsx(lF,{tabIndex:-1,"aria-label":S.placeholder??"Search","data-tgph-combobox-input-hidden":!0,onKeyDownCapture:B=>mF(B,{pageValues:S.pageValues,switchPage:S.switchPage,alwaysSwitch:!0,open:S.open})})}):null,b.jsx(Tk,{features:Ck,children:b.jsx(fa,{direction:"column",gap:"1",tgphRef:I,children:t})})]}))})})})},Qne=({tgphRef:e,...t})=>{let n=m.useContext(Gi),r=m.useRef(null),i=Zu(e,r);return m.useEffect(()=>{let o;return n.open&&r.current&&(o=requestAnimationFrame(()=>{let a=(dd(n.value)?n.value:ua(n.value)&&n.value.length>0?n.value[0]:null)??n.defaultScrollToValue;if(a){let s=r.current?.querySelectorAll("[data-tgph-combobox-option]"),l=Array.from(s||[]).find(u=>u.getAttribute("data-tgph-combobox-option-value")===a);l&&typeof l.scrollIntoView=="function"&&l.scrollIntoView({block:"center"})}})),()=>{o!==void 0&&cancelAnimationFrame(o)}},[n.open,n.value,n.defaultScrollToValue]),b.jsx($Je,{render:Gl(b.jsx(fa,{id:n.contentId,direction:"column",gap:"1",style:{position:"relative",overflowY:"auto",overflowX:"hidden","--max-height":t.maxHeight?void 0:"calc(var(--tgph-combobox-content-available-height) - var(--tgph-spacing-12))"},role:"listbox",tgphRef:i,...t}))})},fF=({value:e,label:t,selected:n,closeOnClick:r,onSelect:i,children:o,disabled:a,tgphRef:s,...l})=>{let u=m.useContext(Gi),c=m.useContext(Jne),f=u.value,p=m.useRef(null),v=Zu(s,p),[g,y]=m.useState([]);m.useLayoutEffect(()=>{if(!p.current)return;let w=kZe(p.current);y(R=>w.length!==R.length||w.some((x,D)=>x!==R[D])?w:R)});let k=!(!u.manualFiltering&&(u.resolvedSelectionMode!=="none"||u.autocompleteMode==="list"||u.autocompleteMode==="both"))||!u.searchQuery||qne({children:t||o,value:e,renderedText:g,searchQuery:u.searchQuery})||g.length===0&&vF(t??o),E=ua(f)?f.includes(e):f===e,{closeOnSelect:S,onValueChange:T,setOpen:I}=u,A=m.useCallback(w=>{if(!a){if(w.stopPropagation(),w.nativeEvent.preventDefault(),r&&u.optionCloseOnClickRef&&(u.optionCloseOnClickRef.current=!0,queueMicrotask(()=>{u.optionCloseOnClickRef&&(u.optionCloseOnClickRef.current=!1)})),i){S===!0&&I(!1),i(w.nativeEvent),!S&&r&&I(!1);return}if(w.currentTarget instanceof HTMLAnchorElement&&w.currentTarget.hasAttribute("href")){if(S===!0&&I(!1),ua(f)){let R=E?f.filter(x=>x!==e):[...f,e];T?.(R)}else T?.(e);!S&&r&&I(!1)}}},[i,a,r,S,I,f,u.optionCloseOnClickRef,T,E,e]);return k?b.jsx(hZe,{value:i?cF:e,index:c,disabled:a,nativeButton:iM({as:l.as??"div",disabled:a}),onClick:A,render:Gl(b.jsx(bZe,{as:"div",mx:"1",selected:n===null?null:n??E,role:"option","aria-selected":E?"true":"false","data-tgph-combobox-option":!0,"data-tgph-combobox-option-value":e,"data-tgph-combobox-option-label":t,tabIndex:-1,tgphRef:v,...l,disabled:a,children:t||o||e}))}):null},pF=({label:e="Search",placeholder:t="Search",tgphRef:n,value:r,defaultValue:i,onValueChange:o,onKeyDown:a,onKeyDownCapture:s,...l})=>{let u=m.useId(),c=m.useContext(Gi),f=Zu(n,c.searchRef);return b.jsxs(Gc,{borderBottom:"px",px:"1",pb:"1",children:[b.jsx(vX,{children:b.jsx(Yu,{as:"label",htmlFor:u,children:e})}),b.jsx(lF,{onChange:p=>{o?.(p.target.value)},render:Gl(b.jsx(Wne,{id:u,variant:"ghost",placeholder:t,LeadingComponent:b.jsx(gk,{icon:xX,alt:"Search Icon"}),TrailingComponent:c?.searchQuery&&c?.searchQuery?.length>0?b.jsx(Oi,{variant:"ghost",color:"gray",icon:{icon:hk,alt:"Clear Search Query"},onClick:()=>{c.setSearchQuery?.(""),o?.("")}}):null,"data-tgph-combobox-search":!0,"aria-controls":c.contentId,onKeyDown:p=>{a?.(p),p.key!=="Escape"&&p.stopPropagation()},onKeyDownCapture:p=>{mF(p,{pageValues:c.pageValues,switchPage:c.switchPage,alwaysSwitch:!1,open:c.open}),s?.(p)},...l,tgphRef:f}))})]})},Xne=e=>{let t;
1963return m.Children.forEach(e,n=>{if(t||!m.isValidElement(n))return;let r=n;if(r.type===pF){t=r.props;return}r.props.children&&(t=Xne(r.props.children))}),t},_Ze=e=>{let t=e.searchRef?.current??e.anchorInputRef?.current??e.contentRef?.current?.querySelector("[data-tgph-combobox-input-hidden]")??null;t&&requestAnimationFrame(()=>t.focus())},mF=(e,{pageValues:t,switchPage:n,alwaysSwitch:r,open:i})=>{i&&(t.length<2||(e.key==="ArrowLeft"||e.key==="ArrowRight")&&(!r&&e.currentTarget.value||(e.preventDefault(),e.stopPropagation(),n(e.key==="ArrowRight"?1:-1))))},DZe=({size:e="1",width:t="full",...n})=>{let r=m.useContext(Gi);return b.jsx(Gc,{px:"1",pb:"1",onMouseDown:i=>i.preventDefault(),children:b.jsx(yne.Root,{value:r.activePage,onValueChange:i=>{r.goToPage(i),_Ze(r)},size:e,width:t,...n})})},hF=e=>b.jsx(yne.Option,{...e}),MZe=m.lazy(async()=>({default:(await St(async()=>{const{PageTransition:e}=await import("./Combobox.pageTransition-Ca01OxHB-Ckm5YpU7.js");return{PageTransition:e}},[])).PageTransition})),gF=({value:e,children:t})=>{let n=m.useContext(Gi);return n.pageValues.length===0?b.jsx(b.Fragment,{children:t}):n.activePage===e?n.pageValues.length===1?b.jsx(b.Fragment,{children:t}):b.jsx(m.Suspense,{fallback:t,children:b.jsx(MZe,{direction:n.pageDirection,children:t})}):null},FZe=e=>e.type===gF,UZe=e=>e.type===hF,VZe=e=>{let t=[],n=r=>{m.Children.forEach(r,i=>{if(!m.isValidElement(i))return;let o=i;if(UZe(o)){typeof o.props.value=="string"&&t.push(o.props.value);return}o.props?.children&&n(o.props.children)})};return n(e),t},V9=e=>{if(e.type===fF)return!0;if(e.type===pF||e.type===dF||e.type===gF||e.type===hF)return!1;let t=e.props,n=!!(t?.onChange||t?.onValueChange),r=t?.label!==void 0||t?.selected!==void 0||t?.onSelect!==void 0||t?.children!==void 0;return n&&!r?!1:!!t?.value},B9=e=>e.type===Qne,ere=e=>{let t;return m.Children.forEach(e,n=>{if(t||!(typeof n=="object"&&n))return;let r=n;if(r.type===dF){t=r;return}r.type!==Zne&&r.props?.children&&(t=ere(r.props.children))}),t},vF=e=>{let t=!1;return m.Children.forEach(e,n=>{if(t||!m.isValidElement(n))return;if(typeof n.type!="string"){t=!0;return}let r=n.props?.children;r!=null&&(t=vF(r))}),t},BZe=({icon:e={icon:xX,alt:"Search Icon"},message:t="No results found",children:n,...r})=>{let i=m.useContext(Gi),[o,a]=m.useState(!1);if(m.useEffect(()=>{let s=i.contentRef?.current;if(!s)return;let l=()=>{let c=s.querySelectorAll("[data-tgph-combobox-option]");a(c.length===0)};l();let u=new MutationObserver(l);return u.observe(s,{childList:!0,subtree:!0}),()=>u.disconnect()},[i.contentRef]),o)return b.jsxs(fa,{gap:"1",align:"center",justify:"center",w:"full",my:"8","data-tgph-combobox-empty":!0,...r,children:[e===null?b.jsx(b.Fragment,{}):b.jsx(gk,{...e}),t===null?b.jsx(b.Fragment,{}):b.jsx(Yu,{as:"span",children:t})]})},tre=({leadingText:e="Create",values:t,onCreate:n,selected:r=null,...i})=>{let o=m.useContext(Gi),a=m.useCallback(s=>!s||!t||t.length===0?!1:t.includes(s),[t]);if(o.searchQuery&&!a(o.searchQuery))return b.jsx(Jne.Provider,{value:o.createIndex,children:b.jsx(fF,{leadingIcon:{icon:p7e,"aria-hidden":!0},mx:"1",value:o.searchQuery,label:`${e} "${o.searchQuery}"`,selected:r,onSelect:()=>{n&&o.searchQuery&&(n(o.searchQuery),o.setSearchQuery?.(""))},...i})})},nre=e=>{let t=!1;return m.Children.forEach(e,n=>{if(t||!(typeof n=="object"&&n))return;let r=n;if(r.type===tre){t=!0;return}r.props?.children&&(t=nre(r.props.children))}),t},jZe={};Object.assign(jZe,{Root:OZe,Trigger:PZe,Input:dF,Content:Zne,Options:Qne,Option:fF,PageSelector:DZe,PageButton:hF,Page:gF,Search:pF,Empty:BZe,Create:tre,Primitives:Av});const lO=!1,zZe="60050332-384b-49b3-abe3-829dc316a642",rre=m.createContext(null),HZe=({children:e,authError:t,unavailable:n})=>{const r=f8e(),i=g8e(r,zZe),{items:o,metadata:a,loading:s}=y8e(i),[l,u]=m.useState(!1);return m.useEffect(()=>{!l&&s&&u(!0)},[s,l]),m.useEffect(()=>{i.fetch()},[i]),b.jsx(rre.Provider,{value:{feedClient:i,items:o,metadata:a,loading:s,feedBeganInitLoading:l||n,authError:t,unavailable:n},children:e})},WZe=()=>m.useContext(rre);var cdt=(function(e){return e.NOT_ENABLED="not-enabled",e.LOADING="loading",e.READY="ready",e})({});const ddt=()=>{const e=WZe();return e?.authError?{knockConnection:"not-enabled"}:e?.unavailable?{knockConnection:"ready"}:!e||!e.feedBeganInitLoading||e.loading?{knockConnection:"loading"}:e&&!e.loading?{knockConnection:"ready"}:{knockConnection:"not-enabled"}},ire=m.createContext(null);function ore(){const e=m.useContext(ire);
1963if(!e)throw new Error("Failed to load KnockDetailsContext");return e}const qZe=({children:e})=>{const t=m.useContext(RP)?.token?.claims,[n,r]=m.useState(),[i,o]=m.useState(!1),[a,s]=m.useState(null),[l,u]=m.useState(!0),[c,f]=m.useState(null),[p,v]=m.useState(!1),[g,y]=m.useState(0),k=m.useCallback(()=>y(D=>D+1),[]),{enqueueSnackbar:E}=uk(),{_:S}=Tn(),T=t?.sub,I=c?.verified&&!!T,A=m.useMemo(()=>({setKnockOrg:f,userId:T,isSupportIdentity:i,isOrgInKnock:a,isEmailNotifsEnabledOrg:l,setIsEmailNotifsEnabledOrg:u,refreshKnockToken:k}),[T,i,a,l,u,k]),w=m.useRef({isFetching:!1,orgId:null,tokenReceived:!1}),R=m.useRef(g);m.useEffect(()=>{c?.id&&n&&(r(void 0),o(!1),s(null),v(!1),u(!0))},[c?.id]),m.useEffect(()=>{if(c&&!c.verified){s(!1);return}if(!I||!c||!T)return;const D=c.id,M=w.current.orgId!==D;if(R.current!==g&&(R.current=g,w.current={isFetching:!1,orgId:null,tokenReceived:!1}),w.current.isFetching&&w.current.orgId===D||w.current.orgId===D&&w.current.tokenReceived)return;M&&s(null),(async L=>{w.current={isFetching:!0,orgId:D,tokenReceived:!1};try{const P=await mo("/knockauth",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({organization:L})});if(!P.ok)throw v(!0),new Error("Failed to authenticate notifications token.");const j=await P.json();if(j.knockExcludedOrg){u(!1),o(j.isSupportIdentity),s(!1),v(!0),w.current.tokenReceived=!0;return}v(!1),u(j.emailEnabled),o(j.isSupportIdentity),s(j.isOrgInKnock),r({token:j.token,userId:j.userId}),w.current.tokenReceived=!0}
1963catch{v(!0),E({message:S({id:"uemkvF"}),variant:"error"})}finally{w.current.isFetching=!1}})(c)},[I,E,c,T,S,g]);const x=!!(n?.userId&&(n?.token||lO));return b.jsx(ire.Provider,{value:A,children:b.jsx(d8e,{apiKey:Uve,user:{id:n?.userId||null},userToken:n?.token,enabled:x,logLevel:void 0,children:b.jsx(HZe,{authError:p,unavailable:a!==null&&!x,children:e})})})},_c={BREAKING_CHANGES:"breaking_changes",INCIDENTS:"incidents",END_OF_LIFE:"end_of_life",NEW_RELEASES_MAJOR:"new_releases_major",NEW_RELEASES_MINOR:"new_releases_minor",PRODUCT_ANNOUNCEMENTS:"product_announcements"},GZe="product_lifecycle",fdt={[_c.BREAKING_CHANGES]:{id:"Us56wc"},[_c.INCIDENTS]:{id:"JN4pgo"},[_c.END_OF_LIFE]:{id:"IWt47x"},[_c.NEW_RELEASES_MAJOR]:{id:"cPK3oK"},[_c.PRODUCT_ANNOUNCEMENTS]:{id:"DCaHKZ"},[GZe]:{id:"21Ac8e"}},pdt=[_c.END_OF_LIFE,_c.NEW_RELEASES_MAJOR,_c.NEW_RELEASES_MINOR];function mdt(e){const[t,n]=m.useState(null),[r,i]=m.useState(null),[o,a]=m.useState(!lO),[s,l]=m.useState(null),{enqueueSnackbar:u}=uk(),{_:c}=Tn(),f=m.useCallback(async k=>{const{includeForwardingAddresses:E=!1}=k??{};if(!(!e||lO)){a(!0),l(null);try{const S=new URLSearchParams({tenantId:e});E&&S.append("forwardingAddresses","true");const T=await mo(`/knockpreferences?${S.toString()}`);if(!T.ok)throw new Error(`Failed to load preferences, status: ${T.status}`);const I=await T.json();n(I.preferences||null),E&&i(I.forwardingAddresses||null)}catch{const S=c({id:"q0q6KR"});l(new Error(S)),u({message:S,variant:"error"})}finally{a(!1)}}},[e,u,c]),p=m.useCallback(async k=>{l(null);const E=new URLSearchParams({tenantId:e});try{const S=await mo(`/knockpreferences?${E.toString()}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({preferences:k})});if(!S.ok)throw new Error(`Failed to save preferences: ${S.status}`);await f()}catch{const S=c({id:"nf_4cb"}),T=new Error(S);throw l(T),u({message:S,variant:"error"}),T}},[e,f,u,c]),v=m.useCallback(async(k,E,S)=>{l(null);const T=new URLSearchParams({tenantId:e,objectId:k,collection:E});try{const I=await mo(`/knockpreferences?${T.toString()}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({preferences:S})});if(!I.ok)throw new Error(`Failed to update object preferences: ${I.status}`)}catch{const I=c({id:"cg2mAv"}),A=new Error(I);throw l(A),u({message:I,variant:"error"}),A}},[e,u,c]),g=m.useCallback(async k=>{l(null);const E=new URLSearchParams({tenantId:e,createForwardingAddress:"true"});try{const S=`/knockpreferences?${E.toString()}`,T=await mo(S,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:k})});if(!T.ok){const A=await T.json();throw new Error(A.error||"Failed to create forwarding address")}const I=await T.json();if(I.success&&I.forwardingAddresses)return i(I.forwardingAddresses),I.forwardingAddresses;throw new Error("Failed to create forwarding address.")}catch{const S=c({id:"36x_4m"}),T=new Error(S);throw l(T),u({message:S,variant:"error"}),T}},[e,u,c]),y=m.useCallback(async k=>{l(null);const E=new URLSearchParams({tenantId:e,objectId:k});try{const S=`/knockpreferences?${E.toString()}`,T=await mo(S,{method:"DELETE"});if(!T.ok)throw new Error("Failed to delete forwarding address");const I=await T.json();if(I.success&&I.forwardingAddresses)return i(I.forwardingAddresses),I.forwardingAddresses;throw new Error("Failed to delete forwarding address")}catch{const S=c({id:"DVEIJG"}),T=new Error(S);throw l(T),u({message:S,variant:"error"}),T}},[e,u,c]);return m.useEffect(()=>{f({includeForwardingAddresses:!0})},[f]),{preferences:t,forwardingAddresses:r,loading:o,error:s,updateTenantPreferences:p,updateObjectPreferences:v,createForwardingAddress:g,deleteForwardingAddress:y,refetch:f,setPreferences:n}}function hdt(){const[e,t]=m.useState(!0),[n,r]=m.useState(),[i,o]=m.useState([]),[a,s]=m.useState([]);return m.useEffect(()=>{(async()=>{try{const u=await mo("/knocktrigger");if(!u.ok)throw new Error(`Failed to fetch data: ${u.status} ${u.statusText}`);const c=await u.json();o(c.workflows),s(c.tenants)}catch(u){r(u instanceof Error?u:new Error("Unknown error occurred"))}finally{t(!1)}})()},[]),{loading:e,error:n,workflows:i,tenants:a}}async function gdt(e){const t=new URLSearchParams({tenantId:e}),n=await mo(`/knocktrigger?${t.toString()}`);if(!n.ok)throw new Error(`Failed to check channels: ${n.status} ${n.statusText}`);return await n.json()}async function vdt(e,t,n){const i=await mo("/knocktrigger",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({workflowKey:e,tenants:t,data:n})});if(!i.ok)throw new Error(`Failed to trigger workflow: ${i.status} ${i.statusText}`);return await i.json()}const KZe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M140-254.62V-300h680v45.38H140Zm0-202.69v-45.38h680v45.38H140ZM140-660v-45.38h680V-660H140Z"})),YZe=m.memo(KZe),$Ze=e=>m.createElement(rn,{width:800,height:800,viewBox:"0 0 24 24",...e},m.createElement("path",{d:"M18.651 19.252c.704 1.005.96 2.039.573 2.31-.387.271-1.271-.324-1.975-1.329a5.039 5.039 0 0 1-.584-1.082 8.572 8.572 0 0 1-3.898 1.4c.081.34.13.737.13 1.166 0 1.227-.383 2.221-.856 2.221s-.856-.994-.856-2.221c0-.42.047-.807.125-1.142a8.568 8.568 0 0 1-3.944-1.284c-.127.301-.3.621-.524.942-.704 1.005-1.588 1.6-1.975 1.329-.387-.271-.131-1.305.573-2.31a5.12 5.
196312 0 0 1 .743-.85 8.53 8.53 0 0 1-1.309-1.479l1.124-.782a7.2 7.2 0 0 0 5.908 3.088 7.2 7.2 0 0 0 5.916-3.098l1.125.78a8.567 8.567 0 0 1-1.183 1.366c.296.241.605.573.887.975zM6.277 5.623A8.587 8.587 0 0 0 4.711 7.43l1.15.743a7.17 7.17 0 0 1 6.046-3.293 7.144 7.144 0 0 1 6.151 3.461l1.17-.711a8.658 8.658 0 0 0-1.56-1.895c.324-.245.671-.603.983-1.049.704-1.005.96-2.039.573-2.31-.387-.271-1.271.324-1.975 1.329-.294.419-.504.84-.627 1.212a8.488 8.488 0 0 0-3.9-1.364c.108-.372.175-.83.175-1.333 0-1.226-.383-2.22-.856-2.22s-.856.994-.856 2.221c0 .491.063.941.167 1.308a8.521 8.521 0 0 0-3.93 1.247 4.991 4.991 0 0 0-.58-1.071C6.139 2.7 5.255 2.106 4.868 2.377c-.387.271-.131 1.305.573 2.31.265.378.556.698.836.936zM.5 15.272h1.648V12.8h1.859v2.473h1.648v-6.23H4.008v2.319h-1.86V9.043H.5v6.229zm6.536-6.229v6.229h4.121v-1.38H8.684V12.78h2.032V11.4H8.684v-.978h2.377v-1.38l-4.025.001zm5.328 0v6.229h4.006v-1.38h-2.358V9.043h-1.648zm5.079 0v6.229h1.514v-1.84c0-.16-.008-.335-.024-.527a53.436 53.436 0 0 0-.053-.589 16.516 16.516 0 0 0-.067-.589 46.795 46.795 0 0 1-.067-.517h.038l.498 1.457.863 2.099h.613l.862-2.099.517-1.457h.038l-.067.518c-.026.192-.048.388-.067.589-.019.201-.037.398-.053.589a6.375 6.375 0 0 0-.024.527v1.84H23.5v-6.23h-1.706l-.939 2.588-.345 1.016h-.038l-.345-1.016-.978-2.588h-1.706z"})),JZe=m.memo($Ze),ZZe=({compact:e})=>{const{_:t}=Tn();return b.jsx(Hf,{label:t({id:"YBt9YP"}),color:"info",sx:n=>({mx:1,fontWeight:"medium",...e&&{height:n.spacing(2)}})})},QZe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M379.15-258.31 168.62-468.85l32.61-32.23 177.92 177.93 379-379.39 32.62 32.62-411.62 411.61Z"})),are=m.memo(QZe),XZe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M94.62-136.92v-700h372.69v163.46h398.07v536.54H94.62ZM140-182.31h118.46v-118.46H140v118.46Zm0-163.84h118.46v-118.08H140v118.08Zm0-163.47h118.46v-118.46H140v118.46Zm0-163.84h118.46v-118.08H140v118.08Zm163.85 491.15h118.07v-118.46H303.85v118.46Zm0-163.84h118.07v-118.08H303.85v118.08Zm0-163.47h118.07v-118.46H303.85v118.46Zm0-163.84h118.07v-118.08H303.85v118.08Zm163.46 491.15H820v-445.77H467.31v118.46H555v45.39h-87.69v118.08H555v45.38h-87.69v118.46Zm193.84-281.92v-45.39h45.39v45.39h-45.39Zm0 163.46v-45.38h45.39v45.38h-45.39Z"})),eQe=m.memo(XZe),tQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M479.86-160Q460-160 446-174.14t-14-34Q432-228 446.14-242t34-14Q500-256 514-241.86t14 34Q528-188 513.86-174t-34 14Zm0-272Q460-432 446-446.14t-14-34Q432-500 446.14-514t34-14Q500-528 514-513.86t14 34Q528-460 513.86-446t-34 14Zm0-272Q460-704 446-718.14t-14-34Q432-772 446.14-786t34-14Q500-800 514-785.86t14 34Q528-732 513.86-718t-34 14Z"})),nQe=m.memo(tQe),rQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M480-357.85 253.85-584l32.61-32.61L480-423.08l193.54-193.53L706.15-584 480-357.85Z"})),LA=m.memo(rQe),sre=({up:e,sx:t,...n})=>b.jsx(LA,{...n,sx:Js({transform:e?"rotate(-180deg)":"rotate(0)",transition:r=>r.transitions.create(["transform"],{duration:r.transitions.duration.shortest})},t)}),iQe=({accessChecks:e,capabilities:t,organizationId:n,label:r,labelAdornment:i,Icon:o,listItemIconProps:a,disabled:s,secondaryLabel:l,...u})=>{const{hasPermission:c,denialMessage:f}=gZ({organizationId:n,capabilities:t??[],accessChecks:e});return b.jsxs(VK,{...u,"aria-label":r,disabled:s||!c,title:f,children:[o&&b.jsx(f_,{...a,children:b.jsx(o,{})}),b.jsxs(ei,{sx:{display:"flex",gap:1,alignItems:"center"},children:[b.jsx(_K,{primary:r,secondary:l,slotProps:{secondary:{variant:"caption",color:"textDim",maxWidth:300,sx:{whiteSpace:"wrap"}}}}),i]})]})},oQe=e=>{const{endIconStyle:t="arrow",label:n,options:r,slotProps:i}=e,{rootUIDP:o}=Po(),[a,s]=m.useState(null),l=!!a,u=(f,p)=>{p.onClick&&p.onClick(f),s(null)},c=f=>s(p=>p?null:f.currentTarget);return b.jsxs(b.Fragment,{children:[b.jsx(Li,{...i?.button,"aria-controls":l?"split-button-menu":void 0,"aria-expanded":l?"true":void 0,"aria-haspopup":"menu",endIcon:t==="arrow"?b.jsx(sre,{up:l}):b.jsx(nQe,{}),disabled:i?.button?.disabled||r.length===0,onClick:c,children:n||b.jsx(yn,{id:"2FYpfJ"})}),b.jsx(UK,{anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...i?.menu,anchorEl:a,onClose:c,open:l,children:r.map(f=>{const{key:p,label:v,accessChecks:g,capabilities:y,Icon:k,disabled:E,labelAdornment:S,secondaryLabel:T,...I}=f;return b.jsx(iQe,{...I,accessChecks:g,capabilities:y,organizationId:o,label:v,labelAdornment:S,secondaryLabel:T,disabled:E,Icon:k,listItemIconProps:i?.listItemIcon,onClick:A=>u(A,f)},p)})})]})},aQe=()=>{const{_:e}=Tn(),{rootUIDP:t,setRootUIDP:n}=Po(),{profile:r}=ha(),{organizations:i,fetching:o,getName:a}=jC(),s=m.useMemo(()=>new Map(i.filter(p=>!rE(p.id)).sort((p,v)=>p.name.localeCompare(v.name)).map(p=>[p.id,p])),[i]),l=m.useMemo(()=>Array.from(s.keys()),[s]),u=m.useMemo(()=>
1963Array.from(r?.capabilities.keys()??[]).filter(p=>!rE(p)),[r?.capabilities]),c=m.useMemo(()=>Array.from(new Set([...l,...u])),[l,u]),f=m.useCallback(p=>l.includes(p)?a(p):u.includes(p)?p:e({id:"rNDhLF"}),[e,l,a,u]);return m.useEffect(()=>{o||c.length>0&&!c.includes(t)&&n(c[0])},[o,c,t,n]),m.useEffect(()=>{const p=new rr.Identify;p.set("orgs",c),rr.identify(p)},[c]),c.length===0&&!o?b.jsx(y_,{variant:"text",to:"/settings/organization/join",sx:{height:"34px"},children:b.jsx(yn,{id:"wthaHX"})}):b.jsx(oQe,{label:b.jsx(En,{variant:"button",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",children:o?e({id:"Z3FXyt"}):f(t)}),options:c.map(p=>({key:p,label:f(p),labelAdornment:s.get(p)?.verified&&b.jsx(Hf,{label:e({id:"QDEWii"}),color:"primary",sx:{fontSize:12,height:20}}),onClick:()=>n(p),selected:p===t,value:p,sx:{gap:1,[`& .${fS.root}`]:{display:"inherit",visibility:"hidden"},[`&.${fS.root}`]:{display:"none"},[`&.Mui-selected .${fS.root}`]:{visibility:"visible"}},Icon:are})),slotProps:{button:{"aria-label":e({id:"qF8qD2"}),loading:o,loadingPosition:"end",size:"small",sx:{px:1},title:a(t),variant:"text",startIcon:b.jsx(eQe,{})},listItemIcon:{sx:{[`&.${yE.root}`]:{minWidth:"unset"}}}}})},sQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M331.27-129.96q-69.35-29.96-120.85-81.27-51.5-51.31-80.96-120.96Q100-401.85 100-481.42q0-79.58 29.46-148.62t80.96-120.34q51.5-51.31 120.85-80.46Q400.62-860 480-860t148.73 29.16q69.35 29.15 120.85 80.46 51.5 51.3 80.96 120.34Q860-561 860-481.42q0 79.57-29.46 149.23-29.46 69.65-80.96 120.96-51.5 51.31-120.85 81.27Q559.38-100 480-100t-148.73-29.96ZM480-143.39q37.31-40.23 61.38-87.3 24.08-47.08 39.47-110.31H379.77q15.15 62.31 39.23 110.11 24.08 47.81 61 87.5Zm-63.46-8.15q-28.08-36.46-49.73-84.88-21.66-48.43-34.04-104.58H173.54q38.38 77.54 96.46 122.46 58.08 44.93 146.54 67Zm127.92-.61q78.54-17.62 142-66.7 63.46-49.07 100-122.15H627.85q-14.93 56.31-36.08 104.35-21.16 48.03-47.31 84.5ZM158.92-386.38h165.54q-3.77-27.39-4.84-50.43-1.08-23.04-1.08-44.81 0-24.23 1.38-45.84 1.39-21.62 5.16-46.77H158.92q-7.38 23.23-10.46 44.92-3.07 21.69-3.07 47.69 0 26.39 3.07 49 3.08 22.62 10.46 46.24Zm212.16 0h218.46q4.38-30.23 5.77-51.47 1.38-21.23 1.38-43.77 0-21.53-1.38-41.96-1.39-20.42-5.77-50.65H371.08q-4.39 30.23-5.77 50.65-1.39 20.43-1.39 41.96 0 22.54 1.39 43.77 1.38 21.24 5.77 51.47Zm263.84 0h166.16q7.38-23.62 10.46-46.24 3.07-22.61 3.07-49 0-26-3.07-47.69-3.08-21.69-10.46-44.92H635.92q3.39 33.08 4.77 53.88 1.39 20.81 1.39 38.73 0 22.39-1.7 44-1.69 21.62-5.46 51.24Zm-7.69-233.23h159.23q-35.31-76.7-97.81-125.2t-145.19-64.04q28.08 37.77 49.04 84.81t34.73 104.43Zm-247.46 0h202.08q-13.31-56.47-39.5-106.54-26.2-50.08-62.35-89.23-33.92 31.23-57.27 77.15t-42.96 118.62Zm-206.23 0h159.85q12.53-55.54 33-102.08 20.46-46.54 49.15-86.54-82.69 15.92-144.08 63.61-61.38 47.7-97.92 125.01Z"})),lQe=m.memo(sQe),uQe=()=>{const[e,t]=ws("locale"),[n,r]=m.useState(null),i=Dh(),[o]=$T(),{_:a}=Tn(),s=e?pLe(e)?.native:"",l=s?{id:"51PhyC",values:{nativeName:s}}:{id:"-DEogc"},u=p=>{r(p.currentTarget)},c=()=>{r(null)},f=p=>{t(p),r(null)};return m.useEffect(()=>{const p=o.get("l");p&&t(p)},[t,o]),i&&b.jsxs(b.Fragment,{children:[b.jsx(xs,{title:a(l),children:b.jsx(Lo,{onClick:u,color:"inherit",children:b.jsx(lQe,{})})}),b.jsx(wC,{open:!!n,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"},anchorEl:n,onClose:c,slotProps:{paper:{sx:{p:1}}},children:Object.values(uY).map(p=>{const v=b.jsxs(VK,{value:p.tag,onClick:()=>f(p.tag),sx:{gap:2,justifyContent:"space-between"},children:[p.native,b.jsx(are,{sx:{visibility:e===p.tag?"visible":"hidden"}})]},p.tag);return p.tag===Vv.EN_XA?b.jsx(Um,{badge:{left:-16,top:-16},children:v},p.tag):v})})]})},yF=m.createContext({setMode:()=>{},mode:"light"});function lre(){return v_("(prefers-color-scheme: light)")?"system-light":"system-dark"}const cQe="system-light";function dQe(){const{localStorage:e}=m.useContext(ri),[t,n]=ws("theme"),r=lre(),i=t||cQe;return m.useEffect(()=>{let o=i;(i==="system-light"||i==="system-dark")&&(o=r);const a=e.getItem("color-mode");e.removeItem("color-mode"),!t&&(a==="light"||a==="dark")&&(o=a),n(o)},[i,r]),[i,n]}const fQe=({children:e})=>
1963{const[t,n]=dQe(),r={mode:t,setMode:i=>n(i)};return b.jsx(yF.Provider,{value:r,children:e})},pQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M480.62-56.31 354.38-180H180v-174.38L54.08-480 180-605.62V-780h174.38l126.24-125.92 125 125.92H780v174.38L905.92-480 780-354.38V-180H605.62l-125 123.69Zm0-243.54q75.23 0 128.19-52.82 52.96-52.82 52.96-127.91 0-75.08-52.99-128.13-52.99-53.06-128.16-53.06v361.92Zm0 179.54 105.83-105.08h148.16v-147.85L841.31-480 734.55-586.76v-147.85H586.69l-106.07-106.7-107.31 106.7H225.45v147.85L118.69-480l106.7 106.76v147.85h147.3l107.93 105.08ZM480-480.62Z"})),mQe=m.memo(pQe),hQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M481.15-140q-141.66 0-240.83-99.17-99.16-99.16-99.16-240.83 0-135.77 92.11-232.88 92.11-97.12 225.57-105.2 4.16 0 9.12.31 4.96.31 13.96.49-27.15 30.9-41.96 71.74-14.81 40.85-14.81 85.54 0 98.33 68.84 167.17Q562.82-424 661.15-424q44.31 0 85.35-13.69 41.04-13.69 71.5-38.61.23 7.38.54 11.23.3 3.84.3 7.38-7.69 133.46-104.8 225.57Q616.92-140 481.15-140Zm0-45.39q103.23 0 181.35-62.49 78.11-62.5 101.19-149.66-23.46 9.46-49.82 14.19-26.36 4.74-52.72 4.74-116.92 0-199.15-82.23T379.77-660q0-23.23 4.42-48.62 4.42-25.38 15.5-56.15-92.61 28.16-152.88 107.47-60.27 79.31-60.27 177.3 0 122.77 85.92 208.69t208.69 85.92Zm-5.53-289.69Z"})),gQe=m.memo(hQe),vQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M575.15-384.85q39.46-39.46 39.46-95.15 0-55.69-39.46-95.15-39.46-39.46-95.15-39.46-55.69 0-95.15 39.46-39.46 39.46-39.46 95.15 0 55.69 39.46 95.15 39.46 39.46 95.15 39.46 55.69 0 95.15-39.46Zm-222.61 32.31Q300-405.08 300-480q0-74.92 52.54-127.46Q405.08-660 480-660q74.92 0 127.46 52.54Q660-554.92 660-480q0 74.92-52.54 127.46Q554.92-300 480-300q-74.92 0-127.46-52.54ZM200-457.31H50v-45.38h150v45.38Zm710 0H760v-45.38h150v45.38ZM457.31-760v-150h45.38v150h-45.38Zm0 710v-150h45.38v150h-45.38ZM267.39-662.62l-93.08-90.46 32.23-33.61L296.77-694l-29.38 31.38Zm486.69 488.7-91.46-92.7L693.61-298l92.08 91.08-31.61 33ZM662-693.61l91.08-92.08 33.61 31.61-92.08 91.46L662-693.61ZM173.92-206.54 266-298l31.23 31.23-90.69 92.85-32.62-32.62ZM480-480Z"})),yQe=m.memo(vQe),kQe=()=>{const{_:e}=Tn(),{mode:t,setMode:n}=m.useContext(yF),r=lre(),i=Dh(),o=[{mode:r,Icon:mQe,name:e({id:"nQcBKx"})},{mode:"light",Icon:yQe,name:e({id:"NvHyHV"})},{mode:"dark",Icon:gQe,name:e({id:"c3Kpo7"})}];let a=o.findIndex(c=>c.mode===t);a=a===-1?0:a;const{Icon:s,name:l}=o[a],u=o[(a+1)%o.length].mode;return i&&b.jsx(xs,{title:e({id:"9LQUY3",values:{themeName:l}}),children:b.jsx(Lo,{onClick:()=>n(u),color:"inherit",children:b.jsx(s,{})})})},bQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M480.27-80q-82.74 0-155.5-31.5Q252-143 197.5-197.5t-86-127.5Q80-398 80-480q0-83 31.5-155.5T197-763q54-55 126-86.5T475.56-881q19.44 0 38.44 1.5 19 1.5 38 5.5-6 40 6.5 78.5t39 68q26.5 29.5 66.5 45t89 9.5q-7 63 22 109t104 53q1 9 1 18v17q0 81.38-31.5 153.34Q817-250.71 763-196.62t-127 85.36Q563-80 480.27-80Zm-60.15-478Q446-558 464-576.12q18-18.12 18-44T463.88-664q-18.12-18-44-18T376-663.88q-18 18.12-18 44T376.12-576q18.12 18 44 18Zm-80 200Q366-358 384-376.12q18-18.12 18-44T383.88-464q-18.12-18-44-18T296-463.88q-18 18.12-18 44T296.12-376q18.12 18 44 18ZM600-320q17 0 28.5-11.5T640-360q0-17-11.5-28.5T600-400q-17 0-28.5 11.5T560-360q0 17 11.5 28.5T600-320ZM480-140q142 0 236-93.5T821-464q-54-20-87.5-59.5T692-614q-81-11-136.5-70T492-821q-74-3-138.5 24t-112 74Q194-676 167-612.5T140-480q0 142 99 241t241 99Zm1-345Z"})),SQe=m.memo(bQe),EQe=({variant:e,includesIcon:t=!1,sx:n})=>{const{_:r}=Tn(),{oTLoaded:i}=ak(),o=()=>{window.OneTrust?.ToggleInfoDisplay()};if(!i)return null;const a=b.jsx(yn,{id:"V6BZ5C"});return t?b.jsxs(b.Fragment,{children:[b.jsx(En,{variant:e,sx:n,children:a}),b.jsx(xs,{title:r({id:"n2ynd9"}),children:b.jsx(Lo,{color:"inherit",onClick:o,children:b.jsx(SQe,{})})})]}):b.jsx(En,{component:"button",variant:e,sx:n,onClick:o,children:a})},TQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M197.69-140q-23.53 0-40.61-17.08T140-197.
196369v-178.85h45.39v178.85q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46v-564.62q0-4.61-3.84-8.46-3.85-3.84-8.46-3.84H197.69q-4.61 0-8.46 3.84-3.84 3.85-3.84 8.46v178.85H140v-178.85q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Zm224.16-166.62-34.23-33.84 116.84-116.85H140v-45.38h364.46L387.62-619.54l34.23-33.84L595.23-480 421.85-306.62Z"})),CQe=m.memo(TQe),AQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M207.86-432Q188-432 174-446.14t-14-34Q160-500 174.14-514t34-14Q228-528 242-513.86t14 34Q256-460 241.86-446t-34 14Zm272 0Q460-432 446-446.14t-14-34Q432-500 446.14-514t34-14Q500-528 514-513.86t14 34Q528-460 513.86-446t-34 14Zm272 0Q732-432 718-446.14t-14-34Q704-500 718.14-514t34-14Q772-528 786-513.86t14 34Q800-460 785.86-446t-34 14Z"})),IQe=m.memo(AQe),j9=({profile:e,fetching:t})=>t?b.jsx(py,{variant:"rounded",children:b.jsx(s1,{})}):b.jsx(s1,{"data-private":!0,alt:"",src:e?.picture,variant:"rounded",slotProps:{img:{referrerPolicy:"no-referrer"}}}),wQe=({variant:e="default",menuWidth:t})=>{const{_:n}=Tn(),{profile:r,logout:i}=ha(),[{data:o,fetching:a}]=ir({query:vJ}),s=o?.profile,l=s?.name||n({id:"7PzzBU"}),[u,c]=m.useState(null),f=!!u,p=g=>{c(g.currentTarget)},v=()=>{c(null)};return b.jsxs(b.Fragment,{children:[e==="avatar"?b.jsx(Lo,{"aria-label":n({id:"V21db3"}),onClick:p,children:b.jsx(j9,{profile:s,fetching:a})}):b.jsxs(Li,{"aria-label":n({id:"V21db3"}),onClick:p,endIcon:b.jsx(IQe,{}),size:"small",sx:{color:"text.primary",gap:1.5,textAlign:"left"},variant:"text",children:[b.jsx(j9,{profile:s,fetching:a}),b.jsx(En,{variant:"body2",noWrap:!0,sx:{flexGrow:1},children:a?b.jsx(py,{sx:{transform:"none"}}):l})]}),b.jsx(wC,{open:f,anchorOrigin:{vertical:e==="avatar"?"bottom":"center",horizontal:e==="avatar"?"left":"right"},transformOrigin:{vertical:e==="avatar"?"top":"center",horizontal:"left"},anchorEl:u,onClose:v,slotProps:{paper:{sx:{width:t}}},children:b.jsxs(zn,{p:1,children:[e==="avatar"&&b.jsx(En,{variant:"body2",children:a?b.jsx(py,{}):l}),b.jsx(En,{variant:"body2",color:"text.secondary",title:r?.email,sx:{mb:1,overflow:"hidden",textOverflow:"ellipsis"},children:r?.email}),b.jsxs(zn,{direction:"column",gap:1,children:[b.jsx(td,{}),b.jsxs(zn,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[b.jsx(En,{variant:"body2",fontWeight:"medium",children:b.jsx(yn,{id:"7K7Bo8"})}),b.jsx(kQe,{})]}),b.jsx(zn,{direction:"row",alignItems:"center",justifyContent:"space-between",children:b.jsx(EQe,{variant:"body2",includesIcon:!0,sx:{background:"none",border:"none",padding:0,fontWeight:"medium"}})}),b.jsx(Um,{badge:{bottom:20,left:65},children:b.jsxs(zn,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[b.jsx(En,{variant:"body2",fontWeight:"medium",children:b.jsx(yn,{id:"vXIe7J"})}),b.jsx(uQe,{})]})}),b.jsx(td,{}),b.jsx(Li,{size:"small",onClick:()=>i(),startIcon:b.jsx(CQe,{}),children:b.jsx(yn,{id:"fcWrnU"})})]})]})})]})},NQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M185.39-217q58.46-55.23 133.11-88.77T480-339.31q86.85 0 161.5 33.54T774.61-217v-545.31q0-4.61-3.84-8.46-3.85-3.84-8.46-3.84H197.69q-4.61 0-8.46 3.84-3.84 3.85-3.84 8.46V-217Zm387.3-244.77Q610-499.08 610-553.04q0-53.96-37.31-91.27-37.31-37.3-91.27-37.3-53.96 0-91.27 37.3-37.3 37.31-37.3 91.27 0 53.96 37.3 91.27 37.31 37.31 91.27 37.31 53.96 0 91.27-37.31ZM197.69-140q-23.53 0-40.61-17.08T140-197.
196369v-564.62q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Zm15.69-45.39H746q-64.31-56.84-130.31-82.69-66-25.84-135.88-25.84-69.12 0-135.31 25.84-66.19 25.85-131.12 82.69Zm209.39-308.99q-24.54-24.54-24.54-58.66 0-34.11 24.54-58.65t58.65-24.54q34.12 0 58.66 24.54t24.54 58.65q0 34.12-24.54 58.66-24.54 24.53-58.66 24.53-34.11 0-58.65-24.53Zm57.23-1.93Z"})),RQe=m.memo(NQe),xQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M287.77-289.39h256.54v-45.38H287.77v45.38Zm0-167.92h384.46v-45.38H287.77v45.38Zm0-167.92h384.46v-45.38H287.77v45.38ZM197.69-140q-23.53 0-40.61-17.08T140-197.69v-564.62q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Zm0-45.39h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46v-564.62q0-4.61-3.84-8.46-3.85-3.84-8.46-3.84H197.69q-4.61 0-8.46 3.84-3.84 3.85-3.84 8.46v564.62q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84Zm-12.3-589.22v589.22-589.22Z"})),LQe=m.memo(xQe),OQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M480-185.39q70.46 0 120.31-49.53 49.84-49.54 49.84-120V-520q0-70.46-49.84-120-49.85-49.54-120.31-49.54-70.46 0-120.31 49.54-49.84 49.54-49.84 120v165.08q0 70.46 49.84 120 49.85 49.53 120.31 49.53ZM406.15-330h147.7v-45.38h-147.7V-330Zm0-169.54h147.7v-45.38h-147.7v45.38Zm74.16 62.39H480h.31-.31.31-.31.31-.31.31ZM480-140q-59.61 0-110.61-28.69-51-28.7-76.85-81.31H180v-45.38h92.77q-8.54-29.08-8.73-59.04-.19-29.97-.19-60.04H180v-45.39h83.85q0-31.69.11-63.27.12-31.57 10.43-61.5H180V-630h115.39q14.77-28.38 38.34-49.19 23.58-20.81 52.35-34.04l-77.39-76.38 30-29.62 90.93 90.92q25.69-8.46 51.69-8.46 26 0 51.69 8.46l91.31-90.92 30 29.62-76.39 76.38q28.77 13.23 50.85 34.54 22.07 21.31 38.07 48.69H780v45.38h-94.39q11.31 29.93 10.62 61.5-.69 31.58-.69 63.27H780v45.39h-84.46q0 30.07.11 60.04.12 29.96-8.42 59.04H780V-250H668.08q-25.24 53.61-76.54 81.81Q540.23-140 480-140Z"})),PQe=m.memo(OQe),_Qe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M278.46-276.16h513.85q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46v-513.85q0-4.61-3.84-8.46-3.85-3.84-8.46-3.84h-53.08v260.69l-84.92-51.62-84.93 51.62v-260.69H278.46q-4.61 0-8.46 3.84-3.85 3.85-3.85 8.46v513.85q0 4.61 3.85 8.46 3.85 3.84 8.46 3.84Zm0 45.39q-23.53 0-40.61-17.08t-17.08-40.61v-513.85q0-23.53 17.08-40.61T278.46-860h513.85q23.52 0 40.61 17.08Q850-825.84 850-802.31v513.85q0 23.53-17.08 40.61-17.09 17.08-40.61 17.08H278.46ZM167.69-120q-23.52 0-40.61-17.08Q110-154.17 110-177.7v-559.22h45.39v559.22q0 4.62 3.84 8.47 3.85 3.84 8.46 3.84h559.23V-120H167.69Zm401.69-694.61h169.85-169.85Zm-290.92 0h-12.31 538.46-526.15Z"})),DQe=m.memo(_Qe),MQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M207.04-212.73q-29.88-32.73-26.42-77.89H86L95.92-336h101.23q12.31-22.23 34.97-35.81 22.65-13.58 50.57-13.58 27.93 0 50.58 13.58T368.62-336H567l91.62-398.61H206l1.85-7.62q3.84-16.77 16.57-27.27t29.89-10.5h461.23l-36.31 157.31h106.15l109.77 146.61-36.69 185.46h-63.08q3.47 45.16-26.73 77.89Q738.46-180 692.69-180q-45.77 0-75.65-32.73-29.89-32.73-26.42-77.89H385.39q3.46 45.16-26.74 77.89Q328.46-180 282.69-180q-45.77 0-75.65-32.73ZM634-427.69h205.77l6.77-37.23-83.85-112.39h-94.38L634-427.69Zm13.69-261.46 10.93-45.46L567-336l10.31-44.85 32.85-142.92 37.53-165.38ZM45.08-440.85l11.15-45.38h199.62l-11.16 45.38H45.08Zm80-142.92 11.15-45.38h239.62l-11.16 45.38H125.08Zm157.61 358.38q24.08 0 40.7-17.11Q340-259.62 340-282.69q0-24.08-16.61-40.7Q306.77-340 282.69-340q-23.07 0-40.19 16.61-17.11 16.62-17.11 40.7 0 23.07 17.11 40.19 17.12 17.11 40.19 17.11Zm410 0q24.08 0 40.7-17.11Q750-259.62 750-282.69q0-24.08-16.61-40.7Q716.77-340 692.69-340q-23.07 0-40.19 16.61-17.12 16.62-17.12 40.7 0 23.07 17.12 40.19 17.12 17.11 40.19 17.11Z"})),FQe=m.memo(MQe),UQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M437.15-102q-71.76-7.62-133.3-40.08-61.54-32.46-106.54-83.57-45-51.12-70.46-116.66-25.46-65.54-25.46-138.31 0-146.92 95.92-255.15Q293.23-844 438.15-859.23v45.38q-125.69 18.24-208.53 112.5-82.85 94.27-82.85 220.73 0 126.08 82.35 220.54 82.34 94.46 208.03 112.69V-102ZM480-293.85 294.23-479.62l32.23-32.61 130.85 130.85v-284.77h45.38v284.77l131.23-131.23L666.15-480 480-293.85ZM523.23-102v-45.39q44.85-6 86.58-22.73t77.34-45.34l34 33.23q-43.69 32.31-93.73 53.38-50.04 21.08-104.19 26.85Zm165.31-642.38q-37.23-26.62-78.66-44.73-41.42-18.12-86.65-24.74v-45.38q54.15 7 103.69 27.77T721.15-778l-32.61 33.62Zm89.23 500.92-32.62-31.62q28.23-36.23 44.85-77.96 16.61-41.73 22.61-86.96h46q-6.61 54.15-27.07 104.19t-53.77 92.35Zm34.84-277.77q-6-45.23-22.61-87.27-16.62-42.04-44.85-77.65l36.23-31.77q31.54 43.69 51 93.42 19.46 49.73 26.23 103.27h-46Z"})),VQe=m.memo(UQe),BQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"m216.92-152.31-73.46-440h673.08l-73.46 440H216.92Zm37.7-45.38h450.76l55.47-349.23h-561.7l55.47 349.23ZM400-396.92h160q9.9 0 16.3-6.71 6.39-6.71 6.39-16 0-9.91-6.39-16.29-6.4-6.39-16.3-6.39H4
196300q-9.29 0-15.99 6.4-6.7 6.4-6.7 16.31 0 9.29 6.7 15.98 6.7 6.7 15.99 6.7ZM240-654.61q-9.29 0-15.99-6.71-6.7-6.71-6.7-16 0-9.91 6.7-16.29Q230.71-700 240-700h480q9.9 0 16.3 6.4 6.39 6.4 6.39 16.31 0 9.29-6.39 15.98-6.4 6.7-16.3 6.7H240Zm80-107.7q-9.29 0-15.99-6.7-6.7-6.71-6.7-16 0-9.91 6.7-16.3 6.7-6.38 15.99-6.38h320q9.9 0 16.3 6.4 6.39 6.4 6.39 16.31 0 9.29-6.39 15.98-6.4 6.69-16.3 6.69H320Zm-65.38 564.62h450.76-450.76Z"})),jQe=m.memo(BQe),zQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M536.92-480.62 342.77-675.15l32.61-32.62 226.77 227.15-226.77 226.77-32.61-32.61 194.15-194.16Z"})),z9=m.memo(zQe),HQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M480-560.92 286.46-367.39 253.85-400 480-626.15 706.15-400l-32.61 32.61L480-560.92Z"})),uO=m.memo(HQe),WQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"m140-204.62-34.46-34.07 286.15-286.16 160 160.62 99.93-112.85-256.7-243.38L140-465.54 105.54-500l286.15-286.15 289.92 274.61 161.93-183.84 32 30.61-161.31 184.23 160.69 152.15-32.23 32.23-158.46-149.92-131.77 149.92-160.77-160.15L140-204.62Z"})),qQe=m.memo(WQe),GQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M485.26-299.62q13.42 0 22.62-9.29 9.2-9.3 9.2-22.58 0-13.28-9.3-22.55-9.3-9.27-22.58-9.27-13.28 0-22.55 9.3-9.26 9.3-9.26 22.58 0 13.28 9.22 22.54 9.23 9.27 22.65 9.27Zm-26.11-138.77h43.93q.38-13.39 2.38-23.96t7-20.8q5-10.23 13.81-20.66 8.81-10.42 21.02-22.74 30.32-30.6 42.94-54.37 12.62-23.77 12.62-50.55 0-50.47-32.47-79.88-32.46-29.42-83.89-29.42-46.8 0-79.84 23.16-33.03 23.15-48.88 59.23l41.85 17.76q13.61-26.07 34.43-40.76 20.81-14.7 52.03-14.7 35.84 0 54.34 18.7 18.5 18.69 18.5 46.81 0 20.65-11 38.19-11 17.53-33.92 40-15.85 15.07-26.35 27.73-10.5 12.65-17.5 25.99-5.92 13.42-8.46 27.69-2.54 14.28-2.54 32.58ZM480-68.46 368.46-180H197.69q-23.53 0-40.61-17.35Q140-214.69 140-237.69v-564.62q0-23.53 17.08-40.61T197.69-860h564.62q23 0 40.34 17.08Q820-825.84 820-802.31v564.62q0 23-17.35 40.34Q785.31-180 762.31-180H591.54L480-68.46ZM197.69-225.39h189.39L480-132.46l92.92-92.93h189.39q5.38 0 8.84-3.46t3.46-8.84v-564.62q0-5.38-3.46-8.84t-8.84-3.46H197.69q-5.38 0-8.84 3.46t-3.46 8.84v564.62q0 5.38 3.46 8.84t8.84 3.46ZM480-517.77Z"})),KQe=m.memo(GQe),YQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M237.69-100q-23.59 0-40.64-17.05T180-157.69v-400.15q0-23.9 17.05-40.8t40.64-16.9h69.62v-91.77q0-71.89 50.44-122.29Q408.19-880 480.13-880q71.95 0 122.25 50.4 50.31 50.4 50.31 122.29v91.77h69.62q23.59 0 40.64 16.9t17.05 40.8v400.15q0 23.59-17.05 40.64T722.31-100H237.69Zm0-45.39h484.62q5.38 0 8.84-3.46t3.46-8.84v-400.15q0-5.39-3.46-8.85t-8.84-3.46H237.69q-5.38 0-8.84 3.46t-3.46 8.85v400.15q0 5.38 3.46 8.84t8.84 3.46Zm290.27-164.14q19.81-19.53 19.81-47.01 0-26.54-19.98-47.77-19.97-21.23-47.96-21.23-27.98 0-47.79 21.23t-19.81 48.27q0 27.04 19.98 46.54 19.97 19.5 47.96 19.5 27.98 0 47.79-19.53ZM352.69-615.54h254.62v-91.77q0-53.04-37.09-90.17t-90.08-37.13q-52.99 0-90.22 37.13t-37.23 90.17v91.77Zm-127.3 470.15v-424.76 424.76Z"})),$Qe=m.memo(YQe),JQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M277.69-60q-23.59 0-40.64-17.05T220-117.69v-724.62q0-23.53 17.08-40.61T277.69-900h404.54q23.89 0 40.79 17.05t16.9 40.64v145.39q16.85 1.46 28.46 13.57Q780-671.25 780-655.16v71.24q0 17.22-11.62 29.23-11.61 12-28.46 13.46v423.54q0 23.59-16.9 40.64T682.23-60H277.69Zm0-45.39h404.54q5.38 0 8.85-3.46 3.46-3.46 3.46-8.84v-724.62q0-5.38-3.46-8.84-3.47-3.46-8.85-3.46H277.69q-5.38 0-8.84 3.46t-3.46 8.84v724.62q0 5.38 3.46 8.84t8.84 3.46Zm-12.3 0v-749.22 749.22ZM480-332.23l142.69-142.69-33-32.62-87 87.39v-197.08h-45.38v197.08l-87-87.39-32.62 32.62L480-332.23Z"})),ZQe=m.memo(JQe),QQe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M385.39-542.23 480-589.54l94.61 47.31v-232.38H385.39v232.38ZM280-290v-60h200v60H280Zm-82.31 150q-23.53 0-40.61-17.08T140-197.
196369v-564.62q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Zm-12.3-634.61v589.22-589.22Zm12.3 589.22h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46v-564.62q0-4.61-3.84-8.46-3.85-3.84-8.46-3.84H620v305.92l-140-70-140 70v-305.92H197.69q-4.61 0-8.46 3.84-3.84 3.85-3.84 8.46v564.62q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84Z"})),XQe=m.memo(QQe),eXe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M457.31-155.92v-311.31L185.39-624.39V-320q0 3.08 1.53 5.77 1.54 2.69 4.62 4.61l265.77 153.7Zm45.38 0 265.77-153.7q3.08-1.92 4.62-4.61 1.53-2.69 1.53-5.77v-305L502.69-467.23v311.31Zm-51.54 48.61-282.3-163q-13.62-7.61-21.23-21.23-7.62-13.61-7.62-28.85v-319.22q0-15.24 7.62-28.85 7.61-13.62 21.23-21.23l282.3-163q13.62-7.62 28.85-7.62 15.23 0 28.85 7.62l282.3 163q13.62 7.61 21.23 21.23 7.62 13.61 7.62 28.85v319.22q0 15.24-7.62 28.85-7.61 13.62-21.23 21.23l-282.3 163q-13.62 7.62-28.85 7.62-15.23 0-28.85-7.62Zm185.93-490 111.23-64.38-262.16-151.69q-3.07-1.54-6.15-1.54-3.08 0-6.15 1.54l-104.31 60.15 267.54 155.92ZM480-505.54l112.08-65.61-268.93-155.16-112.07 64.62L480-505.54Z"})),tXe=m.memo(eXe),nXe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M480-100.77q-130.38-35.39-215.19-154.81T180-520.46v-225.69l300-112.31 300 112.31v225.69q0 71.07-19.58 141.23-19.58 70.15-68.19 134.23L557.61-375.16q-17.46 11.39-37.21 18.2-19.75 6.8-40.4 6.8-55.02 0-93.55-38.27-38.53-38.28-38.53-93.49 0-55.21 38.42-93.8 38.42-38.59 93.58-38.59t93.66 38.59q38.5 38.59 38.5 94.1 0 20.03-6 39.02-6 18.98-17.47 34.83l94.93 92.08q24.77-43.39 37.92-95.93 13.15-52.53 13.15-108.84v-196.18L480-809.23l-254.61 92.59v196.18q0 128.31 71.34 232.08 71.35 103.76 183.47 140.61 28.03-8 64.72-29.73t60.31-43.19l30.46 33.38q-32.69 28.16-73.5 51.85T480-100.77Zm61.27-319.7q25.42-24.94 25.42-61.65 0-35.96-25.62-61.38-25.63-25.42-61.27-25.42-35.65 0-61.07 25.42t-25.42 61.38q0 36.71 25.62 61.65 25.63 24.93 61.27 24.93 35.65 0 61.07-24.93Zm-63.04-62.38Z"})),rXe=m.memo(nXe),iXe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"m400.69-100-18.07-120.23q-20.54-7-44.23-20.35-23.7-13.34-40.85-28.27l-111.85 50.93-79.92-141.31 101.08-74.38q-2-10.54-2.89-23.01-.88-12.46-.88-23 0-10.15.88-22.61.89-12.46 2.89-24.16l-101.08-74.76 79.92-140.16 111.46 50.16q18.31-14.93 41.24-28.08 22.92-13.15 43.84-19.54L400.69-860h158.62l18.07 120.62q22.08 8.15 44.16 20.23 22.07 12.07 39.77 28l113.38-50.16 79.54 140.16-102.62 74.3q2.77 11.93 3.47 24 .69 12.08.69 22.85 0 10.38-.89 22.15-.88 11.77-3.27 24.47l102.23 74.15-79.92 141.31-112.61-51.31q-18.7 15.69-40.35 28.96-21.65 13.27-43.58 19.65L559.31-100H400.69Zm36.46-45.39h85.31L536.85-257q31.84-8 59.42-23.85 27.58-15.84 52.73-40.23l104.46 45.23 40-70.84L701-414.92q4-17.77 6.31-33.5 2.3-15.73 2.3-31.58 0-16.62-2-31.96-2-15.35-6.61-32.35l93.23-69-40-70.84-105.62 45.23q-21.07-23.69-50.84-41.77Q568-698.77 536.46-703l-13.61-111.61h-85.7l-13.23 111.23q-33.23 6.61-61.19 22.65t-52.11 41.42l-104.85-44.84-40 70.84 92.46 67.85q-4.38 15.84-6.69 32.15-2.31 16.31-2.31 33.69 0 16.62 2.31 32.54 2.31 15.93 6.31 32.16l-92.08 68.23 40 70.84 104.46-44.84q24 24.38 52.15 40.23 28.16 15.84 61.16 23.84l13.61 111.23Zm41.7-221.92q47.07 0 79.88-32.81 32.81-32.8 32.81-79.88t-32.81-79.88q-32.81-32.81-79.88-32.81-46.7 0-79.7 32.81-32.99 32.8-32.99 79.88t32.99 79.88q33 32.81 79.7 32.81ZM480-480Z"})),oXe=m.memo(iXe),aXe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M170.46-391.77q-38.07 0-64.27-26.4Q80-444.57 80-482.23q0-37.66 26.4-64.06 26.4-26.4 64.06-26.4v-119.15q0-23.05 17.33-40.37 17.32-17.33 40.37-17.33h161.38q0-38.07 26.19-64.27Q441.92-840 480-840t64.27 26.4q26.19 26.4 26.19 64.06h161.38q23.05 0 40.37 17.33 17.33 17.32 17.33 40.37v119.15q38.07 0 64.27 26.4Q880-519.89 880-482.23q0 37.66-26.4 64.06-26.4 26.4-64.06 26.4v194.08q0 23.04-17.33 40.37Q754.89-140 731.84-140H228.16q-23.05 0-40.37-17.32-17.33-17.33-17.33-40.37v-194.08Zm202.39-95Q383-497.16 383-512q0-14.85-10.39-25t-25.23-10.15q-14.84 0-24.99 10.39-10.16 10.38-10.16 25.23 0 14.84 10.39 24.99 10.39 10.16 25.23 10.16t25-10.39Zm264.76 0q10.16-10.39 10.16-25.23 0-14.85-10.39-25t-25.23-10.15q-14.84 0-25 10.39Q577-526.38 577-511.53q0 14.84 10.39 24.99 10.39 10.16 25.23 10.16t24.99-10.39Zm-313.3 192.92h311.38v-45.38H324.31v45.38Zm-96.15 108.46h503.68q5 0 8.66-3.46 3.65-3.46 3.65-8.84v-494.15q0-5-3.65-8.66-3.66-3.65-8.66-3.65H228.16q-5 0-8.66 3.65-3.65 3.66-3.65 8.66v494.15q0 5.38 3.65 8.84 3.66 3.46 8.66 3.46ZM480-445.08Z"})),sXe=m.memo(aXe),lXe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M367.69-864.62V-910h224.62v45.38H367.69Zm89.62 447.39h45.38v-217.31h-45.38v217.31ZM348-127.58q-61.85-26.96-108.15-73.07-46.31-46.12-73.08-108.16-26.77-62.04-26.77-132 0-69.96 26.77-131.8 26.77-61.85 73.08-108.16 46.3-46.31 108.15-73.07 61.85-26.77 132-26.77 63.92 0 121 22.11 57.08 22.12 101.92 61.73l46-46.38 32 32-46.38 46.38q36.77 40 61.11 95.66Q820-513.46 820-440.62q0 69.77-26.77 131.81-26.77 62.04-73.08 108.16-46.3 46.11-108.15 73.07-61.85 26.96-132 26.96t-132-26.96Zm340.65-104.38q85.96-85.96 85.96-208.66 0-122.69-85.96-208.65-85.96-85.96-208.65-85.96-122.69 0-208.65 85.96-85.96 85.96-85.96 208.65 0 122.7 85.96 208.66T480-146q122.69 0 208.65-85.96ZM480-440Z"})),uXe=m.memo(lXe),cXe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"m668.61-479.85-187.99-188 187.99-187.99 188 187.99-188 188Zm-516.3-60.84v-266.38h266v266.38h-266Zm388.38 388.38v-266h266.38v266H540.69Zm-388.38 0v-266h266v266h-266Zm45.38-433.77h175.23v-175.61H197.69v175.61Zm473.54 45.23 124.38-124.38L671.23-790 546.46-665.23l124.77 124.38Zm-85.15 343.16h175.61v-175.23H586.08v175.23Zm-388.39 0h175.23v-175.23H197.69v175.23Zm175.23-388.39Zm173.54-79.15ZM372.92-372.92Zm213.16 0Z"})),dXe=m.memo(cXe),fXe={text:{id:"6_dCYd"},to:"/org/:org/overview",icon:dXe},pXe={text:{id:"an5hVd"},to:"/org/:org/images",icon:DQe},mXe={text:{id:"zxvj2w"},to:"/org/:org/helm",icon:JZe},hXe={text:{id:"IzOaIb"},to:"/org/:org/packages",icon:tXe},gXe={text:{id:"t9yxlZ"},to:"/org/:org/reports",icon:qQe},vXe={text:{id:"PWfg7v"},to:"/org/:org/requests/active",icon:FQe,groupLinks:["/org/:org/requests/"],secondary:b.jsx(ZZe,{compact:!0})},yXe={text:{id:"Tz0i8g"},to:"/org/:org/settings/general",icon:oXe,groupLinks:["/org/:org/settings/"]},kXe={text:{id:"kzsd_O"},to:"/org/:org/athena/uploads",icon:$Qe,accentColor:"severity.medium"},bXe={text:{id:"TvY_XA"},to:"/org/:org/athena/docs",icon:LQe,accentColor:"severity.medium"},SXe={text:{id:"nj2MP8"},to:"/org/:org/athena/vulnerabilities",icon:PQe,accentColor:"severity.medium"},EXe={text:{id:"5VNbYH"},icon:jQe},TXe={text:{id:"d_bW-Y"},to:"/org/:org/libraries/java"},CXe={text:{id:"k8pHx9"},to:"/org/:org/libraries/javascript"},AXe={text:{id:"zY6PMh"},to:"/org/:org/libraries/python"},IXe=()=>{const[e,t]=m.useState();return m.useEffect(()=>{window.addEventListener("beforeinstallprompt",n=>{n.preventDefault(),t(n)})},[]),e?{text:{id:"ALf1yp"},icon:ZQe,onClick:()=>e.prompt()}:void 0},jR=240,Iv=1,wXe=({open:e,setOpen:t,onClose:n})=>{const r=G_(),{_:i}=Tn(),o=dk(),[a,s]=m.useState(!1),[l,u]=m.useState(!1),c=sp(),f=ha(),{claims:p}=tC(),{rootUIDP:v}=Po(),{prodview:g,osvFeed:y,showArgosForSupport:k}=ma(),E=k?!1:p?.sub?.startsWith?.(`${Y_}/`)??!1,S=jx(f,K.ARGOS_DOCUMENTS_LIST,v),T=jx(f,K.ARGOS_DOCUMENTATION_READ,v),I=S&&!E,A=S&&!E&&y,w=(S||T)&&!E,R=I||A||w,x=Aye(),D=Ku(),[M,F]=m.useState(!1),L=IXe(),{canAccess:P,container:j}=cp(),{hasKapaConsent:B}=ak();return b.jsxs(PK,{className:"hide-on-print",sx:{width:e?jR:0,flexShrink:0},open:e,onClose:n,slotProps:{paper:{sx:{backgroundColor:H=>H.palette.background.nav,boxSizing:"border-box",width:jR}}},anchor:"left",role:"navigation",variant:D?"temporary":"permanent",children:[b.jsxs(zn,{sx:{p:Iv,pt:2,gap:2,flexGrow:1},children:[b.jsxs(zn,{sx:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",gap:1},children:[b.jsxs(zn,{sx:{flexDirection:"row",gap:.5},children:[b.jsx(ZK,{to:Dl("/org/:org/overview",{org:encodeURIComponent(o)}),ariaLabel:i({id:"aFfStc"}),children:b.jsx(eY,{sx:H=>({height:"unset",width:"120px",ml:"11px",mt:D?0:.75,...H.mixins.logo})})}),b.jsx(Um,{badge:{top:-20,left:-4},children:b.jsx(En,{variant:"caption",color:"text.secondary",sx:{alignSelf:"flex-start",mt:D?-.5:0},children:g?"prodview":"v263.1"})})]}),D&&t&&b.jsx(Lo,{"aria-label":i({id:"FOQVgl"}),onClick:()=>t(!e),sx:{mt:-1,mr:-1.5},size:"medium",children:b.jsx(Mu,{})})]}),b.jsx(zn,{flexDirection:"row",gap:.5,pl:.75,alignItems:"center",children:b.jsx(aQe,{})}),b.jsxs(vE,{component:"nav","aria-label":i({id:"XE4B2G"}),sx:{flexGrow:1},children:[b.jsxs(zn,{gap:.125,children:[b.jsx(Ir,{...fXe}),b.jsx(Ir,{...gXe}),P(jr.IMAGE_REQUESTS_DASHBOARD)&&b.jsx(Ir,{...vXe})]}),R&&b.jsxs(b.Fragment,{children:[b.jsx(HR,{}),b.jsx(zR,{children:b.jsx(yn,{id:"n72fCI"})}),b.jsxs(zn,{gap:.125,children:[I&&b.jsx(Ir,{...kXe}),A&&b.jsx(Ir,{...SXe}),w&&b.jsx(Ir,{...bXe})]})]}),b.jsx(HR,{}),b.jsxs(zR,{children:[b.jsx(yn,{id:"ClGcRq"}),!j.fetching&&b.jsx(Um,{badge:{bottom:8},children:b.jsx(Hf,{color:"default",label:j.plan,sx:{ml:1,mt:-.5,height:20,color:"text.dim"}})})]}),b.jsxs(zn,{gap:.125,children:[b.jsx(Ir,{...pXe}),b.jsx(Ir,{...mXe}),b.jsx(Ir,{...hXe}),b.jsx(HR,{}),b.jsx(zR,{children:b.jsx(yn,{id:"o2Ucvk"})}),b.jsx(NXe,{...EXe,children:[TXe,CXe,AXe].map(H=>b.jsx(Ir,{...H},H.to))})]})]})]}),b.jsxs(zn,{gap:1,children:[b.jsx(td,{}),b.jsx(zn,{sx:{px:Iv},children:b.jsx(wQe,{menuWidth:H=>`calc(${jR}px - ${H.spacing(Iv*2)})`})}),b.jsx(td,{}),b.jsx(zn,{sx:{p:Iv,pt:0}
1963,children:b.jsxs(vE,{component:"nav","aria-label":i({id:"gXYeLZ"}),children:[b.jsx(Ir,{...yXe}),B&&b.jsx(Ir,{icon:KQe,text:{id:"xWEvuo"},onClick:()=>window.Kapa?.open()}),D&&L&&b.jsx(Ir,{...L}),b.jsx(Ir,{icon:a?uO:z9,text:{id:"bTAduB"},onClick:()=>s(H=>!H)}),b.jsx(uy,{in:a,children:b.jsxs(b.Fragment,{children:[b.jsx(Ir,{text:{id:"KNF25N"},outlink:!0,href:`${qve}/security`}),b.jsx(Ir,{text:{id:"TvY_XA"},outlink:!0,href:"https://edu.chainguard.dev/"}),b.jsx(Ir,{text:{id:"y8le-Z"},outlink:!0,href:"https://courses.chainguard.dev/"}),b.jsx(Ir,{text:{id:"uAQUqI"},outlink:!0,href:"https://status.chainguard.dev/"}),P(jr.SUPPORT_ACCESS)&&b.jsx(Ir,{text:{id:"XYLcNv"},outlink:!0,href:`${cq()}/access`})]})}),b.jsx(Um,{badge:{bottom:18,left:110},children:b.jsx(Ir,{icon:l?uO:z9,text:{id:"wv1e0F"},onClick:()=>u(H=>!H)})}),b.jsx(uy,{in:l,children:b.jsxs(b.Fragment,{children:[b.jsx(Ir,{icon:rXe,text:{id:"wzfFLf"},to:"/org/:org/internal/graphql-playground"}),b.jsx(Ir,{icon:sXe,text:{id:"PpZkda"},onClick:()=>c("#/features"),badge:x.filter(H=>H.override).length}),b.jsx(Ir,{icon:uXe,text:{id:"cklVjM"},onClick:()=>c("#/timeline")}),b.jsx(Ir,{icon:RQe,text:{id:"bJYNOC"},onClick:()=>c("#/support-identities")}),b.jsx(Ir,{icon:M?VQe:XQe,disabled:M,text:{id:"1ZXU0Q"},onClick:async()=>{F(!0),await(await St(async()=>{const{downloadCsv:H}=await import("./debug-Bh0zsZX2.js");return{downloadCsv:H}},__vite__mapDeps([2,3,4]))).downloadCsv(r),F(!1)}})]})})]})})]})]})},NXe=({children:e,...t})=>{const{_:n}=Tn(),r=n(t.text),i=dk(),o=t.to&&Dl(t.to,{org:i}),a=ure(o,t.groupLinks?.map(u=>Dl(u,{org:i}))),[s,l]=m.useState(!0);return m.useEffect(()=>{a&&l(!0)},[a,l]),b.jsxs(b.Fragment,{children:[b.jsx(Ir,{...t,onClick:u=>{l(c=>!c),u.stopPropagation(),u.preventDefault()},secondary:b.jsxs(b.Fragment,{children:[b.jsx("div",{style:{flex:1}}),b.jsx(f_,{sx:{color:"inherit",minWidth:0},children:b.jsx(sre,{up:s})})]})}),b.jsx(uy,{in:s,children:b.jsx(vE,{component:"nav","aria-label":n({id:"jMDJte",values:{label:r}}),children:b.jsx(zn,{gap:.125,children:e})})})]})},Ir=({text:e,secondary:t,icon:n,accentColor:r,disabled:i=!1,to:o,onClick:a,href:s,groupLinks:l,badge:u,outlink:c})=>{const{_:f}=Tn(),p=!!a||!!o||!!s,v=dk(),g=o&&Dl(o,{org:v}),y=ure(g,l?.map(k=>Dl(k,{org:v})));return b.jsxs(vxe,{...a?{onClick:a}:o?{component:y_,to:g}:s?{component:_h,href:s,role:"button",target:"_blank"}:void 0,selected:y,disableGutters:!0,disabled:i,"aria-label":f(e),sx:{px:1,color:"text.secondary","&:hover":{bgcolor:"action.hover",color:"text.primary"},borderRadius:1,cursor:p?"pointer":"default"},children:[b.jsx(f_,{sx:{minWidth:k=>k.spacing(3.5),color:"inherit",justifyContent:"center"},children:n&&b.jsx(kK,{badgeContent:u,color:"primary",sx:{[`.${ku.badge}`]:{height:15,width:15,minWidth:0}},children:b.jsx(n,{color:y?"primary":"inherit",sx:r?{color:r}:void 0})})}),b.jsxs(_K,{disableTypography:!0,sx:{m:0,px:.5,py:.2,display:"inline-flex",alignItems:"center",whiteSpace:"nowrap"},children:[b.jsx(En,{variant:"body2",color:y?"text.primary":"inherit",fontWeight:"medium",children:f(e)}),t,c&&b.jsx(MZ,{"aria-hidden":"true",sx:{height:18,alignSelf:"end"}})]})]})};function ure(e,t){const n=qr(),r=i=>n.pathname===i||n.pathname.startsWith(i+"/");return!!(e&&r(e)||t?.some(i=>r(i)))}const zR=({children:e})=>b.jsx(En,{component:"div",ml:1,py:1,color:"text.dim",variant:"body2",fontWeight:"medium",children:e}),HR=()=>b.jsx(td,{sx:{my:1,mx:-Iv}}),RXe=3,xXe=()=>{const e=Ku(),{_:t,i18n:n}=Tn(),[r,i]=m.useState(!e),o=m.useCallback(()=>i(!e),[e,i]),a=ore(),{organization:s,organizationFetching:l}=Jl(),u=cp();m.useEffect(()=>{if(!l&&s){const{id:p,name:v,verified:g}=s;a.setKnockOrg({id:p,name:v,verified:g})}},[a,l,s]);const c=qr();m.useEffect(o,[o,c.pathname]);const f=m.useRef(null);return j1e(f),m.useEffect(()=>{const v=(Fy(Ry,c.pathname)??[]).map(g=>g.route.path).filter(Boolean).join("/")||"/";ahe(v)},[c.pathname]),JVe(b.jsx(b.Fragment,{children:b.jsxs(ei,{sx:{display:"flex",flexDirection:e?"column":"row",height:"100dvh",width:"100dvw"},children:[e&&b.jsxs(b.Fragment,{children:[b.jsx(E8,{entitlementsContext:u}
1963),b.jsx(zAe,{position:"sticky",children:b.jsxs(WK,{sx:{px:3,gap:1},children:[b.jsx(eY,{sx:p=>({width:"5em",visibility:r?"hidden":"visible",...p.mixins.logo})}),b.jsx(Lo,{"aria-label":t({id:"FOQVgl"}),onClick:()=>i(!r),sx:{justifyContent:"flex-start",visibility:r?"hidden":"visible"},children:b.jsx(YZe,{})})]})})]}),b.jsx(wXe,{open:r,setOpen:i,onClose:o}),b.jsxs(ei,{ref:f,component:"main",sx:{flex:1,overflow:"auto",overflowX:qK.isSafari?"hidden":void 0,display:"flex",flexDirection:"column",background:p=>p.palette.background.default,p:RXe},children:[!e&&b.jsx(E8,{entitlementsContext:u,sx:{mb:3,mt:-3,mx:-3}}),b.jsx(m.Suspense,{fallback:b.jsx(ok,{}),children:b.jsx(Ra,{})})]})]})}),Ry,c,n)};function LXe(e){const[t,n]=m.useState(null),[r,i]=m.useState(!0),[o,a]=m.useState(null),{enqueueSnackbar:s}=uk(),{_:l}=Tn(),u=m.useCallback(async()=>{if(e){i(!0),a(null);try{const f=`/knockorgrecipients?${new URLSearchParams({tenantId:e}).toString()}`,p=await mo(f);if(!p.ok)throw new Error(`Failed to load recipients, status: ${p.status}`);const v=await p.json();n(v.recipients||[])}catch{const c=l({id:"ifgzrk"}),f=new Error(c);a(f),s({message:c,variant:"error"})}finally{i(!1)}}},[e,s,l]);return m.useEffect(()=>{u()},[u]),{recipients:t,loading:r,error:o,refetch:u}}const cre=m.createContext({recipients:null,loading:!1,error:null,refetch:async()=>{}}),OXe=({children:e})=>{const{rootUIDP:t}=Po(),{can:n}=LP(),{isOrgInKnock:r}=ore(),{usersMap:i,usersFetching:o,usersError:a}=Jl(),{_:s}=Tn(),l=n(K.IAM_ROLES_CREATE,t),u=LXe(l&&r?t:""),c=m.useMemo(()=>a?null:u.recipients?.filter(p=>p.type!=="user"||i.has(p.id)).map(p=>p.type==="user"?{...p,email:p.email||i.get(p.id)?.displayName}:p)??null,[u.recipients,i,a]),f=u.error??(a?new Error(s({id:"vOIiDG"})):null);return b.jsx(cre.Provider,{value:{...u,recipients:c,error:f,loading:u.loading||o},children:e})},ydt=()=>m.useContext(cre),kdt={image:{title:{id:"hG89Ed"},description:{id:"GK4jvZ"}},package:{title:{id:"mGYa19"},description:{id:"GgLq9D"}},helm:{title:{id:"CSbWN-"},description:{id:"TN77os"}}},dre=m.createContext(void 0),bdt=()=>{const e=m.useContext(dre);if(!e)throw new Error("useGitHubIssuesContext must be used within a GitHubIssuesProvider");return m.useEffect(()=>{e.initialize()},[e]),e},PXe=e=>e.importance==="P0"&&e.status==="In progress",_Xe=({children:e})=>{const{_:t}=Tn(),[n,r]=m.useState(-1),{enqueueSnackbar:i}=uk(),{rootUIDP:o}=Po(),[a,s]=m.useState(!0),[l,u]=m.useState(),[c,f]=m.useState(),[p,v]=m.useState(),{logout:g,expired:y}=ha(),k=w$(),{hostname:E}=m.useContext(ri),S=m.useCallback(()=>{if(y)return k.backgroundRefresh().catch(()=>g())},[k,g,y]);m.useEffect(()=>{if(n===-1){s(!1);return}(async()=>{if(s(!0),v(void 0),await S(),E.startsWith("localhost"))try{u((await St(async()=>{const{default:A}=await import("./localhostIssues-Rxe3B886.js");return{default:A}},[])).default)}catch(A){v(A)}else try{await Promise.all([(async()=>{const A={all:"/api/imagerequests",last100:"/api/imagerequestslast100"},w={all:void 0,last100:void 0},R=()=>{const x=new Map;w.all?.forEach(D=>x.set(D.number,D)),w.last100?.forEach(D=>x.set(D.number,D)),u(Array.from(x.values()))};await Promise.allSettled(Object.entries(A).map(([x,D])=>mo(D,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({rootUIDP:o})}).then(M=>{if(!M.ok)throw new Error(`Failed to fetch issues from ${D}`);return M.json().then(F=>{if(F.error)throw new Error(F.message);w[x]=F,R()},()=>{throw new Error(`Invalid JSON response from ${D}`)})})))})(),(async()=>{const w=await(await mo("/api/listupvotes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({rootUIDP:o})})).json();f(Object.entries(Array.isArray(w)?{"image-requests":w,"community-helm-charts":[]}:w||{}).reduce((R,[x,D])=>(R[x]=new Set(D),R),{}))})()])}catch(A){v(A)}s(!1)})()},[o,n,S,E]);const T=m.useCallback((A,w)=>i(A,{variant:w?"success":"error"}),[i]),I=m.useMemo(()=>{const[A,w]=l?.reduce(([x,D],M)=>((PXe(M)?x:D).push(M),[x,D]),[[],[]])||[void 0,void 0];return{fetching:a,error:p,issues:l,upvotes:c,activeIssues:A,pendingIssues:w,maxDemand:!l||l.length===0?void 0:Math.max(...l.map(x=>x.demand||0)),myIssues:l?.filter(x=>x.mine||c?.[x.repo]?.has(x.number)),vote:async(x,D)=>{const M=t({id:"ZCk4kz",values:{issueNumber:x}}),F=t({id:"j5nB3m",values:{issueNumber:x}});if(!l?.find(B=>B.number===x)){T(M,!1);return}const P=!c?.[D]?.has(x);s(!0),await S();const j=()=>f(B=>{const H={"image-requests":new Set,"community-helm-charts":new Set,...B};return P?H[D].add(x):H[D].delete(x),H});try{const B=await mo("/api/upvoterequest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({issue:x,upvote:P,repo:D,rootUIDP:o})});if(B.ok)T(F,!0);else{T(M,!1);const H=await B.json();throw new Error(H.message||"Failed to update vote")}j()}catch(B){T(M,!1),rr.track("GitHubVoteError",{error:String(B)}),E.startsWith("localhost")&&j()}s(!1)},create:async x=>{s(!0),await S();const D=await mo("/api/createrequest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:x.type,name:x.name,repository:x.repository,dockerfile:x.dockerfile||void 0,dependencies:x.dependencies||void 0,deploymentMethod:x.deploymentMethod||void 0,includeFips:x.includeFips,rootUIDP:o})});if(!D.ok){const F=await D.json(),L=F.message||F.error||t({id:"5EJWry"});throw T(t({id:"5EJWry"}),!1),new Error(L)}const{issueNumber:M}=await D.json();return await new Promise(F=>setTimeout(F,5e3)),T(t({id:"NWmTJt",values:{issueNumber:M}}),!0),r(F=>F+1),M},initialize:()=>{r(x=>x===-1?0:x)},refresh:async()=>{await S(),r(x=>x+1)}}},[a,p,l,o,t,T,c,S,E]);return b.jsx(dre.Provider,{value:I,children:e})},DXe=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M197.69-140q-23.53 0-40.61-17.08T140-197.
196369v-564.62q0-23.53 17.08-40.61T197.69-820h251.69v45.39H197.69q-4.61 0-8.46 3.84-3.84 3.85-3.84 8.46v564.62q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46v-251.69H820v251.69q0 23.53-17.08 40.61T762.31-140H197.69Zm186.62-211.69-32-32.62 390.31-390.3H530.15V-820H820v289.85h-45.39V-742l-390.3 390.31Z"})),H9=m.memo(DXe),MXe=()=>{const[e]=$T(),t=Ku(),[n,r]=m.useState(void 0),{profile:i}=ha(),o=n==="EMAIL_NOT_IN_ZENDESK"||n==="NON_CUSTOMER",a=e.get("return_to")??"",s=m.useRef(null),l=m.useRef(null);return m.useEffect(()=>{(async()=>{if(s.current&&l.current)try{const c=await DFe(a);if(c.error){rr.track("ZendeskRedirectError",{email:i?.email,reason:c.reason}),r(c.reason??"UNKNOWN");return}s.current.action=c.data.url,s.current.method="post";const f=c.data.token;l.current.value=f,s.current.submit()}catch{r("UNKNOWN")}})()},[i?.email,a]),b.jsxs(zn,{sx:{alignItems:"center",justifyContent:"center",minHeight:"100vh",gap:2,p:4},children:[n?b.jsxs(b.Fragment,{children:[b.jsx(En,{variant:t?"h5":"h4",children:n==="EMAIL_NOT_IN_ZENDESK"||n==="NON_CUSTOMER"?b.jsx(yn,{id:"1YwoCN"}):b.jsx(yn,{id:"yFBC8I"})}),o&&b.jsx(En,{variant:t?"body2":"body1",color:"text.secondary",children:(n==="EMAIL_NOT_IN_ZENDESK"||n==="NON_CUSTOMER")&&b.jsx(yn,{id:"9wW7SK"})}),b.jsxs(zn,{sx:{flexDirection:t?"column-reverse":"row",gap:2,mt:1},children:[b.jsx(Li,{variant:"text",href:"https://www.chainguard.dev/contact",target:"_blank",endIcon:b.jsx(H9,{}),children:b.jsx(yn,{id:"Bhgd0l"})}),b.jsx(Li,{variant:o?"text":"contained",href:cq(),target:"_blank",endIcon:b.jsx(H9,{}),children:b.jsx(yn,{id:"CRzGla"})}),n==="EMAIL_NOT_IN_ZENDESK"&&b.jsx(Li,{href:"/settings/organization/join",children:b.jsx(yn,{id:"MHA7iY"})})]})]}):b.jsxs(b.Fragment,{children:[b.jsx(En,{variant:"h4",children:b.jsx(yn,{id:"I1Bcfz"})}),b.jsx(ok,{})]}),b.jsx("form",{ref:s,children:b.jsx("input",{ref:l,type:"hidden",name:"jwt"})})]})},FXe=m.lazy(()=>St(()=>import("./Overview-Bta61gXJ.js"),__vite__mapDeps([5,6,7,8,9,10,11,12,13,14,15,1,16,17,18,19,20,21,22,23,24,4,25,26,27,28,29,30,31,32,33,34,35,36,37]))),UXe=m.lazy(()=>St(()=>import("./Images-BnySrfxP.js"),__vite__mapDeps([38,31,15,1,16,17,39,40,41,42,43,44,28]))),W9=m.lazy(()=>St(()=>import("./OrganizationCatalog-BLA9Rwcu.js"),__vite__mapDeps([45,46,47,12,19,20,14,21,48,49,50,51,27,52,26,53,54,29,55,56,33,57,58,59,60,15,1,16,17,22,61,34,35,36,62,63,64,65,23,24,4,25,28,30,66,67]))),q9=m.lazy(()=>St(()=>import("./ChainguardCatalog-D5rzuUOE.js"),__vite__mapDeps([68,19,20,14,21,48,49,50,51,27,52,26,53,54,29,55,56,33,57,58,59,60,15,1,16,17,22,61,34,35,36,62,63,64,65,23,24,4,25,28,30]))),G9=m.lazy(()=>St(()=>import("./ImageDetails-Eon2SOGP.js"),__vite__mapDeps([69,70,54,31,15,1,16,17,71,72,40,41,42,21,73,74,75,76,77,78,24,4,79,37,80,81,53,29,50,33,82,83,56,57,51,84,27,25,26,85,47,86,87,88,14,89,60,34,35,36,90,91,92,61,93,52,94,55,58,19,20,95,96,23,28,30,44,62,63,97,98,99,22,100,67,101,102,103,104,105,10,46,106,64,107,108]))),VXe=m.lazy(()=>St(()=>import("./ImageOverview-CE3WGFbk.js"),__vite__mapDeps([109,71,72,15,1,16,17,40,41,42,21,73,74,75,76,77,78,24,4,79,37,80,81,53,54,29,50,33,82,83,56,57,51,84,27,25,26,85,47,86,87,88,14,89,60,34,35,36,90,91,92,61,93,52,94,55,58,19,20,95,96,23,28,30,44,62,63,97,98,99,22,100,67,101,102,103,104,105,10,46]))),K9=m.lazy(()=>St(()=>import("./VersionDetails-BbHR8Lu6.js"),__vite__mapDeps([110,87,40,41,42,21,80,81,53,54,29,50,33,82,83,56,57,51,84,27,25,26,17,16,85,47,86,88,14,76,74,75,102,97,98,103,30,104,105,37,10,46,19,20,100,111,112,44,28]))),BXe=m.lazy(()=>St(()=>import("./CustomizeImage-Bl5_m_Cz.js"),__vite__mapDeps([113,90,40,41,42,91,92,86,61,93,52,26,94,27,55,56,33,57,58,19,20,14,21,95,84,96,23,24,4,25,28,29,16,30,44]))),jXe=m.lazy(()=>St(()=>import("./BuildDetails-D8eBph-s.js"),__vite__mapDeps([114,14,111,112,99,53,54,29,55,56,33,57,58,19,20,21,22,35,63,23,24,4,25,26,27,28,16,30]))),zXe=m.lazy(()=>St(()=>import("./Aliases-hT_4f_CC.js"),__vite__mapDeps([115,55,56,33,57,58,21,65,23,24,4,25,26,27,28,29,16,30]))),HXe=m.lazy(()=>St(()=>import("./PackageList-y67_OwhC.js"),__vite__mapDeps([116,91,14,53,54,29,55,56,33,57,58,19,20,21,22,100,95,84,96,23,24,4,25,26,27,28,16,30,39]))
1963),WXe=m.lazy(()=>St(()=>import("./PackageDetails-CZqkpllb.js"),__vite__mapDeps([117,91,96,14,10]))),Y9=m.lazy(()=>St(()=>import("./HelmDetails-Da_nyi5l.js"),__vite__mapDeps([118,70,54,87,40,41,42,119,27,25,26,106,120,81,53,29,50,33,82,83,56,57,51,84,17,16,85,19,20,14,88,112,3,4,0,1,72,15,89,60,34,35,36,37,22,107,61,44,28]))),$9=m.lazy(()=>St(()=>import("./HelmImageDetails-nMHan733.js"),__vite__mapDeps([121,87,14,81,53,54,29,50,33,82,83,56,57,51,84,27,25,26,17,16,85,102,97,98,74,75,21,103,42,30,104,105,37,10,46,47,19,20,100,86]))),J9=m.lazy(()=>St(()=>import("./HelmVersionDetails-DYF4qpaO.js"),__vite__mapDeps([122,87,40,41,42,120,81,53,54,29,50,33,82,83,56,57,51,84,27,25,26,17,16,85,19,20,14,88,112,3,4,0,1,44,28]))),Z9=m.lazy(()=>St(()=>import("./HelmList-4GnhPxaE.js"),__vite__mapDeps([123,12,14,46,47,53,54,29,55,56,33,57,58,19,20,21,22,119,87,27,25,26,61,65,23,24,4,28,16,30,66]))),qXe=m.lazy(()=>St(()=>import("./Helm-RWuCDlM5.js"),__vite__mapDeps([124,39,40,41,42,43,44,28]))),Q9=m.lazy(()=>St(()=>import("./Reports-ISGe46OF.js"),__vite__mapDeps([125,32,33,34,35,36,74,75,73,76,77,78,24,4,79,37,47,57,40,41,42,66,44,28]))),GXe=m.lazy(()=>St(()=>import("./Requests-Clxw8wWJ.js"),__vite__mapDeps([126,39,40,41,42,44,28]))),KXe=m.lazy(()=>St(()=>import("./ActiveRequests-DPqBbPgB.js"),__vite__mapDeps([127,128,15,1,16,17,55,56,33,57,58,22,34,35,36,64,61,129,92,27,25,26,93,52,94,23,24,4,28,29,30]))),YXe=m.lazy(()=>St(()=>import("./PendingRequests-DKWLwntb.js"),__vite__mapDeps([130,128,15,1,16,17,55,56,33,57,58,22,34,35,36,64,61,129,92,27,25,26,93,52,94,23,24,4,28,29,30]))),$Xe=m.lazy(()=>St(()=>import("./MyRequests-MutW3swy.js"),__vite__mapDeps([131,128,15,1,16,17,55,56,33,57,58,22,34,35,36,64,61,129,92,27,25,26,93,52,94,23,24,4,28,29,30]))),JXe=m.lazy(()=>St(()=>import("./AllRequests-B2nDgDaX.js"),__vite__mapDeps([132,128,15,1,16,17,55,56,33,57,58,22,34,35,36,64,61,129,92,27,25,26,93,52,94,23,24,4,28,29,30]))),ZXe=m.lazy(()=>St(()=>import("./RequestDetails-CpJzfuE3.js"),__vite__mapDeps([133,14,129]))),QXe=m.lazy(()=>St(()=>import("./General-BSZjR9rh.js"),__vite__mapDeps([134,12,91,87,135,21,136,137,23,24,4,25,26,27,28,29,16,30,138,92]))),WR=m.lazy(()=>St(()=>import("./IdentityDetails-CR3W_CyB.js"),__vite__mapDeps([139,135,21,136,137,23,24,4,25,26,27,28,29,16,30,138,140,17,14,141,92,107,85,142]))),XXe=m.lazy(()=>St(()=>import("./IdentityList-XuxvFhgu.js"),__vite__mapDeps([143,21,142,144,145,20,14,55,56,33,57,58,22,107,108,146,147,23,24,4,25,26,27,28,29,16,30]))),eet=m.lazy(()=>St(()=>import("./IdentityProviderLanding-CKFFvaJi.js"),__vite__mapDeps([148,40,41,42,149,106,87,150,138,151,152,37,44,28]))),tet=m.lazy(()=>St(()=>import("./IdentityProviderDetails-DDC2C_ly.js"),__vite__mapDeps([149,106,87,150,138,151,152,37]))),net=m.lazy(()=>St(()=>import("./IdentityProviderGroups-CQozRAcx.js"),__vite__mapDeps([153,106,87,81,53,54,29,50,33,82,83,56,57,51,84,27,25,26,17,16,85,136,138,150,107,149,151,152,37]))),ret=m.lazy(()=>St(()=>import("./IdentityProviderScim-5isElKHk.js"),__vite__mapDeps([154,87,150,138,152]))),iet=m.lazy(()=>St(()=>import("./SessionCapabilities-DeDdjxkw.js"),__vite__mapDeps([155,23,24,4,25,26,27,28,29,16,30,58]))),X9=m.lazy(()=>St(()=>import("./IdentityProvider-BvQUb8uN.js"),__vite__mapDeps([156,138,92,27,25,26]))),oet=m.lazy(()=>St(()=>import("./IdentityProviderGroupCreate-CFB8lFVp.js"),__vite__mapDeps([157,135,21,136,137,23,24,4,25,26,27,28,29,16,30,138,150,92]))),aet=m.lazy(()=>St(()=>import("./InviteUsers-B_gjJ0Xa.js"),__vite__mapDeps([158,87,135,21,136,137,23,24,4,25,26,27,28,29,16,30,138,92,33]))),set=m.lazy(()=>St(()=>import("./Plan-QkWVXwgY.js"),__vite__mapDeps([159,160,161,11,145,14,162,27,25,26,163,164,12,46,47,21,23,24,4,28,29,16,30,17,85,19,20,82,37,165]))),uet=m.lazy(()=>St(()=>import("./Notifications-Di3Mf6s2.js"),__vite__mapDeps([166,40,41,42,18,151,44,28]))),cet=m.lazy(()=>St(()=>import("./Organization-CJWFqH9s.js"),__vite__mapDeps([167,168,37,18,33,25,26]))),det=m.lazy(()=>St(()=>import("./Recipients-D5pfcB8p.js"),__vite__mapDeps([169,14,81,53,54,29,50,33,82,83,56,57,51,84,27,25,26,17,16,85,18]))),fet=m.lazy(()=>St(()=>import("./SendNotifications-B8_ULQHF.js"),[])),pet=m.lazy(()=>St(()=>import("./GraphQLPlayground-H4YcKBfL.js"),__vite__mapDeps([170,0,1,27,163,26]))),qR=m.lazy(()=>St(()=>import("./PullTokenCreate-CDwhinDO.js"),__vite__mapDeps([171,146,92,78,24,4,79,37]))),met=m.lazy(()=>St(()=>import("./PullTokenList-bBEDHfC1.js"),__vite__mapDeps([172,21,144,145,20,14,55,56,33,57,58,22,107,108,146,147,23,24,4,25,26,27,28,29,16,30,37]))),het=m.lazy(()=>St(()=>import("./RoleBinding-DV7D2rQv.js"),__vite__mapDeps([173,135,21,136,137,23,24,4,25,26,27,28,29,16,30,138,92]))),GR=m.lazy(()=>St(()=>import("./RoleDetails-Cqpo_kZE.js"),__vite__mapDeps([174,141,92]))),get=m.lazy(()=>St(()=>import("./RoleList-B2e6oNbT.js"),__vite__mapDeps([175,21,55,56,33,57,58,22,136,137,23,24,4,25,26,27,28,29,16,30,138,108,147]))),vet=m.lazy(()=>St(()=>import("./Settings-CH3fok1H.js"),__vite__mapDeps([176,39,41,42,37]))),yet=m.lazy(()=>St(()=>import("./StarterSelect-eyT1pTEh.js"),__vite__mapDeps([177,15,1,16,17,165,14,40,41,42,49,50,51,27,52,26,53,54,29,55,56,33,57,58,60,65,25,23,24,4,28,30,147,21,43,44]))),ket=m.lazy(()=>St(()=>import("./UserDetails-BdUo6iIH.js"),__vite__mapDeps([178,14,140,21,137,23,24,4,25,26,27,28,29,16,30,17]))),bet=m.lazy(()=>St(()=>import("./UserList-sYuie4Yt.js"),__vite__mapDeps([179,21,20,14,55,56,33,57,58,22,107,108,101,23,24,4,25,26,27,28,29,16,30]))),Eet=m.lazy(()=>St(()=>import("./JoinOrganization-DAnaTSzz.js"),__vite__mapDeps([180,87,6,7,8,9,93,52,26,94,27]))),Tet=m.lazy(()=>St(()=>import("./JoinOrganizationSuccess-Dty7fOcz.js"),__vite__mapDeps([181,87,6]))),Cet=m.lazy(()=>St(()=>import("./CreateOrganization-CmoRIHbT.js"),__vite__mapDeps([182,6]))),Aet=m.lazy(()=>St(()=>import("./CreateStarterOrganization-eUggKwFP.js"),__vite__mapDeps([183,6,8,9]))),Iet=m.lazy(()=>St(()=>import("./InviteCode-58-kUSin.js"),__vite__mapDeps([184,185]))),wet=m.lazy(()=>St(()=>import("./Onboarding-BGx48O_g.js"),[])),Net=m.lazy(()=>St(()=>import("./UserData-gTN2aONc.js"),__vite__mapDeps([186,8,94,27,25,26]))),j0=m.lazy(()=>St(()=>import("./Login-BYnOY45j.js"),__vite__mapDeps([187,188,185]))),e7=m.lazy(()=>St(()=>import("./Redirect-stOZgtO1.js"),[])),Ret=m.lazy(()=>St(()=>import("./AWSMarketplacePage-Djn5dZbn.js"),__vite__mapDeps([189,190,8,161,160,
196311,162,164,94,27,25,26]))),xet=m.lazy(()=>St(()=>import("./AWSMarketplaceLogin-18gbk4LE.js"),__vite__mapDeps([191,188,185,190,8,161,160,11]))),Let=m.lazy(()=>St(()=>import("./ArgosDocumentList-DP3f0CjB.js"),__vite__mapDeps([192,193,106,194,14,39,53,54,29,55,56,33,57,58,21,95,84,107,147,23,24,4,25,26,27,28,16,30]))),t7=m.lazy(()=>St(()=>import("./ArgosDocs-uuyPU0IR.js"),__vite__mapDeps([195,70,54,87,39,15,1,16,17]))),Oet=m.lazy(()=>St(()=>import("./ArgosDocumentDetails-DKVGPVz3.js"),__vite__mapDeps([196,193,194,197,14,74,75,70,54,39,53,29,55,56,33,57,58,21,95,84,23,24,4,25,26,27,28,16,30]))),Pet=m.lazy(()=>St(()=>import("./ArgosVulnList-Cqtx2prb.js"),__vite__mapDeps([198,193,197,14,74,75,39,53,54,29,55,56,33,57,58,21,95,84,23,24,4,25,26,27,28,16,30]))),_et=m.lazy(()=>St(()=>import("./ArgosVulnDetails-CdAUDs60.js"),__vite__mapDeps([199,193,14,15,1,16,17,104,105,37,74,75,103,42,30,10]))),Det=m.lazy(()=>St(()=>import("./UploadDrawer-D-k5X1AA.js"),__vite__mapDeps([200,193]))),Met=m.lazy(()=>St(()=>import("./Libraries-BxYnWeNq.js"),__vite__mapDeps([201,39,40,41,42,162,146,44,28]))),Fet=m.lazy(()=>St(()=>import("./LibraryPackages-BSxNj2VL.js"),__vite__mapDeps([202,21,162,203,97,95,84,204,20,14,53,54,29,55,56,33,57,58,19,22,205,36,65,23,24,4,25,26,27,28,16,30]))),Uet=m.lazy(()=>St(()=>import("./LibraryMalware-CySsWWyH.js"),__vite__mapDeps([206,162,203,97,95,84,204,20,77,75,78,24,4,79,37,14,59,81,53,54,29,50,33,82,83,56,57,51,27,25,26,17,16,85,19,105,42]))),Vet=m.lazy(()=>St(()=>import("./LibraryPackageDetails-CDKnTBHX.js"),__vite__mapDeps([207,70,54,39,21,162,203,97,95,84,204,20,14,53,29,55,56,33,57,58,19,22,205,36,65,23,24,4,25,26,27,28,16,30]))),Bet=m.lazy(()=>St(()=>import("./FeatureDrawer-W_ih6UO4.js"),__vite__mapDeps([208,55,56,33,57,58,21,23,24,4,25,26,27,28,29,16,30,147]))),jet=m.lazy(()=>St(()=>import("./TimelineDrawer-BuVbrL7R.js"),__vite__mapDeps([209,79]))),zet=m.lazy(()=>St(()=>import("./AdvisoryPackageDetails-BwrtizwV.js"),__vite__mapDeps([210,98,74,75,14,72,15,1,16,17,211,97,104,105,37,103,42,30,10]))),Het=m.lazy(()=>St(()=>import("./Status-BKZXqvvw.js"),__vite__mapDeps([212,163,26]))),Wet=m.lazy(()=>St(()=>import("./SupportIdentitiesDrawer-CgNY0JBr.js"),__vite__mapDeps([213,21,144,145,20,14,55,56,33,57,58,22,107,108,146,147,23,24,4,25,26,27,28,29,16,30]))),qet=m.lazy(()=>St(()=>import("./NotificationsDrawer-vZX8hytN.js"),__vite__mapDeps([214,41,42,14,15,1,16,17,53,54,29,83,56,33,57,51,84,27,25,26,13,18,168,44,28]))),Get=m.lazy(()=>St(()=>import("./LibraryAdvisoriesDrawer-D-XxfvIx.js"),__vite__mapDeps([215,98,74,75,211,72,15,1,16,17,97,14,162,104,105,37,203,95,84,204,20,44,28]))),Ket=({children:e})=>{const t=qr(),{org:n}=ip(),{rootUIDP:r,setRootUIDP:i}=Po(),{organizationsMap:o,fetching:a}=jC(),s=sp(),l=(p,v)=>t.pathname.replace(`/${p}/`,`/${v}/`),u=p=>{s(p+t.search,{replace:!0})},c=new Map([...o.entries()].filter(([,p])=>p.verified).map(([,p])=>[p.name,p.id])),f=dk();return m.useEffect(()=>{a||!t.pathname.startsWith("/org")&&f&&u("/org/"+f+t.pathname)},[t.pathname,a,f]),m.useEffect(()=>{a||n&&n!==f&&u(l(n,f))},[f,a]),m.useEffect(()=>{a||n&&n!==f&&n!==r&&(c.has(n)?(u(l(f,n)),i(c.get(n))):o.has(n)&&(u(l(r,n)),i(n)))},[a]),b.jsx(b.Fragment,{children:e})},Yet=({to:e})=>(m.useEffect(()=>{window.location.href=e},[e]),b.jsx(b.Fragment,{}));let n7;const Ry=[{path:"/",meta:{title:{id:"RWc-vh"},description:"Build, ship, and run secure software with Chainguard."},children:[{path:"org/:org",meta:{title:""},children:[n7={meta:{title:""},element:b.jsx(f1,{children:b.jsx(XK,{children:b.jsx(kJ,{children:b.jsx(IJ,{children:b.jsx(dZ,{children:b.jsx(tZ,{children:b.jsx(Ket,{children:b.jsx(xXe,{})})})})})})})}),children:[{index:!0,meta:{title:{id:"6_dCYd"}},element:b.jsx(Ni,{to:"/overview",replace:!0})},{path:"overview",meta:{title:{id:"6_dCYd"}},element:b.jsx(FXe,{})},{path:"images",meta:{title:{id:"an5hVd"}},children:[{index:!0,meta:{title:{id:"ucgZ0o"}},element:b.jsx(Ni,{to:"organization",replace:!0})},{meta:{title:""},element:b.jsx(pZ,{children:b.jsx(jVe,{children:b.jsx(UXe,{})})}),children:[{path:"organization",meta:{title:{id:"ucgZ0o"}},element:b.jsx(W9,{})},{path:"organization/category/:category",meta:{title:{id:"ucgZ0o"}},element:b.jsx(W9,{})},{path:"public",meta:{title:{id:"NAlJgr"}},element:b.jsx(q9,{})},{path:"public/category/:category",meta:{title:{id:"NAlJgr"}},element:b.jsx(q9,{})}]},{path:"public/status",meta:{title:{id:"uAQUqI"}},element:b.jsx(Het,{})},{path:"public/aliases",meta:{title:{id:"QV0Fcd"}},element:b.jsx(zXe,{})},{path:"public/image/:imageId",meta:{title:{id:"NAlJgr"}},element:b.jsx(af,{children:b.jsx(Ra,{})}),children:[{index:!0,meta:{title:":imageId"},element:b.jsx(Ni,{to:"versions",replace:!0})},{path:":tab",meta:{title:":imageId - :tab"},element:b.jsx(Wv,{children:b.jsx(G9,{})})}]},{path:"organization/image/:imageId",meta:{title:{id:"ucgZ0o"}},element:b.jsx(af,{organization:!0,children:b.jsx(Ra,{})}),children:[{index:!0,meta:{title:":imageId"},element:b.jsx(Ni,{to:"versions",replace:!0})},{path:":tab",meta:{title:":imageId - :tab"},element:b.jsx(Wv,{children:b.jsx(G9,{organization:!0})})}]}]},{path:"packages",meta:{title:{id:"IzOaIb"}},element:b.jsx(HXe,{})},{path:"helm",meta:{title:{id:"-apREN"}},element:b.jsx(BE,{children:b.jsx(F1,{children:b.jsx(Ra,{})})}),children:[{index:!0,meta:{title:{id:"-apREN"}},element:b.jsx(Ni,{to:"organization",replace:!0})},{meta:{title:""},element:b.jsx(qXe,{}),children:[{path:"organization",meta:{title:{id:"FKZFvd"}},element:b.jsx(Z9,{organization:!0})},{path:"public",meta:{title:{id:"zG7Kal"}},element:b.jsx(Z9,{})}]},{path:"public/:chartKind/:chartName",meta:{title:{id:"nWFmPQ"}},element:b.jsx(jE,{children:b.jsx(Ra,{})}),children:[{index:!0,meta:{title:":chartName"},element:b.jsx(Ni,{to:"overview",replace:!0})},{path:":tab",meta:{title:":chartName - :tab"},element:b.jsx(Y9,{})}]},{path:"organization/:chartKind/:chartName",meta:{title:{id:"ucgZ0o"}},element:b.jsx(jE,{organization:!0,children:b.jsx(Ra,{})}),children:[{index:!0,meta:{title:":chartName"},element:b.jsx(Ni,{to:"overview",replace:!0})},{path:":tab",meta:{title:":chartName - :tab"},element:b.jsx(Y9,{})}]}]},{path:"reports",meta:{title:{id:"t9yxlZ"}},element:b.jsx(Q9,{})},{path:"reports",meta:{title:{id:"mYJyXn"}},children:[{index:!0,meta:{title:{id:"t9yxlZ"}},element:b.jsx(Ni,{to:"compare",replace:!0})},{path:":tab",meta:{title:{id:"t9yxlZ"}},element:b.jsx(Q9,{})}]},{path:"requests",meta:{title:{id:"PWfg7v"}},children:[{index:!0,meta:{title:{id:"rt79Zn"}},element:b.jsx(Ni,{to:"active",replace:!0})},{meta:{title:""},element:b.jsx(BE,{children:b.jsx(GXe,{})}),children:[{path:"active",meta:{title:{id:"rt79Zn"}},element:b.jsx(KXe,{})},{path:"pending",meta:{title:{id:"hQ-IU_"}},element:b.jsx(YXe,{})},{path:"mine",meta:{title:{id:"XTRsWx"}},element:b.jsx($Xe,{})},{path:"all",meta:{title:{id:"xysBxb"}},element:b.jsx(JXe,{})}]}]},{path:"libraries/:ecosystem",meta:{title:":ecosystem",customReplacements:{ecosystem:{java:{id:"d_bW-Y"},javascript:{id:"k8pHx9"},python:{id:"zY6PMh"}}}},children:[{index:!0,meta:{title:{id:"o2Ucvk"}},element:b.jsx(Ni,{to:"all",replace:!0})},{meta:{title:""},element:b.jsx(Met,{}),children:[{path:"malware",meta:{title:{id:"fLejXb"}},element:b.jsx(Uet,{})},{path:":filter",meta:{title:":filter",customReplacements:{filter:{all:{id:"o2Ucvk"}}}},element:b.jsx(Fet,{})}]},{path:":filter/:artifactId",meta:{title:":artifactId"},element:b.jsx(Vet,{})}]},{path:"athena",meta:{title:{id:"kzsd_O"}},children:[{index:!0,meta:{title:{id:"kzsd_O"}},element:b.jsx(Ni,{to:"uploads",replace:!0})},{path:"uploads",meta:{title:{id:"kzsd_O"}},element:b.jsx(Let,{})},{path:"uploads/:docId",meta:{title:{id:"7Zdnlq"}},element:b.jsx(Oet,{})},{path:"docs",meta:{title:{id:"Sesgy8"}},children:[{index:!0,meta:{title:{id:"Sesgy8"}},element:b.jsx(t7,{})},{path:":slug",meta:{title:{id:"Sesgy8"}},element:b.jsx(t7,{})}]},{path:"vulnerabilities",meta:{title:{id:"nj2MP8"}},element:b.jsx(Pet,{})}]},{path:"settings",meta:{title:""},children:[{index:!0,meta:{title:{id:"Tz0i8g"}},element:b.jsx(Ni,{to:"general",replace:!0})},{element:b.jsx(vet,{}),meta:{title:{id:"Tz0i8g"}},children:[{path:"general",meta:{title:{id:"Weq9zb"}},element:b.jsx(QXe,{})},{path:"plan",meta:{title:{id:"UPpZJL"}},element:b.jsx(F1,{children:b.jsx(set,{})})},{path:"users",meta:{title:{id:"Sxm8rQ"}},element:b.jsx(bet,{})},{path:"roles",meta:{title:{id:"5dJK4M"}},element:b.jsx(get,{})},{path:"pull-tokens",meta:{title:{id:"arnfQh"}},element:b.jsx(Ni,{to:"../access-tokens",replace:!0})},{path:"access-tokens",meta:{title:{id:"arnfQh"}},element:b.jsx(met,{})},{path:"identities",meta:{title:{id:"Uidz4x"}},element:b.jsx(XXe,{})},{path:"identity-provider",meta:{title:{id:"06cbfQ"}},children:[{index:!0,meta:{title:{id:"URmyfc"}},element:b.jsx(Qm,{to:"details",replace:!0})},{meta:{title:""},element:b.jsx(eet,{}),children:[{path:"details",meta:{title:{id:"URmyfc"}},element:b.jsx(tet,{})},{path:"scim",meta:{title:{id:"xycdKe"}},element:b.jsx(ret,{})},{path:"groups",meta:{title:{id:"zhrjek"}},element:b.jsx(net,{})},{path:"session",meta:{title:{id:"YEwiAG"}},element:b.jsx(iet,{})}]}]},{path:"invites",meta:{title:{id:"3VrybB"}},element:b.jsx(Ni,{to:"../users",replace:!0})},{path:"activity-center",meta:{title:{id:"3UIjBh"}},children:[{index:!0,meta:{title:{id:"ucgZ0o"}},element:b.jsx(Qm,{to:"organization",replace:!0})},{meta:{title:""},element:b.jsx(OXe,{children:b.jsx(uet,{})}),children:[{path:"organization",meta:{title:{id:"ucgZ0o"}},element:b.jsx(cet,{})},{path:"recipients",meta:{title:{id:"yPrbsy"}},element:b.jsx(det,{})}]}]},{path:"organization",meta:{title:""},element:b.jsx(f6e,{children:b.jsx(Eet,{})}),children:[{index:!0,meta:{title:""},element:b.jsx(Ni,{to:"join",replace:!0})},{path:"join",meta:{title:{id:"KmyiXz"}},element:b.jsx(Iet,{})},{path:"new",meta:{title:{id:"Q2tY6e"}},element:b.jsx(Cet,{})},{path:"new-starter",meta:{title:{id:"8wE7ii"}},element:b.jsx(Aet,{})}]},{path:"organization/:option/success",meta:{title:{id:"zzDlyQ"}},element:b.jsx(Tet,{})},{path:"internal",meta:{title:{id:"wv1e0F"}},children:[{path:"notifications",meta:{title:{id:"YYVZfV"}},element:b.jsx(fet,{})}]}]}]},{path:"internal/graphql-playground",meta:{title:{id:"VwF-ir"}},element:b.jsx(pet,{})}]}]},n7,{path:"*",element:b.jsx("main",{style:{padding:"1rem"},children:b.jsx("p",{children:b.jsx(yn,{id:"qI6Y6j"})})}),meta:{title:{id:"iAJgTr"},description:"Page not found"}},{path:"onboarding",element:b.jsx(f1,{children:b.jsx(wet,{})}),meta:{title:{id:"gukxZ5"}},children:[{index:!0,element:b.jsx(Net,{}),meta:{title:""}}]},{path:"auth/login",element:b.jsx(j0,{}),meta:{title:{id:"z0t9bb"}}},{path:"signup",element:b.jsx(j0,{}),meta:{title:{id:"e-RpCP"},description:"Create a free account to start using Chainguard today."}},{path:"aws-marketplace/login",element:b.jsx(xet,{}),meta:{title:{id:"RjT3tG"}}},{path:"aws-marketplace/signup",element:b.jsx(Ret,{}),meta:{title:{id:"zi8ScO"}}},{path:"zendesk/login",element:b.jsx(j0,{redirect:"/zendesk/login/redirect"}),meta:{title:{id:"z0t9bb"}}},{path:"zendesk/login/redirect",element:b.jsx(MXe,{}),meta:{title:{id:"3VrybB"}}},{path:"/auth/login/redirect",element:b.jsx(e7,{}),meta:{title:{id:"3VrybB"}}},{path:"/auth/redirect",element:b.jsx(e7,{}),meta:{title:{id:"3VrybB"}}},{path:"playground/login",element:b.jsx(j0,{redirect:"/playground/login/redirect"}),meta:{title:{id:"z0t9bb"}}},{path:"playground/login/redirect",element:b.jsx(Yet,{to:sq+"/playground"}),meta:{title:{id:"3VrybB"}}}]}];Ry[0].element=b.jsx(wve,{routes:Ry,children:b.jsx(Ra,{})});const fre=()=>{const e=x$();return aq(Ry,e)},cO=[{path:"*",children:[{element:b.jsx(f1,{children:b.jsx(XK,{children:b.jsx(kJ,{children:b.jsx(IJ,{children:b.jsx(dZ,{children:b.jsx(tZ,{children:b.jsx(Ra,{})})})})})})}),children:[{path:"features",element:b.jsx(Bet,{})},{path:"timeline",element:b.jsx(jet,{})},{path:"support-identities",element:b.jsx(Wet,{})},{path:"library-advisories/:artifactId/:version",element:b.jsx(Get,{})},{path:"athena/vulnerabilities/:cgpId",element:b.jsx(_et,{})},{path:"activity-center",element:b.jsx(qet,{}),children:[{index:!0,element:b.jsx(Qm,{to:"all",replace:!0})},{path:":tab"},{path:":tab/:id"}]},{path:"packages/:arch/:name/:version",element:b.jsx(WXe,{})},{path:"customize-image/:imageId",element:b.jsx(af,{organization:!0,children:b.jsx(BXe,{})})},{path:"bindings/:id",element:b.jsx(het,{})},{path:"identities/:id",element:b.jsx(WR,{})},{path:"identities/edit/:id",element:b.jsx(WR,{})},{path:"identities/new/:type",element:b.jsx(WR,{})},{path:"identity-provider/new",element:b.jsx(X9,{})},{path:"identity-provider/groups/new",element:b.jsx(oet,{})},{path:"identity-provider/:id",element:b.jsx(X9,{})},{path:"roles/:id",element:b.jsx(GR,{})},{path:"roles/edit/:id",element:b.jsx(GR,{})},{path:"roles/new",element:b.jsx(GR,{})},{path:"users/:id",element:b.jsx(ket,{})},{path:"invite",element:b.jsx(aet,{})},{path:"pull-tokens/new",element:b.jsx(qR,{})},{path:"access-tokens/new",element:b.jsx(qR,{})},{path:"access-tokens/new/:type",element:b.jsx(qR,{})},{path:"athena/upload",element:b.jsx(Det,{})},{path:"organization",children:[{path:"version/:imageId/:versionId",element:b.jsx(af,{organization:!0,children:b.jsx(Ra,{})}),children:[{index:!0,element:b.jsx(Ni,{to:"packages",replace:!0})},{path:":tab",element:b.jsx(Wv,{children:b.jsx(K9,{organization:!0})})}]},{path:"build/:imageId/:buildId",element:b.jsx(af,{organization:!0,children:b.jsx(Wv,{children:b.jsx(jXe,{})})})},{path:"chart-version/:chartKind/:chartName/:versionId",element:b.jsx(BE,{children:b.jsx(F1,{children:b.jsx(jE,{organization:!0,children:b.jsx(Ra,{})})})}),children:[{index:!0,element:b.jsx(Ni,{to:"defaultValues",replace:!0})},{path:":tab",element:b.jsx(J9,{})}]},{path:"chart-image/:repoId/:tagName",element:b.jsx($9,{organization:!0})}]},{path:"image/:imageId",element:b.jsx(af,{children:b.jsx(VXe,{})})},{path:"version/:imageId/:versionId",element:b.jsx(af,{children:b.jsx(Ra,{})}),children:[{index:!0,element:b.jsx(Ni,{to:"packages",replace:!0})},{path:":tab",element:b.jsx(Wv,{children:b.jsx(K9,{})})}]},{path:"chart-version/:chartKind/:chartName/:versionId",element:b.jsx(BE,{children:b.jsx(jE,{children:b.jsx(Ra,{})})}),children:[{index:!0,element:b.jsx(Ni,{to:"defaultValues",replace:!0})},{path:":tab",element:b.jsx(J9,{})}]},{path:"chart-image/:repoId/:tagName",element:b.jsx($9,{})},{path:"package/:packageId/:advisoryId",element:b.jsx(zet,{})},{path:"request/:requestNumber",element:b.jsx(ZXe,{})},{path:"starter/select",element:b.jsx(pZ,{children:b.jsx(yet,{})})}]}]}];cO[0].element=b.jsx(Nve,{routes:cO,children:b.jsx(m.Suspense,{fallback:b.jsx(b.Fragment,{}),children:b.jsx(Ra,{})})});const pre=()=>{const e=x$(!0);return aq(cO,e)},$et={Routes:fre,Drawers:pre,Providers:({children:e})=>b.jsx(B5e,{children:b.jsx(_Xe,{children:b.jsx(qZe,{children:e})})})},Jet=({Routes:e,Drawers:t,Providers:n})=>{const r=Die()===OT.CONSOLE,i=o=>n?b.jsx(n,{children:o}):b.jsx(b.Fragment,{children:o});if(r)return b.jsx(k5,{children:i(b.jsxs(b.Fragment,{children:[b.jsx(Zet,{}),b.jsx(Qet,{})]}))});if(!e||!t)throw new Error("Routes and Drawers components must be provided to Router");return b.jsx(k5,{children:i(b.jsxs(b.Fragment,{children:[b.jsx(gve,{children:b.jsx(e,{})}),b.jsx(vve,{children:b.jsx(t,{})})]}))})},Zet=()=>{const[e]=m.useState(pve(fre()));return b.jsx(tq,{router:e})},Qet=()=>{const[e]=m.useState(mve(pre()));return b.jsx(tq,{router:e})},dO=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();dO.__MUI_LICENSE_INFO__=dO.__MUI_LICENSE_INFO__||{key:void 0};class kT{static getLicenseInfo(){return dO.__MUI_LICENSE_INFO__}static getLicenseKey(){return kT.getLicenseInfo().key}static setLicenseKey(t){const n=kT.getLicenseInfo();n.key=t}}const Xet=Object.is;function mre(e,t){if(e===t)return!0;
1963if(!(e instanceof Object)||!(t instanceof Object))return!1;let n=0,r=0;for(const i in e)if(n+=1,!Xet(e[i],t[i])||!(i in t))return!1;for(const i in t)r+=1;return n===r}function ett(e){return m.memo(e,mre)}function r7(e){return e.split("/").map(t=>/([0-9a-f-]|%2F){16,}/.test(t)?"***":t).join("/")}function iv(e){const t="https://vitals.vercel-analytics.com/v1/vitals",n="c7aku6oRhTMnjgAj4hhdXAaoY49",r=new Blob([new URLSearchParams({dsn:n,id:e.id,page:r7(window.location.pathname),href:r7(window.location.href),event_name:e.name,value:e.value.toString(),speed:navigator.connection?.effectiveType||""}).toString()],{type:"application/x-www-form-urlencoded"});navigator.sendBeacon?.(t,r)||fetch(t,{body:r,method:"POST",credentials:"omit",keepalive:!0})}function ttt(){St(async()=>{const{onCLS:e,onINP:t,onFCP:n,onLCP:r,onTTFB:i}=await import("./web-vitals-hVzxNkul.js");return{onCLS:e,onINP:t,onFCP:n,onLCP:r,onTTFB:i}},[]).then(({onCLS:e,onINP:t,onFCP:n,onLCP:r,onTTFB:i})=>{e(iv),t(iv),n(iv),r(iv),i(iv)})}var KR=(e,t)=>od(e.kind,e,{...e.context,authAttempt:t});function ntt(e){return({client:t,forward:n})=>{var r=new Set,i=PE(),o=PE(),a=new Map;function s(){u=void 0;var f=a;a=new Map,f.forEach(i.next)}function l(f){u=void 0;var p=a;a=new Map,p.forEach((v=>{o.next(F$(v,f))}))}var u,c=null;return f=>{function p(){u=Promise.resolve().then((()=>e({mutate(E,S,T){var I=t.createRequestOperation("mutation",zc(E,S),T);return H_(MC(1)(hi((A=>A.operation.key===I.key&&I.context._instance===A.operation.context._instance))(w1((()=>{var A=g(I);r.add(A.context._instance),i.next(A)}))(k))))},appendHeaders(E,S){var T=typeof E.context.fetchOptions=="function"?E.context.fetchOptions():E.context.fetchOptions||{};return od(E.kind,E,{...E.context,fetchOptions:{...T,headers:{...T.headers,...S}}})}}))).then((E=>{E&&(c=E),s()})).catch((E=>{l(E)}))}p();function v(E){a.set(E.key,KR(E,!0)),c&&!u&&(u=c.refreshAuth().then(s).catch(l))}function g(E){return c?c.addAuthToOperation(E):E}var y=hi(Boolean)(qs((E=>E.kind==="teardown"?(a.delete(E.key),E):E.context._instance&&r.has(E.context._instance)?E:E.context.authAttempt?g(E):u||!c?(u||p(),a.has(E.key)||a.set(E.key,KR(E,!1)),null):(function(T){return!T.context.authAttempt&&c&&c.willAuthError&&c.willAuthError(T)})(E)?(v(E),null):g(KR(E,!1))))(id([i.source,f]))),k=n(y);return id([o.source,hi((E=>!r.has(E.operation.context._instance)&&E.error&&(function(T){return c&&c.didAuthError&&c.didAuthError(T.error,T.operation)})(E)&&!E.operation.context.authAttempt?(v(E.operation),!1):(r.has(E.operation.context._instance)&&r.delete(E.operation.context._instance),!0)))(k)])}}}var rtt=(e={})=>{var{retryIf:t,retryWith:n}=e,r=e.initialDelayMs||1e3,i=e.maxDelayMs||15e3,o=e.maxNumberAttempts||2,a=e.randomDelay!=null?!!e.randomDelay:!0;return({forward:s,dispatchDebug:l})=>u=>{var{source:c,next:f}=PE(),p=DC((v=>{var g=v.context.retry||{count:0,delay:null},y=++g.count,k=g.delay||r,E=Math.random()+1.5;a?k*E<i?k*=E:k=i:k=Math.min(y*r,i),g.delay=k;var S=hi((T=>(T.kind==="query"||T.kind==="teardown")&&T.key===v.key))(u);return z_(S)(l4e((()=>k))(kS(od(v.kind,v,{...v.context,retry:g}))))}))(c);return hi((v=>{var g=v.operation.context.retry;if(!(v.error&&(t?t(v.error,v.operation):n||v.error.networkError)))return g&&(g.count=0,g.delay=null),!0;if(!((g&&g.count||0)>=o-1)){var y=n?n(v.error,v.operation):v.operation;return y?(f(y),!1):!0}return!0}))(s(id([u,p])))}},itt=` 1964https://bit.ly/2XbVrpR#`;function OA(e,t,n){if(!e){var r="Minfied Error #"+n+` 1965`,i=new Error(r+itt+n);throw i.name="Graphcache Error",i}}var ott={},PA=e=>e._directives||ott,Xl=e=>
1965e.name.value,i7=e=>e.typeCondition.name.value,kF=e=>e.alias?e.alias.value:e.name.value,att=[],Ss=e=>e.selectionSet?e.selectionSet.selections:att,hre=e=>e.typeCondition?e.typeCondition.name.value:null,_A=(e,t)=>{var n=null;if(e.arguments)for(var r=0,i=e.arguments.length;r<i;r++){var o=e.arguments[r],a=mh(o.value,t);a!=null&&(n||(n={}),n[Xl(o)]=a)}return n},stt=(e,t)=>{if(!(!t||!e.variableDefinitions)){for(var n={},r=0,i=e.variableDefinitions.length;r<i;r++){var o=Xl(e.variableDefinitions[r].variable);n[o]=t[o]}return n}},gre=(e,t)=>{var n={};if(!t)return n;if(e.variableDefinitions)for(var r=0,i=e.variableDefinitions.length;r<i;r++){var o=e.variableDefinitions[r],a=Xl(o.variable);n[a]=t[a]===void 0&&o.defaultValue?mh(o.defaultValue,t):t[a]}for(var s in t)s in n||(n[s]=t[s]);return n};function bF(e){for(var t=0;t<e.definitions.length;t++)if(e.definitions[t].kind===_l.OPERATION_DEFINITION)return e.definitions[t];OA(!1,"",1)}var bT=e=>{for(var t={},n=0;n<e.definitions.length;n++){var r=e.definitions[n];r.kind===_l.FRAGMENT_DEFINITION&&(t[Xl(r)]=r)}return t},ltt=(e,t)=>{var n=PA(e);if(n.include||n.skip)for(var r in n){var i=n[r];if(i&&(r==="include"||r==="skip")&&i.arguments&&i.arguments[0]&&Xl(i.arguments[0])==="if"){var o=mh(i.arguments[0].value,t);return r==="include"?!!o:!o}}return!0},utt=(e,t)=>{var{defer:n}=PA(e);if(n){for(var r of n.arguments||[])if(Xl(r)==="if")return!!mh(r.value,t);return!0}return!1},ctt=e=>{var{optional:t,required:n}=PA(e);if(n)return!1;if(t)return!0},o7="__",a7=(e,t,n,r)=>{var i=yre(e,t,n);return!!i&&i.type.kind!=="NON_NULL"},vre=(e,t,n,r)=>{var i=yre(e,t,n);if(!i)return!1;var o=i.type.kind==="NON_NULL"?i.type.ofType:i.type;return o.kind==="LIST"&&o.ofType.kind!=="NON_NULL"},dtt=(e,t,n)=>{if(!n)return!1;var r=hre(t);return!r||n===r?!0:e.types.has(r)&&e.types.get(r).kind==="OBJECT"?r===n:((function(o,a){OA(o.types.has(a)&&(o.types.get(a).kind==="INTERFACE"||o.types.get(a).kind==="UNION"),"",5)})(e,r),kre(e,n),e.isSubType(r,n))},yre=(e,t,n,r)=>{if(!(n.indexOf(o7)===0||t.indexOf(o7)===0)){kre(e,t);var i=e.types.get(t).fields()[n];return i}};function kre(e,t){OA(e.types.has(t)&&e.types.get(t).kind==="OBJECT","",3)}var Df=(e,t)=>t?`${e}(${Gf(t)})`:e,Ik=(e,t)=>`${e}.${t}`,ftt=e=>{var t=e.indexOf("(");return t>-1?{fieldKey:e,fieldName:e.slice(0,t),arguments:JSON.parse(e.slice(t+1,-1))}:{fieldKey:e,fieldName:e,arguments:null}},bre=e=>{var t=e.indexOf(".");return{entityKey:e.slice(0,t).replace(/%2e/g,"."),fieldKey:e.slice(t+1)}},xy=null,ST=null,bn=null,Ho=null,Ma=null,Lu=null,Kh=!1,fd=!1;function Kl(e,t){var n;if(e){if(xy.has(e))return e;n=ST.get(e)}return n==null&&(n=t?[]:{}),e&&ST.set(e,n),xy.add(n),n}var YR=e=>!!e&&xy.has(e),sf=(e,t,n,r,i)=>{xy=new WeakSet,ST=new WeakMap,Ma=e,bn=t,Lu=new Set,fd=!!r,Kh=!!i,n?Ma==="read"?Ho=n:r||t.hydrating||t.optimisticOrder.length>1?(!r&&!t.commutativeKeys.has(n)?US(t,n):r&&(t.optimisticOrder.indexOf(n)!==-1&&!t.commutativeKeys.has(n)&&t.optimisticOrder.splice(t.optimisticOrder.indexOf(n),1),t.commutativeKeys.delete(n)),Ho=n,gtt(t,n)):(Ho=null,Are(t,n)):Ho=null},lf=()=>{var e=bn,t=Ho;if(fd=!1,Ho=null,!e.hydrating&&t&&e.optimisticOrder.indexOf(t)>-1)for(var n=e.optimisticOrder.length;--n>=0&&e.dirtyKeys.has(e.optimisticOrder[n])&&e.commutativeKeys.has(e.optimisticOrder[n]);)vtt(e.optimisticOrder[n]);xy=null,ST=null,Ma=null,bn=null,Lu=null,!e.defer&&(e.storage||!e.optimisticOrder.length)&&(e.defer=!0,setTimeout((()=>{sf("read",e,null),ptt(),ytt(),lf(),e.defer=!1})))},s7=(e,t,n)=>{t&&!n&&e.deferredKeys.delete(t),sf("write",e,t,n),lf()},Sre=new Set,Ere=(e,t,n,r)=>{var i=Ho?e.optimistic.get(Ho):e.base,o=i.get(t);o===void 0&&i.set(t,o=Object.create(null)),r===void 0&&!Ho?delete o[n]:o[n]=r},DA=(e,t,n)=>{for(var r,i=!fd&&Ma==="read"&&Ho&&bn.commutativeKeys.has(Ho),o=0,a=bn.optimisticOrder.length;o<a;o++){var s=bn.optimisticOrder[o],l=e.optimistic.get(s);if(i=i&&s!==Ho,l&&(!i||!bn.commutativeKeys.has(s))&&(!fd||Ma==="write"||bn.commutativeKeys.has(s))&&(r=l.get(t))!==void 0&&n in r)return r[n]}return(r=e.base.get(t))!==void 0?r[n]:void 0};function ET(e){return bn.refCount.get(e)||0}var TT=(e,t)=>
1965{if(Array.isArray(e))for(var n=0,r=e.length;n<r;n++)TT(e[n],t);else typeof e=="string"&&((i,o)=>{var a=ET(i),s=a+o>0?a+o:0;bn.refCount.set(i,s),s?!a&&s&&bn.gc.delete(i):bn.gc.add(i)})(e,t)},l7=(e,t,n)=>{if(n!==void 0)for(var r in n)t.has(r)||(e.push(ftt(r)),t.add(r))},u7=(e,t,n,r)=>{l7(e,t,r.base.get(n));for(var i=0,o=bn.optimisticOrder.length;i<o;i++){var a=r.optimistic.get(bn.optimisticOrder[i]);a!==void 0&&l7(e,t,a.get(n))}},ptt=()=>{if(!bn.optimisticOrder.length){for(var e of bn.gc.keys())if(bn.gc.delete(e),!(ET(e)>0)){var t=bn.records.base.get(e);bn.refCount.delete(e),bn.records.base.delete(e);var n=t&&t.__typename;if(n){var r=bn.types.get(n);r&&r.delete(e)}var i=bn.links.base.get(e);if(i){bn.links.base.delete(e);for(var o in i)TT(i[o],-1)}}}},wk=(e,t)=>{e!==bn.queryRootKey?Lu.add(e):t!==void 0&&t!=="__typename"&&Lu.add(Ik(e,t))},Tre=(e,t)=>{!fd&&bn.storage&&bn.persist.add(((n,r)=>`${n.replace(/\./g,"%2e")}.${r}`)(e,t))},Ou=(e,t)=>(Ma==="read"&&wk(e,t),DA(bn.records,e,t)),fp=(e,t)=>(Ma==="read"&&wk(e,t),DA(bn.links,e,t)),mtt=(e,t)=>{var n=bn.abstractToConcreteMap.get(e);if(n)n.add(t);else{var r=new Set;r.add(t),bn.abstractToConcreteMap.set(e,r)}},Ly=(e,t,n)=>{wre(DA(bn.records,e,t),n)||(wk(e,t),Tre(e,t)),Ere(bn.records,e,t,n)},htt=(e,t)=>Ou(e,t)!==void 0||fp(e,t)!==void 0,Nk=(e,t,n)=>{var r=Ho?bn.links.optimistic.get(Ho):bn.links.base;if(!Ho){var i=r&&r.get(e);TT(i&&i[t],-1),TT(n,1)}wre(DA(bn.links,e,t),n)||(wk(e,t),Tre(e,t)),Ere(bn.links,e,t,n)},US=(e,t,n)=>{var r=e.optimisticOrder.indexOf(t);if(r>-1&&e.optimisticOrder.splice(r,1),n)for(e.deferredKeys.add(t),r=r>-1?r:0;r<e.optimisticOrder.length&&!e.deferredKeys.has(e.optimisticOrder[r])&&(!e.dirtyKeys.has(e.optimisticOrder[r])||!e.commutativeKeys.has(e.optimisticOrder[r]));r++);else e.deferredKeys.delete(t),r>-1&&!e.commutativeKeys.has(t)&&Cre(e,t),r=0;e.optimisticOrder.splice(r,0,t),e.commutativeKeys.add(t)},gtt=(e,t)=>{e.optimisticOrder.indexOf(t)===-1&&e.optimisticOrder.unshift(t),e.dirtyKeys.has(t)||(e.dirtyKeys.add(t),e.links.optimistic.set(t,new Map),e.records.optimistic.set(t,new Map))},Cre=(e,t)=>{e.dirtyKeys.has(t)&&(e.dirtyKeys.delete(t),e.records.optimistic.delete(t),e.links.optimistic.delete(t),e.deferredKeys.delete(t))},Are=(e,t)=>{var n=e.optimisticOrder.indexOf(t);n>-1&&(e.optimisticOrder.splice(n,1),e.commutativeKeys.delete(t)),Cre(e,t)},vtt=e=>{var t=Lu;Lu=new Set,Ma="write";var n=bn.links.optimistic.get(e);if(n)for(var r of n.entries()){var i=r[0],o=r[1];for(var a in o)Nk(i,a,o[a])}var s=bn.records.optimistic.get(e);if(s)for(var l of s.entries()){var u=l[0],c=l[1];for(var f in c)Ly(u,f,c[f])}Lu=t,Are(bn,e)},Ire=e=>{var{links:t,records:n}=bn,r=[],i=new Set;return wk(e),u7(r,i,e,t),u7(r,i,e,n),r},ytt=()=>{if(bn.storage){fd=!0,Ma="read";var e={};for(var t of bn.persist.keys()){var{entityKey:n,fieldKey:r}=bre(t),i=void 0;(i=fp(n,r))!==void 0?e[t]=`:${Gf(i)}`:(i=Ou(n,r))!==void 0?e[t]=Gf(i):e[t]=void 0}fd=!1,bn.storage.writeData(e),bn.persist.clear()}};function wre(e,t){return typeof e!=typeof t||e!==t?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:!e.some(((n,r)=>n!==t[r])):!0}var VS=null,CT=!1,fO=void 0,MA=e=>e.__internal.path.length>0&&e.__internal.errorMap?e.__internal.errorMap[e.__internal.path.join(".")]:void 0,AT=(e,t,n,r,i,o)=>{var a={store:e,variables:t,fragments:n,parent:{__typename:r},parentTypeName:r,parentKey:i,parentFieldKey:"",fieldName:"",error:void 0,partial:!1,hasNext:!1,optimistic:fd,__internal:{path:[],errorMap:void 0}};if(o&&o.graphQLErrors)for(var s=0;s<o.graphQLErrors.length;s++){var l=o.graphQLErrors[s];l.path&&l.path.length&&(a.__internal.errorMap||(a.__internal.errorMap=Object.create(null)),a.__internal.errorMap[l.path.join(".")]=l)}return a},pO=(e,t,n,r,i,o)=>{VS=e,e.parent=t,e.parentTypeName=n,e.parentKey=r,e.parentFieldKey=i,e.fieldName=o,e.error=MA(e)},ktt=(e,t,n,r,i)=>{if(!t)return!1;var o=hre(e);return!o||t===o?!0:!Ss(e).some((a=>{if(a.kind!==_l.FIELD)return!1;var s=Df(Xl(a),_A(a,r));return!htt(n,s)}))};class SF{constructor(t,n,r,i,o,a){this.typename=t,this.entityKey=n,this.ctx=a,this.stack=[{selectionSet:o,index:0,defer:r,optional:i}]}next(){for(;this.stack.length>0;){for(var t=this.stack[this.stack.length-1];t.index<t.selectionSet.length;){var n=t.selectionSet[t.index++];if(ltt(n,this.ctx.variables)){if(n.kind!==_l.FIELD){var r=n.kind!==_l.INLINE_FRAGMENT?this.ctx.fragments[Xl(n)]:n;
1965if(r){var i=!r.typeCondition||(this.ctx.store.schema?dtt(this.ctx.store.schema,r,this.typename):this.ctx.store.possibleTypeMap?btt(this.ctx.store.possibleTypeMap,r.typeCondition.name.value,this.typename):Ma==="read"&&Stt(r.typeCondition.name.value,this.typename)||ktt(r,this.typename,this.entityKey,this.ctx.variables,this.ctx.store.logger));if(i||Ma==="write"&&!this.ctx.store.schema){var o=ctt(n);i&&r.typeCondition&&this.typename!==r.typeCondition.name.value&&mtt(r.typeCondition.name.value,this.typename),this.stack.push(t={selectionSet:Ss(r),index:0,defer:t.defer||utt(n,this.ctx.variables),optional:o!==void 0?o:t.optional})}}}else if(Ma==="write"||!n._generated)return CT=t.defer,fO=t.optional,n}}this.stack.pop()}}}var btt=(e,t,n)=>{if(!n)return!1;if(t===n)return!0;var r=e.get(t);return r&&r.has(n)},Stt=(e,t)=>{if(!t)return!1;if(e===t)return!0;var n=!(i=>bn.types.has(i))(e);if(!n)return!1;var r=(i=>bn.abstractToConcreteMap.get(i)||Sre)(e);return r.size&&r.has(t)},BS=e=>e??null,mO=(e,t)=>{if(t){if(Array.isArray(t)){for(var n=new Array(t.length),r=0,i=n.length;r<i;r++)n[r]=mO(e,t[r]);return n}}else return t||null;var o=e.keyOfEntity(t);return o},hO=(e,t,n,r)=>{var i=vy(t.query),o=bF(i),a=e.rootFields[o.operation],s=Ss(o),l=AT(e,gre(o,t.variables),bT(i),a,a,r),u=a!==l.store.rootFields.query?Nre(l,a,s,n||Kl()):Ah(l,a,s,n||Kl());return{dependencies:Lu,partial:l.partial||!u,hasNext:l.hasNext,data:u||null}},Nre=(e,t,n,r)=>{if(typeof(e.store.rootNames[t]?t:r.__typename)!="string")return r;for(var i=new SF(t,t,!1,void 0,n,e),o,a=Kh,s=Kl(r);o=i.next();){var l=kF(o),u=r[l];e.__internal.path.push(l);var c=void 0;o.selectionSet&&u!==null?c=Rre(e,Ss(o),BS(u)):c=u,a=a||c!==u,c!==void 0&&(s[l]=c),e.__internal.path.pop()}return a?s:r},Rre=(e,t,n)=>{if(Array.isArray(n)){for(var r=new Array(n.length),i=Kh,o=0,a=n.length;o<a;o++)e.__internal.path.push(o),r[o]=Rre(e,t,n[o]),i=i||r[o]!==n[o],e.__internal.path.pop();return i?r:n}else if(n===null)return null;var s=e.store.keyOfEntity(n);return s!==null?Ah(e,s,t,n)||null:Nre(e,n.__typename,t,n)};function Ett(e,t,n,r){var i=r.store.resolvers[t],o=i&&i[n],a;for(var s in e){var l=e[s];if(l&&s!=="include"&&s!=="skip"&&r.store.directives[s])return a=r.store.directives[s](_A(l,r.variables)),a}return a||o}var Ah=(e,t,n,r,i)=>{var{store:o}=e,a=t===o.rootFields.query,s=i&&o.keyOfEntity(i)||t,l=a?t:Ou(s,"__typename")||i&&i.__typename;if(typeof l=="string"&&!(i&&l!==i.__typename)){for(var u=new SF(l,s,!1,void 0,n,e),c=!1,f=!1,p=Kh,v,g=e.partial,y=Kl(r);(v=u.next())!==void 0;){var k=Xl(v),E=_A(v,e.variables),S=kF(v),T=PA(v),I=Ett(T,l,k,e),A=Df(k,E),w=Ik(s,A),R=Ou(s,A),x=i?i[k]:void 0;e.__internal.path.push(S);var D=void 0;if(k==="__typename")D=l;else if(x!==void 0&&v.selectionSet===void 0)D=x;else if(Ma==="read"&&I){var M=y;if(v.selectionSet===void 0&&R!==void 0&&(M={...y,[S]:R,[k]:R}),pO(e,M,l,s,A,k),D=I(M,E||{},o,e),v.selectionSet&&(D=gO(e,l,k,w,Ss(v),y[S]!==void 0?y[S]:r[S],D,YR(r))),o.schema&&D===null&&!a7(o.schema,l,k,e.store.logger))return}else if(!v.selectionSet)D=R;else if(x!==void 0)D=gO(e,l,k,w,Ss(v),y[S]!==void 0?y[S]:r[S],x,YR(r));else{var F=fp(s,A);F!==void 0?D=xre(e,F,l,k,Ss(v),y[S]!==void 0?y[S]:r[S],YR(r)):typeof R=="object"&&R!==null&&(D=R)}if(!CT&&D===void 0&&(T.optional||fO&&!T.required||MA(e)||!T.required&&o.schema&&a7(o.schema,l,k,e.store.logger))?(e.partial=!0,D=null):D===null&&(T.required||fO===!1)?(e.store.logger,D=void 0):c=c||k!=="__typename",e.__internal.path.pop(),p=p||D!==r[S],D!==void 0)y[S]=D;else if(CT)f=!0;else{e.store.logger,e.partial=g;return}}return e.partial=e.partial||g,e.hasNext=e.hasNext||f,a&&e.partial&&!c?void 0:p?y:r}},gO=(e,t,n,r,i,o,a,s)=>{if(Array.isArray(a)){for(var{store:l}=e,u=l.schema?vre(l.schema,t,n,e.store.logger):!1,c=e.partial,f=Kl(o,!0),p=Kh||!Array.isArray(o)||a.length!==o.length,v=0,g=a.length;v<g;v++){e.__internal.path.push(v);var y=gO(e,t,n,Ik(r,`${v}`),i,o?.[v],a[v],s);if(e.__internal.path.pop(),y===void 0&&!u){e.partial=c;return}else e.partial=e.partial||y===void 0&&u,f[v]=y??null,p=p||f[v]!==o[v]}return p?f:o}else{if(a==null)return a;
1965if(s&&o===null)return null;if(Ttt(a)){var k=o||Kl(o);return typeof a=="string"?Ah(e,a,i,k):Ah(e,r,i,k,a)}else return}},xre=(e,t,n,r,i,o,a)=>{if(Array.isArray(t)){for(var{store:s}=e,l=s.schema?vre(s.schema,n,r,e.store.logger):!1,u=Kl(o,!0),c=e.partial,f=Kh||!Array.isArray(o)||t.length!==o.length,p=0,v=t.length;p<v;p++){e.__internal.path.push(p);var g=xre(e,t[p],n,r,i,o?.[p],a);if(e.__internal.path.pop(),g===void 0&&!l){e.partial=c;return}else e.partial=e.partial||g===void 0&&l,u[p]=g||null,f=f||u[p]!==o[p]}return f?u:o}else if(t===null||o===null&&a)return null;return Ah(e,t,i,o||Kl(o))},Ttt=e=>typeof e=="string"||typeof e=="object"&&typeof e.__typename=="string",Lre=(e,t,n)=>{for(var r=t?[{fieldKey:Df(t,n)}]:Ire(e),i=0,o=r.length;i<o;i++){var{fieldKey:a}=r[i];fp(e,a)!==void 0?Nk(e,a,void 0):Ly(e,a,void 0)}},vO=(e,t)=>{var n=(i=>bn.types.get(i)||Sre)(e);for(var r of n)t.includes(r)||Lre(r)},yO=(e,t,n,r)=>{var i=vy(t.query),o=bF(i),a={data:n||Kl(),dependencies:Lu},s=e.rootFields[o.operation],l=AT(e,gre(o,t.variables),bT(i),s,s,r);return EF(l,s,Ss(o),a.data),a},EF=(e,t,n,r)=>{var i=e.store.rootNames[t]||"query",o=!!e.store.rootNames[t],a=o?t:r.__typename;if(!a&&t&&e.optimistic&&(a=Ou(t,"__typename")),a)!o&&t&&(Ly(t,"__typename",a),((L,P)=>{var j=bn.types.get(L);if(j)j.add(P);else{var B=new Set;B.add(P),bn.types.set(L,B)}})(a,t));else return;for(var s=e.store.updates[a],l=new SF(a,t||a,!1,void 0,n,e),u;u=l.next();){var c=Xl(u),f=_A(u,e.variables),p=Df(c,f),v=kF(u),g=r[e.optimistic?c:v];if(!(c==="__typename"||g===void 0&&(CT||e.optimistic&&i==="query"))){e.__internal.path.push(v);var y=void 0;if(e.optimistic&&i==="mutation"){if(!(y=e.store.optimisticMutations[c]))continue}else e.optimistic&&typeof g=="function"&&(y=g);if(y&&(pO(e,r,a,t||a,p,c),g=BS(y(f||{},e.store,e))),g!==void 0){if(u.selectionSet)if(t&&i==="query"){var k=Ik(t,p),E=kO(e,Ss(u),BS(g),k,e.optimistic?fp(t||a,p):void 0);Nk(t||a,p,E)}else kO(e,Ss(u),BS(g));else t&&i==="query"&&Ly(t||a,p,g!==null||!MA(e)?g:void 0);var S=s&&s[c];if(S)pO(e,r,a,t||a,p,c),r[c]=g,S(r,f||{},e.store,e);else if(a===e.store.rootFields.mutation&&!e.optimistic){if(g&&Array.isArray(g))for(var T=g.map((L=>e.store.keyOfEntity(L)||"")),I=0,A=g.length;I<A;I++){var w=T[I];if(w&&g[I].__typename){var R=Ou(w,"__typename"),x=ET(w);R&&!x&&vO(g[I].__typename,T)}}else if(g&&typeof g=="object"){var D=e.store.keyOfEntity(g);if(D){var M=Ou(D,"__typename"),F=ET(D);(!M||!F)&&g.__typename&&vO(g.__typename,[D])}}}e.__internal.path.pop()}}}},kO=(e,t,n,r,i)=>{if(Array.isArray(n)){for(var o=new Array(n.length),a=0,s=n.length;a<s;a++){e.__internal.path.push(a);var l=r?Ik(r,`${a}`):void 0,u=kO(e,t,n[a],l,i?.[a]);o[a]=u,e.__internal.path.pop()}return o}else if(n===null)return MA(e)?void 0:null;var c=e.store.keyOfEntity(n)||(typeof i=="string"?i:null);n.__typename;var f=c||r;return EF(e,f,t,n),f||null};class Ctt{constructor(t){t||(t={}),this.logger=t.logger,this.resolvers=t.resolvers||{},this.directives=t.directives||{},this.optimisticMutations=t.optimistic||{},this.keys=t.keys||{},this.globalIDs=Array.isArray(t.globalIDs)?new Set(t.globalIDs):!!t.globalIDs;var n="Query",r="Mutation",i="Subscription";if(t.schema){var o=(({__schema:c})=>{var f=new Map,p=S=>{var T;return()=>{if(!T){T={};for(var I=0;I<S.length;I++)T[S[I].name]=S[I]}return T}},v=S=>{switch(S.kind){case"OBJECT":case"INTERFACE":return{name:S.name,kind:S.kind,interfaces:p(S.interfaces||[]),fields:p(S.fields.map((T=>({name:T.name,type:T.type,args:p(T.args)}))))};case"UNION":return{name:S.name,kind:S.kind,types:p(S.possibleTypes||[])}}},g={query:c.queryType?c.queryType.name:null,mutation:c.mutationType?c.mutationType.name:null,subscription:c.subscriptionType?c.subscriptionType.name:null,types:void 0,isSubType(S,T){var I=f.get(S),A=f.get(T);return!I||!A?!1:I.kind==="UNION"?!!I.types()[T]:I.kind!=="OBJECT"&&A.kind==="OBJECT"?!!A.interfaces()[S]:S===T}};if(c.types){g.types=f;for(var y=0;y<c.types.length;y++){var k=c.types[y];if(k&&k.name){var E=v(k);E&&f.set(k.name,E)}}}return g})(t.schema);n=o.query||n,r=o.mutation||r,i=o.subscription||i,o.types&&(this.schema=o)}if(!this.schema&&t.possibleTypes){this.possibleTypeMap=new Map;for(var a of Object.entries(t.possibleTypes)){var[s,l]=a;this.possibleTypeMap.set(s,new Set(l))}}this.updates=t.updates||{},this.rootFields={query:n,mutation:r,subscription:i},this.rootNames={[n]:"query",[r]:"mutation",[i]:"subscription"},this.data=(u=n,{hydrating:!1,defer:!1,gc:new Set,types:new Map,persist:new Set,queryRootKey:u,refCount:new Map,links:{optimistic:new Map,base:new Map},abstractToConcreteMap:new Map,records:{optimistic:new Map,base:new Map},deferredKeys:new Set,commutativeKeys:new Set,dirtyKeys:new Set,optimisticOrder:[],storage:null});var u;this.schema}keyOfField(t,n){return Df(t,n)}keyOfEntity(t){if(VS&&t===VS.parent)return VS.parentKey;if(t==null||typeof t=="string")return t||null;if(t.__typename){if(this.rootNames[t.__typename])return t.__typename}else return null;var n=null;this.keys[t.__typename]?n=this.keys[t.__typename](t)||null:t.id!=null?n=`${t.id}`:t._id!=null&&(n=`${t._id}`);var r=t.__typename;return this.globalIDs===!0||this.globalIDs&&this.globalIDs.has(r)||!n?n:`${r}:${n}`}resolve(t,n,r){var i=this.keyOfEntity(t);if(i){var o=Df(n,r),a=Ou(i,o);if(a!==void 0)return a;var s=fp(i,o);return s!==void 0&&(s=mO(this,s)),s}}invalidate(t,n,r){var i=this.keyOfEntity(t);t&&typeof t=="string"&&!n&&!r&&!this.resolve(t,"__typename")?vO(t,[]):(OA(i,"",19),Lre(i,n,r))}inspectFields(t){var n=this.keyOfEntity(t);return n?Ire(n):[]}updateQuery(t,n){var r=zc(t.query,t.variables),i=n(this.readQuery(r));i!==null&&yO(this,r,i,void 0)}readQuery(t){var n=zc(t.query,t.variables);return hO(this,n,void 0,void 0).data}readFragment(t,n,r,i){return((o,a,s,l,u)=>{var c=bT(a),f;if(u){if(!(f=c[u]))return null}else if(!(f=c[Object.keys(c)[0]]))return null;var p=i7(f);
1965typeof s!="string"&&!s.__typename&&(s.__typename=p);var v=o.keyOfEntity(s);if(!v)return null;var g=AT(o,l||{},c,p,v,void 0),y=Ah(g,v,Ss(f),Kl())||null;return y})(this,vy(t),n,r,i)}writeFragment(t,n,r,i){((o,a,s,l,u)=>{var c=bT(a),f;if(u){if(!(f=c[u]))return null}else if(!(f=c[Object.keys(c)[0]]))return null;var p=i7(f),v={__typename:p,...s},g=o.keyOfEntity(v);if(g){var y=AT(o,l||{},c,p,g,void 0);EF(y,g,Ss(f),v)}})(this,vy(t),n,r,i)}link(t,n,...r){var i=r.length===2?r[0]:null,o=r.length===2?r[1]:r[0],a=this.keyOfEntity(t);a&&Nk(a,Df(n,i),mO(this,o))}}var c7=(e,t)=>od(e.kind,e,{...e.context,meta:{...e.context.meta,...t}}),d7=(e,t)=>od(e.kind,e,{...e.context,requestPolicy:t}),Att=e=>({forward:t,client:n,dispatchDebug:r})=>{var i=new Ctt(e);e&&e.storage&&(i.data.hydrating=!0,e.storage.readData().then((A=>{((w,R,x)=>{sf("write",w,null);for(var D in x){var M=x[D];if(M!==void 0){var{entityKey:F,fieldKey:L}=bre(D);M[0]===":"?fp(F,L)===void 0&&Nk(F,L,JSON.parse(M.slice(1))):Ou(F,L)===void 0&&Ly(F,L,JSON.parse(M))}}w.storage=R,w.hydrating=!1,lf()})(i.data,e.storage,A),e.storage.onCacheHydrated&&e.storage.onCacheHydrated()})));var o=new Map,a=[],s=new Map,l=new Map,u=new Set,c=new Set,f=new Map,p=new Set,v=new Set,g=A=>{for(var w of A.values())if(u.has(w))return!0;return!1},y=(A,w)=>{if(w)for(var R of w.values()){var x=f.get(R);if(x)for(var D of x.values())A.add(D)}},k=(A,w,R)=>{for(var x of w.values())if(x!==A.key){var D=s.get(x);if(D){A.kind==="query"&&v.add(x);var M="cache-first";c.has(x)&&(c.delete(x),M="cache-and-network"),n.reexecuteOperation(d7(D,M))}}if(!R){var F=p;p=v,A.kind==="query"&&p.add(A.key),(v=F).clear()}},E=A=>{var w=!1;if(A.kind==="query")US(i.data,A.key),s.set(A.key,A);else{if(A.kind==="teardown")return s.delete(A.key),l.delete(A.key),p.delete(A.key),s7(i.data,A.key),A;if(A.kind==="mutation"&&A.context.requestPolicy!=="network-only"){s.set(A.key,A),sf("write",i.data,A.key,!0,!1);var{dependencies:R}=yO(i,A,void 0,void 0);if(lf(),R.size){for(var x of R.values())u.add(x);o.set(A.key,R);var D=new Set;y(D,R),k(A,D,!0),w=!0}}}return od(A.kind,{key:A.key,query:vy(A.query),variables:A.variables?stt(bF(A.query),A.variables):A.variables},{...A.context,optimistic:w})},S=(A,w)=>{for(var R of w.values()){var x=f.get(R);x||f.set(R,x=new Set),x.add(A.key)}},T=A=>{sf("read",i.data,void 0,!1,!1);var w=hO(i,A,l.get(A.key),void 0);lf();var R=w.data?!w.partial&&!w.hasNext?"hit":"partial":"miss";return l.set(A.key,w.data),s.set(A.key,A),S(A,w.dependencies),{outcome:R,operation:A,data:w.data,dependencies:w.dependencies,hasNext:w.hasNext}},I=(A,w)=>{var R=s.get(A.operation.key)||A.operation;if(R.kind==="mutation"){var x=o.get(R.key);y(w,x),o.delete(R.key)}(R.kind==="subscription"||A.hasNext)&&US(i.data,R.key,!0);var D,M=A.data;if(M){sf("write",i.data,R.key,!1,!1);var F=yO(i,R,M,A.error).dependencies;lf(),y(w,F);var L=R.kind==="query"?l.get(R.key):null;sf("read",i.data,R.key,!1,L!==M);var P=hO(i,R,L||M,A.error);lf(),M=P.data,R.kind==="query"&&(y(w,D=P.dependencies),l.set(R.key,M))}else s7(i.data,R.key);return D&&S(A.operation,D),{operation:R,data:M,error:A.error,extensions:A.extensions,hasNext:A.hasNext,stale:A.stale}};return A=>{var w=hh(qs(T)(hi((P=>P.kind==="query"&&P.context.requestPolicy!=="network-only"))(A))),R=hi((P=>P.kind!=="query"||P.context.requestPolicy==="network-only"))(A),x=qs((P=>c7(P.operation,{cacheOutcome:"miss"})))(hi((P=>P.outcome==="miss"&&P.operation.context.requestPolicy!=="cache-only"&&!g(P.dependencies)&&!p.has(P.operation.key)))(w)),D=qs((P=>{var{requestPolicy:j}=P.operation.context,B=j!=="cache-only"&&(P.hasNext||j==="cache-and-network"||j==="cache-first"&&P.outcome==="partial"&&!p.has(P.operation.key)),H=j!=="cache-only"&&(B||P.outcome==="partial"&&p.has(P.o
1965peration.key)&&((G=i.data).commutativeKeys.has(O=P.operation.key)||G.optimisticOrder.indexOf(O)>-1)),G,O,V={operation:c7(P.operation,{cacheOutcome:P.outcome}),data:P.data,error:P.error,extensions:P.extensions,stale:H&&!P.hasNext,hasNext:B&&P.hasNext};return B&&(g(P.dependencies)?j==="cache-and-network"&&c.add(P.operation.key):n.reexecuteOperation(d7(s.get(P.operation.key)||P.operation,"network-only"))),V}))(hi((P=>P.outcome!=="miss"||P.operation.context.requestPolicy==="cache-only"))(w)),M=t(qs(E)(id([R,x]))),F=qs((P=>{var j=new Set,B=I(P,j);return k(P.operation,j,!1),B}))(hi((P=>!o.has(P.operation.key)))(M)),L=DC((P=>{if(a.push(P)<o.size)return f4e;for(var j=0;j<a.length;j++)US(i.data,a[j].operation.key);u.clear();for(var B=[],H=new Set,G;G=a.shift();)B.push(I(G,H));return k(P.operation,H,!1),D$(B)}))(hi((P=>o.has(P.operation.key)))(M));return id([F,L,D])}};const Itt=vt` 1966 query CacheIdentityList($filter: IdentityFilter) { 1967 identities(filter: $filter) { 1968 __typename 1969 id 1970 } 1971 } 1972`,wtt=vt` 1973 query CacheRoleBindingList($filter: RoleBindingFilter) { 1974 roleBindings(filter: $filter) { 1975 __typename 1976 id 1977 identity 1978 } 1979 } 1980`,Ntt=vt` 1981 query CacheInviteList($filter: GroupInviteFilter) { 1982 invites(filter: $filter) { 1983 __typename 1984 id 1985 } 1986 } 1987`,Rtt=vt` 1988 query CacheIdentityProvidersList($filter: IdentityProviderFilter) { 1989 identityProviders(filter: $filter) { 1990 __typename 1991 id 1992 } 1993 } 1994`,xtt=vt` 1995 query CacheRepoList($filter: RepoFilter) { 1996 repos(filter: $filter) { 1997 __typename 1998 id 1999 } 2000 } 2001`,jS={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CacheIdentityList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filter"}},type:{kind:"NamedType",name:{kind:"Name",value:"IdentityFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identities"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},bO={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CacheRoleBindingList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filter"}},type:{kind:"NamedType",name:{kind:"Name",value:"RoleBindingFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"roleBindings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"identity"}}]}}]}}]},SO={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CacheInviteList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filter"}},type:{kind:"NamedType",name:{kind:"Name",value:"GroupInviteFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invites"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},EO={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CacheIdentityProvidersList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filter"}},type:{kind:"NamedType",name:{kind:"Name",value:"IdentityProviderFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"identityProviders"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},TO={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CacheRepoList"}
2001,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filter"}},type:{kind:"NamedType",name:{kind:"Name",value:"RepoFilter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"repos"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filter"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]},Sdt=Object.freeze(Object.defineProperty({__proto__:null,CacheIdentityList:jS,CacheIdentityListDocument:Itt,CacheIdentityProvidersList:EO,CacheIdentityProvidersListDocument:Rtt,CacheInviteList:SO,CacheInviteListDocument:Ntt,CacheRepoList:TO,CacheRepoListDocument:xtt,CacheRoleBindingList:bO,CacheRoleBindingListDocument:wtt},Symbol.toStringTag,{value:"Module"})),Ltt={__schema:{queryType:{name:"Query",kind:"OBJECT"},mutationType:{name:"Mutation",kind:"OBJECT"},subscriptionType:null,types:[{kind:"OBJECT",name:"APKList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"APKPackage",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"APKPackage",fields:[{name:"architecture",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"buildTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"depend",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"installIf",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"installedSize",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"license",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"maintainer",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"origin",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"packageName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"providerPriority",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"provides",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"repoCommit",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"size",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"url",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"APKPackageSummary",fields:[{name:"architectures",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"buildTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"latestVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"license",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"origin",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"packageName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"APKPackageSummaryList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"APKPackageSummary",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AWSMarketplaceSubscription",fields:[{name:"createdAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"developerBand",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"ecosystems",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"isFreeTrial",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"status",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"updatedAt",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AWSMarketplaceSubscriptionList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"AWSMarketplaceSubscription",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AddChartResponse",fields:[{name:"repos",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"AddChartResult",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AddChartResult",fields:[{name:"created",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AddEntitlementImagesResponse",fields:[{name:"images",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EntitledImage",kind:"OBJECT",ofType:null}}}},args:[]},{name:"parent",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisoriesCountByType",fields:[{name:"countByType",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EventCountByType",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisoriesResult",fields:[{name:"advisories",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"AdvisoryRow",kind:"OBJECT",ofType:null}}}},args:[]},{name:"pagination",type:{kind:"NON_NULL",ofType:{name:"Pagination",kind:"OBJECT",ofType:null}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisoriesSummary",fields:[{name:"countByType",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EventCountByType",kind:"OBJECT",ofType:null}}}},args:[]},{name:"documents",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"AdvisoryDocument",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisoriesV2",fields:[{name:"advisories",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"AdvisoryV2",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisoriesV2Result",fields:[{name:"advisories",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"AdvisoryV2Row",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Advisory",fields:[{name:"aliases",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"events",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Event",kind:"OBJECT",ofType:null}}}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"latestEventTimestamp",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"packageNamespace",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"severity",type:{kind:"OBJECT",name:"AdvisorySeverity",ofType:null},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisoryDocument",fields:[{name:"advisories",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Advisory",kind:"OBJECT",ofType:null}}}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisoryRow",fields:[{name:"aliases",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"cve",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"events",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Event",kind:"OBJECT",ofType:null}}}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"latestEventTimestamp",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"package",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"packageNamespace",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"severity",type:{kind:"OBJECT",name:"AdvisorySeverity",ofType:null},args:[]},{name:"status",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisorySeverity",fields:[{name:"score",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisoryV2",fields:[{name:"advisoryId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"aliases",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"artifactArchitecture",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"artifactName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"artifactType",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"author",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"componentLocation",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"componentName",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"componentType",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"createdAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"deletedAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"events",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EventV2",kind:"OBJECT",ofType:null}}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"severity",type:{kind:"OBJECT",name:"AdvisorySeverity",ofType:null},args:[]},{name:"updatedAt",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AdvisoryV2Row",fields:[{name:"aliases",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"componentName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"cve",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"events",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EventV2",kind:"OBJECT",ofType:null}}}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"latestEventTimestamp",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"package",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"severity",type:{kind:"OBJECT",name:"AdvisorySeverity",ofType:null},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AnalysisNotPlanned",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AnalysisNotPlannedV2",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosDocument",fields:[{name:"cgpIds",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"createdAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"filename",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"status",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"updatedAt",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosDocumentList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ArgosDocument",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"skipped",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosOrgPublicKey",fields:[{name:"algorithm",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"keyVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"pem",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosVulnAffected",fields:[{name:"databaseSpecific",type:{kind:"OBJECT",name:"ArgosVulnDatabaseSpecific",ofType:null},args:[]},{name:"package",type:{kind:"OBJECT",name:"ArgosVulnPackage",ofType:null},args:[]},{name:"ranges",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ArgosVulnRange",kind:"OBJECT",ofType:null}}}},args:[]},{name:"versions",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosVulnDatabaseSpecific",fields:[{name:"cweIds",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"defectKind",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"sinkLocator",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ArgosVulnSinkLocator",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosVulnEvent",fields:[{name:"fixed",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"introduced",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"lastAffected",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"limit",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosVulnList",fields:[{name:"nextPageToken",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"vulns",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ArgosVulnRecord",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosVulnPackage",fields:[{name:"ecosystem",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"purl",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosVulnRange",fields:[{name:"events",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ArgosVulnEvent",kind:"OBJECT",ofType:null}}}},args:[]},{name:"repo",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosVulnRecord",fields:[{name:"affected",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ArgosVulnAffected",kind:"OBJECT",ofType:null}}}},args:[]},{name:"aliases",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"details",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"modified",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"published",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"related",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"schemaVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"severity",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ArgosVulnSeverity",kind:"OBJECT",ofType:null}}}},args:[]},{name:"summary",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"withdrawn",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosVulnSeverity",fields:[{n
2001ame:"score",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"type",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArgosVulnSinkLocator",fields:[{name:"argSignature",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"class",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"fileLine",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"method",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"observedVersions",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Artifact",fields:[{name:"createdAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"description",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"ecosystem",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"latestVersion",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"sourceTypes",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},args:[]},{name:"updatedAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"versionCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArtifactList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Artifact",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"totalArtifacts",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArtifactVersion",fields:[{name:"createdAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"description",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"sourceType",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"updatedAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"upstreamPublishedDate",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ArtifactVersionList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ArtifactVersion",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"AvailabilitySummary",fields:[{name:"blocked",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"blockingSubmit",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"buildFailed",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"building",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"built",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"canBeRequested",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"held",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"invalidRequirement",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"notFoundUpstream",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"removed",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"wontBuild",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"BatchDeleteExternalGroupRoleMappingsResponse",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ExternalGroupRoleMapping",kind:"OBJECT",ofType:null}}}},args:[]},{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"BuildReport",fields:[{name:"apkoVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"completedAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"config",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"digest",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"lockedConfig",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"log",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"result",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"startedAt",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"warnings",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"BuildStatus",fields:[{name:"failures",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"BuildStatus_Failures",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"BuildStatus_Failures",fields:[{name:"repoId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"total",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"CVERemediation",fields:[{name:"cveCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"decision",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"remediatedCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"status",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"CVERemediationSummary",fields:[{name:"complete",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"inProgress",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"noHighCriticalCves",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"remediatedCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"reviewing",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"scanQueued",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"wontRemediate",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Chart",fields:[{name:"annotations",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ChartAnnotation",kind:"OBJECT",ofType:null}}}},args:[]},{name:"appVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"dependencies",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ChartDependency",kind:"OBJECT",ofType:null}}},args:[]},{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"images",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ChartImage",kind:"OBJECT",ofType:null}}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"raw",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"values",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ChartAnnotation",fields:[{name:"key",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"value",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ChartDependency",fields:[{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"repository",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ChartImage",fields:[{name:"image",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"requirement",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ChartImageBinding",fields:[{name:"chartRepo",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"imageRepo",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"requirement",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"CheckEligibilityResponse",fields:[{name:"eligible",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Claim",fields:[{name:"claim",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"value",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ClaimPattern",fields:[{name:"claim",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"pattern",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ComponentLocationChangedV2",fields:[{name:"newLocation",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"previousLocation",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Count",fields:[{name:"count",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"CustomOverlay",fields:[{name:"contents",type:{kind:"OBJECT",name:"ImageContents",ofType:null},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Detection",fields:[{name:"nvdapi",type:{kind:"OBJECT",name:"DetectionTypeNVDAPI",ofType:null},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"DetectionTypeNVDAPI",fields:[{name:"cpeFound",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"cpeSearched",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]}
2001,{kind:"OBJECT",name:"DetectionV2",fields:[{name:"nvdapiV2",type:{kind:"OBJECT",name:"DetectionV2TypeNVDAPI",ofType:null},args:[]},{name:"scanV1",type:{kind:"OBJECT",name:"DetectionV2TypeScanV1",ofType:null},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"DetectionV2TypeNVDAPI",fields:[{name:"cpeFound",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"cpeSearched",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"DetectionV2TypeScanV1",fields:[{name:"artifactVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"componentId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"componentLocation",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"componentName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"componentType",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"componentVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"grypeDbBuilt",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"grypeDbChecksum",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"scanner",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"scannerVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"subpackageName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"EntitledImage",fields:[{name:"catalogTier",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"entitlementId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"expirationTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"externalImageGroupId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"imageGroupName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"includedInImageGroup",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"EntitlementImage",fields:[{name:"catalogTier",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"externalImageGroupId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"imageGroupName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"includedInImageGroup",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"EolTag",fields:[{name:"eolGracePeriodStatus",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"eolTagStatus",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"gracePeriodExpiryDate",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"mainPackageName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"mainPackageVersion",type:{kind:"NON_NULL",ofType:{name:"PackageVersion",kind:"OBJECT",ofType:null}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Event",fields:[{name:"analysisNotPlanned",type:{kind:"OBJECT",name:"AnalysisNotPlanned",ofType:null},args:[]},{name:"detection",type:{kind:"OBJECT",name:"Detection",ofType:null},args:[]},{name:"falsePositiveDetermination",type:{kind:"OBJECT",name:"FalsePositiveDetermination",ofType:null},args:[]},{name:"fixNotPlanned",type:{kind:"OBJECT",name:"FixNotPlanned",ofType:null},args:[]},{name:"fixed",type:{kind:"OBJECT",name:"Fixed",ofType:null},args:[]},{name:"pendingUpstreamFix",type:{kind:"OBJECT",name:"PendingUpstreamFix",ofType:null},args:[]},{name:"timestamp",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"truePositiveDetermination",type:{kind:"OBJECT",name:"TruePositiveDetermination",ofType:null},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"EventCountByType",fields:[{name:"count",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"EventV2",fields:[{name:"analysisNotPlannedV2",type:{kind:"OBJECT",name:"AnalysisNotPlannedV2",ofType:null},args:[]},{name:"author",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"componentLocationChangedV2",type:{kind:"OBJECT",name:"ComponentLocationChangedV2",ofType:null},args:[]},{name:"detectionV2",type:{kind:"OBJECT",name:"DetectionV2",ofType:null},args:[]},{name:"falsePositiveDeterminationV2",type:{kind:"OBJECT",name:"FalsePositiveDeterminationV2",ofType:null},args:[]},{name:"findings",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"fixNotPlannedV2",type:{kind:"OBJECT",name:"FixNotPlannedV2",ofType:null},args:[]},{name:"fixedV2",type:{kind:"OBJECT",name:"FixedV2",ofType:null},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"issue",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"patchedV2",type:{kind:"OBJECT",name:"PatchedV2",ofType:null},args:[]},{name:"pendingUpstreamFixV2",type:{kind:"OBJECT",name:"PendingUpstreamFixV2",ofType:null},args:[]},{name:"reviewer",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"status",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"timestamp",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"truePositiveDeterminationV2",type:{kind:"OBJECT",name:"TruePositiveDeterminationV2",ofType:null},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ExternalGroupRoleMapping",fields:[{name:"createdAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"externalGroupId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}
2001,{name:"identityProviderUidp",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"roleUidp",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"scope",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ExternalGroupRoleMappingList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ExternalGroupRoleMapping",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"FalsePositiveDetermination",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"FalsePositiveDeterminationV2",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"FipsCertificate",fields:[{name:"certificate",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"dependsOn",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"level",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"url",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"FixNotPlanned",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"FixNotPlannedV2",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Fixed",fields:[{name:"fixedVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"FixedV2",fields:[{name:"fixedVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"grypeDbBuilt",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"grypeDbChecksum",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"scannerVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"GenerateScimTokenResponse",fields:[{name:"endpointUrl",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"etag",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"expireTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"identityProviderId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"token",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"GetEffectiveEntitlementsResponse",fields:[{name:"activeImages",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EntitledImage",kind:"OBJECT",ofType:null}}}},args:[]},{name:"activeTiers",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"maxTotalImages",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"plan",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"quota",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RegistryImageQuota",kind:"OBJECT",ofType:null}}}},args:[]},{name:"swapQuota",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"swapRefillTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"swapsUsed",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Group",fields:[{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"kind",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"resourceLimits",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ResourceLimit",kind:"OBJECT",ofType:null}}}},args:[]},{name:"status",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"verified",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"GroupInvite",fields:[{name:"code",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"expiration",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"role",type:{kind:"NON_NULL",ofType:{name:"Role",kind:"OBJECT",ofType:null}},args:[]}],interfaces:[]}
2001,{kind:"OBJECT",name:"Helm",fields:[{name:"chartDigest",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"chartName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"chartRepository",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"chartVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"values",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Identity",fields:[{name:"awsIdentity",type:{kind:"OBJECT",name:"Identity_AWSIdentity",ofType:null},args:[]},{name:"claimMatch",type:{kind:"OBJECT",name:"Identity_ClaimMatch",ofType:null},args:[]},{name:"createdAt",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"servicePrincipal",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"static",type:{kind:"OBJECT",name:"Identity_StaticKeys",ofType:null},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"updatedAt",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"IdentityMetadata",fields:[{name:"familyName",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"givenName",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"name",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"onboardingQuestions",type:{kind:"OBJECT",name:"OnboardingQuestions",ofType:null},args:[]},{name:"updatesOptIn",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"IdentityProvider",fields:[{name:"defaultRole",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"description",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"oidc",type:{kind:"OBJECT",name:"IdentityProvider_OIDC",ofType:null},args:[]},{name:"scim",type:{kind:"OBJECT",name:"IdentityProvider_SCIM",ofType:null},args:[]}],interfaces:[]},{kind:"OBJECT",name:"IdentityProvider_OIDC",fields:[{name:"additionalScopes",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"clientId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"correlationRule",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"groupsClaim",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"issuer",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"IdentityProvider_SCIM",fields:[{name:"credentialState",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"enabled",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"endpointUrl",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"etag",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"previousTokenExpireTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"tokenExpireTime",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Identity_AWSIdentity",fields:[{name:"arn",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"arnPattern",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"awsAccount",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"userId",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"userIdPattern",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Identity_ClaimMatch",fields:[{name:"audience",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"audiencePattern",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"claimPatterns",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ClaimPattern",kind:"OBJECT",ofType:null}}},args:[]},{name:"claims",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Claim",kind:"OBJECT",ofType:null}}},args:[]},{name:"issuer",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"issuerPattern",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"subject",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"subjectPattern",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Identity_StaticKeys",fields:[{name:"expiration",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"issuer",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"issuerKeys",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"subject",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ImageConfig",fields:[{name:"cmd",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"entrypoint",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"env",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"exposedPorts",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"labels",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ImageConfigLabel",kind:"OBJECT",ofType:null}}}},args:[]},{name:"stopSignal",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"user",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"volumes",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"workingDir",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ImageConfigLabel",fields:[{name:"label",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"value",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ImageContents",fields:[{name:"packages",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"InputMetadata",fields:[{name:"contentHash",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"filename",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"format",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"itemCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"LibraryEntitlement",fields:[{name:"ecosystem",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"policy",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"source",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"LibraryEntitlementList",fields:[{name:"items",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"LibraryEntitlement",kind:"OBJECT",ofType:null}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ListChartImageBindingsResponse",fields:[{name:"chartImageBindings",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ChartImageBinding",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ListChartsByImageRepoResponse",fields:[{name:"chartImageBindings",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ChartImageBinding",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ListSkillSourcesResponse",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"SkillSource",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ListSkillsResponse",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Skill",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]}
2001,{kind:"OBJECT",name:"LookupGroupResponse",fields:[{name:"group",type:{kind:"NON_NULL",ofType:{name:"Group",kind:"OBJECT",ofType:null}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"MalwareBlockListEntry",fields:[{name:"blockedAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"description",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"ecosystem",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"malid",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"packageName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"reason",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},args:[]},{name:"scope",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"source",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"version",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"MalwareBlockListEntryList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"MalwareBlockListEntry",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"totalCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"MalwareBlockListPeriodCount",fields:[{name:"count",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"date",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ManifestMetadata",fields:[{name:"digest",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"pkgMetadata",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"PkgMetadata",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Mutation",fields:[{name:"addChart",type:{kind:"NON_NULL",ofType:{name:"AddChartResponse",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"addEntitlementImages",type:{kind:"NON_NULL",ofType:{name:"AddEntitlementImagesResponse",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"batchDeleteExternalGroupRoleMappings",type:{kind:"NON_NULL",ofType:{name:"BatchDeleteExternalGroupRoleMappingsResponse",kind:"OBJECT",ofType:null}},args:[{name:"ids",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}}},{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"cancelAWSMarketplaceSubscription",type:{kind:"NON_NULL",ofType:{name:"AWSMarketplaceSubscription",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createAWSMarketplaceOrg",type:{kind:"NON_NULL",ofType:{name:"Group",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createAWSMarketplaceSubscription",type:{kind:"NON_NULL",ofType:{name:"AWSMarketplaceSubscription",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"parentId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createArgosDocument",type:{kind:"NON_NULL",ofType:{name:"ArgosDocument",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createExternalGroupRoleMapping",type:{kind:"NON_NULL",ofType:{name:"ExternalGroupRoleMapping",kind:"OBJECT",ofType:null}},args:[{name:"mapping",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createGroup",type:{kind:"NON_NULL",ofType:{name:"Group",kind:"OBJECT",ofType:null}},args:[{name:"group",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createIdentity",type:{kind:"NON_NULL",ofType:{name:"Identity",kind:"OBJECT",ofType:null}},args:[{name:"identity",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]}
2001,{name:"createIdentityProvider",type:{kind:"NON_NULL",ofType:{name:"IdentityProvider",kind:"OBJECT",ofType:null}},args:[{name:"identityProvider",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createInvite",type:{kind:"NON_NULL",ofType:{name:"GroupInvite",kind:"OBJECT",ofType:null}},args:[{name:"inviteInput",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createLibraryEntitlement",type:{kind:"NON_NULL",ofType:{name:"LibraryEntitlement",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"parentId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createPullToken",type:{kind:"NON_NULL",ofType:{name:"PullToken",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createRepo",type:{kind:"NON_NULL",ofType:{name:"Repo",kind:"OBJECT",ofType:null}},args:[{name:"parentId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"repo",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createRequestGroup",type:{kind:"NON_NULL",ofType:{name:"RequestGroup",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createRole",type:{kind:"NON_NULL",ofType:{name:"Role",kind:"OBJECT",ofType:null}},args:[{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"role",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createRoleBinding",type:{kind:"NON_NULL",ofType:{name:"RoleBinding",kind:"OBJECT",ofType:null}},args:[{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"roleBinding",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"createStarterOrg",type:{kind:"NON_NULL",ofType:{name:"Group",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteArgosDocument",type:{kind:"SCALAR",name:"Any"},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteExpiredPullTokens",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteExternalGroupRoleMapping",type:{kind:"SCALAR",name:"Any"},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteGroup",type:{kind:"SCALAR",name:"Any"},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteIdentity",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteIdentityProvider",type:{kind:"SCALAR",name:"Any"},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteInvite",type:{kind:"SCALAR",name:"Any"},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteLibraryEntitlement",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteRepo",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteRequestGroup",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[{name:"parentId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"uid",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteRole",type:{kind:"SCALAR",name:"Any"},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"deleteRoleBinding",type:{kind:"SCALAR",name:"Any"},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"generateScimToken",type:{kind:"NON_NULL",ofType:{name:"GenerateScimTokenResponse",kind:"OBJECT",ofType:null}}
2001,args:[{name:"identityProviderId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"regenerateScimToken",type:{kind:"NON_NULL",ofType:{name:"RegenerateScimTokenResponse",kind:"OBJECT",ofType:null}},args:[{name:"identityProviderId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"removeEntitlementImages",type:{kind:"NON_NULL",ofType:{name:"RemoveEntitlementImagesResponse",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"removeRequestGroupItems",type:{kind:"NON_NULL",ofType:{name:"RemoveItemsResult",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"requestOrgAccess",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[{name:"input",type:{kind:"SCALAR",name:"Any"}}]},{name:"restoreRequestGroupItems",type:{kind:"NON_NULL",ofType:{name:"RestoreItemsResult",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"revokeScimToken",type:{kind:"NON_NULL",ofType:{name:"RevokeScimTokenResponse",kind:"OBJECT",ofType:null}},args:[{name:"identityProviderId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"setScimEnabled",type:{kind:"NON_NULL",ofType:{name:"SetScimEnabledResponse",kind:"OBJECT",ofType:null}},args:[{name:"identityProviderId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"submitRequestGroup",type:{kind:"NON_NULL",ofType:{name:"RequestGroup",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"swapEntitlementImages",type:{kind:"NON_NULL",ofType:{name:"SwapEntitlementImagesResponse",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateAWSMarketplaceSubscription",type:{kind:"NON_NULL",ofType:{name:"AWSMarketplaceSubscription",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateCustomRepo",type:{kind:"NON_NULL",ofType:{name:"Repo",kind:"OBJECT",ofType:null}},args:[{name:"customizations",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateGroup",type:{kind:"NON_NULL",ofType:{name:"Group",kind:"OBJECT",ofType:null}},args:[{name:"group",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateIdentity",type:{kind:"NON_NULL",ofType:{name:"Identity",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"identity",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateIdentityProvider",type:{kind:"NON_NULL",ofType:{name:"IdentityProvider",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"identityProvider",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateMetadata",type:{kind:"NON_NULL",ofType:{name:"IdentityMetadata",kind:"OBJECT",ofType:null}},args:[{name:"metadata",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateRepo",type:{kind:"NON_NULL",ofType:{name:"Repo",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateRequestGroup",type:{kind:"NON_NULL",ofType:{name:"RequestGroup",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateRole",type:{kind:"NON_NULL",ofType:{name:"Role",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"role",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"updateRoleBinding",type:{kind:"NON_NULL",ofType:{name:"RoleBinding",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"roleBinding",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]}],interfaces:[]},{kind:"OBJECT",name:"NpmPackage",fields:[{name:"description",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"latestVersion",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"license",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"packageName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"sourceType",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"versionCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"NpmPackageList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"NpmPackage",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"totalCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"NpmPackageVersion",fields:[{name:"createdAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"fileCount",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"license",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"packageName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"sourceType",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"upstreamPublishedDate",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"NpmPackageVersionList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"NpmPackageVersion",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"totalCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"OnboardingQuestions",fields:[{name:"companyName",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"hubspotUtk",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"jobTitle",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"latestFormSubmitUrl",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"latestInternalReferringUrl",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"product",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"providers",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},args:[]},{name:"selfServe",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"utmCampaign",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"utmContent",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"utmMedium",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"utmSource",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"utmTerm",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"PackageEntitlement",fields:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"tier",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"PackageEntitlementList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"PackageEntitlement",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"PackageVersion",fields:[{name:"eolBroken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"eolDate",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"exists",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"fips",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"latestVersion",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"lts",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"releaseDate",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Pagination",fields:[{name:"next",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"page",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"pageSize",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"total",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"PatchedV2",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"patchedVersions",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"PendingUpstreamFix",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"PendingUpstreamFixV2",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"PkgMetadata",fields:[{name:"buildTimestamp",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"eolDate",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"license",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"originPurl",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"purl",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Profile",fields:[{name:"familyName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"givenName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"picture",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"PullToken",fields:[{name:"expiration",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"password",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"registry",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"username",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Query",fields:[{name:"advisories",type:{kind:"NON_NULL",ofType:{name:"AdvisoriesSummary",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"advisoriesByDigest",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"AdvisoryV2",kind:"OBJECT",ofType:null}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"advisoriesCountByType",type:{kind:"NON_NULL",ofType:{name:"AdvisoriesCountByType",kind:"OBJECT",ofType:null}},args:[]},{name:"advisoriesForCves",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"AdvisoryDocument",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"advisoriesQuery",type:{kind:"NON_NULL",ofType:{name:"AdvisoriesResult",kind:"OBJECT",ofType:null}},args:[{name:"filterModel",type:{kind:"SCALAR",name:"Any"}},{name:"pagination",type:{kind:"SCALAR",name:"Any"}}]},{name:"advisoriesV2",type:{kind:"NON_NULL",ofType:{name:"AdvisoriesV2",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"advisoriesV2Query",type:{kind:"NON_NULL",ofType:{name:"AdvisoriesV2Result",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"advisoryCve",type:{kind:"NON_NULL",ofType:{name:"Advisory",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"package",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"advisoryDocuments",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"AdvisoryDocument",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"advisoryForPackageAndCve",type:{kind:"NON_NULL",ofType:{name:"Advisory",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"advisoryV2ForPackageAndCve",type:{kind:"NON_NULL",ofType:{name:"AdvisoryV2",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"apkSummaries",type:{kind:"NON_NULL",ofType:{name:"APKPackageSummaryList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"apks",type:{kind:"NON_NULL",ofType:{name:"APKList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"argosDocuments",type:{kind:"NON_NULL",ofType:{name:"ArgosDocumentList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"argosOrgPublicKey",type:{kind:"NON_NULL",ofType:{name:"ArgosOrgPublicKey",kind:"OBJECT",ofType:null}},args:[{name:"parentID",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"argosVulnList",type:{kind:"NON_NULL",ofType:{name:"ArgosVulnList",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"argosVulnQuery",type:{kind:"NON_NULL",ofType:{name:"ArgosVulnList",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"argosVulnsBatchGet",type:{kind:"NON_NULL",ofType:{name:"ArgosVulnList",kind:"OBJECT",ofType:null}},args:[{name:"input",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"artifactVersions",type:{kind:"NON_NULL",ofType:{name:"ArtifactVersionList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"artifacts",type:{kind:"NON_NULL",ofType:{name:"ArtifactList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"awsMarketplaceSubscription",type:{kind:"NON_NULL",ofType:{name:"AWSMarketplaceSubscription",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"awsMarketplaceSubscriptions",type:{kind:"NON_NULL",ofType:{name:"AWSMarketplaceSubscriptionList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"buildReports",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"BuildReport",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"buildStatus",type:{kind:"NON_NULL",ofType:{name:"BuildStatus",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"chart",type:{kind:"NON_NULL",ofType:{name:"Chart",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"chartsByImageRepo",type:{kind:"NON_NULL",ofType:{name:"ListChartsByImageRepoResponse",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"chartsByImageRepos",type:{kind:"NON_NULL",ofType:{name:"ListChartImageBindingsResponse",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"checkEligibility",type:{kind:"NON_NULL",ofType:{name:"CheckEligibilityResponse",kind:"OBJECT",ofType:null}},args:[]},{name:"cumulativeVulnCountReports",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"VulnCountReport",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"digestCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"effectiveRegistryEntitlements",type:{kind:"NON_NULL",ofType:{name:"GetEffectiveEntitlementsResponse",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"eolTags",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EolTag",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"externalGroupRoleMapping",type:{kind:"NON_NULL",ofType:{name:"ExternalGroupRoleMapping",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"externalGroupRoleMappings",type:{k
2001ind:"NON_NULL",ofType:{name:"ExternalGroupRoleMappingList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"group",type:{kind:"NON_NULL",ofType:{name:"Group",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"groups",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Group",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"identities",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Identity",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"identity",type:{kind:"NON_NULL",ofType:{name:"Identity",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"identityProvider",type:{kind:"NON_NULL",ofType:{name:"IdentityProvider",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"identityProviders",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"IdentityProvider",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"invites",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"StoredGroupInvite",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"libraryEntitlements",type:{kind:"NON_NULL",ofType:{name:"LibraryEntitlementList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"lookupOrg",type:{kind:"NON_NULL",ofType:{name:"LookupGroupResponse",kind:"OBJECT",ofType:null}},args:[]},{name:"malwareBlockList",type:{kind:"NON_NULL",ofType:{name:"MalwareBlockListEntryList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"malwareBlockListPeriodCounts",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"MalwareBlockListPeriodCount",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"npmPackageVersions",type:{kind:"NON_NULL",ofType:{name:"NpmPackageVersionList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"npmPackages",type:{kind:"NON_NULL",ofType:{name:"NpmPackageList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"packageEntitlements",type:{kind:"NON_NULL",ofType:{name:"PackageEntitlementList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"profile",type:{kind:"OBJECT",name:"Profile",ofType:null},args:[]},{name:"registryEntitlements",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RegistryEntitlement",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"registrySettings",type:{kind:"NON_NULL",ofType:{name:"RegistrySettings",kind:"OBJECT",ofType:null}},args:[{name:"registryId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"repos",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Repo",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"requestGroup",type:{kind:"NON_NULL",ofType:{name:"RequestGroup",kind:"OBJECT",ofType:null}},args:[{name:"parentId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},{name:"uid",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"requestGroupItems",type:{kind:"NON_NULL",ofType:{name:"RequestGroupItemList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"requestGroups",type:{kind:"NON_NULL",ofType:{name:"RequestGroupList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"requestedLibraries",type:{kind:"NON_NULL",ofType:{name:"RequestedLibraryList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"requestedLibraryVersions",type:{kind:"NON_NULL",ofType:{name:"RequestedLibraryVersionList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"resolvedCveCountReport",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ResolvedVulnsReport",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"role",type:{kind:"NON_NULL",ofType:{name:"Role",kind:"OBJECT",ofType:null}},args:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"roleBindings",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RoleBinding",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"roles",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Role",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"scimUsers",type:{kind:"NON_NULL",ofType:{name:"ScimUserList",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"searchSkills",type:{kind:"NON_NULL",ofType:{name:"SearchSkillsResponse",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"skillSources",type:{kind:"NON_NULL",ofType:{name:"ListSkillSourcesResponse",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"skills",type:{kind:"NON_NULL",ofType:{name:"ListSkillsResponse",kind:"OBJECT",ofType:null}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"stigReport",type:{kind:"OBJECT",name:"StigReport",ofType:null},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"stigReportXml",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"syncStatus",type:{kind:"NON_NULL",ofType:{name:"SyncStatus",kind:"OBJECT",ofType:null}},args:[{name:"repoId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"syncStatuses",type:{kind:"NON_NULL",ofType:{name:"SyncStatusList",kind:"OBJECT",ofType:null}},args:[{name:"registryId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}]},{name:"tags",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Tag",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"vulnCountReport",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"VulnCountReport",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"vulnCountReportWithNetNew",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"VulnCountReportWithNetNew",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"vulnerabilityMetadata",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"VulnerabilityMetadata",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"whoami",type:{kind:"NON_NULL",ofType:{name:"WhoAmI",kind:"OBJECT",ofType:null}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RawSbom",fields:[{name:"rawSbom",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Reference",fields:[{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"url",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RegenerateScimTokenResponse",fields:[{name:"endpointUrl",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"etag",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"expireTime",type:{kind:"SCALAR",name:"Any"},args:[]}
2001,{name:"identityProviderId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"previousTokenExpireTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"requestedOverlapSeconds",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"token",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RegistryEntitlement",fields:[{name:"createTime",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"expirationTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"externalId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"images",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EntitlementImage",kind:"OBJECT",ofType:null}}}},args:[]},{name:"quota",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RegistryTierQuota",kind:"OBJECT",ofType:null}}}},args:[]},{name:"tiers",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"updateTime",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RegistryImageQuota",fields:[{name:"catalogTier",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"current",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"max",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RegistrySettings",fields:[{name:"eolGracePeriod",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"registryId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"uniqueTags",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RegistryTierQuota",fields:[{name:"current",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"max",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"tier",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RemoveEntitlementImagesResponse",fields:[{name:"images",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EntitledImage",kind:"OBJECT",ofType:null}}}},args:[]},{name:"parent",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RemoveItemsResult",fields:[{name:"availabilitySummary",type:{kind:"OBJECT",name:"AvailabilitySummary",ofType:null},args:[]},{name:"parentId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"removedCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"uid",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Repo",fields:[{name:"activeTags",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},args:[]},{name:"aliases",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}},args:[]},{name:"catalogTier",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"createTime",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"customOverlay",type:{kind:"OBJECT",name:"CustomOverlay",ofType:null},args:[]},{name:"customizable",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"customized",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"eolTags",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EolTag",kind:"OBJECT",ofType:null}}},args:[]},{name:"friendlyName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"helmCompatible",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"keywords",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"overview",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"shortDescription",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"syncConfig",type:{kind:"OBJECT",name:"SyncConfig",ofType:null},args:[]},{name:"syncCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"tagInfo",type:{kind:"OBJECT",name:"TagInfo",ofType:null},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"tagSummary",type:{kind:"OBJECT",name:"RepoTagsSummary",ofType:null},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"tags",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Tag",kind:"OBJECT",ofType:null}}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]}],interfaces:[]},{kind:"OBJECT",name:"RepoSyncStatus",fields:[{name:"repoId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"repoStatus",type:{kind:"NON_NULL",ofType:{name:"SyncStatus",kind:"OBJECT",ofType:null}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RepoTagsSummary",fields:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"isVersionStreamed",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"lastUpdated",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"latestTag",type:{kind:"OBJECT",name:"Tag",ofType:null},args:[]},{name:"latestVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"tagCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RequestGroup",fields:[{name:"availabilitySummary",type:{kind:"OBJECT",name:"AvailabilitySummary",ofType:null},args:[]},{name:"createTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"createdBy",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"cveRemediationSummary",type:{kind:"OBJECT",name:"CVERemediationSummary",ofType:null},args:[]},{name:"ecosystem",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"forCveRemediation",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"input",type:{kind:"OBJECT",name:"InputMetadata",ofType:null},args:[]},{name:"itemsUpdateTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"orgUpstreamEnabled",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"parentId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"source",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"status",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"submitTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"submittedBy",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"uid",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"updateTime",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RequestGroupItem",fields:[{name:"availability",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"availabilityReason",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"cveRemediation",type:{kind:"OBJECT",name:"CVERemediation",ofType:null},args:[]},{name:"ecosystem",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"packageName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"removed",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"requirement",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"uid",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"updateTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"upgrade",type:{kind:"OBJECT",name:"Upgrade",ofType:null},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RequestGroupItemList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RequestGroupItem",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"skipped",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RequestGroupList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RequestGroup",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"skipped",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RequestGroupRef",fields:[{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"uid",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RequestedLibrary",fields:[{name:"buildStatus",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"builtVersionCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"contributingGroupCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"contributingGroups",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RequestGroupRef",kind:"OBJECT",ofType:null}}}},args:[]},{name:"cveStatus",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"ecosystem",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"lastRequestTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"remediatedCveCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"requestedVersionCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"sources",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RequestedLibraryList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RequestedLibrary",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"skipped",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RequestedLibraryVersion",fields:[{name:"availability",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"availabilityReason",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"contributingGroups",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RequestGroupRef",kind:"OBJECT",ofType:null}}}},args:[]},{name:"cveRemediation",type:{kind:"OBJECT",name:"CVERemediation",ofType:null},args:[]},{name:"lastRequestTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"requestedBy",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"sources",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"upgrade",type:{kind:"OBJECT",name:"Upgrade",ofType:null},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RequestedLibraryVersionList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RequestedLibraryVersion",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"skipped",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ResolvedVuln",fields:[{name:"aliases",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"cvssSeverities",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Severity",kind:"OBJECT",ofType:null}}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ResolvedVulnsReport",fields:[{name:"date",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"resolvedVulns",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ResolvedVuln",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ResourceLimit",fields:[{name:"quota",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RestoreItemsResult",fields:[{name:"availabilitySummary",type:{kind:"OBJECT",name:"AvailabilitySummary",ofType:null},args:[]},{name:"parentId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"restoredCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"uid",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RevokeScimTokenResponse",fields:[{name:"enabled",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"etag",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}
2001,{name:"identityProviderId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"revokeTime",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Role",fields:[{name:"capabilities",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"RoleBinding",fields:[{name:"createdAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"email",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"emailUnverified",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"group",type:{kind:"NON_NULL",ofType:{name:"Group",kind:"OBJECT",ofType:null}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"identity",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"issuer",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"managedBy",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"managedByUidp",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"role",type:{kind:"NON_NULL",ofType:{name:"Role",kind:"OBJECT",ofType:null}},args:[]},{name:"subject",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ScannerReport",fields:[{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"lastSeen",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"reportGeneration",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"scanner",type:{kind:"NON_NULL",ofType:{name:"VulnScanner",kind:"OBJECT",ofType:null}},args:[]},{name:"vulnerabilities",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Vuln",kind:"OBJECT",ofType:null}}},args:[]},{name:"vulnerabilityDbLastBuildTime",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ScimUser",fields:[{name:"active",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"createdAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"displayName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"externalId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"iamIdentityUidp",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"identityProviderUidp",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"updatedAt",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"userName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"ScimUserList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"ScimUser",kind:"OBJECT",ofType:null}}}},args:[]},{name:"totalCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"SearchSkillsResponse",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Skill",kind:"OBJECT",ofType:null}}}},args:[]},{name:"nextPageToken",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"totalCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"SessionCapability",fields:[{name:"capabilities",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"group",type:{kind:"NON_NULL",ofType:{name:"Group",kind:"OBJECT",ofType:null}},args:[]},{name:"role",type:{kind:"OBJECT",name:"Role",ofType:null},args:[]}],interfaces:[]},{kind:"OBJECT",name:"SetScimEnabledResponse",fields:[{name:"enabled",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"etag",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}
2001,{name:"identityProviderId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Severity",fields:[{name:"score",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"type",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Size",fields:[{name:"arch",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"size",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Skill",fields:[{name:"category",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"createTime",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"downloads",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"hardened",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"keywords",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"license",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"source",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"stars",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"updateTime",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"SkillSource",fields:[{name:"source",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"StigGroupSummary",fields:[{name:"groupId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"groupTitle",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"resultCounts",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"StigResultCount",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"StigReport",fields:[{name:"architecture",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"datastreamVersion",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"endTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"groups",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"StigGroupSummary",kind:"OBJECT",ofType:null}}}},args:[]},{name:"profileId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"resultCounts",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"StigResultCount",kind:"OBJECT",ofType:null}}}},args:[]},{name:"rules",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"StigRuleResult",kind:"OBJECT",ofType:null}}}},args:[]},{name:"scannedDigest",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"scannerImage",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"startTime",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"xccdfSha256",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"StigResultCount",fields:[{name:"count",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"result",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"StigRuleResult",fields:[{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"groupId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"groupTitle",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"result",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"ruleId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"severity",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"title",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"StoredGroupInvite",fields:[{name:"createdAt",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"email",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"expiration",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"role",type:{kind:"NON_NULL",ofType:{name:"Role",kind:"OBJECT",ofType:null}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"SwapEntitlementImagesResponse",fields:[{name:"added",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EntitledImage",kind:"OBJECT",ofType:null}}}},args:[]},{name:"parent",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"removed",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"EntitledImage",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"SyncConfig",fields:[{name:"apkoOverlay",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"expiration",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"gracePeriod",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"source",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"syncApks",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"uniqueTags",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"SyncStatus",fields:[{name:"createTime",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"status",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"SyncStatusList",fields:[{name:"items",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"RepoSyncStatus",kind:"OBJECT",ofType:null}}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Tag",fields:[{name:"archs",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"buildReports",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"BuildReport",kind:"OBJECT",ofType:null}}},args:[]},{name:"config",type:{kind:"OBJECT",name:"ImageConfig",ofType:null},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"deprecated",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"digest",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"fipsCertificates",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"FipsCertificate",kind:"OBJECT",ofType:null}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"guarded",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"helm",type:{kind:"OBJECT",name:"Helm",ofType:null},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"keywords",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"lastUpdated",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"manifestMetadata",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{name:"ManifestMetadata",kind:"OBJECT",ofType:null}}},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"rawSbom",type:{kind:"OBJECT",name:"RawSbom",ofType:null},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"scannerReport",type:{kind:"OBJECT",name:"ScannerReport",ofType:null},args:[]},{name:"size",type:{kind:"OBJECT",name:"Size",ofType:null},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"versionMetadata",type:{kind:"OBJECT",name:"VersionMetadata",ofType:null},args:[{name:"filter",type:{kind:"SCALAR",name:"Any"}}]},{name:"vulnerabilities",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Vuln",kind:"OBJECT",ofType:null}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"TagInfo",fields:[{name:"isVersionStreamed",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"lastUpdated",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"latestTag",type:{kind:"OBJECT",name:"Tag",ofType:null},args:[]},{name:"latestVersion",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"tagCount",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"TruePositiveDetermination",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]}
2001,{kind:"OBJECT",name:"TruePositiveDeterminationV2",fields:[{name:"note",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Upgrade",fields:[{name:"closestVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"latestVersion",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"VersionMetadata",fields:[{name:"eolBroken",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"eolDate",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"gracePeriodMonths",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"mainPackage",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"Vuln",fields:[{name:"cveId",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"cvss",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"VulnCvss",kind:"OBJECT",ofType:null}}}},args:[]},{name:"description",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"distroPackageName",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"fixedVersions",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"lastSeen",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"package",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"relatedUrls",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"severity",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"VulnCount",fields:[{name:"count",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"severity",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"VulnCountReport",fields:[{name:"critCveIds",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"cveIds",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"date",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"highCveIds",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"lowCveIds",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"medCveIds",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"negligibleCveIds",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"repo",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"sizeBytes",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"tag",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"unknownCveIds",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}}}},args:[]},{name:"vulnCounts",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{name:"VulnCount",kind:"OBJECT",ofType:null}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"VulnCountReportWithNetNew",fields:[{name:"date",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"netNew",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"repo",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"sizeBytes",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"tag",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"vulnCounts",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{name:"VulnCount",kind:"OBJECT",ofType:null}}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"VulnCvss",fields:[{name:"score",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"severity",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"VulnScanner",fields:[{name:"name",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"version",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]}],interfaces:[]},{kind:"OBJECT",name:"VulnerabilityMetadata",fields:[{name:"details",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"id",type:{kind:"NON_NULL",ofType:{kind:"SCALAR",name:"Any"}},args:[]},{name:"references",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Reference",kind:"OBJECT",ofType:null}}},args:[]},{name:"severity",type:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"Severity",kind:"OBJECT",ofType:null}}},args:[]},{name:"summary",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"OBJECT",name:"WhoAmI",fields:[{name:"capabilities",type:{kind:"NON_NULL",ofType:{kind:"LIST",ofType:{kind:"NON_NULL",ofType:{name:"SessionCapability",kind:"OBJECT",ofType:null}}}},args:[]},{name:"expiry",type:{kind:"SCALAR",name:"Any"},args:[]},{name:"issuedAt",type:{kind:"SCALAR",name:"Any"},args:[]}],interfaces:[]},{kind:"SCALAR",name:"Any"}],directives:[]}};
2001function Ott(){return Att({schema:Ltt,keys:{AWSMarketplaceSubscriptionList:()=>null,AdvisoriesCountByType:()=>null,AdvisoriesResult:()=>null,AdvisoriesSummary:()=>null,AdvisoriesV2Result:()=>null,Advisory:()=>null,AdvisoryDocument:e=>e.id+e.advisories.length,AdvisorySeverity:()=>null,AnalysisNotPlanned:()=>null,AnalysisNotPlannedV2:()=>null,ArgosDocumentList:()=>null,ArgosOrgPublicKey:()=>null,ArgosVulnAffected:()=>null,ArgosVulnDatabaseSpecific:()=>null,ArgosVulnEvent:()=>null,ArgosVulnList:()=>null,ArgosVulnPackage:()=>null,ArgosVulnRange:()=>null,ArgosVulnSeverity:()=>null,ArgosVulnSinkLocator:()=>null,ArtifactList:()=>null,ArtifactVersionList:()=>null,BuildStatus:()=>null,BuildStatus_Failures:e=>e.repoId,Chart:()=>null,ChartAnnotation:()=>null,ChartDependency:()=>null,ChartImage:()=>null,ChartImageBinding:e=>`${e.chartRepo}-${e.imageRepo}`,CheckEligibilityResponse:()=>null,Claim:()=>null,ClaimPattern:()=>null,Count:()=>null,CustomOverlay:()=>null,Detection:()=>null,DetectionTypeNVDAPI:()=>null,DetectionV2:()=>null,EolTag:()=>null,Event:()=>null,EventCountByType:e=>e.type,EventV2:()=>null,ExternalGroupRoleMappingList:()=>null,FalsePositiveDetermination:()=>null,FalsePositiveDeterminationV2:()=>null,FixNotPlanned:()=>null,FixNotPlannedV2:()=>null,Fixed:()=>null,FixedV2:()=>null,GenerateScimTokenResponse:()=>null,GetEffectiveEntitlementsResponse:()=>null,Helm:()=>null,IdentityProvider_OIDC:()=>null,IdentityProvider_SCIM:()=>null,Identity_AWSIdentity:()=>null,Identity_ClaimMatch:()=>null,Identity_StaticKeys:()=>null,ImageConfig:()=>null,ImageConfigLabel:()=>null,ImageContents:()=>null,LibraryEntitlementList:()=>null,ListChartImageBindingsResponse:()=>null,MalwareBlockListEntry:e=>`${e.packageName}-${e.version}-${e.malid}`,MalwareBlockListEntryList:()=>null,MalwareBlockListPeriodCount:()=>null,ManifestMetadata:()=>null,NpmPackage:e=>`${e.packageName}-${e.sourceType}`,NpmPackageList:()=>null,NpmPackageVersion:e=>`${e.version}-${e.sourceType}`,NpmPackageVersionList:()=>null,PackageEntitlementList:()=>null,PackageVersion:()=>null,Pagination:()=>null,PatchedV2:()=>null,PendingUpstreamFix:()=>null,PendingUpstreamFixV2:()=>null,PkgMetadata:()=>null,Profile:()=>null,Reference:()=>null,RegenerateScimTokenResponse:()=>null,RegistryImageQuota:()=>null,RegistrySettings:()=>null,RegistryTierQuota:()=>null,RepoTagsSummary:()=>null,ResolvedVulnsReport:()=>null,RevokeScimTokenResponse:()=>null,SearchSkillsResponse:()=>null,SessionCapability:()=>null,SetScimEnabledResponse:()=>null,Severity:()=>null,Size:()=>null,SyncConfig:()=>null,Tag:()=>null,TruePositiveDetermination:()=>null,TruePositiveDeterminationV2:()=>null,VersionMetadata:()=>null,VulnCount:()=>null,VulnCountReport:e=>`${e.repo}-${e.tag}-${e.date}`,VulnCountReportWithNetNew:e=>`${e.repo}-${e.tag}-${e.date}-net-new`,VulnCvss:()=>null,VulnScanner:e=>`${e.name}-${e.version}`,VulnerabilityMetadata:()=>null,WhoAmI:()=>null},resolvers:{Query:{group(e,t){return{__typename:"Group",id:t.id}}}},updates:{Query:{buildReports(e,t,n){const r=t.filter?.uidp?.descendantsOf;r&&Fn(n,"tags",(i,o)=>{o.filter?.id?.startsWith(r)&&n.invalidate("Query",i.fieldKey)})}},Mutation:{addEntitlementImages(e,t,n){Fn(n,"registryEntitlements",r=>{n.invalidate("Query",r.fieldKey)}),Fn(n,"effectiveRegistryEntitlements",r=>{n.invalidate("Query",r.fieldKey)})},swapEntitlementImages(e,t,n){Fn(n,"registryEntitlements",r=>{n.invalidate("Query",r.fieldKey)}),Fn(n,"effectiveRegistryEntitlements",r=>{n.invalidate("Query",r.fieldKey)})},createArgosDocument(e,t,n){Fn(n,"argosDocuments",r=>{n.invalidate("Query",r.fieldKey)})},deleteArgosDocument(e,t,n){Fn(n,"argosDocuments",r=>{n.invalidate("Query",r.fieldKey)})},createAWSMarketplaceSubscription(e,t,n){Fn(n,"awsMarketplaceSubscriptions",r=>{n.invalidate("Query",r.fieldKey)})},updateAWSMarketplaceSubscription(e,t,n){Fn(n,"awsMarketplaceSubscriptions",r=>{n.invalidate("Query",r.fieldKey)})},createLibraryEntitlement(e,t,n){Fn(n,"libraryEntitlements",r=>{n.invalidate("Query",r.fieldKey)})},createRoleBinding(e,t,n){Fn(n,"roleBindings",(r,i)=>{e.createRoleBinding.id.includes(i?.filter?.uidp?.descendantsOf??"")&&n.updateQuery({query:bO,variables:i},o=>(o?.roleBindings.push({__typename:"RoleBinding",id:e.createRoleBinding.id,identity:e.createRoleBinding.identity}),o))})},createPullToken(e,t,n){Fn(n,"identities",(r,i)=>{e.createPullToken.username.includes(i?.filter?.uidp?.childrenOf??"")&&n.updateQuery({query:jS,variables:i},o=>(o?.identities.push({__typename:"Identity",id:e.createPullToken.username}),o))}),Fn(n,"roleBindings",r=>{n.invalidate("Query",r.fieldKey)})}
2001,createIdentity(e,t,n){Fn(n,"identities",(r,i)=>{e.createIdentity.id.includes(i?.filter?.uidp?.childrenOf??"")&&n.updateQuery({query:jS,variables:i},o=>(o?.identities.push({__typename:"Identity",id:e.createIdentity.id}),o))})},createInvite(e,t,n){Fn(n,"invites",(r,i)=>{e.createInvite.id.includes(i.filter?.group??"")&&n.updateQuery({query:SO,variables:i},o=>(o?.invites.push({__typename:"StoredGroupInvite",id:e.createInvite.id}),o))})},addChart(e,t,n){Fn(n,"repos",r=>{n.invalidate("Query",r.fieldKey)})},createRepo(e,t,n){Fn(n,"repos",(r,i)=>{e.createRepo.id.includes(i.filter?.uidp?.childrenOf??i.filter?.uidp?.descendantsOf??"")&&n.updateQuery({query:TO,variables:i},o=>(o?.repos.push({__typename:"Repo",id:e.createRepo.id}),o))})},deleteRepo(e,t,n){Fn(n,"repos",(r,i)=>{i&&!t.id.includes(i.filter?.uidp?.descendantsOf??"")||n.updateQuery({query:TO,variables:i},o=>(o&&(o.repos=o.repos.filter(a=>a.id!==t.id)),o))})},deleteIdentity(e,t,n){Fn(n,"identities",(r,i)=>{i&&!t.id.includes(i.filter?.uidp?.descendantsOf??"")||(n.updateQuery({query:jS,variables:i},o=>(o&&(o.identities=o.identities.filter(a=>a.id!==t.id)),o)),n.updateQuery({query:bO},o=>(o&&(o.roleBindings=o.roleBindings.filter(a=>a.identity!==t.id)),o)))})},deleteExpiredPullTokens(e,t,n){Fn(n,"identities",r=>{n.invalidate("Query",r.fieldKey)}),Fn(n,"roleBindings",r=>{n.invalidate("Query",r.fieldKey)})},deleteInvite(e,t,n){Fn(n,"invites",(r,i)=>{i&&!t.id.includes(i.filter?.group??"")||n.updateQuery({query:SO,variables:i},o=>(o&&(o.invites=o.invites.filter(a=>a.id!==t.id)),o))})},createIdentityProvider(e,t,n){Fn(n,"identityProviders",(r,i)=>{e.createIdentityProvider.id.includes(i?.filter?.uidp?.descendantsOf??"")&&n.updateQuery({query:EO},o=>(o?.identityProviders.push({__typename:"IdentityProvider",id:e.createIdentityProvider.id}),o))})},deleteIdentityProvider(e,t,n){Fn(n,"identityProviders",(r,i)=>{i&&!t.id.includes(i.filter?.uidp?.descendantsOf??"")||n.updateQuery({query:EO},o=>(o&&(o.identityProviders=o.identityProviders.filter(a=>a.id!==t.id)),o))})},updateIdentityProvider(e,t,n){Fn(n,"identityProviders",r=>{n.invalidate("Query",r.fieldKey)})},generateScimToken(e,t,n){Fn(n,"identityProviders",r=>{n.invalidate("Query",r.fieldKey)})},regenerateScimToken(e,t,n){Fn(n,"identityProviders",r=>{n.invalidate("Query",r.fieldKey)})},revokeScimToken(e,t,n){Fn(n,"identityProviders",r=>{n.invalidate("Query",r.fieldKey)})},setScimEnabled(e,t,n){Fn(n,"identityProviders",r=>{n.invalidate("Query",r.fieldKey)})},createExternalGroupRoleMapping(e,t,n){Fn(n,"externalGroupRoleMappings",r=>{n.invalidate("Query",r.fieldKey)})},deleteExternalGroupRoleMapping(e,t,n){Fn(n,"externalGroupRoleMappings",r=>{n.invalidate("Query",r.fieldKey)})},batchDeleteExternalGroupRoleMappings(e,t,n){Fn(n,"externalGroupRoleMappings",r=>{n.invalidate("Query",r.fieldKey)})},deleteRoleBinding(e,t,n){Fn(n,"identities",r=>{n.invalidate("Query",r.fieldKey)}),Fn(n,"roleBindings",r=>{n.invalidate("Query",r.fieldKey)})},createRole(e,t,n){Fn(n,"roles",r=>{n.invalidate("Query",r.fieldKey)})},updateRole(e,t,n){Fn(n,"roles",r=>{n.invalidate("Query",r.fieldKey)})},deleteRole(e,t,n){Fn(n,"roles",r=>{n.invalidate("Query",r.fieldKey)})},updateRepo(e,t,n){Fn(n,"tags",(r,i)=>{i.filter?.id?.startsWith(t.id)&&n.invalidate("Query",r.fieldKey)})}}}})}function Fn(e,t,n){e.inspectFields("Query").filter(r=>r.fieldName===t).forEach(r=>{n(r,r.arguments)})}const Ptt={initialDelayMs:1e3,maxDelayMs:15e3,randomDelay:!0,maxNumberAttempts:2,retryIf(e){return!!e.networkError||e.graphQLErrors.some(t=>t.extensions?.code===B_.UNAVAILABLE)}},_tt=({forward:e})=>t=>{const n=e(t);return _E(n,qs(r=>r.error?{...r,data:void 0}:r))},Dtt=({forward:e})=>t=>e(_E(t,qs(r=>{const i=new URL(r.context.url);if(i.searchParams.append("id",FC(r.query)||"Unknown"),r.variables){const o=JSON.stringify(r.variables).replaceAll('"',"");o.length<3e3&&(i.hash=o)}return{...r,context:{...r.context,url:i.toString()}}}))),Mtt=3e3;function Ftt(e){if(e?.networkError)return"network";if(e?.graphQLErrors.length)return"graphql"}const Utt=({forward:e})=>{const t=new Map;return n=>_E(e(_E(n,qs(r=>(r.kind==="teardown"?t.delete(r.key):t.set(r.key,performance.now()),r)))),qs(r=>{const i=t.get(r.operation.key);if(i===void 0)return r;t.delete(r.operation.key);const o=performance.now()-i;return!ohe()||o<Mtt||rr.track("GraphQLOperationTiming",{operation:FC(r.operation.query)||"Unknown",kind:r.operation.kind,durationMs:Math.round(o),error:Ftt(r.error)}),r}))};function Vtt(){const e=ha(),t=w$(),{storageToken:n}=ma(),r="2020-04-02T20:42:57.240Z",i=sLe(),o=m.useRef({auth:e,loginPopup:t,storageToken:n});return o.current={auth:e,loginPopup:t,storageToken:n},m.useMemo(()=>new O4e({url:i,preferGetMethod:!1,exchanges:[Ott(),_tt,ntt(async s=>({didAuthError(l){return l.graphQLErrors.some(u=>u.extensions?.code===B_.UNAUTHENTICATED)},willAuthError(){const{auth:l}=o.current;return!!l.rawToken&&l.expired},async refreshAuth(){const{auth:l,loginPopup:u}=o.current;await u.backgroundRefresh().catch(()=>l.logout());const{auth:c,storageToken:f}=o.current,p=sye(f);p&&p!==c.rawToken&&(o.current={...o.current,auth:{...c,rawToken:p,expired:!1}})},addAuthToOperation(l){const u=o.current.auth.rawToken;return u?s.appendHeaders(l,{Authorization:`Bearer ${u}`}):l}})),rtt(Ptt),Dtt,Utt,R4e],fetchOptions:()=>({headers:{"Chainguard-Active-Since":r,"chainguard-session-id":she()}})}),[r,e.rawToken,i])}const Btt=({children:e})=>{const t=Vtt();return b.jsx(_4e,{value:t,children:e})},jtt=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M499.46-298.52q7.77-7.75 7.77-19.46t-7.75-19.48q-7.75-7.77-19.46-7.77t-19.48 7.75q-7.77 7.75-7.77 19.46t7.75 19.48q7.75 7.77 19.46 7.77t19.48-7.75Zm-39.92-133.33h45.38v-249.53h-45.38v249.53ZM480.33-100q-78.95 0-147.89-29.92-68.95-29.92-120.76-81.71-51.81-51.79-81.75-120.78Q100-401.39 100-480.43q0-78.66 29.92-147.87 29.92-69.21 81.71-120.52 51.79-51.31 120.78-81.25Q401.39-860 480.43-860q78.66 0 147.87 29.92 69.21 29.92 120.52 81.21 51.31 51.29 81.25 120.63Q860-558.9 860-480.33q0 78.95-29.92 147.89-29.92 68.95-81.21 120.57-51.29 51.63-120.63 81.75Q558.9-100 480.33-100Zm.17-45.39q139.19 0 236.65-97.76 97.46-97.77 97.46-237.35 0-139.19-97.27-236.65-97.27-97.46-237.34-97.46-139.08 0-236.85 97.27-97.76 97.27-97.76 237.34 0 139.08 97.76 236.85 97.77 97.76 237.35 97.76ZM480-480Z"})),Ore=m.memo(jtt),ztt=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M74.62-140 480-840l405.38 700H74.62Zm78.61-45.39h653.54L480-749.23 153.23-185.39Zm347.46-67.41q7.16-7.33 7.16-17.84t-7.34-1
20017.67q-7.34-7.15-17.85-7.15-10.51 0-17.66 7.33-7.15 7.34-7.15 17.85 0 10.51 7.33 17.66 7.34 7.16 17.85 7.16 10.51 0 17.66-7.34Zm-40.54-90.58h45.39v-217.85h-45.39v217.85ZM480-467.31Z"})),Pre=m.memo(ztt),Htt={defaultProps:{iconMapping:{default:b.jsx(IE,{}),info:b.jsx(IE,{}),success:b.jsx(Z_,{}),warning:b.jsx(Pre,{}),error:b.jsx(Ore,{})}},styleOverrides:{icon:({theme:e})=>({paddingTop:e.spacing(1)})},variants:[{props:{color:"default"},style:({theme:e})=>({color:e.palette.text.primary,backgroundColor:e.palette.background.paper})},{props:{severity:"default",variant:"standard"},style:({theme:e})=>({color:e.palette.text.primary,backgroundColor:e.palette.background.paper})},{props:{severity:"default",variant:"filled"},style:({theme:e})=>({color:e.palette.text.primary,backgroundColor:e.palette.background.paper})},{props:{severity:"default",variant:"outlined"},style:({theme:e})=>({color:e.palette.text.primary,border:`1px solid ${e.palette.text.secondary}`})}]},Wtt={defaultProps:{elevation:0},styleOverrides:{root:({theme:e})=>({backgroundColor:e.palette.background.default})}},qtt={defaultProps:{clearIcon:b.jsx(Mu,{}),popupIcon:b.jsx(LA,{}),slotProps:{paper:{variant:"outlined"}},size:"small"},styleOverrides:{inputRoot:{[`& .${gE.positionStart}`]:{marginLeft:"5px",marginRight:"3px"}},listbox:({theme:e})=>({margin:e.spacing(1),padding:0}),paper:({theme:e})=>({marginTop:e.spacing(1)}),option:({theme:e})=>({fontSize:e.typography.body2.fontSize,padding:e.spacing(1),borderRadius:e.shape.borderRadius,"&[aria-selected='true'][aria-selected='true']":{backgroundColor:e.palette.action.selected},"&.Mui-focused":{backgroundColor:e.palette.action.hover,outline:`2px solid ${e.palette.primary.main}`,outlineOffset:-2},"&[aria-selected='true'][aria-selected='true'].Mui-focused":{backgroundColor:e.palette.action.focus,outline:`2px solid ${e.palette.primary.main}`,outlineOffset:-2}})}},Gtt={styleOverrides:{root:{width:24,height:24}}},Ktt={defaultProps:{disableRipple:!0},styleOverrides:{root:({theme:e})=>({"&.Mui-focusVisible":{outline:`3px solid ${Qt(e.palette.primary.main,.5)}`}})}},Ytt={defaultProps:{disableElevation:!0,variant:"contained"},styleOverrides:{contained:{variants:[{props:{color:"primary"},style:({theme:e})=>e.palette.mode==="dark"?{color:e.palette.getContrastText(e.palette.blurple.main),backgroundColor:e.palette.blurple.main,"&:hover":{backgroundColor:ia(e.palette.blurple.main,.2)}}:{}},{props:{color:"error"},style:({theme:e})=>e.palette.mode==="dark"?{backgroundColor:e.palette.error.dark,"&:hover":{backgroundColor:ia(e.palette.error.dark,.2)}}:{}},{props:{color:"primaryMuted"},style:({theme:e})=>e.palette.mode==="dark"?{color:e.palette.blurple.light,backgroundColor:Qt(e.palette.primary.main,.2),"&:hover":{backgroundColor:Qt(e.palette.primary.main,.15)}}:{color:e.palette.blurple.main,backgroundColor:e.palette.blurple.light,"&:hover":{backgroundColor:ia(e.palette.blurple.light,.05)}}}]}}},$tt={defaultProps:{disableElevation:!0,disableRipple:!0,variant:"contained"}},Jtt={defaultProps:{variant:"outlined"}},Ztt={styleOverrides:{root:({theme:e})=>({"&:last-child":{padding:e.spacing(2)}})}},Qtt={styleOverrides:{root:{paddingBottom:0}}},Xtt={styleOverrides:{root:({theme:e})=>({padding:e.spacing(2),paddingTop:0})}},ent={defaultProps:{size:"small"}},tnt={defaultProps:{size:"small"},styleOverrides:{root:({theme:e})=>({fontWeight:e.typography.fontWeightMedium,borderRadius:e.shape.borderRadius}),outlined:{variants:[{props:{color:"default"},style:({theme:e})=>({borderColor:e.palette.mode==="dark"?Qt(e.palette.common.white,.2):Qt(e.palette.text.primary,.2)})}]},filled:{variants:[{props:{color:"default"},style:({theme:e})=>e.palette.mode==="dark"?{backgroundColor:Qt(e.palette.common.white,.08),"&.Mui-focusVisible":{backgroundColor:Qt(e.palette.common.white,.08)},[`&.${kn.clickable}:hover`]:{backgroundColor:Qt(e.palette.common.white,.12)}}:{backgroundColor:Qt(e.palette.ink.main,.08),"&.Mui-focusVisible":{backgroundColor:Qt(e.palette.ink.main,.08)},[`&.${kn.clickable}:hover`]:{backgroundColor:Qt(e.palette.ink.main,.04)}}},{props:{color:"primary"},style:({theme:e})=>e.palette.mode==="dark"?{color:Br(e.palette.primary.main,.6),backgroundColor:Qt(e.palette.primary.main,.2),"&.Mui-focusVisible":{backgroundColor:Qt(e.palette.primary.main,.2)},[`&.${kn.clickable}:hover`]:{backgroundColor:Qt(e.palette.primary.main,.25)}}:{color:ia(e.palette.primary.main,.1),backgroundColor:Br(e.palette.primary.main,.85),"&.Mui-focusVisible":{backgroundColor:Br(e.palette.primary.main,.85)},[`&.${kn.clickable}:hover`]:{backgroundColor:Br(e.palette.primary.main,.95)}}},{props:{color:"error"},style:({theme:e})=>e.palette.mode==="dark"?{color:Br(e.palette.error.main,.6),backgroundColor:Qt(e.palette.error.main,.2),"&.Mui-focusVisible":{backgroundColor:Qt(e.palette.error.main,.2)},[`&.${kn.clickable}:hover`]:{backgroundColor:Qt(e.palette.error.main,.25)}}:{color:ia(e.palette.error.main,.1),backgroundColor:Br(e.palette.error.main,.85),"&.Mui-focusVisible":{backgroundColor:Br(e.palette.error.main,.85)},[`&.${kn.clickable}:hover`]:{backgroundColor:Br(e.palette.error.main,.95)}}},{props:{color:"info"},style:({theme:e})=>e.palette.mode==="dark"?{color:Br(e.palette.info.main,.6),backgroundColor:Qt(e.palette.info.main,.2),"&.Mui-focusVisible":{backgroundColor:Qt(e.palette.info.main,.2)},[`&.${kn.clickable}:hover`]:{backgroundColor:Qt(e.palette.info.main,.25)}}:{color:ia(e.palette.info.main,.1),backgroundColor:Br(e.palette.info.main,.85),"&.Mui-focusVisible":{backgroundColor:Br(e.palette.info.main,.85)},[`&.${kn.clickable}:hover`]:{backgroundColor:Br(e.palette.info.main,.95)}}},{props:{color:"success"},style:({theme:e})=>e.palette.mode==="dark"?{color:Br(e.palette.success.main,.6),backgroundColor:Qt(e.palette.success.main,.2),"&.Mui-focusVisible":{backgroundColor:Qt(e.palette.success.main,.2)},[`&.${kn.clickable}:hover`]:{backgroundColor:Qt(e.palette.success.main,.25)}}:{color:ia(e.palette.success.main,.1),backgroundColor:Br(e.palette.success.main,.85),"&.Mui-focusVisible":{backgroundColor:Br(e.palette.success.main,.85)},[`&.${kn.clickable}:hover`]:{backgroundColor:Br(e.palette.success.main,.95)}}},{props:{color:"warning"},style:({theme:e})=>e.palette.mode==="dark"?{color:Br(e.palette.warning.main,.6),backgroundColor:Qt(e.palette.warning.main,.2),"&.Mui-focusVisible":{backgroundColor:Qt(e.palette.warning.main,.2)},[`&.${kn.clickable}:hover`]:{backgroundColor:Qt(e.palette.warning.main,.25)}}:{color:ia(e.palette.warning.main,.1),backgroundColor:Br(e.palette.warning.main,.85),"&.Mui-focusVisible":{backgroundColor:Br(e.palette.warning.main,.85)},[`&.${kn.clickable}:hover`]:{backgroundColor:Br(e.palette.warning.main,.95)}}}]}}},nnt="data:application/font-woff2;base64,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",rnt="data:application/font-woff2;base64,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",int={fontFamily:'"Gellix"',fontWeight:400,src:`url(${nnt}) format('woff2')`},ont={fontFamily:'"Gellix"',fontWeight:700,src:`url(${rnt}) format('woff2')`},ant={styleOverrides:e=>({a:{textDecoration:"none"},code:{...e.typography.monospace,color:e.palette.text.code,backgroundColor:e.palette.divider,borderRadius:e.shape.borderRadius,padding:e.spacing(.25,.5)},html:[{"@font-face":int},{"@font-face":ont}],strong:{fontWeight:e.typography.fontWeightBold},"strong code":{fontWeight:e.typography.fontWeightBold}})};var IT=Symbol("NOT_FOUND");function snt(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function lnt(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function unt(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var f7=e=>Array.isArray(e)?e:[e];function cnt(e){const t=Array.isArray(e[0])?e[0]:e;return unt(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function dnt(e,t){const n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}function fnt(e){let t;return{get(n){return t&&e(t.key,n)?t.value:IT},put(n,r){t={key:n,value:r}},getEntries(){return t?[t]:[]},clear(){t=void 0}}}function pnt(e,t){let n=[];function r(s){const l=n.findIndex(u=>t(s,u.key));if(l>-1){const u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return IT}function i(s,l){r(s)===IT&&(n.unshift({key:s,value:l}),n.length>e&&n.pop())}function o(){return n}function a(){n=[]}return{get:r,put:i,getEntries:o,clear:a}}var mnt=(e,t)=>
vendor: 2,827 bytes, line 2001
2001e===t;function hnt(e){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;const{length:i}=n;for(let o=0;o<i;o++)if(!e(n[o],r[o]))return!1;return!0}}function gnt(e,t){const n=typeof t=="object"?t:{equalityCheck:t},{equalityCheck:r=mnt,maxSize:i=1,resultEqualityCheck:o}=n,a=hnt(r);let s=0;const l=i<=1?fnt(a):pnt(i,a);function u(){let c=l.get(arguments);if(c===IT){if(c=e.apply(null,arguments),s++,o){const p=l.getEntries().find(v=>o(v.value,c));p&&(c=p.value,s!==0&&s--)}l.put(arguments,c)}return c}return u.clearCache=()=>{l.clear(),u.resetResultsCount()},u.resultsCount=()=>s,u.resetResultsCount=()=>{s=0},u}var vnt=class{constructor(e){this.value=e}deref(){return this.value}},ynt=typeof WeakRef<"u"?WeakRef:vnt,knt=0,p7=1;function z0(){return{s:knt,v:void 0,o:null,p:null}}function _re(e,t={}){let n=z0();const{resultEqualityCheck:r}=t;let i,o=0;function a(){let s=n;const{length:l}=arguments;for(let f=0,p=l;f<p;f++){const v=arguments[f];if(typeof v=="function"||typeof v=="object"&&v!==null){let g=s.o;g===null&&(s.o=g=new WeakMap);const y=g.get(v);y===void 0?(s=z0(),g.set(v,s)):s=y}else{let g=s.p;g===null&&(s.p=g=new Map);const y=g.get(v);y===void 0?(s=z0(),g.set(v,s)):s=y}}const u=s;let c;if(s.s===p7)c=s.v;else if(c=e.apply(null,arguments),o++,r){const f=i?.deref?.()??i;f!=null&&r(f,c)&&(c=f,o!==0&&o--),i=typeof c=="object"&&c!==null||typeof c=="function"?new ynt(c):c}return u.s=p7,u.v=c,c}return a.clearCache=()=>{n=z0(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function Dre(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...i)=>{let o=0,a=0,s,l={},u=i.pop();typeof u=="object"&&(l=u,u=i.pop()),snt(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const c={...n,...l},{memoize:f,memoizeOptions:p=[],argsMemoize:v=_re,argsMemoizeOptions:g=[]}=c,y=f7(p),k=f7(g),E=cnt(i),S=f(function(){return o++,u.apply(null,arguments)},...y),T=v(function(){a++;const A=dnt(E,arguments);return s=S.apply(null,A),s},...k);return Object.assign(T,{resultFunc:u,memoizedResultFunc:S,dependencies:E,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:f,argsMemoize:v})};return Object.assign(r,{withTypes:()=>r}),r}var Mre=Dre(_re),bnt=Object.assign((e,t=Mre)=>{lnt(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(o=>e[o]);return t(r,(...o)=>o.reduce((a,s,l)=>(a[n[l]]=s,a),{}))},{withTypes:()=>bnt});function Fre(e){return e.acceptsApiRef}function m7(e,t){return Fre(t)?t(e):t(e.current.state)}function $R(e,t,n,r){return Fre(t)?t(e,n):t(e.current.state,r)}const Ure=Object.is,Snt=mre,Ent=(e,t)=>
2001e===t?!0:e.length===t.length&&e.every((n,r)=>n===t[r]),Tnt=(e,t)=>{let n=Object.is;return t instanceof Array?n=Ent:t instanceof Object&&(n=Snt),n(e,t)},Vre=()=>({state:null,equals:null,selector:null,args:void 0}),wT=[],Bre=()=>null,xn=(e,t,n=Ure)=>{const r=ek(Vre),i=r.current.selector!==null,[o,a]=m.useState(i?null:m7(e,t));r.current.state=o,r.current.equals=n,r.current.selector=t;const s=m.useCallback(()=>(r.current.subscription||(r.current.subscription=e.current.store.subscribe(()=>{const u=m7(e,r.current.selector);r.current.equals(r.current.state,u)||(r.current.state=u,a(u))})),null),wT),l=m.useCallback(()=>()=>{r.current.subscription&&(r.current.subscription(),r.current.subscription=void 0)},wT);return Lh.useSyncExternalStore(l,s,Bre),o},Cnt=(e,t,n=void 0,r=Ure)=>{const i=ek(Vre),o=i.current.selector!==null,[a,s]=m.useState(o?null:$R(e,t,n,e.current.instanceId));i.current.state=a,i.current.equals=r,i.current.selector=t;const l=i.current.args;if(i.current.args=n,o&&!Tnt(l,n)){const f=$R(e,i.current.selector,i.current.args,e.current.instanceId);i.current.equals(i.current.state,f)||(i.current.state=f,s(f))}const u=m.useCallback(()=>(i.current.subscription||(i.current.subscription=e.current.store.subscribe(()=>{const f=$R(e,i.current.selector,i.current.args,e.current.instanceId);i.current.equals(i.current.state,f)||(i.current.state=f,s(f))})),null),wT),c=m.useCallback(()=>()=>{i.current.subscription&&(i.current.subscription(),i.current.subscription=void 0)},wT);return Lh.useSyncExternalStore(c,u,Bre),a},Ant=Dre({memoize:gnt,memoizeOptions:{maxSize:1,equalityCheck:Object.is}}),h7=new WeakMap;function uf(e){return"current"in e&&"instanceId"in e.current}const cf={id:"default"},sn=(e,t,n,r,i,o,...a)=>{if(a.length>0)throw new Error("Unsupported number of selectors");let s;if(e&&t&&n&&r&&i&&o)s=(l,u)=>{const c=uf(l),f=u??(c?l.current.instanceId:cf),p=c?l.current.state:l,v=e(p,f),g=t(p,f),y=n(p,f),k=r(p,f),E=i(p,f);return o(v,g,y,k,E)};else if(e&&t&&n&&r&&i)s=(l,u)=>{const c=uf(l),f=u??(c?l.current.instanceId:cf),p=c?l.current.state:l,v=e(p,f),g=t(p,f),y=n(p,f),k=r(p,f);return i(v,g,y,k)};else if(e&&t&&n&&r)s=(l,u)=>{const c=uf(l),f=u??(c?l.current.instanceId:cf),p=c?l.current.state:l,v=e(p,f),g=t(p,f),y=n(p,f);return r(v,g,y)};else if(e&&t&&n)s=(l,u)=>{const c=uf(l),f=u??(c?l.current.instanceId:cf),p=c?l.current.state:l,v=e(p,f),g=t(p,f);return n(v,g)};else if(e&&t)s=(l,u)=>{const c=uf(l),f=u??(c?l.current.instanceId:cf),p=c?l.current.state:l,v=e(p,f);return t(v)};else throw new Error("Missing arguments");return s.acceptsApiRef=!0,s},Int=(e,t,n,r,i,o,...a)=>{if(a.length>0)throw new Error("Unsupported number of selectors");let s;if(e&&t)s=(l,u,c)=>{const f=uf(l),p=c??(f?l.current.instanceId:cf),v=f?l.current.state:l,g=e(v,u,p);return t(g,u)};else throw new Error("Missing arguments");return s.acceptsApiRef=!0,s},Xn=(...e)=>{const t=(n,r)=>{const i=uf(n),o=i?n.current.instanceId:r??cf,a=i?n.current.state:n,s=h7.get(o),l=s??new Map,u=l?.get(e);if(l&&u)return u(a,o);const c=Ant(...e);return s||h7.set(o,l),l.set(e,c),c(a,o)};return t.acceptsApiRef=!0,t},Xv=e=>e.dimensions,TF=sn(Xv,e=>e.columnsTotalWidth),wnt=e=>e.dimensions.rowHeight,Nnt=e=>e.dimensions.contentSize.height,Edt=e=>e.dimensions.hasScrollX,Tdt=e=>e.dimensions.hasScrollY,CF=e=>e.dimensions.columnsTotalWidth<e.dimensions.viewportOuterSize.width,Rnt=e=>e.dimensions.headerHeight,xnt=e=>e.dimensions.groupHeaderHeight,Lnt=e=>e.dimensions.headerFilterHeight,AF=e=>e.dimensions.hasScrollY?e.dimensions.scrollbarSize:0,Cdt=e=>e.dimensions.hasScrollX?e.dimensions.scrollbarSize:0,Adt=e=>{const t=e.dimensions.hasScrollX?e.dimensions.scrollbarSize:0,n=e.dimensions.viewportOuterSize.height-e.dimensions.minimumSize.height>0;return!(t===0&&!n)},Ont=m.createContext(void 0),vr=()=>{const e=m.useContext(Ont);if(!e)throw new Error("MUI X: useGridRootProps should only be used inside the DataGrid, DataGridPro or DataGridPremium component.");return e};function yo(e){return en("MuiDataGrid",e)}const Nr=tn("MuiDataGrid",["actionsCell","aggregationColumnHeader","aggregationColumnHeader--alignLeft","aggregationColumnHeader--alignCenter","aggregationColumnHeader--alignRight","aggregationColumnHeaderLabel","autoHeight","autosizing","booleanCell","cell--editable","cell--editing","cell--flex","cell--textCenter","cell--textLeft","cell--textRight","cell--rangeTop","cell--rangeBottom","cell--rangeLeft","cell--rangeRight","cell--pinnedLeft","cell--pinnedRight","cell--selectionMode","cell","cellCheckbox","cellEmpty","cellSkeleton","cellOffsetLeft","checkboxInput","columnHeader","columnHeader--alignCenter","columnHeader--alignLeft","columnHeader--alignRight","columnHeader--dragging","columnHeader--moving","columnHeader--numeric","columnHeader--sortable","columnHeader--sorted","columnHeader--filtered","columnHeader--pinnedLeft","columnHeader--pinnedRight","columnHeader--last","columnHeader--lastUnpinned","columnHeader--siblingFocused","columnHeaderCheckbox","columnHeaderDraggableContainer","columnHeaderTitle","columnHeaderTitleContainer","columnHeaderTitleContainerContent","columnHeader--filledGroup","columnHeader--emptyGroup","columnHeaders","columnSeparator--resizable","columnSeparator--resizing","columnSeparator--sideLeft","columnSeparator--sideRight","columnSeparator","columnsManagement","columnsManagementRow","columnsManagementHeader","columnsManagementSearchInput","columnsManagementFooter","container--top","container--bottom","detailPanel","detailPanels","detailPanelToggleCell","detailPanelToggleCell--expanded","footerCell","panel","panelHeader","panelWrapper","panelContent","panelFooter","paper","editBooleanCell","editInputCell","filler","filler--borderBottom","filler--pinnedLeft","filler--pinnedRight","filterForm","filterFormDeleteIcon","filterFormLogicOperatorInput","filterForm
2001ColumnInput","filterFormOperatorInput","filterFormValueInput","filterIcon","footerContainer","headerFilterRow","iconButtonContainer","iconSeparator","main","main--hasPinnedRight","main--hasSkeletonLoadingOverlay","menu","menuIcon","menuIconButton","menuOpen","menuList","overlay","overlayWrapper","overlayWrapperInner","root","root--densityStandard","root--densityComfortable","root--densityCompact","root--disableUserSelection","root--noToolbar","row","row--editable","row--editing","row--firstVisible","row--lastVisible","row--dragging","row--dynamicHeight","row--detailPanelExpanded","row--borderBottom","rowReorderCellPlaceholder","rowCount","rowReorderCellContainer","rowReorderCell","rowReorderCell--draggable","rowSkeleton","scrollArea--left","scrollArea--right","scrollArea","scrollbar","scrollbar--vertical","scrollbar--horizontal","scrollbarFiller","scrollbarFiller--header","scrollbarFiller--borderTop","scrollbarFiller--borderBottom","scrollbarFiller--pinnedRight","selectedRowCount","sortIcon","toolbarContainer","toolbarFilterList","virtualScroller","virtualScroller--hasScrollX","virtualScrollerContent","virtualScrollerContent--overflowed","virtualScrollerRenderZone","pinnedColumns","withVerticalBorder","withBorderColor","cell--withRightBorder","cell--withLeftBorder","columnHeader--withRightBorder","columnHeader--withLeftBorder","treeDataGroupingCell","treeDataGroupingCellToggle","treeDataGroupingCellLoadingContainer","groupingCriteriaCell","groupingCriteriaCellToggle","groupingCriteriaCellLoadingContainer","pinnedRows","pinnedRows--top","pinnedRows--bottom","pinnedRowsRenderZone"]),Pnt=m.createContext(void 0);function za(){const e=m.useContext(Pnt);if(e===void 0)throw new Error(["MUI X: Could not find the Data Grid context.","It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.","This can also happen if you are bundling multiple versions of the Data Grid."].join(` 2002`));return e}const g7=1e3;class _nt{constructor(t=g7){this.timeouts=new Map,this.cleanupTimeout=g7,this.cleanupTimeout=t}register(t,n,r){this.timeouts||(this.timeouts=new Map);const i=setTimeout(()=>{typeof n=="function"&&n(),this.timeouts.delete(r.cleanupToken)},this.cleanupTimeout);this.timeouts.set(r.cleanupToken,i)}unregister(t){const n=this.timeouts.get(t.cleanupToken);n&&(this.timeouts.delete(t.cleanupToken),clearTimeout(n))}reset(){this.timeouts&&(this.timeouts.forEach((t,n)=>{this.unregister({cleanupToken:n})}),this.timeouts=void 0)}}class Dnt{constructor(){this.registry=new FinalizationRegistry(t=>{typeof t=="function"&&t()})}register(t,n,r){this.registry.register(t,n,r)}unregister(t){this.registry.unregister(t)}reset(){}}var jre=(function(e){return e.DataGrid="DataGrid",e.DataGridPro="DataGridPro",e.DataGridPremium="DataGridPremium",e})(jre||{});class Mnt{}function Fnt(e){let t=0;return function(r,i,o,a){e.registry===null&&(e.registry=typeof FinalizationRegistry<"u"?new Dnt:new _nt);const[s]=m.useState(new Mnt),l=m.useRef(null),u=m.useRef(null);u.current=o;const c=m.useRef(null);if(!l.current&&u.current){const f=(p,v,g)=>{v.defaultMuiPrevented||u.current?.(p,v,g)};l.current=r.current.subscribeEvent(i,f,a),t+=1,c.current={cleanupToken:t},e.registry.register(s,()=>{l.current?.(),l.current=null,c.current=null},c.current)}else!u.current&&l.current&&(l.current(),l.current=null,c.current&&(e.registry.unregister(c.current),c.current=null));m.useEffect(()=>{if(!l.current&&u.current){const f=(p,v,g)=>{v.defaultMuiPrevented||u.current?.(p,v,g)};l.current=r.current.subscribeEvent(i,f,a)}return c.current&&e.registry&&(e.registry.unregister(c.current),c.current=null),()=>{l.current?.(),l.current=null}},[r,i,a])}}const Unt={registry:null},wv=Fnt(Unt),Vnt={isFirst:!0};function JR(e,t,n){wv(e,t,n,Vnt)}const zre=.7,Bnt=1.3,jnt={compact:zre,comfortable:Bnt,standard:1},znt=e=>e.density,Hnt=sn(znt,e=>jnt[e]),Wnt=parseInt(m.version,10),Sd=e=>{if(Wnt>=19){const t=n=>e(n,n.ref??null);return t.displayName=e.displayName??e.name,t}return m.forwardRef(e)},qnt=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","isValidating","debounceMs","isProcessingProps","onValueChange"],Gnt=e=>{const{classes:t}=e;return Dt({root:["editInputCell"]},yo,t)},Knt=$e(ik,{name:"MuiDataGrid",slot:"EditInputCell",overridesResolver:(e,t)=>t.editInputCell})(({theme:e})=>qe({},e.typography.body2,{padding:"1px 0","& input":{padding:"0 16px",height:"100%"}})),Ynt=Sd((e,t)=>{const n=vr(),{id:r,value:i,field:o,colDef:a,hasFocus:s,debounceMs:l=200,isProcessingProps:u,onValueChange:c}=e,f=Tr(e,qnt),p=za(),v=m.useRef(null),[g,y]=m.useState(i),k=Gnt(n),E=m.useCallback(async T=>{const I=T.target.value;c&&await c(T,I);const A=p.current.getColumn(o);let w=I;A.valueParser&&(w=A.valueParser(I,p.current.getRow(r),A,p)),y(w),p.current.setEditCellValue({id:r,field:o,value:w,debounceMs:l,unstable_skipValueParser:!0},T)},[p,l,o,r,c]),S=p.current.unstable_getEditCellMeta(r,o);return m.useEffect(()=>{S?.changeReason!=="debouncedSetEditCellValue"&&y(i)},[S,i]),ni(()=>{s&&v.current.focus()},[s]),b.jsx(Knt,qe({inputRef:v,className:k.root,ownerState:n,fullWidth:!0,type:a.type==="number"?a.type:"text",value:g??"",onChange:E,endAdornment:u?b.jsx(n.slots.loadIcon,{fontSize:"small",color:"action"}):void 0},f,{ref:t}))}),$nt=e=>b.jsx(Ynt,qe({},e)),Ps=e=>e.rows,Idt=sn(Ps,e=>e.totalRowCount),wdt=sn(Ps,e=>e.loading),Ndt=sn(Ps,e=>e.totalTopLevelRowCount),FA=sn(Ps,e=>
2002e.dataRowIdToModelLookup),Rdt=sn(Ps,e=>e.dataRowIdToIdLookup),Yh=sn(Ps,e=>e.tree),xdt=sn(Ps,e=>e.groupsToFetch),Ldt=sn(Ps,e=>e.groupingName),Odt=sn(Ps,e=>e.treeDepths),UA=Xn(Ps,e=>{const t=Object.entries(e.treeDepths);return t.length===0?1:(t.filter(([,n])=>n>0).map(([n])=>Number(n)).sort((n,r)=>r-n)[0]??0)+1}),Pdt=sn(Ps,e=>e.dataRowIds),Jnt=sn(Ps,e=>e?.additionalRowGroups),Hre=Xn(Jnt,e=>{const t=e?.pinnedRows;return{bottom:t?.bottom?.map(n=>({id:n.id,model:n.model??{}}))??[],top:t?.top?.map(n=>({id:n.id,model:n.model??{}}))??[]}}),_dt=sn(Hre,e=>(e?.top?.length||0)+(e?.bottom?.length||0)),Znt=(e,t)=>t&&e.length>1?[e[0]]:e,Ddt=(e,t)=>n=>qe({},n,{sorting:qe({},n.sorting,{sortModel:Znt(e,t)})}),Qnt=e=>e==="desc",Xnt=(e,t)=>{const n=t.current.getColumn(e.field);if(!n||e.sort===null)return null;let r;return n.getSortComparator?r=n.getSortComparator(e.sort):r=Qnt(e.sort)?(...o)=>-1*n.sortComparator(...o):n.sortComparator,r?{getSortCellParams:o=>({id:o,field:n.field,rowNode:Yh(t)[o],value:t.current.getCellValue(o,n.field),api:t.current}),comparator:r}:null},ert=(e,t,n)=>e.reduce((r,i,o)=>{if(r!==0)return r;const a=t.params[o],s=n.params[o];return r=i.comparator(a.value,s.value,a,s),r},0),Mdt=(e,t)=>{const n=e.map(r=>Xnt(r,t)).filter(r=>!!r);return n.length===0?null:r=>r.map(i=>({node:i,params:n.map(o=>o.getSortCellParams(i.id))})).sort((i,o)=>ert(n,i,o)).map(i=>i.node.id)},Fdt=(e,t)=>{const n=e.indexOf(t);return!t||n===-1||n+1===e.length?e[0]:e[n+1]},IF=(e,t)=>e==null&&t!=null?-1:t==null&&e!=null?1:e==null&&t==null?0:null,trt=new Intl.Collator,nrt=(e,t)=>{const n=IF(e,t);return n!==null?n:typeof e=="string"?trt.compare(e.toString(),t.toString()):e-t},Wre=(e,t)=>{const n=IF(e,t);return n!==null?n:Number(e)-Number(t)},qre=(e,t)=>{const n=IF(e,t);return n!==null?n:e>t?1:e<t?-1:0},rrt=["item","applyValue","type","apiRef","focusElementRef","tabIndex","disabled","isFilterActive","clearButton","InputProps","variant"];function ss(e){const{item:t,applyValue:n,type:r,apiRef:i,focusElementRef:o,tabIndex:a,disabled:s,clearButton:l,InputProps:u,variant:c="standard"}=e,f=Tr(e,rrt),p=Pl(),[v,g]=m.useState(ZR(t.value)),[y,k]=m.useState(!1),E=Rr(),S=vr(),T=m.useCallback(I=>{const A=ZR(I.target.value);g(A),k(!0),p.start(S.filterDebounceMs,()=>{const w=qe({},t,{value:r==="number"&&!Number.isNaN(Number(A))?Number(A):A,fromInput:E});n(w),k(!1)})},[p,S.filterDebounceMs,t,r,E,n]);return m.useEffect(()=>{(t.fromInput!==E||t.value==null)&&g(ZR(t.value))},[E,t]),b.jsx(S.slots.baseTextField,qe({id:E,label:i.current.getLocaleText("filterPanelInputLabel"),placeholder:i.current.getLocaleText("filterPanelInputPlaceholder"),value:v??"",onChange:T,variant:c,type:r||"text",InputProps:qe({},y||l?{endAdornment:y?b.jsx(S.slots.loadIcon,{fontSize:"small",color:"action"}):l}:{},{disabled:s},u,{inputProps:qe({tabIndex:a},u?.inputProps)}),InputLabelProps:{shrink:!0},inputRef:o},f,S.slotProps?.baseTextField))}function ZR(e){if(!(e==null||e===""))return String(e)}function irt(e){return typeof e=="number"&&!Number.isNaN(e)}function Udt(e){return typeof e=="function"}function wF(e){return typeof e=="object"&&e!==null}function Vdt(){try{const e="__some_random_key_you_are_not_going_to_use__";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}function NT(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}const Mf=(e,t,n)=>Math.max(t,Math.min(n,e));function v7(e,t){return Array.from({length:t-e}).map((n,r)=>e+r)}function QR(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)){const i=e.length;if(i!==t.length)return!1;for(let o=0;o<i;o+=1)if(!QR(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;const i=Array.from(e.entries());for(let o=0;o<i.length;o+=1)if(!t.has(i[o][0]))return!1;for(let o=0;o<i.length;o+=1){const a=i[o];if(!QR(a[1],t.get(a[0])))return!1}return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;const i=Array.from(e.entries());for(let o=0;o<i.length;o+=1)if(!t.has(i[o][0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){const i=e.length;if(i!==t.length)return!1;for(let o=0;o<i;o+=1)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const n=Object.keys(e),r=n.length;if(r!==Object.keys(t).length)return!1;for(let i=0;i<r;i+=1)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(let i=0;i<r;i+=1){const o=n[i];if(!QR(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function ort(e){return()=>{let t=e+=1831565813;return t=Math.imul(t^t>>>15,t|1),t^=t+Math.imul(t^t>>>7,t|61),((t^t>>>14)>>>0)/4294967296}}function Bdt(e){const t=ort(e);return(n,r)=>n+(r-n)*t()}
2002function jdt(e){return typeof structuredClone=="function"?structuredClone(e):JSON.parse(JSON.stringify(e))}const zdt=(e,t)=>n=>{e&&t(n)},art=["item","applyValue","type","apiRef","focusElementRef","color","error","helperText","size","variant"],srt=["key"];function Gre(e){const{item:t,applyValue:n,type:r,apiRef:i,focusElementRef:o,color:a,error:s,helperText:l,size:u,variant:c="standard"}=e,f=Tr(e,art),p={color:a,error:s,helperText:l,size:u,variant:c},[v,g]=m.useState(t.value||[]),y=Rr(),k=vr();m.useEffect(()=>{const S=t.value??[];g(S.map(String))},[t.value]);const E=m.useCallback((S,T)=>{g(T.map(String)),n(qe({},t,{value:[...T.map(I=>r==="number"?Number(I):I)]}))},[n,t,r]);return b.jsx(s_,qe({multiple:!0,freeSolo:!0,options:[],filterOptions:(S,T)=>{const{inputValue:I}=T;return I==null||I===""?[]:[I]},id:y,value:v,onChange:E,renderTags:(S,T)=>S.map((I,A)=>{const w=T({index:A}),{key:R}=w,x=Tr(w,srt);return b.jsx(k.slots.baseChip,qe({variant:"outlined",size:"small",label:I},x),R)}),renderInput:S=>b.jsx(k.slots.baseTextField,qe({},S,{label:i.current.getLocaleText("filterPanelInputLabel"),placeholder:i.current.getLocaleText("filterPanelInputPlaceholder"),InputLabelProps:qe({},S.InputLabelProps,{shrink:!0}),inputRef:o,type:r||"text"},p,k.slotProps?.baseTextField))},f))}var CO=(function(e){return e.Cell="cell",e.Row="row",e})(CO||{}),lrt=(function(e){return e.Edit="edit",e.View="view",e})(lrt||{}),urt=(function(e){return e.Edit="edit",e.View="view",e})(urt||{}),Bo=(function(e){return e.And="and",e.Or="or",e})(Bo||{}),crt=(function(e){return e.enterKeyDown="enterKeyDown",e.cellDoubleClick="cellDoubleClick",e.printableKeyDown="printableKeyDown",e.deleteKeyDown="deleteKeyDown",e.pasteKeyDown="pasteKeyDown",e})(crt||{}),AO=(function(e){return e.cellFocusOut="cellFocusOut",e.escapeKeyDown="escapeKeyDown",e.enterKeyDown="enterKeyDown",e.tabKeyDown="tabKeyDown",e.shiftTabKeyDown="shiftTabKeyDown",e})(AO||{});const Hdt={filteredRowsLookup:{},filteredChildrenCountLookup:{},filteredDescendantCountLookup:{}},y7=()=>({items:[],logicOperator:Bo.And,quickFilterValues:[],quickFilterLogicOperator:Bo.And});function Kre(e){return{current:e.current.getPublicApi()}}let Wdt=(function(e){return e.LEFT="left",e.RIGHT="right",e})({});const IO={left:[],right:[]},drt=e=>e.isRtl,Rk=e=>e.columns,Yre=sn(Rk,e=>e.orderedFields),xk=sn(Rk,e=>e.lookup),VA=Xn(Yre,xk,(e,t)=>e.map(n=>t[n])),$re=sn(Rk,e=>e.columnVisibilityModel),$h=Xn(VA,$re,(e,t)=>e.filter(n=>t[n.field]!==!1)),Jre=Xn($h,e=>e.map(t=>t.field)),frt=e=>e.pinnedColumns,NF=Xn(Rk,frt,Jre,drt,(e,t,n,r)=>{const i=prt(t,n,r);return{left:i.left.map(a=>e.lookup[a]),right:i.right.map(a=>e.lookup[a])}});function prt(e,t,n){if(!Array.isArray(e.left)&&!Array.isArray(e.right)||e.left?.length===0&&e.right?.length===0)return IO;const r=(s,l)=>Array.isArray(s)?s.filter(u=>l.includes(u)):[],i=r(e.left,t),o=t.filter(s=>!i.includes(s)),a=r(e.right,o);return n?{left:a,right:i}:{left:i,right:a}}const RF=Xn($h,e=>{const t=[];let n=0;for(let r=0;r<e.length;r+=1)t.push(n),n+=e[r].computedWidth;return t}),Zre=Xn(VA,e=>e.filter(t=>t.filterable)),mrt=Xn(VA,e=>e.reduce((t,n)=>(n.filterable&&(t[n.field]=n),t),{})),hrt=Xn(VA,e=>e.some(t=>t.colSpan!==void 0));let ov;function grt(){if(ov!==void 0)return ov;try{ov=new Function("return true")()}catch{ov=!1}return ov}const vrt=(e,t)=>{const n=qe({},e);if(n.id==null&&(n.id=Math.round(Math.random()*1e5)),n.operator==null){const r=xk(t)[n.field];n.operator=r&&r.filterOperators[0].value}return n},yrt=(e,t,n)=>{const r=e.items.length>1;let i;r&&t?i=[e.items[0]]:i=e.items;const o=r&&i.some(s=>s.id==null);return i.some(s=>s.operator==null)||o?qe({},e,{items:i.map(s=>vrt(s,n))}):e.items!==i?qe({},e,{items:i}):e},qdt=(e,t,n)=>r=>qe({},r,{filterModel:yrt(e,t,n)}),Oy=e=>typeof e=="string"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e,Qre=(e,t)=>{if(!e.field||!e.operator)return null;const n=t.current.getColumn(e.field);if(!n)return null;let r;if(n.valueParser){const c=n.valueParser;r=Array.isArray(e.value)?e.value?.map(f=>c(f,void 0,n,t)):c(e.value,void 0,n,t)}else r=e.value;const{ignoreDiacritics:i}=t.current.rootProps;i&&(r=Oy(r));const o=qe({},e,{value:r}),a=n.filterOperators;if(!a?.length)throw new Error(`MUI X: No filter operators found for column '${n.field}'.`);const s=a.find(c=>c.value===o.operator);if(!s)throw new Error(`MUI X: No filter operator found for column '${n.field}' and operator value '${o.operator}'.`);const l=Kre(t),u=s.getApplyFilterFn(o,n);return typeof u!="function"?null:{item:o,fn:c=>{let f=t.current.getRowValue(c,n);return i&&(f=Oy(f)),u(f,c,n,l)}}};let k7=1;const krt=(e,t,n)=>{const{items:r}=e,i=r.map(s=>Qre(s,t)).filter(s=>!!s);if(i.length===0)return null;if(n||!grt())return(s,l)=>{const u={};for(let c=0;c<i.length;c+=1){const f=i[c];(!l||l(f.item.field))&&(u[f.item.id]=f.fn(s))}return u};const o=new Function("appliers","row","shouldApplyFilter",`"use strict"; 2003${i.map((s,l)=>`const shouldApply${l} = !shouldApplyFilter || shouldApplyFilter(${JSON.stringify(s.item.field)});`).join(` 2004`)} 2005 2006const result$$ = { 2007${i.map((s,l)=>` ${JSON.stringify(String(s.item.id))}: !shouldApply${l} ? false : appliers[${l}].fn(row),`).join(` 2008`)} 2009}; 2010 2011return result$$;`.replaceAll("$$",String(k7)));return k7+=1,(s,l)=>o(i,s,l)},brt=e=>e.quickFilterExcludeHiddenColumns??!0,Srt=(e,t)=>{const n=e.quickFilterValues?.filter(Boolean)??[];if(n.length===0)return null;const r=brt(e)?Jre(t):Yre(t),i=[],{ignoreDiacritics:o}=t.current.rootProps,a=Kre(t);return r.forEach(s=>{const l=t.current.getColumn(s),u=l?.getApplyQuickFilterFn;u&&i.push({column:l,appliers:n.map(c=>{const f=o?Oy(c):c;return{fn:u(f,l,a)}})})}),function(l,u){const c={};e:for(let f=0;f<n.length;f+=1){const p=n[f];for(let v=0;v<i.length;v+=1){const{column:g,appliers:y}=i[v],{field:k}=g;if(u&&!u(k))continue;const E=y[f];let S=t.current.getRowValue(l,g);if(E.fn===null)continue;if(o&&(S=Oy(S)),E.fn(S,l,g,a)){c[p]=!0;continue e}}c[p]=!1}return c}}
2011,Gdt=(e,t,n)=>{const r=krt(e,t,n),i=Srt(e,t);return function(a,s,l){l.passingFilterItems=r?.(a,s)??null,l.passingQuickFilterValues=i?.(a,s)??null}},b7=e=>e!=null,Ert=(e,t,n)=>(e.cleanedFilterItems||(e.cleanedFilterItems=n.filter(r=>Qre(r,t)!==null)),e.cleanedFilterItems),Kdt=(e,t,n,r,i)=>{const o=Ert(i,r,n.items),a=e.filter(b7),s=t.filter(b7);if(a.length>0){const l=c=>a.some(f=>f[c.id]);if((n.logicOperator??y7().logicOperator)===Bo.And){if(!o.every(l))return!1}else if(!o.some(l))return!1}if(s.length>0&&n.quickFilterValues!=null){const l=c=>s.some(f=>f[c]);if((n.quickFilterLogicOperator??y7().quickFilterLogicOperator)===Bo.And){if(!n.quickFilterValues.every(l))return!1}else if(!n.quickFilterValues.some(l))return!1}return!0},Trt=e=>{if(!e)return null;const t=new RegExp(NT(e),"i");return(n,r,i,o)=>{let a=o.current.getRowFormattedValue(r,i);return o.current.ignoreDiacritics&&(a=Oy(a)),a!=null?t.test(a.toString()):!1}},S7=(e,t)=>n=>{if(!n.value)return null;const r=e?n.value:n.value.trim(),i=new RegExp(NT(r),"i");return o=>{if(o==null)return t;const a=i.test(String(o));return t?!a:a}},E7=(e,t)=>n=>{if(!n.value)return null;const r=e?n.value:n.value.trim(),i=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return o=>{if(o==null)return t;const a=i.compare(r,o.toString())===0;return t?!a:a}},T7=e=>()=>t=>{const n=t===""||t==null;return e?!n:n},Crt=(e=!1)=>[{value:"contains",getApplyFilterFn:S7(e,!1),InputComponent:ss},{value:"doesNotContain",getApplyFilterFn:S7(e,!0),InputComponent:ss},{value:"equals",getApplyFilterFn:E7(e,!1),InputComponent:ss},{value:"doesNotEqual",getApplyFilterFn:E7(e,!0),InputComponent:ss},{value:"startsWith",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new RegExp(`^${NT(n)}.*$`,"i");return i=>i!=null?r.test(i.toString()):!1},InputComponent:ss},{value:"endsWith",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new RegExp(`.*${NT(n)}$`,"i");return i=>i!=null?r.test(i.toString()):!1},InputComponent:ss},{value:"isEmpty",getApplyFilterFn:T7(!1),requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:T7(!0),requiresFilterValue:!1},{value:"isAnyOf",getApplyFilterFn:t=>{if(!Array.isArray(t.value)||t.value.length===0)return null;const n=e?t.value:t.value.map(i=>i.trim()),r=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return i=>i!=null?n.some(o=>r.compare(o,i.toString()||"")===0):!1},InputComponent:Gre}],Es={width:100,minWidth:50,maxWidth:1/0,hideable:!0,sortable:!0,resizable:!0,filterable:!0,groupable:!0,pinnable:!0,aggregable:!0,editable:!1,sortComparator:nrt,type:"string",align:"left",filterOperators:Crt(),renderEditCell:$nt,getApplyQuickFilterFn:Trt},Art=["open","target","onClose","children","position","className","onExited"],Irt=e=>{const{classes:t}=e;return Dt({root:["menu"]},yo,t)},wrt=$e(rk,{name:"MuiDataGrid",slot:"Menu",overridesResolver:(e,t)=>t.menu})(({theme:e})=>({zIndex:e.zIndex.modal,[`& .${Nr.menuList}`]:{outline:0}})),Nrt={"bottom-start":"top left","bottom-end":"top right"};function Xre(e){const{open:t,target:n,onClose:r,children:i,position:o,className:a,onExited:s}=e,l=Tr(e,Art),u=za(),c=vr(),f=Irt(c),p=m.useRef(null);ni(()=>{t?p.current=document.activeElement instanceof HTMLElement?document.activeElement:null:(p.current?.focus?.(),p.current=null)},[t]),m.useEffect(()=>{const y=t?"menuOpen":"menuClose";u.current.publishEvent(y,{target:n})},[u,t,n]);const v=y=>k=>{y&&y(),s&&s(k)},g=y=>{y.target&&(n===y.target||n?.contains(y.target))||r(y)};return b.jsx(wrt,qe({as:c.slots.basePopper,className:mt(f.root,a),ownerState:c,open:t,anchorEl:n,transition:!0,placement:o},l,c.slotProps?.basePopper,{children:({TransitionProps:y,placement:k})=>b.jsx(wNe,{onClickAway:g,mouseEvent:"onMouseDown",children:b.jsx(fy,qe({},y,{style:{transformOrigin:Nrt[k]},onExited:v(y?.onExited),children:b.jsx($l,{children:i})}))})}))}const Rrt=["api","colDef","id","hasFocus","isEditable","field","value","formattedValue","row","rowNode","cellMode","tabIndex","position","focusElementRef"],xrt=e=>typeof e.getActions=="function";function Lrt(e){const{colDef:t,id:n,hasFocus:r,tabIndex:i,position:o="bottom-end",focusElementRef:a}=e,s=Tr(e,Rrt),[l,u]=m.useState(-1),[c,f]=m.useState(!1),p=za(),v=m.useRef(null),g=m.useRef(null),y=m.useRef(!1),k=m.useRef({}),E=md(),S=Rr(),T=Rr(),I=vr();if(!xrt(t))throw new Error("MUI X: Missing the `getActions` property in the `GridColDef`.");const A=t.getActions(p.current.getRowParams(n)),w=A.filter(H=>!H.props.showInMenu),R=A.filter(H=>H.props.showInMenu),x=w.length+(R.length?1:0);m.useLayoutEffect(()=>{r||Object.entries(k.current).forEach(([H,G])=>{G?.stop({},()=>{delete k.current[H]})})},[r]),m.useEffect(()=>{if(l<0||!v.current||l>=v.current.children.length)return;v.current.children[l].focus({preventScroll:!0})},[l]),m.useEffect(()=>{r||(u(-1),y.current=!1)},[r]),m.useImperativeHandle(a,()=>
2011({focus(){if(!y.current){const H=A.findIndex(G=>!G.props.disabled);u(H)}}}),[A]),m.useEffect(()=>{l>=x&&u(x-1)},[l,x]);const D=()=>{f(!0),u(x-1),y.current=!0},M=()=>{f(!1)},F=H=>{H.stopPropagation(),H.preventDefault(),c?M():D()},L=H=>G=>{k.current[H]=G},P=(H,G)=>O=>{u(H),y.current=!0,G&&G(O)},j=H=>{if(x<=1)return;const G=(V,W)=>{if(V<0||V>A.length)return V;const q=(W==="left"?-1:1)*(E?-1:1);return A[V+q]?.props.disabled?G(V+q,W):V+q};let O=l;H.key==="ArrowRight"?O=G(l,"right"):H.key==="ArrowLeft"&&(O=G(l,"left")),!(O<0||O>=x)&&O!==l&&(H.preventDefault(),H.stopPropagation(),u(O))},B=H=>{H.key==="Tab"&&H.preventDefault(),["Tab","Escape"].includes(H.key)&&M()};return b.jsxs("div",qe({role:"menu",ref:v,tabIndex:-1,className:Nr.actionsCell,onKeyDown:j},s,{children:[w.map((H,G)=>m.cloneElement(H,{key:G,touchRippleRef:L(G),onClick:P(G,H.props.onClick),tabIndex:l===G?i:-1})),R.length>0&&T&&b.jsx(I.slots.baseIconButton,qe({ref:g,id:T,"aria-label":p.current.getLocaleText("actionsCellMore"),"aria-haspopup":"menu","aria-expanded":c,"aria-controls":c?S:void 0,role:"menuitem",size:"small",onClick:F,touchRippleRef:L(T),tabIndex:l===w.length?i:-1},I.slotProps?.baseIconButton,{children:b.jsx(I.slots.moreActionsIcon,{fontSize:"small"})})),R.length>0&&b.jsx(Xre,{open:c,target:g.current,position:o,onClose:M,children:b.jsx(MK,{id:S,className:Nr.menuList,onKeyDown:B,"aria-labelledby":T,variant:"menu",autoFocusItem:!0,children:R.map((H,G)=>m.cloneElement(H,{key:G,closeMenu:M}))})})]}))}const Ort=e=>b.jsx(Lrt,qe({},e)),Prt="actions",_rt=qe({},Es,{sortable:!1,filterable:!1,aggregable:!1,width:100,display:"flex",align:"center",headerAlign:"center",headerName:"",disableColumnMenu:!0,disableExport:!0,renderCell:Ort,getApplyQuickFilterFn:void 0}),eie="auto-generated-group-node-root",wO=Symbol("mui.id_autogenerated"),Ydt=()=>({type:"group",id:eie,depth:-1,groupingField:null,groupingKey:null,isAutoGenerated:!0,children:[],childrenFromPath:{},childrenExpanded:!0,parent:null});function Drt(e,t,n="A row was provided without id in the rows prop:"){if(e==null)throw new Error(["MUI X: The Data Grid component requires all rows to have a unique `id` property.","Alternatively, you can use the `getRowId` prop to specify a custom id for each row.",n,JSON.stringify(t)].join(` 2012`))}const xF=(e,t,n)=>{const r=t?t(e):e.id;return Drt(r,e,n),r},$dt=({rows:e,getRowId:t,loading:n,rowCount:r})=>{const i={type:"full",rows:[]},o={},a={};for(let s=0;s<e.length;s+=1){const l=e[s],u=xF(l,t);o[u]=l,a[u]=u,i.rows.push(u)}return{rowsBeforePartialUpdates:e,loadingPropBeforePartialUpdates:n,rowCountPropBeforePartialUpdates:r,updates:i,dataRowIdToIdLookup:a,dataRowIdToModelLo
2012okup:o}},Mrt=({tree:e,rowCountProp:t=0})=>{const n=e[eie];return Math.max(t,n.children.length+(n.footerId==null?0:1))},Jdt=({apiRef:e,rowCountProp:t=0,loadingProp:n,previousTree:r,previousTreeDepths:i,previousGroupsToFetch:o})=>{const a=e.current.caches.rows,{tree:s,treeDepths:l,dataRowIds:u,groupingName:c,groupsToFetch:f=[]}=e.current.applyStrategyProcessor("rowTreeCreation",{previousTree:r,previousTreeDepths:i,updates:a.updates,dataRowIdToIdLookup:a.dataRowIdToIdLookup,dataRowIdToModelLookup:a.dataRowIdToModelLookup,previousGroupsToFetch:o}),p=e.current.unstable_applyPipeProcessors("hydrateRows",{tree:s,treeDepths:l,dataRowIdToIdLookup:a.dataRowIdToIdLookup,dataRowIds:u,dataRowIdToModelLookup:a.dataRowIdToModelLookup});return e.current.caches.rows.updates={type:"partial",actions:{insert:[],modify:[],remove:[]},idToActionLookup:{}},qe({},p,{totalRowCount:Math.max(t,p.dataRowIds.length),totalTopLevelRowCount:Mrt({tree:p.tree,rowCountProp:t}),groupingName:c,loading:n,groupsToFetch:f})},LF=e=>e.type==="skeletonRow"||e.type==="footer"||e.type==="group"&&e.isAutoGenerated||e.type==="pinnedRow"&&e.isAutoGenerated,Frt=(e,t,n)=>{const r=e[t];if(r.type!=="group")return[];const i=[];for(let o=0;o<r.children.length;o+=1){const a=r.children[o];(!n||!LF(e[a]))&&i.push(a);const s=Frt(e,a,n);for(let l=0;l<s.length;l+=1)i.push(s[l])}return!n&&r.footerId!=null&&i.push(r.footerId),i},Zdt=({previousCache:e,getRowId:t,updates:n,groupKeys:r})=>{if(e.updates.type==="full")throw new Error("MUI X: Unable to prepare a partial update if a full update is not applied yet.");const i=new Map;n.forEach(c=>{const f=xF(c,t,"A row was provided without id when calling updateRows():");i.has(f)?i.set(f,qe({},i.get(f),c)):i.set(f,c)});const o={type:"partial",actions:{insert:[...e.updates.actions.insert??[]],modify:[...e.updates.actions.modify??[]],remove:[...e.updates.actions.remove??[]]},idToActionLookup:qe({},e.updates.idToActionLookup),groupKeys:r},a=qe({}
2012,e.dataRowIdToModelLookup),s=qe({},e.dataRowIdToIdLookup),l={insert:{},modify:{},remove:{}};i.forEach((c,f)=>{const p=o.idToActionLookup[f];if(c._action==="delete"){if(p==="remove"||!a[f])return;p!=null&&(l[p][f]=!0),o.actions.remove.push(f),delete a[f],delete s[f];return}const v=a[f];if(v){p==="remove"?(l.remove[f]=!0,o.actions.modify.push(f)):p==null&&o.actions.modify.push(f),a[f]=qe({},v,c);return}p==="remove"?(l.remove[f]=!0,o.actions.insert.push(f)):p==null&&o.actions.insert.push(f),a[f]=c,s[f]=f});const u=Object.keys(l);for(let c=0;c<u.length;c+=1){const f=u[c],p=l[f];Object.keys(p).length>0&&(o.actions[f]=o.actions[f].filter(v=>!p[v]))}return{dataRowIdToModelLookup:a,dataRowIdToIdLookup:s,updates:o,rowsBeforePartialUpdates:e.rowsBeforePartialUpdates,loadingPropBeforePartialUpdates:e.loadingPropBeforePartialUpdates,rowCountPropBeforePartialUpdates:e.rowCountPropBeforePartialUpdates}},Urt="var(--DataGrid-overlayHeight, calc(var(--height) * 2))";function Qdt(e,t,n){const r=[];return t.forEach(i=>{const o=xF(i,n,"A row was provided without id when calling updateRows():");if(e.current.getRowNode(o)?.type==="pinnedRow"){const s=e.current.caches.pinnedRows,l=s.idLookup[o];l&&(s.idLookup[o]=qe({},l,i))}else r.push(i)}),r}const Xdt=(e,t,n)=>typeof e=="number"&&e>0?e:t,eft="__tree_data_group__",Vrt="__row_group_by_columns_group__",Brt="__detail_panel_toggle__";let Zr=(function(e){return e[e.NONE=0]="NONE",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.VIRTUAL=3]="VIRTUAL",e})({});const jrt=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","hasFocus","tabIndex","hideDescendantCount"],zrt=e=>{const{classes:t}=e;return Dt({root:["booleanCell"]},yo,t)};function Hrt(e){const{value:t,rowNode:n}=e,r=Tr(e,jrt),i=za(),o=vr(),a={classes:o.classes},s=zrt(a),u=xn(i,UA)>0&&n.type==="group"&&o.treeData===!1,c=m.useMemo(()=>t?o.slots.booleanCellTrueIcon:o.slots.booleanCellFalseIcon,[o.slots.booleanCellFalseIcon,o.slots.booleanCellTrueIcon,t]);return u&&t===void 0?null:b.jsx(c,qe({fontSize:"small",className:s.root,titleAccess:i.current.getLocaleText(t?"booleanCellTrueLabel":"booleanCellFalseLabel"),"data-value":!!t},r))}const Wrt=m.memo(Hrt),qrt=e=>e.field!==Vrt&&LF(e.rowNode)?"":b.jsx(Wrt,qe({},e)),Grt=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","hasFocus","isValidating","isProcessingProps","error","onValueChange"],Krt=e=>{const{classes:t}=e;return Dt({root:["editBooleanCell"]},yo,t)};function Yrt(e){const{id:t,value:n,field:r,className:i,hasFocus:o,onValueChange:a}=e,s=Tr(e,Grt),l=za(),u=m.useRef(null),c=Rr(),[f,p]=m.useState(n),v=vr(),g={classes:v.classes},y=Krt(g),k=m.useCallback(async E=>{const S=E.target.checked;a&&await a(E,S),p(S),await l.current.setEditCellValue({id:t,field:r,value:S},E)},[l,r,t,a]);return m.useEffect(()=>{p(n)},[n]),ni(()=>{o&&u.current.focus()}
2012,[o]),b.jsx("label",qe({htmlFor:c,className:mt(y.root,i)},s,{children:b.jsx(v.slots.baseCheckbox,qe({id:c,inputRef:u,checked:!!f,onChange:k,size:"small"},v.slotProps?.baseCheckbox))}))}const $rt=e=>b.jsx(Yrt,qe({},e)),Jrt=["item","applyValue","apiRef","focusElementRef","isFilterActive","clearButton","tabIndex","label","variant","InputLabelProps"],zS=e=>{if(String(e).toLowerCase()==="true")return!0;if(String(e).toLowerCase()==="false")return!1},Zrt=$e("div")({display:"flex",alignItems:"center",width:"100%","& button":{margin:"auto 0px 5px 5px"}});function Qrt(e){const{item:t,applyValue:n,apiRef:r,focusElementRef:i,clearButton:o,tabIndex:a,label:s,variant:l="standard"}=e,u=Tr(e,Jrt),[c,f]=m.useState(zS(t.value)),p=vr(),v=Rr(),g=Rr(),y=p.slotProps?.baseSelect||{},k=y.native??!1,E=p.slotProps?.baseSelectOption||{},S=m.useCallback(I=>{const A=zS(I.target.value);f(A),n(qe({},t,{value:A}))},[n,t]);m.useEffect(()=>{f(zS(t.value))},[t.value]);const T=s??r.current.getLocaleText("filterPanelInputLabel");return b.jsxs(Zrt,{children:[b.jsxs(p.slots.baseFormControl,{fullWidth:!0,children:[b.jsx(p.slots.baseInputLabel,qe({},p.slotProps?.baseInputLabel,{id:v,shrink:!0,variant:l,children:T})),b.jsxs(p.slots.baseSelect,qe({labelId:v,id:g,label:T,value:c===void 0?"":String(c),onChange:S,variant:l,notched:l==="outlined"?!0:void 0,native:k,displayEmpty:!0,inputProps:{ref:i,tabIndex:a}},u,y,{children:[b.jsx(p.slots.baseSelectOption,qe({},E,{native:k,value:"",children:r.current.getLocaleText("filterValueAny")})),b.jsx(p.slots.baseSelectOption,qe({},E,{native:k,value:"true",children:r.current.getLocaleText("filterValueTrue")})),b.jsx(p.slots.baseSelectOption,qe({},E,{native:k,value:"false",children:r.current.getLocaleText("filterValueFalse")}))]}))]}),o]})}const Xrt=()=>[{value:"is",getApplyFilterFn:e=>{const t=zS(e.value);return t===void 0?null:n=>!!n===t},InputComponent:Qrt}],eit=(e,t,n,r)=>e?r.current.getLocaleText("booleanCellTrueLabel"):r.current.getLocaleText("booleanCellFalseLabel"),tit=e=>{switch(e.toLowerCase().trim()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case"null":case"undefined":return!1;default:return}},nit=qe({},Es,{type:"boolean",display:"flex",align:"center",headerAlign:"center",renderCell:qrt,renderEditCell:$rt,sortComparator:Wre,valueFormatter:eit,filterOperators:Xrt(),getApplyQuickFilterFn:void 0,aggregable:!1,pastedValueParser:e=>tit(e)}),tie=e=>e.sorting,nie=sn(tie,e=>e.sortedRows),rie=Xn(nie,FA,Yh,(e,t,n)=>e.reduce((r,i)=>{const o=t[i];if(o)r.push({id:i,model:o});else{const a=n[i];a&&LF(a)&&r.push({id:i,model:{[wO]:i}})}return r},[])),rit=sn(tie,e=>e.sortModel),tft=Xn(rit,e=>e.reduce((n,r,i)=>(n[r.field]={sortDirection:r.sort,sortIndex:e.length>1?i+1:void 0},n),{})),nft=Xn(nie,e=>e.reduce((t,n,r)=>(t[n]=r,t),Object.create(null))),BA=e=>e.filter,Jh=sn(BA,e=>e.filterModel),iit=sn(Jh,e=>e.quickFilterValues),oit=e=>e.visibleRowsLookup,ait=sn(BA,e=>e.filteredRowsLookup),rft=sn(BA,e=>e.filteredChildrenCountLookup),ift=sn(BA,e=>e.filteredDescendantCountLookup),Zh=Xn(oit,rie,UA,Jh,iit,(e,t,n,r,i)=>n<2&&!r.items.length&&!i?.length?t:t.filter(o=>e[o.id]!==!1)),iie=Xn(Zh,e=>e.map(t=>t.id)),oie=Xn(ait,rie,(e,t)=>t.filter(n=>e[n.id]!==!1)),oft=Xn(oie,e=>e.map(t=>t.id)),aft=Xn(iie,Yh,(e,t)=>{const n={};let r=0;return e.reduce((i,o)=>{const a=t[o];return n[a.depth]||(n[a.depth]=0),a.depth>r&&(n[a.depth]=0),r=a.depth,n[a.depth]+=1,i[o]=n[a.depth],i},{})}),aie=Xn(Zh,Yh,UA,(e,t,n)=>n<2?e:e.filter(r=>t[r.id]?.depth===0)),sft=sn(Zh,e=>e.length),sit=sn(aie,e=>e.length),lit=sn(oie,e=>e.length);sn(lit,sit,(e,t)=>e-t);const uit=Xn(Jh,xk,(e,t)=>e.items?.filter(n=>{if(!n.field)return!1;const r=t[n.field];if(!r?.filterOperators||r?.filterOperators?.length===0)return!1;const i=r.filterOperators.find(o=>o.value===n.operator);return i?!i.InputComponent||n.value!=null&&n.value?.toString()!=="":!1}
2012)),lft=Xn(uit,e=>e.reduce((n,r)=>(n[r.field]?n[r.field].push(r):n[r.field]=[r],n),{})),OF=e=>e.rowSelection,uft=sn(OF,e=>e.length),cft=Xn(OF,FA,(e,t)=>new Map(e.map(n=>[n,t[n]]))),cit=Xn(OF,e=>e.reduce((t,n)=>(t[n]=n,t),{})),jA=e=>e.focus,sie=sn(jA,e=>e.cell),dft=sn(jA,e=>e.columnHeader),dit=sn(jA,e=>e.columnHeaderFilter),fft=sn(jA,e=>e.columnGroupHeader),zA=e=>e.tabIndex,pft=sn(zA,e=>e.cell),mft=sn(zA,e=>e.columnHeader),fit=sn(zA,e=>e.columnHeaderFilter),hft=sn(zA,e=>e.columnGroupHeader);function pit(e,t,n){const r=m.useRef(!0);ni(()=>{r.current=!1,e.current.register(n,t)},[e,n,t]),r.current&&e.current.register(n,t)}const mit=()=>{},hit=(e,t)=>{const n=m.useRef(!1);ni(()=>n.current||!e?mit:(n.current=!0,t()),[n.current||e])},git=100,gft=e=>e?0:100,vit=(e,t,n)=>t>0&&e>0?Math.ceil(e/t):e===-1?n+2:0,vft=e=>({page:0,pageSize:e?0:100}),yft=(e,t=0)=>t===0?e:Math.max(Math.min(e,t-1),0),kft=(e,t)=>{if(t===jre.DataGrid&&e>git)throw new Error(["MUI X: `pageSize` cannot exceed 100 in the MIT version of the DataGrid.","You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature."].join(` 2013`))},yit=-1,HA=e=>e.pagination,lie=sn(HA,e=>e.enabled&&e.paginationMode==="client"),WA=sn(HA,e=>e.paginationModel),kit=sn(HA,e=>e.rowCount),bft=sn(HA,e=>e.meta),Sft=sn(WA,e=>e.page),Eft=sn(WA,e=>e.pageSize),Tft=sn(WA,kit,(e,t)=>vit(t,e.pageSize,e.page)),PF=Xn(lie,WA,Yh,UA,Zh,aie,(e,t,n,r,i,o)=>{if(!e)return null;const a=o.length,s=Math.min(t.pageSize*t.page,a-1),l=t.pageSize===yit?a-1:Math.min(s+t.pageSize-1,a-1);if(s===-1||l===-1)return null;if(r<2)return{firstRowIndex:s,lastRowIndex:l};const u=o[s],c=l-s+1,f=i.findIndex(g=>g.id===u.id);let p=f,v=0;for(;p<i.length&&v<=c;){const g=i[p],y=n[g.id]?.depth;y===void 0?p+=1:((v<c||y>0)&&(p+=1),y===0&&(v+=1))}return{firstRowIndex:f,lastRowIndex:p-1}}),bit=Xn(Zh,PF,(e,t)=>t?e.slice(t.firstRowIndex,t.lastRowIndex+1):[]),Cft=Xn(iie,PF,(e,t)=>t?e.slice(t.firstRowIndex,t.lastRowIndex+1):[]),qA=Xn(lie,PF,bit,Zh,(e,t,n,r)=>e?{rows:n,range:t,rowToIndexMap:n.reduce((i,o,a)=>(i.set(o.model,a),i),new Map)}:{rows:r,range:r.length===0?null:{firstRowIndex:0,lastRowIndex:r.length-1},rowToIndexMap:r.reduce((i,o,a)=>(i.set(o.model,a),i),new Map)}),GA=(e,t)=>wO in t?t[wO]:e.props.getRowId?e.props.getRowId(t):t.id,Sit=["item","applyValue","type","apiRef","focusElementRef","InputProps","isFilterActive","clearButton","tabIndex","disabled"];function C7(e,t){if(e==null)return"";const n=new Date(e);return Number.isNaN(n.getTime())?"":t==="date"?n.toISOString().substring(0,10):t==="datetime-local"?(n.setMinutes(n.getMinutes()-n.getTimezoneOffset()),n.toISOString().substring(0,19)):n.toISOString().substring(0,10)}function nm(e){const{item:t,applyValue:n,type:r,apiRef:i,focusElementRef:o,InputProps:a,clearButton:s,tabIndex:l,disabled:u}=e,c=Tr(e,Sit),f=Pl(),[p,v]=m.useState(()=>C7(t.value,r)),[g,y]=m.useState(!1),k=Rr(),E=vr(),S=m.useCallback(T=>{f.clear();const I=T.target.value;v(I),y(!0),f.start(E.filterDebounceMs,()=>{const A=new Date(I);n(qe({},t,{value:Number.isNaN(A.getTime())?void 0:A})),y(!1)})},[n,t,E.filterDebounceMs,f]);return m.useEffect(()=>{const T=C7(t.value,r);v(T)},[t.value,r]),b.jsx(E.slots.baseTextField,qe({fullWidth:!0,id:k,label:i.current.getLocaleText("filterPanelInputLabel"),placeholder:i.current.getLocaleText("filterPanelInputPlaceholder"),value:p,onChange:S,variant:"standard",type:r||"text",InputLabelProps:{shrink:!0},inputRef:o,InputProps:qe({},g||s?{endAdornment:g?b.jsx(E.slots.loadIcon,{fontSize:"small",color:"action"}):s}:{},{disabled:u},a,{inputProps:qe({max:r==="datetime-local"?"9999-12-31T23:59":"9999-12-31",tabIndex:l},a?.inputProps)})},c,E.slotProps?.baseTextField))}function rm(e,t,n,r){if(!e.value)return null;const i=new Date(e.value);n?i.setSeconds(0,0):(i.setMinutes(i.getMinutes()+i.getTimezoneOffset()),i.setHours(0,0,0,0));const o=i.getTime();return a=>{if(!a)return!1;if(r)return t(a.getTime(),o);const s=new Date(a);return n?s.setSeconds(0,0):s.setHours(0,0,0,0),t(s.getTime(),o)}}const uie=e=>[{value:"is",getApplyFilterFn:t=>rm(t,(n,r)=>n===r,e),InputComponent:nm,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"not",getApplyFilterFn:t=>rm(t,(n,r)=>n!==r,e),InputComponent:nm,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"after",getApplyFilterFn:t=>rm(t,(n,r)=>n>r,e),InputComponent:nm,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"onOrAfter",getApplyFilterFn:t=>rm(t,(n,r)=>n>=r,e),InputComponent:nm,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"before",getApplyFilterFn:t=>rm(t,(n,r)=>n<r,e,!e),InputComponent:nm,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"onOrBefore",getApplyFilterFn:t=>rm(t,(n,r)=>n<=r,e),InputComponent:nm,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"isEmpty",getApplyFilterFn:()=>t=>t==null,requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:()=>t=>t!=null,requiresFilterValue:!1}],Eit=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","inputProps","isValidating","isProcessingProps","onValueChange"],Tit=$e(ik)({fontSize:"inherit"}),Cit=e=>{const{classes:t}=e;return Dt({root:["editInputCell"]},yo,t)};function Ait(e){const{id:t,value:n,field:r,colDef:i,hasFocus:o,inputProps:a,onValueChange:s}=e,l=Tr(e,Eit),u=i.type==="dateTime",c=za(),f=m.useRef(null),p=m.useMemo(()=>{let I;n==null?I=null:n instanceof Date?I=n:I=new Date((n??"").toString());let A;return I==null||Number.isNaN(I.getTime())?A="":A=new Date(I.getTime()-I.getTimezoneOffset()*60*1e3).toISOString().substr(0,u?16:10),{parsed:I,formatted:A}},[n,u]),[v,g]=m.useState(p),k={classes:vr().classes},E=Cit(k),S=m.useCallback(I=>{if(I==="")return null;const[A,w]=I.split("T"),[R,x,D]=A.split("-"),M=new Date;if(M.setFullYear(Number(R),Number(x)-1,Number(D)),M.setHours(0,0,0,0),w){const[F,L]=w.split(":");M.setHours(Number(F),Number(L),0,0)}return M},[]),T=m.useCallback(async I=>{const A=I.target.value,w=S(A);
2013s&&await s(I,w),g({parsed:w,formatted:A}),c.current.setEditCellValue({id:t,field:r,value:w},I)},[c,r,t,s,S]);return m.useEffect(()=>{g(I=>p.parsed!==I.parsed&&p.parsed?.getTime()!==I.parsed?.getTime()?p:I)},[p]),ni(()=>{o&&f.current.focus()},[o]),b.jsx(Tit,qe({inputRef:f,fullWidth:!0,className:E.root,type:u?"datetime-local":"date",inputProps:qe({max:u?"9999-12-31T23:59":"9999-12-31"},a),value:v.formatted,onChange:T},l))}const cie=e=>b.jsx(Ait,qe({},e));function die({value:e,columnType:t,rowId:n,field:r}){if(!(e instanceof Date))throw new Error([`MUI X: \`${t}\` column type only accepts \`Date\` objects as values.`,"Use `valueGetter` to transform the value into a `Date` object.",`Row ID: ${n}, field: "${r}".`].join(` 2014`))}const Iit=(e,t,n,r)=>{if(!e)return"";const i=GA(r.current.state,t);return die({value:e,columnType:"date",rowId:i,field:n.field}),e.toLocaleDateString()},wit=(e,t,n,r)=>{if(!e)return"";const i=GA(r.current.state,t);return die({value:e,columnType:"dateTime",rowId:i,field:n.field}),e.toLocaleString()},Nit=qe({},Es,{type:"date",sortComparator:qre,valueFormatter:Iit,filterOperators:uie(),renderEditCell:cie,pastedValueParser:e=>new Date(e)}),Rit=qe({},Es,{type:"dateTime",sortComparator:qre,valueFormatter:wit,filterOperators:uie(!0),renderEditCell:cie,pastedValueParser:e=>new Date(e)}),xc=e=>e==null?null:Number(e),xit=e=>e==null||Number.isNaN(e)||e===""?null:t=>xc(t)===xc(e),Lit=()=>[{value:"=",getApplyFilterFn:e=>e.value==null||Number.isNaN(e.value)?null:t=>xc(t)===e.value,InputComponent:ss,InputComponentProps:{type:"number"}},{value:"!=",getApplyFilterFn:e=>e.value==null||Number.isNaN(e.value)?null:t=>xc(t)!==e.value,InputComponent:ss,InputComponentProps:{type:"number"}},{value:">",getApplyFilterFn:e=>e.value==null||Number.isNaN(e.value)?null:t=>t==null?!1:xc(t)>e.value,InputComponent:ss,InputComponentProps:{type:"number"}},{value:">=",getApplyFilterFn:e=>e.value==null||Number.isNaN(e.value)?null:t=>t==null?!1:xc(t)>=e.value,InputComponent:ss,InputComponentProps:{type:"number"}},{value:"<",getApplyFilterFn:e=>e.value==null||Number.isNaN(e.value)?null:t=>t==null?!1:xc(t)<e.value,InputComponent:ss,InputComponentProps:{type:"number"}},{value:"<=",getApplyFilterFn:e=>e.value==null||Number.isNaN(e.value)?null:t=>t==null?!1:xc(t)<=e.value,InputComponent:ss,InputComponentProps:{type:"number"}},{value:"isEmpty",getApplyFilterFn:()=>e=>e==null,requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:()=>e=>e!=null,requiresFilterValue:!1},{value:"isAnyOf",getApplyFilterFn:e=>!Array.isArray(e.value)||e.value.length===0?null:t=>t!=null&&e.value.includes(Number(t)),InputComponent:Gre,InputComponentProps:{type:"number"}}],Oit=qe({},Es,{type:"number",align:"right",headerAlign:"right",sortComparator:Wre,valueParser:e=>e===""?null:Number(e),valueFormatter:e=>irt(e)?e.toLocaleString():e||"",filterOperators:Lit(),getApplyQuickFilterFn:xit});function Ih(e){return e?.type==="singleSelect"}function Xf(e,t){if(e)return typeof e.valueOptions=="function"?e.valueOptions(qe({field:e.field},t)):e.valueOptions}function RT(e,t,n){if(t===void 0)return;const r=t.find(i=>{const o=n(i);return String(o)===String(e)});return n(r)}const Pit=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","hasFocus","isValidating","isProcessingProps","error","onValueChange","initialOpen"],_it=["MenuProps"];function Dit(e){return!!e.key}function Mit(e){const t=vr(),{id:n,value:r,field:i,row:o,colDef:a,hasFocus:s,error:l,onValueChange:u,initialOpen:c=t.editMode===CO.Cell}=e,f=Tr(e,Pit),p=za(),v=m.useRef(null),g=m.useRef(null),[y,k]=m.useState(c),S=(t.slotProps?.baseSelect||{}).native??!1,T=t.slotProps?.baseSelect||{},{MenuProps:I}=T,A=Tr(T,_it);if(ni(()=>{s&&g.current?.focus()},[s]),!Ih(a))return null;const w=Xf(a,{id:n,row:o});if(!w)return null;const R=a.getOptionValue,x=a.getOptionLabel,D=async L=>{if(!Ih(a)||!w)return;k(!1);const P=L.target,j=RT(P.value,w,R);u&&await u(L,j),await p.current.setEditCellValue({id:n,field:i,value:j},L)},M=(L,P)=>{if(t.editMode===CO.Row){k(!1);return}if(P==="backdropClick"||L.key==="Escape"){const j=p.current.getCellParams(n,i);p.current.publishEvent("cellEditStop",qe({},j,{reason:L.key==="Escape"?AO.escapeKeyDown:AO.cellFocusOut}))}},F=L=>{Dit(L)&&L.key==="Enter"||k(!0)};return!w||!a?null:b.jsx(t.slots.baseSelect,qe({ref:v,inputRef:g,value:r,onChange:D,open:y,onOpen:F,MenuProps:qe({onClose:M},I),error:l,native:S,fullWidth:!0},f,A,{children:w.map(L=>{const P=R(L);return m.createElement(t.slots.baseSelectOption,qe({},t.slotProps?.baseSelectOption||{},{native:S,key:P,value:P}),x(L))})}))}const Fit=e=>b.jsx(Mit,qe({},e)),Uit=["item","applyValue","type","apiRef","focusElementRef","placeholder","tabIndex","label","variant","isFilterActive","clearButton","InputLabelProps"],Vit=({column:e,OptionComponent:t,getOptionLabel:n,getOptionValue:r,isSelectNative:i,baseSelectOptionProps:o})=>["",...Xf(e)||[]].map(s=>{const l=r(s);let u=n(s);return u===""&&(u="â"),m.createElement(t,qe({},o,{native:i,key:l,value:l}),u)}),Bit=$e("div")({display:"flex",alignItems:"flex-end",width:"100%","& button":{margin:"auto 0px 5px 5px"}});function A7(e){const{item:t,applyValue:n,type:r,apiRef:i,focusElementRef:o,placeholder:a,tabIndex:s,label:l,variant:u="standard",clearButton:c}=e,f=Tr(e,Uit),p=t.value??"",v=Rr(),g=Rr(),y=vr(),k=y.slotProps?.baseSelect?.native??!1;let E=null;if(t.field){const R=i.current.getColumn(t.field);Ih(R)&&(E=R)}const S=E?.getOptionValue,T=E?.getOptionLabel,I=m.useMemo(()=>Xf(E),[E]),A=m.useCallback(R=>{let x=R.target.value;x=RT(x,I,S),n(qe({},t,{value:x}))},[I,S,n,t]);if(!Ih(E))return null;const w=l??i.current.getLocaleText("filterPanelInputLabel");return b.jsxs(Bit,{children:[b.jsxs(y.slots.baseFormControl,{fullWidth:!0,children:[b.jsx(y.slots.baseInputLabel,qe({},y.slotProps?.baseInputLabel,{id:g,htmlFor:v,shrink:!0,variant:u,children:w})),b.jsx(y.slots.baseSelect,qe({id:v,label:w,labelId:g,value:p,onChange:A,variant:u,type:r||"text",inputProps:{tabIndex:s,ref:o,placeholder:a??i.current.getLocaleText("filterPanelInputPlaceholder")},native:k,notched:u==="outlined"?!0:void 0},f,y.slotProps?.baseSelect,{children:Vit({column:E,OptionComponent:y.slots.baseSelectOption,getOptionLabel:T,getOptionValue:S,isSelectNative:k,baseSelectOptionProps:y.slotProps?.baseSelectOption})}))]}),c]})}const jit=["item","applyValue","type","apiRef","focusElementRef","color","error","helperText","size","variant"],zit=["key"],Hit=iK();function Wit(e){const{item:t,applyValue:n,apiRef:r,focusElementRef:i,color:o,error:a,helperText:s,size:l,variant:u="standard"}=e,c=Tr(e,jit),f={color:o,error:a,helperText:s,size:l,variant:u},p=Rr(),v=vr();let g=null;if(t.field){const A=r.current.getColumn(t.field);Ih(A)&&(g=A)}const y=g?.getOptionValue,k=g?.getOptionLabel,E=m.useCallback((A,w)=>y(A)===y(w),[y]),S=m.useMemo(()=>Xf(g)||[],[g]),T=m.useMemo(()=>Array.isArray(t.value)?t.value.reduce((A,w)=>{const R=S.find(x=>y(x)===w);return R!=null&&A.push(R),A},[]):[],[y,t.value,S]),I=m.useCallback((A,w)=>{n(qe({},t,{value:w.map(y)}))},[n,t,y]);return b.jsx(s_,qe({multiple:!0,options:S,isOptionEqualToValue:E,filterOptions:Hit,id:p,value:T,onChange:I,getOptionLabel:k,renderTags:(A,w)=>A.map((R,x)=>{const D=w({index:x}),{key:M}=D,F=Tr(D,zit);return b.jsx(v.slots.baseChip,qe({variant:"outlined",size:"small",label:k(R)},F),M)}),renderInput:A=>b.jsx(v.slots.baseTextField,qe({},A,{label:r.current.getLocaleText("filterPanelInputLabel"),placeholder:r.current.getLocaleText("filterPanelInputPlaceholder"),InputLabelProps:qe({},A.InputLabelProps,{shrink:!0}
2014),inputRef:i,type:"singleSelect"},f,v.slotProps?.baseTextField))},c))}const im=e=>e==null||!wF(e)?e:e.value,qit=()=>[{value:"is",getApplyFilterFn:e=>e.value==null||e.value===""?null:t=>im(t)===im(e.value),InputComponent:A7},{value:"not",getApplyFilterFn:e=>e.value==null||e.value===""?null:t=>im(t)!==im(e.value),InputComponent:A7},{value:"isAnyOf",getApplyFilterFn:e=>{if(!Array.isArray(e.value)||e.value.length===0)return null;const t=e.value.map(im);return n=>t.includes(im(n))},InputComponent:Wit}],Git=e=>typeof e[0]=="object",Kit=e=>wF(e)?e.value:e,Yit=e=>wF(e)?e.label:String(e),$it=qe({},Es,{type:"singleSelect",getOptionLabel:Yit,getOptionValue:Kit,valueFormatter(e,t,n,r){const i=GA(r.current.state,t);if(!Ih(n))return"";const o=Xf(n,{id:i,row:t});if(e==null)return"";if(!o)return e;if(!Git(o))return n.getOptionLabel(e);const a=o.find(s=>n.getOptionValue(s)===e);return a?n.getOptionLabel(a):""},renderEditCell:Fit,filterOperators:qit(),pastedValueParser:(e,t,n)=>{const r=n,i=Xf(r)||[],o=r.getOptionValue;if(i.find(s=>o(s)===e))return e}}),Jit="string",Zit=()=>({string:Es,number:Oit,date:Nit,dateTime:Rit,boolean:nit,singleSelect:$it,[Prt]:_rt,custom:Es}),_F=e=>e.headerFiltering,Qit=sn(_F,e=>e?.enabled??!1),Aft=sn(_F,e=>e.editing),Ift=sn(_F,e=>e.menuOpen),KA=e=>e.columnGrouping,Xit=Xn(KA,e=>e?.unwrappedGroupingModel??{}),eot=Xn(KA,e=>e?.lookup??{}),wft=Xn(KA,e=>e?.headerStructure??[]),tot=sn(KA,e=>e?.maxDepth??0),not=["maxWidth","minWidth","width","flex"],XR=Zit();function rot({initialFreeSpace:e,totalFlexUnits:t,flexColumns:n}){const r=new Set(n.map(a=>a.field)),i={all:{},frozenFields:[],freeze:a=>{const s=i.all[a];s&&s.frozen!==!0&&(i.all[a].frozen=!0,i.frozenFields.push(a))}};function o(){if(i.frozenFields.length===r.size)return;const a={min:{},max:{}};let s=e,l=t,u=0;i.frozenFields.forEach(c=>{s-=i.all[c].computedWidth,l-=i.all[c].flex});for(let c=0;c<n.length;c+=1){const f=n[c];if(i.all[f.field]&&i.all[f.field].frozen===!0)continue;let v=s/l*f.flex;v<f.minWidth?(u+=f.minWidth-v,v=f.minWidth,a.min[f.field]=!0):v>f.maxWidth&&(u+=f.maxWidth-v,v=f.maxWidth,a.max[f.field]=!0),i.all[f.field]={frozen:!1,computedWidth:v,flex:f.flex}}u<0?Object.keys(a.max).forEach(c=>{i.freeze(c)}):u>0?Object.keys(a.min).forEach(c=>{i.freeze(c)}):n.forEach(({field:c})=>{i.freeze(c)}),o()}return o(),i.all}const iot=(e,t)=>{const n={};let r=0,i=0;const o=[];e.orderedFields.forEach(l=>{let u=e.lookup[l],c=0,f=!1;e.columnVisibilityModel[l]!==!1&&(u.flex&&u.flex>0?(r+=u.flex,f=!0):c=Mf(u.width||Es.width,u.minWidth||Es.minWidth,u.maxWidth||Es.maxWidth),i+=c),u.computedWidth!==c&&(u=qe({},u,{computedWidth:c})),f&&o.push(u),n[l]=u});const a=t===void 0?0:t.viewportOuterSize.width-(t.hasScrollY?t.scrollbarSize:0),s=Math.max(a-i,0);if(r>0&&a>0){const l=rot({initialFreeSpace:s,totalFlexUnits:r,flexColumns:o});Object.keys(l).forEach(u=>{n[u].computedWidth=l[u].computedWidth})}return qe({},e,{lookup:n})},oot=(e,t)=>{if(!t)return e;const{orderedFields:n=[],dimensions:r={}}=t,i=Object.keys(r);if(i.length===0&&n.length===0)return e;const o={},a=[];for(let c=0;c<n.length;c+=1){const f=n[c];e.lookup[f]&&(o[f]=!0,a.push(f))}const s=a.length===0?e.orderedFields:[...a,...e.orderedFields.filter(c=>!o[c])],l=qe({},e.lookup);for(let c=0;c<i.length;c+=1){const f=i[c],p=qe({},l[f],{hasBeenResized:!0});Object.entries(r[f]).forEach(([v,g])=>{p[v]=g===-1?1/0:g}),l[f]=p}return qe({},e,{orderedFields:s,lookup:l})};function I7(e){let t=XR[Jit];return e&&XR[e]&&(t=XR[e]),t}const Nft=({apiRef:e,columnsToUpsert:t,initialState:n,columnVisibilityModel:r=$re(e),keepOnlyColumnsToUpsert:i=!1})=>{const o=!e.current.state.columns;let a;if(o)a={orderedFields:[],lookup:{},columnVisibilityModel:r};else{const c=Rk(e.current.state);a={orderedFields:i?[]:[...c.orderedFields],lookup:qe({},c.lookup),columnVisibilityModel:r}}let s={};i&&!o&&(s=Object.keys(a.lookup).reduce((c,f)=>qe({},c,{[f]:!1}),{})),t.forEach(c=>{const{field:f}=c;s[f]=!0;let p=a.lookup[f];p==null?(p=qe({},I7(c.type),{field:f,hasBeenResized:!1}),a.orderedFields.push(f)):i&&a.orderedFields.push(f),p&&p.type!==c.type&&(p=qe({},I7(c.type),{field:f}));let v=p.hasBeenResized;not.forEach(g=>{c[g]!==void 0&&(v=!0,c[g]===-1&&(c[g]=1/0))}),a.lookup[f]=nh(p,qe({},c,{hasBeenResized:v}))}
2014),i&&!o&&Object.keys(a.lookup).forEach(c=>{s[c]||delete a.lookup[c]});const l=e.current.unstable_applyPipeProcessors("hydrateColumns",a),u=oot(l,n);return iot(u,e.current.getRootDimensions?.()??void 0)};function aot({firstColumnToRender:e,apiRef:t,firstRowToRender:n,lastRowToRender:r,visibleRows:i}){let o=e;for(let a=n;a<r;a+=1)if(i[a]){const l=i[a].id,u=t.current.unstable_getCellColSpanInfo(l,e);u&&u.spannedByColSpan&&(o=u.leftVisibleCellIndex)}return o}function Rft(e,t){if(t.unstable_listView)return 0;const n=Hnt(e),r=tot(e),i=Qit(e),o=Math.floor(t.columnHeaderHeight*n),a=Math.floor((t.columnGroupHeaderHeight??t.columnHeaderHeight)*n),s=i?Math.floor((t.headerFilterHeight??t.columnHeaderHeight)*n):0;return o+a*r+s}var av={},ex={exports:{}},tx={exports:{}},w7;function sot(){return w7||(w7=1,(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(tx)),tx.exports}var N7;function lot(){return N7||(N7=1,(function(e){var t=sot().default;function n(r,i){if(typeof WeakMap=="function")var o=new WeakMap,a=new WeakMap;return(e.exports=n=function(l,u){if(!u&&l&&l.__esModule)return l;var c,f,p={__proto__:null,default:l};if(l===null||t(l)!="object"&&typeof l!="function")return p;if(c=u?a:o){if(c.has(l))return c.get(l);c.set(l,p)}for(var v in l)v!=="default"&&{}.hasOwnProperty.call(l,v)&&((f=(c=Object.defineProperty)&&Object.getOwnPropertyDescriptor(l,v))&&(f.get||f.set)?c(p,v,f):p[v]=l[v]);return p},e.exports.__esModule=!0,e.exports.default=e.exports)(r,i)}
2014e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(ex)),ex.exports}var R7;function uot(){if(R7)return av;R7=1;var e=lot().default;Object.defineProperty(av,"__esModule",{value:!0}),av.default=void 0;var t=e(ep());return av.default=parseInt(t.version,10),av}var cot=uot();const dot=Wu(cot),fot=m.createContext(void 0);function Lk(){const e=m.useContext(fot);if(e===void 0)throw new Error(["MUI X: Could not find the Data Grid private context.","It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.","This can also happen if you are bundling multiple versions of the Data Grid."].join(` 2015`));return e}const pot=(e,t)=>qA(e),mot=(e,t)=>xn(e,qA),hot=typeof navigator<"u"?navigator.userAgent.toLowerCase():"empty",got=hot.includes("firefox"),vot=e=>e.rowsMeta,YA=e=>e.virtualization;sn(YA,e=>e.enabled);const yot=sn(YA,e=>e.enabledForColumns),kot=sn(YA,e=>e.enabledForRows),fie=sn(YA,e=>e.renderContext),bot=Xn(e=>e.virtualization.renderContext.firstColumnIndex,e=>e.virtualization.renderContext.lastColumnIndex,(e,t)=>({firstColumnIndex:e,lastColumnIndex:t})),NO={firstRowIndex:0,lastRowIndex:0,firstColumnIndex:0,lastColumnIndex:0},xft=(e,t)=>{const{disableVirtualization:n,autoHeight:r}=t;return qe({},e,{virtualization:{enabled:!n,enabledForColumns:!n,enabledForRows:!n&&!r,renderContext:NO}})};function Lft(e,t){const n=o=>{e.current.setState(a=>qe({},a,{virtualization:qe({},a.virtualization,{enabled:o,enabledForColumns:o,enabledForRows:o&&!t.autoHeight})}))};pit(e,{unstable_setVirtualization:n,unstable_setColumnVirtualization:o=>{e.current.setState(a=>qe({},a,{virtualization:qe({},a.virtualization,{enabledForColumns:o})}))}},"public"),m.useEffect(()=>{n(!t.disableVirtualization)},[t.disableVirtualization,t.autoHeight])}const DF=e=>e.rowSpanning,Oft=sn(DF,e=>e.hiddenCells),Pft=sn(DF,e=>e.spannedCells),Sot=sn(DF,e=>e.hiddenCellOriginMap),pie=e=>e.listViewColumn,Eot=Mre(sie,fie,qA,$h,FA,(e,t,n,r,i)=>{if(!e)return!1;const o=i[e.id];if(!o)return!1;const a=n.rowToIndexMap.get(o),s=r.slice(t.firstColumnIndex,t.lastColumnIndex).findIndex(u=>u.field===e.field);return!(a!==void 0&&s!==-1&&a>=t.firstRowIndex&&a<=t.lastRowIndex)}),Tot=Xn(Eot,$h,qA,FA,sie,(e,t,n,r,i)=>{if(!e)return null;const o=r[i.id];if(!o)return null;const a=n.rowToIndexMap.get(o);if(a===void 0)return null;const s=t.findIndex(l=>l.field===i.field);return s===-1?null:qe({},i,{rowIndex:a,columnIndex:s})});function H0(e,t){return Math.round(e*10**t)/10**t}const x7=typeof window<"u"&&/jsdom|HappyDOM/.test(window.navigator.userAgent),nx=50;var bi=(function(e){return e[e.NONE=0]="NONE",e[e.UP=1]="UP",e[e.DOWN=2]="DOWN",e[e.LEFT=3]="LEFT",e[e.RIGHT=4]="RIGHT",e})(bi||{});const L7={top:0,left:0},Cot=Object.freeze(new Map),Aot=(e,t,n,r,i)=>({direction:bi.NONE,buffer:hie(e,bi.NONE,t,n,r,i)}),_ft=()=>{const e=Lk(),t=vr(),{unstable_listView:n}=t,r=xn(e,()=>n?[pie(e.current.state)]:$h(e)),i=xn(e,kot)&&!x7,o=xn(e,yot)&&!x7,a=xn(e,Hre),s=NF(e),l=n?IO:s,u=a.bottom.length>0,[c,f]=m.useState(Cot),p=md(),v=xn(e,cit),g=mot(e),y=e.current.mainElementRef,k=e.current.virtualScrollerRef,E=e.current.virtualScrollbarVerticalRef,S=e.current.virtualScrollbarHorizontalRef,T=xn(e,hrt),I=m.useRef(!1),A=xn(e,wnt),w=xn(e,Nnt),R=xn(e,TF),x=xn(e,Iot),D=xn(e,AF),M=xn(e,CF),F=m.useRef(null),L=m.useCallback(ae=>{if(y.current=ae,!ae)return;const pe=ae.getBoundingClientRect();let ve={width:H0(pe.width,1),height:H0(pe.height,1)};if((!F.current||ve.width!==F.current.width&&ve.height!==F.current.height)&&(F.current=ve,e.current.publishEvent("resize",ve)),typeof ResizeObserver>"u")return;const Se=new ResizeObserver(De=>{const Ee=De[0];if(!Ee)return;const ye={width:H0(Ee.contentRect.width,1),height:H0(Ee.contentRect.height,1)};ye.width===ve.width&&ye.height===ve.height||(e.current.publishEvent("resize",ye),ve=ye)});if(Se.observe(ae),dot>=19)return()=>{y.current=null,Se.disconnect()}},[e,y]),P=m.useRef(t.initialState?.scroll??L7),j=m.useRef(!1),B=m.useRef(L7),H=m.useRef(NO),G=xn(e,fie),O=xn(e,Tot),V=Pl(),W=m.useRef(void 0),U=ek(()=>Aot(p,t.rowBufferPx,t.columnBufferPx,A*15,nx*6)).current,q=m.useCallback(ae=>{if(Rot(ae,e.current.state.virtualization.renderContext))return;const pe=ae.firstRowIndex!==H.current.firstRowIndex||ae.lastRowIndex!==H.current.lastRowIndex;e.current.setState(Se=>qe({},Se,{virtualization:qe({},Se.virtualization,{renderContext:ae})})),Xv(e.current.state).isReady&&pe&&(H.current=ae,e.current.publishEvent("renderedRowsIntervalChange",ae)),B.current=P.current},[e]),$=Hi(()=>{const ae=k.current;if(!ae)return;const pe=Xv(e.current.state),ve=Math.ceil(pe.minimumSize.height-pe.viewportOuterSize.height),Se=Math.ceil(pe.minimumSize.width-pe.viewportInnerSize.width),De={top:Mf(ae.scrollTop,0,ve),left:p?Mf(ae.scrollLeft,-Se,0):Mf(ae.scrollLeft,0,Se)},Ee=De.left-P.current.left,ye=De.top-P.current.top,Pe=Ee!==0||ye!==0;P.current=De;
2015const Me=Pe?xot(Ee,ye):bi.NONE,Qe=Math.abs(P.current.top-B.current.top),Fe=Math.abs(P.current.left-B.current.left),Ve=Qe>=A||Fe>=nx,be=U.direction!==Me;if(!(Ve||be))return G;if(be)switch(Me){case bi.NONE:case bi.LEFT:case bi.RIGHT:W.current=void 0;break;default:W.current=G;break}U.direction=Me,U.buffer=hie(p,Me,t.rowBufferPx,t.columnBufferPx,A*15,nx*6);const ke=O7(e,t,i,o),ue=P7(ke,P.current,U);return qo.flushSync(()=>{q(ue)}),V.start(1e3,$),ue}),J=()=>{if(!Xv(e.current.state).isReady&&(i||o))return;const ae=O7(e,t,i,o),pe=P7(ae,P.current,U);W.current=void 0,q(pe)},Z=Hi(()=>{if(j.current){j.current=!1;return}const ae=$();e.current.publishEvent("scrollPositionChange",{top:P.current.top,left:P.current.left,renderContext:ae})}),Y=Hi(ae=>{e.current.publishEvent("virtualScrollerWheel",{},ae)}),ee=Hi(ae=>{e.current.publishEvent("virtualScrollerTouchMove",{},ae)}),te=(ae={})=>{if(!ae.rows&&!g.range)return[];const pe=Yh(e);let ve=G;ae.renderContext&&(ve=ae.renderContext,ve.firstColumnIndex=G.firstColumnIndex,ve.lastColumnIndex=G.lastColumnIndex);const Se=!u&&ae.position===void 0||u&&ae.position==="bottom",De=ae.position!==void 0;let Ee;switch(ae.position){case"top":Ee=0;break;case"bottom":Ee=a.top.length+g.rows.length;break;case void 0:Ee=a.top.length;break}const ye=ae.rows??g.rows,Pe=ve.firstRowIndex,Me=Math.min(ve.lastRowIndex,ye.length),Qe=ae.rows?v7(0,ae.rows.length):v7(Pe,Me);let Fe=-1;!De&&O&&(O.rowIndex<Pe&&(Qe.unshift(O.rowIndex),Fe=O.rowIndex),O.rowIndex>Me&&(Qe.push(O.rowIndex),Fe=O.rowIndex));const Ve=[],be=t.slotProps?.row,Ae=RF(e);return Qe.forEach(ke=>{const{id:ue,model:ze}=ye[ke];if(!pe[ue])return;const et=(g?.range?.firstRowIndex||0)+Ee+ke;if(T){const Pt=l.left.length,Ht=r.length-l.right.length;e.current.calculateColSpan({rowId:ue,minFirstColumn:Pt,maxLastColumn:Ht,columns:r}),l.left.length>0&&e.current.calculateColSpan({rowId:ue,minFirstColumn:0,maxLastColumn:l.left.length,columns:r}),l.right.length>0&&e.current.calculateColSpan({rowId:ue,minFirstColumn:r.length-l.right.length,maxLastColumn:r.length,columns:r})}const lt=e.current.rowHasAutoHeight(ue)?"auto":e.current.unstable_getRowHeight(ue);let xe;v[ue]==null?xe=!1:xe=e.current.isRowSelectable(ue);let We=!1;ae.position===void 0&&(We=ke===0);let X=!1;const de=ke===ye.length-1;if(Se)if(De)X=de;else{const Pt=g.rows.length-1;ke===Pt&&(X=!0)}let ie=ve;W.current&&ke>=W.current.firstRowIndex&&ke<W.current.lastRowIndex&&(ie=W.current);const Re=ke===Fe,Be=O?.rowIndex===et,tt=mie(Ae,ie,l.left.length),at=de&&ae.position==="top",ot=ie.firstColumnIndex,ft=ie.lastColumnIndex;if(Ve.push(b.jsx(t.slots.row,qe({row:ze,rowId:ue,index:et,selected:xe,offsetLeft:tt,columnsTotalWidth:R,rowHeight:lt,pinnedColumns:l,visibleColumns:r,firstColumnIndex:ot,lastColumnIndex:ft,focusedColumnIndex:Be?O.columnIndex:void 0,isFirstVisible:We,isLastVisible:X,isNotVisible:Re,showBottomBorder:at,scrollbarWidth:D,gridHasFiller:M},be),ue)),Re)return;const Je=c.get(ue);Je&&Ve.push(Je),ae.position===void 0&&de&&Ve.push(e.current.getInfiniteLoadingTriggerElement?.({lastRowId:ue}))}),Ve},ce=m.useMemo(()=>({overflowX:!x||n?"hidden":void 0,overflowY:t.autoHeight?"hidden":void 0}),[x,t.autoHeight,n]),ne=m.useMemo(()=>{const ae={width:x?R:"auto",flexBasis:w,flexShrink:0};return ae.flexBasis===0&&(ae.flexBasis=Urt),ae},[R,w,x]),Ce=m.useCallback(ae=>{ae&&e.current.publishEvent("virtualScrollerContentSizeChange",{columnsTotalWidth:R,contentHeight:w})},[e,R,w]);return ni(()=>{I.current&&e.current.updateRenderContext?.()},[e,o,i]),ni(()=>{n&&(k.current.scrollLeft=0)},[n,k]),hit(G!==NO,()=>{if(e.current.publishEvent("scrollPositionChange",{top:P.current.top,left:P.current.left,renderContext:G}),I.current=!0,t.initialState?.scroll&&k.current){const ae=k.current,{top:pe,left:ve}=t.initialState.scroll,Se={top:!(pe>0),left:!(ve>0)};if(!Se.left&&R&&(ae.scrollLeft=ve,j.current=!0,Se.left=!0),!Se.top&&w&&(ae.scrollTop=pe,j.current=!0,Se.top=!0),!Se.top||!Se.left){const De=e.current.subscribeEvent("virtualScrollerContentSizeChange",Ee=>{!Se.left&&Ee.columnsTotalWidth&&(ae.scrollLeft=ve,j.current=!0,Se.left=!0),!Se.top&&Ee.contentHeight&&(ae.scrollTop=pe,j.current=!0,Se.top=!0),Se.left&&Se.top&&De()});return De}}}),e.current.register("private",{updateRenderContext:J}),JR(e,"sortedRowsSet",J),JR(e,"paginationModelChange",J),JR(e,"columnsChange",J),{renderContext:G,setPanels:f,getRows:te,getContainerProps:()=>({ref:L}),getScrollerProps:()=>({ref:k,onScroll:Z,onWheel:Y,onTouchMove:ee,style:ce,role:"presentation",tabIndex:got?-1:void 0}),getContentProps:()=>({style:ne,role:"presentation",ref:Ce}),getRenderZoneProps:()=>({role:"rowgroup"}),getScrollbarVerticalProps:()=>({ref:E,scrollPosition:P}),getScrollbarHorizontalProps:()=>({ref:S,scrollPosition:P}),getScrollAreaProps:()=>({scrollPosition:P})}};function Iot(e){return e.dimensions.viewportOuterSize.width>0&&e.dimensions.columnsTotalWidth>e.dimensions.viewportOuterSize.width}function O7(e,t,n,r){const i=Xv(e.current.state),o=pot(e),a=t.unstable_listView?[pie(e.current.state)]:$h(e),s=Sot(e),l=e.current.state.rows.dataRowIds.at(-1),u=a.at(-1);return{enabledForRows:n,enabledForColumns:r,apiRef:e,autoHeight:t.autoHeight,rowBufferPx:t.rowBufferPx,columnBufferPx:t.columnBufferPx,leftPinnedWidth:i.leftPinnedWidth,columnsTotalWidth:i.columnsTotalWidth,viewportInnerWidth:i.viewportInnerSize.width,viewportInnerHeight:i.viewportInnerSize.height,lastRowHeight:l!==void 0?e.current.unstable_getRowHeight(l):0,lastColumnWidth:u?.computedWidth??0,rowsMeta:vot(e.current.state),columnPositions:RF(e),rows:o.rows,range:o.range,pinnedColumns:NF(e),visibleColumns:a,hiddenCellsOriginMap:s,listView:t.unstable_listView??!1,virtualizeColumnsWithAutoRowHeight:t.virtualizeColumnsWithAutoRowHeight}}function P7(e,t,n){const r={firstRowIndex:0,lastRowIndex:e.rows.length,firstColumnIndex:0,lastColumnIndex:e.visibleColumns.length};if(e.listView)return qe({},r,{lastColumnIndex:1});const{top:i,left:o}=t,a=Math.abs(o)+e.leftPinnedWidth;
2015if(e.enabledForRows){let l=Math.min(_7(e,i,{atStart:!0,lastPosition:e.rowsMeta.positions[e.rowsMeta.positions.length-1]+e.lastRowHeight}),e.rowsMeta.positions.length-1);const u=e.hiddenCellsOriginMap[l];if(u){const f=Math.min(...Object.values(u));l=Math.min(l,f)}const c=e.autoHeight?l+e.rows.length:_7(e,i+e.viewportInnerHeight);r.firstRowIndex=l,r.lastRowIndex=c}if(e.enabledForColumns){let l=0,u=e.columnPositions.length,c=!1;const[f,p]=RO({firstIndex:r.firstRowIndex,lastIndex:r.lastRowIndex,minFirstIndex:0,maxLastIndex:e.rows.length,bufferBefore:n.buffer.rowBefore,bufferAfter:n.buffer.rowAfter,positions:e.rowsMeta.positions,lastSize:e.lastRowHeight});if(!e.virtualizeColumnsWithAutoRowHeight)for(let v=f;v<p&&!c;v+=1){const g=e.rows[v];c=e.apiRef.current.rowHasAutoHeight(g.id)}(!c||e.virtualizeColumnsWithAutoRowHeight)&&(l=pd(a,e.columnPositions,{atStart:!0,lastPosition:e.columnsTotalWidth}),u=pd(a+e.viewportInnerWidth,e.columnPositions)),r.firstColumnIndex=l,r.lastColumnIndex=u}return wot(e,r,n)}function _7(e,t,n){const r=e.apiRef.current.getLastMeasuredRowIndex();let i=r===1/0;e.range?.lastRowIndex&&!i&&(i=r>=e.range.lastRowIndex);const o=Mf(r-(e.range?.firstRowIndex||0),0,e.rowsMeta.positions.length);return i||e.rowsMeta.positions[o]>=t?pd(t,e.rowsMeta.positions,n):Not(t,e.rowsMeta.positions,o,n)}function wot(e,t,n){const[r,i]=RO({firstIndex:t.firstRowIndex,lastIndex:t.lastRowIndex,minFirstIndex:0,maxLastIndex:e.rows.length,bufferBefore:n.buffer.rowBefore,bufferAfter:n.buffer.rowAfter,positions:e.rowsMeta.positions,lastSize:e.lastRowHeight}),[o,a]=RO({firstIndex:t.firstColumnIndex,lastIndex:t.lastColumnIndex,minFirstIndex:e.pinnedColumns.left.length,maxLastIndex:e.visibleColumns.length-e.pinnedColumns.right.length,bufferBefore:n.buffer.columnBefore,bufferAfter:n.buffer.columnAfter,positions:e.columnPositions,lastSize:e.lastColumnWidth}),s=aot({firstColumnToRender:o,apiRef:e.apiRef,firstRowToRender:r,lastRowToRender:i,visibleRows:e.rows});return{firstRowIndex:r,lastRowIndex:i,firstColumnIndex:s,lastColumnIndex:a}}function pd(e,t,n=void 0,r=0,i=t.length){if(t.length<=0)return-1;if(r>=i)return r;const o=r+Math.floor((i-r)/2),a=t[o];let s;if(n?.atStart){const l=(o===t.length-1?n.lastPosition:t[o+1])-a;s=e-l<a}else s=e<=a;return s?pd(e,t,n,r,o):pd(e,t,n,o+1,i)}function Not(e,t,n,r=void 0){let i=1;for(;n<t.length&&Math.abs(t[n])<e;)n+=i,i*=2;return pd(e,t,r,Math.floor(n/2),Math.min(n,t.length))}function RO({firstIndex:e,lastIndex:t,bufferBefore:n,bufferAfter:r,minFirstIndex:i,maxLastIndex:o,positions:a,lastSize:s}){const l=a[e]-n,u=a[t]+r,c=pd(l,a,{atStart:!0,lastPosition:a[a.length-1]+s}),f=pd(u,a);return[Mf(c,i,o),Mf(f,i,o)]}function Rot(e,t){return e===t?!0:e.firstRowIndex===t.firstRowIndex&&e.lastRowIndex===t.lastRowIndex&&e.firstColumnIndex===t.firstColumnIndex&&e.lastColumnIndex===t.lastColumnIndex}function mie(e,t,n){const r=(e[t.firstColumnIndex]??0)-(e[n]??0);return Math.abs(r)}function xot(e,t){return e===0&&t===0?bi.NONE:Math.abs(t)>=Math.abs(e)?t>0?bi.DOWN:bi.UP:e>0?bi.RIGHT:bi.LEFT}function hie(e,t,n,r,i,o){if(e)switch(t){case bi.LEFT:t=bi.RIGHT;break;case bi.RIGHT:t=bi.LEFT;break}switch(t){case bi.NONE:return{rowAfter:n,rowBefore:n,columnAfter:r,columnBefore:r};case bi.LEFT:return{rowAfter:0,rowBefore:0,columnAfter:0,columnBefore:o};case bi.RIGHT:return{rowAfter:0,rowBefore:0,columnAfter:o,columnBefore:0};case bi.UP:return{rowAfter:0,rowBefore:i,columnAfter:0,columnBefore:0};case bi.DOWN:return{rowAfter:i,rowBefore:0,columnAfter:0,columnBefore:0};default:throw new Error("unreachable")}}const Lot=(e,t)=>{if(e)if(t){if(e===Zr.LEFT)return"right";if(e===Zr.RIGHT)return"left"}else{if(e===Zr.LEFT)return"left";if(e===Zr.RIGHT)return"right"}};function gie(e,t,n,r){const i=Lot(n,t);return!i||r===void 0||(e[i]=r),e}const Oot=e=>{const{classes:t,open:n}=e;return Dt({root:["menuIcon",n&&"menuOpen"],button:["menuIconButton"]},yo,t)},Pot=m.memo(e=>{const{colDef:t,open:n,columnMenuId:r,columnMenuButtonId:i,iconButtonRef:o}=e,a=za(),s=vr(),l=qe({},e,{classes:s.classes}),u=Oot(l),c=m.useCallback(p=>{p.preventDefault(),p.stopPropagation(),a.current.toggleColumnMenu(t.field)},[a,t.field]),f=t.headerName??t.field;return b.jsx("div",{className:u.root,children:b.jsx(s.slots.baseTooltip,qe({title:a.current.getLocaleText("columnMenuLabel"),enterDelay:1e3},s.slotProps?.baseTooltip,{children:b.jsx(s.slots.baseIconButton,qe({ref:o,tabIndex:-1,
2015className:u.button,"aria-label":a.current.getLocaleText("columnMenuAriaLabel")(f),size:"small",onClick:c,"aria-haspopup":"menu","aria-expanded":n,"aria-controls":n?r:void 0,id:i},s.slotProps?.baseIconButton,{children:b.jsx(s.slots.columnMenuIcon,{fontSize:"inherit"})}))}))})});function _ot({columnMenuId:e,columnMenuButtonId:t,ContentComponent:n,contentComponentProps:r,field:i,open:o,target:a,onExited:s}){const l=za(),u=l.current.getColumn(i),c=Hi(f=>{f&&(f.stopPropagation(),a?.contains(f.target))||l.current.hideColumnMenu()});return!a||!u?null:b.jsx(Xre,{placement:`bottom-${u.align==="right"?"start":"end"}`,open:o,target:a,onClose:c,onExited:s,children:b.jsx(n,qe({colDef:u,hideMenu:c,open:o,id:e,labelledby:t},r))})}function Dot(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function Mot(e,t){return e.closest(`.${t}`)}function pp(e){return e.replace(/["\\]/g,"\\$&")}function Dft(e,t){return e.querySelector(`[role="columnheader"][data-field="${pp(t)}"]`)}function vie(e){return`.${Nr.row}[data-id="${pp(String(e))}"]`}function Mft(e,t){return e.querySelector(vie(t))}function Fft(e,{id:t,field:n}){const r=vie(t),i=`.${Nr.cell}[data-field="${pp(n)}"]`,o=`${r} ${i}`;return e.querySelector(o)}function yie(e){return e.target.nodeType===1&&!e.currentTarget.contains(e.target)}function Uft(e){return e.getAttribute("data-field")}function Vft(e,t){return e.querySelector(`[data-field="${pp(t)}"]`)}function Bft(e){return e.getAttribute("data-fields").slice(2,-2).split("-|-")}function jft(e,t){return Array.from(e.querySelectorAll(`[data-fields*="|-${pp(t)}-|"]`)??[])}function zft(e,t){if(!Mot(e,Nr.root))throw new Error("MUI X: The root element is not found.");const r=e.getAttribute("aria-colindex");if(!r)return[];const i=Number(r)-1,o=[];return t.virtualScrollerRef?.current?(Sie(t).forEach(a=>{const s=a.getAttribute("data-id");if(!s)return;let l=i;const u=t.unstable_getCellColSpanInfo(s,i);u&&u.spannedByColSpan&&(l=u.leftVisibleCellIndex);const c=a.querySelector(`[data-colindex="${l}"]`);c&&o.push(c)}),o):[]}function Hft(e,t){return e.rootElementRef.current.querySelector(`.${Nr[t]}`)}const kie=({api:e,colIndex:t,position:n,filterFn:r})=>{if(t===null)return[];const i=[];return Sie(e).forEach(o=>{o.getAttribute("data-id")&&o.querySelectorAll(`.${Nr[n==="left"?"cell--pinnedLeft":"cell--pinnedRight"]}`).forEach(s=>{const l=Qh(s);l!==null&&r(l)&&i.push(s)})}),i};function Wft(e,t,n){const r=Qh(t);return kie({api:e,colIndex:r,position:n?"right":"left",filterFn:i=>n?i<r:i>r})}function qft(e,t,n){const r=Qh(t);return kie({api:e,colIndex:r,position:n?"left":"right",filterFn:i=>n?i>r:i<r})}const bie=({api:e,colIndex:t,position:n,filterFn:r})=>{if(!e.columnHeadersContainerRef?.current)return[];if(t===null)return[];const i=[];return e.columnHeadersContainerRef.current.querySelectorAll(`.${Nr[n==="left"?"columnHeader--pinnedLeft":"columnHeader--pinnedRight"]}`).forEach(o=>{const a=Qh(o);a!==null&&r(a,o)&&i.push(o)}),i};function Gft(e,t,n){const r=Qh(t);return bie({api:e,position:n?"right":"left",colIndex:r,filterFn:i=>n?i<r:i>r})}function Kft(e,t,n){const r=Qh(t);return bie({api:e,position:n?"left":"right",colIndex:r,filterFn:(i,o)=>o.classList.contains(Nr["columnHeader--last"])?!1:n?i>r:i<r})}function Yft(e,t){return e.columnHeadersContainerRef.current.querySelector(`:scope > div > [data-field="${pp(t)}"][role="columnheader"]`)}function $ft(e,t){const n=e.virtualScrollerRef.current;return Array.from(n.querySelectorAll(`:scope > div > div > div > [data-field="${pp(t)}"][role="gridcell"]`))}function Sie(e){return e.virtualScrollerRef.current.querySelectorAll(`:scope > div > div > .${Nr.row}`)}function Qh(e){const t=e.getAttribute("aria-colindex");return t?Number(t)-1:null}const Fot=["className","aria-label"],Uot=e=>{const{classes:t}=e;return Dt({root:["columnHeaderTitle"]},yo,t)},Vot=Qy("div",{name:"MuiDataGrid",slot:"ColumnHeaderTitle",overridesResolver:(e,t)=>t.columnHeaderTitle})({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",fontWeight:"var(--unstable_DataGrid-headWeight)",lineHeight:"normal"}),Bot=Sd(function(t,n){const{className:r}=t,i=Tr(t,Fot),o=vr(),a=Uot(o);return b.jsx(Vot,qe({className:mt(a.root,r),ownerState:o},i,{ref:n}))});function jot(e){const{label:t,description:n}=e,r=vr(),i=m.useRef(null),[o,a]=m.useState(""),s=m.useCallback(()=>
2015{if(!n&&i?.current){const l=Dot(i.current);a(l?t:"")}},[n,t]);return b.jsx(r.slots.baseTooltip,qe({title:n||o},r.slotProps?.baseTooltip,{children:b.jsx(Bot,{onMouseOver:s,ref:i,children:t})}))}const zot=["resizable","resizing","height","side"];var MF=(function(e){return e.Left="left",e.Right="right",e})(MF||{});const Hot=e=>{const{resizable:t,resizing:n,classes:r,side:i}=e,o={root:["columnSeparator",t&&"columnSeparator--resizable",n&&"columnSeparator--resizing",i&&`columnSeparator--side${it(i)}`],icon:["iconSeparator"]};return Dt(o,yo,r)};function Wot(e){const{height:t,side:n=MF.Right}=e,r=Tr(e,zot),i=vr(),o=qe({},e,{side:n,classes:i.classes}),a=Hot(o),s=m.useCallback(l=>{l.preventDefault(),l.stopPropagation()},[]);return b.jsx("div",qe({className:a.root,style:{minHeight:t}},r,{onClick:s,children:b.jsx(i.slots.columnResizeIcon,{className:a.icon})}))}const qot=m.memo(Wot),Got=["classes","columnMenuOpen","colIndex","height","isResizing","sortDirection","hasFocus","tabIndex","separatorSide","isDraggable","headerComponent","description","elementId","width","columnMenuIconButton","columnMenu","columnTitleIconButtons","headerClassName","label","resizable","draggableContainerProps","columnHeaderSeparatorProps","style"],Eie=Sd(function(t,n){const{classes:r,colIndex:i,height:o,isResizing:a,sortDirection:s,hasFocus:l,tabIndex:u,separatorSide:c,isDraggable:f,headerComponent:p,description:v,width:g,columnMenuIconButton:y=null,columnMenu:k=null,columnTitleIconButtons:E=null,headerClassName:S,label:T,resizable:I,draggableContainerProps:A,columnHeaderSeparatorProps:w,style:R}=t,x=Tr(t,Got),D=Lk(),M=vr(),F=m.useRef(null),L=Hr(F,n);let P="none";return s!=null&&(P=s==="asc"?"ascending":"descending"),m.useLayoutEffect(()=>{const j=D.current.state.columnMenu;l&&!j.open&&((F.current.querySelector('[tabindex="0"]')||F.current)?.focus(),D.current.columnHeadersContainerRef?.current&&(D.current.columnHeadersContainerRef.current.scrollLeft=0))},[D,l]),b.jsxs("div",qe({className:mt(r.root,S),style:qe({},R,{height:o,width:g}),role:"columnheader",tabIndex:u,"aria-colindex":i+1,"aria-sort":P},x,{ref:L,children:[b.jsxs("div",qe({className:r.draggableContainer,draggable:f,role:"presentation"},A,{children:[b.jsxs("div",{className:r.titleContainer,role:"presentation",children:[b.jsx("div",{className:r.titleContainerContent,children:p!==void 0?p:b.jsx(jot,{label:T,description:v,columnWidth:g})}),E]}),y]})),b.jsx(qot,qe({resizable:!M.disableColumnResize&&!!I,resizing:a,height:o,side:c},w)),k]}))}),Kot=e=>{const{colDef:t,classes:n,isDragging:r,sortDirection:i,showRightBorder:o,showLeftBorder:a,filterItemsCounter:s,pinnedPosition:l,isLastUnpinned:u,isSiblingFocused:c}=e,f=i!=null,p=s!=null&&s>0,v=t.type==="number",g={root:["columnHeader",t.headerAlign==="left"&&"columnHeader--alignLeft",t.headerAlign==="center"&&"columnHeader--alignCenter",t.headerAlign==="right"&&"columnHeader--alignRight",t.sortable&&"columnHeader--sortable",r&&"columnHeader--moving",f&&"columnHeader--sorted",p&&"columnHeader--filtered",v&&"columnHeader--numeric","withBorderColor",o&&"columnHeader--withRightBorder",a&&"columnHeader--withLeftBorder",l===Zr.LEFT&&"columnHeader--pinnedLeft",l===Zr.RIGHT&&"columnHeader--pinnedRight",u&&"columnHeader--lastUnpinned",c&&"columnHeader--siblingFocused"],draggableContainer:["columnHeaderDraggableContainer"],titleContainer:["columnHeaderTitleContainer"],titleContainerContent:["columnHeaderTitleContainerContent"]};return Dt(g,yo,n)};function Yot(e){const{colDef:t,columnMenuOpen:n,colIndex:r,headerHeight:i,isResizing:o,isLast:a,sortDirection:s,sortIndex:l,filterItemsCounter:u,hasFocus:c,tabIndex:f,disableReorder:p,separatorSide:v,showLeftBorder:g,showRightBorder:y,pinnedPosition:k,pinnedOffset:E}=e,S=Lk(),T=vr(),I=md(),A=m.useRef(null),w=Rr(),R=Rr(),x=m.useRef(null),[D,M]=m.useState(n),F=m.useMemo(()=>!T.disableColumnReorder&&!p&&!t.disableReorder,[T.disableColumnReorder,p,t.disableReorder]);let L;t.renderHeader&&(L=t.renderHeader(S.current.getColumnHeaderParams(t.field)));const P=qe({},e,{classes:T.classes,showRightBorder:y,showLeftBorder:g}),j=Kot(P),B=m.useCallback(te=>ce=>{yie(ce)||S.current.publishEvent(te,S.current.getColumnHeaderParams(t.field),ce)},[S,t.field]),H=m.useMemo(()=>({onClick:B("columnHeaderClick"),onContextMenu:B("columnHeaderContextMenu"),onDoubleClick:B("columnHeaderDoubleClick"),onMouseOver:B("columnHeaderOver"),onMouseOut:B("columnHeaderOut"),onMouseEnter:B("columnHeaderEnter"),onMouseLeave:B("columnHeaderLeave"),onKeyDown:B("columnHeaderKeyDown"),onFocus:B("columnHeaderFocus"),onBlur:B("columnHeaderBlur")}),[B]),G=m.useMemo(()=>F?{onDragStart:B("columnHeaderDragStart"),onDragEnter:B("columnHeaderDragEnter"),onDragOver:B("columnHeaderDragOver"),onDragEnd:B("columnHeaderDragEnd")}:{},[F,B]),O=m.useMemo(()=>({onMouseDown:B("columnSeparatorMouseDown"),onDoubleClick:B("columnSeparatorDoubleClick")}),[B]);m.useEffect(()=>{D||M(n)},[D,n]);const V=m.useCallback(()=>{M(!1)},[]),W=!T.disableColumnMenu&&!t.disableColumnMenu&&b.jsx(Pot,{colDef:t,columnMenuId:w,columnMenuButtonId:R,open:D,iconButtonRef:x}),U=b.jsx(_ot,{columnMenuId:w,columnMenuButtonId:R,field:t.field,open:n,target:x.current,ContentComponent:T.slots.columnMenu,contentComponentProps:T.slotProps?.columnMenu,onExited:V}
2015),q=t.sortingOrder??T.sortingOrder,$=(t.sortable||s!=null)&&!t.hideSortIcons&&!T.disableColumnSorting,J=b.jsxs(m.Fragment,{children:[!T.disableColumnFilter&&b.jsx(T.slots.columnHeaderFilterIconButton,qe({field:t.field,counter:u},T.slotProps?.columnHeaderFilterIconButton)),$&&b.jsx(T.slots.columnHeaderSortIcon,qe({field:t.field,direction:s,index:l,sortingOrder:q,disabled:!t.sortable},T.slotProps?.columnHeaderSortIcon))]});m.useLayoutEffect(()=>{const te=S.current.state.columnMenu;c&&!te.open&&((A.current.querySelector('[tabindex="0"]')||A.current)?.focus(),S.current.columnHeadersContainerRef?.current&&(S.current.columnHeadersContainerRef.current.scrollLeft=0))},[S,c]);const Z=typeof t.headerClassName=="function"?t.headerClassName({field:t.field,colDef:t}):t.headerClassName,Y=t.headerName??t.field,ee=m.useMemo(()=>gie(qe({},e.style),I,k,E),[k,E,e.style,I]);return b.jsx(Eie,qe({ref:A,classes:j,columnMenuOpen:n,colIndex:r,height:i,isResizing:o,sortDirection:s,hasFocus:c,tabIndex:f,separatorSide:v,isDraggable:F,headerComponent:L,description:t.description,elementId:t.field,width:t.computedWidth,columnMenuIconButton:W,columnTitleIconButtons:J,headerClassName:mt(Z,a&&Nr["columnHeader--last"]),label:Y,resizable:!T.disableColumnResize&&!!t.resizable,"data-field":t.field,columnMenu:U,draggableContainerProps:G,columnHeaderSeparatorProps:O,style:ee},H))}const $ot=ett(Yot),Jot=["className","slotProps"],Zot=e=>{const{classes:t}=e;return Dt({root:["panelWrapper"]},yo,t)},Qot=$e("div",{name:"MuiDataGrid",slot:"PanelWrapper",overridesResolver:(e,t)=>t.panelWrapper})({display:"flex",flexDirection:"column",flex:1,"&:focus":{outline:0}}),Xot=()=>!0,eat=Sd(function(t,n){const{className:r,slotProps:i={}}=t,o=Tr(t,Jot),a=vr(),s=Zot(a);return b.jsx(AK,qe({open:!0,disableEnforceFocus:!0,isEnabled:Xot},i.TrapFocus,{children:b.jsx(Qot,qe({tabIndex:-1,className:mt(s.root,r),ownerState:a},o,{ref:n}))}))}),tat=["className"],nat=e=>{const{classes:t}=e;return Dt({root:["panelContent"]},yo,t)},rat=Qy("div",{name:"MuiDataGrid",slot:"PanelContent",overridesResolver:(e,t)=>t.panelContent})({display:"flex",flexDirection:"column",overflow:"auto",flex:"1 1",maxHeight:400});function iat(e){const{className:t}=e,n=Tr(e,tat),r=vr(),i=nat(r);return b.jsx(rat,qe({className:mt(i.root,t),ownerState:r},n))}const oat=["className"],aat=e=>{const{classes:t}=e;return Dt({root:["panelFooter"]},yo,t)},sat=Qy("div",{name:"MuiDataGrid",slot:"PanelFooter",overridesResolver:(e,t)=>t.panelFooter})(({theme:e})=>({padding:e.spacing(.5),display:"flex",justifyContent:"space-between"}));function lat(e){const{className:t}=e,n=Tr(e,oat),r=vr(),i=aat(r);return b.jsx(sat,qe({className:mt(i.root,t),ownerState:r},n))}const uat=["item","hasMultipleFilters","deleteFilter","applyFilterChanges","showMultiFilterOperators","disableMultiFilterOperator","applyMultiFilterOperatorChanges","focusElementRef","logicOperators","columnsSort","filterColumns","deleteIconProps","logicOperatorInputProps","operatorInputProps","columnInputProps","valueInputProps","readOnly","children"],cat=["InputComponentProps"],dat=e=>{const{classes:t}=e;return Dt({root:["filterForm"],deleteIcon:["filterFormDeleteIcon"],logicOperatorInput:["filterFormLogicOperatorInput"],columnInput:["filterFormColumnInput"],operatorInput:["filterFormOperatorInput"],valueInput:["filterFormValueInput"]},yo,t)},fat=$e("div",{name:"MuiDataGrid",slot:"FilterForm",overridesResolver:(e,t)=>t.filterForm})(({theme:e})=>({display:"flex",padding:e.spacing(1)})),pat=$e("div",{name:"MuiDataGrid",slot:"FilterFormDeleteIcon",overridesResolver:(e,t)=>t.filterFormDeleteIcon})(({theme:e})=>({flexShrink:0,justifyContent:"flex-end",marginRight:e.spacing(.5),marginBottom:e.spacing(.2)})),mat=$e("div",{name:"MuiDataGrid",slot:"FilterFormLogicOperatorInput",overridesResolver:(e,t)=>t.filterFormLogicOperatorInput})({minWidth:55,marginRight:5,justifyContent:"end"}),hat=$e("div",{name:"MuiDataGrid",slot:"FilterFormColumnInput",overridesResolver:(e,t)=>t.filterFormColumnInput})({width:150}),gat=$e("div",{name:"MuiDataGrid",slot:"FilterFormOperatorInput",overridesResolver:(e,t)=>t.filterFormOperatorInput})({width:150}),vat=$e("div",{name:"MuiDataGrid",slot:"FilterFormValueInput",overridesResolver:(e,t)=>t.filterFormValueInput})({width:190}),yat=e=>{switch(e){case Bo.And:return"filterPanelOperatorAnd";case Bo.Or:return"filterPanelOperatorOr";default:throw new Error("MUI X: Invalid `logicOperator` property in the `GridFilterPanel`.")}},sv=e=>e.headerName||e.field,D7=new Intl.Collator,M7=Sd(function(t,n){const{item:r,hasMultipleFilters:i,deleteFilter:o,applyFilterChanges:a,showMultiFilterOperators:s,disableMultiFilterOperator:l,applyMultiFilterOperatorChanges:u,focu
2015sElementRef:c,logicOperators:f=[Bo.And,Bo.Or],columnsSort:p,filterColumns:v,deleteIconProps:g={},logicOperatorInputProps:y={},operatorInputProps:k={},columnInputProps:E={},valueInputProps:S={},readOnly:T}=t,I=Tr(t,uat),A=za(),w=xn(A,xk),R=xn(A,Zre),x=xn(A,Jh),D=Rr(),M=Rr(),F=Rr(),L=Rr(),P=vr(),j=dat(P),B=m.useRef(null),H=m.useRef(null),G=x.logicOperator??Bo.And,O=i&&f.length>0,V=P.slotProps?.baseFormControl||{},U=(P.slotProps?.baseSelect||{}).native??!1,q=P.slotProps?.baseInputLabel||{},$=P.slotProps?.baseSelectOption||{},{InputComponentProps:J}=S,Z=Tr(S,cat),{filteredColumns:Y,selectedField:ee}=m.useMemo(()=>{let Se=r.field;const De=w[r.field].filterable===!1?w[r.field]:null;if(De)return{filteredColumns:[De],selectedField:Se};if(v===void 0||typeof v!="function")return{filteredColumns:R,selectedField:Se};const Ee=v({field:r.field,columns:R,currentFilters:x?.items||[]});return{filteredColumns:R.filter(ye=>{const Pe=Ee.includes(ye.field);return ye.field===r.field&&!Pe&&(Se=void 0),Pe}),selectedField:Se}},[v,x?.items,R,r.field,w]),te=m.useMemo(()=>{switch(p){case"asc":return Y.sort((Se,De)=>D7.compare(sv(Se),sv(De)));case"desc":return Y.sort((Se,De)=>-D7.compare(sv(Se),sv(De)));default:return Y}},[Y,p]),ce=r.field?A.current.getColumn(r.field):null,ne=m.useMemo(()=>!r.operator||!ce?null:ce.filterOperators?.find(Se=>Se.value===r.operator),[r,ce]),Ce=m.useCallback(Se=>{const De=Se.target.value,Ee=A.current.getColumn(De);if(Ee.field===ce.field)return;const ye=Ee.filterOperators.find(Qe=>Qe.value===r.operator)||Ee.filterOperators[0];let Me=!ye.InputComponent||ye.InputComponent!==ne?.InputComponent||Ee.type!==ce.type?void 0:r.value;if(Ee.type==="singleSelect"&&Me!==void 0){const Qe=Ee,Fe=Xf(Qe);Array.isArray(Me)?Me=Me.filter(Ve=>RT(Ve,Fe,Qe?.getOptionValue)!==void 0):RT(r.value,Fe,Qe?.getOptionValue)===void 0&&(Me=void 0)}a(qe({},r,{field:De,operator:ye.value,value:Me}))},[A,a,r,ce,ne]),ae=m.useCallback(Se=>{const De=Se.target.value,Ee=ce?.filterOperators.find(Pe=>Pe.value===De),ye=!Ee?.InputComponent||Ee?.InputComponent!==ne?.InputComponent;a(qe({},r,{operator:De,value:ye?void 0:r.value}))},[a,r,ce,ne]),pe=m.useCallback(Se=>{const De=Se.target.value===Bo.And.toString()?Bo.And:Bo.Or;u(De)},[u]),ve=()=>{o(r)};return m.useImperativeHandle(c,()=>({focus:()=>{ne?.InputComponent?B?.current?.focus():H.current.focus()}}),[ne]),b.jsxs(fat,qe({className:j.root,"data-id":r.id,ownerState:P},I,{ref:n,children:[b.jsx(pat,qe({variant:"standard",as:P.slots.baseFormControl},V,g,{className:mt(j.deleteIcon,V.className,g.className),ownerState:P,children:b.jsx(P.slots.baseIconButton,qe({"aria-label":A.current.getLocaleText("filterPanelDeleteIconLabel"),title:A.current.getLocaleText("filterPanelDeleteIconLabel"),onClick:ve,size:"small",disabled:T},P.slotProps?.baseIconButton,{children:b.jsx(P.slots.filterPanelDeleteIcon,{fontSize:"small"})}))})),b.jsx(mat,qe({variant:"standard",as:P.slots.baseFormControl},V,y,{sx:[O?{display:"flex"}:{display:"none"},s?{visibility:"visible"}:{visibility:"hidden"},V.sx,y.sx],className:mt(j.logicOperatorInput,V.className,y.className),ownerState:P,children:b.jsx(P.slots.baseSelect,qe({inputProps:{"aria-label":A.current.getLocaleText("filterPanelLogicOperator")},value:G??"",onChange:pe,disabled:!!l||f.length===1,native:U},P.slotProps?.baseSelect,{children:f.map(Se=>m.createElement(P.slots.baseSelectOption,qe({},$,{native:U,key:Se.toString(),value:Se.toString()}),A.current.getLocaleText(yat(Se))))}))})),b.jsxs(hat,qe({variant:"standard",as:P.slots.baseFormControl},V,E,{className:mt(j.columnInput,V.className,E.className),ownerState:P,children:[b.jsx(P.slots.baseInputLabel,qe({},q,{htmlFor:D,id:M,children:A.current.getLocaleText("filterPanelColumns")})),b.jsx(P.slots.baseSelect,qe({labelId:M,id:D,label:A.current.getLocaleText("filterPanelColumns"),value:ee??"",onChange:Ce,native:U,disabled:T},P.slotProps?.baseSelect,{children:te.map(Se=>m.createElement(P.slots.baseSelectOption,qe({},$,{native:U,key:Se.field,value:Se.field}),sv(Se)))}))]})),b.jsxs(gat,qe({variant:"standard",as:P.slots.baseFormControl},V,k,{className:mt(j.operatorInput,V.className,k.className),ownerState:P,children:[b.jsx(P.slots.baseInputLabel,qe({},q,{htmlFor:F,id:L,children:A.current.getLocaleText("filterPanelOperator")})),b.jsx(P.slots.baseSelect,qe({labelId:L,label:A.current.getLocaleText("filterPanelOperator"),id:F,value:r.operator,onChange:ae,native:U,inputRef:H,disabled:T},P.slotProps?.baseSelect,{children:ce?.filterOperators?.map(Se=>m.createElement(P.slots.baseSelectOption,qe({},$,{native:U,key:Se.value,value:Se.value}),Se.label||A.current.getLocaleText(`filterOperator${it(Se.value)}`)))}))]})),b.jsx(vat,qe({variant:"standard",as:P.slots.baseFormControl},V,Z,{className:mt(j.valueInput,V.className,Z.className),ownerState:P,children:ne?.InputComponent?b.jsx(ne.InputComponent,qe({apiRef:A,item:r,applyValue:a,focusElementRef:B,disabled:T},ne.InputComponentProps,J),r.field):null}))]}))}),kat=["logicOperators","columnsSort","filterFormProps","getColumnForNewFilter","children","disableAddFilterButton","disableRemoveAllButton"],xO=e=>({field:e.field,operator:e.filterOperators[0].value,id:Math.round(Math.random()*1e5)}),Jft=Sd(function(t,n){const r=za(),i=vr(),o=xn(r,Jh),a=xn(r,Zre),s=xn(r,mrt),l=m.useRef(null),u=m.useRef(null),{logicOperators:c=[Bo.And,Bo.Or],columnsSort:f,filterFormProps:p,getColumnForNewFilter:v,disableAddFilterButton:g=!1,disableRemoveAllButton:y=!1}=t,k=Tr(t,kat),E=r.current.upsertFilterItem,S=m.useCallback(L=>{r.current.setFilterLogicOperator(L)},[r]),T=m.useCallback(()=>{let L;if(v&&typeof v=="function"){const P=v({currentFilters:o?.items||[],columns:a});if(P===null)return null;L=a.find(({field:j})=>j===P)}else L=a.find(P=>P.filterOperators?.length);return L?xO(L):null},[o?.items,a,v]),I=m.useCallback(()=>
2015{if(v===void 0||typeof v!="function")return T();const L=o.items.length?o.items:[T()].filter(Boolean),P=v({currentFilters:L,columns:a});if(P===null)return null;const j=a.find(({field:B})=>B===P);return j?xO(j):null},[o.items,a,v,T]),A=m.useMemo(()=>o.items.length?o.items:(u.current||(u.current=T()),u.current?[u.current]:[]),[o.items,T]),w=A.length>1,{readOnlyFilters:R,validFilters:x}=m.useMemo(()=>A.reduce((L,P)=>(s[P.field]?L.validFilters.push(P):L.readOnlyFilters.push(P),L),{readOnlyFilters:[],validFilters:[]}),[A,s]),D=m.useCallback(()=>{const L=I();L&&r.current.upsertFilterItems([...A,L])},[r,I,A]),M=m.useCallback(L=>{const P=x.length===1;r.current.deleteFilterItem(L),P&&r.current.hideFilterPanel()},[r,x.length]),F=m.useCallback(()=>x.length===1&&x[0].value===void 0?(r.current.deleteFilterItem(x[0]),r.current.hideFilterPanel()):r.current.setFilterModel(qe({},o,{items:R}),"removeAllFilterItems"),[r,R,o,x]);return m.useEffect(()=>{c.length>0&&o.logicOperator&&!c.includes(o.logicOperator)&&S(c[0])},[c,S,o.logicOperator]),m.useEffect(()=>{x.length>0&&l.current.focus()},[x.length]),b.jsxs(eat,qe({},k,{ref:n,children:[b.jsxs(iat,{children:[R.map((L,P)=>b.jsx(M7,qe({item:L,applyFilterChanges:E,deleteFilter:M,hasMultipleFilters:w,showMultiFilterOperators:P>0,disableMultiFilterOperator:P!==1,applyMultiFilterOperatorChanges:S,focusElementRef:null,readOnly:!0,logicOperators:c,columnsSort:f},p),L.id==null?P:L.id)),x.map((L,P)=>b.jsx(M7,qe({item:L,applyFilterChanges:E,deleteFilter:M,hasMultipleFilters:w,showMultiFilterOperators:R.length+P>0,disableMultiFilterOperator:R.length+P!==1,applyMultiFilterOperatorChanges:S,focusElementRef:P===x.length-1?l:null,logicOperators:c,columnsSort:f},p),L.id==null?P+R.length:L.id))]}),!i.disableMultipleColumnsFiltering&&!(g&&y)?b.jsxs(lat,{children:[g?b.jsx("span",{}):b.jsx(i.slots.baseButton,qe({onClick:D,startIcon:b.jsx(i.slots.filterPanelAddIcon,{})},i.slotProps?.baseButton,{children:r.current.getLocaleText("filterPanelAddFilter")})),!y&&x.length>0?b.jsx(i.slots.baseButton,qe({onClick:F,startIcon:b.jsx(i.slots.filterPanelRemoveAllIcon,{})},i.slotProps?.baseButton,{children:r.current.getLocaleText("filterPanelRemoveAll")})):null]}):null]}))}),rx=(e,t,n,r,i,o)=>{let a;switch(e){case Zr.LEFT:a=r[n];break;case Zr.RIGHT:a=i-r[n]-t+o;break;default:a=void 0;break}return a},LO=(e,t,n,r,i)=>{const o=t===n-1;return e===Zr.LEFT&&o?!0:r?e===Zr.LEFT?!0:e===Zr.RIGHT?!o:!o||i:!1},OO=(e,t)=>e===Zr.RIGHT&&t===0,lv={root:Nr.scrollbarFiller,header:Nr["scrollbarFiller--header"],borderTop:Nr["scrollbarFiller--borderTop"],borderBottom:Nr["scrollbarFiller--borderBottom"],pinnedRight:Nr["scrollbarFiller--pinnedRight"]};function bat({header:e,borderTop:t=!0,borderBottom:n,pinnedRight:r}){return b.jsx("div",{role:"presentation",className:mt(lv.root,e&&lv.header,t&&lv.borderTop,n&&lv.borderBottom,r&&lv.pinnedRight)})}const Sat=e=>{const{classes:t,headerAlign:n,isDragging:r,isLastColumn:i,showLeftBorder:o,showRightBorder:a,groupId:s,pinnedPosition:l}=e,u={root:["columnHeader",n==="left"&&"columnHeader--alignLeft",n==="center"&&"columnHeader--alignCenter",n==="right"&&"columnHeader--alignRight",r&&"columnHeader--moving",a&&"columnHeader--withRightBorder",o&&"columnHeader--withLeftBorder","withBorderColor",s===null?"columnHeader--emptyGroup":"columnHeader--filledGroup",l===Zr.LEFT&&"columnHeader--pinnedLeft",l===Zr.RIGHT&&"columnHeader--pinnedRight",i&&"columnHeader--last"],draggableContainer:["columnHeaderDraggableContainer"],titleContainer:["columnHeaderTitleContainer","withBorderColor"],titleContainerContent:["columnHeaderTitleContainerContent"]};return Dt(u,yo,t)};function Eat(e){const{groupId:t,width:n,depth:r,maxDepth:i,fields:o,height:a,colIndex:s,hasFocus:l,tabIndex:u,isLastColumn:c,pinnedPosition:f,pinnedOffset:p}=e,v=vr(),g=md(),y=m.useRef(null),k=za(),E=xn(k,eot),S=t?E[t]:{},{headerName:T=t??"",description:I="",headerAlign:A=void 0}=S;let w;const R=t&&E[t]?.renderHeaderGroup,x=m.useMemo(()=>({groupId:t,headerName:T,description:I,depth:r,maxDepth:i,fields:o,colIndex:s,isLastColumn:c}),[t,T,I,r,i,o,s,c]);t&&R&&(w=R(x));const D=qe({},e,{classes:v.classes,headerAlign:A,depth:r,isDragging:!1}),M=T??t,F=Rr(),L=t===null?`empty-group-cell-${F}`:t,P=Sat(D);m.useLayoutEffect(()=>{l&&(y.current.querySelector('[tabindex="0"]')||y.current)?.focus()},[k,l]);const j=m.useCallback(O=>V=>{yie(V)||k.current.publishEvent(O,x,V)},[k,x]),B=m.useMemo(()=>({onKeyDown:j("columnGroupHeaderKeyDown"),onFocus:j("columnGroupHeaderFocus"),onBlur:j("columnGroupHeaderBlur")}),[j]),H=typeof S.headerClassName=="function"?S.headerClassName(x):S.headerClassName,G=m.useMemo(()=>gie(qe({},e.style),g,f,p),[f,p,e.style,g]);return b.jsx(Eie,qe({ref:y,classes:P,columnMenuOpen:!1,colIndex:s,height:a,isResizing:!1,sortDirection:null,hasFocus:!1,tabIndex:u,isDraggable:!1,headerComponent:w,headerClassName:H,description:I,elementId:L,width:n,columnMenuIconButton:null,columnTitleIconButtons:null,resizable:!1,label:M,"aria-colspan":o.length,"data-fields":`|-${o.join("-|-")}-|`,style:G},B))}const PO=$e("div",{name:"MuiDataGrid",slot:"ColumnHeaderRow",overridesResolver:(e,t)=>t.columnHeaderRow})({display:"flex"}),Tat=e=>{const{visibleColumns:t,sortColumnLookup:n,filterColumnLookup:r,columnHeaderTabIndexState:i,columnGroupHeaderTabIndexState:o,columnHeaderFocus:a,columnGroupHeaderFocus:s,headerGroupingMaxDepth:l,columnMenuState:u,columnVisibility:c,columnGroupsHeaderStructure:f,hasOtherElementInTabSequence:p}=e,[v,g]=m.useState(""),[y,k]=m.useState(""),E=Lk(),S=vr(),T=xn(E,Xit),I=xn(E,RF),A=xn(E,bot),w=xn(E,NF),R=xn(E,xk),x=mie(I,A,w.left.length),D=xn(E,TF),M=xn(E,CF),F=xn(E,Rnt),L=xn(E,xnt),P=xn(E,AF),j=m.useCallback(Y=>k(Y.field),[]),B=m.useCallback(()=>k(""),[]),H=m.useCallback(Y=>g(Y.field),[]),G=m.useCallback(()=>g(""),[]),O=m.useMemo(()=>w.left.length?{firstColumnIndex:0,lastColumnIndex:w.left.length}:null,[w.left.length]),V=m.useMemo(()=>w.right.length?{firstColumnIndex:t.length-w.right.length,lastColumnIndex:t.length}:null,[w.right.length,t.length]);wv(E,"columnResizeStart",j),wv(E,"columnResizeStop",B),wv(E,"columnHeaderDragStart",H),wv(E,"columnHeaderDragEnd",G);const W=Y=>{const{renderContext:ee=A}=Y||{},te=ee.firstColumnIndex,ce=ee.lastColumnIndex;return{renderedColumns:t.slice(te,ce),firstColumnToRender:te,lastColumnToRender:ce}},U=(Y,ee,te,ce=!1)=>{const ne=Y?.position===Zr.RIGHT,Ce=Y?.position===void 0,ae=w.right.length>0&&ne||w.right.length===0&&Ce,pe=x-te;return b.jsxs(m.Fragment,{children:[Ce&&b.jsx("div",{role:"presentation",style:{width:pe}}),ee,Ce&&b.jsx("div",{role:"presentation",className:mt(Nr.filler,ce&&Nr["filler--borderBottom"])}),ae&&b.jsx(bat,{header:!0,pinnedRight:ne,borderBottom:ce,borderTop:!1})]})},q=(Y,ee={})=>{const{renderedColumns:te,firstColumnToRender:ce}=W(Y),ne=[];for(let Ce=0;Ce<te.length;Ce+=1){const ae=te[Ce],pe=ce+Ce,ve=pe===0,Se=i!==null&&i.field===ae.field||ve&&!p?0:-1,De=a!==null&&a.field===ae.field,Ee=u.open&&u.field===ae.field,ye=Y?.position,Pe=rx(ye,ae.computedWidth,pe,I,D,P),Me=ye===Zr.RIGHT?te[Ce-1]:te[Ce+1],Qe=Me?a!==null&&a.field===Me.field:!1,Fe=pe+1===I.length-w.right.length,Ve=Ce,be=te.length,Ae=OO(ye,Ve),ke=LO(ye,Ve,be,S.showColumnVerticalBorder,M);ne.push(b.jsx($ot,qe({},n[ae.field],{columnMenuOpen:Ee,filterItemsCounter:r[ae.field]&&r[ae.field].length,headerHeight:F,isDragging:ae.field===v,colDef:ae,colIndex:pe,isResizing:y===ae.field,isLast:pe===I.length-1,hasFocus:De,tabIndex:Se,pinnedPosition:ye,pinnedOffset:Pe,isLastUnpinned:Fe,isSiblingFocused:Qe,showLeftBorder:Ae,showRightBorder:ke},ee),ae.field))}return U(Y,ne,0)},$=()=>b.jsxs(PO,{role:"row","aria-rowindex":l+1,ownerState:S,className:Nr["row--borderBottom"],children:[O&&q({position:Zr.LEFT,renderContext:O},{disableReorder:!0}),q({renderContext:A}),V&&q({position:Zr.RIGHT,renderContext:V},{disableReorder:!0,separatorSide:MF.Left})]}),J=({depth:Y,params:ee})=>{const te=W(ee);if(te.renderedColumns.length===0)return null;const{firstColumnToRender:ce,lastColumnToRender:ne}=te,Ce=f[Y],ae=t[ce].field,pe=T[ae]?.[Y]??null,ve=Ce.findIndex(({groupId:be,columnFields:Ae})=>
2015be===pe&&Ae.includes(ae)),Se=t[ne-1].field,De=T[Se]?.[Y]??null,Ee=Ce.findIndex(({groupId:be,columnFields:Ae})=>be===De&&Ae.includes(Se)),ye=Ce.slice(ve,Ee+1).map(be=>qe({},be,{columnFields:be.columnFields.filter(Ae=>c[Ae]!==!1)})).filter(be=>be.columnFields.length>0),Pe=ye[0].columnFields.indexOf(ae),Qe=ye[0].columnFields.slice(0,Pe).reduce((be,Ae)=>{const ke=R[Ae];return be+(ke.computedWidth??0)},0);let Fe=ce;const Ve=ye.map(({groupId:be,columnFields:Ae},ke)=>{const ue=s!==null&&s.depth===Y&&Ae.includes(s.field),ze=o!==null&&o.depth===Y&&Ae.includes(o.field)?0:-1,et={width:Ae.reduce((X,de)=>X+R[de].computedWidth,0),fields:Ae,colIndex:Fe},lt=ee.position,xe=rx(lt,et.width,Fe,I,D,P);Fe+=Ae.length;let We=ke;return lt===Zr.LEFT&&(We=Fe-1),b.jsx(Eat,{groupId:be,width:et.width,fields:et.fields,colIndex:et.colIndex,depth:Y,isLastColumn:ke===ye.length-1,maxDepth:l,height:L,hasFocus:ue,tabIndex:ze,pinnedPosition:lt,pinnedOffset:xe,showLeftBorder:OO(lt,We),showRightBorder:LO(lt,We,ye.length,S.showColumnVerticalBorder,M)},ke)});return U(ee,Ve,Qe)};return{renderContext:A,leftRenderContext:O,rightRenderContext:V,pinnedColumns:w,visibleColumns:t,columnPositions:I,getFillers:U,getColumnHeadersRow:$,getColumnsToRender:W,getColumnGroupHeadersRows:()=>{if(l===0)return null;const Y=[];for(let ee=0;ee<l;ee+=1)Y.push(b.jsxs(PO,{role:"row","aria-rowindex":ee+1,ownerState:S,children:[O&&J({depth:ee,params:{position:Zr.LEFT,renderContext:O,maxLastColumn:O.lastColumnIndex}}),J({depth:ee,params:{renderContext:A}}),V&&J({depth:ee,params:{position:Zr.RIGHT,renderContext:V,maxLastColumn:V.lastColumnIndex}})]},ee));return Y},getPinnedCellOffset:rx,isDragging:!!v,getInnerProps:()=>({role:"rowgroup"})}},Cat=["className"],Aat=e=>{const{classes:t}=e;return Dt({root:["columnHeaders"]},yo,t)},Iat=Qy("div",{name:"MuiDataGrid",slot:"ColumnHeaders",overridesResolver:(e,t)=>t.columnHeaders})({display:"flex",flexDirection:"column",borderTopLeftRadius:"var(--unstable_DataGrid-radius)",borderTopRightRadius:"var(--unstable_DataGrid-radius)"}),wat=Sd(function(t,n){const{className:r}=t,i=Tr(t,Cat),o=vr(),a=Aat(o);return b.jsx(Iat,qe({className:mt(a.root,r),ownerState:o},i,{role:"presentation",ref:n}))});function FF(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}const Tie=vr,Cie=za,Aie=e=>e.detailPanel.expandedRowIds,Nat=e=>e.detailPanel.contentCache,Rat=e=>e.detailPanel.heightCache,Zft=Xn(Rat,e=>Object.entries(e).reduce((t,[n,{height:r}])=>(t[n]=r||0,t),{})),xat=e=>{const{classes:t,isExpanded:n}=e;return Dt({root:["detailPanelToggleCell",n&&"detailPanelToggleCell--expanded"]},yo,t)},Lat=Int(Aie,(e,t)=>e.includes(t));function Oat(e){const{id:t,row:n,api:r}=e,i=r.getRowId(n),o=Cnt({current:r},Lat,i),a=Tie(),s=Cie(),l={classes:a.classes,isExpanded:o},u=xat(l),c=xn(s,Nat),f=m.isValidElement(c[t]),p=o?a.slots.detailPanelCollapseIcon:a.slots.detailPanelExpandIcon;return b.jsx(a.slots.baseIconButton,vs({size:"small",tabIndex:-1,disabled:!f,className:u.root,"aria-label":o?s.current.getLocaleText("collapseDetailPanel"):s.current.getLocaleText("expandDetailPanel")},a.slotProps?.baseIconButton,{children:b.jsx(p,{fontSize:"inherit"})}))}const Pat=vs({},Es,{type:"custom",field:Brt,editable:!1,sortable:!1,filterable:!1,resizable:!1,aggregable:!1,disableColumnMenu:!0,disableReorder:!0,disableExport:!0,align:"left",width:40,valueGetter:(e,t,n,r)=>{const i=GA(r.current.state,t);return Aie(r.current.state).includes(i)},renderCell:e=>b.jsx(Oat,vs({},e)),renderHeader:({colDef:e})=>b.jsx("div",{"aria-label":e.headerName})}),_at=["getColumnsToRender","getPinnedCellOffset","renderContext","leftRenderContext","rightRenderContext","pinnedColumns","visibleColumns","columnPositions"],Dat=e=>{const{classes:t}=e;return m.useMemo(()=>Dt({headerFilterRow:["headerFilterRow"]},yo,t),[t])},F7=Object.create(null),Mat=e=>{const t=Lk(),{headerGroupingMaxDepth:n,hasOtherElementInTabSequence:r}=e,i=xn(t,fit),o=Tat(vs({},e,{hasOtherElementInTabSequence:r||i!==null})),{getColumnsToRender:a,getPinnedCellOffset:s,renderContext:l,leftRenderContext:u,rightRenderContext:c,pinnedColumns:f,visibleColumns:p,columnPositions:v}=o,g=FF(o,_at),y=m.useRef(null);t.current.register("private",{headerFiltersElementRef:y});const k=m.useRef(null),E=Tie(),S=Dat(E),T=!E.headerFilters,I=xn(t,Jh),A=xn(t,TF),w=xn(t,CF),R=xn(t,Lnt),x=xn(t,AF),D=xn(t,dit),M=m.useCallback(P=>{const j=I?.items.find(G=>G.field===P.field&&G.operator!=="isAnyOf");if(j!=null)return j;const B=F7[P.field];if(B!=null)return B;const H=xO(P);return F7[P.field]=H,H},[I]),F=P=>{const{renderedColumns:j,firstColumnToRender:B}=a(P),H=[];for(let G=0;G<j.length;G+=1){const O=j[G],V=B+G,W=D?.field===O.field,U=V===0,$=i?.field===O.field||U&&!e.hasOtherElementInTabSequence?0:-1,J=typeof O.headerClassName=="function"?O.headerClassName({field:O.field,colDef:O}):O.headerClassName,Z=M(O),Y=P?.position,ee=s(Y,O.computedWidth,V,v,A,x),te=G,ce=j.length,ne=OO(Y,te),Ce=LO(Y,te,ce,E.showColumnVerticalBorder,w);H.push(b.jsx(E.slots.headerFilterCell,vs({colIndex:V,height:R,width:O.computedWidth,colDef:O,hasFocus:W,tabIndex:$,headerFilterMenuRef:k,headerClassName:J,"data-field":O.field,item:Z,pinnedPosition:Y,pinnedOffset:ee,showLeftBorder:ne,showRightBorder:Ce},E.slotProps?.headerFilterCell),`${O.field}-filter`))}return g.getFillers(P,H,0,!0)};return vs({},g,{getColumnFiltersRow:()=>T?null:b.jsxs(PO,{ref:y,className:S.headerFilterRow,role:"row","aria-rowindex":n+2,ownerState:E,children:[u&&F({position:Zr.LEFT,renderContext:u,maxLastColumn:u.last
2015ColumnIndex}),F({renderContext:l,maxLastColumn:p.length-f.right.length}),c&&F({position:Zr.RIGHT,renderContext:c,maxLastColumn:c.lastColumnIndex})]})})},Fat=["style","className","visibleColumns","sortColumnLookup","filterColumnLookup","columnHeaderTabIndexState","columnGroupHeaderTabIndexState","columnHeaderFocus","columnGroupHeaderFocus","headerGroupingMaxDepth","columnMenuState","columnVisibility","columnGroupsHeaderStructure","hasOtherElementInTabSequence"],Uat=$e("div")({flex:1,backgroundColor:"var(--DataGrid-containerBackground)"}),Vat=Sd(function(t,n){const{className:r,visibleColumns:i,sortColumnLookup:o,filterColumnLookup:a,columnHeaderTabIndexState:s,columnGroupHeaderTabIndexState:l,columnHeaderFocus:u,columnGroupHeaderFocus:c,headerGroupingMaxDepth:f,columnMenuState:p,columnVisibility:v,columnGroupsHeaderStructure:g,hasOtherElementInTabSequence:y}=t,k=FF(t,Fat),{getInnerProps:E,getColumnHeadersRow:S,getColumnFiltersRow:T,getColumnGroupHeadersRows:I}=Mat({visibleColumns:i,sortColumnLookup:o,filterColumnLookup:a,columnHeaderTabIndexState:s,hasOtherElementInTabSequence:y,columnGroupHeaderTabIndexState:l,columnHeaderFocus:u,columnGroupHeaderFocus:c,headerGroupingMaxDepth:f,columnMenuState:p,columnVisibility:v,columnGroupsHeaderStructure:g});return b.jsxs(wat,vs({className:r},k,E(),{ref:n,children:[I(),S(),T(),b.jsx(Uat,{})]}))});Pat.renderHeader=()=>b.jsx("div",{style:{position:"absolute",opacity:0},children:"Expand"});const Iie=56,wie=m.forwardRef((e,t)=>{const n=Cie(),r=n.current.getAllColumns().map(o=>o.field).join(","),{updateSortPreference:i}=vye({grid:"datagrid",columnHeadersId:r,sortPrefsSetter:n.current.setSortModel});return m.useEffect(()=>{const o=s=>{const l=gye([...s]);i(l)},a=n.current.subscribeEvent("sortModelChange",o);return()=>{a()}},[i,n]),b.jsx(Vat,{...e,ref:t})});wie.displayName="CustomColumnHeaders";const Bat={defaultProps:{columnHeaderHeight:Iie*zre,disableColumnMenu:!0,disableColumnSelector:!0,disableMultipleColumnsSorting:!0,disableRowSelectionOnClick:!0,isRowSelectable:()=>!1,keepNonExistentRowsSelected:!0,rowHeight:50,slots:{detailPanelExpandIcon:LA,detailPanelCollapseIcon:uO,columnHeaders:wie,quickFilterIcon:()=>b.jsx(UZ,{color:"text.secondary",sx:{mr:.5}}),quickFilterClearIcon:Mu},slotProps:{loadingOverlay:{variant:"skeleton",noRowsVariant:"skeleton"},filterPanel:{sx:{padding:2}},baseBadge:{overlap:"circular"}}},styleOverrides:{root:({theme:e})=>({border:0,[`& .${Nr.filler} > div`]:{border:0},"--DataGrid-rowBorderColor":e.palette.divider,[`& .${Nr.withBorderColor}`]:{borderColor:e.palette.divider}}),columnHeader:{[`&:hover .${Nr.sortIcon}.${Nr.sortIcon}`]:{opacity:.8},[`&.${Nr["columnHeader--last"]} .${Nr["columnSeparator--sideRight"]}`]:{display:"none"}},columnSeparator:({theme:e})=>({color:e.palette.divider}),detailPanel:({theme:e})=>({paddingLeft:e.spacing(7.5),paddingTop:e.spacing(2),paddingBottom:e.spacing(2)}),filterIcon:({theme:e})=>({color:e.palette.primary.main}),menu:{[`& .${yE.root} .${fS.root}`]:{fontSize:20}},overlay:{backgroundColor:"transparent"},footerContainer:({theme:e})=>({minHeight:e.spacing(5)}),row:({theme:e})=>({"&.Mui-disabled":{color:e.palette.text.disabled},"&.Mui-clickable":{cursor:"pointer"}})}},jat=e=>m.createElement(rn,{width:48,height:48,viewBox:"0 -960 960 960",...e},m.createElement("path",{d:"M536.08-251.69q-26.08-26.3-26.08-64 0-37.69 26.3-63.77 26.31-26.08 64-26.08 37.7 0 63.78 26.31 26.07 26.3 26.07 64 0 37.69-26.3 63.77-26.3 26.07-64 26.07t-63.77-26.3ZM197.69-100q-23.53 0-40.61-17.08T140-157.69v-579.23q0-23.53 17.08-40.61t40.61-17.08h73.85v-70h50.38v70h317.69v-70h49.23v70h73.47q23.53 0 40.61 17.08T820-736.92v579.23q0 23.53-17.08 40.61T762.31-100H197.69Zm0-45.39h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46V-555H185.39v397.31q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84Zm-12.3-454.99h589.22v-136.54q0-4.62-3.84-8.46-3.85-3.85-8.46-3.85H197.69q-4.61 0-8.46 3.85-3.84 3.84-3.84 8.46v136.54Zm0 0v-148.85 148.85Z"})),zat=m.memo(jat),Hat={defaultProps:{slots:{openPickerIcon:zat}}},Wat={styleOverrides:{yearButton:()=>({fontSize:"inherit"})}},qat={defaultProps:{slotProps:{paper:{elevation:0}}}},Gat={styleOverrides:{root:({theme:e})=>({padding:e.spacing(2,3)})}},Kat={defaultProps:{elevation:0}},Yat={defaultProps:{color:"primary",size:"small"},styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius}),sizeSmall:{"& > svg":{fontSize:20}},sizeMedium:{"& > svg":{fontSize:24}},sizeLarge:{"& > svg":{fontSize:24}}},variants:[{props:{color:"text.primary"},style:({theme:e})=>({color:e.palette.text.primary})},{props:{color:"text.secondary"},style:({theme:e})=>({color:e.palette.text.secondary})}]},$at={defaultProps:{underline:"always"}},Jat={defaultProps:{dense:!0,disablePadding:!0}},Zat={defaultProps:{dense:!0}},Qat={defaultProps:{dense:!0}}
2015,Xat={styleOverrides:{list:({theme:e})=>({width:"unset !important",margin:e.spacing(1),padding:0})}},est={styleOverrides:{root:({theme:e})=>({fontSize:e.typography.body2.fontSize,padding:e.spacing(1),borderRadius:e.shape.borderRadius,"&.Mui-selected, &.Mui-selected:hover":{backgroundColor:e.palette.action.selected}})}},tst={defaultProps:{elevation:0}},nst={defaultProps:{slotProps:{paper:{variant:"outlined",elevation:0}}},styleOverrides:{paper:({theme:e})=>({marginTop:e.spacing(1)})}},rst={defaultProps:{size:"small"}},ist={defaultProps:{IconComponent:LA,size:"small"}},ost={defaultProps:{animation:"wave",role:"status","aria-label":"Loading"},styleOverrides:{rectangular:({theme:e})=>({borderRadius:e.shape.borderRadius})}},ast={defaultProps:{fontSize:"small"},variants:[{props:{color:"text.primary"},style:({theme:e})=>({color:e.palette.text.primary})},{props:{color:"text.secondary"},style:({theme:e})=>({color:e.palette.text.secondary})},{props:{color:"text.dim"},style:({theme:e})=>({color:e.palette.text.dim})}]},sst={styleOverrides:{root:{width:30,height:16,padding:0},switchBase:({theme:e})=>({padding:0,margin:2,transitionDuration:"400ms","&.Mui-checked":{transform:"translateX(14px)","& .MuiSwitch-thumb":{backgroundColor:e.palette.background.default},"& + .MuiSwitch-track":{backgroundColor:e.palette.primary.light,opacity:1,border:0}}}),thumb:({theme:e})=>({boxSizing:"border-box",width:12,height:12,backgroundColor:e.palette.text.disabled}),track:({theme:e})=>({borderRadius:8,backgroundColor:e.palette.background.default,opacity:1,border:`2px solid ${e.palette.text.disabled}`})}},lst={defaultProps:{allowScrollButtonsMobile:!0,variant:"scrollable"},styleOverrides:{root:({theme:e})=>({marginTop:e.spacing(2),marginBottom:e.spacing(2),borderBottom:`1px solid ${e.palette.divider}`,"& .MuiButtonBase-root.MuiTabScrollButton-root.Mui-disabled":{opacity:.3}})}},ust={styleOverrides:{root:({theme:e})=>({".MuiTabs-vertical &":{border:"unset"},"&:focus":{background:e.palette.action.hover},"&.Mui-selected, &:not(.Mui-disabled):hover":{color:e.palette.text.primary}})}},cst={styleOverrides:{root:{backgroundColor:"transparent"}}},dst={styleOverrides:{root:({theme:e})=>({[`&.${wV.active} .${wV.icon}`]:{color:e.palette.primary.main}}),icon:{marginLeft:0,marginRight:0}}},fst={styleOverrides:{root:{[`& .${y1e.root}.${S1e.toolbar}`]:{minHeight:"inherit",paddingLeft:0}},actions:({theme:e})=>({"& > button:first-of-type":{marginRight:e.spacing(.5)}}),displayedRows:({theme:e})=>({marginTop:0,marginBottom:0,fontSize:e.typography.caption.fontSize}),selectLabel:({theme:e})=>({marginTop:0,marginBottom:0,fontSize:e.typography.caption.fontSize})}},pst={styleOverrides:{root:({theme:e})=>({color:e.palette.text.dim})}},mst={styleOverrides:{arrow:({theme:e})=>({color:e.palette.background.tooltip}),tooltip:({theme:e})=>({padding:e.spacing(1),backgroundColor:e.palette.background.tooltip,"&:empty":{display:"none"}})}},hst=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_COLUMN_HEIGHT:Iie,MuiAlert:Htt,MuiAppBar:Wtt,MuiAutocomplete:qtt,MuiAvatar:Gtt,MuiButton:Ytt,MuiButtonBase:Ktt,MuiButtonGroup:$tt,MuiCard:Jtt,MuiCardActions:Xtt,MuiCardContent:Ztt,MuiCardHeader:Qtt,MuiCheckbox:ent,MuiChip:tnt,MuiCssBaseline:ant,MuiDataGrid:Bat,MuiDatePicker:Hat,MuiDialog:qat,MuiDialogActions:Gat,MuiDrawer:Kat,MuiFormHelperText:bVe,MuiIconButton:Yat,MuiInputAdornment:vVe,MuiInputBase:gVe,MuiLink:$at,MuiList:Jat,MuiListItem:Zat,MuiListItemButton:Qat,MuiMenu:Xat,MuiMenuItem:est,MuiOutlinedInput:yVe,MuiPaper:tst,MuiPickersYear:Wat,MuiPopover:nst,MuiRadio:rst,MuiSelect:ist,MuiSkeleton:ost,MuiSvgIcon:ast,MuiSwitch:sst,MuiTab:ust,MuiTableContainer:cst,MuiTablePagination:fst,MuiTableSortLabel:dst,MuiTabs:lst,MuiTextField:kVe,MuiToggleButton:pst,MuiTooltip:mst,getOutlinedInputErrorBg:aD},Symbol.toStringTag,{value:"Module"}));var W0={},U7;function gst(){if(U7)return W0;U7=1,W0.match=o,W0.parse=a;var e=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,t=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,n=/^(?:(min|max)-)?(.+)/,r=/(em|rem|px|cm|mm|in|pt|pc)?$/,i=/(dpi|dpcm|dppx)?$/;function o(c,f){return a(c).some(function(p){var v=p.inverse,g=p.type==="all"||f.type===p.type;if(g&&v||!(g||v))return!1;var y=p.expressions.every(function(k){var E=k.feature,S=k.modifier,T=k.value,I=f[E];if(!I)return!1;switch(E){case"orientation":case"scan":return I.toLowerCase()===T.toLowerCase();case"width":case"height":case"device-width":case"device-height":T=u(T),I=u(I);break;case"resolution":T=l(T),I=l(I);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":T=s(T),I=s(I);break;case"grid":case"color":case"color-index":case"monochrome":T=parseInt(T,10)||1,I=parseInt(I,10)||0;break}switch(S){case"min":return I>=T;case"max":return I<=T;default:return I===T}});return y&&!v||!y&&v})}function a(c){return c.split(",").map(function(f){f=f.trim();var p=f.match(e),v=p[1],g=p[2],y=p[3]||"",k={};return k.inverse=!!v&&v.toLowerCase()==="not",k.type=g?g.toLowerCase():"all",y=y.match(/\([^\)]+\)/g)||[],k.expressions=y.map(function(E){var S=E.match(t),T=S[1].toLowerCase().match(n);return{modifier:T[1],feature:T[2],value:S[2]}}),k})}function s(c){var f=Number(c),p;return f||(p=c.match(/^(\d+)\s*\/\s*(\d+)$/),f=p[1]/p[2]),f}function l(c){var f=parseFloat(c),p=String(c).match(i)[1];switch(p){case"dpcm":return f/2.54;case"dppx":return f*96;default:return f}}function u(c){var f=parseFloat(c),p=String(c).match(r)[1];switch(p){case"em":return f*16;case"rem":return f*16;case"cm":return f*96/2.54;case"mm":return f*96/2.54/10;case"in":return f*96;case"pt":return f*72;case"pc":return f*72/12;default:return f}}return W0}var vst=gst();const yst=Wu(vst),kst=e=>({MuiUseMediaQuery:{defaultProps:{ssrMatchMedia:function(n){return{matches:yst.match(n,{width:e?"0px":"1920px"})}}}}}
2015),Yd=['"Gellix"',"Arial","sans-serif"].join(","),om=["system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Noto Sans","Helvetica","Arial","sans-serif"].join(","),bst=["ui-monospace","SFMono-Regular","Menlo","Consolas",'"Liberation Mono"',"monospace"].join(","),Sst={fontFamily:om,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:700,h1:{fontFamily:Yd,fontSize:"3rem",fontWeight:700,lineHeight:1.1},h2:{fontFamily:Yd,fontSize:"2.438rem",fontWeight:700,lineHeight:1.1},h3:{fontFamily:Yd,fontSize:"1.938rem",fontWeight:700,lineHeight:1.1},h4:{fontFamily:Yd,fontSize:"1.563rem",fontWeight:700,lineHeight:1.2},h5:{fontFamily:Yd,fontSize:"1.25rem",fontWeight:700,lineHeight:1.2},h6:{fontFamily:Yd,fontSize:"1rem",fontWeight:700,lineHeight:1.2},subtitle1:void 0,subtitle2:void 0,title1:{fontFamily:Yd,fontSize:"1.25rem",fontWeight:700,lineHeight:1.2},title2:{fontFamily:om,fontSize:"1rem",fontWeight:700,lineHeight:1.2},body1:{fontFamily:om,fontSize:"1rem",fontWeight:400},body2:{fontFamily:om,fontSize:"0.875rem",fontWeight:400},button:{fontFamily:om,fontSize:"0.875rem",fontWeight:600,textTransform:"none"},caption:{fontFamily:om,fontSize:"0.75rem",fontWeight:400,lineHeight:1.5},overline:void 0,monospace:{fontFamily:bst,fontSize:"0.844rem",lineHeight:1.4}},V7="chainguard-kapa-theme",Est="kapa-widget-container",Tst="kapa-widget-root",B7=({isDark:e,primary:t,surface:n,darkBorder:r,lightBorder:i,codeBg:o,codeText:a})=>e?`#${Tst} { 2016 --mantine-color-project-filled: ${t} !important; 2017 --mantine-color-project-filled-hover: ${ia(t,.2)} !important; 2018 --mantine-color-body: ${n} !important; 2019} 2020.mantine-Modal-body, 2021.mantine-Modal-header { 2022 background-color: ${n} !important; 2023} 2024.mantine-Modal-content { 2025 border-left: 1px solid ${r}; 2026}`:`.mantine-Modal-content { 2027 border-left: 1px solid ${i}; 2028} 2029div:has(> code[class*="language-"]) { 2030 background: ${o} !important; 2031 color: ${a} !important; 2032 text-shadow: none !important; 2033 border: 1px solid ${i} !important; 2034 border-radius: 4px !important; 2035} 2036code[class*="language-"] { 2037 background: transparent !important; 2038 color: ${a} !important; 2039 text-shadow: none !important; 2040} 2041code[class*="language-"] .token { 2042 color: inherit !important; 2043}`,Cst=({isDark:e,primary:t,surface:n,darkBorder:r,lightBorder:i,codeBg:o,codeText:a})=>{const s=m.useRef(null),l=m.useRef({isDark:e,primary:t,surface:n,darkBorder:r,lightBorder:i,codeBg:o,codeText:a});m.useEffect(()=>{l.current={isDark:e,primary:t,surface:n,darkBorder:r,lightBorder:i,codeBg:o,codeText:a}},[o,a,r,e,i,t,n]),m.useEffect(()=>{let u=null,c=null;const f=v=>{if(typeof document>"u"||v.getElementById(V7))return;const g=document.createElement("style");g.id=V7,g.textContent=B7(l.current),v.appendChild(g),s.current=g},p=()=>{if(typeof document>"u")return!1;const v=document.getElementById(Est)?.shadowRoot;return v?(f(v),u||(u=new MutationObserver(()=>f(v)),u.observe(v,{childList:!0,subtree:!0})),!0):!1};return p()||(c=new MutationObserver(()=>{p()&&(c?.disconnect(),c=null)}),c.observe(document.body,{childList:!0})),()=>{c?.disconnect(),u?.disconnect(),s.current?.remove(),s.current=null}},[]),m.useEffect(()=>{s.current&&(s.current.textContent=B7({isDark:e,primary:t,surface:n,darkBorder:r,lightBorder:i,codeBg:o,codeText:a}))},[e,t,n,r,i,o,a])},Ast="#2bbafd",Ist="#dff4fe",wst="#006a97",Nst="#00a0eb",uo={100:"#f1ecfe",300:"#c0a8fd",500:"#6226fb",800:"#3200af"},Rst="#fd2bf2",xst="#fddffc",Lst="#a10099",Ost="#eb02e0",jn={0:"#ffffff",25:"#fafafb",750:"#3d4549",800:"#192228",850:"#121b20",900:"#0d161c"},Pst="#44fd2b",_st="#e9fcea",Dst="#108000",Mst="#04bd13",Fst="#fd3964",Ust="#fce0e0",Vst="#b20028",Bst="#f60440",jst={70:"#b45309"},zst={80:"#0277bd"},Hst="#DA3633",Wst="#FF5C5C",qst="#E17033",Gst="#FB923C",Kst="#FFAC00",Yst="#FACC15",j7="#2377F6",$st="#2377F6",Jst="#4B8CEC",z7="#94A2B8",Zst="#7C48B6",Qst="#AB8AD1",H7={50:"#52E0D8"},q0={50:"#F236F6"},W7={50:"#3B82F6"},am={50:"#6B7280"},sm={50:"#99A1F9"},Xst=[".aws",".chainguard",".github",".social"].join(", "),elt=({children:e})=>{const{mode:t}=m.useContext(yF),{setColorScheme:n}=m.useContext(ri),r=t==="dark"||t==="system-dark",i=Ku();n(r?"dark":"light"),m.useEffect(()=>{n(r?"dark":"light")},[n,r]);const o=m.useMemo(()=>
2043({aqua:{light:Ist,main:Ast,dark:wst,text:Nst},blurple:{light:uo[100],main:uo[500],dark:uo[800],text:uo[500]},fuchsia:{light:xst,main:Rst,dark:Lst,text:Ost},ink:{main:jn[900],contrastText:jn[0]},lime:{light:_st,main:Pst,dark:Dst,text:Mst},solar:{light:Ust,main:Fst,dark:Vst,text:Bst}}),[]),a=m.useMemo(()=>yC({palette:r?{mode:"dark",primary:{main:uo[300],contrastText:jn[900]},secondary:{main:uo[300],contrastText:jn[900]},...o,text:{primary:jn[0],secondary:Qt(jn[0],.7),dim:Qt(jn[0],.6),disabled:Qt(jn[0],.45),code:jn[0]},background:{default:jn[900],nav:jn[850],paper:jn[800],tooltip:jn[750]},action:{active:uo[100],hover:Qt(uo[300],.08),selected:Qt(uo[300],.16),focus:Qt(uo[300],.12),readOnly:Qt(jn[0],.06)},divider:Qt(jn[0],.1),form:Qt(jn[0],.23),severity:{critical:Wst,high:Gst,medium:Yst,low:Jst,unknown:z7,fixable:Qst},fix:{notFixed:H7[50],wontFix:j7,fixed:q0[50]},events:{unspecified:sm[50],detection:sm[50],pendingUpstreamFix:sm[50],fixNotPlanned:am[50],analysisNotPlanned:am[50],falsePositiveDetermination:am[50],truePositiveDetermination:q0[50],fixed:W7[50]}}:{mode:"light",primary:{main:uo[500]},secondary:{main:uo[500]},...o,warning:{main:jst[70]},info:{main:zst[80]},text:{primary:jn[900],secondary:Qt(jn[900],.7),dim:Qt(jn[900],.6),disabled:Qt(jn[900],.38),code:jn[900]},background:{default:jn[0],nav:jn[25],paper:jn[25],tooltip:jn[750]},action:{active:Qt(uo[500],.54),hover:Qt(uo[500],.05),hoverOpacity:.05,selected:Qt(uo[500],.1),selectedOpacity:.1,disabled:Qt(jn[900],.26),disabledBackground:Qt(jn[900],.12),focus:Qt(uo[500],.12),readOnly:Qt(jn[900],.04)},divider:Qt(jn[900],.12),form:Qt(jn[900],.23),severity:{critical:Hst,high:qst,medium:Kst,low:$st,unknown:z7,fixable:Zst},fix:{notFixed:H7[50],wontFix:j7,fixed:q0[50]},events:{unspecified:sm[50],detection:sm[50],pendingUpstreamFix:sm[50],fixNotPlanned:am[50],analysisNotPlanned:am[50],falsePositiveDetermination:am[50],truePositiveDetermination:q0[50],fixed:W7[50]}},typography:Sst,spacing:8,components:{...hst,...kst(i)},mixins:r?{logo:{[Xst]:{fill:jn[0]}},disabled:{opacity:.65}}:{disabled:{opacity:.65}}}),[r,o,i]),{debugFocus:s,wcagTextSpacing:l}=ma();return m.useEffect(()=>{if(s){const u=setInterval(()=>console.log(document.activeElement),1e3);return()=>clearInterval(u)}},[s]),Cst({isDark:r,primary:uo[500],surface:jn[800],darkBorder:Qt(jn[0],.1),lightBorder:Qt(jn[900],.12),codeBg:jn[25],codeText:jn[900]}),b.jsxs(SCe,{theme:a,children:[b.jsx(ONe,{}),l&&b.jsx(aE,{styles:{"*":{lineHeight:"1.5 !important",letterSpacing:"0.12em !important",wordSpacing:"0.16em !important"},p:{marginTop:"1em !important",marginBottom:"1em !important"}}}),s&&b.jsx(aE,{styles:{":focus":{outline:"3px dashed lightblue !important"}}}),e]})},tlt=["localeText"],q7=m.createContext(null),nlt=function(t){const{localeText:n}=t,r=FF(t,tlt),{utils:i,localeText:o}=m.useContext(q7)??{utils:void 0,localeText:void 0},a=vCe({props:r,name:"MuiLocalizationProvider"}),{children:s,dateAdapter:l,dateFormats:u,dateLibInstance:c,adapterLocale:f,localeText:p}=a,v=m.useMemo(()=>vs({},p,o,n),[p,o,n]),g=m.useMemo(()=>{if(!l)return i||null;const E=new l({locale:f,formats:u,instance:c});if(!E.isMUIAdapter)throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(` 2044`));return E},[l,f,u,c,i]),y=m.useMemo(()=>g?{minDate:g.date("1900-01-01T00:00:00.000"),maxDate:g.date("2099-12-31T00:00:00.000")}:null,[g]),k=m.useMemo(()=>({utils:g,defaultDates:y,localeText:v}),[y,g,v]);return b.jsx(q7.Provider,{value:k,children:s})},rlt={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"}
2044,c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},ilt={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class olt{constructor(t){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=rlt,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=a=>typeof a>"u"?new Date:a===null?null:new Date(a),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=a=>a,this.toJsDate=a=>a,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=a=>{const s=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return a.match(s).map(l=>{const u=l[0];if(u==="p"||u==="P"){const c=this.longFormatters[u];return c(l,this.locale.formatLong)}return l}).join("")},this.formatNumber=a=>a,this.getDayOfWeek=a=>a.getDay()+1;const{locale:n,formats:r,longFormatters:i,lib:o}=t;this.locale=n,this.formats=vs({},ilt,r),this.longFormatters=i,this.lib=o||"date-fns"}}class alt extends olt{constructor({locale:t,formats:n}={}){super({locale:t??qy,formats:n,longFormatters:eE}),this.parse=(r,i)=>r===""?null:Ybe(r,i,new Date,{locale:this.locale}),this.isValid=r=>r==null?!1:Oq(r),this.format=(r,i)=>this.formatByString(r,this.formats[i]),this.formatByString=(r,i)=>IP(r,i,{locale:this.locale}),this.isEqual=(r,i)=>r===null&&i===null?!0:r===null||i===null?!1:tE(r,i),this.isSameYear=(r,i)=>Qbe(r,i),this.isSameMonth=(r,i)=>Zbe(r,i),this.isSameDay=(r,i)=>Vye(r,i),this.isSameHour=(r,i)=>Jbe(r,i),this.isAfter=(r,i)=>Tf(r,i),this.isAfterYear=(r,i)=>Tf(r,M5(i)),this.isAfterDay=(r,i)=>Tf(r,Vx(i)),this.isBefore=(r,i)=>_m(r,i),this.isBeforeYear=(r,i)=>_m(r,this.startOfYear(i)),this.isBeforeDay=(r,i)=>_m(r,this.startOfDay(i)),this.isWithinRange=(r,[i,o])=>qq(r,{start:i,end:o}),this.startOfYear=r=>Dq(r),this.startOfMonth=r=>Gye(r),this.startOfWeek=r=>$s(r,{locale:this.locale}),this.startOfDay=r=>Qc(r),this.endOfYear=r=>M5(r),this.endOfMonth=r=>_q(r),this.endOfWeek=r=>Kye(r,{locale:this.locale}),this.endOfDay=r=>Vx(r),this.addYears=(r,i)=>Lq(r,i),this.addMonths=(r,i)=>TP(r,i),this.addWeeks=(r,i)=>Fye(r,i),this.addDays=(r,i)=>Wy(r,i),this.addHours=(r,i)=>rC(r,i),this.addMinutes=(r,i)=>xq(r,i),this.addSeconds=(r,i)=>Mye(r,i),this.getYear=r=>Zke(r),this.getMonth=r=>$ke(r),this.getDate=r=>Hke(r),this.getHours=r=>qke(r),this.getMinutes=r=>Yke(r),this.getSeconds=r=>Jke(r),this.getMilliseconds=r=>Kke(r),this.setYear=(r,i)=>S0e(r,i),this.setMonth=(r,i)=>h0e(r,i),this.setDate=(r,i)=>g0e(r,i),this.setHours=(r,i)=>v0e(r,i),this.setMinutes=(r,i)=>k0e(r,i),this.setSeconds=(r,i)=>b0e(r,i),this.setMilliseconds=(r,i)=>y0e(r,i),this.getDaysInMonth=r=>Bq(r),this.getWeekArray=r=>{const i=this.startOfWeek(this.startOfMonth(r)),o=this.endOfWeek(this.endOfMonth(r));let a=0,s=i;const l=[];for(;this.isBefore(s,o);){const u=Math.floor(a/7);l[u]=l[u]||[],l[u].push(s),s=this.addDays(s,1),a+=1}return l},this.getWeekNumber=r=>AP(r,{locale:this.locale}),this.getYearRange=([r,i])=>{const o=this.startOfYear(r),a=this.endOfYear(i),s=[];let l=o;for(;this.isBefore(l,a);)s.push(l),l=this.addYears(l,1);return s}}}const uv=(e,t)=>
2044t==="default"?{boxShadow:"none",backgroundColor:e.palette.background.paper,color:e.palette.text.primary}:{boxShadow:"none",backgroundColor:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)},cv=$e(E$)(({theme:e})=>({"&.notistack-MuiContent-default":uv(e,"default"),"&.notistack-MuiContent-error":uv(e,"error"),"&.notistack-MuiContent-info":uv(e,"info"),"&.notistack-MuiContent-success":uv(e,"success"),"&.notistack-MuiContent-warning":uv(e,"warning")})),slt=({children:e})=>b.jsx(wFe,{anchorOrigin:{horizontal:"center",vertical:"bottom"},autoHideDuration:4e3,iconVariant:{default:b.jsx(IE,{sx:{mr:1}}),error:b.jsx(Ore,{sx:{mr:1}}),info:b.jsx(IE,{sx:{mr:1}}),success:b.jsx(Z_,{sx:{mr:1}}),warning:b.jsx(Pre,{sx:{mr:1}})},Components:{default:cv,error:cv,info:cv,success:cv,warning:cv},children:e}),llt=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((i,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},Nie=JSON.parse(`{"-0A31S":["Starter organization for ",["domain"]],"-0B-ue":["Projects"],"-0UZyq":["In the meantime, check out our documentation to learn how to get the most out of your Starter organization."],"-1BfnV":["Knock workflow"],"-587yK":["Affected packages"],"-5vx5N":["Pull tokens and identity management are only available in organizations."],"-7YS_Y":["List skills in the catalog"],"-AM4gj":["Manage GitHub organization associations"],"-D68I7":["Token overlap (Hours)"],"-DEogc":["Change language"],"-DHRWw":["Unspecified"],"-IMfxp":["Delete group invites"],"-IrCqo":["Custom expiration"],"-K0AvT":["Disconnect"],"-K8OWR":["No filters available."],"-KsckW":[":imageId Specifications and Configuration"],"-LwKJG":["IdP group name"],"-N4RSg":["Chainguard Agent Skills"],"-PrWMc":[["name"]," successfully deleted!"],"-Qmb8Y":["Close without copying your token?"],"-Qwdv6":["Enter your email address or organization name"],"-VfhCt":["Delete secure uploads"],"-W6y5E":["Failed to delete role: ",["errorMsg"]],"-XXb4f":["A new update for this image has been queued and will begin shortly."],"-YvzcL":["Chainguard Libraries"],"-aieI1":[["liveTagCount","plural",{"one":["#"," tag added..."],"other":["#"," tags added..."]}]],"-apREN":["Helm"],"-b7T3G":["Updated"],"-f7hCL":["None selected"],"-hTjcs":["Please type <0>",["name"],"</0> to confirm:"],"-hYdXp":["All requests."],"-jMZ25":["To learn how to configure your build tools, <0>visit our quick start guide.</0>"],"-jbXZu":["This document does not exist."],"-jw_c1":["Delete image"],"-lFw-W":["Contact us for access to this image"],"-oskDp":["We're currently syncing your selected images to your registry."],"-r4LBp":["x86_64"],"-rXWK7":["Role data loading"],"-s3EYR":["Coming soon."],"-t79Zi":["Create group mappings to start automatically assigning users to Chainguard roles"],"-uKAUe":["Failed to delete pull token: ",["errorMsg"]],"-vDIXN":["Delete document"],"-wfmQu":["Catalog Starter"],"-yPBXI":["Choose file"],"-za_sX":["Please select at least one ecosystem."],"-zy2Nq":["Type"],"0-QFES":["Back to activity center"],"00a_AH":[["count","plural",{"one":["#"," library"],"other":["#"," libraries"]}]],"00twTv":["License information unavailable"],"01L_Si":["SOC 2"],"02hJye":["customers"],"06cbfQ":["Identity Provider"],"07PsiQ":["Maintainer"],"0Bzz1L":["Read library rebuilder builds"],"0MWvfN":["Once you confirm, these images will <0>count toward your ",["total","plural",{"one":["#"," free image"],"other":["#"," free images"]}],"</0> and <1>can't be changed</1> unless you upgrade to a paid plan."],"0OGWU-":["Hello ",["email"],", let's finish setting up your account."],"0QF_4M":["Delete identity provider"],"0TC3p8":["View build tool configuration guide"],"0cVgUw":["Filter by"],"0gv-T2":["X"],"0jPWn_":["Chainguard uses this identity to support various services."],"0l8zM7":["Remediated CVEs"],"0mx5ow":["Query"],"0oaABf":["New reports are only generated for actively maintained tags."],"0obrf-":["SCIM endpoint"],"0qUgtE":["We c
2044ouldn't determine your organization domain from your email address. Please contact us and we'll help create your Starter organization."],"0r7riS":["This image will be available as the new name when updated."],"0snK72":["Swap images in registry entitlements"],"0vF8G6":[["count"]," images selected: ",["names"]],"0xbb8U":["View SBOMs and provenance, track your security posture across containers and libraries, and stay current on the newest versions."],"13StLE":["Delete user binding"],"17YcS_":["Do not associate a Chainguard role for now"],"1A3EXy":["Expand"],"1DA0wa":["Roles can be either an existing role or a custom role in your organization."],"1DoJa4":["Create .NET libraries"],"1EfRUM":["Your organization is the only Chainguard organization connected to this Slack workspace. Proceeding will remove the Chainguard notification app from the Slack workspace."],"1L8s93":["Minimal ",["chartName"]," chart."],"1LLF3Z":["Thank you!"],"1NeCf0":["Claim match"],"1QfxQT":["Dismiss"],"1Qn50e":["Request trial"],"1QsD1n":["The document and its encrypted contents will be permanently deleted and cannot be recovered."],"1R9iIZ":["Vulnerability report not found for tag \\"",["tagName"],"\\""],"1UzENP":["No"],"1VN4zd":["We're verifying and setting up your organization, which should only take a few minutes. Once it's ready, you'll be able to select and confirm images for your registry. If anything goes wrong, we'll let you know."],"1WX5s5":["Select a digest"],"1YwoCN":["It looks like your account isn't part of an organization with our Zendesk Support Access."],"1ZXU0Q":["Directory CSV"],"1ZaQUH":["Last name"],"1anJoC":["This is a FIPS validated image for FedRAMP compliance."],"1dzjPx":["Create a new organization"],"1ePkK2":["Browse Academy courses"],"1hKEom":["Priority"],"1nzLVN":["Swap out one of your current organization images for this image"],"1pKWUU":["Getting started using libraries"],"1pdLQw":["Image not found"],"1sIZrZ":["Failed to swap ",["name"]," for ",["selectedImageName"],". No changes were made, please contact our team for support: ",["errorMsg"]],"1smhCv":["No charts found"],"1tL-ml":["Provide the name for this group from your provider"],"1uvf4Q":["Helm charts available to your organization."],"1w3iE4":["Create Python libraries"],"1xd0_5":["Select up to 5 Chainguard images to try in staging or production. They're the same hardened, low-CVE builds our paying customers use. Once selected and confirmed, they can't be swapped."],"1yHVE-":["Adding"],"2-1g3x":["<50th percentile request"],"2-F7pF":["SBOM not found for tag \\"",["tagName"],"\\""],"21Ac8e":["Product lifecycle"],"22DvrR":["Add images from the catalog to get started with Chainguard Containers"],"22S7rT":["This user is already connected to another Slack workspace and cannot connect to another."],"2323Ao":["Caching is visible from the \\"X-Vercel-Cache\\" response header, visible in browser dev tools."],"23Y_sH":["All requests"],"248zk-":["FIPS validated"],"26LmB9":["Document not found."],"2BYAeU":["View the status of :advisoryId across Chainguard Containers along with daily updates on security patches."],"2Bceba":["Invite users"],"2D7DPy":["Learn more about configuring SCIM on Okta"],"2DkhK_":["Configure Kubernetes Pull Secret"],"2ECroa":["Create APK packages"],"2EcUjH":["internal"],"2FYpfJ":["More"],"2IRP2J":["Please provide a value."],"2LMsOq":["L
2044ast 12 months"],"2Op6oY":["List remote executions"],"2POOFK":["Free"],"2Pk01f":["Search for an image to request..."],"2U1Tyu":["Revoke SCIM token"],"2Y3PBJ":["Notify:"],"2aNul_":["Please select a type."],"2aTf1R":["JavaScript Libraries"],"2apkoc":["Java (Athena)"],"2crpLl":["The element is disabled because you do not have permission to perform this action."],"2dzj0K":["Identity successfully deleted!"],"2gMfl_":["For a complete list of licenses, please refer to this Image's <0>SBOM</0>."],"2hVEhd":["View all chart versions"],"2jXK3k":["No source image found"],"2kN-9Q":["You may close this window and retry"],"2maDJt":["Code content"],"2mwXAV":["Disconnect Slack workspace"],"2pLjfi":[["0","plural",{"one":["#"," vote"],"other":["#"," votes"]}]],"2qR_RK":["Search the app's queriesâ¦"],"2rXPuS":["No unread notifications found"],"2tokPM":["The Microsoft Entra ID (oid) correlation rule requires the profile scope."],"2wxgft":["Rename"],"2xOCJW":["This action cannot be undone."],"3-NQnD":["Vulnerabilities extracted from this document."],"3-SpT6":["Advisory changes"],"31sLpm":[" ",["EM_DASH"]," <0/> for access to this image"],"32ZdCp":[["restOwnersCount","plural",{"one":["+ ","#"," more owner"],"other":["+ ","#"," more owners"]}]],"3400Lv":["Builds"],"36x_4m":["Failed to create forwarding address"],"3969j1":["Configure SCIM to automatically provision users and groups from your IdP to your Chainguard organization. We currently support two IdPs: Okta and Microsoft Entra."],"3EbjfR":["Discard changes"],"3JjdaA":["Run"],"3PGzOx":["Your selection will use <0>",["selectedImagesCount"],"</0> of your available <1>",["available"],"</1> ",["available","plural",{"one":["free image slot"],"other":["free image slots"]}],"."],"3PnvnF":["Internal Chainguard features are enabled"],"3RGuMs":["CVEs by severity"],"3RxVMx":["Failed to connect to Slack client."],"3SxAr8":["Failed to add images: ",["errorMsg"]],"3UIjBh":["Activity Center"],"3UR9b_":["Create access tokens for JavaScript libraries"],"3VgbfA":["We couldn't create the group mapping. Please try again."],"3VrybB":["Redirect"],"3VsNTI":["Loading document"],"3Wgh7X":["Image updated"],"3d1wCB":["yes"],"3eraxA":["limit ",["limit"]],"3hhpzv":["No images"],"3jHA5d":["Manage subscription"],"3kXd7u":["Your search did not match any available builds"],"3keXH3":["Add to organization"],"3kfWeX":["Cosigned"],"3mCt17":["Invite created for ",["email"]],"3na8rz":[["text"]," not available"],"3oqSWv":["JavaScript (Athena)"],"3pItsy":["None - add one here!"],"3rbNGo":["Send email notifications of product changes to your Chainguard organization"],"3uy-_N":["Helm chart metadata for ",["chartName"]," with Chainguard images"],"3wG7HI":["Uploaded"],"4-cwL8":["Centralized user lifecycle and access control"],"40Nn_k":["Add role"],"458mHo":[["hiddenImagesLength","plural",{"one":["Show 1 image"],"other":["Show ","#"," images"]}]],"490YCu":["Customized ",["sourceName"]," image"],"49aEby":["Encrypt and upload"],"4AbnHp":["Open Source Leadership"],"4Epnv1":[["versionStreamName"]," will reach its end of life ",["eolDateWithDuration"]," (",["eolDate"],")."],"4JP8Yx":["Filter by package name or CVE"],"4KpFo4":["Delete submitted library build request groups"],"4M0QH9":["Additional email addresses that will receive email notifications for your organization"],"4PxMqr":["d"],"4SQZXu":["Skillup"],"4SRjRZ":["Publish skills"],"4V55yN":["Internal system capability"],"4VBHin":["<0/> for custom repository addresses and access to Production images."],"4Y5H-g":["Terms"],"4YBRMr":["Visible tags"],"4ZG0pn":["Hardened, secure, and production-ready builds of all the open source you rely on â so your teams can build faster, stay compliant, and eliminate risk."],"4ZQ_CI":["Create library policy bindings"],"4aWMUA":[["hiddenImagesLength","plural",{"one":["1 more image"],"other":["#"," more images"]}]],"4ayeeZ":["A popup was blocked while refreshing your session. Please allow popups for this site, then sign in again to continue setting up your account."],"4b7fbc":["Are you sure you want to edit these integration settings? Editing these settings affects your entire organization."],"4eTZok":["Needed by customer"],"4g3PvI":["Organization comparison"],"4m3nxQ":["View more"],"4rjqNI":["Image UIDP"],"4u9qql":["The SCIM token was created, but syncing could not be enabled (",["enableError"],"). Make sure your organization has at least two manually assigned owners, then try enabling again."],"4uVADI":["Client secret"],"4wS3ju":["Failed to generate a SCIM token."],"4wZa2H":["Pull token expired"],"4yM0Vk":["List .NET libraries"],"4zJgah":["Identity provider tabs"],"4zmgFv":["CGA Updated"],"5-87Pq":["Notification"],"51PhyC":["Change language from ",["nativeName"]],"51TM8D":["Longer-lived tokens that can be used to pull images or packages."],"52A7OW":["Read-only access across all resources without pull access to registry repositories"],"55-EDf":["Resolved CVEs"],"579ec-":["This image is already available in your organization"],"586DJb":["No status"],"5A4TZa":["Adding..."],"5Axf3M":["Hi, how can we help?"],"5EJWry":["Failed to create request"],"5GCrp0":["Get 5 CVE-free, production-grade Chainguard images for your org, so you can harden real workloads now, without contracts, PO, or platform re-architecture. Once you submit, setting up your org should only take a few minutes. Once set up you will be able to select your 5 free production-grade images. <0>Learn more about Catalog Starter</0>"],"5Kt7B6":["I understand I'll need to re-subscribe through AWS Security Hub"],"5LtRmy":["Edit email notifications"],"5MQBpB":["Your organization"],"5NYB6Z":["Hardened Containers for third-party commercial software, packaged by Chainguard."],"5NgT5Q":["Please select an existing user."],"5Rq6w1":["Continue with GitHub"],"5VNbYH":["Ecosystems"],"5V_6re":["Create roles"],"5VmAWd":["We're currently populating tags to your image"],"5WOV_P":["CVSS ",["version"]],"5WdGoK":["Browse Images"],"5XjRwY":["Default Chainguard role"],"5YwkXU":["Pull patched images daily without waiting on upstream distribution."],"5dJK4M":["Roles"],"5fZU89":["This invite code is invali
2044d."],"5hrSdt":["Explore Chainguard's catalog of malware-resistant JavaScript libraries."],"5icoS1":["Releases"],"5jv6oq":["Supply Chain Security 101"],"5kRlN9":["Affected versions"],"5lWFkC":["Sign in"],"5mAgVG":["Failed to disable email notifications."],"5nSWUM":["Subject Pattern"],"5pTR9O":["Enter image name"],"5qZSfz":["Success! Check your email for the download link. It will expire in 30 minutes."],"5tctjM":["Business email"],"5tvTwL":["Try a starter image for free"],"5yV2_G":["Chainguard has detected a potential vulnerability match for this package and is investigating to determine remediation."],"5yVmvR":["Volumes"],"5ykc03":["Delete advisories"],"6-RGX8":["View all resolved CVEs"],"6-Tx2j":["List package entitlements"],"63Q_VZ":["Customized"],"63sUm4":[["versionStreamName"]," end of life: ",["eolDate"]],"64eXcb":["Identity details"],"66NEhr":["Chainguard Libraries is only available to organizations created with a business email. Please sign in with your work email to continue."],"67M7BA":["Optional images (added with the chart)"],"68ze54":["Skill not found."],"69vkBp":["no"],"6BDjNU":["Overview based on <0>",["reference"],"</0>"],"6CJZwG":["Pull CVE-free container images and gain access to malware-resistant Python, Java, and JavaScript libraries rebuilt from verified source."],"6GtxWg":["Failed to disconnect Ms Teams workspace."],"6Kb_p5":["Changes to be applied:"],"6KlkHI":["Invite code"],"6LawxX":["Role successfully deleted!"],"6PsXso":["Compressed size of tag is displayed. Docker images and similar tools report uncompressed size."],"6S2nF_":["Request images from the catalog to get started with Chainguard Containers"],"6T13UV":["Failed to update default role: ",["errorMessage"]],"6UIWHi":["This image tag reached its end of life ",["lastUpdatedDateWithDuration"]," (",["lastUpdatedDate"],"). The main package in this image tag failed to rebuild and may accumulate CVEs."],"6UkTTP":["Disconnect from all channels before removing the Slack connection."],"6UrtVk":["Contact us for access to this chart"],"6VAakC":["Size information loading"],"6Vy6kH":["Select your ",["total"]," free images"],"6YgNmP":["Copy Markdown for LLMs"],"6YtxFj":["Name"],"6ZVu4S":["No documents match the current filters."],"6_dCYd":["Overview"],"6a8eGg":["Malicious packages avoided"],"6cYbyf":["Last changed <0/>"],"6gRgw8":["Retry"],"6hctMD":["Commercial software"],"6jfS51":["Welcome"],"6jtaAE":["Vulnerability report not found for ",["imageName"],"@",["versionName"]],"6khyWI":["Chart version details tabs"],"6lGV3K":["Show less"],"6qLNDB":["Loading image details"],"6rjamv":["Your plan does not support role management"],"6sWuiw":[["versionStreamName"]," reached its end of life ",["eolDateWithDuration"]," (",["eolDate"],")."],"6t9P2J":["Selected images"],"6xD6oA":["This cannot be undone and will require recreating the group and role mapping to restore mapping."],"6y0-zd":["Failed to enable email notifications."],"6zbGtD":["Please provide a client ID."],"72c5Qo":["Total"],"74l7ir":["Send Notifications"],"79zdKg":["Filter vulnerabilities"],"7AIrYj":["Chainguard Slack Community"],"7Alsne":["No difference between versions."],"7B6hSL":["Please use the following naming convention when creating your pull token: <MARKET>-<PROGRAM>-<FREETYPE>"],"7BZLrW":["Partially succeeded: ",["successCount"]," succeeded, ",["failedCount"]," failed: ",["errors"],"."],"7Bj3x9":["Failed"],"7BvwCu":["All required images are available in your organization."],"7IAJ57":["Add claim pattern"],"7K7Bo8":["Theme preference"],"7L01XJ":["Actions"],"7Mem_L":["Image name already exists, please choose a different name."],"7MiFka":["Defect kind"],"7Ou1ik":["Net new CVEs"],"7PzzBU":["User"],"7VpPHA":["Confirm"],"7XGwpY":["The existing value is not displayed for security purposes. Providing a new value will update the client secret."],"7Zdnlq":["Document"],"7_ePoE":["Revoke token"],"7_qJVm":["View image details"],"7a203s":["Teams Channels"],"7ctnKA":["Delete policy gate bindings"],"7dlIhr":["Update in progress"],"7hEQd3":["Last changed ",["formattedLastUpdated"]],"7hP898":["View token setup steps"],"7hXr8_":["Create manifests"],"7hktsm":["Getting started"],"7i8j3G":["Company"],"7jiE5n":["Submit a request for access to this chart"],"7nIjx6":["Read library rebuilder malware status"],"7poa-a":["Includes 5 free Chainguard images"],"7qO6cg":["A new container image will be created with your customizations. The image will be based on the current image with a unique name."],"7rbaZZ":["Explore our directory of libraries."],"7rng2O":[["0","plural",{"one"
2044:["+ ","#"," more tag"],"other":["+ ","#"," more tags"]}]],"7sNhEz":["Username"],"7tJU2t":["Create a new user binding"],"7wr3UH":["Read skill harden operations"],"7zP2Sb":["Close filters"],"82csfW":["Selection link copied to clipboard!"],"85HXdx":["No packages available."],"86dtFO":[["total","plural",{"one":["You get ","#"," image free"],"other":["You get ","#"," images free"]}]],"88vYFk":["Active image subscription is receiving updates"],"8BSmGw":["This organization does not have a Chainguard Containers plan that supports Custom Assembly."],"8CglAR":["Please select a default role."],"8DB55n":["Identity provider"],"8PBAaF":["Write to the content-addressable store"],"8Q3p-1":["You have made changes that have not been saved yet.<0/> Are you sure you want to discard changes?"],"8S68RZ":[["count","plural",{"one":[["from"],"-",["to"]," of ","#"," package"],"other":[["from"],"-",["to"]," of ","#"," packages"]}]],"8T0IMW":["Create secure uploads"],"8Tg_JR":["Custom"],"8U8MCl":["Last updated ",["lastUpdatedTimestamp"]],"8Ug9jB":["Related"],"8WgwTg":["Subject (sub = externalId)"],"8ZsakT":["Password"],"8kMQ4p":["Golden Images"],"8mZTAU":["Failed to disconnect Slack workspace."],"8pMc1K":["
2044Update your preferences for receiving important updates such as breaking changes."],"8rjd2t":["Remove row"],"8rk91b":["List manifests referencing a digest"],"8tLZ3q":["Customer organizations"],"8wE7ii":["Create Starter organization"],"8woUoV":["FIPS"],"996xRf":["Search options"],"99aONP":["Add another claim pattern"],"9CM33j":["Migrate GitHub Actions with Guardener"],"9DBOvx":[["count","plural",{"one":["#"," recipient"],"other":["#"," recipients"]}]],"9EAFSa":["Manage Guardener entitlements"],"9FCAjA":["Update roles"],"9JUKbh":["Compare images"],"9Jfq5n":["Available in org"],"9LQUY3":["Change appearance from ",["themeName"]],"9OYKBX":["Failed to update forwarding address preferences."],"9PHr4x":["Build log"],"9Q6UKX":["YouTube"],"9SH_ge":["Create Go libraries"],"9UQSd3":["No maintained chart versions"],"9UYMnL":["Adding ",["newRepoName"]," to organization"],"9UjpM0":["Request change"],"9aloPG":["References"],"9dOUyf":["Pull your first hardened image"],"9ltl3T":["Latest tag:"],"9m27XJ":["Learn more about how to use secure uploads"],"9mLbwF":["SPDX"],"9qRlt8":["Specifications"],"9v8G6g":["Session renewal failed"],"9vkDFH":["Your search did not match any available packages."],"9wLFf6":["Notifications tabs"],"9wW7SK":["To receive support, please join an eligible organization or consult our Help Center."],"9wo53k":["CycloneDX SBOM is not available for this image."],"A1taO8":["Search"],"A5TnAJ":["No vulnerability data was found for this image"],"ADrzRd":["Identity provider data loading"],"AHxxLv":["Your identity provider's client secret."],"AIYbGt":["Contact us for more images"],"AIcZP5":["Customizations are not recoverable after removal. This change will apply to all users consuming this image."],"ALf1yp":["Install App"],"AMP6oM":["Customize image"],"ANjJ-9":["Update tags"],"ASM_iy":["View the test log. Requires a Chainguard session; opens a short-lived signed URL."],"ATGYL1":["Email address"],"ATo-uy":["Managed by Chainguard"],"AUV5KX":["Canceling this subscription will end your AWS SHX Libraries PAYGO access. You won't be able to re-subscribe from this page. To regain access, you'll need to return through AWS Security Hub or contact Chainguard sales."],"AUbX4O"
2044:["Public Sector"],"AaXB_0":["Contact our team to test out one or more images for free."],"Abh4_p":["Please enter your company name."],"Ac5x6h":["User does not have a Chainguard account"],"AeXO77":["Account"],"Ao4B6g":["Package size"],"AoEdTj":["It looks like an error has occurred"],"Au1WOg":["Access untrusted library rebuilder builds"],"AuvdmS":["Image name"],"Avz7Vc":["packaged by Chainguard"],"Aw3JiA":["Not in current plan"],"AyZ-hS":["Ingester"],"Ayy9ce":["Run a query to see the response here."],"B2i08q":["Target completion"],"B8VwWl":["Join the beta"],"BCD-XT":["Your search did not match any subchart"],"BDHA_i":["Severity"],"BEcjq2":["Enter a whole number of hours between 0 and ",["OVERLAP_MAX_HOURS"],"."],"BFGdwh":["Want to learn more about Chainguard?"],"BGns9Q":["Creating a new image named ",["newImageName"]," in your organization."],"BHqKho":["Chainguard Actions"],"BIDd8O":["Used by a Helm chart"],"BMU9WB":["Search activities"],"BQDeOQ":["Go to builds"],"BQGhoR":["No customers selected"],"BQZNY3":["Add address"],"BRzNcD":["List library artifacts"],"BVaQIw":["Role not found or you do not have access."],"BWI-LU":["Delete library policy bindings"],"BaYx2O":["Add another claim"],"BdYFBS":["No subcharts"],"Bhgd0l":["Contact us"],"BldARv":["Pull tokens successfully deleted!"],"BnKdkp":["Select tag to compare"],"Bpr4RJ":["(Optional) Provide further context on your organization."],"BqVfYk":["Enter your email below to receive a download link."],"BtVLzI":["This action is irreversible."],"Bu7Puk":["Processing this document failed, so no vulnerabilities are available."],"BuMV_p":["Software license agreement"],"BxicCM":["Build, ship and run secure software with Chainguard."],"ByKIuW":["List library remote registries"],"BzYBuf":["Create identities"],"C0LCKN":["About Us"],"C0xOR2":["Please provide a valid domain."],"C10XNv":["Delete registry entitlements"],"C11SLH":["Navigate to Plan and Subscriptions to add this image to an available image slot"],"C1eY_K":["List registry overlays"],"C2ZBs-":["An instance of this image is available in your organization"],"C3yOz3":["Last updated"],"C9T84Z":["None of Chainguard's existing images or requests match my request"],"C9k7hR":["Prefill a known query"],"CAL6E9":["Teams"],"CI0932":["Pull token successfully deleted!"],"CI50ct":["Upvoted"],"CKMH_f":["Receive email notifications about product announcements"],"CLwM25":["UID"],"CNQTKy":["Published ",["publishedTimestamp"]],"COEON3":["Without alternatives: ",["withoutAlternativeLength"]," images"],"CQ0ZK9":["Disable SCIM syncing"],"CRzGla":["Help center"],"CSbWN-":["Helm chart"],"CUAfGg":["No known advisories for this image"],"CUJRJD":["5 container images, free forever"],"CUTPYV":["Failed to delete identity: ",["errorMsg"]],"CXfyMt":["Latest update"],"CYRJEX":["Owners"],"CZGU5I":["Your search did not match any available packages"],"CdoNqq":["Chainguard does not currently offer severity score data for CVSS V4"],"CeCbaS":["Epoch tags"],"CeeGVN":["Please select Yes or No."],"Ch96e_":["Submit a request for a project to be added to Chainguard's Catalog. Requests will be reviewed and prioritized before being built."],"ChQxh8":["Only actively supported tags are available when an image is made available to your organization. If you need an older tag, please try a supported tag before creating a support request."],"ClGcRq":["Containers"],"CnKBZR":["Last 3 months"],"CnV8RX":["Under investigation"],"CpH5Ik":["Select ",["packageName"]," package"],"Cs55hL":["The trusted source for open source"],"D0XwAB":["Stop signal"],"D1vju7":["No request to display."],"D3VuMf":["Search chart images..."],"D44kpy":["Stay up to date"],"D5vxua":[["availableSlots","plural",{"one":["slot available"],"other":["slots available"]}]],"D7q56B":["Images tabs"],"D87pha":["Closed"],"DCaHKZ":["Product announcements"],"DF6wZL":["Alternative:"],"DFunXF":["Entitlement service agent access"],"DG2ubT":["ARN"],"DHOcPo":["Legal last name"],"DHZkSd":["Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate."],"DHhJ7s":["Previous"],"DHtTOZ":["Previewing changes to ",["name"],"."],"DKQInV":["Pull Token"],"DLBT2p":["Images with known alternatives"],"DMCZf1":["Chart versions"],"DNf8wG":["ARN Pattern"],"DR9cl_":["Update name"],"DRR65a":["Delete APK packages"],"DSvm-u":["Build loading"],"DUBXct":["Search blocked packages..."],"DVEIJG":["Failed to delete forwarding address."],"DW3bBh":["A FIPS validated version of this image is available for FedRAMP compliance. STIG is included with FIPS image."],"DWw2rM":["SPDX SBOM is not available for this image."],"DWxc37":["Please provide either an arn or an arn pattern."],"D_9KoD":["Go to image details"],"D_vbx4":["Image available in your organization"],"Daun1_":["Your identity provider's issuer."],"Dc5gOE":["Create library entitlements"],"Dfrs1H":["Please provide either a subject or a subject pattern."],"Dn4OyV":["Invited"],"DouoZZ":["Dependencies for the package"],"DqXr_p":["w"],"DvJ9rk":["Configure your build tools"],"DvXN74":[["imagesLength","plural",{"one"
2044:["CVEs by severity for your image"],"other":["CVEs by severity for your ","#"," images"]}]],"Dz1gdB":["Customization is not available while the image is being added to your organization."],"E-X7wl":["Filter recipients"],"E2DV0V":["Please provide an issuer."],"E2kV2A":["What this package provides"],"E7BXug":["List Guardener dependency scans"],"E8y-Rx":["Create account associations"],"EKSTno":["Tenant scanner"],"EM5Dyl":["Your plan does not support role management."],"EOEtcl":["Planned Maintenance: July 14, 2026 at 22:00-23:00 ET | Chainguard authentication and authorization services will be briefly unavailable during this window. Sign-in and permission-based actions may fail. No action required; services will resume automatically after maintenance completes."],"EQHAfC":["Working directory"],"EQQq8g":["Hide slots details"],"EUZ0cS":["Search documents"],"EUuy3y":["By submitting this form, you agree to receive communications from Chainguard."],"EW7Pno":["No existing customizations to remove."],"EYL1eq":["No documents in your organization yet â upload one to get started."],"EZVjjy":["Update identities"],"E_QGRL":["Disabled"],"Ef7StM":["Unknown"],"EgpFBp":["Claim patterns"],"Eh9PDx":["No source image found, possibly withdrawn"],"EhKWgh":["IdP details"],"EkH9pt":["Update"],"En3VhQ":["Default role set by organization. Update in organization settings."],"EqBD7-":["Image grading due"],"Ev2r9A":["No results"],"ExYOmL":["IdP group mappings"],"EyYG53":["Get support"],"Ezak7M":[["name"]," has been added to your plan. It may take a few minutes for your new image to be synced to your registry."],"F1K9yA":[":chartName Helm Chart Overview"],"F3RuM9":["Serve remote execution classes"],"F5ICAp":[["category"]," image"],"F6pfE9":["Active"],"FA68j7":["Audience Pattern"],"FBIuPX":["Clear selection"],"FBqUKw":["Your search did not match any available chart image"],"FDbap-":["Select your free hardened, zero-CVE images and pull them from your organization's registry."],"FGLri3":["Project URL"],"FGkPNL":["New image name cannot be blank"],"FIN27b":["Available slots"],"FKZFvd":["Organization charts"],"FMV24C":["Chainguard Containers are rebuilt daily from source and rapidly patched against new vulnerabilities."],"FOD2PZ":["You cannot create a new organization because a Catalog Starter organization already exists for your company. Request access so the owner can approve your account, or enter an invite code if you've already been sent one."],"FOK7w4":["List secure uploads"],"FOMMas":["Users in this group will no longer be assigned this role when they sign in."],"FOQVgl":["expand navigation"],"FQ6A9n":["Default role updated"],"FRUpMt":["Chainguard prevented the following packages from ever being available for consumption because scanning detected malicious and suspicious behavior."],"FWlgk5":["The base container to start from and its supported tags."],"F_Crtj":["No unread notifications"],"FbZf3V":["Upstream repository"],"Fg0HQZ":["PCI DSS at Chainguard"],"FhLAQ7":["New image delivery stats"],"Fia4LR":["The commit hash from which the package was built"],"FmwxSb":["Get started with chainctl"],"Fo_6xZ":["SCIM syncing enabled"],"Fp5vZx":["Configure Docker CLI"],"FqnRbz":["Origin"],"Fv6BhK":["Connect remote execution workers"],"Fw4PRH":["Select hardened filter"],"FyeuZQ":[["pullTokensCount","plural",{"one":["Pull token"],"other":["Pull tokens"]}]],"G-9wbB":["Adding ",["createdRepoName"]," to organization. The image will be available shortly."],"G0Evp3":["No group mappings yet"],"G6TU2Z":["Create an access token for your organization so developers and CI can authenticate to Chainguard Libraries. Access tokens are required to use Libraries. You can create one with <0>chainctl</0> or in the Chainguard Console under <1>Overview > Manage pull tokens > Create access token</1>. Tokens inherit your organization's role bindings and can be rotated or revoked at any time."],"GDvlUT":["Role"],"GK4jvZ":["Minimal, customizable, zero-CVE container image"],"GM7BnB":["For help getting access to Chainguard Libraries through AWS Marketplace, contact <0>[email protected]</0>"],"GN6L5F":["Filename"],"GNJwpe":["Latest CVE count"],"GS-Mus":["Export"],"GS4q1u":["Enter your business email address."],"GTTbgX":[":imageId CVE Advisories"],"GUVzmI":["Image contains multiple maintained release tracks and is eligible for end of life support."],"GViTfo":["Create policy gate policies"],"GVzXt5":["This image is currently being updated with newly built tags."],"GWQSAF":[["remaining","plural",{"one"
2044:["+ ","#"," more version"],"other":["+ ","#"," more versions"]}]],"GXu9V9":["Image build has timed out"],"GY3qwU":["Use remote execution classes"],"GYSuZb":["No sync source configured"],"GZRUKf":["Use chainctl to install Chainguard Agent Skills directly via your CLI workflows"],"GcrqH6":["Grace period ends ",["eolDate"]],"GdIW2T":["Checking channel connections"],"Gda1G3":["iamguarded"],"GdgCoi":["Plan"],"GgLq9D":["Secure APKs built from source"],"GgcHwk":["No read notifications"],"GhgbAN":["Directory"],"Gj8KI-":[["count","plural",{"one":["#"," document"],"other":["#"," documents"]}]],"GjhOGB":["User ID"],"GkYhCB":["Create skills entitlements"],"GmZ-1x":["Pull access to Python libraries"],"Go2k5u":["CMD"],"GpUnG3":["Teams notifications enabled"],"GrpdEq":["Image details tabs"],"GsU6uC":["List skills entitlements"],"GsiY_0":["SCIM token revoked"],"Gsol1d":["Search by CVE ID or package name"],"GtJCHv":["Select a status"],"GtkRSP":["Chart images in your organization"],"GuXkfM":["Failed to load vulnerabilities for ",["imageName"],":",["tagName"]],"GunIGa":["Number of images that can be allotted. Please contact us for information on how to upgrade."],"GwRa3P":["List terms"],"GyIQ55":["Available tiers"],"H--sO8":["View organization images"],"H1OUXQ":["Add chart"],"H4NXSu":["Failed to update organization: ",["errorMsg"]],"H8z_Bc":["Failed Slack auth connection. Refresh and try again or reach out to us for support."],"HAxRO0":["List libraries cache status and entries"],"HBCojt":["This chart is available in your organization"],"HBavsg":["Your search did not match any available advisory"],"HCV8sK":["Get 5 free container images for your org by signing up with your business email."],"HDNgFO":["Invalid character(s) in name: must be lowercase alphanumeric, or one of - _"],"HDiCy-":["Justification"],"HEKb1K":["Delete pull token"],"HKJALk":["Create identity"],"HKfhXk":["Delete draft library build request groups"],"HKj7rx":["Enter a full CGP ID (CGP-xxxx-yyyy-zzzz)."],"HKohyc":["Administrator access to advisories"],"HP1LFN":["Repository details"],"HQjQod":[["resultCount"]," results available"],"HYQoLy":["No packages found"],"HZZ3WE":["Description updated!"],"HaUyoS":["List AWS Marketplace subscriptions"],"HbHKs1":["UIDP"],"HfAtFK":["Group mapping created"],"Hfk6vh":["No values to compare for selected version."],"HgS5B-":["Your identity provider's client ID."],"HgqCgZ":["Read Guardener dependency scans"],"Hgzt_A":["Open filters"],"Hh0tnB":["Select another ",["category"]," image to swap <0>",["name"],"</0> with. You can swap up to ",["total","plural",{"one":["#"," image"],"other":["#"," images"]}]," of the same type per 30 day period; your next period starts once you use a swap. <1>Learn more about swapping</1>"],"HhYyxx":["After this date, Chainguard will no longer attempt to rebuild this image tag or remediate CVEs in any of its actively updated packages"],"Hjir4B":[["0","plural",{"one":["Missing organization image"],"other":["Missing organization images"]}]],"HotFwk":["Your organization has an active Chainguard ",["libraryLabel"]," Libraries entitlement."],"Hp1l6f":["Current"],"HrxOkB":["Could not read CSV file."],"Hxxq8b":["Create token in Console"],"Hy9qmh":["Disconnect from all channels before removing the Slack connection. Slack connection established by ",["email"],"."],"I-lMiB":["Images available in Chainguard's catalog. <0>Learn more about Chainguard Containers and our approach to distroless images</0>"],"I1Bcfz":["Redirecting you to support ..."],"I7NPGW":["Are you sure you want to delete <0>",["filename"],"</0>?"],"ICQpSU":["List account associations"],"IDL0T9":["List Java libraries"],"IEbZFZ":["Learn more about authenticating to your APK repository"],"II-fAt":["Catalog Starter is available with work email or Google. GitHub and GitLab create personal accounts only."],"IJlVqf":["Add images to registry entitlements"],"IM5kDh":["I have read and agree to the <0>Terms & Conditions</0> and <1>Privacy Policy</1>"],"INmdlS":["Build software better with Chainguard"],"INr862":["This will disable email notifications for your organization. Your organization will no longer receive the following email notifications:"],"IUlvO9":["M"],"IWYud6":["Failed to connect to Ms Teams client."],"IWt47x":["End of life"],"IXUTGP":["Pull URL"],"IYNSdp":["Versions"],"IYyeQD":[":imageId Container Image Versions"],"IagCbF":["URL"],"Iavymn":["Issuer Keys"],"If94FH":["Build on a catalog of JavaScript, Python, and Java packages rebuilt from source by Chainguard, continuously scanned, signed, and provenance-backed."],"Ijz-Qx":["Helm chart details tabs"],"IoAuJG":["Sending..."],"IrC12v":["Application"],"IreQBq":["Repository"],"ItRTYK":["Get 5 CVE-free, production-grade Chainguard images for your org, so you can harden real workloads now, without contracts, PO, or platform re-architecture."],"Iv6TkC":[["uploadedName"]," successfully uploaded!"],"IxheRd":["Failed to delete invite: ",["errorMsg"]],"Ixm3F-":["Create ",["resourceName"]],"IxmR04":["Images we are reviewing for build feasibility and queuing up for future builds. Upvote requests to help us prioritize which projects to build next."],"IzOaIb":["Packages"],"J-5M5x":["No rows."],"J1iO60":["Dockerfile convert with Guardener"],"J28zul":["Connecting..."],"J2N9nz":["Triggering..."],"J5nbej":["Critical"],"J6-q-I":["Access requested"],"J8DBl1":["Back to secure uploads"],"J8xTzd":["Update library policy bindings"],"JBWrm8":["Connect your identity provider to manage access to your organization. Tur
2044n on single sign-on (SSO) so members sign in and automatically assign roles based on their group membership."],"JD3hti":["CGA published"],"JDvawG":["Please provide a valid date."],"JF7T_Y":[["count","plural",{"one":["#"," chart version"],"other":["#"," chart versions"]}]],"JGcutA":["Last changed"],"JI9_pP":["Create account with business email"],"JJvupr":["Raw configuration"],"JN0Pac":["This tag contains additional software to help in developing and debugging applications such as a shell and package manager."],"JN4pgo":["Incidents"],"JOB2_2":["File size"],"JPeuzl":["View all users"],"JQIl2l":["This organization currently has no identity provider"],"JR1a2r":["Search by package name or CVE"],"JRguui":["You will not be able to see this token again. Make sure you have copied it before closing."],"JXiONK":["AWS"],"JZWhnj":["Failed to store token"],"J_PmEn":["Image type"],"JaLXAv":["Request data loading"],"Jdp-0U":["Affected"],"Jn2PRN":["Learn more about Catalog Starter"],"JoTO0V":["You must verify this forwarding address before it can receive notifications."],"JpX0wF":["Open filter"],"Jstbn8":["Analysis not planned"],"JuQ8ZM":["Quick nav"],"Jv26w1":["Close drawer"],"JvpMAc":["Integrations auth flow will not succeed on local dev environment."],"JyplIg":["Test log"],"K0biT_":["Image mapping data not available for this chart version. Please select a more recent chart version from the dropdown on the <0>versions tab</0> to view dependent images."],"K47k8R":["Product"],"K5-3xg":["Accept invitation"],"K5_fDG":["Existing public image name"],"K7tIrx":["Category"],"KDw4GX":["Try again"],"KELKYK":["See comparison"],"KH0ZqR":["New image"],"KH6xRu":["Package selector tabs"],"KMGEH6":["You have successfully modified your subscription."],"KNF25N":["Security Advisories"],"KQfHVq":["Please provide a name."],"KRsQlA":["Please provide an expiration."],"KSSBZv":["Connection details"],"KXEEJG":["Please select a date within a year from today."],"KZNkKT":["There was an error fetching the SBOM."],"Ka_Dzy":["Gulfstream access"],"KbEWHr":["Cancel, return to sign in"],"Kf1AVD":["Select a variant"],"Ki3WQ2":["No advisories found. Search by CVE ID, GHSA ID, or package name."],"Kk71iG":["List manifests"],"KljtY4":["Disabling pauses user and group provisioning from your IdP. Existing users, groups, and role assignments are kept, and your SCIM token stays valid."],"KmyiXz":["Join with invite code"],"KnN1Tu":["Expires"],"Ku3Kus":["View plans and pricing"],"KuVpz-":["Unread"],"KwybLi":["Filter by status"],"KyYHYP":["Advisories"],"KzWevs":["Update account associations"],"KznsSs":["Could not reach the log service."],"L0bvEE":["List library rebuilder CVE remediations"],"L52Pns":["Group mapping"],"L6Qu2D":["Receipt ID"],"L8gKTj":["Trigger notification"],"LAJ6zN":["Please provide a claim."],"LDoIGH":["Add a custom description"],"LEw39j":["Update registry settings"],"LGz_Lo":["STIG hardened"],"LLAa_9":["Optional"],"LMXtGr":["Continue applying changes to ",["name"]],"LVy-oc":["Failed to initiate Ms Teams OAuth connection flow."],"L_SvTh":["You can enable syncing again at any time."],"LbEO29":["Not affected"],"LgoJbu":["Remove customizations"],"LhmMTW":["Select an architecture"],"Lkeb-d":["Please select at least one scope"],"LpZrp_":["Swap image"],"LqGNZq":["Sink"],"LsdlGB":["Review and confirm"],"LtFwBM":["Period:"],"LtcaZ6":["Back to selection"],"LuXP9q":["Access"],"LxRLi6":["Chainguard Containers"],"LxRNPw":["Expiration"],"M-hzjw":["This will permanently delete the group mappings. Users matched by it will not be assigned to the configured role on their next login."],"M0E690":[":chartName Helm Chart Images"],"M0f7B6":["Invite link expires in 7 days on ",["expirationTimestamp"],"."],"M1R4JF":["Trigger notifications to customer organizations for important updates such as breaking changes."],"M1RnFv":["Expired"],"M1kaGc":[["count","plural",{"one":["#"," advisory"],"other":["#"," advisories"]}]],"M7QtwZ":["The file is encrypted in your browser before being sent to the server."],"M9NLFq":["Something went wrong while creating your request, please reach out to your account team."],"MClELu":["This will enable email notifications for your organization and configured email addresses. Your organization will receive the following notifications by email:"],"MD9Rgd":["Request successfully submitted. The image will be available in your organization shortly."],"MDeAGI":["Catalog Starter is only available to organizations created with a business email. To unlock 5 free production-grade images for your organization, create a new Chainguard account using your work email."],"MFKlMB":["Invite"],"MGFzFl":["Apko builder"],"MGR_8s":["Can't find what you're looking for?"],"MHA7iY":["Join an organization"],"MIFov3":["Static keys"],"MIJU6_":["Provision users and create groups from your IdP to your Chainguard organization"],"MIrCaM":[["savingsVulns"]," vulnerabilities x ",["hourlyRateShort"],"/hour x ",["remediationHours"]," hours"],"MJvaGJ":["PCI DSS"],"MJwrIS":["Provisioning enabled"],"MNnFad":["New image name"],"MSozHN":["This affects ",["0","plural",{"one"
2044:["Helm chart"],"other":["Helm charts"]}]," that depend on ",["name"]],"MT5mLe":["Available slot"],"MV3KqU":["Read from the content-addressable store"],"MZbQHL":["No results found."],"MZhiA6":["Bring Chainguard's hardening pipeline to your first-party skills â custom rulesets, automated remediation, full audit trail."],"MextMY":["Customized with ",["packages"]],"MfrrBy":["No blocked malware found"],"MnRFEk":["Developer count"],"MrL4CK":["No images selected."],"MrM6tN":["Customize current image"],"MwnO31":["Filter tags"],"MwyQUX":["Please enter your legal last name."],"MxACj5":["Microsoft Teams"],"MzQZsV":["Delete library remote registries"],"N2Rwvt":["Chainguard Reviews"],"N40H-G":["All"],"N6Pxr9":["View all"],"NAlJgr":["Chainguard catalog"],"NCTzlr":["Search teams..."],"NGCfOM":["Your account was created with a personal email and is not eligible for Catalog Starter"],"NM0ls_":["We're currently setting up your Starter organization. This can take a few minutes. You will be able to select your images as soon as your organization is ready."],"NMockU":["View advisories"],"NO-MpB":["Newsroom"],"NPWqkG":["This organization does not have a description."],"NUrY9o":["Categories"],"NWmTJt":["Request #",["issueNumber"]," created successfully"],"NXHyeV":["Download signed .tar.gz"],"N_rFzD":["Scopes"],"NcJpgQ":["Chainguard Courses"],"NeVygY":["Update role bindings"],"NehQm8":["Add chart to ",["orgName"]],"NgseSc":["Create your free account"],"NihQNk":["Customers"],"Nj0MPy":["y"],"NlPnb6":["Delete ",["filename"]],"NmeILO":["Package data not found for tag \\"",["versionName"],"\\""],"NoNwIX":["Inactive"],"NqTlvM":["Don't have an organization?"],"Nqziz-":["Context on your identity provider."],"Nu4oKW":["Description"],"NuDn4C":["Manage pull tokens"],"NuFfZS":["Total catalog"],"NubQ7a":["Contact us for access"],"NvHyHV":["light"],"Nx6F8k":["Comparison"],"Nzwli2":["Base"],"O-oYDR":["Invite sent to ",["email"]],"O3oNi5":["Email"],"O9vz1y":["View the status of known vulnerabilities in a Chainguard Container along with daily updates on security patches. <0>Learn more</0>"],"OAABI8":["Please type <0>",["filename"],"</0> to confirm:"],"OAkab4":["Search Chainguard Skills"],"OCfcc4":["Set Chainguard registry as the default source in your client config so every install resolves from our registry. No need to pass a registry flag on each command. Pick the language(s) you're building in and install."],"ODGvhE":["No library version found"],"OJx3wK":["Not available"],"OLFb99":["Hello ",["firstName"],","],"OMB0Hz":["Customization is not available because the image has expired."],"OMGEdQ":["Add Helm chart"],"OOXLwj":["Remediated"],"OPHnNl":["List vulnerability reports"],"OQnvLw":["Forwarding addresses"],"ORA9I6":[["available","plural",{"one":["swap available"],"other":["swaps available"]}]],"OU2Crw":["Pull URL:"],"OVKdzB":["Are you sure you want to delete the <0>",["name"],"</0> chart?"],"OVljCy":["Free :latest tag available for testing and deployment (no SLA included)."],"OYHzN1":["Tags"],"OYb4lb":["Additional scopes for your identity provider. Only <0>openid</0> is required, but <1>email</1> and <2>profile</2> scopes are recommended for full functionality. <3>Learn more about scopes</3>"],"OZtEcz":["API"],"O_ISB3":["The first-ever CVE-free, vulnerability-free Raspberry Pi image.<0/>Get started with Chainguard's secure, minimal OS."],"OaA1KC":[["0","plural",{"one":["#"," version"],"other":["#"," versions"]}]],"OcrHYQ":["Build, ship, and run secure software with minimal, hardened container images â rebuilt from source daily and guarded under our industry-leading remediation SLA."],"Oet9xk":["Join your organization for a secure by default software supply chain"],"OfD2ik":["Add chart and images"],"OfzRK9":["m"],"OhHmut":["List advisories"],"OibEPG":["Releases:"],"OlFf9i":["Request"],"Olv8mW":["Delete IdP"],"Om9GZo":["This subscription is read-only. Please contact your account representatives to swap any images."],"OmCMZg":[":imageId Secure-by-Default Container Image"],"Oqizfp":["Capabilities granted to this session in this organization. Sign in again to apply recent changes, such as updated roles or group-to-role mappings from your identity provider."],"OrDkRb":["Please provide a client secret."],"OsZFRS":["Tag details tabs"],"Osfsc9":["Ability to create pull tokens and pull access to registry repositories with limited administrative access"],"Osv0dm":["Failed to update email preferences."],"OuW7-Z":["Search by CGP ID (CGP-xxxx-yyyy-zzzz)"],"OvBnOM":["Back to Settings"],"OxR2JM":["Failed to cancel subscription. Please try again."],"OzndLE":["No notifications"],"P0hXaM":["Open after hardening"],"P0qMd6":["Base image"],"P1i39T":["Disconnecting..."],"P2T6i-":["Save options"],"P5MuiB":["Add image"],"P9A0QP":["Provenance"],"P9cEa2":["30 days"],"PByO0X":["Votes"],"PGsq1D":["Read logs"],"PHokMS":["Request a skill to be hardened"],"PLeYjq":["Search channels..."],"POItO-":["CMMC 2.0"],"PPGGXZ":["Rename ",["name"]],"PQs7eb":["URL:"],"PROUMh":["Bug reported!"],"PSXrnN":["Subscription expired on ",["expirationDate"]],"PT4QOI":["Notify when there are changes that could potentially disrupt regular use."],"PVsDTN":["npm"],"PW9LST":["User details loading"],"PWfg7v":["Requests"],"PWh9Ii":["Apply changes"],"PYi5RI":["We were unable to submit your access request. Please try again, or contact us for support."],"PYxxPl":["Can only contain lowercase alphanumeric, or one of - _"],"PZUKVC":["Pull access to JavaScript libraries"],"PaQ3df":["Enable"],"PbS7lz":["Major, minor"],"PchgXN":["Created <0/>"],"PdRP8T":["Click \\"Continue\\" to join the organization."],"Pds9Up":["Chainguard does not guarantee that including FIPS packages to customized images will result in a FIPS compliant image."],"PgNEH-":["Select a severity"],"PhoXC4":["Tag not found."],"PiH3UR":["Copied!"],"PidTYf":["Delete skills entitlements"],"PlNcSG":["Add image for access"],"Pm4gq3":["This determines your plan and billing, so please choose carefully."],"PpZkda":["Features"],"Psz9gL":["Provisioned by"],"Pwk_Td":["No expiration"],"Px4F1r":["Roles can be created to control permissions for workflows and bound to identities. <0>Learn more</0>"],"PxRUaV":["Select a chart type"],"Q1hOsw":["Eliminate your CVEs - build, ship, and run secure software with hardened container images."],"Q23npX":["You will receive an email notification and our team will be in touch!"],"Q2lC7C":["Filter roles"],"Q2mGA7":["Clear filter"],"Q2tY6e":["Create new organization"],"Q2xGgb":["List build reports"],"Q3Kd9_":["This invite code is for a different user (",["inviteEmail"],")."],"Q5KFvP"
2044:["How do you plan to use this image (e.g., Helm, Cloud Run, Docker)"],"Q6Ht5b":["Unavailable to organization"],"Q7hPR0":["s"],"QBQnfZ":["Created by my organization"],"QCymWY":["OSV schema"],"QDEWii":["Verified"],"QHcLEN":["Connected"],"QIszat":["Default values"],"QJHa6X":["Guardener"],"QJvbq2":["Disable email notifications"],"QL2s0Z":["You are renaming <0>",["reference"],"</0>."],"QMG0_h":["Packages added"],"QONo7Q":["Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the \\"",["tagName"],"\\" tag of this image:"],"QPWlLe":["Delete roles"],"QRC8gh":["Select all packages"],"QU4UAh":["This image is being synced to your organization"],"QV0Fcd":["Aliases"],"QV326a":["Select images"],"QVzbST":[["count","plural",{"one":["#"," vulnerability"],"other":["#"," vulnerabilities"]}]],"QX-_8z":["Available in organization"],"QXZNBL":["<0/> or through your Chainguard representative for access to private repository and APKs."],"QZWvEf":["Chart version not found."],"Q_Xugn":["Delete invite"],"Q_Y6QJ":["Selected images (",["selectedImagesCount"],")"],"QaAFbO":["Catalog Pricing"],"Qe97ET":["We couldn't determine your organization domain from your email address. Please contact us and we'll help request access to your Starter organization."],"Qef5rF":["Not available for customized images"],"QjLqfx":["Disconnect Slack"],"QjVrMA":["FIPS available"],"Qki3dx":["Submit request"],"QlIRpn":["How OIDC logins are matched to SCIM-provisioned users. Subject (<0>sub</0>) is the default. Choose <1>Microsoft Entra ID</1> for Entra, whose <2>sub</2> claim is per-application; it requires the <3>profile</3> scope. This value is set once and cannot be changed after creation."],"Ql_Do-":["Session renewed"],"QlkZjR":["No vulnerabilities were extracted from this document."],"Qmaa1i":["Variants:"],"Qq3nip":["Issuer Pattern"],"Qs8Ssc":["Chart image tag not found"],"QsdFJK":["Deployment method"],"Qw4Pz-":["Add Chainguard Notifications app to receive notifications in your organization's channels"],"Qx7DM7":["Capabilities"],"QysVah":["This image is free of CVEs as of ",["formattedLastScanned"],"!"],"R1rUUw":["Invite users and assign roles for fine-grained access to your Chainguard organization."],"R3jP9u":["Receive email notifications about breaking changes"],"R58VsK":["Submit library build request groups"],"R7oZpt":["View all organization images"],"R9cVq2":["List registry settings"],"RA55Iu":["Company name"],"RG4juh":["Create library remote registries"],"RIr3vk":["Create ",["newImageName"]],"RKI9NZ":["Disabling the upstream repository means your organization will only be able to pull Chainguard-built ",["libraryLabel"]," libraries. Pulls for upstream-only packages will stop working."],"RKucmC":["Owners only"],"RPUUPZ":["Back to customizations"],"RQHrvR":["Enable group-based role mapping"],"RQiCAn":[["imagesLength","plural",{"one":["Net new CVEs identified for your image"],"other":["Net new CVEs identified for your ","#"," images"]}]],"RRu0Io":["Duplicate invitations for the same email not permitted."],"RS0o7b":["State"],"RSk63n":["Create role bindings"],"RT4SSu":[["total","plural",{"one":["Add any ","#"," eligible image from the Chainguard catalog, free."],"other":["Add any ","#"," eligible images from the Chainguard catalog, free."]}]],"RUbFEw":["Modify AWS SHX Libraries PAYGO subscription"],"RWc-vh":["Chainguard Console"],"RX9ecx":[["ariaLabel"]," pagination navigation"],"RZHw7r":["Create a new Catalog Starter organization"],"RZsS0_":["Upload document"],"Rf1OXG":["SBOM fetch error"],"RgoOJa":["Are you sure you want to delete <0>",["currentIdentityName"],"</0>?"],"Rh6Mv4":["Build manifests"],"Rh_-Fh":[["externalGroupId"]," group mapping deleted"],"RhevLX":["Request chart to ",["orgName"]],"RiE3lp":["That's <0>",["cashSaved"],"</0> in savings "],"RjT3tG":["AWS Marketplace Login"],"RkXlPZ":["GitHub"],"RnxDx5":["Starting..."],"RoGzib":["Your subscription has been cancelled."],"Rr5gxg":["Access your organization's images"],"RsHnoR":["Cancel sandbox workflow runs"],"RubsRS":["Raspberry Pi"],"RvTThs":["This cannot be undone and will require recreating the identity provider."],"RwkZwV":["Pending upstream fix"],"RxzN1M":["Enabled"],"Ry8e5a":["I understand I will lose access to <0>",["name"],"</0> after this swap."],"S0kLOH":["ID"],"S1lK6P":["Failed to create ",["newImageName"],"."],"S6WCA-":["This image will be available as <0>",["newName"],"</0> when updated."],"S6_bfK":["To add malware-resistant ",["label"]," libraries to your project, <0>create an access token</0>
2044 to get started."],"S7UcM4":["No read notifications found"],"SBWpbn":["SBOM"],"SIAu4l":["Organization for ",["domain"]],"SKFk17":["Please select a role."],"SKMRcB":["Identity provider successfully deleted!"],"SMzFOF":["Visible types"],"SN2VFW":["Page loading"],"SQhEL6":["This tag is no longer considered active."],"SScoUJ":["Learn more about configuring SCIM on Entra"],"SSk8-2":["This content is only available in its original language."],"STtJaf":["Select time to patch a vulnerability"],"SVOds9":["Identities can be assumed by workflows to access Chainguard resources and complete tasks without manual authorization. <0>Learn more</0>"],"SYn2dN":["to patch a vulnerability.\\""],"SZ54sT":[["0","plural",{"one":["#"," expired token will be deleted."],"other":["#"," expired tokens will be deleted."]}]],"S_-Ezm":["expand row"],"ScZk-T":["Swapping is not available for bundled images."],"SdbH34":["Your plan does not support image customization."],"Sesgy8":["Athena product docs"],"SfWPDH":["Create pull tokens for registry repositories"],"SgOP4F":["Chainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain."],"SiUUCS":["Next match"],"SkUcEr":["Access token"],"SweVvE":["Fit Chainguard into your daily workflow. Automate image pulls in CI/CD with a pull token, and manage them from your terminal with chainctl."],"Sxm8rQ":["Users"],"T0F4Et":["Helm chart tabs"],"T1UhVW":["Active builds"],"T6SY7R":["Notifications have not been set up for this organization yet. They will be initialized when a member of the organization signs in."],"T8xZdi":["Get Download Link"],"TFY7Ys":["Go to versions"],"TKQ7K-":["Install"],"TLA3Tq":["All of the requests you've initiated or upvoted."],"TMLAx2":["Required"],"TMPf6p":["Java Libraries"],"TMqv4V":["View Chainguard catalog"],"TN77os":["First-party deployment bundle using Chainguard container images"],"TRHp2P":["Select a range"],"TVDPFo":["Loading workflows and organizations..."],"TWDINF":["Create policy gate bindings"],"TWJMjZ":["Dev"],"TYY2eb":[["count","plural",{"one":["#"," chart image"],"other":["#"," chart images"]}]],"TaA7Fo":["Notifications:"],"Tb2u4i":[":imageId Vulnerabilities (Continuously Remediated)"],"TbL0en":[["count","plural",{"one":["+ ","#"," more"],"other":["+ ","#"," more"]}]],"TcAKY5":["Include FIPS-validated variant"],"Teoc6u":["This image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs."],"ThNkSk":["Keeps the current token working while you update your identity provider. Maximum ",["OVERLAP_MAX_HOURS"]," hours; 0 cuts over immediately."],"Thirhl":["Please provide an invite code."],"Thsb1K":["This image is not available with current plan"],"TkiN8D":["User details"],"TpqW74":["Fixed"],"TqS3gS":["Description / banner text"],"TtmAsf":["Starter selection tabs"],"TvY_XA":["Documentation"],"TvssMP":["Dependency"],"TyIHUX":[["total","plural",{"one":["You don't have to choose all ","#"," image now, but once confirmed, it cannot be changed."],"other":["You don't have to choose all ","#"," images now, but once confirmed, it cannot be changed."]}]],"TycOJL":["All organization images"],"Tz0i8g":["Settings"],"U-ZYHN":["Chainguard OS Packages"],"U4Nrw-":["Cancel skill harden operations"],"U5vBFN":["Request Helm chart"],"U6Au6e":["Currently in Chainguard's backlog and will be prioritized based on community demand."],"U8jUzM":["Development ecosystems to enable"],"U9xZ0T":["Delete library entitlements"],"UA1dEY":["Chainguard-produced Helm chart purpose-built for Bitnami migration."],"UGko1F":["We're currently setting up your Starter organization. This can take a few minutes. You can refresh this page to check the status."],"UJmAAK":["Subject"],"UKGNsC":["List versions"],"UL8A9w":["Tag"],"UOHE__":["List registry entitlements"],"UPpZJL":["Plan and Subscription"],"UQ_dXl":["Forwarding addresses will not work on local dev environment."],"URmyfc":["Details"],"USTSnw":["Groups claim"],"UTyHzH":["Limited administrative access with mostly read permissions and event management"],"UU8h1z":["Use CVE Visualizations to continuously demonstrate the value of adopting Chainguard Containers."],"UVkfDZ":["Community requests"],"UX_aWY":["Access packages that are included in your organization's plan."],"UYPIW-":["Chainguard Skills"],"U_VOvK":["This tag is no longer being scanned."],"Ub2hqM":["Fill available image slot for ",["orgName"]],"Ub9Ddi":["Charts marked required will break, charts marked optional have potential to break once image is swapped out."],"UbRKMZ":["Pending"],"Uh7vl6":["Expand panel"],"UhYklg":["Need access to a specific tag? <0/>
2044."],"Uhj_og":[["count","plural",{"one":["#"," read notification"],"other":["#"," read notifications"]}]],"UiRGOI":["Please select an existing role."],"Uidz4x":["Assumed Identities"],"UjBFE4":["List library policy block events"],"Unen8W":["Run Guardener sessions and accept the legal terms required to start them"],"Uo5jQc":["Disconnect Teams"],"UrsPfh":["You are requesting the following image for <0>",["organizationName"],"</0>"],"Us56wc":["Breaking changes"],"UtTZm5":["You do not have permissions for this action."],"UvWvpe":[["0","plural",{"one":["#"," minute read"],"other":["#"," minutes read"]}]],"V-D_YP":["Careers"],"V1EGGU":["First name"],"V21db3":["Open user settings"],"V4beJD":["Build paused while Chainguard collects clarification."],"V6BZ5C":["Manage cookies"],"V7d5j6":["Remove customizations to ",["name"]],"V8ghw6":["List Guardener entitlements"],"V8umF6":["Architecture variants of Chainguard's container images (e.g. arm64 and x86_64 variants of go:latest)"],"V8yTm6":["Clear search"],"VAMPtH":["Pull access to APK packages"],"VBTGXl":["Unverified"],"VElYVR":["Ability to create, delete, view, and modify organizations, role-bindings, organization invitations, custom roles, and role-bindings"],"VFYbFv":["Are you sure you want to delete <0>",["inviteToDeleteId"],"</0>?"],"VIvkg0":["Chainguard VMs"],"VJEn48":["Update manifests"],"VMFa2a":["No SBOM information available"],"VNF9y6":["Root Identity"],"VNUap9":["Delete group mapping"],"VSAEwH":["Add to organization for access"],"VSdlma":["Microsoft Entra ID (oid = externalId)"],"VTZ2YV":["No build information available for this tag."],"VV4M29":["No event data to display."],"VVCwU5":["No scan"],"VXTzc6":["Manage your open source"],"VaB8hQ":["Vulnerable code not in execute path"],"VkROsG":["Call MCP tools"],"VlnB7s":["Last 6 months"],"VmcLKx":["Cancel builds"],"Vpttqg":["last affected ",["lastAffected"]],"VuWax4":["Notifications filter"],"Vw1I2c":["Update identity provider"],"Vw8l6h":["An error occurred"],"VwF-ir":["GraphQL playground"],"W0w_41":["Available in Chainguard catalog. Add the image to your org or inquire about access."],"W4QYgw":[":source/:name Skill details"],"W9CXJX":["Couldn't verify Slack workspace status. Refresh the page and try again."],"WAa1O6":[["0","plural",{"one":["Image in your organization"],"other":["Images in your organization"]}]],"WAjFYI":["Start date"],"WB4FzQ":["Multi-version support"],"WEaDPn":["Patched versions"],"WFLXy_":["Malware & greyware blocked by Chainguard in the last month"],"WGwk5O":[":imageId SBOM"],"WI4V4m":["No packages blocked in the last month"],"WKA9lv":["Delete manifests"],"WL7Hhm":["Identities and Roles"],"WPNbEF":["Harden your own skills"],"WRkGtB":["CWEs"],"WVzGc2":["Subscription"],"WcAUJL":["Chainguard Raspberry Pi Docker Image"],"WcF4Iy":["You can swap up to ",["total","plural",{"one":["#"," image"],"other":["#"," images"]}]," of the same type per 30 day period, once all available slots are used."],"Wcv9QD":["Requested by"],"WdCAhr":["Request access"],"Weq9zb":["General"],"WhI2jm":["Options to join organization"],"WjWbGp":["Search capabilities..."],"Wn7eGT":["Number of images that could be requested. Contact your account representatives for additional slots."],"WniXxN":["Unable to create new custom image due to missing source."],"Wog0d3":["List vulnerability scan reports for images"],"Wq6Wcm":["Please enter a valid email address."],"WvH_xI":["Request chart"],"WxcdwF":["Configure groups from your IdP to specific roles in your Chainguard organization."],"WyKMhv":["No roles."],"X07Uxm":["This vulnerability has not been assigned a severity yet"],"X0QfKy":["Create access tokens for Java libraries"],"X0SWgo":["List role bindings"],"X0jCDc":["Write logs"],"X4iQXO":["Please contact us after creating your organization as this process will require manual verification by our team."],"X5aBue":["Receive email notifications about incidents"],"X85-fe":["Demand / Estimated delivery"],"XCHZ7_":["Up to ",["count"]," developers"],"XCXcVt":["Do you wish to continue?"],"XE4B2G":["Console navigation"],"XKKmnE":["Compressed size"],"XLHhMF":["Create an organization"],"XLYOCY":["Please enter your job title."],"XO628f":["Start for free"],"XTRsWx":["My Requests"],"XTURNj":["Failed to update Slack channels."],"XU6nhz":["Invalid character(s) in name: must be lowercase alphanumeric, space, or one of . - _"],"XUPDt6":["Enable group-based role mapping to manage groups."],"XVFzes":["List sandbox workflow runs"],"XXLCJj":["Confirm your selection"],"XYLcNv":["Support"],"XaDNIg":["Compressed size:"],"Xbx58g":["Project Dockerfile"],"Xd_9zG":["Update library build request groups"],"XdnGtY":["Log endpoint did n
2044ot return a URL."],"XeFrwB":["Request chart and images"],"Xeuk8F":["Bring your own license"],"Xf9JFO":["Read from the action cache"],"XfnHUC":["Deleting will stop incoming user and group provisioning, and revoke access for anyone whose membership depends on this IdP."],"XgOuA7":["Last 90 days"],"XingY3":["Anonymous (no token)"],"Xir0lQ":["Invite successfully deleted!"],"Xjn_yx":["If the error persists, please contact your account representative."],"XmCyjc":["Company domain"],"XmqQ7X":["Update library rebuilder CVE remediations"],"XnHyFh":["Verify now"],"Xo6_wB":["Component location changed"],"XvVuyr":["Repository address where images are accessed from."],"XwX8dV":["Get started with custom images"],"Xwefea":["Pull token has expired"],"XxLxgg":["No maintained tags for this image"],"XxiL-e":[["count","plural",{"one":["#"," image"],"other":["#"," images"]}]],"Y15zLD":["Show slots details"],"Y6Xaef":["Invalid email or organization name"],"Y7JDFq":["Delete ",["name"]],"YBt9YP":["Beta"],"YC0uzY":["You have successfully requested access to your company's catalog starter organization."],"YEwiAG":["Current session"],"YGV14K":["Athena leverages third-party Artificial Intelligence (\\"AI\\") tools to perform agentic-based analysis, vulnerability identification, de-duplication, and patch development. Every generated Patch must pass multiple validation gates before patch delivery. Customer is solely responsible for evaluating the compatibility, fitness, and suitability of any Patch prior to deploying into production as Chainguard has no visibility into Customer's environment.<0/><1/>Customer shall use Athena solely for the submission of Embargoed Vulnerability files and in accordance with <2>Chainguard's Privacy Notice</2>. Customer shall not upload any malware; files, or content containing personal data, personally identifiable information; protected health information; or any other data subject to other privacy or data protection laws."],"YIix5Y":["Search..."],"YJHXdx":["Vulnerabilities extracted from all of your organization's documents."],"YOuDiU":["Pull access to Java libraries"],"YP9gdp":["Review your selected images and confirm to lock them in for your organization."],"YVBjx5":["Chart metadata"],"YX_buz":["Alternative"],"YXnKii":["Your software supply chain, secure by default"],"YYVZfV":["Send notifications"],"Y_oOGT":["Create library build request groups"],"Y_rrl7":["Search organization Helm charts..."],"YaxBFt":["Do you wish to continue applying changes?"],"Ye9-9w":["Part of a bundle"],"YjXLAQ":["Customer Stories"],"YlXnBv":["Signals detected"],"YmxH8-":["Maven"],"YpBd68":["Last detected"],"YpVCW1":["Catalog unavailable."],"YpeQ7d":["Provisioning paused"],"YpziHK":["Just discovering Chainguard? Visit <0>chainguard.dev</0>"],"YqETes":["CGA ID"],"YqYHvW":["Helm charts contain references to Chainguard Container images. The following images are referenced in the chart:"],"Yuca7N":["Daily average"],"Ywte0c":["View catalog"],"YyVgNg":["NVD"],"YzvZzt":["The token will expire on ",["formattedExpiration"],"."],"Z06QdA":["Architecture:"],"Z3FXyt":["Loading..."],"Z3KH2i":["Expand capabilities"],"Z44PTV":["Swap out one of your current organization images with another image"],"Z4XEAL":["Open tags filters"],"Z4eg_X":["Choose this option if you want to set up Catalog Starter instead of creating a standard organization. Catalog Starter gives your organization access to 5 free production-grade Chainguard images."],"Z6jPT7":["Activity Center notifications"],"Z9Eisb":["Create advisories"],"ZAJjft":["Chart not found."],"ZAuW4e":["Learn and expand"],"ZBKIC7":["Support access to resources"],"ZCk4kz":["Failed to update vote for request #",["issueNumber"]],"ZDIydz":["Get started"],"ZEiAQf":["Failed to load roles"],"ZH-1NN":["No notifications found"],"ZHmqPr":["Query the private OSV API"],"ZJwADA":["Get started with STIGs"],"ZKZknG":["Based on <0>",["reference"],"</0>"],"ZL6R5x":["Cancel AWS Libraries subscription"],"ZLaQZt":["Search ",["category"]," images..."],"ZO6RRG":["Run Guardener sessions, including Dockerfile conversion and registry pull access"],"ZOX60w":["Search your organization images"],"ZQfwCD":["Connect your identity provider to manage access to your organization. Tur
2044n on single sign-on (SSO) so members sign in, and sync accounts automatically with SCIM (System for Cross-domain Identity Management)."],"ZRjB65":["Failed to update Ms Teams channels."],"ZRuMBX":["Create tags"],"ZTFV_-":["Read more about Chainguard's Support Policy"],"ZUgKTR":["Get 5 images free with your business email"],"ZWZjuT":["Variant"],"ZZkR1C":["Chainguard has determined that this image cannot be built. See the latest update for a complete analysis."],"Z_DHLn":[":chartName Helm Chart Versions"],"Za2Oyz":["Already available in org"],"ZdB3WN":[["name"]," customization successfully submitted!"],"Zd_k4J":["Search for workflows..."],"Zki6X2":["Export to JSON"],"Zl0V0j":["Request a skill"],"Zm7z9l":["Enabling the upstream repository lets your organization pull upstream ",["libraryLabel"]," libraries in addition to Chainguard-built ones."],"ZmAyGI":["Chart not found"],"ZmOfoZ":["Read private API documentation"],"Zsya0N":["Affected package"],"Zu60af":["Request access to existing Catalog Starter organization"],"Zw6DpZ":["These images are distroless and signed with Sigstore"],"ZwDwzq":["You're not part of an organization yet"],"ZyV8W0":["© 2026 Chainguard, Inc. All Rights Reserved.<0/>Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.<1/>The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement."],"Zye-AM":["Notify about new Chainguard product features and announcements."],"ZzIi9C":["Estimated delivery"],"_0IgkP":["Report bug"],"_1jPOX":["Vulnerability not found."],"_3v--X":["Create access tokens for Python libraries"],"_63De3":["SPDX SBOM is available, please contact us for details"],"_7aqvJ":["Last changed ",["formattedTimestamp"]],"_AkVE_":["Create JavaScript libraries"],"_G62Ma":["Failed to regenerate the SCIM token."],"_GI46_":["List group invites"],"_HTcHv":["View all images"],"_IxD_P":["Vulnerable code not present"],"_JQoN6":["Swap ",["name"]," for another image"],"_Ltc_k":["Extra"],"_MCxXw":["List library build request groups and their items"],"_Oq3IH":["The default role for your identity provider."],"_RdD84":["Static keys expired"],"_ahBdr":["Create logs"],"_jQctM":["To"],"_ms2dK":["CGA updated"],"_xtsKl":["How much value can trusted container images bring you?"],"_y9OdO":["Net new CVEs identified"],"_zimng":["Install chainctl"],"a03o4h":["No access tokens"],"a0hitP":["No available roles"],"a1ObDg":["Request image"],"a2gBr2":["Please provide a valid description."],"a4LNCT":["AWS SHX Libraries PAYGO"],"a6-167":["Select an event"],"a7UktY":["Latest tag"],"a81nLL":["Negligible"],"aCKWlF":["Per Image Pricing"],"aCQ9EZ":["Upload new document"],"aFfStc":["Chainguard Console Home"],"aGBMZb":["With alternatives: ",["withAlternativeLength"]," images"],"aHCEmh":["Pricing"],"aJz5ao":["You must certify the developer count."],"aMGkHl":["Your forwarding address has been verified!"],"aPgSoC":["You have 0 free images available."],"aTMP4f":["Notify that a new version of an image you are using is available."],"aZUsar":["Required images are missing in your organization. Continue to request the images and Helm chart."],"a_6y-m":["No packages selected."],"a_esFT":["Create library rebuilder requests"],"acyHzR":["Delete expired tokens"],"aeJ-nH":[["name"]," was successfully swapped for ",["selectedImageName"],". It may take a few minutes for your new image to be synced to your registry."],"aemBRq":["Provider"],"agPptk":["Medium"],"ahbb0O":["Continue adding additional images or make image requests."],"ai":["AI"],"ai-gpu":["AI-GPU"],"aj83xW":["Channel check failed."],"alI0k7":["Image Directory"],"all":["all"],"an5hVd":["Images"],"aoWm-I":["Remove upvote"],"application":["application"],"araFNq":["Total: ",["totalLength"]," images"],"arnfQh":["Access Tokens"],"astDB-":["Blog"],"awDVGm":["Dockerfile URL"],"ayVlgG":["Access all of the <0>packages</0> underlying your images with Private APK Repository. Requires authentication. <1>Learn more</1>"],"ayy6IJ":["Last year"],"azg7fL":["List record signatures"],"b-4nBk":["Build time"],"b3hhWS":["Update groups"],"b3hid0":["Total CVEs over time"],"b4bbVJ":["Don't see what you're looking for?"],"b9Y4up":["Client ID"],"bD1XRa":["Renewing your sessionâ¦"],"bDXfLb":["Revoke all tokens with access to SCIM. You must regenerate a token to resume syncing with SCIM."],"bHrxUz":["Looking for a status of a CVE? Visit <0>Security advisories</0>
2044"],"bIrSDU":["Please enter your first name."],"bJ9vpw":["Update AWS Marketplace subscriptions"],"bJYNOC":["Support Identities"],"bM0BCq":["Installed size"],"bMSjuU":["FIPS-validated images"],"bNSDsq":["View upstream repository"],"bNb0yT":["Create identity provider"],"bRGYo2":["Create Java libraries"],"bTAduB":["Docs and Support"],"ba3HOp":["Custom Assembly"],"base":["base"],"bdXyh2":["Additional slots"],"bj7Gbm":["Please provide a pattern."],"bmHkmc":["We're sorry. There was an error loading this form. Please refresh the page and try again."],"bmmo3W":["Please provide a valid URL."],"boju_0":["Learn more about STIGs"],"bq28GD":["Organization UID"],"bs-sVd":["Edit role"],"bsXydr":["Browse and pull from your organization's directory of hardened container images."],"bwRvnp":["Action"],"bxuQhe":["Incidents and their updates."],"bxvyRP":["Get started with Chainguard's secure, minimal Raspberry Pi image."],"byol":["byol"],"c1qlWP":["List GitHub organization associations"],"c3Kpo7":["dark"],"c496E9":["Loading vulnerability"],"c4X3il":["Enter your business email address to use email+password authentication or a custom identity provider if your organization has configured one."],"c5pFKW":["Invalidate library rebuilder artifacts"],"c82vuQ":["Update registry deployments"],"c9e7Yi":["No users"],"cFTdM-":["Console"],"cFjezU":["Select any ",["total"]," eligible images from the Chainguard catalog, free. You don't have to choose all ",["total"]," now, but once an image is confirmed it can't be changed. <0>Learn more about Catalog Select terms</0>"],"cHfbVT":["Audience"],"cIfWI5":["Organization updated!"],"cN4Gx6":["List JavaScript libraries"],"cO9-2L":["Disable"],"cPK3oK":["New releases"],"cQlPDN":["Read"],"cRvJQx":["No images selected"],"cWfEs2":["Provide a unique domain for your organization."],"c_VARq":[["savedPerMonth"]," new vulnerabilities/month x ",["hourlyRateShort"],"/hour x ",["remediationHours"]," hours"],"cb_LO6":["We're working on it, but you can send us a bug report."],"cfT7IN":["This tag contains apk-tools to manage packages and debug issues."],"cg2mAv":["Failed to update organization email preferences"],"chL5IG":["Community"],"chlEip":["Tag:"],"cjACek":["Check repository policies"],"cjv73I":["Optional image for chart; can be disabled or replaced."],"ck5-44":["Sync build workers"],"ckH3fT":["Ready"],"cklVjM":["Timeline"],"clkZUf":["Send GraphQL requests to <0>",["apiUrl"],"</0> using your current session token."],"cm7jgp":["Talk to an expert"],"cnGeoo":["Delete"],"commercial":["commercial"],"cp06vg":["Enablement"],"cpoP5Y":["No default values to display."],"cqT9xf":["Chainguard updates"],"csCoda":["Version:"],"csgbLa":["Your session has expired â click here to sign in again"],"ctQ-oE":["Browse all images"],"cu6iol":["Close dialog"],"czNfV4":["We're setting up your Starter organization"],"d-F6q9":["Created"],"d2WPdy":["This version has not been hardened by Chainguard."],"d41FkJ":[["count","plural",{"one":["#"," tag"],"other":["#"," tags"]}]],"d5gA_l":["Search for customer organizations..."],"d5mfIE":["Package details loading"],"d8DZWS":["Open search"],"dBJtAV":["Pop-up blocked. Please allow pop-ups for this site and try again."],"dCxf5K":[["count","plural",{"one":["#"," build"],"other":["#"," builds"]}]],"dD5GCb":["Eliminate CVEs with Chainguard hardened images"],"dEgA5A":["Cancel"],"dFv61a":["Read-only access across all resources and pull access to registry repositories"],"dH3GL3":["<0/> for access to this chart"],"dHKuRK":["Additional scopes for your identity provider."],"dHiA4E":["Use an invite code"],"dIDxdR":["50-80th percentile request"],"dJhZ0s":["Get repository blobs"],"dK3Z9j":["Component"],"dNDfJN":["The token will expire on ",["expirationDate"],"."],"dOLi3Y":["Don't see what you need? Contact our team."],"dOQnMB":["List library policies"],"dQta4F":["Export bulk data from the private OSV API"],"dTtoRx":["Pull your hardened image"],"dUpqRq":["Token expired"],"dXGVri":["This skill has been hardened by Chainguard"],"dXoieq":["Summary"],"dYA6Zf":["Has a shell?"],"d_bW-Y":["Java"],"d_wOtp":["Select a Team"],"dbLtXX":["Notify when an image is no longer supported by Chainguard."],"deWWy2":["Filter versions"],"developer":["developer"],"dhHcqf":["customer"],"dj2xTE":["Dismiss notification"],"dklV8W":["There was an issue populating tags to your image, please contact your account representative."],"dp1Msl":["Blocked on"],"drZ11l":["This image can't sync because it has no source configured. Set one with <0>chainctl images repos update</0> using the <1>--source</1> flag."],"du17e6":["Adding to org"],"dwN9mT":["Please remove one to add another."],"dxKZ7P":[["count","plural",{"one"
2044:["#"," row"],"other":["#"," rows"]}]],"dyAXSH":[["0","plural",{"one":["Skipped ","#"," unrecognized row:"],"other":["Skipped ","#"," unrecognized rows:"]}]],"e-RpCP":["Sign up"],"e-ibq3":["Push access to registry repositories"],"e072tO":["Bundle"],"e0NrBM":["Project"],"e33bxf":["SLSA compliance at Chainguard"],"e7VzzY":["Invite users to ",["organizationName"]],"e8otYl":["No vulnerabilities found."],"eCHp3V":["<0/> for manual verification of your organization by our team."],"eE0JZ4":["Version"],"eHj9wB":["Organization invite code"],"eJwJp_":["Repository address"],"ePK91l":["Edit"],"ePYQjq":["Identity"],"eS0H9O":["This image tag is currently in a grace period. Some packages in this image tag have reached their end of life and may accumulate CVEs. However, Chainguard will attempt to rebuild it and mitigate CVEs with actively updated packages until ",["eolDate"],"."],"eS_oRB":["Quota bar: ",["current"]," out of ",["total"]],"eSnuW-":["Source UIDP"],"eTWVql":["No CVEs match your search"],"eXnyvy":["Create sandbox workflow runs"],"eYlnXt":["No images found"],"eZMqHe":["Using ",["imagesLength","plural",{"one":["this"],"other":["these"]}]," <0>",["imagesLength","plural",{"one":["#"," image"],"other":["#"," images"]}],"</0>, you could eliminate <1>",["savingsVulns","plural",{"one":["#"," vulnerability"],"other":["#"," vulnerabilities"]}],"</1>, a <2>",["savingsVulnsRatio"],"%</2> reduction!"],"ediHKY":["CycloneDX SBOM is available, please contact us for details"],"efRW4j":["my identity provider"],"efjzvW":["Delete role"],"egG_mr":["Request image for access"],"ei666y":["Learn about Libraries"],"ej406h":["We're here to answer any questions you might have about Chainguard and our products."],"ejVYRQ":["From"],"ekOmNq":["Navigate to Plan and Subscriptions to fill available image slots"],"eksdtL":["This skill isn't hardened by Chainguard"],"emeritoss":["EmeritOSS"],"eoe8BR":["Google"],"epbB6h":[["ticketId"]," submitted. ",["chartName"]," will be available in your organization shortly."],"eqyFEb":["Subcharts"],"et23o6":["CVE comparison"],"excsbC":["List library rebuilder requests"],"ezMyWD":["What's your company name?"],"f-8Cbi":["Advisory package data loading"],"f-rqVW":["Delete identity"],"f0cz4D":[["count","plural",{"one":["Skipped ","#"," unrecognized row:"],"other":["Skipped ","#"," unrecognized rows:"]}]],"f3R6ZB":["This tag is no longer supported. Only actively supported tags are available when an image is added to your organization. If you need an older tag, please try a supported tag before creating a support request."],"f8fjus":["Write to the action cache"],"f9AdeB":["Looking for older tags?"],"fC6mXb":["Upvote"],"fCr3sl":["Request a free trial"],"fG5XG0":["Delete event subscriptions"],"fG9jLq":["Failed or incomplete builds for this image in the last 24 hours"],"fHBDEs":["Select more images"],"fHF3ml":["Please contact our team after set up for manual verification"],"fHXMPy":["Cancel subscription"],"fIA_lK":["Available Helm charts."],"fKC7U0":["Expand selected images"],"fKpE6S":["List repositories"],"fLejXb":["Malware"],"fMBd0c":["Refresh coverage for library build request groups"],"fMPkxb":["Show more"],"fNahXG":["Adding ",["chartName"]," to organization. The Helm chart will be available shortly."],"fSPO7O":["Edit integration settings"],"fTFWTg":["Vulnerable code cannot be controlled by adversary"],"fTlokN":["<0>",["name"],"</0> will no longer be used to reference this image."],"fUgnRx":["List policy gate decisions"],"fXMhZy":["Image swaps are not available until all available slots are used."],"f_7g2p":["Continue with GitLab"],"f_Vl8I":["Only available for active images"],"fcWrnU":["Sign out"],"fdPT5F":["Related images"],"fe9NFc":[":imageId Secure Container Image from Chainguard vs Alternatives"],"feOfeC":["Last scanned"],"featured":["featured"],"ffQweM":["Slack Channels"],"fhUQ0G":["Past updates"],"fips":["FIPS"],"fmMSMv":["Chart not available with current plan, contact your account representative for access."],"foIZsq":["List APK packages"],"fq5fFv":["âFixedâ and âNot affectedâ CVEs are hidden by default. Adjust the Status filter to include them."],"free":["free"],"frsft0":["Legal first name"],"ftBsjs":["Using ",["imagesLength","plural",{"one"
2044:["this"],"other":["these"]}]," <0>",["imagesLength","plural",{"one":["#"," image"],"other":["#"," images"]}],"</0>, you could have as little as <1>",["chainguardVulns","plural",{"one":["#"," vulnerability"],"other":["#"," vulnerabilities"]}],"</1>!"],"fzDl9J":["Chainguard"],"fzejeH":["Chainguard role"],"g2yfKG":["Published upstream"],"g5Hw04":["Sign in or sign up"],"g7MoQh":["No vulnerabilities in this document match your search."],"g8Peej":["Failed to modify subscription."],"gDlLw7":["Create registry entitlements"],"gEHQ3K":["An error occurred with your request."],"gEIsfi":["Administer internal repository fields"],"gJ6FOE":[["versionCount","plural",{"one":["#"," version"],"other":["#"," versions"]}]],"gJaxTg":["Token revoked"],"gKU6qv":["Push access to APK packages"],"gMbZd6":["Edit registry overlays"],"gNCEuy":["Update repositories"],"gNKZTN":["Request type"],"gNifJU":["Don't see what you're looking for? This image may not be under the ",["category"]," category, or <0/> if we don't have it."],"gRAdEX":["List roles"],"gRTs_t":["You need additional permissions to view this."],"gSmj3O":["Identity details loading"],"gTJx2K":["Collection of contact information is sent to Chainguard's server to aid in account verification, even if authorization is denied. See our Privacy Notice for further details."],"gXYeLZ":["Secondary navigation"],"gXjVAz":["Set up unverified organization"],"gYlqyI":[["active","plural",{"one":["#"," image"],"other":["#"," images"]}]," already in organization, ",["available","plural",{"one":["#"," slot"],"other":["#"," slots"]}]," available"],"gaWG96":["Latest: ",["latestVersion"]],"gaXK1N":["This organization does not have any owners."],"gacdSK":["Once provisioned, images cannot be swapped."],"gggTBm":["LinkedIn"],"ghIqHN":["The chart will be permanently deleted from your organization. Images that were added to your organization along with this chart are not removed automatically."],"giiQEq":[["count","plural",{"one":["#"," chart"],"other":["#"," charts"]}]],"gp2NC9":["Package details not available."],"gpZx7K":["This group is already mapped to this role."],"gpmbqk":["Variables"],"gq7Rai":["Add claim"],"gqAGKA":["Add image to ",["orgName"]],"grTOi5":["There was an error downloading the SBOM"],"gtHpig":["The most recent version is ",["latestVersion"]],"guVe1H":["Flexible login across chainctl and Console, including headless environments"],"gukxZ5":["Onboarding"],"gvKTAi":["Explore Chainguard's catalog of malware-resistant Java libraries with remediated critical and high-severity CVEs."],"gyjsV2":["Commercial"],"h0QWRC":["Delete role bindings"],"h28hXf":["90 days"],"h3Mzx2":["Delete groups"],"h4fU2T":["Delete policy gate policies"],"hB5Nsh":["Failed to create forwarding address."],"hCCvF8":["No chart images found"],"hG89Ed":["Image"],"hJI_SS":["Please confirm that none of Chainguard's existing images or requests match your request."],"hQ-IU_":["Community Requests"],"hQRttt":["Submit"],"hSYK3k":["Search package names"],"hUo-7V":["Build, ship, and run secure software with minimal, hardened container images â ",["desktopBreak"],"rebuilt from source daily and guarded under our industry-leading remediation SLA."],"hV-qII":["Identity not found or you do not have access."],"hWIM-x":["Ecosystem"],"hXAVlK":["Cancel library rebuilder requests"],"hXzOVo":["Next"],"hYgDIe":["Create"],"hcmIbx":["Create groups"],"he3ygx":["Copy"],"hfMQ-x":["Failed to send download link"],"hhDrkb":["Create identity providers"],"hjs3eZ":[["count","plural",{"one":["#"," blocked package"],"other":["#"," blocked packages"]}]],"hkMhut":["You need the repo.update or repo.create capability to customize images."],"hnSnwq":["No image tag"],"hoL5zm":["AWS Marketplace organization for ",["domain"]],"hom7qf":["Claim"],"homUdT":["Image build failed"],"hqCwRf":["No file selected"],"hriIXN":["Don't see the skill you're looking for?"],"htTcVX":["Status:"],"hvsCx1":["Your organization's unique ID for automation and integrations."],"hy6L14":["View on GitHub"],"i09_-g":["Chainguard uses this identity to publish and sync images to your organization's registry."],"i0qMbr":["Home"],"i4jhiU":["Projects with available container images (e.g. go, nginx, postgres)"],"i5J6M9":["Select images now"],"i82naa":["Issuer pattern"],"i9XCqM":["Required images are missing in your organization. Continue to add the images and Helm chart."],"iAJgTr":["404"],"iASWGd":["Upload your first document"],"iDNBZe":["Notifications"],"iEXRhc":["Make sure to copy the invite link now as you will not be able to see it again."],"iGOFip":["Microflow"],"iH8pgl":["Back"],"iHQAJB":["List groups"],"iNLXGc":["Cancel, return to
2044sign up"],"iNkXYl":["List identities"],"iQ9Iz3":["Connect an identity provider to configure SCIM syncing."],"iQmbPb":["License"],"iSiFYa":["Build"],"iUfTls":["Number of additional images beyond your Catalog Pricing plan. Please contact your account representatives for fulfillment or additional slots."],"iWBUDi":[["count","plural",{"one":["#"," subchart"],"other":["#"," subcharts"]}]],"ibw4P1":["Resolve library rebuilder source coordinates"],"idlXUk":["Delete chart"],"ifgzrk":["Failed to load organization recipients."],"ig97sW":["No roles found."],"iifhPr":["Email scope is required"],"ijnYBt":["You must accept the terms to continue."],"im5vS-":["Talk to the team"],"iwhaZA":["Fetch library rebuilder build tokens"],"iwlRCb":["Update library policies"],"ixmMja":["This will override the existing image with your customizations. The customizations applied to this image will apply to all users consuming it."],"iy3TRB":["Minimal ",["imageName"]," image."],"iyrvdb":["Could not load log (HTTP ",["status"],")."],"j2RYiJ":["Fixed by hardening"],"j492XF":["This Gulfstream identity may be part of a private cluster."],"j5nB3m":["Vote for request #",["issueNumber"]," updated successfully"],"j710Ty":["Create role"],"jABaS3":["List policy gate overrides"],"jAQ2vW":["No resolved CVEs for this version"],"jCERMM":["Specifications not found for tag \\"",["tagName"],"\\""],"jEkFRy":["Create remote executions"],"jGKLRy":["Create AWS Marketplace subscriptions"],"jGhfha":["CVE and CGA IDs"],"jIfiVp":[["count","plural",{"one":["#"," version"],"other":["#"," versions"]}]],"jJ0I8I":["Manage library rebuilder exclusions"],"jJ9cXG":["By continuing, you agree to our Catalog Starter <0>Terms & Privacy</0>."],"jJOolg":["Import from CSV"],"jKPQSU":["Reset group mappings"],"jLJNXJ":["(",["active"]," of ",["total"]," used)"],"jMDJte":[["label"]," navigation"],"jMEx6S":["Images available to your organization from Chainguard's catalog. <0>Learn more about authentication to access organization images</0>"],"jNVqJp":["Solutions"],"jO0G9v":["Using ",["imagesLength","plural",{"one":["this"],"other":["these"]}]," <0>",["imagesLength","plural",{"one":["#"," image"],"other":["#"," images"]}],"</0>, you eliminate <1>",["savingsVulns","plural",{"one":["#"," vulnerability"],"other":["#"," vulnerabilities"]}],"</1> compared to alternatives, a <2>",["savingsVulnsRatio"],"%</2> reduction."],"jZvDUD":[["ariaLabel"]," pagination footer"],"jf8-Dt":["Group mappings reset"],"jlRJvF":["h"],"jm3428":["Last updated:"],"jq_pFN":["This tag contains any of the following packages for debugging issues: ",["shellPackages"],"."],"jqzUyM":["Unavailable"],"jsQZMk":["AI"],"jvUV28":["Image available in your organization, add another instance of this image"],"jyk9dt":["Provides"],"k0YhIn":["Static"],"k10msG":["Click \\"Continue\\" to join your first organization."],"k1MLsW":["80-90th percentile request"],"k1khWf":["Role capabilities"],"k2AMY4":["Previous location"],"k4I7F8":["Impact"],"k5ZXyC":["Select a period"],"k6ZCQ9":["Delete ",["name"]," chart"],"k6ZE3a":["Upstream"],"k6cXm2":["Regenerate token"],"k6izXK":["Chainguard Raspberry Pi Base Image"],"k6vMWY":["A Catalog Starter organization already exists for your company"],"k8-Zsk":["Follow new build requests as they move through Chainguard's pipeline and influence what technologies we tackle next."],"k8pHx9":["JavaScript"],"kH3CH0":["Search for a library name"],"kKkHMg":["MAL ID"],"kNqMMd":["Folder"],"kO5zMe":["Organization domain"],"kPauTg":["My requests"],"kTcFUK":["60 days"],"kTl8ci":["Learn more about Chainguard"],"kUq4w2":["Please provide a company name."],"kWmsB-":["Read library rebuilder remediated artifacts"],"kYTGZJ":["List SCIM users"],"kYyOJ3":["Enable email notifications"],"kZE2pv":["Fill slot"],"kaKa62":["90-100th percentile request"],"kaxKmV":["Organization image name"],"khdKA1":["Please enter your last name."],"km50nQ":["Every unique Chainguard build manifest digest ever produced"],"knG_Ob":["Write library rebuilder source coordinates"],"kns5Jx":["New notifications will be sent from Chainguard when enabled."],"kqI-w2":["Failed to complete Slack workspace connection. Please try again."],"krzyZn":[["newImageName"]," successfully created!"],"ktMFYs":["Variables are not valid JSON: ",["message"]],"ktTXyx":["Filter resolved CVEs"],"kwExhF":["Only the user who connected this workspace can disconnect it",["tooltipText"]],"kwkhPe":["Upgrade"],"kzXyhJ":["IdP groups"],"kzsd_O":["Secure uploads"],"l1DMnp":["Compare:"],"l4ji3l":["Failed to initiate Slack OAuth connection flow."],"l75CjT":["Yes"],"lBUU4t":["No package information available"],"lCF0wC":["Refresh"],"lCtNAz":["Invalidate libraries cache"],"lDo-ax":["Users in this group are granted this role when they sign in"],"lF7Ewg":["Map identity provider groups to roles so members automatically get the right access based on their group membership."],"lG_dD1":["A related Helm chart is available."],"lMdXuD":["Type:"],"lPn63D":["Create builds"],"lRsS2N":["Will be removed immediately"],"lS9_aZ":["Failed to load recipients"],"lT5lN8":["Organization images"],"lUp6OT":["Access packages that are included within your organization's container images."],"lVcFiX":["Keep subscription"],"l_bx5W":["L
2044ast updated <0/>"],"l_naRq":["Swapping for"],"ldktUE":["Create event subscriptions"],"lfoooM":["SBOMs for this image are only available to verified organizations. Contact us for access."],"lgDTSm":["Learn how to get started with Chainguard through Academy courses, quick starts, and product guides. Build confidence faster with step-by-step resources for Images and Libraries."],"lhkaAC":["Trial"],"lil--W":["Chainguard-built"],"liphTg":[["num","plural",{"one":["#"," hour"],"other":["#"," hours"]}]],"lkz6PL":["Duration"],"lqp8tb":["The default role for users who don't match any IdP group mapping"],"lsOa46":["Previewing ",["newImageName"],"."],"lsuAJF":["This image is STIG hardened and scanned against the DISA General Purpose Operating System SRG with reports available."],"luHfja":["Sensitive documents stored for your organization. Files are encrypted in your browser before being uploaded."],"lvu7B5":["Create a new image"],"lwLVh0":["Please provide either an issuer or an issuer pattern."],"lxentK":["An unexpected error occurred"],"lyjq5X":["Slack"],"lzScRN":["Role binding created on ",["0"],"."],"m--NCk":["The source code for this application (e.g., GitHub or GitLab repository)"],"m-7MKk":["Total packages Chainguard has detected and blocked for malware and greyware over the last month"],"m-pG3Q":[["count","plural",{"one":["#"," skill"],"other":["#"," skills"]}]],"m-rRkp":["CycloneDX"],"m16xKo":["Add"],"m2ErDa":["Failure"],"m8fbvB":["\\"It takes me "],"mB79eR":["Image Alternatives"],"mF9YY1":["The most recent date when any version of this library was built and published by Chainguard."],"mFVbFR":["Upvote this request"],"mGYa19":["Package"],"mJws0M":[["count","plural",{"one":["#"," package blocked"],"other":["#"," packages blocked"]}],", ",["weekRange"],". Filter table to this week."],"mKMe4G":["Microsoft Entra ID does not support the groups scope. Please remove it."],"mLZurO":[", email"],"mMbUDH":[["usersCount","plural",{"one":["User"],"other":["Users"]}]],"mNIp_5":[["filteredCount","plural",{"one":["#"," image"],"other":["#"," images"]}]],"mP-cvB":["Filter by type"],"mP3IZE":["User ID Pattern"],"mPkInZ":["Partners"],"mR2bEy":["Create vulnerability scan reports for images"],"mRGVqz":["Set up Starter organization"],"mX8v_f":["Claims"],"mYJyXn":["Public images"],"mZZZpA":["Fix not planned"],"mbR7tk":["List action dependencies"],"mcp":["MCP"],"me-jPW":["Email or organization"],"mfj5Ta":["List builds"],"mgVhF1":["This image is free of CVEs!"],"mhQxeR":["Currently being built by Chainguard."],"mhe9Cs":["Add or request images to see recent tag changes"],"mhkTIf":["Dockerfile for the application that includes a build definition"],"mjPlYU":["Build not found"],"mkALjc":["Python Libraries"],"mmd4az":["Connect Slack"],"mtGDyy":["Incomplete"],"mzI_c-":["Download"],"n0yFPs":["Choose a sign-in method"],"n2h0-4":["Failed to create organization: ",["errorMsg"]],"n2ynd9":["Manage your cookie consent"],"n3Eaz3":["Please provide a valid email address."],"n53fL9":["Update library rebuilder request groups"],"n72fCI":["Athena"],"nAF3cg":["No identities"],"nBYDm1":["Delete identity providers"],"nCIVI7":["I understand I will lose access to <0>",["name"],"</0> after this swap, and that replacing this image may break dependent charts until they are updated."],"nCp8RP":["Enter your email address to use email+password authentication; enter your organization to authenticate with its custom identity provider if your organization has configured one."],"nFFLA2":["Remove images from registry entitlements"],"nJw77c":[["0","plural",{"one":["#"," image"],"other":["#"," images"]}]],"nQcBKx":["system"],"nRHIii":["Please provide an account."],"nRuH79":["Failed to delete pull tokens: ",["errorMsg"]],"nTWWCZ":["Low"],"nWFmPQ":["Helm catalog"],"nXOJWw":["Invite another user"],"nZ9S0v":["List library entitlements"],"nZgYnL":["Turn ecosystems on or off for your organization. Disabling an ecosystem stops new pulls from its registry."],"nZovxc":["Tagged versions of Chainguard's container images available (e.g. go:latest, nginx:latest, postgres:latest)"],"n_GuHG":["You can only map groups to roles you already hold."],"n_I-da":["View source"],"nbfdhU":["Integrations"],"nf_4cb":["Error updating tenant preferences."],"nj2MP8":["Vulnerabilities"],"njh35p":["No new organizations added."],"nkOR4g":["This invite code expired ",["expirationTimestamp"],"."],"nl01oT":["Organization domain must be set."],"nm91BR":["Forwarding address"],"nmDmdI":["Please enter your legal first name."],"nrOK30":["Delete skills from the catalog"],"nszA_C":["Failed to apply customizations to ",["name"],"."],"ntUVha":["Pull access to registry repositories"],"nuBbBr":["Chart"],"nzKY6G":["Pull your hardened, zero-CVE image and run it in your own environment."],"o-etx0":["Chart available in your organization"],"o0zTc2":[["buildFailuresCount","plural",{"one"
2044:["#"," failed build in the last 24 hours"],"other":["#"," failed builds in the last 24 hours"]}]],"o2Ucvk":["Libraries"],"o3zxEk":["Are you sure you want to delete <0>",["name"],"</0>?"],"o5FQ2z":["View the status of known vulnerabilities in a Chainguard Container along with daily updates on security patches."],"o5jB-D":["Collapse panel"],"o6PCse":["Skills directory"],"o7J4JM":["Filter"],"oD54_M":["Update identity providers"],"oDodff":["Select image"],"oFQ2_e":["fixed in ",["fixed"]],"oHheSm":["Select a type"],"oKxyAk":[":chartName Helm Chart Values"],"oMgC5V":["Success!"],"oPoLg-":["No access"],"oQTfys":["You are removing customizations to ",["reference"],"."],"oUSWKb":["Filter images and requests"],"oYLWm0":["Need a specific older tag for this image from the Chainguard catalog? <0>Create a support request</0>"],"oZyG4C":["Continue with Google"],"o_w7N4":["Choose Chainguard Containers to compare to alternatives..."],"ob_k5h":["Successfully triggered \\"",["workflowName"],"\\" for ",["count"]," ",["customerText"]],"odTSaP":[["currentName"]," + ",["restLength"]," other archs"],"of6OvO":["<0>",["active"],"</0> of <1>",["total"],"</1> ",["total","plural",{"one":["slot"],"other":["slots"]}]," used"],"ofHh_Y":["Demand"],"ofV81B":["Enable group-based role mapping to configure IdP groups."],"ogcoB9":["Hardened agent skills and MCP servers for your AI agents â scanned, remediated, and signed in the Chainguard Factory."],"ohob9U":["Non-Dev"],"oiHgZ3":["No capabilities to display"],"ol9IzV":["No chart metadata to display."],"onllUU":["Mark all as read"],"opmCYy":["Expired invite"],"oq4uYL":["List Go libraries"],"oqB2ez":["Previous match"],"or8ENf":["SCIM syncing disabled"],"orKgAg":["Create or update skills in the catalog"],"osGoFX":["Add to org"],"ot0gId":["Search Chainguard catalog"],"ou7t6C":["Delete tags"],"ov5L1D":["This organization hasn't been verified yet. Contact our team to complete manual verification and unlock the full Chainguard experience for your organization."],"owr9pV":["You have reached the limit for the number of images your organization can request. Contact your account representatives for more images."],"p2dqAm":["Image successfully renamed to \\"",["updatedName"],"\\""],"p5imW5":["Filter roles..."],"p7ERFl":["Your trial of Chainguard Libraries ends on June 30th."],"p7xUrt":["Select a category"],"p8Wb9L":["A single pane of glass for all things security, product updates and more."],"p8zpfe":["Internal Chainguard feature"],"pGHe5e":["We were unable to create your Starter organization. This may be because an organization already exists, you're ineligible to create one, or due to an internal error. Try reaching out to your organization owner if you think one exists, or contact us for support."],"pIhUwE":["Last updated ",["formattedTimestamp"]],"pJxM65":["latest"],"pOixTq":["contact us"],"pP-eK7":["Image not available with current plan, contact your account representative for access."],"pP8clS":["(Optional) Select a default role to assign users when they are invited to your organization."],"pSPJ41":["FedRAMP"],"pXIf8X":["Disable upstream repository?"],"peEkzU":["No images yet"],"pfsb-_":["SBOMs are available, please contact us for details"],"pggWcR":["Tag information not available"],"phqjRZ":["View the build log. Requires a Chainguard session; opens a short-lived signed URL."],"production":["production"],"psC-XF":["Compliance"],"pubBf-":["Search by CGA ID or package name"],"pvidSS":["View my images"],"pvx9sx":["May require additional licensing from the application maintainers."],"px5Egb":["Pattern"],"py3fNd":["Error triggering workflow: ",["errorMsg"]],"pzXZ8-":["Create token"],"q0q6KR":["Failed to load preferences."],"q1wNAR":["We noticed someone at your company already has a Chainguard Catalog Starter account set up. Request access to join, and we'll send your request to the account owner for approval."],"q3wDG6":["View all CVEs"],"q46CjD":["Export to PDF"],"q4hTLx":["Are you sure you want to delete <0>",["reference"],"</0>?"],"q6-OZX":["Submit skill harden operations"],"q6aysV":["Explore Chainguard's catalog of malware-resistant Python libraries with remediated critical and high-severity CVEs."],"qA8mP5":["Type of request being made"],"qAGp2O"
2044:["Proceed"],"qBz2Ml":["Image not available with current plan, contact your account representative for access"],"qF8qD2":["Select an organization"],"qHHLOh":["Major"],"qI6Y6j":["There's nothing here!"],"qIrtcK":["Updates"],"qLEnW0":["You have joined <0>",["orgIdentifier"],"</0> and your account has been associated to the organization."],"qMgKul":["Job title"],"qNDuWL":["View security advisories for ",["packageName"]],"qQv6DV":["Connect an identity provider to manage groups."],"qUrCMF":["Has apk?"],"qVtZbC":["e.g. my-image"],"qWPHnt":["Create group invites"],"qXlsj-":["Refresh library rebuilder new versions"],"qZtnZD":["Create registry deployments"],"qbo3HV":["List policy gate policies"],"qdeESc":["List SBOMs"],"qiWSmb":["Private APK repository address"],"qmQYSF":["You're almost in â join your company's organization. Your company is already using Catalog Starter. To use the 5 shared images, either request access so the owner can approve your account, or enter an invite code if you've already been sent one."],"qn-TjB":["SFDC"],"qnpf7D":["View your organization's current plan and available images."],"qob6WE":["Your search did not match any available tag"],"qq788M":["No role"],"qsG7Ks":["Search catalog..."],"qsbzUO":[["filename"]," successfully deleted!"],"qsp7Dm":["Upgrade your organization to unlock this feature. <0>See available plans and pricing</0>"],"qsqt0w":["Invite link"],"qtdPTh":["Email preferences will not work on local dev environment."],"qu4xfO":["We couldn't complete sign-in."],"qun9U3":["View :tab information for the :imageId image."],"qveT6N":["Failed to archive notification."],"qvlbfM":["Install with chainctl"],"qw8Tlc":["This will override the existing image with your customizations. Customizations applied to this image will apply to all users consuming it."],"r0jtZB":["No plan found for this organization"],"r2oB6X":["Company name must be set"],"r7BRAe":["Hardened"],"r7_LrA":["Role details loading"],"rAQeFv":["Recent image changes"],"rFCp4D":["List actions"],"rGBqCl":["from ",["introduced"]],"rIgMwk":["Delete library policies"],"rJZhoC":["Customize container images with extra packages added tailored to your organization and application requirements while still having few-to-zero CVEs."],"rJiBAw":["Initializing"],"rLQ-2j":["IdP group"],"rMI_cB":["List event subscriptions"],"rNDhLF":["Restricted"],"rPRd1Y":["Filter group name..."],"rPWve_":["Could not load the encryption key for this organization. Uploads are disabled until this is resolved."],"rQKqXw":["Before deploying, update the default images in this chart's values file to use the FIPS-validated image variants."],"rTCLIk":["Contact us to have a public skill hardened by Chainguard."],"rTwgPH":["Last month"],"rUAgnM":["Customer shall not provide Chainguard any personal data (or similarly regulated data) as part of the Custom Assembly tool, other than the personal data that Chainguard collects in the ordinary course of business, as further detailed in its <0>Privacy Notice</0>"],"rYhWxi":["This image will count towards your plan's available slots."],"rZEl-I":["Remove all group mappings for this IdP and use the default role for all users."],"rc0u02":["No SBOMs are available for this image."],"rffBxU":["Please provide at least one capability."],"rhLSyO":["Include optional images"],"rjGI_Q":["Privacy"],"rkUjFa":["Add group mapping"],"rl_8FN":["Commit"],"rnEtRe":["Advisories are based on vulnerability information provided by Grype from Anchore. <0>Learn how Chainguard creates security advisories</0>."],"rnwGuj":["Starter"],"roRpRV":["Delete identities"],"rpJq8a":["Vulnerability report not found for ",["imageName"]],"rrVpeZ":["List identity providers"],"rshdCX":["Back to main list"],"rt79Zn":["Active Requests"],"rvqC8r":["Request #",["requestNumber"]],"rzzvJZ":["Entitlement syncer"],"s-MGs7":["Resources"],"s-XOaI":["File name"],"s0T3hI":["Failed to load data. Please refresh the page."],"s6vhNy":["Preview changes"],"s8Yvy9":["Helm compatible"],"s8f3hl":["Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate."],"sASQZz":["Delete ",["resourceName"]],"sCTlv5":["Unsaved changes"],"sERhOb":["Learn more about Chainguard Libraries"],"sGcpBW":["Fixed version"],"sHUTuH":["Advisory timestamps represent when updates are made to the advisory page, not when they were first detected and triaged by Chainguard. For more on our Security Advisories process see <0>how Chainguard issues advisories</0>."],"sI2CeO":["Subpath"],"sO9LI2":["Eliminate your CVEs"],"sP9ZRX":["Role details"],"sRGxIJ":["This document is still being processed â vulnerabilities appear once it is ready."],"sSRoGa":["Enter invite code"],"sWU8f4":["Packages removed"],"s_M1gu":["The correlation rule is fixed after creation."],"scmIdY":["Debug org info"],"seckmI":["Accept terms"],"sf4SzB":[["total","plural",{"one"
2044:["You can select up to ","#"," image with your current plan."],"other":["You can select up to ","#"," images with your current plan."]}]],"siJgSI":["User not found."],"sl-xvX":["Open Source project repository"],"smys7f":["Type ",["confirmPhrase"]," to confirm"],"snyG-w":["Licenses"],"stPLXL":["Startups"],"starter":["starter"],"stig":["STIG"],"su8I2Y":["Update policy gate policies"],"syMLfv":["Delete account associations"],"t4VC6y":["arm64"],"t7qExY":["Generate a new SCIM token and configure how long previously generated tokens will remain available. Update your IdP with the new token to keep provisioning active."],"t8OFYs":["Unable to join? <0>Contact us for help</0>"],"t9vFRU":["Create vulnerability metadata records"],"t9yxlZ":["Reports"],"tKHSdG":[["label"],", ",["selectedCount","plural",{"one":["#"," filter active"],"other":["#"," filters active"]}]],"tMFDem":["No data available"],"tMYzz2":["Other images or packages this artifact relies upon to function"],"tMswNv":["All Chainguard's container images and their public alternatives."],"tR6yO0":["Create repositories"],"tSN4aU":["Filter packages"],"tTUZCU":["Log in to Console"],"tXBGdk":["Libraries tabs"],"tY0OlV":["Modify your Chainguard Containers by adding or removing packages to fit your needs."],"t_YqKh":["Remove"],"tamjnY":["This image is currently being added to your organization and it may take a few minutes for tags to become available."],"tb-i2j":["Malware-resistant libraries, by default."],"tb0iZ6":["none available"],"tcIL6X":["<0/> for access to this image"],"tdZpCd":["Trust Center"],"tfDRzk":["Save"],"tfH9U1":["Customized images may not have the same functional behavior when deployed as the original image. Users of this image are advised to test the functionality thoroughly before distributing the image."],"tg8jCb":["Make sure to copy your token now as you will not be able to see this again."],"tgWuMB":["Modified"],"ti698j":["Update APK packages"],"tjbyOy":["Project details"],"tnjGJP":["Missing required fields"],"tnnusl":["Go to ",["newImageName"]],"tr2aTF":["List tags"],"ttxVFr":["Delete policy gate overrides"],"tuG3fF":[":imageId Provenance - Image Signatures and Attestations"],"tubILV":["Edit items in draft library build request groups"],"tw0Gjb":["List library policy bindings"],"twE53b":["Container Images"],"txPPqC":["Chainguard uses this identity to access your organization for support and troubleshooting purposes."],"u-VzLV":["Approve advisories"],"u-qQ2e":["The date when this version was built and published by Chainguard."],"u1lIQ7":["Image not found."],"u3sK5R":["Update action dependencies"],"u3wRF-":["Published"],"u57ybT":["Select how to apply your customizations"],"u7gHuW":["View :tab information for the :chartName chart."],"u9BdlL":["Changing enabled ecosystems will affect new package pulls. Your billing may increase or decrease based on the number of ecosystems enabled."],"uAQUqI":["Status"],"uE9oEv":["Gulfstream"],"uEv9aE":["No vulnerabilities match your search."],"uFNgMX":["Get APK blobs"],"uG5gue":["User binding"],"uGzfR6":["Filter by source type"],"uHgWD3":["The image will be permanently deleted from your organization and will no longer be available."],"uJRF2j":["Create access token"],"uLibjI":["Search. Pull. Build."],"uP3dnZ":["Access public directory"],"uPIqK8":["Materializer"],"uSwoMB":["No visible tag"],"uZ4Gn7":["Amazon Web Services"],"ubSQ-A":["Social provider: ",["provider"]],"ucgZ0o":["Organization"],"ud0kk2":[":advisoryId: Affected Packages & Status Updates"],"uemkvF":["Failed to fetch notifications user token."],"uicv6Z":["Architecture"],"ukY7dE":["Manage SCIM provisioning"],"ukejmP":["New request"],"uoFeZO":["Entitlements"],"uq2BmQ":["Last 30 days"],"ut1QkM":["List Python libraries"],"uuZVN4":["The name of the token claim your identity provider sends group memberships in."],"uvZ7AL":["Update advisories"],"uwMpnS":["Once dismissed, this notification will no longer appear in your Activity Center."],"uxvsqt":["Search organization images..."],"v41VX6":["Default role"],"v9OPp6":["This immediately invalidates all SCIM tokens for this identity provider, including any still active from a previous rotation. Provisioning stops until you regenerate a token and update your IdP with it."],"vDJ0n3":["Are you sure you want to delete this user binding? This action is irreversible."],"vH2C_2":["Swap"],"vICcvf":["No library found"],"vJQ7KD":["(Optional) Provide further context on your identity provider."],"vLbjHO":["Environment variables"],"vOIiDG":["Failed to load organization users."],"vOOex0":["List registry deployments"],"vRXktJ":["Not yet hardened"],"vSoHta":["By continuing, you agree to our <0>Terms</0> & <1>Privacy</1>."],"vWLiHw":["Pick your 5 free hardened images"],"vXIe7J":["Language"],"vX_Sd7":["Are you sure you want to delete the invite for <0>",["inviteToDeleteEmail"],"</0>?"],"vYWQ4A":["Bearer token"],"vYzoqx":["Blocked version"],"vZbIkJ":["GitLab"],"vZrK7K":["Claim Match"],"v_nRT6":["Inline mitigations already exist"],"vbnBOs":["Hi, ",["name"]],"vcOLLR":[["ticketId"]," has been created for your request."],"vgWJsr":["No advisory package data to display."],"vifyyw":["Legal"],"vkWmqA":["Are you sure you want to edit these settings? The
2044se changes will have organization-wide impact."],"vm_Uv2":["Build details not found"],"vnKJSh":["Entrypoint"],"vnMH4t":["You're ready to go. It may take a few minutes for your images to be synced to your registry."],"vtmaLg":["The invite code's organization is invalid."],"vvblKR":["Resets in <0/>"],"vwnVFG":["I certify that the developer count provided is accurate. Any developer who builds in one of the supported languages should be counted."],"vzJ7AQ":["Add a description"],"w-NKgG":["and <0>",["monthlyCashSaved"],"</0> more every month!"],"w0G6b7":["Are you sure you want to continue? This action is irreversible."],"w0RLAc":["Search Chainguard Containers"],"w6qPWt":["Production"],"w8S31X":["Account ID"],"w933Wh":["Sedimentology"],"w99Mh6":["Enable upstream repository?"],"wCLPCu":["Request a trial"],"wHW9Ym":["Automatically blocked packages"],"wHX7hS":["List policy gate bindings"],"wL3cK8":["Latest"],"wMHvYH":["Value"],"wMRbHN":["Disconnect from all channels before removing the Teams connection"],"wMe2Qp":["Namespace"],"wNVtVm":["Community demand"],"wO9Aqb":["Patched"],"wRGkny":["Notification scope"],"wVSoj4":["Create an organization to manage Chainguard resources with your team. If you're eligible for Catalog Starter, you can also unlock 5 free Chainguard images. Catalog Starter benefits are not available on personal email accounts."],"wYJ3GH":[["0","plural",{"one":["Tier"],"other":["Tiers"]}]],"wYPyFK":["Please select a developer count."],"wZFLGV":[["0","plural",{"one":["+ ","#"," more"],"other":["+ ","#"," more"]}]],"wZVM8B":["Reports tabs"],"w_bY7R":["Logs"],"wc9LKm":["Container images the Chainguard team is hard at work building based on customer demand."],"wcL-cn":["Sign in to view logs."],"wdxz7K":["Source"],"weSLFB":["You have used all your allocated swaps for the current 30 day period."],"wejpaK":["Create pull token"],"wgP9yT":["There was an authentication issue while submitting your request, please reach out to your account team."],"wikWTi":["No CVEs match your search or filters"],"wnSY3H":["Activity Center recipients call will not work on local dev environment."],"ws65zp":["Connect Microsoft Teams"],"wthaHX":["Join organization"],"wv1e0F":["Internal"],"wz62aW":["Subscribed on"],"wzfFLf":["API Playground"],"x0_o2X":["View ",["restImagesNum"]," more"],"x2A79O":["Issuer"],"x5puUl":[["imagesCount","plural",{"one":["Image"],"other":["Images"]}]],"x6E4Ik":["Service Principal"],"x8BGPw":["References to the previous name will no longer work for this image. This change will apply to all users consuming this image."],"x9sgw-":["Assumable Identity"],"xAaom3":[["count","plural",{"one":["#"," package"],"other":["#"," packages"]}]],"xBy3dv":["Service principal"],"xCJdfg":["Clear"],"xCjWpk":["Submit a request for access to this image"],"xCoRTv":["Read library rebuilder new versions"],"xF1lJv":["Total malware & greyware blocked by Chainguard"],"xGVfLh":["Continue"],"xHEMJU":["The request is being reviewed by Chainguard for build feasibility."],"xHUH9d":["Please provide a group name."],"xHe_7h":["Dependencies"],"xMO-Ao":["Set up your organization"],"xNXi6k":["Discover Chainguard Skills."],"xNonKP":["Add this image to your organization"],"xPHoNs":["What's being compared?"],"xSRll6":["Type <0>",["confirmPhrase"],"</0> to confirm"],"xSm-yU":["Use an invite code from an organization to get started. Request an invite code from your organization's owner."],"xT2Zg7":["Configure your organization to sign in to Chainguard with your existing identity provider, such as Okta, instead of personal accounts."],"xTKIFr":["Create library policies"],"xUvgy_":["Digest"],"xWEvuo":["Ask AI"],"xWLJKo":["Blocked packages"],"xWX1d6":["Configure IdP groups"],"xXADHM":["Update ",["resourceName"]],"xbNnzW":["Chainguard relies on third-party service providers to deliver this notification feature, as described on our <0>Feature-specific Subprocessors</0> page. By using this feature, you consent to our use of third-party subprocessors."],"xcPm-a":["List manifest metadata"],"xfhnAC":[["totalSelected"]," selected"],"xgvi4p":["Contact us to maintain access"],"xi-bpA":["Component not present"],"xjsbx6":[["count","plural",{"one"
2044:["#"," unread notification"],"other":["#"," unread notifications"]}]],"xnvBfe":["Chainguard for Raspberry Pi"],"xrVi0j":["Built by Chainguard"],"xthFGl":["IdP configuration includes:"],"xycdKe":["SCIM syncing"],"xysBxb":["All Requests"],"xzd9TC":["CVE Remediation"],"y03E_r":["Package URL"],"y0Fcpd":["New location"],"y1ypMV":["Most popular"],"y3aU20":["Save changes"],"y3sZ91":["List attestations"],"y4uH7j":["Cancelling"],"y6maWs":["Alternatives"],"y8le-Z":["Training"],"yAekSW":["FIPS requested"],"yDifzB":["Confirm selection"],"yFBC8I":["There was an issue redirecting you to our support platform."],"yGwlW_":["Create an access token"],"yKYyNx":[["identitiesCount","plural",{"one":["Assumed identity"],"other":["Assumed identities"]}]],"yKh4OV":["Delete repositories"],"yNKjTu":["See available plans and pricing"],"yPrbsy":["Recipients"],"yQysGp":["Please provide a groups claim."],"yRZyYq":["CVE ID"],"ycgfil":["SBOM downloaded successfully"],"ycvMdh":["Chart version"],"yhxFLZ":["Events & Webinars"],"yiRgCe":["Create policy gate overrides"],"yj667h":["This i
2044dentity is managed by Chainguard"],"ylaLVu":["You are making changes to ",["reference"],"."],"ynxaNS":["Python (Athena)"],"yol7-8":["Bring Chainguard into your workflow"],"yrdkCW":["Success check"],"ytEDYp":["Collapse capabilities"],"yx_fMc":["High"],"yz7wBu":["Close"],"z0t9bb":["Login"],"z2mLAa":["Update event subscriptions"],"z8y-Sr":["Unavailable to org"],"z9AsQ8":["Add another image"],"zCrZmY":["Subject pattern"],"zG7Kal":["Chainguard charts"],"zHDh8L":["Create role binding"],"zHXktr":["my token"],"zHz3u-":["Slack notifications enabled"],"zLhMcm":["The invite code's date is invalid."],"zMfowu":["Failed Ms Teams auth connection. Refresh and try again or reach out to us for support."],"zNYoPf":["Requests will not be fulfilled automatically. Your account representatives will be notified on submitting this request, and they will be in touch."],"zOjiCP":["Verification link is invalid or expired. Please delete and re-add the forwarding address."],"zS7HPF":["Catalog syncer"],"zUzYWu":["Latest version"],"zY6PMh":["Python"],"z_Isif":["We have received your bug report. Thank you!"],"z_mZJG":["Correlation rule"],"z_nJ2s":["Update policy gate bindings"],"zaGS2_":["Your search did not match any available chart version"],"zbftSg":["Submit a support request"],"zdxQvC":["Something went wrong submitting your signup. Please try again or contact us for support."],"zflWL5":["Affected ranges"],"zgK-ds":["Please provide either a user ID or a user ID pattern."],"zh3Bve":["Vulnerability information provided by Grype from Anchore."],"zhrjek":["Groups"],"zi8ScO":["AWS Marketplace Signup"],"zlPwBv":["Select an alternative"],"zn4V7r":["PyPI"],"zrPZRn":["Receive updates from Chainguard"],"zucql-":["Menu"],"zwWKhA":["Learn more"],"zwi_Tm":["Set up an organization"],"zxvj2w":["Helm charts"],"zzDlyQ":["Success"]}`),ult=Object.freeze(Object.defineProperty({__proto__:null,messages:Nie},Symbol.toStringTag,{value:"Module"})),Vc=e=>typeof e=="string",clt=e=>typeof e=="function",G7=new Map,Rie="en";function UF(e){return[...Array.isArray(e)?e:[e],Rie]}function VF(e,t,n){const r=UF(e);n||(n="default");let i;if(typeof n=="string")switch(i={day:"numeric",month:"short",year:"numeric"},n){case"full":i.weekday="long";case"long":i.month="long";break;case"short":i.month="numeric";break}else i=n;return xT(()=>LT("date",r,n),()=>new Intl.DateTimeFormat(r,i)).format(Vc(t)?new Date(t):t)}function dlt(e,t,n){let r;if(n||(n="default"),typeof n=="string")switch(r={second:"numeric",minute:"numeric",hour:"numeric"},n){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}else r=n;return VF(e,t,r)}function _O(e,t,n){const r=UF(e);return xT(()=>
2044LT("number",r,n),()=>new Intl.NumberFormat(r,n)).format(t)}function K7(e,t,n,{offset:r=0,...i}){const o=UF(e),a=t?xT(()=>LT("plural-ordinal",o),()=>new Intl.PluralRules(o,{type:"ordinal"})):xT(()=>LT("plural-cardinal",o),()=>new Intl.PluralRules(o,{type:"cardinal"}));return i[n]??i[a.select(n-r)]??i.other}function xT(e,t){const n=e();let r=G7.get(n);return r||(r=t(),G7.set(n,r)),r}function LT(e,t,n){const r=t.join("-");return`${e}-${r}-${JSON.stringify(n)}`}const xie=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,Lie=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(t,n,r)=>{if(n){const i=parseInt(n,16);return String.fromCharCode(i)}else{const i=parseInt(r,16);return String.fromCharCode(i)}}),Oie="%__lingui_octothorpe__%",flt=(e,t,n={})=>{const r=t||e,i=a=>typeof a=="object"?a:n[a],o=(a,s)=>{const l=Object.keys(n).length?i("number"):void 0,u=_O(r,a,l);return s.replace(new RegExp(Oie,"g"),u)};return{plural:(a,s)=>{const{offset:l=0}=s,u=K7(r,!1,a,s);return o(a-l,u)},selectordinal:(a,s)=>{const{offset:l=0}=s,u=K7(r,!0,a,s);return o(a-l,u)},select:plt,number:(a,s)=>_O(r,a,i(s)||{style:s}),date:(a,s)=>VF(r,a,i(s)||s),time:(a,s)=>dlt(r,a,i(s)||s)}},plt=(e,t)=>(Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0)??t.other;function mlt(e,t,n){return(r={},i)=>{const o=flt(t,n,i),a=(l,u=!1)=>Array.isArray(l)?l.reduce((c,f)=>{if(f==="#"&&u)return c+Oie;if(Vc(f))return c+f;const[p,v,g]=f;let y={};v==="plural"||v==="selectordinal"||v==="select"?Object.entries(g).forEach(([E,S])=>{y[E]=a(S,v==="plural"||v==="selectordinal")}):y=g;let k;if(v){const E=o[v];k=E(r[p],y)}else k=r[p];return k==null?c:c+k},""):l,s=a(e);return Vc(s)&&xie.test(s)?Lie(s):Vc(s)?s:s?String(s):""}}class hlt{_events={};on(t,n){return this._events[t]??=new Set,this._events[t].add(n),()=>this.removeListener(t,n)}removeListener(t,n){const r=this._events[t];r?.delete(n),r?.size===0&&delete this._events[t]}emit(t,...n){const r=this._events[t];if(r)for(const i of[...r])i.apply(this,n)}}class glt extends hlt{_locale="";_locales;_messages={};_missing;_messageCompiler;constructor(t){super(),t.missing!=null&&(this._missing=t.missing),t.messages!=null&&this.load(t.messages),(typeof t.locale=="string"||t.locales)&&this.activate(t.locale??Rie,t.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}setMessagesCompiler(t){return this._messageCompiler=t,this}_load(t,n){const r=Object.prototype.hasOwnProperty.call(this._messages,t)?this._messages[t]:void 0;r?Object.assign(r,n):this._messages[t]=n}load(t,n){typeof t=="string"&&typeof n=="object"?this._load(t,n):Object.entries(t).forEach(([r,i])=>this._load(r,i)),this.emit("change")}loadAndActivate({locale:t,locales:n,messages:r}){this._locale=t,this._locales=n||void 0,this._messages[this._locale]=r,this.emit("change")}activate(t,n){this._locale=t,this._locales=n,this.emit("change")}_(t,n,r){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let i=r?.message;t||(t=""),Vc(t)||(n=t.values||n,i=t.message,t=t.id);const o=this.messages,a=Object.prototype.hasOwnProperty.call(o,t)?o[t]:void 0,s=a===void 0,l=this._missing;if(l&&s)return clt(l)?l(this._locale,t):l;s&&this.emit("missing",{id:t,locale:this._locale});let u=a||i||t;return Vc(u)&&(this._messageCompiler?u=this._messageCompiler(u):console.warn(`Uncompiled message detected! Message: 2045 2046> ${u} 2047 2048That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used. 2049ICU features such as interpolation and plurals will not work properly for that message. 2050 2051Please compile your catalog first. 2052`)),Vc(u)&&xie.test(u)?Lie(u):Vc(u)?u:mlt(u,this._locale,this._locales)(n,r?.formats)}t=this._.bind(this);date(t,n){return VF(this._locales||this._locale,t,n)}number(t,n){return _O(this._locales||this._locale,t,n)}}function Pie(e={}){return new glt(e)}Pie();const vlt=async(e,t)=>{const{messages:n}=await llt(Object.assign({"../locales/en-XA.po":()=>St(()=>import("./en-XA-DiICnicJ.js"),[]),"../locales/en.po":()=>St(()=>Promise.resolve().then(()=>ult),void 0),"../locales/fr.po":()=>St(()=>import("./fr-fL-jNXYR.js"),[])}),`../locales/${t}.po`,3);e.load(t,n),e.activate(t)},ylt=e=>Pie({locale:e,messages:{[e]:Nie}}),klt=({children:e})=>{const[t,n]=ws("locale"),r=m.useMemo(()=>ylt(Vv.EN),[]),i=m.useCallback(async o=>{try{await vlt(r,o)}catch{n(Vv.EN)}},[r,n]);return m.useEffect(()=>{t||n(Vv.EN)},[t,n]),m.useEffect(()=>{t&&i(t)},[i,t,n]),b.jsx(z0e,{i18n:r,children:e})},blt=({children:e,APIProviderOverride:t=Btt,AuthProviderOverride:n=T0e,ChainguardThemeProviderOverride:r=elt,ColorModeProviderOverride:i=fQe,CookiesProviderOverride:o=Kve,FeatureProviderOverride:a=Eye,I18nProviderOverride:s=klt,LocalizationProviderOverride:l=nlt,WindowProviderOverride:u=Yve,StoreProviderOverride:c=dye,SnackbarProviderOverride:f=slt,HubspotModalProviderOverride:p=AVe,ConsentProviderOverride:v=U1e})=>b.jsx(u,{children:b.jsx(c,{children:b.jsx(o,{children:b.jsx(i,{children:b.jsx(a,{children:b.jsx(r,{children:b.jsx(s,{children:b.jsx(n,{children:b.jsx(t,{children:b.jsx(l,{dateAdapter:alt,children:b.jsx(p,{children:b.jsx(f,{children:b.jsx(v,{children:e})})})})})})})})})})})})});var OT=(function(e){return e.DIRECTORY="directory",e.CONSOLE="console",e.SKILLS="skills",e})({});const _ie=m.createContext("directory"),Die=()=>m.useContext(_ie),Slt=({origin:e,Routes:t,Drawers:n,Providers:r,RouterOverride:i=Jet,...o})=>(kT.setLicenseKey(Bve),b.jsx(m.StrictMode,{children:b.jsx(_ie.Provider,{value:e,children:b.jsxs(blt,{...o,children:[b.jsx(i,{Routes:t,Drawers:n,Providers:r}),b.jsx(Elt,{})]})})})),Elt=()=>{const{hasAmplitudeConsent:e}=ak();return m.useEffect(()=>{e&&lhe()},[e]),m.useEffect(()=>{ttt()},[]),null};var G0={},Y7;function Tlt(){if(Y7)return G0;Y7=1;var e=JG();return G0.createRoot=e.createRoot,G0.hydrateRoot=e.hydrateRoot,G0}var Clt=Tlt();const Alt=Wu(Clt),Ilt=()=>b.jsx(Slt,{origin:OT.CONSOLE,...$et}),Mie=document.getElementById("root");
2052if(!Mie)throw new Error("Failed to find the root element");Alt.createRoot(Mie).render(b.jsx(Ilt,{}));export{QP as $,xs as A,py as B,O1e as C,lY as D,C1 as E,V5e as F,Nr as G,qN as H,uLe as I,m5e as J,hct as K,ok as L,Um as M,E5e as N,FZ as O,RVe as P,v6e as Q,Pct as R,DQe as S,yn as T,K as U,Li as V,ei as W,cE as X,B6 as Y,K5e as Z,KK as _,Po as a,pi as a$,pct as a0,y_ as a1,nC as a2,kK as a3,wC as a4,ip as a5,rn as a6,nd as a7,td as a8,sp as a9,oQe as aA,Dl as aB,tut as aC,Qm as aD,uk as aE,Yut as aF,cut as aG,b_ as aH,UVe as aI,R$ as aJ,Ult as aK,Ul as aL,T3e as aM,H3e as aN,LZ as aO,OZ as aP,rr as aQ,Flt as aR,ws as aS,hut as aT,o$ as aU,t$ as aV,x6e as aW,sD as aX,zMe as aY,Nut as aZ,Pv as a_,cct as aa,dct as ab,Ye as ac,ir as ad,HK as ae,VK as af,IE as ag,Js as ah,aZ as ai,JZe as aj,ga as ak,mut as al,Xlt as am,bdt as an,Dut as ao,ZZe as ap,fNe as aq,$l as ar,Aut as as,OC as at,ri as au,JK as av,H9 as aw,cp as ax,ZT as ay,NC as az,gZ as b,Tf as b$,wVe as b0,op as b1,_h as b2,qve as b3,$e as b4,$T as b5,rp as b6,Wu as b7,za as b8,vr as b9,s_ as bA,jlt as bB,I3e as bC,N6e as bD,Lo as bE,Sd as bF,B3e as bG,D3e as bH,xP as bI,Bf as bJ,Ia as bK,z3e as bL,M3e as bM,Jlt as bN,Hut as bO,zut as bP,Wut as bQ,jut as bR,TMe as bS,kut as bT,Uct as bU,_ct as bV,F3e as bW,U3e as bX,FRe as bY,j3e as bZ,B_ as b_,xn as ba,Tr as bb,QR as bc,bC as bd,qe as be,mt as bf,Dt as bg,yo as bh,iit as bi,g_ as bj,Vv as bk,Pre as bl,Llt as bm,Olt as bn,vt as bo,Qlt as bp,ia as bq,Br as br,Qt as bs,vxe as bt,f_ as bu,sre as bv,uy as bw,vE as bx,_K as by,ap as bz,GK as c,mV as c$,Zlt as c0,put as c1,ddt as c2,LP as c3,ore as c4,cdt as c5,Ni as c6,ydt as c7,eQe as c8,lO as c9,Vm as cA,Die as cB,OT as cC,tXe as cD,GJ as cE,ZJ as cF,gct as cG,Oct as cH,MZ as cI,Ove as cJ,Rut as cK,zt as cL,pr as cM,$Ue as cN,Yye as cO,Dlt as cP,KB as cQ,uct as cR,YUe as cS,hB as cT,kdt as cU,E3e as cV,jr as cW,ih as cX,mVe as cY,pVe as cZ,In as c_,IJ as ca,Zut as cb,d_ as cc,Lct as cd,Q$ as ce,out as cf,Z1e as cg,_m as ch,kye as ci,vJ as cj,JVe as ck,Ry as cl,Vlt as cm,$lt as cn,ZK as co,SK as cp,jFe as cq,dut as cr,UZ as cs,MJ as ct,ry as cu,Dve as cv,oLe as cw,QT as cx,XT as cy,mct as cz,v_ as d,Wlt as d$,Kut as d0,V3e as d1,en as d2,tn as d3,an as d4,Ph as d5,un as d6,it as d7,dn as d8,md as d9,b3e as dA,Iye as dB,mo as dC,Yq as dD,tC as dE,k_ as dF,I$ as dG,K1e as dH,H1e as dI,q1e as dJ,lye as dK,eY as dL,cq as dM,Put as dN,S3e as dO,Fut as dP,zB as dQ,rut as dR,fut as dS,Vx as dT,sut as dU,uut as dV,iut as dW,aut as dX,M1 as dY,eut as dZ,Y_ as d_,Wi as da,$y as db,Fm as dc,Wo as dd,hd as de,Qy as df,Cie as dg,wv as dh,Idt as di,m_ as dj,Hr as dk,Rr as dl,hdt as dm,gdt as dn,Sv as dp,vdt as dq,O3e as dr,eJ as ds,Qut as dt,A3e as du,C3e as dv,tJ as dw,k3e as dx,w$ as dy,Out as dz,ha as e,Jr as e$,WZe as e0,fdt as e1,are as e2,yz as e3,we as e4,Ie as e5,Ft as e6,Mve as e7,Fve as e8,iAe as e9,qQe as eA,H5e as eB,_Z as eC,a1 as eD,GB as eE,oJ as eF,u$ as eG,GMe as eH,P3e as eI,gut as eJ,hMe as eK,Tut as eL,Sut as eM,L3e as eN,pUe as eO,rf as eP,yut as eQ,iy as eR,zlt as eS,N3e as eT,Fct as eU,R3e as eV,x3e as eW,vMe as eX,w3e as eY,Brt as eZ,Aie as e_,zC as ea,xut as eb,$1e as ec,nrt as ed,Z_ as ee,by as ef,EUe as eg,P5e as eh,nY as ei,lct as ej,_lt as ek,ho as el,Tct as em,Ect as en,Ict as eo,Ylt as ep,Dh as eq,VE as er,LA as es,WFe as et,_ut as eu,Yf as ev,gy as ew,HMe as ex,act as ey,qK as ez,Jl as f,fS as f$,St as f0,jx as f1,Wy as f2,UE as f3,jye as f4,jJ as f5,BJ as f6,KUe as f7,GUe as f8,G_ as f9,j5e as fA,Y6e as fB,$6e as fC,y6e as fD,k6e as fE,ZUe as fF,bct as fG,kct as fH,tE as fI,vC as fJ,zP as fK,xG as fL,hC as fM,YG as fN,xr as fO,Mlt as fP,nut as fQ,wut as fR,Iut as fS,Sq as fT,Aye as fU,QH as fV,me as fW,a5e as fX,Q5e as fY,$_ as fZ,WC as f_,sct as fa,Cct as fb,tY as fc,xct as fd,HFe as fe,uO as ff,Mu as fg,wK as fh,xK as fi,NK as fj,jRe as fk,aRe as fl,vut as fm,but as fn,YJ as fo,T5e as fp,PXe as fq,DVe as fr,BVe as fs,Wf as ft,hN as fu,lE as fv,zg as fw,nNe as fx,rNe as fy,XUe as fz,As as g,G3e as g$,LQe as g0,kE as g1,EK as g2,SUe as g3,l5e as g4,Z5e as g5,X5e as g6,wct as g7,FVe as g8,MVe as g9,s1 as gA,Jut as gB,nTe as gC,ni as gD,Hi as gE,xo as gF,tK as gG,rh as gH,hK as gI,KG as gJ,J1e as gK,_c as gL,zat as gM,Qs as gN,Wd as gO,iq as gP,z9 as gQ,Jh as gR,Tft as gS,Sft as gT,kit as gU,nh as gV,Mct as gW,qut as gX,Gut as gY,Dct as gZ,y5e as g_,G4e as ga,ln as gb,Uut as gc,BN as gd,G$ as ge,Vut as gf,sLe as gg,she as gh,mE as gi,cVe as gj,GRe as gk,kJ as gl,f6e as gm,PQe as gn,tN as go,Mg as gp,Fg as gq,pke as gr,Sct as gs,Act as gt,rY as gu,gi as gv,mr as gw,N6 as gx,$ut as gy,_3e as gz,qr as h,IN as h$,bJ as h0,nJ as h1,zN as h2,Klt as h3,wV as h4,vye as h5,Hlt as h6,gNe as h7,dq as h8,Hve as h9,i6e as hA,s6e as hB,Uye as hC,Q1e as hD,yct as hE,u8e as hF,zZ as hG,f8e as hH,sdt as hI,gf as hJ,Lh as hK,adt as hL,jC as hM,bP as hN,fq as hO,GZe as hP,pdt as hQ,UK as hR,mdt as hS,nQe as hT,vCe as hU,FF as hV,vs as hW,qlt as hX,ict as hY,g5e as hZ,oct as h_,YFe as ha,fct as hb,qUe as hc,lut as hd,Hye as he,QUe as hf,cUe as hg,Rct as hh,$Qe as hi,Xut as hj,Nct as hk,TS as hl,t8 as hm,n8 as hn,ZMe as ho,GFe as hp,a6e as hq,rk as hr,wNe as hs,dUe as ht,VZ as hu,fUe as hv,u5e as hw,HVe as hx,uUe as hy,Em as hz,En as i,fft as i$,r5e as i0,TP as i1,JUe as i2,Cut as i3,wlt as i4,ep as i5,$G as i6,xCe as i7,Rs as i8,q7 as i9,eie as iA,sn as iB,Snt as iC,JR as iD,mft as iE,iie as iF,Cft as iG,nit as iH,GA as iI,Pl as iJ,Hnt as iK,TF as iL,Cnt as iM,Rft as iN,Int as iO,Xv as iP,sft as iQ,_dt as iR,wdt as iS,Urt as iT,Lk as iU,$h as iV,lft as iW,tft as iX,pft as iY,hft as iZ,dft as i_,nlt as ia,fN as ib,ixe as ic,JP as id,fy as ie,AK as ig,eK as ih,TN as ii,qo as ij,Eut as ik,Qc as il,Lut as im,ik as io,Glt as ip,WK as iq,S1e as ir,kT as is,ett as it,jre as iu,ait as iv,OF as iw,cit as ix,Yh as iy,nie as iz,b as j,vft as j$,tot as j0,$re as j1,wft as j2,fie as j3,vot as j4,CO as j5,UCe as j6,Tdt as j7,Edt as j8,Adt as j9,LO as jA,bat as jB,Lot as jC,OO as jD,pp as jE,WA as jF,mot as jG,UA as jH,yie as jI,Mot as jJ,Prt as jK,Ont as jL,fot as jM,Pnt as jN,pit as jO,Vdt as jP,Udt as jQ,xk as jR,Yre as jS,Nft as jT,Rk as jU,iot as jV,not as jW,IO as jX,oft as jY,Hre as jZ,gft as j_,_ft as ja,Vrt as jb,lrt as jc,sie as jd,Oft as je,Pft as jf,gie as jg,Zr as jh,Wdt as ji,Bdt as jj,Hl as jk,Xy as jl,VA as jm,znt as jn,MK as jo,rit as jp,eat as jq,ek as jr,po as js,Xre as jt,Ndt as ju,uft as jv,sit as jw,RF as jx,NF as jy,rx as jz,Ra as k,Uft as k$,uit as k0,zdt as k1,yft as k2,kft as k3,vit as k4,wO as k5,vrt as k6,qdt as k7,yrt as k8,Gdt as k9,Frt as kA,Rdt as kB,xF as kC,Ldt as kD,Odt as kE,Mrt as kF,Jdt as kG,xdt as kH,Ydt as kI,Dft as kJ,Mft as kK,Fft as kL,cft as kM,Fdt as kN,Mdt as kO,Ddt as kP,rie as kQ,Znt as kR,Eft as kS,H0 as kT,x
20527 as kU,Xdt as kV,wnt as kW,Tot as kX,HA as kY,Xit as kZ,eot as k_,y7 as ka,Hdt as kb,FA as kc,Kdt as kd,brt as ke,gnt as kf,pot as kg,Mf as kh,Zh as ki,pie as kj,Jre as kk,Aft as kl,Ift as km,eft as kn,Xn as ko,qA as kp,bft as kq,crt as kr,AO as ks,jdt as kt,urt as ku,LF as kv,$dt as kw,Qdt as kx,Zdt as ky,Pdt as kz,Bct as l,Bft as l0,Vft as l1,jft as l2,zft as l3,Hft as l4,Wft as l5,qft as l6,Gft as l7,Kft as l8,$ft as l9,But as lA,ect as lB,tct as lC,nct as lD,rct as lE,Sdt as lF,Yft as la,yot as lb,Tat as lc,wat as ld,Jft as le,Cdt as lf,Es as lg,Tie as lh,ift as li,mrt as lj,A7 as lk,Qrt as ll,nm as lm,ss as ln,frt as lo,Nat as lp,Rat as lq,Zft as lr,Pat as ls,nft as lt,Lft as lu,xft as lv,Cot as lw,Vat as lx,rft as ly,aft as lz,u6e as m,WN as n,Vct as o,HC as p,Ku as q,m as r,dk as s,ma as t,Tn as u,vct as v,Plt as w,zn as x,Hf as y,Ore as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.