@xrkseek/harness-cli 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@xrkseek/core-agent/dist/index.d.ts +6 -1
- package/node_modules/@xrkseek/core-agent/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-agent/dist/index.js +3 -0
- package/node_modules/@xrkseek/core-agent/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts +11 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/index.js +14 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.d.ts +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.js +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/registry.d.ts +5 -0
- package/node_modules/@xrkseek/exec-pty/dist/registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/registry.js +17 -1
- package/node_modules/@xrkseek/exec-pty/dist/registry.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/render.d.ts +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/render.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/render.js +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/render.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/tools.js +13 -4
- package/node_modules/@xrkseek/exec-pty/dist/tools.js.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +3 -2
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.js +12 -7
- package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/preset-minimal/dist/preset.d.ts +3 -2
- package/node_modules/@xrkseek/preset-minimal/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-minimal/dist/preset.js +12 -7
- package/node_modules/@xrkseek/preset-minimal/dist/preset.js.map +1 -1
- package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.d.ts +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.js +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-schema.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-schema.js +50 -0
- package/node_modules/@xrkseek/protocol/dist/json-schema.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts +56 -0
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.js +9 -0
- package/node_modules/@xrkseek/protocol/dist/session-events.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/validate.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/validate.js +129 -0
- package/node_modules/@xrkseek/protocol/dist/validate.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js +5 -2
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/session-list-metadata.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/session-list-metadata.js +5 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/session-list-metadata.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.js +12 -2
- package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-list.d.ts +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-list.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-list.js +1 -0
- package/node_modules/@xrkseek/server-face/dist/skill-list.js.map +1 -1
- package/node_modules/@xrkseek/session-projection/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/README.md +3 -23
- package/node_modules/@xrkseek/workspace/dist/durable-inject.d.ts +62 -0
- package/node_modules/@xrkseek/workspace/dist/durable-inject.d.ts.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/durable-inject.js +146 -0
- package/node_modules/@xrkseek/workspace/dist/durable-inject.js.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/index.d.ts +25 -13
- package/node_modules/@xrkseek/workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/index.js +79 -17
- package/node_modules/@xrkseek/workspace/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-tools.js +6 -0
- package/node_modules/@xrkseek/workspace/dist/skill-tools.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skills.d.ts +12 -1
- package/node_modules/@xrkseek/workspace/dist/skills.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skills.js +42 -4
- package/node_modules/@xrkseek/workspace/dist/skills.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/slash.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/slash.js +2 -0
- package/node_modules/@xrkseek/workspace/dist/slash.js.map +1 -1
- package/node_modules/@xrkseek/workspace/package.json +2 -1
- package/package.json +1 -1
- package/product-web/assets/index-CcF0Sxxg.js +297 -0
- package/product-web/assets/index-CcF0Sxxg.js.map +1 -0
- package/product-web/assets/langs/{php-9bx0az3O.js → php-DY2VakOf.js} +2 -2
- package/product-web/assets/langs/{php-9bx0az3O.js.map → php-DY2VakOf.js.map} +1 -1
- package/product-web/assets/langs/{ruby-HDLHRjSL.js → ruby-hwtoiFmS.js} +2 -2
- package/product-web/assets/langs/{ruby-HDLHRjSL.js.map → ruby-hwtoiFmS.js.map} +1 -1
- package/product-web/assets/{vendor-CeMKrCZm.js → vendor-CldRVjca.js} +35 -36
- package/product-web/assets/vendor-CldRVjca.js.map +1 -0
- package/product-web/boot.json +1 -1
- package/product-web/index.html +2 -2
- package/product-web/plugins/@xrkseek/client-locale/client.js +2 -2
- package/product-web/plugins/@xrkseek/client-runtime/client.js +37 -1
- package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +34 -34
- package/product-web/plugins/@xrkseek/client-ui-commands/client.js +7 -7
- package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +161 -161
- package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +26 -26
- package/product-web/plugins/@xrkseek/client-ui-goal/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +2 -2
- package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-layout/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +19 -19
- package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-plan/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-settings-general/client.js +14 -14
- package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +51 -51
- package/product-web/plugins/@xrkseek/client-ui-settings-plugin-inventory/client.js +12 -12
- package/product-web/plugins/@xrkseek/client-ui-settings-plugins/client.js +42 -42
- package/product-web/plugins/@xrkseek/client-ui-sidebar/client.js +13 -13
- package/product-web/plugins/@xrkseek/client-ui-skill/client.js +13 -13
- package/product-web/plugins/@xrkseek/client-ui-subagent/client.js +17 -17
- package/product-web/plugins/@xrkseek/client-ui-theme/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-tool/client.js +39 -39
- package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +171 -150
- package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +27 -27
- package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +15 -15
- package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +53 -53
- package/node_modules/@xrkseek/server-face/dist/dsh-schema.d.ts +0 -35
- package/node_modules/@xrkseek/server-face/dist/dsh-schema.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/dsh-schema.js +0 -116
- package/node_modules/@xrkseek/server-face/dist/dsh-schema.js.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/envelope.d.ts +0 -23
- package/node_modules/@xrkseek/server-face/dist/envelope.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/envelope.js +0 -51
- package/node_modules/@xrkseek/server-face/dist/envelope.js.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/rpc-error.d.ts +0 -15
- package/node_modules/@xrkseek/server-face/dist/rpc-error.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/rpc-error.js +0 -247
- package/node_modules/@xrkseek/server-face/dist/rpc-error.js.map +0 -1
- package/product-web/assets/index-BwSJq-Ch.js +0 -112
- package/product-web/assets/index-BwSJq-Ch.js.map +0 -1
- package/product-web/assets/vendor-CeMKrCZm.js.map +0 -1
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/langs/ruby-hwtoiFmS.js","assets/langs/html-CfGypltT.js","assets/langs/css-CLj8gQPS.js","assets/langs/xml-sdJ4AIDG.js","assets/langs/java-CylS5w8V.js","assets/langs/sql-CRqJ_cUM.js","assets/vendor-CldRVjca.js","assets/vendor-CjyC-hUb.css","assets/langs/cpp-DddhVWhK.js","assets/langs/c-BIGW1oBm.js","assets/langs/lua-BaeVxFsk.js","assets/langs/yaml-Buea-lGh.js","assets/langs/php-DY2VakOf.js","assets/langs/scss-D5BDwBP9.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var QN=Object.defineProperty;var ek=(n,i,o)=>i in n?QN(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o;var P=(n,i,o)=>ek(n,typeof i!="symbol"?i+"":i,o);import{g as Iu,c as tk,a as rk,b as nk,d as ik,t as sk,s as ak,j as ok,e as lk,f as nt,h as a2,i as mm,u as uk,m as Uo,k as Ln,l as Vh,n as d8,o as p8,p as ck,q as h8,r as fk,v as o2,w as Km}from"./vendor-CldRVjca.js";function x1(n,i){for(var o=0;o<i.length;o++){const l=i[o];if(typeof l!="string"&&!Array.isArray(l)){for(const c in l)if(c!=="default"&&!(c in n)){const d=Object.getOwnPropertyDescriptor(l,c);d&&Object.defineProperty(n,c,d.get?d:{enumerable:!0,get:()=>l[c]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))l(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&l(f)}).observe(document,{childList:!0,subtree:!0});function o(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function l(c){if(c.ep)return;c.ep=!0;const d=o(c);fetch(c.href,d)}})();var Mh={exports:{}},n1={},Ah={exports:{}},Vu={exports:{}};Vu.exports;var l2;function dk(){return l2||(l2=1,(function(n,i){/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react.development.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var o="18.3.1",l=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),b=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),V=Symbol.for("react.offscreen"),J=Symbol.iterator,te="@@iterator";function Y(y){if(y===null||typeof y!="object")return null;var D=J&&y[J]||y[te];return typeof D=="function"?D:null}var I={current:null},oe={transition:null},Z={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},q={current:null},G={},ge=null;function B(y){ge=y}G.setExtraStackFrame=function(y){ge=y},G.getCurrentStack=null,G.getStackAddendum=function(){var y="";ge&&(y+=ge);var D=G.getCurrentStack;return D&&(y+=D()||""),y};var ue=!1,ie=!1,me=!1,ne=!1,we=!1,Ne={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:oe,ReactCurrentOwner:q};Ne.ReactDebugCurrentFrame=G,Ne.ReactCurrentActQueue=Z;function Ie(y){{for(var D=arguments.length,M=new Array(D>1?D-1:0),$=1;$<D;$++)M[$-1]=arguments[$];bt("warn",y,M)}}function Le(y){{for(var D=arguments.length,M=new Array(D>1?D-1:0),$=1;$<D;$++)M[$-1]=arguments[$];bt("error",y,M)}}function bt(y,D,M){{var $=Ne.ReactDebugCurrentFrame,ce=$.getStackAddendum();ce!==""&&(D+="%s",M=M.concat([ce]));var Xe=M.map(function(De){return String(De)});Xe.unshift("Warning: "+D),Function.prototype.apply.call(console[y],console,Xe)}}var Tt={};function Lt(y,D){{var M=y.constructor,$=M&&(M.displayName||M.name)||"ReactClass",ce=$+"."+D;if(Tt[ce])return;Le("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",D,$),Tt[ce]=!0}}var Zt={isMounted:function(y){return!1},enqueueForceUpdate:function(y,D,M){Lt(y,"forceUpdate")},enqueueReplaceState:function(y,D,M,$){Lt(y,"replaceState")},enqueueSetState:function(y,D,M,$){Lt(y,"setState")}},ke=Object.assign,rt={};Object.freeze(rt);function Ct(y,D,M){this.props=y,this.context=D,this.refs=rt,this.updater=M||Zt}Ct.prototype.isReactComponent={},Ct.prototype.setState=function(y,D){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,D,"setState")},Ct.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var cn={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},fn=function(y,D){Object.defineProperty(Ct.prototype,y,{get:function(){Ie("%s(...) is deprecated in plain JavaScript React classes. %s",D[0],D[1])}})};for(var qt in cn)cn.hasOwnProperty(qt)&&fn(qt,cn[qt])}function hr(){}hr.prototype=Ct.prototype;function Wt(y,D,M){this.props=y,this.context=D,this.refs=rt,this.updater=M||Zt}var Ft=Wt.prototype=new hr;Ft.constructor=Wt,ke(Ft,Ct.prototype),Ft.isPureReactComponent=!0;function sr(){var y={current:null};return Object.seal(y),y}var wr=Array.isArray;function Gt(y){return wr(y)}function Nr(y){{var D=typeof Symbol=="function"&&Symbol.toStringTag,M=D&&y[Symbol.toStringTag]||y.constructor.name||"Object";return M}}function Ht(y){try{return Xt(y),!1}catch{return!0}}function Xt(y){return""+y}function Ir(y){if(Ht(y))return Le("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Nr(y)),Xt(y)}function On(y,D,M){var $=y.displayName;if($)return $;var ce=D.displayName||D.name||"";return ce!==""?M+"("+ce+")":M}function Ur(y){return y.displayName||"Context"}function Vr(y){if(y==null)return null;if(typeof y.tag=="number"&&Le("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case d:return"Fragment";case c:return"Portal";case v:return"Profiler";case f:return"StrictMode";case S:return"Suspense";case E:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case b:var D=y;return Ur(D)+".Consumer";case x:var M=y;return Ur(M._context)+".Provider";case N:return On(y,y.render,"ForwardRef");case k:var $=y.displayName||null;return $!==null?$:Vr(y.type)||"Memo";case T:{var ce=y,Xe=ce._payload,De=ce._init;try{return Vr(De(Xe))}catch{return null}}}return null}var mr=Object.prototype.hasOwnProperty,Yt={key:!0,ref:!0,__self:!0,__source:!0},kr,Kn,zt;zt={};function vr(y){if(mr.call(y,"ref")){var D=Object.getOwnPropertyDescriptor(y,"ref").get;if(D&&D.isReactWarning)return!1}return y.ref!==void 0}function Er(y){if(mr.call(y,"key")){var D=Object.getOwnPropertyDescriptor(y,"key").get;if(D&&D.isReactWarning)return!1}return y.key!==void 0}function ui(y,D){var M=function(){kr||(kr=!0,Le("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",D))};M.isReactWarning=!0,Object.defineProperty(y,"key",{get:M,configurable:!0})}function jn(y,D){var M=function(){Kn||(Kn=!0,Le("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",D))};M.isReactWarning=!0,Object.defineProperty(y,"ref",{get:M,configurable:!0})}function de(y){if(typeof y.ref=="string"&&q.current&&y.__self&&q.current.stateNode!==y.__self){var D=Vr(q.current.type);zt[D]||(Le('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',D,y.ref),zt[D]=!0)}}var Te=function(y,D,M,$,ce,Xe,De){var Be={$$typeof:l,type:y,key:D,ref:M,props:De,_owner:Xe};return Be._store={},Object.defineProperty(Be._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Be,"_self",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.defineProperty(Be,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ce}),Object.freeze&&(Object.freeze(Be.props),Object.freeze(Be)),Be};function Pe(y,D,M){var $,ce={},Xe=null,De=null,Be=null,Ge=null;if(D!=null){vr(D)&&(De=D.ref,de(D)),Er(D)&&(Ir(D.key),Xe=""+D.key),Be=D.__self===void 0?null:D.__self,Ge=D.__source===void 0?null:D.__source;for($ in D)mr.call(D,$)&&!Yt.hasOwnProperty($)&&(ce[$]=D[$])}var mt=arguments.length-2;if(mt===1)ce.children=M;else if(mt>1){for(var Dt=Array(mt),St=0;St<mt;St++)Dt[St]=arguments[St+2];Object.freeze&&Object.freeze(Dt),ce.children=Dt}if(y&&y.defaultProps){var We=y.defaultProps;for($ in We)ce[$]===void 0&&(ce[$]=We[$])}if(Xe||De){var Mt=typeof y=="function"?y.displayName||y.name||"Unknown":y;Xe&&ui(ce,Mt),De&&jn(ce,Mt)}return Te(y,Xe,De,Be,Ge,q.current,ce)}function ct(y,D){var M=Te(y.type,D,y.ref,y._self,y._source,y._owner,y.props);return M}function Rt(y,D,M){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var $,ce=ke({},y.props),Xe=y.key,De=y.ref,Be=y._self,Ge=y._source,mt=y._owner;if(D!=null){vr(D)&&(De=D.ref,mt=q.current),Er(D)&&(Ir(D.key),Xe=""+D.key);var Dt;y.type&&y.type.defaultProps&&(Dt=y.type.defaultProps);for($ in D)mr.call(D,$)&&!Yt.hasOwnProperty($)&&(D[$]===void 0&&Dt!==void 0?ce[$]=Dt[$]:ce[$]=D[$])}var St=arguments.length-2;if(St===1)ce.children=M;else if(St>1){for(var We=Array(St),Mt=0;Mt<St;Mt++)We[Mt]=arguments[Mt+2];ce.children=We}return Te(y.type,Xe,De,Be,Ge,mt,ce)}function Ot(y){return typeof y=="object"&&y!==null&&y.$$typeof===l}var Kt=".",gr=":";function Nt(y){var D=/[=:]/g,M={"=":"=0",":":"=2"},$=y.replace(D,function(ce){return M[ce]});return"$"+$}var ht=!1,xt=/\/+/g;function Zr(y){return y.replace(xt,"$&/")}function qr(y,D){return typeof y=="object"&&y!==null&&y.key!=null?(Ir(y.key),Nt(""+y.key)):D.toString(36)}function Wr(y,D,M,$,ce){var Xe=typeof y;(Xe==="undefined"||Xe==="boolean")&&(y=null);var De=!1;if(y===null)De=!0;else switch(Xe){case"string":case"number":De=!0;break;case"object":switch(y.$$typeof){case l:case c:De=!0}}if(De){var Be=y,Ge=ce(Be),mt=$===""?Kt+qr(Be,0):$;if(Gt(Ge)){var Dt="";mt!=null&&(Dt=Zr(mt)+"/"),Wr(Ge,D,Dt,"",function(X1){return X1})}else Ge!=null&&(Ot(Ge)&&(Ge.key&&(!Be||Be.key!==Ge.key)&&Ir(Ge.key),Ge=ct(Ge,M+(Ge.key&&(!Be||Be.key!==Ge.key)?Zr(""+Ge.key)+"/":"")+mt)),D.push(Ge));return 1}var St,We,Mt=0,Qt=$===""?Kt:$+gr;if(Gt(y))for(var Ps=0;Ps<y.length;Ps++)St=y[Ps],We=Qt+qr(St,Ps),Mt+=Wr(St,D,M,We,ce);else{var rl=Y(y);if(typeof rl=="function"){var Vi=y;rl===Vi.entries&&(ht||Ie("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ht=!0);for(var nl=rl.call(Vi),il,j1=0;!(il=nl.next()).done;)St=il.value,We=Qt+qr(St,j1++),Mt+=Wr(St,D,M,We,ce)}else if(Xe==="object"){var nc=String(y);throw new Error("Objects are not valid as a React child (found: "+(nc==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":nc)+"). If you meant to render a collection of children, use an array instead.")}}return Mt}function Pn(y,D,M){if(y==null)return y;var $=[],ce=0;return Wr(y,$,"","",function(Xe){return D.call(M,Xe,ce++)}),$}function cs(y){var D=0;return Pn(y,function(){D++}),D}function _i(y,D,M){Pn(y,function(){D.apply(this,arguments)},M)}function Ti(y){return Pn(y,function(D){return D})||[]}function Li(y){if(!Ot(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function Oi(y){var D={$$typeof:b,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};D.Provider={$$typeof:x,_context:D};var M=!1,$=!1,ce=!1;{var Xe={$$typeof:b,_context:D};Object.defineProperties(Xe,{Provider:{get:function(){return $||($=!0,Le("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),D.Provider},set:function(De){D.Provider=De}},_currentValue:{get:function(){return D._currentValue},set:function(De){D._currentValue=De}},_currentValue2:{get:function(){return D._currentValue2},set:function(De){D._currentValue2=De}},_threadCount:{get:function(){return D._threadCount},set:function(De){D._threadCount=De}},Consumer:{get:function(){return M||(M=!0,Le("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),D.Consumer}},displayName:{get:function(){return D.displayName},set:function(De){ce||(Ie("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",De),ce=!0)}}}),D.Consumer=Xe}return D._currentRenderer=null,D._currentRenderer2=null,D}var bn=-1,Yr=0,Mr=1,Xn=2;function Ki(y){if(y._status===bn){var D=y._result,M=D();if(M.then(function(Xe){if(y._status===Yr||y._status===bn){var De=y;De._status=Mr,De._result=Xe}},function(Xe){if(y._status===Yr||y._status===bn){var De=y;De._status=Xn,De._result=Xe}}),y._status===bn){var $=y;$._status=Yr,$._result=M}}if(y._status===Mr){var ce=y._result;return ce===void 0&&Le(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
11
|
+
|
|
12
|
+
Your code should look like:
|
|
13
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
14
|
+
|
|
15
|
+
Did you accidentally put curly braces around the import?`,ce),"default"in ce||Le(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
16
|
+
|
|
17
|
+
Your code should look like:
|
|
18
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,ce),ce.default}else throw y._result}function _(y){var D={_status:bn,_result:y},M={$$typeof:T,_payload:D,_init:Ki};{var $,ce;Object.defineProperties(M,{defaultProps:{configurable:!0,get:function(){return $},set:function(Xe){Le("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),$=Xe,Object.defineProperty(M,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return ce},set:function(Xe){Le("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),ce=Xe,Object.defineProperty(M,"propTypes",{enumerable:!0})}}})}return M}function re(y){y!=null&&y.$$typeof===k?Le("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof y!="function"?Le("forwardRef requires a render function but was given %s.",y===null?"null":typeof y):y.length!==0&&y.length!==2&&Le("forwardRef render functions accept exactly two parameters: props and ref. %s",y.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),y!=null&&(y.defaultProps!=null||y.propTypes!=null)&&Le("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var D={$$typeof:N,render:y};{var M;Object.defineProperty(D,"displayName",{enumerable:!1,configurable:!0,get:function(){return M},set:function($){M=$,!y.name&&!y.displayName&&(y.displayName=$)}})}return D}var w;w=Symbol.for("react.module.reference");function X(y){return!!(typeof y=="string"||typeof y=="function"||y===d||y===v||we||y===f||y===S||y===E||ne||y===V||ue||ie||me||typeof y=="object"&&y!==null&&(y.$$typeof===T||y.$$typeof===k||y.$$typeof===x||y.$$typeof===b||y.$$typeof===N||y.$$typeof===w||y.getModuleId!==void 0))}function Q(y,D){X(y)||Le("memo: The first argument must be a component. Instead received: %s",y===null?"null":typeof y);var M={$$typeof:k,type:y,compare:D===void 0?null:D};{var $;Object.defineProperty(M,"displayName",{enumerable:!1,configurable:!0,get:function(){return $},set:function(ce){$=ce,!y.name&&!y.displayName&&(y.displayName=ce)}})}return M}function ae(){var y=I.current;return y===null&&Le(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
19
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
|
+
2. You might be breaking the Rules of Hooks
|
|
21
|
+
3. You might have more than one copy of React in the same app
|
|
22
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}function ye(y){var D=ae();if(y._context!==void 0){var M=y._context;M.Consumer===y?Le("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):M.Provider===y&&Le("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return D.useContext(y)}function fe(y){var D=ae();return D.useState(y)}function Ke(y,D,M){var $=ae();return $.useReducer(y,D,M)}function Se(y){var D=ae();return D.useRef(y)}function qe(y,D){var M=ae();return M.useEffect(y,D)}function Je(y,D){var M=ae();return M.useInsertionEffect(y,D)}function dt(y,D){var M=ae();return M.useLayoutEffect(y,D)}function Ut(y,D){var M=ae();return M.useCallback(y,D)}function kt(y,D){var M=ae();return M.useMemo(y,D)}function Jr(y,D,M){var $=ae();return $.useImperativeHandle(y,D,M)}function Et(y,D){{var M=ae();return M.useDebugValue(y,D)}}function ze(){var y=ae();return y.useTransition()}function ji(y){var D=ae();return D.useDeferredValue(y)}function Ta(){var y=ae();return y.useId()}function Zu(y,D,M){var $=ae();return $.useSyncExternalStore(y,D,M)}var fs=0,$o,Fo,zo,Po,Io,qu,Wu;function La(){}La.__reactDisabledLog=!0;function Zo(){{if(fs===0){$o=console.log,Fo=console.info,zo=console.warn,Po=console.error,Io=console.group,qu=console.groupCollapsed,Wu=console.groupEnd;var y={configurable:!0,enumerable:!0,value:La,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}fs++}}function ci(){{if(fs--,fs===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ke({},y,{value:$o}),info:ke({},y,{value:Fo}),warn:ke({},y,{value:zo}),error:ke({},y,{value:Po}),group:ke({},y,{value:Io}),groupCollapsed:ke({},y,{value:qu}),groupEnd:ke({},y,{value:Wu})})}fs<0&&Le("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Hs=Ne.ReactCurrentDispatcher,ds;function Oa(y,D,M){{if(ds===void 0)try{throw Error()}catch(ce){var $=ce.stack.trim().match(/\n( *(at )?)/);ds=$&&$[1]||""}return`
|
|
23
|
+
`+ds+y}}var Bs=!1,Ka;{var qo=typeof WeakMap=="function"?WeakMap:Map;Ka=new qo}function Yu(y,D){if(!y||Bs)return"";{var M=Ka.get(y);if(M!==void 0)return M}var $;Bs=!0;var ce=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Xe;Xe=Hs.current,Hs.current=null,Zo();try{if(D){var De=function(){throw Error()};if(Object.defineProperty(De.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(De,[])}catch(Qt){$=Qt}Reflect.construct(y,[],De)}else{try{De.call()}catch(Qt){$=Qt}y.call(De.prototype)}}else{try{throw Error()}catch(Qt){$=Qt}y()}}catch(Qt){if(Qt&&$&&typeof Qt.stack=="string"){for(var Be=Qt.stack.split(`
|
|
24
|
+
`),Ge=$.stack.split(`
|
|
25
|
+
`),mt=Be.length-1,Dt=Ge.length-1;mt>=1&&Dt>=0&&Be[mt]!==Ge[Dt];)Dt--;for(;mt>=1&&Dt>=0;mt--,Dt--)if(Be[mt]!==Ge[Dt]){if(mt!==1||Dt!==1)do if(mt--,Dt--,Dt<0||Be[mt]!==Ge[Dt]){var St=`
|
|
26
|
+
`+Be[mt].replace(" at new "," at ");return y.displayName&&St.includes("<anonymous>")&&(St=St.replace("<anonymous>",y.displayName)),typeof y=="function"&&Ka.set(y,St),St}while(mt>=1&&Dt>=0);break}}}finally{Bs=!1,Hs.current=Xe,ci(),Error.prepareStackTrace=ce}var We=y?y.displayName||y.name:"",Mt=We?Oa(We):"";return typeof y=="function"&&Ka.set(y,Mt),Mt}function Wo(y,D,M){return Yu(y,!1)}function _1(y){var D=y.prototype;return!!(D&&D.isReactComponent)}function $s(y,D,M){if(y==null)return"";if(typeof y=="function")return Yu(y,_1(y));if(typeof y=="string")return Oa(y);switch(y){case S:return Oa("Suspense");case E:return Oa("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case N:return Wo(y.render);case k:return $s(y.type,D,M);case T:{var $=y,ce=$._payload,Xe=$._init;try{return $s(Xe(ce),D,M)}catch{}}}return""}var Ju={},Yo=Ne.ReactDebugCurrentFrame;function ot(y){if(y){var D=y._owner,M=$s(y.type,y._source,D?D.type:null);Yo.setExtraStackFrame(M)}else Yo.setExtraStackFrame(null)}function T1(y,D,M,$,ce){{var Xe=Function.call.bind(mr);for(var De in y)if(Xe(y,De)){var Be=void 0;try{if(typeof y[De]!="function"){var Ge=Error(($||"React class")+": "+M+" type `"+De+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[De]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ge.name="Invariant Violation",Ge}Be=y[De](D,De,$,M,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(mt){Be=mt}Be&&!(Be instanceof Error)&&(ot(ce),Le("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",$||"React class",M,De,typeof Be),ot(null)),Be instanceof Error&&!(Be.message in Ju)&&(Ju[Be.message]=!0,ot(ce),Le("Failed %s type: %s",M,Be.message),ot(null))}}}function Xi(y){if(y){var D=y._owner,M=$s(y.type,y._source,D?D.type:null);B(M)}else B(null)}var Fe;Fe=!1;function Jo(){if(q.current){var y=Vr(q.current.type);if(y)return`
|
|
27
|
+
|
|
28
|
+
Check the render method of \``+y+"`."}return""}function Gr(y){if(y!==void 0){var D=y.fileName.replace(/^.*[\\\/]/,""),M=y.lineNumber;return`
|
|
29
|
+
|
|
30
|
+
Check your code at `+D+":"+M+"."}return""}function Fs(y){return y!=null?Gr(y.__source):""}var ps={};function L1(y){var D=Jo();if(!D){var M=typeof y=="string"?y:y.displayName||y.name;M&&(D=`
|
|
31
|
+
|
|
32
|
+
Check the top-level render call using <`+M+">.")}return D}function yr(y,D){if(!(!y._store||y._store.validated||y.key!=null)){y._store.validated=!0;var M=L1(D);if(!ps[M]){ps[M]=!0;var $="";y&&y._owner&&y._owner!==q.current&&($=" It was passed a child from "+Vr(y._owner.type)+"."),Xi(y),Le('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',M,$),Xi(null)}}}function Vt(y,D){if(typeof y=="object"){if(Gt(y))for(var M=0;M<y.length;M++){var $=y[M];Ot($)&&yr($,D)}else if(Ot(y))y._store&&(y._store.validated=!0);else if(y){var ce=Y(y);if(typeof ce=="function"&&ce!==y.entries)for(var Xe=ce.call(y),De;!(De=Xe.next()).done;)Ot(De.value)&&yr(De.value,D)}}}function Gu(y){{var D=y.type;if(D==null||typeof D=="string")return;var M;if(typeof D=="function")M=D.propTypes;else if(typeof D=="object"&&(D.$$typeof===N||D.$$typeof===k))M=D.propTypes;else return;if(M){var $=Vr(D);T1(M,y.props,"prop",$,y)}else if(D.PropTypes!==void 0&&!Fe){Fe=!0;var ce=Vr(D);Le("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ce||"Unknown")}typeof D.getDefaultProps=="function"&&!D.getDefaultProps.isReactClassApproved&&Le("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Un(y){{for(var D=Object.keys(y.props),M=0;M<D.length;M++){var $=D[M];if($!=="children"&&$!=="key"){Xi(y),Le("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$),Xi(null);break}}y.ref!==null&&(Xi(y),Le("Invalid attribute `ref` supplied to `React.Fragment`."),Xi(null))}}function Qr(y,D,M){var $=X(y);if(!$){var ce="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(ce+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Xe=Fs(D);Xe?ce+=Xe:ce+=Jo();var De;y===null?De="null":Gt(y)?De="array":y!==void 0&&y.$$typeof===l?(De="<"+(Vr(y.type)||"Unknown")+" />",ce=" Did you accidentally export a JSX literal instead of a component?"):De=typeof y,Le("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",De,ce)}var Be=Pe.apply(this,arguments);if(Be==null)return Be;if($)for(var Ge=2;Ge<arguments.length;Ge++)Vt(arguments[Ge],y);return y===d?Un(Be):Gu(Be),Be}var In=!1;function O1(y){var D=Qr.bind(null,y);return D.type=y,In||(In=!0,Ie("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(D,"type",{enumerable:!1,get:function(){return Ie("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:y}),y}}),D}function Go(y,D,M){for(var $=Rt.apply(this,arguments),ce=2;ce<arguments.length;ce++)Vt(arguments[ce],$.type);return Gu($),$}function Qu(y,D){var M=oe.transition;oe.transition={};var $=oe.transition;oe.transition._updatedFibers=new Set;try{y()}finally{if(oe.transition=M,M===null&&$._updatedFibers){var ce=$._updatedFibers.size;ce>10&&Ie("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),$._updatedFibers.clear()}}}var Qo=!1,ja=null;function K1(y){if(ja===null)try{var D=("require"+Math.random()).slice(0,7),M=n&&n[D];ja=M.call(n,"timers").setImmediate}catch{ja=function(ce){Qo===!1&&(Qo=!0,typeof MessageChannel>"u"&&Le("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Xe=new MessageChannel;Xe.port1.onmessage=ce,Xe.port2.postMessage(void 0)}}return ja(y)}var hs=0,zs=!1;function el(y){{var D=hs;hs++,Z.current===null&&(Z.current=[]);var M=Z.isBatchingLegacy,$;try{if(Z.isBatchingLegacy=!0,$=y(),!M&&Z.didScheduleLegacyUpdate){var ce=Z.current;ce!==null&&(Z.didScheduleLegacyUpdate=!1,Va(ce))}}catch(We){throw Ui(D),We}finally{Z.isBatchingLegacy=M}if($!==null&&typeof $=="object"&&typeof $.then=="function"){var Xe=$,De=!1,Be={then:function(We,Mt){De=!0,Xe.then(function(Qt){Ui(D),hs===0?Xa(Qt,We,Mt):We(Qt)},function(Qt){Ui(D),Mt(Qt)})}};return!zs&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){De||(zs=!0,Le("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Be}else{var Ge=$;if(Ui(D),hs===0){var mt=Z.current;mt!==null&&(Va(mt),Z.current=null);var Dt={then:function(We,Mt){Z.current===null?(Z.current=[],Xa(Ge,We,Mt)):We(Ge)}};return Dt}else{var St={then:function(We,Mt){We(Ge)}};return St}}}}function Ui(y){y!==hs-1&&Le("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),hs=y}function Xa(y,D,M){{var $=Z.current;if($!==null)try{Va($),K1(function(){$.length===0?(Z.current=null,D(y)):Xa(y,D,M)})}catch(ce){M(ce)}else D(y)}}var Ua=!1;function Va(y){if(!Ua){Ua=!0;var D=0;try{for(;D<y.length;D++){var M=y[D];do M=M(!0);while(M!==null)}y.length=0}catch($){throw y=y.slice(D+1),$}finally{Ua=!1}}}var ec=Qr,tc=Go,tl=O1,rc={map:Pn,forEach:_i,count:cs,toArray:Ti,only:Li};i.Children=rc,i.Component=Ct,i.Fragment=d,i.Profiler=v,i.PureComponent=Wt,i.StrictMode=f,i.Suspense=S,i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ne,i.act=el,i.cloneElement=tc,i.createContext=Oi,i.createElement=ec,i.createFactory=tl,i.createRef=sr,i.forwardRef=re,i.isValidElement=Ot,i.lazy=_,i.memo=Q,i.startTransition=Qu,i.unstable_act=el,i.useCallback=Ut,i.useContext=ye,i.useDebugValue=Et,i.useDeferredValue=ji,i.useEffect=qe,i.useId=Ta,i.useImperativeHandle=Jr,i.useInsertionEffect=Je,i.useLayoutEffect=dt,i.useMemo=kt,i.useReducer=Ke,i.useRef=Se,i.useState=fe,i.useSyncExternalStore=Zu,i.useTransition=ze,i.version=o,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(Vu,Vu.exports)),Vu.exports}var u2;function Ho(){return u2||(u2=1,Ah.exports=dk()),Ah.exports}var c2;function pk(){if(c2)return n1;c2=1;/**
|
|
33
|
+
* @license React
|
|
34
|
+
* react-jsx-dev-runtime.development.js
|
|
35
|
+
*
|
|
36
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
37
|
+
*
|
|
38
|
+
* This source code is licensed under the MIT license found in the
|
|
39
|
+
* LICENSE file in the root directory of this source tree.
|
|
40
|
+
*/return(function(){var n=Ho(),i=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),v=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),T=Symbol.iterator,V="@@iterator";function J(_){if(_===null||typeof _!="object")return null;var re=T&&_[T]||_[V];return typeof re=="function"?re:null}var te=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Y(_){{for(var re=arguments.length,w=new Array(re>1?re-1:0),X=1;X<re;X++)w[X-1]=arguments[X];I("error",_,w)}}function I(_,re,w){{var X=te.ReactDebugCurrentFrame,Q=X.getStackAddendum();Q!==""&&(re+="%s",w=w.concat([Q]));var ae=w.map(function(ye){return String(ye)});ae.unshift("Warning: "+re),Function.prototype.apply.call(console[_],console,ae)}}var oe=!1,Z=!1,q=!1,G=!1,ge=!1,B;B=Symbol.for("react.module.reference");function ue(_){return!!(typeof _=="string"||typeof _=="function"||_===l||_===d||ge||_===c||_===b||_===N||G||_===k||oe||Z||q||typeof _=="object"&&_!==null&&(_.$$typeof===E||_.$$typeof===S||_.$$typeof===f||_.$$typeof===v||_.$$typeof===x||_.$$typeof===B||_.getModuleId!==void 0))}function ie(_,re,w){var X=_.displayName;if(X)return X;var Q=re.displayName||re.name||"";return Q!==""?w+"("+Q+")":w}function me(_){return _.displayName||"Context"}function ne(_){if(_==null)return null;if(typeof _.tag=="number"&&Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case l:return"Fragment";case o:return"Portal";case d:return"Profiler";case c:return"StrictMode";case b:return"Suspense";case N:return"SuspenseList"}if(typeof _=="object")switch(_.$$typeof){case v:var re=_;return me(re)+".Consumer";case f:var w=_;return me(w._context)+".Provider";case x:return ie(_,_.render,"ForwardRef");case S:var X=_.displayName||null;return X!==null?X:ne(_.type)||"Memo";case E:{var Q=_,ae=Q._payload,ye=Q._init;try{return ne(ye(ae))}catch{return null}}}return null}var we=Object.assign,Ne=0,Ie,Le,bt,Tt,Lt,Zt,ke;function rt(){}rt.__reactDisabledLog=!0;function Ct(){{if(Ne===0){Ie=console.log,Le=console.info,bt=console.warn,Tt=console.error,Lt=console.group,Zt=console.groupCollapsed,ke=console.groupEnd;var _={configurable:!0,enumerable:!0,value:rt,writable:!0};Object.defineProperties(console,{info:_,log:_,warn:_,error:_,group:_,groupCollapsed:_,groupEnd:_})}Ne++}}function cn(){{if(Ne--,Ne===0){var _={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:we({},_,{value:Ie}),info:we({},_,{value:Le}),warn:we({},_,{value:bt}),error:we({},_,{value:Tt}),group:we({},_,{value:Lt}),groupCollapsed:we({},_,{value:Zt}),groupEnd:we({},_,{value:ke})})}Ne<0&&Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fn=te.ReactCurrentDispatcher,qt;function hr(_,re,w){{if(qt===void 0)try{throw Error()}catch(Q){var X=Q.stack.trim().match(/\n( *(at )?)/);qt=X&&X[1]||""}return`
|
|
41
|
+
`+qt+_}}var Wt=!1,Ft;{var sr=typeof WeakMap=="function"?WeakMap:Map;Ft=new sr}function wr(_,re){if(!_||Wt)return"";{var w=Ft.get(_);if(w!==void 0)return w}var X;Wt=!0;var Q=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ae;ae=fn.current,fn.current=null,Ct();try{if(re){var ye=function(){throw Error()};if(Object.defineProperty(ye.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ye,[])}catch(kt){X=kt}Reflect.construct(_,[],ye)}else{try{ye.call()}catch(kt){X=kt}_.call(ye.prototype)}}else{try{throw Error()}catch(kt){X=kt}_()}}catch(kt){if(kt&&X&&typeof kt.stack=="string"){for(var fe=kt.stack.split(`
|
|
42
|
+
`),Ke=X.stack.split(`
|
|
43
|
+
`),Se=fe.length-1,qe=Ke.length-1;Se>=1&&qe>=0&&fe[Se]!==Ke[qe];)qe--;for(;Se>=1&&qe>=0;Se--,qe--)if(fe[Se]!==Ke[qe]){if(Se!==1||qe!==1)do if(Se--,qe--,qe<0||fe[Se]!==Ke[qe]){var Je=`
|
|
44
|
+
`+fe[Se].replace(" at new "," at ");return _.displayName&&Je.includes("<anonymous>")&&(Je=Je.replace("<anonymous>",_.displayName)),typeof _=="function"&&Ft.set(_,Je),Je}while(Se>=1&&qe>=0);break}}}finally{Wt=!1,fn.current=ae,cn(),Error.prepareStackTrace=Q}var dt=_?_.displayName||_.name:"",Ut=dt?hr(dt):"";return typeof _=="function"&&Ft.set(_,Ut),Ut}function Gt(_,re,w){return wr(_,!1)}function Nr(_){var re=_.prototype;return!!(re&&re.isReactComponent)}function Ht(_,re,w){if(_==null)return"";if(typeof _=="function")return wr(_,Nr(_));if(typeof _=="string")return hr(_);switch(_){case b:return hr("Suspense");case N:return hr("SuspenseList")}if(typeof _=="object")switch(_.$$typeof){case x:return Gt(_.render);case S:return Ht(_.type,re,w);case E:{var X=_,Q=X._payload,ae=X._init;try{return Ht(ae(Q),re,w)}catch{}}}return""}var Xt=Object.prototype.hasOwnProperty,Ir={},On=te.ReactDebugCurrentFrame;function Ur(_){if(_){var re=_._owner,w=Ht(_.type,_._source,re?re.type:null);On.setExtraStackFrame(w)}else On.setExtraStackFrame(null)}function Vr(_,re,w,X,Q){{var ae=Function.call.bind(Xt);for(var ye in _)if(ae(_,ye)){var fe=void 0;try{if(typeof _[ye]!="function"){var Ke=Error((X||"React class")+": "+w+" type `"+ye+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof _[ye]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ke.name="Invariant Violation",Ke}fe=_[ye](re,ye,X,w,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Se){fe=Se}fe&&!(fe instanceof Error)&&(Ur(Q),Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",X||"React class",w,ye,typeof fe),Ur(null)),fe instanceof Error&&!(fe.message in Ir)&&(Ir[fe.message]=!0,Ur(Q),Y("Failed %s type: %s",w,fe.message),Ur(null))}}}var mr=Array.isArray;function Yt(_){return mr(_)}function kr(_){{var re=typeof Symbol=="function"&&Symbol.toStringTag,w=re&&_[Symbol.toStringTag]||_.constructor.name||"Object";return w}}function Kn(_){try{return zt(_),!1}catch{return!0}}function zt(_){return""+_}function vr(_){if(Kn(_))return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kr(_)),zt(_)}var Er=te.ReactCurrentOwner,ui={key:!0,ref:!0,__self:!0,__source:!0},jn,de,Te;Te={};function Pe(_){if(Xt.call(_,"ref")){var re=Object.getOwnPropertyDescriptor(_,"ref").get;if(re&&re.isReactWarning)return!1}return _.ref!==void 0}function ct(_){if(Xt.call(_,"key")){var re=Object.getOwnPropertyDescriptor(_,"key").get;if(re&&re.isReactWarning)return!1}return _.key!==void 0}function Rt(_,re){if(typeof _.ref=="string"&&Er.current&&re&&Er.current.stateNode!==re){var w=ne(Er.current.type);Te[w]||(Y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',ne(Er.current.type),_.ref),Te[w]=!0)}}function Ot(_,re){{var w=function(){jn||(jn=!0,Y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",re))};w.isReactWarning=!0,Object.defineProperty(_,"key",{get:w,configurable:!0})}}function Kt(_,re){{var w=function(){de||(de=!0,Y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",re))};w.isReactWarning=!0,Object.defineProperty(_,"ref",{get:w,configurable:!0})}}var gr=function(_,re,w,X,Q,ae,ye){var fe={$$typeof:i,type:_,key:re,ref:w,props:ye,_owner:ae};return fe._store={},Object.defineProperty(fe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(fe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(fe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Q}),Object.freeze&&(Object.freeze(fe.props),Object.freeze(fe)),fe};function Nt(_,re,w,X,Q){{var ae,ye={},fe=null,Ke=null;w!==void 0&&(vr(w),fe=""+w),ct(re)&&(vr(re.key),fe=""+re.key),Pe(re)&&(Ke=re.ref,Rt(re,Q));for(ae in re)Xt.call(re,ae)&&!ui.hasOwnProperty(ae)&&(ye[ae]=re[ae]);if(_&&_.defaultProps){var Se=_.defaultProps;for(ae in Se)ye[ae]===void 0&&(ye[ae]=Se[ae])}if(fe||Ke){var qe=typeof _=="function"?_.displayName||_.name||"Unknown":_;fe&&Ot(ye,qe),Ke&&Kt(ye,qe)}return gr(_,fe,Ke,Q,X,Er.current,ye)}}var ht=te.ReactCurrentOwner,xt=te.ReactDebugCurrentFrame;function Zr(_){if(_){var re=_._owner,w=Ht(_.type,_._source,re?re.type:null);xt.setExtraStackFrame(w)}else xt.setExtraStackFrame(null)}var qr;qr=!1;function Wr(_){return typeof _=="object"&&_!==null&&_.$$typeof===i}function Pn(){{if(ht.current){var _=ne(ht.current.type);if(_)return`
|
|
45
|
+
|
|
46
|
+
Check the render method of \``+_+"`."}return""}}function cs(_){{if(_!==void 0){var re=_.fileName.replace(/^.*[\\\/]/,""),w=_.lineNumber;return`
|
|
47
|
+
|
|
48
|
+
Check your code at `+re+":"+w+"."}return""}}var _i={};function Ti(_){{var re=Pn();if(!re){var w=typeof _=="string"?_:_.displayName||_.name;w&&(re=`
|
|
49
|
+
|
|
50
|
+
Check the top-level render call using <`+w+">.")}return re}}function Li(_,re){{if(!_._store||_._store.validated||_.key!=null)return;_._store.validated=!0;var w=Ti(re);if(_i[w])return;_i[w]=!0;var X="";_&&_._owner&&_._owner!==ht.current&&(X=" It was passed a child from "+ne(_._owner.type)+"."),Zr(_),Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',w,X),Zr(null)}}function Oi(_,re){{if(typeof _!="object")return;if(Yt(_))for(var w=0;w<_.length;w++){var X=_[w];Wr(X)&&Li(X,re)}else if(Wr(_))_._store&&(_._store.validated=!0);else if(_){var Q=J(_);if(typeof Q=="function"&&Q!==_.entries)for(var ae=Q.call(_),ye;!(ye=ae.next()).done;)Wr(ye.value)&&Li(ye.value,re)}}}function bn(_){{var re=_.type;if(re==null||typeof re=="string")return;var w;if(typeof re=="function")w=re.propTypes;else if(typeof re=="object"&&(re.$$typeof===x||re.$$typeof===S))w=re.propTypes;else return;if(w){var X=ne(re);Vr(w,_.props,"prop",X,_)}else if(re.PropTypes!==void 0&&!qr){qr=!0;var Q=ne(re);Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Q||"Unknown")}typeof re.getDefaultProps=="function"&&!re.getDefaultProps.isReactClassApproved&&Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Yr(_){{for(var re=Object.keys(_.props),w=0;w<re.length;w++){var X=re[w];if(X!=="children"&&X!=="key"){Zr(_),Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",X),Zr(null);break}}_.ref!==null&&(Zr(_),Y("Invalid attribute `ref` supplied to `React.Fragment`."),Zr(null))}}var Mr={};function Xn(_,re,w,X,Q,ae){{var ye=ue(_);if(!ye){var fe="";(_===void 0||typeof _=="object"&&_!==null&&Object.keys(_).length===0)&&(fe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ke=cs(Q);Ke?fe+=Ke:fe+=Pn();var Se;_===null?Se="null":Yt(_)?Se="array":_!==void 0&&_.$$typeof===i?(Se="<"+(ne(_.type)||"Unknown")+" />",fe=" Did you accidentally export a JSX literal instead of a component?"):Se=typeof _,Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Se,fe)}var qe=Nt(_,re,w,Q,ae);if(qe==null)return qe;if(ye){var Je=re.children;if(Je!==void 0)if(X)if(Yt(Je)){for(var dt=0;dt<Je.length;dt++)Oi(Je[dt],_);Object.freeze&&Object.freeze(Je)}else Y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Oi(Je,_)}if(Xt.call(re,"key")){var Ut=ne(_),kt=Object.keys(re).filter(function(ze){return ze!=="key"}),Jr=kt.length>0?"{key: someKey, "+kt.join(": ..., ")+": ...}":"{key: someKey}";if(!Mr[Ut+Jr]){var Et=kt.length>0?"{"+kt.join(": ..., ")+": ...}":"{}";Y(`A props object containing a "key" prop is being spread into JSX:
|
|
51
|
+
let props = %s;
|
|
52
|
+
<%s {...props} />
|
|
53
|
+
React keys must be passed directly to JSX without using spread:
|
|
54
|
+
let props = %s;
|
|
55
|
+
<%s key={someKey} {...props} />`,Jr,Ut,Et,Ut),Mr[Ut+Jr]=!0}}return _===l?Yr(qe):bn(qe),qe}}var Ki=Xn;n1.Fragment=l,n1.jsxDEV=Ki})(),n1}var f2;function hk(){return f2||(f2=1,Mh.exports=pk()),Mh.exports}var h=hk();function ir(n){return n==null}function mk(n){return!ir(n)}function jm(n){return n&&typeof n=="object"&&!Array.isArray(n)}function vk(n,i){return Object.fromEntries(Object.entries(n).filter(([o,l])=>i(o,l)))}function os(n,i){return Object.fromEntries(Object.entries(n).map(([o,l])=>[o,i(l,o)]))}function gk(n,i,o){if(!i)return{...n};const l={};for(const c of i)n[c]!==void 0&&(l[c]=n[c]);return l}function Si(n,i,o){return Object.defineProperty(n,i,{writable:!0,value:o,enumerable:!1})}function Sa(n,i){return arguments.length===1?o=>Sa(n,o):n in globalThis&&i instanceof globalThis[n]||Object.prototype.toString.call(i).slice(8,-1)===n}function R1(n){return Sa("ArrayBuffer",n)||Sa("SharedArrayBuffer",n)}function yk(n){return R1(n)||ArrayBuffer.isView(n)}var Di;(function(n){n.is=R1,n.isSource=yk;function i(f){return ArrayBuffer.isView(f)?f.buffer.slice(f.byteOffset,f.byteOffset+f.byteLength):f}n.fromSource=i;function o(f){if(f=i(f),typeof Buffer<"u")return Buffer.from(f).toString("base64");let v="";const x=new Uint8Array(f);for(let b=0;b<x.byteLength;b++)v+=String.fromCharCode(x[b]);return btoa(v)}n.toBase64=o;function l(f){return typeof Buffer<"u"?i(Buffer.from(f,"base64")):Uint8Array.from(atob(f),v=>v.charCodeAt(0))}n.fromBase64=l;function c(f){return f=i(f),typeof Buffer<"u"?Buffer.from(f).toString("hex"):Array.from(new Uint8Array(f),v=>v.toString(16).padStart(2,"0")).join("")}n.toHex=c;function d(f){if(typeof Buffer<"u")return i(Buffer.from(f,"hex"));const v=f.length%2===0?f:f.slice(0,f.length-1),x=[];for(let b=0;b<v.length;b+=2)x.push(parseInt(`${v[b]}${v[b+1]}`,16));return Uint8Array.from(x).buffer}n.fromHex=d})(Di||(Di={}));Di.fromBase64;Di.toBase64;Di.fromHex;Di.toHex;function vm(n,i=new Map){if(!n||typeof n!="object")return n;if(Sa("Date",n))return new Date(n.valueOf());if(Sa("RegExp",n))return new RegExp(n.source,n.flags);if(R1(n))return n.slice(0);if(ArrayBuffer.isView(n))return n.buffer.slice(n.byteOffset,n.byteOffset+n.byteLength);const o=i.get(n);if(o)return o;if(Array.isArray(n)){const c=[];return i.set(n,c),n.forEach((d,f)=>{c[f]=Reflect.apply(vm,null,[d,i])}),c}const l=Object.create(Object.getPrototypeOf(n));i.set(n,l);for(const c of Reflect.ownKeys(n)){const d={...Reflect.getOwnPropertyDescriptor(n,c)};"value"in d&&(d.value=Reflect.apply(vm,null,[d.value,i])),Reflect.defineProperty(l,c,d)}return l}function Mo(n,i,o){if(n===i||!o&&ir(n)&&ir(i))return!0;if(typeof n!=typeof i||typeof n!="object"||!n||!i)return!1;function l(c,d){return c(n)?c(i)?d(n,i):!1:c(i)?!1:void 0}return l(Array.isArray,(c,d)=>c.length===d.length&&c.every((f,v)=>Mo(f,d[v])))??l(Sa("Date"),(c,d)=>c.valueOf()===d.valueOf())??l(Sa("RegExp"),(c,d)=>c.source===d.source&&c.flags===d.flags)??l(R1,(c,d)=>{if(c.byteLength!==d.byteLength)return!1;const f=new Uint8Array(c),v=new Uint8Array(d);for(let x=0;x<f.length;x++)if(f[x]!==v[x])return!1;return!0})??Object.keys({...n,...i}).every(c=>Mo(n[c],i[c],o))}function bk(n,i,o){const l=[];let c=0;for(let d=0;d<n.length;d++){const f=n.charCodeAt(d);if(f>=65&&f<=90){if(c===1){const v=n.charCodeAt(d+1);v>=97&&v<=122&&l.push(o),l.push(f+32)}else c!==0&&l.push(o),l.push(f+32);c=1}else f>=97&&f<=122?(l.push(f),c=2):i.includes(f)?(c!==0&&l.push(o),c=0):l.push(f)}return String.fromCharCode(...l)}function Ck(n){return bk(n,[45,95],45)}const xk=Ck;var d2;(function(n){n.millisecond=1,n.second=1e3,n.minute=n.second*60,n.hour=n.minute*60,n.day=n.hour*24,n.week=n.day*7;let i=new Date().getTimezoneOffset();function o(k){i=k}n.setTimezoneOffset=o;function l(){return i}n.getTimezoneOffset=l;function c(k=new Date,T){return typeof k=="number"&&(k=new Date(k)),T===void 0&&(T=i),Math.floor((k.valueOf()/n.minute-T)/1440)}n.getDateNumber=c;function d(k,T){const V=new Date(k*n.day);return T===void 0&&(T=i),new Date(+V+T*n.minute)}n.fromDateNumber=d;const f=/\d+(?:\.\d+)?/.source,v=new RegExp(`^${["w(?:eek(?:s)?)?","d(?:ay(?:s)?)?","h(?:our(?:s)?)?","m(?:in(?:ute)?(?:s)?)?","s(?:ec(?:ond)?(?:s)?)?"].map(k=>`(${f}${k})?`).join("")}$`);function x(k){const T=v.exec(k);return T?(parseFloat(T[1])*n.week||0)+(parseFloat(T[2])*n.day||0)+(parseFloat(T[3])*n.hour||0)+(parseFloat(T[4])*n.minute||0)+(parseFloat(T[5])*n.second||0):0}n.parseTime=x;function b(k){const T=x(k);return T?k=Date.now()+T:/^\d{1,2}(:\d{1,2}){1,2}$/.test(k)?k=`${new Date().toLocaleDateString()}-${k}`:/^\d{1,2}-\d{1,2}-\d{1,2}(:\d{1,2}){1,2}$/.test(k)&&(k=`${new Date().getFullYear()}-${k}`),k?new Date(k):new Date}n.parseDate=b;function N(k){const T=Math.abs(k);return T>=n.day-n.hour/2?Math.round(k/n.day)+"d":T>=n.hour-n.minute/2?Math.round(k/n.hour)+"h":T>=n.minute-n.second/2?Math.round(k/n.minute)+"m":T>=n.second?Math.round(k/n.second)+"s":k+"ms"}n.format=N;function S(k,T=2){return k.toString().padStart(T,"0")}n.toDigits=S;function E(k,T=new Date){return k.replace("yyyy",T.getFullYear().toString()).replace("yy",T.getFullYear().toString().slice(2)).replace("MM",S(T.getMonth()+1)).replace("dd",S(T.getDate())).replace("hh",S(T.getHours())).replace("mm",S(T.getMinutes())).replace("ss",S(T.getSeconds())).replace("SSS",S(T.getMilliseconds(),3))}n.template=E})(d2||(d2={}));var w1=class{constructor(){P(this,"sn",0);P(this,"map",new Map);P(this,"weak",new WeakMap)}get length(){return this.map.size}push(n){const i=++this.sn;return this.map.set(i,n),this.weak.set(n,i),()=>this.map.delete(i)}delete(n){const i=this.weak.get(n);return i?this.map.delete(i):!1}clear(){const n=[...this.map.values()];return this.map.clear(),n.reverse()}[Symbol.iterator](){return this.map.values()}[Symbol.for("nodejs.util.inspect.custom")](){return[...this]}};const Re={shadow:Symbol.for("cordis.shadow"),receiver:Symbol.for("cordis.receiver"),original:Symbol.for("cordis.original"),metadata:Symbol.for("cordis.metadata"),initHooks:Symbol.for("cordis.initHooks"),checkProto:Symbol.for("cordis.checkProto"),effect:Symbol.for("cordis.effect"),filter:Symbol.for("cordis.filter"),isolate:Symbol.for("cordis.isolate"),intercept:Symbol.for("cordis.intercept"),init:Symbol.for("cordis.init"),check:Symbol.for("cordis.check"),config:Symbol.for("cordis.config"),invoke:Symbol.for("cordis.invoke"),extend:Symbol.for("cordis.extend"),tracker:Symbol.for("cordis.tracker"),resolveConfig:Symbol.for("cordis.resolveConfig")},Rk=(function*(){}).constructor,p2=(async function*(){}).constructor;function m8(n){return!(!n.prototype||n instanceof Rk||p2!==Function&&n instanceof p2)}function N1(n,i){if(n===Object.prototype)return i;const o=Object.create(N1(Object.getPrototypeOf(n),i));for(const l of Reflect.ownKeys(n))Object.defineProperty(o,l,Object.getOwnPropertyDescriptor(n,l));return o}function ka(n){return n&&(typeof n=="object"||typeof n=="function")}function v8(n,i){let o=n;for(;o;){const l=Reflect.getOwnPropertyDescriptor(o,i);if(l)return l;o=Object.getPrototypeOf(o)}}function As(n,i){if(!ka(i))return i;if(Object.hasOwn(i,Re.shadow))return Object.getPrototypeOf(i);const o=i[Re.tracker];return o?Xm(n,i,o):i}function Bu(n,i){return i?new Proxy(n,{get:(o,l,c)=>l in i&&l!=="constructor"?Reflect.get(i,l,c):Reflect.get(o,l,c),set:(o,l,c,d)=>l in i&&l!=="constructor"?Reflect.set(i,l,c,d):Reflect.set(o,l,c,d)}):n}function gm(n,i,o){return Bu(n,Object.defineProperty(Object.create(null),i,{value:o,writable:!1}))}function Hh(n,i,o,l){var d;if(!o)return l;const c=(d=Reflect.getOwnPropertyDescriptor(i,o))==null?void 0:d.value;return c?gm(l,o,n.extend({[Re.shadow]:c})):l}function wk(n,i,o,l){return new Proxy(i,{apply:(c,d,f)=>(d===o&&(d=l),As(n,Reflect.apply(c,d,f)))})}function Xm(n,i,o){n[Re.shadow]&&!o.noShadow&&(n=Object.getPrototypeOf(n));const l=new Proxy(i,{get:(c,d,f)=>{if(d===Re.original)return c;if(d===o.property)return n;if(typeof d=="symbol")return Reflect.get(c,d,f);if(o.associate&&n.reflect.props[`${o.associate}.${d}`])return Reflect.get(n,`${o.associate}.${d}`,gm(n,Re.receiver,f));let v,x;const b=v8(c,d);b&&"value"in b?x=b.value:(v=Hh(n,c,o.property,f),x=Reflect.get(c,d,v));const N=x==null?void 0:x[Re.tracker];return N?Xm(n,x,N):!o.noShadow&&typeof x=="function"?(v??(v=Hh(n,c,o.property,f)),wk(n,x,f,v)):x},set:(c,d,f,v)=>{if(d===Re.original||d===o.property)return!1;if(typeof d=="symbol")return Reflect.set(c,d,f,v);if(o.associate&&n.reflect.props[`${o.associate}.${d}`])return Reflect.set(n,`${o.associate}.${d}`,f,gm(n,Re.receiver,v));const x=Hh(n,c,o.property,v);return Reflect.set(c,d,f,x)},apply:(c,d,f)=>g8(l,c,d,f)});return l}function g8(n,i,o,l){return i[Re.invoke]?i[Re.invoke].apply(n,l):Reflect.apply(i,o,l)}function p1(n,i,o){const l=function(...c){return g8(Xm(l.ctx,l,o),l,this,c)};return Si(l,"name",n),Object.setPrototypeOf(l,i)}function h2(n,i,o){const l=n.error.stack.split(`
|
|
56
|
+
`);if(typeof(i==null?void 0:i.stack)!="string"){const f=new Error(i),v=f.stack.split(`
|
|
57
|
+
`);throw v.splice(1,1/0,...o()),f.stack=v.join(`
|
|
58
|
+
`),f}const c=i.stack.split(`
|
|
59
|
+
`);let d=c.indexOf(l[2]);if(d===-1)throw i;for(d-=n.offset;d>0&&c[d-1].endsWith(" (<anonymous>)");)d-=1;throw c.splice(d,1/0,...o()),i.stack=c.join(`
|
|
60
|
+
`),i}function h1(n,i=k1()){const o={offset:1,error:new Error};try{const l=n(o);return ka(l)&&"then"in l?l.then(void 0,c=>h2(o,c,i)):l}catch(l){h2(o,l,i)}}function k1(n=0){const i=new Error;return()=>i.stack.split(`
|
|
61
|
+
`).slice(3+n)}function ym(n){return n!==null&&n!==!1&&n!==void 0}var y8=class{constructor(n){P(this,"ctx");P(this,"_hooks",{});this.ctx=n,Si(this,Re.tracker,{property:"ctx",noShadow:!0}),this.on("internal/listener",function(i,o,l){var c;if(i==="internal/update"&&!l.global)return((c=this.fiber._hooks)["internal/update"]??(c["internal/update"]=new w1))[l.prepend?"unshift":"push"](o)}),this.on("internal/update",function(i,o,l){const c=[...this._hooks["internal/update"]||[]],d=()=>(c.shift()??l).call(this,i,o,d);return d()},{global:!0,prepend:!0})}dispatch(n,i){const o=typeof i[0]=="object"||typeof i[0]=="function"?i.shift():null,l=i.shift();l.startsWith("internal/")||this.emit("internal/dispatch",n,l,i,o);const c=o==null?void 0:o[nr.filter];return(this._hooks[l]||[]).filter(d=>d.global||!c||c.call(o,d.ctx)).map(d=>d.callback.bind(o))}async parallel(...n){const i=(await Promise.allSettled(this.dispatch("emit",n).map(async o=>o(...n)))).filter(o=>o.status==="rejected");if(i.length)throw new AggregateError(i.map(o=>o.reason))}emit(...n){this.dispatch("emit",n).map(i=>i(...n))}async serial(...n){for(const i of this.dispatch("serial",n)){const o=await i(...n);if(ym(o))return o}}bail(...n){for(const i of this.dispatch("bail",n)){const o=i(...n);if(ym(o))return o}}waterfall(...n){const i=this.dispatch("waterfall",n),o=n.pop(),l=()=>(i.shift()??o)(...n);return n.push(l),l()}register(n,i,o,l){const c=l.prepend?"unshift":"push";return this.ctx.fiber.effect(()=>(i[c]({ctx:this.ctx,callback:o,...l}),()=>this.unregister(i,o)),n)}unregister(n,i){const o=n.findIndex(l=>l.callback===i);if(o>=0)return n.splice(o,1),!0}on(n,i,o){var f;typeof o!="object"&&(o={prepend:o}),this.ctx.fiber.assertActive(),i=this.ctx.reflect.bind(i);const l=this.bail(this.ctx,"internal/listener",n,i,o);if(l)return l;const c=(f=this._hooks)[n]||(f[n]=[]),d=`ctx.on(${typeof n=="string"?JSON.stringify(n):n.toString()})`;return this.register(d,c,i,o)}once(n,i,o){const l=this.on(n,function(...c){return l(),i.apply(this,c)},o);return l}};const bm={s:n=>String(n),d:n=>Math.trunc(Number(n)),i:n=>Math.trunc(Number(n)),f:n=>Number(n),o:n=>JSON.stringify(n),O:n=>JSON.stringify(n),c:()=>"",C:(n,i,o)=>m1.color(i,m1.code(o.name,i.colors),n)};function Nk(n){return n instanceof Error&&Array.isArray(n.errors)}var m1=class{constructor(n,i){P(this,"service");this.service=i,Object.assign(this,n),this.error=this._method("error",0),this.info=this._method("info",1),this.warn=this._method("warn",2),this.debug=this._method("debug",3)}static color(n,i,o,l=""){return n.colors?`\x1B[3${i<8?i:"8;5;"+i}${n.colors>=2?l:""}m${o}\x1B[0m`:""+o}static code(n,i){let o=0;for(let c=0;c<n.length;c++)o=(o<<3)-o+n.charCodeAt(c)+13,o|=0;const l=i?i>=2?C8:b8:[];return l[Math.abs(o)%l.length]}static format(n,i){var f;const o=i.args.slice();o[0]instanceof Error?(o[0]=o[0].stack||o[0].message,o.unshift("%s")):typeof o[0]!="string"&&o.unshift("%o");let l=o.shift();l=l.replace(/%([a-zA-Z%])/g,(v,x)=>{var N;if(v==="%%")return"%";const b=((N=n.formatters)==null?void 0:N[x])??bm[x];return typeof b=="function"?b(o.shift(),n,i):v});const c=((f=n.formatters)==null?void 0:f.o)??bm.o;for(let v of o)typeof v=="object"&&v&&(v=c(v,n,i)),l+=" "+v;const{maxLength:d=10240}=n;return l.split(/\r?\n/g).map(v=>v.slice(0,d)+(v.length>d?"...":"")).join(`
|
|
62
|
+
`)}_method(n,i){return(...o)=>{var d,f;if(o.length===1&&o[0]instanceof Error){if(o[0].cause)this[n](o[0].cause);else if(Nk(o[0])){o[0].errors.forEach(v=>this[n](v));return}}const l=++this.service._snMessage,c=Date.now();for(const v of this.service.exporters.values()){if((((d=v.levels)==null?void 0:d[this.name])??((f=v.levels)==null?void 0:f.default)??this.level??1)<i)continue;const x={sn:l,ts:c,type:n,level:i,name:this.name,...this.meta,args:o};v.export(x)}}}};const b8=[6,2,3,4,5,1],C8=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221];var Vo,x8=(Vo=class{constructor(i){P(this,"bufferSize",1e3);P(this,"buffer",[]);P(this,"ctx");P(this,"_snMessage",0);P(this,"_snExporter",0);P(this,"exporters",new Map);const o={property:"ctx",noShadow:!0},l=p1("logger",N1(Object.getPrototypeOf(this),Function.prototype),o);return Object.assign(l,this),l.ctx=i,Si(l,Re.tracker,o),l.exporter({colors:3,export:c=>{l.buffer.push(c),l.buffer.length>l.bufferSize&&(l.buffer=l.buffer.slice(-l.bufferSize))}}),l}exporter(i){return this.ctx.effect(()=>(this.exporters.set(++this._snExporter,i),()=>this.exporters.delete(this._snExporter)),"ctx.logger.exporter()")}_resolveConfig(){let i=this.ctx[Re.intercept];const o=[];for(;"logger"in i;)Object.hasOwn(i,"logger")&&o.unshift(i.logger),i=Object.getPrototypeOf(i);return Object.assign({},...o)}[Re.invoke](i){const o=this._resolveConfig(),l=(this.ctx[Re.shadow]??this.ctx).fiber;return i??(i=o.name),i??(i=xk(l.name)),new m1({name:i,level:o.level,meta:{fiber:new WeakRef(l)}},this)}},(()=>{for(const i of["error","info","warn","debug"])Vo.prototype[i]=function(...o){return this()[i](...o)}})(),Vo);function Bh(n){const i=n.stack.split(`
|
|
63
|
+
`);return i.splice(0,2,`Error: ${n.message}`),n.stack=i.join(`
|
|
64
|
+
`),n}const kk=["prototype","then"];function $h(n){return typeof n=="symbol"||kk.includes(n)||parseInt(n).toString()===n||n.startsWith("_")}var pm,m2=(pm=class{constructor(n){P(this,"ctx");P(this,"store",Object.create(null));P(this,"props",Object.create(null));this.ctx=n,Si(this,Re.tracker,{property:"ctx",noShadow:!0}),this.mixin("reflect",["get","set","provide","accessor","mixin"]),this.mixin("fiber",["runtime","effect"]),this.mixin("registry",["inject","plugin"]),this.mixin("events",["on","once","parallel","emit","serial","bail","waterfall"])}get(n,i=!0){var o;return As(this.ctx,(o=this._getImpl(n,i))==null?void 0:o.value)}_getImpl(n,i=!0){const o=this.ctx[Re.isolate][n],l=o&&this.store[o];if(l&&!(i&&l.fiber.state!==2))return l}set(n,i,o){const l=this.ctx[Re.isolate][n],c=this.store[l];if(!c)throw new Error(`cannot set property "${n}" without provide`);if(c.fiber!==this.ctx.fiber)throw new Error(`cannot set property "${n}" in multiple fibers`);return c.value=i,!0}provide(n,i,o){return this.ctx.fiber.effect(()=>{var d,f;if(!this.props[n])(d=this.props)[n]??(d[n]={type:"service"});else if(this.props[n].type!=="service")throw new Error(`property "${n}" is already declared as ${this.props[n].type}`);this.props[n]={type:"service"},(f=this.ctx.root[Re.isolate])[n]??(f[n]=Symbol(n));const l=this.ctx[Re.isolate][n],c={name:n,value:i,fiber:this.ctx.fiber,check:o};if(this.store[l])throw new Error(`service "${n}" has been registered at <${this.store[l].fiber.name}>`);return this.store[l]=c,this.ctx.fiber.store[n]=c,this.ctx.fiber.state===2&&this.notify([n]),async()=>{delete this.store[l];const v=this.notify([n]);await Promise.allSettled(v.map(x=>x.await())),delete this.ctx.fiber.store[n]}},`ctx.provide(${JSON.stringify(n)})`)}notify(n,i=(o,l)=>o[Re.isolate][l]===this.ctx[Re.isolate][l]){var l;const o=[];for(const c of this.ctx.registry.values())for(const d of c.fibers){let f=!1;for(const v of n)v in d.inject&&i(d.ctx,v)&&(f=!0,d._checkImpl(v));f&&(d._refresh(),o.push(d))}for(const c of n){const d=Object.create(this.ctx);d[Re.filter]=f=>i(f,c),this.ctx.events.emit(d,"internal/service",c,(l=this._getImpl(c,!1))==null?void 0:l.value)}return o}accessor(n,i){return this.ctx.fiber.effect(()=>{if(n in this.props)throw new Error(`property "${n}" is already declared as ${this.props[n].type}`);return this.props[n]={type:"accessor",...i},()=>delete this.props[n]},`ctx.accessor(${JSON.stringify(n)})`)}mixin(n,i){const o=this;return this.ctx.fiber.effect(function*(){const l=Array.isArray(i)?i.map(d=>[d,d]):Object.entries(i),c=(d,f)=>d[n];for(const[d,f]of l)yield o.accessor(f,{get(v,x){const b=c(this);if(ir(b))return b;const N=v?Bu(v,b):b,S=Reflect.get(b,d,N);return typeof S!="function"?S:S.bind(N??b)},set(v,x,b){const N=c(this),S=x?Bu(x,N):N;return Reflect.set(N,d,v,S)}})},`ctx.mixin(${JSON.stringify(n)})`)}trace(n){return As(this.ctx,n)}bind(n){return new Proxy(n,{apply:(i,o,l)=>Reflect.apply(i,this.trace(o),l.map(c=>this.trace(c))),construct:(i,o,l)=>Reflect.construct(i,o.map(c=>this.trace(c)),l)})}},P(pm,"handler",{get:(n,i,o)=>{if($h(i))return Reflect.get(n,i,o);if(Reflect.has(n,i))return As(o,Reflect.get(n,i,o));const l=new Error(`cannot get property "${i}" without inject`);try{const c=n.reflect.props[i];return(c==null?void 0:c.type)==="accessor"?c.get.call(o,o[Re.receiver],l):o.fiber.runtime?o.events.waterfall("internal/get",o,i,l,()=>{var v;const d=n[Re.isolate][i];let f=(o[Re.shadow]??o).fiber;for(;;){const x=(v=f.store)==null?void 0:v[i];if(x)return As(o,x.value);if(i in f.inject)throw l.message=`cannot get required service "${i}" in inactive context`,l;if(!f.runtime||f.parent[Re.isolate][i]!==d)throw l;f=f.parent.fiber}}):o.reflect.get(i,!1)}catch(c){throw c===l?Bh(c):c}},set:(n,i,o,l)=>{if($h(i))return Reflect.set(n,i,o,l);const c=new Error(`cannot set property "${i}" without provide`),d=n.reflect.props[i];if(!d){if(!l.fiber.runtime)return Reflect.set(n,i,o,l);throw Bh(c)}try{return d.type==="accessor"?d.set?d.set.call(l,o,l[Re.receiver],c):!1:l.events.waterfall("internal/set",l,i,o,c,()=>l.reflect.set(i,o,c))}catch(f){throw f===c?Bh(f):f}},has:(n,i)=>$h(i)?Reflect.has(n,i):Reflect.has(n,i)?!0:!!n.reflect.props[i]}),pm);const Ek=Symbol.for("ValidationError");var Um=class extends TypeError{constructor(o){super(`invalid config:
|
|
65
|
+
`+o.map(l=>l.path?` - ${l.message} (at ${l.path.join(".")})`:` - ${l.message}`).join(`
|
|
66
|
+
`));P(this,"name","ValidationError")}};Object.defineProperty(Um.prototype,Ek,{value:!0});function R8(n,i){if(!n.Config)return i;const o=n.Config["~standard"].validate(i);if("then"in o)throw new TypeError("Async config validation is not supported");if(o.issues)throw new Um(o.issues);return o.value}const w8=new WeakMap;function Fh(n){var o;const i=n();return((o=w8.get(n))==null?void 0:o())??i}function Dk(n,i){const o=["internal/plugin",i];let l;try{l=n.events.dispatch("emit",o)}catch(c){n.logger.error(c);return}for(const c of l)try{const d=c(...o);Promise.resolve(d).catch(f=>n.logger.error(f))}catch(d){n.logger.error(d)}}var $u=class N8 extends Error{constructor(o,l){super(l??N8.Code[o]);P(this,"code");this.code=o}};(function(n){n.Code={INACTIVE_EFFECT:"cannot create effect on inactive context"}})($u||($u={}));const Ni="__INACTIVE__";var Vm=class{constructor(n,i,o,l,c){P(this,"parent");P(this,"inject");P(this,"runtime");P(this,"uid");P(this,"ctx");P(this,"config");P(this,"_config");P(this,"state",0);P(this,"dispose");P(this,"store");P(this,"inertia");P(this,"_hooks",Object.create(null));P(this,"_disposables",new w1);P(this,"context");P(this,"_error");P(this,"_runner");P(this,"_store",Object.create(null));this.parent=n,this.inject=o,this.runtime=l,this._config=i;const d=f=>{this._disposables.push(f)};if(l){this.uid=n.registry.counter,this.ctx=this.context=n.extend({fiber:this});const f=Object.entries(this.inject);if(f.length){this.ctx[nr.intercept]=Object.create(n[nr.intercept]);for(const[v,x]of f)ir(x)||(this.ctx[nr.intercept][v]=x)}this._runner={epoch:Ni,getOuterStack:c,execute:function(){var v;if(m8(l.callback)){const x=new l.callback(this.ctx,this.config);for(const b of(x==null?void 0:x[Re.initHooks])??[])b();return(v=x==null?void 0:x[Re.init])==null?void 0:v.call(x)}else return l.callback(this.ctx,this.config)},collect:d},this.dispose=n.fiber.effect(()=>{const v=l.fibers.push(this);return async()=>{for(this.uid=null,Dk(this.context,this),this.ctx.registry.has(l.callback)&&(v(),l.fibers.length||this.ctx.registry.delete(l.callback)),this._setEpoch(Ni),this.inertia||this._updateState(()=>(this.inertia=this._unload(),5));this.inertia;)await this.inertia}},"ctx.plugin()");try{this.context.emit("internal/plugin",this)}catch(v){throw Promise.resolve(this.dispose()).catch(x=>this.ctx.logger.error(x)),v}if(this.uid!==null&&n.fiber.state!==5){for(const v of Object.keys(this.inject))this._checkImpl(v);this._refresh()}}else this.uid=0,this.ctx=this.context=n,this.state=2,this.store=Object.create(null),this._runner={epoch:"",getOuterStack:c,execute:()=>{},collect:d},this.dispose=()=>this.restart()}get name(){var i;let n=this;do{if((i=n.runtime)!=null&&i.name)return n.runtime.name;n=n.parent.fiber}while(n!==n.parent.fiber);return"root"}assertActive(){if(this.uid===null)throw new $u("INACTIVE_EFFECT")}_execute(n){const i=n.epoch;return h1(o=>{const l=d=>{if(typeof d=="function")n.collect(d);else if(!ir(d))throw new TypeError("Invalid effect")},c=n.execute.call(this);if(typeof c=="function")return n.collect(c);if(!ir(c))if(ka(c)){if("then"in c)return c.then(l);if(Symbol.iterator in c){o.error=new Error;const d=c[Symbol.iterator]();for(;;){const f=d.next();if(l(f.value),f.done)return}}else if(Symbol.asyncIterator in c){const d=c[Symbol.asyncIterator]();return(async()=>{for(await Promise.resolve(),o.error=new Error;;){if(n.epoch!==i)return;const f=await d.next();if(l(f.value),f.done)return}})()}else throw new TypeError("Invalid effect")}else throw new TypeError("Invalid effect")},n.getOuterStack)}effect(n,i="anonymous"){if(this.assertActive(),this.state===5)throw new $u("INACTIVE_EFFECT");const o=[];let l=!1,c;const d=()=>{if(l)return c;l=!0;let Z;for(const q of o.splice(0).reverse())if(Z)Z=Z.then(()=>Fh(q));else{const G=Fh(q);ka(G)&&"then"in G&&(Z=G)}return c=Z},f={label:i,children:[]},v={execute:n,epoch:!0,collect:Z=>{o.push(Z),this._disposables.delete(Z),Z[Re.effect]&&f.children.push(Z[Re.effect])},getOuterStack:k1()};let x,b=!0,N,S,E,k=!1,T,V=()=>!1;const J=()=>(E??(E=new Promise((Z,q)=>{N=Z,S=q})),E),te=Z=>Promise.resolve(Z).then(()=>d(),async q=>{throw await d(),q}),Y=Z=>{let q;try{q=Z()}catch(G){throw V(),G}if(ka(q)&&"then"in q){const G=Promise.resolve(q).finally(()=>{V(),T===G&&(T=void 0)});return T=G}return V(),q},I=Si(()=>v.epoch?(v.epoch=!1,Y(()=>b?te(J()):x?te(x):d())):k?T:void 0,Re.effect,f);w8.set(I,()=>T),V=this._disposables.push(I);try{x=this._execute(v)}catch(Z){b=!1,k=!0,v.epoch=!1;let q;try{q=Y(d)}finally{S==null||S(Z)}throw ka(q)&&"then"in q&&q.catch(G=>this.ctx.logger.error(G)),Z}b=!1,E&&Promise.resolve(x).then(N,S),x==null||x.catch(()=>v.epoch?Y(d):d()).catch(Z=>this.ctx.logger.error(Z));const oe=()=>{if(v.epoch)return v.epoch=!1,Y(d)};return I.then=async(Z,q)=>Promise.resolve(x).then(()=>oe).then(Z,q),I}getEffects(){return[...this._disposables].map(n=>n[Re.effect]).filter(Boolean)}_getState(){return this.uid===null?4:this._error?3:this._runner.epoch!==Ni?2:0}_updateState(n){const i=this.state;if(this.state=n()??this._getState(),i!==this.state&&(this.context.emit("internal/status",this,i),!(i!==2&&this.state!==2)))for(const o of Reflect.ownKeys(this.ctx.reflect.store)){const l=this.ctx.reflect.store[o];l.fiber===this&&this.ctx.reflect.notify([l.name])}}_checkImpl(n){const i=this.ctx.reflect._getImpl(n,!0);if(!i)return delete this._store[n];try{if(i.check&&!i.check.call(As(this.ctx,i.value)))return delete this._store[n]}catch(o){return i.fiber.ctx.logger.error(o),delete this._store[n]}this._store[n]=i}_refresh(){let n=!1;n="";for(const i of Object.keys(this.inject)){const o=this._store[i];if(!o){n=Ni;break}n+=":"+o.fiber.uid}this._setEpoch(n)}_setEpoch(n){const i=this._runner.epoch;n!==i&&(this._runner.epoch=n,!this.inertia&&this._updateState(()=>n!==Ni&&i===Ni?(this.inertia=this._reload(),1):(this.inertia=this._unload(),5)))}_resolveConfig(n){return n=this.context.waterfall(this,"internal/config",n,()=>n),this.runtime?R8(this.runtime,n):n}async _reload(){this.store={...this._store};const n=this._runner.epoch;try{await Promise.resolve(),this._runner.epoch===n&&(this.config=this._resolveConfig(this._config),await this._execute(this._runner),this._error=void 0)}catch(i){this.ctx.logger.error(i),this._error=i,this._runner.epoch=Ni}this._updateState(()=>{if(this._runner.epoch===n)this.inertia=void 0;else return this.inertia=this._unload(),5})}async _unload(){await Promise.all(this._disposables.clear().map(async n=>{try{await h1(async i=>{await Promise.resolve(),i.error=new Error,await Fh(n)},this._runner.getOuterStack)}catch(i){this.ctx.logger.error(i)}})),this.store=void 0,this._updateState(()=>{if(this._runner.epoch===Ni)this.inertia=void 0;else return this.inertia=this._reload(),1})}async await(){for(;this.inertia;)await this.inertia;if(this._error)throw this._error;return this}async restart(){this.assertActive(),this._setEpoch(Ni),this._refresh(),await this.await()}update(n,i=!1){if(this.assertActive(),this._config=n,this.state!==2){this._error=void 0,this._setEpoch(Ni),this._refresh();return}return n=this._resolveConfig(n),this.context.waterfall(this,"internal/update",n,i,()=>(this.config=n,this._error=void 0,this.restart()))}};function Sk(n){return n&&typeof n=="object"&&typeof n.apply=="function"}function Fu(n,i){return function(o,l){var c,d;if(l.kind==="class")Object.hasOwn(o,"inject")||(Si(o,"inject",Object.create(Object.getPrototypeOf(o).inject??null)),Si(o.inject,Re.checkProto,!0)),o.inject[n]=i;else if(l.kind==="method"){const f=(d=o[c=Re.metadata]??(o[c]={})).inject??(d.inject=Object.create(null));f[n]=i,l.addInitializer(function(){var x,b;const v=(x=this[Re.tracker])==null?void 0:x.property;(this[b=Re.initHooks]??(this[b]=[])).push(()=>{this.ctx.inject(f,N=>o.call(v?Bu(this,{[v]:N}):this))})})}else throw new Error("@Inject() can only be used on class or class methods")}}(function(n){function i(o,l=Object.create(null)){if(!o)return l;if(Array.isArray(o))for(const c of o)l[c]=null;else if(Reflect.has(o,Re.checkProto)){Object.assign(l,i(Object.getPrototypeOf(o)));for(const c of Object.keys(o))l[c]=o[c]??null}else for(const c of Object.keys(o))l[c]=o[c]??null;return l}n.resolve=i})(Fu||(Fu={}));var k8=class{constructor(n){P(this,"ctx");P(this,"_counter",0);P(this,"_internal",new Map);this.ctx=n,Si(this,Re.tracker,{property:"ctx",noShadow:!0})}get counter(){return++this._counter}get size(){return this._internal.size}resolve(n){try{if(typeof n=="function")return n;if(Sk(n))return n.apply}catch{}}get(n){const i=this.resolve(n);return i&&this._internal.get(i)}has(n){const i=this.resolve(n);return!!i&&this._internal.has(i)}delete(n){const i=this.resolve(n),o=i&&this._internal.get(i);if(o){this._internal.delete(i);for(const l of o.fibers)l.dispose();return o}}keys(){return this._internal.keys()}values(){return this._internal.values()}entries(){return this._internal.entries()}forEach(n){return this._internal.forEach(n)}inject(n,i){return this.plugin({inject:n,apply:i,name:i.name})}plugin(n,i,o=k1()){const l=this.resolve(n);if(!l)throw new Error('invalid plugin, expect function or object with an "apply" method, received '+typeof n);this.ctx.fiber.assertActive();let c=this._internal.get(l);if(!c){let v=n.name;v==="apply"&&(v=void 0),c={name:v,callback:l,fibers:new w1,Config:n.Config},this._internal.set(l,c)}const d=new Vm(this.ctx,i,Fu.resolve(n.inject),c,o),f=Object.create(d);return f.then=(v,x)=>d.await().then(v,x),f}},Tn,nr=(Tn=class{static is(i){return!!(i!=null&&i[Tn.is])}constructor(){this[Re.isolate]=Object.create(null),this[Re.intercept]=Object.create(null);const i=new Proxy(this,m2.handler);return this.root=i,this.baseUrl=void 0,this.fiber=new Vm(i,{},Object.create(null),null,()=>[]),this.reflect=new m2(i),this.registry=new k8(i),this.events=new y8(i),this.logger=new x8(i),this.fiber._disposables.clear(),i}[Symbol.for("nodejs.util.inspect.custom")](){return`Context <${this.fiber.name}>`}extend(i={}){var c;const o=(c=Reflect.getOwnPropertyDescriptor(this,Re.shadow))==null?void 0:c.value,l=Object.create(As(this,this));for(const d of Reflect.ownKeys(i))Object.defineProperty(l,d,Reflect.getOwnPropertyDescriptor(i,d));return o?Object.assign(Object.create(l),{[Re.shadow]:o}):l}isolate(i,o){const l=Object.create(this[Re.isolate]);return l[i]=o??Symbol(i),this.extend({[Re.isolate]:l})}intercept(i,o){const l=Object.create(this[Re.intercept]);return l[i]=o,this.extend({[Re.intercept]:l})}},P(Tn,"effect",Re.effect),P(Tn,"filter",Re.filter),P(Tn,"isolate",Re.isolate),P(Tn,"intercept",Re.intercept),Tn.is[Symbol.toPrimitive]=()=>Symbol.for("cordis.is"),Tn.prototype[Tn.is]=!0,Tn),_n,Na=(_n=class{constructor(i,o){P(this,"ctx");P(this,"name");this.ctx=i,o??(o=this.constructor.provide);let l=this;const c={associate:o,property:"ctx"};return l[Re.invoke]&&(l=p1(o,N1(Object.getPrototypeOf(this),Function.prototype),c)),l.ctx=i,l.name=o,Si(l,Re.tracker,c),l.ctx.reflect.provide(o,l,this[Re.check]),l}[Re.filter](i){return i[Re.isolate][this.name]===this.ctx[Re.isolate][this.name]}[Re.extend](i){let o;return this[_n.invoke]?o=p1(this.name,this,this[Re.tracker]):o=Object.create(this),Object.assign(o,i)}[Re.resolveConfig](i,o){var d;let l=this.ctx[nr.intercept];const c=[];for(;this.name in l;)Object.hasOwn(l,this.name)&&c.unshift(l[this.name]),l=Object.getPrototypeOf(l);return i&&c.unshift(i),o&&c.push(o),(d=this.Config)!=null&&d.merge?this.Config.merge(...c):Object.assign({},...c)}static[Symbol.hasInstance](i){var l;if(!i)return!1;let o=i.constructor;for(;o;){if(o=(l=o.prototype)==null?void 0:l.constructor,o===this)return!0;o&&(o=Object.getPrototypeOf(o))}return!1}},P(_n,"init",Re.init),P(_n,"check",Re.check),P(_n,"config",Re.config),P(_n,"invoke",Re.invoke),P(_n,"extend",Re.extend),P(_n,"tracker",Re.tracker),P(_n,"resolveConfig",Re.resolveConfig),_n);const _k=Object.freeze(Object.defineProperty({__proto__:null,Context:nr,get CordisError(){return $u},DisposableList:w1,EventsService:y8,Fiber:Vm,get Inject(){return Fu},Logger:m1,LoggerService:x8,RegistryService:k8,Service:Na,ValidationError:Um,buildOuterStack:k1,c16:b8,c256:C8,composeError:h1,createCallable:p1,defaultFormatters:bm,getPropertyDescriptor:v8,getTraceable:As,isBailed:ym,isConstructor:m8,isObject:ka,joinPrototype:N1,resolveConfig:R8,symbols:Re,withProps:Bu},Symbol.toStringTag,{value:"Module"})),Tk=()=>{throw new Error("node:module is not available in the browser")};var Lk=[],Cm;(function(n){let i;function o(c){const d=Tk();if(Lk.includes("--expose-internals"))try{return d(c)}catch{}try{return d("node-addon-require-builtin").requireBuiltin(c)}catch{}}function l(){var d,f;if(i)return i;const[c]="0.0.0".split(".").map(Number);if(c>=24){const v=(d=o("internal/modules/esm/loader"))==null?void 0:d.getOrInitializeCascadedLoader();if(v)return i=Object.assign(v,{version:"v2"})}else if(c>=22){const v=(f=o("internal/modules/esm/loader"))==null?void 0:f.getOrInitializeCascadedLoader();if(v)return i=Object.assign(v,{version:"v1"})}}n.fromInternal=l})(Cm||(Cm={}));var hm,v1=(hm=class{constructor(n,i){P(this,"ctx");P(this,"tree");P(this,"data",[]);this.ctx=n,this.tree=i;const o=n.fiber.entry;o&&(o.subgroup=this)}get context(){return this.ctx}async create(n){const i=this.tree.ensureId(n),o=this.tree.store[i],l=o??(this.tree.store[i]=new Rm(this.ctx.loader)),c=l.parent;l.parent=this;try{await l.update(n,!0,!0)}catch(d){throw o?l.parent=c:delete this.tree.store[i],d}return l.id}unlink(n){const i=this.data,o=i.indexOf(n);o>=0&&i.splice(o,1)}async remove(n,i=!1){const o=this.tree.store[n];o&&(await o._dispose(),i||this.unlink(o.options),delete this.tree.store[n],this.context.emit("loader/partial-dispose",o,o.options,!1))}async update(n){const i=this.data,o=new Set;for(const d of n){const f=this.tree.ensureId(d);if(o.has(f))throw new TypeError(`duplicate loader entry id: ${f}`);o.add(f)}const l=Object.fromEntries(i.map(d=>[d.id,d])),c=Object.fromEntries(n.map(d=>[d.id,d]));try{const d=await Promise.allSettled(n.map(v=>this.create(v)));if(this.ctx.fiber.uid===null)return;const f=d.filter(v=>v.status==="rejected").map(v=>v.reason);if(f.length===1)throw f[0];if(f.length>1)throw new AggregateError(f,"loader entries failed to apply");for(const v of Object.keys(l))c[v]||await this.remove(v,!0);this.data=n}catch(d){const f=[];for(const v of Object.keys(c).reverse())if(!l[v])try{await this.remove(v,!0)}catch(x){f.push(x)}for(const v of i)try{await this.create(v)}catch(x){f.push(x)}throw this.data=i,f.length?new AggregateError([d,...f],"loader entry rollback failed"):d}}async stop(){for(const n of this.data)await this.remove(n.id,!0)}},P(hm,"key",Symbol.for("cordis.group")),hm),c8,u1;u1=class extends v1{constructor(i,o){super(i,i.fiber.entry.parent.tree);P(this,"ctx");P(this,"config");this.ctx=i,this.config=o,i.on("internal/update",l=>this.update(l))}async*[(c8=v1.key,Na.init)](){yield()=>this.stop(),await this.update(this.config)}},P(u1,"initial",[]),P(u1,c8,!0);var v2=function(n,i){return typeof n=="string"&&/^\.\.?\//.test(n)?n.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(o,l,c,d,f){return l?".js":c&&(!d||!f)?o:c+d+"."+f.toLowerCase()+"js"}):n},Ea,E8=(Ea=class{constructor(i){P(this,"ctx");P(this,"enableLogs");P(this,"root");P(this,"store",Object.create(null));this.ctx=i.extend({baseUrl:i.baseUrl}),this.root=new v1(this.ctx,this);const o=this.ctx.fiber.entry;o&&(o.subtree=this)}get context(){return this.ctx}*entries(){for(const i of Object.values(this.store))yield i,i.subtree&&(yield*i.subtree.entries())}getTasks(){return[...this.entries()].map(i=>{var o;return i._initTask||((o=i.fiber)==null?void 0:o.inertia)}).filter(mk)}async await(){for(;;){const i=this.getTasks();if(i.length){await Promise.allSettled(i);continue}const o=(await Promise.allSettled([...this.entries()].map(l=>l._await()))).filter(l=>l.status==="rejected").map(l=>l.reason);if(o.length===1)throw o[0];if(o.length>1)throw new AggregateError(o,"loader fibers failed");if(this.ctx.reflect.notify(["loader"]),!this.getTasks().length)return}}ensureId(i){if(!i.id)do i.id=Math.random().toString(16).slice(2,10);while(this.store[i.id]);return i.id}resolve(i){var f;const o=i.split(Ea.sep);let l=this;const c=o.pop();for(const v of o)if(l=(f=l.store[v])==null?void 0:f.subtree,!l)throw new Error(`cannot resolve entry ${i}`);const d=l.store[c];if(!d)throw new Error(`cannot resolve entry ${i}`);return d}resolveGroup(i){if(!i)return this.root;const o=this.resolve(i);if(!o.subgroup)throw new Error(`entry ${i} is not a group`);return o.subgroup}async create(i,o=null,l=1/0){const c=this.resolveGroup(o),d=await c.create(i),f=this.resolve(d);return c.data.splice(l,0,f.options),c.tree.write(),d}async remove(i){const o=this.resolve(i);await o.parent.remove(i),o.parent.tree.write()}async update(i,o,l,c){const d=this.resolve(i),f=d.parent,v=f.data.indexOf(d.options);let x=f;l!==void 0&&(x=this.resolveGroup(l),f.unlink(d.options),x.data.splice(c??1/0,0,d.options),d.parent=x);try{await d.update(o,!1,!0)}catch(b){if(l!==void 0){x.unlink(d.options),f.data.splice(v<0?f.data.length:v,0,d.options),d.parent=f;try{await d.update({},!1,!0)}catch(N){throw new AggregateError([b,N],`failed to roll back loader entry move ${i}`)}}throw b}f.tree.write(),x!==f&&x.tree.write()}import(i,o){return i.startsWith("cordis:")?this.ctx.loader.builtins[i.slice(7)]:h1(async l=>(l.offset+=3,this.ctx.loader.internal?await this.ctx.loader.internal.import(i,this.ctx.baseUrl,{}):i.startsWith(".")?await import(v2(new URL(i,this.ctx.baseUrl).href)):await import(v2(i))),o)}},P(Ea,"sep",":"),Ea);const D8=new Function("ctx","expr",`
|
|
67
|
+
with (ctx) {
|
|
68
|
+
return eval(expr)
|
|
69
|
+
}
|
|
70
|
+
`);function xm(n,i){return S8(i)?D8(n,i.__jsExpr):!i||typeof i!="object"?i:Array.isArray(i)?i.map(o=>xm(n,o)):os(i,o=>xm(n,o))}function S8(n){return n instanceof Object&&"__jsExpr"in n}function ki(n,i,o){const l=o instanceof Error?o.message:String(o);return new Error(`failed to ${n} loader entry ${i.id} (${i.name}): ${l}`,{cause:o})}function zh(n,i){const o=[];for(const l of i)l in n&&(o.push([l,n[l]]),delete n[l]);return o}function Ok(n,i=["id","name"],o=["config"]){const l=zh(n,i),c=zh(n,o),d=zh(n,Object.keys(n)).sort(([f],[v])=>f.localeCompare(v));return Object.assign(n,Object.fromEntries([...l,...d,...c]))}function Kk(n,i){for(const o of Object.keys(n))Reflect.deleteProperty(n,o);return Object.assign(n,i)}var Da,Rm=(Da=class{constructor(i){P(this,"loader");P(this,"ctx");P(this,"fiber");P(this,"parent");P(this,"options",{});P(this,"subgroup");P(this,"subtree");P(this,"_initTask");P(this,"_disposing",0);P(this,"getOuterStack",()=>{let i=this;const o=[];do o.push(` at ${i.parent.tree.ctx.baseUrl}#${i.options.id}`),i=i.parent.ctx.fiber.entry;while(i);return o});this.loader=i,this.ctx=i.ctx.extend({[Da.key]:this}),this.context.emit("loader/entry-init",this)}get context(){return this.ctx}get id(){let i=this.options.id;return this.parent.tree.ctx.fiber.entry&&(i=this.parent.tree.ctx.fiber.entry.id+E8.sep+i),i}get disabled(){return this._disabled(this.options)}_disabled(i){if(i.group)return!1;if(this.disabledOf(i))return!0;let o=this.parent.ctx.fiber.entry;for(;o;){if(this.disabledOf(o.options))return!0;o=o.parent.ctx.fiber.entry}return!1}disabledOf(i){return S8(i.disabled)?!!this.evaluate(i.disabled.__jsExpr):!!i.disabled}evaluate(i){return D8(this.ctx,i)}async _patchContext(i){await this.context.waterfall("loader/patch-context",this,async()=>{var o;Object.setPrototypeOf(this.ctx,this.parent.ctx),(o=this.fiber)!=null&&o.uid&&(i.includes("config")||this.options.group)&&await this.fiber.update(this.options.config,!0)})}async refresh(){this.fiber||this.disabled||await this.init()}async _dispose(i=this.fiber){if(i){this.fiber===i&&(this.fiber=void 0),this._disposing+=1;try{await i.dispose()}finally{this._disposing-=1}}}async update(i,o=!1,l=!1){const c=this.options,d={...c},f=o?i:{...c};if(!o)for(const[E,k]of Object.entries(i))ir(k)?delete f[E]:f[E]=k;Ok(f);const v=Object.keys({...f,...d}).filter(E=>!Mo(f[E],d[E]));if(!v.length&&!l)return;const x=()=>{o||(this.options=Kk(c,f))},b=this.fiber;if(!(b!=null&&b.uid)){this.fiber=void 0,this.options=f;try{this._disabled(f)||await this.init()}catch(E){throw this.options=c,E}x();return}if(this._disabled(f)){this.options=f;try{await this._dispose(b)}catch(E){throw this.options=c,ki("dispose",f,E)}x(),this.context.emit("loader/partial-dispose",this,d,!0);return}if(!v.some(E=>E==="name"||E==="inject"||E==="group")){this.options=f;try{await this._patchContext(v)}catch(E){this.options=c;try{await this._patchContext(v)}catch(k){throw ki("rollback",d,new AggregateError([E,k]))}throw this.context.emit("loader/partial-dispose",this,f,!0),ki("apply",f,E)}x(),this.context.emit("loader/partial-dispose",this,d,!0);return}let N;try{N=v.includes("name")?this.loader.unwrapExports(await this.parent.tree.import(f.name,this.getOuterStack)):b.runtime.callback}catch(E){throw ki("import",f,E)}const S=b.runtime.callback;this.options=f;try{await this._dispose(b)}catch(E){throw this.options=c,ki("dispose",f,E)}try{await this._start(N)}catch(E){this.options=c;try{await this._start(S)}catch(k){throw ki("rollback",d,new AggregateError([E,k]))}throw this.context.emit("loader/partial-dispose",this,f,!0),ki("apply",f,E)}x(),this.context.emit("loader/partial-dispose",this,d,!0)}async init(){try{await(this._initTask??(this._initTask=this._init()))}finally{this._initTask=void 0,this.loader.getTasks().length||this.ctx.reflect.notify(["loader"])}await this._await()}async _await(){var i;try{await((i=this.fiber)==null?void 0:i.await())}catch(o){throw ki("apply",this.options,o)}}async _init(){let i;try{i=this.loader.unwrapExports(await this.parent.tree.import(this.options.name,this.getOuterStack))}catch(o){throw ki("import",this.options,o)}try{await this._start(i)}catch(o){throw ki("apply",this.options,o)}}async _start(i){let o;try{await this._patchContext([]),this.loader.showLog(this,"apply"),o=this.fiber=this.ctx.registry.plugin(i,this.options.config,this.getOuterStack),await o.await()}catch(l){throw await this._dispose(o),l}}},P(Da,"key",Symbol.for("cordis.entry")),Da);function g2(n,i){for(const o of Reflect.ownKeys(n))Reflect.deleteProperty(n,o);for(const o of Reflect.ownKeys(i||{}))Reflect.defineProperty(n,o,Reflect.getOwnPropertyDescriptor(i,o))}var _8=class{constructor(){P(this,"store",Object.create(null))}access(n,i=!1){var o;return i?(o=this.store)[n]??(o[n]=Symbol(`${n}${this.suffix}`)):this.store[n]??Symbol(`${n}${this.suffix}`)}delete(n){delete this.store[n]}get size(){return Object.keys(this.store).length}},jk=class extends _8{constructor(i){super();P(this,"entry");this.entry=i}get suffix(){return"#"+this.entry.options.id}},Xk=class extends _8{constructor(i){super();P(this,"label");this.label=i}get suffix(){return"@"+this.label}};function Uk(n){const i=Object.create(null),o=Object.create(null);function l(c,d,f=!1){var b;let v;const x=(b=c.options.isolate)==null?void 0:b[d];if(x)return x===!0?v=c.realm??(c.realm=new jk(c)):f?v=i[x]??(i[x]=new Xk(x)):v=i[x],v==null?void 0:v.access(d,f)}n.on("loader/entry-init",c=>{c.ctx[nr.intercept]=Object.create(c.ctx[nr.intercept]),c.ctx[nr.isolate]=Object.create(c.ctx[nr.isolate])}),n.on("loader/patch-context",async(c,d)=>{const f=Object.create(c.parent.ctx[nr.isolate]);for(const b of Object.keys(c.options.isolate??{}))f[b]=l(c,b,!0);const v=Object.create(null),x=c.ctx[nr.isolate];for(const b in{...f,...o}){if(f[b]===x[b])continue;const N=o[b]??(o[b]=Symbol(`delim:${b}`));c.ctx[N]=Symbol(`${b}#${c.id}`);for(const S of[x[b],f[b]]){const E=S&&c.ctx.reflect.store[S];if(E){if(!E.fiber){c.ctx.logger.warn(new Error(`expected service ${b} to be implemented`));continue}if(v[b]=[x[b],f[b],c.ctx[N],E.fiber.ctx[N]],c.ctx[N]!==E.fiber.ctx[N])break}}}Object.setPrototypeOf(c.ctx[nr.isolate],c.parent.ctx[nr.isolate]),Object.setPrototypeOf(c.ctx[nr.intercept],c.parent.ctx[nr.intercept]),g2(c.ctx[nr.isolate],f),g2(c.ctx[nr.intercept],c.options.intercept),await d();for(const[b,N,S,E]of Object.values(v))S===E&&c.ctx.reflect.store[b]&&!c.ctx.reflect.store[N]&&(c.ctx.reflect.store[N]=c.ctx.reflect.store[b],delete c.ctx.reflect.store[b]);n.reflect.notify(Object.keys(v),(b,N)=>{const[S,E,k,T]=v[N],V=b[nr.isolate][N],J=b[o[N]];return(S===V||E===V)&&k===J!=(k===T)});for(const b in o)Reflect.ownKeys(f).includes(b)||delete c.ctx[o[b]]}),n.on("loader/partial-dispose",(c,d,f)=>{var v,x;for(const[b,N]of Object.entries(d.isolate??{})){if(N===!0||f&&((v=c.options.isolate)==null?void 0:v[b])===N)continue;const S=i[N];if(S){for(const E of n.loader.entries())if(((x=E.options.isolate)==null?void 0:x[b])===S.label)return;S.delete(b),S.size||delete i[S.label]}}})}var Vk=class extends E8{constructor(i,o={}){super(i);P(this,"config");P(this,"envData",{startTime:Date.now()});P(this,"name","loader");P(this,"internal",Cm.fromInternal());P(this,"builtins",Object.create(null));this.config=o,o.baseUrl&&(this.ctx.baseUrl=o.baseUrl);const l=this;Si(this,Na.tracker,{associate:"loader",property:"ctx",noShadow:!0}),i.reflect.provide("loader",this,this[Na.check]),i.on("internal/config",function(c,d){var v,x,b;const f=d();return!this.entry||((v=this.parent.fiber)==null?void 0:v.entry)===this.entry||(b=(x=this.runtime)==null?void 0:x.callback)!=null&&b[v1.key]?f:xm(this.ctx,f)},{global:!0}),i.on("internal/update",async function(c,d,f){var x,b,N;if(!this.entry||d||((x=this.parent.fiber)==null?void 0:x.entry)===this.entry)return f();await f();const v=(N=(b=this.runtime)==null?void 0:b.Config)==null?void 0:N.simplify;this.entry.options.config=v?v(c):c,this.entry.parent.tree.write()},{global:!0,prepend:!0}),i.on("internal/update",function(c,d,f){var v;return!this.entry||((v=this.parent.fiber)==null?void 0:v.entry)===this.entry||l.showLog(this.entry,"reload"),f()},{global:!0}),i.on("internal/plugin",c=>{var f;if(c.parent[Rm.key]&&!c.entry&&(c.entry=c.parent[Rm.key],Fu.resolve(c.entry.options.inject,c.inject)),c.uid||!c.entry||((f=c.parent.fiber)==null?void 0:f.entry)===c.entry||!i.registry.has(c.runtime.callback))return;const d=c.entry.parent.tree.ctx.fiber;!d.uid||d.state===5||c.entry._disposing||(this.showLog(c.entry,"unload"),!c.entry.disabled&&(c.entry.options.disabled=!0,c.entry.parent.tree.write()))}),i.plugin(Uk)}write(){}[Na.check](){return!(Na.prototype[Na.resolveConfig].call(this).await&&this.getTasks().length)}showLog(i,o){var l,c;i.options.group||!i.parent.tree.enableLogs||(c=(l=this.ctx.root).logger)==null||c.call(l,"loader").info("%s plugin %C",o,i.options.name)}locate(i=this.ctx.fiber){for(;;){if(i.entry)return i.entry.id;const o=i.parent.fiber;if(i===o)return;i=o}}exit(){}unwrapExports(i){return ir(i)||(i=i.default??i,!i.__esModule)?i:i.default??i}},i1={},Ph={exports:{}},yn={},Ih={exports:{}},Zh={},y2;function Mk(){return y2||(y2=1,(function(n){/**
|
|
71
|
+
* @license React
|
|
72
|
+
* scheduler.development.js
|
|
73
|
+
*
|
|
74
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
75
|
+
*
|
|
76
|
+
* This source code is licensed under the MIT license found in the
|
|
77
|
+
* LICENSE file in the root directory of this source tree.
|
|
78
|
+
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=!1,o=5;function l(de,Te){var Pe=de.length;de.push(Te),f(de,Te,Pe)}function c(de){return de.length===0?null:de[0]}function d(de){if(de.length===0)return null;var Te=de[0],Pe=de.pop();return Pe!==Te&&(de[0]=Pe,v(de,Pe,0)),Te}function f(de,Te,Pe){for(var ct=Pe;ct>0;){var Rt=ct-1>>>1,Ot=de[Rt];if(x(Ot,Te)>0)de[Rt]=Te,de[ct]=Ot,ct=Rt;else return}}function v(de,Te,Pe){for(var ct=Pe,Rt=de.length,Ot=Rt>>>1;ct<Ot;){var Kt=(ct+1)*2-1,gr=de[Kt],Nt=Kt+1,ht=de[Nt];if(x(gr,Te)<0)Nt<Rt&&x(ht,gr)<0?(de[ct]=ht,de[Nt]=Te,ct=Nt):(de[ct]=gr,de[Kt]=Te,ct=Kt);else if(Nt<Rt&&x(ht,Te)<0)de[ct]=ht,de[Nt]=Te,ct=Nt;else return}}function x(de,Te){var Pe=de.sortIndex-Te.sortIndex;return Pe!==0?Pe:de.id-Te.id}var b=1,N=2,S=3,E=4,k=5;function T(de,Te){}var V=typeof performance=="object"&&typeof performance.now=="function";if(V){var J=performance;n.unstable_now=function(){return J.now()}}else{var te=Date,Y=te.now();n.unstable_now=function(){return te.now()-Y}}var I=1073741823,oe=-1,Z=250,q=5e3,G=1e4,ge=I,B=[],ue=[],ie=1,me=null,ne=S,we=!1,Ne=!1,Ie=!1,Le=typeof setTimeout=="function"?setTimeout:null,bt=typeof clearTimeout=="function"?clearTimeout:null,Tt=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Lt(de){for(var Te=c(ue);Te!==null;){if(Te.callback===null)d(ue);else if(Te.startTime<=de)d(ue),Te.sortIndex=Te.expirationTime,l(B,Te);else return;Te=c(ue)}}function Zt(de){if(Ie=!1,Lt(de),!Ne)if(c(B)!==null)Ne=!0,zt(ke);else{var Te=c(ue);Te!==null&&vr(Zt,Te.startTime-de)}}function ke(de,Te){Ne=!1,Ie&&(Ie=!1,Er()),we=!0;var Pe=ne;try{var ct;if(!i)return rt(de,Te)}finally{me=null,ne=Pe,we=!1}}function rt(de,Te){var Pe=Te;for(Lt(Pe),me=c(B);me!==null&&!(me.expirationTime>Pe&&(!de||On()));){var ct=me.callback;if(typeof ct=="function"){me.callback=null,ne=me.priorityLevel;var Rt=me.expirationTime<=Pe,Ot=ct(Rt);Pe=n.unstable_now(),typeof Ot=="function"?me.callback=Ot:me===c(B)&&d(B),Lt(Pe)}else d(B);me=c(B)}if(me!==null)return!0;var Kt=c(ue);return Kt!==null&&vr(Zt,Kt.startTime-Pe),!1}function Ct(de,Te){switch(de){case b:case N:case S:case E:case k:break;default:de=S}var Pe=ne;ne=de;try{return Te()}finally{ne=Pe}}function cn(de){var Te;switch(ne){case b:case N:case S:Te=S;break;default:Te=ne;break}var Pe=ne;ne=Te;try{return de()}finally{ne=Pe}}function fn(de){var Te=ne;return function(){var Pe=ne;ne=Te;try{return de.apply(this,arguments)}finally{ne=Pe}}}function qt(de,Te,Pe){var ct=n.unstable_now(),Rt;if(typeof Pe=="object"&&Pe!==null){var Ot=Pe.delay;typeof Ot=="number"&&Ot>0?Rt=ct+Ot:Rt=ct}else Rt=ct;var Kt;switch(de){case b:Kt=oe;break;case N:Kt=Z;break;case k:Kt=ge;break;case E:Kt=G;break;case S:default:Kt=q;break}var gr=Rt+Kt,Nt={id:ie++,callback:Te,priorityLevel:de,startTime:Rt,expirationTime:gr,sortIndex:-1};return Rt>ct?(Nt.sortIndex=Rt,l(ue,Nt),c(B)===null&&Nt===c(ue)&&(Ie?Er():Ie=!0,vr(Zt,Rt-ct))):(Nt.sortIndex=gr,l(B,Nt),!Ne&&!we&&(Ne=!0,zt(ke))),Nt}function hr(){}function Wt(){!Ne&&!we&&(Ne=!0,zt(ke))}function Ft(){return c(B)}function sr(de){de.callback=null}function wr(){return ne}var Gt=!1,Nr=null,Ht=-1,Xt=o,Ir=-1;function On(){var de=n.unstable_now()-Ir;return!(de<Xt)}function Ur(){}function Vr(de){if(de<0||de>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}de>0?Xt=Math.floor(1e3/de):Xt=o}var mr=function(){if(Nr!==null){var de=n.unstable_now();Ir=de;var Te=!0,Pe=!0;try{Pe=Nr(Te,de)}finally{Pe?Yt():(Gt=!1,Nr=null)}}else Gt=!1},Yt;if(typeof Tt=="function")Yt=function(){Tt(mr)};else if(typeof MessageChannel<"u"){var kr=new MessageChannel,Kn=kr.port2;kr.port1.onmessage=mr,Yt=function(){Kn.postMessage(null)}}else Yt=function(){Le(mr,0)};function zt(de){Nr=de,Gt||(Gt=!0,Yt())}function vr(de,Te){Ht=Le(function(){de(n.unstable_now())},Te)}function Er(){bt(Ht),Ht=-1}var ui=Ur,jn=null;n.unstable_IdlePriority=k,n.unstable_ImmediatePriority=b,n.unstable_LowPriority=E,n.unstable_NormalPriority=S,n.unstable_Profiling=jn,n.unstable_UserBlockingPriority=N,n.unstable_cancelCallback=sr,n.unstable_continueExecution=Wt,n.unstable_forceFrameRate=Vr,n.unstable_getCurrentPriorityLevel=wr,n.unstable_getFirstCallbackNode=Ft,n.unstable_next=cn,n.unstable_pauseExecution=hr,n.unstable_requestPaint=ui,n.unstable_runWithPriority=Ct,n.unstable_scheduleCallback=qt,n.unstable_shouldYield=On,n.unstable_wrapCallback=fn,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(Zh)),Zh}var b2;function Ak(){return b2||(b2=1,Ih.exports=Mk()),Ih.exports}var C2;function Hk(){if(C2)return yn;C2=1;/**
|
|
79
|
+
* @license React
|
|
80
|
+
* react-dom.development.js
|
|
81
|
+
*
|
|
82
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the MIT license found in the
|
|
85
|
+
* LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/return(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Ho(),i=Ak(),o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function c(e){l=e}function d(e){if(!l){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];v("warn",e,r)}}function f(e){if(!l){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];v("error",e,r)}}function v(e,t,r){{var s=o.ReactDebugCurrentFrame,a=s.getStackAddendum();a!==""&&(t+="%s",r=r.concat([a]));var u=r.map(function(p){return String(p)});u.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,u)}}var x=0,b=1,N=2,S=3,E=4,k=5,T=6,V=7,J=8,te=9,Y=10,I=11,oe=12,Z=13,q=14,G=15,ge=16,B=17,ue=18,ie=19,me=21,ne=22,we=23,Ne=24,Ie=25,Le=!0,bt=!1,Tt=!1,Lt=!1,Zt=!1,ke=!0,rt=!0,Ct=!0,cn=!0,fn=new Set,qt={},hr={};function Wt(e,t){Ft(e,t),Ft(e+"Capture",t)}function Ft(e,t){qt[e]&&f("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),qt[e]=t;{var r=e.toLowerCase();hr[r]=e,e==="onDoubleClick"&&(hr.ondblclick=e)}for(var s=0;s<t.length;s++)fn.add(t[s])}var sr=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wr=Object.prototype.hasOwnProperty;function Gt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Nr(e){try{return Ht(e),!1}catch{return!0}}function Ht(e){return""+e}function Xt(e,t){if(Nr(e))return f("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Gt(e)),Ht(e)}function Ir(e){if(Nr(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Gt(e)),Ht(e)}function On(e,t){if(Nr(e))return f("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Gt(e)),Ht(e)}function Ur(e,t){if(Nr(e))return f("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Gt(e)),Ht(e)}function Vr(e){if(Nr(e))return f("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Gt(e)),Ht(e)}function mr(e){if(Nr(e))return f("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Gt(e)),Ht(e)}var Yt=0,kr=1,Kn=2,zt=3,vr=4,Er=5,ui=6,jn=":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",de=jn+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Te=new RegExp("^["+jn+"]["+de+"]*$"),Pe={},ct={};function Rt(e){return wr.call(ct,e)?!0:wr.call(Pe,e)?!1:Te.test(e)?(ct[e]=!0,!0):(Pe[e]=!0,f("Invalid attribute name: `%s`",e),!1)}function Ot(e,t,r){return t!==null?t.type===Yt:r?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Kt(e,t,r,s){if(r!==null&&r.type===Yt)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(s)return!1;if(r!==null)return!r.acceptsBooleans;var a=e.toLowerCase().slice(0,5);return a!=="data-"&&a!=="aria-"}default:return!1}}function gr(e,t,r,s){if(t===null||typeof t>"u"||Kt(e,t,r,s))return!0;if(s)return!1;if(r!==null)switch(r.type){case zt:return!t;case vr:return t===!1;case Er:return isNaN(t);case ui:return isNaN(t)||t<1}return!1}function Nt(e){return xt.hasOwnProperty(e)?xt[e]:null}function ht(e,t,r,s,a,u,p){this.acceptsBooleans=t===Kn||t===zt||t===vr,this.attributeName=s,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=p}var xt={},Zr=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Zr.forEach(function(e){xt[e]=new ht(e,Yt,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],r=e[1];xt[t]=new ht(t,kr,!1,r,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){xt[e]=new ht(e,Kn,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xt[e]=new ht(e,Kn,!1,e,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"].forEach(function(e){xt[e]=new ht(e,zt,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){xt[e]=new ht(e,zt,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){xt[e]=new ht(e,vr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){xt[e]=new ht(e,ui,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){xt[e]=new ht(e,Er,!1,e.toLowerCase(),null,!1,!1)});var qr=/[\-\:]([a-z])/g,Wr=function(e){return e[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-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"].forEach(function(e){var t=e.replace(qr,Wr);xt[t]=new ht(t,kr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(qr,Wr);xt[t]=new ht(t,kr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(qr,Wr);xt[t]=new ht(t,kr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){xt[e]=new ht(e,kr,!1,e.toLowerCase(),null,!1,!1)});var Pn="xlinkHref";xt[Pn]=new ht("xlinkHref",kr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){xt[e]=new ht(e,kr,!1,e.toLowerCase(),null,!0,!0)});var cs=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,_i=!1;function Ti(e){!_i&&cs.test(e)&&(_i=!0,f("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Li(e,t,r,s){if(s.mustUseProperty){var a=s.propertyName;return e[a]}else{Xt(r,t),s.sanitizeURL&&Ti(""+r);var u=s.attributeName,p=null;if(s.type===vr){if(e.hasAttribute(u)){var m=e.getAttribute(u);return m===""?!0:gr(t,r,s,!1)?m:m===""+r?r:m}}else if(e.hasAttribute(u)){if(gr(t,r,s,!1))return e.getAttribute(u);if(s.type===zt)return r;p=e.getAttribute(u)}return gr(t,r,s,!1)?p===null?r:p:p===""+r?r:p}}function Oi(e,t,r,s){{if(!Rt(t))return;if(!e.hasAttribute(t))return r===void 0?void 0:null;var a=e.getAttribute(t);return Xt(r,t),a===""+r?r:a}}function bn(e,t,r,s){var a=Nt(t);if(!Ot(t,a,s)){if(gr(t,r,a,s)&&(r=null),s||a===null){if(Rt(t)){var u=t;r===null?e.removeAttribute(u):(Xt(r,t),e.setAttribute(u,""+r))}return}var p=a.mustUseProperty;if(p){var m=a.propertyName;if(r===null){var g=a.type;e[m]=g===zt?!1:""}else e[m]=r;return}var C=a.attributeName,R=a.attributeNamespace;if(r===null)e.removeAttribute(C);else{var O=a.type,L;O===zt||O===vr&&r===!0?L="":(Xt(r,C),L=""+r,a.sanitizeURL&&Ti(L.toString())),R?e.setAttributeNS(R,C,L):e.setAttribute(C,L)}}}var Yr=Symbol.for("react.element"),Mr=Symbol.for("react.portal"),Xn=Symbol.for("react.fragment"),Ki=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),re=Symbol.for("react.provider"),w=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Se=Symbol.for("react.debug_trace_mode"),qe=Symbol.for("react.offscreen"),Je=Symbol.for("react.legacy_hidden"),dt=Symbol.for("react.cache"),Ut=Symbol.for("react.tracing_marker"),kt=Symbol.iterator,Jr="@@iterator";function Et(e){if(e===null||typeof e!="object")return null;var t=kt&&e[kt]||e[Jr];return typeof t=="function"?t:null}var ze=Object.assign,ji=0,Ta,Zu,fs,$o,Fo,zo,Po;function Io(){}Io.__reactDisabledLog=!0;function qu(){{if(ji===0){Ta=console.log,Zu=console.info,fs=console.warn,$o=console.error,Fo=console.group,zo=console.groupCollapsed,Po=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Io,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ji++}}function Wu(){{if(ji--,ji===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ze({},e,{value:Ta}),info:ze({},e,{value:Zu}),warn:ze({},e,{value:fs}),error:ze({},e,{value:$o}),group:ze({},e,{value:Fo}),groupCollapsed:ze({},e,{value:zo}),groupEnd:ze({},e,{value:Po})})}ji<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var La=o.ReactCurrentDispatcher,Zo;function ci(e,t,r){{if(Zo===void 0)try{throw Error()}catch(a){var s=a.stack.trim().match(/\n( *(at )?)/);Zo=s&&s[1]||""}return`
|
|
87
|
+
`+Zo+e}}var Hs=!1,ds;{var Oa=typeof WeakMap=="function"?WeakMap:Map;ds=new Oa}function Bs(e,t){if(!e||Hs)return"";{var r=ds.get(e);if(r!==void 0)return r}var s;Hs=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=La.current,La.current=null,qu();try{if(t){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(A){s=A}Reflect.construct(e,[],p)}else{try{p.call()}catch(A){s=A}e.call(p.prototype)}}else{try{throw Error()}catch(A){s=A}e()}}catch(A){if(A&&s&&typeof A.stack=="string"){for(var m=A.stack.split(`
|
|
88
|
+
`),g=s.stack.split(`
|
|
89
|
+
`),C=m.length-1,R=g.length-1;C>=1&&R>=0&&m[C]!==g[R];)R--;for(;C>=1&&R>=0;C--,R--)if(m[C]!==g[R]){if(C!==1||R!==1)do if(C--,R--,R<0||m[C]!==g[R]){var O=`
|
|
90
|
+
`+m[C].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),typeof e=="function"&&ds.set(e,O),O}while(C>=1&&R>=0);break}}}finally{Hs=!1,La.current=u,Wu(),Error.prepareStackTrace=a}var L=e?e.displayName||e.name:"",U=L?ci(L):"";return typeof e=="function"&&ds.set(e,U),U}function Ka(e,t,r){return Bs(e,!0)}function qo(e,t,r){return Bs(e,!1)}function Yu(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Wo(e,t,r){if(e==null)return"";if(typeof e=="function")return Bs(e,Yu(e));if(typeof e=="string")return ci(e);switch(e){case Q:return ci("Suspense");case ae:return ci("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case X:return qo(e.render);case ye:return Wo(e.type,t,r);case fe:{var s=e,a=s._payload,u=s._init;try{return Wo(u(a),t,r)}catch{}}}return""}function _1(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case k:return ci(e.type);case ge:return ci("Lazy");case Z:return ci("Suspense");case ie:return ci("SuspenseList");case x:case N:case G:return qo(e.type);case I:return qo(e.type.render);case b:return Ka(e.type);default:return""}}function $s(e){try{var t="",r=e;do t+=_1(r),r=r.return;while(r);return t}catch(s){return`
|
|
91
|
+
Error generating stack: `+s.message+`
|
|
92
|
+
`+s.stack}}function Ju(e,t,r){var s=e.displayName;if(s)return s;var a=t.displayName||t.name||"";return a!==""?r+"("+a+")":r}function Yo(e){return e.displayName||"Context"}function ot(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Xn:return"Fragment";case Mr:return"Portal";case _:return"Profiler";case Ki:return"StrictMode";case Q:return"Suspense";case ae:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case w:var t=e;return Yo(t)+".Consumer";case re:var r=e;return Yo(r._context)+".Provider";case X:return Ju(e,e.render,"ForwardRef");case ye:var s=e.displayName||null;return s!==null?s:ot(e.type)||"Memo";case fe:{var a=e,u=a._payload,p=a._init;try{return ot(p(u))}catch{return null}}}return null}function T1(e,t,r){var s=t.displayName||t.name||"";return e.displayName||(s!==""?r+"("+s+")":r)}function Xi(e){return e.displayName||"Context"}function Fe(e){var t=e.tag,r=e.type;switch(t){case Ne:return"Cache";case te:var s=r;return Xi(s)+".Consumer";case Y:var a=r;return Xi(a._context)+".Provider";case ue:return"DehydratedFragment";case I:return T1(r,r.render,"ForwardRef");case V:return"Fragment";case k:return r;case E:return"Portal";case S:return"Root";case T:return"Text";case ge:return ot(r);case J:return r===Ki?"StrictMode":"Mode";case ne:return"Offscreen";case oe:return"Profiler";case me:return"Scope";case Z:return"Suspense";case ie:return"SuspenseList";case Ie:return"TracingMarker";case b:case x:case B:case N:case q:case G:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;break}return null}var Jo=o.ReactDebugCurrentFrame,Gr=null,Fs=!1;function ps(){{if(Gr===null)return null;var e=Gr._debugOwner;if(e!==null&&typeof e<"u")return Fe(e)}return null}function L1(){return Gr===null?"":$s(Gr)}function yr(){Jo.getCurrentStack=null,Gr=null,Fs=!1}function Vt(e){Jo.getCurrentStack=e===null?null:L1,Gr=e,Fs=!1}function Gu(){return Gr}function Un(e){Fs=e}function Qr(e){return""+e}function In(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return mr(e),e;default:return""}}var O1={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Go(e,t){O1[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||f("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||f("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Qu(e){var t=e.type,r=e.nodeName;return r&&r.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Qo(e){return e._valueTracker}function ja(e){e._valueTracker=null}function K1(e){var t="";return e&&(Qu(e)?t=e.checked?"true":"false":t=e.value),t}function hs(e){var t=Qu(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);mr(e[t]);var s=""+e[t];if(!(e.hasOwnProperty(t)||typeof r>"u"||typeof r.get!="function"||typeof r.set!="function")){var a=r.get,u=r.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(m){mr(m),s=""+m,u.call(this,m)}}),Object.defineProperty(e,t,{enumerable:r.enumerable});var p={getValue:function(){return s},setValue:function(m){mr(m),s=""+m},stopTracking:function(){ja(e),delete e[t]}};return p}}function zs(e){Qo(e)||(e._valueTracker=hs(e))}function el(e){if(!e)return!1;var t=Qo(e);if(!t)return!0;var r=t.getValue(),s=K1(e);return s!==r?(t.setValue(s),!0):!1}function Ui(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Xa=!1,Ua=!1,Va=!1,ec=!1;function tc(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function tl(e,t){var r=e,s=t.checked,a=ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??r._wrapperState.initialChecked});return a}function rc(e,t){Go("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Ua&&(f("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ps()||"A component",t.type),Ua=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Xa&&(f("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ps()||"A component",t.type),Xa=!0);var r=e,s=t.defaultValue==null?"":t.defaultValue;r._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:In(t.value!=null?t.value:s),controlled:tc(t)}}function y(e,t){var r=e,s=t.checked;s!=null&&bn(r,"checked",s,!1)}function D(e,t){var r=e;{var s=tc(t);!r._wrapperState.controlled&&s&&!ec&&(f("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),ec=!0),r._wrapperState.controlled&&!s&&!Va&&(f("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Va=!0)}y(e,t);var a=In(t.value),u=t.type;if(a!=null)u==="number"?(a===0&&r.value===""||r.value!=a)&&(r.value=Qr(a)):r.value!==Qr(a)&&(r.value=Qr(a));else if(u==="submit"||u==="reset"){r.removeAttribute("value");return}t.hasOwnProperty("value")?Xe(r,t.type,a):t.hasOwnProperty("defaultValue")&&Xe(r,t.type,In(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(r.defaultChecked=!!t.defaultChecked)}function M(e,t,r){var s=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type,u=a==="submit"||a==="reset";if(u&&(t.value===void 0||t.value===null))return;var p=Qr(s._wrapperState.initialValue);r||p!==s.value&&(s.value=p),s.defaultValue=p}var m=s.name;m!==""&&(s.name=""),s.defaultChecked=!s.defaultChecked,s.defaultChecked=!!s._wrapperState.initialChecked,m!==""&&(s.name=m)}function $(e,t){var r=e;D(r,t),ce(r,t)}function ce(e,t){var r=t.name;if(t.type==="radio"&&r!=null){for(var s=e;s.parentNode;)s=s.parentNode;Xt(r,"name");for(var a=s.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),u=0;u<a.length;u++){var p=a[u];if(!(p===e||p.form!==e.form)){var m=$c(p);if(!m)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");el(p),D(p,m)}}}}function Xe(e,t,r){(t!=="number"||Ui(e.ownerDocument)!==e)&&(r==null?e.defaultValue=Qr(e._wrapperState.initialValue):e.defaultValue!==Qr(r)&&(e.defaultValue=Qr(r)))}var De=!1,Be=!1,Ge=!1;function mt(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(r){r!=null&&(typeof r=="string"||typeof r=="number"||Be||(Be=!0,f("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Ge||(Ge=!0,f("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!De&&(f("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),De=!0)}function Dt(e,t){t.value!=null&&e.setAttribute("value",Qr(In(t.value)))}var St=Array.isArray;function We(e){return St(e)}var Mt;Mt=!1;function Qt(){var e=ps();return e?`
|
|
93
|
+
|
|
94
|
+
Check the render method of \``+e+"`.":""}var Ps=["value","defaultValue"];function rl(e){{Go("select",e);for(var t=0;t<Ps.length;t++){var r=Ps[t];if(e[r]!=null){var s=We(e[r]);e.multiple&&!s?f("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",r,Qt()):!e.multiple&&s&&f("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",r,Qt())}}}}function Vi(e,t,r,s){var a=e.options;if(t){for(var u=r,p={},m=0;m<u.length;m++)p["$"+u[m]]=!0;for(var g=0;g<a.length;g++){var C=p.hasOwnProperty("$"+a[g].value);a[g].selected!==C&&(a[g].selected=C),C&&s&&(a[g].defaultSelected=!0)}}else{for(var R=Qr(In(r)),O=null,L=0;L<a.length;L++){if(a[L].value===R){a[L].selected=!0,s&&(a[L].defaultSelected=!0);return}O===null&&!a[L].disabled&&(O=a[L])}O!==null&&(O.selected=!0)}}function nl(e,t){return ze({},t,{value:void 0})}function il(e,t){var r=e;rl(t),r._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Mt&&(f("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Mt=!0)}function j1(e,t){var r=e;r.multiple=!!t.multiple;var s=t.value;s!=null?Vi(r,!!t.multiple,s,!1):t.defaultValue!=null&&Vi(r,!!t.multiple,t.defaultValue,!0)}function nc(e,t){var r=e,s=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!t.multiple;var a=t.value;a!=null?Vi(r,!!t.multiple,a,!1):s!==!!t.multiple&&(t.defaultValue!=null?Vi(r,!!t.multiple,t.defaultValue,!0):Vi(r,!!t.multiple,t.multiple?[]:"",!1))}function X1(e,t){var r=e,s=t.value;s!=null&&Vi(r,!!t.multiple,s,!1)}var Gm=!1;function U1(e,t){var r=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var s=ze({},t,{value:void 0,defaultValue:void 0,children:Qr(r._wrapperState.initialValue)});return s}function Qm(e,t){var r=e;Go("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Gm&&(f("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",ps()||"A component"),Gm=!0);var s=t.value;if(s==null){var a=t.children,u=t.defaultValue;if(a!=null){f("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(u!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(We(a)){if(a.length>1)throw new Error("<textarea> can only have at most one child.");a=a[0]}u=a}}u==null&&(u=""),s=u}r._wrapperState={initialValue:In(s)}}function e3(e,t){var r=e,s=In(t.value),a=In(t.defaultValue);if(s!=null){var u=Qr(s);u!==r.value&&(r.value=u),t.defaultValue==null&&r.defaultValue!==u&&(r.defaultValue=u)}a!=null&&(r.defaultValue=Qr(a))}function t3(e,t){var r=e,s=r.textContent;s===r._wrapperState.initialValue&&s!==""&&s!==null&&(r.value=s)}function H9(e,t){e3(e,t)}var Mi="http://www.w3.org/1999/xhtml",B9="http://www.w3.org/1998/Math/MathML",V1="http://www.w3.org/2000/svg";function M1(e){switch(e){case"svg":return V1;case"math":return B9;default:return Mi}}function A1(e,t){return e==null||e===Mi?M1(t):e===V1&&t==="foreignObject"?Mi:e}var $9=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,s,a){MSApp.execUnsafeLocalFunction(function(){return e(t,r,s,a)})}:e},ic,r3=$9(function(e,t){if(e.namespaceURI===V1&&!("innerHTML"in e)){ic=ic||document.createElement("div"),ic.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var r=ic.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild);return}e.innerHTML=t}),dn=1,Ai=3,er=8,Hi=9,H1=11,sc=function(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===Ai){r.nodeValue=t;return}}e.textContent=t},F9={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},sl={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};function z9(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var P9=["Webkit","ms","Moz","O"];Object.keys(sl).forEach(function(e){P9.forEach(function(t){sl[z9(t,e)]=sl[e]})});function B1(e,t,r){var s=t==null||typeof t=="boolean"||t==="";return s?"":!r&&typeof t=="number"&&t!==0&&!(sl.hasOwnProperty(e)&&sl[e])?t+"px":(Ur(t,e),(""+t).trim())}var I9=/([A-Z])/g,Z9=/^ms-/;function q9(e){return e.replace(I9,"-$1").toLowerCase().replace(Z9,"-ms-")}var n3=function(){};{var W9=/^(?:webkit|moz|o)[A-Z]/,Y9=/^-ms-/,J9=/-(.)/g,i3=/;\s*$/,Ma={},$1={},s3=!1,a3=!1,G9=function(e){return e.replace(J9,function(t,r){return r.toUpperCase()})},Q9=function(e){Ma.hasOwnProperty(e)&&Ma[e]||(Ma[e]=!0,f("Unsupported style property %s. Did you mean %s?",e,G9(e.replace(Y9,"ms-"))))},e7=function(e){Ma.hasOwnProperty(e)&&Ma[e]||(Ma[e]=!0,f("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},t7=function(e,t){$1.hasOwnProperty(t)&&$1[t]||($1[t]=!0,f(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(i3,"")))},r7=function(e,t){s3||(s3=!0,f("`NaN` is an invalid value for the `%s` css style property.",e))},n7=function(e,t){a3||(a3=!0,f("`Infinity` is an invalid value for the `%s` css style property.",e))};n3=function(e,t){e.indexOf("-")>-1?Q9(e):W9.test(e)?e7(e):i3.test(t)&&t7(e,t),typeof t=="number"&&(isNaN(t)?r7(e,t):isFinite(t)||n7(e,t))}}var i7=n3;function s7(e){{var t="",r="";for(var s in e)if(e.hasOwnProperty(s)){var a=e[s];if(a!=null){var u=s.indexOf("--")===0;t+=r+(u?s:q9(s))+":",t+=B1(s,a,u),r=";"}}return t||null}}function o3(e,t){var r=e.style;for(var s in t)if(t.hasOwnProperty(s)){var a=s.indexOf("--")===0;a||i7(s,t[s]);var u=B1(s,t[s],a);s==="float"&&(s="cssFloat"),a?r.setProperty(s,u):r[s]=u}}function a7(e){return e==null||typeof e=="boolean"||e===""}function l3(e){var t={};for(var r in e)for(var s=F9[r]||[r],a=0;a<s.length;a++)t[s[a]]=r;return t}function o7(e,t){{if(!t)return;var r=l3(e),s=l3(t),a={};for(var u in r){var p=r[u],m=s[u];if(m&&p!==m){var g=p+","+m;if(a[g])continue;a[g]=!0,f("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",a7(e[p])?"Removing":"Updating",p,m)}}}}var l7={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},u7=ze({menuitem:!0},l7),c7="__html";function F1(e,t){if(t){if(u7[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(c7 in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&f("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Is(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 ac={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},u3={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Aa={},f7=new RegExp("^(aria)-["+de+"]*$"),d7=new RegExp("^(aria)[A-Z]["+de+"]*$");function p7(e,t){{if(wr.call(Aa,t)&&Aa[t])return!0;if(d7.test(t)){var r="aria-"+t.slice(4).toLowerCase(),s=u3.hasOwnProperty(r)?r:null;if(s==null)return f("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Aa[t]=!0,!0;if(t!==s)return f("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,s),Aa[t]=!0,!0}if(f7.test(t)){var a=t.toLowerCase(),u=u3.hasOwnProperty(a)?a:null;if(u==null)return Aa[t]=!0,!1;if(t!==u)return f("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,u),Aa[t]=!0,!0}}return!0}function h7(e,t){{var r=[];for(var s in t){var a=p7(e,s);a||r.push(s)}var u=r.map(function(p){return"`"+p+"`"}).join(", ");r.length===1?f("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",u,e):r.length>1&&f("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",u,e)}}function m7(e,t){Is(e,t)||h7(e,t)}var c3=!1;function v7(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!c3&&(c3=!0,e==="select"&&t.multiple?f("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):f("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var f3=function(){};{var en={},d3=/^on./,g7=/^on[^A-Z]/,y7=new RegExp("^(aria)-["+de+"]*$"),b7=new RegExp("^(aria)[A-Z]["+de+"]*$");f3=function(e,t,r,s){if(wr.call(en,t)&&en[t])return!0;var a=t.toLowerCase();if(a==="onfocusin"||a==="onfocusout")return f("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),en[t]=!0,!0;if(s!=null){var u=s.registrationNameDependencies,p=s.possibleRegistrationNames;if(u.hasOwnProperty(t))return!0;var m=p.hasOwnProperty(a)?p[a]:null;if(m!=null)return f("Invalid event handler property `%s`. Did you mean `%s`?",t,m),en[t]=!0,!0;if(d3.test(t))return f("Unknown event handler property `%s`. It will be ignored.",t),en[t]=!0,!0}else if(d3.test(t))return g7.test(t)&&f("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),en[t]=!0,!0;if(y7.test(t)||b7.test(t))return!0;if(a==="innerhtml")return f("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),en[t]=!0,!0;if(a==="aria")return f("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),en[t]=!0,!0;if(a==="is"&&r!==null&&r!==void 0&&typeof r!="string")return f("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof r),en[t]=!0,!0;if(typeof r=="number"&&isNaN(r))return f("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),en[t]=!0,!0;var g=Nt(t),C=g!==null&&g.type===Yt;if(ac.hasOwnProperty(a)){var R=ac[a];if(R!==t)return f("Invalid DOM property `%s`. Did you mean `%s`?",t,R),en[t]=!0,!0}else if(!C&&t!==a)return f("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,a),en[t]=!0,!0;return typeof r=="boolean"&&Kt(t,r,g,!1)?(r?f('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',r,t,t,r,t):f('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',r,t,t,r,t,t,t),en[t]=!0,!0):C?!0:Kt(t,r,g,!1)?(en[t]=!0,!1):((r==="false"||r==="true")&&g!==null&&g.type===zt&&(f("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",r,t,r==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,r),en[t]=!0),!0)}}var C7=function(e,t,r){{var s=[];for(var a in t){var u=f3(e,a,t[a],r);u||s.push(a)}var p=s.map(function(m){return"`"+m+"`"}).join(", ");s.length===1?f("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",p,e):s.length>1&&f("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",p,e)}};function x7(e,t,r){Is(e,t)||C7(e,t,r)}var p3=1,z1=2,al=4,R7=p3|z1|al,ol=null;function w7(e){ol!==null&&f("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),ol=e}function N7(){ol===null&&f("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),ol=null}function k7(e){return e===ol}function P1(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Ai?t.parentNode:t}var I1=null,Ha=null,Ba=null;function h3(e){var t=ws(e);if(t){if(typeof I1!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var r=t.stateNode;if(r){var s=$c(r);I1(t.stateNode,t.type,s)}}}function E7(e){I1=e}function m3(e){Ha?Ba?Ba.push(e):Ba=[e]:Ha=e}function D7(){return Ha!==null||Ba!==null}function v3(){if(Ha){var e=Ha,t=Ba;if(Ha=null,Ba=null,h3(e),t)for(var r=0;r<t.length;r++)h3(t[r])}}var g3=function(e,t){return e(t)},y3=function(){},Z1=!1;function S7(){var e=D7();e&&(y3(),v3())}function b3(e,t,r){if(Z1)return e(t,r);Z1=!0;try{return g3(e,t,r)}finally{Z1=!1,S7()}}function _7(e,t,r){g3=e,y3=r}function T7(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function L7(e,t,r){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(r.disabled&&T7(t));default:return!1}}function ll(e,t){var r=e.stateNode;if(r===null)return null;var s=$c(r);if(s===null)return null;var a=s[t];if(L7(t,e.type,s))return null;if(a&&typeof a!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}var q1=!1;if(sr)try{var ul={};Object.defineProperty(ul,"passive",{get:function(){q1=!0}}),window.addEventListener("test",ul,ul),window.removeEventListener("test",ul,ul)}catch{q1=!1}function C3(e,t,r,s,a,u,p,m,g){var C=Array.prototype.slice.call(arguments,3);try{t.apply(r,C)}catch(R){this.onError(R)}}var x3=C3;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var W1=document.createElement("react");x3=function(t,r,s,a,u,p,m,g,C){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var R=document.createEvent("Event"),O=!1,L=!0,U=window.event,A=Object.getOwnPropertyDescriptor(window,"event");function F(){W1.removeEventListener(z,Oe,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=U)}var he=Array.prototype.slice.call(arguments,3);function Oe(){O=!0,F(),r.apply(s,he),L=!1}var _e,tt=!1,Ye=!1;function K(j){if(_e=j.error,tt=!0,_e===null&&j.colno===0&&j.lineno===0&&(Ye=!0),j.defaultPrevented&&_e!=null&&typeof _e=="object")try{_e._suppressLogging=!0}catch{}}var z="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",K),W1.addEventListener(z,Oe,!1),R.initEvent(z,!1,!1),W1.dispatchEvent(R),A&&Object.defineProperty(window,"event",A),O&&L&&(tt?Ye&&(_e=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):_e=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(_e)),window.removeEventListener("error",K),!O)return F(),C3.apply(this,arguments)}}var O7=x3,$a=!1,oc=null,lc=!1,Y1=null,K7={onError:function(e){$a=!0,oc=e}};function J1(e,t,r,s,a,u,p,m,g){$a=!1,oc=null,O7.apply(K7,arguments)}function j7(e,t,r,s,a,u,p,m,g){if(J1.apply(this,arguments),$a){var C=G1();lc||(lc=!0,Y1=C)}}function X7(){if(lc){var e=Y1;throw lc=!1,Y1=null,e}}function U7(){return $a}function G1(){if($a){var e=oc;return $a=!1,oc=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Fa(e){return e._reactInternals}function V7(e){return e._reactInternals!==void 0}function M7(e,t){e._reactInternals=t}var Ue=0,za=1,tr=2,lt=4,Zs=16,cl=32,R3=64,ut=128,Bi=256,qs=512,Pa=1024,ms=2048,$i=4096,Ws=8192,Q1=16384,A7=32767,uc=32768,tn=65536,ed=131072,w3=1048576,td=2097152,Ys=4194304,rd=8388608,vs=16777216,nd=33554432,id=lt|Pa|0,sd=tr|lt|Zs|cl|qs|$i|Ws,fl=lt|R3|qs|Ws,Ia=ms|Zs,Fi=Ys|rd|td,H7=o.ReactCurrentOwner;function Js(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{var s=t;do t=s,(t.flags&(tr|$i))!==Ue&&(r=t.return),s=t.return;while(s)}return t.tag===S?r:null}function N3(e){if(e.tag===Z){var t=e.memoizedState;if(t===null){var r=e.alternate;r!==null&&(t=r.memoizedState)}if(t!==null)return t.dehydrated}return null}function k3(e){return e.tag===S?e.stateNode.containerInfo:null}function B7(e){return Js(e)===e}function $7(e){{var t=H7.current;if(t!==null&&t.tag===b){var r=t,s=r.stateNode;s._warnedAboutRefsInRender||f("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Fe(r)||"A component"),s._warnedAboutRefsInRender=!0}}var a=Fa(e);return a?Js(a)===a:!1}function E3(e){if(Js(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function D3(e){var t=e.alternate;if(!t){var r=Js(e);if(r===null)throw new Error("Unable to find node on an unmounted component.");return r!==e?null:e}for(var s=e,a=t;;){var u=s.return;if(u===null)break;var p=u.alternate;if(p===null){var m=u.return;if(m!==null){s=a=m;continue}break}if(u.child===p.child){for(var g=u.child;g;){if(g===s)return E3(u),e;if(g===a)return E3(u),t;g=g.sibling}throw new Error("Unable to find node on an unmounted component.")}if(s.return!==a.return)s=u,a=p;else{for(var C=!1,R=u.child;R;){if(R===s){C=!0,s=u,a=p;break}if(R===a){C=!0,a=u,s=p;break}R=R.sibling}if(!C){for(R=p.child;R;){if(R===s){C=!0,s=p,a=u;break}if(R===a){C=!0,a=p,s=u;break}R=R.sibling}if(!C)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(s.alternate!==a)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(s.tag!==S)throw new Error("Unable to find node on an unmounted component.");return s.stateNode.current===s?e:t}function S3(e){var t=D3(e);return t!==null?_3(t):null}function _3(e){if(e.tag===k||e.tag===T)return e;for(var t=e.child;t!==null;){var r=_3(t);if(r!==null)return r;t=t.sibling}return null}function F7(e){var t=D3(e);return t!==null?T3(t):null}function T3(e){if(e.tag===k||e.tag===T)return e;for(var t=e.child;t!==null;){if(t.tag!==E){var r=T3(t);if(r!==null)return r}t=t.sibling}return null}var L3=i.unstable_scheduleCallback,z7=i.unstable_cancelCallback,P7=i.unstable_shouldYield,I7=i.unstable_requestPaint,br=i.unstable_now,Z7=i.unstable_getCurrentPriorityLevel,cc=i.unstable_ImmediatePriority,ad=i.unstable_UserBlockingPriority,Gs=i.unstable_NormalPriority,q7=i.unstable_LowPriority,od=i.unstable_IdlePriority,W7=i.unstable_yieldValue,Y7=i.unstable_setDisableYieldValue,Za=null,Ar=null,be=null,fi=!1,Zn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function J7(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return f("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{rt&&(e=ze({},e,{getLaneLabelMap:ng,injectProfilingHooks:rg})),Za=t.inject(e),Ar=t}catch(r){f("React instrumentation encountered an error: %s.",r)}return!!t.checkDCE}function G7(e,t){if(Ar&&typeof Ar.onScheduleFiberRoot=="function")try{Ar.onScheduleFiberRoot(Za,e,t)}catch(r){fi||(fi=!0,f("React instrumentation encountered an error: %s",r))}}function Q7(e,t){if(Ar&&typeof Ar.onCommitFiberRoot=="function")try{var r=(e.current.flags&ut)===ut;if(Ct){var s;switch(t){case Rn:s=cc;break;case Pi:s=ad;break;case Ii:s=Gs;break;case gc:s=od;break;default:s=Gs;break}Ar.onCommitFiberRoot(Za,e,s,r)}}catch(a){fi||(fi=!0,f("React instrumentation encountered an error: %s",a))}}function eg(e){if(Ar&&typeof Ar.onPostCommitFiberRoot=="function")try{Ar.onPostCommitFiberRoot(Za,e)}catch(t){fi||(fi=!0,f("React instrumentation encountered an error: %s",t))}}function tg(e){if(Ar&&typeof Ar.onCommitFiberUnmount=="function")try{Ar.onCommitFiberUnmount(Za,e)}catch(t){fi||(fi=!0,f("React instrumentation encountered an error: %s",t))}}function Cr(e){if(typeof W7=="function"&&(Y7(e),c(e)),Ar&&typeof Ar.setStrictMode=="function")try{Ar.setStrictMode(Za,e)}catch(t){fi||(fi=!0,f("React instrumentation encountered an error: %s",t))}}function rg(e){be=e}function ng(){{for(var e=new Map,t=1,r=0;r<ud;r++){var s=wg(t);e.set(t,s),t*=2}return e}}function ig(e){be!==null&&typeof be.markCommitStarted=="function"&&be.markCommitStarted(e)}function O3(){be!==null&&typeof be.markCommitStopped=="function"&&be.markCommitStopped()}function dl(e){be!==null&&typeof be.markComponentRenderStarted=="function"&&be.markComponentRenderStarted(e)}function qa(){be!==null&&typeof be.markComponentRenderStopped=="function"&&be.markComponentRenderStopped()}function sg(e){be!==null&&typeof be.markComponentPassiveEffectMountStarted=="function"&&be.markComponentPassiveEffectMountStarted(e)}function ag(){be!==null&&typeof be.markComponentPassiveEffectMountStopped=="function"&&be.markComponentPassiveEffectMountStopped()}function og(e){be!==null&&typeof be.markComponentPassiveEffectUnmountStarted=="function"&&be.markComponentPassiveEffectUnmountStarted(e)}function lg(){be!==null&&typeof be.markComponentPassiveEffectUnmountStopped=="function"&&be.markComponentPassiveEffectUnmountStopped()}function ug(e){be!==null&&typeof be.markComponentLayoutEffectMountStarted=="function"&&be.markComponentLayoutEffectMountStarted(e)}function cg(){be!==null&&typeof be.markComponentLayoutEffectMountStopped=="function"&&be.markComponentLayoutEffectMountStopped()}function K3(e){be!==null&&typeof be.markComponentLayoutEffectUnmountStarted=="function"&&be.markComponentLayoutEffectUnmountStarted(e)}function j3(){be!==null&&typeof be.markComponentLayoutEffectUnmountStopped=="function"&&be.markComponentLayoutEffectUnmountStopped()}function fg(e,t,r){be!==null&&typeof be.markComponentErrored=="function"&&be.markComponentErrored(e,t,r)}function dg(e,t,r){be!==null&&typeof be.markComponentSuspended=="function"&&be.markComponentSuspended(e,t,r)}function pg(e){be!==null&&typeof be.markLayoutEffectsStarted=="function"&&be.markLayoutEffectsStarted(e)}function hg(){be!==null&&typeof be.markLayoutEffectsStopped=="function"&&be.markLayoutEffectsStopped()}function mg(e){be!==null&&typeof be.markPassiveEffectsStarted=="function"&&be.markPassiveEffectsStarted(e)}function vg(){be!==null&&typeof be.markPassiveEffectsStopped=="function"&&be.markPassiveEffectsStopped()}function X3(e){be!==null&&typeof be.markRenderStarted=="function"&&be.markRenderStarted(e)}function gg(){be!==null&&typeof be.markRenderYielded=="function"&&be.markRenderYielded()}function U3(){be!==null&&typeof be.markRenderStopped=="function"&&be.markRenderStopped()}function yg(e){be!==null&&typeof be.markRenderScheduled=="function"&&be.markRenderScheduled(e)}function bg(e,t){be!==null&&typeof be.markForceUpdateScheduled=="function"&&be.markForceUpdateScheduled(e,t)}function ld(e,t){be!==null&&typeof be.markStateUpdateScheduled=="function"&&be.markStateUpdateScheduled(e,t)}var je=0,Qe=1,vt=2,Pt=8,di=16,V3=Math.clz32?Math.clz32:Rg,Cg=Math.log,xg=Math.LN2;function Rg(e){var t=e>>>0;return t===0?32:31-(Cg(t)/xg|0)|0}var ud=31,ee=0,xr=0,Ae=1,Wa=2,zi=4,Qs=8,pi=16,pl=32,Ya=4194240,hl=64,cd=128,fd=256,dd=512,pd=1024,hd=2048,md=4096,vd=8192,gd=16384,yd=32768,bd=65536,Cd=131072,xd=262144,Rd=524288,wd=1048576,Nd=2097152,fc=130023424,Ja=4194304,kd=8388608,Ed=16777216,Dd=33554432,Sd=67108864,M3=Ja,ml=134217728,A3=268435455,vl=268435456,ea=536870912,Cn=1073741824;function wg(e){{if(e&Ae)return"Sync";if(e&Wa)return"InputContinuousHydration";if(e&zi)return"InputContinuous";if(e&Qs)return"DefaultHydration";if(e&pi)return"Default";if(e&pl)return"TransitionHydration";if(e&Ya)return"Transition";if(e&fc)return"Retry";if(e&ml)return"SelectiveHydration";if(e&vl)return"IdleHydration";if(e&ea)return"Idle";if(e&Cn)return"Offscreen"}}var _t=-1,dc=hl,pc=Ja;function gl(e){switch(ta(e)){case Ae:return Ae;case Wa:return Wa;case zi:return zi;case Qs:return Qs;case pi:return pi;case pl:return pl;case hl:case cd:case fd:case dd:case pd:case hd:case md:case vd:case gd:case yd:case bd:case Cd:case xd:case Rd:case wd:case Nd:return e&Ya;case Ja:case kd:case Ed:case Dd:case Sd:return e&fc;case ml:return ml;case vl:return vl;case ea:return ea;case Cn:return Cn;default:return f("Should have found matching lanes. This is a bug in React."),e}}function hc(e,t){var r=e.pendingLanes;if(r===ee)return ee;var s=ee,a=e.suspendedLanes,u=e.pingedLanes,p=r&A3;if(p!==ee){var m=p&~a;if(m!==ee)s=gl(m);else{var g=p&u;g!==ee&&(s=gl(g))}}else{var C=r&~a;C!==ee?s=gl(C):u!==ee&&(s=gl(u))}if(s===ee)return ee;if(t!==ee&&t!==s&&(t&a)===ee){var R=ta(s),O=ta(t);if(R>=O||R===pi&&(O&Ya)!==ee)return t}(s&zi)!==ee&&(s|=r&pi);var L=e.entangledLanes;if(L!==ee)for(var U=e.entanglements,A=s&L;A>0;){var F=ra(A),he=1<<F;s|=U[F],A&=~he}return s}function Ng(e,t){for(var r=e.eventTimes,s=_t;t>0;){var a=ra(t),u=1<<a,p=r[a];p>s&&(s=p),t&=~u}return s}function kg(e,t){switch(e){case Ae:case Wa:case zi:return t+250;case Qs:case pi:case pl:case hl:case cd:case fd:case dd:case pd:case hd:case md:case vd:case gd:case yd:case bd:case Cd:case xd:case Rd:case wd:case Nd:return t+5e3;case Ja:case kd:case Ed:case Dd:case Sd:return _t;case ml:case vl:case ea:case Cn:return _t;default:return f("Should have found matching lanes. This is a bug in React."),_t}}function Eg(e,t){for(var r=e.pendingLanes,s=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,p=r;p>0;){var m=ra(p),g=1<<m,C=u[m];C===_t?((g&s)===ee||(g&a)!==ee)&&(u[m]=kg(g,t)):C<=t&&(e.expiredLanes|=g),p&=~g}}function Dg(e){return gl(e.pendingLanes)}function _d(e){var t=e.pendingLanes&~Cn;return t!==ee?t:t&Cn?Cn:ee}function Sg(e){return(e&Ae)!==ee}function Td(e){return(e&A3)!==ee}function H3(e){return(e&fc)===e}function _g(e){var t=Ae|zi|pi;return(e&t)===ee}function Tg(e){return(e&Ya)===e}function mc(e,t){var r=Wa|zi|Qs|pi;return(t&r)!==ee}function Lg(e,t){return(t&e.expiredLanes)!==ee}function B3(e){return(e&Ya)!==ee}function $3(){var e=dc;return dc<<=1,(dc&Ya)===ee&&(dc=hl),e}function Og(){var e=pc;return pc<<=1,(pc&fc)===ee&&(pc=Ja),e}function ta(e){return e&-e}function yl(e){return ta(e)}function ra(e){return 31-V3(e)}function Ld(e){return ra(e)}function xn(e,t){return(e&t)!==ee}function Ga(e,t){return(e&t)===t}function Ze(e,t){return e|t}function vc(e,t){return e&~t}function F3(e,t){return e&t}function mj(e){return e}function Kg(e,t){return e!==xr&&e<t?e:t}function Od(e){for(var t=[],r=0;r<ud;r++)t.push(e);return t}function bl(e,t,r){e.pendingLanes|=t,t!==ea&&(e.suspendedLanes=ee,e.pingedLanes=ee);var s=e.eventTimes,a=Ld(t);s[a]=r}function jg(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var r=e.expirationTimes,s=t;s>0;){var a=ra(s),u=1<<a;r[a]=_t,s&=~u}}function z3(e,t,r){e.pingedLanes|=e.suspendedLanes&t}function Xg(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ee,e.pingedLanes=ee,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var s=e.entanglements,a=e.eventTimes,u=e.expirationTimes,p=r;p>0;){var m=ra(p),g=1<<m;s[m]=ee,a[m]=_t,u[m]=_t,p&=~g}}function Kd(e,t){for(var r=e.entangledLanes|=t,s=e.entanglements,a=r;a;){var u=ra(a),p=1<<u;p&t|s[u]&t&&(s[u]|=t),a&=~p}}function Ug(e,t){var r=ta(t),s;switch(r){case zi:s=Wa;break;case pi:s=Qs;break;case hl:case cd:case fd:case dd:case pd:case hd:case md:case vd:case gd:case yd:case bd:case Cd:case xd:case Rd:case wd:case Nd:case Ja:case kd:case Ed:case Dd:case Sd:s=pl;break;case ea:s=vl;break;default:s=xr;break}return(s&(e.suspendedLanes|t))!==xr?xr:s}function P3(e,t,r){if(Zn)for(var s=e.pendingUpdatersLaneMap;r>0;){var a=Ld(r),u=1<<a,p=s[a];p.add(t),r&=~u}}function I3(e,t){if(Zn)for(var r=e.pendingUpdatersLaneMap,s=e.memoizedUpdaters;t>0;){var a=Ld(t),u=1<<a,p=r[a];p.size>0&&(p.forEach(function(m){var g=m.alternate;(g===null||!s.has(g))&&s.add(m)}),p.clear()),t&=~u}}function Z3(e,t){return null}var Rn=Ae,Pi=zi,Ii=pi,gc=ea,Cl=xr;function qn(){return Cl}function Rr(e){Cl=e}function Vg(e,t){var r=Cl;try{return Cl=e,t()}finally{Cl=r}}function Mg(e,t){return e!==0&&e<t?e:t}function Ag(e,t){return e>t?e:t}function jd(e,t){return e!==0&&e<t}function q3(e){var t=ta(e);return jd(Rn,t)?jd(Pi,t)?Td(t)?Ii:gc:Pi:Rn}function yc(e){var t=e.current.memoizedState;return t.isDehydrated}var W3;function Hg(e){W3=e}function Bg(e){W3(e)}var Xd;function $g(e){Xd=e}var Y3;function Fg(e){Y3=e}var J3;function zg(e){J3=e}var G3;function Pg(e){G3=e}var Ud=!1,bc=[],gs=null,ys=null,bs=null,xl=new Map,Rl=new Map,Cs=[],Ig=["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"];function Zg(e){return Ig.indexOf(e)>-1}function qg(e,t,r,s,a){return{blockedOn:e,domEventName:t,eventSystemFlags:r,nativeEvent:a,targetContainers:[s]}}function Q3(e,t){switch(e){case"focusin":case"focusout":gs=null;break;case"dragenter":case"dragleave":ys=null;break;case"mouseover":case"mouseout":bs=null;break;case"pointerover":case"pointerout":{var r=t.pointerId;xl.delete(r);break}case"gotpointercapture":case"lostpointercapture":{var s=t.pointerId;Rl.delete(s);break}}}function wl(e,t,r,s,a,u){if(e===null||e.nativeEvent!==u){var p=qg(t,r,s,a,u);if(t!==null){var m=ws(t);m!==null&&Xd(m)}return p}e.eventSystemFlags|=s;var g=e.targetContainers;return a!==null&&g.indexOf(a)===-1&&g.push(a),e}function Wg(e,t,r,s,a){switch(t){case"focusin":{var u=a;return gs=wl(gs,e,t,r,s,u),!0}case"dragenter":{var p=a;return ys=wl(ys,e,t,r,s,p),!0}case"mouseover":{var m=a;return bs=wl(bs,e,t,r,s,m),!0}case"pointerover":{var g=a,C=g.pointerId;return xl.set(C,wl(xl.get(C)||null,e,t,r,s,g)),!0}case"gotpointercapture":{var R=a,O=R.pointerId;return Rl.set(O,wl(Rl.get(O)||null,e,t,r,s,R)),!0}}return!1}function ev(e){var t=sa(e.target);if(t!==null){var r=Js(t);if(r!==null){var s=r.tag;if(s===Z){var a=N3(r);if(a!==null){e.blockedOn=a,G3(e.priority,function(){Y3(r)});return}}else if(s===S){var u=r.stateNode;if(yc(u)){e.blockedOn=k3(r);return}}}}e.blockedOn=null}function Yg(e){for(var t=J3(),r={blockedOn:null,target:e,priority:t},s=0;s<Cs.length&&jd(t,Cs[s].priority);s++);Cs.splice(s,0,r),s===0&&ev(r)}function Cc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var r=t[0],s=Ad(e.domEventName,e.eventSystemFlags,r,e.nativeEvent);if(s===null){var a=e.nativeEvent,u=new a.constructor(a.type,a);w7(u),a.target.dispatchEvent(u),N7()}else{var p=ws(s);return p!==null&&Xd(p),e.blockedOn=s,!1}t.shift()}return!0}function tv(e,t,r){Cc(e)&&r.delete(t)}function Jg(){Ud=!1,gs!==null&&Cc(gs)&&(gs=null),ys!==null&&Cc(ys)&&(ys=null),bs!==null&&Cc(bs)&&(bs=null),xl.forEach(tv),Rl.forEach(tv)}function Nl(e,t){e.blockedOn===t&&(e.blockedOn=null,Ud||(Ud=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Jg)))}function kl(e){if(bc.length>0){Nl(bc[0],e);for(var t=1;t<bc.length;t++){var r=bc[t];r.blockedOn===e&&(r.blockedOn=null)}}gs!==null&&Nl(gs,e),ys!==null&&Nl(ys,e),bs!==null&&Nl(bs,e);var s=function(m){return Nl(m,e)};xl.forEach(s),Rl.forEach(s);for(var a=0;a<Cs.length;a++){var u=Cs[a];u.blockedOn===e&&(u.blockedOn=null)}for(;Cs.length>0;){var p=Cs[0];if(p.blockedOn!==null)break;ev(p),p.blockedOn===null&&Cs.shift()}}var Qa=o.ReactCurrentBatchConfig,Vd=!0;function rv(e){Vd=!!e}function Gg(){return Vd}function Qg(e,t,r){var s=nv(t),a;switch(s){case Rn:a=ey;break;case Pi:a=ty;break;case Ii:default:a=Md;break}return a.bind(null,t,r,e)}function ey(e,t,r,s){var a=qn(),u=Qa.transition;Qa.transition=null;try{Rr(Rn),Md(e,t,r,s)}finally{Rr(a),Qa.transition=u}}function ty(e,t,r,s){var a=qn(),u=Qa.transition;Qa.transition=null;try{Rr(Pi),Md(e,t,r,s)}finally{Rr(a),Qa.transition=u}}function Md(e,t,r,s){Vd&&ry(e,t,r,s)}function ry(e,t,r,s){var a=Ad(e,t,r,s);if(a===null){Qd(e,t,s,xc,r),Q3(e,s);return}if(Wg(a,e,t,r,s)){s.stopPropagation();return}if(Q3(e,s),t&al&&Zg(e)){for(;a!==null;){var u=ws(a);u!==null&&Bg(u);var p=Ad(e,t,r,s);if(p===null&&Qd(e,t,s,xc,r),p===a)break;a=p}a!==null&&s.stopPropagation();return}Qd(e,t,s,null,r)}var xc=null;function Ad(e,t,r,s){xc=null;var a=P1(s),u=sa(a);if(u!==null){var p=Js(u);if(p===null)u=null;else{var m=p.tag;if(m===Z){var g=N3(p);if(g!==null)return g;u=null}else if(m===S){var C=p.stateNode;if(yc(C))return k3(p);u=null}else p!==u&&(u=null)}}return xc=u,null}function nv(e){switch(e){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 Rn;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 Pi;case"message":{var t=Z7();switch(t){case cc:return Rn;case ad:return Pi;case Gs:case q7:return Ii;case od:return gc;default:return Ii}}default:return Ii}}function ny(e,t,r){return e.addEventListener(t,r,!1),r}function iy(e,t,r){return e.addEventListener(t,r,!0),r}function sy(e,t,r,s){return e.addEventListener(t,r,{capture:!0,passive:s}),r}function ay(e,t,r,s){return e.addEventListener(t,r,{passive:s}),r}var El=null,Hd=null,Dl=null;function oy(e){return El=e,Hd=sv(),!0}function ly(){El=null,Hd=null,Dl=null}function iv(){if(Dl)return Dl;var e,t=Hd,r=t.length,s,a=sv(),u=a.length;for(e=0;e<r&&t[e]===a[e];e++);var p=r-e;for(s=1;s<=p&&t[r-s]===a[u-s];s++);var m=s>1?1-s:void 0;return Dl=a.slice(e,m),Dl}function sv(){return"value"in El?El.value:El.textContent}function Rc(e){var t,r=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&r===13&&(t=13)):t=r,t===10&&(t=13),t>=32||t===13?t:0}function wc(){return!0}function av(){return!1}function wn(e){function t(r,s,a,u,p){this._reactName=r,this._targetInst=a,this.type=s,this.nativeEvent=u,this.target=p,this.currentTarget=null;for(var m in e)if(e.hasOwnProperty(m)){var g=e[m];g?this[m]=g(u):this[m]=u[m]}var C=u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1;return C?this.isDefaultPrevented=wc:this.isDefaultPrevented=av,this.isPropagationStopped=av,this}return ze(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=wc)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=wc)},persist:function(){},isPersistent:wc}),t}var eo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bd=wn(eo),Sl=ze({},eo,{view:0,detail:0}),uy=wn(Sl),$d,Fd,_l;function cy(e){e!==_l&&(_l&&e.type==="mousemove"?($d=e.screenX-_l.screenX,Fd=e.screenY-_l.screenY):($d=0,Fd=0),_l=e)}var Nc=ze({},Sl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(cy(e),$d)},movementY:function(e){return"movementY"in e?e.movementY:Fd}}),ov=wn(Nc),fy=ze({},Nc,{dataTransfer:0}),dy=wn(fy),py=ze({},Sl,{relatedTarget:0}),zd=wn(py),hy=ze({},eo,{animationName:0,elapsedTime:0,pseudoElement:0}),my=wn(hy),vy=ze({},eo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gy=wn(vy),yy=ze({},eo,{data:0}),lv=wn(yy),by=lv,Cy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xy={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"};function Ry(e){if(e.key){var t=Cy[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var r=Rc(e);return r===13?"Enter":String.fromCharCode(r)}return e.type==="keydown"||e.type==="keyup"?xy[e.keyCode]||"Unidentified":""}var wy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ny(e){var t=this,r=t.nativeEvent;if(r.getModifierState)return r.getModifierState(e);var s=wy[e];return s?!!r[s]:!1}function Pd(e){return Ny}var ky=ze({},Sl,{key:Ry,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pd,charCode:function(e){return e.type==="keypress"?Rc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ey=wn(ky),Dy=ze({},Nc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),uv=wn(Dy),Sy=ze({},Sl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pd}),_y=wn(Sy),Ty=ze({},eo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ly=wn(Ty),Oy=ze({},Nc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ky=wn(Oy),jy=[9,13,27,32],cv=229,Id=sr&&"CompositionEvent"in window,Tl=null;sr&&"documentMode"in document&&(Tl=document.documentMode);var Xy=sr&&"TextEvent"in window&&!Tl,fv=sr&&(!Id||Tl&&Tl>8&&Tl<=11),dv=32,pv=String.fromCharCode(dv);function Uy(){Wt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Wt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Wt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var hv=!1;function Vy(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function My(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Ay(e,t){return e==="keydown"&&t.keyCode===cv}function mv(e,t){switch(e){case"keyup":return jy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==cv;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function gv(e){return e.locale==="ko"}var to=!1;function Hy(e,t,r,s,a){var u,p;if(Id?u=My(t):to?mv(t,s)&&(u="onCompositionEnd"):Ay(t,s)&&(u="onCompositionStart"),!u)return null;fv&&!gv(s)&&(!to&&u==="onCompositionStart"?to=oy(a):u==="onCompositionEnd"&&to&&(p=iv()));var m=_c(r,u);if(m.length>0){var g=new lv(u,t,null,s,a);if(e.push({event:g,listeners:m}),p)g.data=p;else{var C=vv(s);C!==null&&(g.data=C)}}}function By(e,t){switch(e){case"compositionend":return vv(t);case"keypress":var r=t.which;return r!==dv?null:(hv=!0,pv);case"textInput":var s=t.data;return s===pv&&hv?null:s;default:return null}}function $y(e,t){if(to){if(e==="compositionend"||!Id&&mv(e,t)){var r=iv();return ly(),to=!1,r}return null}switch(e){case"paste":return null;case"keypress":if(!Vy(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return fv&&!gv(t)?null:t.data;default:return null}}function Fy(e,t,r,s,a){var u;if(Xy?u=By(t,s):u=$y(t,s),!u)return null;var p=_c(r,"onBeforeInput");if(p.length>0){var m=new by("onBeforeInput","beforeinput",null,s,a);e.push({event:m,listeners:p}),m.data=u}}function zy(e,t,r,s,a,u,p){Hy(e,t,r,s,a),Fy(e,t,r,s,a)}var Py={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 yv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Py[e.type]:t==="textarea"}/**
|
|
95
|
+
* Checks if an event is supported in the current execution environment.
|
|
96
|
+
*
|
|
97
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
98
|
+
* `reset`, `load`, `error`, and `select`.
|
|
99
|
+
*
|
|
100
|
+
* Borrows from Modernizr.
|
|
101
|
+
*
|
|
102
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
103
|
+
* @return {boolean} True if the event is supported.
|
|
104
|
+
* @internal
|
|
105
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
106
|
+
*/function Iy(e){if(!sr)return!1;var t="on"+e,r=t in document;if(!r){var s=document.createElement("div");s.setAttribute(t,"return;"),r=typeof s[t]=="function"}return r}function Zy(){Wt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function bv(e,t,r,s){m3(s);var a=_c(t,"onChange");if(a.length>0){var u=new Bd("onChange","change",null,r,s);e.push({event:u,listeners:a})}}var Ll=null,Ol=null;function qy(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function Wy(e){var t=[];bv(t,Ol,e,P1(e)),b3(Yy,t)}function Yy(e){Vv(e,0)}function kc(e){var t=oo(e);if(el(t))return e}function Jy(e,t){if(e==="change")return t}var Cv=!1;sr&&(Cv=Iy("input")&&(!document.documentMode||document.documentMode>9));function Gy(e,t){Ll=e,Ol=t,Ll.attachEvent("onpropertychange",Rv)}function xv(){Ll&&(Ll.detachEvent("onpropertychange",Rv),Ll=null,Ol=null)}function Rv(e){e.propertyName==="value"&&kc(Ol)&&Wy(e)}function Qy(e,t,r){e==="focusin"?(xv(),Gy(t,r)):e==="focusout"&&xv()}function eb(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return kc(Ol)}function tb(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function rb(e,t){if(e==="click")return kc(t)}function nb(e,t){if(e==="input"||e==="change")return kc(t)}function ib(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Xe(e,"number",e.value)}function sb(e,t,r,s,a,u,p){var m=r?oo(r):window,g,C;if(qy(m)?g=Jy:yv(m)?Cv?g=nb:(g=eb,C=Qy):tb(m)&&(g=rb),g){var R=g(t,r);if(R){bv(e,R,s,a);return}}C&&C(t,m,r),t==="focusout"&&ib(m)}function ab(){Ft("onMouseEnter",["mouseout","mouseover"]),Ft("onMouseLeave",["mouseout","mouseover"]),Ft("onPointerEnter",["pointerout","pointerover"]),Ft("onPointerLeave",["pointerout","pointerover"])}function ob(e,t,r,s,a,u,p){var m=t==="mouseover"||t==="pointerover",g=t==="mouseout"||t==="pointerout";if(m&&!k7(s)){var C=s.relatedTarget||s.fromElement;if(C&&(sa(C)||Zl(C)))return}if(!(!g&&!m)){var R;if(a.window===a)R=a;else{var O=a.ownerDocument;O?R=O.defaultView||O.parentWindow:R=window}var L,U;if(g){var A=s.relatedTarget||s.toElement;if(L=r,U=A?sa(A):null,U!==null){var F=Js(U);(U!==F||U.tag!==k&&U.tag!==T)&&(U=null)}}else L=null,U=r;if(L!==U){var he=ov,Oe="onMouseLeave",_e="onMouseEnter",tt="mouse";(t==="pointerout"||t==="pointerover")&&(he=uv,Oe="onPointerLeave",_e="onPointerEnter",tt="pointer");var Ye=L==null?R:oo(L),K=U==null?R:oo(U),z=new he(Oe,tt+"leave",L,s,a);z.target=Ye,z.relatedTarget=K;var j=null,se=sa(a);if(se===r){var xe=new he(_e,tt+"enter",U,s,a);xe.target=K,xe.relatedTarget=Ye,j=xe}Lb(e,z,j,L,U)}}}function lb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Nn=typeof Object.is=="function"?Object.is:lb;function Kl(e,t){if(Nn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;for(var a=0;a<r.length;a++){var u=r[a];if(!wr.call(t,u)||!Nn(e[u],t[u]))return!1}return!0}function wv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ub(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Nv(e,t){for(var r=wv(e),s=0,a=0;r;){if(r.nodeType===Ai){if(a=s+r.textContent.length,s<=t&&a>=t)return{node:r,offset:t-s};s=a}r=wv(ub(r))}}function cb(e){var t=e.ownerDocument,r=t&&t.defaultView||window,s=r.getSelection&&r.getSelection();if(!s||s.rangeCount===0)return null;var a=s.anchorNode,u=s.anchorOffset,p=s.focusNode,m=s.focusOffset;try{a.nodeType,p.nodeType}catch{return null}return fb(e,a,u,p,m)}function fb(e,t,r,s,a){var u=0,p=-1,m=-1,g=0,C=0,R=e,O=null;e:for(;;){for(var L=null;R===t&&(r===0||R.nodeType===Ai)&&(p=u+r),R===s&&(a===0||R.nodeType===Ai)&&(m=u+a),R.nodeType===Ai&&(u+=R.nodeValue.length),(L=R.firstChild)!==null;)O=R,R=L;for(;;){if(R===e)break e;if(O===t&&++g===r&&(p=u),O===s&&++C===a&&(m=u),(L=R.nextSibling)!==null)break;R=O,O=R.parentNode}R=L}return p===-1||m===-1?null:{start:p,end:m}}function db(e,t){var r=e.ownerDocument||document,s=r&&r.defaultView||window;if(s.getSelection){var a=s.getSelection(),u=e.textContent.length,p=Math.min(t.start,u),m=t.end===void 0?p:Math.min(t.end,u);if(!a.extend&&p>m){var g=m;m=p,p=g}var C=Nv(e,p),R=Nv(e,m);if(C&&R){if(a.rangeCount===1&&a.anchorNode===C.node&&a.anchorOffset===C.offset&&a.focusNode===R.node&&a.focusOffset===R.offset)return;var O=r.createRange();O.setStart(C.node,C.offset),a.removeAllRanges(),p>m?(a.addRange(O),a.extend(R.node,R.offset)):(O.setEnd(R.node,R.offset),a.addRange(O))}}}function kv(e){return e&&e.nodeType===Ai}function Ev(e,t){return!e||!t?!1:e===t?!0:kv(e)?!1:kv(t)?Ev(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function pb(e){return e&&e.ownerDocument&&Ev(e.ownerDocument.documentElement,e)}function hb(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function Dv(){for(var e=window,t=Ui();t instanceof e.HTMLIFrameElement;){if(hb(t))e=t.contentWindow;else return t;t=Ui(e.document)}return t}function Zd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function mb(){var e=Dv();return{focusedElem:e,selectionRange:Zd(e)?gb(e):null}}function vb(e){var t=Dv(),r=e.focusedElem,s=e.selectionRange;if(t!==r&&pb(r)){s!==null&&Zd(r)&&yb(r,s);for(var a=[],u=r;u=u.parentNode;)u.nodeType===dn&&a.push({element:u,left:u.scrollLeft,top:u.scrollTop});typeof r.focus=="function"&&r.focus();for(var p=0;p<a.length;p++){var m=a[p];m.element.scrollLeft=m.left,m.element.scrollTop=m.top}}}function gb(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=cb(e),t||{start:0,end:0}}function yb(e,t){var r=t.start,s=t.end;s===void 0&&(s=r),"selectionStart"in e?(e.selectionStart=r,e.selectionEnd=Math.min(s,e.value.length)):db(e,t)}var bb=sr&&"documentMode"in document&&document.documentMode<=11;function Cb(){Wt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var ro=null,qd=null,jl=null,Wd=!1;function xb(e){if("selectionStart"in e&&Zd(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,r=t.getSelection();return{anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}}function Rb(e){return e.window===e?e.document:e.nodeType===Hi?e:e.ownerDocument}function Sv(e,t,r){var s=Rb(r);if(!(Wd||ro==null||ro!==Ui(s))){var a=xb(ro);if(!jl||!Kl(jl,a)){jl=a;var u=_c(qd,"onSelect");if(u.length>0){var p=new Bd("onSelect","select",null,t,r);e.push({event:p,listeners:u}),p.target=ro}}}}function wb(e,t,r,s,a,u,p){var m=r?oo(r):window;switch(t){case"focusin":(yv(m)||m.contentEditable==="true")&&(ro=m,qd=r,jl=null);break;case"focusout":ro=null,qd=null,jl=null;break;case"mousedown":Wd=!0;break;case"contextmenu":case"mouseup":case"dragend":Wd=!1,Sv(e,s,a);break;case"selectionchange":if(bb)break;case"keydown":case"keyup":Sv(e,s,a)}}function Ec(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var no={animationend:Ec("Animation","AnimationEnd"),animationiteration:Ec("Animation","AnimationIteration"),animationstart:Ec("Animation","AnimationStart"),transitionend:Ec("Transition","TransitionEnd")},Yd={},_v={};sr&&(_v=document.createElement("div").style,"AnimationEvent"in window||(delete no.animationend.animation,delete no.animationiteration.animation,delete no.animationstart.animation),"TransitionEvent"in window||delete no.transitionend.transition);function Dc(e){if(Yd[e])return Yd[e];if(!no[e])return e;var t=no[e];for(var r in t)if(t.hasOwnProperty(r)&&r in _v)return Yd[e]=t[r];return e}var Tv=Dc("animationend"),Lv=Dc("animationiteration"),Ov=Dc("animationstart"),Kv=Dc("transitionend"),jv=new Map,Xv=["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"];function xs(e,t){jv.set(e,t),Wt(t,[e])}function Nb(){for(var e=0;e<Xv.length;e++){var t=Xv[e],r=t.toLowerCase(),s=t[0].toUpperCase()+t.slice(1);xs(r,"on"+s)}xs(Tv,"onAnimationEnd"),xs(Lv,"onAnimationIteration"),xs(Ov,"onAnimationStart"),xs("dblclick","onDoubleClick"),xs("focusin","onFocus"),xs("focusout","onBlur"),xs(Kv,"onTransitionEnd")}function kb(e,t,r,s,a,u,p){var m=jv.get(t);if(m!==void 0){var g=Bd,C=t;switch(t){case"keypress":if(Rc(s)===0)return;case"keydown":case"keyup":g=Ey;break;case"focusin":C="focus",g=zd;break;case"focusout":C="blur",g=zd;break;case"beforeblur":case"afterblur":g=zd;break;case"click":if(s.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=ov;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=dy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=_y;break;case Tv:case Lv:case Ov:g=my;break;case Kv:g=Ly;break;case"scroll":g=uy;break;case"wheel":g=Ky;break;case"copy":case"cut":case"paste":g=gy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=uv;break}var R=(u&al)!==0;{var O=!R&&t==="scroll",L=_b(r,m,s.type,R,O);if(L.length>0){var U=new g(m,C,null,s,a);e.push({event:U,listeners:L})}}}}Nb(),ab(),Zy(),Cb(),Uy();function Eb(e,t,r,s,a,u,p){kb(e,t,r,s,a,u);var m=(u&R7)===0;m&&(ob(e,t,r,s,a),sb(e,t,r,s,a),wb(e,t,r,s,a),zy(e,t,r,s,a))}var Xl=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Jd=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Xl));function Uv(e,t,r){var s=e.type||"unknown-event";e.currentTarget=r,j7(s,t,void 0,e),e.currentTarget=null}function Db(e,t,r){var s;if(r)for(var a=t.length-1;a>=0;a--){var u=t[a],p=u.instance,m=u.currentTarget,g=u.listener;if(p!==s&&e.isPropagationStopped())return;Uv(e,g,m),s=p}else for(var C=0;C<t.length;C++){var R=t[C],O=R.instance,L=R.currentTarget,U=R.listener;if(O!==s&&e.isPropagationStopped())return;Uv(e,U,L),s=O}}function Vv(e,t){for(var r=(t&al)!==0,s=0;s<e.length;s++){var a=e[s],u=a.event,p=a.listeners;Db(u,p,r)}X7()}function Sb(e,t,r,s,a){var u=P1(r),p=[];Eb(p,e,s,r,u,t),Vv(p,t)}function jt(e,t){Jd.has(e)||f('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var r=!1,s=ix(t),a=Ob(e);s.has(a)||(Mv(t,e,z1,r),s.add(a))}function Gd(e,t,r){Jd.has(e)&&!t&&f('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var s=0;t&&(s|=al),Mv(r,e,s,t)}var Sc="_reactListening"+Math.random().toString(36).slice(2);function Ul(e){if(!e[Sc]){e[Sc]=!0,fn.forEach(function(r){r!=="selectionchange"&&(Jd.has(r)||Gd(r,!1,e),Gd(r,!0,e))});var t=e.nodeType===Hi?e:e.ownerDocument;t!==null&&(t[Sc]||(t[Sc]=!0,Gd("selectionchange",!1,t)))}}function Mv(e,t,r,s,a){var u=Qg(e,t,r),p=void 0;q1&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(p=!0),e=e,s?p!==void 0?sy(e,t,u,p):iy(e,t,u):p!==void 0?ay(e,t,u,p):ny(e,t,u)}function Av(e,t){return e===t||e.nodeType===er&&e.parentNode===t}function Qd(e,t,r,s,a){var u=s;if((t&p3)===0&&(t&z1)===0){var p=a;if(s!==null){var m=s;e:for(;;){if(m===null)return;var g=m.tag;if(g===S||g===E){var C=m.stateNode.containerInfo;if(Av(C,p))break;if(g===E)for(var R=m.return;R!==null;){var O=R.tag;if(O===S||O===E){var L=R.stateNode.containerInfo;if(Av(L,p))return}R=R.return}for(;C!==null;){var U=sa(C);if(U===null)return;var A=U.tag;if(A===k||A===T){m=u=U;continue e}C=C.parentNode}}m=m.return}}}b3(function(){return Sb(e,t,r,u)})}function Vl(e,t,r){return{instance:e,listener:t,currentTarget:r}}function _b(e,t,r,s,a,u){for(var p=t!==null?t+"Capture":null,m=s?p:t,g=[],C=e,R=null;C!==null;){var O=C,L=O.stateNode,U=O.tag;if(U===k&&L!==null&&(R=L,m!==null)){var A=ll(C,m);A!=null&&g.push(Vl(C,A,R))}if(a)break;C=C.return}return g}function _c(e,t){for(var r=t+"Capture",s=[],a=e;a!==null;){var u=a,p=u.stateNode,m=u.tag;if(m===k&&p!==null){var g=p,C=ll(a,r);C!=null&&s.unshift(Vl(a,C,g));var R=ll(a,t);R!=null&&s.push(Vl(a,R,g))}a=a.return}return s}function io(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==k);return e||null}function Tb(e,t){for(var r=e,s=t,a=0,u=r;u;u=io(u))a++;for(var p=0,m=s;m;m=io(m))p++;for(;a-p>0;)r=io(r),a--;for(;p-a>0;)s=io(s),p--;for(var g=a;g--;){if(r===s||s!==null&&r===s.alternate)return r;r=io(r),s=io(s)}return null}function Hv(e,t,r,s,a){for(var u=t._reactName,p=[],m=r;m!==null&&m!==s;){var g=m,C=g.alternate,R=g.stateNode,O=g.tag;if(C!==null&&C===s)break;if(O===k&&R!==null){var L=R;if(a){var U=ll(m,u);U!=null&&p.unshift(Vl(m,U,L))}else if(!a){var A=ll(m,u);A!=null&&p.push(Vl(m,A,L))}}m=m.return}p.length!==0&&e.push({event:t,listeners:p})}function Lb(e,t,r,s,a){var u=s&&a?Tb(s,a):null;s!==null&&Hv(e,t,s,u,!1),a!==null&&r!==null&&Hv(e,r,a,u,!0)}function Ob(e,t){return e+"__bubble"}var pn=!1,Ml="dangerouslySetInnerHTML",Tc="suppressContentEditableWarning",Rs="suppressHydrationWarning",Bv="autoFocus",na="children",ia="style",Lc="__html",ep,Oc,Al,$v,Kc,Fv,zv;ep={dialog:!0,webview:!0},Oc=function(e,t){m7(e,t),v7(e,t),x7(e,t,{registrationNameDependencies:qt,possibleRegistrationNames:hr})},Fv=sr&&!document.documentMode,Al=function(e,t,r){if(!pn){var s=jc(r),a=jc(t);a!==s&&(pn=!0,f("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(a),JSON.stringify(s)))}},$v=function(e){if(!pn){pn=!0;var t=[];e.forEach(function(r){t.push(r)}),f("Extra attributes from the server: %s",t)}},Kc=function(e,t){t===!1?f("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):f("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},zv=function(e,t){var r=e.namespaceURI===Mi?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return r.innerHTML=t,r.innerHTML};var Kb=/\r\n?/g,jb=/\u0000|\uFFFD/g;function jc(e){Vr(e);var t=typeof e=="string"?e:""+e;return t.replace(Kb,`
|
|
107
|
+
`).replace(jb,"")}function Xc(e,t,r,s){var a=jc(t),u=jc(e);if(u!==a&&(s&&(pn||(pn=!0,f('Text content did not match. Server: "%s" Client: "%s"',u,a))),r&&Le))throw new Error("Text content does not match server-rendered HTML.")}function Pv(e){return e.nodeType===Hi?e:e.ownerDocument}function Xb(){}function Uc(e){e.onclick=Xb}function Ub(e,t,r,s,a){for(var u in s)if(s.hasOwnProperty(u)){var p=s[u];if(u===ia)p&&Object.freeze(p),o3(t,p);else if(u===Ml){var m=p?p[Lc]:void 0;m!=null&&r3(t,m)}else if(u===na)if(typeof p=="string"){var g=e!=="textarea"||p!=="";g&&sc(t,p)}else typeof p=="number"&&sc(t,""+p);else u===Tc||u===Rs||u===Bv||(qt.hasOwnProperty(u)?p!=null&&(typeof p!="function"&&Kc(u,p),u==="onScroll"&&jt("scroll",t)):p!=null&&bn(t,u,p,a))}}function Vb(e,t,r,s){for(var a=0;a<t.length;a+=2){var u=t[a],p=t[a+1];u===ia?o3(e,p):u===Ml?r3(e,p):u===na?sc(e,p):bn(e,u,p,s)}}function Mb(e,t,r,s){var a,u=Pv(r),p,m=s;if(m===Mi&&(m=M1(e)),m===Mi){if(a=Is(e,t),!a&&e!==e.toLowerCase()&&f("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var g=u.createElement("div");g.innerHTML="<script><\/script>";var C=g.firstChild;p=g.removeChild(C)}else if(typeof t.is=="string")p=u.createElement(e,{is:t.is});else if(p=u.createElement(e),e==="select"){var R=p;t.multiple?R.multiple=!0:t.size&&(R.size=t.size)}}else p=u.createElementNS(m,e);return m===Mi&&!a&&Object.prototype.toString.call(p)==="[object HTMLUnknownElement]"&&!wr.call(ep,e)&&(ep[e]=!0,f("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),p}function Ab(e,t){return Pv(t).createTextNode(e)}function Hb(e,t,r,s){var a=Is(t,r);Oc(t,r);var u;switch(t){case"dialog":jt("cancel",e),jt("close",e),u=r;break;case"iframe":case"object":case"embed":jt("load",e),u=r;break;case"video":case"audio":for(var p=0;p<Xl.length;p++)jt(Xl[p],e);u=r;break;case"source":jt("error",e),u=r;break;case"img":case"image":case"link":jt("error",e),jt("load",e),u=r;break;case"details":jt("toggle",e),u=r;break;case"input":rc(e,r),u=tl(e,r),jt("invalid",e);break;case"option":mt(e,r),u=r;break;case"select":il(e,r),u=nl(e,r),jt("invalid",e);break;case"textarea":Qm(e,r),u=U1(e,r),jt("invalid",e);break;default:u=r}switch(F1(t,u),Ub(t,e,s,u,a),t){case"input":zs(e),M(e,r,!1);break;case"textarea":zs(e),t3(e);break;case"option":Dt(e,r);break;case"select":j1(e,r);break;default:typeof u.onClick=="function"&&Uc(e);break}}function Bb(e,t,r,s,a){Oc(t,s);var u=null,p,m;switch(t){case"input":p=tl(e,r),m=tl(e,s),u=[];break;case"select":p=nl(e,r),m=nl(e,s),u=[];break;case"textarea":p=U1(e,r),m=U1(e,s),u=[];break;default:p=r,m=s,typeof p.onClick!="function"&&typeof m.onClick=="function"&&Uc(e);break}F1(t,m);var g,C,R=null;for(g in p)if(!(m.hasOwnProperty(g)||!p.hasOwnProperty(g)||p[g]==null))if(g===ia){var O=p[g];for(C in O)O.hasOwnProperty(C)&&(R||(R={}),R[C]="")}else g===Ml||g===na||g===Tc||g===Rs||g===Bv||(qt.hasOwnProperty(g)?u||(u=[]):(u=u||[]).push(g,null));for(g in m){var L=m[g],U=p!=null?p[g]:void 0;if(!(!m.hasOwnProperty(g)||L===U||L==null&&U==null))if(g===ia)if(L&&Object.freeze(L),U){for(C in U)U.hasOwnProperty(C)&&(!L||!L.hasOwnProperty(C))&&(R||(R={}),R[C]="");for(C in L)L.hasOwnProperty(C)&&U[C]!==L[C]&&(R||(R={}),R[C]=L[C])}else R||(u||(u=[]),u.push(g,R)),R=L;else if(g===Ml){var A=L?L[Lc]:void 0,F=U?U[Lc]:void 0;A!=null&&F!==A&&(u=u||[]).push(g,A)}else g===na?(typeof L=="string"||typeof L=="number")&&(u=u||[]).push(g,""+L):g===Tc||g===Rs||(qt.hasOwnProperty(g)?(L!=null&&(typeof L!="function"&&Kc(g,L),g==="onScroll"&&jt("scroll",e)),!u&&U!==L&&(u=[])):(u=u||[]).push(g,L))}return R&&(o7(R,m[ia]),(u=u||[]).push(ia,R)),u}function $b(e,t,r,s,a){r==="input"&&a.type==="radio"&&a.name!=null&&y(e,a);var u=Is(r,s),p=Is(r,a);switch(Vb(e,t,u,p),r){case"input":D(e,a);break;case"textarea":e3(e,a);break;case"select":nc(e,a);break}}function Fb(e){{var t=e.toLowerCase();return ac.hasOwnProperty(t)&&ac[t]||null}}function zb(e,t,r,s,a,u,p){var m,g;switch(m=Is(t,r),Oc(t,r),t){case"dialog":jt("cancel",e),jt("close",e);break;case"iframe":case"object":case"embed":jt("load",e);break;case"video":case"audio":for(var C=0;C<Xl.length;C++)jt(Xl[C],e);break;case"source":jt("error",e);break;case"img":case"image":case"link":jt("error",e),jt("load",e);break;case"details":jt("toggle",e);break;case"input":rc(e,r),jt("invalid",e);break;case"option":mt(e,r);break;case"select":il(e,r),jt("invalid",e);break;case"textarea":Qm(e,r),jt("invalid",e);break}F1(t,r);{g=new Set;for(var R=e.attributes,O=0;O<R.length;O++){var L=R[O].name.toLowerCase();switch(L){case"value":break;case"checked":break;case"selected":break;default:g.add(R[O].name)}}}var U=null;for(var A in r)if(r.hasOwnProperty(A)){var F=r[A];if(A===na)typeof F=="string"?e.textContent!==F&&(r[Rs]!==!0&&Xc(e.textContent,F,u,p),U=[na,F]):typeof F=="number"&&e.textContent!==""+F&&(r[Rs]!==!0&&Xc(e.textContent,F,u,p),U=[na,""+F]);else if(qt.hasOwnProperty(A))F!=null&&(typeof F!="function"&&Kc(A,F),A==="onScroll"&&jt("scroll",e));else if(p&&typeof m=="boolean"){var he=void 0,Oe=Nt(A);if(r[Rs]!==!0){if(!(A===Tc||A===Rs||A==="value"||A==="checked"||A==="selected")){if(A===Ml){var _e=e.innerHTML,tt=F?F[Lc]:void 0;if(tt!=null){var Ye=zv(e,tt);Ye!==_e&&Al(A,_e,Ye)}}else if(A===ia){if(g.delete(A),Fv){var K=s7(F);he=e.getAttribute("style"),K!==he&&Al(A,he,K)}}else if(m&&!Zt)g.delete(A.toLowerCase()),he=Oi(e,A,F),F!==he&&Al(A,he,F);else if(!Ot(A,Oe,m)&&!gr(A,F,Oe,m)){var z=!1;if(Oe!==null)g.delete(Oe.attributeName),he=Li(e,A,F,Oe);else{var j=s;if(j===Mi&&(j=M1(t)),j===Mi)g.delete(A.toLowerCase());else{var se=Fb(A);se!==null&&se!==A&&(z=!0,g.delete(se)),g.delete(A)}he=Oi(e,A,F)}var xe=Zt;!xe&&F!==he&&!z&&Al(A,he,F)}}}}}switch(p&&g.size>0&&r[Rs]!==!0&&$v(g),t){case"input":zs(e),M(e,r,!0);break;case"textarea":zs(e),t3(e);break;case"select":case"option":break;default:typeof r.onClick=="function"&&Uc(e);break}return U}function Pb(e,t,r){var s=e.nodeValue!==t;return s}function tp(e,t){{if(pn)return;pn=!0,f("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function rp(e,t){{if(pn)return;pn=!0,f('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function np(e,t,r){{if(pn)return;pn=!0,f("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function ip(e,t){{if(t===""||pn)return;pn=!0,f('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function Ib(e,t,r){switch(t){case"input":$(e,r);return;case"textarea":H9(e,r);return;case"select":X1(e,r);return}}var Hl=function(){},Bl=function(){};{var Zb=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Iv=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],qb=Iv.concat(["button"]),Wb=["dd","dt","li","option","optgroup","p","rp","rt"],Zv={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Bl=function(e,t){var r=ze({},e||Zv),s={tag:t};return Iv.indexOf(t)!==-1&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),qb.indexOf(t)!==-1&&(r.pTagInButtonScope=null),Zb.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=s,t==="form"&&(r.formTag=s),t==="a"&&(r.aTagInScope=s),t==="button"&&(r.buttonTagInScope=s),t==="nobr"&&(r.nobrTagInScope=s),t==="p"&&(r.pTagInButtonScope=s),t==="li"&&(r.listItemTagAutoclosing=s),(t==="dd"||t==="dt")&&(r.dlItemTagAutoclosing=s),r};var Yb=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return Wb.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},Jb=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},qv={};Hl=function(e,t,r){r=r||Zv;var s=r.current,a=s&&s.tag;t!=null&&(e!=null&&f("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var u=Yb(e,a)?null:s,p=u?null:Jb(e,r),m=u||p;if(m){var g=m.tag,C=!!u+"|"+e+"|"+g;if(!qv[C]){qv[C]=!0;var R=e,O="";if(e==="#text"?/\S/.test(t)?R="Text nodes":(R="Whitespace text nodes",O=" Make sure you don't have any extra whitespace between tags on each line of your source code."):R="<"+e+">",u){var L="";g==="table"&&e==="tr"&&(L+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),f("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",R,g,O,L)}else f("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",R,g)}}}}var Vc="suppressHydrationWarning",Mc="$",Ac="/$",$l="$?",Fl="$!",Gb="style",sp=null,ap=null;function Qb(e){var t,r,s=e.nodeType;switch(s){case Hi:case H1:{t=s===Hi?"#document":"#fragment";var a=e.documentElement;r=a?a.namespaceURI:A1(null,"");break}default:{var u=s===er?e.parentNode:e,p=u.namespaceURI||null;t=u.tagName,r=A1(p,t);break}}{var m=t.toLowerCase(),g=Bl(null,m);return{namespace:r,ancestorInfo:g}}}function eC(e,t,r){{var s=e,a=A1(s.namespace,t),u=Bl(s.ancestorInfo,t);return{namespace:a,ancestorInfo:u}}}function vj(e){return e}function tC(e){sp=Gg(),ap=mb();var t=null;return rv(!1),t}function rC(e){vb(ap),rv(sp),sp=null,ap=null}function nC(e,t,r,s,a){var u;{var p=s;if(Hl(e,null,p.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var m=""+t.children,g=Bl(p.ancestorInfo,e);Hl(null,m,g)}u=p.namespace}var C=Mb(e,t,r,u);return Il(a,C),hp(C,t),C}function iC(e,t){e.appendChild(t)}function sC(e,t,r,s,a){switch(Hb(e,t,r,s),t){case"button":case"input":case"select":case"textarea":return!!r.autoFocus;case"img":return!0;default:return!1}}function aC(e,t,r,s,a,u){{var p=u;if(typeof s.children!=typeof r.children&&(typeof s.children=="string"||typeof s.children=="number")){var m=""+s.children,g=Bl(p.ancestorInfo,t);Hl(null,m,g)}}return Bb(e,t,r,s)}function op(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function oC(e,t,r,s){{var a=r;Hl(null,e,a.ancestorInfo)}var u=Ab(e,t);return Il(s,u),u}function lC(){var e=window.event;return e===void 0?Ii:nv(e.type)}var lp=typeof setTimeout=="function"?setTimeout:void 0,uC=typeof clearTimeout=="function"?clearTimeout:void 0,up=-1,Wv=typeof Promise=="function"?Promise:void 0,cC=typeof queueMicrotask=="function"?queueMicrotask:typeof Wv<"u"?function(e){return Wv.resolve(null).then(e).catch(fC)}:lp;function fC(e){setTimeout(function(){throw e})}function dC(e,t,r,s){switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&e.focus();return;case"img":{r.src&&(e.src=r.src);return}}}function pC(e,t,r,s,a,u){$b(e,t,r,s,a),hp(e,a)}function Yv(e){sc(e,"")}function hC(e,t,r){e.nodeValue=r}function mC(e,t){e.appendChild(t)}function vC(e,t){var r;e.nodeType===er?(r=e.parentNode,r.insertBefore(t,e)):(r=e,r.appendChild(t));var s=e._reactRootContainer;s==null&&r.onclick===null&&Uc(r)}function gC(e,t,r){e.insertBefore(t,r)}function yC(e,t,r){e.nodeType===er?e.parentNode.insertBefore(t,r):e.insertBefore(t,r)}function bC(e,t){e.removeChild(t)}function CC(e,t){e.nodeType===er?e.parentNode.removeChild(t):e.removeChild(t)}function cp(e,t){var r=t,s=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&a.nodeType===er){var u=a.data;if(u===Ac)if(s===0){e.removeChild(a),kl(t);return}else s--;else(u===Mc||u===$l||u===Fl)&&s++}r=a}while(r);kl(t)}function xC(e,t){e.nodeType===er?cp(e.parentNode,t):e.nodeType===dn&&cp(e,t),kl(e)}function RC(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function wC(e){e.nodeValue=""}function NC(e,t){e=e;var r=t[Gb],s=r!=null&&r.hasOwnProperty("display")?r.display:null;e.style.display=B1("display",s)}function kC(e,t){e.nodeValue=t}function EC(e){e.nodeType===dn?e.textContent="":e.nodeType===Hi&&e.documentElement&&e.removeChild(e.documentElement)}function DC(e,t,r){return e.nodeType!==dn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function SC(e,t){return t===""||e.nodeType!==Ai?null:e}function _C(e){return e.nodeType!==er?null:e}function Jv(e){return e.data===$l}function fp(e){return e.data===Fl}function TC(e){var t=e.nextSibling&&e.nextSibling.dataset,r,s,a;return t&&(r=t.dgst,s=t.msg,a=t.stck),{message:s,digest:r,stack:a}}function LC(e,t){e._reactRetry=t}function Hc(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===dn||t===Ai)break;if(t===er){var r=e.data;if(r===Mc||r===Fl||r===$l)break;if(r===Ac)return null}}return e}function zl(e){return Hc(e.nextSibling)}function OC(e){return Hc(e.firstChild)}function KC(e){return Hc(e.firstChild)}function jC(e){return Hc(e.nextSibling)}function XC(e,t,r,s,a,u,p){Il(u,e),hp(e,r);var m;{var g=a;m=g.namespace}var C=(u.mode&Qe)!==je;return zb(e,t,r,m,s,C,p)}function UC(e,t,r,s){return Il(r,e),r.mode&Qe,Pb(e,t)}function VC(e,t){Il(t,e)}function MC(e){for(var t=e.nextSibling,r=0;t;){if(t.nodeType===er){var s=t.data;if(s===Ac){if(r===0)return zl(t);r--}else(s===Mc||s===Fl||s===$l)&&r++}t=t.nextSibling}return null}function Gv(e){for(var t=e.previousSibling,r=0;t;){if(t.nodeType===er){var s=t.data;if(s===Mc||s===Fl||s===$l){if(r===0)return t;r--}else s===Ac&&r++}t=t.previousSibling}return null}function AC(e){kl(e)}function HC(e){kl(e)}function BC(e){return e!=="head"&&e!=="body"}function $C(e,t,r,s){var a=!0;Xc(t.nodeValue,r,s,a)}function FC(e,t,r,s,a,u){if(t[Vc]!==!0){var p=!0;Xc(s.nodeValue,a,u,p)}}function zC(e,t){t.nodeType===dn?tp(e,t):t.nodeType===er||rp(e,t)}function PC(e,t){{var r=e.parentNode;r!==null&&(t.nodeType===dn?tp(r,t):t.nodeType===er||rp(r,t))}}function IC(e,t,r,s,a){(a||t[Vc]!==!0)&&(s.nodeType===dn?tp(r,s):s.nodeType===er||rp(r,s))}function ZC(e,t,r){np(e,t)}function qC(e,t){ip(e,t)}function WC(e,t,r){{var s=e.parentNode;s!==null&&np(s,t)}}function YC(e,t){{var r=e.parentNode;r!==null&&ip(r,t)}}function JC(e,t,r,s,a,u){(u||t[Vc]!==!0)&&np(r,s)}function GC(e,t,r,s,a){(a||t[Vc]!==!0)&&ip(r,s)}function QC(e){f("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function ex(e){Ul(e)}var so=Math.random().toString(36).slice(2),ao="__reactFiber$"+so,dp="__reactProps$"+so,Pl="__reactContainer$"+so,pp="__reactEvents$"+so,tx="__reactListeners$"+so,rx="__reactHandles$"+so;function nx(e){delete e[ao],delete e[dp],delete e[pp],delete e[tx],delete e[rx]}function Il(e,t){t[ao]=e}function Bc(e,t){t[Pl]=e}function Qv(e){e[Pl]=null}function Zl(e){return!!e[Pl]}function sa(e){var t=e[ao];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Pl]||r[ao],t){var s=t.alternate;if(t.child!==null||s!==null&&s.child!==null)for(var a=Gv(e);a!==null;){var u=a[ao];if(u)return u;a=Gv(a)}return t}e=r,r=e.parentNode}return null}function ws(e){var t=e[ao]||e[Pl];return t&&(t.tag===k||t.tag===T||t.tag===Z||t.tag===S)?t:null}function oo(e){if(e.tag===k||e.tag===T)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function $c(e){return e[dp]||null}function hp(e,t){e[dp]=t}function ix(e){var t=e[pp];return t===void 0&&(t=e[pp]=new Set),t}var e5={},t5=o.ReactDebugCurrentFrame;function Fc(e){if(e){var t=e._owner,r=Wo(e.type,e._source,t?t.type:null);t5.setExtraStackFrame(r)}else t5.setExtraStackFrame(null)}function Wn(e,t,r,s,a){{var u=Function.call.bind(wr);for(var p in e)if(u(e,p)){var m=void 0;try{if(typeof e[p]!="function"){var g=Error((s||"React class")+": "+r+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}m=e[p](t,p,s,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){m=C}m&&!(m instanceof Error)&&(Fc(a),f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",r,p,typeof m),Fc(null)),m instanceof Error&&!(m.message in e5)&&(e5[m.message]=!0,Fc(a),f("Failed %s type: %s",r,m.message),Fc(null))}}}var mp=[],zc;zc=[];var Zi=-1;function Ns(e){return{current:e}}function Hr(e,t){if(Zi<0){f("Unexpected pop.");return}t!==zc[Zi]&&f("Unexpected Fiber popped."),e.current=mp[Zi],mp[Zi]=null,zc[Zi]=null,Zi--}function Br(e,t,r){Zi++,mp[Zi]=e.current,zc[Zi]=r,e.current=t}var vp;vp={};var kn={};Object.freeze(kn);var qi=Ns(kn),hi=Ns(!1),gp=kn;function lo(e,t,r){return r&&mi(t)?gp:qi.current}function r5(e,t,r){{var s=e.stateNode;s.__reactInternalMemoizedUnmaskedChildContext=t,s.__reactInternalMemoizedMaskedChildContext=r}}function uo(e,t){{var r=e.type,s=r.contextTypes;if(!s)return kn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var u={};for(var p in s)u[p]=t[p];{var m=Fe(e)||"Unknown";Wn(s,u,"context",m)}return a&&r5(e,t,u),u}}function Pc(){return hi.current}function mi(e){{var t=e.childContextTypes;return t!=null}}function Ic(e){Hr(hi,e),Hr(qi,e)}function yp(e){Hr(hi,e),Hr(qi,e)}function n5(e,t,r){{if(qi.current!==kn)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Br(qi,t,e),Br(hi,r,e)}}function i5(e,t,r){{var s=e.stateNode,a=t.childContextTypes;if(typeof s.getChildContext!="function"){{var u=Fe(e)||"Unknown";vp[u]||(vp[u]=!0,f("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",u,u))}return r}var p=s.getChildContext();for(var m in p)if(!(m in a))throw new Error((Fe(e)||"Unknown")+'.getChildContext(): key "'+m+'" is not defined in childContextTypes.');{var g=Fe(e)||"Unknown";Wn(a,p,"child context",g)}return ze({},r,p)}}function Zc(e){{var t=e.stateNode,r=t&&t.__reactInternalMemoizedMergedChildContext||kn;return gp=qi.current,Br(qi,r,e),Br(hi,hi.current,e),!0}}function s5(e,t,r){{var s=e.stateNode;if(!s)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(r){var a=i5(e,t,gp);s.__reactInternalMemoizedMergedChildContext=a,Hr(hi,e),Hr(qi,e),Br(qi,a,e),Br(hi,r,e)}else Hr(hi,e),Br(hi,r,e)}}function sx(e){{if(!B7(e)||e.tag!==b)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case S:return t.stateNode.context;case b:{var r=t.type;if(mi(r))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var ks=0,qc=1,Wi=null,bp=!1,Cp=!1;function a5(e){Wi===null?Wi=[e]:Wi.push(e)}function ax(e){bp=!0,a5(e)}function o5(){bp&&Es()}function Es(){if(!Cp&&Wi!==null){Cp=!0;var e=0,t=qn();try{var r=!0,s=Wi;for(Rr(Rn);e<s.length;e++){var a=s[e];do a=a(r);while(a!==null)}Wi=null,bp=!1}catch(u){throw Wi!==null&&(Wi=Wi.slice(e+1)),L3(cc,Es),u}finally{Rr(t),Cp=!1}}return null}var co=[],fo=0,Wc=null,Yc=0,Vn=[],Mn=0,aa=null,Yi=1,Ji="";function ox(e){return la(),(e.flags&w3)!==Ue}function lx(e){return la(),Yc}function ux(){var e=Ji,t=Yi,r=t&~cx(t);return r.toString(32)+e}function oa(e,t){la(),co[fo++]=Yc,co[fo++]=Wc,Wc=e,Yc=t}function l5(e,t,r){la(),Vn[Mn++]=Yi,Vn[Mn++]=Ji,Vn[Mn++]=aa,aa=e;var s=Yi,a=Ji,u=Jc(s)-1,p=s&~(1<<u),m=r+1,g=Jc(t)+u;if(g>30){var C=u-u%5,R=(1<<C)-1,O=(p&R).toString(32),L=p>>C,U=u-C,A=Jc(t)+U,F=m<<U,he=F|L,Oe=O+a;Yi=1<<A|he,Ji=Oe}else{var _e=m<<u,tt=_e|p,Ye=a;Yi=1<<g|tt,Ji=Ye}}function xp(e){la();var t=e.return;if(t!==null){var r=1,s=0;oa(e,r),l5(e,r,s)}}function Jc(e){return 32-V3(e)}function cx(e){return 1<<Jc(e)-1}function Rp(e){for(;e===Wc;)Wc=co[--fo],co[fo]=null,Yc=co[--fo],co[fo]=null;for(;e===aa;)aa=Vn[--Mn],Vn[Mn]=null,Ji=Vn[--Mn],Vn[Mn]=null,Yi=Vn[--Mn],Vn[Mn]=null}function fx(){return la(),aa!==null?{id:Yi,overflow:Ji}:null}function dx(e,t){la(),Vn[Mn++]=Yi,Vn[Mn++]=Ji,Vn[Mn++]=aa,Yi=t.id,Ji=t.overflow,aa=e}function la(){Sr()||f("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Dr=null,An=null,Yn=!1,ua=!1,Ds=null;function px(){Yn&&f("We should not be hydrating here. This is a bug in React. Please file a bug.")}function u5(){ua=!0}function hx(){return ua}function mx(e){var t=e.stateNode.containerInfo;return An=KC(t),Dr=e,Yn=!0,Ds=null,ua=!1,!0}function vx(e,t,r){return An=jC(t),Dr=e,Yn=!0,Ds=null,ua=!1,r!==null&&dx(e,r),!0}function c5(e,t){switch(e.tag){case S:{zC(e.stateNode.containerInfo,t);break}case k:{var r=(e.mode&Qe)!==je;IC(e.type,e.memoizedProps,e.stateNode,t,r);break}case Z:{var s=e.memoizedState;s.dehydrated!==null&&PC(s.dehydrated,t);break}}}function f5(e,t){c5(e,t);var r=CN();r.stateNode=t,r.return=e;var s=e.deletions;s===null?(e.deletions=[r],e.flags|=Zs):s.push(r)}function wp(e,t){{if(ua)return;switch(e.tag){case S:{var r=e.stateNode.containerInfo;switch(t.tag){case k:var s=t.type;t.pendingProps,ZC(r,s);break;case T:var a=t.pendingProps;qC(r,a);break}break}case k:{var u=e.type,p=e.memoizedProps,m=e.stateNode;switch(t.tag){case k:{var g=t.type,C=t.pendingProps,R=(e.mode&Qe)!==je;JC(u,p,m,g,C,R);break}case T:{var O=t.pendingProps,L=(e.mode&Qe)!==je;GC(u,p,m,O,L);break}}break}case Z:{var U=e.memoizedState,A=U.dehydrated;if(A!==null)switch(t.tag){case k:var F=t.type;t.pendingProps,WC(A,F);break;case T:var he=t.pendingProps;YC(A,he);break}break}default:return}}}function d5(e,t){t.flags=t.flags&~$i|tr,wp(e,t)}function p5(e,t){switch(e.tag){case k:{var r=e.type;e.pendingProps;var s=DC(t,r);return s!==null?(e.stateNode=s,Dr=e,An=OC(s),!0):!1}case T:{var a=e.pendingProps,u=SC(t,a);return u!==null?(e.stateNode=u,Dr=e,An=null,!0):!1}case Z:{var p=_C(t);if(p!==null){var m={dehydrated:p,treeContext:fx(),retryLane:Cn};e.memoizedState=m;var g=xN(p);return g.return=e,e.child=g,Dr=e,An=null,!0}return!1}default:return!1}}function Np(e){return(e.mode&Qe)!==je&&(e.flags&ut)===Ue}function kp(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Ep(e){if(Yn){var t=An;if(!t){Np(e)&&(wp(Dr,e),kp()),d5(Dr,e),Yn=!1,Dr=e;return}var r=t;if(!p5(e,t)){Np(e)&&(wp(Dr,e),kp()),t=zl(r);var s=Dr;if(!t||!p5(e,t)){d5(Dr,e),Yn=!1,Dr=e;return}f5(s,r)}}}function gx(e,t,r){var s=e.stateNode,a=!ua,u=XC(s,e.type,e.memoizedProps,t,r,e,a);return e.updateQueue=u,u!==null}function yx(e){var t=e.stateNode,r=e.memoizedProps,s=UC(t,r,e);if(s){var a=Dr;if(a!==null)switch(a.tag){case S:{var u=a.stateNode.containerInfo,p=(a.mode&Qe)!==je;$C(u,t,r,p);break}case k:{var m=a.type,g=a.memoizedProps,C=a.stateNode,R=(a.mode&Qe)!==je;FC(m,g,C,t,r,R);break}}}return s}function bx(e){var t=e.memoizedState,r=t!==null?t.dehydrated:null;if(!r)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");VC(r,e)}function Cx(e){var t=e.memoizedState,r=t!==null?t.dehydrated:null;if(!r)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return MC(r)}function h5(e){for(var t=e.return;t!==null&&t.tag!==k&&t.tag!==S&&t.tag!==Z;)t=t.return;Dr=t}function Gc(e){if(e!==Dr)return!1;if(!Yn)return h5(e),Yn=!0,!1;if(e.tag!==S&&(e.tag!==k||BC(e.type)&&!op(e.type,e.memoizedProps))){var t=An;if(t)if(Np(e))m5(e),kp();else for(;t;)f5(e,t),t=zl(t)}return h5(e),e.tag===Z?An=Cx(e):An=Dr?zl(e.stateNode):null,!0}function xx(){return Yn&&An!==null}function m5(e){for(var t=An;t;)c5(e,t),t=zl(t)}function po(){Dr=null,An=null,Yn=!1,ua=!1}function v5(){Ds!==null&&(u6(Ds),Ds=null)}function Sr(){return Yn}function Dp(e){Ds===null?Ds=[e]:Ds.push(e)}var Rx=o.ReactCurrentBatchConfig,wx=null;function Nx(){return Rx.transition}var Jn={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var kx=function(e){for(var t=null,r=e;r!==null;)r.mode&Pt&&(t=r),r=r.return;return t},ca=function(e){var t=[];return e.forEach(function(r){t.push(r)}),t.sort().join(", ")},ql=[],Wl=[],Yl=[],Jl=[],Gl=[],Ql=[],fa=new Set;Jn.recordUnsafeLifecycleWarnings=function(e,t){fa.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&ql.push(e),e.mode&Pt&&typeof t.UNSAFE_componentWillMount=="function"&&Wl.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Yl.push(e),e.mode&Pt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Jl.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Gl.push(e),e.mode&Pt&&typeof t.UNSAFE_componentWillUpdate=="function"&&Ql.push(e))},Jn.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;ql.length>0&&(ql.forEach(function(L){e.add(Fe(L)||"Component"),fa.add(L.type)}),ql=[]);var t=new Set;Wl.length>0&&(Wl.forEach(function(L){t.add(Fe(L)||"Component"),fa.add(L.type)}),Wl=[]);var r=new Set;Yl.length>0&&(Yl.forEach(function(L){r.add(Fe(L)||"Component"),fa.add(L.type)}),Yl=[]);var s=new Set;Jl.length>0&&(Jl.forEach(function(L){s.add(Fe(L)||"Component"),fa.add(L.type)}),Jl=[]);var a=new Set;Gl.length>0&&(Gl.forEach(function(L){a.add(Fe(L)||"Component"),fa.add(L.type)}),Gl=[]);var u=new Set;if(Ql.length>0&&(Ql.forEach(function(L){u.add(Fe(L)||"Component"),fa.add(L.type)}),Ql=[]),t.size>0){var p=ca(t);f(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
108
|
+
|
|
109
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
110
|
+
|
|
111
|
+
Please update the following components: %s`,p)}if(s.size>0){var m=ca(s);f(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
112
|
+
|
|
113
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
114
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
115
|
+
|
|
116
|
+
Please update the following components: %s`,m)}if(u.size>0){var g=ca(u);f(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
117
|
+
|
|
118
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
119
|
+
|
|
120
|
+
Please update the following components: %s`,g)}if(e.size>0){var C=ca(e);d(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
121
|
+
|
|
122
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
123
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
124
|
+
|
|
125
|
+
Please update the following components: %s`,C)}if(r.size>0){var R=ca(r);d(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
126
|
+
|
|
127
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
128
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
129
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
130
|
+
|
|
131
|
+
Please update the following components: %s`,R)}if(a.size>0){var O=ca(a);d(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
132
|
+
|
|
133
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
134
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
135
|
+
|
|
136
|
+
Please update the following components: %s`,O)}};var Qc=new Map,g5=new Set;Jn.recordLegacyContextWarning=function(e,t){var r=kx(e);if(r===null){f("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!g5.has(e.type)){var s=Qc.get(r);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(s===void 0&&(s=[],Qc.set(r,s)),s.push(e))}},Jn.flushLegacyContextWarning=function(){Qc.forEach(function(e,t){if(e.length!==0){var r=e[0],s=new Set;e.forEach(function(u){s.add(Fe(u)||"Component"),g5.add(u.type)});var a=ca(s);try{Vt(r),f(`Legacy context API has been detected within a strict-mode tree.
|
|
137
|
+
|
|
138
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
139
|
+
|
|
140
|
+
Please update the following components: %s
|
|
141
|
+
|
|
142
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,a)}finally{yr()}}})},Jn.discardPendingWarnings=function(){ql=[],Wl=[],Yl=[],Jl=[],Gl=[],Ql=[],Qc=new Map}}var Sp,_p,Tp,Lp,Op,y5=function(e,t){};Sp=!1,_p=!1,Tp={},Lp={},Op={},y5=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var r=Fe(t)||"Component";Lp[r]||(Lp[r]=!0,f('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Ex(e){return e.prototype&&e.prototype.isReactComponent}function eu(e,t,r){var s=r.ref;if(s!==null&&typeof s!="function"&&typeof s!="object"){if((e.mode&Pt||ke)&&!(r._owner&&r._self&&r._owner.stateNode!==r._self)&&!(r._owner&&r._owner.tag!==b)&&!(typeof r.type=="function"&&!Ex(r.type))&&r._owner){var a=Fe(e)||"Component";Tp[a]||(f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',a,s),Tp[a]=!0)}if(r._owner){var u=r._owner,p;if(u){var m=u;if(m.tag!==b)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");p=m.stateNode}if(!p)throw new Error("Missing owner for string ref "+s+". This error is likely caused by a bug in React. Please file an issue.");var g=p;On(s,"ref");var C=""+s;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===C)return t.ref;var R=function(O){var L=g.refs;O===null?delete L[C]:L[C]=O};return R._stringRef=C,R}else{if(typeof s!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!r._owner)throw new Error("Element ref was specified as a string ("+s+`) but no owner was set. This could happen for one of the following reasons:
|
|
143
|
+
1. You may be adding a ref to a function component
|
|
144
|
+
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
145
|
+
3. You have multiple copies of React loaded
|
|
146
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return s}function ef(e,t){var r=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}function tf(e){{var t=Fe(e)||"Component";if(Op[t])return;Op[t]=!0,f("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function b5(e){var t=e._payload,r=e._init;return r(t)}function C5(e){function t(K,z){if(e){var j=K.deletions;j===null?(K.deletions=[z],K.flags|=Zs):j.push(z)}}function r(K,z){if(!e)return null;for(var j=z;j!==null;)t(K,j),j=j.sibling;return null}function s(K,z){for(var j=new Map,se=z;se!==null;)se.key!==null?j.set(se.key,se):j.set(se.index,se),se=se.sibling;return j}function a(K,z){var j=Ca(K,z);return j.index=0,j.sibling=null,j}function u(K,z,j){if(K.index=j,!e)return K.flags|=w3,z;var se=K.alternate;if(se!==null){var xe=se.index;return xe<z?(K.flags|=tr,z):xe}else return K.flags|=tr,z}function p(K){return e&&K.alternate===null&&(K.flags|=tr),K}function m(K,z,j,se){if(z===null||z.tag!==T){var xe=Dh(j,K.mode,se);return xe.return=K,xe}else{var ve=a(z,j);return ve.return=K,ve}}function g(K,z,j,se){var xe=j.type;if(xe===Xn)return R(K,z,j.props.children,se,j.key);if(z!==null&&(z.elementType===xe||k6(z,j)||typeof xe=="object"&&xe!==null&&xe.$$typeof===fe&&b5(xe)===z.type)){var ve=a(z,j.props);return ve.ref=eu(K,z,j),ve.return=K,ve._debugSource=j._source,ve._debugOwner=j._owner,ve}var Ve=Eh(j,K.mode,se);return Ve.ref=eu(K,z,j),Ve.return=K,Ve}function C(K,z,j,se){if(z===null||z.tag!==E||z.stateNode.containerInfo!==j.containerInfo||z.stateNode.implementation!==j.implementation){var xe=Sh(j,K.mode,se);return xe.return=K,xe}else{var ve=a(z,j.children||[]);return ve.return=K,ve}}function R(K,z,j,se,xe){if(z===null||z.tag!==V){var ve=Ms(j,K.mode,se,xe);return ve.return=K,ve}else{var Ve=a(z,j);return Ve.return=K,Ve}}function O(K,z,j){if(typeof z=="string"&&z!==""||typeof z=="number"){var se=Dh(""+z,K.mode,j);return se.return=K,se}if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Yr:{var xe=Eh(z,K.mode,j);return xe.ref=eu(K,null,z),xe.return=K,xe}case Mr:{var ve=Sh(z,K.mode,j);return ve.return=K,ve}case fe:{var Ve=z._payload,$e=z._init;return O(K,$e(Ve),j)}}if(We(z)||Et(z)){var yt=Ms(z,K.mode,j,null);return yt.return=K,yt}ef(K,z)}return typeof z=="function"&&tf(K),null}function L(K,z,j,se){var xe=z!==null?z.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return xe!==null?null:m(K,z,""+j,se);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Yr:return j.key===xe?g(K,z,j,se):null;case Mr:return j.key===xe?C(K,z,j,se):null;case fe:{var ve=j._payload,Ve=j._init;return L(K,z,Ve(ve),se)}}if(We(j)||Et(j))return xe!==null?null:R(K,z,j,se,null);ef(K,j)}return typeof j=="function"&&tf(K),null}function U(K,z,j,se,xe){if(typeof se=="string"&&se!==""||typeof se=="number"){var ve=K.get(j)||null;return m(z,ve,""+se,xe)}if(typeof se=="object"&&se!==null){switch(se.$$typeof){case Yr:{var Ve=K.get(se.key===null?j:se.key)||null;return g(z,Ve,se,xe)}case Mr:{var $e=K.get(se.key===null?j:se.key)||null;return C(z,$e,se,xe)}case fe:var yt=se._payload,st=se._init;return U(K,z,j,st(yt),xe)}if(We(se)||Et(se)){var Jt=K.get(j)||null;return R(z,Jt,se,xe,null)}ef(z,se)}return typeof se=="function"&&tf(z),null}function A(K,z,j){{if(typeof K!="object"||K===null)return z;switch(K.$$typeof){case Yr:case Mr:y5(K,j);var se=K.key;if(typeof se!="string")break;if(z===null){z=new Set,z.add(se);break}if(!z.has(se)){z.add(se);break}f("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",se);break;case fe:var xe=K._payload,ve=K._init;A(ve(xe),z,j);break}}return z}function F(K,z,j,se){for(var xe=null,ve=0;ve<j.length;ve++){var Ve=j[ve];xe=A(Ve,xe,K)}for(var $e=null,yt=null,st=z,Jt=0,at=0,It=null;st!==null&&at<j.length;at++){st.index>at?(It=st,st=null):It=st.sibling;var Fr=L(K,st,j[at],se);if(Fr===null){st===null&&(st=It);break}e&&st&&Fr.alternate===null&&t(K,st),Jt=u(Fr,Jt,at),yt===null?$e=Fr:yt.sibling=Fr,yt=Fr,st=It}if(at===j.length){if(r(K,st),Sr()){var Xr=at;oa(K,Xr)}return $e}if(st===null){for(;at<j.length;at++){var Dn=O(K,j[at],se);Dn!==null&&(Jt=u(Dn,Jt,at),yt===null?$e=Dn:yt.sibling=Dn,yt=Dn)}if(Sr()){var an=at;oa(K,an)}return $e}for(var on=s(K,st);at<j.length;at++){var zr=U(on,K,at,j[at],se);zr!==null&&(e&&zr.alternate!==null&&on.delete(zr.key===null?at:zr.key),Jt=u(zr,Jt,at),yt===null?$e=zr:yt.sibling=zr,yt=zr)}if(e&&on.forEach(function(Oo){return t(K,Oo)}),Sr()){var is=at;oa(K,is)}return $e}function he(K,z,j,se){var xe=Et(j);if(typeof xe!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&j[Symbol.toStringTag]==="Generator"&&(_p||f("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),_p=!0),j.entries===xe&&(Sp||f("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Sp=!0);var ve=xe.call(j);if(ve)for(var Ve=null,$e=ve.next();!$e.done;$e=ve.next()){var yt=$e.value;Ve=A(yt,Ve,K)}}var st=xe.call(j);if(st==null)throw new Error("An iterable object provided no iterator.");for(var Jt=null,at=null,It=z,Fr=0,Xr=0,Dn=null,an=st.next();It!==null&&!an.done;Xr++,an=st.next()){It.index>Xr?(Dn=It,It=null):Dn=It.sibling;var on=L(K,It,an.value,se);if(on===null){It===null&&(It=Dn);break}e&&It&&on.alternate===null&&t(K,It),Fr=u(on,Fr,Xr),at===null?Jt=on:at.sibling=on,at=on,It=Dn}if(an.done){if(r(K,It),Sr()){var zr=Xr;oa(K,zr)}return Jt}if(It===null){for(;!an.done;Xr++,an=st.next()){var is=O(K,an.value,se);is!==null&&(Fr=u(is,Fr,Xr),at===null?Jt=is:at.sibling=is,at=is)}if(Sr()){var Oo=Xr;oa(K,Oo)}return Jt}for(var Ou=s(K,It);!an.done;Xr++,an=st.next()){var wi=U(Ou,K,Xr,an.value,se);wi!==null&&(e&&wi.alternate!==null&&Ou.delete(wi.key===null?Xr:wi.key),Fr=u(wi,Fr,Xr),at===null?Jt=wi:at.sibling=wi,at=wi)}if(e&&Ou.forEach(function(GN){return t(K,GN)}),Sr()){var JN=Xr;oa(K,JN)}return Jt}function Oe(K,z,j,se){if(z!==null&&z.tag===T){r(K,z.sibling);var xe=a(z,j);return xe.return=K,xe}r(K,z);var ve=Dh(j,K.mode,se);return ve.return=K,ve}function _e(K,z,j,se){for(var xe=j.key,ve=z;ve!==null;){if(ve.key===xe){var Ve=j.type;if(Ve===Xn){if(ve.tag===V){r(K,ve.sibling);var $e=a(ve,j.props.children);return $e.return=K,$e._debugSource=j._source,$e._debugOwner=j._owner,$e}}else if(ve.elementType===Ve||k6(ve,j)||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===fe&&b5(Ve)===ve.type){r(K,ve.sibling);var yt=a(ve,j.props);return yt.ref=eu(K,ve,j),yt.return=K,yt._debugSource=j._source,yt._debugOwner=j._owner,yt}r(K,ve);break}else t(K,ve);ve=ve.sibling}if(j.type===Xn){var st=Ms(j.props.children,K.mode,se,j.key);return st.return=K,st}else{var Jt=Eh(j,K.mode,se);return Jt.ref=eu(K,z,j),Jt.return=K,Jt}}function tt(K,z,j,se){for(var xe=j.key,ve=z;ve!==null;){if(ve.key===xe)if(ve.tag===E&&ve.stateNode.containerInfo===j.containerInfo&&ve.stateNode.implementation===j.implementation){r(K,ve.sibling);var Ve=a(ve,j.children||[]);return Ve.return=K,Ve}else{r(K,ve);break}else t(K,ve);ve=ve.sibling}var $e=Sh(j,K.mode,se);return $e.return=K,$e}function Ye(K,z,j,se){var xe=typeof j=="object"&&j!==null&&j.type===Xn&&j.key===null;if(xe&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case Yr:return p(_e(K,z,j,se));case Mr:return p(tt(K,z,j,se));case fe:var ve=j._payload,Ve=j._init;return Ye(K,z,Ve(ve),se)}if(We(j))return F(K,z,j,se);if(Et(j))return he(K,z,j,se);ef(K,j)}return typeof j=="string"&&j!==""||typeof j=="number"?p(Oe(K,z,""+j,se)):(typeof j=="function"&&tf(K),r(K,z))}return Ye}var ho=C5(!0),x5=C5(!1);function Dx(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var r=t.child,s=Ca(r,r.pendingProps);for(t.child=s,s.return=t;r.sibling!==null;)r=r.sibling,s=s.sibling=Ca(r,r.pendingProps),s.return=t;s.sibling=null}}function Sx(e,t){for(var r=e.child;r!==null;)mN(r,t),r=r.sibling}var Kp=Ns(null),jp;jp={};var rf=null,mo=null,Xp=null,nf=!1;function sf(){rf=null,mo=null,Xp=null,nf=!1}function R5(){nf=!0}function w5(){nf=!1}function N5(e,t,r){Br(Kp,t._currentValue,e),t._currentValue=r,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==jp&&f("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=jp}function Up(e,t){var r=Kp.current;Hr(Kp,t),e._currentValue=r}function Vp(e,t,r){for(var s=e;s!==null;){var a=s.alternate;if(Ga(s.childLanes,t)?a!==null&&!Ga(a.childLanes,t)&&(a.childLanes=Ze(a.childLanes,t)):(s.childLanes=Ze(s.childLanes,t),a!==null&&(a.childLanes=Ze(a.childLanes,t))),s===r)break;s=s.return}s!==r&&f("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function _x(e,t,r){Tx(e,t,r)}function Tx(e,t,r){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var a=void 0,u=s.dependencies;if(u!==null){a=s.child;for(var p=u.firstContext;p!==null;){if(p.context===t){if(s.tag===b){var m=yl(r),g=Gi(_t,m);g.tag=of;var C=s.updateQueue;if(C!==null){var R=C.shared,O=R.pending;O===null?g.next=g:(g.next=O.next,O.next=g),R.pending=g}}s.lanes=Ze(s.lanes,r);var L=s.alternate;L!==null&&(L.lanes=Ze(L.lanes,r)),Vp(s.return,r,e),u.lanes=Ze(u.lanes,r);break}p=p.next}}else if(s.tag===Y)a=s.type===e.type?null:s.child;else if(s.tag===ue){var U=s.return;if(U===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes=Ze(U.lanes,r);var A=U.alternate;A!==null&&(A.lanes=Ze(A.lanes,r)),Vp(U,r,e),a=s.sibling}else a=s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===e){a=null;break}var F=a.sibling;if(F!==null){F.return=a.return,a=F;break}a=a.return}s=a}}function vo(e,t){rf=e,mo=null,Xp=null;var r=e.dependencies;if(r!==null){var s=r.firstContext;s!==null&&(xn(r.lanes,t)&&mu(),r.firstContext=null)}}function rr(e){nf&&f("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Xp!==e){var r={context:e,memoizedValue:t,next:null};if(mo===null){if(rf===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");mo=r,rf.dependencies={lanes:ee,firstContext:r}}else mo=mo.next=r}return t}var da=null;function Mp(e){da===null?da=[e]:da.push(e)}function Lx(){if(da!==null){for(var e=0;e<da.length;e++){var t=da[e],r=t.interleaved;if(r!==null){t.interleaved=null;var s=r.next,a=t.pending;if(a!==null){var u=a.next;a.next=s,r.next=u}t.pending=r}}da=null}}function k5(e,t,r,s){var a=t.interleaved;return a===null?(r.next=r,Mp(t)):(r.next=a.next,a.next=r),t.interleaved=r,af(e,s)}function Ox(e,t,r,s){var a=t.interleaved;a===null?(r.next=r,Mp(t)):(r.next=a.next,a.next=r),t.interleaved=r}function Kx(e,t,r,s){var a=t.interleaved;return a===null?(r.next=r,Mp(t)):(r.next=a.next,a.next=r),t.interleaved=r,af(e,s)}function hn(e,t){return af(e,t)}var jx=af;function af(e,t){e.lanes=Ze(e.lanes,t);var r=e.alternate;r!==null&&(r.lanes=Ze(r.lanes,t)),r===null&&(e.flags&(tr|$i))!==Ue&&x6(e);for(var s=e,a=e.return;a!==null;)a.childLanes=Ze(a.childLanes,t),r=a.alternate,r!==null?r.childLanes=Ze(r.childLanes,t):(a.flags&(tr|$i))!==Ue&&x6(e),s=a,a=a.return;if(s.tag===S){var u=s.stateNode;return u}else return null}var E5=0,D5=1,of=2,Ap=3,lf=!1,Hp,uf;Hp=!1,uf=null;function Bp(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ee},effects:null};e.updateQueue=t}function S5(e,t){var r=t.updateQueue,s=e.updateQueue;if(r===s){var a={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects};t.updateQueue=a}}function Gi(e,t){var r={eventTime:e,lane:t,tag:E5,payload:null,callback:null,next:null};return r}function Ss(e,t,r){var s=e.updateQueue;if(s===null)return null;var a=s.shared;if(uf===a&&!Hp&&(f("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Hp=!0),Ow()){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,jx(e,r)}else return Kx(e,a,t,r)}function cf(e,t,r){var s=t.updateQueue;if(s!==null){var a=s.shared;if(B3(r)){var u=a.lanes;u=F3(u,e.pendingLanes);var p=Ze(u,r);a.lanes=p,Kd(e,p)}}}function $p(e,t){var r=e.updateQueue,s=e.alternate;if(s!==null){var a=s.updateQueue;if(r===a){var u=null,p=null,m=r.firstBaseUpdate;if(m!==null){var g=m;do{var C={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};p===null?u=p=C:(p.next=C,p=C),g=g.next}while(g!==null);p===null?u=p=t:(p.next=t,p=t)}else u=p=t;r={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:p,shared:a.shared,effects:a.effects},e.updateQueue=r;return}}var R=r.lastBaseUpdate;R===null?r.firstBaseUpdate=t:R.next=t,r.lastBaseUpdate=t}function Xx(e,t,r,s,a,u){switch(r.tag){case D5:{var p=r.payload;if(typeof p=="function"){R5();var m=p.call(u,s,a);{if(e.mode&Pt){Cr(!0);try{p.call(u,s,a)}finally{Cr(!1)}}w5()}return m}return p}case Ap:e.flags=e.flags&~tn|ut;case E5:{var g=r.payload,C;if(typeof g=="function"){R5(),C=g.call(u,s,a);{if(e.mode&Pt){Cr(!0);try{g.call(u,s,a)}finally{Cr(!1)}}w5()}}else C=g;return C==null?s:ze({},s,C)}case of:return lf=!0,s}return s}function ff(e,t,r,s){var a=e.updateQueue;lf=!1,uf=a.shared;var u=a.firstBaseUpdate,p=a.lastBaseUpdate,m=a.shared.pending;if(m!==null){a.shared.pending=null;var g=m,C=g.next;g.next=null,p===null?u=C:p.next=C,p=g;var R=e.alternate;if(R!==null){var O=R.updateQueue,L=O.lastBaseUpdate;L!==p&&(L===null?O.firstBaseUpdate=C:L.next=C,O.lastBaseUpdate=g)}}if(u!==null){var U=a.baseState,A=ee,F=null,he=null,Oe=null,_e=u;do{var tt=_e.lane,Ye=_e.eventTime;if(Ga(s,tt)){if(Oe!==null){var z={eventTime:Ye,lane:xr,tag:_e.tag,payload:_e.payload,callback:_e.callback,next:null};Oe=Oe.next=z}U=Xx(e,a,_e,U,t,r);var j=_e.callback;if(j!==null&&_e.lane!==xr){e.flags|=R3;var se=a.effects;se===null?a.effects=[_e]:se.push(_e)}}else{var K={eventTime:Ye,lane:tt,tag:_e.tag,payload:_e.payload,callback:_e.callback,next:null};Oe===null?(he=Oe=K,F=U):Oe=Oe.next=K,A=Ze(A,tt)}if(_e=_e.next,_e===null){if(m=a.shared.pending,m===null)break;var xe=m,ve=xe.next;xe.next=null,_e=ve,a.lastBaseUpdate=xe,a.shared.pending=null}}while(!0);Oe===null&&(F=U),a.baseState=F,a.firstBaseUpdate=he,a.lastBaseUpdate=Oe;var Ve=a.shared.interleaved;if(Ve!==null){var $e=Ve;do A=Ze(A,$e.lane),$e=$e.next;while($e!==Ve)}else u===null&&(a.shared.lanes=ee);Du(A),e.lanes=A,e.memoizedState=U}uf=null}function Ux(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function _5(){lf=!1}function df(){return lf}function T5(e,t,r){var s=t.effects;if(t.effects=null,s!==null)for(var a=0;a<s.length;a++){var u=s[a],p=u.callback;p!==null&&(u.callback=null,Ux(p,r))}}var tu={},_s=Ns(tu),ru=Ns(tu),pf=Ns(tu);function hf(e){if(e===tu)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function L5(){var e=hf(pf.current);return e}function Fp(e,t){Br(pf,t,e),Br(ru,e,e),Br(_s,tu,e);var r=Qb(t);Hr(_s,e),Br(_s,r,e)}function go(e){Hr(_s,e),Hr(ru,e),Hr(pf,e)}function zp(){var e=hf(_s.current);return e}function O5(e){hf(pf.current);var t=hf(_s.current),r=eC(t,e.type);t!==r&&(Br(ru,e,e),Br(_s,r,e))}function Pp(e){ru.current===e&&(Hr(_s,e),Hr(ru,e))}var Vx=0,K5=1,j5=1,nu=2,Gn=Ns(Vx);function Ip(e,t){return(e&t)!==0}function yo(e){return e&K5}function Zp(e,t){return e&K5|t}function Mx(e,t){return e|t}function Ts(e,t){Br(Gn,t,e)}function bo(e){Hr(Gn,e)}function Ax(e,t){var r=e.memoizedState;return r!==null?r.dehydrated!==null:(e.memoizedProps,!0)}function mf(e){for(var t=e;t!==null;){if(t.tag===Z){var r=t.memoizedState;if(r!==null){var s=r.dehydrated;if(s===null||Jv(s)||fp(s))return t}}else if(t.tag===ie&&t.memoizedProps.revealOrder!==void 0){var a=(t.flags&ut)!==Ue;if(a)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var mn=0,ar=1,vi=2,or=4,_r=8,qp=[];function Wp(){for(var e=0;e<qp.length;e++){var t=qp[e];t._workInProgressVersionPrimary=null}qp.length=0}function Hx(e,t){var r=t._getVersion,s=r(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,s]:e.mutableSourceEagerHydrationData.push(t,s)}var Ce=o.ReactCurrentDispatcher,iu=o.ReactCurrentBatchConfig,Yp,Co;Yp=new Set;var pa=ee,gt=null,lr=null,ur=null,vf=!1,su=!1,au=0,Bx=0,$x=25,W=null,Hn=null,Ls=-1,Jp=!1;function ft(){{var e=W;Hn===null?Hn=[e]:Hn.push(e)}}function pe(){{var e=W;Hn!==null&&(Ls++,Hn[Ls]!==e&&Fx(e))}}function xo(e){e!=null&&!We(e)&&f("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",W,typeof e)}function Fx(e){{var t=Fe(gt);if(!Yp.has(t)&&(Yp.add(t),Hn!==null)){for(var r="",s=30,a=0;a<=Ls;a++){for(var u=Hn[a],p=a===Ls?e:u,m=a+1+". "+u;m.length<s;)m+=" ";m+=p+`
|
|
147
|
+
`,r+=m}f(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
148
|
+
|
|
149
|
+
Previous render Next render
|
|
150
|
+
------------------------------------------------------
|
|
151
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
152
|
+
`,t,r)}}}function $r(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
153
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
154
|
+
2. You might be breaking the Rules of Hooks
|
|
155
|
+
3. You might have more than one copy of React in the same app
|
|
156
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Gp(e,t){if(Jp)return!1;if(t===null)return f("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",W),!1;e.length!==t.length&&f(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
157
|
+
|
|
158
|
+
Previous: %s
|
|
159
|
+
Incoming: %s`,W,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var r=0;r<t.length&&r<e.length;r++)if(!Nn(e[r],t[r]))return!1;return!0}function Ro(e,t,r,s,a,u){pa=u,gt=t,Hn=e!==null?e._debugHookTypes:null,Ls=-1,Jp=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ee,e!==null&&e.memoizedState!==null?Ce.current=r4:Hn!==null?Ce.current=t4:Ce.current=e4;var p=r(s,a);if(su){var m=0;do{if(su=!1,au=0,m>=$x)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");m+=1,Jp=!1,lr=null,ur=null,t.updateQueue=null,Ls=-1,Ce.current=n4,p=r(s,a)}while(su)}Ce.current=_f,t._debugHookTypes=Hn;var g=lr!==null&&lr.next!==null;if(pa=ee,gt=null,lr=null,ur=null,W=null,Hn=null,Ls=-1,e!==null&&(e.flags&Fi)!==(t.flags&Fi)&&(e.mode&Qe)!==je&&f("Internal React error: Expected static flag was missing. Please notify the React team."),vf=!1,g)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return p}function wo(){var e=au!==0;return au=0,e}function X5(e,t,r){t.updateQueue=e.updateQueue,(t.mode&di)!==je?t.flags&=-50333701:t.flags&=-2053,e.lanes=vc(e.lanes,r)}function U5(){if(Ce.current=_f,vf){for(var e=gt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vf=!1}pa=ee,gt=null,lr=null,ur=null,Hn=null,Ls=-1,W=null,W5=!1,su=!1,au=0}function gi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ur===null?gt.memoizedState=ur=e:ur=ur.next=e,ur}function Bn(){var e;if(lr===null){var t=gt.alternate;t!==null?e=t.memoizedState:e=null}else e=lr.next;var r;if(ur===null?r=gt.memoizedState:r=ur.next,r!==null)ur=r,r=ur.next,lr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");lr=e;var s={memoizedState:lr.memoizedState,baseState:lr.baseState,baseQueue:lr.baseQueue,queue:lr.queue,next:null};ur===null?gt.memoizedState=ur=s:ur=ur.next=s}return ur}function V5(){return{lastEffect:null,stores:null}}function Qp(e,t){return typeof t=="function"?t(e):t}function e0(e,t,r){var s=gi(),a;r!==void 0?a=r(t):a=t,s.memoizedState=s.baseState=a;var u={pending:null,interleaved:null,lanes:ee,dispatch:null,lastRenderedReducer:e,lastRenderedState:a};s.queue=u;var p=u.dispatch=Zx.bind(null,gt,u);return[s.memoizedState,p]}function t0(e,t,r){var s=Bn(),a=s.queue;if(a===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");a.lastRenderedReducer=e;var u=lr,p=u.baseQueue,m=a.pending;if(m!==null){if(p!==null){var g=p.next,C=m.next;p.next=C,m.next=g}u.baseQueue!==p&&f("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),u.baseQueue=p=m,a.pending=null}if(p!==null){var R=p.next,O=u.baseState,L=null,U=null,A=null,F=R;do{var he=F.lane;if(Ga(pa,he)){if(A!==null){var _e={lane:xr,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null};A=A.next=_e}if(F.hasEagerState)O=F.eagerState;else{var tt=F.action;O=e(O,tt)}}else{var Oe={lane:he,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null};A===null?(U=A=Oe,L=O):A=A.next=Oe,gt.lanes=Ze(gt.lanes,he),Du(he)}F=F.next}while(F!==null&&F!==R);A===null?L=O:A.next=U,Nn(O,s.memoizedState)||mu(),s.memoizedState=O,s.baseState=L,s.baseQueue=A,a.lastRenderedState=O}var Ye=a.interleaved;if(Ye!==null){var K=Ye;do{var z=K.lane;gt.lanes=Ze(gt.lanes,z),Du(z),K=K.next}while(K!==Ye)}else p===null&&(a.lanes=ee);var j=a.dispatch;return[s.memoizedState,j]}function r0(e,t,r){var s=Bn(),a=s.queue;if(a===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");a.lastRenderedReducer=e;var u=a.dispatch,p=a.pending,m=s.memoizedState;if(p!==null){a.pending=null;var g=p.next,C=g;do{var R=C.action;m=e(m,R),C=C.next}while(C!==g);Nn(m,s.memoizedState)||mu(),s.memoizedState=m,s.baseQueue===null&&(s.baseState=m),a.lastRenderedState=m}return[m,u]}function gj(e,t,r){}function yj(e,t,r){}function n0(e,t,r){var s=gt,a=gi(),u,p=Sr();if(p){if(r===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");u=r(),Co||u!==r()&&(f("The result of getServerSnapshot should be cached to avoid an infinite loop"),Co=!0)}else{if(u=t(),!Co){var m=t();Nn(u,m)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),Co=!0)}var g=qf();if(g===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");mc(g,pa)||M5(s,t,u)}a.memoizedState=u;var C={value:u,getSnapshot:t};return a.queue=C,xf(H5.bind(null,s,C,e),[e]),s.flags|=ms,ou(ar|_r,A5.bind(null,s,C,u,t),void 0,null),u}function gf(e,t,r){var s=gt,a=Bn(),u=t();if(!Co){var p=t();Nn(u,p)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),Co=!0)}var m=a.memoizedState,g=!Nn(m,u);g&&(a.memoizedState=u,mu());var C=a.queue;if(uu(H5.bind(null,s,C,e),[e]),C.getSnapshot!==t||g||ur!==null&&ur.memoizedState.tag&ar){s.flags|=ms,ou(ar|_r,A5.bind(null,s,C,u,t),void 0,null);var R=qf();if(R===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");mc(R,pa)||M5(s,t,u)}return u}function M5(e,t,r){e.flags|=Q1;var s={getSnapshot:t,value:r},a=gt.updateQueue;if(a===null)a=V5(),gt.updateQueue=a,a.stores=[s];else{var u=a.stores;u===null?a.stores=[s]:u.push(s)}}function A5(e,t,r,s){t.value=r,t.getSnapshot=s,B5(t)&&$5(e)}function H5(e,t,r){var s=function(){B5(t)&&$5(e)};return r(s)}function B5(e){var t=e.getSnapshot,r=e.value;try{var s=t();return!Nn(r,s)}catch{return!0}}function $5(e){var t=hn(e,Ae);t!==null&&pr(t,e,Ae,_t)}function yf(e){var t=gi();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var r={pending:null,interleaved:null,lanes:ee,dispatch:null,lastRenderedReducer:Qp,lastRenderedState:e};t.queue=r;var s=r.dispatch=qx.bind(null,gt,r);return[t.memoizedState,s]}function i0(e){return t0(Qp)}function s0(e){return r0(Qp)}function ou(e,t,r,s){var a={tag:e,create:t,destroy:r,deps:s,next:null},u=gt.updateQueue;if(u===null)u=V5(),gt.updateQueue=u,u.lastEffect=a.next=a;else{var p=u.lastEffect;if(p===null)u.lastEffect=a.next=a;else{var m=p.next;p.next=a,a.next=m,u.lastEffect=a}}return a}function a0(e){var t=gi();{var r={current:e};return t.memoizedState=r,r}}function bf(e){var t=Bn();return t.memoizedState}function lu(e,t,r,s){var a=gi(),u=s===void 0?null:s;gt.flags|=e,a.memoizedState=ou(ar|t,r,void 0,u)}function Cf(e,t,r,s){var a=Bn(),u=s===void 0?null:s,p=void 0;if(lr!==null){var m=lr.memoizedState;if(p=m.destroy,u!==null){var g=m.deps;if(Gp(u,g)){a.memoizedState=ou(t,r,p,u);return}}}gt.flags|=e,a.memoizedState=ou(ar|t,r,p,u)}function xf(e,t){return(gt.mode&di)!==je?lu(nd|ms|rd,_r,e,t):lu(ms|rd,_r,e,t)}function uu(e,t){return Cf(ms,_r,e,t)}function o0(e,t){return lu(lt,vi,e,t)}function Rf(e,t){return Cf(lt,vi,e,t)}function l0(e,t){var r=lt;return r|=Ys,(gt.mode&di)!==je&&(r|=vs),lu(r,or,e,t)}function wf(e,t){return Cf(lt,or,e,t)}function F5(e,t){if(typeof t=="function"){var r=t,s=e();return r(s),function(){r(null)}}else if(t!=null){var a=t;a.hasOwnProperty("current")||f("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}");var u=e();return a.current=u,function(){a.current=null}}}function u0(e,t,r){typeof t!="function"&&f("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var s=r!=null?r.concat([e]):null,a=lt;return a|=Ys,(gt.mode&di)!==je&&(a|=vs),lu(a,or,F5.bind(null,t,e),s)}function Nf(e,t,r){typeof t!="function"&&f("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var s=r!=null?r.concat([e]):null;return Cf(lt,or,F5.bind(null,t,e),s)}function zx(e,t){}var kf=zx;function c0(e,t){var r=gi(),s=t===void 0?null:t;return r.memoizedState=[e,s],e}function Ef(e,t){var r=Bn(),s=t===void 0?null:t,a=r.memoizedState;if(a!==null&&s!==null){var u=a[1];if(Gp(s,u))return a[0]}return r.memoizedState=[e,s],e}function f0(e,t){var r=gi(),s=t===void 0?null:t,a=e();return r.memoizedState=[a,s],a}function Df(e,t){var r=Bn(),s=t===void 0?null:t,a=r.memoizedState;if(a!==null&&s!==null){var u=a[1];if(Gp(s,u))return a[0]}var p=e();return r.memoizedState=[p,s],p}function d0(e){var t=gi();return t.memoizedState=e,e}function z5(e){var t=Bn(),r=lr,s=r.memoizedState;return I5(t,s,e)}function P5(e){var t=Bn();if(lr===null)return t.memoizedState=e,e;var r=lr.memoizedState;return I5(t,r,e)}function I5(e,t,r){var s=!_g(pa);if(s){if(!Nn(r,t)){var a=$3();gt.lanes=Ze(gt.lanes,a),Du(a),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,mu()),e.memoizedState=r,r}function Px(e,t,r){var s=qn();Rr(Mg(s,Pi)),e(!0);var a=iu.transition;iu.transition={};var u=iu.transition;iu.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Rr(s),iu.transition=a,a===null&&u._updatedFibers){var p=u._updatedFibers.size;p>10&&d("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),u._updatedFibers.clear()}}}function p0(){var e=yf(!1),t=e[0],r=e[1],s=Px.bind(null,r),a=gi();return a.memoizedState=s,[t,s]}function Z5(){var e=i0(),t=e[0],r=Bn(),s=r.memoizedState;return[t,s]}function q5(){var e=s0(),t=e[0],r=Bn(),s=r.memoizedState;return[t,s]}var W5=!1;function Ix(){return W5}function h0(){var e=gi(),t=qf(),r=t.identifierPrefix,s;if(Sr()){var a=ux();s=":"+r+"R"+a;var u=au++;u>0&&(s+="H"+u.toString(32)),s+=":"}else{var p=Bx++;s=":"+r+"r"+p.toString(32)+":"}return e.memoizedState=s,s}function Sf(){var e=Bn(),t=e.memoizedState;return t}function Zx(e,t,r){typeof arguments[3]=="function"&&f("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var s=Us(e),a={lane:s,action:r,hasEagerState:!1,eagerState:null,next:null};if(Y5(e))J5(t,a);else{var u=k5(e,t,a,s);if(u!==null){var p=sn();pr(u,e,s,p),G5(u,t,s)}}Q5(e,s)}function qx(e,t,r){typeof arguments[3]=="function"&&f("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var s=Us(e),a={lane:s,action:r,hasEagerState:!1,eagerState:null,next:null};if(Y5(e))J5(t,a);else{var u=e.alternate;if(e.lanes===ee&&(u===null||u.lanes===ee)){var p=t.lastRenderedReducer;if(p!==null){var m;m=Ce.current,Ce.current=Qn;try{var g=t.lastRenderedState,C=p(g,r);if(a.hasEagerState=!0,a.eagerState=C,Nn(C,g)){Ox(e,t,a,s);return}}catch{}finally{Ce.current=m}}}var R=k5(e,t,a,s);if(R!==null){var O=sn();pr(R,e,s,O),G5(R,t,s)}}Q5(e,s)}function Y5(e){var t=e.alternate;return e===gt||t!==null&&t===gt}function J5(e,t){su=vf=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function G5(e,t,r){if(B3(r)){var s=t.lanes;s=F3(s,e.pendingLanes);var a=Ze(s,r);t.lanes=a,Kd(e,a)}}function Q5(e,t,r){ld(e,t)}var _f={readContext:rr,useCallback:$r,useContext:$r,useEffect:$r,useImperativeHandle:$r,useInsertionEffect:$r,useLayoutEffect:$r,useMemo:$r,useReducer:$r,useRef:$r,useState:$r,useDebugValue:$r,useDeferredValue:$r,useTransition:$r,useMutableSource:$r,useSyncExternalStore:$r,useId:$r,unstable_isNewReconciler:bt},e4=null,t4=null,r4=null,n4=null,yi=null,Qn=null,Tf=null;{var m0=function(){f("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},He=function(){f("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};e4={readContext:function(e){return rr(e)},useCallback:function(e,t){return W="useCallback",ft(),xo(t),c0(e,t)},useContext:function(e){return W="useContext",ft(),rr(e)},useEffect:function(e,t){return W="useEffect",ft(),xo(t),xf(e,t)},useImperativeHandle:function(e,t,r){return W="useImperativeHandle",ft(),xo(r),u0(e,t,r)},useInsertionEffect:function(e,t){return W="useInsertionEffect",ft(),xo(t),o0(e,t)},useLayoutEffect:function(e,t){return W="useLayoutEffect",ft(),xo(t),l0(e,t)},useMemo:function(e,t){W="useMemo",ft(),xo(t);var r=Ce.current;Ce.current=yi;try{return f0(e,t)}finally{Ce.current=r}},useReducer:function(e,t,r){W="useReducer",ft();var s=Ce.current;Ce.current=yi;try{return e0(e,t,r)}finally{Ce.current=s}},useRef:function(e){return W="useRef",ft(),a0(e)},useState:function(e){W="useState",ft();var t=Ce.current;Ce.current=yi;try{return yf(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return W="useDebugValue",ft(),void 0},useDeferredValue:function(e){return W="useDeferredValue",ft(),d0(e)},useTransition:function(){return W="useTransition",ft(),p0()},useMutableSource:function(e,t,r){return W="useMutableSource",ft(),void 0},useSyncExternalStore:function(e,t,r){return W="useSyncExternalStore",ft(),n0(e,t,r)},useId:function(){return W="useId",ft(),h0()},unstable_isNewReconciler:bt},t4={readContext:function(e){return rr(e)},useCallback:function(e,t){return W="useCallback",pe(),c0(e,t)},useContext:function(e){return W="useContext",pe(),rr(e)},useEffect:function(e,t){return W="useEffect",pe(),xf(e,t)},useImperativeHandle:function(e,t,r){return W="useImperativeHandle",pe(),u0(e,t,r)},useInsertionEffect:function(e,t){return W="useInsertionEffect",pe(),o0(e,t)},useLayoutEffect:function(e,t){return W="useLayoutEffect",pe(),l0(e,t)},useMemo:function(e,t){W="useMemo",pe();var r=Ce.current;Ce.current=yi;try{return f0(e,t)}finally{Ce.current=r}},useReducer:function(e,t,r){W="useReducer",pe();var s=Ce.current;Ce.current=yi;try{return e0(e,t,r)}finally{Ce.current=s}},useRef:function(e){return W="useRef",pe(),a0(e)},useState:function(e){W="useState",pe();var t=Ce.current;Ce.current=yi;try{return yf(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return W="useDebugValue",pe(),void 0},useDeferredValue:function(e){return W="useDeferredValue",pe(),d0(e)},useTransition:function(){return W="useTransition",pe(),p0()},useMutableSource:function(e,t,r){return W="useMutableSource",pe(),void 0},useSyncExternalStore:function(e,t,r){return W="useSyncExternalStore",pe(),n0(e,t,r)},useId:function(){return W="useId",pe(),h0()},unstable_isNewReconciler:bt},r4={readContext:function(e){return rr(e)},useCallback:function(e,t){return W="useCallback",pe(),Ef(e,t)},useContext:function(e){return W="useContext",pe(),rr(e)},useEffect:function(e,t){return W="useEffect",pe(),uu(e,t)},useImperativeHandle:function(e,t,r){return W="useImperativeHandle",pe(),Nf(e,t,r)},useInsertionEffect:function(e,t){return W="useInsertionEffect",pe(),Rf(e,t)},useLayoutEffect:function(e,t){return W="useLayoutEffect",pe(),wf(e,t)},useMemo:function(e,t){W="useMemo",pe();var r=Ce.current;Ce.current=Qn;try{return Df(e,t)}finally{Ce.current=r}},useReducer:function(e,t,r){W="useReducer",pe();var s=Ce.current;Ce.current=Qn;try{return t0(e,t,r)}finally{Ce.current=s}},useRef:function(e){return W="useRef",pe(),bf()},useState:function(e){W="useState",pe();var t=Ce.current;Ce.current=Qn;try{return i0(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return W="useDebugValue",pe(),kf()},useDeferredValue:function(e){return W="useDeferredValue",pe(),z5(e)},useTransition:function(){return W="useTransition",pe(),Z5()},useMutableSource:function(e,t,r){return W="useMutableSource",pe(),void 0},useSyncExternalStore:function(e,t,r){return W="useSyncExternalStore",pe(),gf(e,t)},useId:function(){return W="useId",pe(),Sf()},unstable_isNewReconciler:bt},n4={readContext:function(e){return rr(e)},useCallback:function(e,t){return W="useCallback",pe(),Ef(e,t)},useContext:function(e){return W="useContext",pe(),rr(e)},useEffect:function(e,t){return W="useEffect",pe(),uu(e,t)},useImperativeHandle:function(e,t,r){return W="useImperativeHandle",pe(),Nf(e,t,r)},useInsertionEffect:function(e,t){return W="useInsertionEffect",pe(),Rf(e,t)},useLayoutEffect:function(e,t){return W="useLayoutEffect",pe(),wf(e,t)},useMemo:function(e,t){W="useMemo",pe();var r=Ce.current;Ce.current=Tf;try{return Df(e,t)}finally{Ce.current=r}},useReducer:function(e,t,r){W="useReducer",pe();var s=Ce.current;Ce.current=Tf;try{return r0(e,t,r)}finally{Ce.current=s}},useRef:function(e){return W="useRef",pe(),bf()},useState:function(e){W="useState",pe();var t=Ce.current;Ce.current=Tf;try{return s0(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return W="useDebugValue",pe(),kf()},useDeferredValue:function(e){return W="useDeferredValue",pe(),P5(e)},useTransition:function(){return W="useTransition",pe(),q5()},useMutableSource:function(e,t,r){return W="useMutableSource",pe(),void 0},useSyncExternalStore:function(e,t,r){return W="useSyncExternalStore",pe(),gf(e,t)},useId:function(){return W="useId",pe(),Sf()},unstable_isNewReconciler:bt},yi={readContext:function(e){return m0(),rr(e)},useCallback:function(e,t){return W="useCallback",He(),ft(),c0(e,t)},useContext:function(e){return W="useContext",He(),ft(),rr(e)},useEffect:function(e,t){return W="useEffect",He(),ft(),xf(e,t)},useImperativeHandle:function(e,t,r){return W="useImperativeHandle",He(),ft(),u0(e,t,r)},useInsertionEffect:function(e,t){return W="useInsertionEffect",He(),ft(),o0(e,t)},useLayoutEffect:function(e,t){return W="useLayoutEffect",He(),ft(),l0(e,t)},useMemo:function(e,t){W="useMemo",He(),ft();var r=Ce.current;Ce.current=yi;try{return f0(e,t)}finally{Ce.current=r}},useReducer:function(e,t,r){W="useReducer",He(),ft();var s=Ce.current;Ce.current=yi;try{return e0(e,t,r)}finally{Ce.current=s}},useRef:function(e){return W="useRef",He(),ft(),a0(e)},useState:function(e){W="useState",He(),ft();var t=Ce.current;Ce.current=yi;try{return yf(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return W="useDebugValue",He(),ft(),void 0},useDeferredValue:function(e){return W="useDeferredValue",He(),ft(),d0(e)},useTransition:function(){return W="useTransition",He(),ft(),p0()},useMutableSource:function(e,t,r){return W="useMutableSource",He(),ft(),void 0},useSyncExternalStore:function(e,t,r){return W="useSyncExternalStore",He(),ft(),n0(e,t,r)},useId:function(){return W="useId",He(),ft(),h0()},unstable_isNewReconciler:bt},Qn={readContext:function(e){return m0(),rr(e)},useCallback:function(e,t){return W="useCallback",He(),pe(),Ef(e,t)},useContext:function(e){return W="useContext",He(),pe(),rr(e)},useEffect:function(e,t){return W="useEffect",He(),pe(),uu(e,t)},useImperativeHandle:function(e,t,r){return W="useImperativeHandle",He(),pe(),Nf(e,t,r)},useInsertionEffect:function(e,t){return W="useInsertionEffect",He(),pe(),Rf(e,t)},useLayoutEffect:function(e,t){return W="useLayoutEffect",He(),pe(),wf(e,t)},useMemo:function(e,t){W="useMemo",He(),pe();var r=Ce.current;Ce.current=Qn;try{return Df(e,t)}finally{Ce.current=r}},useReducer:function(e,t,r){W="useReducer",He(),pe();var s=Ce.current;Ce.current=Qn;try{return t0(e,t,r)}finally{Ce.current=s}},useRef:function(e){return W="useRef",He(),pe(),bf()},useState:function(e){W="useState",He(),pe();var t=Ce.current;Ce.current=Qn;try{return i0(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return W="useDebugValue",He(),pe(),kf()},useDeferredValue:function(e){return W="useDeferredValue",He(),pe(),z5(e)},useTransition:function(){return W="useTransition",He(),pe(),Z5()},useMutableSource:function(e,t,r){return W="useMutableSource",He(),pe(),void 0},useSyncExternalStore:function(e,t,r){return W="useSyncExternalStore",He(),pe(),gf(e,t)},useId:function(){return W="useId",He(),pe(),Sf()},unstable_isNewReconciler:bt},Tf={readContext:function(e){return m0(),rr(e)},useCallback:function(e,t){return W="useCallback",He(),pe(),Ef(e,t)},useContext:function(e){return W="useContext",He(),pe(),rr(e)},useEffect:function(e,t){return W="useEffect",He(),pe(),uu(e,t)},useImperativeHandle:function(e,t,r){return W="useImperativeHandle",He(),pe(),Nf(e,t,r)},useInsertionEffect:function(e,t){return W="useInsertionEffect",He(),pe(),Rf(e,t)},useLayoutEffect:function(e,t){return W="useLayoutEffect",He(),pe(),wf(e,t)},useMemo:function(e,t){W="useMemo",He(),pe();var r=Ce.current;Ce.current=Qn;try{return Df(e,t)}finally{Ce.current=r}},useReducer:function(e,t,r){W="useReducer",He(),pe();var s=Ce.current;Ce.current=Qn;try{return r0(e,t,r)}finally{Ce.current=s}},useRef:function(e){return W="useRef",He(),pe(),bf()},useState:function(e){W="useState",He(),pe();var t=Ce.current;Ce.current=Qn;try{return s0(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return W="useDebugValue",He(),pe(),kf()},useDeferredValue:function(e){return W="useDeferredValue",He(),pe(),P5(e)},useTransition:function(){return W="useTransition",He(),pe(),q5()},useMutableSource:function(e,t,r){return W="useMutableSource",He(),pe(),void 0},useSyncExternalStore:function(e,t,r){return W="useSyncExternalStore",He(),pe(),gf(e,t)},useId:function(){return W="useId",He(),pe(),Sf()},unstable_isNewReconciler:bt}}var Os=i.unstable_now,i4=0,Lf=-1,cu=-1,Of=-1,v0=!1,Kf=!1;function s4(){return v0}function Wx(){Kf=!0}function Yx(){v0=!1,Kf=!1}function Jx(){v0=Kf,Kf=!1}function a4(){return i4}function o4(){i4=Os()}function g0(e){cu=Os(),e.actualStartTime<0&&(e.actualStartTime=Os())}function l4(e){cu=-1}function jf(e,t){if(cu>=0){var r=Os()-cu;e.actualDuration+=r,t&&(e.selfBaseDuration=r),cu=-1}}function bi(e){if(Lf>=0){var t=Os()-Lf;Lf=-1;for(var r=e.return;r!==null;){switch(r.tag){case S:var s=r.stateNode;s.effectDuration+=t;return;case oe:var a=r.stateNode;a.effectDuration+=t;return}r=r.return}}}function y0(e){if(Of>=0){var t=Os()-Of;Of=-1;for(var r=e.return;r!==null;){switch(r.tag){case S:var s=r.stateNode;s!==null&&(s.passiveEffectDuration+=t);return;case oe:var a=r.stateNode;a!==null&&(a.passiveEffectDuration+=t);return}r=r.return}}}function Ci(){Lf=Os()}function b0(){Of=Os()}function C0(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function ei(e,t){if(e&&e.defaultProps){var r=ze({},t),s=e.defaultProps;for(var a in s)r[a]===void 0&&(r[a]=s[a]);return r}return t}var x0={},R0,w0,N0,k0,E0,u4,Xf,D0,S0,_0,fu;{R0=new Set,w0=new Set,N0=new Set,k0=new Set,D0=new Set,E0=new Set,S0=new Set,_0=new Set,fu=new Set;var c4=new Set;Xf=function(e,t){if(!(e===null||typeof e=="function")){var r=t+"_"+e;c4.has(r)||(c4.add(r),f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},u4=function(e,t){if(t===void 0){var r=ot(e)||"Component";E0.has(r)||(E0.add(r),f("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",r))}},Object.defineProperty(x0,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(x0)}function T0(e,t,r,s){var a=e.memoizedState,u=r(s,a);{if(e.mode&Pt){Cr(!0);try{u=r(s,a)}finally{Cr(!1)}}u4(t,u)}var p=u==null?a:ze({},a,u);if(e.memoizedState=p,e.lanes===ee){var m=e.updateQueue;m.baseState=p}}var L0={isMounted:$7,enqueueSetState:function(e,t,r){var s=Fa(e),a=sn(),u=Us(s),p=Gi(a,u);p.payload=t,r!=null&&(Xf(r,"setState"),p.callback=r);var m=Ss(s,p,u);m!==null&&(pr(m,s,u,a),cf(m,s,u)),ld(s,u)},enqueueReplaceState:function(e,t,r){var s=Fa(e),a=sn(),u=Us(s),p=Gi(a,u);p.tag=D5,p.payload=t,r!=null&&(Xf(r,"replaceState"),p.callback=r);var m=Ss(s,p,u);m!==null&&(pr(m,s,u,a),cf(m,s,u)),ld(s,u)},enqueueForceUpdate:function(e,t){var r=Fa(e),s=sn(),a=Us(r),u=Gi(s,a);u.tag=of,t!=null&&(Xf(t,"forceUpdate"),u.callback=t);var p=Ss(r,u,a);p!==null&&(pr(p,r,a,s),cf(p,r,a)),bg(r,a)}};function f4(e,t,r,s,a,u,p){var m=e.stateNode;if(typeof m.shouldComponentUpdate=="function"){var g=m.shouldComponentUpdate(s,u,p);{if(e.mode&Pt){Cr(!0);try{g=m.shouldComponentUpdate(s,u,p)}finally{Cr(!1)}}g===void 0&&f("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ot(t)||"Component")}return g}return t.prototype&&t.prototype.isPureReactComponent?!Kl(r,s)||!Kl(a,u):!0}function Gx(e,t,r){var s=e.stateNode;{var a=ot(t)||"Component",u=s.render;u||(t.prototype&&typeof t.prototype.render=="function"?f("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",a):f("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",a)),s.getInitialState&&!s.getInitialState.isReactClassApproved&&!s.state&&f("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",a),s.getDefaultProps&&!s.getDefaultProps.isReactClassApproved&&f("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",a),s.propTypes&&f("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",a),s.contextType&&f("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",a),t.childContextTypes&&!fu.has(t)&&(e.mode&Pt)===je&&(fu.add(t),f(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
160
|
+
|
|
161
|
+
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,a)),t.contextTypes&&!fu.has(t)&&(e.mode&Pt)===je&&(fu.add(t),f(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
162
|
+
|
|
163
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,a)),s.contextTypes&&f("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",a),t.contextType&&t.contextTypes&&!S0.has(t)&&(S0.add(t),f("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",a)),typeof s.componentShouldUpdate=="function"&&f("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",a),t.prototype&&t.prototype.isPureReactComponent&&typeof s.shouldComponentUpdate<"u"&&f("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ot(t)||"A pure component"),typeof s.componentDidUnmount=="function"&&f("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),typeof s.componentDidReceiveProps=="function"&&f("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",a),typeof s.componentWillRecieveProps=="function"&&f("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),typeof s.UNSAFE_componentWillRecieveProps=="function"&&f("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a);var p=s.props!==r;s.props!==void 0&&p&&f("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",a,a),s.defaultProps&&f("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",a,a),typeof s.getSnapshotBeforeUpdate=="function"&&typeof s.componentDidUpdate!="function"&&!N0.has(t)&&(N0.add(t),f("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ot(t))),typeof s.getDerivedStateFromProps=="function"&&f("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),typeof s.getDerivedStateFromError=="function"&&f("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),typeof t.getSnapshotBeforeUpdate=="function"&&f("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",a);var m=s.state;m&&(typeof m!="object"||We(m))&&f("%s.state: must be set to an object or null",a),typeof s.getChildContext=="function"&&typeof t.childContextTypes!="object"&&f("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a)}}function d4(e,t){t.updater=L0,e.stateNode=t,M7(t,e),t._reactInternalInstance=x0}function p4(e,t,r){var s=!1,a=kn,u=kn,p=t.contextType;if("contextType"in t){var m=p===null||p!==void 0&&p.$$typeof===w&&p._context===void 0;if(!m&&!_0.has(t)){_0.add(t);var g="";p===void 0?g=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof p!="object"?g=" However, it is set to a "+typeof p+".":p.$$typeof===re?g=" Did you accidentally pass the Context.Provider instead?":p._context!==void 0?g=" Did you accidentally pass the Context.Consumer instead?":g=" However, it is set to an object with keys {"+Object.keys(p).join(", ")+"}.",f("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ot(t)||"Component",g)}}if(typeof p=="object"&&p!==null)u=rr(p);else{a=lo(e,t,!0);var C=t.contextTypes;s=C!=null,u=s?uo(e,a):kn}var R=new t(r,u);if(e.mode&Pt){Cr(!0);try{R=new t(r,u)}finally{Cr(!1)}}var O=e.memoizedState=R.state!==null&&R.state!==void 0?R.state:null;d4(e,R);{if(typeof t.getDerivedStateFromProps=="function"&&O===null){var L=ot(t)||"Component";w0.has(L)||(w0.add(L),f("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",L,R.state===null?"null":"undefined",L))}if(typeof t.getDerivedStateFromProps=="function"||typeof R.getSnapshotBeforeUpdate=="function"){var U=null,A=null,F=null;if(typeof R.componentWillMount=="function"&&R.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof R.UNSAFE_componentWillMount=="function"&&(U="UNSAFE_componentWillMount"),typeof R.componentWillReceiveProps=="function"&&R.componentWillReceiveProps.__suppressDeprecationWarning!==!0?A="componentWillReceiveProps":typeof R.UNSAFE_componentWillReceiveProps=="function"&&(A="UNSAFE_componentWillReceiveProps"),typeof R.componentWillUpdate=="function"&&R.componentWillUpdate.__suppressDeprecationWarning!==!0?F="componentWillUpdate":typeof R.UNSAFE_componentWillUpdate=="function"&&(F="UNSAFE_componentWillUpdate"),U!==null||A!==null||F!==null){var he=ot(t)||"Component",Oe=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";k0.has(he)||(k0.add(he),f(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
164
|
+
|
|
165
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
166
|
+
|
|
167
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
168
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,he,Oe,U!==null?`
|
|
169
|
+
`+U:"",A!==null?`
|
|
170
|
+
`+A:"",F!==null?`
|
|
171
|
+
`+F:""))}}}return s&&r5(e,a,u),R}function Qx(e,t){var r=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),r!==t.state&&(f("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Fe(e)||"Component"),L0.enqueueReplaceState(t,t.state,null))}function h4(e,t,r,s){var a=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,s),t.state!==a){{var u=Fe(e)||"Component";R0.has(u)||(R0.add(u),f("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",u))}L0.enqueueReplaceState(t,t.state,null)}}function O0(e,t,r,s){Gx(e,t,r);var a=e.stateNode;a.props=r,a.state=e.memoizedState,a.refs={},Bp(e);var u=t.contextType;if(typeof u=="object"&&u!==null)a.context=rr(u);else{var p=lo(e,t,!0);a.context=uo(e,p)}{if(a.state===r){var m=ot(t)||"Component";D0.has(m)||(D0.add(m),f("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",m))}e.mode&Pt&&Jn.recordLegacyContextWarning(e,a),Jn.recordUnsafeLifecycleWarnings(e,a)}a.state=e.memoizedState;var g=t.getDerivedStateFromProps;if(typeof g=="function"&&(T0(e,t,g,r),a.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof a.getSnapshotBeforeUpdate!="function"&&(typeof a.UNSAFE_componentWillMount=="function"||typeof a.componentWillMount=="function")&&(Qx(e,a),ff(e,r,a,s),a.state=e.memoizedState),typeof a.componentDidMount=="function"){var C=lt;C|=Ys,(e.mode&di)!==je&&(C|=vs),e.flags|=C}}function eR(e,t,r,s){var a=e.stateNode,u=e.memoizedProps;a.props=u;var p=a.context,m=t.contextType,g=kn;if(typeof m=="object"&&m!==null)g=rr(m);else{var C=lo(e,t,!0);g=uo(e,C)}var R=t.getDerivedStateFromProps,O=typeof R=="function"||typeof a.getSnapshotBeforeUpdate=="function";!O&&(typeof a.UNSAFE_componentWillReceiveProps=="function"||typeof a.componentWillReceiveProps=="function")&&(u!==r||p!==g)&&h4(e,a,r,g),_5();var L=e.memoizedState,U=a.state=L;if(ff(e,r,a,s),U=e.memoizedState,u===r&&L===U&&!Pc()&&!df()){if(typeof a.componentDidMount=="function"){var A=lt;A|=Ys,(e.mode&di)!==je&&(A|=vs),e.flags|=A}return!1}typeof R=="function"&&(T0(e,t,R,r),U=e.memoizedState);var F=df()||f4(e,t,u,r,L,U,g);if(F){if(!O&&(typeof a.UNSAFE_componentWillMount=="function"||typeof a.componentWillMount=="function")&&(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"){var he=lt;he|=Ys,(e.mode&di)!==je&&(he|=vs),e.flags|=he}}else{if(typeof a.componentDidMount=="function"){var Oe=lt;Oe|=Ys,(e.mode&di)!==je&&(Oe|=vs),e.flags|=Oe}e.memoizedProps=r,e.memoizedState=U}return a.props=r,a.state=U,a.context=g,F}function tR(e,t,r,s,a){var u=t.stateNode;S5(e,t);var p=t.memoizedProps,m=t.type===t.elementType?p:ei(t.type,p);u.props=m;var g=t.pendingProps,C=u.context,R=r.contextType,O=kn;if(typeof R=="object"&&R!==null)O=rr(R);else{var L=lo(t,r,!0);O=uo(t,L)}var U=r.getDerivedStateFromProps,A=typeof U=="function"||typeof u.getSnapshotBeforeUpdate=="function";!A&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(p!==g||C!==O)&&h4(t,u,s,O),_5();var F=t.memoizedState,he=u.state=F;if(ff(t,s,u,a),he=t.memoizedState,p===g&&F===he&&!Pc()&&!df()&&!Tt)return typeof u.componentDidUpdate=="function"&&(p!==e.memoizedProps||F!==e.memoizedState)&&(t.flags|=lt),typeof u.getSnapshotBeforeUpdate=="function"&&(p!==e.memoizedProps||F!==e.memoizedState)&&(t.flags|=Pa),!1;typeof U=="function"&&(T0(t,r,U,s),he=t.memoizedState);var Oe=df()||f4(t,r,m,s,F,he,O)||Tt;return Oe?(!A&&(typeof u.UNSAFE_componentWillUpdate=="function"||typeof u.componentWillUpdate=="function")&&(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(s,he,O),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(s,he,O)),typeof u.componentDidUpdate=="function"&&(t.flags|=lt),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=Pa)):(typeof u.componentDidUpdate=="function"&&(p!==e.memoizedProps||F!==e.memoizedState)&&(t.flags|=lt),typeof u.getSnapshotBeforeUpdate=="function"&&(p!==e.memoizedProps||F!==e.memoizedState)&&(t.flags|=Pa),t.memoizedProps=s,t.memoizedState=he),u.props=s,u.state=he,u.context=O,Oe}function ha(e,t){return{value:e,source:t,stack:$s(t),digest:null}}function K0(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function rR(e,t){return!0}function j0(e,t){try{var r=rR(e,t);if(r===!1)return;var s=t.value,a=t.source,u=t.stack,p=u!==null?u:"";if(s!=null&&s._suppressLogging){if(e.tag===b)return;console.error(s)}var m=a?Fe(a):null,g=m?"The above error occurred in the <"+m+"> component:":"The above error occurred in one of your React components:",C;if(e.tag===S)C=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
172
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var R=Fe(e)||"Anonymous";C="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+R+".")}var O=g+`
|
|
173
|
+
`+p+`
|
|
174
|
+
|
|
175
|
+
`+(""+C);console.error(O)}catch(L){setTimeout(function(){throw L})}}var nR=typeof WeakMap=="function"?WeakMap:Map;function m4(e,t,r){var s=Gi(_t,r);s.tag=Ap,s.payload={element:null};var a=t.value;return s.callback=function(){Ww(a),j0(e,t)},s}function X0(e,t,r){var s=Gi(_t,r);s.tag=Ap;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var u=t.value;s.payload=function(){return a(u)},s.callback=function(){E6(e),j0(e,t)}}var p=e.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(s.callback=function(){E6(e),j0(e,t),typeof a!="function"&&Zw(this);var g=t.value,C=t.stack;this.componentDidCatch(g,{componentStack:C!==null?C:""}),typeof a!="function"&&(xn(e.lanes,Ae)||f("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Fe(e)||"Unknown"))}),s}function v4(e,t,r){var s=e.pingCache,a;if(s===null?(s=e.pingCache=new nR,a=new Set,s.set(t,a)):(a=s.get(t),a===void 0&&(a=new Set,s.set(t,a))),!a.has(r)){a.add(r);var u=Yw.bind(null,e,t,r);Zn&&Su(e,r),t.then(u,u)}}function iR(e,t,r,s){var a=e.updateQueue;if(a===null){var u=new Set;u.add(r),e.updateQueue=u}else a.add(r)}function sR(e,t){var r=e.tag;if((e.mode&Qe)===je&&(r===x||r===I||r===G)){var s=e.alternate;s?(e.updateQueue=s.updateQueue,e.memoizedState=s.memoizedState,e.lanes=s.lanes):(e.updateQueue=null,e.memoizedState=null)}}function g4(e){var t=e;do{if(t.tag===Z&&Ax(t))return t;t=t.return}while(t!==null);return null}function y4(e,t,r,s,a){if((e.mode&Qe)===je){if(e===t)e.flags|=tn;else{if(e.flags|=ut,r.flags|=ed,r.flags&=-52805,r.tag===b){var u=r.alternate;if(u===null)r.tag=B;else{var p=Gi(_t,Ae);p.tag=of,Ss(r,p,Ae)}}r.lanes=Ze(r.lanes,Ae)}return e}return e.flags|=tn,e.lanes=a,e}function aR(e,t,r,s,a){if(r.flags|=uc,Zn&&Su(e,a),s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s;sR(r),Sr()&&r.mode&Qe&&u5();var p=g4(t);if(p!==null){p.flags&=~Bi,y4(p,t,r,e,a),p.mode&Qe&&v4(e,u,a),iR(p,e,u);return}else{if(!Sg(a)){v4(e,u,a),hh();return}var m=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");s=m}}else if(Sr()&&r.mode&Qe){u5();var g=g4(t);if(g!==null){(g.flags&tn)===Ue&&(g.flags|=Bi),y4(g,t,r,e,a),Dp(ha(s,r));return}}s=ha(s,r),Aw(s);var C=t;do{switch(C.tag){case S:{var R=s;C.flags|=tn;var O=yl(a);C.lanes=Ze(C.lanes,O);var L=m4(C,R,O);$p(C,L);return}case b:var U=s,A=C.type,F=C.stateNode;if((C.flags&ut)===Ue&&(typeof A.getDerivedStateFromError=="function"||F!==null&&typeof F.componentDidCatch=="function"&&!g6(F))){C.flags|=tn;var he=yl(a);C.lanes=Ze(C.lanes,he);var Oe=X0(C,U,he);$p(C,Oe);return}break}C=C.return}while(C!==null)}function oR(){return null}var du=o.ReactCurrentOwner,ti=!1,U0,pu,V0,M0,A0,ma,H0,Uf,hu;U0={},pu={},V0={},M0={},A0={},ma=!1,H0={},Uf={},hu={};function rn(e,t,r,s){e===null?t.child=x5(t,null,r,s):t.child=ho(t,e.child,r,s)}function lR(e,t,r,s){t.child=ho(t,e.child,null,s),t.child=ho(t,null,r,s)}function b4(e,t,r,s,a){if(t.type!==t.elementType){var u=r.propTypes;u&&Wn(u,s,"prop",ot(r))}var p=r.render,m=t.ref,g,C;vo(t,a),dl(t);{if(du.current=t,Un(!0),g=Ro(e,t,p,s,m,a),C=wo(),t.mode&Pt){Cr(!0);try{g=Ro(e,t,p,s,m,a),C=wo()}finally{Cr(!1)}}Un(!1)}return qa(),e!==null&&!ti?(X5(e,t,a),Qi(e,t,a)):(Sr()&&C&&xp(t),t.flags|=za,rn(e,t,g,a),t.child)}function C4(e,t,r,s,a){if(e===null){var u=r.type;if(pN(u)&&r.compare===null&&r.defaultProps===void 0){var p=u;return p=Lo(u),t.tag=G,t.type=p,F0(t,u),x4(e,t,p,s,a)}{var m=u.propTypes;if(m&&Wn(m,s,"prop",ot(u)),r.defaultProps!==void 0){var g=ot(u)||"Unknown";hu[g]||(f("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",g),hu[g]=!0)}}var C=kh(r.type,null,s,t,t.mode,a);return C.ref=t.ref,C.return=t,t.child=C,C}{var R=r.type,O=R.propTypes;O&&Wn(O,s,"prop",ot(R))}var L=e.child,U=W0(e,a);if(!U){var A=L.memoizedProps,F=r.compare;if(F=F!==null?F:Kl,F(A,s)&&e.ref===t.ref)return Qi(e,t,a)}t.flags|=za;var he=Ca(L,s);return he.ref=t.ref,he.return=t,t.child=he,he}function x4(e,t,r,s,a){if(t.type!==t.elementType){var u=t.elementType;if(u.$$typeof===fe){var p=u,m=p._payload,g=p._init;try{u=g(m)}catch{u=null}var C=u&&u.propTypes;C&&Wn(C,s,"prop",ot(u))}}if(e!==null){var R=e.memoizedProps;if(Kl(R,s)&&e.ref===t.ref&&t.type===e.type)if(ti=!1,t.pendingProps=s=R,W0(e,a))(e.flags&ed)!==Ue&&(ti=!0);else return t.lanes=e.lanes,Qi(e,t,a)}return B0(e,t,r,s,a)}function R4(e,t,r){var s=t.pendingProps,a=s.children,u=e!==null?e.memoizedState:null;if(s.mode==="hidden"||Lt)if((t.mode&Qe)===je){var p={baseLanes:ee,cachePool:null,transitions:null};t.memoizedState=p,Wf(t,r)}else if(xn(r,Cn)){var O={baseLanes:ee,cachePool:null,transitions:null};t.memoizedState=O;var L=u!==null?u.baseLanes:r;Wf(t,L)}else{var m=null,g;if(u!==null){var C=u.baseLanes;g=Ze(C,r)}else g=r;t.lanes=t.childLanes=Cn;var R={baseLanes:g,cachePool:m,transitions:null};return t.memoizedState=R,t.updateQueue=null,Wf(t,g),null}else{var U;u!==null?(U=Ze(u.baseLanes,r),t.memoizedState=null):U=r,Wf(t,U)}return rn(e,t,a,r),t.child}function uR(e,t,r){var s=t.pendingProps;return rn(e,t,s,r),t.child}function cR(e,t,r){var s=t.pendingProps.children;return rn(e,t,s,r),t.child}function fR(e,t,r){{t.flags|=lt;{var s=t.stateNode;s.effectDuration=0,s.passiveEffectDuration=0}}var a=t.pendingProps,u=a.children;return rn(e,t,u,r),t.child}function w4(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=qs,t.flags|=td)}function B0(e,t,r,s,a){if(t.type!==t.elementType){var u=r.propTypes;u&&Wn(u,s,"prop",ot(r))}var p;{var m=lo(t,r,!0);p=uo(t,m)}var g,C;vo(t,a),dl(t);{if(du.current=t,Un(!0),g=Ro(e,t,r,s,p,a),C=wo(),t.mode&Pt){Cr(!0);try{g=Ro(e,t,r,s,p,a),C=wo()}finally{Cr(!1)}}Un(!1)}return qa(),e!==null&&!ti?(X5(e,t,a),Qi(e,t,a)):(Sr()&&C&&xp(t),t.flags|=za,rn(e,t,g,a),t.child)}function N4(e,t,r,s,a){{switch(SN(t)){case!1:{var u=t.stateNode,p=t.type,m=new p(t.memoizedProps,u.context),g=m.state;u.updater.enqueueSetState(u,g,null);break}case!0:{t.flags|=ut,t.flags|=tn;var C=new Error("Simulated error coming from DevTools"),R=yl(a);t.lanes=Ze(t.lanes,R);var O=X0(t,ha(C,t),R);$p(t,O);break}}if(t.type!==t.elementType){var L=r.propTypes;L&&Wn(L,s,"prop",ot(r))}}var U;mi(r)?(U=!0,Zc(t)):U=!1,vo(t,a);var A=t.stateNode,F;A===null?(Mf(e,t),p4(t,r,s),O0(t,r,s,a),F=!0):e===null?F=eR(t,r,s,a):F=tR(e,t,r,s,a);var he=$0(e,t,r,F,U,a);{var Oe=t.stateNode;F&&Oe.props!==s&&(ma||f("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Fe(t)||"a component"),ma=!0)}return he}function $0(e,t,r,s,a,u){w4(e,t);var p=(t.flags&ut)!==Ue;if(!s&&!p)return a&&s5(t,r,!1),Qi(e,t,u);var m=t.stateNode;du.current=t;var g;if(p&&typeof r.getDerivedStateFromError!="function")g=null,l4();else{dl(t);{if(Un(!0),g=m.render(),t.mode&Pt){Cr(!0);try{m.render()}finally{Cr(!1)}}Un(!1)}qa()}return t.flags|=za,e!==null&&p?lR(e,t,g,u):rn(e,t,g,u),t.memoizedState=m.state,a&&s5(t,r,!0),t.child}function k4(e){var t=e.stateNode;t.pendingContext?n5(e,t.pendingContext,t.pendingContext!==t.context):t.context&&n5(e,t.context,!1),Fp(e,t.containerInfo)}function dR(e,t,r){if(k4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var s=t.pendingProps,a=t.memoizedState,u=a.element;S5(e,t),ff(t,s,null,r);var p=t.memoizedState;t.stateNode;var m=p.element;if(a.isDehydrated){var g={element:m,isDehydrated:!1,cache:p.cache,pendingSuspenseBoundaries:p.pendingSuspenseBoundaries,transitions:p.transitions},C=t.updateQueue;if(C.baseState=g,t.memoizedState=g,t.flags&Bi){var R=ha(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return E4(e,t,m,r,R)}else if(m!==u){var O=ha(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return E4(e,t,m,r,O)}else{mx(t);var L=x5(t,null,m,r);t.child=L;for(var U=L;U;)U.flags=U.flags&~tr|$i,U=U.sibling}}else{if(po(),m===u)return Qi(e,t,r);rn(e,t,m,r)}return t.child}function E4(e,t,r,s,a){return po(),Dp(a),t.flags|=Bi,rn(e,t,r,s),t.child}function pR(e,t,r){O5(t),e===null&&Ep(t);var s=t.type,a=t.pendingProps,u=e!==null?e.memoizedProps:null,p=a.children,m=op(s,a);return m?p=null:u!==null&&op(s,u)&&(t.flags|=cl),w4(e,t),rn(e,t,p,r),t.child}function hR(e,t){return e===null&&Ep(t),null}function mR(e,t,r,s){Mf(e,t);var a=t.pendingProps,u=r,p=u._payload,m=u._init,g=m(p);t.type=g;var C=t.tag=hN(g),R=ei(g,a),O;switch(C){case x:return F0(t,g),t.type=g=Lo(g),O=B0(null,t,g,R,s),O;case b:return t.type=g=bh(g),O=N4(null,t,g,R,s),O;case I:return t.type=g=Ch(g),O=b4(null,t,g,R,s),O;case q:{if(t.type!==t.elementType){var L=g.propTypes;L&&Wn(L,R,"prop",ot(g))}return O=C4(null,t,g,ei(g.type,R),s),O}}var U="";throw g!==null&&typeof g=="object"&&g.$$typeof===fe&&(U=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+g+". "+("Lazy element type must resolve to a class or function."+U))}function vR(e,t,r,s,a){Mf(e,t),t.tag=b;var u;return mi(r)?(u=!0,Zc(t)):u=!1,vo(t,a),p4(t,r,s),O0(t,r,s,a),$0(null,t,r,!0,u,a)}function gR(e,t,r,s){Mf(e,t);var a=t.pendingProps,u;{var p=lo(t,r,!1);u=uo(t,p)}vo(t,s);var m,g;dl(t);{if(r.prototype&&typeof r.prototype.render=="function"){var C=ot(r)||"Unknown";U0[C]||(f("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",C,C),U0[C]=!0)}t.mode&Pt&&Jn.recordLegacyContextWarning(t,null),Un(!0),du.current=t,m=Ro(null,t,r,a,u,s),g=wo(),Un(!1)}if(qa(),t.flags|=za,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0){var R=ot(r)||"Unknown";pu[R]||(f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",R,R,R),pu[R]=!0)}if(typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0){{var O=ot(r)||"Unknown";pu[O]||(f("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",O,O,O),pu[O]=!0)}t.tag=b,t.memoizedState=null,t.updateQueue=null;var L=!1;return mi(r)?(L=!0,Zc(t)):L=!1,t.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,Bp(t),d4(t,m),O0(t,r,a,s),$0(null,t,r,!0,L,s)}else{if(t.tag=x,t.mode&Pt){Cr(!0);try{m=Ro(null,t,r,a,u,s),g=wo()}finally{Cr(!1)}}return Sr()&&g&&xp(t),rn(null,t,m,s),F0(t,r),t.child}}function F0(e,t){{if(t&&t.childContextTypes&&f("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var r="",s=ps();s&&(r+=`
|
|
176
|
+
|
|
177
|
+
Check the render method of \``+s+"`.");var a=s||"",u=e._debugSource;u&&(a=u.fileName+":"+u.lineNumber),A0[a]||(A0[a]=!0,f("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",r))}if(t.defaultProps!==void 0){var p=ot(t)||"Unknown";hu[p]||(f("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",p),hu[p]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var m=ot(t)||"Unknown";M0[m]||(f("%s: Function components do not support getDerivedStateFromProps.",m),M0[m]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var g=ot(t)||"Unknown";V0[g]||(f("%s: Function components do not support contextType.",g),V0[g]=!0)}}}var z0={dehydrated:null,treeContext:null,retryLane:xr};function P0(e){return{baseLanes:e,cachePool:oR(),transitions:null}}function yR(e,t){var r=null;return{baseLanes:Ze(e.baseLanes,t),cachePool:r,transitions:e.transitions}}function bR(e,t,r,s){if(t!==null){var a=t.memoizedState;if(a===null)return!1}return Ip(e,nu)}function CR(e,t){return vc(e.childLanes,t)}function D4(e,t,r){var s=t.pendingProps;_N(t)&&(t.flags|=ut);var a=Gn.current,u=!1,p=(t.flags&ut)!==Ue;if(p||bR(a,e)?(u=!0,t.flags&=~ut):(e===null||e.memoizedState!==null)&&(a=Mx(a,j5)),a=yo(a),Ts(t,a),e===null){Ep(t);var m=t.memoizedState;if(m!==null){var g=m.dehydrated;if(g!==null)return kR(t,g)}var C=s.children,R=s.fallback;if(u){var O=xR(t,C,R,r),L=t.child;return L.memoizedState=P0(r),t.memoizedState=z0,O}else return I0(t,C)}else{var U=e.memoizedState;if(U!==null){var A=U.dehydrated;if(A!==null)return ER(e,t,p,s,A,U,r)}if(u){var F=s.fallback,he=s.children,Oe=wR(e,t,he,F,r),_e=t.child,tt=e.child.memoizedState;return _e.memoizedState=tt===null?P0(r):yR(tt,r),_e.childLanes=CR(e,r),t.memoizedState=z0,Oe}else{var Ye=s.children,K=RR(e,t,Ye,r);return t.memoizedState=null,K}}}function I0(e,t,r){var s=e.mode,a={mode:"visible",children:t},u=Z0(a,s);return u.return=e,e.child=u,u}function xR(e,t,r,s){var a=e.mode,u=e.child,p={mode:"hidden",children:t},m,g;return(a&Qe)===je&&u!==null?(m=u,m.childLanes=ee,m.pendingProps=p,e.mode&vt&&(m.actualDuration=0,m.actualStartTime=-1,m.selfBaseDuration=0,m.treeBaseDuration=0),g=Ms(r,a,s,null)):(m=Z0(p,a),g=Ms(r,a,s,null)),m.return=e,g.return=e,m.sibling=g,e.child=m,g}function Z0(e,t,r){return S6(e,t,ee,null)}function S4(e,t){return Ca(e,t)}function RR(e,t,r,s){var a=e.child,u=a.sibling,p=S4(a,{mode:"visible",children:r});if((t.mode&Qe)===je&&(p.lanes=s),p.return=t,p.sibling=null,u!==null){var m=t.deletions;m===null?(t.deletions=[u],t.flags|=Zs):m.push(u)}return t.child=p,p}function wR(e,t,r,s,a){var u=t.mode,p=e.child,m=p.sibling,g={mode:"hidden",children:r},C;if((u&Qe)===je&&t.child!==p){var R=t.child;C=R,C.childLanes=ee,C.pendingProps=g,t.mode&vt&&(C.actualDuration=0,C.actualStartTime=-1,C.selfBaseDuration=p.selfBaseDuration,C.treeBaseDuration=p.treeBaseDuration),t.deletions=null}else C=S4(p,g),C.subtreeFlags=p.subtreeFlags&Fi;var O;return m!==null?O=Ca(m,s):(O=Ms(s,u,a,null),O.flags|=tr),O.return=t,C.return=t,C.sibling=O,t.child=C,O}function Vf(e,t,r,s){s!==null&&Dp(s),ho(t,e.child,null,r);var a=t.pendingProps,u=a.children,p=I0(t,u);return p.flags|=tr,t.memoizedState=null,p}function NR(e,t,r,s,a){var u=t.mode,p={mode:"visible",children:r},m=Z0(p,u),g=Ms(s,u,a,null);return g.flags|=tr,m.return=t,g.return=t,m.sibling=g,t.child=m,(t.mode&Qe)!==je&&ho(t,e.child,null,a),g}function kR(e,t,r){return(e.mode&Qe)===je?(f("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Ae):fp(t)?e.lanes=Qs:e.lanes=Cn,null}function ER(e,t,r,s,a,u,p){if(r)if(t.flags&Bi){t.flags&=~Bi;var K=K0(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Vf(e,t,p,K)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=ut,null;var z=s.children,j=s.fallback,se=NR(e,t,z,j,p),xe=t.child;return xe.memoizedState=P0(p),t.memoizedState=z0,se}else{if(px(),(t.mode&Qe)===je)return Vf(e,t,p,null);if(fp(a)){var m,g,C;{var R=TC(a);m=R.digest,g=R.message,C=R.stack}var O;g?O=new Error(g):O=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var L=K0(O,m,C);return Vf(e,t,p,L)}var U=xn(p,e.childLanes);if(ti||U){var A=qf();if(A!==null){var F=Ug(A,p);if(F!==xr&&F!==u.retryLane){u.retryLane=F;var he=_t;hn(e,F),pr(A,e,F,he)}}hh();var Oe=K0(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Vf(e,t,p,Oe)}else if(Jv(a)){t.flags|=ut,t.child=e.child;var _e=Jw.bind(null,e);return LC(a,_e),null}else{vx(t,a,u.treeContext);var tt=s.children,Ye=I0(t,tt);return Ye.flags|=$i,Ye}}}function _4(e,t,r){e.lanes=Ze(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Ze(s.lanes,t)),Vp(e.return,t,r)}function DR(e,t,r){for(var s=t;s!==null;){if(s.tag===Z){var a=s.memoizedState;a!==null&&_4(s,r,e)}else if(s.tag===ie)_4(s,r,e);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return;for(;s.sibling===null;){if(s.return===null||s.return===e)return;s=s.return}s.sibling.return=s.return,s=s.sibling}}function SR(e){for(var t=e,r=null;t!==null;){var s=t.alternate;s!==null&&mf(s)===null&&(r=t),t=t.sibling}return r}function _R(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!H0[e])if(H0[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{f('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{f('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:f('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else f('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function TR(e,t){e!==void 0&&!Uf[e]&&(e!=="collapsed"&&e!=="hidden"?(Uf[e]=!0,f('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Uf[e]=!0,f('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function T4(e,t){{var r=We(e),s=!r&&typeof Et(e)=="function";if(r||s){var a=r?"array":"iterable";return f("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,t,a),!1}}return!0}function LR(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(We(e)){for(var r=0;r<e.length;r++)if(!T4(e[r],r))return}else{var s=Et(e);if(typeof s=="function"){var a=s.call(e);if(a)for(var u=a.next(),p=0;!u.done;u=a.next()){if(!T4(u.value,p))return;p++}}else f('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function q0(e,t,r,s,a){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:r,tailMode:a}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=s,u.tail=r,u.tailMode=a)}function L4(e,t,r){var s=t.pendingProps,a=s.revealOrder,u=s.tail,p=s.children;_R(a),TR(u,a),LR(p,a),rn(e,t,p,r);var m=Gn.current,g=Ip(m,nu);if(g)m=Zp(m,nu),t.flags|=ut;else{var C=e!==null&&(e.flags&ut)!==Ue;C&&DR(t,t.child,r),m=yo(m)}if(Ts(t,m),(t.mode&Qe)===je)t.memoizedState=null;else switch(a){case"forwards":{var R=SR(t.child),O;R===null?(O=t.child,t.child=null):(O=R.sibling,R.sibling=null),q0(t,!1,O,R,u);break}case"backwards":{var L=null,U=t.child;for(t.child=null;U!==null;){var A=U.alternate;if(A!==null&&mf(A)===null){t.child=U;break}var F=U.sibling;U.sibling=L,L=U,U=F}q0(t,!0,L,null,u);break}case"together":{q0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function OR(e,t,r){Fp(t,t.stateNode.containerInfo);var s=t.pendingProps;return e===null?t.child=ho(t,null,s,r):rn(e,t,s,r),t.child}var O4=!1;function KR(e,t,r){var s=t.type,a=s._context,u=t.pendingProps,p=t.memoizedProps,m=u.value;{"value"in u||O4||(O4=!0,f("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var g=t.type.propTypes;g&&Wn(g,u,"prop","Context.Provider")}if(N5(t,a,m),p!==null){var C=p.value;if(Nn(C,m)){if(p.children===u.children&&!Pc())return Qi(e,t,r)}else _x(t,a,r)}var R=u.children;return rn(e,t,R,r),t.child}var K4=!1;function jR(e,t,r){var s=t.type;s._context===void 0?s!==s.Consumer&&(K4||(K4=!0,f("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):s=s._context;var a=t.pendingProps,u=a.children;typeof u!="function"&&f("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),vo(t,r);var p=rr(s);dl(t);var m;return du.current=t,Un(!0),m=u(p),Un(!1),qa(),t.flags|=za,rn(e,t,m,r),t.child}function mu(){ti=!0}function Mf(e,t){(t.mode&Qe)===je&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=tr)}function Qi(e,t,r){return e!==null&&(t.dependencies=e.dependencies),l4(),Du(t.lanes),xn(r,t.childLanes)?(Dx(e,t),t.child):null}function XR(e,t,r){{var s=t.return;if(s===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,r.index=t.index,r.sibling=t.sibling,r.return=t.return,r.ref=t.ref,t===s.child)s.child=r;else{var a=s.child;if(a===null)throw new Error("Expected parent to have a child.");for(;a.sibling!==t;)if(a=a.sibling,a===null)throw new Error("Expected to find the previous sibling.");a.sibling=r}var u=s.deletions;return u===null?(s.deletions=[e],s.flags|=Zs):u.push(e),r.flags|=tr,r}}function W0(e,t){var r=e.lanes;return!!xn(r,t)}function UR(e,t,r){switch(t.tag){case S:k4(t),t.stateNode,po();break;case k:O5(t);break;case b:{var s=t.type;mi(s)&&Zc(t);break}case E:Fp(t,t.stateNode.containerInfo);break;case Y:{var a=t.memoizedProps.value,u=t.type._context;N5(t,u,a);break}case oe:{var p=xn(r,t.childLanes);p&&(t.flags|=lt);{var m=t.stateNode;m.effectDuration=0,m.passiveEffectDuration=0}}break;case Z:{var g=t.memoizedState;if(g!==null){if(g.dehydrated!==null)return Ts(t,yo(Gn.current)),t.flags|=ut,null;var C=t.child,R=C.childLanes;if(xn(r,R))return D4(e,t,r);Ts(t,yo(Gn.current));var O=Qi(e,t,r);return O!==null?O.sibling:null}else Ts(t,yo(Gn.current));break}case ie:{var L=(e.flags&ut)!==Ue,U=xn(r,t.childLanes);if(L){if(U)return L4(e,t,r);t.flags|=ut}var A=t.memoizedState;if(A!==null&&(A.rendering=null,A.tail=null,A.lastEffect=null),Ts(t,Gn.current),U)break;return null}case ne:case we:return t.lanes=ee,R4(e,t,r)}return Qi(e,t,r)}function j4(e,t,r){if(t._debugNeedsRemount&&e!==null)return XR(e,t,kh(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var s=e.memoizedProps,a=t.pendingProps;if(s!==a||Pc()||t.type!==e.type)ti=!0;else{var u=W0(e,r);if(!u&&(t.flags&ut)===Ue)return ti=!1,UR(e,t,r);(e.flags&ed)!==Ue?ti=!0:ti=!1}}else if(ti=!1,Sr()&&ox(t)){var p=t.index,m=lx();l5(t,m,p)}switch(t.lanes=ee,t.tag){case N:return gR(e,t,t.type,r);case ge:{var g=t.elementType;return mR(e,t,g,r)}case x:{var C=t.type,R=t.pendingProps,O=t.elementType===C?R:ei(C,R);return B0(e,t,C,O,r)}case b:{var L=t.type,U=t.pendingProps,A=t.elementType===L?U:ei(L,U);return N4(e,t,L,A,r)}case S:return dR(e,t,r);case k:return pR(e,t,r);case T:return hR(e,t);case Z:return D4(e,t,r);case E:return OR(e,t,r);case I:{var F=t.type,he=t.pendingProps,Oe=t.elementType===F?he:ei(F,he);return b4(e,t,F,Oe,r)}case V:return uR(e,t,r);case J:return cR(e,t,r);case oe:return fR(e,t,r);case Y:return KR(e,t,r);case te:return jR(e,t,r);case q:{var _e=t.type,tt=t.pendingProps,Ye=ei(_e,tt);if(t.type!==t.elementType){var K=_e.propTypes;K&&Wn(K,Ye,"prop",ot(_e))}return Ye=ei(_e.type,Ye),C4(e,t,_e,Ye,r)}case G:return x4(e,t,t.type,t.pendingProps,r);case B:{var z=t.type,j=t.pendingProps,se=t.elementType===z?j:ei(z,j);return vR(e,t,z,se,r)}case ie:return L4(e,t,r);case me:break;case ne:return R4(e,t,r)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function No(e){e.flags|=lt}function X4(e){e.flags|=qs,e.flags|=td}var U4,Y0,V4,M4;U4=function(e,t,r,s){for(var a=t.child;a!==null;){if(a.tag===k||a.tag===T)iC(e,a.stateNode);else if(a.tag!==E){if(a.child!==null){a.child.return=a,a=a.child;continue}}if(a===t)return;for(;a.sibling===null;){if(a.return===null||a.return===t)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},Y0=function(e,t){},V4=function(e,t,r,s,a){var u=e.memoizedProps;if(u!==s){var p=t.stateNode,m=zp(),g=aC(p,r,u,s,a,m);t.updateQueue=g,g&&No(t)}},M4=function(e,t,r,s){r!==s&&No(t)};function vu(e,t){if(!Sr())switch(e.tailMode){case"hidden":{for(var r=e.tail,s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?e.tail=null:s.sibling=null;break}case"collapsed":{for(var a=e.tail,u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:u.sibling=null;break}}}function Tr(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=ee,s=Ue;if(t){if((e.mode&vt)!==je){for(var g=e.selfBaseDuration,C=e.child;C!==null;)r=Ze(r,Ze(C.lanes,C.childLanes)),s|=C.subtreeFlags&Fi,s|=C.flags&Fi,g+=C.treeBaseDuration,C=C.sibling;e.treeBaseDuration=g}else for(var R=e.child;R!==null;)r=Ze(r,Ze(R.lanes,R.childLanes)),s|=R.subtreeFlags&Fi,s|=R.flags&Fi,R.return=e,R=R.sibling;e.subtreeFlags|=s}else{if((e.mode&vt)!==je){for(var a=e.actualDuration,u=e.selfBaseDuration,p=e.child;p!==null;)r=Ze(r,Ze(p.lanes,p.childLanes)),s|=p.subtreeFlags,s|=p.flags,a+=p.actualDuration,u+=p.treeBaseDuration,p=p.sibling;e.actualDuration=a,e.treeBaseDuration=u}else for(var m=e.child;m!==null;)r=Ze(r,Ze(m.lanes,m.childLanes)),s|=m.subtreeFlags,s|=m.flags,m.return=e,m=m.sibling;e.subtreeFlags|=s}return e.childLanes=r,t}function VR(e,t,r){if(xx()&&(t.mode&Qe)!==je&&(t.flags&ut)===Ue)return m5(t),po(),t.flags|=Bi|uc|tn,!1;var s=Gc(t);if(r!==null&&r.dehydrated!==null)if(e===null){if(!s)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(bx(t),Tr(t),(t.mode&vt)!==je){var a=r!==null;if(a){var u=t.child;u!==null&&(t.treeBaseDuration-=u.treeBaseDuration)}}return!1}else{if(po(),(t.flags&ut)===Ue&&(t.memoizedState=null),t.flags|=lt,Tr(t),(t.mode&vt)!==je){var p=r!==null;if(p){var m=t.child;m!==null&&(t.treeBaseDuration-=m.treeBaseDuration)}}return!1}else return v5(),!0}function A4(e,t,r){var s=t.pendingProps;switch(Rp(t),t.tag){case N:case ge:case G:case x:case I:case V:case J:case oe:case te:case q:return Tr(t),null;case b:{var a=t.type;return mi(a)&&Ic(t),Tr(t),null}case S:{var u=t.stateNode;if(go(t),yp(t),Wp(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),e===null||e.child===null){var p=Gc(t);if(p)No(t);else if(e!==null){var m=e.memoizedState;(!m.isDehydrated||(t.flags&Bi)!==Ue)&&(t.flags|=Pa,v5())}}return Y0(e,t),Tr(t),null}case k:{Pp(t);var g=L5(),C=t.type;if(e!==null&&t.stateNode!=null)V4(e,t,C,s,g),e.ref!==t.ref&&X4(t);else{if(!s){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Tr(t),null}var R=zp(),O=Gc(t);if(O)gx(t,g,R)&&No(t);else{var L=nC(C,s,g,R,t);U4(L,t,!1,!1),t.stateNode=L,sC(L,C,s,g)&&No(t)}t.ref!==null&&X4(t)}return Tr(t),null}case T:{var U=s;if(e&&t.stateNode!=null){var A=e.memoizedProps;M4(e,t,A,U)}else{if(typeof U!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var F=L5(),he=zp(),Oe=Gc(t);Oe?yx(t)&&No(t):t.stateNode=oC(U,F,he,t)}return Tr(t),null}case Z:{bo(t);var _e=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var tt=VR(e,t,_e);if(!tt)return t.flags&tn?t:null}if((t.flags&ut)!==Ue)return t.lanes=r,(t.mode&vt)!==je&&C0(t),t;var Ye=_e!==null,K=e!==null&&e.memoizedState!==null;if(Ye!==K&&Ye){var z=t.child;if(z.flags|=Ws,(t.mode&Qe)!==je){var j=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);j||Ip(Gn.current,j5)?Mw():hh()}}var se=t.updateQueue;if(se!==null&&(t.flags|=lt),Tr(t),(t.mode&vt)!==je&&Ye){var xe=t.child;xe!==null&&(t.treeBaseDuration-=xe.treeBaseDuration)}return null}case E:return go(t),Y0(e,t),e===null&&ex(t.stateNode.containerInfo),Tr(t),null;case Y:var ve=t.type._context;return Up(ve,t),Tr(t),null;case B:{var Ve=t.type;return mi(Ve)&&Ic(t),Tr(t),null}case ie:{bo(t);var $e=t.memoizedState;if($e===null)return Tr(t),null;var yt=(t.flags&ut)!==Ue,st=$e.rendering;if(st===null)if(yt)vu($e,!1);else{var Jt=Hw()&&(e===null||(e.flags&ut)===Ue);if(!Jt)for(var at=t.child;at!==null;){var It=mf(at);if(It!==null){yt=!0,t.flags|=ut,vu($e,!1);var Fr=It.updateQueue;return Fr!==null&&(t.updateQueue=Fr,t.flags|=lt),t.subtreeFlags=Ue,Sx(t,r),Ts(t,Zp(Gn.current,nu)),t.child}at=at.sibling}$e.tail!==null&&br()>a6()&&(t.flags|=ut,yt=!0,vu($e,!1),t.lanes=M3)}else{if(!yt){var Xr=mf(st);if(Xr!==null){t.flags|=ut,yt=!0;var Dn=Xr.updateQueue;if(Dn!==null&&(t.updateQueue=Dn,t.flags|=lt),vu($e,!0),$e.tail===null&&$e.tailMode==="hidden"&&!st.alternate&&!Sr())return Tr(t),null}else br()*2-$e.renderingStartTime>a6()&&r!==Cn&&(t.flags|=ut,yt=!0,vu($e,!1),t.lanes=M3)}if($e.isBackwards)st.sibling=t.child,t.child=st;else{var an=$e.last;an!==null?an.sibling=st:t.child=st,$e.last=st}}if($e.tail!==null){var on=$e.tail;$e.rendering=on,$e.tail=on.sibling,$e.renderingStartTime=br(),on.sibling=null;var zr=Gn.current;return yt?zr=Zp(zr,nu):zr=yo(zr),Ts(t,zr),on}return Tr(t),null}case me:break;case ne:case we:{ph(t);var is=t.memoizedState,Oo=is!==null;if(e!==null){var Ou=e.memoizedState,wi=Ou!==null;wi!==Oo&&!Lt&&(t.flags|=Ws)}return!Oo||(t.mode&Qe)===je?Tr(t):xn(Ri,Cn)&&(Tr(t),t.subtreeFlags&(tr|lt)&&(t.flags|=Ws)),null}case Ne:return null;case Ie:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function MR(e,t,r){switch(Rp(t),t.tag){case b:{var s=t.type;mi(s)&&Ic(t);var a=t.flags;return a&tn?(t.flags=a&~tn|ut,(t.mode&vt)!==je&&C0(t),t):null}case S:{t.stateNode,go(t),yp(t),Wp();var u=t.flags;return(u&tn)!==Ue&&(u&ut)===Ue?(t.flags=u&~tn|ut,t):null}case k:return Pp(t),null;case Z:{bo(t);var p=t.memoizedState;if(p!==null&&p.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");po()}var m=t.flags;return m&tn?(t.flags=m&~tn|ut,(t.mode&vt)!==je&&C0(t),t):null}case ie:return bo(t),null;case E:return go(t),null;case Y:var g=t.type._context;return Up(g,t),null;case ne:case we:return ph(t),null;case Ne:return null;default:return null}}function H4(e,t,r){switch(Rp(t),t.tag){case b:{var s=t.type.childContextTypes;s!=null&&Ic(t);break}case S:{t.stateNode,go(t),yp(t),Wp();break}case k:{Pp(t);break}case E:go(t);break;case Z:bo(t);break;case ie:bo(t);break;case Y:var a=t.type._context;Up(a,t);break;case ne:case we:ph(t);break}}var B4=null;B4=new Set;var Af=!1,Lr=!1,AR=typeof WeakSet=="function"?WeakSet:Set,Ee=null,ko=null,Eo=null;function HR(e){J1(null,function(){throw e}),G1()}var BR=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&vt)try{Ci(),t.componentWillUnmount()}finally{bi(e)}else t.componentWillUnmount()};function $4(e,t){try{Ks(or,e)}catch(r){wt(e,t,r)}}function J0(e,t,r){try{BR(e,r)}catch(s){wt(e,t,s)}}function $R(e,t,r){try{r.componentDidMount()}catch(s){wt(e,t,s)}}function F4(e,t){try{P4(e)}catch(r){wt(e,t,r)}}function Do(e,t){var r=e.ref;if(r!==null)if(typeof r=="function"){var s;try{if(Ct&&cn&&e.mode&vt)try{Ci(),s=r(null)}finally{bi(e)}else s=r(null)}catch(a){wt(e,t,a)}typeof s=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Fe(e))}else r.current=null}function Hf(e,t,r){try{r()}catch(s){wt(e,t,s)}}var z4=!1;function FR(e,t){tC(e.containerInfo),Ee=t,zR();var r=z4;return z4=!1,r}function zR(){for(;Ee!==null;){var e=Ee,t=e.child;(e.subtreeFlags&id)!==Ue&&t!==null?(t.return=e,Ee=t):PR()}}function PR(){for(;Ee!==null;){var e=Ee;Vt(e);try{IR(e)}catch(r){wt(e,e.return,r)}yr();var t=e.sibling;if(t!==null){t.return=e.return,Ee=t;return}Ee=e.return}}function IR(e){var t=e.alternate,r=e.flags;if((r&Pa)!==Ue){switch(Vt(e),e.tag){case x:case I:case G:break;case b:{if(t!==null){var s=t.memoizedProps,a=t.memoizedState,u=e.stateNode;e.type===e.elementType&&!ma&&(u.props!==e.memoizedProps&&f("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Fe(e)||"instance"),u.state!==e.memoizedState&&f("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Fe(e)||"instance"));var p=u.getSnapshotBeforeUpdate(e.elementType===e.type?s:ei(e.type,s),a);{var m=B4;p===void 0&&!m.has(e.type)&&(m.add(e.type),f("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Fe(e)))}u.__reactInternalSnapshotBeforeUpdate=p}break}case S:{{var g=e.stateNode;EC(g.containerInfo)}break}case k:case T:case E:case B:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}yr()}}function ri(e,t,r){var s=t.updateQueue,a=s!==null?s.lastEffect:null;if(a!==null){var u=a.next,p=u;do{if((p.tag&e)===e){var m=p.destroy;p.destroy=void 0,m!==void 0&&((e&_r)!==mn?og(t):(e&or)!==mn&&K3(t),(e&vi)!==mn&&_u(!0),Hf(t,r,m),(e&vi)!==mn&&_u(!1),(e&_r)!==mn?lg():(e&or)!==mn&&j3())}p=p.next}while(p!==u)}}function Ks(e,t){var r=t.updateQueue,s=r!==null?r.lastEffect:null;if(s!==null){var a=s.next,u=a;do{if((u.tag&e)===e){(e&_r)!==mn?sg(t):(e&or)!==mn&&ug(t);var p=u.create;(e&vi)!==mn&&_u(!0),u.destroy=p(),(e&vi)!==mn&&_u(!1),(e&_r)!==mn?ag():(e&or)!==mn&&cg();{var m=u.destroy;if(m!==void 0&&typeof m!="function"){var g=void 0;(u.tag&or)!==Ue?g="useLayoutEffect":(u.tag&vi)!==Ue?g="useInsertionEffect":g="useEffect";var C=void 0;m===null?C=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof m.then=="function"?C=`
|
|
178
|
+
|
|
179
|
+
It looks like you wrote `+g+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
180
|
+
|
|
181
|
+
`+g+`(() => {
|
|
182
|
+
async function fetchData() {
|
|
183
|
+
// You can await here
|
|
184
|
+
const response = await MyAPI.getData(someId);
|
|
185
|
+
// ...
|
|
186
|
+
}
|
|
187
|
+
fetchData();
|
|
188
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
189
|
+
|
|
190
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:C=" You returned: "+m,f("%s must not return anything besides a function, which is used for clean-up.%s",g,C)}}}u=u.next}while(u!==a)}}function ZR(e,t){if((t.flags<)!==Ue)switch(t.tag){case oe:{var r=t.stateNode.passiveEffectDuration,s=t.memoizedProps,a=s.id,u=s.onPostCommit,p=a4(),m=t.alternate===null?"mount":"update";s4()&&(m="nested-update"),typeof u=="function"&&u(a,m,r,p);var g=t.return;e:for(;g!==null;){switch(g.tag){case S:var C=g.stateNode;C.passiveEffectDuration+=r;break e;case oe:var R=g.stateNode;R.passiveEffectDuration+=r;break e}g=g.return}break}}}function qR(e,t,r,s){if((r.flags&fl)!==Ue)switch(r.tag){case x:case I:case G:{if(!Lr)if(r.mode&vt)try{Ci(),Ks(or|ar,r)}finally{bi(r)}else Ks(or|ar,r);break}case b:{var a=r.stateNode;if(r.flags<&&!Lr)if(t===null)if(r.type===r.elementType&&!ma&&(a.props!==r.memoizedProps&&f("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Fe(r)||"instance"),a.state!==r.memoizedState&&f("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Fe(r)||"instance")),r.mode&vt)try{Ci(),a.componentDidMount()}finally{bi(r)}else a.componentDidMount();else{var u=r.elementType===r.type?t.memoizedProps:ei(r.type,t.memoizedProps),p=t.memoizedState;if(r.type===r.elementType&&!ma&&(a.props!==r.memoizedProps&&f("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Fe(r)||"instance"),a.state!==r.memoizedState&&f("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Fe(r)||"instance")),r.mode&vt)try{Ci(),a.componentDidUpdate(u,p,a.__reactInternalSnapshotBeforeUpdate)}finally{bi(r)}else a.componentDidUpdate(u,p,a.__reactInternalSnapshotBeforeUpdate)}var m=r.updateQueue;m!==null&&(r.type===r.elementType&&!ma&&(a.props!==r.memoizedProps&&f("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Fe(r)||"instance"),a.state!==r.memoizedState&&f("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Fe(r)||"instance")),T5(r,m,a));break}case S:{var g=r.updateQueue;if(g!==null){var C=null;if(r.child!==null)switch(r.child.tag){case k:C=r.child.stateNode;break;case b:C=r.child.stateNode;break}T5(r,g,C)}break}case k:{var R=r.stateNode;if(t===null&&r.flags<){var O=r.type,L=r.memoizedProps;dC(R,O,L)}break}case T:break;case E:break;case oe:{{var U=r.memoizedProps,A=U.onCommit,F=U.onRender,he=r.stateNode.effectDuration,Oe=a4(),_e=t===null?"mount":"update";s4()&&(_e="nested-update"),typeof F=="function"&&F(r.memoizedProps.id,_e,r.actualDuration,r.treeBaseDuration,r.actualStartTime,Oe);{typeof A=="function"&&A(r.memoizedProps.id,_e,he,Oe),Pw(r);var tt=r.return;e:for(;tt!==null;){switch(tt.tag){case S:var Ye=tt.stateNode;Ye.effectDuration+=he;break e;case oe:var K=tt.stateNode;K.effectDuration+=he;break e}tt=tt.return}}}break}case Z:{rw(e,r);break}case ie:case B:case me:case ne:case we:case Ie:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Lr||r.flags&qs&&P4(r)}function WR(e){switch(e.tag){case x:case I:case G:{if(e.mode&vt)try{Ci(),$4(e,e.return)}finally{bi(e)}else $4(e,e.return);break}case b:{var t=e.stateNode;typeof t.componentDidMount=="function"&&$R(e,e.return,t),F4(e,e.return);break}case k:{F4(e,e.return);break}}}function YR(e,t){for(var r=null,s=e;;){if(s.tag===k){if(r===null){r=s;try{var a=s.stateNode;t?RC(a):NC(s.stateNode,s.memoizedProps)}catch(p){wt(e,e.return,p)}}}else if(s.tag===T){if(r===null)try{var u=s.stateNode;t?wC(u):kC(u,s.memoizedProps)}catch(p){wt(e,e.return,p)}}else if(!((s.tag===ne||s.tag===we)&&s.memoizedState!==null&&s!==e)){if(s.child!==null){s.child.return=s,s=s.child;continue}}if(s===e)return;for(;s.sibling===null;){if(s.return===null||s.return===e)return;r===s&&(r=null),s=s.return}r===s&&(r=null),s.sibling.return=s.return,s=s.sibling}}function P4(e){var t=e.ref;if(t!==null){var r=e.stateNode,s;switch(e.tag){case k:s=r;break;default:s=r}if(typeof t=="function"){var a;if(e.mode&vt)try{Ci(),a=t(s)}finally{bi(e)}else a=t(s);typeof a=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Fe(e))}else t.hasOwnProperty("current")||f("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Fe(e)),t.current=s}}function JR(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function I4(e){var t=e.alternate;t!==null&&(e.alternate=null,I4(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===k){var r=e.stateNode;r!==null&&nx(r)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function GR(e){for(var t=e.return;t!==null;){if(Z4(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Z4(e){return e.tag===k||e.tag===S||e.tag===E}function q4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Z4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==k&&t.tag!==T&&t.tag!==ue;){if(t.flags&tr||t.child===null||t.tag===E)continue e;t.child.return=t,t=t.child}if(!(t.flags&tr))return t.stateNode}}function QR(e){var t=GR(e);switch(t.tag){case k:{var r=t.stateNode;t.flags&cl&&(Yv(r),t.flags&=~cl);var s=q4(e);Q0(e,s,r);break}case S:case E:{var a=t.stateNode.containerInfo,u=q4(e);G0(e,u,a);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function G0(e,t,r){var s=e.tag,a=s===k||s===T;if(a){var u=e.stateNode;t?yC(r,u,t):vC(r,u)}else if(s!==E){var p=e.child;if(p!==null){G0(p,t,r);for(var m=p.sibling;m!==null;)G0(m,t,r),m=m.sibling}}}function Q0(e,t,r){var s=e.tag,a=s===k||s===T;if(a){var u=e.stateNode;t?gC(r,u,t):mC(r,u)}else if(s!==E){var p=e.child;if(p!==null){Q0(p,t,r);for(var m=p.sibling;m!==null;)Q0(m,t,r),m=m.sibling}}}var Or=null,ni=!1;function ew(e,t,r){{var s=t;e:for(;s!==null;){switch(s.tag){case k:{Or=s.stateNode,ni=!1;break e}case S:{Or=s.stateNode.containerInfo,ni=!0;break e}case E:{Or=s.stateNode.containerInfo,ni=!0;break e}}s=s.return}if(Or===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");W4(e,t,r),Or=null,ni=!1}JR(r)}function js(e,t,r){for(var s=r.child;s!==null;)W4(e,t,s),s=s.sibling}function W4(e,t,r){switch(tg(r),r.tag){case k:Lr||Do(r,t);case T:{{var s=Or,a=ni;Or=null,js(e,t,r),Or=s,ni=a,Or!==null&&(ni?CC(Or,r.stateNode):bC(Or,r.stateNode))}return}case ue:{Or!==null&&(ni?xC(Or,r.stateNode):cp(Or,r.stateNode));return}case E:{{var u=Or,p=ni;Or=r.stateNode.containerInfo,ni=!0,js(e,t,r),Or=u,ni=p}return}case x:case I:case q:case G:{if(!Lr){var m=r.updateQueue;if(m!==null){var g=m.lastEffect;if(g!==null){var C=g.next,R=C;do{var O=R,L=O.destroy,U=O.tag;L!==void 0&&((U&vi)!==mn?Hf(r,t,L):(U&or)!==mn&&(K3(r),r.mode&vt?(Ci(),Hf(r,t,L),bi(r)):Hf(r,t,L),j3())),R=R.next}while(R!==C)}}}js(e,t,r);return}case b:{if(!Lr){Do(r,t);var A=r.stateNode;typeof A.componentWillUnmount=="function"&&J0(r,t,A)}js(e,t,r);return}case me:{js(e,t,r);return}case ne:{if(r.mode&Qe){var F=Lr;Lr=F||r.memoizedState!==null,js(e,t,r),Lr=F}else js(e,t,r);break}default:{js(e,t,r);return}}}function tw(e){e.memoizedState}function rw(e,t){var r=t.memoizedState;if(r===null){var s=t.alternate;if(s!==null){var a=s.memoizedState;if(a!==null){var u=a.dehydrated;u!==null&&HC(u)}}}}function Y4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new AR),t.forEach(function(s){var a=Gw.bind(null,e,s);if(!r.has(s)){if(r.add(s),Zn)if(ko!==null&&Eo!==null)Su(Eo,ko);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");s.then(a,a)}})}}function nw(e,t,r){ko=r,Eo=e,Vt(t),J4(t,e),Vt(t),ko=null,Eo=null}function ii(e,t,r){var s=t.deletions;if(s!==null)for(var a=0;a<s.length;a++){var u=s[a];try{ew(e,t,u)}catch(g){wt(u,t,g)}}var p=Gu();if(t.subtreeFlags&sd)for(var m=t.child;m!==null;)Vt(m),J4(m,e),m=m.sibling;Vt(p)}function J4(e,t,r){var s=e.alternate,a=e.flags;switch(e.tag){case x:case I:case q:case G:{if(ii(t,e),xi(e),a<){try{ri(vi|ar,e,e.return),Ks(vi|ar,e)}catch(Ve){wt(e,e.return,Ve)}if(e.mode&vt){try{Ci(),ri(or|ar,e,e.return)}catch(Ve){wt(e,e.return,Ve)}bi(e)}else try{ri(or|ar,e,e.return)}catch(Ve){wt(e,e.return,Ve)}}return}case b:{ii(t,e),xi(e),a&qs&&s!==null&&Do(s,s.return);return}case k:{ii(t,e),xi(e),a&qs&&s!==null&&Do(s,s.return);{if(e.flags&cl){var u=e.stateNode;try{Yv(u)}catch(Ve){wt(e,e.return,Ve)}}if(a<){var p=e.stateNode;if(p!=null){var m=e.memoizedProps,g=s!==null?s.memoizedProps:m,C=e.type,R=e.updateQueue;if(e.updateQueue=null,R!==null)try{pC(p,R,C,g,m,e)}catch(Ve){wt(e,e.return,Ve)}}}}return}case T:{if(ii(t,e),xi(e),a<){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var O=e.stateNode,L=e.memoizedProps,U=s!==null?s.memoizedProps:L;try{hC(O,U,L)}catch(Ve){wt(e,e.return,Ve)}}return}case S:{if(ii(t,e),xi(e),a<&&s!==null){var A=s.memoizedState;if(A.isDehydrated)try{AC(t.containerInfo)}catch(Ve){wt(e,e.return,Ve)}}return}case E:{ii(t,e),xi(e);return}case Z:{ii(t,e),xi(e);var F=e.child;if(F.flags&Ws){var he=F.stateNode,Oe=F.memoizedState,_e=Oe!==null;if(he.isHidden=_e,_e){var tt=F.alternate!==null&&F.alternate.memoizedState!==null;tt||Vw()}}if(a<){try{tw(e)}catch(Ve){wt(e,e.return,Ve)}Y4(e)}return}case ne:{var Ye=s!==null&&s.memoizedState!==null;if(e.mode&Qe){var K=Lr;Lr=K||Ye,ii(t,e),Lr=K}else ii(t,e);if(xi(e),a&Ws){var z=e.stateNode,j=e.memoizedState,se=j!==null,xe=e;if(z.isHidden=se,se&&!Ye&&(xe.mode&Qe)!==je){Ee=xe;for(var ve=xe.child;ve!==null;)Ee=ve,sw(ve),ve=ve.sibling}YR(xe,se)}return}case ie:{ii(t,e),xi(e),a<&&Y4(e);return}case me:return;default:{ii(t,e),xi(e);return}}}function xi(e){var t=e.flags;if(t&tr){try{QR(e)}catch(r){wt(e,e.return,r)}e.flags&=~tr}t&$i&&(e.flags&=~$i)}function iw(e,t,r){ko=r,Eo=t,Ee=e,G4(e,t,r),ko=null,Eo=null}function G4(e,t,r){for(var s=(e.mode&Qe)!==je;Ee!==null;){var a=Ee,u=a.child;if(a.tag===ne&&s){var p=a.memoizedState!==null,m=p||Af;if(m){eh(e,t,r);continue}else{var g=a.alternate,C=g!==null&&g.memoizedState!==null,R=C||Lr,O=Af,L=Lr;Af=m,Lr=R,Lr&&!L&&(Ee=a,aw(a));for(var U=u;U!==null;)Ee=U,G4(U,t,r),U=U.sibling;Ee=a,Af=O,Lr=L,eh(e,t,r);continue}}(a.subtreeFlags&fl)!==Ue&&u!==null?(u.return=a,Ee=u):eh(e,t,r)}}function eh(e,t,r){for(;Ee!==null;){var s=Ee;if((s.flags&fl)!==Ue){var a=s.alternate;Vt(s);try{qR(t,a,s,r)}catch(p){wt(s,s.return,p)}yr()}if(s===e){Ee=null;return}var u=s.sibling;if(u!==null){u.return=s.return,Ee=u;return}Ee=s.return}}function sw(e){for(;Ee!==null;){var t=Ee,r=t.child;switch(t.tag){case x:case I:case q:case G:{if(t.mode&vt)try{Ci(),ri(or,t,t.return)}finally{bi(t)}else ri(or,t,t.return);break}case b:{Do(t,t.return);var s=t.stateNode;typeof s.componentWillUnmount=="function"&&J0(t,t.return,s);break}case k:{Do(t,t.return);break}case ne:{var a=t.memoizedState!==null;if(a){Q4(e);continue}break}}r!==null?(r.return=t,Ee=r):Q4(e)}}function Q4(e){for(;Ee!==null;){var t=Ee;if(t===e){Ee=null;return}var r=t.sibling;if(r!==null){r.return=t.return,Ee=r;return}Ee=t.return}}function aw(e){for(;Ee!==null;){var t=Ee,r=t.child;if(t.tag===ne){var s=t.memoizedState!==null;if(s){e6(e);continue}}r!==null?(r.return=t,Ee=r):e6(e)}}function e6(e){for(;Ee!==null;){var t=Ee;Vt(t);try{WR(t)}catch(s){wt(t,t.return,s)}if(yr(),t===e){Ee=null;return}var r=t.sibling;if(r!==null){r.return=t.return,Ee=r;return}Ee=t.return}}function ow(e,t,r,s){Ee=t,lw(t,e,r,s)}function lw(e,t,r,s){for(;Ee!==null;){var a=Ee,u=a.child;(a.subtreeFlags&Ia)!==Ue&&u!==null?(u.return=a,Ee=u):uw(e,t,r,s)}}function uw(e,t,r,s){for(;Ee!==null;){var a=Ee;if((a.flags&ms)!==Ue){Vt(a);try{cw(t,a,r,s)}catch(p){wt(a,a.return,p)}yr()}if(a===e){Ee=null;return}var u=a.sibling;if(u!==null){u.return=a.return,Ee=u;return}Ee=a.return}}function cw(e,t,r,s){switch(t.tag){case x:case I:case G:{if(t.mode&vt){b0();try{Ks(_r|ar,t)}finally{y0(t)}}else Ks(_r|ar,t);break}}}function fw(e){Ee=e,dw()}function dw(){for(;Ee!==null;){var e=Ee,t=e.child;if((Ee.flags&Zs)!==Ue){var r=e.deletions;if(r!==null){for(var s=0;s<r.length;s++){var a=r[s];Ee=a,mw(a,e)}{var u=e.alternate;if(u!==null){var p=u.child;if(p!==null){u.child=null;do{var m=p.sibling;p.sibling=null,p=m}while(p!==null)}}}Ee=e}}(e.subtreeFlags&Ia)!==Ue&&t!==null?(t.return=e,Ee=t):pw()}}function pw(){for(;Ee!==null;){var e=Ee;(e.flags&ms)!==Ue&&(Vt(e),hw(e),yr());var t=e.sibling;if(t!==null){t.return=e.return,Ee=t;return}Ee=e.return}}function hw(e){switch(e.tag){case x:case I:case G:{e.mode&vt?(b0(),ri(_r|ar,e,e.return),y0(e)):ri(_r|ar,e,e.return);break}}}function mw(e,t){for(;Ee!==null;){var r=Ee;Vt(r),gw(r,t),yr();var s=r.child;s!==null?(s.return=r,Ee=s):vw(e)}}function vw(e){for(;Ee!==null;){var t=Ee,r=t.sibling,s=t.return;if(I4(t),t===e){Ee=null;return}if(r!==null){r.return=s,Ee=r;return}Ee=s}}function gw(e,t){switch(e.tag){case x:case I:case G:{e.mode&vt?(b0(),ri(_r,e,t),y0(e)):ri(_r,e,t);break}}}function yw(e){switch(e.tag){case x:case I:case G:{try{Ks(or|ar,e)}catch(r){wt(e,e.return,r)}break}case b:{var t=e.stateNode;try{t.componentDidMount()}catch(r){wt(e,e.return,r)}break}}}function bw(e){switch(e.tag){case x:case I:case G:{try{Ks(_r|ar,e)}catch(t){wt(e,e.return,t)}break}}}function Cw(e){switch(e.tag){case x:case I:case G:{try{ri(or|ar,e,e.return)}catch(r){wt(e,e.return,r)}break}case b:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&J0(e,e.return,t);break}}}function xw(e){switch(e.tag){case x:case I:case G:try{ri(_r|ar,e,e.return)}catch(t){wt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var gu=Symbol.for;gu("selector.component"),gu("selector.has_pseudo_class"),gu("selector.role"),gu("selector.test_id"),gu("selector.text")}var Rw=[];function ww(){Rw.forEach(function(e){return e()})}var Nw=o.ReactCurrentActQueue;function kw(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,r=typeof jest<"u";return r&&t!==!1}}function t6(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&Nw.current!==null&&f("The current testing environment is not configured to support act(...)"),e}}var Ew=Math.ceil,th=o.ReactCurrentDispatcher,rh=o.ReactCurrentOwner,Kr=o.ReactCurrentBatchConfig,si=o.ReactCurrentActQueue,cr=0,r6=1,jr=2,$n=4,es=0,yu=1,va=2,Bf=3,bu=4,n6=5,nh=6,et=cr,nn=null,Bt=null,fr=ee,Ri=ee,ih=Ns(ee),dr=es,Cu=null,$f=ee,xu=ee,Ff=ee,Ru=null,vn=null,sh=0,i6=500,s6=1/0,Dw=500,ts=null;function wu(){s6=br()+Dw}function a6(){return s6}var zf=!1,ah=null,So=null,ga=!1,Xs=null,Nu=ee,oh=[],lh=null,Sw=50,ku=0,uh=null,ch=!1,Pf=!1,_w=50,_o=0,If=null,Eu=_t,Zf=ee,o6=!1;function qf(){return nn}function sn(){return(et&(jr|$n))!==cr?br():(Eu!==_t||(Eu=br()),Eu)}function Us(e){var t=e.mode;if((t&Qe)===je)return Ae;if((et&jr)!==cr&&fr!==ee)return yl(fr);var r=Nx()!==wx;if(r){if(Kr.transition!==null){var s=Kr.transition;s._updatedFibers||(s._updatedFibers=new Set),s._updatedFibers.add(e)}return Zf===xr&&(Zf=$3()),Zf}var a=qn();if(a!==xr)return a;var u=lC();return u}function Tw(e){var t=e.mode;return(t&Qe)===je?Ae:Og()}function pr(e,t,r,s){eN(),o6&&f("useInsertionEffect must not schedule updates."),ch&&(Pf=!0),bl(e,r,s),(et&jr)!==ee&&e===nn?nN(t):(Zn&&P3(e,t,r),iN(t),e===nn&&((et&jr)===cr&&(xu=Ze(xu,r)),dr===bu&&Vs(e,fr)),gn(e,s),r===Ae&&et===cr&&(t.mode&Qe)===je&&!si.isBatchingLegacy&&(wu(),o5()))}function Lw(e,t,r){var s=e.current;s.lanes=t,bl(e,t,r),gn(e,r)}function Ow(e){return(et&jr)!==cr}function gn(e,t){var r=e.callbackNode;Eg(e,t);var s=hc(e,e===nn?fr:ee);if(s===ee){r!==null&&w6(r),e.callbackNode=null,e.callbackPriority=xr;return}var a=ta(s),u=e.callbackPriority;if(u===a&&!(si.current!==null&&r!==gh)){r==null&&u!==Ae&&f("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}r!=null&&w6(r);var p;if(a===Ae)e.tag===ks?(si.isBatchingLegacy!==null&&(si.didScheduleLegacyUpdate=!0),ax(c6.bind(null,e))):a5(c6.bind(null,e)),si.current!==null?si.current.push(Es):cC(function(){(et&(jr|$n))===cr&&Es()}),p=null;else{var m;switch(q3(s)){case Rn:m=cc;break;case Pi:m=ad;break;case Ii:m=Gs;break;case gc:m=od;break;default:m=Gs;break}p=yh(m,l6.bind(null,e))}e.callbackPriority=a,e.callbackNode=p}function l6(e,t){if(Yx(),Eu=_t,Zf=ee,(et&(jr|$n))!==cr)throw new Error("Should not already be working.");var r=e.callbackNode,s=ns();if(s&&e.callbackNode!==r)return null;var a=hc(e,e===nn?fr:ee);if(a===ee)return null;var u=!mc(e,a)&&!Lg(e,a)&&!t,p=u?$w(e,a):Yf(e,a);if(p!==es){if(p===va){var m=_d(e);m!==ee&&(a=m,p=fh(e,m))}if(p===yu){var g=Cu;throw ya(e,ee),Vs(e,a),gn(e,br()),g}if(p===nh)Vs(e,a);else{var C=!mc(e,a),R=e.current.alternate;if(C&&!jw(R)){if(p=Yf(e,a),p===va){var O=_d(e);O!==ee&&(a=O,p=fh(e,O))}if(p===yu){var L=Cu;throw ya(e,ee),Vs(e,a),gn(e,br()),L}}e.finishedWork=R,e.finishedLanes=a,Kw(e,p,a)}}return gn(e,br()),e.callbackNode===r?l6.bind(null,e):null}function fh(e,t){var r=Ru;if(yc(e)){var s=ya(e,t);s.flags|=Bi,QC(e.containerInfo)}var a=Yf(e,t);if(a!==va){var u=vn;vn=r,u!==null&&u6(u)}return a}function u6(e){vn===null?vn=e:vn.push.apply(vn,e)}function Kw(e,t,r){switch(t){case es:case yu:throw new Error("Root did not complete. This is a bug in React.");case va:{ba(e,vn,ts);break}case Bf:{if(Vs(e,r),H3(r)&&!N6()){var s=sh+i6-br();if(s>10){var a=hc(e,ee);if(a!==ee)break;var u=e.suspendedLanes;if(!Ga(u,r)){sn(),z3(e,u);break}e.timeoutHandle=lp(ba.bind(null,e,vn,ts),s);break}}ba(e,vn,ts);break}case bu:{if(Vs(e,r),Tg(r))break;if(!N6()){var p=Ng(e,r),m=p,g=br()-m,C=Qw(g)-g;if(C>10){e.timeoutHandle=lp(ba.bind(null,e,vn,ts),C);break}}ba(e,vn,ts);break}case n6:{ba(e,vn,ts);break}default:throw new Error("Unknown root exit status.")}}function jw(e){for(var t=e;;){if(t.flags&Q1){var r=t.updateQueue;if(r!==null){var s=r.stores;if(s!==null)for(var a=0;a<s.length;a++){var u=s[a],p=u.getSnapshot,m=u.value;try{if(!Nn(p(),m))return!1}catch{return!1}}}}var g=t.child;if(t.subtreeFlags&Q1&&g!==null){g.return=t,t=g;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Vs(e,t){t=vc(t,Ff),t=vc(t,xu),jg(e,t)}function c6(e){if(Jx(),(et&(jr|$n))!==cr)throw new Error("Should not already be working.");ns();var t=hc(e,ee);if(!xn(t,Ae))return gn(e,br()),null;var r=Yf(e,t);if(e.tag!==ks&&r===va){var s=_d(e);s!==ee&&(t=s,r=fh(e,s))}if(r===yu){var a=Cu;throw ya(e,ee),Vs(e,t),gn(e,br()),a}if(r===nh)throw new Error("Root did not complete. This is a bug in React.");var u=e.current.alternate;return e.finishedWork=u,e.finishedLanes=t,ba(e,vn,ts),gn(e,br()),null}function Xw(e,t){t!==ee&&(Kd(e,Ze(t,Ae)),gn(e,br()),(et&(jr|$n))===cr&&(wu(),Es()))}function dh(e,t){var r=et;et|=r6;try{return e(t)}finally{et=r,et===cr&&!si.isBatchingLegacy&&(wu(),o5())}}function Uw(e,t,r,s,a){var u=qn(),p=Kr.transition;try{return Kr.transition=null,Rr(Rn),e(t,r,s,a)}finally{Rr(u),Kr.transition=p,et===cr&&wu()}}function rs(e){Xs!==null&&Xs.tag===ks&&(et&(jr|$n))===cr&&ns();var t=et;et|=r6;var r=Kr.transition,s=qn();try{return Kr.transition=null,Rr(Rn),e?e():void 0}finally{Rr(s),Kr.transition=r,et=t,(et&(jr|$n))===cr&&Es()}}function f6(){return(et&(jr|$n))!==cr}function Wf(e,t){Br(ih,Ri,e),Ri=Ze(Ri,t)}function ph(e){Ri=ih.current,Hr(ih,e)}function ya(e,t){e.finishedWork=null,e.finishedLanes=ee;var r=e.timeoutHandle;if(r!==up&&(e.timeoutHandle=up,uC(r)),Bt!==null)for(var s=Bt.return;s!==null;){var a=s.alternate;H4(a,s),s=s.return}nn=e;var u=Ca(e.current,null);return Bt=u,fr=Ri=t,dr=es,Cu=null,$f=ee,xu=ee,Ff=ee,Ru=null,vn=null,Lx(),Jn.discardPendingWarnings(),u}function d6(e,t){do{var r=Bt;try{if(sf(),U5(),yr(),rh.current=null,r===null||r.return===null){dr=yu,Cu=t,Bt=null;return}if(Ct&&r.mode&vt&&jf(r,!0),rt)if(qa(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var s=t;dg(r,s,fr)}else fg(r,t,fr);aR(e,r.return,r,t,fr),v6(r)}catch(a){t=a,Bt===r&&r!==null?(r=r.return,Bt=r):r=Bt;continue}return}while(!0)}function p6(){var e=th.current;return th.current=_f,e===null?_f:e}function h6(e){th.current=e}function Vw(){sh=br()}function Du(e){$f=Ze(e,$f)}function Mw(){dr===es&&(dr=Bf)}function hh(){(dr===es||dr===Bf||dr===va)&&(dr=bu),nn!==null&&(Td($f)||Td(xu))&&Vs(nn,fr)}function Aw(e){dr!==bu&&(dr=va),Ru===null?Ru=[e]:Ru.push(e)}function Hw(){return dr===es}function Yf(e,t){var r=et;et|=jr;var s=p6();if(nn!==e||fr!==t){if(Zn){var a=e.memoizedUpdaters;a.size>0&&(Su(e,fr),a.clear()),I3(e,t)}ts=Z3(),ya(e,t)}X3(t);do try{Bw();break}catch(u){d6(e,u)}while(!0);if(sf(),et=r,h6(s),Bt!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return U3(),nn=null,fr=ee,dr}function Bw(){for(;Bt!==null;)m6(Bt)}function $w(e,t){var r=et;et|=jr;var s=p6();if(nn!==e||fr!==t){if(Zn){var a=e.memoizedUpdaters;a.size>0&&(Su(e,fr),a.clear()),I3(e,t)}ts=Z3(),wu(),ya(e,t)}X3(t);do try{Fw();break}catch(u){d6(e,u)}while(!0);return sf(),h6(s),et=r,Bt!==null?(gg(),es):(U3(),nn=null,fr=ee,dr)}function Fw(){for(;Bt!==null&&!P7();)m6(Bt)}function m6(e){var t=e.alternate;Vt(e);var r;(e.mode&vt)!==je?(g0(e),r=mh(t,e,Ri),jf(e,!0)):r=mh(t,e,Ri),yr(),e.memoizedProps=e.pendingProps,r===null?v6(e):Bt=r,rh.current=null}function v6(e){var t=e;do{var r=t.alternate,s=t.return;if((t.flags&uc)===Ue){Vt(t);var a=void 0;if((t.mode&vt)===je?a=A4(r,t,Ri):(g0(t),a=A4(r,t,Ri),jf(t,!1)),yr(),a!==null){Bt=a;return}}else{var u=MR(r,t);if(u!==null){u.flags&=A7,Bt=u;return}if((t.mode&vt)!==je){jf(t,!1);for(var p=t.actualDuration,m=t.child;m!==null;)p+=m.actualDuration,m=m.sibling;t.actualDuration=p}if(s!==null)s.flags|=uc,s.subtreeFlags=Ue,s.deletions=null;else{dr=nh,Bt=null;return}}var g=t.sibling;if(g!==null){Bt=g;return}t=s,Bt=t}while(t!==null);dr===es&&(dr=n6)}function ba(e,t,r){var s=qn(),a=Kr.transition;try{Kr.transition=null,Rr(Rn),zw(e,t,r,s)}finally{Kr.transition=a,Rr(s)}return null}function zw(e,t,r,s){do ns();while(Xs!==null);if(tN(),(et&(jr|$n))!==cr)throw new Error("Should not already be working.");var a=e.finishedWork,u=e.finishedLanes;if(ig(u),a===null)return O3(),null;if(u===ee&&f("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ee,a===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=xr;var p=Ze(a.lanes,a.childLanes);Xg(e,p),e===nn&&(nn=null,Bt=null,fr=ee),((a.subtreeFlags&Ia)!==Ue||(a.flags&Ia)!==Ue)&&(ga||(ga=!0,lh=r,yh(Gs,function(){return ns(),null})));var m=(a.subtreeFlags&(id|sd|fl|Ia))!==Ue,g=(a.flags&(id|sd|fl|Ia))!==Ue;if(m||g){var C=Kr.transition;Kr.transition=null;var R=qn();Rr(Rn);var O=et;et|=$n,rh.current=null,FR(e,a),o4(),nw(e,a,u),rC(e.containerInfo),e.current=a,pg(u),iw(a,e,u),hg(),I7(),et=O,Rr(R),Kr.transition=C}else e.current=a,o4();var L=ga;if(ga?(ga=!1,Xs=e,Nu=u):(_o=0,If=null),p=e.pendingLanes,p===ee&&(So=null),L||C6(e.current,!1),Q7(a.stateNode,s),Zn&&e.memoizedUpdaters.clear(),ww(),gn(e,br()),t!==null)for(var U=e.onRecoverableError,A=0;A<t.length;A++){var F=t[A],he=F.stack,Oe=F.digest;U(F.value,{componentStack:he,digest:Oe})}if(zf){zf=!1;var _e=ah;throw ah=null,_e}return xn(Nu,Ae)&&e.tag!==ks&&ns(),p=e.pendingLanes,xn(p,Ae)?(Wx(),e===uh?ku++:(ku=0,uh=e)):ku=0,Es(),O3(),null}function ns(){if(Xs!==null){var e=q3(Nu),t=Ag(Ii,e),r=Kr.transition,s=qn();try{return Kr.transition=null,Rr(t),Iw()}finally{Rr(s),Kr.transition=r}}return!1}function Pw(e){oh.push(e),ga||(ga=!0,yh(Gs,function(){return ns(),null}))}function Iw(){if(Xs===null)return!1;var e=lh;lh=null;var t=Xs,r=Nu;if(Xs=null,Nu=ee,(et&(jr|$n))!==cr)throw new Error("Cannot flush passive effects while already rendering.");ch=!0,Pf=!1,mg(r);var s=et;et|=$n,fw(t.current),ow(t,t.current,r,e);{var a=oh;oh=[];for(var u=0;u<a.length;u++){var p=a[u];ZR(t,p)}}vg(),C6(t.current,!0),et=s,Es(),Pf?t===If?_o++:(_o=0,If=t):_o=0,ch=!1,Pf=!1,eg(t);{var m=t.current.stateNode;m.effectDuration=0,m.passiveEffectDuration=0}return!0}function g6(e){return So!==null&&So.has(e)}function Zw(e){So===null?So=new Set([e]):So.add(e)}function qw(e){zf||(zf=!0,ah=e)}var Ww=qw;function y6(e,t,r){var s=ha(r,t),a=m4(e,s,Ae),u=Ss(e,a,Ae),p=sn();u!==null&&(bl(u,Ae,p),gn(u,p))}function wt(e,t,r){if(HR(r),_u(!1),e.tag===S){y6(e,e,r);return}var s=null;for(s=t;s!==null;){if(s.tag===S){y6(s,e,r);return}else if(s.tag===b){var a=s.type,u=s.stateNode;if(typeof a.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&!g6(u)){var p=ha(r,e),m=X0(s,p,Ae),g=Ss(s,m,Ae),C=sn();g!==null&&(bl(g,Ae,C),gn(g,C));return}}s=s.return}f(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
191
|
+
|
|
192
|
+
Error message:
|
|
193
|
+
|
|
194
|
+
%s`,r)}function Yw(e,t,r){var s=e.pingCache;s!==null&&s.delete(t);var a=sn();z3(e,r),sN(e),nn===e&&Ga(fr,r)&&(dr===bu||dr===Bf&&H3(fr)&&br()-sh<i6?ya(e,ee):Ff=Ze(Ff,r)),gn(e,a)}function b6(e,t){t===xr&&(t=Tw(e));var r=sn(),s=hn(e,t);s!==null&&(bl(s,t,r),gn(s,r))}function Jw(e){var t=e.memoizedState,r=xr;t!==null&&(r=t.retryLane),b6(e,r)}function Gw(e,t){var r=xr,s;switch(e.tag){case Z:s=e.stateNode;var a=e.memoizedState;a!==null&&(r=a.retryLane);break;case ie:s=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}s!==null&&s.delete(t),b6(e,r)}function Qw(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:Ew(e/1960)*1960}function eN(){if(ku>Sw)throw ku=0,uh=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");_o>_w&&(_o=0,If=null,f("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function tN(){Jn.flushLegacyContextWarning(),Jn.flushPendingUnsafeLifecycleWarnings()}function C6(e,t){Vt(e),Jf(e,vs,Cw),t&&Jf(e,nd,xw),Jf(e,vs,yw),t&&Jf(e,nd,bw),yr()}function Jf(e,t,r){for(var s=e,a=null;s!==null;){var u=s.subtreeFlags&t;s!==a&&s.child!==null&&u!==Ue?s=s.child:((s.flags&t)!==Ue&&r(s),s.sibling!==null?s=s.sibling:s=a=s.return)}}var Gf=null;function x6(e){{if((et&jr)!==cr||!(e.mode&Qe))return;var t=e.tag;if(t!==N&&t!==S&&t!==b&&t!==x&&t!==I&&t!==q&&t!==G)return;var r=Fe(e)||"ReactComponent";if(Gf!==null){if(Gf.has(r))return;Gf.add(r)}else Gf=new Set([r]);var s=Gr;try{Vt(e),f("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{s?Vt(e):yr()}}}var mh;{var rN=null;mh=function(e,t,r){var s=_6(rN,t);try{return j4(e,t,r)}catch(u){if(hx()||u!==null&&typeof u=="object"&&typeof u.then=="function")throw u;if(sf(),U5(),H4(e,t),_6(t,s),t.mode&vt&&g0(t),J1(null,j4,null,e,t,r),U7()){var a=G1();typeof a=="object"&&a!==null&&a._suppressLogging&&typeof u=="object"&&u!==null&&!u._suppressLogging&&(u._suppressLogging=!0)}throw u}}}var R6=!1,vh;vh=new Set;function nN(e){if(Fs&&!Ix())switch(e.tag){case x:case I:case G:{var t=Bt&&Fe(Bt)||"Unknown",r=t;if(!vh.has(r)){vh.add(r);var s=Fe(e)||"Unknown";f("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",s,t,t)}break}case b:{R6||(f("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),R6=!0);break}}}function Su(e,t){if(Zn){var r=e.memoizedUpdaters;r.forEach(function(s){P3(e,s,t)})}}var gh={};function yh(e,t){{var r=si.current;return r!==null?(r.push(t),gh):L3(e,t)}}function w6(e){if(e!==gh)return z7(e)}function N6(){return si.current!==null}function iN(e){{if(e.mode&Qe){if(!t6())return}else if(!kw()||et!==cr||e.tag!==x&&e.tag!==I&&e.tag!==G)return;if(si.current===null){var t=Gr;try{Vt(e),f(`An update to %s inside a test was not wrapped in act(...).
|
|
195
|
+
|
|
196
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
197
|
+
|
|
198
|
+
act(() => {
|
|
199
|
+
/* fire events that update state */
|
|
200
|
+
});
|
|
201
|
+
/* assert on the output */
|
|
202
|
+
|
|
203
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Fe(e))}finally{t?Vt(e):yr()}}}}function sN(e){e.tag!==ks&&t6()&&si.current===null&&f(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
204
|
+
|
|
205
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
206
|
+
|
|
207
|
+
act(() => {
|
|
208
|
+
/* finish loading suspended data */
|
|
209
|
+
});
|
|
210
|
+
/* assert on the output */
|
|
211
|
+
|
|
212
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function _u(e){o6=e}var Fn=null,To=null,aN=function(e){Fn=e};function Lo(e){{if(Fn===null)return e;var t=Fn(e);return t===void 0?e:t.current}}function bh(e){return Lo(e)}function Ch(e){{if(Fn===null)return e;var t=Fn(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var r=Lo(e.render);if(e.render!==r){var s={$$typeof:X,render:r};return e.displayName!==void 0&&(s.displayName=e.displayName),s}}return e}return t.current}}function k6(e,t){{if(Fn===null)return!1;var r=e.elementType,s=t.type,a=!1,u=typeof s=="object"&&s!==null?s.$$typeof:null;switch(e.tag){case b:{typeof s=="function"&&(a=!0);break}case x:{(typeof s=="function"||u===fe)&&(a=!0);break}case I:{(u===X||u===fe)&&(a=!0);break}case q:case G:{(u===ye||u===fe)&&(a=!0);break}default:return!1}if(a){var p=Fn(r);if(p!==void 0&&p===Fn(s))return!0}return!1}}function E6(e){{if(Fn===null||typeof WeakSet!="function")return;To===null&&(To=new WeakSet),To.add(e)}}var oN=function(e,t){{if(Fn===null)return;var r=t.staleFamilies,s=t.updatedFamilies;ns(),rs(function(){xh(e.current,s,r)})}},lN=function(e,t){{if(e.context!==kn)return;ns(),rs(function(){Tu(t,e,null,null)})}};function xh(e,t,r){{var s=e.alternate,a=e.child,u=e.sibling,p=e.tag,m=e.type,g=null;switch(p){case x:case G:case b:g=m;break;case I:g=m.render;break}if(Fn===null)throw new Error("Expected resolveFamily to be set during hot reload.");var C=!1,R=!1;if(g!==null){var O=Fn(g);O!==void 0&&(r.has(O)?R=!0:t.has(O)&&(p===b?R=!0:C=!0))}if(To!==null&&(To.has(e)||s!==null&&To.has(s))&&(R=!0),R&&(e._debugNeedsRemount=!0),R||C){var L=hn(e,Ae);L!==null&&pr(L,e,Ae,_t)}a!==null&&!R&&xh(a,t,r),u!==null&&xh(u,t,r)}}var uN=function(e,t){{var r=new Set,s=new Set(t.map(function(a){return a.current}));return Rh(e.current,s,r),r}};function Rh(e,t,r){{var s=e.child,a=e.sibling,u=e.tag,p=e.type,m=null;switch(u){case x:case G:case b:m=p;break;case I:m=p.render;break}var g=!1;m!==null&&t.has(m)&&(g=!0),g?cN(e,r):s!==null&&Rh(s,t,r),a!==null&&Rh(a,t,r)}}function cN(e,t){{var r=fN(e,t);if(r)return;for(var s=e;;){switch(s.tag){case k:t.add(s.stateNode);return;case E:t.add(s.stateNode.containerInfo);return;case S:t.add(s.stateNode.containerInfo);return}if(s.return===null)throw new Error("Expected to reach root first.");s=s.return}}}function fN(e,t){for(var r=e,s=!1;;){if(r.tag===k)s=!0,t.add(r.stateNode);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)return s;for(;r.sibling===null;){if(r.return===null||r.return===e)return s;r=r.return}r.sibling.return=r.return,r=r.sibling}return!1}var wh;{wh=!1;try{var D6=Object.preventExtensions({})}catch{wh=!0}}function dN(e,t,r,s){this.tag=e,this.key=r,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=s,this.flags=Ue,this.subtreeFlags=Ue,this.deletions=null,this.lanes=ee,this.childLanes=ee,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!wh&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var En=function(e,t,r,s){return new dN(e,t,r,s)};function Nh(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function pN(e){return typeof e=="function"&&!Nh(e)&&e.defaultProps===void 0}function hN(e){if(typeof e=="function")return Nh(e)?b:x;if(e!=null){var t=e.$$typeof;if(t===X)return I;if(t===ye)return q}return N}function Ca(e,t){var r=e.alternate;r===null?(r=En(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r._debugSource=e._debugSource,r._debugOwner=e._debugOwner,r._debugHookTypes=e._debugHookTypes,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=Ue,r.subtreeFlags=Ue,r.deletions=null,r.actualDuration=0,r.actualStartTime=-1),r.flags=e.flags&Fi,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue;var s=e.dependencies;switch(r.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.selfBaseDuration=e.selfBaseDuration,r.treeBaseDuration=e.treeBaseDuration,r._debugNeedsRemount=e._debugNeedsRemount,r.tag){case N:case x:case G:r.type=Lo(e.type);break;case b:r.type=bh(e.type);break;case I:r.type=Ch(e.type);break}return r}function mN(e,t){e.flags&=Fi|tr;var r=e.alternate;if(r===null)e.childLanes=ee,e.lanes=t,e.child=null,e.subtreeFlags=Ue,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=Ue,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type;var s=r.dependencies;e.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},e.selfBaseDuration=r.selfBaseDuration,e.treeBaseDuration=r.treeBaseDuration}return e}function vN(e,t,r){var s;return e===qc?(s=Qe,t===!0&&(s|=Pt,s|=di)):s=je,Zn&&(s|=vt),En(S,null,null,s)}function kh(e,t,r,s,a,u){var p=N,m=e;if(typeof e=="function")Nh(e)?(p=b,m=bh(m)):m=Lo(m);else if(typeof e=="string")p=k;else e:switch(e){case Xn:return Ms(r.children,a,u,t);case Ki:p=J,a|=Pt,(a&Qe)!==je&&(a|=di);break;case _:return gN(r,a,u,t);case Q:return yN(r,a,u,t);case ae:return bN(r,a,u,t);case qe:return S6(r,a,u,t);case Je:case Ke:case dt:case Ut:case Se:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case re:p=Y;break e;case w:p=te;break e;case X:p=I,m=Ch(m);break e;case ye:p=q;break e;case fe:p=ge,m=null;break e}var g="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var C=s?Fe(s):null;C&&(g+=`
|
|
213
|
+
|
|
214
|
+
Check the render method of \``+C+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+g))}}var R=En(p,r,t,a);return R.elementType=e,R.type=m,R.lanes=u,R._debugOwner=s,R}function Eh(e,t,r){var s=null;s=e._owner;var a=e.type,u=e.key,p=e.props,m=kh(a,u,p,s,t,r);return m._debugSource=e._source,m._debugOwner=e._owner,m}function Ms(e,t,r,s){var a=En(V,e,s,t);return a.lanes=r,a}function gN(e,t,r,s){typeof e.id!="string"&&f('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var a=En(oe,e,s,t|vt);return a.elementType=_,a.lanes=r,a.stateNode={effectDuration:0,passiveEffectDuration:0},a}function yN(e,t,r,s){var a=En(Z,e,s,t);return a.elementType=Q,a.lanes=r,a}function bN(e,t,r,s){var a=En(ie,e,s,t);return a.elementType=ae,a.lanes=r,a}function S6(e,t,r,s){var a=En(ne,e,s,t);a.elementType=qe,a.lanes=r;var u={isHidden:!1};return a.stateNode=u,a}function Dh(e,t,r){var s=En(T,e,null,t);return s.lanes=r,s}function CN(){var e=En(k,null,null,je);return e.elementType="DELETED",e}function xN(e){var t=En(ue,null,null,je);return t.stateNode=e,t}function Sh(e,t,r){var s=e.children!==null?e.children:[],a=En(E,s,e.key,t);return a.lanes=r,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}function _6(e,t){return e===null&&(e=En(N,null,null,je)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function RN(e,t,r,s,a){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=up,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=xr,this.eventTimes=Od(ee),this.expirationTimes=Od(_t),this.pendingLanes=ee,this.suspendedLanes=ee,this.pingedLanes=ee,this.expiredLanes=ee,this.mutableReadLanes=ee,this.finishedLanes=ee,this.entangledLanes=ee,this.entanglements=Od(ee),this.identifierPrefix=s,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var u=this.pendingUpdatersLaneMap=[],p=0;p<ud;p++)u.push(new Set)}switch(t){case qc:this._debugRootType=r?"hydrateRoot()":"createRoot()";break;case ks:this._debugRootType=r?"hydrate()":"render()";break}}function T6(e,t,r,s,a,u,p,m,g,C){var R=new RN(e,t,r,m,g),O=vN(t,u);R.current=O,O.stateNode=R;{var L={element:s,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null};O.memoizedState=L}return Bp(O),R}var _h="18.3.1";function wN(e,t,r){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Ir(s),{$$typeof:Mr,key:s==null?null:""+s,children:e,containerInfo:t,implementation:r}}var Th,Lh;Th=!1,Lh={};function L6(e){if(!e)return kn;var t=Fa(e),r=sx(t);if(t.tag===b){var s=t.type;if(mi(s))return i5(t,s,r)}return r}function NN(e,t){{var r=Fa(e);if(r===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var s=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+s)}var a=S3(r);if(a===null)return null;if(a.mode&Pt){var u=Fe(r)||"Component";if(!Lh[u]){Lh[u]=!0;var p=Gr;try{Vt(a),r.mode&Pt?f("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,u):f("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,u)}finally{p?Vt(p):yr()}}}return a.stateNode}}function O6(e,t,r,s,a,u,p,m){var g=!1,C=null;return T6(e,t,g,C,r,s,a,u,p)}function K6(e,t,r,s,a,u,p,m,g,C){var R=!0,O=T6(r,s,R,e,a,u,p,m,g);O.context=L6(null);var L=O.current,U=sn(),A=Us(L),F=Gi(U,A);return F.callback=t??null,Ss(L,F,A),Lw(O,A,U),O}function Tu(e,t,r,s){G7(t,e);var a=t.current,u=sn(),p=Us(a);yg(p);var m=L6(r);t.context===null?t.context=m:t.pendingContext=m,Fs&&Gr!==null&&!Th&&(Th=!0,f(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
215
|
+
|
|
216
|
+
Check the render method of %s.`,Fe(Gr)||"Unknown"));var g=Gi(u,p);g.payload={element:e},s=s===void 0?null:s,s!==null&&(typeof s!="function"&&f("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",s),g.callback=s);var C=Ss(a,g,p);return C!==null&&(pr(C,a,p,u),cf(C,a,p)),p}function Qf(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case k:return t.child.stateNode;default:return t.child.stateNode}}function kN(e){switch(e.tag){case S:{var t=e.stateNode;if(yc(t)){var r=Dg(t);Xw(t,r)}break}case Z:{rs(function(){var a=hn(e,Ae);if(a!==null){var u=sn();pr(a,e,Ae,u)}});var s=Ae;Oh(e,s);break}}}function j6(e,t){var r=e.memoizedState;r!==null&&r.dehydrated!==null&&(r.retryLane=Kg(r.retryLane,t))}function Oh(e,t){j6(e,t);var r=e.alternate;r&&j6(r,t)}function EN(e){if(e.tag===Z){var t=ml,r=hn(e,t);if(r!==null){var s=sn();pr(r,e,t,s)}Oh(e,t)}}function DN(e){if(e.tag===Z){var t=Us(e),r=hn(e,t);if(r!==null){var s=sn();pr(r,e,t,s)}Oh(e,t)}}function X6(e){var t=F7(e);return t===null?null:t.stateNode}var U6=function(e){return null};function SN(e){return U6(e)}var V6=function(e){return!1};function _N(e){return V6(e)}var M6=null,A6=null,H6=null,B6=null,$6=null,F6=null,z6=null,P6=null,I6=null;{var Z6=function(e,t,r){var s=t[r],a=We(e)?e.slice():ze({},e);return r+1===t.length?(We(a)?a.splice(s,1):delete a[s],a):(a[s]=Z6(e[s],t,r+1),a)},q6=function(e,t){return Z6(e,t,0)},W6=function(e,t,r,s){var a=t[s],u=We(e)?e.slice():ze({},e);if(s+1===t.length){var p=r[s];u[p]=u[a],We(u)?u.splice(a,1):delete u[a]}else u[a]=W6(e[a],t,r,s+1);return u},Y6=function(e,t,r){if(t.length!==r.length){d("copyWithRename() expects paths of the same length");return}else for(var s=0;s<r.length-1;s++)if(t[s]!==r[s]){d("copyWithRename() expects paths to be the same except for the deepest key");return}return W6(e,t,r,0)},J6=function(e,t,r,s){if(r>=t.length)return s;var a=t[r],u=We(e)?e.slice():ze({},e);return u[a]=J6(e[a],t,r+1,s),u},G6=function(e,t,r){return J6(e,t,0,r)},Kh=function(e,t){for(var r=e.memoizedState;r!==null&&t>0;)r=r.next,t--;return r};M6=function(e,t,r,s){var a=Kh(e,t);if(a!==null){var u=G6(a.memoizedState,r,s);a.memoizedState=u,a.baseState=u,e.memoizedProps=ze({},e.memoizedProps);var p=hn(e,Ae);p!==null&&pr(p,e,Ae,_t)}},A6=function(e,t,r){var s=Kh(e,t);if(s!==null){var a=q6(s.memoizedState,r);s.memoizedState=a,s.baseState=a,e.memoizedProps=ze({},e.memoizedProps);var u=hn(e,Ae);u!==null&&pr(u,e,Ae,_t)}},H6=function(e,t,r,s){var a=Kh(e,t);if(a!==null){var u=Y6(a.memoizedState,r,s);a.memoizedState=u,a.baseState=u,e.memoizedProps=ze({},e.memoizedProps);var p=hn(e,Ae);p!==null&&pr(p,e,Ae,_t)}},B6=function(e,t,r){e.pendingProps=G6(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=hn(e,Ae);s!==null&&pr(s,e,Ae,_t)},$6=function(e,t){e.pendingProps=q6(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=hn(e,Ae);r!==null&&pr(r,e,Ae,_t)},F6=function(e,t,r){e.pendingProps=Y6(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=hn(e,Ae);s!==null&&pr(s,e,Ae,_t)},z6=function(e){var t=hn(e,Ae);t!==null&&pr(t,e,Ae,_t)},P6=function(e){U6=e},I6=function(e){V6=e}}function TN(e){var t=S3(e);return t===null?null:t.stateNode}function LN(e){return null}function ON(){return Gr}function KN(e){var t=e.findFiberByHostInstance,r=o.ReactCurrentDispatcher;return J7({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:M6,overrideHookStateDeletePath:A6,overrideHookStateRenamePath:H6,overrideProps:B6,overridePropsDeletePath:$6,overridePropsRenamePath:F6,setErrorHandler:P6,setSuspenseHandler:I6,scheduleUpdate:z6,currentDispatcherRef:r,findHostInstanceByFiber:TN,findFiberByHostInstance:t||LN,findHostInstancesForRefresh:uN,scheduleRefresh:oN,scheduleRoot:lN,setRefreshHandler:aN,getCurrentFiber:ON,reconcilerVersion:_h})}var Q6=typeof reportError=="function"?reportError:function(e){console.error(e)};function jh(e){this._internalRoot=e}e1.prototype.render=jh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?f("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):t1(arguments[1])?f("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&f("You passed a second argument to root.render(...) but it only accepts one argument.");var r=t.containerInfo;if(r.nodeType!==er){var s=X6(t.current);s&&s.parentNode!==r&&f("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Tu(e,t,null,null)},e1.prototype.unmount=jh.prototype.unmount=function(){typeof arguments[0]=="function"&&f("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;f6()&&f("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),rs(function(){Tu(null,e,null,null)}),Qv(t)}};function jN(e,t){if(!t1(e))throw new Error("createRoot(...): Target container is not a DOM element.");e2(e);var r=!1,s=!1,a="",u=Q6;t!=null&&(t.hydrate?d("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Yr&&f(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
217
|
+
|
|
218
|
+
let root = createRoot(domContainer);
|
|
219
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var p=O6(e,qc,null,r,s,a,u);Bc(p.current,e);var m=e.nodeType===er?e.parentNode:e;return Ul(m),new jh(p)}function e1(e){this._internalRoot=e}function XN(e){e&&Yg(e)}e1.prototype.unstable_scheduleHydration=XN;function UN(e,t,r){if(!t1(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");e2(e),t===void 0&&f("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var s=r??null,a=r!=null&&r.hydratedSources||null,u=!1,p=!1,m="",g=Q6;r!=null&&(r.unstable_strictMode===!0&&(u=!0),r.identifierPrefix!==void 0&&(m=r.identifierPrefix),r.onRecoverableError!==void 0&&(g=r.onRecoverableError));var C=K6(t,null,e,qc,s,u,p,m,g);if(Bc(C.current,e),Ul(e),a)for(var R=0;R<a.length;R++){var O=a[R];Hx(C,O)}return new e1(C)}function t1(e){return!!(e&&(e.nodeType===dn||e.nodeType===Hi||e.nodeType===H1))}function Lu(e){return!!(e&&(e.nodeType===dn||e.nodeType===Hi||e.nodeType===H1||e.nodeType===er&&e.nodeValue===" react-mount-point-unstable "))}function e2(e){e.nodeType===dn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Zl(e)&&(e._reactRootContainer?f("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):f("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var VN=o.ReactCurrentOwner,t2;t2=function(e){if(e._reactRootContainer&&e.nodeType!==er){var t=X6(e._reactRootContainer.current);t&&t.parentNode!==e&&f("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var r=!!e._reactRootContainer,s=Xh(e),a=!!(s&&ws(s));a&&!r&&f("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===dn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Xh(e){return e?e.nodeType===Hi?e.documentElement:e.firstChild:null}function r2(){}function MN(e,t,r,s,a){if(a){if(typeof s=="function"){var u=s;s=function(){var L=Qf(p);u.call(L)}}var p=K6(t,s,e,ks,null,!1,!1,"",r2);e._reactRootContainer=p,Bc(p.current,e);var m=e.nodeType===er?e.parentNode:e;return Ul(m),rs(),p}else{for(var g;g=e.lastChild;)e.removeChild(g);if(typeof s=="function"){var C=s;s=function(){var L=Qf(R);C.call(L)}}var R=O6(e,ks,null,!1,!1,"",r2);e._reactRootContainer=R,Bc(R.current,e);var O=e.nodeType===er?e.parentNode:e;return Ul(O),rs(function(){Tu(t,R,r,s)}),R}}function AN(e,t){e!==null&&typeof e!="function"&&f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function r1(e,t,r,s,a){t2(r),AN(a===void 0?null:a,"render");var u=r._reactRootContainer,p;if(!u)p=MN(r,t,e,a,s);else{if(p=u,typeof a=="function"){var m=a;a=function(){var g=Qf(p);m.call(g)}}Tu(t,p,e,a)}return Qf(p)}var n2=!1;function HN(e){{n2||(n2=!0,f("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=VN.current;if(t!==null&&t.stateNode!==null){var r=t.stateNode._warnedAboutRefsInRender;r||f("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ot(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===dn?e:NN(e,"findDOMNode")}function BN(e,t,r){if(f("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Lu(t))throw new Error("Target container is not a DOM element.");{var s=Zl(t)&&t._reactRootContainer===void 0;s&&f("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return r1(null,e,t,!0,r)}function $N(e,t,r){if(f("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Lu(t))throw new Error("Target container is not a DOM element.");{var s=Zl(t)&&t._reactRootContainer===void 0;s&&f("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return r1(null,e,t,!1,r)}function FN(e,t,r,s){if(f("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Lu(r))throw new Error("Target container is not a DOM element.");if(e==null||!V7(e))throw new Error("parentComponent must be a valid React Component");return r1(e,t,r,!1,s)}var i2=!1;function zN(e){if(i2||(i2=!0,f("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Lu(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Zl(e)&&e._reactRootContainer===void 0;t&&f("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var r=Xh(e),s=r&&!ws(r);s&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return rs(function(){r1(null,null,e,!1,function(){e._reactRootContainer=null,Qv(e)})}),!0}else{{var a=Xh(e),u=!!(a&&ws(a)),p=e.nodeType===dn&&Lu(e.parentNode)&&!!e.parentNode._reactRootContainer;u&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",p?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Hg(kN),$g(EN),Fg(DN),zg(qn),Pg(Vg),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&f("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),E7(Ib),_7(dh,Uw,rs);function PN(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!t1(t))throw new Error("Target container is not a DOM element.");return wN(e,t,null,r)}function IN(e,t,r,s){return FN(e,t,r,s)}var Uh={usingClientEntryPoint:!1,Events:[ws,oo,$c,m3,v3,dh]};function ZN(e,t){return Uh.usingClientEntryPoint||f('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),jN(e,t)}function qN(e,t,r){return Uh.usingClientEntryPoint||f('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),UN(e,t,r)}function WN(e){return f6()&&f("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),rs(e)}var YN=KN({findFiberByHostInstance:sa,bundleType:1,version:_h,rendererPackageName:"react-dom"});if(!YN&&sr&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var s2=window.location.protocol;/^(https?|file):$/.test(s2)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(s2==="file:"?`
|
|
220
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}yn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Uh,yn.createPortal=PN,yn.createRoot=ZN,yn.findDOMNode=HN,yn.flushSync=WN,yn.hydrate=BN,yn.hydrateRoot=qN,yn.render=$N,yn.unmountComponentAtNode=zN,yn.unstable_batchedUpdates=dh,yn.unstable_renderSubtreeIntoContainer=IN,yn.version=_h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})(),yn}var x2;function T8(){return x2||(x2=1,Ph.exports=Hk()),Ph.exports}var R2;function Bk(){if(R2)return i1;R2=1;var n=T8();{var i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;i1.createRoot=function(o,l){i.usingClientEntryPoint=!0;try{return n.createRoot(o,l)}finally{i.usingClientEntryPoint=!1}},i1.hydrateRoot=function(o,l,c){i.usingClientEntryPoint=!0;try{return n.hydrateRoot(o,l,c)}finally{i.usingClientEntryPoint=!1}}}return i1}var Mm=Bk();const $k=Iu(Mm),Fk=x1({__proto__:null,default:$k},[Mm]),zk=n=>new Promise((i,o)=>{const l=document.createElement("script");l.async=!0,l.src=n,l.addEventListener("load",()=>{l.remove(),i()},{once:!0}),l.addEventListener("error",()=>{l.remove(),o(new Error(`client-modules: bundle script ${n} failed to load`))},{once:!0}),document.head.append(l)}),Pk=n=>n.endsWith("/client")?n.slice(0,-7):n,Ik=n=>{if(typeof document>"u")return[];for(const o of document.querySelectorAll("style:not([data-plugin])"))o.setAttribute("data-plugin",n);const i=[];for(const o of document.querySelectorAll(`style[data-plugin=${JSON.stringify(n)}]`))i.push(o.getAttribute("data-plugin-css")??n);return i};class L8{constructor(i){P(this,"version","client");P(this,"loadCache",new Map);P(this,"seed");P(this,"statics",new Map);P(this,"factories",new Map);P(this,"pendingArrival",new Map);P(this,"materializing",new Set);P(this,"graphRows",new Map);P(this,"loadBundle");this.seed=new Map(Object.entries(i.staticModules)),this.loadBundle=i.loadBundle??zk;for(const l of i.modules){if(this.graphRows.has(l.id))throw new Error(`client-modules: duplicate graph entry "${l.id}"`);this.graphRows.set(l.id,l)}const o=globalThis;if(o.__ModuleLoader__!==void 0)throw new Error("client-modules: window.__ModuleLoader__ already installed (double boot?)");o.__ModuleLoader__={load:l=>{if(this.factories.has(l.id))throw new Error(`client-modules: duplicate factory registration for "${l.id}" (bundle executed twice without invalidate?)`);this.factories.set(l.id,l.factory)}}}arrive(i){const{id:o,url:l}=i,c=this.pendingArrival.get(o);if(c!==void 0)return c;if(this.factories.has(o))return Promise.resolve();const d=this.loadBundle(l).then(()=>{if(!this.factories.has(o))throw new Error(`client-modules: bundle ${l} loaded without registering "${o}" via __ModuleLoader__.load`)}).finally(()=>{this.pendingArrival.delete(o)});return this.pendingArrival.set(o,d),d}materialize(i){const o=this.loadCache.get(i);if(o!==void 0)return o;const l=this.factories.get(i);if(l===void 0)throw new Error(`client-modules: no registered factory for "${i}"`);if(this.materializing.has(i))throw new Error(`client-modules: require cycle through "${i}" (factory-form CJS cannot deliver partial exports)`);this.materializing.add(i);try{const c=new Set,d=l(this.makeRequire(c)),f={id:i,exports:d,styles:Ik(i),edges:c};return this.loadCache.set(i,f),f}finally{this.materializing.delete(i)}}makeRequire(i){return o=>{if(i.add(o),this.seed.has(o))return this.seed.get(o);if(this.statics.has(o))return this.statics.get(o);const l=Pk(o),c=this.loadCache.get(l);if(c!==void 0)return c.exports;if(this.factories.has(l))return this.materialize(l).exports;throw new Error(`client-modules: require("${o}") missed the module table — not a platform seed word, not a shell-own module, and no registered factory (a build-time externals drift, or a forbidden cross-plugin value import)`)}}async import(i){if(this.seed.has(i))return this.seed.get(i);const o=this.loadCache.get(i);if(o!==void 0)return o.exports;if(this.statics.has(i)){const l=this.statics.get(i);return this.loadCache.set(i,{id:i,exports:l,styles:[],edges:new Set}),l}if(!this.factories.has(i)){const l=this.graphRows.get(i);if(l===void 0)throw new Error(`client-modules: cannot resolve "${i}" — not a seed word, not a shell-own module, and not a row in the boot graph (the runtime mirror of the bundle purity gate)`);await this.arrive(l)}return this.materialize(i).exports}registerStatic(i,o){if(this.statics.has(i))throw new Error(`client-modules: shell-own module "${i}" registered twice`);this.statics.set(i,o)}async prefetch(i){if(this.statics.has(i))return;const o=this.graphRows.get(i);if(o===void 0)throw new Error(`client-modules: prefetch("${i}") — not a graph entry`);await this.arrive(o)}invalidate(i){this.factories.delete(i),this.loadCache.delete(i)}}function O8(n){if(typeof n!="object"||n===null)throw new Error("client-modules: window.__XRK_BOOT__ is missing or not an object");const i=n;if(typeof i.rev!="string")throw new Error("client-modules: boot manifest rev must be a string");if(!Array.isArray(i.entries))throw new Error("client-modules: boot manifest entries must be an array");const o=[],l=[];for(const c of i.entries){if(typeof c!="object"||c===null)throw new Error("client-modules: boot manifest entry is not an object");const d=c,f=typeof d.id=="string"?`"${d.id}"`:JSON.stringify(d);if(typeof d.id!="string"||typeof d.url!="string"||typeof d.rev!="string")throw new Error(`client-modules: boot manifest entry ${f} must carry string id/url/rev`);if(d.inject!==void 0&&(!Array.isArray(d.inject)||d.inject.some(v=>typeof v!="string")))throw new Error(`client-modules: boot manifest entry ${f} inject must be a string array`);if(d.immediately!==void 0&&typeof d.immediately!="boolean")throw new Error(`client-modules: boot manifest entry ${f} immediately must be a boolean`);o.push({id:d.id,url:d.url,rev:d.rev}),l.push({id:d.id,inject:d.inject===void 0?[]:[...d.inject],immediately:d.immediately===!0})}return{rev:i.rev,modules:o,plugins:l}}function Zk(n){const i=globalThis.__XRK_MODULES__;if(i===void 0)throw new Error("client-modules: window.__XRK_MODULES__ missing — the shell kernel must construct the module system before plugin boot");n.reflect.provide("modules",i)}const qk=Object.freeze(Object.defineProperty({__proto__:null,ClientModuleSystem:L8,apply:Zk,parseBootManifest:O8},Symbol.toStringTag,{value:"Module"}));var qh={exports:{}},Wh={},Yh={exports:{}},Jh={},w2;function Wk(){if(w2)return Jh;w2=1;/**
|
|
221
|
+
* @license React
|
|
222
|
+
* use-sync-external-store-shim.development.js
|
|
223
|
+
*
|
|
224
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
225
|
+
*
|
|
226
|
+
* This source code is licensed under the MIT license found in the
|
|
227
|
+
* LICENSE file in the root directory of this source tree.
|
|
228
|
+
*/return(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Ho(),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function o(I){{for(var oe=arguments.length,Z=new Array(oe>1?oe-1:0),q=1;q<oe;q++)Z[q-1]=arguments[q];l("error",I,Z)}}function l(I,oe,Z){{var q=i.ReactDebugCurrentFrame,G=q.getStackAddendum();G!==""&&(oe+="%s",Z=Z.concat([G]));var ge=Z.map(function(B){return String(B)});ge.unshift("Warning: "+oe),Function.prototype.apply.call(console[I],console,ge)}}function c(I,oe){return I===oe&&(I!==0||1/I===1/oe)||I!==I&&oe!==oe}var d=typeof Object.is=="function"?Object.is:c,f=n.useState,v=n.useEffect,x=n.useLayoutEffect,b=n.useDebugValue,N=!1,S=!1;function E(I,oe,Z){N||n.startTransition!==void 0&&(N=!0,o("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var q=oe();if(!S){var G=oe();d(q,G)||(o("The result of getSnapshot should be cached to avoid an infinite loop"),S=!0)}var ge=f({inst:{value:q,getSnapshot:oe}}),B=ge[0].inst,ue=ge[1];return x(function(){B.value=q,B.getSnapshot=oe,k(B)&&ue({inst:B})},[I,q,oe]),v(function(){k(B)&&ue({inst:B});var ie=function(){k(B)&&ue({inst:B})};return I(ie)},[I]),b(q),q}function k(I){var oe=I.getSnapshot,Z=I.value;try{var q=oe();return!d(Z,q)}catch{return!0}}function T(I,oe,Z){return oe()}var V=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",J=!V,te=J?T:E,Y=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:te;Jh.useSyncExternalStore=Y,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})(),Jh}var N2;function Yk(){return N2||(N2=1,Yh.exports=Wk()),Yh.exports}var k2;function Jk(){if(k2)return Wh;k2=1;/**
|
|
229
|
+
* @license React
|
|
230
|
+
* use-sync-external-store-shim/with-selector.development.js
|
|
231
|
+
*
|
|
232
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
233
|
+
*
|
|
234
|
+
* This source code is licensed under the MIT license found in the
|
|
235
|
+
* LICENSE file in the root directory of this source tree.
|
|
236
|
+
*/return(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Ho(),i=Yk();function o(N,S){return N===S&&(N!==0||1/N===1/S)||N!==N&&S!==S}var l=typeof Object.is=="function"?Object.is:o,c=i.useSyncExternalStore,d=n.useRef,f=n.useEffect,v=n.useMemo,x=n.useDebugValue;function b(N,S,E,k,T){var V=d(null),J;V.current===null?(J={hasValue:!1,value:null},V.current=J):J=V.current;var te=v(function(){var Z=!1,q,G,ge=function(me){if(!Z){Z=!0,q=me;var ne=k(me);if(T!==void 0&&J.hasValue){var we=J.value;if(T(we,ne))return G=we,we}return G=ne,ne}var Ne=q,Ie=G;if(l(Ne,me))return Ie;var Le=k(me);return T!==void 0&&T(Ie,Le)?Ie:(q=me,G=Le,Le)},B=E===void 0?null:E,ue=function(){return ge(S())},ie=B===null?void 0:function(){return ge(B())};return[ue,ie]},[S,E,k,T]),Y=te[0],I=te[1],oe=c(N,Y,I);return f(function(){J.hasValue=!0,J.value=oe},[oe]),x(oe),oe}Wh.useSyncExternalStoreWithSelector=b,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})(),Wh}var E2;function Gk(){return E2||(E2=1,qh.exports=Jk()),qh.exports}var Qk=Gk();function Am(n){const i=l=>n.subscribe(l),o=()=>n.getSnapshot();return function(c,d){return Qk.useSyncExternalStoreWithSelector(i,o,void 0,c,d)}}class E1 extends Error{}class Ao extends Error{}function eE(n){return typeof n=="function"?n():n}const s1=Object.freeze([]);class tE{constructor(){P(this,"records",new Map);P(this,"mutateListeners",new Set);P(this,"handleScopes",new Map);P(this,"dirty",new Set);P(this,"flushScheduled",!1);P(this,"abdicated",new WeakSet);P(this,"entryErrorListeners",new Set);const i=this.record("root");i.spec={kind:"single",scope:"root"},i.declaredBy="(built-in)",i.declarationEpoch=1}register(i,o){const l=this.records.get(i.name);if(!(l!=null&&l.spec))throw new Error(`slot "${i.name}" is not declared (a parent entry's children table must declare it)`);const c=l.spec,d=i.priority??0,f=b=>`at priority ${d}${b.registrant!==void 0?` (registered by ${b.registrant})`:""} — register at a different priority to shadow it (lowest renders)`;switch(c.kind){case"single":{const b=l.entries.find(N=>(N.options.priority??0)===d);if(b)throw new Error(`single slot "${i.name}" already has a registration ${f(b)}`);break}case"keyed":{if(i.key===void 0)throw new Error(`keyed slot "${i.name}" requires options.key`);const b=l.entries.find(N=>N.options.key===i.key&&(N.options.priority??0)===d);if(b)throw new Error(`keyed slot "${i.name}" already has an entry for key "${i.key}" ${f(b)}`);break}case"list":{if(i.id===void 0)throw new Error(`list slot "${i.name}" requires options.id`);const b=l.entries.find(N=>N.options.id===i.id&&(N.options.priority??0)===d);if(b)throw new Error(`list slot "${i.name}" already has an entry with id "${i.id}" ${f(b)}`);break}case"chain":if(i.select===void 0)throw new Error(`chain slot "${i.name}" requires options.select`);break}if(i.children)for(const b of Object.keys(i.children)){const N=this.records.get(b);if(N!=null&&N.spec)throw new Error(`slot "${b}" is already declared (by ${N.declaredBy??"an unknown entry"})`)}if(i.store!==void 0&&typeof i.store!="function"){const b=this.handleScopes.get(i.store);if(b&&b.scope!==c.scope)throw new Error(`store handle mounted under "${i.name}" (scope "${c.scope}") is already mounted under scope "${b.scope}" — one handle, one scope`);b?b.count+=1:this.handleScopes.set(i.store,{scope:c.scope,count:1})}const v={component:o,options:{...i.key!==void 0?{key:i.key}:{},...i.id!==void 0?{id:i.id}:{},...i.order!==void 0?{order:i.order}:{},...i.label!==void 0?{label:i.label}:{},...i.priority!==void 0?{priority:i.priority}:{}},...i.select!==void 0?{select:i.select}:{},...i.inject!==void 0?{inject:i.inject}:{},...i.children!==void 0?{children:i.children}:{},...i.store!==void 0?{store:i.store}:{},...i.locale!==void 0?{locale:i.locale}:{},...i.registrant!==void 0?{registrant:i.registrant}:{}},x=[...l.entries,v];if(x.sort(c.kind==="list"?(b,N)=>(b.options.priority??0)-(N.options.priority??0)||(b.options.order??0)-(N.options.order??0):(b,N)=>(b.options.priority??0)-(N.options.priority??0)),l.entries=x,this.markDirty(i.name,l),i.children){const b=[];for(const[N,S]of Object.entries(i.children)){const E=this.record(N);E.spec=S,E.declaredBy=`an entry in "${i.name}"${i.registrant?` (${i.registrant})`:""}`,E.parent=i.name,E.declarationEpoch+=1,b.push([N,E])}for(const[N,S]of b)this.markDirty(N,S);for(const[,N]of b)this.notifyDeclaration(N)}return()=>{l.entries.includes(v)&&(l.entries=l.entries.filter(b=>b!==v),this.markDirty(i.name,l),this.releaseEntry(v))}}isLive(i){for(const o of this.records.values())if(o.entries.includes(i))return!0;return!1}entries(i){var o;return((o=this.records.get(i))==null?void 0:o.entries)??s1}entriesOfSlot(i){const o=this.records.get(i);if(!(o!=null&&o.spec))return s1;const l=o.spec.kind;if(l==="chain")return o.entries;const c=[],d=new Set;for(const f of o.entries){if(this.abdicated.has(f))continue;const v=l==="keyed"?f.options.key:l==="list"?f.options.id:void 0;d.has(v)||(d.add(v),c.push(f))}return c}spec(i){var o;return(o=this.records.get(i))==null?void 0:o.spec}specDynamic(i){var o;return(o=this.records.get(i))==null?void 0:o.spec}snapshot(i){const o=(l,c)=>{const d=this.records.get(l);if((d==null?void 0:d.spec)===void 0||c.has(l))return;const f=new Set(c);f.add(l);const v=new Set(this.entriesOfSlot(l)),x=[...this.records.entries()].filter(([,b])=>b.spec!==void 0&&b.parent===l).flatMap(([b])=>{const N=o(b,f);return N===void 0?[]:[N]});return{name:l,kind:d.spec.kind,scope:d.spec.scope,...d.declaredBy===void 0?{}:{declaredBy:d.declaredBy},occupants:d.entries.map(b=>({...b.registrant===void 0?{}:{registrant:b.registrant},...b.options.key===void 0?{}:{key:b.options.key},...b.options.id===void 0?{}:{id:b.options.id},...b.options.order===void 0?{}:{order:b.options.order},priority:b.options.priority??0,active:v.has(b)})),children:x}};if(i!==void 0){const l=o(i,new Set);return l===void 0?[]:[l]}return[...this.records.entries()].filter(([,l])=>{var c;return l.spec!==void 0&&(l.parent===void 0||((c=this.records.get(l.parent))==null?void 0:c.spec)===void 0)}).flatMap(([l])=>{const c=o(l,new Set);return c===void 0?[]:[c]})}declarationEpoch(i){var o;return((o=this.records.get(i))==null?void 0:o.declarationEpoch)??0}subscribe(i,o){const l=this.record(i);return l.listeners.add(o),()=>{l.listeners.delete(o)}}subscribeDeclaration(i,o){const l=this.record(i);return l.declarationListeners.add(o),()=>{l.declarationListeners.delete(o)}}getVersion(i){var o;return((o=this.records.get(i))==null?void 0:o.version)??0}onMutate(i){return this.mutateListeners.add(i),()=>{this.mutateListeners.delete(i)}}reportEntryError(i,o,l,c){if(c.abdicate){if(this.abdicated.has(o))return;this.abdicated.add(o);const d=this.records.get(i);d!==void 0&&this.markDirty(i,d)}for(const d of[...this.entryErrorListeners])d(i,o,l,{abdicated:c.abdicate})}onEntryError(i){return this.entryErrorListeners.add(i),()=>{this.entryErrorListeners.delete(i)}}releaseEntry(i){if(i.store!==void 0&&typeof i.store!="function"){const o=this.handleScopes.get(i.store);o&&--o.count===0&&this.handleScopes.delete(i.store)}if(i.children)for(const o of Object.keys(i.children)){const l=this.records.get(o);if(!l)continue;const c=l.entries;l.spec=void 0,l.declaredBy=void 0,l.parent=void 0,l.declarationEpoch+=1,l.entries=s1,this.markDirty(o,l),this.notifyDeclaration(l);for(const d of c)this.releaseEntry(d)}}record(i){let o=this.records.get(i);return o||(o={spec:void 0,declaredBy:void 0,parent:void 0,declarationEpoch:0,entries:s1,version:0,listeners:new Set,declarationListeners:new Set},this.records.set(i,o)),o}markDirty(i,o){o.version+=1;for(const l of[...this.mutateListeners])l(i);this.dirty.add(o),this.flushScheduled||(this.flushScheduled=!0,queueMicrotask(()=>{this.flush()}))}notifyDeclaration(i){for(const o of[...i.declarationListeners])o()}flush(){this.flushScheduled=!1;const i=[...this.dirty];this.dirty.clear();for(const o of i)for(const l of[...o.listeners])l()}}const rE=Object.freeze(Object.defineProperty({__proto__:null,SlotCore:tE,SlotOwnershipError:Ao,StaleAuthorizationError:E1,resolveSlotLabel:eE},Symbol.toStringTag,{value:"Module"}));var H=Ho();const nE=Iu(H),iE=x1({__proto__:null,default:nE},[H]);class ls extends Error{}const K8=H.createContext(null);function _a(){const n=H.useContext(K8);if(!n)throw new ls("slot machinery rendered outside the installed renderer tree");return n}const Hm=H.createContext(null);function Bm(){const n=H.useContext(Hm);if(!n)throw new ls("session-aware slot rendered outside the root binding provider");return n}function li(n){let i=D2.get(n);return i===void 0&&(i=Am(n),D2.set(n,i)),i}const D2=new WeakMap,j8={getSnapshot:()=>{},subscribe:()=>()=>{}};function sE(n){return n!==void 0?li(n):aE}function aE(n,i){li(j8)(()=>{})}function oE(n){let i=S2.get(n);return i===void 0&&(i=(o,l,c)=>{var f;return li(((f=n.projections)==null?void 0:f.faceOf(o))??j8)(l??(v=>v),c)},S2.set(n,i)),i}const S2=new WeakMap;function lE({children:n}){const i=_a(),o=li(i.sessions.provideInfo)(l=>l);return h.jsxDEV(Hm.Provider,{value:o,children:n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/session-provider.tsx",lineNumber:129,columnNumber:5},this)}function X8({empty:n,children:i}){const o=_a(),l=li(o.sessions.provideInfo)(d=>d),c=l.sessionId;return c===void 0?h.jsxDEV(h.Fragment,{children:(n==null?void 0:n())??null},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/session-provider.tsx",lineNumber:154,columnNumber:32},this):h.jsxDEV(Hm.Provider,{value:l,children:i(c)},c,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/session-provider.tsx",lineNumber:156,columnNumber:5},this)}const _2=new WeakMap;function uE(n,i){let o=_2.get(i);return o||(o=(l,c,d)=>{var v;if(!n.isLive(i))throw new E1(`renderSlot('${l}') from a disposed registration`);const f=(v=i.children)==null?void 0:v[l];if(f===void 0)throw new Ao(`slot '${l}' is not declared by this entry's children`);if(f.kind==="chain")throw new Ao(`slot '${l}' is declared 'chain' — use renderSlotChain`);return h.jsxDEV(B8,{slotKey:l,ownerProps:c,opts:d},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:54,columnNumber:14},this)},_2.set(i,o)),o}const T2=new WeakMap;function cE(n,i){let o=T2.get(i);return o||(o=(l,c,d)=>{var v;if(!n.isLive(i))throw new E1(`renderSlotChain('${l}') from a disposed registration`);const f=(v=i.children)==null?void 0:v[l];if(f===void 0)throw new Ao(`slot '${l}' is not declared by this entry's children`);if(f.kind!=="chain")throw new Ao(`slot '${l}' is declared '${f.kind}', not 'chain' — use renderSlot`);return h.jsxDEV(B8,{slotKey:l,ownerProps:c,opts:d},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:83,columnNumber:14},this)},T2.set(i,o)),o}const L2=new WeakMap,O2=new WeakMap,K2=new WeakMap,U8={};function $m(n,i,o){const l=n.inject;if(!l)return U8;const c=[];return i!==void 0&&c.push(i.sessionId),o!==void 0&&c.push(o),fE(l(...c))}function fE(n){var d;const i=n.hooks;if(i===void 0)return n;const{hooks:o,...l}=n,c=l;for(const[f,v]of Object.entries(i)){const x=`use${((d=f[0])==null?void 0:d.toUpperCase())??""}${f.slice(1)}`;c[x]=li(v)}return c}const Gh=new WeakMap,V8={props:U8};function dE(n){var v;if(n===void 0)return V8;let i=Gh.get(n);if(i!==void 0)return i;const o=n.hooks;if(o===void 0)return i={props:n},Gh.set(n,i),i;const{hooks:l,...c}=n,d=c;let f;for(const[x,b]of Object.entries(o)){const N=`use${((v=x[0])==null?void 0:v.toUpperCase())??""}${x.slice(1)}`;typeof b=="function"?(f??(f={}),f[x]=b):d[N]=li(b)}return i=f===void 0?{props:d}:{props:d,slotHookFactories:f},Gh.set(n,i),i}function pE(n,i,o){var c;const l={};for(const[d,f]of Object.entries(n)){const v=`use${((c=d[0])==null?void 0:c.toUpperCase())??""}${d.slice(1)}`;l[v]=f(i,o)}return l}function hE(n,i){let o=L2.get(n);return o||(o=$m(n,void 0,i),L2.set(n,o)),o}function mE(n,i,o){let l=O2.get(n);l||(l=new WeakMap,O2.set(n,l));let c=l.get(i);return c||(c=$m(n,i,o),l.set(i,c)),c}function vE(n,i,o){let l=K2.get(n);l||(l=new WeakMap,K2.set(n,l));let c=l.get(i);return c||(c=$m(n,i,o),l.set(i,c)),c}const j2=new WeakMap;function gE(n,i){let o=j2.get(n);o||(o=new Map,j2.set(n,o));const l=n.getSnapshot().revision,c=o.get(i);if(c&&c.revision===l)return c.t;const d=n.bind(i),f=(v,x)=>d(v,x);return o.set(i,{revision:l,t:f}),f}const yE=()=>()=>{},bE=()=>0,X2=new WeakMap;function CE(n){let i=X2.get(n);return i||(i={subscribe:o=>n.subscribe(o),getRevision:()=>n.getSnapshot().revision},X2.set(n,i)),i}function M8(n){const i=n!==void 0?CE(n):void 0;return H.useSyncExternalStore((i==null?void 0:i.subscribe)??yE,(i==null?void 0:i.getRevision)??bE)}let xE=0;const U2=new WeakMap;function Mu(n){let i=U2.get(n);return i===void 0&&(i=xE++,U2.set(n,i)),i}class Fm extends H.Component{constructor(){super(...arguments);P(this,"state",{failed:!1})}static getDerivedStateFromError(o){if(o instanceof ls)throw o;return{failed:!0}}componentDidCatch(o){console.error(`slot entry crashed in '${this.props.slotKey}':`,o),this.props.onEntryError(o)}render(){return this.state.failed?h.jsxDEV("div",{"data-slot-error":this.props.slotKey},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:330,columnNumber:35},this):this.props.children}}const V2=new WeakMap;function RE(n,i,o){var f;let l=V2.get(n);if(l===void 0&&(l={root:{useSessions:li(n.sessions.list),useWorkspaces:li(n.workspaces.list)},session:new WeakMap,sessionMaybe:new WeakMap},V2.set(n,l)),i==="root")return l.root;if(o===void 0)throw new ls(`scope '${i}' rendered without session provide info`);const c=i==="session"?l.session:l.sessionMaybe;let d=c.get(o);if(d!==void 0)return d;d={...l.root};for(const[v,x]of Object.entries(o.hooks)){const b=`use${((f=v[0])==null?void 0:f.toUpperCase())??""}${v.slice(1)}`;if(i==="session-maybe")d[b]=sE(x);else{if(x===void 0)throw new ls(`strict session hook '${v}' has no source`);d[b]=li(x)}}return Object.assign(d,o.props),d.sessionId=o.sessionId,d.useProjection=oE(o),c.set(o,d),d}function zm(n,i,o,l){const c=RE(n,o,l),d={...c};if(i.locale!==void 0){const v=n.locale;if(v===void 0)throw new ls(`entry declares locale namespace '${i.locale}' but no locale face is installed (locale plugin missing from the composition?)`);d.t=gE(v,i.locale)}const f=o==="session-maybe"&&(l==null?void 0:l.sessionId)===void 0?void 0:n.storeOf(i,l==null?void 0:l.sessionId);return f!==void 0&&(d.useStore=li(f),d.actions=f.actions),i.children!==void 0&&(d.renderSlot=uE(n,i),Object.values(i.children).some(v=>v.kind==="chain")&&(d.renderSlotChain=cE(n,i)),Object.values(i.children).some(v=>v.scope==="session")&&(d.SessionProvider=X8)),{kit:d,standard:c,actions:f==null?void 0:f.actions}}function wE({slotKey:n,Comp:i,kit:o,standard:l,injected:c,slotInjected:d,ownerProps:f,hookContext:v,hasHookContext:x}){const b=H.useMemo(()=>{if(!x)throw new ls(`slot '${n}' has contextual injected Hooks but no hookContext`);return pE(d.slotHookFactories,l,v)},[x,v,d.slotHookFactories,n,l]);return h.jsxDEV(i,{...o,...c,...d.props,...b,...f},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:470,columnNumber:10},this)}function Pm(n,i,o,l,c,d,f,v,x){return d.slotHookFactories===void 0?h.jsxDEV(i,{...o,...c,...d.props,...f},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:485,columnNumber:12},this):h.jsxDEV(wE,{slotKey:n,Comp:i,kit:o,standard:l,injected:c,slotInjected:d,ownerProps:f,hookContext:v,hasHookContext:x},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:488,columnNumber:5},this)}function NE({entry:n,ownerProps:i,info:o,slotKey:l,slotInjected:c,hookContext:d,hasHookContext:f}){const v=_a(),x=n.component,{kit:b,standard:N,actions:S}=zm(v,n,"session",o),E=mE(n,o,S);return Pm(l,x,b,N,E,c,i,d,f)}function kE({entry:n,ownerProps:i,info:o,slotKey:l,slotInjected:c,hookContext:d,hasHookContext:f}){const v=_a(),x=n.component,{kit:b,standard:N,actions:S}=zm(v,n,"session-maybe",o),E=vE(n,o,S);return Pm(l,x,b,N,E,c,i,d,f)}function EE({entry:n,ownerProps:i,slotKey:o,slotInjected:l,hookContext:c,hasHookContext:d}){const f=Bm(),[v,x]=H.useState(DE);let{adopted:b,epoch:N}=v;return f.sessionId!==void 0&&b===void 0?(b=f.sessionId,x({adopted:b,epoch:N})):b!==void 0&&f.sessionId!==void 0&&f.sessionId!==b?(b=f.sessionId,N+=1,x({adopted:b,epoch:N})):b!==void 0&&f.sessionId===void 0&&(b=void 0,N+=1,x({adopted:b,epoch:N})),h.jsxDEV(kE,{entry:n,ownerProps:i,info:f,slotKey:o,slotInjected:l,hookContext:c,hasHookContext:d},N,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:580,columnNumber:5},this)}const DE={adopted:void 0,epoch:0};function A8({entry:n,ownerProps:i,slotKey:o,slotInjected:l,hookContext:c,hasHookContext:d}){const f=_a(),v=n.component,{kit:x,standard:b,actions:N}=zm(f,n,"root",void 0),S=hE(n,N);return Pm(o,v,x,b,S,l,i,c,d)}function SE({slotKey:n,entry:i,ownerProps:o,slotInjected:l,hookContext:c,hasHookContext:d,onEntryError:f}){const v=Bm();return v.sessionId===void 0?null:h.jsxDEV(Fm,{slotKey:n,onEntryError:f,children:h.jsxDEV(NE,{entry:i,ownerProps:o,info:v,slotKey:n,slotInjected:l,hookContext:c,hasHookContext:d},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:633,columnNumber:7},this)},v.sessionId,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:632,columnNumber:5},this)}const H8={display:"contents"};function B8({slotKey:n,ownerProps:i,opts:o}){const l=_a();H.useSyncExternalStore(d=>l.subscribe(n,d),()=>l.getVersion(n)),M8(l.locale);const c=Bm();return h.jsxDEV("div",{"data-slot":n,style:H8,children:_E(l,n,i,o,c)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:676,columnNumber:5},this)}function _E(n,i,o,l,c){const d=n.specOf(i);if(!d)return null;const f=d.scope==="session"&&c.sessionId===void 0;if(f&&(d.kind!=="chain"||!(l!=null&&l.overlay)))return h.jsxDEV(h.Fragment,{children:(l==null?void 0:l.fallback)??null},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:697,columnNumber:12},this);const v=f?[]:n.entriesOf(i),x=dE(d.inject),b=(V,J,te=o)=>{const Y=l!==void 0&&Object.hasOwn(l,"hookContext"),I=l==null?void 0:l.hookContext,oe=Z=>{n.reportEntryError(i,V,Z,{abdicate:d.kind!=="chain"})};return d.scope==="session"?h.jsxDEV(SE,{slotKey:i,entry:V,ownerProps:te,slotInjected:x,hookContext:I,hasHookContext:Y,onEntryError:oe},J,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:719,columnNumber:9},this):h.jsxDEV(Fm,{slotKey:i,onEntryError:oe,children:d.scope==="session-maybe"?h.jsxDEV(EE,{entry:V,ownerProps:te,slotKey:i,slotInjected:x,hookContext:I,hasHookContext:Y},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:734,columnNumber:15},this):h.jsxDEV(A8,{entry:V,ownerProps:te,slotKey:i,slotInjected:x,hookContext:I,hasHookContext:Y},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:744,columnNumber:15},this)},J,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:731,columnNumber:9},this)},N=()=>h.jsxDEV("div",{"data-slot-error":i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:759,columnNumber:26},this);if(d.kind==="single"){const V=n.entriesOfSlot(i)[0];return V?b(V,Mu(V)):v.length>0?N():h.jsxDEV(h.Fragment,{children:(l==null?void 0:l.fallback)??null},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:763,columnNumber:58},this)}if(d.kind==="keyed"){const V=n.entriesOfSlot(i).find(J=>J.options.key===(l==null?void 0:l.entryKey));return V?b(V,Mu(V)):v.some(te=>te.options.key===(l==null?void 0:l.entryKey))?N():h.jsxDEV(h.Fragment,{children:(l==null?void 0:l.fallback)??null},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:770,columnNumber:38},this)}if(d.kind==="chain"){let V=null;for(const J of v){let te;try{te=J.select(o)}catch(Y){console.error(`chain selector crashed in '${i}' (${J.registrant??"unknown registrant"}), treating as declined:`,Y);continue}if(te!==null){V=b(J,Mu(J),{...o,matched:te});break}}return l!=null&&l.overlay?h.jsxDEV(h.Fragment,{children:[h.jsxDEV("div",{"data-chain-overlay-fallback":i,style:{display:V===null?"contents":"none"},children:l.fallback??null},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:810,columnNumber:11},this),V]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:809,columnNumber:9},this):V??h.jsxDEV(h.Fragment,{children:(l==null?void 0:l.fallback)??null},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:820,columnNumber:23},this)}const E=n.entriesOfSlot(i).map(V=>({entry:V,id:V.options.id,order:V.options.order??0})),k=new Set(E.map(V=>V.id));for(const V of v)k.has(V.options.id)||(k.add(V.options.id),E.push({entry:void 0,id:V.options.id,order:V.options.order??0}));let T=[...E].sort((V,J)=>V.order-J.order);return(l==null?void 0:l.only)!==void 0&&(T=T.filter(V=>V.id===l.only)),T.length===0?h.jsxDEV(h.Fragment,{children:(l==null?void 0:l.fallback)??null},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:841,columnNumber:33},this):h.jsxDEV(h.Fragment,{children:T.map((V,J)=>V.entry!==void 0?b(V.entry,`e${Mu(V.entry)}`):h.jsxDEV("div",{"data-slot-error":i},`x${V.id??J}`,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:848,columnNumber:11},this))},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:845,columnNumber:5},this)}function TE({ownerProps:n}){const i=_a();H.useSyncExternalStore(l=>i.subscribe("root",l),()=>i.getVersion("root")),M8(i.locale);const o=i.entriesOfSlot("root")[0];if(!o){if(i.entriesOf("root").length>0)return h.jsxDEV("div",{"data-slot-error":"root"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:866,columnNumber:51},this);throw new ls("renderSlot('root') before any 'root' registration (boot order)")}return h.jsxDEV("div",{"data-slot":"root",style:H8,children:h.jsxDEV(Fm,{slotKey:"root",onEntryError:l=>{i.reportEntryError("root",o,l,{abdicate:!0})},children:h.jsxDEV(A8,{entry:o,ownerProps:n,slotKey:"root",slotInjected:V8,hookContext:void 0,hasHookContext:!1},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:878,columnNumber:9},this)},Mu(o),!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:873,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:872,columnNumber:5},this)}function $8(){return{renderRoot(n,i){return h.jsxDEV(K8.Provider,{value:n,children:h.jsxDEV(lE,{children:h.jsxDEV(TE,{ownerProps:i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:903,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:902,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web-react/src/scoped-slots.tsx",lineNumber:901,columnNumber:9},this)}}}function LE(n){const i={inflight:0,listeners:new Set,fn:n,invoke:()=>{M2(i,1),i.fn().catch(o=>{console.error("useInvoke action failed:",o)}).finally(()=>{M2(i,-1)})},subscribe:o=>(i.listeners.add(o),()=>{i.listeners.delete(o)}),getPending:()=>i.inflight>0};return i}function M2(n,i){const o=n.inflight>0;if(n.inflight+=i,o!==n.inflight>0)for(const l of[...n.listeners])l()}function OE(n){const i=H.useRef(null);i.current??(i.current=LE(n));const o=i.current;o.fn=n;const l=H.useSyncExternalStore(o.subscribe,o.getPending);return[o.invoke,l]}const KE=Object.freeze(Object.defineProperty({__proto__:null,SessionProvider:X8,SlotAssemblyError:ls,SlotOwnershipError:Ao,StaleAuthorizationError:E1,bindSnapshotSelector:Am,createSlotRenderer:$8,useInvoke:OE},Symbol.toStringTag,{value:"Module"}));function jE({title:n}){const i=H.useRef(document.title);return H.useEffect(()=>(document.title=n===void 0?i.current:`${n} — ${i.current}`,()=>{document.title=i.current}),[n]),null}function XE(n){const{ctx:i}=n,o=i.get("sessions");if(o===void 0)throw new Error("shell assembly: sessions service unavailable");const l=Am(o.list),c=()=>{const d=l(f=>{var x;const v=f.current;return v===void 0||(x=f.byId[v])==null?void 0:x.title});return h.jsxDEV(jE,{...d===void 0?{}:{title:d}},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/app.tsx",lineNumber:36,columnNumber:12},this)};return()=>h.jsxDEV(h.Fragment,{children:[h.jsxDEV(c,{},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/app.tsx",lineNumber:40,columnNumber:7},this),i.slots.renderSlot("root",{})]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/app.tsx",lineNumber:39,columnNumber:5},this)}const wm="@xrkseek/client-app-shell",UE="app-shell",VE=["slots","sessions","layout"];function ME(n){n.slots.install($8());let i;n.reflect.provide("appShell",{renderApp:()=>(i??(i=XE({ctx:n})),i())})}const AE=Object.freeze(Object.defineProperty({__proto__:null,APP_SHELL_ID:wm,apply:ME,inject:VE,name:UE},Symbol.toStringTag,{value:"Module"})),HE="_boot_9gj4p_6",BE="_card_9gj4p_13",$E="_wordmark_9gj4p_20",FE="_hint_9gj4p_28",zE="_spinner_9gj4p_34",PE="_failed_9gj4p_47",IE="_failedTitle_9gj4p_54",ZE="_failedItem_9gj4p_61",ss={boot:HE,card:BE,wordmark:$E,hint:FE,spinner:zE,failed:PE,failedTitle:IE,failedItem:ZE};function qE(n){const i=H.useSyncExternalStore(n.settled.subscribe,n.settled.getSnapshot),o=H.useSyncExternalStore(n.status.subscribe,n.status.getSnapshot),l=H.useSyncExternalStore(n.error.subscribe,n.error.getSnapshot),c=Object.entries(o).filter(([,f])=>f==="failed");if(i)return h.jsxDEV(h.Fragment,{children:n.renderApp()},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:35,columnNumber:23},this);const d=l!==void 0||c.length>0;return h.jsxDEV("div",{className:ss.boot,children:h.jsxDEV("div",{className:ss.card,children:[h.jsxDEV("div",{className:ss.wordmark,children:"HARNESS"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:42,columnNumber:9},this),d?h.jsxDEV("div",{className:ss.failed,children:[h.jsxDEV("div",{className:ss.failedTitle,children:"Failed to load plugins"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:52,columnNumber:15},this),c.map(([f])=>h.jsxDEV("div",{className:ss.failedItem,children:f},f,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:53,columnNumber:37},this)),l!==void 0&&h.jsxDEV("div",{className:ss.failedItem,children:l},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:54,columnNumber:39},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:51,columnNumber:13},this):h.jsxDEV(h.Fragment,{children:[h.jsxDEV("div",{className:ss.spinner},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:46,columnNumber:15},this),h.jsxDEV("div",{className:ss.hint,children:"Loading plugins…"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:47,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:45,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:41,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/AppRoot.tsx",lineNumber:40,columnNumber:5},this)}var Qh={exports:{}},Ku={},A2;function WE(){if(A2)return Ku;A2=1;/**
|
|
237
|
+
* @license React
|
|
238
|
+
* react-jsx-runtime.development.js
|
|
239
|
+
*
|
|
240
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
241
|
+
*
|
|
242
|
+
* This source code is licensed under the MIT license found in the
|
|
243
|
+
* LICENSE file in the root directory of this source tree.
|
|
244
|
+
*/return(function(){var n=Ho(),i=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),v=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),T=Symbol.iterator,V="@@iterator";function J(w){if(w===null||typeof w!="object")return null;var X=T&&w[T]||w[V];return typeof X=="function"?X:null}var te=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Y(w){{for(var X=arguments.length,Q=new Array(X>1?X-1:0),ae=1;ae<X;ae++)Q[ae-1]=arguments[ae];I("error",w,Q)}}function I(w,X,Q){{var ae=te.ReactDebugCurrentFrame,ye=ae.getStackAddendum();ye!==""&&(X+="%s",Q=Q.concat([ye]));var fe=Q.map(function(Ke){return String(Ke)});fe.unshift("Warning: "+X),Function.prototype.apply.call(console[w],console,fe)}}var oe=!1,Z=!1,q=!1,G=!1,ge=!1,B;B=Symbol.for("react.module.reference");function ue(w){return!!(typeof w=="string"||typeof w=="function"||w===l||w===d||ge||w===c||w===b||w===N||G||w===k||oe||Z||q||typeof w=="object"&&w!==null&&(w.$$typeof===E||w.$$typeof===S||w.$$typeof===f||w.$$typeof===v||w.$$typeof===x||w.$$typeof===B||w.getModuleId!==void 0))}function ie(w,X,Q){var ae=w.displayName;if(ae)return ae;var ye=X.displayName||X.name||"";return ye!==""?Q+"("+ye+")":Q}function me(w){return w.displayName||"Context"}function ne(w){if(w==null)return null;if(typeof w.tag=="number"&&Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case l:return"Fragment";case o:return"Portal";case d:return"Profiler";case c:return"StrictMode";case b:return"Suspense";case N:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case v:var X=w;return me(X)+".Consumer";case f:var Q=w;return me(Q._context)+".Provider";case x:return ie(w,w.render,"ForwardRef");case S:var ae=w.displayName||null;return ae!==null?ae:ne(w.type)||"Memo";case E:{var ye=w,fe=ye._payload,Ke=ye._init;try{return ne(Ke(fe))}catch{return null}}}return null}var we=Object.assign,Ne=0,Ie,Le,bt,Tt,Lt,Zt,ke;function rt(){}rt.__reactDisabledLog=!0;function Ct(){{if(Ne===0){Ie=console.log,Le=console.info,bt=console.warn,Tt=console.error,Lt=console.group,Zt=console.groupCollapsed,ke=console.groupEnd;var w={configurable:!0,enumerable:!0,value:rt,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}Ne++}}function cn(){{if(Ne--,Ne===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:we({},w,{value:Ie}),info:we({},w,{value:Le}),warn:we({},w,{value:bt}),error:we({},w,{value:Tt}),group:we({},w,{value:Lt}),groupCollapsed:we({},w,{value:Zt}),groupEnd:we({},w,{value:ke})})}Ne<0&&Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fn=te.ReactCurrentDispatcher,qt;function hr(w,X,Q){{if(qt===void 0)try{throw Error()}catch(ye){var ae=ye.stack.trim().match(/\n( *(at )?)/);qt=ae&&ae[1]||""}return`
|
|
245
|
+
`+qt+w}}var Wt=!1,Ft;{var sr=typeof WeakMap=="function"?WeakMap:Map;Ft=new sr}function wr(w,X){if(!w||Wt)return"";{var Q=Ft.get(w);if(Q!==void 0)return Q}var ae;Wt=!0;var ye=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var fe;fe=fn.current,fn.current=null,Ct();try{if(X){var Ke=function(){throw Error()};if(Object.defineProperty(Ke.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ke,[])}catch(Et){ae=Et}Reflect.construct(w,[],Ke)}else{try{Ke.call()}catch(Et){ae=Et}w.call(Ke.prototype)}}else{try{throw Error()}catch(Et){ae=Et}w()}}catch(Et){if(Et&&ae&&typeof Et.stack=="string"){for(var Se=Et.stack.split(`
|
|
246
|
+
`),qe=ae.stack.split(`
|
|
247
|
+
`),Je=Se.length-1,dt=qe.length-1;Je>=1&&dt>=0&&Se[Je]!==qe[dt];)dt--;for(;Je>=1&&dt>=0;Je--,dt--)if(Se[Je]!==qe[dt]){if(Je!==1||dt!==1)do if(Je--,dt--,dt<0||Se[Je]!==qe[dt]){var Ut=`
|
|
248
|
+
`+Se[Je].replace(" at new "," at ");return w.displayName&&Ut.includes("<anonymous>")&&(Ut=Ut.replace("<anonymous>",w.displayName)),typeof w=="function"&&Ft.set(w,Ut),Ut}while(Je>=1&&dt>=0);break}}}finally{Wt=!1,fn.current=fe,cn(),Error.prepareStackTrace=ye}var kt=w?w.displayName||w.name:"",Jr=kt?hr(kt):"";return typeof w=="function"&&Ft.set(w,Jr),Jr}function Gt(w,X,Q){return wr(w,!1)}function Nr(w){var X=w.prototype;return!!(X&&X.isReactComponent)}function Ht(w,X,Q){if(w==null)return"";if(typeof w=="function")return wr(w,Nr(w));if(typeof w=="string")return hr(w);switch(w){case b:return hr("Suspense");case N:return hr("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case x:return Gt(w.render);case S:return Ht(w.type,X,Q);case E:{var ae=w,ye=ae._payload,fe=ae._init;try{return Ht(fe(ye),X,Q)}catch{}}}return""}var Xt=Object.prototype.hasOwnProperty,Ir={},On=te.ReactDebugCurrentFrame;function Ur(w){if(w){var X=w._owner,Q=Ht(w.type,w._source,X?X.type:null);On.setExtraStackFrame(Q)}else On.setExtraStackFrame(null)}function Vr(w,X,Q,ae,ye){{var fe=Function.call.bind(Xt);for(var Ke in w)if(fe(w,Ke)){var Se=void 0;try{if(typeof w[Ke]!="function"){var qe=Error((ae||"React class")+": "+Q+" type `"+Ke+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof w[Ke]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw qe.name="Invariant Violation",qe}Se=w[Ke](X,Ke,ae,Q,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Je){Se=Je}Se&&!(Se instanceof Error)&&(Ur(ye),Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ae||"React class",Q,Ke,typeof Se),Ur(null)),Se instanceof Error&&!(Se.message in Ir)&&(Ir[Se.message]=!0,Ur(ye),Y("Failed %s type: %s",Q,Se.message),Ur(null))}}}var mr=Array.isArray;function Yt(w){return mr(w)}function kr(w){{var X=typeof Symbol=="function"&&Symbol.toStringTag,Q=X&&w[Symbol.toStringTag]||w.constructor.name||"Object";return Q}}function Kn(w){try{return zt(w),!1}catch{return!0}}function zt(w){return""+w}function vr(w){if(Kn(w))return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kr(w)),zt(w)}var Er=te.ReactCurrentOwner,ui={key:!0,ref:!0,__self:!0,__source:!0},jn,de;function Te(w){if(Xt.call(w,"ref")){var X=Object.getOwnPropertyDescriptor(w,"ref").get;if(X&&X.isReactWarning)return!1}return w.ref!==void 0}function Pe(w){if(Xt.call(w,"key")){var X=Object.getOwnPropertyDescriptor(w,"key").get;if(X&&X.isReactWarning)return!1}return w.key!==void 0}function ct(w,X){typeof w.ref=="string"&&Er.current}function Rt(w,X){{var Q=function(){jn||(jn=!0,Y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",X))};Q.isReactWarning=!0,Object.defineProperty(w,"key",{get:Q,configurable:!0})}}function Ot(w,X){{var Q=function(){de||(de=!0,Y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",X))};Q.isReactWarning=!0,Object.defineProperty(w,"ref",{get:Q,configurable:!0})}}var Kt=function(w,X,Q,ae,ye,fe,Ke){var Se={$$typeof:i,type:w,key:X,ref:Q,props:Ke,_owner:fe};return Se._store={},Object.defineProperty(Se._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Se,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ae}),Object.defineProperty(Se,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ye}),Object.freeze&&(Object.freeze(Se.props),Object.freeze(Se)),Se};function gr(w,X,Q,ae,ye){{var fe,Ke={},Se=null,qe=null;Q!==void 0&&(vr(Q),Se=""+Q),Pe(X)&&(vr(X.key),Se=""+X.key),Te(X)&&(qe=X.ref,ct(X,ye));for(fe in X)Xt.call(X,fe)&&!ui.hasOwnProperty(fe)&&(Ke[fe]=X[fe]);if(w&&w.defaultProps){var Je=w.defaultProps;for(fe in Je)Ke[fe]===void 0&&(Ke[fe]=Je[fe])}if(Se||qe){var dt=typeof w=="function"?w.displayName||w.name||"Unknown":w;Se&&Rt(Ke,dt),qe&&Ot(Ke,dt)}return Kt(w,Se,qe,ye,ae,Er.current,Ke)}}var Nt=te.ReactCurrentOwner,ht=te.ReactDebugCurrentFrame;function xt(w){if(w){var X=w._owner,Q=Ht(w.type,w._source,X?X.type:null);ht.setExtraStackFrame(Q)}else ht.setExtraStackFrame(null)}var Zr;Zr=!1;function qr(w){return typeof w=="object"&&w!==null&&w.$$typeof===i}function Wr(){{if(Nt.current){var w=ne(Nt.current.type);if(w)return`
|
|
249
|
+
|
|
250
|
+
Check the render method of \``+w+"`."}return""}}function Pn(w){return""}var cs={};function _i(w){{var X=Wr();if(!X){var Q=typeof w=="string"?w:w.displayName||w.name;Q&&(X=`
|
|
251
|
+
|
|
252
|
+
Check the top-level render call using <`+Q+">.")}return X}}function Ti(w,X){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var Q=_i(X);if(cs[Q])return;cs[Q]=!0;var ae="";w&&w._owner&&w._owner!==Nt.current&&(ae=" It was passed a child from "+ne(w._owner.type)+"."),xt(w),Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Q,ae),xt(null)}}function Li(w,X){{if(typeof w!="object")return;if(Yt(w))for(var Q=0;Q<w.length;Q++){var ae=w[Q];qr(ae)&&Ti(ae,X)}else if(qr(w))w._store&&(w._store.validated=!0);else if(w){var ye=J(w);if(typeof ye=="function"&&ye!==w.entries)for(var fe=ye.call(w),Ke;!(Ke=fe.next()).done;)qr(Ke.value)&&Ti(Ke.value,X)}}}function Oi(w){{var X=w.type;if(X==null||typeof X=="string")return;var Q;if(typeof X=="function")Q=X.propTypes;else if(typeof X=="object"&&(X.$$typeof===x||X.$$typeof===S))Q=X.propTypes;else return;if(Q){var ae=ne(X);Vr(Q,w.props,"prop",ae,w)}else if(X.PropTypes!==void 0&&!Zr){Zr=!0;var ye=ne(X);Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ye||"Unknown")}typeof X.getDefaultProps=="function"&&!X.getDefaultProps.isReactClassApproved&&Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function bn(w){{for(var X=Object.keys(w.props),Q=0;Q<X.length;Q++){var ae=X[Q];if(ae!=="children"&&ae!=="key"){xt(w),Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ae),xt(null);break}}w.ref!==null&&(xt(w),Y("Invalid attribute `ref` supplied to `React.Fragment`."),xt(null))}}var Yr={};function Mr(w,X,Q,ae,ye,fe){{var Ke=ue(w);if(!Ke){var Se="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(Se+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var qe=Pn();qe?Se+=qe:Se+=Wr();var Je;w===null?Je="null":Yt(w)?Je="array":w!==void 0&&w.$$typeof===i?(Je="<"+(ne(w.type)||"Unknown")+" />",Se=" Did you accidentally export a JSX literal instead of a component?"):Je=typeof w,Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Je,Se)}var dt=gr(w,X,Q,ye,fe);if(dt==null)return dt;if(Ke){var Ut=X.children;if(Ut!==void 0)if(ae)if(Yt(Ut)){for(var kt=0;kt<Ut.length;kt++)Li(Ut[kt],w);Object.freeze&&Object.freeze(Ut)}else Y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Li(Ut,w)}if(Xt.call(X,"key")){var Jr=ne(w),Et=Object.keys(X).filter(function(Ta){return Ta!=="key"}),ze=Et.length>0?"{key: someKey, "+Et.join(": ..., ")+": ...}":"{key: someKey}";if(!Yr[Jr+ze]){var ji=Et.length>0?"{"+Et.join(": ..., ")+": ...}":"{}";Y(`A props object containing a "key" prop is being spread into JSX:
|
|
253
|
+
let props = %s;
|
|
254
|
+
<%s {...props} />
|
|
255
|
+
React keys must be passed directly to JSX without using spread:
|
|
256
|
+
let props = %s;
|
|
257
|
+
<%s key={someKey} {...props} />`,ze,Jr,ji,Jr),Yr[Jr+ze]=!0}}return w===l?bn(dt):Oi(dt),dt}}function Xn(w,X,Q){return Mr(w,X,Q,!0)}function Ki(w,X,Q){return Mr(w,X,Q,!1)}var _=Ki,re=Xn;Ku.Fragment=l,Ku.jsx=_,Ku.jsxs=re})(),Ku}var H2;function YE(){return H2||(H2=1,Qh.exports=WE()),Qh.exports}var F8=YE();const JE=Iu(F8),GE=x1({__proto__:null,default:JE},[F8]);var us=T8();const QE=Iu(us),eD=x1({__proto__:null,default:QE},[us]);function z8(n){var i,o,l="";if(typeof n=="string"||typeof n=="number")l+=n;else if(typeof n=="object")if(Array.isArray(n)){var c=n.length;for(i=0;i<c;i++)n[i]&&(o=z8(n[i]))&&(l&&(l+=" "),l+=o)}else for(o in n)n[o]&&(l&&(l+=" "),l+=o);return l}function it(){for(var n,i,o=0,l="",c=arguments.length;o<c;o++)(n=arguments[o])&&(i=z8(n))&&(l&&(l+=" "),l+=i);return l}const tD="_dot_10orb_3",rD="_matrix_10orb_4",nD="_cell_10orb_54",em={dot:tD,matrix:rD,cell:nD},B2=[[0,0],[4,0],[8,0],[8,4],[8,8],[4,8],[0,8],[0,4]];function P8({state:n,size:i=10,className:o}){return n==="ongoing"?h.jsxDEV("svg",{className:it(em.matrix,o),"data-state":"ongoing",width:i,height:i,viewBox:"0 0 10 10",shapeRendering:"crispEdges","aria-hidden":"true",children:B2.map(([l,c],d)=>h.jsxDEV("rect",{className:em.cell,x:l,y:c,width:"2",height:"2",style:{animationDelay:`${(d-B2.length)*125}ms`}},`${l}-${c}`,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/StateDot.tsx",lineNumber:41,columnNumber:11},this))},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/StateDot.tsx",lineNumber:31,columnNumber:7},this):h.jsxDEV("span",{className:it(em.dot,o),"data-state":n,style:{width:i,height:i},"aria-hidden":"true"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/StateDot.tsx",lineNumber:56,columnNumber:5},this)}const iD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M8.00003 0.3237C3.76075 0.3237 0.32373 3.76072 0.32373 8C0.32373 9.17603 0.589121 10.2922 1.0632 11.2901L1.35291 11.8989L2.5705 11.3205L2.28079 10.7117C1.89079 9.89074 1.67301 8.97167 1.67301 8C1.67301 4.50546 4.50549 1.67298 8.00003 1.67298C11.4946 1.67298 14.3271 4.50546 14.3271 8C14.3271 11.4945 11.4946 14.327 8.00003 14.327C7.28473 14.327 6.76077 14.277 6.29621 14.1487C5.83857 14.0224 5.40441 13.8109 4.88514 13.4488C4.12569 12.919 3.03778 12.7316 2.141 13.2978L2.12682 13.307L2.11264 13.3171L1.34886 13.854L1.79659 15.188L2.86122 14.4384C3.19068 14.2305 3.68325 14.2542 4.11326 14.5539C4.72789 14.9826 5.30042 15.2724 5.93762 15.4484C6.56803 15.6224 7.22776 15.6763 8.00003 15.6763C12.2393 15.6763 15.6763 12.2393 15.6763 8C15.6763 3.76072 12.2393 0.3237 8.00003 0.3237ZM7.32033 4.82535V7.32536H4.82538V8.67464H7.32033V11.1747H8.6696V8.67464H11.1747V7.32536H8.6696V4.82535H7.32033Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:13,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:12,columnNumber:3},void 0),sD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M11.894845 6.647401C11.894845 3.725463 9.534486 1.356779 6.623219 1.35657C3.711786 1.35657 1.351635 3.725338 1.351635 6.647401C1.351843 9.569296 3.711911 11.938273 6.623219 11.938273C9.534361 11.938064 11.894637 9.569171 11.894845 6.647401ZM13.245462 6.647401C13.245254 10.317935 10.280401 13.293613 6.623219 13.293821C2.965871 13.293821 0.000204 10.31806 0 6.647401C0 2.976574 2.965746 0 6.623219 0C10.280526 0.000205 13.245462 2.9767 13.245462 6.647401Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:23,columnNumber:5},void 0),h.jsxDEV("path",{d:"M16.000417 15.041079L15.044449 16.000433L11.530434 12.473588L12.486298 11.514234L16.000417 15.041079Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:27,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:22,columnNumber:3},void 0),aD=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00018 0.353516C10.6708 0.353535 13.6468 3.32958 13.6469 7.00018C13.6468 10.6708 10.6708 13.6468 7.00018 13.6469C3.32957 13.6468 0.353535 10.6708 0.353516 7.00018C0.353535 3.32957 3.32957 0.353531 7.00018 0.353516ZM5.44643 7.59661C5.49463 8.97506 5.70762 10.191 6.02136 11.0793C6.20141 11.5891 6.40328 11.9585 6.59898 12.1889C6.79501 12.4196 6.93213 12.454 7.00018 12.454C7.06822 12.454 7.20533 12.4197 7.40138 12.1889C7.59708 11.9585 7.79895 11.589 7.979 11.0793C8.29274 10.191 8.50574 8.97506 8.55394 7.59661H5.44643ZM1.57861 7.59661C1.80785 9.70467 3.2386 11.4509 5.1715 12.1388C5.07135 11.9317 4.97972 11.7098 4.89746 11.477C4.53084 10.4391 4.30224 9.0828 4.25357 7.59661H1.57861ZM9.74679 7.59661C9.69813 9.0828 9.46952 10.4391 9.1029 11.477C9.0206 11.7099 8.92818 11.9316 8.82797 12.1388C10.7613 11.4511 12.1925 9.70496 12.4218 7.59661H9.74679ZM5.1706 1.8616C3.23814 2.54963 1.80876 4.29604 1.5795 6.40376H4.25357C4.30224 4.91756 4.53083 3.56129 4.89746 2.5234C4.97968 2.29066 5.07051 2.0686 5.1706 1.8616ZM7.00018 1.54637C6.93213 1.54638 6.79503 1.5807 6.59898 1.81145C6.40332 2.04177 6.20139 2.41058 6.02136 2.92012C5.70754 3.80851 5.49461 5.02499 5.44643 6.40376H8.55394C8.50575 5.025 8.29282 3.80851 7.979 2.92012C7.79898 2.41059 7.59705 2.04177 7.40138 1.81145C7.20531 1.58067 7.06823 1.54637 7.00018 1.54637ZM8.82887 1.8616C8.92902 2.0687 9.02064 2.29053 9.1029 2.5234C9.46953 3.56129 9.69812 4.91756 9.74679 6.40376H12.4209C12.1916 4.29575 10.7618 2.54943 8.82887 1.8616Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:37,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:36,columnNumber:3},void 0),oD=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("g",{clipPath:"url(#clip0_2580_121189)",children:[h.jsxDEV("path",{d:"M12.1192 4.91016C11.9392 4.52714 11.7007 4.1292 11.4483 3.78809C11.385 3.70258 11.3517 3.68409 11.2462 3.67383C10.7419 3.6248 10.2318 3.69454 9.72662 3.64551C9.29108 3.60318 8.93739 3.40341 8.67682 3.05176C8.38762 2.66127 8.19217 2.20926 7.90338 1.81934C7.83985 1.73359 7.80848 1.71542 7.70221 1.70508C7.24758 1.6609 6.7511 1.66104 6.29791 1.70508C6.19164 1.71542 6.16027 1.73359 6.09674 1.81934C5.80775 2.20954 5.61248 2.66131 5.3233 3.05176C5.06273 3.40341 4.70904 3.60318 4.2735 3.64551C3.76831 3.69454 3.25825 3.6248 2.75397 3.67383C2.6484 3.68409 2.61509 3.70258 2.55182 3.78809C2.30019 4.12814 2.06125 4.52646 1.88092 4.91016C1.83256 5.01309 1.83242 5.04912 1.88092 5.15235C2.07954 5.57482 2.37449 5.94529 2.5733 6.36817C2.76971 6.78606 2.76964 7.21293 2.5733 7.63086C2.37462 8.05374 2.07947 8.42453 1.88092 8.84668C1.83235 8.95004 1.83257 8.98695 1.88092 9.08985C2.06098 9.47285 2.2994 9.87079 2.55182 10.2119C2.61509 10.2974 2.6484 10.3159 2.75397 10.3262C3.25879 10.3753 3.76834 10.3055 4.2735 10.3545C4.70904 10.3968 5.06273 10.5966 5.3233 10.9482C5.6125 11.3387 5.80795 11.7907 6.09674 12.1807C6.16027 12.2664 6.19164 12.2846 6.29791 12.2949C6.7511 12.339 7.24758 12.3391 7.70221 12.2949C7.80848 12.2846 7.83985 12.2664 7.90338 12.1807C8.19237 11.7905 8.38764 11.3387 8.67682 10.9482C8.93739 10.5966 9.29108 10.3968 9.72662 10.3545C10.2318 10.3055 10.7419 10.3752 11.2462 10.3262C11.3517 10.3159 11.385 10.2974 11.4483 10.2119C11.7007 9.87079 11.9391 9.47285 12.1192 9.08985C12.1675 8.98695 12.1678 8.95004 12.1192 8.84668C11.9205 8.42428 11.6255 8.05377 11.4268 7.63086C11.2305 7.21293 11.2304 6.78606 11.4268 6.36817C11.6256 5.94531 11.9207 5.5746 12.1192 5.15235C12.1677 5.04912 12.1676 5.01309 12.1192 4.91016ZM13.2051 5.66309C13.0064 6.08573 12.7114 6.45579 12.5128 6.87793C12.4642 6.98123 12.4645 7.01829 12.5128 7.1211C12.7112 7.54328 13.0064 7.91405 13.2051 8.33692C13.4015 8.75487 13.4015 9.18169 13.2051 9.59961C12.9911 10.0551 12.7109 10.5221 12.4122 10.9258C12.1522 11.277 11.7974 11.4782 11.3624 11.5205C10.8573 11.5696 10.3477 11.4999 9.84283 11.5488C9.73621 11.5592 9.70429 11.5772 9.64069 11.6631C9.35229 12.0526 9.15705 12.5044 8.86823 12.8945C8.60854 13.2452 8.25275 13.447 7.81842 13.4893C7.28749 13.5409 6.71096 13.5407 6.1817 13.4893C5.74737 13.447 5.39158 13.2452 5.1319 12.8945C4.84312 12.5045 4.64808 12.0529 4.35944 11.6631C4.29583 11.5772 4.26392 11.5592 4.15729 11.5488C3.65283 11.5 3.14295 11.5696 2.63776 11.5205C2.20274 11.4782 1.84796 11.277 1.58795 10.9258C1.28834 10.5209 1.00864 10.0543 0.794982 9.59961C0.598644 9.18169 0.598598 8.75487 0.794982 8.33692C0.993688 7.91405 1.28889 7.54328 1.48737 7.1211C1.53567 7.01829 1.53593 6.98123 1.48737 6.87793C1.28887 6.45603 0.993667 6.08569 0.794982 5.66309C0.598535 5.24516 0.59869 4.81829 0.794982 4.40039C1.00898 3.94492 1.28922 3.47791 1.58795 3.07422C1.84796 2.723 2.20274 2.5218 2.63776 2.47949C3.14295 2.43038 3.65283 2.50003 4.15729 2.45117C4.26391 2.44081 4.29583 2.4228 4.35944 2.33692C4.64783 1.94742 4.84308 1.49557 5.1319 1.10547C5.39158 0.754835 5.74737 0.553005 6.1817 0.510744C6.71263 0.459147 7.28917 0.459309 7.81842 0.510744C8.25275 0.553005 8.60854 0.754835 8.86823 1.10547C9.157 1.49551 9.35204 1.94708 9.64069 2.33692C9.70429 2.4228 9.73621 2.44081 9.84283 2.45117C10.3477 2.50007 10.8573 2.43039 11.3624 2.47949C11.7974 2.5218 12.1522 2.723 12.4122 3.07422C12.7118 3.47909 12.9915 3.94567 13.2051 4.40039C13.4014 4.81829 13.4016 5.24516 13.2051 5.66309Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:50,columnNumber:7},void 0),h.jsxDEV("path",{d:"M7.9317 7C7.9317 6.48569 7.51438 6.06836 7.00006 6.06836C6.48575 6.06836 6.06842 6.48569 6.06842 7C6.06842 7.51432 6.48575 7.93164 7.00006 7.93164C7.51438 7.93164 7.9317 7.51432 7.9317 7ZM9.13092 7C9.13092 8.17706 8.17712 9.13086 7.00006 9.13086C5.823 9.13086 4.8692 8.17706 4.8692 7C4.8692 5.82294 5.823 4.86914 7.00006 4.86914C8.17712 4.86914 9.13092 5.82294 9.13092 7Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:54,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:49,columnNumber:5},void 0),h.jsxDEV("defs",{children:h.jsxDEV("clipPath",{id:"clip0_2580_121189",children:h.jsxDEV("rect",{width:14,height:14,fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:61,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:60,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:59,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:48,columnNumber:3},void 0),lD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("g",{clipPath:"url(#clip0_1450_63327)",children:[h.jsxDEV("path",{d:"M14.0861 5.51366C13.8717 5.0575 13.588 4.58542 13.2889 4.18108C13.208 4.07172 13.1596 4.04373 13.0243 4.03054C12.4277 3.97255 11.8245 4.05527 11.2269 3.9972C10.7224 3.94816 10.3133 3.71661 10.0115 3.30919C9.66986 2.84777 9.43973 2.31343 9.09824 1.85234C9.01771 1.74365 8.96805 1.71589 8.83354 1.70282C8.29432 1.65044 7.70402 1.65061 7.16656 1.70282C7.03205 1.71589 6.98239 1.74365 6.90186 1.85234C6.56067 2.31303 6.33025 2.84774 5.98855 3.30919C5.68681 3.71661 5.27774 3.94816 4.77317 3.9972C4.17564 4.05527 3.57239 3.97255 2.97585 4.03054C2.84046 4.04373 2.79208 4.07172 2.71115 4.18108C2.41212 4.58542 2.12835 5.0575 1.91403 5.51366C1.85299 5.64359 1.85286 5.7018 1.91403 5.8319C2.14865 6.33077 2.49748 6.76892 2.73237 7.26854C2.9594 7.7515 2.96041 8.24717 2.73338 8.73044C2.49837 9.23061 2.14891 9.66837 1.91403 10.1681C1.85291 10.2982 1.85299 10.3564 1.91403 10.4863C2.12856 10.9429 2.41185 11.4142 2.71115 11.8189C2.79208 11.9283 2.84046 11.9563 2.97585 11.9694C3.57239 12.0274 4.17564 11.9447 4.77317 12.0028C5.27774 12.0518 5.68681 12.2834 5.98855 12.6908C6.33024 13.1522 6.56037 13.6866 6.90186 14.1476C6.98239 14.2563 7.03205 14.2841 7.16656 14.2972C7.70402 14.3494 8.29432 14.3495 8.83354 14.2972C8.96805 14.2841 9.01771 14.2563 9.09824 14.1476C9.43944 13.687 9.66985 13.1522 10.0115 12.6908C10.3133 12.2834 10.7224 12.0518 11.2269 12.0028C11.8244 11.9447 12.4271 12.0275 13.0243 11.9694C13.1596 11.9563 13.208 11.9283 13.2889 11.8189C13.5891 11.4131 13.872 10.942 14.0861 10.4863C14.1471 10.3564 14.1472 10.2982 14.0861 10.1681C13.8513 9.66861 13.5017 9.23061 13.2667 8.73044C13.0397 8.24717 13.0407 7.7515 13.2677 7.26854C13.5026 6.7689 13.8513 6.33106 14.0861 5.8319C14.1472 5.7018 14.1471 5.64359 14.0861 5.51366ZM15.3035 6.40373C15.0685 6.90359 14.7188 7.34119 14.4841 7.84037C14.4231 7.97025 14.423 8.02855 14.4841 8.15861C14.7189 8.65833 15.0685 9.09611 15.3035 9.59626C15.5308 10.0801 15.5308 10.5744 15.3035 11.0582C15.052 11.5933 14.7225 12.1426 14.37 12.6191C14.0685 13.0265 13.6581 13.259 13.1536 13.3081C12.5566 13.366 11.9541 13.2835 11.3573 13.3414C11.2228 13.3545 11.1731 13.3823 11.0926 13.491C10.7511 13.9521 10.521 14.4864 10.1793 14.9478C9.87828 15.3542 9.46719 15.5869 8.96387 15.6358C8.34008 15.6964 7.66194 15.6966 7.03623 15.6358C6.53291 15.5869 6.12182 15.3542 5.82084 14.9478C5.47911 14.4863 5.24878 13.9517 4.90753 13.491C4.82701 13.3823 4.77734 13.3545 4.64284 13.3414C4.04647 13.2835 3.44373 13.366 2.84653 13.3081C2.34201 13.259 1.93164 13.0265 1.63013 12.6191C1.27867 12.144 0.948453 11.5941 0.696621 11.0582C0.469315 10.5744 0.469279 10.0801 0.696621 9.59626C0.931628 9.09613 1.2813 8.65807 1.51597 8.15861C1.57708 8.02855 1.57702 7.97025 1.51597 7.84037C1.28117 7.34095 0.931635 6.9036 0.696621 6.40373C0.469213 5.91992 0.469367 5.42562 0.696621 4.94183C0.948441 4.40587 1.27868 3.85598 1.63013 3.38092C1.93164 2.97349 2.34201 2.74095 2.84653 2.6919C3.44353 2.63397 4.04599 2.71649 4.64284 2.65856C4.77734 2.64549 4.82701 2.61774 4.90753 2.50904C5.24905 2.04792 5.47913 1.51362 5.82084 1.05219C6.12182 0.645806 6.53291 0.413119 7.03623 0.364178C7.66002 0.303556 8.33816 0.303369 8.96387 0.364178C9.46719 0.413119 9.87828 0.645806 10.1793 1.05219C10.521 1.51365 10.7513 2.04828 11.0926 2.50904C11.1731 2.61774 11.2228 2.64549 11.3573 2.65856C11.9541 2.71649 12.5566 2.63397 13.1536 2.6919C13.6581 2.74095 14.0685 2.97349 14.37 3.38092C14.7214 3.85598 15.0517 4.40587 15.3035 4.94183C15.5307 5.42562 15.5309 5.91992 15.3035 6.40373Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:71,columnNumber:7},void 0),h.jsxDEV("path",{d:"M9.13764 7.99999C9.13764 7.3715 8.62855 6.8624 8.00005 6.8624C7.37155 6.8624 6.86246 7.3715 6.86246 7.99999C6.86246 8.62849 7.37155 9.13759 8.00005 9.13759C8.62855 9.13759 9.13764 8.62849 9.13764 7.99999ZM10.4834 7.99999C10.4834 9.37126 9.37132 10.4833 8.00005 10.4833C6.62878 10.4833 5.51674 9.37126 5.51674 7.99999C5.51674 6.62873 6.62878 5.51669 8.00005 5.51669C9.37132 5.51669 10.4834 6.62873 10.4834 7.99999Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:75,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:70,columnNumber:5},void 0),h.jsxDEV("defs",{children:h.jsxDEV("clipPath",{id:"clip0_1450_63327",children:h.jsxDEV("rect",{width:16,height:16,fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:82,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:81,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:80,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:69,columnNumber:3},void 0),uD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.67272 0.522841C10.8339 0.522841 11.76 0.522714 12.4963 0.602493C13.2453 0.683657 13.8789 0.854248 14.4264 1.25197C14.7504 1.48739 15.0355 1.77247 15.2709 2.0965C15.6686 2.64394 15.8392 3.27758 15.9204 4.02655C16.0002 4.7629 16 5.68895 16 6.85014V9.14986C16 10.3111 16.0002 11.2371 15.9204 11.9735C15.8392 12.7224 15.6686 13.3561 15.2709 13.9035C15.0355 14.2275 14.7504 14.5126 14.4264 14.748C13.8789 15.1458 13.2453 15.3163 12.4963 15.3975C11.76 15.4773 10.8339 15.4772 9.67272 15.4772H6.3273C5.16611 15.4772 4.24006 15.4773 3.50371 15.3975C2.75474 15.3163 2.1211 15.1458 1.57366 14.748C1.24963 14.5126 0.964549 14.2275 0.729131 13.9035C0.331407 13.3561 0.160817 12.7224 0.0796529 11.9735C-0.000126137 11.2371 1.25338e-09 10.3111 1.25338e-09 9.14986V6.85014C1.25329e-09 5.68895 -0.000126137 4.7629 0.0796529 4.02655C0.160817 3.27758 0.331407 2.64394 0.729131 2.0965C0.964549 1.77247 1.24963 1.48739 1.57366 1.25197C2.1211 0.854248 2.75474 0.683657 3.50371 0.602493C4.24006 0.522714 5.16611 0.522841 6.3273 0.522841H9.67272ZM5.54303 1.88715V14.1118C5.78636 14.1128 6.04709 14.1169 6.3273 14.1169H9.67272C10.8639 14.1169 11.7032 14.1164 12.3493 14.0465C12.9824 13.9779 13.3497 13.8494 13.6268 13.6482C13.8354 13.4966 14.0195 13.3125 14.1711 13.1039C14.3723 12.8268 14.5007 12.4595 14.5693 11.8264C14.6393 11.1803 14.6398 10.341 14.6398 9.14986V6.85014C14.6398 5.65896 14.6393 4.81967 14.5693 4.1736C14.5007 3.54048 14.3723 3.17318 14.1711 2.89609C14.0195 2.68747 13.8354 2.50337 13.6268 2.35179C13.3497 2.1506 12.9824 2.02212 12.3493 1.95353C11.7032 1.88358 10.8639 1.88307 9.67272 1.88307H6.3273C6.04709 1.88307 5.78636 1.8862 5.54303 1.88715ZM4.1828 1.91166C3.99125 1.9216 3.8148 1.93577 3.65076 1.95353C3.01764 2.02212 2.65034 2.1506 2.37325 2.35179C2.16463 2.50337 1.98052 2.68747 1.82895 2.89609C1.62776 3.17318 1.49928 3.54048 1.43069 4.1736C1.36074 4.81967 1.36023 5.65896 1.36023 6.85014V9.14986C1.36023 10.341 1.36074 11.1803 1.43069 11.8264C1.49928 12.4595 1.62776 12.8268 1.82895 13.1039C1.98052 13.3125 2.16463 13.4966 2.37325 13.6482C2.65034 13.8494 3.01764 13.9779 3.65076 14.0465C3.81478 14.0642 3.99127 14.0774 4.1828 14.0873V1.91166Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:91,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:90,columnNumber:3},void 0),cD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M4.55146 8.00001C4.55146 8.63513 4.03659 9.15001 3.40146 9.15001C2.76634 9.15001 2.25146 8.63513 2.25146 8.00001C2.25146 7.36488 2.76634 6.85001 3.40146 6.85001C4.03659 6.85001 4.55146 7.36488 4.55146 8.00001Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:103,columnNumber:5},void 0),h.jsxDEV("path",{d:"M9.1476 8.00001C9.1476 8.63513 8.63273 9.15001 7.9976 9.15001C7.36248 9.15001 6.8476 8.63513 6.8476 8.00001C6.8476 7.36488 7.36248 6.85001 7.9976 6.85001C8.63273 6.85001 9.1476 7.36488 9.1476 8.00001Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:107,columnNumber:5},void 0),h.jsxDEV("path",{d:"M13.7486 8.00001C13.7486 8.63513 13.2338 9.15001 12.5986 9.15001C11.9635 9.15001 11.4486 8.63513 11.4486 8.00001C11.4486 7.36488 11.9635 6.85001 12.5986 6.85001C13.2338 6.85001 13.7486 7.36488 13.7486 8.00001Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:111,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:102,columnNumber:3},void 0),fD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M8.64453 1.5V7.34961H14.5V8.65039H8.64453V14.5H7.34473V8.65039H1.5V7.34961H7.34473V1.5H8.64453Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:121,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:120,columnNumber:3},void 0),Im=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M15.0498 3.92579L8.49512 12.3818C8.25774 12.6881 8.04517 12.9645 7.84668 13.1689C7.63957 13.3823 7.38732 13.5841 7.04492 13.6719C6.86373 13.7183 6.6757 13.7346 6.48926 13.7197C6.13666 13.6915 5.8528 13.5355 5.6123 13.3604C5.38201 13.1926 5.12573 12.9567 4.83984 12.6953L1.03125 9.21289L1.96875 8.1875L5.77734 11.6699C6.08684 11.9529 6.27773 12.1249 6.43066 12.2363C6.50183 12.2882 6.54699 12.3135 6.57324 12.3252C6.58525 12.3305 6.59269 12.3322 6.5957 12.333C6.59802 12.3336 6.59961 12.334 6.59961 12.334C6.63317 12.3367 6.66758 12.3335 6.7002 12.3252C6.7002 12.3252 6.70211 12.3251 6.7041 12.3242C6.70698 12.3229 6.71348 12.319 6.72461 12.3115C6.74849 12.2956 6.78843 12.2642 6.84961 12.2012C6.98138 12.0654 7.13957 11.8628 7.39648 11.5313L13.9502 3.07422L15.0498 3.92579Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:131,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:130,columnNumber:3},void 0),dD=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M11.5635 4.58984L7.61426 9.07715C7.35154 9.37561 7.11346 9.64812 6.89453 9.84668C6.66593 10.054 6.38519 10.2506 6.01465 10.3164C5.82079 10.3508 5.62207 10.3529 5.42773 10.3213C5.0561 10.2609 4.77266 10.0674 4.54102 9.86328C4.31926 9.66791 4.07752 9.39911 3.81055 9.10449L2.44531 7.59863L3.55664 6.59082L4.92188 8.09766C5.21256 8.41844 5.38878 8.61191 5.53223 8.73828C5.61022 8.80699 5.65253 8.83192 5.66895 8.83984C5.69648 8.84429 5.72449 8.84467 5.75195 8.83984C5.72657 8.84451 5.75564 8.85422 5.88672 8.73535C6.02833 8.60692 6.20225 8.41088 6.48828 8.08594L10.4385 3.59961L11.5635 4.58984Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:141,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:140,columnNumber:3},void 0),pD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.0762 1.37207C14.0846 1.37228 14.9021 2.19077 14.9023 3.19922C14.9022 4.20772 14.0847 5.02518 13.0762 5.02539C12.2967 5.02539 11.6325 4.53691 11.3701 3.84961H4.35547C4.79397 4.26458 5.15861 4.7644 5.41699 5.33496L7.10645 9.06738C7.88526 10.7875 9.55104 11.9228 11.4189 12.0371C11.7085 11.4109 12.3411 10.9756 13.0762 10.9756C14.0843 10.9759 14.9023 11.7936 14.9023 12.8018C14.9023 13.81 14.0843 14.6277 13.0762 14.6279C12.2534 14.6279 11.5574 14.0832 11.3291 13.335C8.9868 13.1879 6.89981 11.7612 5.92285 9.60352L4.23242 5.87109C3.67503 4.64033 2.44878 3.84961 1.09766 3.84961V2.54883C1.10665 2.54883 1.11601 2.54975 1.125 2.5498L11.3701 2.54883C11.6326 1.86151 12.2969 1.37207 13.0762 1.37207ZM13.0762 12.2764C12.7858 12.2764 12.5508 12.5114 12.5508 12.8018C12.5508 13.0921 12.7858 13.3281 13.0762 13.3281C13.3664 13.3279 13.6025 13.092 13.6025 12.8018C13.6025 12.5115 13.3664 12.2766 13.0762 12.2764ZM13.0762 2.67285C12.7855 2.67285 12.55 2.90861 12.5498 3.19922C12.5499 3.48987 12.7855 3.72559 13.0762 3.72559C13.3667 3.72538 13.6024 3.48975 13.6025 3.19922C13.6023 2.90874 13.3666 2.67306 13.0762 2.67285Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:151,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:150,columnNumber:3},void 0),Nm=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M11.8486 5.5L11.4238 5.92383L8.69727 8.65137C8.44157 8.90706 8.21562 9.13382 8.01172 9.29785C7.79912 9.46883 7.55595 9.61756 7.25 9.66602C7.08435 9.69222 6.91565 9.69222 6.75 9.66602C6.44405 9.61756 6.20088 9.46883 5.98828 9.29785C5.78438 9.13382 5.55843 8.90706 5.30273 8.65137L2.57617 5.92383L2.15137 5.5L3 4.65137L3.42383 5.07617L6.15137 7.80273C6.42595 8.07732 6.59876 8.24849 6.74023 8.3623C6.87291 8.46904 6.92272 8.47813 6.9375 8.48047C6.97895 8.48703 7.02105 8.48703 7.0625 8.48047C7.07728 8.47813 7.12709 8.46904 7.25977 8.3623C7.40124 8.24849 7.57405 8.07732 7.84863 7.80273L10.5762 5.07617L11 4.65137L11.8486 5.5Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:163,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:162,columnNumber:3},void 0),I8=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M8.5 2.15137L8.07617 2.57617L5.34863 5.30273C5.09294 5.55843 4.86618 5.78438 4.70215 5.98828C4.53117 6.20088 4.38244 6.44405 4.33398 6.75C4.30778 6.91565 4.30778 7.08435 4.33398 7.25C4.38244 7.55595 4.53117 7.79912 4.70215 8.01172C4.86618 8.21561 5.09294 8.44157 5.34863 8.69727L8.07617 11.4238L8.5 11.8486L9.34863 11L8.92383 10.5762L6.19727 7.84863C5.92268 7.57405 5.75151 7.40124 5.6377 7.25977C5.53096 7.12709 5.52187 7.07728 5.51953 7.0625C5.51297 7.02105 5.51297 6.97895 5.51953 6.9375C5.52187 6.92272 5.53096 6.87291 5.6377 6.74023C5.75152 6.59876 5.92268 6.42595 6.19727 6.15137L8.92383 3.42383L9.34863 3L8.5 2.15137Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:173,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:172,columnNumber:3},void 0),Z8=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M5.5 2.15137L5.92383 2.57617L8.65137 5.30273C8.90706 5.55843 9.13382 5.78438 9.29785 5.98828C9.46883 6.20088 9.61756 6.44405 9.66602 6.75C9.69222 6.91565 9.69222 7.08435 9.66602 7.25C9.61756 7.55595 9.46883 7.79912 9.29785 8.01172C9.13382 8.21561 8.90706 8.44157 8.65137 8.69727L5.92383 11.4238L5.5 11.8486L4.65137 11L5.07617 10.5762L7.80273 7.84863C8.07732 7.57405 8.24849 7.40124 8.3623 7.25977C8.46904 7.12709 8.47813 7.07728 8.48047 7.0625C8.48703 7.02105 8.48703 6.97895 8.48047 6.9375C8.47813 6.92272 8.46904 6.87291 8.3623 6.74023C8.24848 6.59876 8.07732 6.42595 7.80273 6.15137L5.07617 3.42383L4.65137 3L5.5 2.15137Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:183,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:182,columnNumber:3},void 0),hD=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M4.25 2.82782L4.25 11.1722C4.25 11.6622 4.84243 11.9076 5.18891 11.5611L9.36109 7.38891C9.57588 7.17412 9.57588 6.82588 9.36109 6.61109L5.18891 2.43891C4.84243 2.09243 4.25 2.33782 4.25 2.82782Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:193,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:192,columnNumber:3},void 0),mD=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M2.15137 8.5L2.57617 8.07617L5.30273 5.34863C5.55843 5.09294 5.78438 4.86618 5.98828 4.70215C6.20088 4.53117 6.44405 4.38244 6.75 4.33398C6.91565 4.30778 7.08435 4.30778 7.25 4.33398C7.55595 4.38244 7.79912 4.53117 8.01172 4.70215C8.21561 4.86618 8.44157 5.09294 8.69727 5.34863L11.4238 8.07617L11.8486 8.5L11 9.34863L10.5762 8.92383L7.84863 6.19727C7.57405 5.92269 7.40124 5.75152 7.25977 5.6377C7.12709 5.53096 7.07728 5.52187 7.0625 5.51953C7.02105 5.51297 6.97895 5.51297 6.9375 5.51953C6.92272 5.52187 6.87291 5.53096 6.74023 5.6377C6.59876 5.75152 6.42595 5.92268 6.15137 6.19727L3.42383 8.92383L3 9.34863L2.15137 8.5Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:203,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:202,columnNumber:3},void 0),Zm=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M14.1168 13.197L13.197 14.1167L1.8833 2.80303L2.80309 1.88324L14.1168 13.197Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:213,columnNumber:5},void 0),h.jsxDEV("path",{d:"M13.197 1.88326L14.1168 2.80305L2.80309 14.1168L1.8833 13.197L13.197 1.88326Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:217,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:212,columnNumber:3},void 0),q8=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M10.6074 4.40278L8.00975 6.99973L10.6074 9.59739L9.59736 10.6074L6.9997 8.00978L4.40274 10.6074L3.3927 9.59739L5.98966 6.99973L3.3927 4.40278L4.40274 3.39273L6.9997 5.98969L9.59736 3.39273L10.6074 4.40278Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:227,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:226,columnNumber:3},void 0),W8=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M6.14929 4.02032C7.11197 4.02032 7.87983 4.02016 8.49597 4.07598C9.12128 4.13269 9.65792 4.25188 10.1415 4.53106C10.7202 4.8653 11.2008 5.3459 11.535 5.92462C11.8142 6.40818 11.9334 6.94481 11.9901 7.57012C12.0459 8.18625 12.0458 8.95419 12.0458 9.9168C12.0458 10.8795 12.0459 11.6473 11.9901 12.2635C11.9334 12.8888 11.8142 13.4254 11.535 13.909C11.2008 14.4877 10.7202 14.9683 10.1415 15.3025C9.65792 15.5817 9.12128 15.7009 8.49597 15.7576C7.87984 15.8134 7.11196 15.8133 6.14929 15.8133C5.18667 15.8133 4.41874 15.8134 3.80261 15.7576C3.1773 15.7009 2.64067 15.5817 2.1571 15.3025C1.5784 14.9683 1.09778 14.4877 0.76355 13.909C0.484366 13.4254 0.365184 12.8888 0.308472 12.2635C0.252649 11.6473 0.252808 10.8795 0.252808 9.9168C0.252808 8.95418 0.252664 8.18625 0.308472 7.57012C0.365184 6.94481 0.484366 6.40818 0.76355 5.92462C1.09777 5.34589 1.57839 4.86529 2.1571 4.53106C2.64067 4.25188 3.1773 4.13269 3.80261 4.07598C4.41874 4.02017 5.18666 4.02032 6.14929 4.02032ZM6.14929 5.37774C5.16181 5.37774 4.46634 5.37761 3.92566 5.42657C3.39434 5.47472 3.07859 5.56574 2.83582 5.70587C2.4632 5.92106 2.15354 6.2307 1.93835 6.60333C1.79823 6.8461 1.70721 7.16185 1.65906 7.69317C1.6101 8.23385 1.61023 8.92933 1.61023 9.9168C1.61023 10.9043 1.61009 11.5998 1.65906 12.1404C1.70721 12.6717 1.79823 12.9875 1.93835 13.2303C2.15356 13.6029 2.46321 13.9126 2.83582 14.1277C3.07859 14.2679 3.39434 14.3589 3.92566 14.407C4.46634 14.456 5.16182 14.4559 6.14929 14.4559C7.13682 14.4559 7.83224 14.456 8.37292 14.407C8.90425 14.3589 9.21999 14.2679 9.46277 14.1277C9.83535 13.9126 10.145 13.6029 10.3602 13.2303C10.5004 12.9875 10.5914 12.6717 10.6395 12.1404C10.6885 11.5998 10.6884 10.9043 10.6884 9.9168C10.6884 8.92934 10.6885 8.23384 10.6395 7.69317C10.5914 7.16185 10.5004 6.8461 10.3602 6.60333C10.1451 6.23071 9.83536 5.92107 9.46277 5.70587C9.21999 5.56574 8.90424 5.47472 8.37292 5.42657C7.83224 5.3776 7.13682 5.37774 6.14929 5.37774ZM9.80164 0.367975C10.7638 0.367975 11.5314 0.36788 12.1473 0.423639C12.7726 0.480307 13.3093 0.598759 13.7928 0.877741C14.3717 1.21192 14.8521 1.69355 15.1864 2.27227C15.4655 2.75574 15.5857 3.29164 15.6425 3.9168C15.6983 4.53301 15.6971 5.3016 15.6971 6.26446V7.82989C15.6971 8.29264 15.6989 8.58993 15.6649 8.84844C15.4668 10.3525 14.401 11.5738 12.9833 11.9988V10.5467C13.6973 10.1903 14.2105 9.49662 14.3192 8.67169C14.3387 8.52347 14.3407 8.3358 14.3407 7.82989V6.26446C14.3407 5.27706 14.3398 4.58149 14.2909 4.04083C14.2428 3.50968 14.1526 3.19372 14.0126 2.95098C13.7974 2.57849 13.4876 2.26869 13.1151 2.05352C12.8724 1.91347 12.5564 1.82237 12.0253 1.77423C11.4847 1.72528 10.7888 1.7254 9.80164 1.7254H7.71472C6.7562 1.72558 5.92665 2.27697 5.52332 3.07891H4.07019C4.54221 1.51132 5.9932 0.368186 7.71472 0.367975H9.80164Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:237,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:236,columnNumber:3},void 0),vD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M7.92136 0.349152C10.3744 0.349234 12.5564 1.5052 13.9557 3.29894L15.1281 2.12759C15.3303 1.92546 15.6767 2.06943 15.6767 2.35538V5.53923C15.6766 5.71626 15.5329 5.85976 15.3559 5.86002H12.171C11.8854 5.8597 11.7426 5.51465 11.9443 5.31249L12.9641 4.29056C11.8237 2.74305 9.98908 1.74106 7.92136 1.74097C4.46436 1.74097 1.66233 4.543 1.66233 8C1.66233 11.457 4.46436 14.259 7.92136 14.259C11.3782 14.2589 14.1804 11.4569 14.1804 8H15.5722C15.5722 12.2251 12.1465 15.6507 7.92136 15.6508C3.69614 15.6508 0.270508 12.2252 0.270508 8C0.270508 3.77478 3.69614 0.349152 7.92136 0.349152Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:247,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:246,columnNumber:3},void 0),gD=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M1.272 6.21348C1.70645 3.08888 4.59169 0.908064 7.71634 1.34239C8.95495 1.51469 10.0438 2.07331 10.8814 2.87755L11.9458 1.81407C12.1347 1.6255 12.4572 1.75911 12.4575 2.02598V5.08751C12.4574 5.25303 12.3233 5.38731 12.1577 5.38731H9.0972C8.82993 5.38731 8.69629 5.06361 8.88528 4.87462L10.0327 3.72618C9.3732 3.09994 8.52006 2.66569 7.5513 2.53087C5.08313 2.18779 2.80376 3.91044 2.46048 6.37852C2.11747 8.84665 3.84009 11.1261 6.30814 11.4693C8.77612 11.8121 11.0557 10.0896 11.399 7.62169L11.9937 7.70372L12.5874 7.78673C12.153 10.9112 9.26756 13.0919 6.1431 12.6578C3.01854 12.2234 0.837738 9.33809 1.272 6.21348Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:257,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:256,columnNumber:3},void 0),yD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M8.27868 0.811572C8.81991 0.142194 9.79022 0.0421835 10.4538 0.557601L10.5823 0.669306L10.6066 0.693544L10.6097 0.695652L10.6392 0.725159C11.355 1.44679 11.6337 2.49468 11.3716 3.47669L11.3706 3.48091L11.3611 3.51674L11.3601 3.51885L10.889 5.22604C10.8796 5.25997 10.8707 5.29157 10.8627 5.32088C10.8934 5.32095 10.927 5.32194 10.9628 5.32194H11.9007C12.4264 5.32194 12.7831 5.319 13.0651 5.36725C14.8182 5.66719 15.9851 7.34568 15.6565 9.09357C15.6036 9.37487 15.477 9.7092 15.294 10.2022L14.3371 12.7798C14.1402 13.3104 13.9774 13.7518 13.8102 14.1024C13.6376 14.4645 13.4386 14.7793 13.1442 15.0424C12.9712 15.197 12.7802 15.3303 12.5751 15.4386C12.226 15.6231 11.8608 15.7 11.4612 15.7358C11.0743 15.7705 10.6035 15.7695 10.0375 15.7695H4.87377C4.08053 15.7695 3.42928 15.7702 2.90734 15.7137C2.37212 15.6557 1.88991 15.5311 1.46676 15.2237C1.22415 15.0474 1.01078 14.8339 0.834466 14.5914C0.527021 14.1682 0.401373 13.686 0.343384 13.1508C0.286822 12.6287 0.287531 11.9769 0.287531 11.1833V9.51405C0.287531 8.84778 0.281347 8.36714 0.399237 7.9565C0.671152 7.00935 1.41115 6.26832 2.35829 5.99638C2.76894 5.87849 3.24958 5.88573 3.91585 5.88573C4.11983 5.88573 4.14548 5.88319 4.16244 5.88046C4.23532 5.86863 4.30409 5.83663 4.35845 5.78667C4.3711 5.77504 4.38761 5.75604 4.51442 5.59488L8.25655 0.838972L8.2576 0.837918L8.27868 0.811572ZM1.69122 11.1833C1.69122 12.0082 1.69217 12.5711 1.73865 13.0001C1.78371 13.4157 1.86473 13.6221 1.96943 13.7662C2.0592 13.8898 2.16733 13.9989 2.29085 14.0887C2.43501 14.1934 2.64216 14.2744 3.05803 14.3195C3.45897 14.3629 3.97637 14.3656 4.7157 14.3659C4.30801 13.8053 4.06453 13.1171 4.06444 12.371V8.59406H5.46813V12.371C5.46838 13.4733 6.36166 14.3669 7.46407 14.3669H10.0375C10.6286 14.3669 11.0269 14.3663 11.3369 14.3385C11.6339 14.3118 11.7956 14.2638 11.9196 14.1983C12.0241 14.1431 12.1213 14.0747 12.2094 13.996C12.314 13.9025 12.4151 13.7678 12.5435 13.4986C12.6774 13.2176 12.8162 12.845 13.0219 12.2909L13.9788 9.71322C14.1848 9.15816 14.2531 8.96731 14.2781 8.83433C14.4618 7.85692 13.8093 6.91895 12.8291 6.75092C12.6957 6.7281 12.4928 6.72458 11.9007 6.72458H10.9628C10.7737 6.72458 10.5693 6.72657 10.4 6.70666C10.2211 6.68562 9.96702 6.63024 9.74771 6.43161C9.64454 6.33811 9.55957 6.2261 9.4969 6.10177C9.3639 5.83784 9.37799 5.57899 9.40521 5.40097C9.431 5.23261 9.48672 5.03616 9.53694 4.85404L10.008 3.14579L10.0175 3.11102C10.1488 2.61338 10.0078 2.08338 9.64654 1.71681L9.6086 1.67887L9.55064 1.64304C9.48795 1.62043 9.41425 1.63814 9.36938 1.69362L9.35779 1.70627L9.35884 1.70732L5.61672 6.46217C5.51822 6.58735 5.42237 6.7133 5.30689 6.81942C5.05075 7.05471 4.73126 7.20939 4.38796 7.26519C4.23315 7.29032 4.07513 7.28837 3.91585 7.28837C3.15356 7.28837 2.91916 7.2957 2.7461 7.34528C2.26364 7.48379 1.88564 7.86081 1.74708 8.34325C1.69738 8.51636 1.69122 8.7511 1.69122 9.51405V11.1833Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:267,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:266,columnNumber:3},void 0),bD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M14.0593 12.922L15.0976 10.1247C15.3087 9.5559 15.4143 9.27138 15.4566 9.04658C15.7349 7.56751 14.7472 6.14737 13.2637 5.89357C13.0382 5.85499 12.7348 5.85499 12.1281 5.85499H11.1099C10.6615 5.85499 10.4372 5.85499 10.3034 5.73376C10.2607 5.69508 10.2255 5.64885 10.1995 5.5974C10.1182 5.43613 10.1778 5.21997 10.297 4.78765L10.8081 2.93419L10.819 2.89456C11.0336 2.09024 10.8051 1.23244 10.2189 0.64139L10.1898 0.612405L10.1692 0.592068C9.77357 0.210076 9.13559 0.249344 8.78983 0.676966L8.77186 0.699678L4.71076 5.86083C4.52965 6.09101 4.38573 6.35138 4.38573 6.64427V12.7431C4.38573 14.3601 5.69654 15.6709 7.31351 15.6709L10.1068 15.6709C11.3628 15.6709 11.9908 15.6709 12.5043 15.3995C12.6723 15.3107 12.8289 15.2018 12.9706 15.0752C13.4037 14.6882 13.6222 14.0995 14.0593 12.922Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:277,columnNumber:5},void 0),h.jsxDEV("path",{d:"M2.91388 13.2113C2.91388 14.6907 4.08499 15.5536 4.08499 15.5536H2.65606C1.46328 15.5536 0.496338 14.5866 0.496338 13.3938V8.34439C0.496338 7.15161 1.46328 6.18467 2.65606 6.18467H2.91388V13.2113Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:281,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:276,columnNumber:3},void 0),CD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M7.72451 15.1086C7.18929 15.7705 6.22975 15.8694 5.57357 15.3597L5.44643 15.2492L5.42247 15.2253L5.41934 15.2232L5.39016 15.194C4.68239 14.4804 4.40679 13.4441 4.66589 12.473L4.66693 12.4689L4.67631 12.4334L4.67735 12.4314L5.14318 10.7431C5.15243 10.7096 5.1613 10.6783 5.16923 10.6493C5.13878 10.6493 5.10558 10.6483 5.07023 10.6483H4.14274C3.62288 10.6483 3.27015 10.6512 2.9912 10.6035C1.25757 10.3069 0.103662 8.64702 0.42863 6.91854C0.480965 6.64037 0.606164 6.30975 0.787119 5.82223L1.73336 3.27321C1.92812 2.74852 2.08912 2.31209 2.25442 1.96535C2.42515 1.60724 2.62191 1.29594 2.91304 1.03578C3.08408 0.882951 3.273 0.751121 3.47579 0.643944C3.82102 0.461504 4.18214 0.38551 4.57731 0.350066C4.95993 0.315784 5.42553 0.316718 5.98521 0.316718H11.0916C11.876 0.316718 12.52 0.31607 13.0362 0.37195C13.5655 0.429293 14.0423 0.552534 14.4608 0.856536C14.7007 1.03085 14.9117 1.24193 15.086 1.48181C15.3901 1.90027 15.5143 2.37709 15.5717 2.90638C15.6276 3.42269 15.6269 4.06721 15.6269 4.85202V6.50274C15.6269 7.1616 15.633 7.6369 15.5164 8.04299C15.2475 8.97962 14.5158 9.71242 13.5791 9.98133C13.173 10.0979 12.6977 10.0908 12.0389 10.0908C11.8372 10.0908 11.8118 10.0933 11.795 10.096C11.723 10.1077 11.6549 10.1393 11.6012 10.1887C11.5887 10.2002 11.5724 10.219 11.447 10.3784L7.74639 15.0815L7.74535 15.0825L7.72451 15.1086ZM14.2388 4.85202C14.2388 4.03628 14.2379 3.47965 14.1919 3.05541C14.1473 2.64443 14.0672 2.4403 13.9637 2.29779C13.8749 2.17562 13.768 2.06769 13.6458 1.9789C13.5033 1.87532 13.2984 1.79523 12.8872 1.75067C12.4907 1.70773 11.979 1.70511 11.2479 1.70482C11.6511 2.25917 11.8918 2.93968 11.8919 3.67755V7.41251H10.5038V3.67755C10.5036 2.58745 9.62023 1.70378 8.53007 1.70378H5.98521C5.40065 1.70378 5.00679 1.70442 4.70028 1.73192C4.40651 1.7583 4.24662 1.80571 4.12399 1.87052C4.02069 1.92511 3.92452 1.99276 3.8374 2.07061C3.73401 2.16306 3.634 2.2962 3.50705 2.56249C3.37462 2.84027 3.23734 3.20873 3.03393 3.75675L2.08768 6.30578C1.88395 6.85467 1.81646 7.0434 1.79172 7.1749C1.61005 8.14146 2.25533 9.06902 3.22464 9.23517C3.35654 9.25774 3.55717 9.26123 4.14274 9.26123H5.07023C5.25717 9.26123 5.4593 9.25926 5.62672 9.27894C5.80364 9.29975 6.05492 9.35452 6.27179 9.55094C6.37381 9.6434 6.45784 9.75417 6.51982 9.87712C6.65133 10.1381 6.6374 10.3941 6.61048 10.5701C6.58498 10.7366 6.52988 10.9309 6.48022 11.111L6.01439 12.8003L6.00501 12.8347C5.87513 13.3268 6.01464 13.8509 6.37184 14.2134L6.40935 14.2509L6.46667 14.2863C6.52866 14.3087 6.60155 14.2912 6.64591 14.2363L6.65738 14.2238L6.65633 14.2228L10.3569 9.52072C10.4543 9.39693 10.5491 9.27238 10.6633 9.16744C10.9166 8.93476 11.2325 8.7818 11.572 8.72662C11.7251 8.70177 11.8814 8.70369 12.0389 8.70369C12.7927 8.70369 13.0245 8.69645 13.1956 8.64742C13.6727 8.51045 14.0465 8.13761 14.1836 7.66053C14.2327 7.48935 14.2388 7.25721 14.2388 6.50274V4.85202Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:291,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:290,columnNumber:3},void 0),xD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M1.92838 3.06811L0.88799 5.87104C0.676449 6.44097 0.570628 6.72606 0.52825 6.95131C0.249414 8.43336 1.2391 9.85637 2.72555 10.1107C2.95149 10.1493 3.25549 10.1493 3.86348 10.1493H4.88371C5.33306 10.1493 5.55774 10.1493 5.69187 10.2708C5.73467 10.3096 5.76994 10.3559 5.79593 10.4074C5.87738 10.569 5.81766 10.7856 5.69821 11.2188L5.18609 13.076L5.17522 13.1157C4.9602 13.9217 5.1891 14.7812 5.7765 15.3735L5.80568 15.4025L5.82635 15.4229C6.22273 15.8056 6.862 15.7663 7.20846 15.3378L7.22647 15.315L11.2958 10.1435C11.4772 9.91284 11.6214 9.65195 11.6214 9.35847V3.24734C11.6214 1.62711 10.308 0.313655 8.68776 0.313655L5.88886 0.313654C4.63032 0.313654 4.00105 0.313654 3.48649 0.585577C3.31815 0.674536 3.16127 0.783647 3.01929 0.910507C2.58531 1.29828 2.36633 1.88824 1.92838 3.06811Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:301,columnNumber:5},void 0),h.jsxDEV("path",{d:"M13.0963 2.77815C13.0963 1.29585 11.9228 0.431205 11.9228 0.431205H13.3546C14.5498 0.431205 15.5187 1.4001 15.5187 2.59529V7.65491C15.5187 8.8501 14.5498 9.81899 13.3546 9.81899H13.0963V2.77815Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:305,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:300,columnNumber:3},void 0),RD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M7.95889 1.52285C7.95888 0.826234 8.76055 0.467983 9.27669 0.875208L9.37524 0.967191L15.1317 7.18358C15.5582 7.64419 15.5582 8.35614 15.1317 8.81676L9.37524 15.0331C8.87034 15.578 7.95888 15.2205 7.95889 14.4775V10.8207C7.10614 10.8432 6.31361 10.9316 5.45468 11.2515C4.39484 11.6463 3.18248 12.413 1.64676 13.9425C1.4533 14.135 1.18329 14.1696 0.969086 14.0908C0.74748 14.0091 0.547307 13.7879 0.54859 13.4844L0.55516 13.1315C0.618924 11.3494 1.11153 9.29838 2.27656 7.63787C3.45289 5.96147 5.29554 4.71635 7.95889 4.54797V1.52285ZM9.20911 5.13366C9.20899 5.50567 8.9031 5.77687 8.56523 5.77755C5.99383 5.78282 4.33736 6.8762 3.29964 8.35496C2.54519 9.43014 2.10739 10.7283 1.9152 11.9939C3.04749 11.0323 4.0569 10.4385 5.01917 10.0801C6.29638 9.60449 7.4406 9.56343 8.56429 9.56295C8.9178 9.5628 9.20894 9.84909 9.20911 10.2068L9.20817 13.3737L14.1837 8.00017L9.20817 2.62571L9.20911 5.13366Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:315,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:314,columnNumber:3},void 0),wD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M9.94076 1.34942C10.7047 0.90231 11.6503 0.902415 12.4143 1.34942C12.7061 1.52015 12.9688 1.79118 13.3104 2.13284C13.6521 2.47448 13.9231 2.73721 14.0939 3.02894C14.5408 3.79294 14.5409 4.73856 14.0939 5.50251C13.9231 5.79415 13.652 6.05704 13.3104 6.39861L6.65932 13.0497C6.28068 13.4284 6.00695 13.7108 5.66543 13.9097C5.32391 14.1085 4.94315 14.2074 4.42705 14.3498L3.24394 14.6761C2.77527 14.8054 2.34538 14.9262 2.00131 14.9684C1.65196 15.0112 1.17964 15.0013 0.810764 14.6325C0.441921 14.2637 0.432107 13.7913 0.47486 13.442C0.517035 13.0979 0.6379 12.668 0.767181 12.1993L1.09352 11.0162C1.23588 10.5001 1.33481 10.1193 1.5336 9.77784C1.7325 9.43632 2.0149 9.1626 2.39355 8.78395L9.04466 2.13284C9.38625 1.79126 9.64911 1.52016 9.94076 1.34942ZM15.5427 14.8398H7.55223L8.96707 13.425H15.5427V14.8398ZM3.39382 9.78422C2.965 10.213 2.84244 10.3436 2.75709 10.49C2.67183 10.6366 2.61862 10.8079 2.45733 11.3925L2.13099 12.5756C2.00183 13.0439 1.92194 13.3419 1.88863 13.5536C2.10041 13.5204 2.39872 13.4416 2.86764 13.3123L4.05075 12.9859C4.63544 12.8246 4.80669 12.7715 4.95323 12.6862C5.09968 12.6008 5.23022 12.4783 5.65905 12.0494L10.721 6.98644L8.45577 4.72121L3.39382 9.78422ZM11.7 2.57079C11.3774 2.38198 10.9777 2.38198 10.6551 2.57079C10.5602 2.62647 10.4487 2.72931 10.0449 3.13311L9.45604 3.72094L11.7213 5.98617L12.3102 5.39833C12.7139 4.99457 12.8168 4.88307 12.8725 4.78818C13.0613 4.46561 13.0612 4.06585 12.8725 3.74326C12.8169 3.64827 12.7146 3.53752 12.3102 3.13311C11.9057 2.72863 11.795 2.6264 11.7 2.57079Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:325,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:324,columnNumber:3},void 0),ND=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M7.06431 5.93342C7.68763 5.93342 8.19307 6.43904 8.19322 7.06233C8.19322 7.68573 7.68772 8.19123 7.06431 8.19123C6.44099 8.19113 5.9354 7.68567 5.9354 7.06233C5.93555 6.43911 6.44108 5.93353 7.06431 5.93342Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:335,columnNumber:5},void 0),h.jsxDEV("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.6815 0.963693C10.1169 0.447019 11.6266 0.374829 12.5633 1.31135C13.5 2.24805 13.4277 3.75776 12.911 5.19319C12.7126 5.74431 12.4386 6.31796 12.0965 6.89729C12.4969 7.54638 12.8141 8.19018 13.036 8.80647C13.5527 10.2419 13.6251 11.7516 12.6883 12.6883C11.7516 13.625 10.242 13.5527 8.8065 13.036C8.19022 12.8141 7.54641 12.4969 6.89732 12.0965C6.31797 12.4386 5.74435 12.7125 5.19322 12.911C3.75777 13.4276 2.2481 13.5 1.31138 12.5633C0.374859 11.6266 0.447049 10.1168 0.963724 8.68147C1.17185 8.10338 1.46321 7.50063 1.82896 6.8924C1.52182 6.35711 1.27235 5.82825 1.08872 5.31819C0.572068 3.88278 0.499714 2.37306 1.43638 1.43635C2.37308 0.499655 3.8828 0.572044 5.31822 1.08869C5.82828 1.27232 6.35715 1.5218 6.89243 1.82893C7.50066 1.46318 8.10341 1.17181 8.6815 0.963693ZM11.3573 8.01154C10.9083 8.62253 10.3901 9.22873 9.80943 9.8094C9.22877 10.3901 8.62255 10.9083 8.01158 11.3572C8.4257 11.5841 8.8287 11.7688 9.21275 11.9071C10.5456 12.3868 11.4246 12.2547 11.8397 11.8397C12.2548 11.4246 12.3869 10.5456 11.9071 9.21272C11.7688 8.82866 11.5841 8.42568 11.3573 8.01154ZM2.56529 8.02912C2.37344 8.39322 2.21495 8.74796 2.09263 9.08772C1.61291 10.4204 1.74512 11.2995 2.16001 11.7147C2.57505 12.1297 3.45415 12.2618 4.78697 11.7821C5.11057 11.6656 5.44786 11.5164 5.7938 11.3367C5.249 10.9223 4.70922 10.4533 4.19029 9.9344C3.57578 9.31987 3.03169 8.67633 2.56529 8.02912ZM6.90708 3.2469C6.24065 3.70479 5.5646 4.26321 4.91392 4.91389C4.26325 5.56456 3.70482 6.24063 3.24693 6.90705C3.72674 7.63325 4.32777 8.37459 5.03892 9.08576C5.64943 9.69627 6.28183 10.2265 6.90806 10.6678C7.59368 10.2025 8.2908 9.63076 8.96079 8.96076C9.6308 8.29075 10.2025 7.59366 10.6678 6.90803C10.2265 6.2818 9.69631 5.6494 9.08579 5.03889C8.37462 4.32773 7.63328 3.72672 6.90708 3.2469ZM11.7147 2.15998C11.2996 1.74509 10.4204 1.61288 9.08775 2.0926C8.74835 2.21479 8.39382 2.37271 8.03013 2.56428C8.67728 3.03065 9.31995 3.5758 9.93443 4.19026C10.4534 4.7092 10.9223 5.24896 11.3368 5.79377C11.5164 5.44785 11.6656 5.11052 11.7821 4.78694C12.2618 3.45416 12.1297 2.57502 11.7147 2.15998ZM4.91197 2.2176C3.57922 1.73788 2.70004 1.86995 2.28501 2.28498C1.87001 2.70003 1.73791 3.5792 2.21763 4.91194C2.31709 5.18822 2.44112 5.47427 2.58677 5.7674C3.01931 5.1887 3.51474 4.6158 4.06529 4.06526C4.61584 3.5147 5.18872 3.01928 5.76743 2.58674C5.47431 2.4411 5.18824 2.31706 4.91197 2.2176Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:339,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:334,columnNumber:3},void 0),kD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M8.00192 6.64454C8.75026 6.64454 9.35732 7.25169 9.35739 8.00001C9.35739 8.74838 8.7503 9.35548 8.00192 9.35548C7.25367 9.35533 6.64743 8.74829 6.64743 8.00001C6.6475 7.25178 7.25371 6.64468 8.00192 6.64454Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:351,columnNumber:5},void 0),h.jsxDEV("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.97165 1.29981C11.5853 0.718916 13.271 0.642197 14.3144 1.68555C15.3577 2.72902 15.2811 4.41466 14.7002 6.02833C14.4707 6.66561 14.1504 7.32937 13.75 8.00001C14.1504 8.67062 14.4707 9.33444 14.7002 9.97169C15.2811 11.5854 15.3578 13.271 14.3144 14.3145C13.271 15.3579 11.5854 15.2811 9.97165 14.7002C9.3344 14.4708 8.67059 14.1505 7.99997 13.75C7.32933 14.1505 6.66558 14.4708 6.02829 14.7002C4.41461 15.2811 2.72899 15.3578 1.68552 14.3145C0.642155 13.271 0.71887 11.5854 1.29977 9.97169C1.52915 9.33454 1.84865 8.67049 2.24899 8.00001C1.84866 7.32953 1.52915 6.66544 1.29977 6.02833C0.718852 4.41459 0.64207 2.729 1.68552 1.68555C2.72897 0.642112 4.41456 0.718887 6.02829 1.29981C6.66541 1.52918 7.32949 1.8487 7.99997 2.24903C8.67045 1.84869 9.33451 1.52919 9.97165 1.29981ZM12.9404 9.2129C12.4391 9.893 11.8616 10.5681 11.2148 11.2149C10.568 11.8616 9.89296 12.4391 9.21286 12.9404C9.62532 13.1579 10.0271 13.338 10.4121 13.4766C11.9146 14.0174 12.9172 13.8738 13.3955 13.3955C13.8737 12.9173 14.0174 11.9146 13.4765 10.4121C13.3379 10.0271 13.1578 9.62535 12.9404 9.2129ZM3.05856 9.2129C2.84121 9.62523 2.66197 10.0272 2.52341 10.4121C1.98252 11.9146 2.12627 12.9172 2.60446 13.3955C3.08278 13.8737 4.08544 14.0174 5.58786 13.4766C5.97264 13.338 6.37389 13.1577 6.7861 12.9404C6.10624 12.4393 5.43168 11.8614 4.78513 11.2149C4.13823 10.5679 3.55992 9.89313 3.05856 9.2129ZM7.99899 3.792C7.23179 4.31419 6.45306 4.95512 5.70407 5.70411C4.95509 6.45309 4.31415 7.23184 3.79196 7.99903C4.3143 8.76666 4.95471 9.54653 5.70407 10.2959C6.45309 11.0449 7.23271 11.6848 7.99997 12.207C8.76725 11.6848 9.54683 11.0449 10.2959 10.2959C11.0449 9.54686 11.6848 8.76729 12.207 8.00001C11.6848 7.23275 11.0449 6.45312 10.2959 5.70411C9.5465 4.95475 8.76662 4.31434 7.99899 3.792ZM5.58786 2.52344C4.08533 1.98255 3.08272 2.12625 2.60446 2.6045C2.12621 3.08275 1.98252 4.08536 2.52341 5.5879C2.66189 5.97253 2.8414 6.37409 3.05856 6.78614C3.55983 6.10611 4.1384 5.43189 4.78513 4.78516C5.43186 4.13843 6.10606 3.55987 6.7861 3.0586C6.37405 2.84144 5.97249 2.66192 5.58786 2.52344ZM13.3955 2.6045C12.9172 2.12631 11.9146 1.98257 10.4121 2.52344C10.0272 2.66201 9.62519 2.84125 9.21286 3.0586C9.8931 3.55996 10.5679 4.13827 11.2148 4.78516C11.8614 5.43172 12.4392 6.10627 12.9404 6.78614C13.1577 6.37393 13.338 5.97267 13.4765 5.5879C14.0174 4.08549 13.8736 3.08281 13.3955 2.6045Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:355,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:350,columnNumber:3},void 0),ED=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("mask",{id:"mask0_agent_preset_16",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:[h.jsxDEV("rect",{width:"16",height:"16",fill:"white"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:368,columnNumber:7},void 0),h.jsxDEV("circle",{cx:"7.9995",cy:"3.28319",r:"1.712",fill:"black"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:369,columnNumber:7},void 0),h.jsxDEV("circle",{cx:"3.51122",cy:"11.3855",r:"1.712",fill:"black"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:370,columnNumber:7},void 0),h.jsxDEV("circle",{cx:"12.4878",cy:"11.3855",r:"1.712",fill:"black"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:371,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:367,columnNumber:5},void 0),h.jsxDEV("path",{mask:"url(#mask0_agent_preset_16)",d:"M12.2881 11.0425C12.6002 11.3723 13.0413 11.5786 13.5312 11.5786L13.5342 11.5776C13.1476 12.3233 12.6119 12.9785 11.9639 13.5005C10.9327 14.3309 9.6199 14.8286 8.19336 14.8286C7.29864 14.8285 6.45056 14.6313 5.6875 14.2808C6.08309 14.0281 6.36707 13.6189 6.45215 13.1392C6.99022 13.3561 7.57767 13.476 8.19336 13.4761C9.30019 13.4761 10.3157 13.0915 11.1152 12.4478C11.5935 12.0626 11.9924 11.5848 12.2881 11.0425ZM4.14746 4.36475C4.25569 4.83228 4.55488 5.2247 4.95898 5.4585C4.07956 6.30639 3.53144 7.49605 3.53125 8.81396C3.53125 9.69534 3.77613 10.5202 4.20117 11.2231C3.74959 11.3817 3.38395 11.7232 3.19531 12.1597C2.5541 11.2032 2.17969 10.052 2.17969 8.81396C2.17989 7.05087 2.93868 5.4646 4.14746 4.36475ZM8.19336 2.80029C8.85717 2.80029 9.49784 2.90834 10.0967 3.10791C12.3237 3.85044 13.9725 5.86061 14.1846 8.28369C13.9832 8.20048 13.7627 8.15382 13.5312 8.15381C13.2802 8.15381 13.042 8.20907 12.8271 8.30615C12.6281 6.47264 11.3666 4.95616 9.66895 4.39014C9.2063 4.236 8.70989 4.15186 8.19336 4.15186C7.96112 4.15189 7.7329 4.16981 7.50977 4.20264C7.51947 4.12886 7.52637 4.05348 7.52637 3.97705C7.52628 3.56604 7.3811 3.18914 7.13965 2.89404C7.48183 2.83352 7.83381 2.80033 8.19336 2.80029Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:373,columnNumber:5},void 0),h.jsxDEV("path",{d:"M9.1123 3.28271C9.11205 2.66858 8.61322 2.17041 7.99902 2.17041C7.38504 2.17067 6.88697 2.66874 6.88672 3.28271C6.88672 3.89691 7.38489 4.39574 7.99902 4.396C8.61338 4.396 9.1123 3.89707 9.1123 3.28271ZM10.3115 3.28271C10.3115 4.55981 9.27612 5.59521 7.99902 5.59521C6.72214 5.59496 5.6875 4.55965 5.6875 3.28271C5.68776 2.00599 6.7223 0.971447 7.99902 0.971191C9.27596 0.971191 10.3113 2.00584 10.3115 3.28271Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:378,columnNumber:5},void 0),h.jsxDEV("path",{d:"M4.62402 11.385C4.62377 10.7709 4.12494 10.2727 3.51074 10.2727C2.89676 10.273 2.39869 10.771 2.39844 11.385C2.39844 11.9992 2.89661 12.498 3.51074 12.4983C4.1251 12.4983 4.62402 11.9994 4.62402 11.385ZM5.82324 11.385C5.82324 12.6621 4.78784 13.6975 3.51074 13.6975C2.23386 13.6973 1.19922 12.6619 1.19922 11.385C1.19947 10.1083 2.23402 9.07374 3.51074 9.07349C4.78768 9.07349 5.82299 10.1081 5.82324 11.385Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:382,columnNumber:5},void 0),h.jsxDEV("path",{d:"M13.6006 11.385C13.6003 10.7709 13.1015 10.2727 12.4873 10.2727C11.8733 10.273 11.3753 10.771 11.375 11.385C11.375 11.9992 11.8732 12.498 12.4873 12.4983C13.1017 12.4983 13.6006 11.9994 13.6006 11.385ZM14.7998 11.385C14.7998 12.6621 13.7644 13.6975 12.4873 13.6975C11.2104 13.6973 10.1758 12.6619 10.1758 11.385C10.176 10.1083 11.2106 9.07374 12.4873 9.07349C13.7642 9.07349 14.7995 10.1081 14.7998 11.385Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:386,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:366,columnNumber:3},void 0),DD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M11.2426 4.80473V6.10551H4.75819V4.80473H11.2426Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:396,columnNumber:5},void 0),h.jsxDEV("path",{d:"M9.40858 7.84478V9.14557H4.75819V7.84478H9.40858Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:397,columnNumber:5},void 0),h.jsxDEV("path",{d:"M9.23438 0.546389C10.1941 0.546389 10.9683 0.544914 11.5859 0.611819C12.2161 0.680096 12.7634 0.825745 13.2393 1.17139C13.5172 1.3733 13.7619 1.61812 13.9639 1.896C14.3096 2.37183 14.4551 2.91922 14.5234 3.54932C14.5903 4.16686 14.5889 4.94133 14.5889 5.90088V10.0981C14.5889 11.0576 14.5903 11.8321 14.5234 12.4497C14.4552 13.0798 14.3094 13.6272 13.9639 14.103C13.7619 14.381 13.5172 14.6257 13.2393 14.8276C12.7633 15.1734 12.2163 15.3189 11.5859 15.3872C10.9683 15.4541 10.1942 15.4536 9.23438 15.4536H6.76563C5.80591 15.4536 5.03168 15.4541 4.41407 15.3872C3.78385 15.3189 3.23665 15.1734 2.76074 14.8276C2.48291 14.6257 2.23802 14.3809 2.03614 14.103C1.69066 13.6272 1.54483 13.0798 1.47657 12.4497C1.40973 11.8321 1.41114 11.0576 1.41114 10.0981V5.90088C1.41113 4.94132 1.40966 4.16686 1.47657 3.54932C1.54488 2.91921 1.69042 2.37184 2.03614 1.896C2.2381 1.61807 2.4828 1.37333 2.76074 1.17139C3.23665 0.825682 3.78386 0.680109 4.41407 0.611819C5.03168 0.544905 5.80591 0.546389 6.76563 0.546389H9.23438ZM6.76563 1.896C5.77586 1.896 5.0876 1.89738 4.55957 1.95459C4.0443 2.01043 3.76214 2.11349 3.55469 2.26416C3.39135 2.38284 3.24761 2.52662 3.12891 2.68994C2.97821 2.89736 2.8752 3.17967 2.81934 3.69483C2.76214 4.22279 2.76075 4.91131 2.76074 5.90088V10.0981C2.76074 11.0876 2.76221 11.7762 2.81934 12.3042C2.87516 12.8194 2.97829 13.1026 3.12891 13.3101C3.24754 13.4733 3.39147 13.6172 3.55469 13.7358C3.76213 13.8865 4.04438 13.9896 4.55957 14.0454C5.0876 14.1026 5.77586 14.103 6.76563 14.103H9.23438C10.2242 14.103 10.9124 14.1026 11.4404 14.0454C11.9556 13.9896 12.2379 13.8865 12.4453 13.7358C12.6086 13.6172 12.7525 13.4733 12.8711 13.3101C13.0217 13.1026 13.1248 12.8195 13.1807 12.3042C13.2378 11.7762 13.2393 11.0876 13.2393 10.0981V5.90088C13.2393 4.91131 13.2379 4.22279 13.1807 3.69483C13.1248 3.17969 13.0218 2.89736 12.8711 2.68994C12.7524 2.52667 12.6086 2.38281 12.4453 2.26416C12.2379 2.11355 11.9556 2.01041 11.4404 1.95459C10.9124 1.8974 10.2241 1.896 9.23438 1.896H6.76563Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:398,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:395,columnNumber:3},void 0),SD=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M8.19727 5.86969C9.2092 6.90067 9.20969 8.55271 8.19727 9.58338L6.88871 10.8919C5.85801 11.9039 4.20584 11.9037 3.17502 10.8919L3.10873 10.8243C2.09622 9.7934 2.09626 8.14148 3.10873 7.11058L4.36757 5.85174C4.28261 6.33758 4.30355 6.84354 4.44077 7.33362L3.89249 7.88053C3.30043 8.48348 3.30108 9.4507 3.89318 10.0536L3.94566 10.1061C4.54861 10.698 5.51521 10.6981 6.11808 10.1061L7.41283 8.81275C8.00484 8.21002 8.00504 7.24267 7.41352 6.63964L7.35966 6.58716C7.21975 6.44976 7.05995 6.34434 6.89009 6.27089L7.70009 5.4609C7.85176 5.55768 7.99607 5.67091 8.1296 5.80202L8.19727 5.86969Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:408,columnNumber:5},void 0),h.jsxDEV("path",{d:"M5.80913 8.12648C4.79584 7.09547 4.79591 5.44245 5.80913 4.41141C5.81733 4.40304 5.82707 4.39209 5.8409 4.37826L7.07833 3.14082C7.09224 3.12693 7.10311 3.11729 7.11148 3.10906C8.14253 2.09591 9.79557 2.09579 10.8266 3.10906L10.8908 3.17328C11.9041 4.20425 11.9039 5.85727 10.8908 6.88835L9.63193 8.14581C9.70566 7.66581 9.67564 7.16895 9.53456 6.68948L10.1063 6.11772C10.6989 5.51458 10.6992 4.54691 10.1063 3.94391L10.0552 3.8942C9.45215 3.30157 8.48446 3.30151 7.88142 3.8942L6.59358 5.18204C6.00081 5.78507 6.00092 6.75274 6.59358 7.35584L6.6433 7.40694C6.77998 7.54132 6.93555 7.64528 7.10112 7.71837L6.29251 8.52699C6.14446 8.43127 6.00395 8.31906 5.87335 8.1907L5.80913 8.12648Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:412,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:407,columnNumber:3},void 0),_D=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M9.94133 6.50173C11.3218 7.99603 11.3218 10.3011 9.94128 11.7954C9.88691 11.8542 9.82125 11.9196 9.72099 12.0198L7.75707 13.9838C7.65709 14.0838 7.592 14.1491 7.53334 14.2034C6.03906 15.5843 3.7327 15.5854 2.23827 14.2048C2.17933 14.1503 2.11374 14.0844 2.01315 13.9838C1.91318 13.8839 1.84922 13.8188 1.79495 13.7601C0.413857 12.2657 0.413909 9.95948 1.795 8.46503C1.84923 8.4064 1.91335 8.34115 2.01321 8.24129L3.79275 6.46313C3.71814 7.08101 3.75236 7.71445 3.90115 8.33518L3.00344 9.23151C2.89398 9.34097 2.8535 9.38307 2.82251 9.41658C1.93771 10.3744 1.93704 11.8514 2.82179 12.8092C2.85279 12.8427 2.89383 12.884 3.0034 12.9936C3.11272 13.1029 3.15429 13.1442 3.18777 13.1752C4.14561 14.0603 5.62381 14.0608 6.58178 13.1758C6.61532 13.1448 6.65722 13.1032 6.76685 12.9935L8.73077 11.0296C8.83999 10.9204 8.88142 10.8787 8.91238 10.8452C9.79744 9.88728 9.7969 8.40911 8.91173 7.45124C8.88074 7.41775 8.83944 7.3762 8.73011 7.26687C8.62082 7.15757 8.58061 7.11623 8.54712 7.08526C8.37347 6.92477 8.18243 6.79361 7.98088 6.69165L9.00289 5.66964C9.17506 5.78373 9.34035 5.91265 9.49663 6.05703C9.55538 6.11135 9.62026 6.17652 9.72036 6.27662C9.82094 6.3772 9.88686 6.4428 9.94133 6.50173Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:422,columnNumber:5},void 0),h.jsxDEV("path",{d:"M6.06816 9.49196C4.68626 7.99724 4.68667 5.68942 6.06885 4.19487C6.12268 4.13671 6.18789 4.07306 6.28706 3.9739L8.24541 2.01416C8.34478 1.91479 8.41018 1.85055 8.46845 1.79665C9.96301 0.414902 12.2689 0.414922 13.7635 1.79665C13.8217 1.85051 13.8866 1.91559 13.9858 2.01486C14.0849 2.11394 14.1502 2.17769 14.204 2.23583C15.5861 3.7304 15.5866 6.03823 14.2047 7.53291C14.1508 7.59125 14.0854 7.65638 13.9858 7.75595L12.1994 9.54098C12.2614 8.92982 12.2185 8.30587 12.0634 7.69657L12.9956 6.76573C13.1044 6.65692 13.1458 6.61529 13.1765 6.58205C14.0621 5.62404 14.0621 4.1454 13.1765 3.18738C13.1458 3.15419 13.104 3.1135 12.9956 3.00508C12.8877 2.89716 12.8471 2.85551 12.814 2.82485C11.8559 1.9389 10.376 1.93886 9.41794 2.82485C9.38479 2.85554 9.34381 2.89622 9.23564 3.00439L7.27728 4.96413C7.16875 5.07265 7.12708 5.11322 7.09636 5.14643C6.21074 6.10441 6.21153 7.58236 7.09705 8.5404C7.12775 8.57357 7.16826 8.61575 7.27659 8.72408C7.38456 8.83205 7.42647 8.87227 7.45958 8.90293C7.62849 9.0591 7.81309 9.1881 8.00856 9.28894L6.98795 10.3095C6.82111 10.1978 6.66052 10.0715 6.50872 9.93114C6.45057 9.87733 6.38547 9.81341 6.28637 9.71431C6.1871 9.61504 6.12202 9.55018 6.06816 9.49196Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:426,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:421,columnNumber:3},void 0),TD=({size:n=8,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M6.54199 8.62824C6.54199 8.44193 6.54146 8.28829 6.53906 8.15851L1.11719 13.5814L0.728516 13.1927L0.339844 12.803L5.76172 7.38019C5.63201 7.3778 5.47812 7.37824 5.29199 7.37824H1.43555V6.27863H5.29199C5.65471 6.27863 5.97167 6.27814 6.22852 6.30597C6.49541 6.33493 6.76232 6.3998 7.00293 6.57452C7.13452 6.67013 7.25108 6.78571 7.34668 6.9173C7.52157 7.15808 7.5863 7.4256 7.61523 7.69269C7.64305 7.94948 7.64258 8.26562 7.64258 8.62824V12.4857H6.54199V8.62824Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:436,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:435,columnNumber:3},void 0),LD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M13.588429 5.147807C13.588429 4.739638 13.587271 4.403003 13.582013 4.118684L1.703098 15.99968L0.85155 15.148178L0 14.294485L11.878915 2.413442C11.594721 2.408199 11.257569 2.409154 10.849776 2.409154H2.400594V0.000001H10.849776C11.644471 0.000001 12.338899 -0.001059 12.901622 0.059909C13.486363 0.123352 14.071136 0.265493 14.598303 0.648292C14.886598 0.857751 15.141981 1.110984 15.351433 1.399281C15.734578 1.926807 15.876362 2.512925 15.939743 3.098105C16.000775 3.660718 15.99968 4.353347 15.99968 5.147807V13.599133H13.588429V5.147807Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:446,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:445,columnNumber:3},void 0),OD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M14.9943 1.92389V3.32428H1.00598V1.92389H14.9943Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:456,columnNumber:5},void 0),h.jsxDEV("path",{d:"M14.9943 5.50784V6.90823H1.00598V5.50784H14.9943Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:457,columnNumber:5},void 0),h.jsxDEV("path",{d:"M14.9943 9.09177V10.4922H1.00598V9.09177H14.9943Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:458,columnNumber:5},void 0),h.jsxDEV("path",{d:"M8.93274 12.6757V14.0761H1.00598V12.6757H8.93274Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:459,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:455,columnNumber:3},void 0),KD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M14.4782 4.84067L14.2138 10.1152C14.1102 12.1872 14.067 13.0115 13.3866 13.9607C13.1044 14.3546 12.7498 14.6912 12.3424 14.9535C11.8239 15.2872 11.2415 15.4316 10.5585 15.4998C9.88727 15.5668 9.04946 15.5656 7.99998 15.5656C6.95051 15.5656 6.1127 15.5668 5.44142 15.4998C4.75851 15.4316 4.17602 15.2872 3.65753 14.9535C3.25012 14.6912 2.89559 14.3546 2.61332 13.9607C1.93296 13.0115 1.88979 12.1872 1.78619 10.1152L1.52179 4.84067L2.89006 4.77277L3.15343 10.0463C3.26221 12.2218 3.32452 12.6015 3.72646 13.1624C3.90825 13.4161 4.13686 13.6334 4.39927 13.8023C4.66204 13.9714 5.00263 14.0792 5.57825 14.1367C6.16562 14.1953 6.92298 14.1963 7.99998 14.1963C9.07699 14.1963 9.83434 14.1953 10.4217 14.1367C10.9973 14.0792 11.3379 13.9714 11.6007 13.8023C11.8631 13.6334 12.0917 13.4161 12.2735 13.1624C12.6755 12.6015 12.7378 12.2218 12.8465 10.0463L13.1099 4.77277L14.4782 4.84067ZM5.43011 6.22849H6.7994V11.3909H5.43011V6.22849ZM9.20056 6.22849H10.5699V11.3909H9.20056V6.22849ZM8.53597 0.434431C9.17976 0.434431 9.6522 0.426926 10.0966 0.571258C10.2357 0.616451 10.3717 0.672554 10.502 0.738948C10.9182 0.951107 11.2464 1.29099 11.7015 1.74612L12.4978 2.54136H15.3742V3.91169H0.625732V2.54136H3.50218L4.29845 1.74612C4.75358 1.29099 5.08174 0.951107 5.49801 0.738948C5.62831 0.672554 5.76425 0.616451 5.90334 0.571258C6.34776 0.426926 6.82021 0.434431 7.46399 0.434431H8.53597ZM7.46399 1.80476C6.73208 1.80476 6.51641 1.81187 6.32617 1.87369C6.25545 1.89667 6.18668 1.92533 6.12041 1.95907C5.96398 2.03878 5.82348 2.16253 5.44142 2.54136H10.5585C10.1765 2.16253 10.036 2.03878 9.87955 1.95907C9.81329 1.92533 9.74452 1.89667 9.6738 1.87369C9.48356 1.81187 9.26789 1.80476 8.53597 1.80476H7.46399Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:466,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:465,columnNumber:3},void 0),Y8=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M6.3002 3.32843L7.69986 3.32843L7.69986 7.79657H6.3002L6.3002 3.32843Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:476,columnNumber:5},void 0),h.jsxDEV("path",{d:"M6.3002 9.01935H7.69986V10.6711H6.3002V9.01935Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:480,columnNumber:5},void 0),h.jsxDEV("path",{d:"M12.6328 6.99976C12.6328 3.88874 10.111 1.36694 7 1.36694C3.88899 1.36695 1.3672 3.88875 1.36719 6.99976C1.36719 10.1108 3.88899 12.6326 7 12.6326C10.111 12.6326 12.6328 10.1108 12.6328 6.99976ZM13.8582 6.99976C13.8582 10.7873 10.7876 13.8579 7 13.8579C3.21244 13.8579 0.141846 10.7873 0.141846 6.99976C0.141857 3.2122 3.21245 0.141612 7 0.141602C10.7876 0.141602 13.8581 3.21219 13.8582 6.99976Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:481,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:475,columnNumber:3},void 0),jD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M11.0307 5.46369C11.0305 3.78995 9.6734 2.43357 7.99961 2.43357C6.32601 2.43379 4.96972 3.79009 4.96949 5.46369C4.96949 7.13748 6.32587 8.49455 7.99961 8.49477C9.67354 8.49477 11.0307 7.13762 11.0307 5.46369ZM12.3163 5.46369C12.3163 7.84777 10.3837 9.78042 7.99961 9.78042C5.61572 9.7802 3.68288 7.84763 3.68288 5.46369C3.6831 3.07993 5.61586 1.14718 7.99961 1.14695C10.3836 1.14695 12.3161 3.0798 12.3163 5.46369Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:491,columnNumber:5},void 0),h.jsxDEV("path",{d:"M8.00002 10.3316C11.7343 10.3316 14.1864 11.8997 15.0387 14.4445L14.4292 14.6483L13.8197 14.8531C13.1955 12.9893 11.3673 11.6182 8.00002 11.6182C4.63277 11.6182 2.80455 12.9893 2.18031 14.8531L1.5708 14.6483L0.961304 14.4445C1.81368 11.8997 4.26579 10.3316 8.00002 10.3316Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:495,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:490,columnNumber:3},void 0),XD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M8.3125 0.981587C8.66767 1.0545 8.97902 1.20558 9.2627 1.43374C9.48724 1.61438 9.73029 1.85933 9.97949 2.10854L14.707 6.83608L13.293 8.25014L9 3.95717V15.0431H7V3.95717L2.70703 8.25014L1.29297 6.83608L6.02051 2.10854C6.26971 1.85933 6.51277 1.61438 6.7373 1.43374C6.97662 1.24126 7.28445 1.04542 7.6875 0.981587C7.8973 0.94841 8.1031 0.956564 8.3125 0.981587Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:505,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:504,columnNumber:3},void 0),UD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M2 4.88C2 3.68009 2 3.08013 2.30557 2.65954C2.40426 2.52371 2.52371 2.40426 2.65954 2.30557C3.08013 2 3.68009 2 4.88 2H11.12C12.3199 2 12.9199 2 13.3405 2.30557C13.4763 2.40426 13.5957 2.52371 13.6944 2.65954C14 3.08013 14 3.68009 14 4.88V11.12C14 12.3199 14 12.9199 13.6944 13.3405C13.5957 13.4763 13.4763 13.5957 13.3405 13.6944C12.9199 14 12.3199 14 11.12 14H4.88C3.68009 14 3.08013 14 2.65954 13.6944C2.52371 13.5957 2.40426 13.4763 2.30557 13.3405C2 12.9199 2 12.3199 2 11.12V4.88Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:515,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:514,columnNumber:3},void 0),VD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M5.5498 9.75V5H6.9502V9.75C6.9502 10.3299 7.4201 10.7998 8 10.7998C8.5799 10.7998 9.0498 10.3299 9.0498 9.75V4.5C9.0498 2.9536 7.7964 1.7002 6.25 1.7002C4.7036 1.7002 3.4502 2.9536 3.4502 4.5V9.75C3.4502 12.2629 5.4871 14.2998 8 14.2998C10.5129 14.2998 12.5498 12.2629 12.5498 9.75V4H13.9502V9.75C13.9502 13.0361 11.2861 15.7002 8 15.7002C4.71391 15.7002 2.0498 13.0361 2.0498 9.75V4.5C2.04981 2.1804 3.9304 0.299806 6.25 0.299805C8.5696 0.299805 10.4502 2.1804 10.4502 4.5V9.75C10.4502 11.1031 9.3531 12.2002 8 12.2002C6.6469 12.2002 5.5498 11.1031 5.5498 9.75Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:525,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:524,columnNumber:3},void 0),MD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M2.871 13.1286C0.0387669 10.2962 0.0387669 5.70383 2.871 2.87141C5.70341 0.0390029 10.2957 0.0391154 13.1282 2.87141L12.1387 3.86094C9.85292 1.57538 6.1469 1.57596 3.86123 3.86163C1.57573 6.14732 1.57573 9.85269 3.86123 12.1384C6.1469 14.424 9.85292 14.4246 12.1387 12.1391L13.1282 13.1286C10.2957 15.9609 5.70341 15.961 2.871 13.1286Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:535,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:534,columnNumber:3},void 0),AD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M15.3695 11.411L15.1234 12.8866C14.8869 14.3042 13.6603 15.3436 12.223 15.3436H3.77673C2.33958 15.3434 1.1128 14.3042 0.876343 12.8866L0.630249 11.411L2.05408 11.1747L2.29919 12.6493C2.41973 13.3713 3.04475 13.9001 3.77673 13.9003H12.223C12.9551 13.9002 13.58 13.3713 13.7006 12.6493L13.9457 11.1747L15.3695 11.411ZM8.72205 8.994C8.77717 8.93934 8.83792 8.88106 8.90271 8.81627L12.4828 5.23424L13.5043 6.25572L9.92224 9.8358C9.6395 10.1185 9.38763 10.3732 9.15857 10.5575C8.91892 10.7503 8.63953 10.9224 8.2865 10.9784C8.09711 11.0083 7.90363 11.0083 7.71423 10.9784C7.36106 10.9224 7.0809 10.7503 6.84119 10.5575C6.61215 10.3732 6.36022 10.1185 6.07751 9.8358L2.49646 6.25572L3.51697 5.23424L7.09705 8.81627C7.16219 8.88142 7.22331 8.94006 7.27869 8.99498V1.3065H8.72205V8.994Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:545,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:544,columnNumber:3},void 0),HD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M14.1446 8C14.1446 4.6062 11.3938 1.85539 8 1.85539C4.6062 1.85539 1.85539 4.6062 1.85539 8C1.85539 11.3938 4.6062 14.1446 8 14.1446C11.3938 14.1446 14.1446 11.3938 14.1446 8ZM15.511 8C15.511 12.148 12.148 15.511 8 15.511C3.85202 15.511 0.489014 12.148 0.489014 8C0.489014 3.85202 3.85202 0.489014 8 0.489014C12.148 0.489014 15.511 3.85202 15.511 8Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:555,columnNumber:5},void 0),h.jsxDEV("path",{d:"M10.5617 8.42578C10.852 8.21614 10.852 7.78386 10.5617 7.57422L7.25708 5.18751C6.90974 4.93666 6.42436 5.18484 6.42436 5.61329V10.3867C6.42436 10.8152 6.90974 11.0633 7.25708 10.8125L10.5617 8.42578Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:559,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:554,columnNumber:3},void 0),BD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M14.1448 8.00024C14.1448 4.60644 11.394 1.85563 8.00024 1.85563C4.60644 1.85563 1.85563 4.60644 1.85563 8.00024C1.85563 11.394 4.60644 14.1448 8.00024 14.1448C11.394 14.1448 14.1448 11.394 14.1448 8.00024ZM15.5112 8.00024C15.5112 12.1482 12.1482 15.5112 8.00024 15.5112C3.85226 15.5112 0.489258 12.1482 0.489258 8.00024C0.489258 3.85226 3.85226 0.489258 8.00024 0.489258C12.1482 0.489258 15.5112 3.85226 15.5112 8.00024Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:569,columnNumber:5},void 0),h.jsxDEV("path",{d:"M7.14244 5.14258V10.8569H5.71387V5.14258H7.14244Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:573,columnNumber:5},void 0),h.jsxDEV("path",{d:"M10.286 5.14258V10.8569H8.85742V5.14258H10.286Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:574,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:568,columnNumber:3},void 0),$D=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M2.58875 12.3407L6.59167 8.33777L7.66296 9.40808L3.66003 13.411H7.99988V14.8065H3.05457C2.02633 14.8065 1.19324 13.9734 1.19324 12.9452V7.99988H2.58875V12.3407Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:581,columnNumber:5},void 0),h.jsxDEV("path",{d:"M12.9452 1.19324C13.9734 1.19324 14.8065 2.02633 14.8065 3.05457V7.99988H13.411V3.66003L9.40808 7.66296L8.33777 6.59167L12.3407 2.58875H7.99988V1.19324H12.9452Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:585,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:580,columnNumber:3},void 0),FD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3368 1.53569L11.931 4.43172H14.8086V5.79673H11.7404L11.1962 9.67859H14.2839V11.0436H11.0056L10.4994 14.6529L9.14873 14.4643L9.62731 11.0436H5.75876L5.25252 14.6529L3.90186 14.4643L4.38043 11.0436H1.69141V9.67859H4.57104L5.11417 5.79673H2.21609V4.43172H5.30581L5.73724 1.34713L7.08995 1.53569L6.68414 4.43172H10.5527L10.9841 1.34713L12.3368 1.53569ZM5.94937 9.67859H9.81791L10.361 5.79673H6.49353L5.94937 9.67859Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:595,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:594,columnNumber:3},void 0),zD=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("g",{clipPath:"url(#clip0_1840_45990)",children:[h.jsxDEV("path",{d:"M3.03426 5.66661L1.70084 7.00003L3.0315 8.33069L2.14762 9.21457L-0.0669245 7.00003L2.15038 4.78273L3.03426 5.66661ZM7 14.067L4.77924 11.8462L5.66313 10.9623L7 12.2992L8.33342 10.9658L9.2173 11.8496L7 14.067ZM11.8489 9.21803L10.965 8.33414L12.2992 7.00003L10.9623 5.66316L11.8462 4.77927L14.0669 7.00003L11.8489 9.21803ZM8.33066 3.03153L7 1.70087L5.66589 3.03498L4.782 2.1511L7 -0.0668945L9.21454 2.14765L8.33066 3.03153Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:608,columnNumber:7},void 0),h.jsxDEV("rect",{x:"5.98535",y:"5.98535",width:"2.02942",height:"2.02942",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:612,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:607,columnNumber:5},void 0),h.jsxDEV("defs",{children:h.jsxDEV("clipPath",{id:"clip0_1840_45990",children:h.jsxDEV("rect",{width:"14",height:"14",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:616,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:615,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:614,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:606,columnNumber:3},void 0),PD=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",children:[h.jsxDEV("path",{transform:"translate(0.6689 1.073)",d:"M11.4818 5.57813C11.4818 4.45301 11.4807 3.66237 11.4075 3.05908C11.3359 2.46953 11.2024 2.13852 10.9939 1.89441C10.9247 1.81341 10.8493 1.73801 10.7683 1.66882C10.5242 1.46033 10.1932 1.32686 9.60364 1.25525C9.00034 1.18198 8.20974 1.18091 7.0846 1.18091L5.57813 1.18091C4.45301 1.18091 3.66238 1.18198 3.05908 1.25525C2.46953 1.32686 2.13852 1.46033 1.89441 1.66882C1.81341 1.73801 1.73801 1.81341 1.66882 1.89441C1.46033 2.13852 1.32686 2.46953 1.25525 3.05908C1.18198 3.66238 1.18091 4.45301 1.18091 5.57813L1.18091 6.2771C1.18091 7.40218 1.18197 8.19288 1.25525 8.79614C1.32687 9.38553 1.46036 9.71674 1.66882 9.96082C1.73797 10.0417 1.81347 10.1173 1.89441 10.1864C2.13851 10.3948 2.46965 10.5275 3.05908 10.5991C3.66238 10.6724 4.45298 10.6735 5.57813 10.6735L7.0846 10.6735C8.20977 10.6735 9.00033 10.6724 9.60364 10.5991C10.1931 10.5275 10.5242 10.3948 10.7683 10.1864C10.8493 10.1173 10.9247 10.0417 10.9939 9.96082C11.2024 9.71674 11.3358 9.38553 11.4075 8.79614C11.4808 8.19288 11.4818 7.40218 11.4818 6.2771L11.4818 5.57813ZM12.6627 6.2771C12.6627 7.37222 12.6637 8.247 12.5798 8.93799C12.4942 9.64284 12.3133 10.2359 11.8928 10.7282C11.7834 10.8562 11.6637 10.9751 11.5356 11.0845C11.0434 11.5049 10.4511 11.6867 9.74634 11.7723C9.05525 11.8563 8.17999 11.8552 7.0846 11.8552L5.57813 11.8552C4.48273 11.8552 3.60747 11.8563 2.91638 11.7723C2.21157 11.6867 1.61933 11.5049 1.12708 11.0845C0.99901 10.9751 0.879281 10.8562 0.769898 10.7282C0.349454 10.2359 0.168506 9.64284 0.0828864 8.93799C-0.00101964 8.247 4.88512e-07 7.37222 6.47206e-07 6.2771L6.47206e-07 5.57813C6.47206e-07 4.48273 -0.00106163 3.60747 0.0828864 2.91638C0.168502 2.21168 0.349594 1.61928 0.769898 1.12708C0.879302 0.998981 0.998981 0.879302 1.12708 0.769898C1.61928 0.349594 2.21168 0.168502 2.91638 0.0828864C3.60747 -0.00106163 4.48273 6.47206e-07 5.57813 6.47206e-07L7.0846 6.47206e-07C8.17999 6.47206e-07 9.05525 -0.00106163 9.74634 0.0828864C10.451 0.168505 11.0434 0.349587 11.5356 0.769898C11.6637 0.879302 11.7834 0.998981 11.8928 1.12708C12.3131 1.61928 12.4942 2.21169 12.5798 2.91638C12.6638 3.60747 12.6627 4.48273 12.6627 5.57813L12.6627 6.2771Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:625,columnNumber:5},void 0),h.jsxDEV("path",{transform:"translate(0.6689 1.073)",d:"M6.02607 5.50955L6.44306 5.9274L3.84284 8.52762L3.425 8.11063L3.00715 7.69278L4.77253 5.9274L3.00715 4.16202L3.84284 3.32633L6.02607 5.50955Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:626,columnNumber:5},void 0),h.jsxDEV("path",{transform:"translate(0.6689 1.073)",d:"M9.23789 7.35397L9.23789 8.53488L6.96238 8.53488L6.96238 7.35397L9.23789 7.35397Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:627,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:624,columnNumber:3},void 0),ID=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",children:h.jsxDEV("path",{transform:"translate(1.292 1.3)",d:"M10.3232 9.18164C11.2868 9.18164 12.0985 9.82833 12.3506 10.7109L13.415 10.7109L13.415 11.8711L12.3496 11.8711C12.0971 12.7532 11.2864 13.3994 10.3232 13.3994C9.36031 13.3992 8.55012 12.7531 8.29785 11.8711L0 11.8711L0 10.7109L8.29688 10.7109C8.54876 9.82845 9.35988 9.18186 10.3232 9.18164ZM10.3232 10.3418C9.7999 10.3421 9.37534 10.7667 9.375 11.29C9.375 11.8137 9.79969 12.239 10.3232 12.2393C10.847 12.2393 11.2725 11.8138 11.2725 11.29C11.2721 10.7666 10.8468 10.3418 10.3232 10.3418ZM12.4326 11.291C12.4326 11.3549 12.4284 11.418 12.4229 11.4805C12.4287 11.4181 12.4326 11.355 12.4326 11.291ZM8.21484 11.2832C8.21484 11.2856 8.21484 11.2886 8.21484 11.291L8.21484 11.29C8.21484 11.2878 8.21484 11.2855 8.21484 11.2832ZM3.08301 4.59082C4.04605 4.59095 4.85696 5.23717 5.10938 6.11914L13.415 6.11914L13.415 7.2793L5.11035 7.2793C4.85833 8.16202 4.04648 8.80846 3.08301 8.80859C2.11972 8.80843 1.30963 8.16179 1.05762 7.2793L0 7.2793L0 6.11914L1.05762 6.11914C1.30994 5.23728 2.12006 4.59098 3.08301 4.59082ZM3.08301 5.75098C2.55962 5.75117 2.13512 6.17587 2.13477 6.69922C2.13477 7.22287 2.5594 7.64824 3.08301 7.64844C3.60665 7.64828 4.03223 7.2229 4.03223 6.69922C4.03187 6.17585 3.60643 5.75113 3.08301 5.75098ZM5.19238 6.69922C5.19238 6.763 5.18816 6.82633 5.18262 6.88867C5.18846 6.82629 5.19238 6.76313 5.19238 6.69922C5.19236 6.63495 5.18853 6.57152 5.18262 6.50879C5.18826 6.57154 5.19236 6.635 5.19238 6.69922ZM0.982422 6.52344C0.977382 6.58136 0.97463 6.63999 0.974609 6.69922C0.974609 6.75775 0.977496 6.81579 0.982422 6.87305C0.977758 6.81579 0.974609 6.75767 0.974609 6.69922C0.974628 6.64 0.977618 6.58142 0.982422 6.52344ZM10.3232 0C11.2869 0 12.0986 0.646596 12.3506 1.5293L13.415 1.5293L13.415 2.68945L12.3496 2.68945C12.363 2.64266 12.3754 2.59488 12.3857 2.54688C12.1838 3.50118 11.3376 4.21777 10.3232 4.21777C9.36037 4.21756 8.55018 3.57139 8.29785 2.68945L0 2.68945L0 1.5293L8.29688 1.5293C8.5487 0.646717 9.35981 0.00021854 10.3232 0ZM10.3232 1.16016C9.79984 1.16042 9.37524 1.58499 9.375 2.1084C9.375 2.63201 9.79969 3.05735 10.3232 3.05762C10.847 3.05762 11.2725 2.63217 11.2725 2.1084C11.2722 1.58483 10.8469 1.16016 10.3232 1.16016ZM12.4229 2.29883C12.4287 2.23641 12.4326 2.17331 12.4326 2.10938C12.4326 2.17327 12.4284 2.23638 12.4229 2.29883ZM8.21484 2.10938L8.21484 2.1084L8.21484 2.10938ZM8.22266 1.93359C8.21785 1.98897 8.21506 2.04499 8.21484 2.10156C8.21503 2.04501 8.2181 1.98902 8.22266 1.93359ZM8.22266 11.1162C8.2179 11.1713 8.21507 11.227 8.21484 11.2832C8.21504 11.227 8.21814 11.1713 8.22266 11.1162Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:634,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:633,columnNumber:3},void 0),ZD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",children:[h.jsxDEV("path",{transform:"translate(9.52 2.52)",d:"M3.55246 0L3.55246 2.44252L6 2.44252L6 3.55748L3.55246 3.55748L3.55246 6L2.43834 6L2.43834 3.55748L0 3.55748L0 2.44252L2.43834 2.44252L2.43834 0L3.55246 0Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:641,columnNumber:5},void 0),h.jsxDEV("path",{transform:"translate(0.3496 2.35)",d:"M4.76367 0C5.36861 1.80598e-05 5.93113 0.310294 6.25488 0.821289L6.78027 1.64941C6.79685 1.67558 6.81791 1.69775 6.83887 1.71973C6.72186 2.15521 6.65702 2.61192 6.65137 3.08301C6.25601 2.96045 5.90909 2.70478 5.68164 2.3457L5.15723 1.5166C5.07183 1.38189 4.92318 1.3008 4.76367 1.30078L2.32422 1.30078C1.7589 1.30078 1.30078 1.7589 1.30078 2.32422L1.30078 10.1338C1.30078 10.6991 1.7589 11.1572 2.32422 11.1572L11.9766 11.1572C12.5419 11.1572 13 10.6991 13 10.1338L13 8.58398C13.4545 8.5135 13.8903 8.38748 14.3008 8.21289L14.3008 10.1338C14.3008 11.4171 13.2598 12.458 11.9766 12.458L2.32422 12.458C1.04093 12.458 0 11.4171 0 10.1338L0 2.32422C0 1.04093 1.04093 0 2.32422 0L4.76367 0Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:642,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:640,columnNumber:3},void 0),qD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",children:h.jsxDEV("path",{d:"M5.19629 1.57104C5.81144 1.5711 6.38623 1.8786 6.72754 2.39038L7.19922 3.09839C7.28454 3.22635 7.42824 3.30344 7.58203 3.30347H12.1699C13.5039 3.30348 14.5859 4.38548 14.5859 5.71948V6.62671C15.2694 7.02689 15.6605 7.85012 15.4385 8.68726L14.3848 12.658C14.1037 13.7164 13.1449 14.4527 12.0498 14.4529H2.91699C1.51651 14.4529 0.451662 13.2814 0.501954 11.9519V3.98706C0.501954 2.65305 1.58396 1.57104 2.91797 1.57104H5.19629ZM3.7793 7.75562C3.30994 7.75562 2.89883 8.07153 2.77832 8.52515L1.91602 11.7722C1.74167 12.4291 2.23734 13.073 2.91699 13.073H12.0498C12.5191 13.0728 12.9304 12.757 13.0508 12.3035L14.1045 8.33374C14.1819 8.04202 13.9619 7.756 13.6602 7.75562H3.7793ZM2.91797 2.9519C2.34625 2.9519 1.88281 3.41534 1.88281 3.98706V7.2937C2.33068 6.7269 3.02249 6.37476 3.7793 6.37476H13.2051V5.71948C13.2051 5.14777 12.7416 4.68434 12.1699 4.68433H7.58203C6.96675 4.6843 6.39209 4.37595 6.05078 3.86401L5.5791 3.15601C5.49379 3.02821 5.34995 2.95196 5.19629 2.9519H2.91797Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:653,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:652,columnNumber:3},void 0),WD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",children:[h.jsxDEV("path",{d:"M5.19629 1.57104C5.81144 1.5711 6.38623 1.8786 6.72754 2.39038L7.19922 3.09839C7.28454 3.22635 7.42824 3.30344 7.58203 3.30347H12.1699C13.5039 3.30348 14.5859 4.38548 14.5859 5.71948V6.62671C15.2694 7.02689 15.6605 7.85012 15.4385 8.68726L14.3848 12.658C14.1037 13.7164 13.1449 14.4527 12.0498 14.4529H2.91699C1.51651 14.4529 0.451662 13.2814 0.501954 11.9519V3.98706C0.501954 2.65305 1.58396 1.57104 2.91797 1.57104H5.19629ZM3.7793 7.75562C3.30994 7.75562 2.89883 8.07153 2.77832 8.52515L1.91602 11.7722C1.74167 12.4291 2.23734 13.073 2.91699 13.073H12.0498C12.5191 13.0728 12.9304 12.757 13.0508 12.3035L14.1045 8.33374C14.1819 8.04202 13.9619 7.756 13.6602 7.75562H3.7793ZM2.91797 2.9519C2.34625 2.9519 1.88281 3.41534 1.88281 3.98706V7.2937C2.33068 6.7269 3.02249 6.37476 3.7793 6.37476H13.2051V5.71948C13.2051 5.14777 12.7416 4.68434 12.1699 4.68433H7.58203C6.96675 4.6843 6.39209 4.37595 6.05078 3.86401L5.5791 3.15601C5.49379 3.02821 5.34995 2.95196 5.19629 2.9519H2.91797Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:660,columnNumber:5},void 0),h.jsxDEV("path",{opacity:"0.2",d:"M13.6602 7.75525C13.9618 7.7556 14.1815 8.04179 14.1045 8.33337L13.0508 12.3031C12.9304 12.7567 12.5191 13.0725 12.0498 13.0726H2.91701C2.23744 13.0725 1.7417 12.4287 1.91603 11.7719L2.77834 8.52478C2.89898 8.07146 3.31018 7.75532 3.77931 7.75525H13.6602ZM5.1963 2.95154C5.34985 2.95159 5.49377 3.02803 5.57912 3.15564L6.0508 3.86365C6.39205 4.37553 6.96685 4.68385 7.58205 4.68396H12.1699C12.7416 4.68396 13.2049 5.14754 13.2051 5.71912V6.37439H3.77931C3.02267 6.37444 2.33067 6.72671 1.88283 7.29333V3.98669C1.88299 3.4152 2.34649 2.95168 2.91798 2.95154H5.1963Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:661,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:659,columnNumber:3},void 0),YD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",children:h.jsxDEV("path",{transform:"translate(1.5 2.429)",d:"M5.05582 0.518756L4.50669 0.86654L5.05582 0.518756ZM13 9.4837L13.65 9.4837L13.65 3.53962L13 3.53962L12.35 3.53962L12.35 9.4837L13 9.4837ZM11.3264 1.86603L11.3264 1.21603L6.52313 1.21603L6.52313 1.86603L6.52313 2.51603L11.3264 2.51603L11.3264 1.86603ZM5.58054 1.34727L6.12968 0.999489L5.60495 0.170972L5.05582 0.518756L4.50669 0.86654L5.03141 1.69506L5.58054 1.34727ZM4.11323 1.23058e-13L4.11323 -0.65L1.67359 -0.65L1.67359 5.00699e-14L1.67359 0.65L4.11323 0.65L4.11323 1.23058e-13ZM0 1.67359L-0.65 1.67359L-0.65 9.4837L0 9.4837L0.65 9.4837L0.65 1.67359L0 1.67359ZM11.3264 11.1573L11.3264 10.5073L1.67359 10.5073L1.67359 11.1573L1.67359 11.8073L11.3264 11.8073L11.3264 11.1573ZM0 9.4837L-0.65 9.4837C-0.65 10.767 0.390308 11.8073 1.67359 11.8073L1.67359 11.1573L1.67359 10.5073C1.10828 10.5073 0.65 10.049 0.65 9.4837L0 9.4837ZM1.67359 5.00699e-14L1.67359 -0.65C0.390307 -0.65 -0.65 0.390309 -0.65 1.67359L0 1.67359L0.65 1.67359C0.65 1.10828 1.10828 0.65 1.67359 0.65L1.67359 5.00699e-14ZM5.05582 0.518756L5.60495 0.170972C5.28121 -0.340193 4.71829 -0.65 4.11323 -0.65L4.11323 1.23058e-13L4.11323 0.65C4.27282 0.65 4.4213 0.731715 4.50669 0.86654L5.05582 0.518756ZM6.52313 1.86603L6.52313 1.21603C6.36354 1.21603 6.21507 1.13431 6.12968 0.999489L5.58054 1.34727L5.03141 1.69506C5.35515 2.20622 5.91808 2.51603 6.52313 2.51603L6.52313 1.86603ZM13 3.53962L13.65 3.53962C13.65 2.25634 12.6097 1.21603 11.3264 1.21603L11.3264 1.86603L11.3264 2.51603C11.8917 2.51603 12.35 2.97431 12.35 3.53962L13 3.53962ZM13 9.4837L12.35 9.4837C12.35 10.049 11.8917 10.5073 11.3264 10.5073L11.3264 11.1573L11.3264 11.8073C12.6097 11.8073 13.65 10.767 13.65 9.4837L13 9.4837Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:668,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:667,columnNumber:3},void 0),JD=({size:n=10,className:i})=>h.jsxDEV("svg",{width:n*8/10,height:n,className:i,viewBox:"-0.5 0 8.5 10.5",fill:"none",children:h.jsxDEV("path",{d:"M0 0L-0.5 0L-0.5 7L0 7L0.5 7L0.5 0L0 0ZM3 10L3 10.5L8 10.5L8 10L8 9.5L3 9.5L3 10ZM0 7L-0.5 7C-0.5 8.933 1.067 10.5 3 10.5L3 10L3 9.5C1.61929 9.5 0.5 8.38071 0.5 7L0 7Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:675,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:674,columnNumber:3},void 0),GD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M11.3496 8C11.3496 6.14985 9.85015 4.65039 8 4.65039C6.14985 4.65039 4.65039 6.14985 4.65039 8C4.65039 9.85015 6.14985 11.3496 8 11.3496C9.85015 11.3496 11.3496 9.85015 11.3496 8ZM12.6504 8C12.6504 10.5681 10.5681 12.6504 8 12.6504C5.43188 12.6504 3.34961 10.5681 3.34961 8C3.34961 5.43188 5.43188 3.34961 8 3.34961C10.5681 3.34961 12.6504 5.43188 12.6504 8Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:682,columnNumber:5},void 0),h.jsxDEV("path",{d:"M8.65039 0.5V2.5H7.34961V0.5H8.65039Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:686,columnNumber:5},void 0),h.jsxDEV("path",{d:"M8.65039 13.5V15.5H7.34961V13.5H8.65039Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:687,columnNumber:5},void 0),h.jsxDEV("path",{d:"M3.15808 2.24035L4.57229 3.65456L3.6525 4.57435L2.23829 3.16014L3.15808 2.24035Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:688,columnNumber:5},void 0),h.jsxDEV("path",{d:"M12.3505 11.4327L13.7647 12.8469L12.8449 13.7667L11.4307 12.3525L12.3505 11.4327Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:692,columnNumber:5},void 0),h.jsxDEV("path",{d:"M2.24537 12.8469L3.65958 11.4327L4.57937 12.3525L3.16516 13.7667L2.24537 12.8469Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:696,columnNumber:5},void 0),h.jsxDEV("path",{d:"M11.4377 3.65455L12.852 2.24033L13.7718 3.16012L12.3575 4.57434L11.4377 3.65455Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:700,columnNumber:5},void 0),h.jsxDEV("path",{d:"M0.5 7.35461H2.5V8.6554H0.5L0.5 7.35461Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:704,columnNumber:5},void 0),h.jsxDEV("path",{d:"M13.5 7.35461H15.5V8.6554H13.5V7.35461Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:705,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:681,columnNumber:3},void 0),QD=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M13.2764 9.52324C12.5607 9.97754 11.7177 10.242 10.7812 10.242C8.11386 10.2419 5.95042 8.07997 5.9502 5.41289C5.9502 4.48128 6.21453 3.61071 6.67188 2.87285C4.30332 3.4658 2.54992 5.60845 2.5498 8.16093C2.5498 11.1712 4.99103 13.6102 8 13.6102C10.5383 13.6102 12.6709 11.8724 13.2764 9.52324ZM7.05078 5.41289C7.051 7.47224 8.72116 9.1423 10.7812 9.14238C11.9248 9.14238 12.887 8.63397 13.5781 7.8084C13.7266 7.63106 13.9701 7.56547 14.1875 7.64433C14.4049 7.72329 14.5497 7.9297 14.5498 8.16093C14.5498 11.7766 11.6161 14.7098 8 14.7098C4.38402 14.7098 1.4502 11.7792 1.4502 8.16093C1.45033 4.54322 4.3812 1.61015 8 1.61015C8.23027 1.61015 8.43585 1.75352 8.51562 1.96953C8.59536 2.18554 8.53241 2.42829 8.35742 2.57793C7.55573 3.26311 7.05078 4.27876 7.05078 5.41289Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:712,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:711,columnNumber:3},void 0),eS=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M12.1665 13.5811V14.7803H3.66651V13.5811H12.1665Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:722,columnNumber:5},void 0),h.jsxDEV("path",{d:"M13.4453 7.02379C13.4453 6.04702 13.4452 5.3616 13.3887 4.83434C13.3333 4.31828 13.2302 4.02378 13.0723 3.80309C12.9446 3.62475 12.7877 3.46883 12.6094 3.34117C12.3887 3.18328 12.0942 3.08007 11.5781 3.02477C11.0508 2.96829 10.3655 2.96715 9.38867 2.96715H6.61035C5.63359 2.96715 4.94816 2.96827 4.4209 3.02477C3.90486 3.0801 3.61034 3.18321 3.38965 3.34117C3.21143 3.46878 3.05534 3.62487 2.92774 3.80309C2.76977 4.02377 2.66667 4.3183 2.61133 4.83434C2.55483 5.3616 2.55371 6.04702 2.55371 7.02379C2.55371 8.0006 2.55485 8.68596 2.61133 9.21324C2.66663 9.72936 2.76983 10.0238 2.92774 10.2445C3.0554 10.4228 3.21131 10.5797 3.38965 10.7074C3.61034 10.8654 3.90484 10.9685 4.4209 11.0238C4.94816 11.0803 5.63359 11.0804 6.61035 11.0804H9.38867C10.3654 11.0804 11.0508 11.0803 11.5781 11.0238C12.0941 10.9685 12.3887 10.8652 12.6094 10.7074C12.7877 10.5797 12.9446 10.4229 13.0723 10.2445C13.2301 10.0238 13.3334 9.72927 13.3887 9.21324C13.4452 8.68596 13.4453 8.00058 13.4453 7.02379ZM14.6455 7.02379C14.6455 7.97428 14.646 8.73509 14.5811 9.34117C14.5149 9.95828 14.3756 10.4858 14.0479 10.9437C13.8436 11.229 13.5938 11.4788 13.3086 11.683C12.8507 12.0108 12.3232 12.15 11.7061 12.2162C11.1 12.2811 10.3391 12.2806 9.38867 12.2806H6.61035C5.66018 12.2806 4.89991 12.2811 4.29395 12.2162C3.67684 12.15 3.14935 12.0108 2.69141 11.683C2.40613 11.4788 2.15639 11.229 1.95215 10.9437C1.62436 10.4858 1.4841 9.95828 1.41797 9.34117C1.35305 8.73511 1.35449 7.97424 1.35449 7.02379C1.35449 6.07366 1.35308 5.31333 1.41797 4.70738C1.4841 4.09028 1.62436 3.56279 1.95215 3.10485C2.15638 2.81956 2.40613 2.56982 2.69141 2.36559C3.14935 2.03779 3.67684 1.89753 4.29395 1.83141C4.8999 1.76652 5.66022 1.76793 6.61035 1.76793H9.38867C10.3391 1.76793 11.1 1.76649 11.7061 1.83141C12.3232 1.89753 12.8507 2.03779 13.3086 2.36559C13.5939 2.56982 13.8436 2.81957 14.0479 3.10485C14.3756 3.56279 14.5149 4.09028 14.5811 4.70738C14.646 5.31335 14.6455 6.07362 14.6455 7.02379Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:723,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:721,columnNumber:3},void 0),tS=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0997 8.54554C12.2905 8.54989 12.3541 8.58056 12.4535 8.74614L12.8849 9.46387C12.9851 9.63071 13.0464 9.66013 13.2388 9.66447H14.1138C14.3417 9.66448 14.3512 9.66937 14.4686 9.86507L14.892 10.5717C14.9942 10.7422 14.9948 10.8247 14.892 10.9961L14.4756 11.6906C14.3741 11.8677 14.3694 11.9379 14.4756 12.115L14.892 12.8096C14.9942 12.9801 14.9947 13.0625 14.892 13.234L14.4686 13.9406C14.3643 14.1028 14.3063 14.1354 14.1138 14.1412H13.2388C13.0465 14.1456 12.985 14.1752 12.8849 14.3418L12.4535 15.0595C12.353 15.2195 12.2895 15.2558 12.0997 15.2601H11.2237C10.9962 15.2601 10.9871 15.2548 10.8699 15.0595L10.4384 14.3418C10.3383 14.175 10.2767 14.1456 10.0846 14.1412H9.2096C9.01854 14.1355 8.95761 14.1006 8.85477 13.9406L8.43139 13.234C8.32562 13.0576 8.33148 12.9862 8.43139 12.8096L8.84771 12.115C8.95165 11.9416 8.94659 11.863 8.84771 11.6906L8.43139 10.9961C8.32767 10.8232 8.33411 10.7437 8.43139 10.5717L8.85477 9.86507C8.95447 9.69891 9.01875 9.67017 9.2096 9.66447H10.0846C10.2741 9.66441 10.3414 9.62547 10.4384 9.46387L10.8699 8.74614C10.987 8.55106 10.9963 8.54554 11.2237 8.54554H12.0997ZM11.6612 10.232C11.3326 10.7798 10.8155 11.0948 10.1743 11.106C10.4443 11.61 10.4425 12.1976 10.1743 12.6987C10.803 12.7096 11.3391 13.0359 11.6612 13.5727C11.9855 13.0323 12.5131 12.7098 13.148 12.6987C12.879 12.196 12.8789 11.6086 13.148 11.106C12.5076 11.0948 11.9894 10.7794 11.6612 10.232Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:733,columnNumber:5},void 0),h.jsxDEV("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.51205 0.790627C9.19055 0.790649 10.7401 1.0691 11.892 1.54364C12.4664 1.78029 12.9719 2.07885 13.3436 2.4408C13.7171 2.80467 13.9916 3.27253 13.9918 3.82384V7.90442C13.6067 7.69532 13.1907 7.53597 12.7529 7.43366V5.66454C12.4928 5.82898 12.2028 5.97601 11.892 6.10405C10.74 6.57865 9.19071 6.85706 7.51205 6.85706C5.8337 6.85703 4.285 6.57852 3.13309 6.10405C2.82215 5.97593 2.53164 5.8291 2.27121 5.66454V7.4135C2.27134 7.75678 2.6066 8.27106 3.62502 8.73405C4.58641 9.17097 5.95762 9.45591 7.50499 9.45681C7.24582 9.83133 7.03684 10.2434 6.88706 10.6826C5.44388 10.6162 4.12516 10.3216 3.11192 9.86104C2.81708 9.72698 2.53185 9.56866 2.27121 9.38928V11.2542C2.27158 11.5974 2.60697 12.1109 3.62502 12.5737C4.41933 12.9347 5.4937 13.1898 6.71569 13.2693C6.80349 13.7128 6.9513 14.1345 7.14814 14.5273C5.60324 14.4862 4.18593 14.1889 3.11192 13.7007C2.01039 13.1998 1.03366 12.3814 1.03333 11.2542V3.82384C1.03352 3.27273 1.30721 2.80461 1.68049 2.4408C2.05211 2.07893 2.55887 1.78026 3.13309 1.54364C4.28492 1.06926 5.83393 0.790683 7.51205 0.790627ZM7.51205 2.02851C5.95492 2.02857 4.57354 2.29079 3.60486 2.68979C3.11958 2.88977 2.76667 3.11253 2.5454 3.32788C2.32671 3.54101 2.2714 3.7089 2.27121 3.82384C2.27121 3.93882 2.32624 4.10625 2.5454 4.3198C2.76667 4.53527 3.11927 4.75781 3.60486 4.9579C4.5736 5.35699 5.95467 5.61914 7.51205 5.61918C9.06942 5.61918 10.4505 5.35695 11.4192 4.9579C11.9051 4.75773 12.2584 4.53536 12.4797 4.3198C12.6988 4.10627 12.7529 3.93882 12.7529 3.82384C12.7527 3.70889 12.6984 3.54104 12.4797 3.32788C12.2584 3.11239 11.9049 2.88989 11.4192 2.68979C10.4505 2.29079 9.06925 2.02853 7.51205 2.02851Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:739,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:732,columnNumber:3},void 0),rS=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M7.24707 1.01771C7.52897 1.07653 7.77619 1.19694 8.00391 1.38001C8.19202 1.53136 8.39884 1.73784 8.61914 1.95814L12.6396 5.9806L11.6299 6.99134L7.71484 3.0763V13.0001H6.28516V3.0763L2.36914 6.99134L1.35938 5.9806L5.38086 1.95814C5.60116 1.73784 5.80798 1.53136 5.99609 1.38001C6.19476 1.22027 6.4385 1.06739 6.75195 1.01771C6.91296 0.992304 7.07471 0.997504 7.24707 1.01771Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:751,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:750,columnNumber:3},void 0),nS=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsxDEV("path",{d:"M7.00049 0.199829C3.24488 0.199829 0.199952 3.24408 0.199707 6.99963C0.199707 8.0414 0.434087 9.03061 0.854004 9.91467L1.11279 10.4576L2.19775 9.94202L1.94092 9.39905L1.81787 9.12268C1.5498 8.46885 1.40186 7.75171 1.40186 6.99963C1.4021 3.90808 3.90888 1.40198 7.00049 1.40198C10.0919 1.40219 12.5979 3.90821 12.5981 6.99963C12.5981 10.0913 10.0921 12.5981 7.00049 12.5983C6.36734 12.5983 5.90348 12.5535 5.49268 12.4401C5.08803 12.3283 4.7041 12.1414 4.24463 11.8209C3.57111 11.3511 2.60588 11.1855 1.81006 11.6881L1.79736 11.6959L1.78467 11.7047L1.25537 12.0778L1.65381 13.2672L2.46045 12.6989C2.75029 12.5214 3.18004 12.5442 3.55615 12.8063C4.10063 13.1861 4.60863 13.4423 5.17334 13.5983C5.73194 13.7525 6.31665 13.8004 7.00049 13.8004C10.7561 13.8002 13.8003 10.7553 13.8003 6.99963C13.8 3.24421 10.7559 0.200041 7.00049 0.199829ZM3.81201 7.47327V8.67542H7.11572V7.47327H3.81201ZM3.81201 6.34924H10.2173V5.14709H3.81201V6.34924Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:761,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:760,columnNumber:3},void 0),iS=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M13.3277 9.69629V10.976H7.28086V9.69629H13.3277Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:771,columnNumber:5},void 0),h.jsxDEV("path",{d:"M13.3277 2.97256V4.25225H7.28086V2.97256H13.3277Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:772,columnNumber:5},void 0),h.jsxDEV("path",{d:"M4.64512 10.336C4.64505 9.62755 4.07081 9.05322 3.3623 9.05322C2.65386 9.05329 2.07956 9.62759 2.07949 10.336C2.07949 11.0445 2.65382 11.6188 3.3623 11.6188C4.07085 11.6188 4.64512 11.0446 4.64512 10.336ZM5.92559 10.336C5.92559 11.7515 4.77777 12.8993 3.3623 12.8993C1.94689 12.8993 0.799805 11.7515 0.799805 10.336C0.799871 8.92066 1.94693 7.7736 3.3623 7.77354C4.77773 7.77354 5.92552 8.92062 5.92559 10.336Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:773,columnNumber:5},void 0),h.jsxDEV("path",{d:"M4.64531 3.6123C4.6453 2.90382 4.07098 2.32949 3.3625 2.32949C2.65403 2.32951 2.0797 2.90383 2.07969 3.6123C2.07969 4.32079 2.65402 4.8951 3.3625 4.89512C4.07099 4.89512 4.64531 4.3208 4.64531 3.6123ZM5.925 3.6123C5.925 5.02772 4.77792 6.1748 3.3625 6.1748C1.9471 6.17479 0.8 5.02771 0.8 3.6123C0.800013 2.19691 1.9471 1.04982 3.3625 1.0498C4.77791 1.0498 5.92499 2.1969 5.925 3.6123Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:774,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:770,columnNumber:3},void 0),sS=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M10.8239 3.54733V4.78443H4.63437V3.54733H10.8239Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:781,columnNumber:5},void 0),h.jsxDEV("path",{d:"M10.8239 6.12629V7.36338H4.63437V6.12629H10.8239Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:782,columnNumber:5},void 0),h.jsxDEV("path",{d:"M9.073 8.70524V9.94234H4.63437V8.70524H9.073Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:783,columnNumber:5},void 0),h.jsxDEV("path",{d:"M9.13321 0.573526C10.0076 0.573525 10.7179 0.572522 11.285 0.63397C11.8645 0.696791 12.3743 0.831648 12.8193 1.1548C13.0776 1.34246 13.3056 1.57047 13.4933 1.82875C13.8164 2.2737 13.9513 2.7836 14.0141 3.36303C14.0755 3.93015 14.0745 4.64049 14.0745 5.51485V6.1757L12.7327 7.5629V5.51485C12.7327 4.61092 12.732 3.9862 12.6803 3.5081C12.6298 3.0427 12.5379 2.79497 12.4083 2.61654C12.3033 2.47211 12.176 2.34472 12.0315 2.23977C11.8531 2.11016 11.6054 2.01823 11.14 1.96777C10.6618 1.91601 10.0372 1.91539 9.13321 1.91539H6.32658C5.42262 1.91539 4.79796 1.91604 4.31983 1.96777C3.85451 2.01819 3.60672 2.11029 3.42827 2.23977C3.28392 2.34465 3.15643 2.47223 3.0515 2.61654C2.9219 2.79496 2.82997 3.04274 2.7795 3.5081C2.72774 3.9862 2.72712 4.61092 2.72712 5.51485V10.023C2.72712 10.9273 2.72773 11.5525 2.7795 12.0307C2.82992 12.4959 2.92205 12.7429 3.0515 12.9213C3.15645 13.0657 3.28384 13.1931 3.42827 13.2981C3.60676 13.4277 3.85408 13.5206 4.31983 13.5711C4.79797 13.6228 5.42259 13.6234 6.32658 13.6234H6.87057L5.57707 14.9593C5.03527 14.9556 4.57031 14.9467 4.17476 14.9039C3.59508 14.841 3.08558 14.7063 2.64048 14.383C2.38215 14.1953 2.15422 13.9684 1.96653 13.7101C1.64319 13.2649 1.50851 12.7546 1.4457 12.1748C1.38432 11.6076 1.38525 10.8974 1.38525 10.023V5.51485C1.38525 4.64049 1.38426 3.93015 1.4457 3.36303C1.50853 2.78363 1.64341 2.27368 1.96653 1.82875C2.15417 1.57059 2.38228 1.34239 2.64048 1.1548C3.08544 0.831805 3.59533 0.696762 4.17476 0.63397C4.74193 0.572552 5.45218 0.573525 6.32658 0.573526H9.13321Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:784,columnNumber:5},void 0),h.jsxDEV("path",{d:"M14.2193 14.9553H10.0124L11.3744 13.6134H14.2193V14.9553Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:788,columnNumber:5},void 0),h.jsxDEV("path",{d:"M8.24493 13.3711L7.49015 14.8806C7.40148 15.058 7.58961 15.2461 7.76695 15.1574L9.27651 14.4027L14.6147 9.09934L13.5832 8.06775L8.24493 13.3711Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:789,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:780,columnNumber:3},void 0),aS=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M8 0C8.31451 0 8.62464 0.019379 8.92969 0.0546875C8.48228 0.403371 8.0952 0.825758 7.78809 1.30469C4.18586 1.41664 1.2998 4.37061 1.2998 8C1.2998 11.7003 4.29969 14.7002 8 14.7002C11.6297 14.7002 14.5829 11.8136 14.6943 8.21094C15.1734 7.90377 15.5956 7.51688 15.9443 7.06934C15.9797 7.37473 16 7.68512 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM7.0166 3.6084C7.00658 3.73765 7 3.86817 7 4C7 4.31845 7.03098 4.62973 7.08789 4.93164C5.76489 5.32438 4.7998 6.54958 4.7998 8C4.7998 9.76731 6.23269 11.2002 8 11.2002C9.45065 11.2002 10.6749 10.2345 11.0674 8.91113C11.3696 8.96818 11.6812 9 12 9C12.1315 9 12.2617 8.99239 12.3906 8.98242C11.9423 10.995 10.1477 12.5 8 12.5C5.51472 12.5 3.5 10.4853 3.5 8C3.5 5.85255 5.00435 4.05702 7.0166 3.6084Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:799,columnNumber:5},void 0),h.jsxDEV("path",{d:"M7.5 8.62109L9.12109 7",stroke:"currentColor",strokeWidth:"1.3"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:803,columnNumber:5},void 0),h.jsxDEV("path",{d:"M9.08245 3.35798L11.8651 0.575334C11.895 0.545384 11.9463 0.56391 11.9502 0.606086L12.2362 3.69859C12.2384 3.72259 12.2574 3.74159 12.2814 3.74378L15.3697 4.02583C15.4119 4.02968 15.4305 4.08101 15.4005 4.11098L12.618 6.89351C12.6086 6.90289 12.5959 6.90816 12.5826 6.90816L9.11781 6.90815C9.09019 6.90816 9.06781 6.88577 9.06781 6.85816L9.06781 3.39333C9.06781 3.38007 9.07308 3.36735 9.08245 3.35798Z",stroke:"currentColor",strokeWidth:"1.3"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:804,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:798,columnNumber:3},void 0),oS=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M6.1 3.1Q6.6 7.8 11.3 8.3Q6.6 8.8 6.1 13.5Q5.6 8.8 0.9 8.3Q5.6 7.8 6.1 3.1Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:817,columnNumber:5},void 0),h.jsxDEV("path",{d:"M11.9 1Q12.2 3.7 14.9 4Q12.2 4.3 11.9 7Q11.6 4.3 8.9 4Q11.6 3.7 11.9 1Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:818,columnNumber:5},void 0),h.jsxDEV("path",{d:"M12.5 9.4Q12.7 11.4 14.7 11.6Q12.7 11.8 12.5 13.8Q12.3 11.8 10.3 11.6Q12.3 11.4 12.5 9.4Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:819,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:816,columnNumber:3},void 0),lS=({size:n=12,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:h.jsxDEV("path",{d:"M16 8L10.8571 12V10.552L14.1383 8L10.8571 5.448V4L16 8ZM5.14286 10.552L1.86171 8L5.14286 5.448V4L0 8L5.14286 12V10.552ZM9.02514 4L5.59657 12H6.84057L10.2691 4H9.02514Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:826,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:825,columnNumber:3},void 0),uS=({size:n=16,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M12.5113 15.4067C12.4395 15.6249 12.1308 15.6249 12.059 15.4067L11.643 14.1416C11.454 13.567 11.0033 13.1164 10.4288 12.9274L9.16369 12.5113C8.94544 12.4395 8.94544 12.1308 9.16369 12.059L10.4288 11.643C11.0033 11.454 11.454 11.0033 11.643 10.4288L12.059 9.16369C12.1308 8.94544 12.4395 8.94544 12.5113 9.16369L12.9274 10.4288C13.1164 11.0033 13.567 11.454 14.1416 11.643L15.4067 12.059C15.6249 12.1308 15.6249 12.4395 15.4067 12.5113L14.1416 12.9274C13.567 13.1164 13.1164 13.567 12.9274 14.1416L12.5113 15.4067Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:833,columnNumber:5},void 0),h.jsxDEV("path",{d:"M9.02246 0.546878C9.9822 0.546878 10.7564 0.545403 11.374 0.612307C12.0042 0.680586 12.5515 0.826244 13.0273 1.17188C13.3052 1.37376 13.5501 1.61868 13.752 1.89649C14.0975 2.37225 14.2432 2.91984 14.3115 3.54981C14.3784 4.16727 14.377 4.94206 14.377 5.90137V8.51367C13.9611 8.29533 13.5071 8.13985 13.0273 8.06055V5.90137C13.0273 4.9121 13.0259 4.22322 12.9688 3.69532C12.9129 3.18044 12.8098 2.89782 12.6592 2.69043C12.5406 2.52724 12.3966 2.38326 12.2334 2.26465C12.026 2.11404 11.7437 2.0109 11.2285 1.95508C10.7005 1.89789 10.0122 1.89649 9.02246 1.89649H6.55371C5.56395 1.89649 4.87569 1.89787 4.34766 1.95508C3.83242 2.01092 3.55022 2.11398 3.34278 2.26465C3.17953 2.38329 3.03564 2.52719 2.91699 2.69043C2.76642 2.89782 2.66325 3.18042 2.60742 3.69532C2.55027 4.22322 2.54883 4.9121 2.54883 5.90137V10.0986C2.54883 11.0878 2.55031 11.7768 2.60742 12.3047C2.66326 12.8196 2.76642 13.1032 2.91699 13.3105C3.03558 13.4736 3.17966 13.6178 3.34278 13.7363C3.5502 13.8869 3.83265 13.9901 4.34766 14.0459C4.87568 14.1031 5.56398 14.1035 6.55371 14.1035H8.08399C8.27443 14.6025 8.55077 15.0585 8.89551 15.4541H6.55371C5.59402 15.4541 4.81976 15.4546 4.20215 15.3877C3.57204 15.3194 3.02468 15.1738 2.54883 14.8281C2.27111 14.6263 2.02606 14.3813 1.82422 14.1035C1.47883 13.6278 1.33293 13.08 1.26465 12.4502C1.19783 11.8327 1.19922 11.0579 1.19922 10.0986V5.90137C1.19922 4.94206 1.1978 4.16727 1.26465 3.54981C1.33295 2.91984 1.47867 2.37225 1.82422 1.89649C2.02613 1.61864 2.27098 1.37379 2.54883 1.17188C3.02472 0.826181 3.57197 0.6806 4.20215 0.612307C4.81976 0.545393 5.594 0.546877 6.55371 0.546878H9.02246ZM9.19629 9.14649H4.5459V7.84571H9.19629V9.14649ZM11.0303 6.10645H4.5459V4.80567H11.0303V6.10645Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:837,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:832,columnNumber:3},void 0),cS=({size:n=14,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M12.5757 7.00012C12.5757 3.92085 10.0794 1.42463 7.00012 1.42456C3.9208 1.42456 1.42456 3.9208 1.42456 7.00012C1.42463 10.0794 3.92085 12.5757 7.00012 12.5757C10.0793 12.5756 12.5756 10.0793 12.5757 7.00012ZM13.8002 7.00012C13.8001 10.7559 10.7559 13.8001 7.00012 13.8002C3.2443 13.8002 0.199291 10.7559 0.199219 7.00012C0.199219 3.24426 3.24426 0.199219 7.00012 0.199219C10.7559 0.199291 13.8002 3.2443 13.8002 7.00012Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:847,columnNumber:5},void 0),h.jsxDEV("path",{d:"M6.18042 8.68184C6.18043 8.09153 6.32893 7.34655 6.92127 6.8481C7.28566 6.54148 7.76104 6.27318 8.0022 6.10811C8.28964 5.91137 8.42234 5.76562 8.48328 5.58944C8.57774 5.31609 8.53121 5.00904 8.34912 4.76741C8.17409 4.53522 7.83879 4.32222 7.28186 4.32222C5.99668 4.32225 5.46969 5.11832 5.46949 5.78939H4.24414C4.24436 4.39942 5.36327 3.09691 7.28186 3.09688C8.17773 3.09688 8.89489 3.45606 9.32752 4.02999C9.75287 4.59438 9.86938 5.32775 9.64026 5.99019C9.44847 6.5444 9.04722 6.87743 8.69434 7.11898C8.29506 7.39226 8.02318 7.52192 7.70996 7.78548C7.51943 7.94582 7.40577 8.24899 7.40577 8.68184V8.75533H6.18042V8.68184Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:851,columnNumber:5},void 0),h.jsxDEV("path",{d:"M7.39455 9.44026V10.8109H6.16921V9.44026H7.39455Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:855,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:846,columnNumber:3},void 0),fS=({size:n=20,className:i})=>h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8659 2.05975C17.2603 2.05995 18.3913 3.19096 18.3914 4.58527V5.4874C18.3914 6.02747 18.2192 6.52672 17.9303 6.93735C17.9336 6.96524 17.9388 6.99318 17.9388 7.02195V12.8884C17.9388 13.6345 17.9395 14.2379 17.8996 14.7254C17.8642 15.1593 17.7936 15.5499 17.6373 15.9141L17.5654 16.0685C17.278 16.6328 16.8405 17.1046 16.3038 17.434L16.0679 17.5661C15.66 17.7739 15.2196 17.8598 14.7237 17.9003C14.2362 17.9401 13.6327 17.9405 12.8867 17.9405H7.11122C6.36511 17.9405 5.76171 17.9401 5.27418 17.9003C4.84051 17.8649 4.44949 17.7952 4.08545 17.6391L3.93104 17.5661C3.36673 17.2785 2.89392 16.8414 2.56465 16.3044L2.43245 16.0685C2.22473 15.6608 2.13878 15.2211 2.09825 14.7254C2.05841 14.2379 2.05912 13.6345 2.05912 12.8884V7.02195C2.05912 6.99284 2.06422 6.96449 2.06758 6.93629C1.77931 6.52592 1.60858 6.02687 1.60858 5.4874V4.58527C1.60876 3.19084 2.73962 2.05975 4.1341 2.05975H15.8659ZM16.4984 7.92936C16.296 7.98169 16.0847 8.01288 15.8659 8.01291H4.1341C3.91478 8.01291 3.70246 7.98194 3.49955 7.92936V12.8884C3.49955 13.6582 3.50053 14.1927 3.53445 14.608C3.56769 15.0146 3.62923 15.244 3.71635 15.415L3.7925 15.5514C3.98339 15.8627 4.25749 16.1165 4.58464 16.2833L4.72529 16.3435C4.88095 16.3993 5.08638 16.4402 5.39158 16.4651C5.80685 16.4991 6.34138 16.5001 7.11122 16.5001H12.8867C13.6564 16.5001 14.1911 16.499 14.6063 16.4651C15.0128 16.432 15.2423 16.3703 15.4133 16.2833L15.5508 16.2061C15.8618 16.0152 16.116 15.7419 16.2827 15.415L16.3429 15.2732C16.3985 15.1177 16.4396 14.9128 16.4645 14.608C16.4985 14.1927 16.4984 13.6583 16.4984 12.8884V7.92936ZM4.1341 3.50019C3.53511 3.50019 3.0492 3.98631 3.04902 4.58527V5.4874C3.04902 6.08649 3.535 6.57248 4.1341 6.57248H15.8659C16.4648 6.57228 16.951 6.08638 16.951 5.4874V4.58527C16.9509 3.98644 16.4647 3.50038 15.8659 3.50019H4.1341Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:864,columnNumber:5},void 0),h.jsxDEV("path",{d:"M12.7962 12.5661V11.0832H7.20548V12.5661L12.7962 12.5661Z",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:870,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/icons/index.tsx",lineNumber:863,columnNumber:3},void 0),dS="_root_9cl6j_3",pS="_row_9cl6j_10",hS="_leading_9cl6j_23",mS="_iconIdle_9cl6j_42",vS="_chevronHover_9cl6j_48",gS="_title_9cl6j_64",xa={root:dS,row:pS,leading:hS,iconIdle:mS,chevronHover:vS,title:gS};function yS({icon:n,title:i,open:o,expandable:l,onToggle:c,expandOnRowClick:d=!1,previewChevron:f=l,keepContentWhenOpen:v=!1,collapsedContent:x,children:b,className:N,rowClassName:S,leadingClassName:E,chevronClassName:k,titleClassName:T}){const V=l&&d,J=oe=>{oe.stopPropagation(),c()},te=oe=>{!V||oe.key!=="Enter"&&oe.key!==" "||(oe.preventDefault(),c())},Y=f?h.jsxDEV(h.Fragment,{children:[h.jsxDEV("span",{className:xa.iconIdle,children:n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DisclosureRow.tsx",lineNumber:63,columnNumber:9},this),h.jsxDEV(Nm,{className:it(k,xa.chevronHover)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DisclosureRow.tsx",lineNumber:64,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DisclosureRow.tsx",lineNumber:62,columnNumber:7},this):n,I=o?h.jsxDEV(Nm,{className:k},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DisclosureRow.tsx",lineNumber:69,columnNumber:7},this):Y;return h.jsxDEV("div",{className:it(xa.root,N),"data-open":o||void 0,children:[h.jsxDEV("div",{className:it(xa.row,S),"data-disclosure-row":!0,"data-expandable":V||void 0,role:V?"button":void 0,tabIndex:V?0:void 0,"aria-expanded":V?o:void 0,onClick:V?c:void 0,onKeyDown:V?te:void 0,children:[l&&!V?h.jsxDEV("button",{type:"button",className:it(xa.leading,E),"aria-expanded":o,onClick:J,children:I},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DisclosureRow.tsx",lineNumber:85,columnNumber:11},this):h.jsxDEV("span",{className:it(xa.leading,E),children:I},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DisclosureRow.tsx",lineNumber:94,columnNumber:11},this),h.jsxDEV("span",{className:it(xa.title,T),children:i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DisclosureRow.tsx",lineNumber:98,columnNumber:9},this),(v||!o)&&x]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DisclosureRow.tsx",lineNumber:74,columnNumber:7},this),o&&b]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DisclosureRow.tsx",lineNumber:73,columnNumber:5},this)}const bS="_button_kz6gm_4",CS="_md_kz6gm_24",xS="_sm_kz6gm_30",RS="_primary_kz6gm_38",wS="_ghost_kz6gm_47",NS="_outline_kz6gm_56",kS="_toolbar_kz6gm_65",ES="_icon_kz6gm_73",a1={button:bS,md:CS,sm:xS,primary:RS,ghost:wS,outline:NS,toolbar:kS,icon:ES};function km({variant:n="ghost",size:i="md",icon:o,className:l,children:c,...d}){return h.jsxDEV("button",{type:"button",className:it(a1.button,a1[n],a1[i],l),...d,children:[o!=null&&h.jsxDEV("span",{className:a1.icon,children:o},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Button.tsx",lineNumber:27,columnNumber:24},this),c]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Button.tsx",lineNumber:26,columnNumber:5},this)}const DS="_pill_e3ygd_1",SS="_interactive_e3ygd_15",_S="_active_e3ygd_23",ju={pill:DS,interactive:SS,active:_S};function J8({active:n=!1,className:i,children:o,onClick:l,...c}){return l?h.jsxDEV("button",{type:"button",className:it(ju.pill,ju.interactive,n&&ju.active,i),onClick:l,...c,children:o},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Pill.tsx",lineNumber:24,columnNumber:5},this):h.jsxDEV("span",{className:it(ju.pill,n&&ju.active,i),children:o},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Pill.tsx",lineNumber:21,columnNumber:12},this)}const TS="_wrap_1ao1y_1",LS="_icon_1ao1y_16",OS="_input_1ao1y_25",tm={wrap:TS,icon:LS,input:OS};function KS({icon:n,className:i,...o}){return h.jsxDEV("span",{className:it(tm.wrap,i),children:[n!=null&&h.jsxDEV("span",{className:tm.icon,children:n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Input.tsx",lineNumber:19,columnNumber:24},this),h.jsxDEV("input",{className:tm.input,...o},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Input.tsx",lineNumber:20,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Input.tsx",lineNumber:18,columnNumber:5},this)}const jS=200;function G8(n){const i=H.useRef(null),o=H.useRef(n);o.current=n;const l=H.useCallback(()=>{i.current!==null&&(clearTimeout(i.current),i.current=null)},[]),c=H.useCallback(()=>{l(),i.current=setTimeout(()=>{i.current=null,o.current()},jS)},[l]);return H.useEffect(()=>l,[l]),{arm:c,cancel:l}}const XS="_root_19372_1",US="_list_19372_8",VS="_submenu_19372_9",MS="_portal_19372_43",AS="_sideTop_19372_51",HS="_alignEnd_19372_56",BS="_scrollable_19372_21",$S="_viewport_19372_21",FS="_footer_19372_63",zS="_itemWrap_19372_91",PS="_item_19372_91",IS="_denseList_19372_118",ZS="_label_19372_123",qS="_compactList_19372_127",WS="_itemIcon_19372_143",YS="_separator_19372_81",JS="_itemLabel_19372_173",GS="_check_19372_181",QS="_selected_19372_188",e_="_danger_19372_193",At={root:XS,list:US,submenu:VS,portal:MS,sideTop:AS,alignEnd:HS,scrollable:BS,viewport:$S,footer:FS,itemWrap:zS,item:PS,denseList:IS,label:ZS,compactList:qS,itemIcon:WS,separator:YS,itemLabel:JS,check:GS,selected:QS,danger:e_};function $2(n){return"type"in n&&n.type==="separator"}function F2(n){return"type"in n&&n.type==="label"}const t_={visibility:"hidden",left:0,top:0};function Q8({open:n,anchor:i,items:o,selectedId:l,selectedIds:c,onSelect:d,onClose:f,align:v="start",side:x="bottom",portal:b=!1,closeOnPointerLeave:N=!1,dense:S=!1,compact:E=!1,getAnchorRect:k,footer:T,className:V}){const J=H.useRef(null),te=H.useRef(null),[Y,I]=H.useState(null),[oe,Z]=H.useState(null),{arm:q,cancel:G}=G8(f);H.useLayoutEffect(()=>{if(!n||!b){Z(null);return}const ie=()=>{var Zt;let me;if(k!==void 0?me=k():me=((Zt=J.current)==null?void 0:Zt.getBoundingClientRect())??null,me===null)return;const ne=12,we=window.innerWidth,Ne=window.innerHeight,Ie=te.current,Le=(Ie==null?void 0:Ie.offsetWidth)??0,bt=(Ie==null?void 0:Ie.offsetHeight)??0;let Tt,Lt;x==="right"?(Tt=me.right+4,Lt=me.top):v==="start"?(Tt=me.left,Lt=x==="bottom"?me.bottom+4:me.top-bt-4):(Tt=me.right-Le,Lt=x==="bottom"?me.bottom+4:me.top-bt-4),Le>0&&(Tt=Math.min(Math.max(Tt,ne),we-Le-ne)),bt>0&&(Lt=Math.min(Math.max(Lt,ne),Ne-bt-ne)),Z({left:Tt,top:Lt})};return ie(),window.addEventListener("scroll",ie,!0),window.addEventListener("resize",ie),()=>{window.removeEventListener("scroll",ie,!0),window.removeEventListener("resize",ie)}},[n,b,v,x,k]),H.useEffect(()=>{if(!n){I(null);return}const ie=ne=>{var we,Ne;ne.target instanceof Node&&((we=J.current)==null?void 0:we.contains(ne.target))!==!0&&((Ne=te.current)==null?void 0:Ne.contains(ne.target))!==!0&&f()},me=ne=>{ne.key==="Escape"&&f()};return document.addEventListener("pointerdown",ie),document.addEventListener("keydown",me),()=>{document.removeEventListener("pointerdown",ie),document.removeEventListener("keydown",me)}},[n,f]),H.useEffect(()=>{n||G()},[n,G]);const ge=!o.some(ie=>!$2(ie)&&!F2(ie)&&ie.submenu!==void 0&&ie.submenu.length>0),B=ie=>{if($2(ie))return h.jsxDEV("div",{className:At.separator,role:"separator"},ie.id,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:204,columnNumber:14},this);if(F2(ie))return h.jsxDEV("div",{className:At.label,role:"presentation",children:ie.text},ie.id,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:207,columnNumber:14},this);const me=ie.submenu!==void 0&&ie.submenu.length>0,ne=me&&Y===ie.id,we=ie.id===l||(c==null?void 0:c.includes(ie.id))===!0;return h.jsxDEV("div",{className:At.itemWrap,onMouseEnter:()=>{I(me?ie.id:null)},onMouseLeave:()=>{I(null)},children:[h.jsxDEV("button",{type:"button",role:"menuitem",className:it(At.item,we&&At.selected,ie.danger===!0&&At.danger),disabled:ie.disabled,"aria-haspopup":me?"menu":void 0,"aria-expanded":me?ne:void 0,onFocus:()=>{I(me?ie.id:null)},onClick:()=>{if(me){I(ie.id);return}d(ie.id)},children:[ie.icon!==void 0&&h.jsxDEV("span",{className:At.itemIcon,children:ie.icon},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:235,columnNumber:40},this),h.jsxDEV("span",{className:At.itemLabel,children:ie.label},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:236,columnNumber:11},this),we&&h.jsxDEV(Im,{className:At.check},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:238,columnNumber:24},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:219,columnNumber:9},this),ne&&ie.submenu!==void 0&&h.jsxDEV("div",{className:it(At.submenu,E&&At.compactList),role:"menu",children:ie.submenu.map(Ne=>h.jsxDEV("button",{type:"button",role:"menuitem",className:At.item,disabled:Ne.disabled,onClick:()=>{d(Ne.id)},children:[Ne.icon!==void 0&&h.jsxDEV("span",{className:At.itemIcon,children:Ne.icon},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:251,columnNumber:44},this),h.jsxDEV("span",{className:At.itemLabel,children:Ne.label},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:252,columnNumber:17},this)]},Ne.id,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:243,columnNumber:15},this))},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:241,columnNumber:11},this)]},ie.id,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:213,columnNumber:7},this)},ue=n&&h.jsxDEV("div",{ref:te,className:it(At.list,S&&At.denseList,E&&At.compactList,ge&&At.scrollable,b&&At.portal,x==="top"&&!b&&At.sideTop,v==="end"&&!b&&At.alignEnd),style:b?oe??t_:void 0,role:"menu",onClick:ie=>{ie.stopPropagation()},children:[h.jsxDEV("div",{className:At.viewport,role:"presentation",children:o.map(B)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:276,columnNumber:7},this),T!==void 0&&T.length>0&&h.jsxDEV("div",{className:At.footer,role:"presentation",children:T.map(B)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:280,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:266,columnNumber:5},this);return h.jsxDEV("span",{ref:J,className:it(At.root,V),onPointerEnter:N?G:void 0,onPointerLeave:N?()=>{n&&q()}:void 0,children:[i,b?ue!==!1&&us.createPortal(ue,document.body):ue]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Menu.tsx",lineNumber:292,columnNumber:5},this)}const r_=12;function n_(n,i,o){const[l,c]=H.useState(i);return H.useLayoutEffect(()=>{const d=n.current;if(d===null)return;const f=()=>{c(Math.min(i,Math.max(0,d.getBoundingClientRect().bottom-r_)))};return f(),window.addEventListener("resize",f),window.addEventListener("scroll",f,!0),()=>{window.removeEventListener("resize",f),window.removeEventListener("scroll",f,!0)}},[n,i,o]),l}function i_(n,i,o){H.useEffect(()=>{if(!i)return;const l=c=>{var d;c.target instanceof Node&&!((d=n.current)!=null&&d.contains(c.target))&&o(!1)};return document.addEventListener("pointerdown",l),()=>{document.removeEventListener("pointerdown",l)}},[n,i,o])}async function Bo(n){var l;if((l=navigator.clipboard)!=null&&l.writeText)try{return await navigator.clipboard.writeText(n),!0}catch{return!1}const i=typeof document.execCommand=="function"?document.execCommand.bind(document):void 0;if(i===void 0)return!1;const o=document.createElement("textarea");o.value=n,o.setAttribute("readonly",""),o.style.position="fixed",o.style.left="-9999px",document.body.appendChild(o),o.select();try{return i("copy")}catch{return!1}finally{o.remove()}}const s_="_root_1b2ny_3",a_="_card_1b2ny_13",o_="_copyable_1b2ny_25",l_="_feedback_1b2ny_34",u_="_copied_1b2ny_40",c_="_status_1b2ny_47",Ko={root:s_,card:a_,copyable:o_,feedback:l_,copied:u_,status:c_};function f_({anchor:n,content:i,openDelayMs:o=500,disabled:l=!1,copyText:c,copyLabel:d="复制",copiedLabel:f="复制成功"}){const v=H.useRef(null),x=H.useRef(null),b=H.useRef(null),N=H.useRef(null),S=H.useRef(null),E=H.useRef(0),k=H.useRef(!1),T=H.useRef(!0),[V,J]=H.useState(!1),[te,Y]=H.useState(null),[I,oe]=H.useState(!1),Z=H.useCallback(()=>{N.current!==null&&(clearTimeout(N.current),N.current=null),S.current=null,oe(!1)},[]),q=H.useCallback(()=>{E.current+=1,Z(),J(!1)},[Z]),{arm:G,cancel:ge}=G8(q),B=()=>{b.current!==null&&(clearTimeout(b.current),b.current=null)};H.useEffect(()=>{l&&(B(),ge(),q())},[l,ge,q]),H.useEffect(()=>(T.current=!0,()=>{T.current=!1,E.current+=1,B(),N.current!==null&&(clearTimeout(N.current),N.current=null)}),[]),H.useLayoutEffect(()=>{if(!V){Y(null);return}const ne=()=>{var bt;const we=v.current;if(we===null)return;const Ne=we.getBoundingClientRect(),Ie=((bt=x.current)==null?void 0:bt.offsetHeight)??0,Le=Ne.top+Ie>window.innerHeight-8?window.innerHeight-Ie-8:Ne.top;Y({left:Ne.right+8,top:Le})};return ne(),window.addEventListener("scroll",ne,!0),window.addEventListener("resize",ne),()=>{window.removeEventListener("scroll",ne,!0),window.removeEventListener("resize",ne)}},[V]),H.useLayoutEffect(()=>{var we;if(!V||te===null)return;const ne=((we=x.current)==null?void 0:we.offsetHeight)??0;te.top+ne>window.innerHeight-8&&Y({left:te.left,top:window.innerHeight-ne-8})},[V,te]);const ue=async ne=>{if(I||k.current)return;k.current=!0;const we=E.current,Ne=await Bo(ne);k.current=!1;const Ie=x.current;if(!Ne||!T.current||we!==E.current||Ie===null)return;const Le=Ie.offsetHeight;S.current=Le>0?Le:null,oe(!0),N.current=setTimeout(Z,1e3)},ie=c!==void 0,me=V&&te!==null&&h.jsxDEV("div",{ref:x,className:`${Ko.card}${ie?` ${Ko.copyable}`:""}${I?` ${Ko.feedback}`:""}`,style:{...te,minHeight:I&&S.current!==null?S.current:void 0},role:ie?"button":void 0,tabIndex:ie?0:void 0,"aria-label":ie?`${d}: ${c}`:void 0,onClick:ie?ne=>{const we=window.getSelection();if(we!==null&&!we.isCollapsed){for(let Ne=0;Ne<we.rangeCount;Ne+=1)if(we.getRangeAt(Ne).intersectsNode(ne.currentTarget))return}ue(c)}:void 0,onKeyDown:ie?ne=>{ne.key!=="Enter"&&ne.key!==" "||(ne.preventDefault(),ue(c))}:void 0,children:I?h.jsxDEV("span",{className:Ko.copied,"aria-hidden":"true",children:f},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/HoverCard.tsx",lineNumber:176,columnNumber:17},this):i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/HoverCard.tsx",lineNumber:150,columnNumber:5},this);return h.jsxDEV("span",{ref:v,className:Ko.root,onPointerEnter:()=>{l||(ge(),!V&&(B(),b.current=setTimeout(()=>{J(!0)},o)))},onPointerLeave:()=>{B(),V&&G()},onPointerDownCapture:ne=>{var we;(we=x.current)!=null&&we.contains(ne.target)||(B(),ge(),q())},children:[n,V&&ie&&h.jsxDEV("span",{className:Ko.status,role:"status",children:I?f:""},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/HoverCard.tsx",lineNumber:212,columnNumber:28},this),me!==!1&&us.createPortal(me,document.body)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/HoverCard.tsx",lineNumber:181,columnNumber:5},this)}const d_="_root_15u5s_2",p_="_mask_15u5s_14",h_="_dialog_15u5s_22",m_="_content_15u5s_37",v_="_header_15u5s_45",g_="_title_15u5s_53",y_="_close_15u5s_61",b_="_description_15u5s_80",C_="_body_15u5s_89",x_="_footer_15u5s_97",Ei={root:d_,mask:p_,dialog:h_,content:m_,header:v_,title:g_,close:y_,description:b_,body:C_,footer:x_};function e9({open:n,onClose:i,title:o,closeLabel:l="Close",description:c,children:d,footer:f,className:v,contentClassName:x,headless:b=!1}){return H.useEffect(()=>{if(!n)return;const N=S=>{S.key==="Escape"&&i()};return document.addEventListener("keydown",N),()=>{document.removeEventListener("keydown",N)}},[n,i]),n?us.createPortal(h.jsxDEV("div",{className:Ei.root,role:"presentation",children:[h.jsxDEV("div",{className:Ei.mask,"aria-hidden":"true",onClick:i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:57,columnNumber:7},this),h.jsxDEV("div",{className:it(Ei.dialog,v),role:"dialog","aria-modal":"true","aria-label":o,children:b?d:h.jsxDEV(h.Fragment,{children:[h.jsxDEV("div",{className:it(Ei.content,x),children:[h.jsxDEV("div",{className:Ei.header,children:[h.jsxDEV("h2",{className:Ei.title,children:o},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:70,columnNumber:19},this),h.jsxDEV("button",{type:"button",className:Ei.close,"aria-label":l,onClick:i,children:h.jsxDEV(Zm,{size:14},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:72,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:71,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:69,columnNumber:17},this),c!==void 0&&c!==""&&h.jsxDEV("p",{className:Ei.description,children:c},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:76,columnNumber:19},this),d!==void 0&&h.jsxDEV("div",{className:Ei.body,children:d},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:78,columnNumber:44},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:68,columnNumber:15},this),f!==void 0&&h.jsxDEV("div",{className:Ei.footer,children:f},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:80,columnNumber:40},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:67,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:58,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Modal.tsx",lineNumber:56,columnNumber:5},this),document.body):null}const R_="_onboardingOverlay_1cfrq_3",w_="_onboardingMask_1cfrq_10",N_="_onboardingStage_1cfrq_21",rm={onboardingOverlay:R_,onboardingMask:w_,onboardingStage:N_};function k_({children:n}){return H.useEffect(()=>{const i=document.getElementById("root");if(i!==null)return i.inert=!0,()=>{i.inert=!1}},[]),us.createPortal(h.jsxDEV("div",{className:rm.onboardingOverlay,role:"presentation",children:[h.jsxDEV("div",{className:rm.onboardingMask,"aria-hidden":"true"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/OnboardingSurface.tsx",lineNumber:30,columnNumber:7},this),h.jsxDEV("div",{className:rm.onboardingStage,children:n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/OnboardingSurface.tsx",lineNumber:31,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/OnboardingSurface.tsx",lineNumber:29,columnNumber:5},this),document.body)}const E_="_confirmation_1nu42_1",D_="_confirmationContent_1nu42_7",S_="_warning_1nu42_19",__="_warningIcon_1nu42_32",T_="_acknowledgement_1nu42_38",L_="_modalAction_1nu42_67",O_="_confirmAction_1nu42_71",Ra={confirmation:E_,confirmationContent:D_,warning:S_,warningIcon:__,acknowledgement:T_,modalAction:L_,confirmAction:O_};function K_({open:n,title:i,description:o,acknowledgeLabel:l,cancelLabel:c,confirmLabel:d,acknowledged:f,disabled:v=!1,onAcknowledgedChange:x,onCancel:b,onConfirm:N}){return h.jsxDEV(e9,{open:n,onClose:b,title:i,className:Ra.confirmation,contentClassName:Ra.confirmationContent,footer:h.jsxDEV(h.Fragment,{children:[h.jsxDEV(km,{variant:"outline",className:Ra.modalAction,onClick:b,children:c},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:50,columnNumber:11},this),h.jsxDEV(km,{variant:"primary",className:Ra.confirmAction,disabled:v||!f,onClick:N,children:d},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:53,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:49,columnNumber:9},this),children:[h.jsxDEV("div",{className:Ra.warning,children:[h.jsxDEV(Y8,{size:18,className:Ra.warningIcon},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:65,columnNumber:9},this),h.jsxDEV("p",{children:o},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:66,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:64,columnNumber:7},this),h.jsxDEV("label",{className:Ra.acknowledgement,children:[h.jsxDEV("input",{type:"checkbox",checked:f,disabled:v,autoFocus:!0,onChange:S=>{x(S.currentTarget.checked)}},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:69,columnNumber:9},this),h.jsxDEV("span",{children:l},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:76,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:68,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/RiskConfirmation.tsx",lineNumber:42,columnNumber:5},this)}const j_="_banner_ugy7y_1",X_={banner:j_};function U_({reconnecting:n,label:i="连接已断开,正在重连…"}){return n?h.jsxDEV("div",{className:X_.banner,children:i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ConnectionBanner.tsx",lineNumber:20,columnNumber:10},this):null}const z2=348;function V_({size:n=24,className:i}){return h.jsxDEV("svg",{width:n,height:n,className:i,viewBox:`0 0 ${z2} ${z2}`,fill:"none","aria-hidden":"true",children:[h.jsxDEV("path",{fill:"currentColor",d:"M86.406 81.629c2.27 1.72 4.44 3.51 6.59 5.37.82.69 1.63 1.38 2.46 2.09 25.71 22.47 43.77 54.11 61.54 82.91.61.98 1.22 1.96 1.84 2.96q2.94 4.74 5.85 9.48c.61.99 1.23 1.98 1.86 3 .57.93 1.13 1.85 1.72 2.81.25.41.25.41 1.53 2.49 1.18 2.21 1.97 3.77 2.2 6.26-.88 2.21-.88 2.21-2.33 4.67-.54.93-1.08 1.87-1.64 2.84-.61 1.03-1.21 2.06-1.84 3.12-1.3 2.26-2.61 4.52-3.9 6.79-.35.61-.69 1.21-1.05 1.83-3.83 6.73-7.4 13.59-10.98 20.46-6.04 11.56-12.24 23-18.88 34.23-.63 1.06-1.25 2.13-1.9 3.22-11.79 19.69-25.82 39.96-48.48 47.51-10.71 1.78-20.46.42-29.65-5.33-9.83-7.21-15.67-17.18-17.85-29.07-1.59-12.52 1.65-24.74 8.5-35.27 28.51-36.57 84.36-48.92 128-56-1-.19-2-.38-3.03-.57-90.61-17.27-90.61-17.27-121.97-35.43-.6-.35-1.21-.7-1.84-1.06-14.95-8.68-25.44-19.19-30.59-36-1.9-13.26-.35-25.85 7.75-36.88 17.57-21.44 43.9-21.45 66.09-6.43m228.871-5.274c2.02 1.45 3.87 2.98 5.72 4.64.61.51 1.21 1.01 1.83 1.52 8.02 7.18 12.62 17.85 13.39 28.48.43 14.55-4.03 26.78-13.97 37.5-35.73 33.85-97.7 41.13-144.25 49.5.71.14 1.42.27 2.16.41 98.75 18.95 98.75 18.95 125.84 55.66 7.55 11.69 10.51 24.99 7.89 38.76-3.53 12.6-10.16 21.1-21.23 27.73-8.46 4.6-18.61 4.78-27.84 2.32-35.78-12.49-54-59.52-70.19-90.41-4.88-9.28-9.9-18.43-15.36-27.38-.23-.38-.23-.38-1.37-2.3-.4-.64-.79-1.28-1.19-1.94-.92-2.4-.6-3.46.29-5.85.7-1.35 1.45-2.68 2.23-3.99.24-.39.24-.39 1.41-2.35.26-.42.26-.42 1.55-2.53.53-.88 1.07-1.76 1.62-2.67 62.44-102.54 62.44-102.54 98.19-111.46 11.36-2.66 23.17-1.66 33.28 4.36"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandMark.tsx",lineNumber:25,columnNumber:7},this),h.jsxDEV("path",{fill:"#eab039",d:"M193.129 29.54c9.42 7.83 14.99 17.28 16.87 29.46 2.5 39.35-18.68 77.3-35 112h-2c-24.9-52.02-24.9-52.02-32-79-.33-1.27-.67-2.54-1.01-3.84-3.52-15.22-3.98-31.59 3.37-45.78 5.93-9.44 13.18-15.79 24.02-18.69 9.34-1.78 18.07.3 25.75 5.85"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandMark.tsx",lineNumber:29,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandMark.tsx",lineNumber:17,columnNumber:5},this)}const M_=348,P2=168,nm=28;function A_({size:n=24,className:i}){return h.jsxDEV("svg",{width:n*P2/nm,height:n,className:i,viewBox:`0 0 ${P2} ${nm}`,fill:"none","aria-hidden":"true",children:[h.jsxDEV("g",{transform:`translate(0 ${(nm-24)/2}) scale(${24/M_})`,children:[h.jsxDEV("path",{fill:"currentColor",d:"M86.406 81.629c2.27 1.72 4.44 3.51 6.59 5.37.82.69 1.63 1.38 2.46 2.09 25.71 22.47 43.77 54.11 61.54 82.91.61.98 1.22 1.96 1.84 2.96q2.94 4.74 5.85 9.48c.61.99 1.23 1.98 1.86 3 .57.93 1.13 1.85 1.72 2.81.25.41.25.41 1.53 2.49 1.18 2.21 1.97 3.77 2.2 6.26-.88 2.21-.88 2.21-2.33 4.67-.54.93-1.08 1.87-1.64 2.84-.61 1.03-1.21 2.06-1.84 3.12-1.3 2.26-2.61 4.52-3.9 6.79-.35.61-.69 1.21-1.05 1.83-3.83 6.73-7.4 13.59-10.98 20.46-6.04 11.56-12.24 23-18.88 34.23-.63 1.06-1.25 2.13-1.9 3.22-11.79 19.69-25.82 39.96-48.48 47.51-10.71 1.78-20.46.42-29.65-5.33-9.83-7.21-15.67-17.18-17.85-29.07-1.59-12.52 1.65-24.74 8.5-35.27 28.51-36.57 84.36-48.92 128-56-1-.19-2-.38-3.03-.57-90.61-17.27-90.61-17.27-121.97-35.43-.6-.35-1.21-.7-1.84-1.06-14.95-8.68-25.44-19.19-30.59-36-1.9-13.26-.35-25.85 7.75-36.88 17.57-21.44 43.9-21.45 66.09-6.43m228.871-5.274c2.02 1.45 3.87 2.98 5.72 4.64.61.51 1.21 1.01 1.83 1.52 8.02 7.18 12.62 17.85 13.39 28.48.43 14.55-4.03 26.78-13.97 37.5-35.73 33.85-97.7 41.13-144.25 49.5.71.14 1.42.27 2.16.41 98.75 18.95 98.75 18.95 125.84 55.66 7.55 11.69 10.51 24.99 7.89 38.76-3.53 12.6-10.16 21.1-21.23 27.73-8.46 4.6-18.61 4.78-27.84 2.32-35.78-12.49-54-59.52-70.19-90.41-4.88-9.28-9.9-18.43-15.36-27.38-.23-.38-.23-.38-1.37-2.3-.4-.64-.79-1.28-1.19-1.94-.92-2.4-.6-3.46.29-5.85.7-1.35 1.45-2.68 2.23-3.99.24-.39.24-.39 1.41-2.35.26-.42.26-.42 1.55-2.53.53-.88 1.07-1.76 1.62-2.67 62.44-102.54 62.44-102.54 98.19-111.46 11.36-2.66 23.17-1.66 33.28 4.36"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandWordmark.tsx",lineNumber:29,columnNumber:9},this),h.jsxDEV("path",{fill:"#eab039",d:"M193.129 29.54c9.42 7.83 14.99 17.28 16.87 29.46 2.5 39.35-18.68 77.3-35 112h-2c-24.9-52.02-24.9-52.02-32-79-.33-1.27-.67-2.54-1.01-3.84-3.52-15.22-3.98-31.59 3.37-45.78 5.93-9.44 13.18-15.79 24.02-18.69 9.34-1.78 18.07.3 25.75 5.85"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandWordmark.tsx",lineNumber:33,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandWordmark.tsx",lineNumber:28,columnNumber:7},this),h.jsxDEV("text",{x:"30",y:"19.5",fill:"currentColor",fontFamily:"ui-sans-serif, system-ui, sans-serif",fontSize:"14",fontWeight:"700",letterSpacing:"0.04em",children:"XRK"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandWordmark.tsx",lineNumber:38,columnNumber:7},this),h.jsxDEV("rect",{x:"72",y:"6",width:"92",height:"16",rx:"2",fill:"currentColor"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandWordmark.tsx",lineNumber:49,columnNumber:7},this),h.jsxDEV("text",{x:"118",y:"17.5",fill:"var(--dsw-alias-label-primary-inverted, #fff)",fontFamily:"ui-sans-serif, system-ui, sans-serif",fontSize:"9",fontWeight:"700",letterSpacing:"0.12em",textAnchor:"middle",children:"HARNESS"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandWordmark.tsx",lineNumber:50,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/BrandWordmark.tsx",lineNumber:20,columnNumber:5},this)}const H_="_bubble_owhem_8",B_={bubble:H_};function $_({label:n,side:i="right",delayMs:o=0,disabled:l=!1,maxWidth:c,children:d}){const f=H.useRef(null),v=d.ref,x=H.useCallback(G=>{f.current=G,typeof v=="function"?v(G):v!=null&&(v.current=G)},[v]),[b,N]=H.useState(null),[S,E]=H.useState(i),k=H.useRef(null),T=b===null?null:typeof n=="function"?n():n,V=b===null?0:S==="right"?b.top+(b.bottom-b.top)/2:S==="top"?b.top-8:b.bottom+8,J=12;H.useLayoutEffect(()=>{if(b===null)return;const G=()=>{const ge=k.current;if(ge===null)return;ge.style.left=`${b.x}px`;const B=ge.getBoundingClientRect();let ue=0;if(B.right>window.innerWidth-J&&(ue=window.innerWidth-J-B.right),B.left+ue<J&&(ue=J-B.left),ge.style.left=`${b.x+ue}px`,i==="right")return;const ie=b.bottom+8+B.height<=window.innerHeight-J,me=b.top-8-B.height>=J;S==="bottom"&&!ie&&me&&E("top"),S==="top"&&!me&&ie&&E("bottom")};return G(),window.addEventListener("resize",G),()=>{window.removeEventListener("resize",G)}},[S,b,T,i]);const te=H.useRef(null),Y=H.useRef({hover:!1,focus:!1}),I=H.useCallback(()=>{te.current!==null&&(clearTimeout(te.current),te.current=null)},[]);H.useEffect(()=>(l&&(I(),Y.current={hover:!1,focus:!1},N(null)),I),[I,l]);const oe=()=>{if(l)return;const G=f.current;if(G===null)return;const ge=G.getBoundingClientRect();E(i),N({x:i==="right"?ge.right+10:ge.left+ge.width/2,top:ge.top,bottom:ge.bottom})},Z=()=>{if(I(),o<=0){oe();return}te.current=setTimeout(()=>{te.current=null,oe()},o)},q=()=>{I(),!Y.current.hover&&!Y.current.focus&&N(null)};return h.jsxDEV(h.Fragment,{children:[H.cloneElement(d,{ref:x,onMouseEnter:G=>{var ge,B;(B=(ge=d.props).onMouseEnter)==null||B.call(ge,G),Y.current.hover=!0,Z()},onMouseLeave:G=>{var ge,B;(B=(ge=d.props).onMouseLeave)==null||B.call(ge,G),Y.current.hover=!1,I(),N(null)},onFocus:G=>{var ge,B;(B=(ge=d.props).onFocus)==null||B.call(ge,G),Y.current.focus=!0,I(),oe()},onBlur:G=>{var ge,B;(B=(ge=d.props).onBlur)==null||B.call(ge,G),Y.current.focus=!1,q()}}),b!==null&&h.jsxDEV("span",{ref:k,className:B_.bubble,"data-side":S,style:{left:b.x,top:V,...c===void 0?{}:{maxWidth:c}},role:"tooltip",children:T},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Tooltip.tsx",lineNumber:156,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Tooltip.tsx",lineNumber:147,columnNumber:5},this)}const F_="_toast_fvpz7_7",z_="_icon_fvpz7_35",P_="_text_fvpz7_42",im={toast:F_,icon:z_,text:P_},I_=3e3,Z_=1e3;function q_({text:n,icon:i,anchor:o,onDone:l}){H.useEffect(()=>{const f=setTimeout(l,I_+Z_);return()=>{clearTimeout(f)}},[l]);const[c,d]=H.useState(null);return H.useLayoutEffect(()=>{if(o==null)return;const f=()=>{const v=o.getBoundingClientRect();d(v.left+v.width/2)};return f(),window.addEventListener("resize",f),()=>{window.removeEventListener("resize",f)}},[o]),us.createPortal(h.jsxDEV("div",{className:im.toast,role:"alert",style:c===null?void 0:{left:c},children:[i!==void 0&&h.jsxDEV("span",{className:im.icon,"aria-hidden":!0,children:i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Toast.tsx",lineNumber:54,columnNumber:30},this),h.jsxDEV("span",{className:im.text,children:n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Toast.tsx",lineNumber:55,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/Toast.tsx",lineNumber:53,columnNumber:5},this),document.body)}const W_="_root_4qrvp_1",Y_="_container_4qrvp_30",J_="_expandedTopLevel_4qrvp_39",G_="_topLevelBracket_4qrvp_46",Q_="_expandedTopLevelContainer_4qrvp_51",eT="_row_4qrvp_55",tT="_children_4qrvp_60",rT="_expander_4qrvp_78",nT="_label_4qrvp_95",iT="_clickableLabel_4qrvp_101",sT="_stringValue_4qrvp_105",aT="_numberValue_4qrvp_109",oT="_keywordValue_4qrvp_113",lT="_otherValue_4qrvp_117",uT="_punctuation_4qrvp_121",cT="_preview_4qrvp_125",fT="_previewProperty_4qrvp_129",dT="_previewEllipsis_4qrvp_133",pT="_copyAnchor_4qrvp_137",hT="_copyButton_4qrvp_143",mT="_collapseIcon_4qrvp_202",Me={root:W_,container:Y_,expandedTopLevel:J_,topLevelBracket:G_,expandedTopLevelContainer:Q_,row:eT,children:tT,expander:rT,label:nT,clickableLabel:iT,stringValue:sT,numberValue:aT,keywordValue:oT,otherValue:lT,punctuation:uT,preview:cT,previewProperty:fT,previewEllipsis:dT,copyAnchor:pT,copyButton:hT,collapseIcon:mT},vT=4,gT=5,I2=2,Z2={copyValue:"Copy value",copyJson:"Copy JSON",copyPath:"Copy property path",copyPrettyJson:"Copy pretty JSON",copyCompactJson:"Copy compact JSON",copied:"Copied",copyFailed:"Copy failed",collapseNode:"Collapse JSON node",expandNode:"Expand JSON node",copyButtonTitle:n=>`${n}; right-click for copy options`};function yT(n){return[{id:"value",label:n.copyValue},{id:"json",label:n.copyJson},{id:"path",label:n.copyPath}]}function bT(n){return[{id:"prettyJson",label:n.copyPrettyJson},{id:"json",label:n.copyCompactJson},{id:"path",label:n.copyPath}]}function g1(n){return typeof n=="object"&&n!==null&&!(n instanceof Date)}function y1(n){return Array.isArray(n)?n.map((i,o)=>[String(o),i]):Object.keys(n).map(i=>[i,n[i]])}function qm(n){return Array.isArray(n)?["[","]"]:["{","}"]}function CT(n){return n===null?h.jsxDEV("span",{className:Me.keywordValue,children:"null"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:108,columnNumber:30},this):typeof n=="string"?h.jsxDEV("span",{className:Me.stringValue,children:JSON.stringify(n)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:110,columnNumber:12},this):typeof n=="number"?h.jsxDEV("span",{className:Me.numberValue,children:String(n)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:113,columnNumber:12},this):typeof n=="boolean"?h.jsxDEV("span",{className:Me.keywordValue,children:String(n)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:116,columnNumber:12},this):typeof n=="bigint"?h.jsxDEV("span",{className:Me.otherValue,children:n.toString()},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:119,columnNumber:12},this):typeof n>"u"?h.jsxDEV("span",{className:Me.otherValue,children:"undefined"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:122,columnNumber:12},this):typeof n=="symbol"?h.jsxDEV("span",{className:Me.otherValue,children:n.description??"Symbol"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:125,columnNumber:12},this):typeof n=="function"?h.jsxDEV("span",{className:Me.otherValue,children:n.name||"Function"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:128,columnNumber:12},this):null}function t9(n,i){if(!g1(n))return CT(n);const o=Array.isArray(n),l=y1(n),c=o?gT:vT,d=l.slice(0,c),[f,v]=qm(n);return h.jsxDEV(h.Fragment,{children:[h.jsxDEV("span",{className:Me.punctuation,children:f},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:144,columnNumber:7},this),i>=I2?h.jsxDEV("span",{className:Me.previewEllipsis,children:"…"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:146,columnNumber:11},this):d.map(([x,b],N)=>h.jsxDEV("span",{children:[N>0&&h.jsxDEV("span",{className:Me.punctuation,children:", "},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:149,columnNumber:27},this),!o&&h.jsxDEV(h.Fragment,{children:[h.jsxDEV("span",{className:Me.previewProperty,children:x},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:152,columnNumber:17},this),h.jsxDEV("span",{className:Me.punctuation,children:": "},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:153,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:151,columnNumber:15},this),t9(b,i+1)]},x,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:148,columnNumber:11},this)),i<I2&&l.length>c&&h.jsxDEV("span",{className:Me.previewEllipsis,children:", …"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:160,columnNumber:9},this),h.jsxDEV("span",{className:Me.punctuation,children:v},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:162,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:143,columnNumber:5},this)}function xT(n){return n===null?h.jsxDEV("span",{className:Me.keywordValue,children:"null"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:168,columnNumber:30},this):typeof n=="string"?h.jsxDEV("span",{className:Me.stringValue,children:JSON.stringify(n)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:170,columnNumber:12},this):typeof n=="boolean"?h.jsxDEV("span",{className:Me.keywordValue,children:String(n)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:173,columnNumber:12},this):typeof n=="number"?h.jsxDEV("span",{className:Me.numberValue,children:String(n)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:176,columnNumber:12},this):typeof n=="bigint"?h.jsxDEV("span",{className:Me.numberValue,children:`${n.toString()}n`},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:179,columnNumber:12},this):n instanceof Date?h.jsxDEV("span",{className:Me.otherValue,children:n.toISOString()},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:182,columnNumber:12},this):typeof n=="function"?h.jsxDEV("span",{className:Me.otherValue,children:["function() ","{ }"]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:185,columnNumber:12},this):typeof n>"u"?h.jsxDEV("span",{className:Me.otherValue,children:"undefined"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:188,columnNumber:12},this):h.jsxDEV("span",{className:Me.otherValue,children:n.toString()},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:190,columnNumber:10},this)}function RT(n){return n===""?'""':n}function Em(n){return n.map(i=>typeof i=="number"?`n${String(i)}`:`s${String(i.length)}:${i}`).join("/")}function r9(n){n.focus()}function wT(n,i){const o=n.closest('[role="tree"]');if(o===null)return;const l=Array.from(o.querySelectorAll("[data-json-expander]")),c=l.indexOf(n);if(c<0||l.length===0)return;const d=(c+i+l.length)%l.length,f=l[d];f!==void 0&&r9(f)}function sm({field:n,expandable:i,onToggle:o}){return n===void 0?null:h.jsxDEV("span",{className:it(Me.label,i&&Me.clickableLabel),onClick:i?o:void 0,children:[RT(n),":"]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:232,columnNumber:5},this)}function Dm({field:n,initialExpanded:i,labels:o,lastElement:l,onClaimTabStop:c,onRowHover:d,path:f,tabStopId:v,value:x}){const b=H.useId(),N=H.useRef(null),[S,E]=H.useState(i),k=Em(f),T=g1(x),V=T?y1(x):[],J=V.length>0,te=()=>{E(q=>!q),r9(N.current)},Y=q=>{if(q.key==="ArrowRight"||q.key==="ArrowLeft"){q.preventDefault(),E(q.key==="ArrowRight");return}(q.key==="ArrowUp"||q.key==="ArrowDown")&&(q.preventDefault(),wT(q.currentTarget,q.key==="ArrowUp"?-1:1))},I=(q,G)=>h.jsxDEV("div",{className:Me.row,role:"treeitem","aria-expanded":G,onMouseOver:ge=>{ge.stopPropagation(),d(ge.currentTarget,{path:f,value:x})},children:q},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:290,columnNumber:5},this);if(!T)return I(h.jsxDEV(h.Fragment,{children:[h.jsxDEV(sm,{field:n,expandable:!1,onToggle:te},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:306,columnNumber:9},this),xT(x),!l&&h.jsxDEV("span",{className:Me.punctuation,children:","},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:308,columnNumber:26},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:305,columnNumber:7},this));const[oe,Z]=qm(x);return J?I(h.jsxDEV(h.Fragment,{children:[h.jsxDEV("span",{ref:N,className:it(Me.expander,S?Me.collapseIcon:Me.expandIcon),"data-json-expander":!0,role:"button","aria-label":S?o.collapseNode:o.expandNode,"aria-expanded":S,"aria-controls":S?b:void 0,tabIndex:v===k?0:-1,onFocus:()=>{c(k)},onClick:te,onKeyDown:Y},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:327,columnNumber:7},this),h.jsxDEV(sm,{field:n,expandable:!0,onToggle:te},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:340,columnNumber:7},this),h.jsxDEV("span",{className:Me.preview,children:t9(x,0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:341,columnNumber:7},this),!l&&h.jsxDEV("span",{className:Me.punctuation,children:","},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:342,columnNumber:24},this),S&&h.jsxDEV("ul",{id:b,role:"group",className:Me.children,children:V.map(([q,G],ge)=>h.jsxDEV(Dm,{field:q,value:G,path:[...f,Array.isArray(x)?ge:q],labels:o,lastElement:ge===V.length-1,initialExpanded:!1,tabStopId:v,onClaimTabStop:c,onRowHover:d},q,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:346,columnNumber:13},this))},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:344,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:326,columnNumber:5},this),S):I(h.jsxDEV(h.Fragment,{children:[h.jsxDEV(sm,{field:n,expandable:!1,onToggle:te},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:317,columnNumber:9},this),h.jsxDEV("span",{className:Me.punctuation,children:oe},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:318,columnNumber:9},this),h.jsxDEV("span",{className:Me.punctuation,children:Z},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:319,columnNumber:9},this),!l&&h.jsxDEV("span",{className:Me.punctuation,children:","},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:320,columnNumber:26},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:316,columnNumber:7},this))}function NT(n){return n.reduce((i,o)=>typeof o=="number"?`${i}[${String(o)}]`:/^[A-Za-z_$][\w$]*$/.test(o)?`${i}.${o}`:`${i}[${JSON.stringify(o)}]`,"$")}function kT(n,i){return i==="path"?NT(n.path):i==="prettyJson"?JSON.stringify(n.value,null,2):i==="json"?JSON.stringify(n.value):typeof n.value=="string"?n.value:typeof n.value>"u"?"undefined":typeof n.value=="bigint"?n.value.toString():typeof n.value=="symbol"?n.value.description??"Symbol":typeof n.value=="function"?n.value.name||"Function":JSON.stringify(n.value)}function ET({data:n,label:i="JSON",className:o,copyable:l=!0,expandTopLevel:c=!0,labels:d}){const f=H.useMemo(()=>d===void 0?Z2:{...Z2,...d},[d]),v=y1(n),x=v.findIndex(([,ke])=>g1(ke)&&y1(ke).length>0),b=v[x],N=c?b===void 0?null:Em([Array.isArray(n)?x:b[0]]):g1(n)&&v.length>0?Em([]):null,S=H.useRef(null),E=H.useRef(),k=H.useRef(null),T=H.useRef(!1),V=H.useRef(),[J,te]=H.useState(),[Y,I]=H.useState("idle"),[oe,Z]=H.useState(!1),[q,G]=H.useState(N),ge=ke=>{var rt;(rt=E.current)==null||rt.removeAttribute("data-json-copy-active"),E.current=ke,ke==null||ke.setAttribute("data-json-copy-active","")},B=()=>{ge(void 0),te(void 0),I("idle"),T.current=!1,Z(!1)},ue=ke=>{const rt=S.current;if(rt===null)throw new Error("JsonTree root is not mounted");const Ct=rt.getBoundingClientRect(),cn=ke.getBoundingClientRect();return{left:Ct.left+rt.clientWidth-26,side:cn.top-Ct.top>rt.clientHeight/2?"top":"bottom",top:cn.top}},ie=(ke,rt)=>{const Ct=ue(ke);te({...rt,...Ct})},me=ke=>{const rt=ue(ke);te(Ct=>Ct===void 0?Ct:{...Ct,...rt})};H.useEffect(()=>()=>{var ke;V.current!==void 0&&clearTimeout(V.current),(ke=E.current)==null||ke.removeAttribute("data-json-copy-active")},[]),H.useEffect(()=>{var ke;(ke=E.current)==null||ke.removeAttribute("data-json-copy-active"),E.current=void 0,T.current=!1,te(void 0),I("idle"),Z(!1),G(N)},[n,c,N]),H.useEffect(()=>{const ke=()=>{const rt=E.current;rt!==void 0&&me(rt)};return window.addEventListener("scroll",ke,!0),window.addEventListener("resize",ke),()=>{window.removeEventListener("scroll",ke,!0),window.removeEventListener("resize",ke)}},[]);const ne=(ke,rt)=>{!l||T.current||E.current!==ke&&(ge(ke),I("idle"),T.current=!1,Z(!1),ie(ke,rt))},we=ke=>{!l||T.current||ke.target instanceof Element&&ke.target.closest("[data-json-copy-button]")===null&&B()},Ne=ke=>{const rt=E.current;rt!==void 0&&me(rt)},Ie=async ke=>{if(J!==void 0){try{await navigator.clipboard.writeText(kT(J,ke)),I("copied")}catch{I("failed")}V.current!==void 0&&clearTimeout(V.current),V.current=setTimeout(()=>{I("idle")},1500)}},[Le,bt]=qm(n),Tt=typeof(J==null?void 0:J.value)=="object"&&J.value!==null,Lt=Tt?"prettyJson":"value",Zt=Y==="copied"?f.copied:Y==="failed"?f.copyFailed:Tt?f.copyPrettyJson:f.copyValue;return h.jsxDEV("div",{ref:S,className:it(Me.root,o),onMouseOver:we,onMouseLeave:()=>{T.current||B()},onScroll:Ne,children:[c?h.jsxDEV("div",{className:Me.expandedTopLevel,children:[h.jsxDEV("div",{className:it(Me.row,Me.topLevelBracket),"data-json-root-row":!0,onMouseOver:ke=>{ke.stopPropagation(),ne(ke.currentTarget,{path:[],value:n})},children:h.jsxDEV("span",{className:Me.punctuation,children:Le},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:573,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:565,columnNumber:13},this),h.jsxDEV("div",{"aria-label":i,className:it(Me.container,Me.expandedTopLevelContainer),role:"tree",children:v.map(([ke,rt],Ct)=>h.jsxDEV(Dm,{field:ke,value:rt,path:[Array.isArray(n)?Ct:ke],labels:f,lastElement:Ct===v.length-1,initialExpanded:!1,tabStopId:q,onClaimTabStop:G,onRowHover:ne},ke,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:581,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:575,columnNumber:13},this),h.jsxDEV("div",{className:it(Me.row,Me.topLevelBracket),children:h.jsxDEV("span",{className:Me.punctuation,children:bt},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:596,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:595,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:564,columnNumber:11},this):h.jsxDEV("div",{"aria-label":i,className:Me.container,role:"tree",children:h.jsxDEV(Dm,{value:n,path:[],labels:f,lastElement:!0,initialExpanded:!0,tabStopId:q,onClaimTabStop:G,onRowHover:ne},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:602,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:601,columnNumber:11},this),J!==void 0&&h.jsxDEV("span",{className:Me.copyAnchor,style:{left:J.left,top:J.top},children:h.jsxDEV(Q8,{open:oe,compact:!0,portal:!0,align:"end",side:J.side,anchor:h.jsxDEV("button",{ref:k,type:"button",className:Me.copyButton,"data-json-copy-button":!0,"data-state":Y,"aria-label":Zt,title:f.copyButtonTitle(Zt),onClick:()=>void Ie(Lt),onContextMenu:ke=>{ke.preventDefault(),ke.stopPropagation(),T.current=!0,Z(!0)},children:Y==="copied"?h.jsxDEV(Im,{size:12},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:643,columnNumber:21},this):h.jsxDEV(W8,{size:12},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:644,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:626,columnNumber:15},this),items:Tt?bT(f):yT(f),onSelect:ke=>{Ie(ke),T.current=!1,Z(!1)},onClose:B,getAnchorRect:()=>k.current.getBoundingClientRect()},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:619,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:615,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/JsonTree.tsx",lineNumber:553,columnNumber:5},this)}var am,q2;function DT(){if(q2)return am;q2=1;const n=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],i=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&|%[A-Fa-f0-9]{2})+)/gm;class o{static escapeForHtml(c){return new o().escapeForHtml(c)}static linkify(c){return new o().linkify(c)}static ansiToHtml(c,d){return new o().ansiToHtml(c,d)}static ansiToJson(c,d){return new o().ansiToJson(c,d)}static ansiToText(c){return new o().ansiToText(c)}constructor(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}setupPalette(){this.PALETTE_COLORS=[];for(let v=0;v<2;++v)for(let x=0;x<8;++x)this.PALETTE_COLORS.push(n[v][x].color);let c=[0,95,135,175,215,255],d=(v,x,b)=>c[v]+", "+c[x]+", "+c[b];for(let v=0;v<6;++v)for(let x=0;x<6;++x)for(let b=0;b<6;++b)this.PALETTE_COLORS.push(d(v,x,b));let f=8;for(let v=0;v<24;++v,f+=10)this.PALETTE_COLORS.push(f+", "+f+", "+f)}escapeForHtml(c){return c.replace(/[&<>\"]/gm,d=>d=="&"?"&":d=='"'?""":d=="<"?"<":d==">"?">":"")}linkify(c){return c.replace(i,d=>`<a href="${d}">${d}</a>`)}ansiToHtml(c,d){return this.process(c,d,!0)}ansiToJson(c,d){return d=d||{},d.json=!0,d.clearLine=!1,this.process(c,d,!0)}ansiToText(c){return this.process(c,{},!1)}process(c,d,f){let v=this,x=c.split(/\033\[/),b=x.shift();d==null&&(d={}),d.clearLine=/\r/.test(c);let N=x.map(S=>this.processChunk(S,d,f));if(d&&d.json){let S=v.processChunkJson("");return S.content=b,S.clearLine=d.clearLine,N.unshift(S),d.remove_empty&&(N=N.filter(E=>!E.isEmpty())),N}else N.unshift(b);return N.join("")}processChunkJson(c,d,f){d=typeof d>"u"?{}:d;let v=d.use_classes=typeof d.use_classes<"u"&&d.use_classes,x=d.key=v?"class":"color",b={content:c,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:d.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:()=>!b.content},N=c.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!N)return b;b.content=N[4];let S=N[2].split(";");if(N[1]!==""||N[3]!=="m"||!f)return b;let E=this;for(;S.length>0;){let k=S.shift(),T=parseInt(k);if(isNaN(T)||T===0)E.fg=E.bg=null,E.decorations=[];else if(T===1)E.decorations.push("bold");else if(T===2)E.decorations.push("dim");else if(T===3)E.decorations.push("italic");else if(T===4)E.decorations.push("underline");else if(T===5)E.decorations.push("blink");else if(T===7)E.decorations.push("reverse");else if(T===8)E.decorations.push("hidden");else if(T===9)E.decorations.push("strikethrough");else if(T===21)E.removeDecoration("bold");else if(T===22)E.removeDecoration("bold"),E.removeDecoration("dim");else if(T===23)E.removeDecoration("italic");else if(T===24)E.removeDecoration("underline");else if(T===25)E.removeDecoration("blink");else if(T===27)E.removeDecoration("reverse");else if(T===28)E.removeDecoration("hidden");else if(T===29)E.removeDecoration("strikethrough");else if(T===39)E.fg=null;else if(T===49)E.bg=null;else if(T>=30&&T<38)E.fg=n[0][T%10][x];else if(T>=90&&T<98)E.fg=n[1][T%10][x];else if(T>=40&&T<48)E.bg=n[0][T%10][x];else if(T>=100&&T<108)E.bg=n[1][T%10][x];else if(T===38||T===48){let V=T===38;if(S.length>=1){let J=S.shift();if(J==="5"&&S.length>=1){let te=parseInt(S.shift());if(te>=0&&te<=255)if(!v)this.PALETTE_COLORS||E.setupPalette(),V?E.fg=this.PALETTE_COLORS[te]:E.bg=this.PALETTE_COLORS[te];else{let Y=te>=16?"ansi-palette-"+te:n[te>7?1:0][te%8].class;V?E.fg=Y:E.bg=Y}}else if(J==="2"&&S.length>=3){let te=parseInt(S.shift()),Y=parseInt(S.shift()),I=parseInt(S.shift());if(te>=0&&te<=255&&Y>=0&&Y<=255&&I>=0&&I<=255){let oe=te+", "+Y+", "+I;v?V?(E.fg="ansi-truecolor",E.fg_truecolor=oe):(E.bg="ansi-truecolor",E.bg_truecolor=oe):V?E.fg=oe:E.bg=oe}}}}}return E.fg===null&&E.bg===null&&E.decorations.length===0||(b.fg=E.fg,b.bg=E.bg,b.fg_truecolor=E.fg_truecolor,b.bg_truecolor=E.bg_truecolor,b.decorations=E.decorations,b.decoration=E.decorations.slice(-1).pop()||null,b.was_processed=!0),b}processChunk(c,d,f){d=d||{};let v=this.processChunkJson(c,d,f),x=d.use_classes;if(v.decorations=v.decorations.filter(T=>{if(T==="reverse"){v.fg||(v.fg=n[0][7][x?"class":"color"]),v.bg||(v.bg=n[0][0][x?"class":"color"]);let V=v.fg;v.fg=v.bg,v.bg=V;let J=v.fg_truecolor;return v.fg_truecolor=v.bg_truecolor,v.bg_truecolor=J,v.isInverted=!0,!1}return!0}),d.json)return v;if(v.isEmpty())return"";if(!v.was_processed)return v.content;let b=[],N=[],S=[],E={},k=T=>{let V=[],J;for(J in T)T.hasOwnProperty(J)&&V.push("data-"+J+'="'+this.escapeForHtml(T[J])+'"');return V.length>0?" "+V.join(" "):""};return v.isInverted&&(E["ansi-is-inverted"]="true"),v.fg&&(x?(b.push(v.fg+"-fg"),v.fg_truecolor!==null&&(E["ansi-truecolor-fg"]=v.fg_truecolor,v.fg_truecolor=null)):b.push("color:rgb("+v.fg+")")),v.bg&&(x?(b.push(v.bg+"-bg"),v.bg_truecolor!==null&&(E["ansi-truecolor-bg"]=v.bg_truecolor,v.bg_truecolor=null)):b.push("background-color:rgb("+v.bg+")")),v.decorations.forEach(T=>{if(x){N.push("ansi-"+T);return}T==="bold"?N.push("font-weight:bold"):T==="dim"?N.push("opacity:0.5"):T==="italic"?N.push("font-style:italic"):T==="hidden"?N.push("visibility:hidden"):T==="strikethrough"?S.push("line-through"):S.push(T)}),S.length&&N.push("text-decoration:"+S.join(" ")),x?'<span class="'+b.concat(N).join(" ")+'"'+k(E)+">"+v.content+"</span>":'<span style="'+b.concat(N).join(";")+'"'+k(E)+">"+v.content+"</span>"}removeDecoration(c){const d=this.decorations.indexOf(c);d>=0&&this.decorations.splice(d,1)}}return am=o,am}var ST=DT();const _T=Iu(ST),TT={"0,0,0":"var(--dsw-alias-label-primary)","255,255,255":"var(--dsw-alias-label-primary)","85,85,85":"var(--dsw-alias-label-tertiary)","187,0,0":"var(--dsw-alias-state-error-primary)","255,85,85":"var(--dsw-alias-state-error-secondary)","0,187,0":"var(--dsw-alias-state-success-primary)","0,255,0":"var(--dsw-alias-state-success-secondary)","187,187,0":"var(--dsw-alias-state-warn-primary)","255,255,85":"var(--dsw-alias-state-warn-secondary)","0,0,187":"var(--dsw-alias-state-business-primary)","85,85,255":"var(--dsw-static-blue-400)"},LT={bold:{fontWeight:700},dim:{opacity:.7},italic:{fontStyle:"italic"},underline:{textDecoration:"underline"},strikethrough:{textDecoration:"line-through"},hidden:{visibility:"hidden"}},OT=/\u001b\][^\u0007\u001b]*(?:\u0007|\u001b\\)?/g,KT=/\u001b(?!\[)[\u0020-\u002f]*[\u0030-\u007e]?/g,jT=/[\u0000-\u0007\u000b-\u001a\u001c-\u001f\u007f]/g,XT=/\r|\u0008|\u001b\[[\u0030-\u003f]*[\u0020-\u002f]*K/,UT=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*m/g,W2=8,VT=/^[\p{Mn}\p{Me}\p{Cf}\u200b-\u200f\u2060]$/u,MT=new RegExp("\\p{Script=Han}|\\p{Script=Hiragana}|\\p{Script=Katakana}|\\p{Script=Hangul}|\\p{Emoji_Presentation}|[\\uff01-\\uff60\\u3000-\\u303e]","u");function om(n){const i=n.codePointAt(0);return i===void 0||i<4352?!1:MT.test(n)}const Au={fg:"",bg:"",attrs:[]},AT={22:["1","2"],23:["3"],24:["4"],25:["5","6"],27:["7"],28:["8"],29:["9"]};function n9(n,i){const o=i===""?["0"]:i.split(";");let l=n;for(let c=0;c<o.length;c++){const d=String(o[c]);if(d===""||d==="0"){l=Au;continue}if(d==="38"||d==="48"){const x=o[c+1]??"",b=x==="2"?4:x==="5"?2:0,N=o.slice(c,c+b+1).join(";");l=d==="38"?{...l,fg:N}:{...l,bg:N},c+=b;continue}const f=AT[d];if(f!==void 0){l={...l,attrs:l.attrs.filter(x=>!f.includes(x))};continue}const v=Number(d);if(d==="39"){l={...l,fg:""};continue}if(d==="49"){l={...l,bg:""};continue}if(v>=30&&v<=37||v>=90&&v<=97){l={...l,fg:d};continue}if(v>=40&&v<=47||v>=100&&v<=107){l={...l,bg:d};continue}l.attrs.includes(d)||(l={...l,attrs:[...l.attrs,d]})}return l}function Y2(n){const i=[...n.attrs];return n.fg!==""&&i.push(n.fg),n.bg!==""&&i.push(n.bg),i.length===0?"":`\x1B[${i.join(";")}m`}function o1(n,i){return n.fg===i.fg&&n.bg===i.bg&&n.attrs.length===i.attrs.length&&n.attrs.every((o,l)=>o===i.attrs[l])}function HT(n,i){var S;const o=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*([\u0040-\u007e])/g,l=[];let c=0,d=i,f=0;const v=(E,k)=>{var V;const T=l[E];(T==null?void 0:T.spacer)===!0&&E>0?l[E-1]={sgr:d,char:k}:T!==void 0&&om(T.char)&&((V=l[E+1])==null?void 0:V.spacer)===!0&&(l[E+1]={sgr:d,char:k}),l[E]={sgr:d,char:k}},x=E=>{for(const k of E){if(k==="\r"){c=0;continue}if(k==="\b"){c=Math.max(0,c-1);continue}if(k===" "){const T=c+W2-c%W2;for(;c<T;c++)l[c]??(l[c]={sgr:d,char:" "});continue}if(VT.test(k)){const T=c>0?l[c-1]:void 0;T!==void 0&&(l[c-1]={sgr:T.sgr,char:T.char+k});continue}v(c," "),l[c]={sgr:d,char:k},c++,om(k)&&(l[c]={sgr:d,char:"",spacer:!0},c++)}};for(const E of n.matchAll(o)){x(n.slice(f,E.index)),f=E.index+E[0].length;const k=String(E[1]),T=String(E[2]);if(T==="K"){const V=String(k.split(";")[0]);if(V==="1")for(let J=0;J<=c;J++)v(J," ");else l.length=V==="2"?0:c;continue}T==="m"&&(d=n9(d,k))}x(n.slice(f));let b="",N=i;for(let E=0;E<l.length;E++){const k=l[E]??{sgr:Au,char:" "};o1(k.sgr,N)||(o1(N,Au)||(b+="\x1B[0m"),b+=Y2(k.sgr),N=k.sgr);const T=E>0&&om(((S=l[E-1])==null?void 0:S.char)??"");b+=k.spacer===!0&&!T?" ":k.char}return o1(N,d)||(o1(N,Au)||(b+="\x1B[0m"),b+=Y2(d)),{text:b,sgr:d}}function BT(n){const i=[];let o=Au;for(const l of n.split(`
|
|
258
|
+
`)){const c=l.replace(/\r+$/,"");if(XT.test(c)){const d=HT(c,o);i.push(d.text),o=d.sgr;continue}i.push(c);for(const d of c.matchAll(UT))o=n9(o,String(d[1]))}return i.join(`
|
|
259
|
+
`)}function $T(n){const i=n.replace(OT,"").replace(KT,"");return BT(i).replace(jT,"")}function FT(n){const i={},o=n.bg===null?void 0:`rgb(${n.bg})`;if(o!==void 0&&(i.backgroundColor=o),n.fg!==null){const l=`rgb(${n.fg})`;i.color=o===void 0?TT[n.fg.replace(/\s+/g,"")]??l:l}for(const l of n.decorations)Object.assign(i,LT[l]);return Object.keys(i).length===0?void 0:i}function zT(n){let i=[];const o=[i];for(const l of _T.ansiToJson($T(n),{json:!0,remove_empty:!0})){const c=FT(l);for(const[d,f]of l.content.split(`
|
|
260
|
+
`).entries())d>0&&(i=[],o.push(i)),f!==""&&i.push({text:f,style:c})}return o}function i9(n,i,o){const l=n-i,c=Math.ceil(i/2);return{hidden:l,capped:l>0&&!o,headLines:c,tailLines:i-c}}const PT=1e3;function s9(n){const[i,o]=H.useState(!1),l=H.useCallback(()=>{i||Bo(n).then(c=>{c&&(o(!0),window.setTimeout(()=>{o(!1)},PT))})},[i,n]);return{copied:i,onCopy:l}}const IT="_block_10eou_7",ZT="_header_10eou_38",qT="_prompt_10eou_76",WT="_promptLine_10eou_84",YT="_runState_10eou_97",JT="_runStateLabel_10eou_105",GT="_cwd_10eou_114",QT="_command_10eou_122",eL="_status_10eou_134",tL="_copyButton_10eou_142",rL="_output_10eou_162",nL="_line_10eou_186",iL="_expand_10eou_191",sL="_empty_10eou_207",ln={block:IT,header:ZT,prompt:qT,promptLine:WT,runState:YT,runStateLabel:JT,cwd:GT,command:QT,status:eL,copyButton:tL,output:rL,line:nL,expand:iL,empty:sL},a9=16,J2={signal:n=>`信号 ${n}`,exitCode:n=>`退出码 ${n}`,running:"运行中",failed:"失败",done:"已完成",copy:"复制",copied:"复制成功",noOutput:"无输出",collapseAria:"收起输出",collapse:"收起",expandAria:n=>`展开其余 ${n} 行输出`,expand:n=>`… 其余 ${n} 行`};function aL(n,i){const o=n.replace(/[/\\]+$/,"");if(i!==void 0&&o===i.replace(/[/\\]+$/,""))return"~";const l=o.split(/[/\\]/).pop();return l===void 0||l===""?n:l}function o9(n,i,o){if(i!==void 0)return o.signal(i);if(n!==void 0&&n!==0)return o.exitCode(n)}function oL(n,i,o,l){return n?{state:"ongoing",label:l.running}:o9(i,o,l)!==void 0?{state:"error",label:l.failed}:{state:"done",label:l.done}}function G2(n){return n.map((i,o)=>i.style===void 0?i.text:h.jsxDEV("span",{style:i.style,children:i.text},o,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:166,columnNumber:7},this))}function lL({command:n,cwd:i,home:o,output:l,exitCode:c,signal:d,running:f=!1,maxLines:v=a9,className:x,labels:b}){const N=H.useMemo(()=>b===void 0?J2:{...J2,...b},[b]),S=l??"",E=H.useMemo(()=>{const ue=zT(S),ie=ue[ue.length-1];return ue.length>1&&ie!==void 0&&ie.every(ne=>ne.text==="")?ue.slice(0,-1):ue},[S]),[k,T]=H.useState(!1),{copied:V,onCopy:J}=s9(S),te=H.useCallback(()=>{T(ue=>!ue)},[]),Y=o9(c,d,N),I=oL(f,c,d,N),oe=H.useMemo(()=>(n.endsWith(`
|
|
261
|
+
`)?n.slice(0,-1):n).split(`
|
|
262
|
+
`),[n]),Z=E.every(ue=>ue.every(ie=>ie.text.trim()==="")),{hidden:q,capped:G,headLines:ge,tailLines:B}=i9(E.length,v,k);return h.jsxDEV("div",{className:it(ln.block,x),"data-terminal":"","data-running":f?"":void 0,children:[h.jsxDEV("div",{className:ln.header,children:[h.jsxDEV("div",{className:ln.prompt,children:[h.jsxDEV("span",{className:ln.runStateLabel,children:I.label},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:233,columnNumber:11},this),oe.map((ue,ie)=>h.jsxDEV("div",{className:ln.promptLine,children:[ie===0&&h.jsxDEV(P8,{state:I.state,className:ln.runState},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:240,columnNumber:31},this),h.jsxDEV("span",{className:ln.cwd,children:ie>0||i===void 0?"$":aL(i,o)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:247,columnNumber:15},this),h.jsxDEV("span",{className:ln.command,children:ue},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:250,columnNumber:15},this)]},ie,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:235,columnNumber:13},this))]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:232,columnNumber:9},this),Y!==void 0&&h.jsxDEV(J8,{className:ln.status,children:Y},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:254,columnNumber:34},this),!f&&!Z&&h.jsxDEV("button",{type:"button",className:ln.copyButton,onClick:J,children:V?N.copied:N.copy},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:256,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:231,columnNumber:7},this),!f&&(Z?h.jsxDEV("div",{className:ln.empty,children:N.noOutput},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:262,columnNumber:11},this):h.jsxDEV("div",{className:ln.output,children:[(G?E.slice(0,ge):E).map((ue,ie)=>h.jsxDEV("div",{className:ln.line,children:G2(ue)},ie,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:266,columnNumber:15},this)),q>0&&h.jsxDEV("button",{type:"button",className:ln.expand,"aria-expanded":k,"aria-label":k?N.collapseAria:N.expandAria(q),onClick:te,children:k?N.collapse:N.expand(q)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:269,columnNumber:15},this),G&&E.slice(E.length-B).map((ue,ie)=>h.jsxDEV("div",{className:ln.line,children:G2(ue)},ie,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:280,columnNumber:15},this))]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:264,columnNumber:11},this))]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/TerminalBlock.tsx",lineNumber:230,columnNumber:5},this)}const uL="modulepreload",cL=function(n){return"/"+n},Q2={},$t=function(i,o,l){let c=Promise.resolve();if(o&&o.length>0){let f=function(b){return Promise.all(b.map(N=>Promise.resolve(N).then(S=>({status:"fulfilled",value:S}),S=>({status:"rejected",reason:S}))))};document.getElementsByTagName("link");const v=document.querySelector("meta[property=csp-nonce]"),x=(v==null?void 0:v.nonce)||(v==null?void 0:v.getAttribute("nonce"));c=f(o.map(b=>{if(b=cL(b),b in Q2)return;Q2[b]=!0;const N=b.endsWith(".css"),S=N?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${b}"]${S}`))return;const E=document.createElement("link");if(E.rel=N?"stylesheet":uL,N||(E.as="script"),E.crossOrigin="",E.href=b,x&&E.setAttribute("nonce",x),document.head.appendChild(E),N)return new Promise((k,T)=>{E.addEventListener("load",k),E.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${b}`)))})}))}function d(f){const v=new Event("vite:preloadError",{cancelable:!0});if(v.payload=f,window.dispatchEvent(v),!v.defaultPrevented)throw f}return c.then(f=>{for(const v of f||[])v.status==="rejected"&&d(v.reason);return i().catch(d)})},fL=[sk,ak,ok],dL=new Map([["python",()=>$t(()=>import("./langs/python-B6aJPvgy.js"),[])],["ruby",()=>$t(()=>import("./langs/ruby-hwtoiFmS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))],["go",()=>$t(()=>import("./langs/go-C27-OAKa.js"),[])],["rust",()=>$t(()=>import("./langs/rust-B1yitclQ.js"),[])],["java",()=>$t(()=>import("./langs/java-CylS5w8V.js"),[])],["c",()=>$t(()=>import("./langs/c-BIGW1oBm.js"),[])],["cpp",()=>$t(()=>import("./langs/cpp-DddhVWhK.js"),__vite__mapDeps([8,9]))],["csharp",()=>$t(()=>import("./langs/csharp-DSvCPggb.js"),[])],["kotlin",()=>$t(()=>import("./langs/kotlin-BdnUsdx6.js"),[])],["swift",()=>$t(()=>import("./langs/swift-C2oV4EkX.js"),[])],["php",()=>$t(()=>import("./langs/php-DY2VakOf.js"),__vite__mapDeps([12,1,2,3,4,5,6,7]))],["yaml",()=>$t(()=>import("./langs/yaml-Buea-lGh.js"),[])],["toml",()=>$t(()=>import("./langs/toml-vGWfd6FD.js"),[])],["ini",()=>$t(()=>import("./langs/ini-BEwlwnbL.js"),[])],["markdown",()=>$t(()=>import("./langs/markdown-Cvjx9yec.js"),[])],["mdx",()=>$t(()=>import("./langs/mdx-Cmh6b_Ma.js"),[])],["html",()=>$t(()=>import("./langs/html-CfGypltT.js").then(n=>n.a),__vite__mapDeps([1,2]))],["css",()=>$t(()=>import("./langs/css-CLj8gQPS.js"),[])],["scss",()=>$t(()=>import("./langs/scss-D5BDwBP9.js"),__vite__mapDeps([13,2]))],["less",()=>$t(()=>import("./langs/less-B1dDrJ26.js"),[])],["sql",()=>$t(()=>import("./langs/sql-CRqJ_cUM.js"),[])],["xml",()=>$t(()=>import("./langs/xml-sdJ4AIDG.js"),__vite__mapDeps([3,4]))],["lua",()=>$t(()=>import("./langs/lua-BaeVxFsk.js"),__vite__mapDeps([10,9]))]]),l9=new Map([["typescript","typescript"],["ts","typescript"],["tsx","typescript"],["javascript","typescript"],["js","typescript"],["jsx","typescript"],["shellscript","shellscript"],["bash","shellscript"],["sh","shellscript"],["shell","shellscript"],["zsh","shellscript"],["json","json"],["jsonc","json"],["py","python"],["python","python"],["rb","ruby"],["ruby","ruby"],["go","go"],["rs","rust"],["rust","rust"],["java","java"],["c","c"],["cpp","cpp"],["cs","csharp"],["csharp","csharp"],["kotlin","kotlin"],["swift","swift"],["php","php"],["yaml","yaml"],["yml","yaml"],["toml","toml"],["ini","ini"],["md","markdown"],["markdown","markdown"],["mdx","mdx"],["html","html"],["css","css"],["scss","scss"],["less","less"],["sql","sql"],["xml","xml"],["lua","lua"]]),pL=tk({name:"css-variables",variablePrefix:"--shiki-",fontStyle:!0}),hL=rk({forgiving:!0,regexConstructor:n=>ik(n,{lazyCompileLength:Number.POSITIVE_INFINITY})});let e8;const mL=[{lang:"typescript",code:"const answer: number = 42"},{lang:"shellscript",code:`printf '%s\\n' "$HOME"`},{lang:"json",code:'{"ready":true}'}];function vL(){const n=nk({themes:[pL],langs:fL,engine:hL});for(const i of mL)n.codeToTokens(i.code,{lang:i.lang,theme:"css-variables",tokenizeTimeLimit:0});return n}function zu(){return e8??(e8=vL()),e8}const t8=new Set,Sm=new Set;let u9=0;function c9(n){return Sm.add(n),()=>{Sm.delete(n)}}function b1(){return u9}function f9(n){const i=dL.get(n);return i===void 0||zu().getLoadedLanguages().includes(n)?!0:(t8.has(n)||(t8.add(n),i().then(o=>{zu().loadLanguageSync(o.default),u9+=1;for(const l of Sm)l()})),!1)}const lm=setTimeout(()=>{zu()},0);var f8;(f8=lm.unref)==null||f8.call(lm);function gL(n,i){const o=i===void 0?void 0:l9.get(i.toLowerCase());if(o!==void 0&&f9(o))return zu().codeToHtml(n,{lang:o,theme:"css-variables"})}function yL(n,i){const o=i===void 0?void 0:l9.get(i.toLowerCase());if(o===void 0||!f9(o))return;const{tokens:l}=zu().codeToTokens(n,{lang:o,theme:"css-variables"}),c=l[l.length-1];return(l.length>1&&c!==void 0&&c.length===0?l.slice(0,-1):l).map(f=>f.map(v=>({text:v.content,style:{color:v.color}})))}const bL="_block_biesw_7",CL="_banner_biesw_21",xL="_label_biesw_32",RL="_action_biesw_43",wL="_count_biesw_50",NL="_lang_biesw_55",kL="_copyButton_biesw_62",EL="_body_biesw_72",DL="_line_biesw_81",SL="_gutter_biesw_88",_L="_content_biesw_99",TL="_expand_biesw_103",zn={block:bL,banner:CL,label:xL,action:RL,count:wL,lang:NL,copyButton:kL,body:EL,line:DL,gutter:SL,content:_L,expand:TL},d9=16;function LL(n){return n.map((i,o)=>h.jsxDEV("span",{style:i.style,children:i.text},o,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:61,columnNumber:37},this))}function OL({label:n,lines:i,totalLines:o,lang:l,maxLines:c=d9,className:d}){const f=H.useMemo(()=>i.map(q=>q.text).join(`
|
|
263
|
+
`),[i]),v=H.useSyncExternalStore(c9,b1,b1),x=H.useMemo(()=>yL(f,l),[f,l,v]),[b,N]=H.useState(!1),[S,E]=H.useState(!1),k=H.useCallback(()=>{S||Bo(f).then(q=>{q&&(E(!0),window.setTimeout(()=>{E(!1)},1e3))})},[S,f]),T=H.useCallback(()=>{N(q=>!q)},[]),V=i.length-c,J=V>0&&!b,te=Math.ceil(c/2),Y=c-te,I=i.length<o,oe=q=>q.map(([G,ge])=>h.jsxDEV("div",{className:zn.line,children:[h.jsxDEV("span",{className:zn.gutter,"aria-hidden":!0,children:G.number},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:125,columnNumber:9},this),h.jsxDEV("span",{className:zn.content,children:ge===void 0?G.text:LL(ge)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:126,columnNumber:9},this)]},G.number,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:124,columnNumber:7},this)),Z=i.map((q,G)=>[q,x==null?void 0:x[G]]);return h.jsxDEV("div",{className:it(zn.block,d),"data-read":"",children:[h.jsxDEV("div",{className:zn.banner,children:[h.jsxDEV("div",{className:zn.label,children:n??""},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:138,columnNumber:9},this),h.jsxDEV("div",{className:zn.action,children:[I&&h.jsxDEV("span",{className:zn.count,children:`显示 ${i.length} / ${o} 行`},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:141,columnNumber:13},this),h.jsxDEV("span",{className:zn.lang,children:l??""},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:143,columnNumber:11},this),i.length>0&&h.jsxDEV("button",{type:"button",className:zn.copyButton,onClick:k,children:S?"复制成功":"复制"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:149,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:139,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:137,columnNumber:7},this),h.jsxDEV("div",{className:zn.body,children:[oe(J?Z.slice(0,te):Z),V>0&&h.jsxDEV("button",{type:"button",className:zn.expand,"aria-expanded":b,"aria-label":b?"收起内容":`展开其余 ${V} 行`,onClick:T,children:b?"收起":`… 其余 ${V} 行`},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:158,columnNumber:11},this),J&&oe(Z.slice(Z.length-Y))]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:155,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/ReadBlock.tsx",lineNumber:136,columnNumber:5},this)}const KL="_block_srovd_7",jL="_copyButton_srovd_22",XL="_body_srovd_36",UL="_line_srovd_44",VL="_path_srovd_53",ML="_gap_srovd_60",AL="_del_srovd_67",HL="_add_srovd_76",BL="_expand_srovd_85",$L="_footer_srovd_103",ai={block:KL,copyButton:jL,body:XL,line:UL,path:VL,gap:ML,del:AL,add:HL,expand:BL,footer:$L},p9=16;function FL(n){throw new Error(`unreachable diff row kind: ${String(n)}`)}const r8={path:ai.path,del:ai.del,add:ai.add,gap:ai.gap};function zL(n){const i=[],o=new Set;let l=0,c=0,d;for(const f of n){if(o.add(f.path),f.path!==d?i.push({kind:"path",text:f.path}):i.push({kind:"gap",text:"⋯"}),d=f.path,f.oldText!==null)for(const v of n8(f.oldText))i.push({kind:"del",text:v}),c++;for(const v of n8(f.newText))i.push({kind:"add",text:v}),l++}return{rows:i,added:l,removed:c,files:o.size}}function n8(n){return n===""?[]:(n.endsWith(`
|
|
264
|
+
`)?n.slice(0,-1):n).split(`
|
|
265
|
+
`)}function PL(n){return n.map(i=>{switch(i.kind){case"del":return`- ${i.text}`;case"add":return`+ ${i.text}`;case"path":return i.text;case"gap":return i.text;default:return FL(i.kind)}}).join(`
|
|
266
|
+
`)}function IL({diffs:n,maxLines:i=p9,className:o}){const{rows:l,added:c,removed:d,files:f}=H.useMemo(()=>zL(n),[n]),[v,x]=H.useState(!1),[b,N]=H.useState(!1),S=H.useCallback(()=>{b||Bo(PL(l)).then(I=>{I&&(N(!0),window.setTimeout(()=>{N(!1)},1e3))})},[b,l]),E=H.useCallback(()=>{x(I=>!I)},[]);if(l.length===0)return null;const k=l.length-i,T=k>0&&!v,V=Math.ceil(i/2),J=i-V,te=T?l.slice(0,V):l,Y=T?l.slice(l.length-J):[];return h.jsxDEV("div",{className:it(ai.block,o),"data-diff":"",children:[h.jsxDEV("button",{type:"button",className:ai.copyButton,onClick:S,children:b?"复制成功":"复制"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DiffBlock.tsx",lineNumber:170,columnNumber:7},this),h.jsxDEV("div",{className:ai.body,children:[te.map((I,oe)=>h.jsxDEV("div",{className:it(ai.line,r8[I.kind]),children:I.text},oe,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DiffBlock.tsx",lineNumber:175,columnNumber:11},this)),k>0&&h.jsxDEV("button",{type:"button",className:ai.expand,"aria-expanded":v,"aria-label":v?"收起差异":`展开其余 ${k} 行差异`,onClick:E,children:v?"收起":`… 其余 ${k} 行`},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DiffBlock.tsx",lineNumber:178,columnNumber:11},this),Y.map((I,oe)=>h.jsxDEV("div",{className:it(ai.line,r8[I.kind]),children:I.text},oe,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DiffBlock.tsx",lineNumber:189,columnNumber:11},this))]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DiffBlock.tsx",lineNumber:173,columnNumber:7},this),h.jsxDEV("div",{className:ai.footer,children:["└ +",c," -",d," · ",f," file",f===1?"":"s"]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DiffBlock.tsx",lineNumber:192,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/DiffBlock.tsx",lineNumber:169,columnNumber:5},this)}const ZL="_block_s66q0_7",qL="_header_s66q0_20",WL="_summary_s66q0_30",YL="_copyButton_s66q0_40",JL="_body_s66q0_51",GL="_line_s66q0_60",QL="_lineNumber_s66q0_68",eO="_fileHeader_s66q0_74",tO="_filePath_s66q0_88",rO="_fileCount_s66q0_95",nO="_expand_s66q0_100",iO="_empty_s66q0_116",Sn={block:ZL,header:qL,summary:WL,copyButton:YL,body:JL,line:GL,lineNumber:QL,fileHeader:eO,filePath:tO,fileCount:rO,expand:nO,empty:iO},h9=16;function sO(n){return n.kind==="paths"?n.paths.join(`
|
|
267
|
+
`):n.files.map(i=>[i.path,...i.matches.map(o=>`${o.lineNumber}: ${o.line}`)].join(`
|
|
268
|
+
`)).join(`
|
|
269
|
+
|
|
270
|
+
`)}function aO(n){return n.kind==="paths"?n.paths.length:n.files.reduce((i,o)=>i+o.matches.length,0)}function oO(n,i,o,l){const c=o?`显示 ${i} / 共 ${l}`:`${i}`;return n.kind==="paths"?`${c} 个路径`:`${c} 处匹配 · ${n.files.length} 个文件`}function lO(n,i){if(n.kind==="paths")return n.paths.map(l=>({type:"path",path:l}));const o=[];return n.files.forEach((l,c)=>{const d=i.has(c);if(o.push({type:"file",path:l.path,count:l.matches.length,index:c,collapsed:d}),!d)for(const f of l.matches)o.push({type:"match",lineNumber:f.lineNumber,line:f.line,key:`${c}:${f.lineNumber}`,fileIndex:c})}),o}function um(n){switch(n.type){case"match":return`match:${n.key}`;case"file":return`file:${n.index}`;case"path":return`path:${n.path}`}}function uO(n){const{truncated:i,total:o,maxLines:l=h9,className:c}=n,[d,f]=H.useState(!1),[v,x]=H.useState(()=>new Set),b=lO(n,v),N=aO(n),S=b.length===0,{copied:E,onCopy:k}=s9(sO(n)),T=H.useCallback(()=>{f(ue=>!ue)},[]),V=H.useCallback(ue=>{x(ie=>{const me=new Set(ie);return me.has(ue)?me.delete(ue):me.add(ue),me})},[]),{hidden:J,capped:te,headLines:Y,tailLines:I}=i9(b.length,l,d),oe=te?b.slice(0,Y):b,Z=te?b.slice(b.length-I):[],q=Z[0],G=(q==null?void 0:q.type)==="match"&&!oe.some(ue=>ue.type==="file"&&ue.index===q.fileIndex)?b.find(ue=>ue.type==="file"&&ue.index===q.fileIndex):void 0,ge=G===void 0?Z:Z.slice(1),B=ue=>ue.type==="path"?h.jsxDEV("div",{className:Sn.line,children:ue.path},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:217,columnNumber:37},this):ue.type==="match"?h.jsxDEV("div",{className:Sn.line,children:[h.jsxDEV("span",{className:Sn.lineNumber,children:[ue.lineNumber,": "]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:221,columnNumber:11},this),ue.line]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:220,columnNumber:9},this):h.jsxDEV("button",{type:"button",className:Sn.fileHeader,"aria-expanded":!ue.collapsed,onClick:()=>{V(ue.index)},children:[h.jsxDEV("span",{className:Sn.filePath,children:ue.path},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:233,columnNumber:9},this),h.jsxDEV("span",{className:Sn.fileCount,children:ue.count},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:234,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:227,columnNumber:7},this);return h.jsxDEV("div",{className:it(Sn.block,c),"data-search":n.kind,children:[h.jsxDEV("div",{className:Sn.header,children:[h.jsxDEV("span",{className:Sn.summary,children:oO(n,N,i,o)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:242,columnNumber:9},this),!S&&h.jsxDEV("button",{type:"button",className:Sn.copyButton,onClick:k,children:E?"复制成功":"复制"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:244,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:241,columnNumber:7},this),S?h.jsxDEV("div",{className:Sn.empty,children:"无结果"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:250,columnNumber:11},this):h.jsxDEV("div",{className:Sn.body,children:[oe.map(ue=>h.jsxDEV("div",{children:B(ue)},um(ue),!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:254,columnNumber:15},this)),J>0&&h.jsxDEV("button",{type:"button",className:Sn.expand,"aria-expanded":d,"aria-label":d?"收起结果":`展开其余 ${J} 行结果`,onClick:T,children:d?"收起":`… 其余 ${J} 行`},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:257,columnNumber:15},this),G!==void 0&&h.jsxDEV("div",{children:B(G)},`tailHeader:${um(G)}`,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:268,columnNumber:15},this),ge.map(ue=>h.jsxDEV("div",{children:B(ue)},um(ue),!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:271,columnNumber:15},this))]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:252,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/SearchBlock.tsx",lineNumber:240,columnNumber:5},this)}const cO=2;function i8(n,i,o){var c;const l=(c=n.position)==null?void 0:c.start.offset;return l===void 0?-(o+1):i+l}class fO{constructor(i){P(this,"prevText","");P(this,"tailStart",0);P(this,"frozen",[]);P(this,"generation",0);P(this,"cached",null);this.parse=i}update(i){var f,v;if(this.cached!==null&&i===this.prevText)return this.cached;i.startsWith(this.prevText)||(this.prevText="",this.tailStart=0,this.frozen=[],this.generation+=1),this.prevText=i;const o=this.tailStart,l=this.parse(i.slice(o)).children;let c=Math.max(0,l.length-cO);if(c>0){const x=(v=(f=l[c-1])==null?void 0:f.position)==null?void 0:v.end.offset;if(x===void 0)c=0;else{for(const b of l.slice(0,c))this.frozen.push({node:b,key:i8(b,o,this.frozen.length)});this.tailStart=o+x}}const d=l.slice(c).map((x,b)=>({node:x,key:i8(x,o,b)}));return this.cached={frozen:[...this.frozen],tail:d,generation:this.generation},this.cached}}const dO=new RegExp(["\\p{Script_Extensions=Han}","\\p{Script_Extensions=Hiragana}","\\p{Script_Extensions=Katakana}","\\p{Script_Extensions=Hangul}","\\p{Script_Extensions=Bopomofo}"].join("|"),"u");function pO(n){return n!==null&&n>=0&&dO.test(String.fromCodePoint(n))}const hO=function(n,i,o){const l=this.parser.constructs.attentionMarkers.null;if(l===void 0)throw new Error("micromark CommonMark attention markers are unavailable");const c=l,d=this.previous,f=a2(d);let v=nt.eof;return x;function x(N){return N!==nt.asterisk?o(N):(v=N,n.enter("attentionSequence"),b(N))}function b(N){if(N===v)return n.consume(N),b;const S=n.exit("attentionSequence"),E=a2(N),k=!E||E===mm.characterGroupPunctuation&&!!f||c.includes(N),T=!f||f===mm.characterGroupPunctuation&&!!E||c.includes(d),J=S.end.offset-S.start.offset>=2&&uk(d)&&pO(N),te=T||J;return S._open=k,S._close=te,i(N)}},mO={name:"cjkFriendlyAttention",resolveAll:lk.resolveAll,tokenize:hO},vO={text:{[nt.asterisk]:mO}};function m9(){return vO}const gO=function(n){if(n!==nt.backslash)return!0;const i=this.events.at(-1);return i===void 0?!1:i[1].type===Ln.characterEscape},yO=function(n,i,o){return l;function l(k){return k!==nt.backslash?o(k):(n.enter("mathText"),n.enter("mathTextSequence"),n.consume(k),c)}function c(k){return k!==nt.leftParenthesis?o(k):(n.consume(k),n.exit("mathTextSequence"),d)}function d(k){return k===nt.eof?o(k):k===nt.backslash?n.attempt({partial:!0,tokenize:S},N,f)(k):Uo(k)?(n.enter(Ln.lineEnding),n.consume(k),n.exit(Ln.lineEnding),d):v(k)}function f(k){return n.check({partial:!0,tokenize:E},o,v)(k)}function v(k){return n.enter("mathTextData"),n.consume(k),k===nt.backslash?x:b}function x(k){return k===nt.backslash?(n.consume(k),b):b(k)}function b(k){return k===nt.eof||k===nt.backslash||Uo(k)?(n.exit("mathTextData"),d(k)):(n.consume(k),b)}function N(k){return n.exit("mathText"),i(k)}function S(k,T,V){return J;function J(Y){return Y!==nt.backslash?V(Y):(k.enter("mathTextSequence"),k.consume(Y),te)}function te(Y){return Y!==nt.rightParenthesis?V(Y):(k.consume(Y),k.exit("mathTextSequence"),T)}}function E(k,T,V){return J;function J(Y){return Y!==nt.backslash?V(Y):(k.enter(Ln.chunkString),k.consume(Y),te)}function te(Y){return Y!==nt.leftParenthesis?V(Y):(k.consume(Y),k.exit(Ln.chunkString),T)}}};function v9(n,i,o,l){const c=function(d,f,v){const x=this;let b=!1;const N=x.events.at(-1),S=(N==null?void 0:N[1].type)===Ln.linePrefix?N[2].sliceSerialize(N[1],!0).length:0;return E;function E(B){return B!==n?v(B):(d.enter("mathFlow"),d.enter("mathFlowFence"),d.enter("mathFlowFenceSequence"),d.consume(B),k)}function k(B){return B!==i?v(B):(d.consume(B),d.exit("mathFlowFenceSequence"),d.exit("mathFlowFence"),n===nt.dollarSign?T:V)}function T(B){return B===nt.dollarSign?v(B):V(B)}function V(B){return B===nt.eof?v(B):B===n&&(n!==nt.dollarSign||!b)?d.attempt({partial:!0,tokenize:G},q,J)(B):Uo(B)?l?d.attempt(CO,te,v)(B):v(B):Y(B)}function J(B){return n===nt.backslash?d.check({partial:!0,tokenize:ge},v,I)(B):I(B)}function te(B){return d.attempt({partial:!0,tokenize:G},q,S?Vh(d,V,Ln.linePrefix,S+1):V)(B)}function Y(B){return d.enter("mathFlowValue"),b=B===nt.backslash,d.consume(B),Z}function I(B){return d.enter("mathFlowValue"),b=!1,d.consume(B),oe}function oe(B){return B===n?(d.consume(B),Z):Z(B)}function Z(B){return B===nt.eof||B===n||Uo(B)?(d.exit("mathFlowValue"),V(B)):(b=B===nt.backslash?!b:!1,d.consume(B),Z)}function q(B){return d.exit("mathFlow"),f(B)}function G(B,ue,ie){return Vh(B,me,Ln.linePrefix,mm.tabSize);function me(Ne){return Ne!==n?ie(Ne):(B.enter("mathFlowFence"),B.enter("mathFlowFenceSequence"),B.consume(Ne),ne)}function ne(Ne){return Ne!==o?ie(Ne):(B.consume(Ne),B.exit("mathFlowFenceSequence"),Vh(B,we,Ln.whitespace))}function we(Ne){return Ne!==nt.eof&&!Uo(Ne)?ie(Ne):(B.exit("mathFlowFence"),ue(Ne))}}function ge(B,ue,ie){return me;function me(we){return we!==n?ie(we):(B.enter(Ln.chunkString),B.consume(we),ne)}function ne(we){return we!==i?ie(we):(B.consume(we),B.exit(Ln.chunkString),ue)}}};return{concrete:!0,name:n===nt.dollarSign?"sameLineDollarMathFlow":"backslashMathFlow",tokenize:c}}const bO=function(n,i,o){const l=this;return c;function c(f){return f===nt.eof?i(f):Uo(f)?(n.enter(Ln.lineEnding),n.consume(f),n.exit(Ln.lineEnding),d):o(f)}function d(f){return l.parser.lazy[l.now().line]?o(f):i(f)}},CO={partial:!0,tokenize:bO},xO={name:"backslashMathText",previous:gO,tokenize:yO},RO=v9(nt.backslash,nt.leftSquareBracket,nt.rightSquareBracket,!0),wO=v9(nt.dollarSign,nt.dollarSign,nt.dollarSign,!1),NO={flow:{[nt.backslash]:RO,[nt.dollarSign]:wO},text:{[nt.backslash]:xO}};function kO(){return NO}function g9(n){return d8(n,{extensions:[p8(),m9()],mdastExtensions:[h8()]})}function EO(n){return d8(n,{extensions:[p8(),m9(),kO(),ck()],mdastExtensions:[h8(),fk()]})}const DO="_block_178r4_4",SO="_bannerWrap_178r4_21",_O="_banner_178r4_21",TO="_infostring_178r4_42",LO="_action_178r4_53",OO="_copyButton_178r4_59",KO="_plain_178r4_94",wa={block:DO,bannerWrap:SO,banner:_O,infostring:TO,action:LO,copyButton:OO,plain:KO};function y9({code:n,lang:i,className:o,copyLabel:l="复制",copiedLabel:c="复制成功"}){const d=n.endsWith(`
|
|
271
|
+
`)?n.slice(0,-1):n,f=H.useSyncExternalStore(c9,b1,b1),v=H.useMemo(()=>gL(d,i),[d,i,f]),x=H.useRef(null),[b,N]=H.useState(!1),S=H.useCallback(()=>{var T,V;if(b)return;const k=((V=(T=x.current)==null?void 0:T.querySelector("pre"))==null?void 0:V.textContent)??d;Bo(k).then(J=>{J&&(N(!0),window.setTimeout(()=>{N(!1)},1e3))})},[b,d]),E=v===void 0?h.jsxDEV("pre",{className:wa.plain,children:h.jsxDEV("code",{children:d},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/CodeBlock.tsx",lineNumber:50,columnNumber:34},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/CodeBlock.tsx",lineNumber:50,columnNumber:7},this):h.jsxDEV("div",{dangerouslySetInnerHTML:{__html:v}},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/CodeBlock.tsx",lineNumber:56,columnNumber:7},this);return h.jsxDEV("div",{ref:x,className:it(wa.block,"md-code-block",o),children:[h.jsxDEV("div",{className:wa.bannerWrap,children:h.jsxDEV("div",{className:wa.banner,children:[h.jsxDEV("div",{className:wa.infostring,children:i??""},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/CodeBlock.tsx",lineNumber:63,columnNumber:11},this),h.jsxDEV("div",{className:wa.action,children:h.jsxDEV("button",{type:"button",className:wa.copyButton,onClick:S,children:b?c:l},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/CodeBlock.tsx",lineNumber:65,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/CodeBlock.tsx",lineNumber:64,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/CodeBlock.tsx",lineNumber:62,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/CodeBlock.tsx",lineNumber:61,columnNumber:7},this),E]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/CodeBlock.tsx",lineNumber:60,columnNumber:5},this)}function jO(n){const i={};for(const o of n.split(";")){const l=o.indexOf(":");if(l===-1)continue;const d=o.slice(0,l).trim().replace(/-([a-z])/g,(f,v)=>v.toUpperCase());i[d]=o.slice(l+1).trim()}return i}function b9(n,i){if(n.nodeType===Node.TEXT_NODE)return n.textContent;if(n.nodeType!==Node.ELEMENT_NODE)return null;const o=n,l={key:i};for(const d of o.attributes)d.name==="class"?l.className=d.value:d.name==="style"?l.style=jO(d.value):l[d.name]=d.value;const c=[...o.childNodes].map(b9);return c.length===0?H.createElement(o.localName,l):H.createElement(o.localName,l,...c)}function _m(n,i){let o;try{o=o2.renderToString(n,{displayMode:i,throwOnError:!0})}catch(c){try{o=o2.renderToString(n,{displayMode:i,strict:"ignore",throwOnError:!1})}catch{return h.jsxDEV("span",{className:"katex-error",style:{color:"#cc0000"},title:String(c),children:n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/katex.tsx",lineNumber:78,columnNumber:9},this)}}return[...new DOMParser().parseFromString(o,"text/html").body.childNodes].map(b9)}const XO="_markdown_1nba0_5",UO="_tableScroll_1nba0_174",VO="_imageAlt_1nba0_229",MO="_image_1nba0_229",AO="_fileMention_1nba0_249",Pu={markdown:XO,tableScroll:UO,imageAlt:VO,image:MO,fileMention:AO};function C9(n){try{switch(new URL(n).protocol){case"http:":case"https:":case"mailto:":return n;default:return""}}catch{return""}}function HO(n){try{const i=new URL(n).protocol;return i==="http:"||i==="https:"?n:void 0}catch{return}}function Tm(){return{definitions:new Map,footnotes:new Map}}function C1(n,i){for(const o of n){if(o.type==="definition"){const l=o.identifier.toUpperCase();i.definitions.has(l)||i.definitions.set(l,o)}else if(o.type==="footnoteDefinition"){const l=o.identifier.toUpperCase();i.footnotes.has(l)||i.footnotes.set(l,o)}"children"in o&&C1(o.children,i)}}function Lm(n,i){return n.map(o=>Ym(o.node,o.key,i)).filter(o=>o!==null)}function Wm(n,i){const o=[];for(const l of n)(i||o.length>0)&&o.push(`
|
|
272
|
+
`),o.push(l);return i&&n.length>0&&o.push(`
|
|
273
|
+
`),o}function x9(n,i){const o=[];for(const[l,c]of n.entries())if(c.type==="paragraph")o.push({paragraph:oi(c.children,i)});else{const d=Ym(c,l,i);d!==null&&o.push({element:d})}return o}function oi(n,i){return n.map((o,l)=>Ym(o,l,i))}function Ym(n,i,o){var l;switch(n.type){case"text":return n.value;case"paragraph":return h.jsxDEV("p",{children:oi(n.children,o)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:210,columnNumber:14},this);case"heading":return H.createElement(`h${n.depth}`,{key:i},...oi(n.children,o));case"blockquote":return h.jsxDEV("blockquote",{children:Wm(oi(n.children,o).filter(c=>c!==null),!0)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:215,columnNumber:9},this);case"thematicBreak":return h.jsxDEV("hr",{},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:220,columnNumber:14},this);case"break":return h.jsxDEV(H.Fragment,{children:[h.jsxDEV("br",{},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:223,columnNumber:34},this),`
|
|
274
|
+
`]},i,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:223,columnNumber:14},this);case"strong":return h.jsxDEV("strong",{children:oi(n.children,o)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:225,columnNumber:14},this);case"emphasis":return h.jsxDEV("em",{children:oi(n.children,o)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:227,columnNumber:14},this);case"delete":return h.jsxDEV("del",{children:oi(n.children,o)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:229,columnNumber:14},this);case"inlineCode":{const c=n.value.replace(/\r?\n|\r/g," "),d=PO(c);if(d!==void 0)return h.jsxDEV("code",{children:N9(d,[c],"link")},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:239,columnNumber:38},this);const f=o.inLink===!0||(l=o.fileMentions)==null?void 0:l.resolve(c);return f!==void 0?h.jsxDEV("code",{children:h.jsxDEV("button",{type:"button",className:Pu.fileMention,title:f.title,"aria-label":f.label,onClick:f.open,children:c},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:247,columnNumber:13},this)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:246,columnNumber:11},this):h.jsxDEV("code",{children:c},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:259,columnNumber:14},this)}case"html":return n.value;case"code":return BO(n,i,o);case"math":return h.jsxDEV(H.Fragment,{children:_m(n.value,!0)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:267,columnNumber:14},this);case"inlineMath":return h.jsxDEV(H.Fragment,{children:_m(n.value,!1)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:269,columnNumber:14},this);case"list":return FO(n,i,o);case"listItem":return w9(n,R9(n),i,o);case"table":return zO(n,i,o);case"link":return k9(n.url,oi(n.children,{...o,inLink:!0}),i);case"linkReference":return IO(n,i,o);case"image":return E9(n.url,n.alt??"",i);case"imageReference":return ZO(n,i,o);case"footnoteReference":return qO(n,i,o);case"definition":case"footnoteDefinition":return null;default:return null}}function BO(n,i,o){var d,f,v;const l=n.lang??void 0;if(n.value==="")return h.jsxDEV("pre",{children:h.jsxDEV("code",{className:l===void 0?void 0:`language-${l}`},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:306,columnNumber:9},this)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:305,columnNumber:7},this);const c=l===void 0||(d=/^[\w-]+/.exec(l))==null?void 0:d[0];return!o.streaming&&c==="math"?h.jsxDEV(H.Fragment,{children:_m(`${n.value}
|
|
275
|
+
`,!0)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:316,columnNumber:12},this):h.jsxDEV(y9,{code:`${n.value}
|
|
276
|
+
`,lang:o.streaming?void 0:c,copyLabel:(f=o.codeLabels)==null?void 0:f.copyLabel,copiedLabel:(v=o.codeLabels)==null?void 0:v.copiedLabel},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:319,columnNumber:5},this)}function $O(n){return(n.spread??!1)||n.children.some(R9)}function R9(n){return n.spread??n.children.length>1}function FO(n,i,o){const l=$O(n),c={};return typeof n.start=="number"&&n.start!==1&&(c.start=n.start),n.children.some(d=>typeof d.checked=="boolean")&&(c.className="contains-task-list"),H.createElement(n.ordered===!0?"ol":"ul",{key:i,...c},...n.children.map((d,f)=>w9(d,l,f,o)))}function w9(n,i,o,l){const c=x9(n.children,l),d=typeof n.checked=="boolean";if(d){const x=h.jsxDEV("input",{type:"checkbox",checked:n.checked===!0,disabled:!0},"task-checkbox",!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:364,columnNumber:22},this),b=c[0];b!==void 0&&"paragraph"in b?b.paragraph=b.paragraph.length>0?[x," ",...b.paragraph]:[x]:c.unshift({paragraph:[x]})}const f=[];for(const[x,b]of c.entries()){const N="paragraph"in b;(i||x!==0||!N)&&f.push(`
|
|
277
|
+
`),N?i?f.push(h.jsxDEV("p",{children:b.paragraph},`p-${x}`,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:381,columnNumber:32},this)):f.push(h.jsxDEV(H.Fragment,{children:b.paragraph},`p-${x}`,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:382,columnNumber:21},this)):f.push(b.element)}const v=c[c.length-1];return v!==void 0&&(i||!("paragraph"in v))&&f.push(`
|
|
278
|
+
`),h.jsxDEV("li",{className:d?"task-list-item":void 0,children:f},o,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:387,columnNumber:5},this)}function zO(n,i,o){const l=n.align??null,[c,...d]=n.children;return h.jsxDEV("div",{className:Pu.tableScroll,children:h.jsxDEV("table",{children:[c!==void 0&&h.jsxDEV("thead",{children:s8(c,"th",l,0,o)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:399,columnNumber:35},this),d.length>0&&h.jsxDEV("tbody",{children:d.map((f,v)=>s8(f,"td",l,v+1,o))},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:401,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:398,columnNumber:7},this)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:397,columnNumber:5},this)}function s8(n,i,o,l,c){const d=o===null?n.children.length:o.length,f=[];for(let v=0;v<d;v++){const x=n.children[v],b=o==null?void 0:o[v];f.push(H.createElement(i,{key:v,style:b==null?void 0:{textAlign:b}},...x===void 0?[]:oi(x.children,c)))}return h.jsxDEV("tr",{children:f},l,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:432,columnNumber:10},this)}function N9(n,i,o){const l=C9(n);if(l==="")return h.jsxDEV(H.Fragment,{children:i},o,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:438,columnNumber:31},this);const c=["http:","https:"].includes(new URL(l).protocol);return h.jsxDEV("a",{href:l,...c?{target:"_blank",rel:"noopener noreferrer"}:{},children:i},o,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:441,columnNumber:5},this)}function k9(n,i,o){return N9(Km(n),i,o)}function PO(n){if(n.trim()===n)try{const i=new URL(n).protocol;return i==="http:"||i==="https:"?n:void 0}catch{return}}function E9(n,i,o){const l=HO(C9(Km(n)));return l===void 0?h.jsxDEV("span",{className:Pu.imageAlt,children:i},o,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:474,columnNumber:12},this):h.jsxDEV("img",{className:Pu.image,src:l,alt:i,loading:"lazy",decoding:"async",referrerPolicy:"no-referrer"},o,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:477,columnNumber:5},this)}function D9(n){return n.referenceType==="collapsed"?"][]":n.referenceType==="full"?`][${n.label??n.identifier}]`:"]"}function IO(n,i,o){const l=o.targets.definitions.get(n.identifier.toUpperCase());return l===void 0?h.jsxDEV(H.Fragment,{children:["[",oi(n.children,o),D9(n)]},i,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:507,columnNumber:12},this):k9(l.url,oi(n.children,{...o,inLink:!0}),i)}function ZO(n,i,o){const l=o.targets.definitions.get(n.identifier.toUpperCase());return l===void 0?`![${n.alt??""}${D9(n)}`:E9(l.url,n.alt??"",i)}function qO(n,i,o){const l=n.identifier.toUpperCase(),c=o.footnoteCounts.get(l);return c===void 0&&o.footnoteOrder.push(l),o.footnoteCounts.set(l,(c??0)+1),h.jsxDEV("sup",{children:String(o.footnoteOrder.indexOf(l)+1)},i,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:533,columnNumber:10},this)}function S9(n){const i=[];for(const o of n.footnoteOrder){const l=n.targets.footnotes.get(o);if(l===void 0)continue;const c=n.footnoteCounts.get(o)??0,d=[];for(let b=1;b<=c;b++)d.length>0&&d.push(" "),d.push("↩"),b>1&&d.push(h.jsxDEV("sup",{children:String(b)},`re-${b}`,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:553,columnNumber:40},this));const f=x9(l.children,n),v=f[f.length-1],x=f.map((b,N)=>"paragraph"in b?h.jsxDEV("p",{children:[b.paragraph,b===v&&h.jsxDEV(h.Fragment,{children:[" ",d]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:562,columnNumber:32},this)]},`p-${N}`,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:560,columnNumber:11},this):b.element);(v===void 0||!("paragraph"in v))&&x.push(...d),i.push(h.jsxDEV("li",{id:`user-content-fn-${Km(o.toLowerCase())}`,children:Wm(x,!0)},o,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:571,columnNumber:7},this))}return i.length===0?null:h.jsxDEV("section",{"data-footnotes":!0,className:"footnotes",children:[h.jsxDEV("h2",{id:"footnote-label",className:"sr-only",children:"Footnotes"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:579,columnNumber:7},this),h.jsxDEV("ol",{children:i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:580,columnNumber:7},this)]},"footnotes",!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/render.tsx",lineNumber:578,columnNumber:5},this)}function WO(n,i,o){const l=EO(n),c=Tm();C1(l.children,c);const d={streaming:!1,codeLabels:i,fileMentions:o,targets:c,footnoteOrder:[],footnoteCounts:new Map},f=Wm(Lm(l.children.map((x,b)=>({node:x,key:b})),d),!1),v=S9(d);return v===null?f:[...f,`
|
|
279
|
+
`,v]}class YO{constructor(i){P(this,"parser",new fO(g9));P(this,"generation",-1);P(this,"frozenCount",0);P(this,"frozenElements",[]);P(this,"frozenTargets",Tm());P(this,"frozenFootnoteOrder",[]);P(this,"frozenFootnoteCounts",new Map);P(this,"lastText",null);P(this,"lastRendered",[]);this.codeLabels=i}render(i){if(i===this.lastText)return this.lastRendered;const{frozen:o,tail:l,generation:c}=this.parser.update(i);c!==this.generation&&(this.generation=c,this.frozenCount=0,this.frozenElements=[],this.frozenTargets=Tm(),this.frozenFootnoteOrder=[],this.frozenFootnoteCounts=new Map);const d=o.slice(this.frozenCount);C1(d.map(N=>N.node),this.frozenTargets);const f={definitions:new Map(this.frozenTargets.definitions),footnotes:new Map(this.frozenTargets.footnotes)};if(C1(l.map(N=>N.node),f),d.length>0){const N={streaming:!0,codeLabels:this.codeLabels,fileMentions:void 0,targets:f,footnoteOrder:this.frozenFootnoteOrder,footnoteCounts:this.frozenFootnoteCounts},S=[...this.frozenElements];for(const E of Lm(d,N))S.length>0&&S.push(`
|
|
280
|
+
`),S.push(E);this.frozenElements=S,this.frozenCount=o.length}const v={streaming:!0,codeLabels:this.codeLabels,fileMentions:void 0,targets:f,footnoteOrder:[...this.frozenFootnoteOrder],footnoteCounts:new Map(this.frozenFootnoteCounts)},x=[...this.frozenElements];for(const N of Lm(l,v))x.length>0&&x.push(`
|
|
281
|
+
`),x.push(N);const b=S9(v);return b!==null&&x.push(`
|
|
282
|
+
`,b),this.lastText=i,this.lastRendered=x,this.lastRendered}}const _9=H.memo(function({text:i,streaming:o=!1,codeLabels:l,fileMentions:c}){const d=H.useRef(null),f=H.useRef(l),v=H.useMemo(()=>o?((d.current===null||f.current!==l)&&(d.current=new YO(l),f.current=l),d.current.render(i)):(d.current=null,WO(i,l,c)),[i,o,l,c]);return h.jsxDEV("div",{className:Pu.markdown,children:v},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/MarkdownText.tsx",lineNumber:175,columnNumber:10},this)}),JO="_block_d4nqi_7",GO="_answer_d4nqi_19",QO="_sources_d4nqi_5",eK="_source_d4nqi_5",tK="_sourceLink_d4nqi_60",rK="_snippet_d4nqi_71",nK="_published_d4nqi_79",iK="_truncated_d4nqi_85",sK="_empty_d4nqi_91",aK="_fetch_d4nqi_97",oK="_fetchUrl_d4nqi_103",lK="_fetchMeta_d4nqi_115",uK="_status_d4nqi_121",un={block:JO,answer:GO,sources:QO,source:eK,sourceLink:tK,snippet:rK,published:nK,truncated:iK,empty:sK,fetch:aK,fetchUrl:oK,fetchMeta:lK,status:uK};function cK(n){try{const{protocol:i}=new URL(n);return i==="http:"||i==="https:"?n:void 0}catch{return}}function fK(n,i){if(i!==void 0&&i!=="")return i;try{const{hostname:o}=new URL(n);return o===""?n:o}catch{return n}}function T9({url:n,label:i,className:o}){const l=cK(n);return l===void 0?h.jsxDEV("span",{className:o,children:i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:119,columnNumber:34},this):h.jsxDEV("a",{className:o,href:l,target:"_blank",rel:"noopener noreferrer",children:i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:121,columnNumber:5},this)}function dK({source:n,ordinal:i}){return h.jsxDEV("li",{className:un.source,value:i,children:[h.jsxDEV(T9,{url:n.url,label:fK(n.url,n.title),className:un.sourceLink},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:139,columnNumber:7},this),n.snippet!==void 0&&n.snippet!==""&&h.jsxDEV("div",{className:un.snippet,children:n.snippet},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:141,columnNumber:9},this),n.publishedAt!==void 0&&n.publishedAt!==""&&h.jsxDEV("div",{className:un.published,children:n.publishedAt},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:144,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:138,columnNumber:5},this)}function pK({answer:n,sources:i,truncated:o,className:l}){const c=(n===void 0||n==="")&&i.length===0;return h.jsxDEV("div",{className:it(un.block,l),"data-web":"search",children:[n!==void 0&&n!==""&&h.jsxDEV("div",{className:un.answer,children:h.jsxDEV(_9,{text:n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:164,columnNumber:37},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:164,columnNumber:9},this),c?h.jsxDEV("div",{className:un.empty,children:"未找到结果"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:167,columnNumber:9},this):h.jsxDEV("ol",{className:un.sources,children:i.map((d,f)=>h.jsxDEV(dK,{source:d,ordinal:f+1},f,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:170,columnNumber:43},this))},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:169,columnNumber:9},this),o&&h.jsxDEV("div",{className:un.truncated,children:"来源列表已截断"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:173,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:162,columnNumber:5},this)}function hK({url:n,statusCode:i,truncated:o,className:l}){return h.jsxDEV("div",{className:it(un.block,un.fetch,l),"data-web":"fetch",children:[h.jsxDEV(T9,{url:n,label:n,className:un.fetchUrl},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:186,columnNumber:7},this),h.jsxDEV("div",{className:un.fetchMeta,children:[h.jsxDEV("span",{className:un.status,children:["HTTP ",i]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:188,columnNumber:9},this),o&&h.jsxDEV("span",{className:un.truncated,children:"内容已截断"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:189,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:187,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:185,columnNumber:5},this)}function mK(n){return n.kind==="search"?h.jsxDEV(pK,{...n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:201,columnNumber:36},this):h.jsxDEV(hK,{...n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/WebBlock.tsx",lineNumber:201,columnNumber:68},this)}const vK="_root_1ye18_1",gK="_toggle_1ye18_5",yK="_body_1ye18_20",cm={root:vK,toggle:gK,body:yK},a8=2e4;function bK(n){return`… 已截断,共 ${n} 字符`}function CK({label:n,payload:i,defaultOpen:o=!1,truncatedLabel:l=bK}){const[c,d]=H.useState(o),f=H.useMemo(()=>{if(!c)return"";let v;try{v=JSON.stringify(i,null,2)??String(i)}catch{v=String(i)}return v.length>a8?`${v.slice(0,a8)}
|
|
283
|
+
${l(v.length)}`:v},[c,i,l]);return h.jsxDEV("div",{className:cm.root,children:[h.jsxDEV("button",{type:"button",className:cm.toggle,onClick:()=>{d(v=>!v)},children:[c?"▾":"▸"," ",n]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/JsonBlock.tsx",lineNumber:35,columnNumber:7},this),c&&h.jsxDEV("pre",{className:cm.body,children:f},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/JsonBlock.tsx",lineNumber:38,columnNumber:16},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/JsonBlock.tsx",lineNumber:34,columnNumber:5},this)}const xK="_text_1pfhk_1",RK={text:xK};function wK({text:n}){return h.jsxDEV("div",{className:RK.text,children:n},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-primitives/src/markdown/MessageText.tsx",lineNumber:6,columnNumber:10},this)}function Hu(n){var i;switch(n.type){case"text":case"inlineCode":case"code":return n.value??"";case"image":case"imageReference":return n.alt??"";case"break":return`
|
|
284
|
+
`;case"html":return n.value??"";default:return((i=n.children)==null?void 0:i.map(Hu).join(""))??""}}function c1(n){return n.replace(/\s+/g," ").trim()}function Xo(n){var i,o,l,c,d,f;switch(n.type){case"root":case"blockquote":return((i=n.children)==null?void 0:i.map(Xo).filter(Boolean).join(`
|
|
285
|
+
|
|
286
|
+
`))??"";case"paragraph":case"heading":return c1(Hu(n));case"code":return((o=n.value)==null?void 0:o.trim())??"";case"list":return((l=n.children)==null?void 0:l.map(Xo).filter(Boolean).join(`
|
|
287
|
+
`))??"";case"listItem":return((c=n.children)==null?void 0:c.map(Xo).filter(Boolean).join(" "))??"";case"table":return((d=n.children)==null?void 0:d.map(Xo).filter(Boolean).join(`
|
|
288
|
+
`))??"";case"tableRow":return((f=n.children)==null?void 0:f.map(Xo).join(" "))??"";case"tableCell":return c1(Hu(n));case"html":return n.value??"";case"thematicBreak":case"definition":return"";default:return c1(Hu(n))}}function L9(n){if(n.type==="paragraph"){const i=c1(Hu(n));if(i!=="")return i}for(const i of n.children??[]){const o=L9(i);if(o!==void 0)return o}}function NK(n){return Xo(n).split(`
|
|
289
|
+
`).map(i=>i.trim()).join(`
|
|
290
|
+
`).replace(/\n{3,}/g,`
|
|
291
|
+
|
|
292
|
+
`).trim()}function kK(n,i={}){const{mode:o="all"}=i,l=g9(n),c=NK(l);switch(o){case"all":return c;case"first-line":return c.split(`
|
|
293
|
+
`).find(d=>d!=="")??"";case"first-paragraph":return L9(l)??c.split(`
|
|
294
|
+
`).find(d=>d!=="")??""}}const EK=Object.freeze(Object.defineProperty({__proto__:null,BrandMark:V_,BrandWordmark:A_,Button:km,CodeBlock:y9,ConnectionBanner:U_,DEFAULT_DIFF_MAX_LINES:p9,DEFAULT_READ_MAX_LINES:d9,DEFAULT_SEARCH_MAX_LINES:h9,DEFAULT_TERMINAL_MAX_LINES:a9,DiffBlock:IL,DisclosureRow:yS,HoverCard:f_,IconAgentPresetOutline16:ED,IconApiOutline14:PD,IconArchiveOutline20:fS,IconBranchOutline16:pD,IconBrowseOutline16:DD,IconCheckOutline14:dD,IconCheckOutline16:Im,IconChecklistOutline14:iS,IconChevronDownOutline14:Nm,IconChevronLeftOutline14:I8,IconChevronRightOutline14:Z8,IconChevronUpOutline14:mD,IconCloseFill14:q8,IconCloseOutline16:Zm,IconCodeOutline16:FD,IconCopyOutline16:W8,IconCordisPluginOutline14:zD,IconDarkOutline16:QD,IconDataOutline16:tS,IconDislikeFill16:xD,IconDislikeOutline16:CD,IconDownloadOutline16:AD,IconEditOutline16:wD,IconEllipsisOutline16:cD,IconEnhanceOutline16:OD,IconFolderClose16:YD,IconFolderOpen16:WD,IconFolderOpenOutline16:qD,IconFollowsystemOutline16:eS,IconFullscreenOutline16:$D,IconGlobeOutline14:aD,IconGoalOutline16:aS,IconInspectOutline12:lS,IconLightOutline16:GD,IconLikeFill16:bD,IconLikeOutline16:yD,IconLinkOutline14:SD,IconLinkOutline16:_D,IconListPenOutline16:sS,IconLoadingOutline16:MD,IconNewChatOutline16:iD,IconPanelLeftOutline16:uD,IconPaperclipOutline16:VD,IconPauseOutline16:BD,IconPersonalizationOutline16:ID,IconPlayOutline16:HD,IconPlusOutline16:fD,IconProjectAddOutline16:ZD,IconQuestionOutline14:cS,IconQueueOutline14:nS,IconRefreshOutline14:gD,IconRefreshOutline16:vD,IconRightUpOutline14:TD,IconRightUpOutline16:LD,IconSearchOutline16:sD,IconSendOutline14:rS,IconSendOutline16:XD,IconSettingsOutline14:oD,IconSettingsOutline16:lD,IconShareOutline16:RD,IconSkillOutline16:uS,IconSparkle16:oS,IconStopFill16:UD,IconThinkOutline14:ND,IconThinkOutline16:kD,IconTrashOutline16:KD,IconTreeCorner8x10:JD,IconTriangleRightFill14:hD,IconUserOutline16:jD,IconWarningOutline16:Y8,Input:KS,JsonBlock:CK,JsonTree:ET,MarkdownText:_9,Menu:Q8,MessageText:wK,Modal:e9,OnboardingSurface:k_,Pill:J8,ReadBlock:OL,RiskConfirmation:K_,SearchBlock:uO,StateDot:P8,TerminalBlock:lL,Toast:q_,Tooltip:$_,WebBlock:mK,extractMarkdownPlainText:kK,useAnchoredMaxHeight:n_,useDismissOnOutsidePointer:i_,writeClipboard:Bo},Symbol.toStringTag,{value:"Module"})),DK="_root_1hk8w_5",SK="_rail_1hk8w_10",_K="_item_1hk8w_28",TK="_thumbnail_1hk8w_35",LK="_remove_1hk8w_53",OK="_arrow_1hk8w_90",KK="_arrowLeft_1hk8w_112",jK="_arrowRight_1hk8w_116",as={root:DK,rail:SK,item:_K,thumbnail:TK,remove:LK,arrow:OK,arrowLeft:KK,arrowRight:jK},XK=16;function UK(){var n;return(n=window.matchMedia)!=null&&n.call(window,"(prefers-reduced-motion: reduce)").matches?"auto":"smooth"}function VK({items:n,labels:i,onOpen:o,onRemove:l}){const c=H.useRef(null),d=H.useRef(null),[f,v]=H.useState({left:!1,right:!1}),x=H.useCallback(()=>{const N=c.current;if(N===null)return;const S=N.scrollLeft>1,E=N.scrollLeft<N.scrollWidth-N.clientWidth-1;v(k=>k.left===S&&k.right===E?k:{left:S,right:E})},[]);H.useLayoutEffect(()=>{const N=d.current!==null&&n.length>d.current;d.current=n.length;const S=c.current;S!==null&&(N&&(S.scrollLeft=S.scrollWidth-S.clientWidth),x())},[n.length,x]),H.useEffect(()=>{const N=c.current;if(N===null)return;let S=()=>{};if(typeof ResizeObserver<"u"){const k=new ResizeObserver(x);k.observe(N),S=()=>{k.disconnect()}}const E=k=>{if(k.deltaY===0)return;const T=k.deltaMode===WheelEvent.DOM_DELTA_LINE?XK:k.deltaMode===WheelEvent.DOM_DELTA_PAGE?N.clientWidth:1;k.preventDefault(),N.scrollBy({left:k.deltaX!==0?k.deltaX*T:Math.sign(k.deltaY)*Math.min(Math.abs(k.deltaY)*T,60),behavior:"auto"})};return N.addEventListener("wheel",E,{passive:!1}),()=>{S(),N.removeEventListener("wheel",E)}},[x]);const b=N=>{const S=c.current;S!==null&&S.scrollBy({left:N*Math.max(S.clientWidth-64,200),behavior:UK()})};return h.jsxDEV("div",{className:as.root,children:[f.left&&h.jsxDEV("button",{type:"button",className:it(as.arrow,as.arrowLeft),"aria-label":i.scrollLeft,onClick:()=>{b(-1)},children:h.jsxDEV(I8,{},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:157,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:151,columnNumber:9},this),h.jsxDEV("div",{ref:c,className:as.rail,role:"group","aria-label":i.group,onScroll:x,children:n.map(N=>h.jsxDEV("div",{className:as.item,children:[h.jsxDEV("button",{type:"button",className:as.thumbnail,title:i.open,onClick:()=>{o(N)},children:h.jsxDEV("img",{src:N.previewUrl,alt:N.alt},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:175,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:169,columnNumber:13},this),h.jsxDEV("button",{type:"button",className:as.remove,"aria-label":N.removeLabel,onClick:()=>{l(N)},children:h.jsxDEV(q8,{size:12},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:183,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:177,columnNumber:13},this)]},N.id,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:168,columnNumber:11},this))},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:160,columnNumber:7},this),f.right&&h.jsxDEV("button",{type:"button",className:it(as.arrow,as.arrowRight),"aria-label":i.scrollRight,onClick:()=>{b(1)},children:h.jsxDEV(Z8,{},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:195,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:189,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/AttachmentRail.tsx",lineNumber:149,columnNumber:5},this)}const MK="_mask_rcb0a_5",AK="_wrap_rcb0a_29",HK="_illustration_rcb0a_39",BK="_title_rcb0a_44",$K="_desc_rcb0a_49",Xu={mask:MK,wrap:AK,illustration:HK,title:BK,desc:$K};function FK({disabled:n,labels:i}){return us.createPortal(h.jsxDEV("div",{className:Xu.mask,role:"status",children:h.jsxDEV("div",{className:Xu.wrap,children:[h.jsxDEV("div",{className:Xu.illustration,"aria-hidden":"true",children:n?h.jsxDEV(PK,{},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:32,columnNumber:23},this):h.jsxDEV(zK,{},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:32,columnNumber:56},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:31,columnNumber:9},this),h.jsxDEV("div",{className:Xu.title,children:i.title},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:34,columnNumber:9},this),!n&&i.desc!==void 0&&h.jsxDEV("div",{className:Xu.desc,children:i.desc},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:35,columnNumber:52},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:30,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:29,columnNumber:5},this),document.body)}const zK=()=>h.jsxDEV("svg",{width:"115",height:"84",viewBox:"0 0 115 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("g",{clipPath:"url(#dshDropOverlayClip)",children:[h.jsxDEV("rect",{y:"17.0742",width:"44.1832",height:"43.6431",rx:"12",transform:"rotate(-22.7338 0 17.0742)",fill:"#9CE5ED"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:46,columnNumber:7},void 0),h.jsxDEV("rect",{x:"73.4043",y:"8.54297",width:"43.7267",height:"50.5284",rx:"8",transform:"rotate(17.403 73.4043 8.54297)",fill:"#679EFE"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:47,columnNumber:7},void 0),h.jsxDEV("path",{d:"M30.4917 28.1369L40.8865 33.4564L37.2232 34.9524L29.5302 31.0159L26.7919 39.2122L23.1285 40.7082L26.8287 29.6338L16.8967 24.5516L20.5601 23.0556L27.7902 26.7549L30.3639 19.052L34.0273 17.556L30.4917 28.1369Z",fill:"white"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:48,columnNumber:7},void 0),h.jsxDEV("path",{d:"M77.5088 26.3047L101.057 33.7966",stroke:"white",strokeWidth:"3"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:49,columnNumber:7},void 0),h.jsxDEV("path",{d:"M72.2646 42.7871L86.3938 47.2823",stroke:"white",strokeWidth:"3"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:50,columnNumber:7},void 0),h.jsxDEV("path",{d:"M74.8867 34.5469L98.4353 42.0388",stroke:"white",strokeWidth:"3"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:51,columnNumber:7},void 0),h.jsxDEV("rect",{x:"31.583",y:"38.6641",width:"44.9157",height:"44.3666",rx:"12",transform:"rotate(-0.134233 31.583 38.6641)",fill:"#3964FE"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:52,columnNumber:7},void 0),h.jsxDEV("path",{d:"M38.9521 73.0337C39.6129 71.7086 41.7113 66.0937 43.5113 61.1663C44.1607 59.3885 46.7484 59.3923 47.4591 61.1465C48.9728 64.8828 50.7969 68.6922 51.9988 69.1925C54.2946 70.1482 57.9854 59.3573 68.0064 70.1801",stroke:"white",strokeWidth:"3"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:53,columnNumber:7},void 0),h.jsxDEV("circle",{cx:"60.6157",cy:"52.247",r:"4.38794",transform:"rotate(22.5996 60.6157 52.247)",fill:"white"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:54,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:45,columnNumber:5},void 0),h.jsxDEV("defs",{children:h.jsxDEV("clipPath",{id:"dshDropOverlayClip",children:h.jsxDEV("rect",{width:"115",height:"84",fill:"white"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:58,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:57,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:56,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:44,columnNumber:3},void 0),PK=()=>h.jsxDEV("svg",{width:"115",height:"84",viewBox:"0 0 115 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsxDEV("path",{d:"M29.6829 4.63701L11.0677 12.4368C4.95519 14.998 2.07624 22.0294 4.6374 28.1419L12.2285 46.259C14.7896 52.3715 21.8211 55.2505 27.9336 52.6893L46.5488 44.8895C52.6613 42.3283 55.5403 35.2969 52.9791 29.1844L45.388 11.0673C42.8269 4.9548 35.7954 2.07585 29.6829 4.63701Z",fill:"#979DA6"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:67,columnNumber:5},void 0),h.jsxDEV("path",{d:"M30.4915 28.1375L40.8863 33.4569L37.223 34.9529L29.53 31.0165L26.7917 39.2128L23.1283 40.7088L26.8285 29.6344L16.8965 24.5522L20.5599 23.0562L27.79 26.7555L30.3637 19.0526L34.0271 17.5566L30.4915 28.1375Z",fill:"white"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:68,columnNumber:5},void 0),h.jsxDEV("path",{d:"M107.496 19.2285L81.0381 10.9357C76.8221 9.61423 72.333 11.9607 71.0116 16.1768L60.6844 49.1246C59.363 53.3406 61.7095 57.8297 65.9255 59.1511L92.383 67.4439C96.599 68.7654 101.088 66.4189 102.41 62.2029L112.737 29.255C114.058 25.039 111.712 20.55 107.496 19.2285Z",fill:"#979DA6"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:69,columnNumber:5},void 0),h.jsxDEV("path",{d:"M77.5088 26.3047L101.057 33.7967",stroke:"white",strokeWidth:"3"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:70,columnNumber:5},void 0),h.jsxDEV("path",{d:"M72.2646 42.7871L86.3938 47.2823",stroke:"white",strokeWidth:"3"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:71,columnNumber:5},void 0),h.jsxDEV("path",{d:"M74.8867 34.5469L98.4353 42.0388",stroke:"white",strokeWidth:"3"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:72,columnNumber:5},void 0),h.jsxDEV("path",{d:"M66.5798 30.1418L41.481 30.2006C33.5281 30.2193 27.0962 36.6815 27.1148 44.6343L27.172 69.0742C27.1907 77.0271 33.6529 83.459 41.6057 83.4404L66.7045 83.3816C74.6574 83.363 81.0894 76.9008 81.0707 68.9479L81.0135 44.5081C80.9949 36.5552 74.5327 30.1232 66.5798 30.1418Z",fill:"#F59E0B"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:73,columnNumber:5},void 0),h.jsxDEV("path",{d:"M54 70.7969C61.732 70.7969 68 64.5289 68 56.7969C68 49.0649 61.732 42.7969 54 42.7969C46.268 42.7969 40 49.0649 40 56.7969C40 64.5289 46.268 70.7969 54 70.7969Z",stroke:"white",strokeWidth:"3.5"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:74,columnNumber:5},void 0),h.jsxDEV("path",{d:"M44 46.7969L64 66.7969",stroke:"white",strokeWidth:"3.5",strokeLinecap:"round"},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:75,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/DropOverlay.tsx",lineNumber:66,columnNumber:3},void 0),IK="_backdrop_18d3q_1",ZK="_mask_18d3q_13",qK="_image_18d3q_20",WK="_close_18d3q_30",l1={backdrop:IK,mask:ZK,image:qK,close:WK};function O9({src:n,alt:i,labels:o,onClose:l}){const c=H.useRef(null),d=H.useRef(null);return H.useEffect(()=>{var v;d.current=document.activeElement instanceof HTMLElement?document.activeElement:null,(v=c.current)==null||v.focus();const f=x=>{x.key==="Escape"&&l()};return window.addEventListener("keydown",f),()=>{var x;window.removeEventListener("keydown",f),(x=d.current)==null||x.focus()}},[l]),us.createPortal(h.jsxDEV("div",{className:l1.backdrop,role:"dialog","aria-modal":"true","aria-label":o.dialog,children:[h.jsxDEV("div",{className:l1.mask,"aria-hidden":"true",onMouseDown:l},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/ImageLightbox.tsx",lineNumber:56,columnNumber:7},this),h.jsxDEV("img",{className:l1.image,src:n,alt:i},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/ImageLightbox.tsx",lineNumber:57,columnNumber:7},this),h.jsxDEV("button",{ref:c,type:"button",className:l1.close,"aria-label":o.close,onClick:l,children:h.jsxDEV(Zm,{size:16},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/ImageLightbox.tsx",lineNumber:59,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/ImageLightbox.tsx",lineNumber:58,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/ImageLightbox.tsx",lineNumber:50,columnNumber:5},this),document.body)}const YK="_gallery_nrncx_1",JK="_frame_nrncx_18",GK="_loading_nrncx_46",QK="_error_nrncx_47",f1={gallery:YK,frame:JK,loading:GK,error:QK};function ej(n){const i=n.width/n.height,o=Math.min(4,Math.max(.25,i)),l=o>=1?{width:240,height:240/o}:{width:240*o,height:240},c=Math.min(1,n.width/l.width,n.height/l.height);return{width:Math.max(1,Math.round(l.width*c)),height:Math.max(1,Math.round(l.height*c)),objectPosition:i<.25?"center top":i>4?"left center":"center"}}function K9({attachment:n,load:i,variant:o,labels:l}){const[c,d]=H.useState(null),[f,v]=H.useState(!1),[x,b]=H.useState(!1),[N,S]=H.useState(0),E=H.useCallback(()=>{S(J=>J+1)},[]),k=H.useCallback(()=>{b(!1)},[]),T=H.useMemo(()=>o==="single"?ej(n):void 0,[n,o]);H.useEffect(()=>{let J=!0;return v(!1),d(null),i(n).then(te=>{J&&d(te)}).catch(()=>{J&&v(!0)}),()=>{J=!1}},[n,i,N]);const V=n.name??l.image;return f?h.jsxDEV("button",{type:"button",className:f1.error,"data-variant":o,onClick:E,children:l.loadFailed},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/MessageImage.tsx",lineNumber:82,columnNumber:21},this):h.jsxDEV(h.Fragment,{children:[h.jsxDEV("button",{type:"button",className:f1.frame,"data-variant":o,style:T===void 0?void 0:{width:T.width,height:T.height},title:l.open,"aria-label":l.openNamed(V),onClick:()=>{c!==null&&b(!0)},children:c===null?h.jsxDEV("span",{className:f1.loading,children:l.loading},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/MessageImage.tsx",lineNumber:95,columnNumber:13},this):h.jsxDEV("img",{src:c,alt:V,style:T===void 0?void 0:{objectPosition:T.objectPosition}},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/MessageImage.tsx",lineNumber:96,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/MessageImage.tsx",lineNumber:85,columnNumber:7},this),x&&c!==null&&h.jsxDEV(O9,{src:c,alt:V,labels:l.lightbox,onClose:k},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/MessageImage.tsx",lineNumber:98,columnNumber:32},this)]},void 0,!0,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/MessageImage.tsx",lineNumber:84,columnNumber:5},this)}function tj({images:n,load:i,align:o,labels:l}){if(n.length===0)return null;const c=n.length===1?"single":"tile";return h.jsxDEV("div",{className:f1.gallery,"data-align":o,children:n.map((d,f)=>h.jsxDEV(K9,{...d,load:i,variant:c,labels:l},`${d.attachment.attachmentId}:${f}`,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/MessageImage.tsx",lineNumber:116,columnNumber:9},this))},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/ui-attachment/src/MessageImage.tsx",lineNumber:114,columnNumber:5},this)}const rj=Object.freeze(Object.defineProperty({__proto__:null,AttachmentRail:VK,DropOverlay:FK,ImageGallery:tj,ImageLightbox:O9,MessageImage:K9},Symbol.toStringTag,{value:"Module"})),D1=Symbol.for("schemastery"),j9=Symbol.for("ValidationError");globalThis.__schemastery_index__??(globalThis.__schemastery_index__=0);globalThis.__schemastery_refs__=void 0;var pt=class extends TypeError{constructor(i,o){let l="$";for(const c of o.path||[])typeof c=="string"?l+="."+c:typeof c=="number"?l+="["+c+"]":typeof c=="symbol"&&(l+=`[Symbol(${c.toString()})]`);l.startsWith(".")&&(l=l.slice(1));super((l==="$"?"":`${l} `)+i);P(this,"options");P(this,"name","ValidationError");this.options=o}static is(i){return!!(i!=null&&i[j9])}};Object.defineProperty(pt.prototype,j9,{value:!0});const le=function(n){const i=function(o,l={}){return le.resolve(o,i,l)[0]};if(n.refs){const o=os(n.refs,c=>new le(c)),l=c=>o[c];for(const c in o){const d=o[c];d.sKey=l(d.sKey),d.inner=l(d.inner),d.list=d.list&&d.list.map(l),d.dict=d.dict&&os(d.dict,l)}return o[n.uid]}if(Object.assign(i,n),typeof i.callback=="string")try{i.callback=new Function("return "+i.callback)()}catch{}return Object.defineProperty(i,"uid",{value:globalThis.__schemastery_index__++}),Object.setPrototypeOf(i,le.prototype),i.meta||(i.meta={}),i.toString=i.toString.bind(i),i};le.prototype=Object.create(Function.prototype);le.prototype[D1]=!0;Object.defineProperty(le.prototype,"~standard",{get(){return{version:1,vendor:"schemastery",validate:n=>{try{return{value:le.resolve(n,this,{})[0]}}catch(i){if(pt.is(i))return{issues:[{message:i.message,path:i.options.path}]};throw i}}}}});le.ValidationError=pt;le.prototype.toJSON=function(){var o,l;if(globalThis.__schemastery_refs__)return(o=globalThis.__schemastery_refs__)[l=this.uid]??(o[l]=JSON.parse(JSON.stringify({...this}))),this.uid;globalThis.__schemastery_refs__={[this.uid]:{...this}},globalThis.__schemastery_refs__[this.uid]=JSON.parse(JSON.stringify({...this}));const i={uid:this.uid,refs:globalThis.__schemastery_refs__};return globalThis.__schemastery_refs__=void 0,i};le.prototype.set=function(i,o){return this.dict[i]=o,this};le.prototype.push=function(i){return this.list.push(i),this};function nj(n,i){const o=typeof n=="string"?{"":n}:{...n};for(const l in i){const c=i[l];c!=null&&c.$description||c!=null&&c.$desc?o[l]=c.$description||c.$desc:typeof c=="string"&&(o[l]=c)}return o}function Uu(n){return(n==null?void 0:n.$value)??(n==null?void 0:n.$inner)}function o8(n){return vk(n??{},i=>!i.startsWith("$"))}le.prototype.i18n=function(i){const o=le(this),l=nj(o.meta.description,i);return Object.keys(l).length&&(o.meta.description=l),o.dict&&(o.dict=os(o.dict,(c,d)=>c.i18n(os(i,f=>{var v;return((v=Uu(f))==null?void 0:v[d])??(f==null?void 0:f[d])})))),o.list&&(o.list=o.list.map((c,d)=>c.i18n(os(i,(f={})=>Array.isArray(Uu(f))?Uu(f)[d]:Array.isArray(f)?f[d]:o8(f))))),o.inner&&(o.inner=o.inner.i18n(os(i,c=>Uu(c)?Uu(c):o8(c)))),o.sKey&&(o.sKey=o.sKey.i18n(os(i,c=>c==null?void 0:c.$key))),o};le.prototype.extra=function(i,o){const l=le(this);return l.meta={...l.meta,[i]:o},l};for(const n of["required","disabled","collapse","hidden","loose"])Object.assign(le.prototype,{[n](i=!0){const o=le(this);return o.meta={...o.meta,[n]:i},o}});le.prototype.deprecated=function(){var o;const i=le(this);return(o=i.meta).badges||(o.badges=[]),i.meta.badges.push({text:"deprecated",type:"danger"}),i};le.prototype.experimental=function(){var o;const i=le(this);return(o=i.meta).badges||(o.badges=[]),i.meta.badges.push({text:"experimental",type:"warning"}),i};le.prototype.pattern=function(i){const o=le(this),l=gk(i,["source","flags"]);return o.meta={...o.meta,pattern:l},o};le.prototype.simplify=function(i){var o;if(Mo(i,this.meta.default,this.type==="dict"))return null;if(ir(i))return i;if(this.type==="object"||this.type==="dict"){const l={};for(const c in i){const d=(o=this.type==="object"?this.dict[c]:this.inner)==null?void 0:o.simplify(i[c]);(this.type==="dict"||!ir(d))&&(l[c]=d)}return Mo(l,this.meta.default,this.type==="dict")?null:l}else if(this.type==="array"||this.type==="tuple"){const l=[];return i.forEach((c,d)=>{const f=this.type==="array"?this.inner:this.list[d],v=f?f.simplify(c):c;l.push(v)}),l}else if(this.type==="intersect"){const l={};for(const c of this.list)Object.assign(l,c.simplify(i));return l}else if(this.type==="union")for(const l of this.list)try{return le.resolve(i,l,{}),l.simplify(i)}catch{}return i};le.prototype.toString=function(i){var o;return((o=d1[this.type])==null?void 0:o.call(d1,this,i))??`Schema<${this.type}>`};le.prototype.role=function(n,i){const o=le(this);return o.meta={...o.meta,role:n,extra:i},o};for(const n of["default","link","comment","description","max","min","step"])Object.assign(le.prototype,{[n](i){const o=le(this);return o.meta={...o.meta,[n]:i},o}});const X9={};le.extend=function(i,o){X9[i]=o};le.resolve=function(i,o,l={},c=!1){var f;if(!o)return[i];if((f=l.ignore)!=null&&f.call(l,i,o))return[i];if(ir(i)&&o.type!=="lazy"){if(o.meta.required)throw new pt("missing required value",l);let v=o,x=o.meta.default;for(;(v==null?void 0:v.type)==="intersect"&&ir(x);)v=v.list[0],x=v==null?void 0:v.meta.default;if(ir(x))return[i];i=vm(x)}const d=X9[o.type];if(!d)throw new pt(`unsupported type "${o.type}"`,l);try{return d(i,o,l,c)}catch(v){if(!o.meta.loose)throw v;return[o.meta.default]}};le.from=function(i){if(ir(i))return le.any();if(["string","number","boolean"].includes(typeof i))return le.const(i).required();if(i[D1])return i;if(typeof i=="function")switch(i){case String:return le.string().required();case Number:return le.number().required();case Boolean:return le.boolean().required();case Function:return le.function().required();default:return le.is(i).required()}else throw new TypeError(`cannot infer schema from ${i}`)};le.lazy=function(i){const o=()=>(l.inner[D1]||(l.inner=l.builder(),l.inner.meta={...l.meta,...l.inner.meta}),l.inner.toJSON()),l=new le({type:"lazy",builder:i,inner:{toJSON:o}});return l};le.natural=function(){return le.number().step(1).min(0)};le.percent=function(){return le.number().step(.01).min(0).max(1).role("slider")};le.date=function(){return le.union([le.is(Date),le.transform(le.string().role("datetime"),(i,o)=>{const l=new Date(i);if(isNaN(+l))throw new pt(`invalid date "${i}"`,o);return l},!0)])};le.regExp=function(i=""){return le.union([le.is(RegExp),le.transform(le.string().role("regexp",{flag:i}),(o,l)=>{try{return new RegExp(o,i)}catch(c){throw new pt(c.message,l)}},!0)])};le.arrayBuffer=function(i){return le.union([le.is(ArrayBuffer),le.is(SharedArrayBuffer),le.transform(le.any(),(o,l)=>{if(Di.isSource(o))return Di.fromSource(o);throw new pt(`expected ArrayBufferSource but got ${o}`,l)},!0),...i?[le.transform(le.string(),(o,l)=>{try{return i==="base64"?Di.fromBase64(o):Di.fromHex(o)}catch(c){throw new pt(c.message,l)}},!0)]:[]])};le.extend("lazy",(n,i,o,l)=>(i.inner[D1]||(i.inner=i.builder(),i.inner.meta={...i.meta,...i.inner.meta}),le.resolve(n,i.inner,o,l)));le.extend("any",n=>[n]);le.extend("never",(n,i,o)=>{throw new pt(`expected nullable but got ${n}`,o)});le.extend("const",(n,{value:i},o)=>{if(Mo(n,i))return[i];throw new pt(`expected ${i} but got ${n}`,o)});function Jm(n,i,o,l,c=!1){const{max:d=1/0,min:f=-1/0}=i;if(n>d)throw new pt(`expected ${o} <= ${d} but got ${n}`,l);if(n<f&&!c)throw new pt(`expected ${o} >= ${f} but got ${n}`,l)}le.extend("string",(n,{meta:i},o)=>{if(typeof n!="string")throw new pt(`expected string but got ${n}`,o);if(i.pattern){const l=new RegExp(i.pattern.source,i.pattern.flags);if(!l.test(n))throw new pt(`expect string to match regexp ${l}`,o)}return Jm(n.length,i,"string length",o),[n]});function fm(n,i){const o=n.toString();if(o.includes("e"))return n*Math.pow(10,i);const l=o.indexOf(".");if(l===-1)return n*Math.pow(10,i);const c=o.slice(l+1),d=o.slice(0,l);return c.length<=i?+(d+c.padEnd(i,"0")):+(d+c.slice(0,i)+"."+c.slice(i))}function ij(n,i,o){if(o=Math.abs(o),!/^\d+\.\d+$/.test(o.toString()))return(n-i)%o===0;const l=o.toString().indexOf("."),c=o.toString().slice(l+1).length;return Math.abs(fm(n,c)-fm(i,c))%fm(o,c)===0}le.extend("number",(n,{meta:i},o)=>{if(typeof n!="number")throw new pt(`expected number but got ${n}`,o);Jm(n,i,"number",o);const{step:l}=i;if(l&&!ij(n,i.min??0,l))throw new pt(`expected number multiple of ${l} but got ${n}`,o);return[n]});le.extend("boolean",(n,i,o)=>{if(typeof n=="boolean")return[n];throw new pt(`expected boolean but got ${n}`,o)});le.extend("bitset",(n,{bits:i,meta:o},l)=>{let c=0,d=[];if(typeof n=="number"){c=n;for(const f in i)n&i[f]&&d.push(f)}else if(Array.isArray(n)){d=n;for(const f of d){if(typeof f!="string")throw new pt(`expected string but got ${f}`,l);f in i&&(c|=i[f])}}else throw new pt(`expected number or array but got ${n}`,l);return c===o.default?[c]:[c,d]});le.extend("function",(n,i,o)=>{if(typeof n=="function")return[n];throw new pt(`expected function but got ${n}`,o)});le.extend("is",(n,{constructor:i},o)=>{var l;if(typeof i=="function"){if(n instanceof i)return[n];throw new pt(`expected ${i.name} but got ${n}`,o)}else{if(ir(n))throw new pt(`expected ${i} but got ${n}`,o);let c=Object.getPrototypeOf(n);for(;c;){if(((l=c.constructor)==null?void 0:l.name)===i)return[n];c=Object.getPrototypeOf(c)}throw new pt(`expected ${i} but got ${n}`,o)}});function S1(n,i,o,l){try{const[c,d]=le.resolve(n[i],o,{...l,path:[...l.path||[],i]});return d!==void 0&&(n[i]=d),c}catch(c){if(!(l!=null&&l.autofix))throw c;return delete n[i],o.meta.default}}le.extend("array",(n,{inner:i,meta:o},l)=>{if(!Array.isArray(n))throw new pt(`expected array but got ${n}`,l);return Jm(n.length,o,"array length",l,!ir(i.meta.default)),[n.map((c,d)=>S1(n,d,i,l))]});le.extend("dict",(n,{inner:i,sKey:o},l,c)=>{if(!jm(n))throw new pt(`expected object but got ${n}`,l);const d={};for(const f in n){let v;try{v=le.resolve(f,o,l)[0]}catch(x){if(c)continue;throw x}d[v]=S1(n,f,i,l),n[v]=n[f],f!==v&&delete n[f]}return[d]});le.extend("tuple",(n,{list:i},o,l)=>{if(!Array.isArray(n))throw new pt(`expected array but got ${n}`,o);const c=i.map((d,f)=>S1(n,f,d,o));return l?[c]:(c.push(...n.slice(i.length)),[c])});function Om(n,i){for(const o in i)o in n||(n[o]=i[o])}le.extend("object",(n,{dict:i},o,l)=>{if(!jm(n))throw new pt(`expected object but got ${n}`,o);const c={};for(const d in i){const f=S1(n,d,i[d],o);(!ir(f)||d in n)&&(c[d]=f)}return l||Om(c,n),[c]});le.extend("union",(n,{list:i,toString:o},l,c)=>{for(const d of i)try{return le.resolve(n,d,l,c)}catch{}throw new pt(`expected ${o()} but got ${JSON.stringify(n)}`,l)});le.extend("intersect",(n,{list:i,toString:o},l,c)=>{if(!i.length)return[n];let d;for(const f of i){const v=le.resolve(n,f,l,!0)[0];if(!ir(v))if(ir(d))d=v;else{if(typeof d!=typeof v)throw new pt(`expected ${o()} but got ${JSON.stringify(n)}`,l);if(typeof v=="object")Om(d??(d={}),v);else if(d!==v)throw new pt(`expected ${o()} but got ${JSON.stringify(n)}`,l)}}return!c&&jm(n)&&Om(d,n),[d]});le.extend("transform",(n,{inner:i,callback:o,preserve:l},c)=>{const[d,f=n]=le.resolve(n,i,c,!0);return l?[o(d)]:[o(d),o(f)]});const d1={};function Pr(n,i,o){d1[n]=o,Object.assign(le,{[n](...l){const c=new le({type:n});return i.forEach((d,f)=>{switch(d){case"sKey":c.sKey=l[f]??le.string();break;case"inner":c.inner=le.from(l[f]);break;case"list":c.list=l[f].map(le.from);break;case"dict":c.dict=os(l[f],le.from);break;case"bits":c.bits={};for(const v in l[f])typeof l[f][v]=="number"&&(c.bits[v]=l[f][v]);break;case"callback":{const v=c.callback=l[f];v.toJSON||(v.toJSON=()=>v.toString());break}case"constructor":{const v=c.constructor=l[f];typeof v=="function"&&(v.toJSON||(v.toJSON=()=>v.name));break}default:c[d]=l[f]}}),n==="object"||n==="dict"?c.meta.default={}:n==="array"||n==="tuple"?c.meta.default=[]:n==="bitset"&&(c.meta.default=0),c}})}Pr("is",["constructor"],({constructor:n})=>typeof n=="function"?n.name:n);Pr("any",[],()=>"any");Pr("never",[],()=>"never");Pr("const",["value"],({value:n})=>typeof n=="string"?JSON.stringify(n):n);Pr("string",[],()=>"string");Pr("number",[],()=>"number");Pr("boolean",[],()=>"boolean");Pr("bitset",["bits"],()=>"bitset");Pr("function",[],()=>"function");Pr("array",["inner"],({inner:n})=>`${n.toString(!0)}[]`);Pr("dict",["inner","sKey"],({inner:n,sKey:i})=>`{ [key: ${i.toString()}]: ${n.toString()} }`);Pr("tuple",["list"],({list:n})=>`[${n.map(i=>i.toString()).join(", ")}]`);Pr("object",["dict"],({dict:n})=>Object.keys(n).length===0?"{}":`{ ${Object.entries(n).map(([i,o])=>`${i}${o.meta.required?"":"?"}: ${o.toString()}`).join(", ")} }`);Pr("union",["list"],({list:n},i)=>{const o=n.map(({toString:l})=>l()).join(" | ");return i?`(${o})`:o});Pr("intersect",["list"],({list:n})=>`${n.map(i=>i.toString(!0)).join(" & ")}`);Pr("transform",["inner","callback","preserve"],({inner:n},i)=>n.toString(i));function sj(n){return new le(n)}function aj(n,i){try{n(i);return}catch(o){return o instanceof Error?o.message:String(o)}}function oj(n,i){var l;let o=n;for(const c of i){if(o===void 0)return;if(o.type==="object")o=(l=o.dict)==null?void 0:l[c];else if(o.type==="dict"||o.type==="array")o=o.inner;else return}return o}function U9(n,i){let o=n;for(const l of i){if(Array.isArray(o)){o=o[Number(l)];continue}if(typeof o!="object"||o===null)return;o=o[l]}return o}function V9(n,i){if(i.length===0)return n!==void 0;const o=U9(n,i.slice(0,-1)),l=i[i.length-1];return Array.isArray(o)?Number(l)<o.length:typeof o!="object"||o===null?!1:l in o}function lj(n,i){return Array.isArray(n)?[...n]:typeof n=="object"&&n!==null?{...n}:/^\d+$/.test(i)?[]:{}}function M9(n,i){const o={...n};let l=o;for(let c=0;c<i.length-1;c++){const d=i[c],f=lj(Array.isArray(l)?l[Number(d)]:l[d],i[c+1]);Array.isArray(l)?l[Number(d)]=f:l[d]=f,l=f}return{result:o,parent:l,leaf:i[i.length-1]}}function uj(n,i,o){if(i.length===0)throw new Error("schema-form: setPath needs a non-empty path");const{result:l,parent:c,leaf:d}=M9(n,i);return Array.isArray(c)?c[Number(d)]=o:c[d]=o,l}function cj(n,i){if(i.length===0)throw new Error("schema-form: deletePath needs a non-empty path");if(!V9(n,i))return n;const{result:o,parent:l,leaf:c}=M9(n,i);return Array.isArray(l)?l.splice(Number(c),1):Reflect.deleteProperty(l,c),o}const fj=Object.freeze(Object.defineProperty({__proto__:null,deletePath:cj,getPath:U9,hasPath:V9,nodeAtPath:oj,rehydrateSchema:sj,setPath:uj,validateDraft:aj},Symbol.toStringTag,{value:"Module"}));function dj(){return{react:iE,"react/jsx-runtime":GE,"react-dom":eD,"react-dom/client":Fk,"@xrkseek/cordis":_k,"@xrkseek/client-ui-slots":rE,"@xrkseek/client-web-react":KE,"@xrkseek/client-ui-primitives":EK,"@xrkseek/client-ui-attachment":rj,"@xrkseek/client-schema-form":fj}}const jo={PENDING:0,LOADING:1,ACTIVE:2,FAILED:3,DISPOSED:4,UNLOADING:5},l8={[jo.PENDING]:"pending",[jo.LOADING]:"loading",[jo.ACTIVE]:"active",[jo.FAILED]:"failed",[jo.DISPOSED]:"disposed",[jo.UNLOADING]:"unloading"};function u8(n){let i=n;const o=new Set;return{getSnapshot:()=>i,subscribe:l=>(o.add(l),()=>{o.delete(l)}),set:l=>{i=l;for(const c of[...o])c()}}}function pj(){let n={};const i=new Set;return{getSnapshot:()=>n,subscribe:o=>(i.add(o),()=>{i.delete(o)}),set:(o,l)=>{n={...n,[o]:l};for(const c of[...i])c()}}}const dm="@xrkseek/client-modules";class hj{constructor(i,o){P(this,"el");P(this,"seams");P(this,"status",pj());P(this,"settled",u8(!1));P(this,"error",u8(void 0));P(this,"ctx");P(this,"modules");P(this,"manifest");P(this,"root");this.el=i,this.seams=o}async run(){this.manifest=O8(globalThis.__XRK_BOOT__),this.modules=new L8({modules:this.manifest.modules,staticModules:dj(),...this.seams}),this.modules.registerStatic(wm,AE),this.modules.registerStatic(dm,qk),globalThis.__XRK_MODULES__=this.modules,this.root=Mm.createRoot(this.el),this.root.render(h.jsxDEV(qE,{settled:this.settled,status:this.status,error:this.error,renderApp:()=>{const o=this.ctx.get("appShell");if(o===void 0)throw new Error("web boot: appShell service missing after settled");return o.renderApp()}},void 0,!1,{fileName:"C:/Users/sunflowerss/Desktop/XRKgrocery/XRK-harness/packages/client/web/src/boot.tsx",lineNumber:116,columnNumber:7},this));const i=this.prefetchImmediateTier();this.ctx=new nr;try{await this.runPluginBoot(i),this.settled.set(!0)}catch(o){console.error(o),this.error.set(o instanceof Error?o.message:String(o))}}dispose(){var i;(i=this.root)==null||i.unmount()}async prefetchImmediateTier(){await Promise.all(this.manifest.plugins.filter(i=>i.immediately).map(i=>this.modules.prefetch(i.id).catch(()=>{})))}async runPluginBoot(i){const o=this.ctx;await o.plugin(Vk);const l=o.loader;l.internal=this.modules,o.on("internal/status",d=>{const f=d.entry;f===void 0||f.fiber===void 0||this.status.set(f.options.name,l8[f.fiber.state])}),await i;const c=[dm,...this.manifest.plugins.map(d=>d.id).filter(d=>d!==dm),wm];await Promise.all(c.map(async d=>{this.status.set(d,"loading");const f=await l.create({name:d});l.resolve(f).fiber===void 0&&this.status.set(d,"failed")})),await l.await(),this.assertEntriesActive()}assertEntriesActive(){const i=this.ctx,o=[];for(const l of i.loader.entries()){const c=l.options.name;if(l.fiber===void 0){o.push(`${c}: import failed (see console for the import error)`);continue}const d=l8[l.fiber.state];if(d!=="active")if(d==="pending"){const f=Object.keys(l.fiber.inject).filter(v=>i.get(v)===void 0);o.push(`${c}: pending (waiting for service${f.length===1?"":"s"}: ${f.join(", ")||"unknown"})`)}else o.push(`${c}: ${d}`)}if(o.length>0)throw new Error(`web boot: ${String(o.length)} entr${o.length===1?"y":"ies"} did not activate
|
|
295
|
+
${o.join(`
|
|
296
|
+
`)}`)}}const A9=document.getElementById("root");if(A9===null)throw new Error("web app: missing #root");new hj(A9).run();
|
|
297
|
+
//# sourceMappingURL=index-CcF0Sxxg.js.map
|