@scattered-light/loomiere-base-ui 0.6.1 → 0.7.0
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/README.md +135 -5
- package/dist/chunk-JUUPOOQQ.js +3723 -0
- package/dist/chunk-JUUPOOQQ.js.map +1 -0
- package/dist/chunk-M7KJASGK.js +802 -0
- package/dist/chunk-M7KJASGK.js.map +1 -0
- package/dist/chunk-Y2CPBMFJ.js +147 -0
- package/dist/chunk-Y2CPBMFJ.js.map +1 -0
- package/dist/custom/collection/index.d.ts +534 -0
- package/dist/custom/collection/index.js +1471 -0
- package/dist/custom/collection/index.js.map +1 -0
- package/dist/custom/index.d.ts +5 -0
- package/dist/custom/index.js +4 -0
- package/dist/custom/index.js.map +1 -0
- package/dist/design-system/components/Badge/README.md +35 -0
- package/dist/design-system/components/Badge/preview.html +19 -0
- package/dist/design-system/components/Collection/README.md +14 -0
- package/dist/design-system/components/CollectionPagination/README.md +15 -0
- package/dist/design-system/components/CollectionToolbar/README.md +24 -0
- package/dist/design-system/components/DataList/README.md +39 -0
- package/dist/design-system/components/DataList/preview.html +475 -0
- package/dist/design-system/components/DataTable/README.md +41 -0
- package/dist/design-system/components/DataTable/preview.html +475 -0
- package/dist/design-system/components/DatePicker/README.md +55 -0
- package/dist/design-system/components/DatePicker/preview.html +475 -0
- package/dist/design-system/components/EditableList/README.md +33 -0
- package/dist/design-system/components/EditableList/preview.html +475 -0
- package/dist/design-system/components/EmptyState/README.md +60 -0
- package/dist/design-system/components/EmptyState/preview.html +475 -0
- package/dist/design-system/components/ListDetail/README.md +43 -0
- package/dist/design-system/components/ListDetail/preview.html +475 -0
- package/dist/design-system/components/MoneyField/README.md +52 -0
- package/dist/design-system/components/MoneyField/preview.html +475 -0
- package/dist/design-system/components/Splitter/README.md +42 -0
- package/dist/design-system/components/Splitter/preview.html +475 -0
- package/dist/design-system/components/Table/README.md +2 -1
- package/dist/design-system/components/Table/preview.html +1 -1
- package/dist/design-system/components/bundle.js +7 -5
- package/dist/design-system/components/index.d.ts +3 -21
- package/dist/design-system/components/styles.css +2266 -186
- package/dist/index-ChJXlxzq.d.ts +809 -0
- package/dist/index.d.ts +3 -21
- package/dist/index.js +176 -891
- package/dist/index.js.map +1 -1
- package/dist/styles/components/Accordion.css +1 -1
- package/dist/styles/components/AlertDialog.css +1 -1
- package/dist/styles/components/Autocomplete.css +1 -1
- package/dist/styles/components/Avatar.css +1 -1
- package/dist/styles/components/Button.css +1 -1
- package/dist/styles/components/Checkbox.css +1 -1
- package/dist/styles/components/CheckboxGroup.css +1 -1
- package/dist/styles/components/Collapsible.css +1 -1
- package/dist/styles/components/Combobox.css +1 -1
- package/dist/styles/components/ContextMenu.css +1 -1
- package/dist/styles/components/Dialog.css +1 -1
- package/dist/styles/components/Drawer.css +1 -1
- package/dist/styles/components/Field.css +1 -1
- package/dist/styles/components/Fieldset.css +1 -1
- package/dist/styles/components/Form.css +1 -1
- package/dist/styles/components/Input.css +1 -1
- package/dist/styles/components/Menu.css +1 -1
- package/dist/styles/components/Menubar.css +1 -1
- package/dist/styles/components/Meter.css +1 -1
- package/dist/styles/components/NavigationMenu.css +1 -1
- package/dist/styles/components/NumberField.css +1 -1
- package/dist/styles/components/OTPField.css +1 -1
- package/dist/styles/components/Popover.css +1 -1
- package/dist/styles/components/PreviewCard.css +1 -1
- package/dist/styles/components/Progress.css +1 -1
- package/dist/styles/components/Radio.css +1 -1
- package/dist/styles/components/ScrollArea.css +1 -1
- package/dist/styles/components/Select.css +1 -1
- package/dist/styles/components/Separator.css +1 -1
- package/dist/styles/components/Slider.css +1 -1
- package/dist/styles/components/Switch.css +1 -1
- package/dist/styles/components/Tabs.css +1 -1
- package/dist/styles/components/Toast.css +1 -1
- package/dist/styles/components/Toggle.css +1 -1
- package/dist/styles/components/ToggleGroup.css +1 -1
- package/dist/styles/components/Toolbar.css +1 -1
- package/dist/styles/components/Tooltip.css +1 -1
- package/dist/styles/custom/Badge.css +104 -0
- package/dist/styles/custom/Collection.css +15 -0
- package/dist/styles/custom/CollectionPagination.css +24 -0
- package/dist/styles/custom/CollectionToolbar.css +57 -0
- package/dist/styles/custom/DataList.css +123 -0
- package/dist/styles/custom/DataTable.css +120 -0
- package/dist/styles/custom/DatePicker.css +572 -0
- package/dist/styles/custom/EditableList.css +98 -0
- package/dist/styles/custom/EmptyState.css +255 -0
- package/dist/styles/custom/ListDetail.css +126 -0
- package/dist/styles/custom/MoneyField.css +344 -0
- package/dist/styles/custom/Splitter.css +207 -0
- package/dist/styles/{components → custom}/Table.css +31 -4
- package/dist/styles/index.css +12 -2
- package/dist/styles/reset/accessibility.css +1 -1
- package/dist/styles/reset/reset-accessibility.css +1 -1
- package/dist/styles/reset/reset-tailwind.css +1 -1
- package/dist/styles/reset/reset.css +1 -1
- package/dist/styles/tailwind.css +12 -2
- package/package.json +35 -7
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
<!-- @dsCard group="Layout" height=480 subtitle="Default / Vertical / Workstation / Nested" -->
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<style>
|
|
7
|
+
body { margin: 0; padding: var(--sl-space-4, 16px); background: var(--sl-surface-canvas); color: var(--sl-text-primary); }
|
|
8
|
+
#root { display: grid; gap: var(--sl-space-5, 20px); }
|
|
9
|
+
.ds-story-name { margin: 0 0 var(--sl-space-2, 8px); font: var(--sl-font-label-minimize-font, 500 10px sans-serif); color: var(--sl-text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; }
|
|
10
|
+
</style>
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<div id="root"></div>
|
|
14
|
+
<script>
|
|
15
|
+
(()=>{var H_=Object.create;var Wo=Object.defineProperty;var V_=Object.getOwnPropertyDescriptor;var z_=Object.getOwnPropertyNames;var G_=Object.getPrototypeOf,Y_=Object.prototype.hasOwnProperty;var W_=(e,t,r)=>t in e?Wo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _e=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var K_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ud=(e,t)=>{for(var r in t)Wo(e,r,{get:t[r],enumerable:!0})},X_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of z_(t))!Y_.call(e,o)&&o!==r&&Wo(e,o,{get:()=>t[o],enumerable:!(n=V_(t,o))||n.enumerable});return e};var J_=(e,t,r)=>(r=e!=null?H_(G_(e)):{},X_(t||!e||!e.__esModule?Wo(r,"default",{value:e,enumerable:!0}):r,e));var Te=(e,t,r)=>W_(e,typeof t!="symbol"?t+"":t,r);var $_=K_((iz,k_)=>{k_.exports=window.Loomiere});var $d={};Ud($d,{Default:()=>j9,DisabledHandle:()=>L9,Keyboard:()=>k9,NativeScroll:()=>$9,Nested:()=>F9,RightToLeft:()=>B9,Vertical:()=>I9,WithScrollArea:()=>U9,Workstation:()=>D9,default:()=>kd});var Fe=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();var Q_=Object.defineProperty,or=(e,t)=>Q_(e,"name",{value:t,configurable:!0}),Z_=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),{LOGLEVEL:eR}=Z_,ar={trace:1,debug:2,info:3,warn:4,error:5,silent:10},tR=eR,tn=ar[tR]||ar.info,ue={trace:or((e,...t)=>{tn<=ar.trace&&console.trace(e,...t)},"trace"),debug:or((e,...t)=>{tn<=ar.debug&&console.debug(e,...t)},"debug"),info:or((e,...t)=>{tn<=ar.info&&console.info(e,...t)},"info"),warn:or((e,...t)=>{tn<=ar.warn&&console.warn(e,...t)},"warn"),error:or((e,...t)=>{tn<=ar.error&&console.error(e,...t)},"error"),log:or((e,...t)=>{tn<ar.silent&&console.log(e,...t)},"log")},ps=new Set,Ce=or(e=>(t,...r)=>{if(!ps.has(t))return ps.add(t),ue[e](t,...r)},"once");Ce.clear=()=>ps.clear();Ce.trace=Ce("trace");Ce.debug=Ce("debug");Ce.info=Ce("info");Ce.warn=Ce("warn");Ce.error=Ce("error");Ce.log=Ce("log");var Bt=Ce("warn"),ut=or(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,a;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));a=n.exec(t[0]);)r.push(a[2]),r.push("");for(let i=1;i<t.length;i++)r.push(t[i])}ue[e].apply(ue,r)},"pretty");ut.trace=ut("trace");ut.debug=ut("debug");ut.info=ut("info");ut.warn=ut("warn");ut.error=ut("error");var Zo={};Ud(Zo,{ARGTYPES_INFO_REQUEST:()=>xs,ARGTYPES_INFO_RESPONSE:()=>Qo,CHANNEL_CREATED:()=>nR,CHANNEL_WS_DISCONNECT:()=>ms,CONFIG_ERROR:()=>hs,CREATE_NEW_STORYFILE_REQUEST:()=>oR,CREATE_NEW_STORYFILE_RESPONSE:()=>aR,CURRENT_STORY_WAS_SET:()=>Ko,DOCS_PREPARED:()=>ys,DOCS_RENDERED:()=>Wn,FILE_COMPONENT_SEARCH_REQUEST:()=>iR,FILE_COMPONENT_SEARCH_RESPONSE:()=>sR,FORCE_REMOUNT:()=>rn,FORCE_RE_RENDER:()=>Kn,GLOBALS_UPDATED:()=>Tr,NAVIGATE_URL:()=>lR,PLAY_FUNCTION_THREW_EXCEPTION:()=>bs,PRELOAD_ENTRIES:()=>vs,PREVIEW_BUILDER_PROGRESS:()=>uR,PREVIEW_KEYDOWN:()=>Es,REGISTER_SUBSCRIPTION:()=>cR,REQUEST_WHATS_NEW_DATA:()=>ER,RESET_STORY_ARGS:()=>Xn,RESULT_WHATS_NEW_DATA:()=>_R,SAVE_STORY_REQUEST:()=>SR,SAVE_STORY_RESPONSE:()=>AR,SELECT_STORY:()=>dR,SET_CONFIG:()=>pR,SET_CURRENT_STORY:()=>Jn,SET_FILTER:()=>fR,SET_GLOBALS:()=>_s,SET_INDEX:()=>mR,SET_STORIES:()=>hR,SET_WHATS_NEW_CACHE:()=>RR,SHARED_STATE_CHANGED:()=>yR,SHARED_STATE_SET:()=>bR,STORIES_COLLAPSE_ALL:()=>gR,STORIES_EXPAND_ALL:()=>vR,STORY_ARGS_UPDATED:()=>Rs,STORY_CHANGED:()=>ws,STORY_ERRORED:()=>Cs,STORY_FINISHED:()=>Jo,STORY_INDEX_INVALIDATED:()=>Ss,STORY_MISSING:()=>Xo,STORY_PREPARED:()=>As,STORY_RENDERED:()=>nn,STORY_RENDER_PHASE_CHANGED:()=>kt,STORY_SPECIFIED:()=>Ts,STORY_THREW_EXCEPTION:()=>Ps,STORY_UNCHANGED:()=>Os,TELEMETRY_ERROR:()=>CR,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>xR,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>MR,TESTING_MODULE_CRASH_REPORT:()=>TR,TESTING_MODULE_PROGRESS_REPORT:()=>PR,TESTING_MODULE_RUN_ALL_REQUEST:()=>qR,TESTING_MODULE_RUN_REQUEST:()=>OR,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>wR,UNHANDLED_ERRORS_WHILE_PLAYING:()=>gs,UPDATE_GLOBALS:()=>Qn,UPDATE_QUERY_PARAMS:()=>qs,UPDATE_STORY_ARGS:()=>Zn,default:()=>rR});var fs=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e))(fs||{}),rR=fs,{CHANNEL_WS_DISCONNECT:ms,CHANNEL_CREATED:nR,CONFIG_ERROR:hs,CREATE_NEW_STORYFILE_REQUEST:oR,CREATE_NEW_STORYFILE_RESPONSE:aR,CURRENT_STORY_WAS_SET:Ko,DOCS_PREPARED:ys,DOCS_RENDERED:Wn,FILE_COMPONENT_SEARCH_REQUEST:iR,FILE_COMPONENT_SEARCH_RESPONSE:sR,FORCE_RE_RENDER:Kn,FORCE_REMOUNT:rn,GLOBALS_UPDATED:Tr,NAVIGATE_URL:lR,PLAY_FUNCTION_THREW_EXCEPTION:bs,UNHANDLED_ERRORS_WHILE_PLAYING:gs,PRELOAD_ENTRIES:vs,PREVIEW_BUILDER_PROGRESS:uR,PREVIEW_KEYDOWN:Es,REGISTER_SUBSCRIPTION:cR,RESET_STORY_ARGS:Xn,SELECT_STORY:dR,SET_CONFIG:pR,SET_CURRENT_STORY:Jn,SET_FILTER:fR,SET_GLOBALS:_s,SET_INDEX:mR,SET_STORIES:hR,SHARED_STATE_CHANGED:yR,SHARED_STATE_SET:bR,STORIES_COLLAPSE_ALL:gR,STORIES_EXPAND_ALL:vR,STORY_ARGS_UPDATED:Rs,STORY_CHANGED:ws,STORY_ERRORED:Cs,STORY_INDEX_INVALIDATED:Ss,STORY_MISSING:Xo,STORY_PREPARED:As,STORY_RENDER_PHASE_CHANGED:kt,STORY_RENDERED:nn,STORY_FINISHED:Jo,STORY_SPECIFIED:Ts,STORY_THREW_EXCEPTION:Ps,STORY_UNCHANGED:Os,UPDATE_GLOBALS:Qn,UPDATE_QUERY_PARAMS:qs,UPDATE_STORY_ARGS:Zn,REQUEST_WHATS_NEW_DATA:ER,RESULT_WHATS_NEW_DATA:_R,SET_WHATS_NEW_CACHE:RR,TOGGLE_WHATS_NEW_NOTIFICATIONS:wR,TELEMETRY_ERROR:CR,SAVE_STORY_REQUEST:SR,SAVE_STORY_RESPONSE:AR,ARGTYPES_INFO_REQUEST:xs,ARGTYPES_INFO_RESPONSE:Qo,TESTING_MODULE_CRASH_REPORT:TR,TESTING_MODULE_PROGRESS_REPORT:PR,TESTING_MODULE_RUN_REQUEST:OR,TESTING_MODULE_RUN_ALL_REQUEST:qR,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:xR,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:MR}=fs;var NR=Object.create,Fs=Object.defineProperty,jR=Object.getOwnPropertyDescriptor,IR=Object.getOwnPropertyNames,DR=Object.getPrototypeOf,FR=Object.prototype.hasOwnProperty,V=(e,t)=>Fs(e,"name",{value:t,configurable:!0}),ea=(e=>typeof _e<"u"?_e:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof _e<"u"?_e:t)[r]}):e)(function(e){if(typeof _e<"u")return _e.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),LR=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),BR=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of IR(t))!FR.call(e,o)&&o!==r&&Fs(e,o,{get:()=>t[o],enumerable:!(n=jR(t,o))||n.enumerable});return e},kR=(e,t,r)=>(r=e!=null?NR(DR(e)):{},BR(t||!e||!e.__esModule?Fs(r,"default",{value:e,enumerable:!0}):r,e)),$R=LR((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return V(function a(i,s,l){function c(m,p){if(!s[m]){if(!i[m]){var h=typeof ea=="function"&&ea;if(!p&&h)return h(m,!0);if(u)return u(m,!0);var g=new Error("Cannot find module '"+m+"'");throw g.code="MODULE_NOT_FOUND",g}var y=s[m]={exports:{}};i[m][0].call(y.exports,function(b){var v=i[m][1][b];return c(v||b)},y,y.exports,a,i,s,l)}return s[m].exports}V(c,"s");for(var u=typeof ea=="function"&&ea,d=0;d<l.length;d++)c(l[d]);return c},"e")({1:[function(a,i,s){i.exports=function(l){if(typeof Map!="function"||l){var c=a("./similar");return new c}else return new Map}},{"./similar":2}],2:[function(a,i,s){function l(){return this.list=[],this.lastItem=void 0,this.size=0,this}V(l,"Similar"),l.prototype.get=function(c){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,c))return this.lastItem.val;if(u=this.indexOf(c),u>=0)return this.lastItem=this.list[u],this.list[u].val},l.prototype.set=function(c,u){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=u,this):(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],this.list[d].val=u,this):(this.lastItem={key:c,val:u},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(c){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),u=this.indexOf(c),u>=0)return this.size--,this.list.splice(u,1)[0]},l.prototype.has=function(c){var u;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(u=this.indexOf(c),u>=0?(this.lastItem=this.list[u],!0):!1)},l.prototype.forEach=function(c,u){var d;for(d=0;d<this.size;d++)c.call(u||this,this.list[d].val,this.list[d].key,this)},l.prototype.indexOf=function(c){var u;for(u=0;u<this.size;u++)if(this.isEqual(this.list[u].key,c))return u;return-1},l.prototype.isEqual=function(c,u){return c===u||c!==c&&u!==u},i.exports=l},{}],3:[function(a,i,s){var l=a("map-or-similar");i.exports=function(m){var p=new l(!1),h=[];return function(g){var y=V(function(){var b=p,v,C,S=arguments.length-1,A=Array(S+1),_=!0,E;if((y.numArgs||y.numArgs===0)&&y.numArgs!==S+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(E=0;E<S;E++){if(A[E]={cacheItem:b,arg:arguments[E]},b.has(arguments[E])){b=b.get(arguments[E]);continue}_=!1,v=new l(!1),b.set(arguments[E],v),b=v}return _&&(b.has(arguments[S])?C=b.get(arguments[S]):_=!1),_||(C=g.apply(null,arguments),b.set(arguments[S],C)),m>0&&(A[S]={cacheItem:b,arg:arguments[S]},_?c(h,A):h.push(A),h.length>m&&u(h.shift())),y.wasMemoized=_,y.numArgs=S+1,C},"memoizerific");return y.limit=m,y.wasMemoized=!1,y.cache=p,y.lru=h,y}};function c(m,p){var h=m.length,g=p.length,y,b,v;for(b=0;b<h;b++){for(y=!0,v=0;v<g;v++)if(!d(m[b][v].arg,p[v].arg)){y=!1;break}if(y)break}m.push(m.splice(b,1)[0])}V(c,"moveToMostRecentLru");function u(m){var p=m.length,h=m[p-1],g,y;for(h.cacheItem.delete(h.arg),y=p-2;y>=0&&(h=m[y],g=h.cacheItem.get(h.arg),!g||!g.size);y--)h.cacheItem.delete(h.arg)}V(u,"removeCachedResult");function d(m,p){return m===p||m!==m&&p!==p}V(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Le=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();function Pr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(u){var d,m;return(m=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&m!==void 0?m:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
16
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
17
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,l){var c=i.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
18
|
+
`)&&(d=String(s).split(`
|
|
19
|
+
`).map(function(m,p){return p===0?m:""+u+m}).join(`
|
|
20
|
+
`)),i+=d+n[l+1]}),i}V(Pr,"dedent");var Hd=new Map,UR="UNIVERSAL_STORE:",mt={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},ir=class oe{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=V(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=V((n,o)=>{let a=typeof n=="function",i=a?"*":n,s=a?n:o;if(this.debug("subscribe",{eventType:i,listener:s}),!s)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(s),()=>{this.debug("unsubscribe",{eventType:i,listener:s}),this.listeners.has(i)&&(this.listeners.get(i).delete(s),this.listeners.get(i)?.size===0&&this.listeners.delete(i))}},"subscribe"),this.send=V(n=>{if(this.debug("send",{event:n}),this.status!==oe.Status.READY)throw new TypeError(Pr`Cannot send event before store is ready. You can get the current status with store.status,
|
|
21
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
22
|
+
${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!oe.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(oe.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?oe.ActorType.LEADER:oe.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${UR}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===oe.ActorType.LEADER)this.syncing={state:mt.RESOLVED,promise:Promise.resolve()};else{let n,o,a=new Promise((i,s)=>{n=V(()=>{this.syncing.state===mt.PENDING&&(this.syncing.state=mt.RESOLVED,i())},"syncingResolve"),o=V(l=>{this.syncing.state===mt.PENDING&&(this.syncing.state=mt.REJECTED,s(l))},"syncingReject")});this.syncing={state:mt.PENDING,promise:a,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??oe.preparation.channel,this.environment=r?.environment??oe.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):oe.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,a)=>{t=V(i=>{o(i)},"resolveRef"),r=V((...i)=>{a(i)},"rejectRef")});oe.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??oe.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return oe.Status.UNPREPARED;switch(this.syncing?.state){case mt.PENDING:case void 0:return oe.Status.SYNCING;case mt.REJECTED:return oe.Status.ERROR;case mt.RESOLVED:default:return oe.Status.READY}}untilReady(){return Promise.all([oe.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(Pr`[UniversalStore]
|
|
23
|
+
create`,{options:t});let r=Hd.get(t.id);if(r)return console.warn(Pr`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
24
|
+
You should reuse the existing instance instead of trying to create a new one.`),r;oe.isInternalConstructing=!0;let n=new oe(t);return Hd.set(t.id,n),n}static __prepare(t,r){oe.preparation.channel=t,oe.preparation.environment=r,oe.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==oe.Status.READY)throw new TypeError(Pr`Cannot set state before store is ready. You can get the current status with store.status,
|
|
25
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
26
|
+
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:oe.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(oe.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===oe.ActorType.LEADER?this.emitToChannel({type:oe.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:oe.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:oe.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(a=>a(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===mt.PENDING&&r.type!==oe.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===oe.ActorType.LEADER){let o=!0;switch(r.type){case oe.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let a={type:oe.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:a}),this.emitToChannel(a,{actor:this.actor});break;case oe.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=mt.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(Pr`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
27
|
+
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
28
|
+
Leaders detected:
|
|
29
|
+
this: ${JSON.stringify(this.actor,null,2)}
|
|
30
|
+
other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===oe.ActorType.FOLLOWER)switch(r.type){case oe.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==mt.PENDING)break;this.syncing.resolve?.();let o={type:oe.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case oe.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(Pr`[UniversalStore::${this.id}::${this.environment??oe.Environment.UNKNOWN}]
|
|
31
|
+
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){oe.preparation.reject(new Error("reset")),oe.setupPreparationPromise(),oe.isInternalConstructing=!1}};V(ir,"UniversalStore"),ir.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},ir.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},ir.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},ir.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},ir.isInternalConstructing=!1,ir.setupPreparationPromise();var Ms=ir,HR=V(e=>e.transports!==void 0,"isMulti"),VR=V(()=>Math.random().toString(16).slice(2),"generateRandomId"),Xd=class{constructor(t={}){this.sender=VR(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,HR(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let a=V(()=>{this.transports.forEach(i=>{i.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(a):a()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=V((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};V(Xd,"Channel");var an=Xd,zR=Object.create,Jd=Object.defineProperty,GR=Object.getOwnPropertyDescriptor,Qd=Object.getOwnPropertyNames,YR=Object.getPrototypeOf,WR=Object.prototype.hasOwnProperty,ht=V((e,t)=>V(function(){return t||(0,e[Qd(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),KR=V((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Qd(t))!WR.call(e,o)&&o!==r&&Jd(e,o,{get:V(()=>t[o],"get"),enumerable:!(n=GR(t,o))||n.enumerable});return e},"__copyProps"),Ls=V((e,t,r)=>(r=e!=null?zR(YR(e)):{},KR(t||!e||!e.__esModule?Jd(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),XR=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],JR=["detail"];function Zd(e){let t=XR.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&JR.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}V(Zd,"extractEventHiddenProperties");var QR=kR($R(),1),ep=ht({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=V(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0},"hasSymbols")}}),tp=ht({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=ep();t.exports=V(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),ZR=ht({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=V(function(i){var s=this;if(typeof s!="function"||o.call(s)!==a)throw new TypeError(r+s);for(var l=n.call(arguments,1),c,u=V(function(){if(this instanceof c){var g=s.apply(this,l.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,l.concat(n.call(arguments)))},"binder"),d=Math.max(0,s.length-l.length),m=[],p=0;p<d;p++)m.push("$"+p);if(c=Function("binder","return function ("+m.join(",")+"){ return binder.apply(this,arguments); }")(u),s.prototype){var h=V(function(){},"Empty2");h.prototype=s.prototype,c.prototype=new h,h.prototype=null}return c},"bind")}}),Bs=ht({"node_modules/function-bind/index.js"(e,t){"use strict";var r=ZR();t.exports=Function.prototype.bind||r}}),ew=ht({"node_modules/has/src/index.js"(e,t){"use strict";var r=Bs();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),rp=ht({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,n=SyntaxError,o=Function,a=TypeError,i=V(function(j){try{return o('"use strict"; return ('+j+").constructor;")()}catch{}},"getEvalledConstructor"),s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch{s=null}var l=V(function(){throw new a},"throwTypeError"),c=s?(function(){try{return arguments.callee,l}catch{try{return s(arguments,"callee").get}catch{return l}}})():l,u=tp()(),d=Object.getPrototypeOf||function(j){return j.__proto__},m={},p=typeof Uint8Array>"u"?r:d(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":u?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?d(d([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!u?r:d(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!u?r:d(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?d(""[Symbol.iterator]()):r,"%Symbol%":u?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=V(function j(F){var T;if(F==="%AsyncFunction%")T=i("async function () {}");else if(F==="%GeneratorFunction%")T=i("function* () {}");else if(F==="%AsyncGeneratorFunction%")T=i("async function* () {}");else if(F==="%AsyncGenerator%"){var M=j("%AsyncGeneratorFunction%");M&&(T=M.prototype)}else if(F==="%AsyncIteratorPrototype%"){var D=j("%AsyncGenerator%");D&&(T=d(D.prototype))}return h[F]=T,T},"doEval2"),y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=Bs(),v=ew(),C=b.call(Function.call,Array.prototype.concat),S=b.call(Function.apply,Array.prototype.splice),A=b.call(Function.call,String.prototype.replace),_=b.call(Function.call,String.prototype.slice),E=b.call(Function.call,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,N=V(function(j){var F=_(j,0,1),T=_(j,-1);if(F==="%"&&T!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(T==="%"&&F!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return A(j,R,function(D,Y,G,Q){M[M.length]=G?A(Q,P,"$1"):Y||D}),M},"stringToPath3"),B=V(function(j,F){var T=j,M;if(v(y,T)&&(M=y[T],T="%"+M[0]+"%"),v(h,T)){var D=h[T];if(D===m&&(D=g(T)),typeof D>"u"&&!F)throw new a("intrinsic "+j+" exists, but is not available. Please file an issue!");return{alias:M,name:T,value:D}}throw new n("intrinsic "+j+" does not exist!")},"getBaseIntrinsic2");t.exports=V(function(j,F){if(typeof j!="string"||j.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new a('"allowMissing" argument must be a boolean');if(E(/^%?[^%]*%?$/,j)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var T=N(j),M=T.length>0?T[0]:"",D=B("%"+M+"%",F),Y=D.name,G=D.value,Q=!1,ne=D.alias;ne&&(M=ne[0],S(T,C([0,1],ne)));for(var te=1,H=!0;te<T.length;te+=1){var U=T[te],z=_(U,0,1),X=_(U,-1);if((z==='"'||z==="'"||z==="`"||X==='"'||X==="'"||X==="`")&&z!==X)throw new n("property names with quotes must have matching quotes");if((U==="constructor"||!H)&&(Q=!0),M+="."+U,Y="%"+M+"%",v(h,Y))G=h[Y];else if(G!=null){if(!(U in G)){if(!F)throw new a("base intrinsic for "+j+" exists, but the property is not available.");return}if(s&&te+1>=T.length){var W=s(G,U);H=!!W,H&&"get"in W&&!("originalValue"in W.get)?G=W.get:G=G[U]}else H=v(G,U),G=G[U];H&&!Q&&(h[Y]=G)}}return G},"GetIntrinsic")}}),tw=ht({"node_modules/call-bind/index.js"(e,t){"use strict";var r=Bs(),n=rp(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(a,o),s=n("%Object.getOwnPropertyDescriptor%",!0),l=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=V(function(d){var m=i(r,a,arguments);if(s&&l){var p=s(m,"length");p.configurable&&l(m,"length",{value:1+c(0,d.length-(arguments.length-1))})}return m},"callBind");var u=V(function(){return i(r,o,arguments)},"applyBind2");l?l(t.exports,"apply",{value:u}):t.exports.apply=u}}),rw=ht({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=rp(),n=tw(),o=n(r("String.prototype.indexOf"));t.exports=V(function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s},"callBoundIntrinsic")}}),nw=ht({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=ep();t.exports=V(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),ow=ht({"node_modules/is-regex/index.js"(e,t){"use strict";var r=rw(),n=nw()(),o,a,i,s;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),i={},l=V(function(){throw i},"throwRegexMarker"),s={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=l));var l,c=r("Object.prototype.toString"),u=Object.getOwnPropertyDescriptor,d="[object RegExp]";t.exports=V(n?function(m){if(!m||typeof m!="object")return!1;var p=u(m,"lastIndex"),h=p&&o(p,"value");if(!h)return!1;try{a(m,s)}catch(g){return g===i}}:function(m){return!m||typeof m!="object"&&typeof m!="function"?!1:c(m)===d},"isRegex")}}),aw=ht({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}V(n,"isFunction3")}}),iw=ht({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=tp()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,i=V(function(s){return typeof s.valueOf()!="symbol"?!1:a.test(o.call(s))},"isRealSymbolObject"),t.exports=V(function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}},"isSymbol3")):t.exports=V(function(s){return!1},"isSymbol3");var o,a,i}}),sw=Ls(ow()),lw=Ls(aw()),uw=Ls(iw());function np(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}V(np,"isObject");var cw=typeof global=="object"&&global&&global.Object===Object&&global,dw=cw,pw=typeof self=="object"&&self&&self.Object===Object&&self,fw=dw||pw||Function("return this")(),ks=fw,mw=ks.Symbol,on=mw,op=Object.prototype,hw=op.hasOwnProperty,yw=op.toString,eo=on?on.toStringTag:void 0;function ap(e){var t=hw.call(e,eo),r=e[eo];try{e[eo]=void 0;var n=!0}catch{}var o=yw.call(e);return n&&(t?e[eo]=r:delete e[eo]),o}V(ap,"getRawTag");var bw=ap,gw=Object.prototype,vw=gw.toString;function ip(e){return vw.call(e)}V(ip,"objectToString");var Ew=ip,_w="[object Null]",Rw="[object Undefined]",Vd=on?on.toStringTag:void 0;function sp(e){return e==null?e===void 0?Rw:_w:Vd&&Vd in Object(e)?bw(e):Ew(e)}V(sp,"baseGetTag");var lp=sp;function up(e){return e!=null&&typeof e=="object"}V(up,"isObjectLike");var ww=up,Cw="[object Symbol]";function cp(e){return typeof e=="symbol"||ww(e)&&lp(e)==Cw}V(cp,"isSymbol");var $s=cp;function dp(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}V(dp,"arrayMap");var Sw=dp,Aw=Array.isArray,Us=Aw,Tw=1/0,zd=on?on.prototype:void 0,Gd=zd?zd.toString:void 0;function Hs(e){if(typeof e=="string")return e;if(Us(e))return Sw(e,Hs)+"";if($s(e))return Gd?Gd.call(e):"";var t=e+"";return t=="0"&&1/e==-Tw?"-0":t}V(Hs,"baseToString");var Pw=Hs;function pp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}V(pp,"isObject2");var fp=pp,Ow="[object AsyncFunction]",qw="[object Function]",xw="[object GeneratorFunction]",Mw="[object Proxy]";function mp(e){if(!fp(e))return!1;var t=lp(e);return t==qw||t==xw||t==Ow||t==Mw}V(mp,"isFunction");var Nw=mp,jw=ks["__core-js_shared__"],Ns=jw,Yd=(function(){var e=/[^.]+$/.exec(Ns&&Ns.keys&&Ns.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function hp(e){return!!Yd&&Yd in e}V(hp,"isMasked");var Iw=hp,Dw=Function.prototype,Fw=Dw.toString;function yp(e){if(e!=null){try{return Fw.call(e)}catch{}try{return e+""}catch{}}return""}V(yp,"toSource");var Lw=yp,Bw=/[\\^$.*+?()[\]{}|]/g,kw=/^\[object .+?Constructor\]$/,$w=Function.prototype,Uw=Object.prototype,Hw=$w.toString,Vw=Uw.hasOwnProperty,zw=RegExp("^"+Hw.call(Vw).replace(Bw,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bp(e){if(!fp(e)||Iw(e))return!1;var t=Nw(e)?zw:kw;return t.test(Lw(e))}V(bp,"baseIsNative");var Gw=bp;function gp(e,t){return e?.[t]}V(gp,"getValue");var Yw=gp;function vp(e,t){var r=Yw(e,t);return Gw(r)?r:void 0}V(vp,"getNative");var Ep=vp;function _p(e,t){return e===t||e!==e&&t!==t}V(_p,"eq");var Ww=_p,Kw=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xw=/^\w*$/;function Rp(e,t){if(Us(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||$s(e)?!0:Xw.test(e)||!Kw.test(e)||t!=null&&e in Object(t)}V(Rp,"isKey");var Jw=Rp,Qw=Ep(Object,"create"),to=Qw;function wp(){this.__data__=to?to(null):{},this.size=0}V(wp,"hashClear");var Zw=wp;function Cp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}V(Cp,"hashDelete");var eC=Cp,tC="__lodash_hash_undefined__",rC=Object.prototype,nC=rC.hasOwnProperty;function Sp(e){var t=this.__data__;if(to){var r=t[e];return r===tC?void 0:r}return nC.call(t,e)?t[e]:void 0}V(Sp,"hashGet");var oC=Sp,aC=Object.prototype,iC=aC.hasOwnProperty;function Ap(e){var t=this.__data__;return to?t[e]!==void 0:iC.call(t,e)}V(Ap,"hashHas");var sC=Ap,lC="__lodash_hash_undefined__";function Tp(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=to&&t===void 0?lC:t,this}V(Tp,"hashSet");var uC=Tp;function Or(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}V(Or,"Hash");Or.prototype.clear=Zw;Or.prototype.delete=eC;Or.prototype.get=oC;Or.prototype.has=sC;Or.prototype.set=uC;var Wd=Or;function Pp(){this.__data__=[],this.size=0}V(Pp,"listCacheClear");var cC=Pp;function Op(e,t){for(var r=e.length;r--;)if(Ww(e[r][0],t))return r;return-1}V(Op,"assocIndexOf");var na=Op,dC=Array.prototype,pC=dC.splice;function qp(e){var t=this.__data__,r=na(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():pC.call(t,r,1),--this.size,!0}V(qp,"listCacheDelete");var fC=qp;function xp(e){var t=this.__data__,r=na(t,e);return r<0?void 0:t[r][1]}V(xp,"listCacheGet");var mC=xp;function Mp(e){return na(this.__data__,e)>-1}V(Mp,"listCacheHas");var hC=Mp;function Np(e,t){var r=this.__data__,n=na(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}V(Np,"listCacheSet");var yC=Np;function qr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}V(qr,"ListCache");qr.prototype.clear=cC;qr.prototype.delete=fC;qr.prototype.get=mC;qr.prototype.has=hC;qr.prototype.set=yC;var bC=qr,gC=Ep(ks,"Map"),vC=gC;function jp(){this.size=0,this.__data__={hash:new Wd,map:new(vC||bC),string:new Wd}}V(jp,"mapCacheClear");var EC=jp;function Ip(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}V(Ip,"isKeyable");var _C=Ip;function Dp(e,t){var r=e.__data__;return _C(t)?r[typeof t=="string"?"string":"hash"]:r.map}V(Dp,"getMapData");var oa=Dp;function Fp(e){var t=oa(this,e).delete(e);return this.size-=t?1:0,t}V(Fp,"mapCacheDelete");var RC=Fp;function Lp(e){return oa(this,e).get(e)}V(Lp,"mapCacheGet");var wC=Lp;function Bp(e){return oa(this,e).has(e)}V(Bp,"mapCacheHas");var CC=Bp;function kp(e,t){var r=oa(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}V(kp,"mapCacheSet");var SC=kp;function xr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}V(xr,"MapCache");xr.prototype.clear=EC;xr.prototype.delete=RC;xr.prototype.get=wC;xr.prototype.has=CC;xr.prototype.set=SC;var $p=xr,AC="Expected a function";function aa(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(AC);var r=V(function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i},"memoized");return r.cache=new(aa.Cache||$p),r}V(aa,"memoize");aa.Cache=$p;var TC=aa,PC=500;function Up(e){var t=TC(e,function(n){return r.size===PC&&r.clear(),n}),r=t.cache;return t}V(Up,"memoizeCapped");var OC=Up,qC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xC=/\\(\\)?/g,MC=OC(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(qC,function(r,n,o,a){t.push(o?a.replace(xC,"$1"):n||r)}),t}),NC=MC;function Hp(e){return e==null?"":Pw(e)}V(Hp,"toString");var jC=Hp;function Vp(e,t){return Us(e)?e:Jw(e,t)?[e]:NC(jC(e))}V(Vp,"castPath");var IC=Vp,DC=1/0;function zp(e){if(typeof e=="string"||$s(e))return e;var t=e+"";return t=="0"&&1/e==-DC?"-0":t}V(zp,"toKey");var FC=zp;function Gp(e,t){t=IC(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[FC(t[r++])];return r&&r==n?e:void 0}V(Gp,"baseGet");var LC=Gp;function Yp(e,t,r){var n=e==null?void 0:LC(e,t);return n===void 0?r:n}V(Yp,"get");var BC=Yp,ta=np,kC=V(e=>{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i<e.length;i+=1)!t&&!r&&!n&&!o?e[i]==='"'||e[i]==="'"||e[i]==="`"?t=e[i]:e[i]==="/"&&e[i+1]==="*"?r=!0:e[i]==="/"&&e[i+1]==="/"?n=!0:e[i]==="/"&&e[i+1]!=="/"&&(o=!0):(t&&(e[i]===t&&e[i-1]!=="\\"||e[i]===`
|
|
32
|
+
`&&t!=="`")&&(t=null),o&&(e[i]==="/"&&e[i-1]!=="\\"||e[i]===`
|
|
33
|
+
`)&&(o=!1),r&&e[i-1]==="/"&&e[i-2]==="*"&&(r=!1),n&&e[i]===`
|
|
34
|
+
`&&(n=!1)),!r&&!n&&(a+=e[i]);else a=e;return a},"removeCodeComments"),$C=(0,QR.default)(1e4)(e=>kC(e).replace(/\n\s*/g,"").trim()),UC=V(function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},"convertShorthandMethods2"),HC=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Vs=V(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function zs(e){if(!ta(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Zd(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}V(zs,"convertUnconventionalData");var VC=V(function(e){let t,r,n,o;return V(function(a,i){try{if(a==="")return o=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),o.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return HC.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,sw.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,lw.default)(i)){if(!e.allowFunction)return;let{name:c}=i,u=i.toString();return u.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${$C(UC(a,u))}`}if((0,uw.default)(i)){if(!e.allowSymbol)return;let c=Symbol.keyFor(i);return c!==void 0?`_gsymbol_${c}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(o)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let l=t.get(i);if(!l){let c=Array.isArray(i)?i:zs(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(c,{"_constructor-name_":i.constructor.name})}catch{}return o.push(a),n.unshift(c),t.set(i,JSON.stringify(o)),i!==c&&r.set(i,c),c}return`_duplicate_${l}`}catch{return}},"replace")},"replacer2"),zC=V(function reviver(options){let refs=[],root;return V(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=Vs(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=BC(root,n)})),key==="_constructor-name_")return value;if(ta(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(ta(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=V((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:V(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),Wp={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},Kp=V((e,t={})=>{let r={...Wp,...t};return JSON.stringify(zs(e),VC(r),t.space)},"stringify"),GC=V(()=>{let e=new Map;return V(function t(r){ta(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),Xp=V((e,t={})=>{let r={...Wp,...t},n=JSON.parse(e,zC(r));return GC()(n),n},"parse"),YC=!1,js="Invariant failed";function ra(e,t){if(!e){if(YC)throw new Error(js);var r=typeof t=="function"?t():t,n=r?"".concat(js,": ").concat(r):js;throw new Error(n)}}V(ra,"invariant");var WC=V(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(a=>{try{return a.contentWindow?.location.origin===e.source.location.origin&&a.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return a.contentWindow===e.source}catch{}let i=a.getAttribute("src"),s;try{if(!i)return!1;({origin:s}=new URL(i,document.location.toString()))}catch{return!1}return s===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){let{protocol:a,host:i,pathname:s}=new URL(o,document.location.toString());return`${a}//${i}${s}`}return n.length>0&&ue.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:Is,location:Ds}=Le,Kd="storybook-channel",KC={allowFunction:!1,maxDepth:25},Jp=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof Le?.addEventListener=="function"&&Le.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:o,allowFunction:a,allowSymbol:i,allowDate:s,allowError:l,allowUndefined:c,allowClass:u,maxDepth:d,space:m,lazyEval:p}=r||{},h=Object.fromEntries(Object.entries({allowRegExp:o,allowFunction:a,allowSymbol:i,allowDate:s,allowError:l,allowUndefined:c,allowClass:u,maxDepth:d,space:m,lazyEval:p}).filter(([C,S])=>typeof S<"u")),g={...KC,...Le.CHANNEL_OPTIONS||{},...h},y=this.getFrames(n),b=new URLSearchParams(Ds?.search||""),v=Kp({key:Kd,event:t,refId:b.get("refId")},g);return y.length?(this.buffer.length&&this.flush(),y.forEach(C=>{try{C.postMessage(v,"*")}catch{ue.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((C,S)=>{this.buffer.push({event:t,resolve:C,reject:S})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(Is.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r?.length?r:this.getCurrentFrames()}return Le&&Le.parent&&Le.parent!==Le.self?[Le.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Is.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Le&&Le.parent?[Le.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Is.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Le&&Le.parent?[Le.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:a}=typeof r=="string"&&Vs(r)?Xp(r,Le.CHANNEL_OPTIONS||{}):r;if(n===Kd){let i=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',s=Object.values(Zo).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(a&&(o.refId=a),o.source=this.config.page==="preview"?t.origin:WC(t),!o.source){ut.error(`${i} received ${s} but was unable to determine the source of the event`);return}let l=`${i} received ${s} (${r.length})`;ut.debug(Ds.origin!==o.source?l:`${l} <span style="color: gray">(on ${Ds.origin} from ${o.source})</span>`,...o.args),ra(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){ue.error(r)}}};V(Jp,"PostMessageTransport");var XC=Jp,{WebSocket:JC}=Le,QC=15e3,ZC=5e3,Qp=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new JC(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:o})=>{let a=typeof o=="string"&&Vs(o)?Xp(o):o;ra(this.handler,"WebsocketTransport handler should be set"),this.handler(a),a.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=o=>{ra(this.handler,"WebsocketTransport handler should be set"),this.handler({type:ms,args:[{reason:o.reason,code:o.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},QC+ZC)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=Kp(t,{maxDepth:15,allowFunction:!1,...Le.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};V(Qp,"WebsocketTransport");var e2=Qp,{CHANNEL_OPTIONS:t2,CONFIG_TYPE:r2}=Le,o6=an;function n2({page:e,extraTransports:t=[]}){let r=[new XC({page:e}),...t];if(r2==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:a,port:i}=window.location,{wsToken:s}=t2||{},l=`${o}://${a}:${i}/storybook-server-channel?token=${s}`;r.push(new e2({url:l,onError:V(()=>{},"onError"),page:e}))}let n=new an({transports:r});return Ms.__prepare(n,e==="manager"?Ms.Environment.MANAGER:Ms.Environment.PREVIEW),n}V(n2,"createBrowserChannel");var o2=Object.defineProperty,je=(e,t)=>o2(e,"name",{value:t,configurable:!0});function Be(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(u){var d,m;return(m=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&m!==void 0?m:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
35
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
36
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,l){var c=i.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
37
|
+
`)&&(d=String(s).split(`
|
|
38
|
+
`).map(function(m,p){return p===0?m:""+u+m}).join(`
|
|
39
|
+
`)),i+=d+n[l+1]}),i}je(Be,"dedent");function Gs({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}je(Gs,"parseErrorCode");var Zp=class ef extends Error{constructor(t){super(ef.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Gs({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let a;return t===!0?a=`https://storybook.js.org/error/${Gs({code:r,category:n})}`:typeof t=="string"?a=t:Array.isArray(t)&&(a=`
|
|
40
|
+
${t.map(i=>` - ${i}`).join(`
|
|
41
|
+
`)}`),`${o}${a!=null?`
|
|
42
|
+
|
|
43
|
+
More info: ${a}
|
|
44
|
+
`:""}`}};je(Zp,"StorybookError");var ke=Zp;var tf=class extends ke{constructor(t){super({category:"PREVIEW_API",code:1,message:Be`
|
|
45
|
+
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
46
|
+
- Did you just rename a story?
|
|
47
|
+
- Did you remove it from your CSF file?
|
|
48
|
+
- Are you sure a story with the id '${t.storyId}' exists?
|
|
49
|
+
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
50
|
+
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};je(tf,"MissingStoryAfterHmrError");var rf=tf,a2=class extends ke{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:Be`
|
|
51
|
+
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
52
|
+
${t.deprecated?`
|
|
53
|
+
This is deprecated and won't work in Storybook 8 anymore.
|
|
54
|
+
`:""}
|
|
55
|
+
Please provide an explicit spy to your args like this:
|
|
56
|
+
import { fn } from '@storybook/test';
|
|
57
|
+
...
|
|
58
|
+
args: {
|
|
59
|
+
${t.name}: fn()
|
|
60
|
+
}`}),this.data=t}};je(a2,"ImplicitActionsDuringRendering");var nf=class extends ke{constructor(){super({category:"PREVIEW_API",code:3,message:Be`
|
|
61
|
+
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
62
|
+
|
|
63
|
+
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};je(nf,"CalledExtractOnStoreError");var of=nf,af=class extends ke{constructor(){super({category:"PREVIEW_API",code:4,message:Be`
|
|
64
|
+
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
65
|
+
|
|
66
|
+
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};je(af,"MissingRenderToCanvasError");var sf=af,lf=class extends ke{constructor(t){super({category:"PREVIEW_API",code:5,message:Be`
|
|
67
|
+
Called \`Preview.${t.methodName}()\` before initialization.
|
|
68
|
+
|
|
69
|
+
The preview needs to load the story index before most methods can be called. If you want
|
|
70
|
+
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
71
|
+
|
|
72
|
+
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
73
|
+
do the above.`}),this.data=t}};je(lf,"CalledPreviewMethodBeforeInitializationError");var st=lf,uf=class extends ke{constructor(t){super({category:"PREVIEW_API",code:6,message:Be`
|
|
74
|
+
Error fetching \`/index.json\`:
|
|
75
|
+
|
|
76
|
+
${t.text}
|
|
77
|
+
|
|
78
|
+
If you are in development, this likely indicates a problem with your Storybook process,
|
|
79
|
+
check the terminal for errors.
|
|
80
|
+
|
|
81
|
+
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
82
|
+
build.`}),this.data=t}};je(uf,"StoryIndexFetchError");var cf=uf,df=class extends ke{constructor(t){super({category:"PREVIEW_API",code:7,message:Be`
|
|
83
|
+
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
84
|
+
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
85
|
+
|
|
86
|
+
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
87
|
+
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};je(df,"MdxFileWithNoCsfReferencesError");var pf=df,ff=class extends ke{constructor(){super({category:"PREVIEW_API",code:8,message:Be`
|
|
88
|
+
Couldn't find any stories in your Storybook.
|
|
89
|
+
|
|
90
|
+
- Please check your stories field of your main.js config: does it match correctly?
|
|
91
|
+
- Also check the browser console and terminal for error messages.`})}};je(ff,"EmptyIndexError");var mf=ff,hf=class extends ke{constructor(t){super({category:"PREVIEW_API",code:9,message:Be`
|
|
92
|
+
Couldn't find story matching '${t.storySpecifier}'.
|
|
93
|
+
|
|
94
|
+
- Are you sure a story with that id exists?
|
|
95
|
+
- Please check your stories field of your main.js config.
|
|
96
|
+
- Also check the browser console and terminal for error messages.`}),this.data=t}};je(hf,"NoStoryMatchError");var yf=hf,bf=class extends ke{constructor(t){super({category:"PREVIEW_API",code:10,message:Be`
|
|
97
|
+
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
98
|
+
|
|
99
|
+
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
100
|
+
we didn't find the story. Possible reasons:
|
|
101
|
+
- You are using a custom story indexer that is misbehaving.
|
|
102
|
+
- You have a custom file loader that is removing or renaming exports.
|
|
103
|
+
|
|
104
|
+
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};je(bf,"MissingStoryFromCsfFileError");var gf=bf,vf=class extends ke{constructor(){super({category:"PREVIEW_API",code:11,message:Be`
|
|
105
|
+
Cannot access the Story Store until the index is ready.
|
|
106
|
+
|
|
107
|
+
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
108
|
+
remove access to the store entirely`})}};je(vf,"StoryStoreAccessedBeforeInitializationError");var Ef=vf,_f=class extends ke{constructor(t){super({category:"PREVIEW_API",code:12,message:Be`
|
|
109
|
+
Incorrect use of mount in the play function.
|
|
110
|
+
|
|
111
|
+
To use mount in the play function, you must satisfy the following two requirements:
|
|
112
|
+
|
|
113
|
+
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
114
|
+
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
115
|
+
|
|
116
|
+
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
117
|
+
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
118
|
+
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
119
|
+
|
|
120
|
+
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
121
|
+
|
|
122
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
|
123
|
+
|
|
124
|
+
Received the following play function:
|
|
125
|
+
${t.playFunction}`}),this.data=t}};je(_f,"MountMustBeDestructuredError");var ia=_f,Rf=class extends ke{constructor(t){super({category:"PREVIEW_API",code:14,message:Be`
|
|
126
|
+
No render function available for storyId '${t.id}'
|
|
127
|
+
`}),this.data=t}};je(Rf,"NoRenderFunctionError");var wf=Rf,Cf=class extends ke{constructor(){super({category:"PREVIEW_API",code:15,message:Be`
|
|
128
|
+
No component is mounted in your story.
|
|
129
|
+
|
|
130
|
+
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
131
|
+
|
|
132
|
+
For example:
|
|
133
|
+
|
|
134
|
+
async play({ mount, canvasElement }) {
|
|
135
|
+
// 👈 mount should be called: await mount();
|
|
136
|
+
const canvas = within(canvasElement);
|
|
137
|
+
const button = await canvas.findByRole('button');
|
|
138
|
+
await userEvent.click(button);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
Make sure to either remove it or call mount in your play function.
|
|
142
|
+
`})}};je(Cf,"NoStoryMountedError");var Sf=Cf,i2=class extends ke{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:Be`
|
|
143
|
+
You are importing avif images, but you don't have sharp installed.
|
|
144
|
+
|
|
145
|
+
You have to install sharp in order to use image optimization features in Next.js.
|
|
146
|
+
`})}};je(i2,"NextJsSharpError");var s2=class extends ke{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:Be`
|
|
147
|
+
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
148
|
+
`}),this.data=t}};je(s2,"NextjsRouterMocksNotAvailable");var l2=class extends ke{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:Be`
|
|
149
|
+
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
150
|
+
${JSON.stringify(t.type,null,2)}
|
|
151
|
+
|
|
152
|
+
Storybook will fall back to use a generic type description instead.
|
|
153
|
+
|
|
154
|
+
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
155
|
+
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
156
|
+
`}),this.data=t}};je(l2,"UnknownArgTypesError");var u2=class extends ke{constructor(t){super({category:"ADDON_VITEST",code:1,message:Be`
|
|
157
|
+
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
158
|
+
|
|
159
|
+
The Storybook plugin only supports values in the following units:
|
|
160
|
+
- px, vh, vw, em, rem and %.
|
|
161
|
+
|
|
162
|
+
You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
|
|
163
|
+
`}),this.data=t}};je(u2,"UnsupportedViewportDimensionError");var c2=Object.create,Ws=Object.defineProperty,d2=Object.getOwnPropertyDescriptor,p2=Object.getOwnPropertyNames,f2=Object.getPrototypeOf,m2=Object.prototype.hasOwnProperty,$e=(e,t)=>Ws(e,"name",{value:t,configurable:!0}),h2=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),y2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of p2(t))!m2.call(e,o)&&o!==r&&Ws(e,o,{get:()=>t[o],enumerable:!(n=d2(t,o))||n.enumerable});return e},b2=(e,t,r)=>(r=e!=null?c2(f2(e)):{},y2(t||!e||!e.__esModule?Ws(r,"default",{value:e,enumerable:!0}):r,e)),g2=h2(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return $e(function i(s,l,c){var u,d,m,p=t.call(s),h=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(c.indexOf(s)>-1&&c.indexOf(l)>-1)return!0;if(c.push(s,l),p!=h||(u=n(s),d=n(l),u.length!=d.length||u.some(function(g){return!i(s[g],l[g],c)})))return!1;switch(p.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":u=s.entries(),d=l.entries();do if(!i((m=u.next()).value,d.next().value,c))return!1;while(!m.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(m=0;m<s.length;m++)if((m in s||m in l)&&(m in s!=m in l||!i(s[m],l[m],c)))return!1;return!0;case"Object":return i(r(s),r(l),c);default:return!1}},"n")(o,a,[])}})()});function Pf(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,o)=>`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}$e(Pf,"toStartCaseStr");var Af=b2(g2(),1),Of=$e(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),v2=$e((e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(Of([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,Af.isEqual)(t,n);if(typeof o<"u")return!(0,Af.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},"testValue"),qf=$e((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(Of([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return v2(e.if,a)},"includeConditionalArg");function E2(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...o}=e;return t=ln(Nr([...n??[],o])),t},meta(n){return xf(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}$e(E2,"__definePreview");function _2(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Preview"}$e(_2,"isPreview");function R2(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}$e(R2,"isMeta");function xf(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r){return Mf(r,this)}}}$e(xf,"defineMeta");function Mf(e,t){return{_tag:"Story",input:e,meta:t,get composed(){throw new Error("Not implemented")}}}$e(Mf,"defineStory");function Mr(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}$e(Mr,"isStory");var Ks=$e(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Tf=$e((e,t)=>{let r=Ks(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),Nf=$e((e,t)=>`${Tf(e,"kind")}${t?`--${Tf(t,"name")}`:""}`,"toId"),jf=$e(e=>Pf(e),"storyNameFromExport");function Ys(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}$e(Ys,"matches");function sn(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Ys(e,t))&&(!r||!Ys(e,r))}$e(sn,"isExportStory");var If=$e((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags");var w2=Object.create,yl=Object.defineProperty,C2=Object.getOwnPropertyDescriptor,S2=Object.getOwnPropertyNames,A2=Object.getPrototypeOf,T2=Object.prototype.hasOwnProperty,O=(e,t)=>yl(e,"name",{value:t,configurable:!0}),sa=(e=>typeof _e<"u"?_e:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof _e<"u"?_e:t)[r]}):e)(function(e){if(typeof _e<"u")return _e.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ye=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),P2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of S2(t))!T2.call(e,o)&&o!==r&&yl(e,o,{get:()=>t[o],enumerable:!(n=C2(t,o))||n.enumerable});return e},pn=(e,t,r)=>(r=e!=null?w2(A2(e)):{},P2(t||!e||!e.__esModule?yl(r,"default",{value:e,enumerable:!0}):r,e)),Xf=Ye((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return O(function a(i,s,l){function c(m,p){if(!s[m]){if(!i[m]){var h=typeof sa=="function"&&sa;if(!p&&h)return h(m,!0);if(u)return u(m,!0);var g=new Error("Cannot find module '"+m+"'");throw g.code="MODULE_NOT_FOUND",g}var y=s[m]={exports:{}};i[m][0].call(y.exports,function(b){var v=i[m][1][b];return c(v||b)},y,y.exports,a,i,s,l)}return s[m].exports}O(c,"s");for(var u=typeof sa=="function"&&sa,d=0;d<l.length;d++)c(l[d]);return c},"e")({1:[function(a,i,s){i.exports=function(l){if(typeof Map!="function"||l){var c=a("./similar");return new c}else return new Map}},{"./similar":2}],2:[function(a,i,s){function l(){return this.list=[],this.lastItem=void 0,this.size=0,this}O(l,"Similar"),l.prototype.get=function(c){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,c))return this.lastItem.val;if(u=this.indexOf(c),u>=0)return this.lastItem=this.list[u],this.list[u].val},l.prototype.set=function(c,u){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=u,this):(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],this.list[d].val=u,this):(this.lastItem={key:c,val:u},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(c){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),u=this.indexOf(c),u>=0)return this.size--,this.list.splice(u,1)[0]},l.prototype.has=function(c){var u;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(u=this.indexOf(c),u>=0?(this.lastItem=this.list[u],!0):!1)},l.prototype.forEach=function(c,u){var d;for(d=0;d<this.size;d++)c.call(u||this,this.list[d].val,this.list[d].key,this)},l.prototype.indexOf=function(c){var u;for(u=0;u<this.size;u++)if(this.isEqual(this.list[u].key,c))return u;return-1},l.prototype.isEqual=function(c,u){return c===u||c!==c&&u!==u},i.exports=l},{}],3:[function(a,i,s){var l=a("map-or-similar");i.exports=function(m){var p=new l(!1),h=[];return function(g){var y=O(function(){var b=p,v,C,S=arguments.length-1,A=Array(S+1),_=!0,E;if((y.numArgs||y.numArgs===0)&&y.numArgs!==S+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(E=0;E<S;E++){if(A[E]={cacheItem:b,arg:arguments[E]},b.has(arguments[E])){b=b.get(arguments[E]);continue}_=!1,v=new l(!1),b.set(arguments[E],v),b=v}return _&&(b.has(arguments[S])?C=b.get(arguments[S]):_=!1),_||(C=g.apply(null,arguments),b.set(arguments[S],C)),m>0&&(A[S]={cacheItem:b,arg:arguments[S]},_?c(h,A):h.push(A),h.length>m&&u(h.shift())),y.wasMemoized=_,y.numArgs=S+1,C},"memoizerific");return y.limit=m,y.wasMemoized=!1,y.cache=p,y.lru=h,y}};function c(m,p){var h=m.length,g=p.length,y,b,v;for(b=0;b<h;b++){for(y=!0,v=0;v<g;v++)if(!d(m[b][v].arg,p[v].arg)){y=!1;break}if(y)break}m.push(m.splice(b,1)[0])}O(c,"moveToMostRecentLru");function u(m){var p=m.length,h=m[p-1],g,y;for(h.cacheItem.delete(h.arg),y=p-2;y>=0&&(h=m[y],g=h.cacheItem.get(h.arg),!g||!g.size);y--)h.cacheItem.delete(h.arg)}O(u,"removeCachedResult");function d(m,p){return m===p||m!==m&&p!==p}O(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Jf=Ye(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,a)=>"%"+((a<16?"0":"")+a.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let a=o.length;if(a===0)return"";let i="",s=0,l=0;e:for(;l<a;l++){let c=o.charCodeAt(l);for(;c<128;){if(r[c]!==1&&(s<l&&(i+=o.slice(s,l)),s=l+1,i+=t[c]),++l===a)break e;c=o.charCodeAt(l)}if(s<l&&(i+=o.slice(s,l)),c<2048){s=l+1,i+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){s=l+1,i+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++l,l>=a)throw new Error("URI malformed");let u=o.charCodeAt(l)&1023;s=l+1,c=65536+((c&1023)<<10|u),i+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return s===0?o:s<a?i+o.slice(s):i}O(n,"encodeString")}),bl=Ye(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Jf(),r=O(a=>{switch(typeof a){case"string":return(0,t.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,t.encodeString)(""+a);break}return a instanceof Date?(0,t.encodeString)(a.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=O(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=O(a=>a,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Qf=Ye(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=u;var t=bl(),r=Jf();function n(d){return d==="__proto__"||d==="constructor"||d==="prototype"}O(n,"isPrototypeKey");function o(d,m,p,h,g){if(n(m))return d;let y=d[m];return typeof y=="object"&&y!==null?y:!h&&(g||typeof p=="number"||typeof p=="string"&&p*0===0&&p.indexOf(".")===-1)?d[m]=[]:d[m]={}}O(o,"getDeepObject");var a=20,i="[]",s="[",l="]",c=".";function u(d,m,p=0,h,g){let{nestingSyntax:y=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:C=t.defaultOptions.nesting,delimiter:S=t.defaultOptions.delimiter,valueSerializer:A=t.defaultOptions.valueSerializer,shouldSerializeObject:_=t.defaultOptions.shouldSerializeObject}=m,E=typeof S=="number"?String.fromCharCode(S):S,R=g===!0&&b,P=y==="dot"||y==="js"&&!g;if(p>a)return"";let N="",B=!0,j=!1;for(let F in d){let T=d[F],M;h?(M=h,R?v==="bracket"&&(M+=i):P?(M+=c,M+=F):(M+=s,M+=F,M+=l)):M=F,B||(N+=E),typeof T=="object"&&T!==null&&!_(T)?(j=T.pop!==void 0,(C||b&&j)&&(N+=u(T,m,p+1,M,j))):(N+=(0,r.encodeString)(M),N+="=",N+=A(T,F)),B&&(B=!1)}return N}O(u,"stringifyObject")}),O2=Ye((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(l){var c=l.indexOf("%");if(c===-1)return l;for(var u=l.length,d="",m=0,p=0,h=c,g=r;c>-1&&c<u;){var y=s(l[c+1],4),b=s(l[c+2],0),v=y|b,C=o[v];if(g=o[256+g+C],p=p<<6|v&o[364+C],g===r)d+=l.slice(m,h),d+=p<=65535?String.fromCharCode(p):String.fromCharCode(55232+(p>>10),56320+(p&1023)),p=0,m=c+3,c=h=l.indexOf("%",m);else{if(g===n)return null;if(c+=3,c<u&&l.charCodeAt(c)===37)continue;return null}}return d+l.slice(m)}O(a,"decodeURIComponent");var i={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function s(l,c){var u=i[l];return u===void 0?255:u<<c}O(s,"hexCodeToInt"),t.exports=a}),q2=Ye(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=u;var r=Qf(),n=bl(),o=t(O2()),a=O(d=>{let m=Number(d);return Number.isNaN(m)?d:m},"numberKeyDeserializer");e.numberKeyDeserializer=a;var i=O(d=>{let m=Number(d);return Number.isNaN(m)?d:m},"numberValueDeserializer");e.numberValueDeserializer=i;var s=/\+/g,l=O(function(){},"Empty");l.prototype=Object.create(null);function c(d,m,p,h,g){let y=d.substring(m,p);return h&&(y=y.replace(s," ")),g&&(y=(0,o.default)(y)||y),y}O(c,"computeKeySlice");function u(d,m){let{valueDeserializer:p=n.defaultOptions.valueDeserializer,keyDeserializer:h=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:g=n.defaultOptions.arrayRepeatSyntax,nesting:y=n.defaultOptions.nesting,arrayRepeat:b=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:C=n.defaultOptions.delimiter}=m??{},S=typeof C=="string"?C.charCodeAt(0):C,A=v==="js",_=new l;if(typeof d!="string")return _;let E=d.length,R="",P=-1,N=-1,B=-1,j=_,F,T="",M="",D=!1,Y=!1,G=!1,Q=!1,ne=!1,te=!1,H=!1,U=0,z=-1,X=-1,W=-1;for(let ee=0;ee<E+1;ee++){if(U=ee!==E?d.charCodeAt(ee):S,U===S){if(H=N>P,H||(N=ee),B!==N-1&&(M=c(d,B+1,z>-1?z:N,G,D),T=h(M),F!==void 0&&(j=(0,r.getDeepObject)(j,F,T,A&&ne,A&&te))),H||T!==""){H&&(R=d.slice(N+1,ee),Q&&(R=R.replace(s," ")),Y&&(R=(0,o.default)(R)||R));let le=p(R,T);if(b){let ze=j[T];ze===void 0?z>-1?j[T]=[le]:j[T]=le:ze.pop?ze.push(le):j[T]=[ze,le]}else j[T]=le}R="",P=ee,N=ee,D=!1,Y=!1,G=!1,Q=!1,ne=!1,te=!1,z=-1,B=ee,j=_,F=void 0,T=""}else U===93?(b&&g==="bracket"&&W===91&&(z=X),y&&(v==="index"||A)&&N<=P&&(B!==X&&(M=c(d,B+1,ee,G,D),T=h(M),F!==void 0&&(j=(0,r.getDeepObject)(j,F,T,void 0,A)),F=T,G=!1,D=!1),B=ee,te=!0,ne=!1)):U===46?y&&(v==="dot"||A)&&N<=P&&(B!==X&&(M=c(d,B+1,ee,G,D),T=h(M),F!==void 0&&(j=(0,r.getDeepObject)(j,F,T,A)),F=T,G=!1,D=!1),ne=!0,te=!1,B=ee):U===91?y&&(v==="index"||A)&&N<=P&&(B!==X&&(M=c(d,B+1,ee,G,D),T=h(M),A&&F!==void 0&&(j=(0,r.getDeepObject)(j,F,T,A)),F=T,G=!1,D=!1,ne=!1,te=!0),B=ee):U===61?N<=P?N=ee:Y=!0:U===43?N>P?Q=!0:G=!0:U===37&&(N>P?Y=!0:D=!0);X=ee,W=U}return _}O(u,"parse")}),x2=Ye(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Qf();function r(n,o){if(n===null||typeof n!="object")return"";let a=o??{};return(0,t.stringifyObject)(n,a)}O(r,"stringify")}),gl=Ye(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,i,s,l){l===void 0&&(l=s);var c=Object.getOwnPropertyDescriptor(i,s);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:O(function(){return i[s]},"get")}),Object.defineProperty(a,l,c)}:function(a,i,s,l){l===void 0&&(l=s),a[l]=i[s]}),r=e&&e.__exportStar||function(a,i){for(var s in a)s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s)&&t(i,a,s)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=q2();Object.defineProperty(e,"parse",{enumerable:!0,get:O(function(){return n.parse},"get")});var o=x2();Object.defineProperty(e,"stringify",{enumerable:!0,get:O(function(){return o.stringify},"get")}),r(bl(),e)}),Zf=Ye((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
164
|
+
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),M2=Ye((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),em=Ye((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),N2=Ye((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),j2=Ye(e=>{"use strict";var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(N2()),n=String.fromCodePoint||function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}O(o,"decodeCodePoint"),e.default=o}),Df=Ye(e=>{"use strict";var t=e&&e.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Zf()),n=t(M2()),o=t(em()),a=t(j2()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(u){var d=c(u);return function(m){return String(m).replace(i,d)}}O(s,"getStrictDecoder");var l=O(function(u,d){return u<d?1:-1},"sorter");e.decodeHTML=(function(){for(var u=Object.keys(n.default).sort(l),d=Object.keys(r.default).sort(l),m=0,p=0;m<d.length;m++)u[p]===d[m]?(d[m]+=";?",p++):d[m]+=";";var h=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),g=c(r.default);function y(b){return b.substr(-1)!==";"&&(b+=";"),g(b)}return O(y,"replacer"),function(b){return String(b).replace(h,y)}})();function c(u){return O(function(d){if(d.charAt(1)==="#"){var m=d.charAt(2);return m==="X"||m==="x"?a.default(parseInt(d.substr(3),16)):a.default(parseInt(d.substr(2),10))}return u[d.slice(1,-1)]||d},"replace")}O(c,"getReplacer")}),Ff=Ye(e=>{"use strict";var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(em()),n=l(r.default),o=c(n);e.encodeXML=b(n);var a=t(Zf()),i=l(a.default),s=c(i);e.encodeHTML=p(i,s),e.encodeNonAsciiHTML=b(i);function l(v){return Object.keys(v).sort().reduce(function(C,S){return C[v[S]]="&"+S+";",C},{})}O(l,"getInverseObj");function c(v){for(var C=[],S=[],A=0,_=Object.keys(v);A<_.length;A++){var E=_[A];E.length===1?C.push("\\"+E):S.push(E)}C.sort();for(var R=0;R<C.length-1;R++){for(var P=R;P<C.length-1&&C[P].charCodeAt(1)+1===C[P+1].charCodeAt(1);)P+=1;var N=1+P-R;N<3||C.splice(R,N,C[R]+"-"+C[P])}return S.unshift("["+C.join("")+"]"),new RegExp(S.join("|"),"g")}O(c,"getInverseReplacer");var u=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?(function(v){return v.codePointAt(0)}):(function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536});function m(v){return"&#x"+(v.length>1?d(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}O(m,"singleCharReplacer");function p(v,C){return function(S){return S.replace(C,function(A){return v[A]}).replace(u,m)}}O(p,"getInverse");var h=new RegExp(o.source+"|"+u.source,"g");function g(v){return v.replace(h,m)}O(g,"escape"),e.escape=g;function y(v){return v.replace(o,m)}O(y,"escapeUTF8"),e.escapeUTF8=y;function b(v){return function(C){return C.replace(h,function(S){return v[S]||m(S)})}}O(b,"getASCIIEncoder")}),I2=Ye(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=Df(),r=Ff();function n(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(l)}O(n,"decode"),e.decode=n;function o(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(l)}O(o,"decodeStrict"),e.decodeStrict=o;function a(l,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(l)}O(a,"encode"),e.encode=a;var i=Ff();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:O(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:O(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:O(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:O(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:O(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:O(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:O(function(){return i.encodeHTML},"get")});var s=Df();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:O(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:O(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:O(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:O(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:O(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:O(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:O(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:O(function(){return s.decodeXML},"get")})}),D2=Ye((e,t)=>{"use strict";function r(T,M){if(!(T instanceof M))throw new TypeError("Cannot call a class as a function")}O(r,"_classCallCheck");function n(T,M){for(var D=0;D<M.length;D++){var Y=M[D];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(T,Y.key,Y)}}O(n,"_defineProperties");function o(T,M,D){return M&&n(T.prototype,M),D&&n(T,D),T}O(o,"_createClass");function a(T,M){var D=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!D){if(Array.isArray(T)||(D=i(T))||M&&T&&typeof T.length=="number"){D&&(T=D);var Y=0,G=O(function(){},"F");return{s:G,n:O(function(){return Y>=T.length?{done:!0}:{done:!1,value:T[Y++]}},"n"),e:O(function(H){throw H},"e"),f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
165
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Q=!0,ne=!1,te;return{s:O(function(){D=D.call(T)},"s"),n:O(function(){var H=D.next();return Q=H.done,H},"n"),e:O(function(H){ne=!0,te=H},"e"),f:O(function(){try{!Q&&D.return!=null&&D.return()}finally{if(ne)throw te}},"f")}}O(a,"_createForOfIteratorHelper");function i(T,M){if(T){if(typeof T=="string")return s(T,M);var D=Object.prototype.toString.call(T).slice(8,-1);if(D==="Object"&&T.constructor&&(D=T.constructor.name),D==="Map"||D==="Set")return Array.from(T);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return s(T,M)}}O(i,"_unsupportedIterableToArray");function s(T,M){(M==null||M>T.length)&&(M=T.length);for(var D=0,Y=new Array(M);D<M;D++)Y[D]=T[D];return Y}O(s,"_arrayLikeToArray");var l=I2(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:u()};function u(){var T={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return v(0,5).forEach(function(M){v(0,5).forEach(function(D){v(0,5).forEach(function(Y){return d(M,D,Y,T)})})}),v(0,23).forEach(function(M){var D=M+232,Y=m(M*10+8);T[D]="#"+Y+Y+Y}),T}O(u,"getDefaultColors");function d(T,M,D,Y){var G=16+T*36+M*6+D,Q=T>0?T*40+55:0,ne=M>0?M*40+55:0,te=D>0?D*40+55:0;Y[G]=p([Q,ne,te])}O(d,"setStyleColor");function m(T){for(var M=T.toString(16);M.length<2;)M="0"+M;return M}O(m,"toHexString");function p(T){var M=[],D=a(T),Y;try{for(D.s();!(Y=D.n()).done;){var G=Y.value;M.push(m(G))}}catch(Q){D.e(Q)}finally{D.f()}return"#"+M.join("")}O(p,"toColorHexString");function h(T,M,D,Y){var G;return M==="text"?G=A(D,Y):M==="display"?G=y(T,D,Y):M==="xterm256Foreground"?G=R(T,Y.colors[D]):M==="xterm256Background"?G=P(T,Y.colors[D]):M==="rgb"&&(G=g(T,D)),G}O(h,"generateOutput");function g(T,M){M=M.substring(2).slice(0,-1);var D=+M.substr(0,2),Y=M.substring(5).split(";"),G=Y.map(function(Q){return("0"+Number(Q).toString(16)).substr(-2)}).join("");return E(T,(D===38?"color:#":"background-color:#")+G)}O(g,"handleRgb");function y(T,M,D){M=parseInt(M,10);var Y={"-1":O(function(){return"<br/>"},"_"),0:O(function(){return T.length&&b(T)},"_"),1:O(function(){return _(T,"b")},"_"),3:O(function(){return _(T,"i")},"_"),4:O(function(){return _(T,"u")},"_"),8:O(function(){return E(T,"display:none")},"_"),9:O(function(){return _(T,"strike")},"_"),22:O(function(){return E(T,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:O(function(){return N(T,"i")},"_"),24:O(function(){return N(T,"u")},"_"),39:O(function(){return R(T,D.fg)},"_"),49:O(function(){return P(T,D.bg)},"_"),53:O(function(){return E(T,"text-decoration:overline")},"_")},G;return Y[M]?G=Y[M]():4<M&&M<7?G=_(T,"blink"):29<M&&M<38?G=R(T,D.colors[M-30]):39<M&&M<48?G=P(T,D.colors[M-40]):89<M&&M<98?G=R(T,D.colors[8+(M-90)]):99<M&&M<108&&(G=P(T,D.colors[8+(M-100)])),G}O(y,"handleDisplay");function b(T){var M=T.slice(0);return T.length=0,M.reverse().map(function(D){return"</"+D+">"}).join("")}O(b,"resetStyles");function v(T,M){for(var D=[],Y=T;Y<=M;Y++)D.push(Y);return D}O(v,"range");function C(T){return function(M){return(T===null||M.category!==T)&&T!=="all"}}O(C,"notCategory");function S(T){T=parseInt(T,10);var M=null;return T===0?M="all":T===1?M="bold":2<T&&T<5?M="underline":4<T&&T<7?M="blink":T===8?M="hide":T===9?M="strike":29<T&&T<38||T===39||89<T&&T<98?M="foreground-color":(39<T&&T<48||T===49||99<T&&T<108)&&(M="background-color"),M}O(S,"categoryForCode");function A(T,M){return M.escapeXML?l.encodeXML(T):T}O(A,"pushText");function _(T,M,D){return D||(D=""),T.push(M),"<".concat(M).concat(D?' style="'.concat(D,'"'):"",">")}O(_,"pushTag");function E(T,M){return _(T,"span",M)}O(E,"pushStyle");function R(T,M){return _(T,"span","color:"+M)}O(R,"pushForegroundColor");function P(T,M){return _(T,"span","background-color:"+M)}O(P,"pushBackgroundColor");function N(T,M){var D;if(T.slice(-1)[0]===M&&(D=T.pop()),D)return"</"+M+">"}O(N,"closeTag");function B(T,M,D){var Y=!1,G=3;function Q(){return""}O(Q,"remove");function ne(me,be){return D("xterm256Foreground",be),""}O(ne,"removeXterm256Foreground");function te(me,be){return D("xterm256Background",be),""}O(te,"removeXterm256Background");function H(me){return M.newline?D("display",-1):D("text",me),""}O(H,"newline");function U(me,be){Y=!0,be.trim().length===0&&(be="0"),be=be.trimRight(";").split(";");var qe=a(be),it;try{for(qe.s();!(it=qe.n()).done;){var Gn=it.value;D("display",Gn)}}catch(Yn){qe.e(Yn)}finally{qe.f()}return""}O(U,"ansiMess");function z(me){return D("text",me),""}O(z,"realText");function X(me){return D("rgb",me),""}O(X,"rgb");var W=[{pattern:/^\x08+/,sub:Q},{pattern:/^\x1b\[[012]?K/,sub:Q},{pattern:/^\x1b\[\(B/,sub:Q},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:X},{pattern:/^\x1b\[38;5;(\d+)m/,sub:ne},{pattern:/^\x1b\[48;5;(\d+)m/,sub:te},{pattern:/^\n/,sub:H},{pattern:/^\r+\n/,sub:H},{pattern:/^\r/,sub:H},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:U},{pattern:/^\x1b\[\d?J/,sub:Q},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Q},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Q},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:z}];function ee(me,be){be>G&&Y||(Y=!1,T=T.replace(me.pattern,me.sub))}O(ee,"process");var le=[],ze=T,L=ze.length;e:for(;L>0;){for(var J=0,Z=0,pe=W.length;Z<pe;J=++Z){var ce=W[J];if(ee(ce,J),T.length!==L){L=T.length;continue e}}if(T.length===L)break;le.push(0),L=T.length}return le}O(B,"tokenize");function j(T,M,D){return M!=="text"&&(T=T.filter(C(S(D))),T.push({token:M,data:D,category:S(D)})),T}O(j,"updateStickyStack");var F=(function(){function T(M){r(this,T),M=M||{},M.colors&&(M.colors=Object.assign({},c.colors,M.colors)),this.options=Object.assign({},c,M),this.stack=[],this.stickyStack=[]}return O(T,"Filter"),o(T,[{key:"toHtml",value:O(function(M){var D=this;M=typeof M=="string"?[M]:M;var Y=this.stack,G=this.options,Q=[];return this.stickyStack.forEach(function(ne){var te=h(Y,ne.token,ne.data,G);te&&Q.push(te)}),B(M.join(""),G,function(ne,te){var H=h(Y,ne,te,G);H&&Q.push(H),G.stream&&(D.stickyStack=j(D.stickyStack,ne,te))}),Y.length&&Q.push(b(Y)),Q.join("")},"toHtml")}]),T})();t.exports=F}),Ue=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();function tm(){let e={setHandler:O(()=>{},"setHandler"),send:O(()=>{},"send")};return new an({transport:e})}O(tm,"mockChannel");var rm=class{constructor(){this.getChannel=O(()=>{if(!this.channel){let t=tm();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=O(()=>this.promise,"ready"),this.hasChannel=O(()=>!!this.channel,"hasChannel"),this.setChannel=O(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};O(rm,"AddonStore");var F2=rm,Xs="__STORYBOOK_ADDONS_PREVIEW";function nm(){return Ue[Xs]||(Ue[Xs]=new F2),Ue[Xs]}O(nm,"getAddonsStore");var Ut=nm();function L2(e){return e}O(L2,"definePreview");var om=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=O(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Ut.getChannel().on(nn,this.renderListener)}removeRenderListeners(){Ut.getChannel().removeListener(nn,this.renderListener)}};O(om,"HooksContext");var am=om;function nl(e){let t=O((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,s=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let l=Ue.STORYBOOK_HOOKS_CONTEXT;Ue.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(Ue.STORYBOOK_HOOKS_CONTEXT=l,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=a,n.nextHookIndex=i,n.currentDecoratorName=s,c},"hookified");return t.originalFn=e,t}O(nl,"hookify");var Js=0,B2=25,k2=O(e=>(t,r)=>{let n=e(nl(t),r.map(o=>nl(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??(a.prevMountedDecorators=new Set),a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Js=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Js+=1,Js>B2)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),$2=O((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),vl=O(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function El(){return Ue.STORYBOOK_HOOKS_CONTEXT||null}O(El,"getHooksContextOrNull");function ya(){let e=El();if(e==null)throw vl();return e}O(ya,"getHooksContextOrThrow");function im(e,t,r){let n=ya();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&ue.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&ue.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&ue.warn(`${e} 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.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&ue.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
166
|
+
Previous: ${o.deps}
|
|
167
|
+
Incoming: ${r}`),(r==null||o.deps==null||!$2(r,o.deps))&&(t(o),o.deps=r),o}throw vl()}O(im,"useHook");function ao(e,t,r){let{memoizedState:n}=im(e,o=>{o.memoizedState=t()},r);return n}O(ao,"useMemoLike");function U2(e,t){return ao("useMemo",e,t)}O(U2,"useMemo");function oo(e,t){return ao("useCallback",()=>e,t)}O(oo,"useCallback");function _l(e,t){return ao(e,()=>({current:t}),[])}O(_l,"useRefLike");function H2(e){return _l("useRef",e)}O(H2,"useRef");function sm(){let e=El();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Ut.getChannel().emit(Kn)}catch{ue.warn("State updates of Storybook preview hooks work only in browser")}}O(sm,"triggerUpdate");function Rl(e,t){let r=_l(e,typeof t=="function"?t():t),n=O(o=>{r.current=typeof o=="function"?o(r.current):o,sm()},"setState");return[r.current,n]}O(Rl,"useStateLike");function V2(e){return Rl("useState",e)}O(V2,"useState");function z2(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=Rl("useReducer",n);return[o,O(i=>a(s=>e(s,i)),"dispatch")]}O(z2,"useReducer");function lm(e,t){let r=ya(),n=ao("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}O(lm,"useEffect");function G2(e,t=[]){let r=Ut.getChannel();return lm(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),oo(r.emit.bind(r),[r])}O(G2,"useChannel");function ba(){let{currentContext:e}=ya();if(e==null)throw vl();return e}O(ba,"useStoryContext");function Y2(e,t){let{parameters:r}=ba();if(e)return r[e]??t}O(Y2,"useParameter");function W2(){let e=Ut.getChannel(),{id:t,args:r}=ba(),n=oo(a=>e.emit(Zn,{storyId:t,updatedArgs:a}),[e,t]),o=oo(a=>e.emit(Xn,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}O(W2,"useArgs");function K2(){let e=Ut.getChannel(),{globals:t}=ba(),r=oo(n=>e.emit(Qn,{globals:n}),[e]);return[t,r]}O(K2,"useGlobals");function Ge(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(u){var d,m;return(m=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&m!==void 0?m:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
168
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
169
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,l){var c=i.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
170
|
+
`)&&(d=String(s).split(`
|
|
171
|
+
`).map(function(m,p){return p===0?m:""+u+m}).join(`
|
|
172
|
+
`)),i+=d+n[l+1]}),i}O(Ge,"dedent");var X2=Ge,Lf=new Map,J2="UNIVERSAL_STORE:",yt={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},sr=class ae{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=O(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=O((n,o)=>{let a=typeof n=="function",i=a?"*":n,s=a?n:o;if(this.debug("subscribe",{eventType:i,listener:s}),!s)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(s),()=>{this.debug("unsubscribe",{eventType:i,listener:s}),this.listeners.has(i)&&(this.listeners.get(i).delete(s),this.listeners.get(i)?.size===0&&this.listeners.delete(i))}},"subscribe"),this.send=O(n=>{if(this.debug("send",{event:n}),this.status!==ae.Status.READY)throw new TypeError(Ge`Cannot send event before store is ready. You can get the current status with store.status,
|
|
173
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
174
|
+
${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!ae.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(ae.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?ae.ActorType.LEADER:ae.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${J2}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===ae.ActorType.LEADER)this.syncing={state:yt.RESOLVED,promise:Promise.resolve()};else{let n,o,a=new Promise((i,s)=>{n=O(()=>{this.syncing.state===yt.PENDING&&(this.syncing.state=yt.RESOLVED,i())},"syncingResolve"),o=O(l=>{this.syncing.state===yt.PENDING&&(this.syncing.state=yt.REJECTED,s(l))},"syncingReject")});this.syncing={state:yt.PENDING,promise:a,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??ae.preparation.channel,this.environment=r?.environment??ae.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):ae.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,a)=>{t=O(i=>{o(i)},"resolveRef"),r=O((...i)=>{a(i)},"rejectRef")});ae.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??ae.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return ae.Status.UNPREPARED;switch(this.syncing?.state){case yt.PENDING:case void 0:return ae.Status.SYNCING;case yt.REJECTED:return ae.Status.ERROR;case yt.RESOLVED:default:return ae.Status.READY}}untilReady(){return Promise.all([ae.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(Ge`[UniversalStore]
|
|
175
|
+
create`,{options:t});let r=Lf.get(t.id);if(r)return console.warn(Ge`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
176
|
+
You should reuse the existing instance instead of trying to create a new one.`),r;ae.isInternalConstructing=!0;let n=new ae(t);return Lf.set(t.id,n),n}static __prepare(t,r){ae.preparation.channel=t,ae.preparation.environment=r,ae.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==ae.Status.READY)throw new TypeError(Ge`Cannot set state before store is ready. You can get the current status with store.status,
|
|
177
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
178
|
+
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:ae.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(ae.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===ae.ActorType.LEADER?this.emitToChannel({type:ae.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:ae.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:ae.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(a=>a(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===yt.PENDING&&r.type!==ae.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===ae.ActorType.LEADER){let o=!0;switch(r.type){case ae.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let a={type:ae.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:a}),this.emitToChannel(a,{actor:this.actor});break;case ae.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=yt.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(Ge`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
179
|
+
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
180
|
+
Leaders detected:
|
|
181
|
+
this: ${JSON.stringify(this.actor,null,2)}
|
|
182
|
+
other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===ae.ActorType.FOLLOWER)switch(r.type){case ae.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==yt.PENDING)break;this.syncing.resolve?.();let o={type:ae.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case ae.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(Ge`[UniversalStore::${this.id}::${this.environment??ae.Environment.UNKNOWN}]
|
|
183
|
+
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){ae.preparation.reject(new Error("reset")),ae.setupPreparationPromise(),ae.isInternalConstructing=!1}};O(sr,"UniversalStore"),sr.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},sr.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},sr.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},sr.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},sr.isInternalConstructing=!1,sr.setupPreparationPromise();var la=sr;function um(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[a,i]=n[o];t(i,a)||(r[a]=i)}return r}O(um,"omitBy");function cm(e,t){let r={};for(let n=0;n<t.length;n++){let o=t[n];Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}O(cm,"pick");function dm(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[a,i]=n[o];t(i,a)&&(r[a]=i)}return r}O(dm,"pickBy");function Rt(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(e.toString()!=="[object Object]")return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}O(Rt,"isPlainObject");function Dr(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let a=n[o],i=e[a];r[a]=t(i,a,e)}return r}O(Dr,"mapValues");var Q2="[object RegExp]",Z2="[object String]",eS="[object Number]",tS="[object Boolean]",Bf="[object Arguments]",rS="[object Symbol]",nS="[object Date]",oS="[object Map]",aS="[object Set]",iS="[object Array]",sS="[object Function]",lS="[object ArrayBuffer]",Qs="[object Object]",uS="[object Error]",cS="[object DataView]",dS="[object Uint8Array]",pS="[object Uint8ClampedArray]",fS="[object Uint16Array]",mS="[object Uint32Array]",hS="[object BigUint64Array]",yS="[object Int8Array]",bS="[object Int16Array]",gS="[object Int32Array]",vS="[object BigInt64Array]",ES="[object Float32Array]",_S="[object Float64Array]";function ol(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}O(ol,"getSymbols");function al(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}O(al,"getTag");function pm(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return xt(e,t)}return xt(e,t)}O(pm,"isEqual");function xt(e,t,r){if(Object.is(e,t))return!0;let n=al(e),o=al(t);if(n===Bf&&(n=Qs),o===Bf&&(o=Qs),n!==o)return!1;switch(n){case Z2:return e.toString()===t.toString();case eS:{let s=e.valueOf(),l=t.valueOf();return s===l||Number.isNaN(s)&&Number.isNaN(l)}case tS:case nS:case rS:return Object.is(e.valueOf(),t.valueOf());case Q2:return e.source===t.source&&e.flags===t.flags;case sS:return e===t}r=r??new Map;let a=r.get(e),i=r.get(t);if(a!=null&&i!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(n){case oS:{if(e.size!==t.size)return!1;for(let[s,l]of e.entries())if(!t.has(s)||!xt(l,t.get(s),r))return!1;return!0}case aS:{if(e.size!==t.size)return!1;let s=Array.from(e.values()),l=Array.from(t.values());for(let c=0;c<s.length;c++){let u=s[c],d=l.findIndex(m=>xt(u,m,r));if(d===-1)return!1;l.splice(d,1)}return!0}case iS:case dS:case pS:case fS:case mS:case hS:case yS:case bS:case gS:case vS:case ES:case _S:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let s=0;s<e.length;s++)if(!xt(e[s],t[s],r))return!1;return!0}case lS:return e.byteLength!==t.byteLength?!1:xt(new Uint8Array(e),new Uint8Array(t),r);case cS:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:xt(e.buffer,t.buffer,r);case uS:return e.name===t.name&&e.message===t.message;case Qs:{if(!(xt(e.constructor,t.constructor,r)||Rt(e)&&Rt(t)))return!1;let s=[...Object.keys(e),...ol(e)],l=[...Object.keys(t),...ol(t)];if(s.length!==l.length)return!1;for(let c=0;c<s.length;c++){let u=s[c],d=e[u];if(!Object.prototype.hasOwnProperty.call(t,u))return!1;let m=t[u];if(!xt(d,m,r))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}O(xt,"areObjectsEqual");var RS=class fm extends la{constructor(t,r){la.isInternalConstructing=!0,super({...t,leader:!0},{channel:new an({}),environment:la.Environment.MOCK}),la.isInternalConstructing=!1,typeof r?.fn=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(t,r){return new fm(t,r)}unsubscribeAll(){if(!this.testUtils)throw new Error(X2`Cannot call unsubscribeAll on a store that does not have testUtils.
|
|
184
|
+
Please provide testUtils as the second argument when creating the store.`);let t=O(r=>{try{r.value()}catch{}},"callReturnedUnsubscribeFn");this.subscribe.mock?.results.forEach(t),this.onStateChange.mock?.results.forEach(t)}};O(RS,"MockUniversalStore");var Zs=pn(Xf(),1),un=Symbol("incompatible"),il=O((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?un:e.reduce((n,o,a)=>{let i=il(o,{type:r.value});return i!==un&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?un:Object.entries(e).reduce((n,[o,a])=>{let i=il(a,{type:r.value[o]});return i===un?n:Object.assign(n,{[o]:i})},{});default:return un}},"map"),wS=O((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=il(o,t[n]);return a===un?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),sl=O((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=sl(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Rt(e)||!Rt(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=sl(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),CS=O((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(O(a,"allowArg"),!o)return a();if(!Array.isArray(o))return Ce.error(Ge`
|
|
185
|
+
Invalid argType: '${n}.options' should be an array.
|
|
186
|
+
|
|
187
|
+
More info: https://storybook.js.org/docs/api/arg-types
|
|
188
|
+
`),a();if(o.some(d=>d&&["object","function"].includes(typeof d)))return Ce.error(Ge`
|
|
189
|
+
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
190
|
+
|
|
191
|
+
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
192
|
+
`),a();let i=Array.isArray(e[n]),s=i&&e[n].findIndex(d=>!o.includes(d)),l=i&&s===-1;if(e[n]===void 0||o.includes(e[n])||l)return a();let c=i?`${n}[${s}]`:n,u=o.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return Ce.warn(`Received illegal value for '${c}'. Supported options: ${u}`),r},{}),"validateOptions"),ro=Symbol("Deeply equal"),pa=O((e,t)=>{if(typeof e!=typeof t)return t;if(pm(e,t))return ro;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=pa(e[a],o);return i!==ro&&(n[a]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Rt(e)&&Rt(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=pa(e?.[n],t?.[n]);return o===ro?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),mm="UNTARGETED";function hm({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=mm}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}O(hm,"groupArgsByTarget");function ym(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}O(ym,"deleteUndefined");var bm=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=pa(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==ro&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=CS(r,t.argTypes);this.argsByStoryId[t.id]=sl(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=wS(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=ym({...this.argsByStoryId[t],...r})}};O(bm,"ArgsStore");var SS=bm,gm=O((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),vm=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&pa(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=gm(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==ro&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:ue.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};O(vm,"GlobalsStore");var AS=vm,TS=pn(Xf(),1),PS=(0,TS.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Em=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(a=>a.id.startsWith(t));let{name:n,title:o}=t;return r.find(a=>a.name===n&&a.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new rf({storyId:t});return r}importPathToEntry(t){return PS(this.entries)[t]}};O(Em,"StoryIndexStore");var OS=Em,qS=O(e=>typeof e=="string"?{name:e}:e,"normalizeType"),xS=O(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),MS=O((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=qS(r)),n?a.control=xS(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),fa=O(e=>Dr(e,MS),"normalizeInputTypes"),we=O(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),NS=Ge`
|
|
193
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
|
194
|
+
- StoryFn.story.name => StoryFn.storyName
|
|
195
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
196
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
197
|
+
`;function ma(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(ue.debug("deprecated story",a),Bt(NS));let i=jf(e),s=typeof n!="function"&&n.name||n.storyName||a?.name||i,l=[...we(n.decorators),...we(a?.decorators)],c={...a?.parameters,...n.parameters},u={...a?.args,...n.args},d={...a?.argTypes,...n.argTypes},m=[...we(n.loaders),...we(a?.loaders)],p=[...we(n.beforeEach),...we(a?.beforeEach)],h=[...we(n.experimental_afterEach),...we(a?.experimental_afterEach)],{render:g,play:y,tags:b=[],globals:v={}}=n,C=c.__id||Nf(r.id,i);return{moduleExport:t,id:C,name:s,tags:b,decorators:l,parameters:c,args:u,argTypes:fa(d),loaders:m,beforeEach:p,experimental_afterEach:h,globals:v,...g&&{render:g},...o&&{userStoryFn:o},...y&&{play:y}}}O(ma,"normalizeStory");function ha(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Ks(n||t),...e,title:t,...o&&{argTypes:fa(o)},parameters:{fileName:r,...e.parameters}}}O(ha,"normalizeComponentAnnotations");var jS=O(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&ue.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),IS=O(e=>{let{options:t}=e;t?.storySort&&ue.error("The storySort option parameter can only be set globally")},"checkStorySort"),ua=O(e=>{e&&(jS(e),IS(e))},"checkDisallowedParameters");function _m(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=Object.values(a)[0];if(Mr(i)){let c=ha(i.meta.input,r,t);ua(c.parameters);let u={meta:c,stories:{},moduleExports:e};return Object.keys(a).forEach(d=>{if(sn(d,c)){let m=ma(d,a[d].input,c);ua(m.parameters),u.stories[m.id]=m}}),u.projectAnnotations=i.meta.preview.composed,u}let s=ha(n,r,t);ua(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(a).forEach(c=>{if(sn(c,s)){let u=ma(c,a[c],s);ua(u.parameters),l.stories[u.id]=u}}),l}O(_m,"processCSFFile");function Rm(e){return e!=null&&wm(e).includes("mount")}O(Rm,"mountDestructured");function wm(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=ll(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?ll(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}O(wm,"getUsedProps");function ll(e){let t=[],r=[],n=0;for(let a=0;a<e.length;a++)if(e[a]==="{"||e[a]==="[")r.push(e[a]==="{"?"}":"]");else if(e[a]===r[r.length-1])r.pop();else if(!r.length&&e[a]===","){let i=e.substring(n,a).trim();i&&t.push(i),n=a+1}let o=e.substring(n).trim();return o&&t.push(o),t}O(ll,"splitByComma");function Cm(e,t,r){let n=r(e);return o=>t(n,o)}O(Cm,"decorateStory");function Sm({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:l,...c}={}){return c}O(Sm,"sanitizeStoryContextUpdate");function Am(e,t){let r={},n=O(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Sm(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>Cm(a,i,n),e);return a=>(r.value=a,o(a))}O(Am,"defaultDecorateStory");var Fr=O((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,s])=>{let l=o[i];Array.isArray(s)||typeof l>"u"?o[i]=s:Rt(s)&&Rt(l)?t[i]=!0:typeof s<"u"&&(o[i]=s)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>Rt(i))?n[o]=Fr(...a):n[o]=a[a.length-1]}),n},"combineParameters");function wl(e,t,r){let{moduleExport:n,id:o,name:a}=e||{},i=Cl(e,t,r),s=O(async _=>{let E={};for(let R of[..."__STORYBOOK_TEST_LOADERS__"in Ue&&Array.isArray(Ue.__STORYBOOK_TEST_LOADERS__)?[Ue.__STORYBOOK_TEST_LOADERS__]:[],we(r.loaders),we(t.loaders),we(e.loaders)]){if(_.abortSignal.aborted)return E;let P=await Promise.all(R.map(N=>N(_)));Object.assign(E,...P)}return E},"applyLoaders"),l=O(async _=>{let E=new Array;for(let R of[...we(r.beforeEach),...we(t.beforeEach),...we(e.beforeEach)]){if(_.abortSignal.aborted)return E;let P=await R(_);P&&E.push(P)}return E},"applyBeforeEach"),c=O(async _=>{let E=[...we(r.experimental_afterEach),...we(t.experimental_afterEach),...we(e.experimental_afterEach)].reverse();for(let R of E){if(_.abortSignal.aborted)return;await R(_)}},"applyAfterEach"),u=O(_=>_.originalStoryFn(_.args,_),"undecoratedStoryFn"),{applyDecorators:d=Am,runStep:m}=r,p=[...we(e?.decorators),...we(t?.decorators),...we(r?.decorators)],h=e?.userStoryFn||e?.render||t.render||r.render,g=k2(d)(u,p),y=O(_=>g(_),"unboundStoryFn"),b=e?.play??t?.play,v=Rm(b);if(!h&&!v)throw new wf({id:o});let C=O(_=>async()=>(await _.renderToCanvas(),_.canvas),"defaultMount"),S=e.mount??t.mount??r.mount??C,A=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:h,undecoratedStoryFn:u,unboundStoryFn:y,applyLoaders:s,applyBeforeEach:l,applyAfterEach:c,playFunction:b,runStep:m,mount:S,testingLibraryRender:A,renderToCanvas:r.renderToCanvas,usesMount:v}}O(wl,"prepareStory");function Tm(e,t,r){return{...Cl(void 0,e,t),moduleExport:r}}O(Tm,"prepareMeta");function Cl(e,t,r){let n=["dev","test"],o=Ue.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=If(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),i=Fr(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:s=[],argsEnhancers:l=[]}=r,c=Fr(r.argTypes,t.argTypes,e?.argTypes);if(e){let b=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=b&&b.length>0}let u={...r.args,...t.args,...e?.args},d={...t.globals,...e?.globals},m={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:u,argTypes:c,storyGlobals:d};m.argTypes=s.reduce((b,v)=>v({...m,argTypes:b}),m.argTypes);let p={...u};m.initialArgs=l.reduce((b,v)=>({...b,...v({...m,initialArgs:b})}),p);let{name:h,story:g,...y}=m;return y}O(Cl,"preparePartialAnnotations");function Sl(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Ue.FEATURES?.argTypeTargetsV7){let a=hm(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[mm]||{}}}let n=Object.entries(r.args).reduce((a,[i,s])=>{if(!r.argTypes[i]?.mapping)return a[i]=s,a;let l=O(c=>{let u=r.argTypes[i].mapping;return u&&c in u?u[c]:c},"mappingFn");return a[i]=Array.isArray(s)?s.map(l):l(s),a},{}),o=Object.entries(n).reduce((a,[i,s])=>{let l=r.argTypes[i]||{};return qf(l,n,r.globals)&&(a[i]=s),a},{});return{...r,unmappedArgs:t,args:o}}O(Sl,"prepareContext");var ul=O((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(ue.warn(Ge`
|
|
198
|
+
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
199
|
+
|
|
200
|
+
Consider using the mapping feature or fully custom args:
|
|
201
|
+
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
202
|
+
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
203
|
+
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?ul(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Dr(e,o=>ul(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),Pm=O(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Dr(n,(i,s)=>({name:s,type:ul(i,`${t}.${s}`,new Set)})),a=Dr(r,(i,s)=>({name:s}));return Fr(o,a,r)},"inferArgTypes");Pm.secondPass=!0;var kf=O((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),DS=O((e,t,r)=>!t&&!r?e:e&&dm(e,(n,o)=>{let a=n.name||o.toString();return!!(!t||kf(a,t))&&(!r||!kf(a,r))}),"filterArgTypes"),FS=O((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&ue.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Om=O(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=DS(t,n,o),s=Dr(i,(l,c)=>l?.type&&FS(l,c.toString(),a));return Fr(s,i)},"inferControls");Om.secondPass=!0;function ln({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,experimental_afterEach:i,globals:s,initialGlobals:l,...c}){return s&&Object.keys(s).length>0&&Bt(Ge`
|
|
204
|
+
The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0.
|
|
205
|
+
Please use 'initialGlobals' instead. Learn more:
|
|
206
|
+
|
|
207
|
+
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals
|
|
208
|
+
`),{...e&&{argTypes:fa(e)},...t&&{globalTypes:fa(t)},decorators:we(n),loaders:we(o),beforeEach:we(a),experimental_afterEach:we(i),argTypesEnhancers:[...r||[],Pm,Om],initialGlobals:Fr(l,s),...c}}O(ln,"normalizeProjectAnnotations");var LS=O(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function qm(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}O(qm,"composeStepRunners");function dn(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}O(dn,"getField");function $t(e,t,r={}){return dn(e,t).reduce((n,o)=>{let a=we(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}O($t,"getArrayField");function cn(e,t){return Object.assign({},...dn(e,t))}O(cn,"getObjectField");function jr(e,t){return dn(e,t).pop()}O(jr,"getSingletonField");function Nr(e){let t=$t(e,"argTypesEnhancers"),r=dn(e,"runStep"),n=$t(e,"beforeAll");return{parameters:Fr(...dn(e,"parameters")),decorators:$t(e,"decorators",{reverseFileOrder:!(Ue.FEATURES?.legacyDecoratorFileOrder??!1)}),args:cn(e,"args"),argsEnhancers:$t(e,"argsEnhancers"),argTypes:cn(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:cn(e,"globals"),initialGlobals:cn(e,"initialGlobals"),globalTypes:cn(e,"globalTypes"),loaders:$t(e,"loaders"),beforeAll:LS(n),beforeEach:$t(e,"beforeEach"),experimental_afterEach:$t(e,"experimental_afterEach"),render:jr(e,"render"),renderToCanvas:jr(e,"renderToCanvas"),renderToDOM:jr(e,"renderToDOM"),applyDecorators:jr(e,"applyDecorators"),runStep:qm(r),tags:$t(e,"tags"),mount:jr(e,"mount"),testingLibraryRender:jr(e,"testingLibraryRender")}}O(Nr,"composeConfigs");var xm=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};O(xm,"ReporterAPI");var Mm=xm;function Nm(e,t,r){return Mr(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}O(Nm,"getCsfFactoryAnnotations");function BS(e){globalThis.defaultProjectAnnotations=e}O(BS,"setDefaultProjectAnnotations");var kS="ComposedStory",$S="Unnamed Story";function jm(e){return e?Nr([e]):{}}O(jm,"extractAnnotation");function US(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Nr([globalThis.defaultProjectAnnotations??{},Nr(t.map(jm))]),globalThis.globalProjectAnnotations??{}}O(US,"setProjectAnnotations");var lr=[];function Im(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??kS;let a=ha(t),i=o||e.storyName||e.story?.name||e.name||$S,s=ma(i,e,a),l=ln(Nr([n??globalThis.globalProjectAnnotations??{},r??{}])),c=wl(s,a,l),u={...gm(l.globalTypes),...l.initialGlobals,...c.storyGlobals},d=new Mm,m=O(()=>{let b=Sl({hooks:new am,globals:u,args:{...c.initialArgs},viewMode:"story",reporting:d,loaded:{},abortSignal:new AbortController().signal,step:O((v,C)=>c.runStep(v,C,b),"step"),canvasElement:null,canvas:{},globalTypes:l.globalTypes,...c,context:null,mount:null});return b.parameters.__isPortableStory=!0,b.context=b,c.renderToCanvas&&(b.renderToCanvas=async()=>{let v=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:O(()=>{},"showMain"),showError:O(C=>{throw new Error(`${C.title}
|
|
209
|
+
${C.description}`)},"showError"),showException:O(C=>{throw C},"showException"),forceRemount:!0,storyContext:b,storyFn:O(()=>c.unboundStoryFn(b),"storyFn"),unboundStoryFn:c.unboundStoryFn},b.canvasElement);v&&lr.push(v)}),b.mount=c.mount(b),b},"initializeContext"),p,h=O(async b=>{let v=m();return v.canvasElement??(v.canvasElement=globalThis?.document?.body),p&&(v.loaded=p.loaded),Object.assign(v,b),c.playFunction(v)},"play"),g=O(b=>{let v=m();return Object.assign(v,b),Dm(c,v)},"run"),y=c.playFunction?h:void 0;return Object.assign(O(function(b){let v=m();return p&&(v.loaded=p.loaded),v.args={...v.initialArgs,...b},c.unboundStoryFn(v)},"storyFn"),{id:c.id,storyName:i,load:O(async()=>{for(let v of[...lr].reverse())await v();lr.length=0;let b=m();b.loaded=await c.applyLoaders(b),lr.push(...(await c.applyBeforeEach(b)).filter(Boolean)),p=b},"load"),globals:u,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:y,run:g,reporting:d,tags:c.tags})}O(Im,"composeStory");var HS=O((e,t,r,n)=>Im(e,t,r,{},n),"defaultComposeStory");function VS(e,t,r=HS){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e,s=n;return Object.entries(i).reduce((l,[c,u])=>{let{story:d,meta:m}=Nm(u);return!s&&m&&(s=m),sn(c,s)?Object.assign(l,{[c]:r(d,s,t,c)}):l},{})}O(VS,"composeStories");function zS(e){return e.extend({mount:O(async({mount:t,page:r},n)=>{await n(async(o,...a)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(Ge`
|
|
210
|
+
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
211
|
+
Please use JSX format for your components such as:
|
|
212
|
+
|
|
213
|
+
instead of:
|
|
214
|
+
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
215
|
+
|
|
216
|
+
do:
|
|
217
|
+
await mount(<MyComponent foo="bar"/>)
|
|
218
|
+
|
|
219
|
+
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
220
|
+
`);await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s);return("__pw_type"in l?l.type:l)?.load?.()},o);let i=await t(o,...a);return await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s),c="__pw_type"in l?l.type:l,u=document.querySelector("#root");return c?.play?.({canvasElement:u})},o),i})},"mount")})}O(zS,"createPlaywrightTest");async function Dm(e,t){for(let o of[...lr].reverse())await o();if(lr.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,lr.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;lr.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&(r&&(n||(t.mount=async()=>{throw new ia({playFunction:r.toString()})}),await r(t)),await e.applyAfterEach(t))}O(Dm,"runStory");function cl(e,t){return um(cm(e,t),r=>r===void 0)}O(cl,"picky");var $f=1e3,GS=1e4,Fm=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=O(()=>{let i=this.getSetStoriesPayload(),s=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Dr(i.stories,l=>{let{importPath:c}=this.storyIndex.entries[l.id];return{...cl(l,["id","name","title"]),importPath:c,kind:l.title,story:l.name,parameters:{...cl(l.parameters,s),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new OS(t),this.projectAnnotations=ln(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new SS,this.userGlobals=new AS({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Zs.default)($f)(_m),this.prepareMetaWithCache=(0,Zs.default)($f)(Tm),this.prepareStoryWithCache=(0,Zs.default)(GS)(wl)}setProjectAnnotations(t){this.projectAnnotations=ln(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new gf({storyId:t});let o=r.meta,a=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new am,a}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...a]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,a=new Mm;return Sl({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:a,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new of;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:i}])=>{if(a==="docs")return n;let s=r[i],l=this.storyFromCSFFile({storyId:o,csfFile:s});return!t.includeDocsOnly&&l.parameters.docsOnly||(n[o]=Object.entries(l).reduce((c,[u,d])=>u==="moduleExport"||typeof d=="function"?c:Array.isArray(d)?Object.assign(c,{[u]:d.slice().sort()}):Object.assign(c,{[u]:d}),{args:l.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...l.storyGlobals}})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return Bt("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(Bt("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:O(a=>{let i={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:O((s,l)=>o.runStep(s,l,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...i,...a})},"storyFn")}}};O(Fm,"StoryStore");var YS=Fm;function WS(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}O(WS,"slash");function KS(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}O(KS,"pathJoin");var ga=new Error("prepareAborted"),{AbortController:Uf}=globalThis;function dl(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}O(dl,"serializeError");var Lm=class{constructor(t,r,n,o,a,i,s={autoplay:!0,forceInitialArgs:!1},l){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=i,this.renderOptions=s,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=O(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Uf,l&&(this.story=l,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(kt,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(kt,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),ga}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:i,title:s,name:l,tags:c,applyLoaders:u,applyBeforeEach:d,applyAfterEach:m,unboundStoryFn:p,playFunction:h,runStep:g}=o;r&&!t&&(this.cancelRender(),this.abortController=new Uf);let y=this.abortController.signal,b=!1,v=o.usesMount;try{let C={...this.storyContext(),viewMode:this.viewMode,abortSignal:y,canvasElement:n,loaded:{},step:O((j,F)=>g(j,F,C),"step"),context:null,canvas:{},renderToCanvas:O(async()=>{let j=await this.renderToScreen(S,n);this.teardownRender=j||(()=>{}),b=!0},"renderToCanvas"),mount:O(async(...j)=>{this.callbacks.showStoryDuringRender?.();let F=null;return await this.runPhase(y,"rendering",async()=>{F=await o.mount(C)(...j)}),v&&await this.runPhase(y,"playing"),F},"mount")};C.context=C;let S={componentId:i,title:s,kind:s,id:a,name:l,story:l,tags:c,...this.callbacks,showError:O(j=>(this.phase="errored",this.callbacks.showError(j)),"showError"),showException:O(j=>(this.phase="errored",this.callbacks.showException(j)),"showException"),forceRemount:r||this.notYetRendered,storyContext:C,storyFn:O(()=>p(C),"storyFn"),unboundStoryFn:p};if(await this.runPhase(y,"loading",async()=>{C.loaded=await u(C)}),y.aborted)return;let A=await d(C);if(this.store.addCleanupCallbacks(o,A),this.checkIfAborted(y)||(!b&&!v&&await C.mount(),this.notYetRendered=!1,y.aborted))return;let _=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,E=new Set,R=O(j=>E.add("error"in j?j.error:j.reason),"onError");if(this.renderOptions.autoplay&&r&&h&&this.phase!=="errored"){window.addEventListener("error",R),window.addEventListener("unhandledrejection",R),this.disableKeyListeners=!0;try{if(v?await h(C):(C.mount=async()=>{throw new ia({playFunction:h.toString()})},await this.runPhase(y,"playing",async()=>h(C))),!b)throw new Sf;this.checkIfAborted(y),!_&&E.size>0?await this.runPhase(y,"errored"):await this.runPhase(y,"played")}catch(j){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(y,"errored",async()=>{this.channel.emit(bs,dl(j))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw j;console.error(j)}if(!_&&E.size>0&&this.channel.emit(gs,Array.from(E).map(dl)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",R),window.removeEventListener("error",R),y.aborted)return}await this.runPhase(y,"completed",async()=>this.channel.emit(nn,a)),this.phase!=="errored"&&await this.runPhase(y,"afterEach",async()=>{await m(C)});let P=!_&&E.size>0,N=C.reporting.reports.some(j=>j.status==="failed"),B=P||N;await this.runPhase(y,"finished",async()=>this.channel.emit(Jo,{storyId:a,status:B?"error":"success",reporters:C.reporting.reports}))}catch(C){this.phase="errored",this.callbacks.showException(C),await this.runPhase(y,"finished",async()=>this.channel.emit(Jo,{storyId:a,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};O(Lm,"StoryRender");var pl=Lm,{fetch:XS}=Ue,JS="./index.json",Bm=class{constructor(t,r,n=Ut.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:O((t,r)=>{if(this.storyStoreValue)return Bt("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Ef},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Ss,this.onStoryIndexChanged.bind(this)),this.channel.on(Qn,this.onUpdateGlobals.bind(this)),this.channel.on(Zn,this.onUpdateArgs.bind(this)),this.channel.on(xs,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Xn,this.onResetArgs.bind(this)),this.channel.on(Kn,this.onForceReRender.bind(this)),this.channel.on(rn,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new sf;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await XS(JS);if(t.status===200)return t.json();throw new cf({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new YS(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new st({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(_s,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new st({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new st({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:a,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Tr,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:i})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(Tr,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new st({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(Rs,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(Qo,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Qo,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new st({methodName:"onResetArgs"});let n=this.storyRenders.find(a=>a.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((a,i)=>(a[i]=n.initialArgs[i],a),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new st({methodName:"renderStoryToElement"});let a=new pl(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new st({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new st({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new st({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,ue.error(t),ue.error(r),this.channel.emit(hs,r)}};O(Bm,"Preview");var QS=Bm,ZS=!1,el="Invariant failed";function ca(e,t){if(!e){if(ZS)throw new Error(el);var r=typeof t=="function"?t():t,n=r?"".concat(el,": ").concat(r):el;throw new Error(n)}}O(ca,"invariant");var km=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=O(a=>{let i=this.nameToStoryId.get(a);if(i)return i;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=O(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=O(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=O(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let i=this.storyIdToCSFFile.get(a);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:i})},"storyById"),this.getStoryContext=O(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=O(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((a,i)=>{this.referenceCSFFile(a)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Mr(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(Ge`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}.
|
|
221
|
+
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
222
|
+
- ... or vice versa?
|
|
223
|
+
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};O(km,"DocsContext");var $m=km,Um=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw ga;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(t,n,o),i=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:a}),this.csfFiles=[a,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new $m(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a=await o.renderer(),{render:i}=a,s=O(async()=>{try{await i(n,o,t),this.channel.emit(Wn,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l})=>{!l||!t||a.unmount(t)},s()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};O(Um,"CsfDocsRender");var Hf=Um,Hm=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw ga;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new $m(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...o,page:this.exports.default},i=await o.renderer(),{render:s}=i,l=O(async()=>{try{await s(n,a,t),this.channel.emit(Wn,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(i.unmount(t),this.torndown=!0)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};O(Hm,"MdxDocsRender");var Vf=Hm,eA=globalThis;function Vm(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}O(Vm,"focusInInput");var zm="attached-mdx",tA="unattached-mdx";function Gm({tags:e}){return e?.includes(tA)||e?.includes(zm)}O(Gm,"isMdxEntry");function da(e){return e.type==="story"}O(da,"isStoryRender");function Ym(e){return e.type==="docs"}O(Ym,"isDocsRender");function Wm(e){return Ym(e)&&e.subtype==="csf"}O(Wm,"isCsfDocsRender");var Km=class extends QS{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),eA.onkeydown=this.onKeydown.bind(this),this.channel.on(Jn,this.onSetCurrentStory.bind(this)),this.channel.on(qs,this.onUpdateQueryParams.bind(this)),this.channel.on(vs,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new st({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new st({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new mf):this.renderStoryLoadingException(t,new yf({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(Ts,this.selectionStore.selection),this.channel.emit(Ko,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!Vm(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}=t;this.channel.emit(Es,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Ko,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof pl&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof Vf||this.currentRender instanceof Hf)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new st({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(o)}catch(m){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,m);return}let i=this.currentSelection?.storyId!==o,s=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let l;a.type==="story"?l=new pl(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):Gm(a)?l=new Vf(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):l=new Hf(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let u=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(m){u&&await this.teardownRender(u),m!==ga&&this.renderStoryLoadingException(o,m);return}let d=!i&&u&&!l.isEqual(u);if(t&&da(l)&&(ca(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,t)),u&&!u.torndown&&!i&&!d&&!s){this.currentRender=u,this.channel.emit(Os,o),this.view.showMain();return}if(u&&await this.teardownRender(u,{viewModeChanged:s}),c&&(i||s)&&this.channel.emit(ws,o),da(l)){ca(!!l.story);let{parameters:m,initialArgs:p,argTypes:h,unmappedArgs:g,initialGlobals:y,userGlobals:b,storyGlobals:v,globals:C}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(As,{id:o,parameters:m,initialArgs:p,argTypes:h,args:g}),this.channel.emit(Tr,{userGlobals:b,storyGlobals:v,globals:C,initialGlobals:y})}else{let{parameters:m}=this.storyStoreValue.projectAnnotations,{initialGlobals:p,globals:h}=this.storyStoreValue.userGlobals;if(this.channel.emit(Tr,{globals:h,initialGlobals:p,storyGlobals:{},userGlobals:h}),Wm(l)||l.entry.tags?.includes(zm)){if(!l.csfFiles)throw new pf({storyId:o});({parameters:m}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(ys,{id:o,parameters:m})}da(l)?(ca(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:O(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:O(()=>this.view.showMain(),"showMain"),showError:O(r=>this.renderError(t,r),"showError"),showException:O(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Xo)}renderStoryLoadingException(t,r){ue.error(r),this.view.showErrorDisplay(r),this.channel.emit(Xo,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(Ps,{name:n,message:o,stack:a}),this.channel.emit(kt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),ue.error(`Error rendering story '${t}':`),ue.error(r)}renderError(t,{title:r,description:n}){ue.error(`Error rendering story ${r}: ${n}`),this.channel.emit(Cs,{title:r,description:n}),this.channel.emit(kt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};O(Km,"PreviewWithSelection");var rA=Km,fl=pn(gl(),1),nA=pn(gl(),1),zf=/^[a-zA-Z0-9 _-]*$/,Xm=/^-?[0-9]+(\.[0-9]+)?$/,oA=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Jm=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,ml=O((e="",t)=>e===null||e===""||!zf.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?zf.test(t)||Xm.test(t)||oA.test(t)||Jm.test(t):Array.isArray(t)?t.every(r=>ml(e,r)):Rt(t)?Object.entries(t).every(([r,n])=>ml(r,n)):!1,"validateArgs"),aA={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(Jm);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return Xm.test(e)?Number(e):e}},Gf=O(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,nA.parse)(t.join(";"),aA)).reduce((r,[n,o])=>ml(n,o)?Object.assign(r,{[n]:o}):(Ce.warn(Ge`
|
|
224
|
+
Omitted potentially unsafe URL args.
|
|
225
|
+
|
|
226
|
+
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
227
|
+
`),r),{})},"parseArgsParam"),{history:Qm,document:ur}=Ue;function Zm(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}O(Zm,"pathToId");var eh=O(({selection:e,extraParams:t})=>{let r=ur?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:a,...i}=(0,fl.parse)(r);return`?${(0,fl.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),iA=O(e=>{if(!e)return;let t=eh({selection:e}),{hash:r=""}=ur.location;ur.title=e.storyId,Qm.replaceState({},"",`${ur.location.pathname}${t}${r}`)},"setPath"),sA=O(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),no=O(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return no(e[0]);if(sA(e))return no(Object.values(e).filter(Boolean))}},"getFirstString"),lA=O(()=>{if(typeof ur<"u"){let e=ur.location.search.slice(1),t=(0,fl.parse)(e),r=typeof t.args=="string"?Gf(t.args):void 0,n=typeof t.globals=="string"?Gf(t.globals):void 0,o=no(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let a=no(t.path),i=a?Zm(a):no(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),th=class{constructor(){this.selectionSpecifier=lA()}setSelection(t){this.selection=t,iA(this.selection)}setQueryParams(t){let r=eh({extraParams:t}),{hash:n=""}=ur.location;Qm.replaceState({},"",`${ur.location.pathname}${r}${n}`)}};O(th,"UrlStore");var uA=th,cA=pn(D2(),1),dA=pn(gl(),1),{document:Xe}=Ue,Yf=100,rh=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(rh||{}),tl={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},rl={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Wf=new cA.default({escapeXML:!0}),nh=class{constructor(){if(this.testing=!1,typeof Xe<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,dA.parse)(Xe.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),Xe.documentElement.scrollTop=0,Xe.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Xe.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Xe.documentElement.scrollTop=0,Xe.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Xe.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){Xe.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=rl[t];Xe.body.classList.remove(this.currentLayoutClass),Xe.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){rl[t]||ue.warn(Ge`
|
|
228
|
+
The desired layout: ${t} is not a valid option.
|
|
229
|
+
The possible options are: ${Object.keys(rl).join(", ")}, none.
|
|
230
|
+
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(rh).forEach(r=>{r===t?Xe.body.classList.add(tl[r]):Xe.body.classList.remove(tl[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,a=t.split(`
|
|
231
|
+
`);a.length>1&&([n]=a,o=a.slice(1).join(`
|
|
232
|
+
`).replace(/^\n/,"")),Xe.getElementById("error-message").innerHTML=Wf.toHtml(n),Xe.getElementById("error-stack").innerHTML=Wf.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Yf)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Yf)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){Xe.body.classList.add(tl.MAIN)}};O(nh,"WebView");var pA=nh,fA=class extends rA{constructor(t,r){super(t,r,new uA,new pA),this.importFn=t,this.getProjectAnnotations=r,Ue.__STORYBOOK_PREVIEW__=this}};O(fA,"PreviewWeb");var{document:Ir}=Ue,mA=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],hA="script",Kf="scripts-root";function hl(){let e=Ir.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Ir.dispatchEvent(e)}O(hl,"simulateDOMContentLoaded");function oh(e,t,r){let n=Ir.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):Ir.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}O(oh,"insertScript");function Al(e,t,r=0){e[r](()=>{r++,r===e.length?t():Al(e,t,r)})}O(Al,"insertScriptsSequentially");function yA(e){let t=Ir.getElementById(Kf);t?t.innerHTML="":(t=Ir.createElement("div"),t.id=Kf,Ir.body.appendChild(t));let r=Array.from(e.querySelectorAll(hA));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||mA.includes(a))&&n.push(i=>oh(o,i,t))}),n.length&&Al(n,hl,void 0)}else hl()}O(yA,"simulatePageLoad");var bA=(e=>typeof _e<"u"?_e:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof _e<"u"?_e:t)[r]}):e)(function(e){if(typeof _e<"u")return _e.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),gA={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},vA=Object.entries(gA);function Hl(e){return String(e)}Hl.open="";Hl.close="";function EA(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function _A(e=!1){let t=EA(e),r=(i,s,l,c)=>{let u="",d=0;do u+=i.substring(d,c)+l,d=c+s.length,c=i.indexOf(s,d);while(~c);return u+i.substring(d)},n=(i,s,l=i)=>{let c=u=>{let d=String(u),m=d.indexOf(s,i.length);return~m?i+r(d,s,l,m)+s:i+d+s};return c.open=i,c.close=s,c},o={isColorSupported:t},a=i=>`\x1B[${i}m`;for(let[i,s]of vA)o[i]=t?n(a(s[0]),a(s[1]),s[2]):Hl;return o}var zt=_A(!1);function RA(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function wa(e,t,r,n,o,a,i=": "){let s="",l=0,c=e.next();if(!c.done){s+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(s+=u,l++===t.maxWidth){s+="\u2026";break}let d=a(c.value[0],t,u,n,o),m=a(c.value[1],t,u,n,o);s+=d+i+m,c=e.next(),c.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Vl(e,t,r,n,o,a){let i="",s=0,l=e.next();if(!l.done){i+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(i+=c,s++===t.maxWidth){i+="\u2026";break}i+=a(l.value,t,c,n,o),l=e.next(),l.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Ra(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=c=>c instanceof DataView,l=s(e)?e.byteLength:e.length;if(l>0){i+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<l;u++){if(i+=c,u===t.maxWidth){i+="\u2026";break}(s(e)||u in e)&&(i+=a(s(e)?e.getInt8(u):e[u],t,c,n,o)),u<l-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}function zl(e,t,r,n,o,a){let i="",s=RA(e,t.compareKeys);if(s.length>0){i+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<s.length;c++){let u=s[c],d=a(u,t,l,n,o),m=a(e[u],t,l,n,o);i+=`${l+d}: ${m}`,c<s.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}var wA=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Tl=" ",CA=(e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Tl}[${Ra(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Tl}{${zl(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+Tl+a(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},SA=e=>e&&e.$$typeof===wA,AA={serialize:CA,test:SA},TA=" ",Wh=new Set(["DOMStringMap","NamedNodeMap"]),PA=/^(?:HTML\w*Collection|NodeList)$/;function OA(e){return Wh.has(e)||PA.test(e)}var qA=e=>e&&e.constructor&&!!e.constructor.name&&OA(e.constructor.name);function xA(e){return e.constructor.name==="NamedNodeMap"}var MA=(e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+TA)+(Wh.has(i)?`{${zl(xA(e)?[...e].reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,a)}}`:`[${Ra([...e],t,r,n,o,a)}]`)},NA={serialize:MA,test:qA};function Kh(e){return e.replaceAll("<","<").replaceAll(">",">")}function Gl(e,t,r,n,o,a,i){let s=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=i(u,r,s,o,a);return typeof u!="string"&&(d.includes(`
|
|
233
|
+
`)&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+l.prop.open+c+l.prop.close}=${l.value.open}${d}${l.value.close}`}).join("")}function Yl(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Xh(i,t):a(i,t,r,n,o))).join("")}function Xh(e,t){let r=t.colors.content;return r.open+Kh(e)+r.close}function jA(e,t){let r=t.colors.comment;return`${r.open}<\!--${Kh(e)}-->${r.close}`}function Wl(e,t,r,n,o){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function Kl(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var IA=1,Jh=3,Qh=8,Zh=11,DA=/^(?:(?:HTML|SVG)\w*)?Element$/;function FA(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function LA(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||FA(e);return r===IA&&(DA.test(t)||o)||r===Jh&&t==="Text"||r===Qh&&t==="Comment"||r===Zh&&t==="DocumentFragment"}var BA=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&LA(e)};function kA(e){return e.nodeType===Jh}function $A(e){return e.nodeType===Qh}function Pl(e){return e.nodeType===Zh}var UA=(e,t,r,n,o,a)=>{if(kA(e))return Xh(e.data,t);if($A(e))return jA(e.data,t);let i=Pl(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Kl(i,t):Wl(i,Gl(Pl(e)?[]:Array.from(e.attributes,s=>s.name).sort(),Pl(e)?{}:[...e.attributes].reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,a),Yl(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},HA={serialize:UA,test:BA},VA="@@__IMMUTABLE_ITERABLE__@@",zA="@@__IMMUTABLE_LIST__@@",GA="@@__IMMUTABLE_KEYED__@@",YA="@@__IMMUTABLE_MAP__@@",ah="@@__IMMUTABLE_ORDERED__@@",WA="@@__IMMUTABLE_RECORD__@@",KA="@@__IMMUTABLE_SEQ__@@",XA="@@__IMMUTABLE_SET__@@",JA="@@__IMMUTABLE_STACK__@@",yn=e=>`Immutable.${e}`,Ca=e=>`[${e}]`,so=" ",ih="\u2026";function QA(e,t,r,n,o,a,i){return++n>t.maxDepth?Ca(yn(i)):`${yn(i)+so}{${wa(e.entries(),t,r,n,o,a)}}`}function ZA(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function eT(e,t,r,n,o,a){let i=yn(e._name||"Record");return++n>t.maxDepth?Ca(i):`${i+so}{${wa(ZA(e),t,r,n,o,a)}}`}function tT(e,t,r,n,o,a){let i=yn("Seq");return++n>t.maxDepth?Ca(i):e[GA]?`${i+so}{${e._iter||e._object?wa(e.entries(),t,r,n,o,a):ih}}`:`${i+so}[${e._iter||e._array||e._collection||e._iterable?Vl(e.values(),t,r,n,o,a):ih}]`}function Ol(e,t,r,n,o,a,i){return++n>t.maxDepth?Ca(yn(i)):`${yn(i)+so}[${Vl(e.values(),t,r,n,o,a)}]`}var rT=(e,t,r,n,o,a)=>e[YA]?QA(e,t,r,n,o,a,e[ah]?"OrderedMap":"Map"):e[zA]?Ol(e,t,r,n,o,a,"List"):e[XA]?Ol(e,t,r,n,o,a,e[ah]?"OrderedSet":"Set"):e[JA]?Ol(e,t,r,n,o,a,"Stack"):e[KA]?tT(e,t,r,n,o,a):eT(e,t,r,n,o,a),nT=e=>e&&(e[VA]===!0||e[WA]===!0),oT={serialize:rT,test:nT},sh={exports:{}},ge={},lh;function aT(){if(lh)return ge;lh=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function g(y){if(typeof y=="object"&&y!==null){var b=y.$$typeof;switch(b){case e:switch(y=y.type,y){case r:case o:case n:case c:case u:return y;default:switch(y=y&&y.$$typeof,y){case s:case i:case l:case m:case d:case a:return y;default:return b}}case t:return b}}}return ge.ContextConsumer=i,ge.ContextProvider=a,ge.Element=e,ge.ForwardRef=l,ge.Fragment=r,ge.Lazy=m,ge.Memo=d,ge.Portal=t,ge.Profiler=o,ge.StrictMode=n,ge.Suspense=c,ge.SuspenseList=u,ge.isAsyncMode=function(){return!1},ge.isConcurrentMode=function(){return!1},ge.isContextConsumer=function(y){return g(y)===i},ge.isContextProvider=function(y){return g(y)===a},ge.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},ge.isForwardRef=function(y){return g(y)===l},ge.isFragment=function(y){return g(y)===r},ge.isLazy=function(y){return g(y)===m},ge.isMemo=function(y){return g(y)===d},ge.isPortal=function(y){return g(y)===t},ge.isProfiler=function(y){return g(y)===o},ge.isStrictMode=function(y){return g(y)===n},ge.isSuspense=function(y){return g(y)===c},ge.isSuspenseList=function(y){return g(y)===u},ge.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===c||y===u||y===p||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===d||y.$$typeof===a||y.$$typeof===i||y.$$typeof===l||y.$$typeof===h||y.getModuleId!==void 0)},ge.typeOf=g,ge}var uh;function iT(){return uh||(uh=1,sh.exports=aT()),sh.exports}var Lr=iT();function ey(e,t=[]){if(Array.isArray(e))for(let r of e)ey(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function ch(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Lr.isFragment(e))return"React.Fragment";if(Lr.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Lr.isContextProvider(e))return"Context.Provider";if(Lr.isContextConsumer(e))return"Context.Consumer";if(Lr.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Lr.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function sT(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var lT=(e,t,r,n,o,a)=>++n>t.maxDepth?Kl(ch(e),t):Wl(ch(e),Gl(sT(e),e.props,t,r+t.indent,n,o,a),Yl(ey(e.props.children),t,r+t.indent,n,o,a),t,r),uT=e=>e!=null&&Lr.isElement(e),cT={serialize:lT,test:uT},dT=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function pT(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var fT=(e,t,r,n,o,a)=>++n>t.maxDepth?Kl(e.type,t):Wl(e.type,e.props?Gl(pT(e),e.props,t,r+t.indent,n,o,a):"",e.children?Yl(e.children,t,r+t.indent,n,o,a):"",t,r),mT=e=>e&&e.$$typeof===dT,hT={serialize:fT,test:mT},ty=Object.prototype.toString,yT=Date.prototype.toISOString,bT=Error.prototype.toString,dh=RegExp.prototype.toString;function ql(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function gT(e){return typeof window<"u"&&e===window}var vT=/^Symbol\((.*)\)(.*)$/,ET=/\n/g,ry=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function _T(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function RT(e){return Object.is(e,-0)?"-0":String(e)}function wT(e){return`${e}n`}function ph(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function fh(e){return String(e).replace(vT,"Symbol($1)")}function mh(e){return`[${bT.call(e)}]`}function ny(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return RT(e);if(o==="bigint")return wT(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return ph(e,t);if(o==="symbol")return fh(e);let a=ty.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?ph(e,t):a==="[object Symbol]"?fh(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":yT.call(e):a==="[object Error]"?mh(e):a==="[object RegExp]"?r?dh.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):dh.call(e):e instanceof Error?mh(e):null}function oy(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return cr(e.toJSON(),t,r,n,o,!0);let l=ty.call(e);return l==="[object Arguments]"?i?"[Arguments]":`${s?"":"Arguments "}[${Ra(e,t,r,n,o,cr)}]`:_T(l)?i?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Ra(e,t,r,n,o,cr)}]`:l==="[object Map]"?i?"[Map]":`Map {${wa(e.entries(),t,r,n,o,cr," => ")}}`:l==="[object Set]"?i?"[Set]":`Set {${Vl(e.values(),t,r,n,o,cr)}}`:i||gT(e)?`[${ql(e)}]`:`${s||!t.printBasicPrototype&&ql(e)==="Object"?"":`${ql(e)} `}{${zl(e,t,r,n,o,cr)}}`}function CT(e){return e.serialize!=null}function ay(e,t,r,n,o,a){let i;try{i=CT(e)?e.serialize(t,r,n,o,a,cr):e.print(t,s=>cr(s,r,n,o,a),s=>{let l=n+r.indent;return l+s.replaceAll(ET,`
|
|
234
|
+
${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new ry(s.message,s.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function iy(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new ry(n.message,n.stack)}return null}function cr(e,t,r,n,o,a){let i=iy(t.plugins,e);if(i!==null)return ay(i,e,t,r,n,o);let s=ny(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:oy(e,t,r,n,o,a)}var Xl={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},sy=Object.keys(Xl),wt={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Xl};function ST(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(wt,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function AT(){return sy.reduce((e,t)=>{let r=Xl[t],n=r&&zt[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function TT(){return sy.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function ly(e){return e?.printFunctionName??wt.printFunctionName}function uy(e){return e?.escapeRegex??wt.escapeRegex}function cy(e){return e?.escapeString??wt.escapeString}function hh(e){return{callToJSON:e?.callToJSON??wt.callToJSON,colors:e?.highlight?AT():TT(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:wt.compareKeys,escapeRegex:uy(e),escapeString:cy(e),indent:e?.min?"":PT(e?.indent??wt.indent),maxDepth:e?.maxDepth??wt.maxDepth,maxWidth:e?.maxWidth??wt.maxWidth,min:e?.min??wt.min,plugins:e?.plugins??wt.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:ly(e),spacingInner:e?.min?" ":`
|
|
235
|
+
`,spacingOuter:e?.min?"":`
|
|
236
|
+
`}}function PT(e){return Array.from({length:e+1}).join(" ")}function Mt(e,t){if(t&&(ST(t),t.plugins)){let n=iy(t.plugins,e);if(n!==null)return ay(n,e,hh(t),"",0,[])}let r=ny(e,ly(t),uy(t),cy(t));return r!==null?r:oy(e,hh(t),"",0,[])}var dy={AsymmetricMatcher:AA,DOMCollection:NA,DOMElement:HA,Immutable:oT,ReactElement:cT,ReactTestComponent:hT},yh={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},OT={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},bn="\u2026";function qT(e,t){let r=yh[OT[t]]||yh[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function xT({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(l),seen:s,inspect:u,stylize:c};return d.colors&&(d.stylize=qT),d}function MT(e){return e>="\uD800"&&e<="\uDBFF"}function dr(e,t,r=bn){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&MT(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function Ct(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",s="",l="";for(let c=0;c<o;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${bn}(${e.length-c})`;let m=e[c];t.truncate=a-i.length-(u?0:n.length);let p=s||r(m,t)+(u?"":n),h=i.length+p.length,g=h+l.length;if(u&&h>a&&i.length+l.length<=a||!u&&!d&&g>a||(s=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&h+s.length>a))break;if(i+=p,!u&&!d&&h+s.length>=a){l=`${bn}(${e.length-c-1})`;break}l=""}return`${i}${l}`}function NT(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function lo([e,t],r){return r.truncate-=2,typeof e=="string"?e=NT(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function jT(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ct(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Ct(r.map(a=>[a,e[a]]),t,lo)),`[ ${n}${o?`, ${o}`:""} ]`}var IT=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Ht(e,t){let r=IT(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let s=`${t.stylize(dr(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${bn}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=Ct(n.map(i=>[i,e[i]]),t,lo)),`${r}[ ${o}${a?`, ${a}`:""} ]`}function DT(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${dr(n[1],t.truncate-o.length-1)}`,"date")}function bh(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${dr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function FT([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function LT(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function BT(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Ct(LT(e),t,FT)} }`)}var kT=Number.isNaN||(e=>e!==e);function gh(e,t){return kT(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(dr(String(e),t.truncate),"number")}function vh(e,t){let r=dr(e.toString(),t.truncate-1);return r!==bn&&(r+="n"),t.stylize(r,"bigint")}function $T(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${dr(o,n)}/${r}`,"regexp")}function UT(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function HT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ct(UT(e),t)} }`)}var Eh=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),VT={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},zT=16,GT=4;function YT(e){return VT[e]||`\\u${`0000${e.charCodeAt(0).toString(zT)}`.slice(-GT)}`}function _h(e,t){return Eh.test(e)&&(e=e.replace(Eh,YT)),t.stylize(`'${dr(e,t.truncate-2)}'`,"string")}function Rh(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var py=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(py=(n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`})}catch{}var WT=py;function _a(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Ct(r.map(s=>[s,e[s]]),t,lo),a=Ct(n.map(s=>[s,e[s]]),t,lo);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}var xl=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function KT(e,t){let r="";return xl&&xl in e&&(r=e[xl]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${_a(e,t)}`}function XT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ct(e,t)} ]`)}var JT=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function QT(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>JT.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=dr(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Ct(r.map(i=>[i,e[i]]),t,lo);return`${n}${o}${a?` { ${a} }`:""}`}function ZT([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Dl(e,t){return Ct(e,t,fy,`
|
|
237
|
+
`)}function fy(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Ct(r.map(u=>[u,e.getAttribute(u)]),t,ZT," ")),t.truncate-=s.length;let l=t.truncate,c=Dl(e.children,t);return c&&c.length>l&&(c=`${bn}(${e.children.length})`),`${o}${s}${a}${c}${i}`}var eP=typeof Symbol=="function"&&typeof Symbol.for=="function",Ml=eP?Symbol.for("chai/inspect"):"@@chai/inspect",fn=!1;try{let e=bA("util");fn=e.inspect?e.inspect.custom:!1}catch{fn=!1}var wh=new WeakMap,Ch={},Sh={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:gh,Number:gh,bigint:vh,BigInt:vh,string:_h,String:_h,function:bh,Function:bh,symbol:Rh,Symbol:Rh,Array:jT,Date:DT,Map:BT,Set:HT,RegExp:$T,Promise:WT,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:XT,Int8Array:Ht,Uint8Array:Ht,Uint8ClampedArray:Ht,Int16Array:Ht,Uint16Array:Ht,Int32Array:Ht,Uint32Array:Ht,Float32Array:Ht,Float64Array:Ht,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:QT,HTMLCollection:Dl,NodeList:Dl},tP=(e,t,r)=>Ml in e&&typeof e[Ml]=="function"?e[Ml](t):fn&&fn in e&&typeof e[fn]=="function"?e[fn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&wh.has(e.constructor)?wh.get(e.constructor)(e,t):Ch[r]?Ch[r](e,t):"",rP=Object.prototype.toString;function Fl(e,t={}){let r=xT(t,Fl),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=rP.call(e).slice(8,-1)),o in Sh)return Sh[o](e,r);if(n&&e){let i=tP(e,r,o);if(i)return typeof i=="string"?i:Fl(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?_a(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?fy(e,r):"constructor"in e?e.constructor!==Object?KT(e,r):_a(e,r):e===Object(e)?_a(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:nP,DOMCollection:oP,DOMElement:aP,Immutable:iP,ReactElement:sP,ReactTestComponent:lP}=dy,Ah=[lP,sP,aP,oP,iP,nP];function uo(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=Mt(e,{maxDepth:t,escapeString:!1,plugins:Ah,...n})}catch{a=Mt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Ah,...n})}return a.length>=o&&t>1?uo(e,Math.floor(t/2)):a}var uP=/%[sdjifoOc%]/g;function cP(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(io(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(uP,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?io(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return io(e[r++],{showHidden:!0,showProxy:!0});case"%O":return io(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let s=i.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${io(a)}`;return o}function io(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Fl(e,t)}function dP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function pP(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Ll(e){return Object.prototype.toString.apply(e).slice(8,-1)}function fP(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function my(e){let t=new Set;return pP(e)?[]:(fP(e,t),Array.from(t))}var hy={forceWritable:!1};function Th(e,t=hy){return Bl(e,new WeakMap,t)}function Bl(e,t,r=hy){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=Bl(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let a=my(e);for(let i of a){let s=Object.getOwnPropertyDescriptor(e,i);if(!s)continue;let l=Bl(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:s.enumerable,configurable:!0,writable:!0,value:l}):"get"in s?Object.defineProperty(o,i,{...s,get(){return l}}):Object.defineProperty(o,i,{...s,value:l})}return o}return e}function Ph(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Je=-1,We=1,xe=0,Pe=class{constructor(e,t){Te(this,0);Te(this,1);this[0]=e,this[1]=t}},mP=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},yy=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},Oh=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let a=0,i=1;for(;;){let s=e.substring(o-i),l=t.indexOf(s);if(l===-1)return a;i+=l,(l===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++)}},hP=function(e){let t=!1,r=[],n=0,o=null,a=0,i=0,s=0,l=0,c=0;for(;a<e.length;)e[a][0]===xe?(r[n++]=a,i=l,s=c,l=0,c=0,o=e[a][1]):(e[a][0]===We?l+=e[a][1].length:c+=e[a][1].length,o&&o.length<=Math.max(i,s)&&o.length<=Math.max(l,c)&&(e.splice(r[n-1],0,new Pe(Je,o)),e[r[n-1]+1][0]=We,n--,n--,a=n>0?r[n-1]:-1,i=0,s=0,l=0,c=0,o=null,t=!0)),a++;for(t&&by(e),gP(e),a=1;a<e.length;){if(e[a-1][0]===Je&&e[a][0]===We){let u=e[a-1][1],d=e[a][1],m=Oh(u,d),p=Oh(d,u);m>=p?(m>=u.length/2||m>=d.length/2)&&(e.splice(a,0,new Pe(xe,d.substring(0,m))),e[a-1][1]=u.substring(0,u.length-m),e[a+1][1]=d.substring(m),a++):(p>=u.length/2||p>=d.length/2)&&(e.splice(a,0,new Pe(xe,u.substring(0,p))),e[a-1][0]=We,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Je,e[a+1][1]=u.substring(p),a++),a++}a++}},qh=/[^a-z0-9]/i,xh=/\s/,Mh=/[\r\n]/,yP=/\n\r?\n$/,bP=/^\r?\n\r?\n/;function gP(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===xe&&e[t+1][0]===xe){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],a=yy(r,n);if(a){let u=n.substring(n.length-a);r=r.substring(0,r.length-a),n=u+n.substring(0,n.length-a),o=u+o}let i=r,s=n,l=o,c=va(r,n)+va(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let u=va(r,n)+va(n,o);u>=c&&(c=u,i=r,s=n,l=o)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=s,l?e[t+1][1]=l:(e.splice(t+1,1),t--))}t++}}function by(e){e.push(new Pe(xe,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case We:n++,a+=e[t][1],t++;break;case Je:r++,o+=e[t][1],t++;break;case xe:r+n>1?(r!==0&&n!==0&&(i=mP(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===xe?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new Pe(xe,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=yy(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Pe(Je,o)),t++),a.length&&(e.splice(t,0,new Pe(We,a)),t++),t++):t!==0&&e[t-1][0]===xe?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===xe&&e[t+1][0]===xe&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),s=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),s=!0)),t++;s&&by(e)}function va(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(qh),a=n.match(qh),i=o&&r.match(xh),s=a&&n.match(xh),l=i&&r.match(Mh),c=s&&n.match(Mh),u=l&&e.match(yP),d=c&&t.match(bP);return u||d?5:l||c?4:o&&!i&&s?3:i||s?2:o||a?1:0}var gy="Compared values have no visual difference.",vP="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Ea={},Nh;function EP(){if(Nh)return Ea;Nh=1,Object.defineProperty(Ea,"__esModule",{value:!0}),Ea.default=m;let e="diff-sequences",t=0,r=(p,h,g,y,b)=>{let v=0;for(;p<h&&g<y&&b(p,g);)p+=1,g+=1,v+=1;return v},n=(p,h,g,y,b)=>{let v=0;for(;p<=h&&g<=y&&b(h,y);)h-=1,y-=1,v+=1;return v},o=(p,h,g,y,b,v,C)=>{let S=0,A=-p,_=v[S],E=_;v[S]+=r(_+1,h,y+_-A+1,g,b);let R=p<C?p:C;for(S+=1,A+=2;S<=R;S+=1,A+=2){if(S!==p&&E<v[S])_=v[S];else if(_=E+1,h<=_)return S-1;E=v[S],v[S]=_+r(_+1,h,y+_-A+1,g,b)}return C},a=(p,h,g,y,b,v,C)=>{let S=0,A=p,_=v[S],E=_;v[S]-=n(h,_-1,g,y+_-A-1,b);let R=p<C?p:C;for(S+=1,A-=2;S<=R;S+=1,A-=2){if(S!==p&&v[S]<E)_=v[S];else if(_=E-1,_<h)return S-1;E=v[S],v[S]=_-n(h,_-1,g,y+_-A-1,b)}return C},i=(p,h,g,y,b,v,C,S,A,_,E)=>{let R=y-h,P=g-h,N=b-y-P,B=-N-(p-1),j=-N+(p-1),F=t,T=p<S?p:S;for(let M=0,D=-p;M<=T;M+=1,D+=2){let Y=M===0||M!==p&&F<C[M],G=Y?C[M]:F,Q=Y?G:G+1,ne=R+Q-D,te=r(Q+1,g,ne+1,b,v),H=Q+te;if(F=C[M],C[M]=H,B<=D&&D<=j){let U=(p-1-(D+N))/2;if(U<=_&&A[U]-1<=H){let z=R+G-(Y?D+1:D-1),X=n(h,G,y,z,v),W=G-X,ee=z-X,le=W+1,ze=ee+1;E.nChangePreceding=p-1,p-1===le+ze-h-y?(E.aEndPreceding=h,E.bEndPreceding=y):(E.aEndPreceding=le,E.bEndPreceding=ze),E.nCommonPreceding=X,X!==0&&(E.aCommonPreceding=le,E.bCommonPreceding=ze),E.nCommonFollowing=te,te!==0&&(E.aCommonFollowing=Q+1,E.bCommonFollowing=ne+1);let L=H+1,J=ne+te+1;return E.nChangeFollowing=p-1,p-1===g+b-L-J?(E.aStartFollowing=g,E.bStartFollowing=b):(E.aStartFollowing=L,E.bStartFollowing=J),!0}}}return!1},s=(p,h,g,y,b,v,C,S,A,_,E)=>{let R=b-g,P=g-h,N=b-y-P,B=N-p,j=N+p,F=t,T=p<_?p:_;for(let M=0,D=p;M<=T;M+=1,D-=2){let Y=M===0||M!==p&&A[M]<F,G=Y?A[M]:F,Q=Y?G:G-1,ne=R+Q-D,te=n(h,Q-1,y,ne-1,v),H=Q-te;if(F=A[M],A[M]=H,B<=D&&D<=j){let U=(p+(D-N))/2;if(U<=S&&H-1<=C[U]){let z=ne-te;if(E.nChangePreceding=p,p===H+z-h-y?(E.aEndPreceding=h,E.bEndPreceding=y):(E.aEndPreceding=H,E.bEndPreceding=z),E.nCommonPreceding=te,te!==0&&(E.aCommonPreceding=H,E.bCommonPreceding=z),E.nChangeFollowing=p-1,p===1)E.nCommonFollowing=0,E.aStartFollowing=g,E.bStartFollowing=b;else{let X=R+G-(Y?D-1:D+1),W=r(G,g,X,b,v);E.nCommonFollowing=W,W!==0&&(E.aCommonFollowing=G,E.bCommonFollowing=X);let ee=G+W,le=X+W;p-1===g+b-ee-le?(E.aStartFollowing=g,E.bStartFollowing=b):(E.aStartFollowing=ee,E.bStartFollowing=le)}return!0}}}return!1},l=(p,h,g,y,b,v,C,S,A)=>{let _=y-h,E=b-g,R=g-h,P=b-y,N=P-R,B=R,j=R;if(C[0]=h-1,S[0]=g,N%2===0){let F=(p||N)/2,T=(R+P)/2;for(let M=1;M<=T;M+=1)if(B=o(M,g,b,_,v,C,B),M<F)j=a(M,h,y,E,v,S,j);else if(s(M,h,g,y,b,v,C,B,S,j,A))return}else{let F=((p||N)+1)/2,T=(R+P+1)/2,M=1;for(B=o(M,g,b,_,v,C,B),M+=1;M<=T;M+=1)if(j=a(M-1,h,y,E,v,S,j),M<F)B=o(M,g,b,_,v,C,B);else if(i(M,h,g,y,b,v,C,B,S,j,A))return}throw new Error(`${e}: no overlap aStart=${h} aEnd=${g} bStart=${y} bEnd=${b}`)},c=(p,h,g,y,b,v,C,S,A,_)=>{if(b-y<g-h){if(v=!v,v&&C.length===1){let{foundSubsequence:U,isCommon:z}=C[0];C[1]={foundSubsequence:(X,W,ee)=>{U(X,ee,W)},isCommon:(X,W)=>z(W,X)}}let te=h,H=g;h=y,g=b,y=te,b=H}let{foundSubsequence:E,isCommon:R}=C[v?1:0];l(p,h,g,y,b,R,S,A,_);let{nChangePreceding:P,aEndPreceding:N,bEndPreceding:B,nCommonPreceding:j,aCommonPreceding:F,bCommonPreceding:T,nCommonFollowing:M,aCommonFollowing:D,bCommonFollowing:Y,nChangeFollowing:G,aStartFollowing:Q,bStartFollowing:ne}=_;h<N&&y<B&&c(P,h,N,y,B,v,C,S,A,_),j!==0&&E(j,F,T),M!==0&&E(M,D,Y),Q<g&&ne<b&&c(G,Q,g,ne,b,v,C,S,A,_)},u=(p,h)=>{if(typeof h!="number")throw new TypeError(`${e}: ${p} typeof ${typeof h} is not a number`);if(!Number.isSafeInteger(h))throw new RangeError(`${e}: ${p} value ${h} is not a safe integer`);if(h<0)throw new RangeError(`${e}: ${p} value ${h} is a negative integer`)},d=(p,h)=>{let g=typeof h;if(g!=="function")throw new TypeError(`${e}: ${p} typeof ${g} is not a function`)};function m(p,h,g,y){u("aLength",p),u("bLength",h),d("isCommon",g),d("foundSubsequence",y);let b=r(0,p,0,h,g);if(b!==0&&y(b,0,0),p!==b||h!==b){let v=b,C=b,S=n(v,p-1,C,h-1,g),A=p-S,_=h-S,E=b+S;p!==E&&h!==E&&c(0,v,A,C,_,!1,[{foundSubsequence:y,isCommon:g}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),S!==0&&y(S,A,_)}}return Ea}var _P=EP(),vy=dP(_P);function RP(e,t){return e.replace(/\s+$/,r=>t(r))}function Jl(e,t,r,n,o,a){return e.length!==0?r(`${n} ${RP(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function Ey(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return Jl(e,t,r,n,o,a)}function _y(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return Jl(e,t,r,n,o,a)}function Ry(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return Jl(e,t,r,n,o,a)}function jh(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function wP(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,s=0,l=0;for(;l!==r;){let S=l;for(;l!==r&&e[l][0]===xe;)l+=1;if(S!==l)if(S===0)l>n&&(a-=l-n,i=!0);else if(l===r){let A=l-S;A>n&&(a-=A-n,i=!0)}else{let A=l-S;A>o&&(a-=A-o,s+=1)}for(;l!==r&&e[l][0]!==xe;)l+=1}let c=s!==0||i;s!==0?a+=s+1:i&&(a+=1);let u=a-1,d=[],m=0;c&&d.push("");let p=0,h=0,g=0,y=0,b=S=>{let A=d.length;d.push(Ry(S,A===0||A===u,t)),g+=1,y+=1},v=S=>{let A=d.length;d.push(Ey(S,A===0||A===u,t)),g+=1},C=S=>{let A=d.length;d.push(_y(S,A===0||A===u,t)),y+=1};for(l=0;l!==r;){let S=l;for(;l!==r&&e[l][0]===xe;)l+=1;if(S!==l)if(S===0){l>n&&(S=l-n,p=S,h=S,g=p,y=h);for(let A=S;A!==l;A+=1)b(e[A][1])}else if(l===r){let A=l-S>n?S+n:l;for(let _=S;_!==A;_+=1)b(e[_][1])}else{let A=l-S;if(A>o){let _=S+n;for(let R=S;R!==_;R+=1)b(e[R][1]);d[m]=jh(p,g,h,y,t),m=d.length,d.push("");let E=A-o;p=g+E,h=y+E,g=p,y=h;for(let R=l-n;R!==l;R+=1)b(e[R][1])}else for(let _=S;_!==l;_+=1)b(e[_][1])}for(;l!==r&&e[l][0]===Je;)v(e[l][1]),l+=1;for(;l!==r&&e[l][0]===We;)C(e[l][1]),l+=1}return c&&(d[m]=jh(p,g,h,y,t)),d.join(`
|
|
238
|
+
`)}function CP(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case Je:return Ey(a,i,t);case We:return _y(a,i,t);default:return Ry(a,i,t)}}).join(`
|
|
239
|
+
`)}var Nl=e=>e,wy=5,SP=0;function AP(){return{aAnnotation:"Expected",aColor:zt.green,aIndicator:"-",bAnnotation:"Received",bColor:zt.red,bIndicator:"+",changeColor:zt.inverse,changeLineTrailingSpaceColor:Nl,commonColor:zt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Nl,compareKeys:void 0,contextLines:wy,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:zt.yellow,truncateThreshold:SP,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Nl}}function TP(e){return e&&typeof e=="function"?e:void 0}function PP(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:wy}function Br(e={}){return{...AP(),...e,compareKeys:TP(e.compareKeys),contextLines:PP(e.contextLines)}}function mn(e){return e.length===1&&e[0].length===0}function OP(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Je:t+=1;break;case We:r+=1;break}}),{a:t,b:r}}function qP({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:s},l){if(s)return"";let c="",u="";if(i){let p=String(l.a),h=String(l.b),g=n.length-e.length,y=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),v=h.length-p.length,C=" ".repeat(Math.max(0,v)),S=" ".repeat(Math.max(0,-v));c=`${y} ${r} ${C}${p}`,u=`${b} ${a} ${S}${h}`}let d=`${r} ${e}${c}`,m=`${a} ${n}${u}`;return`${t(d)}
|
|
240
|
+
${o(m)}
|
|
241
|
+
|
|
242
|
+
`}function Ql(e,t,r){return qP(r,OP(e))+(r.expand?CP(e,r):wP(e,r))+(t?r.truncateAnnotationColor(`
|
|
243
|
+
${r.truncateAnnotation}`):"")}function Sa(e,t,r){let n=Br(r),[o,a]=Cy(mn(e)?[]:e,mn(t)?[]:t,n);return Ql(o,a,n)}function xP(e,t,r,n,o){if(mn(e)&&mn(r)&&(e=[],r=[]),mn(t)&&mn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Sa(e,t,o);let[a,i]=Cy(r,n,o),s=0,l=0;return a.forEach(c=>{switch(c[0]){case Je:c[1]=e[s],s+=1;break;case We:c[1]=t[l],l+=1;break;default:c[1]=t[l],s+=1,l+=1}}),Ql(a,i,Br(o))}function Cy(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,s=a!==e.length||i!==t.length,l=(m,p)=>e[m]===t[p],c=[],u=0,d=0;for(vy(a,i,l,(m,p,h)=>{for(;u!==p;u+=1)c.push(new Pe(Je,e[u]));for(;d!==h;d+=1)c.push(new Pe(We,t[d]));for(;m!==0;m-=1,u+=1,d+=1)c.push(new Pe(xe,t[d]))});u!==a;u+=1)c.push(new Pe(Je,e[u]));for(;d!==i;d+=1)c.push(new Pe(We,t[d]));return[c,s]}function Ih(e){return e.includes(`\r
|
|
244
|
+
`)?`\r
|
|
245
|
+
`:`
|
|
246
|
+
`}function MP(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=e.length,i=t.length;if(n){let m=e.includes(`
|
|
247
|
+
`),p=t.includes(`
|
|
248
|
+
`),h=Ih(e),g=Ih(t),y=m?`${e.split(h,o).join(h)}
|
|
249
|
+
`:e,b=p?`${t.split(g,o).join(g)}
|
|
250
|
+
`:t;a=y.length,i=b.length}let s=a!==e.length||i!==t.length,l=(m,p)=>e[m]===t[p],c=0,u=0,d=[];return vy(a,i,l,(m,p,h)=>{c!==p&&d.push(new Pe(Je,e.slice(c,p))),u!==h&&d.push(new Pe(We,t.slice(u,h))),c=p+m,u=h+m,d.push(new Pe(xe,t.slice(h,u)))}),c!==a&&d.push(new Pe(Je,e.slice(c))),u!==i&&d.push(new Pe(We,t.slice(u))),[d,s]}function NP(e,t,r){return t.reduce((n,o)=>n+(o[0]===xe?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Dh=class{constructor(e,t){Te(this,"op");Te(this,"line");Te(this,"lines");Te(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Pe(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Pe(this.op,NP(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Pe(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
251
|
+
`)){let r=t.split(`
|
|
252
|
+
`),n=r.length-1;r.forEach((o,a)=>{a<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},jP=class{constructor(e,t){Te(this,"deleteBuffer");Te(this,"insertBuffer");Te(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
253
|
+
`)){let n=r.split(`
|
|
254
|
+
`),o=n.length-1;n.forEach((a,i)=>{if(i===0){let s=new Pe(t,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(s)):(this.pushDiffChangeLines(s),this.flushChangeLines())}else i<o?this.pushDiffCommonLine(new Pe(t,a)):a.length!==0&&this.pushDiffChangeLines(new Pe(t,a))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function IP(e,t){let r=new Dh(Je,t),n=new Dh(We,t),o=new jP(r,n);return e.forEach(a=>{switch(a[0]){case Je:r.align(a);break;case We:n.align(a);break;default:o.align(a)}}),o.getLines()}function DP(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===xe&&(o!==r||n[1]!==`
|
|
255
|
+
`))}return e.some(r=>r[0]===xe)}function FP(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
256
|
+
`)||t.includes(`
|
|
257
|
+
`),[o,a]=Sy(n?`${e}
|
|
258
|
+
`:e,n?`${t}
|
|
259
|
+
`:t,!0,r);if(DP(o,n)){let i=Br(r),s=IP(o,i.changeColor);return Ql(s,a,i)}}return Sa(e.split(`
|
|
260
|
+
`),t.split(`
|
|
261
|
+
`),r)}function Sy(e,t,r,n){let[o,a]=MP(e,t,n);return r&&hP(o),[o,a]}function kl(e,t){let{commonColor:r}=Br(t);return r(e)}var{AsymmetricMatcher:LP,DOMCollection:BP,DOMElement:kP,Immutable:$P,ReactElement:UP,ReactTestComponent:HP}=dy,Ay=[HP,UP,kP,BP,$P,LP],$l={plugins:Ay},Ty={callToJSON:!1,maxDepth:10,plugins:Ay};function VP(e,t,r){if(Object.is(e,t))return"";let n=Ph(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string"}if(o!==Ph(t)){let{aAnnotation:i,aColor:s,aIndicator:l,bAnnotation:c,bColor:u,bIndicator:d}=Br(r),m=Ul(Ty,r),p=Mt(e,m),h=Mt(t,m),g=`${s(`${l} ${i}:`)}
|
|
262
|
+
${p}`,y=`${u(`${d} ${c}:`)}
|
|
263
|
+
${h}`;return`${g}
|
|
264
|
+
|
|
265
|
+
${y}`}if(!a)switch(n){case"string":return Sa(e.split(`
|
|
266
|
+
`),t.split(`
|
|
267
|
+
`),r);case"boolean":case"number":return zP(e,t,r);case"map":return jl(Fh(e),Fh(t),r);case"set":return jl(Lh(e),Lh(t),r);default:return jl(e,t,r)}}function zP(e,t,r){let n=Mt(e,$l),o=Mt(t,$l);return n===o?"":Sa(n.split(`
|
|
268
|
+
`),o.split(`
|
|
269
|
+
`),r)}function Fh(e){return new Map(Array.from(e.entries()).sort())}function Lh(e){return new Set(Array.from(e.values()).sort())}function jl(e,t,r){let n,o=!1;try{let i=Ul($l,r);n=Bh(e,t,i,r)}catch{o=!0}let a=kl(gy,r);if(n===void 0||n===a){let i=Ul(Ty,r);n=Bh(e,t,i,r),n!==a&&!o&&(n=`${kl(vP,r)}
|
|
270
|
+
|
|
271
|
+
${n}`)}return n}function Ul(e,t){let{compareKeys:r}=Br(t);return{...e,compareKeys:r}}function Bh(e,t,r,n){let o={...r,indent:0},a=Mt(e,o),i=Mt(t,o);if(a===i)return kl(gy,n);{let s=Mt(e,r),l=Mt(t,r);return xP(s.split(`
|
|
272
|
+
`),l.split(`
|
|
273
|
+
`),a.split(`
|
|
274
|
+
`),i.split(`
|
|
275
|
+
`),n)}}var kh=2e4;function $h(e){return Ll(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Uh(e,t){let r=Ll(e),n=Ll(t);return r===n&&(r==="Object"||r==="Array")}function GP(e,t,r){let{aAnnotation:n,bAnnotation:o}=Br(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=kh&&t.length<=kh&&e!==t){if(e.includes(`
|
|
276
|
+
`)||t.includes(`
|
|
277
|
+
`))return FP(t,e,r);let[c]=Sy(t,e,!0),u=c.some(h=>h[0]===xe),d=YP(n,o),m=d(n)+XP(Hh(c,Je,u)),p=d(o)+KP(Hh(c,We,u));return`${m}
|
|
278
|
+
${p}`}let a=Th(e,{forceWritable:!0}),i=Th(t,{forceWritable:!0}),{replacedExpected:s,replacedActual:l}=Py(a,i);return VP(s,l,r)}function Py(e,t,r=new WeakSet,n=new WeakSet){return Uh(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),my(t).forEach(o=>{let a=t[o],i=e[o];if($h(a))a.asymmetricMatch(i)&&(e[o]=a);else if($h(i))i.asymmetricMatch(a)&&(t[o]=i);else if(Uh(i,a)){let s=Py(i,a,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function YP(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var WP="\xB7";function Oy(e){return e.replace(/\s+$/gm,t=>WP.repeat(t.length))}function KP(e){return zt.red(Oy(uo(e)))}function XP(e){return zt.green(Oy(uo(e)))}function Hh(e,t,r){return e.reduce((n,o)=>n+(o[0]===xe?o[1]:o[0]===t?r?zt.inverse(o[1]):o[1]:""),"")}var JP="@@__IMMUTABLE_RECORD__@@",QP="@@__IMMUTABLE_ITERABLE__@@";function ZP(e){return e&&(e[QP]||e[JP])}var eO=Object.getPrototypeOf({});function Vh(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function hn(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(ZP(e))return hn(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${cP(e.sample)}`;if(typeof e.toJSON=="function")return hn(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=hn(n,t)}catch(a){r[o]=Vh(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==eO;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=hn(e[o],t)}catch(a){delete r[o],r[o]=Vh(a)}}),n=Object.getPrototypeOf(n);return r}}function tO(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function qy(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=GP(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=uo(n.expected,10)),typeof n.actual!="string"&&(n.actual=uo(n.actual,10));try{typeof n.message=="string"&&(n.message=tO(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=qy(n.cause,t,r))}catch{}try{return hn(n)}catch(o){return hn(new Error(`Failed to fully serialize error: ${o?.message}
|
|
279
|
+
Inner error message: ${n?.message}`))}}var rO=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(rO||{}),Vt={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},zh={start:!1,back:!1,goto:!1,next:!1,end:!1},nO=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Gh=e=>Object.prototype.toString.call(e)==="[object Object]",oO=e=>Object.prototype.toString.call(e)==="[object Module]",aO=e=>{if(!Gh(e)&&!oO(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Gh(t)},iO=e=>{try{return new e.constructor}catch{return{}}},Il=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),Yh=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},sO=class{constructor(){this.initialized=!1,this.channel=Ut.getChannel(),this.state=Fe.window?.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let e=({storyId:i,isPlaying:s=!0,isDebugging:l=!1})=>{let c=this.getState(i);this.setState(i,{...Il(),...Yh(c,l),shadowCalls:l?c.shadowCalls:[],chainedCallIds:l?c.chainedCallIds:new Set,playUntil:l?c.playUntil:void 0,isPlaying:s,isDebugging:l}),this.sync(i)};this.channel.on(rn,e),this.channel.on(kt,({storyId:i,newPhase:s})=>{let{isDebugging:l}=this.getState(i);this.setState(i,{renderPhase:s}),s==="preparing"&&l&&e({storyId:i}),s==="playing"&&e({storyId:i,isDebugging:l}),s==="played"&&this.setState(i,{isLocked:!1,isPlaying:!1,isDebugging:!1}),s==="errored"&&this.setState(i,{isLocked:!1,isPlaying:!1})}),this.channel.on(Jn,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:i,playUntil:s})=>{this.getState(i).isDebugging||this.setState(i,({calls:c})=>({calls:[],shadowCalls:c.map(u=>({...u,status:"waiting"})),isDebugging:!0}));let l=this.getLog(i);this.setState(i,({shadowCalls:c})=>{if(s||!l.length)return{playUntil:s};let u=c.findIndex(d=>d.id===l[0].callId);return{playUntil:c.slice(0,u).filter(d=>d.interceptable&&!d.ancestors?.length).slice(-1)[0]?.id}}),this.channel.emit(rn,{storyId:i,isDebugging:!0})},r=({storyId:i})=>{let s=this.getLog(i).filter(c=>!c.ancestors?.length),l=s.reduceRight((c,u,d)=>c>=0||u.status==="waiting"?c:d,-1);t({storyId:i,playUntil:s[l-1]?.callId})},n=({storyId:i,callId:s})=>{let{calls:l,shadowCalls:c,resolvers:u}=this.getState(i),d=l.find(({id:p})=>p===s),m=c.find(({id:p})=>p===s);if(!d&&m&&Object.values(u).length>0){let p=this.getLog(i).find(h=>h.status==="waiting")?.callId;m.id!==p&&this.setState(i,{playUntil:m.id}),Object.values(u).forEach(h=>h())}else t({storyId:i,playUntil:s})},o=({storyId:i})=>{let{resolvers:s}=this.getState(i);if(Object.values(s).length>0)Object.values(s).forEach(l=>l());else{let l=this.getLog(i).find(c=>c.status==="waiting")?.callId;l?t({storyId:i,playUntil:l}):a({storyId:i})}},a=({storyId:i})=>{this.setState(i,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(i).resolvers).forEach(s=>s())};this.channel.on(Vt.START,t),this.channel.on(Vt.BACK,r),this.channel.on(Vt.GOTO,n),this.channel.on(Vt.NEXT,o),this.channel.on(Vt.END,a)}getState(e){return this.state[e]||Il()}setState(e,t){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},Fe.window?.parent&&(Fe.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let o=Yh(n);return o&&(t[r]=Object.assign(Il(),o)),t},{});let e={controlStates:zh,logItems:[]};this.channel.emit(Vt.SYNC,e),Fe.window?.parent&&(Fe.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((a,i)=>{n[i]=a});let o=new Set;return n.reduceRight((a,i)=>(i.args.forEach(s=>{s?.__callId__&&o.add(s.__callId__)}),i.path.forEach(s=>{s.__callId__&&o.add(s.__callId__)}),(i.interceptable||i.exception)&&!o.has(i.id)&&(a.unshift({callId:i.id,status:i.status,ancestors:i.ancestors}),o.add(i.id)),a),[])}instrument(e,t,r=0){if(!aO(e))return e;let{mutate:n=!1,path:o=[]}=t,a=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,a.reduce((i,s)=>{let l=lO(e,s);if(typeof l?.get=="function"){let u=()=>l?.get?.bind(e)?.();return Object.defineProperty(i,s,{get:()=>this.instrument(u(),{...t,path:o.concat(s)},r)}),i}let c=e[s];return typeof c!="function"?(i[s]=this.instrument(c,{...t,path:o.concat(s)},r),i):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(i[s]=c,i):(i[s]=(...u)=>this.track(s,c,e,u,t),i[s].__originalFn__=c,Object.defineProperty(i[s],"name",{value:s,writable:!1}),Object.keys(c).length>0&&Object.assign(i[s],this.instrument({...c},{...t,path:o.concat(s)},r)),i)},n?e:iO(e))}track(e,t,r,n,o){let a=n?.[0]?.__storyId__||Fe.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:i,ancestors:s}=this.getState(a);this.setState(a,{cursor:i+1});let l=`${s.slice(-1)[0]||a} [${i}] ${e}`,{path:c=[],intercept:u=!1,retain:d=!1}=o,m=typeof u=="function"?u(e,c):u,p={id:l,cursor:i,storyId:a,ancestors:s,path:c,method:e,args:n,interceptable:m,retain:d},h=(m&&!s.length?this.intercept:this.invoke).call(this,t,r,p,o);return this.instrument(h,{...o,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:a,playUntil:i}=this.getState(r.storyId),s=o.has(r.id);return!a||s||i?(i===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(l=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:l}}))}).then(()=>(this.setState(r.storyId,l=>{let{[r.id]:c,...u}=l.resolvers;return{isLocked:!0,resolvers:u}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:a}=this.getState(r.storyId),i=25,s=(u,d,m)=>{if(m.includes(u))return"[Circular]";if(m=[...m,u],d>i)return"...";if(o.has(u))return o.get(u);if(u instanceof Array)return u.map(p=>s(p,++d,m));if(u instanceof Date)return{__date__:{value:u.toISOString()}};if(u instanceof Error){let{name:p,message:h,stack:g}=u;return{__error__:{name:p,message:h,stack:g}}}if(u instanceof RegExp){let{flags:p,source:h}=u;return{__regexp__:{flags:p,source:h}}}if(u instanceof Fe.window?.HTMLElement){let{prefix:p,localName:h,id:g,classList:y,innerText:b}=u,v=Array.from(y);return{__element__:{prefix:p,localName:h,id:g,classNames:v,innerText:b}}}return typeof u=="function"?{__function__:{name:"getMockName"in u?u.getMockName():u.name}}:typeof u=="symbol"?{__symbol__:{description:u.description}}:typeof u=="object"&&u?.constructor?.name&&u?.constructor?.name!=="Object"?{__class__:{name:u.constructor.name}}:Object.prototype.toString.call(u)==="[object Object]"?Object.fromEntries(Object.entries(u).map(([p,h])=>[p,s(h,++d,m)])):u},l={...r,args:r.args.map(u=>s(u,0,[]))};r.path.forEach(u=>{u?.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(u.__callId__))}))});let c=u=>{if(u instanceof Error){let{name:d,message:m,stack:p,callId:h=r.id}=u,{showDiff:g=void 0,diff:y=void 0,actual:b=void 0,expected:v=void 0}=u.name==="AssertionError"?qy(u):u,C={name:d,message:m,stack:p,callId:h,showDiff:g,diff:y,actual:b,expected:v};if(this.update({...l,status:"error",exception:C}),this.setState(r.storyId,S=>({callRefsByResult:new Map([...Array.from(S.callRefsByResult.entries()),[u,{__callId__:r.id,retain:r.retain}]])})),r.ancestors?.length)throw Object.prototype.hasOwnProperty.call(u,"callId")||Object.defineProperty(u,"callId",{value:r.id}),u}throw u};try{if(a==="played"&&!r.retain)throw nO;let u=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(m=>typeof m!="function"||Object.keys(m).length?m:(...p)=>{let{cursor:h,ancestors:g}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...g,r.id]});let y=()=>this.setState(r.storyId,{cursor:h,ancestors:g}),b=!1;try{let v=m(...p);return v instanceof Promise?(b=!0,v.finally(y)):v}finally{b||y()}}),d=e.apply(t,u);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,m=>({callRefsByResult:new Map([...Array.from(m.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...l,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(m=>(this.update({...l,status:"done"}),m),c):d}catch(u){return c(u)}}update(e){this.channel.emit(Vt.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,o)=>Object.assign(n,{[o.id]:o}),{});return{calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),a=o.filter(({ancestors:c})=>!c.length).find(c=>c.status==="waiting")?.callId,i=o.some(c=>c.status==="active");if(r||i||o.length===0){let c={controlStates:zh,logItems:o};this.channel.emit(Vt.SYNC,c);return}let s=o.some(c=>c.status==="done"||c.status==="error"),l={controlStates:{start:s,back:s,goto:!0,next:n,end:n},logItems:o,pausedAt:a};this.channel.emit(Vt.SYNC,l)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function Aa(e,t={}){try{let r=!1,n=!1;return Fe.window?.location?.search?.includes("instrument=true")?r=!0:Fe.window?.location?.search?.includes("instrument=false")&&(n=!0),Fe.window?.parent===Fe.window&&!r||n?e:(Fe.window&&!Fe.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Fe.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new sO),(Fe.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return Ce.warn(r),e}}function lO(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var uO=Object.create,yc=Object.defineProperty,cO=Object.getOwnPropertyDescriptor,Fg=Object.getOwnPropertyNames,dO=Object.getPrototypeOf,pO=Object.prototype.hasOwnProperty,fO=(e=>typeof _e<"u"?_e:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof _e<"u"?_e:t)[r]}):e)(function(e){if(typeof _e<"u")return _e.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),w=(e,t)=>function(){return t||(0,e[Fg(e)[0]])((t={exports:{}}).exports,t),t.exports},bc=(e,t)=>{for(var r in t)yc(e,r,{get:t[r],enumerable:!0})},mO=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Fg(t))!pO.call(e,o)&&o!==r&&yc(e,o,{get:()=>t[o],enumerable:!(n=cO(t,o))||n.enumerable});return e},pt=(e,t,r)=>(r=e!=null?uO(dO(e)):{},mO(t||!e||!e.__esModule?yc(r,"default",{value:e,enumerable:!0}):r,e)),hO=w({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,a)=>Math.min(o,a.length),1/0):0}}}),yO=w({"../../node_modules/strip-indent/index.js"(e,t){var r=hO();t.exports=n=>{let o=r(n);if(o===0)return n;let a=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(a,"")}}}),bO=w({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let a=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,o.indent.repeat(n))}}}),Lg=w({"../../node_modules/redent/index.js"(e,t){var r=yO(),n=bO();t.exports=(o,a=0,i)=>n(r(o),a,i)}}),gO=w({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}}};return o}e.default=t}}),Fo=w({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(gO());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(a)}function o(a,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(i)}),a}}}),vO=w({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Fo());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,m){return l(d)||s(d,m)||a(d,m)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
280
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(d,m){if(d){if(typeof d=="string")return i(d,m);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?i(d,m):void 0}}function i(d,m){(m==null||m>d.length)&&(m=d.length);for(var p=0,h=Array(m);p<m;p++)h[p]=d[p];return h}function s(d,m){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var h,g,y,b,v=[],C=!0,S=!1;try{if(y=(p=p.call(d)).next,m===0){if(Object(p)!==p)return;C=!1}else for(;!(C=(h=y.call(p)).done)&&(v.push(h.value),v.length!==m);C=!0);}catch(A){S=!0,g=A}finally{try{if(!C&&p.return!=null&&(b=p.return(),Object(b)!==b))return}finally{if(S)throw g}}return v}}function l(d){if(Array.isArray(d))return d}var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],u={entries:function(){return c},forEach:function(d){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,h=c;p<h.length;p++){var g=n(h[p],2),y=g[0],b=g[1];d.call(m,b,y,c)}},get:function(d){var m=c.filter(function(p){return p[0]===d})[0];return m&&m[1]},has:function(d){return!!u.get(d)},keys:function(){return c.map(function(d){var m=n(d,1),p=m[0];return p})},values:function(){return c.map(function(d){var m=n(d,2),p=m[1];return p})}};e.default=(0,t.default)(u,u.entries())}}),EO=w({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Fo());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,m){return l(d)||s(d,m)||a(d,m)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
281
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(d,m){if(d){if(typeof d=="string")return i(d,m);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?i(d,m):void 0}}function i(d,m){(m==null||m>d.length)&&(m=d.length);for(var p=0,h=Array(m);p<m;p++)h[p]=d[p];return h}function s(d,m){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var h,g,y,b,v=[],C=!0,S=!1;try{if(y=(p=p.call(d)).next,m===0){if(Object(p)!==p)return;C=!1}else for(;!(C=(h=y.call(p)).done)&&(v.push(h.value),v.length!==m);C=!0);}catch(A){S=!0,g=A}finally{try{if(!C&&p.return!=null&&(b=p.return(),Object(b)!==b))return}finally{if(S)throw g}}return v}}function l(d){if(Array.isArray(d))return d}var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],u={entries:function(){return c},forEach:function(d){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,h=c;p<h.length;p++){var g=n(h[p],2),y=g[0],b=g[1];d.call(m,b,y,c)}},get:function(d){var m=c.filter(function(p){return p[0]===d})[0];return m&&m[1]},has:function(d){return!!u.get(d)},keys:function(){return c.map(function(d){var m=n(d,1),p=m[0];return p})},values:function(){return c.map(function(d){var m=n(d,2),p=m[1];return p})}};e.default=(0,t.default)(u,u.entries())}}),_O=w({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),RO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),wO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),CO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),SO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),AO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),TO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),PO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),OO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),qO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),xO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),MO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),NO=w({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(_O()),r=p(RO()),n=p(wO()),o=p(CO()),a=p(SO()),i=p(AO()),s=p(TO()),l=p(PO()),c=p(OO()),u=p(qO()),d=p(xO()),m=p(MO());function p(g){return g&&g.__esModule?g:{default:g}}var h=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",s.default],["sectionhead",l.default],["select",c.default],["structure",u.default],["widget",d.default],["window",m.default]];e.default=h}}),jO=w({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),IO=w({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),DO=w({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),FO=w({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),LO=w({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),BO=w({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),kO=w({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),$O=w({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),UO=w({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),HO=w({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),VO=w({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),zO=w({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),GO=w({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),YO=w({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),WO=w({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),KO=w({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),XO=w({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),JO=w({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),QO=w({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),ZO=w({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),eq=w({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tq=w({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),rq=w({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),nq=w({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),oq=w({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),aq=w({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),iq=w({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),sq=w({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lq=w({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),uq=w({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),cq=w({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),dq=w({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),pq=w({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),fq=w({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),mq=w({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hq=w({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),yq=w({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),bq=w({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gq=w({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),vq=w({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Eq=w({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),_q=w({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),Rq=w({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),wq=w({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),Cq=w({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),Sq=w({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),Aq=w({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Tq=w({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),Pq=w({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Oq=w({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),qq=w({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),xq=w({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Mq=w({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),Nq=w({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),jq=w({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Iq=w({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Dq=w({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),Fq=w({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Lq=w({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),Bq=w({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),kq=w({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),$q=w({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),Uq=w({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Hq=w({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),Vq=w({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),zq=w({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Gq=w({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Yq=w({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Wq=w({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Kq=w({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),Xq=w({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),Jq=w({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Qq=w({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),Zq=w({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ex=w({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tx=w({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),rx=w({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),nx=w({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),ox=w({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),ax=w({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ix=w({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),sx=w({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),lx=w({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),ux=w({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(jO()),r=k(IO()),n=k(DO()),o=k(FO()),a=k(LO()),i=k(BO()),s=k(kO()),l=k($O()),c=k(UO()),u=k(HO()),d=k(VO()),m=k(zO()),p=k(GO()),h=k(YO()),g=k(WO()),y=k(KO()),b=k(XO()),v=k(JO()),C=k(QO()),S=k(ZO()),A=k(eq()),_=k(tq()),E=k(rq()),R=k(nq()),P=k(oq()),N=k(aq()),B=k(iq()),j=k(sq()),F=k(lq()),T=k(uq()),M=k(cq()),D=k(dq()),Y=k(pq()),G=k(fq()),Q=k(mq()),ne=k(hq()),te=k(yq()),H=k(bq()),U=k(gq()),z=k(vq()),X=k(Eq()),W=k(_q()),ee=k(Rq()),le=k(wq()),ze=k(Cq()),L=k(Sq()),J=k(Aq()),Z=k(Tq()),pe=k(Pq()),ce=k(Oq()),me=k(qq()),be=k(xq()),qe=k(Mq()),it=k(Nq()),Gn=k(jq()),Yn=k(Iq()),Li=k(Dq()),Bi=k(Fq()),ki=k(Lq()),$i=k(Bq()),Ui=k(kq()),Hi=k($q()),Vi=k(Uq()),zi=k(Hq()),Gi=k(Vq()),Yi=k(zq()),Wi=k(Gq()),Ki=k(Yq()),Xi=k(Wq()),Ji=k(Kq()),Qi=k(Xq()),Zi=k(Jq()),es=k(Qq()),ts=k(Zq()),rs=k(ex()),ns=k(tx()),os=k(rx()),as=k(nx()),is=k(ox()),ss=k(ax()),ls=k(ix()),us=k(sx()),cs=k(lx());function k(en){return en&&en.__esModule?en:{default:en}}var ds=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",a.default],["blockquote",i.default],["button",s.default],["caption",l.default],["cell",c.default],["checkbox",u.default],["code",d.default],["columnheader",m.default],["combobox",p.default],["complementary",h.default],["contentinfo",g.default],["definition",y.default],["deletion",b.default],["dialog",v.default],["directory",C.default],["document",S.default],["emphasis",A.default],["feed",_.default],["figure",E.default],["form",R.default],["generic",P.default],["grid",N.default],["gridcell",B.default],["group",j.default],["heading",F.default],["img",T.default],["insertion",M.default],["link",D.default],["list",Y.default],["listbox",G.default],["listitem",Q.default],["log",ne.default],["main",te.default],["mark",H.default],["marquee",U.default],["math",z.default],["menu",X.default],["menubar",W.default],["menuitem",ee.default],["menuitemcheckbox",le.default],["menuitemradio",ze.default],["meter",L.default],["navigation",J.default],["none",Z.default],["note",pe.default],["option",ce.default],["paragraph",me.default],["presentation",be.default],["progressbar",qe.default],["radio",it.default],["radiogroup",Gn.default],["region",Yn.default],["row",Li.default],["rowgroup",Bi.default],["rowheader",ki.default],["scrollbar",$i.default],["search",Ui.default],["searchbox",Hi.default],["separator",Vi.default],["slider",zi.default],["spinbutton",Gi.default],["status",Yi.default],["strong",Wi.default],["subscript",Ki.default],["superscript",Xi.default],["switch",Ji.default],["tab",Qi.default],["table",Zi.default],["tablist",es.default],["tabpanel",ts.default],["term",rs.default],["textbox",ns.default],["time",os.default],["timer",as.default],["toolbar",is.default],["tooltip",ss.default],["tree",ls.default],["treegrid",us.default],["treeitem",cs.default]];e.default=ds}}),cx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),dx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),px=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),fx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),mx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),hx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),yx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),bx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),gx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ex=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),_x=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),Rx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),wx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Cx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Sx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),Ax=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Tx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Px=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Ox=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),qx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),xx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Mx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Nx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),jx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Ix=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Dx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Fx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Lx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),Bx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),kx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),$x=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ux=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Hx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Vx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Gx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),Yx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Wx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),Kx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),Xx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Jx=w({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=W(cx()),r=W(dx()),n=W(px()),o=W(fx()),a=W(mx()),i=W(hx()),s=W(yx()),l=W(bx()),c=W(gx()),u=W(vx()),d=W(Ex()),m=W(_x()),p=W(Rx()),h=W(wx()),g=W(Cx()),y=W(Sx()),b=W(Ax()),v=W(Tx()),C=W(Px()),S=W(Ox()),A=W(qx()),_=W(xx()),E=W(Mx()),R=W(Nx()),P=W(jx()),N=W(Ix()),B=W(Dx()),j=W(Fx()),F=W(Lx()),T=W(Bx()),M=W(kx()),D=W($x()),Y=W(Ux()),G=W(Hx()),Q=W(Vx()),ne=W(zx()),te=W(Gx()),H=W(Yx()),U=W(Wx()),z=W(Kx()),X=W(Xx());function W(le){return le&&le.__esModule?le:{default:le}}var ee=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",a.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",l.default],["doc-chapter",c.default],["doc-colophon",u.default],["doc-conclusion",d.default],["doc-cover",m.default],["doc-credit",p.default],["doc-credits",h.default],["doc-dedication",g.default],["doc-endnote",y.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",C.default],["doc-errata",S.default],["doc-example",A.default],["doc-footnote",_.default],["doc-foreword",E.default],["doc-glossary",R.default],["doc-glossref",P.default],["doc-index",N.default],["doc-introduction",B.default],["doc-noteref",j.default],["doc-notice",F.default],["doc-pagebreak",T.default],["doc-pagefooter",M.default],["doc-pageheader",D.default],["doc-pagelist",Y.default],["doc-part",G.default],["doc-preface",Q.default],["doc-prologue",ne.default],["doc-pullquote",te.default],["doc-qna",H.default],["doc-subtitle",U.default],["doc-tip",z.default],["doc-toc",X.default]];e.default=ee}}),Qx=w({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),Zx=w({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),eM=w({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),tM=w({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Qx()),r=o(Zx()),n=o(eM());function o(i){return i&&i.__esModule?i:{default:i}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=a}}),gc=w({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(NO()),r=i(ux()),n=i(Jx()),o=i(tM()),a=i(Fo());function i(y){return y&&y.__esModule?y:{default:y}}function s(y,b){var v=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!v){if(Array.isArray(y)||(v=u(y))||b&&y&&typeof y.length=="number"){v&&(y=v);var C=0,S=function(){};return{s:S,n:function(){return C>=y.length?{done:!0}:{done:!1,value:y[C++]}},e:function(R){throw R},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
282
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var A,_=!0,E=!1;return{s:function(){v=v.call(y)},n:function(){var R=v.next();return _=R.done,R},e:function(R){E=!0,A=R},f:function(){try{_||v.return==null||v.return()}finally{if(E)throw A}}}}function l(y,b){return p(y)||m(y,b)||u(y,b)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
283
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(y,b){if(y){if(typeof y=="string")return d(y,b);var v={}.toString.call(y).slice(8,-1);return v==="Object"&&y.constructor&&(v=y.constructor.name),v==="Map"||v==="Set"?Array.from(y):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?d(y,b):void 0}}function d(y,b){(b==null||b>y.length)&&(b=y.length);for(var v=0,C=Array(b);v<b;v++)C[v]=y[v];return C}function m(y,b){var v=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(v!=null){var C,S,A,_,E=[],R=!0,P=!1;try{if(A=(v=v.call(y)).next,b===0){if(Object(v)!==v)return;R=!1}else for(;!(R=(C=A.call(v)).done)&&(E.push(C.value),E.length!==b);R=!0);}catch(N){P=!0,S=N}finally{try{if(!R&&v.return!=null&&(_=v.return(),Object(_)!==_))return}finally{if(P)throw S}}return E}}function p(y){if(Array.isArray(y))return y}var h=[].concat(t.default,r.default,n.default,o.default);h.forEach(function(y){var b=l(y,2),v=b[1],C=s(v.superClass),S;try{for(C.s();!(S=C.n()).done;){var A=S.value,_=s(A),E;try{var R=function(){var P=E.value,N=h.filter(function(M){var D=l(M,1),Y=D[0];return Y===P})[0];if(N)for(var B=N[1],j=0,F=Object.keys(B.props);j<F.length;j++){var T=F[j];Object.prototype.hasOwnProperty.call(v.props,T)||(v.props[T]=B.props[T])}};for(_.s();!(E=_.n()).done;)R()}catch(P){_.e(P)}finally{_.f()}}}catch(P){C.e(P)}finally{C.f()}});var g={entries:function(){return h},forEach:function(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=s(h),C;try{for(v.s();!(C=v.n()).done;){var S=l(C.value,2),A=S[0],_=S[1];y.call(b,_,A,h)}}catch(E){v.e(E)}finally{v.f()}},get:function(y){var b=h.filter(function(v){return v[0]===y})[0];return b&&b[1]},has:function(y){return!!g.get(y)},keys:function(){return h.map(function(y){var b=l(y,1),v=b[0];return v})},values:function(){return h.map(function(y){var b=l(y,2),v=b[1];return v})}};e.default=(0,a.default)(g,g.entries())}}),rM=w({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Fo()),r=n(gc());function n(_){return _&&_.__esModule?_:{default:_}}function o(_,E){return c(_)||l(_,E)||i(_,E)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
284
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(_,E){if(_){if(typeof _=="string")return s(_,E);var R={}.toString.call(_).slice(8,-1);return R==="Object"&&_.constructor&&(R=_.constructor.name),R==="Map"||R==="Set"?Array.from(_):R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R)?s(_,E):void 0}}function s(_,E){(E==null||E>_.length)&&(E=_.length);for(var R=0,P=Array(E);R<E;R++)P[R]=_[R];return P}function l(_,E){var R=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(R!=null){var P,N,B,j,F=[],T=!0,M=!1;try{if(B=(R=R.call(_)).next,E===0){if(Object(R)!==R)return;T=!1}else for(;!(T=(P=B.call(R)).done)&&(F.push(P.value),F.length!==E);T=!0);}catch(D){M=!0,N=D}finally{try{if(!T&&R.return!=null&&(j=R.return(),Object(j)!==j))return}finally{if(M)throw N}}return F}}function c(_){if(Array.isArray(_))return _}var u=[],d=r.default.keys();for(b=0;b<d.length;b++)if(m=d[b],p=r.default.get(m),p)for(h=[].concat(p.baseConcepts,p.relatedConcepts),g=function(){var _=h[y];if(_.module==="HTML"){var E=_.concept;if(E){var R=u.filter(function(j){return C(j[0],E)})[0],P;R?P=R[1]:P=[];for(var N=!0,B=0;B<P.length;B++)if(P[B]===m){N=!1;break}N&&P.push(m),R||u.push([E,P])}}},y=0;y<h.length;y++)g();var m,p,h,g,y,b,v={entries:function(){return u},forEach:function(_){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=0,P=u;R<P.length;R++){var N=o(P[R],2),B=N[0],j=N[1];_.call(E,j,B,u)}},get:function(_){var E=u.filter(function(R){return _.name===R[0].name&&A(_.attributes,R[0].attributes)})[0];return E&&E[1]},has:function(_){return!!v.get(_)},keys:function(){return u.map(function(_){var E=o(_,1),R=E[0];return R})},values:function(){return u.map(function(_){var E=o(_,2),R=E[1];return R})}};function C(_,E){return _.name===E.name&&S(_.constraints,E.constraints)&&A(_.attributes,E.attributes)}function S(_,E){if(_===void 0&&E!==void 0||_!==void 0&&E===void 0)return!1;if(_!==void 0&&E!==void 0){if(_.length!==E.length)return!1;for(var R=0;R<_.length;R++)if(_[R]!==E[R])return!1}return!0}function A(_,E){if(_===void 0&&E!==void 0||_!==void 0&&E===void 0)return!1;if(_!==void 0&&E!==void 0){if(_.length!==E.length)return!1;for(var R=0;R<_.length;R++){if(_[R].name!==E[R].name||_[R].value!==E[R].value||_[R].constraints===void 0&&E[R].constraints!==void 0||_[R].constraints!==void 0&&E[R].constraints===void 0)return!1;if(_[R].constraints!==void 0&&E[R].constraints!==void 0){if(_[R].constraints.length!==E[R].constraints.length)return!1;for(var P=0;P<_[R].constraints.length;P++)if(_[R].constraints[P]!==E[R].constraints[P])return!1}}}return!0}e.default=(0,t.default)(v,v.entries())}}),nM=w({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Fo()),r=n(gc());function n(A){return A&&A.__esModule?A:{default:A}}function o(A,_){return c(A)||l(A,_)||i(A,_)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
285
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(A,_){if(A){if(typeof A=="string")return s(A,_);var E={}.toString.call(A).slice(8,-1);return E==="Object"&&A.constructor&&(E=A.constructor.name),E==="Map"||E==="Set"?Array.from(A):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?s(A,_):void 0}}function s(A,_){(_==null||_>A.length)&&(_=A.length);for(var E=0,R=Array(_);E<_;E++)R[E]=A[E];return R}function l(A,_){var E=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(E!=null){var R,P,N,B,j=[],F=!0,T=!1;try{if(N=(E=E.call(A)).next,_===0){if(Object(E)!==E)return;F=!1}else for(;!(F=(R=N.call(E)).done)&&(j.push(R.value),j.length!==_);F=!0);}catch(M){T=!0,P=M}finally{try{if(!F&&E.return!=null&&(B=E.return(),Object(B)!==B))return}finally{if(T)throw P}}return j}}function c(A){if(Array.isArray(A))return A}var u=[],d=r.default.keys();for(C=0;C<d.length;C++)if(m=d[C],p=r.default.get(m),h=[],p){for(g=[].concat(p.baseConcepts,p.relatedConcepts),v=0;v<g.length;v++)y=g[v],y.module==="HTML"&&(b=y.concept,b!=null&&h.push(b));h.length>0&&u.push([m,h])}var m,p,h,g,y,b,v,C,S={entries:function(){return u},forEach:function(A){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,R=u;E<R.length;E++){var P=o(R[E],2),N=P[0],B=P[1];A.call(_,B,N,u)}},get:function(A){var _=u.filter(function(E){return E[0]===A})[0];return _&&_[1]},has:function(A){return!!S.get(A)},keys:function(){return u.map(function(A){var _=o(A,1),E=_[0];return E})},values:function(){return u.map(function(A){var _=o(A,2),E=_[1];return E})}};e.default=(0,t.default)(S,S.entries())}}),Bg=w({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(vO()),r=i(EO()),n=i(gc()),o=i(rM()),a=i(nM());function i(s){return s&&s.__esModule?s:{default:s}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=a.default}}),oM=w({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),kg=w({"../../node_modules/color-convert/conversions.js"(e,t){var r=oM(),n={};for(let i of Object.keys(r))n[r[i]]=i;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:s,labels:l}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:s}),Object.defineProperty(o[i],"labels",{value:l})}o.rgb.hsl=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,u=Math.min(s,l,c),d=Math.max(s,l,c),m=d-u,p,h;d===u?p=0:s===d?p=(l-c)/m:l===d?p=2+(c-s)/m:c===d&&(p=4+(s-l)/m),p=Math.min(p*60,360),p<0&&(p+=360);let g=(u+d)/2;return d===u?h=0:g<=.5?h=m/(d+u):h=m/(2-d-u),[p,h*100,g*100]},o.rgb.hsv=function(i){let s,l,c,u,d,m=i[0]/255,p=i[1]/255,h=i[2]/255,g=Math.max(m,p,h),y=g-Math.min(m,p,h),b=function(v){return(g-v)/6/y+1/2};return y===0?(u=0,d=0):(d=y/g,s=b(m),l=b(p),c=b(h),m===g?u=c-l:p===g?u=1/3+s-c:h===g&&(u=2/3+l-s),u<0?u+=1:u>1&&(u-=1)),[u*360,d*100,g*100]},o.rgb.hwb=function(i){let s=i[0],l=i[1],c=i[2],u=o.rgb.hsl(i)[0],d=1/255*Math.min(s,Math.min(l,c));return c=1-1/255*Math.max(s,Math.max(l,c)),[u,d*100,c*100]},o.rgb.cmyk=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,u=Math.min(1-s,1-l,1-c),d=(1-s-u)/(1-u)||0,m=(1-l-u)/(1-u)||0,p=(1-c-u)/(1-u)||0;return[d*100,m*100,p*100,u*100]};function a(i,s){return(i[0]-s[0])**2+(i[1]-s[1])**2+(i[2]-s[2])**2}o.rgb.keyword=function(i){let s=n[i];if(s)return s;let l=1/0,c;for(let u of Object.keys(r)){let d=r[u],m=a(i,d);m<l&&(l=m,c=u)}return c},o.keyword.rgb=function(i){return r[i]},o.rgb.xyz=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255;s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let u=s*.4124+l*.3576+c*.1805,d=s*.2126+l*.7152+c*.0722,m=s*.0193+l*.1192+c*.9505;return[u*100,d*100,m*100]},o.rgb.lab=function(i){let s=o.rgb.xyz(i),l=s[0],c=s[1],u=s[2];l/=95.047,c/=100,u/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let d=116*c-16,m=500*(l-c),p=200*(c-u);return[d,m,p]},o.hsl.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100,u,d,m;if(l===0)return m=c*255,[m,m,m];c<.5?u=c*(1+l):u=c+l-c*l;let p=2*c-u,h=[0,0,0];for(let g=0;g<3;g++)d=s+1/3*-(g-1),d<0&&d++,d>1&&d--,6*d<1?m=p+(u-p)*6*d:2*d<1?m=u:3*d<2?m=p+(u-p)*(2/3-d)*6:m=p,h[g]=m*255;return h},o.hsl.hsv=function(i){let s=i[0],l=i[1]/100,c=i[2]/100,u=l,d=Math.max(c,.01);c*=2,l*=c<=1?c:2-c,u*=d<=1?d:2-d;let m=(c+l)/2,p=c===0?2*u/(d+u):2*l/(c+l);return[s,p*100,m*100]},o.hsv.rgb=function(i){let s=i[0]/60,l=i[1]/100,c=i[2]/100,u=Math.floor(s)%6,d=s-Math.floor(s),m=255*c*(1-l),p=255*c*(1-l*d),h=255*c*(1-l*(1-d));switch(c*=255,u){case 0:return[c,h,m];case 1:return[p,c,m];case 2:return[m,c,h];case 3:return[m,p,c];case 4:return[h,m,c];case 5:return[c,m,p]}},o.hsv.hsl=function(i){let s=i[0],l=i[1]/100,c=i[2]/100,u=Math.max(c,.01),d,m;m=(2-l)*c;let p=(2-l)*u;return d=l*u,d/=p<=1?p:2-p,d=d||0,m/=2,[s,d*100,m*100]},o.hwb.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100,u=l+c,d;u>1&&(l/=u,c/=u);let m=Math.floor(6*s),p=1-c;d=6*s-m,(m&1)!==0&&(d=1-d);let h=l+d*(p-l),g,y,b;switch(m){default:case 6:case 0:g=p,y=h,b=l;break;case 1:g=h,y=p,b=l;break;case 2:g=l,y=p,b=h;break;case 3:g=l,y=h,b=p;break;case 4:g=h,y=l,b=p;break;case 5:g=p,y=l,b=h;break}return[g*255,y*255,b*255]},o.cmyk.rgb=function(i){let s=i[0]/100,l=i[1]/100,c=i[2]/100,u=i[3]/100,d=1-Math.min(1,s*(1-u)+u),m=1-Math.min(1,l*(1-u)+u),p=1-Math.min(1,c*(1-u)+u);return[d*255,m*255,p*255]},o.xyz.rgb=function(i){let s=i[0]/100,l=i[1]/100,c=i[2]/100,u,d,m;return u=s*3.2406+l*-1.5372+c*-.4986,d=s*-.9689+l*1.8758+c*.0415,m=s*.0557+l*-.204+c*1.057,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,m=m>.0031308?1.055*m**(1/2.4)-.055:m*12.92,u=Math.min(Math.max(0,u),1),d=Math.min(Math.max(0,d),1),m=Math.min(Math.max(0,m),1),[u*255,d*255,m*255]},o.xyz.lab=function(i){let s=i[0],l=i[1],c=i[2];s/=95.047,l/=100,c/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let u=116*l-16,d=500*(s-l),m=200*(l-c);return[u,d,m]},o.lab.xyz=function(i){let s=i[0],l=i[1],c=i[2],u,d,m;d=(s+16)/116,u=l/500+d,m=d-c/200;let p=d**3,h=u**3,g=m**3;return d=p>.008856?p:(d-16/116)/7.787,u=h>.008856?h:(u-16/116)/7.787,m=g>.008856?g:(m-16/116)/7.787,u*=95.047,d*=100,m*=108.883,[u,d,m]},o.lab.lch=function(i){let s=i[0],l=i[1],c=i[2],u;u=Math.atan2(c,l)*360/2/Math.PI,u<0&&(u+=360);let d=Math.sqrt(l*l+c*c);return[s,d,u]},o.lch.lab=function(i){let s=i[0],l=i[1],c=i[2]/360*2*Math.PI,u=l*Math.cos(c),d=l*Math.sin(c);return[s,u,d]},o.rgb.ansi16=function(i,s=null){let[l,c,u]=i,d=s===null?o.rgb.hsv(i)[2]:s;if(d=Math.round(d/50),d===0)return 30;let m=30+(Math.round(u/255)<<2|Math.round(c/255)<<1|Math.round(l/255));return d===2&&(m+=60),m},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let s=i[0],l=i[1],c=i[2];return s===l&&l===c?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(i){let s=i%10;if(s===0||s===7)return i>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let l=(~~(i>50)+1)*.5,c=(s&1)*l*255,u=(s>>1&1)*l*255,d=(s>>2&1)*l*255;return[c,u,d]},o.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let s,l=Math.floor(i/36)/5*255,c=Math.floor((s=i%36)/6)/5*255,u=s%6/5*255;return[l,c,u]},o.rgb.hex=function(i){let s=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},o.hex.rgb=function(i){let s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let l=s[0];s[0].length===3&&(l=l.split("").map(p=>p+p).join(""));let c=parseInt(l,16),u=c>>16&255,d=c>>8&255,m=c&255;return[u,d,m]},o.rgb.hcg=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,u=Math.max(Math.max(s,l),c),d=Math.min(Math.min(s,l),c),m=u-d,p,h;return m<1?p=d/(1-m):p=0,m<=0?h=0:u===s?h=(l-c)/m%6:u===l?h=2+(c-s)/m:h=4+(s-l)/m,h/=6,h%=1,[h*360,m*100,p*100]},o.hsl.hcg=function(i){let s=i[1]/100,l=i[2]/100,c=l<.5?2*s*l:2*s*(1-l),u=0;return c<1&&(u=(l-.5*c)/(1-c)),[i[0],c*100,u*100]},o.hsv.hcg=function(i){let s=i[1]/100,l=i[2]/100,c=s*l,u=0;return c<1&&(u=(l-c)/(1-c)),[i[0],c*100,u*100]},o.hcg.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100;if(l===0)return[c*255,c*255,c*255];let u=[0,0,0],d=s%1*6,m=d%1,p=1-m,h=0;switch(Math.floor(d)){case 0:u[0]=1,u[1]=m,u[2]=0;break;case 1:u[0]=p,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=m;break;case 3:u[0]=0,u[1]=p,u[2]=1;break;case 4:u[0]=m,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=p}return h=(1-l)*c,[(l*u[0]+h)*255,(l*u[1]+h)*255,(l*u[2]+h)*255]},o.hcg.hsv=function(i){let s=i[1]/100,l=i[2]/100,c=s+l*(1-s),u=0;return c>0&&(u=s/c),[i[0],u*100,c*100]},o.hcg.hsl=function(i){let s=i[1]/100,l=i[2]/100*(1-s)+.5*s,c=0;return l>0&&l<.5?c=s/(2*l):l>=.5&&l<1&&(c=s/(2*(1-l))),[i[0],c*100,l*100]},o.hcg.hwb=function(i){let s=i[1]/100,l=i[2]/100,c=s+l*(1-s);return[i[0],(c-s)*100,(1-c)*100]},o.hwb.hcg=function(i){let s=i[1]/100,l=1-i[2]/100,c=l-s,u=0;return c<1&&(u=(l-c)/(1-c)),[i[0],c*100,u*100]},o.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return[0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return[0,100,i[0]]},o.gray.cmyk=function(i){return[0,0,0,i[0]]},o.gray.lab=function(i){return[i[0],0,0]},o.gray.hex=function(i){let s=Math.round(i[0]/100*255)&255,l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),aM=w({"../../node_modules/color-convert/route.js"(e,t){var r=kg();function n(){let s={},l=Object.keys(r);for(let c=l.length,u=0;u<c;u++)s[l[u]]={distance:-1,parent:null};return s}function o(s){let l=n(),c=[s];for(l[s].distance=0;c.length;){let u=c.pop(),d=Object.keys(r[u]);for(let m=d.length,p=0;p<m;p++){let h=d[p],g=l[h];g.distance===-1&&(g.distance=l[u].distance+1,g.parent=u,c.unshift(h))}}return l}function a(s,l){return function(c){return l(s(c))}}function i(s,l){let c=[l[s].parent,s],u=r[l[s].parent][s],d=l[s].parent;for(;l[d].parent;)c.unshift(l[d].parent),u=a(r[l[d].parent][d],u),d=l[d].parent;return u.conversion=c,u}t.exports=function(s){let l=o(s),c={},u=Object.keys(l);for(let d=u.length,m=0;m<d;m++){let p=u[m];l[p].parent!==null&&(c[p]=i(p,l))}return c}}}),iM=w({"../../node_modules/color-convert/index.js"(e,t){var r=kg(),n=aM(),o={},a=Object.keys(r);function i(l){let c=function(...u){let d=u[0];return d==null?d:(d.length>1&&(u=d),l(u))};return"conversion"in l&&(c.conversion=l.conversion),c}function s(l){let c=function(...u){let d=u[0];if(d==null)return d;d.length>1&&(u=d);let m=l(u);if(typeof m=="object")for(let p=m.length,h=0;h<p;h++)m[h]=Math.round(m[h]);return m};return"conversion"in l&&(c.conversion=l.conversion),c}a.forEach(l=>{o[l]={},Object.defineProperty(o[l],"channels",{value:r[l].channels}),Object.defineProperty(o[l],"labels",{value:r[l].labels});let c=n(l);Object.keys(c).forEach(u=>{let d=c[u];o[l][u]=s(d),o[l][u].raw=i(d)})}),t.exports=o}}),sM=w({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,m)=>(...p)=>`\x1B[${d(...p)+m}m`,n=(d,m)=>(...p)=>{let h=d(...p);return`\x1B[${38+m};5;${h}m`},o=(d,m)=>(...p)=>{let h=d(...p);return`\x1B[${38+m};2;${h[0]};${h[1]};${h[2]}m`},a=d=>d,i=(d,m,p)=>[d,m,p],s=(d,m,p)=>{Object.defineProperty(d,m,{get:()=>{let h=p();return Object.defineProperty(d,m,{value:h,enumerable:!0,configurable:!0}),h},enumerable:!0,configurable:!0})},l,c=(d,m,p,h)=>{l===void 0&&(l=iM());let g=h?10:0,y={};for(let[b,v]of Object.entries(l)){let C=b==="ansi16"?"ansi":b;b===m?y[C]=d(p,g):typeof v=="object"&&(y[C]=d(v[m],g))}return y};function u(){let d=new Map,m={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};m.color.gray=m.color.blackBright,m.bgColor.bgGray=m.bgColor.bgBlackBright,m.color.grey=m.color.blackBright,m.bgColor.bgGrey=m.bgColor.bgBlackBright;for(let[p,h]of Object.entries(m)){for(let[g,y]of Object.entries(h))m[g]={open:`\x1B[${y[0]}m`,close:`\x1B[${y[1]}m`},h[g]=m[g],d.set(y[0],y[1]);Object.defineProperty(m,p,{value:h,enumerable:!1})}return Object.defineProperty(m,"codes",{value:d,enumerable:!1}),m.color.close="\x1B[39m",m.bgColor.close="\x1B[49m",s(m.color,"ansi",()=>c(r,"ansi16",a,!1)),s(m.color,"ansi256",()=>c(n,"ansi256",a,!1)),s(m.color,"ansi16m",()=>c(o,"rgb",i,!1)),s(m.bgColor,"ansi",()=>c(r,"ansi16",a,!0)),s(m.bgColor,"ansi256",()=>c(n,"ansi256",a,!0)),s(m.bgColor,"ansi16m",()=>c(o,"rgb",i,!0)),m}Object.defineProperty(t,"exports",{enumerable:!0,get:u})}}),lM=w({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),uM=w({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(o,a,i)=>{let s=o.indexOf(a);if(s===-1)return o;let l=a.length,c=0,u="";do u+=o.substr(c,s-c)+a+i,c=s+l,s=o.indexOf(a,c);while(s!==-1);return u+=o.substr(c),u},n=(o,a,i,s)=>{let l=0,c="";do{let u=o[s-1]==="\r";c+=o.substr(l,(u?s-1:s)-l)+a+(u?`\r
|
|
286
|
+
`:`
|
|
287
|
+
`)+i,l=s+1,s=o.indexOf(`
|
|
288
|
+
`,l)}while(s!==-1);return c+=o.substr(l),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),cM=w({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",`
|
|
289
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function s(d){let m=d[0]==="u",p=d[1]==="{";return m&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):m&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):i.get(d)||d}function l(d,m){let p=[],h=m.trim().split(/\s*,\s*/g),g;for(let y of h){let b=Number(y);if(!Number.isNaN(b))p.push(b);else if(g=y.match(o))p.push(g[2].replace(a,(v,C,S)=>C?s(C):S));else throw new Error(`Invalid Chalk template style argument: ${y} (in style '${d}')`)}return p}function c(d){n.lastIndex=0;let m=[],p;for(;(p=n.exec(d))!==null;){let h=p[1];if(p[2]){let g=l(h,p[2]);m.push([h].concat(g))}else m.push([h])}return m}function u(d,m){let p={};for(let g of m)for(let y of g.styles)p[y[0]]=g.inverse?null:y.slice(1);let h=d;for(let[g,y]of Object.entries(p))if(Array.isArray(y)){if(!(g in h))throw new Error(`Unknown Chalk style: ${g}`);h=y.length>0?h[g](...y):h[g]}return h}t.exports=(d,m)=>{let p=[],h=[],g=[];if(m.replace(r,(y,b,v,C,S,A)=>{if(b)g.push(s(b));else if(C){let _=g.join("");g=[],h.push(p.length===0?_:u(d,p)(_)),p.push({inverse:v,styles:c(C)})}else if(S){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");h.push(u(d,p)(g.join(""))),g=[],p.pop()}else g.push(A)}),h.push(g.join("")),p.length>0){let y=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(y)}return h.join("")}}}),$g=w({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=sM(),{stdout:n,stderr:o}=lM(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:i}=uM(),s=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null),c=(A,_={})=>{if(_.level>3||_.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let E=n?n.level:0;A.level=_.level===void 0?E:_.level},u=class{constructor(A){return d(A)}},d=A=>{let _={};return c(_,A),_.template=(...E)=>C(_.template,...E),Object.setPrototypeOf(_,m.prototype),Object.setPrototypeOf(_.template,_),_.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},_.template.Instance=u,_.template};function m(A){return d(A)}for(let[A,_]of Object.entries(r))l[A]={get(){let E=y(this,g(_.open,_.close,this._styler),this._isEmpty);return Object.defineProperty(this,A,{value:E}),E}};l.visible={get(){let A=y(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:A}),A}};var p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let A of p)l[A]={get(){let{level:_}=this;return function(...E){let R=g(r.color[s[_]][A](...E),r.color.close,this._styler);return y(this,R,this._isEmpty)}}};for(let A of p){let _="bg"+A[0].toUpperCase()+A.slice(1);l[_]={get(){let{level:E}=this;return function(...R){let P=g(r.bgColor[s[E]][A](...R),r.bgColor.close,this._styler);return y(this,P,this._isEmpty)}}}}var h=Object.defineProperties(()=>{},{...l,level:{enumerable:!0,get(){return this._generator.level},set(A){this._generator.level=A}}}),g=(A,_,E)=>{let R,P;return E===void 0?(R=A,P=_):(R=E.openAll+A,P=_+E.closeAll),{open:A,close:_,openAll:R,closeAll:P,parent:E}},y=(A,_,E)=>{let R=(...P)=>b(R,P.length===1?""+P[0]:P.join(" "));return R.__proto__=h,R._generator=A,R._styler=_,R._isEmpty=E,R},b=(A,_)=>{if(A.level<=0||!_)return A._isEmpty?"":_;let E=A._styler;if(E===void 0)return _;let{openAll:R,closeAll:P}=E;if(_.indexOf("\x1B")!==-1)for(;E!==void 0;)_=a(_,E.close,E.open),E=E.parent;let N=_.indexOf(`
|
|
290
|
+
`);return N!==-1&&(_=i(_,P,R,N)),R+_+P},v,C=(A,..._)=>{let[E]=_;if(!Array.isArray(E))return _.join(" ");let R=_.slice(1),P=[E.raw[0]];for(let N=1;N<E.length;N++)P.push(String(R[N-1]).replace(/[{}\\]/g,"\\$&"),String(E.raw[N]));return v===void 0&&(v=cM()),v(A,P.join(""))};Object.defineProperties(m.prototype,l);var S=m();S.supportsColor=n,S.stderr=m({level:o?o.level:0}),S.stderr.supportsColor=o,S.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=S}}),dM=w({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),Ug=w({"../../node_modules/lodash/eq.js"(e,t){function r(n,o){return n===o||n!==n&&o!==o}t.exports=r}}),li=w({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=Ug();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}t.exports=n}}),pM=w({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=li(),n=Array.prototype,o=n.splice;function a(i){var s=this.__data__,l=r(s,i);if(l<0)return!1;var c=s.length-1;return l==c?s.pop():o.call(s,l,1),--this.size,!0}t.exports=a}}),fM=w({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=li();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}t.exports=n}}),mM=w({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=li();function n(o){return r(this.__data__,o)>-1}t.exports=n}}),hM=w({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=li();function n(o,a){var i=this.__data__,s=r(i,o);return s<0?(++this.size,i.push([o,a])):i[s][1]=a,this}t.exports=n}}),ui=w({"../../node_modules/lodash/_ListCache.js"(e,t){var r=dM(),n=pM(),o=fM(),a=mM(),i=hM();function s(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=a,s.prototype.set=i,t.exports=s}}),yM=w({"../../node_modules/lodash/_stackClear.js"(e,t){var r=ui();function n(){this.__data__=new r,this.size=0}t.exports=n}}),bM=w({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}t.exports=r}}),gM=w({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r}}),vM=w({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),Hg=w({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),Zt=w({"../../node_modules/lodash/_root.js"(e,t){var r=Hg(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}}),vc=w({"../../node_modules/lodash/_Symbol.js"(e,t){var r=Zt(),n=r.Symbol;t.exports=n}}),EM=w({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=vc(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function s(l){var c=o.call(l,i),u=l[i];try{l[i]=void 0;var d=!0}catch{}var m=a.call(l);return d&&(c?l[i]=u:delete l[i]),m}t.exports=s}}),_M=w({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}t.exports=o}}),ci=w({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=vc(),n=EM(),o=_M(),a="[object Null]",i="[object Undefined]",s=r?r.toStringTag:void 0;function l(c){return c==null?c===void 0?i:a:s&&s in Object(c)?n(c):o(c)}t.exports=l}}),Vg=w({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}t.exports=r}}),zg=w({"../../node_modules/lodash/isFunction.js"(e,t){var r=ci(),n=Vg(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function l(c){if(!n(c))return!1;var u=r(c);return u==a||u==i||u==o||u==s}t.exports=l}}),RM=w({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=Zt(),n=r["__core-js_shared__"];t.exports=n}}),wM=w({"../../node_modules/lodash/_isMasked.js"(e,t){var r=RM(),n=(function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})();function o(a){return!!n&&n in a}t.exports=o}}),Gg=w({"../../node_modules/lodash/_toSource.js"(e,t){var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}t.exports=o}}),CM=w({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=zg(),n=wM(),o=Vg(),a=Gg(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,m=RegExp("^"+u.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(h){if(!o(h)||n(h))return!1;var g=r(h)?m:s;return g.test(a(h))}t.exports=p}}),SM=w({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,o){return n?.[o]}t.exports=r}}),Un=w({"../../node_modules/lodash/_getNative.js"(e,t){var r=CM(),n=SM();function o(a,i){var s=n(a,i);return r(s)?s:void 0}t.exports=o}}),Ec=w({"../../node_modules/lodash/_Map.js"(e,t){var r=Un(),n=Zt(),o=r(n,"Map");t.exports=o}}),di=w({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=Un(),n=r(Object,"create");t.exports=n}}),AM=w({"../../node_modules/lodash/_hashClear.js"(e,t){var r=di();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),TM=w({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}t.exports=r}}),PM=w({"../../node_modules/lodash/_hashGet.js"(e,t){var r=di(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(s){var l=this.__data__;if(r){var c=l[s];return c===n?void 0:c}return a.call(l,s)?l[s]:void 0}t.exports=i}}),OM=w({"../../node_modules/lodash/_hashHas.js"(e,t){var r=di(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var s=this.__data__;return r?s[i]!==void 0:o.call(s,i)}t.exports=a}}),qM=w({"../../node_modules/lodash/_hashSet.js"(e,t){var r=di(),n="__lodash_hash_undefined__";function o(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&i===void 0?n:i,this}t.exports=o}}),xM=w({"../../node_modules/lodash/_Hash.js"(e,t){var r=AM(),n=TM(),o=PM(),a=OM(),i=qM();function s(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=a,s.prototype.set=i,t.exports=s}}),MM=w({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=xM(),n=ui(),o=Ec();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}t.exports=a}}),NM=w({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}t.exports=r}}),pi=w({"../../node_modules/lodash/_getMapData.js"(e,t){var r=NM();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}t.exports=n}}),jM=w({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=pi();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}t.exports=n}}),IM=w({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=pi();function n(o){return r(this,o).get(o)}t.exports=n}}),DM=w({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=pi();function n(o){return r(this,o).has(o)}t.exports=n}}),FM=w({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=pi();function n(o,a){var i=r(this,o),s=i.size;return i.set(o,a),this.size+=i.size==s?0:1,this}t.exports=n}}),Yg=w({"../../node_modules/lodash/_MapCache.js"(e,t){var r=MM(),n=jM(),o=IM(),a=DM(),i=FM();function s(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=a,s.prototype.set=i,t.exports=s}}),LM=w({"../../node_modules/lodash/_stackSet.js"(e,t){var r=ui(),n=Ec(),o=Yg(),a=200;function i(s,l){var c=this.__data__;if(c instanceof r){var u=c.__data__;if(!n||u.length<a-1)return u.push([s,l]),this.size=++c.size,this;c=this.__data__=new o(u)}return c.set(s,l),this.size=c.size,this}t.exports=i}}),BM=w({"../../node_modules/lodash/_Stack.js"(e,t){var r=ui(),n=yM(),o=bM(),a=gM(),i=vM(),s=LM();function l(c){var u=this.__data__=new r(c);this.size=u.size}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),kM=w({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}t.exports=n}}),$M=w({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),UM=w({"../../node_modules/lodash/_SetCache.js"(e,t){var r=Yg(),n=kM(),o=$M();function a(i){var s=-1,l=i==null?0:i.length;for(this.__data__=new r;++s<l;)this.add(i[s])}a.prototype.add=a.prototype.push=n,a.prototype.has=o,t.exports=a}}),HM=w({"../../node_modules/lodash/_arraySome.js"(e,t){function r(n,o){for(var a=-1,i=n==null?0:n.length;++a<i;)if(o(n[a],a,n))return!0;return!1}t.exports=r}}),VM=w({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,o){return n.has(o)}t.exports=r}}),Wg=w({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=UM(),n=HM(),o=VM(),a=1,i=2;function s(l,c,u,d,m,p){var h=u&a,g=l.length,y=c.length;if(g!=y&&!(h&&y>g))return!1;var b=p.get(l),v=p.get(c);if(b&&v)return b==c&&v==l;var C=-1,S=!0,A=u&i?new r:void 0;for(p.set(l,c),p.set(c,l);++C<g;){var _=l[C],E=c[C];if(d)var R=h?d(E,_,C,c,l,p):d(_,E,C,l,c,p);if(R!==void 0){if(R)continue;S=!1;break}if(A){if(!n(c,function(P,N){if(!o(A,N)&&(_===P||m(_,P,u,d,p)))return A.push(N)})){S=!1;break}}else if(!(_===E||m(_,E,u,d,p))){S=!1;break}}return p.delete(l),p.delete(c),S}t.exports=s}}),zM=w({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=Zt(),n=r.Uint8Array;t.exports=n}}),GM=w({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,s){a[++o]=[s,i]}),a}t.exports=r}}),YM=w({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}t.exports=r}}),WM=w({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=vc(),n=zM(),o=Ug(),a=Wg(),i=GM(),s=YM(),l=1,c=2,u="[object Boolean]",d="[object Date]",m="[object Error]",p="[object Map]",h="[object Number]",g="[object RegExp]",y="[object Set]",b="[object String]",v="[object Symbol]",C="[object ArrayBuffer]",S="[object DataView]",A=r?r.prototype:void 0,_=A?A.valueOf:void 0;function E(R,P,N,B,j,F,T){switch(N){case S:if(R.byteLength!=P.byteLength||R.byteOffset!=P.byteOffset)return!1;R=R.buffer,P=P.buffer;case C:return!(R.byteLength!=P.byteLength||!F(new n(R),new n(P)));case u:case d:case h:return o(+R,+P);case m:return R.name==P.name&&R.message==P.message;case g:case b:return R==P+"";case p:var M=i;case y:var D=B&l;if(M||(M=s),R.size!=P.size&&!D)return!1;var Y=T.get(R);if(Y)return Y==P;B|=c,T.set(R,P);var G=a(M(R),M(P),B,j,F,T);return T.delete(R),G;case v:if(_)return _.call(R)==_.call(P)}return!1}t.exports=E}}),KM=w({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,o){for(var a=-1,i=o.length,s=n.length;++a<i;)n[s+a]=o[a];return n}t.exports=r}}),_c=w({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),XM=w({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=KM(),n=_c();function o(a,i,s){var l=i(a);return n(a)?l:r(l,s(a))}t.exports=o}}),JM=w({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,o){for(var a=-1,i=n==null?0:n.length,s=0,l=[];++a<i;){var c=n[a];o(c,a,n)&&(l[s++]=c)}return l}t.exports=r}}),QM=w({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return[]}t.exports=r}}),ZM=w({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=JM(),n=QM(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(l){return l==null?[]:(l=Object(l),r(i(l),function(c){return a.call(l,c)}))}:n;t.exports=s}}),eN=w({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,o){for(var a=-1,i=Array(n);++a<n;)i[a]=o(a);return i}t.exports=r}}),fi=w({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),tN=w({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=ci(),n=fi(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}t.exports=a}}),rN=w({"../../node_modules/lodash/isArguments.js"(e,t){var r=tN(),n=fi(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,s=r((function(){return arguments})())?r:function(l){return n(l)&&a.call(l,"callee")&&!i.call(l,"callee")};t.exports=s}}),nN=w({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return!1}t.exports=r}}),Kg=w({"../../node_modules/lodash/isBuffer.js"(e,t){var r=Zt(),n=nN(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i?r.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;t.exports=c}}),oN=w({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i??r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a<i}t.exports=o}}),Xg=w({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=n}}),aN=w({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=ci(),n=Xg(),o=fi(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",m="[object Number]",p="[object Object]",h="[object RegExp]",g="[object Set]",y="[object String]",b="[object WeakMap]",v="[object ArrayBuffer]",C="[object DataView]",S="[object Float32Array]",A="[object Float64Array]",_="[object Int8Array]",E="[object Int16Array]",R="[object Int32Array]",P="[object Uint8Array]",N="[object Uint8ClampedArray]",B="[object Uint16Array]",j="[object Uint32Array]",F={};F[S]=F[A]=F[_]=F[E]=F[R]=F[P]=F[N]=F[B]=F[j]=!0,F[a]=F[i]=F[v]=F[s]=F[C]=F[l]=F[c]=F[u]=F[d]=F[m]=F[p]=F[h]=F[g]=F[y]=F[b]=!1;function T(M){return o(M)&&n(M.length)&&!!F[r(M)]}t.exports=T}}),iN=w({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(o){return n(o)}}t.exports=r}}),sN=w({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=Hg(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,s=(function(){try{var l=o&&o.require&&o.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}})();t.exports=s}}),Jg=w({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=aN(),n=iN(),o=sN(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}}),lN=w({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=eN(),n=rN(),o=_c(),a=Kg(),i=oN(),s=Jg(),l=Object.prototype,c=l.hasOwnProperty;function u(d,m){var p=o(d),h=!p&&n(d),g=!p&&!h&&a(d),y=!p&&!h&&!g&&s(d),b=p||h||g||y,v=b?r(d.length,String):[],C=v.length;for(var S in d)(m||c.call(d,S))&&!(b&&(S=="length"||g&&(S=="offset"||S=="parent")||y&&(S=="buffer"||S=="byteLength"||S=="byteOffset")||i(S,C)))&&v.push(S);return v}t.exports=u}}),uN=w({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}t.exports=n}}),cN=w({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,o){return function(a){return n(o(a))}}t.exports=r}}),dN=w({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=cN(),n=r(Object.keys,Object);t.exports=n}}),pN=w({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=uN(),n=dN(),o=Object.prototype,a=o.hasOwnProperty;function i(s){if(!r(s))return n(s);var l=[];for(var c in Object(s))a.call(s,c)&&c!="constructor"&&l.push(c);return l}t.exports=i}}),fN=w({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=zg(),n=Xg();function o(a){return a!=null&&n(a.length)&&!r(a)}t.exports=o}}),mN=w({"../../node_modules/lodash/keys.js"(e,t){var r=lN(),n=pN(),o=fN();function a(i){return o(i)?r(i):n(i)}t.exports=a}}),hN=w({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=XM(),n=ZM(),o=mN();function a(i){return r(i,o,n)}t.exports=a}}),yN=w({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=hN(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,l,c,u,d,m){var p=c&n,h=r(s),g=h.length,y=r(l),b=y.length;if(g!=b&&!p)return!1;for(var v=g;v--;){var C=h[v];if(!(p?C in l:a.call(l,C)))return!1}var S=m.get(s),A=m.get(l);if(S&&A)return S==l&&A==s;var _=!0;m.set(s,l),m.set(l,s);for(var E=p;++v<g;){C=h[v];var R=s[C],P=l[C];if(u)var N=p?u(P,R,C,l,s,m):u(R,P,C,s,l,m);if(!(N===void 0?R===P||d(R,P,c,u,m):N)){_=!1;break}E||(E=C=="constructor")}if(_&&!E){var B=s.constructor,j=l.constructor;B!=j&&"constructor"in s&&"constructor"in l&&!(typeof B=="function"&&B instanceof B&&typeof j=="function"&&j instanceof j)&&(_=!1)}return m.delete(s),m.delete(l),_}t.exports=i}}),bN=w({"../../node_modules/lodash/_DataView.js"(e,t){var r=Un(),n=Zt(),o=r(n,"DataView");t.exports=o}}),gN=w({"../../node_modules/lodash/_Promise.js"(e,t){var r=Un(),n=Zt(),o=r(n,"Promise");t.exports=o}}),vN=w({"../../node_modules/lodash/_Set.js"(e,t){var r=Un(),n=Zt(),o=r(n,"Set");t.exports=o}}),EN=w({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=Un(),n=Zt(),o=r(n,"WeakMap");t.exports=o}}),_N=w({"../../node_modules/lodash/_getTag.js"(e,t){var r=bN(),n=Ec(),o=gN(),a=vN(),i=EN(),s=ci(),l=Gg(),c="[object Map]",u="[object Object]",d="[object Promise]",m="[object Set]",p="[object WeakMap]",h="[object DataView]",g=l(r),y=l(n),b=l(o),v=l(a),C=l(i),S=s;(r&&S(new r(new ArrayBuffer(1)))!=h||n&&S(new n)!=c||o&&S(o.resolve())!=d||a&&S(new a)!=m||i&&S(new i)!=p)&&(S=function(A){var _=s(A),E=_==u?A.constructor:void 0,R=E?l(E):"";if(R)switch(R){case g:return h;case y:return c;case b:return d;case v:return m;case C:return p}return _}),t.exports=S}}),RN=w({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=BM(),n=Wg(),o=WM(),a=yN(),i=_N(),s=_c(),l=Kg(),c=Jg(),u=1,d="[object Arguments]",m="[object Array]",p="[object Object]",h=Object.prototype,g=h.hasOwnProperty;function y(b,v,C,S,A,_){var E=s(b),R=s(v),P=E?m:i(b),N=R?m:i(v);P=P==d?p:P,N=N==d?p:N;var B=P==p,j=N==p,F=P==N;if(F&&l(b)){if(!l(v))return!1;E=!0,B=!1}if(F&&!B)return _||(_=new r),E||c(b)?n(b,v,C,S,A,_):o(b,v,P,C,S,A,_);if(!(C&u)){var T=B&&g.call(b,"__wrapped__"),M=j&&g.call(v,"__wrapped__");if(T||M){var D=T?b.value():b,Y=M?v.value():v;return _||(_=new r),A(D,Y,C,S,_)}}return F?(_||(_=new r),a(b,v,C,S,A,_)):!1}t.exports=y}}),wN=w({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=RN(),n=fi();function o(a,i,s,l,c){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,s,l,o,c)}t.exports=o}}),Qg=w({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=wN();function n(o,a,i){i=typeof i=="function"?i:void 0;var s=i?i(o,a):void 0;return s===void 0?r(o,a,void 0,i):!!s}t.exports=n}}),Zg=w({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var a=String(o),i=a.length,s=-1,l,c="",u=a.charCodeAt(0);++s<i;){if(l=a.charCodeAt(s),l==0){c+="\uFFFD";continue}if(l>=1&&l<=31||l==127||s==0&&l>=48&&l<=57||s==1&&l>=48&&l<=57&&u==45){c+="\\"+l.toString(16)+" ";continue}if(s==0&&i==1&&l==45){c+="\\"+a.charAt(s);continue}if(l>=128||l==45||l==95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){c+=a.charAt(s);continue}c+="\\"+a.charAt(s)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),ev=w({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(a=0)=>i=>`\x1B[${38+a};5;${i}m`,n=(a=0)=>(i,s,l)=>`\x1B[${38+a};2;${i};${s};${l}m`;function o(){let a=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[s,l]of Object.entries(i)){for(let[c,u]of Object.entries(l))i[c]={open:`\x1B[${u[0]}m`,close:`\x1B[${u[1]}m`},l[c]=i[c],a.set(u[0],u[1]);Object.defineProperty(i,s,{value:l,enumerable:!1})}return Object.defineProperty(i,"codes",{value:a,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:(s,l,c)=>s===l&&l===c?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:s=>{let l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!l)return[0,0,0];let{colorString:c}=l.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let u=Number.parseInt(c,16);return[u>>16&255,u>>8&255,u&255]},enumerable:!1},hexToAnsi256:{value:s=>i.rgbToAnsi256(...i.hexToRgb(s)),enumerable:!1}}),i}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),mi=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=a;var t=(i,s)=>{let l=Object.keys(i).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(c=>{Object.getOwnPropertyDescriptor(i,c).enumerable&&l.push(c)}),l};function r(i,s,l,c,u,d,m=": "){let p="",h=i.next();if(!h.done){p+=s.spacingOuter;let g=l+s.indent;for(;!h.done;){let y=d(h.value[0],s,g,c,u),b=d(h.value[1],s,g,c,u);p+=g+y+m+b,h=i.next(),h.done?s.min||(p+=","):p+=","+s.spacingInner}p+=s.spacingOuter+l}return p}function n(i,s,l,c,u,d){let m="",p=i.next();if(!p.done){m+=s.spacingOuter;let h=l+s.indent;for(;!p.done;)m+=h+d(p.value,s,h,c,u),p=i.next(),p.done?s.min||(m+=","):m+=","+s.spacingInner;m+=s.spacingOuter+l}return m}function o(i,s,l,c,u,d){let m="";if(i.length){m+=s.spacingOuter;let p=l+s.indent;for(let h=0;h<i.length;h++)m+=p,h in i&&(m+=d(i[h],s,p,c,u)),h<i.length-1?m+=","+s.spacingInner:s.min||(m+=",");m+=s.spacingOuter+l}return m}function a(i,s,l,c,u,d){let m="",p=t(i,s.compareKeys);if(p.length){m+=s.spacingOuter;let h=l+s.indent;for(let g=0;g<p.length;g++){let y=p[g],b=d(y,s,h,c,u),v=d(i[y],s,h,c,u);m+=h+b+": "+v,g<p.length-1?m+=","+s.spacingInner:s.min||(m+=",")}m+=s.spacingOuter+l}return m}}}),CN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=mi(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,a=" ",i=(u,d,m,p,h,g)=>{let y=u.toString();return y==="ArrayContaining"||y==="ArrayNotContaining"?++p>d.maxDepth?"["+y+"]":y+a+"["+(0,t.printListItems)(u.sample,d,m,p,h,g)+"]":y==="ObjectContaining"||y==="ObjectNotContaining"?++p>d.maxDepth?"["+y+"]":y+a+"{"+(0,t.printObjectProperties)(u.sample,d,m,p,h,g)+"}":y==="StringMatching"||y==="StringNotMatching"||y==="StringContaining"||y==="StringNotContaining"?y+a+g(u.sample,d,m,p,h):u.toAsymmetricMatcher()};e.serialize=i;var s=u=>u&&u.$$typeof===o;e.test=s;var l={serialize:i,test:s},c=l;e.default=c}}),SN=w({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),AN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(SN()),r=n(ev());function n(c){return c&&c.__esModule?c:{default:c}}var o=c=>c.replace((0,t.default)(),u=>{switch(u){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),a=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=a;var i=(c,u,d,m,p,h)=>h(o(c),u,d,m,p);e.serialize=i;var s={serialize:i,test:a},l=s;e.default=l}}),TN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=mi(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,a=d=>n.indexOf(d)!==-1||o.test(d),i=d=>d&&d.constructor&&!!d.constructor.name&&a(d.constructor.name);e.test=i;var s=d=>d.constructor.name==="NamedNodeMap",l=(d,m,p,h,g,y)=>{let b=d.constructor.name;return++h>m.maxDepth?"["+b+"]":(m.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(s(d)?Array.from(d).reduce((v,C)=>(v[C.name]=C.value,v),{}):{...d},m,p,h,g,y)+"}":"["+(0,t.printListItems)(Array.from(d),m,p,h,g,y)+"]")};e.serialize=l;var c={serialize:l,test:i},u=c;e.default=u}}),PN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}}}),Rc=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(PN());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,u,d,m,p,h,g)=>{let y=m+d.indent,b=d.colors;return c.map(v=>{let C=u[v],S=g(C,d,y,p,h);return typeof C!="string"&&(S.indexOf(`
|
|
291
|
+
`)!==-1&&(S=d.spacingOuter+y+S+d.spacingOuter+m),S="{"+S+"}"),d.spacingInner+m+b.prop.open+v+b.prop.close+"="+b.value.open+S+b.value.close}).join("")};e.printProps=n;var o=(c,u,d,m,p,h)=>c.map(g=>u.spacingOuter+d+(typeof g=="string"?a(g,u):h(g,u,d,m,p))).join("");e.printChildren=o;var a=(c,u)=>{let d=u.colors.content;return d.open+(0,t.default)(c)+d.close};e.printText=a;var i=(c,u)=>{let d=u.colors.comment;return d.open+"<\!--"+(0,t.default)(c)+"-->"+d.close};e.printComment=i;var s=(c,u,d,m,p)=>{let h=m.colors.tag;return h.open+"<"+c+(u&&h.close+u+m.spacingOuter+p+h.open)+(d?">"+h.close+d+m.spacingOuter+p+h.open+"</"+c:(u&&!m.min?"":" ")+"/")+">"+h.close};e.printElement=s;var l=(c,u)=>{let d=u.colors.tag;return d.open+"<"+c+d.close+" \u2026"+d.open+" />"+d.close};e.printElementAsLeaf=l}}),ON=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Rc(),r=1,n=3,o=8,a=11,i=/^((HTML|SVG)\w*)?Element$/,s=y=>{try{return typeof y.hasAttribute=="function"&&y.hasAttribute("is")}catch{return!1}},l=y=>{let b=y.constructor.name,{nodeType:v,tagName:C}=y,S=typeof C=="string"&&C.includes("-")||s(y);return v===r&&(i.test(b)||S)||v===n&&b==="Text"||v===o&&b==="Comment"||v===a&&b==="DocumentFragment"},c=y=>{var b;return(y==null||(b=y.constructor)===null||b===void 0?void 0:b.name)&&l(y)};e.test=c;function u(y){return y.nodeType===n}function d(y){return y.nodeType===o}function m(y){return y.nodeType===a}var p=(y,b,v,C,S,A)=>{if(u(y))return(0,t.printText)(y.data,b);if(d(y))return(0,t.printComment)(y.data,b);let _=m(y)?"DocumentFragment":y.tagName.toLowerCase();return++C>b.maxDepth?(0,t.printElementAsLeaf)(_,b):(0,t.printElement)(_,(0,t.printProps)(m(y)?[]:Array.from(y.attributes).map(E=>E.name).sort(),m(y)?{}:Array.from(y.attributes).reduce((E,R)=>(E[R.name]=R.value,E),{}),b,v+b.indent,C,S,A),(0,t.printChildren)(Array.prototype.slice.call(y.childNodes||y.children),b,v+b.indent,C,S,A),b,v)};e.serialize=p;var h={serialize:p,test:c},g=h;e.default=g}}),qN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=mi(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",u="@@__IMMUTABLE_STACK__@@",d=R=>"Immutable."+R,m=R=>"["+R+"]",p=" ",h="\u2026",g=(R,P,N,B,j,F,T)=>++B>P.maxDepth?m(d(T)):d(T)+p+"{"+(0,t.printIteratorEntries)(R.entries(),P,N,B,j,F)+"}";function y(R){let P=0;return{next(){if(P<R._keys.length){let N=R._keys[P++];return{done:!1,value:[N,R.get(N)]}}return{done:!0,value:void 0}}}}var b=(R,P,N,B,j,F)=>{let T=d(R._name||"Record");return++B>P.maxDepth?m(T):T+p+"{"+(0,t.printIteratorEntries)(y(R),P,N,B,j,F)+"}"},v=(R,P,N,B,j,F)=>{let T=d("Seq");return++B>P.maxDepth?m(T):R[o]?T+p+"{"+(R._iter||R._object?(0,t.printIteratorEntries)(R.entries(),P,N,B,j,F):h)+"}":T+p+"["+(R._iter||R._array||R._collection||R._iterable?(0,t.printIteratorValues)(R.values(),P,N,B,j,F):h)+"]"},C=(R,P,N,B,j,F,T)=>++B>P.maxDepth?m(d(T)):d(T)+p+"["+(0,t.printIteratorValues)(R.values(),P,N,B,j,F)+"]",S=(R,P,N,B,j,F)=>R[a]?g(R,P,N,B,j,F,R[i]?"OrderedMap":"Map"):R[n]?C(R,P,N,B,j,F,"List"):R[c]?C(R,P,N,B,j,F,R[i]?"OrderedSet":"Set"):R[u]?C(R,P,N,B,j,F,"Stack"):R[l]?v(R,P,N,B,j,F):b(R,P,N,B,j,F);e.serialize=S;var A=R=>R&&(R[r]===!0||R[s]===!0);e.test=A;var _={serialize:S,test:A},E=_;e.default=E}}),xN=w({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,o=60108,a=60114,i=60109,s=60110,l=60112,c=60113,u=60120,d=60115,m=60116,p=60121,h=60122,g=60117,y=60129,b=60131;typeof Symbol=="function"&&Symbol.for&&(v=Symbol.for,t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),o=v("react.strict_mode"),a=v("react.profiler"),i=v("react.provider"),s=v("react.context"),l=v("react.forward_ref"),c=v("react.suspense"),u=v("react.suspense_list"),d=v("react.memo"),m=v("react.lazy"),p=v("react.block"),h=v("react.server.block"),g=v("react.fundamental"),y=v("react.debug_trace_mode"),b=v("react.legacy_hidden"));var v;function C(T){if(typeof T=="object"&&T!==null){var M=T.$$typeof;switch(M){case t:switch(T=T.type,T){case n:case a:case o:case c:case u:return T;default:switch(T=T&&T.$$typeof,T){case s:case l:case m:case d:case i:return T;default:return M}}case r:return M}}}var S=i,A=t,_=l,E=n,R=m,P=d,N=r,B=a,j=o,F=c;e.ContextConsumer=s,e.ContextProvider=S,e.Element=A,e.ForwardRef=_,e.Fragment=E,e.Lazy=R,e.Memo=P,e.Portal=N,e.Profiler=B,e.StrictMode=j,e.Suspense=F,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(T){return C(T)===s},e.isContextProvider=function(T){return C(T)===i},e.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===t},e.isForwardRef=function(T){return C(T)===l},e.isFragment=function(T){return C(T)===n},e.isLazy=function(T){return C(T)===m},e.isMemo=function(T){return C(T)===d},e.isPortal=function(T){return C(T)===r},e.isProfiler=function(T){return C(T)===a},e.isStrictMode=function(T){return C(T)===o},e.isSuspense=function(T){return C(T)===c},e.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===n||T===a||T===y||T===o||T===c||T===u||T===b||typeof T=="object"&&T!==null&&(T.$$typeof===m||T.$$typeof===d||T.$$typeof===i||T.$$typeof===s||T.$$typeof===l||T.$$typeof===g||T.$$typeof===p||T[0]===h)},e.typeOf=C}}),HH=w({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.development.js"(e){}}),MN=w({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=xN()}}),NN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(MN()),r=Rc();function n(m){if(typeof WeakMap!="function")return null;var p=new WeakMap,h=new WeakMap;return(n=function(g){return g?h:p})(m)}function o(m,p){if(!p&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var h=n(p);if(h&&h.has(m))return h.get(m);var g={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in m)if(b!=="default"&&Object.prototype.hasOwnProperty.call(m,b)){var v=y?Object.getOwnPropertyDescriptor(m,b):null;v&&(v.get||v.set)?Object.defineProperty(g,b,v):g[b]=m[b]}return g.default=m,h&&h.set(m,g),g}var a=(m,p=[])=>(Array.isArray(m)?m.forEach(h=>{a(h,p)}):m!=null&&m!==!1&&p.push(m),p),i=m=>{let p=m.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(m))return"React.Fragment";if(t.isSuspense(m))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(m))return"Context.Provider";if(t.isContextConsumer(m))return"Context.Consumer";if(t.isForwardRef(m)){if(p.displayName)return p.displayName;let h=p.render.displayName||p.render.name||"";return h!==""?"ForwardRef("+h+")":"ForwardRef"}if(t.isMemo(m)){let h=p.displayName||p.type.displayName||p.type.name||"";return h!==""?"Memo("+h+")":"Memo"}}return"UNDEFINED"},s=m=>{let{props:p}=m;return Object.keys(p).filter(h=>h!=="children"&&p[h]!==void 0).sort()},l=(m,p,h,g,y,b)=>++g>p.maxDepth?(0,r.printElementAsLeaf)(i(m),p):(0,r.printElement)(i(m),(0,r.printProps)(s(m),m.props,p,h+p.indent,g,y,b),(0,r.printChildren)(a(m.props.children),p,h+p.indent,g,y,b),p,h);e.serialize=l;var c=m=>m!=null&&t.isElement(m);e.test=c;var u={serialize:l,test:c},d=u;e.default=d}}),jN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Rc(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,a=u=>{let{props:d}=u;return d?Object.keys(d).filter(m=>d[m]!==void 0).sort():[]},i=(u,d,m,p,h,g)=>++p>d.maxDepth?(0,t.printElementAsLeaf)(u.type,d):(0,t.printElement)(u.type,u.props?(0,t.printProps)(a(u),u.props,d,m+d.indent,p,h,g):"",u.children?(0,t.printChildren)(u.children,d,m+d.indent,p,h,g):"",d,m);e.serialize=i;var s=u=>u&&u.$$typeof===o;e.test=s;var l={serialize:i,test:s},c=l;e.default=c}}),IN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ee,e.plugins=void 0;var t=u(ev()),r=mi(),n=u(CN()),o=u(AN()),a=u(TN()),i=u(ON()),s=u(qN()),l=u(NN()),c=u(jN());function u(L){return L&&L.__esModule?L:{default:L}}var d=Object.prototype.toString,m=Date.prototype.toISOString,p=Error.prototype.toString,h=RegExp.prototype.toString,g=L=>typeof L.constructor=="function"&&L.constructor.name||"Object",y=L=>typeof window<"u"&&L===window,b=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,C=class extends Error{constructor(L,J){super(L),this.stack=J,this.name=this.constructor.name}};function S(L){return L==="[object Array]"||L==="[object ArrayBuffer]"||L==="[object DataView]"||L==="[object Float32Array]"||L==="[object Float64Array]"||L==="[object Int8Array]"||L==="[object Int16Array]"||L==="[object Int32Array]"||L==="[object Uint8Array]"||L==="[object Uint8ClampedArray]"||L==="[object Uint16Array]"||L==="[object Uint32Array]"}function A(L){return Object.is(L,-0)?"-0":String(L)}function _(L){return`${L}n`}function E(L,J){return J?"[Function "+(L.name||"anonymous")+"]":"[Function]"}function R(L){return String(L).replace(b,"Symbol($1)")}function P(L){return"["+p.call(L)+"]"}function N(L,J,Z,pe){if(L===!0||L===!1)return""+L;if(L===void 0)return"undefined";if(L===null)return"null";let ce=typeof L;if(ce==="number")return A(L);if(ce==="bigint")return _(L);if(ce==="string")return pe?'"'+L.replace(/"|\\/g,"\\$&")+'"':'"'+L+'"';if(ce==="function")return E(L,J);if(ce==="symbol")return R(L);let me=d.call(L);return me==="[object WeakMap]"?"WeakMap {}":me==="[object WeakSet]"?"WeakSet {}":me==="[object Function]"||me==="[object GeneratorFunction]"?E(L,J):me==="[object Symbol]"?R(L):me==="[object Date]"?isNaN(+L)?"Date { NaN }":m.call(L):me==="[object Error]"?P(L):me==="[object RegExp]"?Z?h.call(L).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):h.call(L):L instanceof Error?P(L):null}function B(L,J,Z,pe,ce,me){if(ce.indexOf(L)!==-1)return"[Circular]";ce=ce.slice(),ce.push(L);let be=++pe>J.maxDepth,qe=J.min;if(J.callToJSON&&!be&&L.toJSON&&typeof L.toJSON=="function"&&!me)return M(L.toJSON(),J,Z,pe,ce,!0);let it=d.call(L);return it==="[object Arguments]"?be?"[Arguments]":(qe?"":"Arguments ")+"["+(0,r.printListItems)(L,J,Z,pe,ce,M)+"]":S(it)?be?"["+L.constructor.name+"]":(qe||!J.printBasicPrototype&&L.constructor.name==="Array"?"":L.constructor.name+" ")+"["+(0,r.printListItems)(L,J,Z,pe,ce,M)+"]":it==="[object Map]"?be?"[Map]":"Map {"+(0,r.printIteratorEntries)(L.entries(),J,Z,pe,ce,M," => ")+"}":it==="[object Set]"?be?"[Set]":"Set {"+(0,r.printIteratorValues)(L.values(),J,Z,pe,ce,M)+"}":be||y(L)?"["+g(L)+"]":(qe||!J.printBasicPrototype&&g(L)==="Object"?"":g(L)+" ")+"{"+(0,r.printObjectProperties)(L,J,Z,pe,ce,M)+"}"}function j(L){return L.serialize!=null}function F(L,J,Z,pe,ce,me){let be;try{be=j(L)?L.serialize(J,Z,pe,ce,me,M):L.print(J,qe=>M(qe,Z,pe,ce,me),qe=>{let it=pe+Z.indent;return it+qe.replace(v,`
|
|
292
|
+
`+it)},{edgeSpacing:Z.spacingOuter,min:Z.min,spacing:Z.spacingInner},Z.colors)}catch(qe){throw new C(qe.message,qe.stack)}if(typeof be!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof be}".`);return be}function T(L,J){for(let Z=0;Z<L.length;Z++)try{if(L[Z].test(J))return L[Z]}catch(pe){throw new C(pe.message,pe.stack)}return null}function M(L,J,Z,pe,ce,me){let be=T(J.plugins,L);if(be!==null)return F(be,L,J,Z,pe,ce);let qe=N(L,J.printFunctionName,J.escapeRegex,J.escapeString);return qe!==null?qe:B(L,J,Z,pe,ce,me)}var D={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Y=Object.keys(D),G={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:D};e.DEFAULT_OPTIONS=G;function Q(L){if(Object.keys(L).forEach(J=>{if(!G.hasOwnProperty(J))throw new Error(`pretty-format: Unknown option "${J}".`)}),L.min&&L.indent!==void 0&&L.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(L.theme!==void 0){if(L.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof L.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof L.theme}".`)}}var ne=L=>Y.reduce((J,Z)=>{let pe=L.theme&&L.theme[Z]!==void 0?L.theme[Z]:D[Z],ce=pe&&t.default[pe];if(ce&&typeof ce.close=="string"&&typeof ce.open=="string")J[Z]=ce;else throw new Error(`pretty-format: Option "theme" has a key "${Z}" whose value "${pe}" is undefined in ansi-styles.`);return J},Object.create(null)),te=()=>Y.reduce((L,J)=>(L[J]={close:"",open:""},L),Object.create(null)),H=L=>L&&L.printFunctionName!==void 0?L.printFunctionName:G.printFunctionName,U=L=>L&&L.escapeRegex!==void 0?L.escapeRegex:G.escapeRegex,z=L=>L&&L.escapeString!==void 0?L.escapeString:G.escapeString,X=L=>{var J;return{callToJSON:L&&L.callToJSON!==void 0?L.callToJSON:G.callToJSON,colors:L&&L.highlight?ne(L):te(),compareKeys:L&&typeof L.compareKeys=="function"?L.compareKeys:G.compareKeys,escapeRegex:U(L),escapeString:z(L),indent:L&&L.min?"":W(L&&L.indent!==void 0?L.indent:G.indent),maxDepth:L&&L.maxDepth!==void 0?L.maxDepth:G.maxDepth,min:L&&L.min!==void 0?L.min:G.min,plugins:L&&L.plugins!==void 0?L.plugins:G.plugins,printBasicPrototype:(J=L?.printBasicPrototype)!==null&&J!==void 0?J:!0,printFunctionName:H(L),spacingInner:L&&L.min?" ":`
|
|
293
|
+
`,spacingOuter:L&&L.min?"":`
|
|
294
|
+
`}};function W(L){return new Array(L+1).join(" ")}function ee(L,J){if(J&&(Q(J),J.plugins)){let pe=T(J.plugins,L);if(pe!==null)return F(pe,L,X(J),"",0,[])}let Z=N(L,H(J),U(J),z(J));return Z!==null?Z:B(L,X(J),"",0,[])}var le={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:a.default,DOMElement:i.default,Immutable:s.default,ReactElement:l.default,ReactTestComponent:c.default};e.plugins=le;var ze=ee;e.default=ze}}),DN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,a={"@@iterator":function(){return a},next:function(){if(o<n.length){var i=n[o];return o=o+1,{done:!1,value:i}}else return{done:!0}}};return a}var r=t;e.default=r}}),Lo=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(DN());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(a)}function o(a,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(i)}),a}}}),FN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Lo());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,h){return i(p)||a(p,h)||l(p,h)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
295
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,h){var g=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(g!=null){var y=[],b=!0,v=!1,C,S;try{for(g=g.call(p);!(b=(C=g.next()).done)&&(y.push(C.value),!(h&&y.length===h));b=!0);}catch(A){v=!0,S=A}finally{try{!b&&g.return!=null&&g.return()}finally{if(v)throw S}}return y}}function i(p){if(Array.isArray(p))return p}function s(p,h){var g=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!g){if(Array.isArray(p)||(g=l(p))||h&&p&&typeof p.length=="number"){g&&(p=g);var y=0,b=function(){};return{s:b,n:function(){return y>=p.length?{done:!0}:{done:!1,value:p[y++]}},e:function(A){throw A},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
296
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,C=!1,S;return{s:function(){g=g.call(p)},n:function(){var A=g.next();return v=A.done,A},e:function(A){C=!0,S=A},f:function(){try{!v&&g.return!=null&&g.return()}finally{if(C)throw S}}}}function l(p,h){if(p){if(typeof p=="string")return c(p,h);var g=Object.prototype.toString.call(p).slice(8,-1);if(g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set")return Array.from(p);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(p,h)}}function c(p,h){(h==null||h>p.length)&&(h=p.length);for(var g=0,y=new Array(h);g<h;g++)y[g]=p[g];return y}var u=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:function(){return u},forEach:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=s(u),y;try{for(g.s();!(y=g.n()).done;){var b=n(y.value,2),v=b[0],C=b[1];p.call(h,C,v,u)}}catch(S){g.e(S)}finally{g.f()}},get:function(p){var h=u.find(function(g){return g[0]===p});return h&&h[1]},has:function(p){return!!d.get(p)},keys:function(){return u.map(function(p){var h=n(p,1),g=h[0];return g})},values:function(){return u.map(function(p){var h=n(p,2),g=h[1];return g})}},m=(0,t.default)(d,d.entries());e.default=m}}),LN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Lo());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,h){return i(p)||a(p,h)||l(p,h)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
297
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,h){var g=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(g!=null){var y=[],b=!0,v=!1,C,S;try{for(g=g.call(p);!(b=(C=g.next()).done)&&(y.push(C.value),!(h&&y.length===h));b=!0);}catch(A){v=!0,S=A}finally{try{!b&&g.return!=null&&g.return()}finally{if(v)throw S}}return y}}function i(p){if(Array.isArray(p))return p}function s(p,h){var g=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!g){if(Array.isArray(p)||(g=l(p))||h&&p&&typeof p.length=="number"){g&&(p=g);var y=0,b=function(){};return{s:b,n:function(){return y>=p.length?{done:!0}:{done:!1,value:p[y++]}},e:function(A){throw A},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
298
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,C=!1,S;return{s:function(){g=g.call(p)},n:function(){var A=g.next();return v=A.done,A},e:function(A){C=!0,S=A},f:function(){try{!v&&g.return!=null&&g.return()}finally{if(C)throw S}}}}function l(p,h){if(p){if(typeof p=="string")return c(p,h);var g=Object.prototype.toString.call(p).slice(8,-1);if(g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set")return Array.from(p);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(p,h)}}function c(p,h){(h==null||h>p.length)&&(h=p.length);for(var g=0,y=new Array(h);g<h;g++)y[g]=p[g];return y}var u=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:function(){return u},forEach:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=s(u),y;try{for(g.s();!(y=g.n()).done;){var b=n(y.value,2),v=b[0],C=b[1];p.call(h,C,v,u)}}catch(S){g.e(S)}finally{g.f()}},get:function(p){var h=u.find(function(g){return g[0]===p});return h&&h[1]},has:function(p){return!!d.get(p)},keys:function(){return u.map(function(p){var h=n(p,1),g=h[0];return g})},values:function(){return u.map(function(p){var h=n(p,2),g=h[1];return g})}},m=(0,t.default)(d,d.entries());e.default=m}}),BN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),kN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),$N=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),UN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),HN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),VN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),zN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),GN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),YN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),WN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),KN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),XN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),JN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(BN()),r=p(kN()),n=p($N()),o=p(UN()),a=p(HN()),i=p(VN()),s=p(zN()),l=p(GN()),c=p(YN()),u=p(WN()),d=p(KN()),m=p(XN());function p(y){return y&&y.__esModule?y:{default:y}}var h=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",s.default],["sectionhead",l.default],["select",c.default],["structure",u.default],["widget",d.default],["window",m.default]],g=h;e.default=g}}),QN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ZN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),ej=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),tj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),rj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),nj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),oj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),aj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ij=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),sj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),lj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),uj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),cj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),dj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),pj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),fj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),mj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),hj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),yj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),bj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),gj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),vj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Ej=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_j=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Rj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),wj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),Cj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),Sj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Aj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Tj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Pj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Oj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),qj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),xj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Mj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Nj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),jj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Ij=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Dj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Fj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Lj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Bj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),kj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),$j=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),Uj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),Hj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),Vj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),zj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),Gj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Yj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Wj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Kj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Xj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),Jj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Qj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Zj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),eI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),tI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),rI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),nI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),oI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),aI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),iI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),sI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),lI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),uI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),cI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),dI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),pI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),mI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),hI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),yI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),bI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),gI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),vI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),EI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_I=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),RI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),wI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),CI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),SI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),AI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),TI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(QN()),r=k(ZN()),n=k(ej()),o=k(tj()),a=k(rj()),i=k(nj()),s=k(oj()),l=k(aj()),c=k(ij()),u=k(sj()),d=k(lj()),m=k(uj()),p=k(cj()),h=k(dj()),g=k(pj()),y=k(fj()),b=k(mj()),v=k(hj()),C=k(yj()),S=k(bj()),A=k(gj()),_=k(vj()),E=k(Ej()),R=k(_j()),P=k(Rj()),N=k(wj()),B=k(Cj()),j=k(Sj()),F=k(Aj()),T=k(Tj()),M=k(Pj()),D=k(Oj()),Y=k(qj()),G=k(xj()),Q=k(Mj()),ne=k(Nj()),te=k(jj()),H=k(Ij()),U=k(Dj()),z=k(Fj()),X=k(Lj()),W=k(Bj()),ee=k(kj()),le=k($j()),ze=k(Uj()),L=k(Hj()),J=k(Vj()),Z=k(zj()),pe=k(Gj()),ce=k(Yj()),me=k(Wj()),be=k(Kj()),qe=k(Xj()),it=k(Jj()),Gn=k(Qj()),Yn=k(Zj()),Li=k(eI()),Bi=k(tI()),ki=k(rI()),$i=k(nI()),Ui=k(oI()),Hi=k(aI()),Vi=k(iI()),zi=k(sI()),Gi=k(lI()),Yi=k(uI()),Wi=k(cI()),Ki=k(dI()),Xi=k(pI()),Ji=k(fI()),Qi=k(mI()),Zi=k(hI()),es=k(yI()),ts=k(bI()),rs=k(gI()),ns=k(vI()),os=k(EI()),as=k(_I()),is=k(RI()),ss=k(wI()),ls=k(CI()),us=k(SI()),cs=k(AI());function k(Yo){return Yo&&Yo.__esModule?Yo:{default:Yo}}var ds=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",a.default],["blockquote",i.default],["button",s.default],["caption",l.default],["cell",c.default],["checkbox",u.default],["code",d.default],["columnheader",m.default],["combobox",p.default],["complementary",h.default],["contentinfo",g.default],["definition",y.default],["deletion",b.default],["dialog",v.default],["directory",C.default],["document",S.default],["emphasis",A.default],["feed",_.default],["figure",E.default],["form",R.default],["generic",P.default],["grid",N.default],["gridcell",B.default],["group",j.default],["heading",F.default],["img",T.default],["insertion",M.default],["link",D.default],["list",Y.default],["listbox",G.default],["listitem",Q.default],["log",ne.default],["main",te.default],["mark",H.default],["marquee",U.default],["math",z.default],["menu",X.default],["menubar",W.default],["menuitem",ee.default],["menuitemcheckbox",le.default],["menuitemradio",ze.default],["meter",L.default],["navigation",J.default],["none",Z.default],["note",pe.default],["option",ce.default],["paragraph",me.default],["presentation",be.default],["progressbar",qe.default],["radio",it.default],["radiogroup",Gn.default],["region",Yn.default],["row",Li.default],["rowgroup",Bi.default],["rowheader",ki.default],["scrollbar",$i.default],["search",Ui.default],["searchbox",Hi.default],["separator",Vi.default],["slider",zi.default],["spinbutton",Gi.default],["status",Yi.default],["strong",Wi.default],["subscript",Ki.default],["superscript",Xi.default],["switch",Ji.default],["tab",Qi.default],["table",Zi.default],["tablist",es.default],["tabpanel",ts.default],["term",rs.default],["textbox",ns.default],["time",os.default],["timer",as.default],["toolbar",is.default],["tooltip",ss.default],["tree",ls.default],["treegrid",us.default],["treeitem",cs.default]],en=ds;e.default=en}}),PI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),OI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),qI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),xI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),MI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),NI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),jI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),II=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),DI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),FI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),LI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),BI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),kI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),$I=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),UI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),HI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),VI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),zI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),GI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),YI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),WI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),KI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),XI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),JI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),QI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),ZI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),eD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),tD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),rD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),nD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),oD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),aD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),iD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),sD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),lD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),uD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),cD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),dD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),pD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),fD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=z(PI()),r=z(OI()),n=z(qI()),o=z(xI()),a=z(MI()),i=z(NI()),s=z(jI()),l=z(II()),c=z(DI()),u=z(FI()),d=z(LI()),m=z(BI()),p=z(kI()),h=z($I()),g=z(UI()),y=z(HI()),b=z(VI()),v=z(zI()),C=z(GI()),S=z(YI()),A=z(WI()),_=z(KI()),E=z(XI()),R=z(JI()),P=z(QI()),N=z(ZI()),B=z(eD()),j=z(tD()),F=z(rD()),T=z(nD()),M=z(oD()),D=z(aD()),Y=z(iD()),G=z(sD()),Q=z(lD()),ne=z(uD()),te=z(cD()),H=z(dD()),U=z(pD());function z(ee){return ee&&ee.__esModule?ee:{default:ee}}var X=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",a.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",l.default],["doc-chapter",c.default],["doc-colophon",u.default],["doc-conclusion",d.default],["doc-cover",m.default],["doc-credit",p.default],["doc-credits",h.default],["doc-dedication",g.default],["doc-endnote",y.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",C.default],["doc-errata",S.default],["doc-example",A.default],["doc-footnote",_.default],["doc-foreword",E.default],["doc-glossary",R.default],["doc-glossref",P.default],["doc-index",N.default],["doc-introduction",B.default],["doc-noteref",j.default],["doc-notice",F.default],["doc-pagebreak",T.default],["doc-pagelist",M.default],["doc-part",D.default],["doc-preface",Y.default],["doc-prologue",G.default],["doc-pullquote",Q.default],["doc-qna",ne.default],["doc-subtitle",te.default],["doc-tip",H.default],["doc-toc",U.default]],W=X;e.default=W}}),mD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),hD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),yD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),bD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(mD()),r=o(hD()),n=o(yD());function o(s){return s&&s.__esModule?s:{default:s}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=a;e.default=i}}),wc=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(JN()),r=i(TI()),n=i(fD()),o=i(bD()),a=i(Lo());function i(v){return v&&v.__esModule?v:{default:v}}function s(v,C,S){return C in v?Object.defineProperty(v,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):v[C]=S,v}function l(v,C){var S=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!S){if(Array.isArray(v)||(S=d(v))||C&&v&&typeof v.length=="number"){S&&(v=S);var A=0,_=function(){};return{s:_,n:function(){return A>=v.length?{done:!0}:{done:!1,value:v[A++]}},e:function(N){throw N},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
299
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,R=!1,P;return{s:function(){S=S.call(v)},n:function(){var N=S.next();return E=N.done,N},e:function(N){R=!0,P=N},f:function(){try{!E&&S.return!=null&&S.return()}finally{if(R)throw P}}}}function c(v,C){return h(v)||p(v,C)||d(v,C)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
300
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(v,C){if(v){if(typeof v=="string")return m(v,C);var S=Object.prototype.toString.call(v).slice(8,-1);if(S==="Object"&&v.constructor&&(S=v.constructor.name),S==="Map"||S==="Set")return Array.from(v);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return m(v,C)}}function m(v,C){(C==null||C>v.length)&&(C=v.length);for(var S=0,A=new Array(C);S<C;S++)A[S]=v[S];return A}function p(v,C){var S=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(S!=null){var A=[],_=!0,E=!1,R,P;try{for(S=S.call(v);!(_=(R=S.next()).done)&&(A.push(R.value),!(C&&A.length===C));_=!0);}catch(N){E=!0,P=N}finally{try{!_&&S.return!=null&&S.return()}finally{if(E)throw P}}return A}}function h(v){if(Array.isArray(v))return v}var g=[].concat(t.default,r.default,n.default,o.default);g.forEach(function(v){var C=c(v,2),S=C[1],A=l(S.superClass),_;try{for(A.s();!(_=A.n()).done;){var E=_.value,R=l(E),P;try{var N=function(){var B=P.value,j=g.find(function(Y){var G=c(Y,1),Q=G[0];return Q===B});if(j)for(var F=j[1],T=0,M=Object.keys(F.props);T<M.length;T++){var D=M[T];Object.prototype.hasOwnProperty.call(S.props,D)||Object.assign(S.props,s({},D,F.props[D]))}};for(R.s();!(P=R.n()).done;)N()}catch(B){R.e(B)}finally{R.f()}}}catch(B){A.e(B)}finally{A.f()}});var y={entries:function(){return g},forEach:function(v){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=l(g),A;try{for(S.s();!(A=S.n()).done;){var _=c(A.value,2),E=_[0],R=_[1];v.call(C,R,E,g)}}catch(P){S.e(P)}finally{S.f()}},get:function(v){var C=g.find(function(S){return S[0]===v});return C&&C[1]},has:function(v){return!!y.get(v)},keys:function(){return g.map(function(v){var C=c(v,1),S=C[0];return S})},values:function(){return g.map(function(v){var C=c(v,2),S=C[1];return S})}},b=(0,a.default)(y,y.entries());e.default=b}}),gD=w({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,o){var a,i;if(n===o)return!0;if(n&&o&&(a=n.constructor)===o.constructor){if(a===Date)return n.getTime()===o.getTime();if(a===RegExp)return n.toString()===o.toString();if(a===Array){if((i=n.length)===o.length)for(;i--&&r(n[i],o[i]););return i===-1}if(!a||typeof n=="object"){i=0;for(a in n)if(t.call(n,a)&&++i&&!t.call(o,a)||!(a in o)||!r(n[a],o[a]))return!1;return Object.keys(o).length===i}}return n!==n&&o!==o}e.dequal=r}}),vD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=gD(),r=o(Lo()),n=o(wc());function o(_){return _&&_.__esModule?_:{default:_}}function a(_,E){return l(_)||s(_,E)||u(_,E)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
301
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(_,E){var R=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(R!=null){var P=[],N=!0,B=!1,j,F;try{for(R=R.call(_);!(N=(j=R.next()).done)&&(P.push(j.value),!(E&&P.length===E));N=!0);}catch(T){B=!0,F=T}finally{try{!N&&R.return!=null&&R.return()}finally{if(B)throw F}}return P}}function l(_){if(Array.isArray(_))return _}function c(_,E){var R=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!R){if(Array.isArray(_)||(R=u(_))||E&&_&&typeof _.length=="number"){R&&(_=R);var P=0,N=function(){};return{s:N,n:function(){return P>=_.length?{done:!0}:{done:!1,value:_[P++]}},e:function(T){throw T},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
302
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,j=!1,F;return{s:function(){R=R.call(_)},n:function(){var T=R.next();return B=T.done,T},e:function(T){j=!0,F=T},f:function(){try{!B&&R.return!=null&&R.return()}finally{if(j)throw F}}}}function u(_,E){if(_){if(typeof _=="string")return d(_,E);var R=Object.prototype.toString.call(_).slice(8,-1);if(R==="Object"&&_.constructor&&(R=_.constructor.name),R==="Map"||R==="Set")return Array.from(_);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return d(_,E)}}function d(_,E){(E==null||E>_.length)&&(E=_.length);for(var R=0,P=new Array(E);R<E;R++)P[R]=_[R];return P}var m=[],p=n.default.keys();for(C=0;C<p.length;C++)if(h=p[C],g=n.default.get(h),g)for(y=[].concat(g.baseConcepts,g.relatedConcepts),v=0;v<y.length;v++)b=y[v],b.module==="HTML"&&(function(){var _=b.concept;if(_){var E=m.find(function(B){return(0,t.dequal)(B,_)}),R;E?R=E[1]:R=[];for(var P=!0,N=0;N<R.length;N++)if(R[N]===h){P=!1;break}P&&R.push(h),m.push([_,R])}})();var h,g,y,b,v,C,S={entries:function(){return m},forEach:function(_){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=c(m),P;try{for(R.s();!(P=R.n()).done;){var N=a(P.value,2),B=N[0],j=N[1];_.call(E,j,B,m)}}catch(F){R.e(F)}finally{R.f()}},get:function(_){var E=m.find(function(R){return _.name===R[0].name&&(0,t.dequal)(_.attributes,R[0].attributes)});return E&&E[1]},has:function(_){return!!S.get(_)},keys:function(){return m.map(function(_){var E=a(_,1),R=E[0];return R})},values:function(){return m.map(function(_){var E=a(_,2),R=E[1];return R})}},A=(0,r.default)(S,S.entries());e.default=A}}),ED=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Lo()),r=n(wc());function n(E){return E&&E.__esModule?E:{default:E}}function o(E,R){return s(E)||i(E,R)||c(E,R)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
303
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(E,R){var P=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(P!=null){var N=[],B=!0,j=!1,F,T;try{for(P=P.call(E);!(B=(F=P.next()).done)&&(N.push(F.value),!(R&&N.length===R));B=!0);}catch(M){j=!0,T=M}finally{try{!B&&P.return!=null&&P.return()}finally{if(j)throw T}}return N}}function s(E){if(Array.isArray(E))return E}function l(E,R){var P=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!P){if(Array.isArray(E)||(P=c(E))||R&&E&&typeof E.length=="number"){P&&(E=P);var N=0,B=function(){};return{s:B,n:function(){return N>=E.length?{done:!0}:{done:!1,value:E[N++]}},e:function(M){throw M},f:B}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
304
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,F=!1,T;return{s:function(){P=P.call(E)},n:function(){var M=P.next();return j=M.done,M},e:function(M){F=!0,T=M},f:function(){try{!j&&P.return!=null&&P.return()}finally{if(F)throw T}}}}function c(E,R){if(E){if(typeof E=="string")return u(E,R);var P=Object.prototype.toString.call(E).slice(8,-1);if(P==="Object"&&E.constructor&&(P=E.constructor.name),P==="Map"||P==="Set")return Array.from(E);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return u(E,R)}}function u(E,R){(R==null||R>E.length)&&(R=E.length);for(var P=0,N=new Array(R);P<R;P++)N[P]=E[P];return N}var d=[],m=r.default.keys();for(S=0;S<m.length;S++)if(p=m[S],h=r.default.get(p),g=[],h){for(y=[].concat(h.baseConcepts,h.relatedConcepts),C=0;C<y.length;C++)b=y[C],b.module==="HTML"&&(v=b.concept,v!=null&&g.push(v));g.length>0&&d.push([p,g])}var p,h,g,y,b,v,C,S,A={entries:function(){return d},forEach:function(E){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,P=l(d),N;try{for(P.s();!(N=P.n()).done;){var B=o(N.value,2),j=B[0],F=B[1];E.call(R,F,j,d)}}catch(T){P.e(T)}finally{P.f()}},get:function(E){var R=d.find(function(P){return P[0]===E});return R&&R[1]},has:function(E){return!!A.get(E)},keys:function(){return d.map(function(E){var R=o(E,1),P=R[0];return P})},values:function(){return d.map(function(E){var R=o(E,2),P=R[1];return P})}},_=(0,t.default)(A,A.entries());e.default=_}}),_D=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(FN()),r=i(LN()),n=i(wc()),o=i(vD()),a=i(ED());function i(m){return m&&m.__esModule?m:{default:m}}var s=t.default;e.aria=s;var l=r.default;e.dom=l;var c=n.default;e.roles=c;var u=o.default;e.elementRoles=u;var d=a.default;e.roleElements=d}}),RD=w({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=(function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function s(c,u){if(!i[c]){i[c]={};for(var d=0;d<c.length;d++)i[c][c.charAt(d)]=d}return i[c][u]}var l={compressToBase64:function(c){if(c==null)return"";var u=l._compress(c,6,function(d){return o.charAt(d)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:l._decompress(c.length,32,function(u){return s(o,c.charAt(u))})},compressToUTF16:function(c){return c==null?"":l._compress(c,15,function(u){return n(u+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:l._decompress(c.length,16384,function(u){return c.charCodeAt(u)-32})},compressToUint8Array:function(c){for(var u=l.compress(c),d=new Uint8Array(u.length*2),m=0,p=u.length;m<p;m++){var h=u.charCodeAt(m);d[m*2]=h>>>8,d[m*2+1]=h%256}return d},decompressFromUint8Array:function(c){if(c==null)return l.decompress(c);for(var u=new Array(c.length/2),d=0,m=u.length;d<m;d++)u[d]=c[d*2]*256+c[d*2+1];var p=[];return u.forEach(function(h){p.push(n(h))}),l.decompress(p.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":l._compress(c,6,function(u){return a.charAt(u)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),l._decompress(c.length,32,function(u){return s(a,c.charAt(u))}))},compress:function(c){return l._compress(c,16,function(u){return n(u)})},_compress:function(c,u,d){if(c==null)return"";var m,p,h={},g={},y="",b="",v="",C=2,S=3,A=2,_=[],E=0,R=0,P;for(P=0;P<c.length;P+=1)if(y=c.charAt(P),Object.prototype.hasOwnProperty.call(h,y)||(h[y]=S++,g[y]=!0),b=v+y,Object.prototype.hasOwnProperty.call(h,b))v=b;else{if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(m=0;m<A;m++)E=E<<1,R==u-1?(R=0,_.push(d(E)),E=0):R++;for(p=v.charCodeAt(0),m=0;m<8;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1}else{for(p=1,m=0;m<A;m++)E=E<<1|p,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=0;for(p=v.charCodeAt(0),m=0;m<16;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1}C--,C==0&&(C=Math.pow(2,A),A++),delete g[v]}else for(p=h[v],m=0;m<A;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1;C--,C==0&&(C=Math.pow(2,A),A++),h[b]=S++,v=String(y)}if(v!==""){if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(m=0;m<A;m++)E=E<<1,R==u-1?(R=0,_.push(d(E)),E=0):R++;for(p=v.charCodeAt(0),m=0;m<8;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1}else{for(p=1,m=0;m<A;m++)E=E<<1|p,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=0;for(p=v.charCodeAt(0),m=0;m<16;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1}C--,C==0&&(C=Math.pow(2,A),A++),delete g[v]}else for(p=h[v],m=0;m<A;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1;C--,C==0&&(C=Math.pow(2,A),A++)}for(p=2,m=0;m<A;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1;for(;;)if(E=E<<1,R==u-1){_.push(d(E));break}else R++;return _.join("")},decompress:function(c){return c==null?"":c==""?null:l._decompress(c.length,32768,function(u){return c.charCodeAt(u)})},_decompress:function(c,u,d){var m=[],p=4,h=4,g=3,y="",b=[],v,C,S,A,_,E,R,P={val:d(0),position:u,index:1};for(v=0;v<3;v+=1)m[v]=v;for(S=0,_=Math.pow(2,2),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;switch(S){case 0:for(S=0,_=Math.pow(2,8),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;R=n(S);break;case 1:for(S=0,_=Math.pow(2,16),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;R=n(S);break;case 2:return""}for(m[3]=R,C=R,b.push(R);;){if(P.index>c)return"";for(S=0,_=Math.pow(2,g),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;switch(R=S){case 0:for(S=0,_=Math.pow(2,8),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;m[h++]=n(S),R=h-1,p--;break;case 1:for(S=0,_=Math.pow(2,16),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;m[h++]=n(S),R=h-1,p--;break;case 2:return b.join("")}if(p==0&&(p=Math.pow(2,g),g++),m[R])y=m[R];else if(R===h)y=C+C.charAt(0);else return null;b.push(y),m[h++]=C+y.charAt(0),p--,C=y,p==0&&(p=Math.pow(2,g),g++)}}};return l})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),tv=Object.defineProperty,wD=Object.getOwnPropertyNames,$=(e,t)=>tv(e,"name",{value:t,configurable:!0}),CD=(e,t)=>function(){return t||(0,e[wD(e)[0]])((t={exports:{}}).exports,t),t.exports},Cc=(e,t)=>{for(var r in t)tv(e,r,{get:t[r],enumerable:!0})},SD=CD({"(disabled):util"(){}}),jt={};Cc(jt,{addChainableMethod:()=>Dc,addLengthGuard:()=>$o,addMethod:()=>Nc,addProperty:()=>Mc,checkError:()=>ct,compareByInspect:()=>za,eql:()=>Pv,expectTypes:()=>lv,flag:()=>ie,getActual:()=>yi,getMessage:()=>Tc,getName:()=>gi,getOperator:()=>kc,getOwnEnumerableProperties:()=>Bc,getOwnEnumerablePropertySymbols:()=>Lc,getPathInfo:()=>xc,hasProperty:()=>bi,inspect:()=>fe,isNaN:()=>Ga,isNumeric:()=>Ve,isProxyEnabled:()=>ko,isRegExp:()=>Ya,objDisplay:()=>Ur,overwriteChainableMethod:()=>Fc,overwriteMethod:()=>Ic,overwriteProperty:()=>jc,proxify:()=>Hn,test:()=>Sc,transferFlags:()=>Ot,type:()=>Re});var ct={};Cc(ct,{compatibleConstructor:()=>ov,compatibleInstance:()=>nv,compatibleMessage:()=>av,getConstructorName:()=>iv,getMessage:()=>sv});function hi(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}$(hi,"isErrorInstance");function rv(e){return Object.prototype.toString.call(e)==="[object RegExp]"}$(rv,"isRegExp");function nv(e,t){return hi(t)&&e===t}$(nv,"compatibleInstance");function ov(e,t){return hi(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}$(ov,"compatibleConstructor");function av(e,t){let r=typeof e=="string"?e:e.message;return rv(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}$(av,"compatibleMessage");function iv(e){let t=e;return hi(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}$(iv,"getConstructorName");function sv(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}$(sv,"getMessage");function ie(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}$(ie,"flag");function Sc(e,t){var r=ie(e,"negate"),n=t[0];return r?!n:n}$(Sc,"test");function Re(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}$(Re,"type");var AD="captureStackTrace"in Error,Ta,ye=(Ta=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);Te(this,"message");this.message=t,AD&&Error.captureStackTrace(this,n||Ta);for(let o in r)o in this||(this[o]=r[o])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},$(Ta,"AssertionError"),Ta);function lv(e,t){var r=ie(e,"message"),n=ie(e,"ssfi");r=r?r+": ":"",e=ie(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();var o=t.map(function(i,s){var l=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a",c=t.length>1&&s===t.length-1?"or ":"";return c+l+" "+i}).join(", "),a=Re(e).toLowerCase();if(!t.some(function(i){return a===i}))throw new ye(r+"object tested must be "+o+", but "+a+" given",void 0,n)}$(lv,"expectTypes");function yi(e,t){return t.length>4?t[4]:e._obj}$(yi,"getActual");var xy={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},TD={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},On="\u2026";function uv(e,t){let r=xy[TD[t]]||xy[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}$(uv,"colorise");function cv({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(l),seen:s,inspect:u,stylize:c};return d.colors&&(d.stylize=uv),d}$(cv,"normaliseOptions");function dv(e){return e>="\uD800"&&e<="\uDBFF"}$(dv,"isHighSurrogate");function er(e,t,r=On){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&dv(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}$(er,"truncate");function Et(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",s="",l="";for(let c=0;c<o;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${On}(${e.length-c})`;let m=e[c];t.truncate=a-i.length-(u?0:n.length);let p=s||r(m,t)+(u?"":n),h=i.length+p.length,g=h+l.length;if(u&&h>a&&i.length+l.length<=a||!u&&!d&&g>a||(s=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&h+s.length>a))break;if(i+=p,!u&&!d&&h+s.length>=a){l=`${On}(${e.length-c-1})`;break}l=""}return`${i}${l}`}$(Et,"inspectList");function pv(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}$(pv,"quoteComplexKey");function qn([e,t],r){return r.truncate-=2,typeof e=="string"?e=pv(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}$(qn,"inspectProperty");function fv(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Et(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Et(r.map(a=>[a,e[a]]),t,qn)),`[ ${n}${o?`, ${o}`:""} ]`}$(fv,"inspectArray");var PD=$(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Nt(e,t){let r=PD(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let s=`${t.stylize(er(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${On}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=Et(n.map(i=>[i,e[i]]),t,qn)),`${r}[ ${o}${a?`, ${a}`:""} ]`}$(Nt,"inspectTypedArray");function mv(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${er(n[1],t.truncate-o.length-1)}`,"date")}$(mv,"inspectDate");function vu(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${er(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}$(vu,"inspectFunction");function hv([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}$(hv,"inspectMapEntry");function yv(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}$(yv,"mapToEntries");function bv(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Et(yv(e),t,hv)} }`)}$(bv,"inspectMap");var OD=Number.isNaN||(e=>e!==e);function Eu(e,t){return OD(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(er(String(e),t.truncate),"number")}$(Eu,"inspectNumber");function _u(e,t){let r=er(e.toString(),t.truncate-1);return r!==On&&(r+="n"),t.stylize(r,"bigint")}$(_u,"inspectBigInt");function gv(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${er(o,n)}/${r}`,"regexp")}$(gv,"inspectRegExp");function vv(e){let t=[];return e.forEach(r=>{t.push(r)}),t}$(vv,"arrayFromSet");function Ev(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Et(vv(e),t)} }`)}$(Ev,"inspectSet");var My=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),qD={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},xD=16,MD=4;function _v(e){return qD[e]||`\\u${`0000${e.charCodeAt(0).toString(xD)}`.slice(-MD)}`}$(_v,"escape");function Ru(e,t){return My.test(e)&&(e=e.replace(My,_v)),t.stylize(`'${er(e,t.truncate-2)}'`,"string")}$(Ru,"inspectString");function wu(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}$(wu,"inspectSymbol");var Rv=$(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Rv=$((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"))}catch{}var ND=Rv;function bo(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Et(r.map(s=>[s,e[s]]),t,qn),a=Et(n.map(s=>[s,e[s]]),t,qn);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}$(bo,"inspectObject");var Zl=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function wv(e,t){let r="";return Zl&&Zl in e&&(r=e[Zl]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${bo(e,t)}`}$(wv,"inspectClass");function Cv(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Et(e,t)} ]`)}$(Cv,"inspectArguments");var jD=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Sv(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>jD.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=er(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Et(r.map(i=>[i,e[i]]),t,qn);return`${n}${o}${a?` { ${a} }`:""}`}$(Sv,"inspectObject");function Av([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}$(Av,"inspectAttribute");function Ua(e,t){return Et(e,t,Ac,`
|
|
305
|
+
`)}$(Ua,"inspectHTMLCollection");function Ac(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Et(r.map(u=>[u,e.getAttribute(u)]),t,Av," ")),t.truncate-=s.length;let l=t.truncate,c=Ua(e.children,t);return c&&c.length>l&&(c=`${On}(${e.children.length})`),`${o}${s}${a}${c}${i}`}$(Ac,"inspectHTML");var ID=typeof Symbol=="function"&&typeof Symbol.for=="function",eu=ID?Symbol.for("chai/inspect"):"@@chai/inspect",vn=!1;try{let e=SD();vn=e.inspect?e.inspect.custom:!1}catch{vn=!1}var Ny=new WeakMap,jy={},Iy={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Eu,Number:Eu,bigint:_u,BigInt:_u,string:Ru,String:Ru,function:vu,Function:vu,symbol:wu,Symbol:wu,Array:fv,Date:mv,Map:bv,Set:Ev,RegExp:gv,Promise:ND,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:Cv,Int8Array:Nt,Uint8Array:Nt,Uint8ClampedArray:Nt,Int16Array:Nt,Uint16Array:Nt,Int32Array:Nt,Uint32Array:Nt,Float32Array:Nt,Float64Array:Nt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Sv,HTMLCollection:Ua,NodeList:Ua},DD=$((e,t,r)=>eu in e&&typeof e[eu]=="function"?e[eu](t):vn&&vn in e&&typeof e[vn]=="function"?e[vn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ny.has(e.constructor)?Ny.get(e.constructor)(e,t):jy[r]?jy[r](e,t):"","inspectCustom"),FD=Object.prototype.toString;function Ha(e,t={}){let r=cv(t,Ha),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=FD.call(e).slice(8,-1)),o in Iy)return Iy[o](e,r);if(n&&e){let i=DD(e,r,o);if(i)return typeof i=="string"?i:Ha(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?bo(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ac(e,r):"constructor"in e?e.constructor!==Object?wv(e,r):bo(e,r):e===Object(e)?bo(e,r):r.stylize(String(e),o)}$(Ha,"inspect");var at={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function fe(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:at.truncateThreshold?at.truncateThreshold:1/0};return Ha(e,o)}$(fe,"inspect");function Ur(e){var t=fe(e),r=Object.prototype.toString.call(e);if(at.truncateThreshold&&t.length>=at.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),o=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+o+") }"}else return t}else return t}$(Ur,"objDisplay");function Tc(e,t){var r=ie(e,"negate"),n=ie(e,"object"),o=t[3],a=yi(e,t),i=r?t[2]:t[1],s=ie(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Ur(n)}).replace(/#\{act\}/g,function(){return Ur(a)}).replace(/#\{exp\}/g,function(){return Ur(o)}),s?s+": "+i:i}$(Tc,"getMessage");function Ot(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}$(Ot,"transferFlags");function Cu(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}$(Cu,"type");function Pc(){this._key="chai/deep-eql__"+Math.random()+Date.now()}$(Pc,"FakeMap");Pc.prototype={get:$(function(e){return e[this._key]},"get"),set:$(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var Tv=typeof WeakMap=="function"?WeakMap:Pc;function Su(e,t,r){if(!r||zr(e)||zr(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}$(Su,"memoizeCompare");function fo(e,t,r,n){if(!(!r||zr(e)||zr(t))){var o=r.get(e);o?o.set(t,n):(o=new Tv,o.set(t,n),r.set(e,o))}}$(fo,"memoizeSet");var Pv=Bo;function Bo(e,t,r){if(r&&r.comparator)return Au(e,t,r);var n=Oc(e,t);return n!==null?n:Au(e,t,r)}$(Bo,"deepEqual");function Oc(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:zr(e)||zr(t)?!1:null}$(Oc,"simpleEqual");function Au(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Tv;var n=r&&r.comparator,o=Su(e,t,r.memoize);if(o!==null)return o;var a=Su(t,e,r.memoize);if(a!==null)return a;if(n){var i=n(e,t);if(i===!1||i===!0)return fo(e,t,r.memoize,i),i;var s=Oc(e,t);if(s!==null)return s}var l=Cu(e);if(l!==Cu(t))return fo(e,t,r.memoize,!1),!1;fo(e,t,r.memoize,!0);var c=Ov(e,t,l,r);return fo(e,t,r.memoize,c),c}$(Au,"extensiveDeepEqual");function Ov(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Bo(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return qc(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return vr(e,t,n);case"RegExp":return qv(e,t);case"Generator":return xv(e,t,n);case"DataView":return vr(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return vr(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Tu(e,t,n);case"Map":return Tu(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return Nv(e,t,n)}}$(Ov,"extensiveDeepEqualByType");function qv(e,t){return e.toString()===t.toString()}$(qv,"regexpEqual");function Tu(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach($(function(a,i){n.push([a,i])},"gatherEntries")),t.forEach($(function(a,i){o.push([a,i])},"gatherEntries")),vr(n.sort(),o.sort(),r)}$(Tu,"entriesEqual");function vr(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(Bo(e[o],t[o],r)===!1)return!1;return!0}$(vr,"iterableEqual");function xv(e,t,r){return vr(Va(e),Va(t),r)}$(xv,"generatorEqual");function Mv(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}$(Mv,"hasIteratorFunction");function Pu(e){if(Mv(e))try{return Va(e[Symbol.iterator]())}catch{return[]}return[]}$(Pu,"getIteratorEntries");function Va(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}$(Va,"getGeneratorEntries");function Ou(e){var t=[];for(var r in e)t.push(r);return t}$(Ou,"getEnumerableKeys");function qu(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}$(qu,"getEnumerableSymbols");function qc(e,t,r,n){var o=r.length;if(o===0)return!0;for(var a=0;a<o;a+=1)if(Bo(e[r[a]],t[r[a]],n)===!1)return!1;return!0}$(qc,"keysEqual");function Nv(e,t,r){var n=Ou(e),o=Ou(t),a=qu(e),i=qu(t);if(n=n.concat(a),o=o.concat(i),n.length&&n.length===o.length)return vr(xu(n).sort(),xu(o).sort())===!1?!1:qc(e,t,n,r);var s=Pu(e),l=Pu(t);return s.length&&s.length===l.length?(s.sort(),l.sort(),vr(s,l,r)):n.length===0&&s.length===0&&o.length===0&&l.length===0}$(Nv,"objectEqual");function zr(e){return e===null||typeof e!="object"}$(zr,"isPrimitive");function xu(e){return e.map($(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}$(xu,"mapSymbols");function bi(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}$(bi,"hasProperty");function jv(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}$(jv,"parsePath");function Mu(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){let i=t[a];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],a===r-1&&(o=n))}return o}$(Mu,"internalGetPathValue");function xc(e,t){let r=jv(t),n=r[r.length-1],o={parent:r.length>1?Mu(e,r,r.length-1):e,name:n.p||n.i,value:Mu(e,r)};return o.exists=bi(o.parent,o.name),o}$(xc,"getPathInfo");function x(e,t,r,n){return ie(this,"ssfi",r||x),ie(this,"lockSsfi",n),ie(this,"object",e),ie(this,"message",t),ie(this,"eql",at.deepEqual||Pv),Hn(this)}$(x,"Assertion");Object.defineProperty(x,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),at.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),at.includeStack=e}});Object.defineProperty(x,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),at.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),at.showDiff=e}});x.addProperty=function(e,t){Mc(this.prototype,e,t)};x.addMethod=function(e,t){Nc(this.prototype,e,t)};x.addChainableMethod=function(e,t,r){Dc(this.prototype,e,t,r)};x.overwriteProperty=function(e,t){jc(this.prototype,e,t)};x.overwriteMethod=function(e,t){Ic(this.prototype,e,t)};x.overwriteChainableMethod=function(e,t,r){Fc(this.prototype,e,t,r)};x.prototype.assert=function(e,t,r,n,o,a){var i=Sc(this,arguments);if(a!==!1&&(a=!0),n===void 0&&o===void 0&&(a=!1),at.showDiff!==!0&&(a=!1),!i){t=Tc(this,arguments);var s=yi(this,arguments),l={actual:s,expected:n,showDiff:a},c=kc(this,arguments);throw c&&(l.operator=c),new ye(t,l,at.includeStack?this.assert:ie(this,"ssfi"))}};Object.defineProperty(x.prototype,"_obj",{get:function(){return ie(this,"object")},set:function(e){ie(this,"object",e)}});function ko(){return at.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}$(ko,"isProxyEnabled");function Mc(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:$(function n(){!ko()&&!ie(this,"lockSsfi")&&ie(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var a=new x;return Ot(this,a),a},"propertyGetter"),configurable:!0})}$(Mc,"addProperty");var LD=Object.getOwnPropertyDescriptor(function(){},"length");function $o(e,t,r){return LD.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e}$($o,"addLengthGuard");function Iv(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}$(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}$(Iv,"getProperties");var Dy=["__flags","__methods","_obj","assert"];function Hn(e,t){return ko()?new Proxy(e,{get:$(function r(n,o){if(typeof o=="string"&&at.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var a=null,i=4;throw Iv(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&Dy.indexOf(s)===-1){var l=Dv(o,s,i);l<i&&(a=s,i=l)}}),Error(a!==null?"Invalid Chai property: "+o+'. Did you mean "'+a+'"?':"Invalid Chai property: "+o)}return Dy.indexOf(o)===-1&&!ie(n,"lockSsfi")&&ie(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}$(Hn,"proxify");function Dv(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){var o=e.charCodeAt(a-1);for(let i=1;i<=t.length;i++){if(Math.abs(a-i)>=r){n[a][i]=r;continue}n[a][i]=Math.min(n[a-1][i]+1,n[a][i-1]+1,n[a-1][i-1]+(o===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}$(Dv,"stringDistanceCapped");function Nc(e,t,r){var n=$(function(){ie(this,"lockSsfi")||ie(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var a=new x;return Ot(this,a),a},"methodWrapper");$o(n,t,!1),e[t]=Hn(n,t)}$(Nc,"addMethod");function jc(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=$(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:$(function a(){!ko()&&!ie(this,"lockSsfi")&&ie(this,"ssfi",a);var i=ie(this,"lockSsfi");ie(this,"lockSsfi",!0);var s=r(o).call(this);if(ie(this,"lockSsfi",i),s!==void 0)return s;var l=new x;return Ot(this,l),l},"overwritingPropertyGetter"),configurable:!0})}$(jc,"overwriteProperty");function Ic(e,t,r){var n=e[t],o=$(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var a=$(function(){ie(this,"lockSsfi")||ie(this,"ssfi",a);var i=ie(this,"lockSsfi");ie(this,"lockSsfi",!0);var s=r(o).apply(this,arguments);if(ie(this,"lockSsfi",i),s!==void 0)return s;var l=new x;return Ot(this,l),l},"overwritingMethodWrapper");$o(a,t,!1),e[t]=Hn(a,t)}$(Ic,"overwriteMethod");var BD=typeof Object.setPrototypeOf=="function",Fy=$(function(){},"testFn"),kD=Object.getOwnPropertyNames(Fy).filter(function(e){var t=Object.getOwnPropertyDescriptor(Fy,e);return typeof t!="object"?!0:!t.configurable}),$D=Function.prototype.call,UD=Function.prototype.apply;function Dc(e,t,r,n){typeof n!="function"&&(n=$(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:$(function(){o.chainingBehavior.call(this);var a=$(function(){ie(this,"lockSsfi")||ie(this,"ssfi",a);var l=o.method.apply(this,arguments);if(l!==void 0)return l;var c=new x;return Ot(this,c),c},"chainableMethodWrapper");if($o(a,t,!0),BD){var i=Object.create(this);i.call=$D,i.apply=UD,Object.setPrototypeOf(a,i)}else{var s=Object.getOwnPropertyNames(e);s.forEach(function(l){if(kD.indexOf(l)===-1){var c=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,c)}})}return Ot(this,a),Hn(a)},"chainableMethodGetter"),configurable:!0})}$(Dc,"addChainableMethod");function Fc(e,t,r,n){var o=e.__methods[t],a=o.chainingBehavior;o.chainingBehavior=$(function(){var s=n(a).call(this);if(s!==void 0)return s;var l=new x;return Ot(this,l),l},"overwritingChainableMethodGetter");var i=o.method;o.method=$(function(){var s=r(i).apply(this,arguments);if(s!==void 0)return s;var l=new x;return Ot(this,l),l},"overwritingChainableMethodWrapper")}$(Fc,"overwriteChainableMethod");function za(e,t){return fe(e)<fe(t)?-1:1}$(za,"compareByInspect");function Lc(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}$(Lc,"getOwnEnumerablePropertySymbols");function Bc(e){return Object.keys(e).concat(Lc(e))}$(Bc,"getOwnEnumerableProperties");var Ga=Number.isNaN;function Fv(e){var t=Re(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}$(Fv,"isObjectType");function kc(e,t){var r=ie(e,"operator"),n=ie(e,"negate"),o=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!!a&&!/\shave\s/.test(a)){var i=Fv(o);return/\snot\s/.test(a)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}}$(kc,"getOperator");function gi(e){return e.name}$(gi,"getName");function Ya(e){return Object.prototype.toString.call(e)==="[object RegExp]"}$(Ya,"isRegExp");function Ve(e){return["Number","BigInt"].includes(Re(e))}$(Ve,"isNumeric");var{flag:I}=jt;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){x.addProperty(e)});x.addProperty("not",function(){I(this,"negate",!0)});x.addProperty("deep",function(){I(this,"deep",!0)});x.addProperty("nested",function(){I(this,"nested",!0)});x.addProperty("own",function(){I(this,"own",!0)});x.addProperty("ordered",function(){I(this,"ordered",!0)});x.addProperty("any",function(){I(this,"any",!0),I(this,"all",!1)});x.addProperty("all",function(){I(this,"all",!0),I(this,"any",!1)});var Ly={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function $c(e,t){t&&I(this,"message",t),e=e.toLowerCase();var r=I(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=Re(r).toLowerCase();Ly.function.includes(e)?this.assert(Ly[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}$($c,"an");x.addChainableMethod("an",$c);x.addChainableMethod("a",$c);function Lv(e,t){return Ga(e)&&Ga(t)||e===t}$(Lv,"SameValueZero");function Uo(){I(this,"contains",!0)}$(Uo,"includeChainingBehavior");function Ho(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=Re(r).toLowerCase(),o=I(this,"message"),a=I(this,"negate"),i=I(this,"ssfi"),s=I(this,"deep"),l=s?"deep ":"",c=s?I(this,"eql"):Lv;o=o?o+": ":"";var u=!1;switch(n){case"string":u=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new ye(o+"unable to use .deep.include with WeakSet",void 0,i);u=r.has(e);break;case"map":r.forEach(function(h){u=u||c(h,e)});break;case"set":s?r.forEach(function(h){u=u||c(h,e)}):u=r.has(e);break;case"array":s?u=r.some(function(h){return c(h,e)}):u=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new ye(o+"the given combination of arguments ("+n+" and "+Re(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+Re(e).toLowerCase(),void 0,i);var d=Object.keys(e),m=null,p=0;if(d.forEach(function(h){var g=new x(r);if(Ot(this,g,!0),I(g,"lockSsfi",!0),!a||d.length===1){g.property(h,e[h]);return}try{g.property(h,e[h])}catch(y){if(!ct.compatibleConstructor(y,ye))throw y;m===null&&(m=y),p++}},this),a&&d.length>1&&p===d.length)throw m;return}this.assert(u,"expected #{this} to "+l+"include "+fe(e),"expected #{this} to not "+l+"include "+fe(e))}$(Ho,"include");x.addChainableMethod("include",Ho,Uo);x.addChainableMethod("contain",Ho,Uo);x.addChainableMethod("contains",Ho,Uo);x.addChainableMethod("includes",Ho,Uo);x.addProperty("ok",function(){this.assert(I(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});x.addProperty("true",function(){this.assert(I(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!I(this,"negate"))});x.addProperty("numeric",function(){let e=I(this,"object");this.assert(["Number","BigInt"].includes(Re(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!I(this,"negate"))});x.addProperty("callable",function(){let e=I(this,"object"),t=I(this,"ssfi"),r=I(this,"message"),n=r?`${r}: `:"",o=I(this,"negate"),a=o?`${n}expected ${fe(e)} not to be a callable function`:`${n}expected ${fe(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Re(e));if(i&&o||!i&&!o)throw new ye(a,void 0,t)});x.addProperty("false",function(){this.assert(I(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!I(this,"negate"))});x.addProperty("null",function(){this.assert(I(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});x.addProperty("undefined",function(){this.assert(I(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});x.addProperty("NaN",function(){this.assert(Ga(I(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Uc(){var e=I(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}$(Uc,"assertExist");x.addProperty("exist",Uc);x.addProperty("exists",Uc);x.addProperty("empty",function(){var e=I(this,"object"),t=I(this,"ssfi"),r=I(this,"message"),n;switch(r=r?r+": ":"",Re(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new ye(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+gi(e);throw new ye(o.trim(),void 0,t);default:if(e!==Object(e))throw new ye(r+".empty was passed non-string primitive "+fe(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Hc(){var e=I(this,"object"),t=Re(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}$(Hc,"checkArguments");x.addProperty("arguments",Hc);x.addProperty("Arguments",Hc);function vi(e,t){t&&I(this,"message",t);var r=I(this,"object");if(I(this,"deep")){var n=I(this,"lockSsfi");I(this,"lockSsfi",!0),this.eql(e),I(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}$(vi,"assertEqual");x.addMethod("equal",vi);x.addMethod("equals",vi);x.addMethod("eq",vi);function Vc(e,t){t&&I(this,"message",t);var r=I(this,"eql");this.assert(r(e,I(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}$(Vc,"assertEql");x.addMethod("eql",Vc);x.addMethod("eqls",Vc);function Ei(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"doLength"),o=I(this,"message"),a=o?o+": ":"",i=I(this,"ssfi"),s=Re(r).toLowerCase(),l=Re(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new x(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")throw new ye(a+"the argument to above must be a date",void 0,i);if(!Ve(e)&&(n||Ve(r)))throw new ye(a+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!Ve(r)){var c=s==="string"?"'"+r+"'":r;throw new ye(a+"expected "+c+" to be a number or a date",void 0,i)}if(n){var u="length",d;s==="map"||s==="set"?(u="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}$(Ei,"assertAbove");x.addMethod("above",Ei);x.addMethod("gt",Ei);x.addMethod("greaterThan",Ei);function _i(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"doLength"),o=I(this,"message"),a=o?o+": ":"",i=I(this,"ssfi"),s=Re(r).toLowerCase(),l=Re(e).toLowerCase(),c,u=!0;if(n&&s!=="map"&&s!=="set"&&new x(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")c=a+"the argument to least must be a date";else if(!Ve(e)&&(n||Ve(r)))c=a+"the argument to least must be a number";else if(!n&&s!=="date"&&!Ve(r)){var d=s==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new ye(c,void 0,i);if(n){var m="length",p;s==="map"||s==="set"?(m="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+m+" at least #{exp} but got #{act}","expected #{this} to have a "+m+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}$(_i,"assertLeast");x.addMethod("least",_i);x.addMethod("gte",_i);x.addMethod("greaterThanOrEqual",_i);function Ri(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"doLength"),o=I(this,"message"),a=o?o+": ":"",i=I(this,"ssfi"),s=Re(r).toLowerCase(),l=Re(e).toLowerCase(),c,u=!0;if(n&&s!=="map"&&s!=="set"&&new x(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")c=a+"the argument to below must be a date";else if(!Ve(e)&&(n||Ve(r)))c=a+"the argument to below must be a number";else if(!n&&s!=="date"&&!Ve(r)){var d=s==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new ye(c,void 0,i);if(n){var m="length",p;s==="map"||s==="set"?(m="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+m+" below #{exp} but got #{act}","expected #{this} to not have a "+m+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}$(Ri,"assertBelow");x.addMethod("below",Ri);x.addMethod("lt",Ri);x.addMethod("lessThan",Ri);function wi(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"doLength"),o=I(this,"message"),a=o?o+": ":"",i=I(this,"ssfi"),s=Re(r).toLowerCase(),l=Re(e).toLowerCase(),c,u=!0;if(n&&s!=="map"&&s!=="set"&&new x(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")c=a+"the argument to most must be a date";else if(!Ve(e)&&(n||Ve(r)))c=a+"the argument to most must be a number";else if(!n&&s!=="date"&&!Ve(r)){var d=s==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new ye(c,void 0,i);if(n){var m="length",p;s==="map"||s==="set"?(m="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+m+" at most #{exp} but got #{act}","expected #{this} to have a "+m+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}$(wi,"assertMost");x.addMethod("most",wi);x.addMethod("lte",wi);x.addMethod("lessThanOrEqual",wi);x.addMethod("within",function(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"doLength"),a=I(this,"message"),i=a?a+": ":"",s=I(this,"ssfi"),l=Re(n).toLowerCase(),c=Re(e).toLowerCase(),u=Re(t).toLowerCase(),d,m=!0,p=c==="date"&&u==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&l!=="map"&&l!=="set"&&new x(n,a,s,!0).to.have.property("length"),!o&&l==="date"&&(c!=="date"||u!=="date"))d=i+"the arguments to within must be dates";else if((!Ve(e)||!Ve(t))&&(o||Ve(n)))d=i+"the arguments to within must be numbers";else if(!o&&l!=="date"&&!Ve(n)){var h=l==="string"?"'"+n+"'":n;d=i+"expected "+h+" to be a number or a date"}else m=!1;if(m)throw new ye(d,void 0,s);if(o){var g="length",y;l==="map"||l==="set"?(g="size",y=n.size):y=n.length,this.assert(y>=e&&y<=t,"expected #{this} to have a "+g+" within "+p,"expected #{this} to not have a "+g+" within "+p)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p)});function zc(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"ssfi"),o=I(this,"message");try{var a=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new ye(o+"The instanceof assertion needs a constructor but "+Re(e)+" was given.",void 0,n)):s}var i=gi(e);i==null&&(i="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}$(zc,"assertInstanceOf");x.addMethod("instanceof",zc);x.addMethod("instanceOf",zc);function Gc(e,t,r){r&&I(this,"message",r);var n=I(this,"nested"),o=I(this,"own"),a=I(this,"message"),i=I(this,"object"),s=I(this,"ssfi"),l=typeof e;if(a=a?a+": ":"",n){if(l!=="string")throw new ye(a+"the argument to property must be a string when using nested syntax",void 0,s)}else if(l!=="string"&&l!=="number"&&l!=="symbol")throw new ye(a+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new ye(a+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new ye(a+"Target cannot be null or undefined.",void 0,s);var c=I(this,"deep"),u=I(this,"negate"),d=n?xc(i,e):null,m=n?d.value:i[e],p=c?I(this,"eql"):(y,b)=>y===b,h="";c&&(h+="deep "),o&&(h+="own "),n&&(h+="nested "),h+="property ";var g;o?g=Object.prototype.hasOwnProperty.call(i,e):n?g=d.exists:g=bi(i,e),(!u||arguments.length===1)&&this.assert(g,"expected #{this} to have "+h+fe(e),"expected #{this} to not have "+h+fe(e)),arguments.length>1&&this.assert(g&&p(t,m),"expected #{this} to have "+h+fe(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+h+fe(e)+" of #{act}",t,m),I(this,"object",m)}$(Gc,"assertProperty");x.addMethod("property",Gc);function Yc(e,t,r){I(this,"own",!0),Gc.apply(this,arguments)}$(Yc,"assertOwnProperty");x.addMethod("ownProperty",Yc);x.addMethod("haveOwnProperty",Yc);function Wc(e,t,r){typeof t=="string"&&(r=t,t=null),r&&I(this,"message",r);var n=I(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),a=I(this,"eql");o&&t?this.assert(a(t,o),"expected the own property descriptor for "+fe(e)+" on #{this} to match "+fe(t)+", got "+fe(o),"expected the own property descriptor for "+fe(e)+" on #{this} to not match "+fe(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+fe(e),"expected #{this} to not have an own property descriptor for "+fe(e)),I(this,"object",o)}$(Wc,"assertOwnPropertyDescriptor");x.addMethod("ownPropertyDescriptor",Wc);x.addMethod("haveOwnPropertyDescriptor",Wc);function Kc(){I(this,"doLength",!0)}$(Kc,"assertLengthChain");function Xc(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=Re(r).toLowerCase(),o=I(this,"message"),a=I(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new x(r,o,a,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,s)}$(Xc,"assertLength");x.addChainableMethod("length",Xc,Kc);x.addChainableMethod("lengthOf",Xc,Kc);function Jc(e,t){t&&I(this,"message",t);var r=I(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}$(Jc,"assertMatch");x.addMethod("match",Jc);x.addMethod("matches",Jc);x.addMethod("string",function(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"message"),o=I(this,"ssfi");new x(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+fe(e),"expected #{this} to not contain "+fe(e))});function Qc(e){var t=I(this,"object"),r=Re(t),n=Re(e),o=I(this,"ssfi"),a=I(this,"deep"),i,s="",l,c=!0,u=I(this,"message");u=u?u+": ":"";var d=u+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")s=a?"deeply ":"",l=[],t.forEach(function(v,C){l.push(C)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(l=Bc(t),n){case"Array":if(arguments.length>1)throw new ye(d,void 0,o);break;case"Object":if(arguments.length>1)throw new ye(d,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new ye(u+"keys required",void 0,o);var m=e.length,p=I(this,"any"),h=I(this,"all"),g=e,y=a?I(this,"eql"):(v,C)=>v===C;if(!p&&!h&&(h=!0),p&&(c=g.some(function(v){return l.some(function(C){return y(v,C)})})),h&&(c=g.every(function(v){return l.some(function(C){return y(v,C)})}),I(this,"contains")||(c=c&&e.length==l.length)),m>1){e=e.map(function(v){return fe(v)});var b=e.pop();h&&(i=e.join(", ")+", and "+b),p&&(i=e.join(", ")+", or "+b)}else i=fe(e[0]);i=(m>1?"keys ":"key ")+i,i=(I(this,"contains")?"contain ":"have ")+i,this.assert(c,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,g.slice(0).sort(za),l.sort(za),!0)}$(Qc,"assertKeys");x.addMethod("keys",Qc);x.addMethod("key",Qc);function Ci(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"ssfi"),a=I(this,"message"),i=I(this,"negate")||!1;new x(n,a,o,!0).is.a("function"),(Ya(e)||typeof e=="string")&&(t=e,e=null);let s,l=!1;try{n()}catch(v){l=!0,s=v}var c=e===void 0&&t===void 0,u=!!(e&&t),d=!1,m=!1;if(c||!c&&!i){var p="an error";e instanceof Error?p="#{exp}":e&&(p=ct.getConstructorName(e));let v=s;if(s instanceof Error)v=s.toString();else if(typeof s=="string")v=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{v=ct.getConstructorName(s)}catch{}this.assert(l,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&s){if(e instanceof Error){var h=ct.compatibleInstance(s,e);h===i&&(u&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!i?" but #{act} was thrown":""),e.toString(),s.toString()))}var g=ct.compatibleConstructor(s,e);g===i&&(u&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ct.getConstructorName(e),s instanceof Error?s.toString():s&&ct.getConstructorName(s)))}if(s&&t!==void 0&&t!==null){var y="including";Ya(t)&&(y="matching");var b=ct.compatibleMessage(s,t);b===i&&(u&&i?m=!0:this.assert(i,"expected #{this} to throw error "+y+" #{exp} but got #{act}","expected #{this} to throw error not "+y+" #{exp}",t,ct.getMessage(s)))}d&&m&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ct.getConstructorName(e),s instanceof Error?s.toString():s&&ct.getConstructorName(s)),I(this,"object",s)}$(Ci,"assertThrows");x.addMethod("throw",Ci);x.addMethod("throws",Ci);x.addMethod("Throw",Ci);function Zc(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+fe(e),"expected #{this} to not respond to "+fe(e))}$(Zc,"respondTo");x.addMethod("respondTo",Zc);x.addMethod("respondsTo",Zc);x.addProperty("itself",function(){I(this,"itself",!0)});function ed(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Ur(e),"expected #{this} to not satisfy"+Ur(e),!I(this,"negate"),n)}$(ed,"satisfy");x.addMethod("satisfy",ed);x.addMethod("satisfies",ed);function td(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"message"),a=I(this,"ssfi");new x(n,o,a,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new ye(o?`${o}: ${i}`:i,void 0,a);if(new x(t,o,a,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new ye(o?`${o}: ${i}`:i,void 0,a);new x(e,o,a,!0).is.numeric;let s=$(c=>c<0n?-c:c,"abs"),l=$(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(l(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}$(td,"closeTo");x.addMethod("closeTo",td);x.addMethod("approximately",td);function Bv(e,t,r,n,o){let a=Array.from(t),i=Array.from(e);if(!n){if(i.length!==a.length)return!1;a=a.slice()}return i.every(function(s,l){if(o)return r?r(s,a[l]):s===a[l];if(!r){var c=a.indexOf(s);return c===-1?!1:(n||a.splice(c,1),!0)}return a.some(function(u,d){return r(s,u)?(n||a.splice(d,1),!0):!1})})}$(Bv,"isSubsetOf");x.addMethod("members",function(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"message"),o=I(this,"ssfi");new x(r,n,o,!0).to.be.iterable,new x(e,n,o,!0).to.be.iterable;var a=I(this,"contains"),i=I(this,"ordered"),s,l,c;a?(s=i?"an ordered superset":"a superset",l="expected #{this} to be "+s+" of #{exp}",c="expected #{this} to not be "+s+" of #{exp}"):(s=i?"ordered members":"members",l="expected #{this} to have the same "+s+" as #{exp}",c="expected #{this} to not have the same "+s+" as #{exp}");var u=I(this,"deep")?I(this,"eql"):void 0;this.assert(Bv(e,r,u,a,i),l,c,e,r,!0)});x.addProperty("iterable",function(e){e&&I(this,"message",e);var t=I(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function kv(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"message"),o=I(this,"ssfi"),a=I(this,"contains"),i=I(this,"deep"),s=I(this,"eql");new x(e,n,o,!0).to.be.an("array"),a?this.assert(e.some(function(l){return r.indexOf(l)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(l){return s(r,l)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}$(kv,"oneOf");x.addMethod("oneOf",kv);function rd(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"message"),a=I(this,"ssfi");new x(n,o,a,!0).is.a("function");var i;t?(new x(e,o,a,!0).to.have.property(t),i=e[t]):(new x(e,o,a,!0).is.a("function"),i=e()),n();var s=t==null?e():e[t],l=t==null?i:"."+t;I(this,"deltaMsgObj",l),I(this,"initialDeltaValue",i),I(this,"finalDeltaValue",s),I(this,"deltaBehavior","change"),I(this,"realDelta",s!==i),this.assert(i!==s,"expected "+l+" to change","expected "+l+" to not change")}$(rd,"assertChanges");x.addMethod("change",rd);x.addMethod("changes",rd);function nd(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"message"),a=I(this,"ssfi");new x(n,o,a,!0).is.a("function");var i;t?(new x(e,o,a,!0).to.have.property(t),i=e[t]):(new x(e,o,a,!0).is.a("function"),i=e()),new x(i,o,a,!0).is.a("number"),n();var s=t==null?e():e[t],l=t==null?i:"."+t;I(this,"deltaMsgObj",l),I(this,"initialDeltaValue",i),I(this,"finalDeltaValue",s),I(this,"deltaBehavior","increase"),I(this,"realDelta",s-i),this.assert(s-i>0,"expected "+l+" to increase","expected "+l+" to not increase")}$(nd,"assertIncreases");x.addMethod("increase",nd);x.addMethod("increases",nd);function od(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"message"),a=I(this,"ssfi");new x(n,o,a,!0).is.a("function");var i;t?(new x(e,o,a,!0).to.have.property(t),i=e[t]):(new x(e,o,a,!0).is.a("function"),i=e()),new x(i,o,a,!0).is.a("number"),n();var s=t==null?e():e[t],l=t==null?i:"."+t;I(this,"deltaMsgObj",l),I(this,"initialDeltaValue",i),I(this,"finalDeltaValue",s),I(this,"deltaBehavior","decrease"),I(this,"realDelta",i-s),this.assert(s-i<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}$(od,"assertDecreases");x.addMethod("decrease",od);x.addMethod("decreases",od);function $v(e,t){t&&I(this,"message",t);var r=I(this,"deltaMsgObj"),n=I(this,"initialDeltaValue"),o=I(this,"finalDeltaValue"),a=I(this,"deltaBehavior"),i=I(this,"realDelta"),s;a==="change"?s=Math.abs(o-n)===Math.abs(e):s=i===Math.abs(e),this.assert(s,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e)}$($v,"assertDelta");x.addMethod("by",$v);x.addProperty("extensible",function(){var e=I(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});x.addProperty("sealed",function(){var e=I(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});x.addProperty("frozen",function(){var e=I(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});x.addProperty("finite",function(e){var t=I(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Wa(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Wa(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?Wa(n,o):typeof n=="function"?n(o):o===n}):!1}$(Wa,"compareSubset");x.addMethod("containSubset",function(e){let t=ie(this,"object"),r=at.showDiff;this.assert(Wa(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Hr(e,t){return new x(e,t)}$(Hr,"expect");Hr.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new ye(r,{actual:e,expected:t,operator:n},Hr.fail)};var Uv={};Cc(Uv,{Should:()=>VD,should:()=>HD});function ad(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new x(this.valueOf(),null,e):new x(this,null,e)}$(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}$(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,o,a,i){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new ye(a,{actual:n,expected:o,operator:i},r.fail)},r.equal=function(n,o,a){new x(n,a).to.equal(o)},r.Throw=function(n,o,a,i){new x(n,i).to.Throw(o,a)},r.exist=function(n,o){new x(n,o).to.exist},r.not={},r.not.equal=function(n,o,a){new x(n,a).to.not.equal(o)},r.not.Throw=function(n,o,a,i){new x(n,i).to.not.Throw(o,a)},r.not.exist=function(n,o){new x(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}$(ad,"loadShould");var HD=ad,VD=ad;function q(e,t){var r=new x(null,null,q,!0);r.assert(e,t,"[ negation message unavailable ]")}$(q,"assert");q.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new ye(r,{actual:e,expected:t,operator:n},q.fail)};q.isOk=function(e,t){new x(e,t,q.isOk,!0).is.ok};q.isNotOk=function(e,t){new x(e,t,q.isNotOk,!0).is.not.ok};q.equal=function(e,t,r){var n=new x(e,r,q.equal,!0);n.assert(t==ie(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};q.notEqual=function(e,t,r){var n=new x(e,r,q.notEqual,!0);n.assert(t!=ie(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};q.strictEqual=function(e,t,r){new x(e,r,q.strictEqual,!0).to.equal(t)};q.notStrictEqual=function(e,t,r){new x(e,r,q.notStrictEqual,!0).to.not.equal(t)};q.deepEqual=q.deepStrictEqual=function(e,t,r){new x(e,r,q.deepEqual,!0).to.eql(t)};q.notDeepEqual=function(e,t,r){new x(e,r,q.notDeepEqual,!0).to.not.eql(t)};q.isAbove=function(e,t,r){new x(e,r,q.isAbove,!0).to.be.above(t)};q.isAtLeast=function(e,t,r){new x(e,r,q.isAtLeast,!0).to.be.least(t)};q.isBelow=function(e,t,r){new x(e,r,q.isBelow,!0).to.be.below(t)};q.isAtMost=function(e,t,r){new x(e,r,q.isAtMost,!0).to.be.most(t)};q.isTrue=function(e,t){new x(e,t,q.isTrue,!0).is.true};q.isNotTrue=function(e,t){new x(e,t,q.isNotTrue,!0).to.not.equal(!0)};q.isFalse=function(e,t){new x(e,t,q.isFalse,!0).is.false};q.isNotFalse=function(e,t){new x(e,t,q.isNotFalse,!0).to.not.equal(!1)};q.isNull=function(e,t){new x(e,t,q.isNull,!0).to.equal(null)};q.isNotNull=function(e,t){new x(e,t,q.isNotNull,!0).to.not.equal(null)};q.isNaN=function(e,t){new x(e,t,q.isNaN,!0).to.be.NaN};q.isNotNaN=function(e,t){new x(e,t,q.isNotNaN,!0).not.to.be.NaN};q.exists=function(e,t){new x(e,t,q.exists,!0).to.exist};q.notExists=function(e,t){new x(e,t,q.notExists,!0).to.not.exist};q.isUndefined=function(e,t){new x(e,t,q.isUndefined,!0).to.equal(void 0)};q.isDefined=function(e,t){new x(e,t,q.isDefined,!0).to.not.equal(void 0)};q.isCallable=function(e,t){new x(e,t,q.isCallable,!0).is.callable};q.isNotCallable=function(e,t){new x(e,t,q.isNotCallable,!0).is.not.callable};q.isObject=function(e,t){new x(e,t,q.isObject,!0).to.be.a("object")};q.isNotObject=function(e,t){new x(e,t,q.isNotObject,!0).to.not.be.a("object")};q.isArray=function(e,t){new x(e,t,q.isArray,!0).to.be.an("array")};q.isNotArray=function(e,t){new x(e,t,q.isNotArray,!0).to.not.be.an("array")};q.isString=function(e,t){new x(e,t,q.isString,!0).to.be.a("string")};q.isNotString=function(e,t){new x(e,t,q.isNotString,!0).to.not.be.a("string")};q.isNumber=function(e,t){new x(e,t,q.isNumber,!0).to.be.a("number")};q.isNotNumber=function(e,t){new x(e,t,q.isNotNumber,!0).to.not.be.a("number")};q.isNumeric=function(e,t){new x(e,t,q.isNumeric,!0).is.numeric};q.isNotNumeric=function(e,t){new x(e,t,q.isNotNumeric,!0).is.not.numeric};q.isFinite=function(e,t){new x(e,t,q.isFinite,!0).to.be.finite};q.isBoolean=function(e,t){new x(e,t,q.isBoolean,!0).to.be.a("boolean")};q.isNotBoolean=function(e,t){new x(e,t,q.isNotBoolean,!0).to.not.be.a("boolean")};q.typeOf=function(e,t,r){new x(e,r,q.typeOf,!0).to.be.a(t)};q.notTypeOf=function(e,t,r){new x(e,r,q.notTypeOf,!0).to.not.be.a(t)};q.instanceOf=function(e,t,r){new x(e,r,q.instanceOf,!0).to.be.instanceOf(t)};q.notInstanceOf=function(e,t,r){new x(e,r,q.notInstanceOf,!0).to.not.be.instanceOf(t)};q.include=function(e,t,r){new x(e,r,q.include,!0).include(t)};q.notInclude=function(e,t,r){new x(e,r,q.notInclude,!0).not.include(t)};q.deepInclude=function(e,t,r){new x(e,r,q.deepInclude,!0).deep.include(t)};q.notDeepInclude=function(e,t,r){new x(e,r,q.notDeepInclude,!0).not.deep.include(t)};q.nestedInclude=function(e,t,r){new x(e,r,q.nestedInclude,!0).nested.include(t)};q.notNestedInclude=function(e,t,r){new x(e,r,q.notNestedInclude,!0).not.nested.include(t)};q.deepNestedInclude=function(e,t,r){new x(e,r,q.deepNestedInclude,!0).deep.nested.include(t)};q.notDeepNestedInclude=function(e,t,r){new x(e,r,q.notDeepNestedInclude,!0).not.deep.nested.include(t)};q.ownInclude=function(e,t,r){new x(e,r,q.ownInclude,!0).own.include(t)};q.notOwnInclude=function(e,t,r){new x(e,r,q.notOwnInclude,!0).not.own.include(t)};q.deepOwnInclude=function(e,t,r){new x(e,r,q.deepOwnInclude,!0).deep.own.include(t)};q.notDeepOwnInclude=function(e,t,r){new x(e,r,q.notDeepOwnInclude,!0).not.deep.own.include(t)};q.match=function(e,t,r){new x(e,r,q.match,!0).to.match(t)};q.notMatch=function(e,t,r){new x(e,r,q.notMatch,!0).to.not.match(t)};q.property=function(e,t,r){new x(e,r,q.property,!0).to.have.property(t)};q.notProperty=function(e,t,r){new x(e,r,q.notProperty,!0).to.not.have.property(t)};q.propertyVal=function(e,t,r,n){new x(e,n,q.propertyVal,!0).to.have.property(t,r)};q.notPropertyVal=function(e,t,r,n){new x(e,n,q.notPropertyVal,!0).to.not.have.property(t,r)};q.deepPropertyVal=function(e,t,r,n){new x(e,n,q.deepPropertyVal,!0).to.have.deep.property(t,r)};q.notDeepPropertyVal=function(e,t,r,n){new x(e,n,q.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};q.ownProperty=function(e,t,r){new x(e,r,q.ownProperty,!0).to.have.own.property(t)};q.notOwnProperty=function(e,t,r){new x(e,r,q.notOwnProperty,!0).to.not.have.own.property(t)};q.ownPropertyVal=function(e,t,r,n){new x(e,n,q.ownPropertyVal,!0).to.have.own.property(t,r)};q.notOwnPropertyVal=function(e,t,r,n){new x(e,n,q.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};q.deepOwnPropertyVal=function(e,t,r,n){new x(e,n,q.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};q.notDeepOwnPropertyVal=function(e,t,r,n){new x(e,n,q.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};q.nestedProperty=function(e,t,r){new x(e,r,q.nestedProperty,!0).to.have.nested.property(t)};q.notNestedProperty=function(e,t,r){new x(e,r,q.notNestedProperty,!0).to.not.have.nested.property(t)};q.nestedPropertyVal=function(e,t,r,n){new x(e,n,q.nestedPropertyVal,!0).to.have.nested.property(t,r)};q.notNestedPropertyVal=function(e,t,r,n){new x(e,n,q.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};q.deepNestedPropertyVal=function(e,t,r,n){new x(e,n,q.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};q.notDeepNestedPropertyVal=function(e,t,r,n){new x(e,n,q.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};q.lengthOf=function(e,t,r){new x(e,r,q.lengthOf,!0).to.have.lengthOf(t)};q.hasAnyKeys=function(e,t,r){new x(e,r,q.hasAnyKeys,!0).to.have.any.keys(t)};q.hasAllKeys=function(e,t,r){new x(e,r,q.hasAllKeys,!0).to.have.all.keys(t)};q.containsAllKeys=function(e,t,r){new x(e,r,q.containsAllKeys,!0).to.contain.all.keys(t)};q.doesNotHaveAnyKeys=function(e,t,r){new x(e,r,q.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};q.doesNotHaveAllKeys=function(e,t,r){new x(e,r,q.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};q.hasAnyDeepKeys=function(e,t,r){new x(e,r,q.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};q.hasAllDeepKeys=function(e,t,r){new x(e,r,q.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};q.containsAllDeepKeys=function(e,t,r){new x(e,r,q.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};q.doesNotHaveAnyDeepKeys=function(e,t,r){new x(e,r,q.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};q.doesNotHaveAllDeepKeys=function(e,t,r){new x(e,r,q.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};q.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new x(e,n,q.throws,!0).to.throw(t,r);return ie(o,"object")};q.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new x(e,n,q.doesNotThrow,!0).to.not.throw(t,r)};q.operator=function(e,t,r,n){var o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new ye(n+'Invalid operator "'+t+'"',void 0,q.operator)}var a=new x(o,n,q.operator,!0);a.assert(ie(a,"object")===!0,"expected "+fe(e)+" to be "+t+" "+fe(r),"expected "+fe(e)+" to not be "+t+" "+fe(r))};q.closeTo=function(e,t,r,n){new x(e,n,q.closeTo,!0).to.be.closeTo(t,r)};q.approximately=function(e,t,r,n){new x(e,n,q.approximately,!0).to.be.approximately(t,r)};q.sameMembers=function(e,t,r){new x(e,r,q.sameMembers,!0).to.have.same.members(t)};q.notSameMembers=function(e,t,r){new x(e,r,q.notSameMembers,!0).to.not.have.same.members(t)};q.sameDeepMembers=function(e,t,r){new x(e,r,q.sameDeepMembers,!0).to.have.same.deep.members(t)};q.notSameDeepMembers=function(e,t,r){new x(e,r,q.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};q.sameOrderedMembers=function(e,t,r){new x(e,r,q.sameOrderedMembers,!0).to.have.same.ordered.members(t)};q.notSameOrderedMembers=function(e,t,r){new x(e,r,q.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};q.sameDeepOrderedMembers=function(e,t,r){new x(e,r,q.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};q.notSameDeepOrderedMembers=function(e,t,r){new x(e,r,q.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};q.includeMembers=function(e,t,r){new x(e,r,q.includeMembers,!0).to.include.members(t)};q.notIncludeMembers=function(e,t,r){new x(e,r,q.notIncludeMembers,!0).to.not.include.members(t)};q.includeDeepMembers=function(e,t,r){new x(e,r,q.includeDeepMembers,!0).to.include.deep.members(t)};q.notIncludeDeepMembers=function(e,t,r){new x(e,r,q.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};q.includeOrderedMembers=function(e,t,r){new x(e,r,q.includeOrderedMembers,!0).to.include.ordered.members(t)};q.notIncludeOrderedMembers=function(e,t,r){new x(e,r,q.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};q.includeDeepOrderedMembers=function(e,t,r){new x(e,r,q.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};q.notIncludeDeepOrderedMembers=function(e,t,r){new x(e,r,q.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};q.oneOf=function(e,t,r){new x(e,r,q.oneOf,!0).to.be.oneOf(t)};q.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${fe(e)} to be an iterable`:`expected ${fe(e)} to be an iterable`,new ye(t,void 0,q.isIterable)};q.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.changes,!0).to.change(t,r)};q.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.changesBy,!0).to.change(t,r).by(n)};q.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.doesNotChange,!0).to.not.change(t,r)};q.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.changesButNotBy,!0).to.change(t,r).but.not.by(n)};q.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.increases,!0).to.increase(t,r)};q.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.increasesBy,!0).to.increase(t,r).by(n)};q.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.doesNotIncrease,!0).to.not.increase(t,r)};q.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};q.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.decreases,!0).to.decrease(t,r)};q.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.decreasesBy,!0).to.decrease(t,r).by(n)};q.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.doesNotDecrease,!0).to.not.decrease(t,r)};q.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);return new x(e,o,q.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};q.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};q.ifError=function(e){if(e)throw e};q.isExtensible=function(e,t){new x(e,t,q.isExtensible,!0).to.be.extensible};q.isNotExtensible=function(e,t){new x(e,t,q.isNotExtensible,!0).to.not.be.extensible};q.isSealed=function(e,t){new x(e,t,q.isSealed,!0).to.be.sealed};q.isNotSealed=function(e,t){new x(e,t,q.isNotSealed,!0).to.not.be.sealed};q.isFrozen=function(e,t){new x(e,t,q.isFrozen,!0).to.be.frozen};q.isNotFrozen=function(e,t){new x(e,t,q.isNotFrozen,!0).to.not.be.frozen};q.isEmpty=function(e,t){new x(e,t,q.isEmpty,!0).to.be.empty};q.isNotEmpty=function(e,t){new x(e,t,q.isNotEmpty,!0).to.not.be.empty};q.containsSubset=function(e,t,r){new x(e,r).to.containSubset(t)};q.doesNotContainSubset=function(e,t,r){new x(e,r).to.not.containSubset(t)};var zD=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of zD)q[t]=q[e];var By=[];function Sn(e){let t={use:Sn,AssertionError:ye,util:jt,config:at,expect:Hr,assert:q,Assertion:x,...Uv};return~By.indexOf(e)||(e(t,jt),By.push(e)),t}$(Sn,"use");var Hv={};bc(Hv,{toBeChecked:()=>x0,toBeDisabled:()=>w0,toBeEmpty:()=>l0,toBeEmptyDOMElement:()=>u0,toBeEnabled:()=>C0,toBeInTheDOM:()=>Iu,toBeInTheDocument:()=>s0,toBeInvalid:()=>T0,toBePartiallyChecked:()=>N0,toBeRequired:()=>S0,toBeValid:()=>P0,toBeVisible:()=>g0,toContainElement:()=>Du,toContainHTML:()=>c0,toHaveAccessibleDescription:()=>Fu,toHaveAccessibleErrorMessage:()=>p0,toHaveAccessibleName:()=>Bu,toHaveAttribute:()=>f0,toHaveClass:()=>m0,toHaveDescription:()=>j0,toHaveDisplayValue:()=>q0,toHaveErrorMessage:()=>I0,toHaveFocus:()=>h0,toHaveFormValues:()=>y0,toHaveRole:()=>Lu,toHaveStyle:()=>ku,toHaveTextContent:()=>d0,toHaveValue:()=>O0});var ky=pt(Lg(),1);function Vv(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function id(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var zv={};Vv(zv);id(zv,"default",()=>Gv);var Gv=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},Yv={};Vv(Yv);id(Yv,"default",()=>Wv);var Wv=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},GD={};id(GD,"CssTypes",()=>Ie);var Ie;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Ie||(Ie={}));var tu=/\/\*[^]*?(?:\*\/|$)/g,YD=(e,t)=>{t=t||{};let r=1,n=1;function o(H){let U=H.match(/\n/g);U&&(r+=U.length);let z=H.lastIndexOf(`
|
|
306
|
+
`);n=~z?H.length-z:n+H.length}function a(){let H={line:r,column:n};return function(U){return U.position=new Wv(H,{line:r,column:n},t?.source||""),p(),U}}let i=[];function s(H){let U=new Gv(t?.source||"",H,r,n,e);if(t?.silent)i.push(U);else throw U}function l(){let H=d();return{type:Ie.stylesheet,stylesheet:{source:t?.source,rules:H,parsingErrors:i}}}function c(){return m(/^{\s*/)}function u(){return m(/^}/)}function d(){let H,U=[];for(p(),h(U);e.length&&e.charAt(0)!=="}"&&(H=ne()||te());)H&&(U.push(H),h(U));return U}function m(H){let U=H.exec(e);if(!U)return;let z=U[0];return o(z),e=e.slice(z.length),U}function p(){m(/^\s*/)}function h(H){let U;for(H=H||[];U=g();)U&&H.push(U);return H}function g(){let H=a();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let U=m(/^\/\*[^]*?\*\//);return U?H({type:Ie.comment,comment:U[0].slice(2,-2)}):s("End of comment missing")}function y(H,U,z){let X=U+1,W=!1,ee=H.indexOf(")",X);for(;!W&&ee!==-1;){let le=H.indexOf("(",X);le!==-1&&le<ee?(X=y(H,le+1)+1,ee=H.indexOf(")",X)):W=!0}return W&&ee!==-1?ee:-1}function b(){let H=m(/^([^{]+)/);if(!H)return;let U=bt(H[0]).replace(tu,"");if(U.indexOf(",")===-1)return[U];let z=0,X=U.indexOf("(",z);for(;X!==-1;){let W=y(U,X);if(W===-1)break;z=W+1,U=U.substring(0,X)+U.substring(X,W).replace(/,/g,"\u200C")+U.substring(W),X=U.indexOf("(",z)}return U=U.replace(/("|')(?:\\\1|.)*?\1/g,W=>W.replace(/,/g,"\u200C")),U.split(",").map(W=>bt(W.replace(/\u200C/g,",")))}function v(){let H=a(),U=m(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!U)return;let z=bt(U[0]);if(!m(/^:\s*/))return s("property missing ':'");let X=m(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),W=H({type:Ie.declaration,property:z.replace(tu,""),value:X?bt(X[0]).replace(tu,""):""});return m(/^[;\s]*/),W}function C(){let H=[];if(!c())return s("missing '{'");h(H);let U;for(;U=v();)U&&(H.push(U),h(H));return u()?H:s("missing '}'")}function S(){let H,U=[],z=a();for(;H=m(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)U.push(H[1]),m(/^,\s*/);if(U.length)return z({type:Ie.keyframe,values:U,declarations:C()||[]})}function A(){let H=a(),U=m(/^@([-\w]+)?keyframes\s*/);if(!U)return;let z=U[1],X=m(/^([-\w]+)\s*/);if(!X)return s("@keyframes missing name");let W=X[1];if(!c())return s("@keyframes missing '{'");let ee,le=h();for(;ee=S();)le.push(ee),le=le.concat(h());return u()?H({type:Ie.keyframes,name:W,vendor:z,keyframes:le}):s("@keyframes missing '}'")}function _(){let H=a(),U=m(/^@supports *([^{]+)/);if(!U)return;let z=bt(U[1]);if(!c())return s("@supports missing '{'");let X=h().concat(d());return u()?H({type:Ie.supports,supports:z,rules:X}):s("@supports missing '}'")}function E(){let H=a();if(!m(/^@host\s*/))return;if(!c())return s("@host missing '{'");let U=h().concat(d());return u()?H({type:Ie.host,rules:U}):s("@host missing '}'")}function R(){let H=a(),U=m(/^@container *([^{]+)/);if(!U)return;let z=bt(U[1]);if(!c())return s("@container missing '{'");let X=h().concat(d());return u()?H({type:Ie.container,container:z,rules:X}):s("@container missing '}'")}function P(){let H=a(),U=m(/^@layer *([^{;@]+)/);if(!U)return;let z=bt(U[1]);if(!c())return m(/^[;\s]*/),H({type:Ie.layer,layer:z});let X=h().concat(d());return u()?H({type:Ie.layer,layer:z,rules:X}):s("@layer missing '}'")}function N(){let H=a(),U=m(/^@media *([^{]+)/);if(!U)return;let z=bt(U[1]);if(!c())return s("@media missing '{'");let X=h().concat(d());return u()?H({type:Ie.media,media:z,rules:X}):s("@media missing '}'")}function B(){let H=a(),U=m(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(U)return H({type:Ie.customMedia,name:bt(U[1]),media:bt(U[2])})}function j(){let H=a();if(!m(/^@page */))return;let U=b()||[];if(!c())return s("@page missing '{'");let z=h(),X;for(;X=v();)z.push(X),z=z.concat(h());return u()?H({type:Ie.page,selectors:U,declarations:z}):s("@page missing '}'")}function F(){let H=a(),U=m(/^@([-\w]+)?document *([^{]+)/);if(!U)return;let z=bt(U[1]),X=bt(U[2]);if(!c())return s("@document missing '{'");let W=h().concat(d());return u()?H({type:Ie.document,document:X,vendor:z,rules:W}):s("@document missing '}'")}function T(){let H=a();if(!m(/^@font-face\s*/))return;if(!c())return s("@font-face missing '{'");let U=h(),z;for(;z=v();)U.push(z),U=U.concat(h());return u()?H({type:Ie.fontFace,declarations:U}):s("@font-face missing '}'")}function M(){let H=a();if(!m(/^@starting-style\s*/))return;if(!c())return s("@starting-style missing '{'");let U=h().concat(d());return u()?H({type:Ie.startingStyle,rules:U}):s("@starting-style missing '}'")}let D=Q("import"),Y=Q("charset"),G=Q("namespace");function Q(H){let U=new RegExp("^@"+H+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let z=a(),X=m(U);if(!X)return;let W={type:H};return W[H]=X[1].trim(),z(W)}}function ne(){if(e[0]==="@")return A()||N()||B()||_()||D()||Y()||G()||F()||j()||E()||T()||R()||M()||P()}function te(){let H=a(),U=b();return U?(h(),H({type:Ie.rule,selectors:U,declarations:C()||[]})):s("selector missing")}return Nu(l())};function bt(e){return e?e.trim():""}function Nu(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let a=e[o];Array.isArray(a)?a.forEach(i=>{Nu(i,n)}):a&&typeof a=="object"&&Nu(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var WD=YD,KD=WD,XD=Object.prototype.toString;function $y(e){return typeof e=="function"||XD.call(e)==="[object Function]"}function JD(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var QD=Math.pow(2,53)-1;function ZD(e){var t=JD(e);return Math.min(Math.max(t,0),QD)}function At(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!$y(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=ZD(n.length),a=$y(r)?Object(new r(o)):new Array(o),i=0,s;i<o;)s=n[i],t?a[i]=t(s,i):a[i]=s,i+=1;return a.length=o,a}function _o(e){"@babel/helpers - typeof";return _o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_o(e)}function eF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uy(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Kv(n.key),n)}}function tF(e,t,r){return t&&Uy(e.prototype,t),r&&Uy(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function rF(e,t,r){return t=Kv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kv(e){var t=nF(e,"string");return _o(t)==="symbol"?t:String(t)}function nF(e,t){if(_o(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(_o(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var oF=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];eF(this,e),rF(this,"items",void 0),this.items=t}return tF(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),aF=typeof Set>"u"?Set:oF;function tt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var iF={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},sF={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function lF(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=sF[t])!==null&&n!==void 0&&n.has(r))})}function Xv(e,t){return lF(e,t)}function uF(e){var t=dF(e);if(t===null||ju.indexOf(t)!==-1){var r=cF(e);if(ju.indexOf(t||"")===-1||Xv(e,r||""))return r}return t}function cF(e){var t=iF[tt(e)];if(t!==void 0)return t;switch(tt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Xv(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function dF(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var ju=["presentation","none"];function Se(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Jv(e){return Se(e)&&tt(e)==="caption"}function ja(e){return Se(e)&&tt(e)==="input"}function pF(e){return Se(e)&&tt(e)==="optgroup"}function fF(e){return Se(e)&&tt(e)==="select"}function mF(e){return Se(e)&&tt(e)==="table"}function hF(e){return Se(e)&&tt(e)==="textarea"}function yF(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function bF(e){return Se(e)&&tt(e)==="fieldset"}function gF(e){return Se(e)&&tt(e)==="legend"}function vF(e){return Se(e)&&tt(e)==="slot"}function EF(e){return Se(e)&&e.ownerSVGElement!==void 0}function _F(e){return Se(e)&&tt(e)==="svg"}function RF(e){return EF(e)&&tt(e)==="title"}function Ka(e,t){if(Se(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function Wt(e,t){return Se(e)?t.indexOf(uF(e))!==-1:!1}function wF(e){return e.trim().replace(/\s\s+/g," ")}function CF(e,t){if(!Se(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function SF(e){return Wt(e,["button","combobox","listbox","textbox"])||Qv(e,"range")}function Qv(e,t){if(!Se(e))return!1;switch(t){case"range":return Wt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Hy(e,t){var r=At(e.querySelectorAll(t));return Ka(e,"aria-owns").forEach(function(n){r.push.apply(r,At(n.querySelectorAll(t)))}),r}function AF(e){return fF(e)?e.selectedOptions||Hy(e,"[selected]"):Hy(e,'[aria-selected="true"]')}function TF(e){return Wt(e,ju)}function PF(e){return Jv(e)}function OF(e){return Wt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function qF(e){return!1}function xF(e){return ja(e)||hF(e)?e.value:e.textContent||""}function Vy(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Zv(e){var t=tt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function e0(e){if(Zv(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Se(r)){var n=e0(r);n!==null&&(t=n)}}),t}function MF(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):e0(e)}function NF(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return At(t);if(!Zv(e))return null;var r=e.ownerDocument;return At(r.querySelectorAll("label")).filter(function(n){return MF(n)===e})}function jF(e){var t=e.assignedNodes();return t.length===0?At(e.childNodes):t}function t0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new aF,n=yF(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,l=t.getComputedStyle,c=l===void 0?n.getComputedStyle.bind(n):l,u=t.hidden,d=u===void 0?!1:u;function m(b,v){var C="";if(Se(b)&&s){var S=c(b,"::before"),A=Vy(S);C="".concat(A," ").concat(C)}var _=vF(b)?jF(b):At(b.childNodes).concat(Ka(b,"aria-owns"));if(_.forEach(function(P){var N=y(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=Se(P)?c(P).getPropertyValue("display"):"inline",j=B!=="inline"?" ":"";C+="".concat(j).concat(N).concat(j)}),Se(b)&&s){var E=c(b,"::after"),R=Vy(E);C="".concat(C," ").concat(R)}return C.trim()}function p(b,v){var C=b.getAttributeNode(v);return C!==null&&!r.has(C)&&C.value.trim()!==""?(r.add(C),C.value):null}function h(b){return Se(b)?p(b,"title"):null}function g(b){if(!Se(b))return null;if(bF(b)){r.add(b);for(var v=At(b.childNodes),C=0;C<v.length;C+=1){var S=v[C];if(gF(S))return y(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(mF(b)){r.add(b);for(var A=At(b.childNodes),_=0;_<A.length;_+=1){var E=A[_];if(Jv(E))return y(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(_F(b)){r.add(b);for(var R=At(b.childNodes),P=0;P<R.length;P+=1){var N=R[P];if(RF(N))return N.textContent}return null}else if(tt(b)==="img"||tt(b)==="area"){var B=p(b,"alt");if(B!==null)return B}else if(pF(b)){var j=p(b,"label");if(j!==null)return j}if(ja(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var F=p(b,"value");if(F!==null)return F;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var T=NF(b);if(T!==null&&T.length!==0)return r.add(b),At(T).map(function(G){return y(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(ja(b)&&b.type==="image"){var M=p(b,"alt");if(M!==null)return M;var D=p(b,"title");return D!==null?D:"Submit Query"}if(Wt(b,["button"])){var Y=m(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(Y!=="")return Y}return null}function y(b,v){if(r.has(b))return"";if(!d&&CF(b,c)&&!v.isReferenced)return r.add(b),"";var C=Se(b)?b.getAttributeNode("aria-labelledby"):null,S=C!==null&&!r.has(C)?Ka(b,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&S.length>0)return r.add(C),S.map(function(B){return y(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var A=v.recursion&&SF(b)&&a==="name";if(!A){var _=(Se(b)&&b.getAttribute("aria-label")||"").trim();if(_!==""&&a==="name")return r.add(b),_;if(!TF(b)){var E=g(b);if(E!==null)return r.add(b),E}}if(Wt(b,["menu"]))return r.add(b),"";if(A||v.isEmbeddedInLabel||v.isReferenced){if(Wt(b,["combobox","listbox"])){r.add(b);var R=AF(b);return R.length===0?ja(b)?b.value:"":At(R).map(function(B){return y(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Qv(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Wt(b,["textbox"]))return r.add(b),xF(b)}if(OF(b)||Se(b)&&v.isReferenced||PF(b)||qF()){var P=m(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});if(P!=="")return r.add(b),P}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),m(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});var N=h(b);return N!==null?(r.add(b),N):(r.add(b),"")}return wF(y(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function Ro(e){"@babel/helpers - typeof";return Ro=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ro(e)}function zy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Gy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zy(Object(r),!0).forEach(function(n){IF(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function IF(e,t,r){return t=DF(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DF(e){var t=FF(e,"string");return Ro(t)==="symbol"?t:String(t)}function FF(e,t){if(Ro(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ro(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function LF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ka(e,"aria-describedby").map(function(a){return t0(a,Gy(Gy({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function BF(e){return Wt(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function kF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return BF(e)?"":t0(e,t)}var sd=pt(Bg(),1),$F=pt($g(),1),r0=pt(Qg(),1),UF=pt(Zg(),1),n0=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
|
|
307
|
+
`)}},Yy=class extends n0{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},Wy=class extends n0{constructor(...e){super("be a Node",...e)}};function o0(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function HF(e,...t){o0(e,Wy,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Wy(e,...t)}function Ee(e,...t){o0(e,Yy,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Yy(e,...t)}var VF=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
|
|
308
|
+
`)}};function zF(e,...t){let r=KD(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new VF({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:a})=>Object.assign(n,{[o]:a}),{})}function Ky(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Ze(e,t,r,n,o,a){return[`${t}
|
|
309
|
+
`,`${r}:
|
|
310
|
+
${e.utils.EXPECTED_COLOR((0,ky.default)(Ky(e,n),2))}`,`${o}:
|
|
311
|
+
${e.utils.RECEIVED_COLOR((0,ky.default)(Ky(e,a),2))}`].join(`
|
|
312
|
+
`)}function GF(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Si(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function Ai(e){return e.replace(/\s+/g," ").trim()}function Er(e){return e.tagName&&e.tagName.toLowerCase()}function YF({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function WF(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var KF=["meter","progressbar","slider","spinbutton"];function XF(e){if(KF.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function a0(e){if(e)switch(e.tagName.toLowerCase()){case"input":return WF(e);case"select":return YF(e);default:return e.value??XF(e)}}function JF(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function i0(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function Iu(e,t){return Si("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Ee(e,Iu,this),t&&Ee(t,Iu,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
313
|
+
`)}}function s0(e){(e!==null||!this.isNot)&&Ee(e,s0,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
314
|
+
`)}}function l0(e){return Si("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Ee(e,l0,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
315
|
+
`)}}function u0(e){return Ee(e,u0,this),{pass:QF(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
316
|
+
`)}}function QF(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function Du(e,t){return Ee(e,Du,this),t!==null&&Ee(t,Du,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
|
|
317
|
+
`)].join(`
|
|
318
|
+
`)}}function ZF(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function c0(e,t){if(Ee(e,c0,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(ZF(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
319
|
+
`)}}function d0(e,t,r={normalizeWhitespace:!0}){HF(e,d0,this);let n=r.normalizeWhitespace?Ai(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&GF(n,t),message:()=>{let a=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)}}}function Fu(e,t){Ee(e,Fu,this);let r=LF(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let a=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Fu.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)}}}var co="aria-invalid",eL=["false"];function p0(e,t){Ee(e,p0,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:()=>Ze(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let a=e.getAttribute(co);if(!e.hasAttribute(co)||eL.includes(a))return{pass:!1,message:()=>Ze(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${co}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${co}="${e.getAttribute(co)}`:null)};let i=Ai(e.ownerDocument.getElementById(o)?.textContent??"");return{pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:()=>Ze(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",i)}}var tL=oL(sd.elementRoles);function Lu(e,t){Ee(e,Lu,this);let r=rL(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Lu.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function rL(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):nL(e)}function nL(e){for(let{match:t,roles:r}of tL)if(t(e))return[...r];return[]}function oL(e){function t({name:i,attributes:s}){return`${i}${s.map(({name:l,value:c,constraints:u=[]})=>u.indexOf("undefined")!==-1?`:not([${l}])`:c?`[${l}="${c}"]`:`[${l}]`).join("")}`}function r({attributes:i=[]}){return i.length}function n({specificity:i},{specificity:s}){return s-i}function o(i){let{attributes:s=[]}=i,l=s.findIndex(u=>u.value&&u.name==="type"&&u.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);let c=t({...i,attributes:s});return u=>l>=0&&u.type!=="text"?!1:u.matches(c)}let a=[];for(let[i,s]of e.entries())a=[...a,{match:o(i),roles:Array.from(s),specificity:r(i)}];return a.sort(n)}function Bu(e,t){Ee(e,Bu,this);let r=kF(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let a=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Bu.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)}}}function Xy(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function aL(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function f0(e,t,r){Ee(e,f0,this);let n=r!==void 0,o=e.hasAttribute(t),a=e.getAttribute(t);return{pass:n?o&&this.equals(a,r):o,message:()=>{let i=this.isNot?"not to":"to",s=o?Xy(this.utils.stringify,t,a):null,l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:aL(this.utils.stringify,t,r)});return Ze(this,l,`Expected the element ${i} have attribute`,Xy(this.utils.stringify,t,r),"Received",s)}}}function iL(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function Jy(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function Qy(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function m0(e,...t){Ee(e,m0,this);let{expectedClassNames:r,options:n}=iL(t),o=Jy(e.getAttribute("class")),a=r.reduce((s,l)=>s.concat(typeof l=="string"||!l?Jy(l):l),[]),i=a.some(s=>s instanceof RegExp);if(n.exact&&i)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Qy(a,o)&&a.length===o.length,message:()=>{let s=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have EXACTLY defined classes`,a.join(" "),"Received",o.join(" "))}}:a.length>0?{pass:Qy(a,o),message:()=>{let s=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have class`,a.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?Ze(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
320
|
+
`)}}function sL(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}function lL(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),a=[r];return o||a.push(r.toLowerCase()),a.some(i=>t[i]===n||t.getPropertyValue(i)===n)})}function Zy(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
321
|
+
`)}function uL(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,a)=>Object.assign(o,{[a]:r.getPropertyValue(a)}),{});return e(Zy(t),Zy(n)).replace(`${$F.default.red("+ Received")}
|
|
322
|
+
`,"")}function ku(e,t){Ee(e,ku,this);let r=typeof t=="object"?t:zF(t,ku,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=sL(e.ownerDocument,r),a=n(e);return{pass:lL(o,a),message:()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(i,"element",""),uL(this.utils.diff,o,a)].join(`
|
|
323
|
+
|
|
324
|
+
`)}}}function h0(e){return Ee(e,h0,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
|
|
325
|
+
`)}}function cL(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function dL(e,t){let r=[...e.querySelectorAll(`[name="${(0,UF.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return a0(r[0]);default:return cL(r)}}function pL(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function fL(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[pL(r)]:dL(e,r)}),{})}function y0(e,t){if(Ee(e,y0,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=fL(e);return{pass:Object.entries(t).every(([n,o])=>(0,r0.default)(r[n],o,i0)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,a=Object.keys(r).filter(i=>t.hasOwnProperty(i)).reduce((i,s)=>({...i,[s]:r[s]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,a)].join(`
|
|
326
|
+
|
|
327
|
+
`)}}}function mL(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function hL(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function b0(e,t){return mL(e)&&hL(e,t)&&(!e.parentElement||b0(e.parentElement,e))}function g0(e){Ee(e,g0,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&b0(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
328
|
+
`)}}}var yL=["fieldset","input","select","optgroup","option","button","textarea"];function bL(e,t){return Er(e)==="legend"&&Er(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Er(r)==="legend"))}function gL(e,t){return E0(t)&&!bL(e,t)}function vL(e){return e.includes("-")}function v0(e){let t=Er(e);return yL.includes(t)||vL(t)}function E0(e){return v0(e)&&e.hasAttribute("disabled")}function _0(e){let t=e.parentElement;return!!t&&(gL(e,t)||_0(t))}function R0(e){return v0(e)&&(E0(e)||_0(e))}function w0(e){Ee(e,w0,this);let t=R0(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
329
|
+
`)}}}function C0(e){Ee(e,C0,this);let t=!R0(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
330
|
+
`)}}}var EL=["select","textarea"],_L=["input","select","textarea"],RL=["color","hidden","range","submit","image","reset"],wL=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function CL(e){return EL.includes(Er(e))&&e.hasAttribute("required")}function SL(e){return Er(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!RL.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function AL(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(_L.includes(Er(e))||e.hasAttribute("role")&&wL.includes(e.getAttribute("role")))}function S0(e){Ee(e,S0,this);let t=CL(e)||SL(e)||AL(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
331
|
+
`)}}}var TL=["form","input","select","textarea"];function PL(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function OL(e){return TL.includes(Er(e))}function A0(e){let t=PL(e);return OL(e)?t||!e.checkValidity():t}function T0(e){Ee(e,T0,this);let t=A0(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
332
|
+
`)}}}function P0(e){Ee(e,P0,this);let t=!A0(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
333
|
+
`)}}}function O0(e,t){if(Ee(e,O0,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=a0(e),n=t!==void 0,o=t,a=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,a=`${r} (${typeof r})`),{pass:n?(0,r0.default)(r,t,i0):!!r,message:()=>{let i=this.isNot?"not to":"to",s=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ze(this,s,`Expected the element ${i} have value`,n?o:"(any)","Received",a)}}}function q0(e,t){Ee(e,q0,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=qL(r,e),o=xL(t),a=o.filter(l=>n.some(c=>l instanceof RegExp?l.test(c):this.equals(c,String(l)))).length,i=a===n.length,s=a===o.length;return{pass:i&&s,message:()=>Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function qL(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function xL(e){return e instanceof Array?e:[e]}function x0(e){Ee(e,x0,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>M0(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${ML()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
334
|
+
`)}}}function ML(){return JF(NL().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function NL(){return sd.roles.keys().filter(M0)}function M0(e){return sd.roles.get(e)?.props["aria-checked"]!==void 0}function N0(e){Ee(e,N0,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
335
|
+
`)}}}function j0(e,t){Si("toHaveDescription","Please use toHaveAccessibleDescription."),Ee(e,j0,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(s=>a.getElementById(s)).filter(Boolean);o=Ai(i.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let a=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${a} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function I0(e,t){if(Si("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Ee(e,I0,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let a=this.isNot?".not":"";return{pass:!1,message:()=>Ze(this,this.utils.matcherHint(`${a}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(s=>a.getElementById(s)).filter(Boolean);o=Ai(i.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let a=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${a} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}pt(Lg(),1);pt(Bg(),1);pt($g(),1);pt(Qg(),1);pt(Zg(),1);function Gt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Ia(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function jL(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function $u(e){return Object.prototype.toString.apply(e).slice(8,-1)}function IL(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function D0(e){let t=new Set;return jL(e)?[]:(IL(e,t),Array.from(t))}var F0={forceWritable:!1};function eb(e,t=F0){return Uu(e,new WeakMap,t)}function Uu(e,t,r=F0){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array(n=e.length),t.set(e,o);n--;)o[n]=Uu(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let a=D0(e);for(let i of a){let s=Object.getOwnPropertyDescriptor(e,i);if(!s)continue;let l=Uu(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:s.enumerable,configurable:!0,writable:!0,value:l}):"get"in s?Object.defineProperty(o,i,{...s,get(){return l}}):Object.defineProperty(o,i,{...s,value:l})}return o}return e}var tb={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},DL={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},xn="\u2026";function FL(e,t){let r=tb[DL[t]]||tb[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function LL({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(l),seen:s,inspect:u,stylize:c};return d.colors&&(d.stylize=FL),d}function BL(e){return e>="\uD800"&&e<="\uDBFF"}function Cr(e,t,r=xn){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&BL(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function qt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",s="",l="";for(let c=0;c<o;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${xn}(${e.length-c})`;let m=e[c];t.truncate=a-i.length-(u?0:n.length);let p=s||r(m,t)+(u?"":n),h=i.length+p.length,g=h+l.length;if(u&&h>a&&i.length+l.length<=a||!u&&!d&&g>a||(s=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&h+s.length>a))break;if(i+=p,!u&&!d&&h+s.length>=a){l=`${xn}(${e.length-c-1})`;break}l=""}return`${i}${l}`}function kL(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function wo([e,t],r){return r.truncate-=2,typeof e=="string"?e=kL(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function $L(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=qt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=qt(r.map(a=>[a,e[a]]),t,wo)),`[ ${n}${o?`, ${o}`:""} ]`}var UL=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Yt(e,t){let r=UL(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let s=`${t.stylize(Cr(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${xn}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=qt(n.map(i=>[i,e[i]]),t,wo)),`${r}[ ${o}${a?`, ${a}`:""} ]`}function HL(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Cr(n[1],t.truncate-o.length-1)}`,"date")}function rb(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Cr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function VL([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function zL(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function GL(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${qt(zL(e),t,VL)} }`)}var YL=Number.isNaN||(e=>e!==e);function nb(e,t){return YL(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Cr(String(e),t.truncate),"number")}function ob(e,t){let r=Cr(e.toString(),t.truncate-1);return r!==xn&&(r+="n"),t.stylize(r,"bigint")}function WL(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Cr(o,n)}/${r}`,"regexp")}function KL(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function XL(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${qt(KL(e),t)} }`)}var ab=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),JL={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},QL=16,ZL=4;function eB(e){return JL[e]||`\\u${`0000${e.charCodeAt(0).toString(QL)}`.slice(-ZL)}`}function ib(e,t){return ab.test(e)&&(e=e.replace(ab,eB)),t.stylize(`'${Cr(e,t.truncate-2)}'`,"string")}function sb(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var L0=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(L0=(n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`})}catch{}var tB=L0;function Da(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=qt(r.map(s=>[s,e[s]]),t,wo),a=qt(n.map(s=>[s,e[s]]),t,wo);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}var ru=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function rB(e,t){let r="";return ru&&ru in e&&(r=e[ru]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Da(e,t)}`}function nB(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${qt(e,t)} ]`)}var oB=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function aB(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>oB.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Cr(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=qt(r.map(i=>[i,e[i]]),t,wo);return`${n}${o}${a?` { ${a} }`:""}`}function iB([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Hu(e,t){return qt(e,t,B0,`
|
|
336
|
+
`)}function B0(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=qt(r.map(u=>[u,e.getAttribute(u)]),t,iB," ")),t.truncate-=s.length;let l=t.truncate,c=Hu(e.children,t);return c&&c.length>l&&(c=`${xn}(${e.children.length})`),`${o}${s}${a}${c}${i}`}var sB=typeof Symbol=="function"&&typeof Symbol.for=="function",nu=sB?Symbol.for("chai/inspect"):"@@chai/inspect",En=!1;try{let e=fO("util");En=e.inspect?e.inspect.custom:!1}catch{En=!1}var lb=new WeakMap,ub={},cb={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:nb,Number:nb,bigint:ob,BigInt:ob,string:ib,String:ib,function:rb,Function:rb,symbol:sb,Symbol:sb,Array:$L,Date:HL,Map:GL,Set:XL,RegExp:WL,Promise:tB,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:nB,Int8Array:Yt,Uint8Array:Yt,Uint8ClampedArray:Yt,Int16Array:Yt,Uint16Array:Yt,Int32Array:Yt,Uint32Array:Yt,Float32Array:Yt,Float64Array:Yt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:aB,HTMLCollection:Hu,NodeList:Hu},lB=(e,t,r)=>nu in e&&typeof e[nu]=="function"?e[nu](t):En&&En in e&&typeof e[En]=="function"?e[En](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&lb.has(e.constructor)?lb.get(e.constructor)(e,t):ub[r]?ub[r](e,t):"",uB=Object.prototype.toString;function Vu(e,t={}){let r=LL(t,Vu),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=uB.call(e).slice(8,-1)),o in cb)return cb[o](e,r);if(n&&e){let i=lB(e,r,o);if(i)return typeof i=="string"?i:Vu(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?Da(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?B0(e,r):"constructor"in e?e.constructor!==Object?rB(e,r):Da(e,r):e===Object(e)?Da(e,r):r.stylize(String(e),o)}var cB={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},dB=Object.entries(cB);function ld(e){return String(e)}ld.open="";ld.close="";function pB(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function fB(e=!1){let t=pB(e),r=(i,s,l,c)=>{let u="",d=0;do u+=i.substring(d,c)+l,d=c+s.length,c=i.indexOf(s,d);while(~c);return u+i.substring(d)},n=(i,s,l=i)=>{let c=u=>{let d=String(u),m=d.indexOf(s,i.length);return~m?i+r(d,s,l,m)+s:i+d+s};return c.open=i,c.close=s,c},o={isColorSupported:t},a=i=>`\x1B[${i}m`;for(let[i,s]of dB)o[i]=t?n(a(s[0]),a(s[1]),s[2]):ld;return o}var Me=fB(!1);function mB(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function Ti(e,t,r,n,o,a,i=": "){let s="",l=0,c=e.next();if(!c.done){s+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(s+=u,l++===t.maxWidth){s+="\u2026";break}let d=a(c.value[0],t,u,n,o),m=a(c.value[1],t,u,n,o);s+=d+i+m,c=e.next(),c.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function ud(e,t,r,n,o,a){let i="",s=0,l=e.next();if(!l.done){i+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(i+=c,s++===t.maxWidth){i+="\u2026";break}i+=a(l.value,t,c,n,o),l=e.next(),l.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Xa(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=c=>c instanceof DataView,l=s(e)?e.byteLength:e.length;if(l>0){i+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<l;u++){if(i+=c,u===t.maxWidth){i+="\u2026";break}(s(e)||u in e)&&(i+=a(s(e)?e.getInt8(u):e[u],t,c,n,o)),u<l-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}function cd(e,t,r,n,o,a){let i="",s=mB(e,t.compareKeys);if(s.length>0){i+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<s.length;c++){let u=s[c],d=a(u,t,l,n,o),m=a(e[u],t,l,n,o);i+=`${l+d}: ${m}`,c<s.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}var hB=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ou=" ",yB=(e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ou}[${Xa(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ou}{${cd(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+ou+a(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},bB=e=>e&&e.$$typeof===hB,gB={serialize:yB,test:bB},vB=" ",k0=new Set(["DOMStringMap","NamedNodeMap"]),EB=/^(?:HTML\w*Collection|NodeList)$/;function _B(e){return k0.has(e)||EB.test(e)}var RB=e=>e&&e.constructor&&!!e.constructor.name&&_B(e.constructor.name);function wB(e){return e.constructor.name==="NamedNodeMap"}var CB=(e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+vB)+(k0.has(i)?`{${cd(wB(e)?[...e].reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,a)}}`:`[${Xa([...e],t,r,n,o,a)}]`)},SB={serialize:CB,test:RB};function $0(e){return e.replaceAll("<","<").replaceAll(">",">")}function dd(e,t,r,n,o,a,i){let s=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=i(u,r,s,o,a);return typeof u!="string"&&(d.includes(`
|
|
337
|
+
`)&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+l.prop.open+c+l.prop.close}=${l.value.open}${d}${l.value.close}`}).join("")}function pd(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?U0(i,t):a(i,t,r,n,o))).join("")}function U0(e,t){let r=t.colors.content;return r.open+$0(e)+r.close}function AB(e,t){let r=t.colors.comment;return`${r.open}<\!--${$0(e)}-->${r.close}`}function fd(e,t,r,n,o){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function md(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var TB=1,H0=3,V0=8,z0=11,PB=/^(?:(?:HTML|SVG)\w*)?Element$/;function OB(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function qB(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||OB(e);return r===TB&&(PB.test(t)||o)||r===H0&&t==="Text"||r===V0&&t==="Comment"||r===z0&&t==="DocumentFragment"}var xB=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&qB(e)};function MB(e){return e.nodeType===H0}function NB(e){return e.nodeType===V0}function au(e){return e.nodeType===z0}var jB=(e,t,r,n,o,a)=>{if(MB(e))return U0(e.data,t);if(NB(e))return AB(e.data,t);let i=au(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?md(i,t):fd(i,dd(au(e)?[]:Array.from(e.attributes,s=>s.name).sort(),au(e)?{}:[...e.attributes].reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,a),pd(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},IB={serialize:jB,test:xB},DB="@@__IMMUTABLE_ITERABLE__@@",FB="@@__IMMUTABLE_LIST__@@",LB="@@__IMMUTABLE_KEYED__@@",BB="@@__IMMUTABLE_MAP__@@",db="@@__IMMUTABLE_ORDERED__@@",kB="@@__IMMUTABLE_RECORD__@@",$B="@@__IMMUTABLE_SEQ__@@",UB="@@__IMMUTABLE_SET__@@",HB="@@__IMMUTABLE_STACK__@@",Mn=e=>`Immutable.${e}`,Pi=e=>`[${e}]`,Co=" ",pb="\u2026";function VB(e,t,r,n,o,a,i){return++n>t.maxDepth?Pi(Mn(i)):`${Mn(i)+Co}{${Ti(e.entries(),t,r,n,o,a)}}`}function zB(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function GB(e,t,r,n,o,a){let i=Mn(e._name||"Record");return++n>t.maxDepth?Pi(i):`${i+Co}{${Ti(zB(e),t,r,n,o,a)}}`}function YB(e,t,r,n,o,a){let i=Mn("Seq");return++n>t.maxDepth?Pi(i):e[LB]?`${i+Co}{${e._iter||e._object?Ti(e.entries(),t,r,n,o,a):pb}}`:`${i+Co}[${e._iter||e._array||e._collection||e._iterable?ud(e.values(),t,r,n,o,a):pb}]`}function iu(e,t,r,n,o,a,i){return++n>t.maxDepth?Pi(Mn(i)):`${Mn(i)+Co}[${ud(e.values(),t,r,n,o,a)}]`}var WB=(e,t,r,n,o,a)=>e[BB]?VB(e,t,r,n,o,a,e[db]?"OrderedMap":"Map"):e[FB]?iu(e,t,r,n,o,a,"List"):e[UB]?iu(e,t,r,n,o,a,e[db]?"OrderedSet":"Set"):e[HB]?iu(e,t,r,n,o,a,"Stack"):e[$B]?YB(e,t,r,n,o,a):GB(e,t,r,n,o,a),KB=e=>e&&(e[DB]===!0||e[kB]===!0),XB={serialize:WB,test:KB},G0={exports:{}},ve={},fb;function JB(){if(fb)return ve;fb=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function g(y){if(typeof y=="object"&&y!==null){var b=y.$$typeof;switch(b){case e:switch(y=y.type,y){case r:case o:case n:case c:case u:return y;default:switch(y=y&&y.$$typeof,y){case s:case i:case l:case m:case d:case a:return y;default:return b}}case t:return b}}}return ve.ContextConsumer=i,ve.ContextProvider=a,ve.Element=e,ve.ForwardRef=l,ve.Fragment=r,ve.Lazy=m,ve.Memo=d,ve.Portal=t,ve.Profiler=o,ve.StrictMode=n,ve.Suspense=c,ve.SuspenseList=u,ve.isAsyncMode=function(){return!1},ve.isConcurrentMode=function(){return!1},ve.isContextConsumer=function(y){return g(y)===i},ve.isContextProvider=function(y){return g(y)===a},ve.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},ve.isForwardRef=function(y){return g(y)===l},ve.isFragment=function(y){return g(y)===r},ve.isLazy=function(y){return g(y)===m},ve.isMemo=function(y){return g(y)===d},ve.isPortal=function(y){return g(y)===t},ve.isProfiler=function(y){return g(y)===o},ve.isStrictMode=function(y){return g(y)===n},ve.isSuspense=function(y){return g(y)===c},ve.isSuspenseList=function(y){return g(y)===u},ve.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===c||y===u||y===p||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===d||y.$$typeof===a||y.$$typeof===i||y.$$typeof===l||y.$$typeof===h||y.getModuleId!==void 0)},ve.typeOf=g,ve}G0.exports=JB();var $r=G0.exports;function Y0(e,t=[]){if(Array.isArray(e))for(let r of e)Y0(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function mb(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if($r.isFragment(e))return"React.Fragment";if($r.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if($r.isContextProvider(e))return"Context.Provider";if($r.isContextConsumer(e))return"Context.Consumer";if($r.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if($r.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function QB(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var ZB=(e,t,r,n,o,a)=>++n>t.maxDepth?md(mb(e),t):fd(mb(e),dd(QB(e),e.props,t,r+t.indent,n,o,a),pd(Y0(e.props.children),t,r+t.indent,n,o,a),t,r),ek=e=>e!=null&&$r.isElement(e),tk={serialize:ZB,test:ek},rk=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function nk(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var ok=(e,t,r,n,o,a)=>++n>t.maxDepth?md(e.type,t):fd(e.type,e.props?dd(nk(e),e.props,t,r+t.indent,n,o,a):"",e.children?pd(e.children,t,r+t.indent,n,o,a):"",t,r),ak=e=>e&&e.$$typeof===rk,ik={serialize:ok,test:ak},W0=Object.prototype.toString,sk=Date.prototype.toISOString,lk=Error.prototype.toString,hb=RegExp.prototype.toString;function su(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function uk(e){return typeof window<"u"&&e===window}var ck=/^Symbol\((.*)\)(.*)$/,dk=/\n/g,K0=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function pk(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function fk(e){return Object.is(e,-0)?"-0":String(e)}function mk(e){return`${e}n`}function yb(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function bb(e){return String(e).replace(ck,"Symbol($1)")}function gb(e){return`[${lk.call(e)}]`}function X0(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return fk(e);if(o==="bigint")return mk(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return yb(e,t);if(o==="symbol")return bb(e);let a=W0.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?yb(e,t):a==="[object Symbol]"?bb(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":sk.call(e):a==="[object Error]"?gb(e):a==="[object RegExp]"?r?hb.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):hb.call(e):e instanceof Error?gb(e):null}function J0(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return br(e.toJSON(),t,r,n,o,!0);let l=W0.call(e);return l==="[object Arguments]"?i?"[Arguments]":`${s?"":"Arguments "}[${Xa(e,t,r,n,o,br)}]`:pk(l)?i?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Xa(e,t,r,n,o,br)}]`:l==="[object Map]"?i?"[Map]":`Map {${Ti(e.entries(),t,r,n,o,br," => ")}}`:l==="[object Set]"?i?"[Set]":`Set {${ud(e.values(),t,r,n,o,br)}}`:i||uk(e)?`[${su(e)}]`:`${s||!t.printBasicPrototype&&su(e)==="Object"?"":`${su(e)} `}{${cd(e,t,r,n,o,br)}}`}function hk(e){return e.serialize!=null}function Q0(e,t,r,n,o,a){let i;try{i=hk(e)?e.serialize(t,r,n,o,a,br):e.print(t,s=>br(s,r,n,o,a),s=>{let l=n+r.indent;return l+s.replaceAll(dk,`
|
|
338
|
+
${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new K0(s.message,s.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function Z0(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new K0(n.message,n.stack)}return null}function br(e,t,r,n,o,a){let i=Z0(t.plugins,e);if(i!==null)return Q0(i,e,t,r,n,o);let s=X0(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:J0(e,t,r,n,o,a)}var hd={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},eE=Object.keys(hd),St={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:hd};function yk(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(St,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function bk(){return eE.reduce((e,t)=>{let r=hd[t],n=r&&Me[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function gk(){return eE.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function tE(e){return e?.printFunctionName??St.printFunctionName}function rE(e){return e?.escapeRegex??St.escapeRegex}function nE(e){return e?.escapeString??St.escapeString}function vb(e){return{callToJSON:e?.callToJSON??St.callToJSON,colors:e?.highlight?bk():gk(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:St.compareKeys,escapeRegex:rE(e),escapeString:nE(e),indent:e?.min?"":vk(e?.indent??St.indent),maxDepth:e?.maxDepth??St.maxDepth,maxWidth:e?.maxWidth??St.maxWidth,min:e?.min??St.min,plugins:e?.plugins??St.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:tE(e),spacingInner:e?.min?" ":`
|
|
339
|
+
`,spacingOuter:e?.min?"":`
|
|
340
|
+
`}}function vk(e){return Array.from({length:e+1}).join(" ")}function It(e,t){if(t&&(yk(t),t.plugins)){let n=Z0(t.plugins,e);if(n!==null)return Q0(n,e,vb(t),"",0,[])}let r=X0(e,tE(t),rE(t),nE(t));return r!==null?r:J0(e,vb(t),"",0,[])}var oE={AsymmetricMatcher:gB,DOMCollection:SB,DOMElement:IB,Immutable:XB,ReactElement:tk,ReactTestComponent:ik},{AsymmetricMatcher:Ek,DOMCollection:_k,DOMElement:Rk,Immutable:wk,ReactElement:Ck,ReactTestComponent:Sk}=oE,Eb=[Sk,Ck,Rk,_k,wk,Ek];function _t(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=It(e,{maxDepth:t,escapeString:!1,plugins:Eb,...n})}catch{a=It(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Eb,...n})}return a.length>=o&&t>1?_t(e,Math.floor(t/2)):a}var Ak=/%[sdjifoOc%]/g;function Tk(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(po(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(Ak,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?po(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return po(e[r++],{showHidden:!0,showProxy:!0});case"%O":return po(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let s=i.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${po(a)}`;return o}function po(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Vu(e,t)}var aE;aE=/\r?\n|[\r\u2028\u2029]/y;RegExp(aE.source);var iE={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(iE.keyword);new Set(iE.strict);function _b(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var et=-1,Ke=1,Ne=0,Oe=class{constructor(e,t){Te(this,0);Te(this,1);this[0]=e,this[1]=t}},Pk=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},sE=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},Rb=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let a=0,i=1;for(;;){let s=e.substring(o-i),l=t.indexOf(s);if(l===-1)return a;i+=l,(l===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++)}},Ok=function(e){let t=!1,r=[],n=0,o=null,a=0,i=0,s=0,l=0,c=0;for(;a<e.length;)e[a][0]===Ne?(r[n++]=a,i=l,s=c,l=0,c=0,o=e[a][1]):(e[a][0]===Ke?l+=e[a][1].length:c+=e[a][1].length,o&&o.length<=Math.max(i,s)&&o.length<=Math.max(l,c)&&(e.splice(r[n-1],0,new Oe(et,o)),e[r[n-1]+1][0]=Ke,n--,n--,a=n>0?r[n-1]:-1,i=0,s=0,l=0,c=0,o=null,t=!0)),a++;for(t&&lE(e),Mk(e),a=1;a<e.length;){if(e[a-1][0]===et&&e[a][0]===Ke){let u=e[a-1][1],d=e[a][1],m=Rb(u,d),p=Rb(d,u);m>=p?(m>=u.length/2||m>=d.length/2)&&(e.splice(a,0,new Oe(Ne,d.substring(0,m))),e[a-1][1]=u.substring(0,u.length-m),e[a+1][1]=d.substring(m),a++):(p>=u.length/2||p>=d.length/2)&&(e.splice(a,0,new Oe(Ne,u.substring(0,p))),e[a-1][0]=Ke,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=et,e[a+1][1]=u.substring(p),a++),a++}a++}},wb=/[^a-z0-9]/i,Cb=/\s/,Sb=/[\r\n]/,qk=/\n\r?\n$/,xk=/^\r?\n\r?\n/;function Mk(e){function t(n,o){if(!n||!o)return 6;let a=n.charAt(n.length-1),i=o.charAt(0),s=a.match(wb),l=i.match(wb),c=s&&a.match(Cb),u=l&&i.match(Cb),d=c&&a.match(Sb),m=u&&i.match(Sb),p=d&&n.match(qk),h=m&&o.match(xk);return p||h?5:d||m?4:s&&!c&&u?3:c||u?2:s||l?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Ne&&e[r+1][0]===Ne){let n=e[r-1][1],o=e[r][1],a=e[r+1][1],i=sE(n,o);if(i){let d=o.substring(o.length-i);n=n.substring(0,n.length-i),o=d+o.substring(0,o.length-i),a=d+a}let s=n,l=o,c=a,u=t(n,o)+t(o,a);for(;o.charAt(0)===a.charAt(0);){n+=o.charAt(0),o=o.substring(1)+a.charAt(0),a=a.substring(1);let d=t(n,o)+t(o,a);d>=u&&(u=d,s=n,l=o,c=a)}e[r-1][1]!==s&&(s?e[r-1][1]=s:(e.splice(r-1,1),r--),e[r][1]=l,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function lE(e){e.push(new Oe(Ne,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case Ke:n++,a+=e[t][1],t++;break;case et:r++,o+=e[t][1],t++;break;case Ne:r+n>1?(r!==0&&n!==0&&(i=Pk(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===Ne?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new Oe(Ne,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=sE(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Oe(et,o)),t++),a.length&&(e.splice(t,0,new Oe(Ke,a)),t++),t++):t!==0&&e[t-1][0]===Ne?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===Ne&&e[t+1][0]===Ne&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),s=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),s=!0)),t++;s&&lE(e)}var uE="Compared values have no visual difference.",Nk="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",cE={};Object.defineProperty(cE,"__esModule",{value:!0});var dE=cE.default=Fk,go="diff-sequences",Qe=0,So=(e,t,r,n,o)=>{let a=0;for(;e<t&&r<n&&o(e,r);)e+=1,r+=1,a+=1;return a},Ao=(e,t,r,n,o)=>{let a=0;for(;e<=t&&r<=n&&o(t,n);)t-=1,n-=1,a+=1;return a},lu=(e,t,r,n,o,a,i)=>{let s=0,l=-e,c=a[s],u=c;a[s]+=So(c+1,t,n+c-l+1,r,o);let d=e<i?e:i;for(s+=1,l+=2;s<=d;s+=1,l+=2){if(s!==e&&u<a[s])c=a[s];else if(c=u+1,t<=c)return s-1;u=a[s],a[s]=c+So(c+1,t,n+c-l+1,r,o)}return i},Ab=(e,t,r,n,o,a,i)=>{let s=0,l=e,c=a[s],u=c;a[s]-=Ao(t,c-1,r,n+c-l-1,o);let d=e<i?e:i;for(s+=1,l-=2;s<=d;s+=1,l-=2){if(s!==e&&a[s]<u)c=a[s];else if(c=u-1,c<t)return s-1;u=a[s],a[s]=c-Ao(t,c-1,r,n+c-l-1,o)}return i},jk=(e,t,r,n,o,a,i,s,l,c,u)=>{let d=n-t,m=r-t,p=o-n-m,h=-p-(e-1),g=-p+(e-1),y=Qe,b=e<s?e:s;for(let v=0,C=-e;v<=b;v+=1,C+=2){let S=v===0||v!==e&&y<i[v],A=S?i[v]:y,_=S?A:A+1,E=d+_-C,R=So(_+1,r,E+1,o,a),P=_+R;if(y=i[v],i[v]=P,h<=C&&C<=g){let N=(e-1-(C+p))/2;if(N<=c&&l[N]-1<=P){let B=d+A-(S?C+1:C-1),j=Ao(t,A,n,B,a),F=A-j,T=B-j,M=F+1,D=T+1;u.nChangePreceding=e-1,e-1===M+D-t-n?(u.aEndPreceding=t,u.bEndPreceding=n):(u.aEndPreceding=M,u.bEndPreceding=D),u.nCommonPreceding=j,j!==0&&(u.aCommonPreceding=M,u.bCommonPreceding=D),u.nCommonFollowing=R,R!==0&&(u.aCommonFollowing=_+1,u.bCommonFollowing=E+1);let Y=P+1,G=E+R+1;return u.nChangeFollowing=e-1,e-1===r+o-Y-G?(u.aStartFollowing=r,u.bStartFollowing=o):(u.aStartFollowing=Y,u.bStartFollowing=G),!0}}}return!1},Ik=(e,t,r,n,o,a,i,s,l,c,u)=>{let d=o-r,m=r-t,p=o-n-m,h=p-e,g=p+e,y=Qe,b=e<c?e:c;for(let v=0,C=e;v<=b;v+=1,C-=2){let S=v===0||v!==e&&l[v]<y,A=S?l[v]:y,_=S?A:A-1,E=d+_-C,R=Ao(t,_-1,n,E-1,a),P=_-R;if(y=l[v],l[v]=P,h<=C&&C<=g){let N=(e+(C-p))/2;if(N<=s&&P-1<=i[N]){let B=E-R;if(u.nChangePreceding=e,e===P+B-t-n?(u.aEndPreceding=t,u.bEndPreceding=n):(u.aEndPreceding=P,u.bEndPreceding=B),u.nCommonPreceding=R,R!==0&&(u.aCommonPreceding=P,u.bCommonPreceding=B),u.nChangeFollowing=e-1,e===1)u.nCommonFollowing=0,u.aStartFollowing=r,u.bStartFollowing=o;else{let j=d+A-(S?C-1:C+1),F=So(A,r,j,o,a);u.nCommonFollowing=F,F!==0&&(u.aCommonFollowing=A,u.bCommonFollowing=j);let T=A+F,M=j+F;e-1===r+o-T-M?(u.aStartFollowing=r,u.bStartFollowing=o):(u.aStartFollowing=T,u.bStartFollowing=M)}return!0}}}return!1},Dk=(e,t,r,n,o,a,i,s,l)=>{let c=n-t,u=o-r,d=r-t,m=o-n,p=m-d,h=d,g=d;if(i[0]=t-1,s[0]=r,p%2===0){let y=(e||p)/2,b=(d+m)/2;for(let v=1;v<=b;v+=1)if(h=lu(v,r,o,c,a,i,h),v<y)g=Ab(v,t,n,u,a,s,g);else if(Ik(v,t,r,n,o,a,i,h,s,g,l))return}else{let y=((e||p)+1)/2,b=(d+m+1)/2,v=1;for(h=lu(v,r,o,c,a,i,h),v+=1;v<=b;v+=1)if(g=Ab(v-1,t,n,u,a,s,g),v<y)h=lu(v,r,o,c,a,i,h);else if(jk(v,t,r,n,o,a,i,h,s,g,l))return}throw new Error(`${go}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${o}`)},zu=(e,t,r,n,o,a,i,s,l,c)=>{if(o-n<r-t){if(a=!a,a&&i.length===1){let{foundSubsequence:N,isCommon:B}=i[0];i[1]={foundSubsequence:(j,F,T)=>{N(j,T,F)},isCommon:(j,F)=>B(F,j)}}let R=t,P=r;t=n,r=o,n=R,o=P}let{foundSubsequence:u,isCommon:d}=i[a?1:0];Dk(e,t,r,n,o,d,s,l,c);let{nChangePreceding:m,aEndPreceding:p,bEndPreceding:h,nCommonPreceding:g,aCommonPreceding:y,bCommonPreceding:b,nCommonFollowing:v,aCommonFollowing:C,bCommonFollowing:S,nChangeFollowing:A,aStartFollowing:_,bStartFollowing:E}=c;t<p&&n<h&&zu(m,t,p,n,h,a,i,s,l,c),g!==0&&u(g,y,b),v!==0&&u(v,C,S),_<r&&E<o&&zu(A,_,r,E,o,a,i,s,l,c)},Tb=(e,t)=>{if(typeof t!="number")throw new TypeError(`${go}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${go}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${go}: ${e} value ${t} is a negative integer`)},Pb=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${go}: ${e} typeof ${r} is not a function`)};function Fk(e,t,r,n){Tb("aLength",e),Tb("bLength",t),Pb("isCommon",r),Pb("foundSubsequence",n);let o=So(0,e,0,t,r);if(o!==0&&n(o,0,0),e!==o||t!==o){let a=o,i=o,s=Ao(a,e-1,i,t-1,r),l=e-s,c=t-s,u=o+s;e!==u&&t!==u&&zu(0,a,l,i,c,!1,[{foundSubsequence:n,isCommon:r}],[Qe],[Qe],{aCommonFollowing:Qe,aCommonPreceding:Qe,aEndPreceding:Qe,aStartFollowing:Qe,bCommonFollowing:Qe,bCommonPreceding:Qe,bEndPreceding:Qe,bStartFollowing:Qe,nChangeFollowing:Qe,nChangePreceding:Qe,nCommonFollowing:Qe,nCommonPreceding:Qe}),s!==0&&n(s,l,c)}}function Lk(e,t){return e.replace(/\s+$/,r=>t(r))}function yd(e,t,r,n,o,a){return e.length!==0?r(`${n} ${Lk(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function pE(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return yd(e,t,r,n,o,a)}function fE(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return yd(e,t,r,n,o,a)}function mE(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return yd(e,t,r,n,o,a)}function Ob(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function Bk(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,s=0,l=0;for(;l!==r;){let S=l;for(;l!==r&&e[l][0]===Ne;)l+=1;if(S!==l)if(S===0)l>n&&(a-=l-n,i=!0);else if(l===r){let A=l-S;A>n&&(a-=A-n,i=!0)}else{let A=l-S;A>o&&(a-=A-o,s+=1)}for(;l!==r&&e[l][0]!==Ne;)l+=1}let c=s!==0||i;s!==0?a+=s+1:i&&(a+=1);let u=a-1,d=[],m=0;c&&d.push("");let p=0,h=0,g=0,y=0,b=S=>{let A=d.length;d.push(mE(S,A===0||A===u,t)),g+=1,y+=1},v=S=>{let A=d.length;d.push(pE(S,A===0||A===u,t)),g+=1},C=S=>{let A=d.length;d.push(fE(S,A===0||A===u,t)),y+=1};for(l=0;l!==r;){let S=l;for(;l!==r&&e[l][0]===Ne;)l+=1;if(S!==l)if(S===0){l>n&&(S=l-n,p=S,h=S,g=p,y=h);for(let A=S;A!==l;A+=1)b(e[A][1])}else if(l===r){let A=l-S>n?S+n:l;for(let _=S;_!==A;_+=1)b(e[_][1])}else{let A=l-S;if(A>o){let _=S+n;for(let R=S;R!==_;R+=1)b(e[R][1]);d[m]=Ob(p,g,h,y,t),m=d.length,d.push("");let E=A-o;p=g+E,h=y+E,g=p,y=h;for(let R=l-n;R!==l;R+=1)b(e[R][1])}else for(let _=S;_!==l;_+=1)b(e[_][1])}for(;l!==r&&e[l][0]===et;)v(e[l][1]),l+=1;for(;l!==r&&e[l][0]===Ke;)C(e[l][1]),l+=1}return c&&(d[m]=Ob(p,g,h,y,t)),d.join(`
|
|
341
|
+
`)}function kk(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case et:return pE(a,i,t);case Ke:return fE(a,i,t);default:return mE(a,i,t)}}).join(`
|
|
342
|
+
`)}var uu=e=>e,hE=5,$k=0;function Uk(){return{aAnnotation:"Expected",aColor:Me.green,aIndicator:"-",bAnnotation:"Received",bColor:Me.red,bIndicator:"+",changeColor:Me.inverse,changeLineTrailingSpaceColor:uu,commonColor:Me.dim,commonIndicator:" ",commonLineTrailingSpaceColor:uu,compareKeys:void 0,contextLines:hE,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Me.yellow,truncateThreshold:$k,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:uu}}function Hk(e){return e&&typeof e=="function"?e:void 0}function Vk(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:hE}function Kr(e={}){return{...Uk(),...e,compareKeys:Hk(e.compareKeys),contextLines:Vk(e.contextLines)}}function _n(e){return e.length===1&&e[0].length===0}function zk(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case et:t+=1;break;case Ke:r+=1;break}}),{a:t,b:r}}function Gk({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:s},l){if(s)return"";let c="",u="";if(i){let p=String(l.a),h=String(l.b),g=n.length-e.length,y=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),v=h.length-p.length,C=" ".repeat(Math.max(0,v)),S=" ".repeat(Math.max(0,-v));c=`${y} ${r} ${C}${p}`,u=`${b} ${a} ${S}${h}`}let d=`${r} ${e}${c}`,m=`${a} ${n}${u}`;return`${t(d)}
|
|
343
|
+
${o(m)}
|
|
344
|
+
|
|
345
|
+
`}function bd(e,t,r){return Gk(r,zk(e))+(r.expand?kk(e,r):Bk(e,r))+(t?r.truncateAnnotationColor(`
|
|
346
|
+
${r.truncateAnnotation}`):"")}function Oi(e,t,r){let n=Kr(r),[o,a]=yE(_n(e)?[]:e,_n(t)?[]:t,n);return bd(o,a,n)}function Yk(e,t,r,n,o){if(_n(e)&&_n(r)&&(e=[],r=[]),_n(t)&&_n(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Oi(e,t,o);let[a,i]=yE(r,n,o),s=0,l=0;return a.forEach(c=>{switch(c[0]){case et:c[1]=e[s],s+=1;break;case Ke:c[1]=t[l],l+=1;break;default:c[1]=t[l],s+=1,l+=1}}),bd(a,i,Kr(o))}function yE(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,s=a!==e.length||i!==t.length,l=(m,p)=>e[m]===t[p],c=[],u=0,d=0;for(dE(a,i,l,(m,p,h)=>{for(;u!==p;u+=1)c.push(new Oe(et,e[u]));for(;d!==h;d+=1)c.push(new Oe(Ke,t[d]));for(;m!==0;m-=1,u+=1,d+=1)c.push(new Oe(Ne,t[d]))});u!==a;u+=1)c.push(new Oe(et,e[u]));for(;d!==i;d+=1)c.push(new Oe(Ke,t[d]));return[c,s]}function qb(e){return e.includes(`\r
|
|
347
|
+
`)?`\r
|
|
348
|
+
`:`
|
|
349
|
+
`}function Wk(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=e.length,i=t.length;if(n){let m=e.includes(`
|
|
350
|
+
`),p=t.includes(`
|
|
351
|
+
`),h=qb(e),g=qb(t),y=m?`${e.split(h,o).join(h)}
|
|
352
|
+
`:e,b=p?`${t.split(g,o).join(g)}
|
|
353
|
+
`:t;a=y.length,i=b.length}let s=a!==e.length||i!==t.length,l=(m,p)=>e[m]===t[p],c=0,u=0,d=[];return dE(a,i,l,(m,p,h)=>{c!==p&&d.push(new Oe(et,e.slice(c,p))),u!==h&&d.push(new Oe(Ke,t.slice(u,h))),c=p+m,u=h+m,d.push(new Oe(Ne,t.slice(h,u)))}),c!==a&&d.push(new Oe(et,e.slice(c))),u!==i&&d.push(new Oe(Ke,t.slice(u))),[d,s]}function Kk(e,t,r){return t.reduce((n,o)=>n+(o[0]===Ne?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var xb=class{constructor(e,t){Te(this,"op");Te(this,"line");Te(this,"lines");Te(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Oe(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Oe(this.op,Kk(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Oe(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
354
|
+
`)){let r=t.split(`
|
|
355
|
+
`),n=r.length-1;r.forEach((o,a)=>{a<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},Xk=class{constructor(e,t){Te(this,"deleteBuffer");Te(this,"insertBuffer");Te(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
356
|
+
`)){let n=r.split(`
|
|
357
|
+
`),o=n.length-1;n.forEach((a,i)=>{if(i===0){let s=new Oe(t,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(s)):(this.pushDiffChangeLines(s),this.flushChangeLines())}else i<o?this.pushDiffCommonLine(new Oe(t,a)):a.length!==0&&this.pushDiffChangeLines(new Oe(t,a))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function Jk(e,t){let r=new xb(et,t),n=new xb(Ke,t),o=new Xk(r,n);return e.forEach(a=>{switch(a[0]){case et:r.align(a);break;case Ke:n.align(a);break;default:o.align(a)}}),o.getLines()}function Qk(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Ne&&(o!==r||n[1]!==`
|
|
358
|
+
`))}return e.some(r=>r[0]===Ne)}function Zk(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
359
|
+
`)||t.includes(`
|
|
360
|
+
`),[o,a]=bE(n?`${e}
|
|
361
|
+
`:e,n?`${t}
|
|
362
|
+
`:t,!0,r);if(Qk(o,n)){let i=Kr(r),s=Jk(o,i.changeColor);return bd(s,a,i)}}return Oi(e.split(`
|
|
363
|
+
`),t.split(`
|
|
364
|
+
`),r)}function bE(e,t,r,n){let[o,a]=Wk(e,t,n);return r&&Ok(o),[o,a]}function Gu(e,t){let{commonColor:r}=Kr(t);return r(e)}var{AsymmetricMatcher:e$,DOMCollection:t$,DOMElement:r$,Immutable:n$,ReactElement:o$,ReactTestComponent:a$}=oE,gE=[a$,o$,r$,t$,n$,e$],Yu={plugins:gE},vE={callToJSON:!1,maxDepth:10,plugins:gE};function Nn(e,t,r){if(Object.is(e,t))return"";let n=_b(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string"}if(o!==_b(t)){let{aAnnotation:i,aColor:s,aIndicator:l,bAnnotation:c,bColor:u,bIndicator:d}=Kr(r),m=Wu(vE,r),p=It(e,m),h=It(t,m),g=`${s(`${l} ${i}:`)}
|
|
365
|
+
${p}`,y=`${u(`${d} ${c}:`)}
|
|
366
|
+
${h}`;return`${g}
|
|
367
|
+
|
|
368
|
+
${y}`}if(!a)switch(n){case"string":return Oi(e.split(`
|
|
369
|
+
`),t.split(`
|
|
370
|
+
`),r);case"boolean":case"number":return i$(e,t,r);case"map":return cu(Mb(e),Mb(t),r);case"set":return cu(Nb(e),Nb(t),r);default:return cu(e,t,r)}}function i$(e,t,r){let n=It(e,Yu),o=It(t,Yu);return n===o?"":Oi(n.split(`
|
|
371
|
+
`),o.split(`
|
|
372
|
+
`),r)}function Mb(e){return new Map(Array.from(e.entries()).sort())}function Nb(e){return new Set(Array.from(e.values()).sort())}function cu(e,t,r){let n,o=!1;try{let i=Wu(Yu,r);n=jb(e,t,i,r)}catch{o=!0}let a=Gu(uE,r);if(n===void 0||n===a){let i=Wu(vE,r);n=jb(e,t,i,r),n!==a&&!o&&(n=`${Gu(Nk,r)}
|
|
373
|
+
|
|
374
|
+
${n}`)}return n}function Wu(e,t){let{compareKeys:r}=Kr(t);return{...e,compareKeys:r}}function jb(e,t,r,n){let o={...r,indent:0},a=It(e,o),i=It(t,o);if(a===i)return Gu(uE,n);{let s=It(e,r),l=It(t,r);return Yk(s.split(`
|
|
375
|
+
`),l.split(`
|
|
376
|
+
`),a.split(`
|
|
377
|
+
`),i.split(`
|
|
378
|
+
`),n)}}var Ib=2e4;function Db(e){return $u(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Fb(e,t){let r=$u(e),n=$u(t);return r===n&&(r==="Object"||r==="Array")}function EE(e,t,r){let{aAnnotation:n,bAnnotation:o}=Kr(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Ib&&t.length<=Ib&&e!==t){if(e.includes(`
|
|
379
|
+
`)||t.includes(`
|
|
380
|
+
`))return Zk(t,e,r);let[c]=bE(t,e,!0),u=c.some(h=>h[0]===Ne),d=s$(n,o),m=d(n)+c$(Lb(c,et,u)),p=d(o)+u$(Lb(c,Ke,u));return`${m}
|
|
381
|
+
${p}`}let a=eb(e,{forceWritable:!0}),i=eb(t,{forceWritable:!0}),{replacedExpected:s,replacedActual:l}=_E(a,i);return Nn(s,l,r)}function _E(e,t,r=new WeakSet,n=new WeakSet){return Fb(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),D0(t).forEach(o=>{let a=t[o],i=e[o];if(Db(a))a.asymmetricMatch(i)&&(e[o]=a);else if(Db(i))i.asymmetricMatch(a)&&(t[o]=i);else if(Fb(i,a)){let s=_E(i,a,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function s$(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var l$="\xB7";function RE(e){return e.replace(/\s+$/gm,t=>l$.repeat(t.length))}function u$(e){return Me.red(RE(_t(e)))}function c$(e){return Me.green(RE(_t(e)))}function Lb(e,t,r){return e.reduce((n,o)=>n+(o[0]===Ne?o[1]:o[0]===t?r?Me.inverse(o[1]):o[1]:""),"")}function Fa(e,t){if(!e)throw new Error(t)}function Rn(e,t){return typeof t===e}function d$(e){return e instanceof Promise}function Ku(e,t,r){Object.defineProperty(e,t,r)}function An(e,t,r){Object.defineProperty(e,t,{value:r})}var vo=Symbol.for("tinyspy:spy"),p$=new Set,f$=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},m$=e=>(Ku(e,vo,{value:{reset:()=>f$(e[vo])}}),e[vo]),Ja=e=>e[vo]||m$(e);function h$(e){Fa(Rn("function",e)||Rn("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=Ja(t);o.called=!0,o.callCount++,o.calls.push(n);let a=o.next.shift();if(a){o.results.push(a);let[u,d]=a;if(u==="ok")return d;throw d}let i,s="ok",l=o.results.length;if(o.impl)try{new.target?i=Reflect.construct(o.impl,n,new.target):i=o.impl.apply(this,n),s="ok"}catch(u){throw i=u,s="error",o.results.push([s,u]),u}let c=[s,i];return d$(i)&&i.then(u=>o.resolves[l]=["ok",u],u=>o.resolves[l]=["error",u]),o.results.push(c),i};An(t,"_isMockFunction",!0),An(t,"length",e?e.length:0),An(t,"name",e&&e.name||"spy");let r=Ja(t);return r.reset(),r.impl=e,t}var Bb=(e,t)=>Object.getOwnPropertyDescriptor(e,t),kb=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function y$(e,t,r){Fa(!Rn("undefined",e),"spyOn could not find an object to spy upon"),Fa(Rn("object",e)||Rn("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!Rn("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),a=Bb(e,n),i=Object.getPrototypeOf(e),s=i&&Bb(i,n),l=a||s;Fa(l||n in e,`${String(n)} does not exist`);let c=!1;o==="value"&&l&&!l.value&&l.get&&(o="get",c=!0,r=l.get());let u;l?u=l[o]:o!=="value"?u=()=>e[n]:u=e[n];let d=g=>{let{value:y,...b}=l||{configurable:!0,writable:!0};o!=="value"&&delete b.writable,b[o]=g,Ku(e,n,b)},m=()=>l?Ku(e,n,l):d(u);r||(r=u);let p=h$(r);o==="value"&&kb(p,u);let h=p[vo];return An(h,"restore",m),An(h,"getOriginal",()=>c?u():u),An(h,"willCall",g=>(h.impl=g,p)),d(c?()=>(kb(p,r),p):p),p$.add(p),p}var qi=new Set;function wE(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var b$=0;function g$(e){let t=e,r,n=[],o=[],a=[],i=Ja(e),s={get calls(){return i.calls},get contexts(){return o},get instances(){return n},get invocationCallOrder(){return a},get results(){return i.results.map(([p,h])=>({type:p==="error"?"throw":"return",value:h}))},get settledResults(){return i.resolves.map(([p,h])=>({type:p==="error"?"rejected":"fulfilled",value:h}))},get lastCall(){return i.calls[i.calls.length-1]}},l=[],c=!1;function u(...p){return n.push(this),o.push(this),a.push(++b$),(c?r:l.shift()||r||i.getOriginal()||(()=>{})).apply(this,p)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=p=>(d=p,t),t.mockClear=()=>(i.reset(),n=[],o=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},l=[],t),t.mockRestore=()=>(t.mockReset(),i.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=p=>(r=p,i.willCall(u),t),t.mockImplementationOnce=p=>(l.push(p),t);function m(p,h){let g=r;r=p,i.willCall(u),c=!0;let y=()=>{r=g,c=!1},b=h();return b instanceof Promise?b.then(()=>(y(),t)):(y(),t)}return t.withImplementation=m,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=p=>t.mockImplementation(()=>p),t.mockReturnValueOnce=p=>t.mockImplementationOnce(()=>p),t.mockResolvedValue=p=>t.mockImplementation(()=>Promise.resolve(p)),t.mockResolvedValueOnce=p=>t.mockImplementationOnce(()=>Promise.resolve(p)),t.mockRejectedValue=p=>t.mockImplementation(()=>Promise.reject(p)),t.mockRejectedValueOnce=p=>t.mockImplementationOnce(()=>Promise.reject(p)),Object.defineProperty(t,"mock",{get:()=>s}),i.willCall(u),qi.add(t),t}function $b(e){let t=g$(y$({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var v$="@@__IMMUTABLE_RECORD__@@",E$="@@__IMMUTABLE_ITERABLE__@@";function _$(e){return e&&(e[E$]||e[v$])}var R$=Object.getPrototypeOf({});function Ub(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function wn(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(_$(e))return wn(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${Tk(e.sample)}`;if(typeof e.toJSON=="function")return wn(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=wn(n,t)}catch(a){r[o]=Ub(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==R$;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=wn(e[o],t)}catch(a){delete r[o],r[o]=Ub(a)}}),n=Object.getPrototypeOf(n);return r}}function w$(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function CE(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=EE(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=_t(n.expected,10)),typeof n.actual!="string"&&(n.actual=_t(n.actual,10));try{typeof n.message=="string"&&(n.message=w$(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=CE(n.cause,t,r))}catch{}try{return wn(n)}catch(o){return wn(new Error(`Failed to fully serialize error: ${o?.message}
|
|
382
|
+
Inner error message: ${n?.message}`))}}var To=Symbol.for("matchers-object"),Po=Symbol.for("$$jest-matchers-object-storybook"),gd=Symbol.for("expect-global"),Xu=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,To)){let e=new WeakMap;Object.defineProperty(globalThis,To,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,Po)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Po,{configurable:!0,get:()=>({state:globalThis[To].get(globalThis[gd]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Xu)){let e=Object.create(null);Object.defineProperty(globalThis,Xu,{get:()=>e})}function Qa(e){return globalThis[To].get(e)}function du(e,t){let r=globalThis[To],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var Za=Me.green,vd=Me.red,C$=Me.inverse,S$=Me.bold,yr=Me.dim;function A$(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:a=!1,isNot:i=!1,promise:s="",secondArgument:l="",expectedColor:c=Za,receivedColor:u=vd,secondArgumentColor:d=Za}=n,m="",p="expect";return!a&&t!==""&&(m+=yr(`${p}(`)+u(t),p=")"),s!==""&&(m+=yr(`${p}.`)+s,p=""),i&&(m+=`${yr(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(m+=yr(`${p}.`)+e,p=""),r===""?p+="()":(m+=yr(`${p}(`)+c(r),l&&(m+=yr(", ")+d(l)),p=")"),o!==""&&(p+=` // ${o}`),p!==""&&(m+=yr(p)),m}var T$="\xB7";function SE(e){return e.replace(/\s+$/gm,t=>T$.repeat(t.length))}function P$(e){return vd(SE(_t(e)))}function O$(e){return Za(SE(_t(e)))}function AE(){return{EXPECTED_COLOR:Za,RECEIVED_COLOR:vd,INVERTED_COLOR:C$,BOLD_WEIGHT:S$,DIM_COLOR:yr,diff:Nn,matcherHint:A$,printReceived:P$,printExpected:O$,printDiffOrStringify:EE}}function Ed(){return globalThis[Po].customEqualityTesters}function he(e,t,r,n){return r=r||[],TE(e,t,[],[],r,n?PE:x$)}function Hb(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Pt("Function",e.asymmetricMatch)}function q$(e,t){let r=Hb(e),n=Hb(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function TE(e,t,r,n,o,a){let i=!0,s=q$(e,t);if(s!==void 0)return s;let l={equals:he};for(let h=0;h<o.length;h++){let g=o[h].call(l,e,t,o);if(g!==void 0)return g}if(e instanceof Error&&t instanceof Error)return e.message===t.message;if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let h=+e,g=+t;return h===g||Number.isNaN(h)&&Number.isNaN(g)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(zb(e)&&zb(t))return e.isEqualNode(t);let u=r.length;for(;u--;){if(r[u]===e)return n[u]===t;if(n[u]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;let d=Vb(e,a),m,p=d.length;if(Vb(t,a).length!==p)return!1;for(;p--;)if(m=d[p],i=a(t,m)&&TE(e[m],t[m],r,n,o,a),!i)return!1;return r.pop(),n.pop(),i}function Vb(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function x$(e,t){return PE(e,t)&&e[t]!==void 0}function PE(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Pt(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function zb(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var OE="@@__IMMUTABLE_KEYED__@@",qE="@@__IMMUTABLE_SET__@@",M$="@@__IMMUTABLE_LIST__@@",xi="@@__IMMUTABLE_ORDERED__@@",N$="@@__IMMUTABLE_RECORD__@@";function j$(e){return!!(e&&e[OE]&&!e[xi])}function I$(e){return!!(e&&e[qE]&&!e[xi])}function Mi(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function D$(e){return!!(e&&Mi(e)&&e[M$])}function F$(e){return!!(e&&Mi(e)&&e[OE]&&e[xi])}function L$(e){return!!(e&&Mi(e)&&e[qE]&&e[xi])}function B$(e){return!!(e&&Mi(e)&&e[N$])}var xE=Symbol.iterator;function Gb(e){return!!(e!=null&&e[xE])}function dt(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Gb(e)||!Gb(t))return;if(e.constructor!==t.constructor)return!1;let a=n.length;for(;a--;)if(n[a]===e)return o[a]===t;n.push(e),o.push(t);let i=[...r.filter(c=>c!==dt),s];function s(c,u){return dt(c,u,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Pt("Set",e)||I$(e)){let c=!0;for(let u of e)if(!t.has(u)){let d=!1;for(let m of t)he(u,m,i)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(Pt("Map",e)||j$(e)){let c=!0;for(let u of e)if(!t.has(u[0])||!he(u[1],t.get(u[0]),i)){let d=!1;for(let m of t){let p=he(u[0],m[0],i),h=!1;p===!0&&(h=he(u[1],m[1],i)),h===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}}let l=t[xE]();for(let c of e){let u=l.next();if(u.done||!he(c,u.value,i))return!1}if(!l.next().done)return!1;if(!D$(e)&&!F$(e)&&!L$(e)&&!B$(e)){let c=Object.entries(e),u=Object.entries(t);if(!he(c,u))return!1}return n.pop(),o.pop(),!0}function _d(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||_d(Object.getPrototypeOf(e),t)}function k$(e){return Ia(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Vo(e,t,r=[]){let n=r.filter(a=>a!==Vo),o=(a=new WeakMap)=>(i,s)=>{if(k$(s))return Object.keys(s).every(l=>{if(s[l]!=null&&typeof s[l]=="object"){if(a.has(s[l]))return he(i[l],s[l],n);a.set(s[l],!0)}let c=i!=null&&_d(i,l)&&he(i[l],s[l],[...n,o(a)]);return a.delete(s[l]),c})};return o()(e,t)}function Yb(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function Wb(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function Ju(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),a=r.filter(i=>i!==Ju);return he(e,t,a,!0)&&he(n,o)}function $$(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
383
|
+
|
|
384
|
+
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
385
|
+
|
|
386
|
+
Expected: ${t}
|
|
387
|
+
Received: serializes to the same string
|
|
388
|
+
`:n}function U$(e,t){return`${t} ${e}${t===1?"":"s"}`}function pu(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function H$(e,t,r=[]){let n=0,o=(a=new WeakMap)=>(i,s)=>{if(Array.isArray(i)){if(Array.isArray(s)&&s.length===i.length)return s.map((l,c)=>o(a)(i[c],l))}else{if(i instanceof Date)return i;if(Ia(i)&&Ia(s)){if(he(i,s,[...r,dt,Vo]))return s;let l={};a.set(i,l);for(let c of pu(i))_d(s,c)?l[c]=a.has(i[c])?a.get(i[c]):o(a)(i[c],s[c]):a.has(i[c])||(n+=1,Ia(i[c])&&(n+=pu(i[c]).length),o(a)(i[c],s[c]));if(pu(l).length>0)return l}}return i};return{subset:o()(e,t),stripped:n}}var Sr=class{constructor(e,t=!1){Te(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Qa(e||globalThis[gd]),equals:he,isNot:this.inverse,customTesters:Ed(),utils:{...AE(),diff:Nn,stringify:_t,iterableEquality:dt,subsetEquality:Vo}}}[Symbol.for("chai/inspect")](e){let t=_t(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{\u2026}`}},Kb=class extends Sr{constructor(e,t=!1){if(!Pt("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Pt("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},V$=class extends Sr{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},Xb=class extends Sr{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!he(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},Jb=class extends Sr{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>he(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},z$=class extends Sr{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},Qb=class extends Sr{constructor(e,t=!1){if(!Pt("String",e)&&!Pt("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Pt("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},Zb=class extends Sr{constructor(t,r=2,n=!1){if(!Pt("Number",t))throw new Error("Expected is not a Number");if(!Pt("Number",r))throw new Error("Precision is not a Number");super(t);Te(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Pt("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${U$("digit",this.precision)})`].join(" ")}},G$=(e,t)=>{t.addMethod(e.expect,"anything",()=>new V$),t.addMethod(e.expect,"any",r=>new z$(r)),t.addMethod(e.expect,"stringContaining",r=>new Kb(r)),t.addMethod(e.expect,"objectContaining",r=>new Xb(r)),t.addMethod(e.expect,"arrayContaining",r=>new Jb(r)),t.addMethod(e.expect,"stringMatching",r=>new Qb(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new Zb(r,n)),e.expect.not={stringContaining:r=>new Kb(r,!0),objectContaining:r=>new Xb(r,!0),arrayContaining:r=>new Jb(r,!0),stringMatching:r=>new Qb(r,!0),closeTo:(r,n)=>new Zb(r,n,!0)}};function eg(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function ME(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(a){o.result||(o.result={state:"fail"}),o.result.state="fail",(n=o.result).errors||(n.errors=[]),o.result.errors.push(CE(a))}}}var Y$=(e,t)=>{let{AssertionError:r}=e,n=Ed();function o(u,d){let m=p=>{let h=ME(t,d);t.addMethod(e.Assertion.prototype,p,h),t.addMethod(globalThis[Po].matchers,p,h)};Array.isArray(u)?u.forEach(p=>m(p)):m(u)}["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,d=>function(...m){let p=t.flag(this,"promise"),h=t.flag(this,"object"),g=t.flag(this,"negate");if(p==="rejects")t.flag(this,"object",()=>{throw h});else if(p==="resolves"&&typeof h!="function"){if(g)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(y,b,t.flag(this,"ssfi"))}}d.apply(this,m)})}),o("withTest",function(u){return t.flag(this,"vitest-test",u),this}),o("toEqual",function(u){let d=t.flag(this,"object"),m=he(d,u,[...n,dt]);return this.assert(m,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",u,d)}),o("toStrictEqual",function(u){let d=t.flag(this,"object"),m=he(d,u,[...n,dt,Yb,Ju,Wb],!0);return this.assert(m,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",u,d)}),o("toBe",function(u){let d=this._obj,m=Object.is(d,u),p="";return m||(he(d,u,[...n,dt,Yb,Ju,Wb],!0)?p="toStrictEqual":he(d,u,[...n,dt])&&(p="toEqual")),this.assert(m,$$(p),"expected #{this} not to be #{exp} // Object.is equality",u,d)}),o("toMatchObject",function(u){let d=this._obj,m=he(d,u,[...n,dt,Vo]),p=t.flag(this,"negate"),{subset:h,stripped:g}=H$(d,u);if(m&&p||!m&&!p){let y=t.getMessage(this,[m,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,h,!1]),b=g===0?y:`${y}
|
|
389
|
+
(${g} matching ${g===1?"property":"properties"} omitted from actual)`;throw new r(b,{showDiff:!0,expected:u,actual:h})}}),o("toMatch",function(u){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof u=="string"?d.includes(u):d.match(u),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",u,d)}),o("toContain",function(u){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(u instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);return this.assert(d.contains(u),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",u,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){Gt(u,"class name",["string"]);let m=t.flag(this,"negate")?d.value.replace(u,"").trim():`${d.value} ${u}`;return this.assert(d.contains(u),`expected "${d.value}" to contain "${u}"`,`expected "${d.value}" not to contain "${u}"`,m,d.value)}return typeof d=="string"&&typeof u=="string"?this.assert(d.includes(u),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",u,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(u))}),o("toContainEqual",function(u){let d=t.flag(this,"object"),m=Array.from(d).findIndex(p=>he(p,u,n));this.assert(m!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",u)}),o("toBeTruthy",function(){let u=t.flag(this,"object");this.assert(!!u,"expected #{this} to be truthy","expected #{this} to not be truthy",u,!1)}),o("toBeFalsy",function(){let u=t.flag(this,"object");this.assert(!u,"expected #{this} to be falsy","expected #{this} to not be falsy",u,!1)}),o("toBeGreaterThan",function(u){let d=this._obj;return Gt(d,"actual",["number","bigint"]),Gt(u,"expected",["number","bigint"]),this.assert(d>u,`expected ${d} to be greater than ${u}`,`expected ${d} to be not greater than ${u}`,d,u,!1)}),o("toBeGreaterThanOrEqual",function(u){let d=this._obj;return Gt(d,"actual",["number","bigint"]),Gt(u,"expected",["number","bigint"]),this.assert(d>=u,`expected ${d} to be greater than or equal to ${u}`,`expected ${d} to be not greater than or equal to ${u}`,d,u,!1)}),o("toBeLessThan",function(u){let d=this._obj;return Gt(d,"actual",["number","bigint"]),Gt(u,"expected",["number","bigint"]),this.assert(d<u,`expected ${d} to be less than ${u}`,`expected ${d} to be not less than ${u}`,d,u,!1)}),o("toBeLessThanOrEqual",function(u){let d=this._obj;return Gt(d,"actual",["number","bigint"]),Gt(u,"expected",["number","bigint"]),this.assert(d<=u,`expected ${d} to be less than or equal to ${u}`,`expected ${d} to be not less than or equal to ${u}`,d,u,!1)}),o("toBeNaN",function(){return this.be.NaN}),o("toBeUndefined",function(){return this.be.undefined}),o("toBeNull",function(){return this.be.null}),o("toBeDefined",function(){let u=t.flag(this,"negate");return t.flag(this,"negate",!1),u?this.be.undefined:this.not.be.undefined}),o("toBeTypeOf",function(u){let d=typeof this._obj,m=u===d;return this.assert(m,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",u,d)}),o("toBeInstanceOf",function(u){return this.instanceOf(u)}),o("toHaveLength",function(u){return this.have.length(u)}),o("toHaveProperty",function(...u){Array.isArray(u[0])&&(u[0]=u[0].map(C=>String(C).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[m,p]=u,h=()=>Object.prototype.hasOwnProperty.call(d,m)?{value:d[m],exists:!0}:t.getPathInfo(d,m),{value:g,exists:y}=h(),b=y&&(u.length===1||he(p,g,n)),v=u.length===1?"":` with value ${t.objDisplay(p)}`;return this.assert(b,`expected #{this} to have property "${m}"${v}`,`expected #{this} to not have property "${m}"${v}`,p,y?g:void 0)}),o("toBeCloseTo",function(u,d=2){let m=this._obj,p=!1,h=0,g=0;return u===Number.POSITIVE_INFINITY&&m===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&m===Number.NEGATIVE_INFINITY?p=!0:(h=10**-d/2,g=Math.abs(m-u),p=g<h),this.assert(p,`expected #{this} to be close to #{exp}, received difference is ${g}, but expected ${h}`,`expected #{this} to not be close to #{exp}, received difference is ${g}, but expected ${h}`,u,m,!1)});let a=u=>{if(!wE(u._obj))throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`)},i=u=>(a(u),u._obj),s=u=>{let d=u%10,m=u%100;return d===1&&m!==11?`${u}st`:d===2&&m!==12?`${u}nd`:d===3&&m!==13?`${u}rd`:`${u}th`},l=(u,d,m)=>(u.mock.calls&&(d+=Me.gray(`
|
|
390
|
+
|
|
391
|
+
Received:
|
|
392
|
+
|
|
393
|
+
${u.mock.calls.map((p,h)=>{let g=Me.bold(` ${s(h+1)} ${u.getMockName()} call:
|
|
394
|
+
|
|
395
|
+
`);return m?g+=Nn(m,p,{omitAnnotationLines:!0}):g+=_t(p).split(`
|
|
396
|
+
`).map(y=>` ${y}`).join(`
|
|
397
|
+
`),g+=`
|
|
398
|
+
`,g}).join(`
|
|
399
|
+
`)}`)),d+=Me.gray(`
|
|
400
|
+
|
|
401
|
+
Number of calls: ${Me.bold(u.mock.calls.length)}
|
|
402
|
+
`),d),c=(u,d,m,p)=>(m+=Me.gray(`
|
|
403
|
+
|
|
404
|
+
Received:
|
|
405
|
+
|
|
406
|
+
${d.map((h,g)=>{let y=Me.bold(` ${s(g+1)} ${u.getMockName()} call return:
|
|
407
|
+
|
|
408
|
+
`);return p?y+=Nn(p,h.value,{omitAnnotationLines:!0}):y+=_t(h).split(`
|
|
409
|
+
`).map(b=>` ${b}`).join(`
|
|
410
|
+
`),y+=`
|
|
411
|
+
`,y}).join(`
|
|
412
|
+
`)}`),m+=Me.gray(`
|
|
413
|
+
|
|
414
|
+
Number of calls: ${Me.bold(u.mock.calls.length)}
|
|
415
|
+
`),m);o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(u){let d=i(this),m=d.getMockName(),p=d.mock.calls.length;return this.assert(p===u,`expected "${m}" to be called #{exp} times, but got ${p} times`,`expected "${m}" to not be called #{exp} times`,u,p,!1)}),o("toHaveBeenCalledOnce",function(){let u=i(this),d=u.getMockName(),m=u.mock.calls.length;return this.assert(m===1,`expected "${d}" to be called once, but got ${m} times`,`expected "${d}" to not be called once`,1,m,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let u=i(this),d=u.getMockName(),m=u.mock.calls.length,p=m>0,h=t.flag(this,"negate"),g=t.getMessage(this,[p,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${m} times`,!0,p]);if(p&&h&&(g=l(u,g)),p&&h||!p&&!h)throw new r(g)}),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){let d=i(this),m=d.getMockName(),p=d.mock.calls.some(y=>he(y,u,[...n,dt])),h=t.flag(this,"negate"),g=t.getMessage(this,[p,`expected "${m}" to be called with arguments: #{exp}`,`expected "${m}" to not be called with arguments: #{exp}`,u]);if(p&&h||!p&&!h)throw new r(l(d,g,u))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...d){let m=i(this),p=m.getMockName(),h=m.mock.calls[u-1],g=m.mock.calls.length,y=u<=g;this.assert(he(h,d,[...n,dt]),`expected ${s(u)} "${p}" call to have been called with #{exp}${y?"":`, but called only ${g} times`}`,`expected ${s(u)} "${p}" call to not have been called with #{exp}`,d,h,y)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){let d=i(this),m=d.getMockName(),p=d.mock.calls[d.mock.calls.length-1];this.assert(he(p,u,[...n,dt]),`expected last "${m}" call to have been called with #{exp}`,`expected last "${m}" call to not have been called with #{exp}`,u,p)}),o(["toThrow","toThrowError"],function(u){if(typeof u=="string"||typeof u>"u"||u instanceof RegExp)return this.throws(u);let d=this._obj,m=t.flag(this,"promise"),p=t.flag(this,"negate"),h=null;if(m==="rejects")h=d;else if(m==="resolves"&&typeof d!="function"){if(p)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(g,y,t.flag(this,"ssfi"))}}else{let g=!1;try{d()}catch(y){g=!0,h=y}if(!g&&!p){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",b={showDiff:!1};throw new r(y,b,t.flag(this,"ssfi"))}}if(typeof u=="function"){let g=u.name||u.prototype.constructor.name;return this.assert(h&&h instanceof u,`expected error to be instance of ${g}`,`expected error not to be instance of ${g}`,u,h)}if(u instanceof Error)return this.assert(h&&u.message===h.message,`expected error to have message: ${u.message}`,`expected error not to have message: ${u.message}`,u.message,h&&h.message);if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){let g=u;return this.assert(h&&g.asymmetricMatch(h),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",g,h)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`)}),[{name:"toHaveResolved",condition:u=>u.mock.settledResults.length>0&&u.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:u=>u.mock.calls.length>0&&u.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(){let p=i(this),h=p.getMockName(),g=d(p);this.assert(g,`expected "${h}" to be successfully ${m} at least once`,`expected "${h}" to not be successfully ${m}`,g,!g,!1)})}),[{name:"toHaveResolvedTimes",condition:(u,d)=>u.mock.settledResults.reduce((m,{type:p})=>p==="fulfilled"?++m:m,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(u,d)=>u.mock.results.reduce((m,{type:p})=>p==="throw"?m:++m,0)===d,action:"called"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(p){let h=i(this),g=h.getMockName(),y=d(h,p);this.assert(y,`expected "${g}" to be successfully ${m} ${p} times`,`expected "${g}" to not be successfully ${m} ${p} times`,`expected resolved times: ${p}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:(u,d)=>u.mock.settledResults.some(({type:m,value:p})=>m==="fulfilled"&&he(d,p)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(u,d)=>u.mock.results.some(({type:m,value:p})=>m==="return"&&he(d,p)),action:"return"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(p){let h=i(this),g=d(h,p),y=t.flag(this,"negate");if(g&&y||!g&&!y){let b=h.getMockName(),v=t.getMessage(this,[g,`expected "${b}" to ${m} with: #{exp} at least once`,`expected "${b}" to not ${m} with: #{exp}`,p]),C=m==="return"?h.mock.results:h.mock.settledResults;throw new r(c(h,C,v,p))}})}),[{name:"toHaveLastResolvedWith",condition:(u,d)=>{let m=u.mock.settledResults[u.mock.settledResults.length-1];return m&&m.type==="fulfilled"&&he(m.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(u,d)=>{let m=u.mock.results[u.mock.results.length-1];return m&&m.type==="return"&&he(m.value,d)},action:"return"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(p){let h=i(this),g=m==="return"?h.mock.results:h.mock.settledResults,y=g[g.length-1],b=h.getMockName();this.assert(d(h,p),`expected last "${b}" call to ${m} #{exp}`,`expected last "${b}" call to not ${m} #{exp}`,p,y?.value)})}),[{name:"toHaveNthResolvedWith",condition:(u,d,m)=>{let p=u.mock.settledResults[d-1];return p&&p.type==="fulfilled"&&he(p.value,m)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(u,d,m)=>{let p=u.mock.results[d-1];return p&&p.type==="return"&&he(p.value,m)},action:"return"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(p,h){let g=i(this),y=g.getMockName(),b=(m==="return"?g.mock.results:g.mock.settledResults)[p-1],v=`${s(p)} call`;this.assert(d(g,p,h),`expected ${v} "${y}" call to ${m} #{exp}`,`expected ${v} "${y}" call to not ${m} #{exp}`,h,b?.value)})}),o("toSatisfy",function(u,d){return this.be.satisfy(u,d)}),o("withContext",function(u){for(let d in u)t.flag(this,d,u[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let u=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),m=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof m?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof m}'.`);let p=new Proxy(this,{get:(h,g,y)=>{let b=Reflect.get(h,g,y);return typeof b!="function"?b instanceof e.Assertion?p:b:async(...v)=>{let C=m.then(S=>(t.flag(this,"object",S),b.call(this,...v)),S=>{let A=new r(`promise rejected "${t.inspect(S)}" instead of resolving`,{showDiff:!1});throw A.cause=S,A.stack=u.stack.replace(u.message,A.message),A});return eg(d,C)}}});return p}),t.addProperty(e.Assertion.prototype,"rejects",function(){let u=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),m=t.flag(this,"object"),p=typeof m=="function"?m():m;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof p?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof p}'.`);let h=new Proxy(this,{get:(g,y,b)=>{let v=Reflect.get(g,y,b);return typeof v!="function"?v instanceof e.Assertion?h:v:async(...C)=>{let S=p.then(A=>{let _=new r(`promise resolved "${t.inspect(A)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:A});throw _.stack=u.stack.replace(u.message,_.message),_},A=>(t.flag(this,"object",A),v.call(this,...C)));return eg(d,S)}}});return h})};function W$(e,t){let r=e._obj,n=jt.flag(e,"negate"),o=jt.flag(e,"promise")||"",a={...AE(),diff:Nn,stringify:_t,iterableEquality:dt,subsetEquality:Vo};return{state:{...Qa(t),customTesters:Ed(),isNot:n,utils:a,promise:o,equals:he,suppressedErrors:[],soft:jt.flag(e,"soft"),poll:jt.flag(e,"poll")},isNot:n,obj:r}}var tg=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function K$(e,t,r){return(n,o)=>{Object.entries(r).forEach(([a,i])=>{function s(...d){let{state:m,isNot:p,obj:h}=W$(this,t),g=i.call(m,h,...d);if(g&&typeof g=="object"&&g instanceof Promise)return g.then(({pass:S,message:A,actual:_,expected:E})=>{if(S&&p||!S&&!p)throw new tg(A(),_,E)});let{pass:y,message:b,actual:v,expected:C}=g;if(y&&p||!y&&!p)throw new tg(b(),v,C)}let l=ME(o,s);o.addMethod(globalThis[Po].matchers,a,l),o.addMethod(e.Assertion.prototype,a,l);class c extends Sr{constructor(m=!1,...p){super(p,m)}asymmetricMatch(m){let{pass:p}=i.call(this.getMatcherContext(t),m,...this.sample);return this.inverse?!p:p}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let u=(...d)=>new c(!1,...d);Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:u,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:(...d)=>new c(!0,...d),writable:!0}),Object.defineProperty(globalThis[Xu],a,{configurable:!0,enumerable:!0,value:u,writable:!0})})}}var X$=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Sn(K$(e,r,n))})};function J$(){Sn(X$),Sn(Y$),Sn(G$);let e=(n,o)=>{let{assertionCalls:a}=Qa(e);return du({assertionCalls:a+1,soft:!1},e),Hr(n,o)};Object.assign(e,Hr),e.getState=()=>Qa(e),e.setState=n=>du(n,e),e.extend=n=>Hr.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.unreachable=n=>{q.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return du({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),jt.addMethod(e,"assertions",t),jt.addMethod(e,"hasAssertions",r),e.extend(Hv),e}var NE=J$();Object.defineProperty(globalThis,gd,{value:NE,writable:!0,configurable:!0});var Qu=new Set;function Q$(e){return Qu.add(e),()=>void Qu.delete(e)}function Z$(e){let t=e?$b(e):$b();return e5(t)}function e5(e){let t=rg(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>rg(r(n)),t}function rg(e){let t=Ja(e),r=t.impl;return t.willCall(function(...n){return Qu.forEach(o=>o(e,n)),r?.apply(this,n)}),e}function t5(){qi.forEach(e=>e.mockClear())}function r5(){qi.forEach(e=>e.mockReset())}function n5(){qi.forEach(e=>e.mockRestore())}var jE={};bc(jE,{buildQueries:()=>rr,configure:()=>m3,createEvent:()=>Ba,findAllByAltText:()=>L1,findAllByDisplayValue:()=>M1,findAllByLabelText:()=>d1,findAllByPlaceholderText:()=>E1,findAllByRole:()=>J1,findAllByTestId:()=>n_,findAllByText:()=>A1,findAllByTitle:()=>V1,findByAltText:()=>B1,findByDisplayValue:()=>N1,findByLabelText:()=>p1,findByPlaceholderText:()=>_1,findByRole:()=>Q1,findByTestId:()=>o_,findByText:()=>T1,findByTitle:()=>z1,fireEvent:()=>No,getAllByAltText:()=>D1,getAllByDisplayValue:()=>q1,getAllByLabelText:()=>f1,getAllByPlaceholderText:()=>g1,getAllByRole:()=>K1,getAllByTestId:()=>t_,getAllByText:()=>C1,getAllByTitle:()=>U1,getByAltText:()=>F1,getByDisplayValue:()=>x1,getByLabelText:()=>m1,getByPlaceholderText:()=>v1,getByRole:()=>X1,getByTestId:()=>r_,getByText:()=>S1,getByTitle:()=>H1,getConfig:()=>de,getDefaultNormalizer:()=>Td,getElementError:()=>ji,getMultipleElementsFoundError:()=>Ii,getNodeText:()=>zo,getQueriesForElement:()=>lc,getRoles:()=>o1,getSuggestedQuery:()=>ti,isInaccessible:()=>Ni,logDOM:()=>Zu,logRoles:()=>v3,makeFindQuery:()=>In,makeGetAllQuery:()=>qd,makeSingleQuery:()=>jn,prettyDOM:()=>xo,prettyFormat:()=>Rd,queries:()=>ri,queryAllByAltText:()=>j1,queryAllByAttribute:()=>Jr,queryAllByDisplayValue:()=>P1,queryAllByLabelText:()=>h1,queryAllByPlaceholderText:()=>y1,queryAllByRole:()=>Y1,queryAllByTestId:()=>Z1,queryAllByText:()=>R1,queryAllByTitle:()=>k1,queryByAltText:()=>I1,queryByAttribute:()=>i1,queryByDisplayValue:()=>O1,queryByLabelText:()=>u1,queryByPlaceholderText:()=>b1,queryByRole:()=>W1,queryByTestId:()=>e_,queryByText:()=>w1,queryByTitle:()=>$1,queryHelpers:()=>N3,screen:()=>sU,waitFor:()=>Od,waitForElementToBeRemoved:()=>eU,within:()=>lc,wrapAllByQueryWithSuggestion:()=>lt,wrapSingleQueryWithSuggestion:()=>_r});var Rd=pt(IN()),o5=Object.prototype.toString;function ng(e){return typeof e=="function"||o5.call(e)==="[object Function]"}function a5(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var i5=Math.pow(2,53)-1;function s5(e){var t=a5(e);return Math.min(Math.max(t,0),i5)}function Tt(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!ng(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=s5(n.length),a=ng(r)?Object(new r(o)):new Array(o),i=0,s;i<o;)s=n[i],t?a[i]=t(s,i):a[i]=s,i+=1;return a.length=o,a}function Oo(e){"@babel/helpers - typeof";return Oo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oo(e)}function l5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,IE(n.key),n)}}function u5(e,t,r){return t&&og(e.prototype,t),r&&og(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function c5(e,t,r){return t=IE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IE(e){var t=d5(e,"string");return Oo(t)==="symbol"?t:String(t)}function d5(e,t){if(Oo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Oo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var p5=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];l5(this,e),c5(this,"items",void 0),this.items=t}return u5(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),f5=typeof Set>"u"?Set:p5;function rt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var m5={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},h5={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function y5(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=h5[t])!==null&&n!==void 0&&n.has(r))})}function DE(e,t){return y5(e,t)}function b5(e){var t=v5(e);if(t===null||t==="presentation"){var r=g5(e);if(t!=="presentation"||DE(e,r||""))return r}return t}function g5(e){var t=m5[rt(e)];if(t!==void 0)return t;switch(rt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!DE(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function v5(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Ae(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function FE(e){return Ae(e)&&rt(e)==="caption"}function La(e){return Ae(e)&&rt(e)==="input"}function E5(e){return Ae(e)&&rt(e)==="optgroup"}function _5(e){return Ae(e)&&rt(e)==="select"}function R5(e){return Ae(e)&&rt(e)==="table"}function w5(e){return Ae(e)&&rt(e)==="textarea"}function C5(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function S5(e){return Ae(e)&&rt(e)==="fieldset"}function A5(e){return Ae(e)&&rt(e)==="legend"}function T5(e){return Ae(e)&&rt(e)==="slot"}function P5(e){return Ae(e)&&e.ownerSVGElement!==void 0}function O5(e){return Ae(e)&&rt(e)==="svg"}function q5(e){return P5(e)&&rt(e)==="title"}function ei(e,t){if(Ae(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function Kt(e,t){return Ae(e)?t.indexOf(b5(e))!==-1:!1}function x5(e){return e.trim().replace(/\s\s+/g," ")}function M5(e,t){if(!Ae(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function N5(e){return Kt(e,["button","combobox","listbox","textbox"])||LE(e,"range")}function LE(e,t){if(!Ae(e))return!1;switch(t){case"range":return Kt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function ag(e,t){var r=Tt(e.querySelectorAll(t));return ei(e,"aria-owns").forEach(function(n){r.push.apply(r,Tt(n.querySelectorAll(t)))}),r}function j5(e){return _5(e)?e.selectedOptions||ag(e,"[selected]"):ag(e,'[aria-selected="true"]')}function I5(e){return Kt(e,["none","presentation"])}function D5(e){return FE(e)}function F5(e){return Kt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function L5(e){return!1}function B5(e){return La(e)||w5(e)?e.value:e.textContent||""}function ig(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function BE(e){var t=rt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function kE(e){if(BE(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Ae(r)){var n=kE(r);n!==null&&(t=n)}}),t}function k5(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):kE(e)}function $5(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Tt(t);if(!BE(e))return null;var r=e.ownerDocument;return Tt(r.querySelectorAll("label")).filter(function(n){return k5(n)===e})}function U5(e){var t=e.assignedNodes();return t.length===0?Tt(e.childNodes):t}function $E(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new f5,n=C5(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,l=t.getComputedStyle,c=l===void 0?n.getComputedStyle.bind(n):l,u=t.hidden,d=u===void 0?!1:u;function m(b,v){var C="";if(Ae(b)&&s){var S=c(b,"::before"),A=ig(S);C="".concat(A," ").concat(C)}var _=T5(b)?U5(b):Tt(b.childNodes).concat(ei(b,"aria-owns"));if(_.forEach(function(P){var N=y(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=Ae(P)?c(P).getPropertyValue("display"):"inline",j=B!=="inline"?" ":"";C+="".concat(j).concat(N).concat(j)}),Ae(b)&&s){var E=c(b,"::after"),R=ig(E);C="".concat(C," ").concat(R)}return C.trim()}function p(b,v){var C=b.getAttributeNode(v);return C!==null&&!r.has(C)&&C.value.trim()!==""?(r.add(C),C.value):null}function h(b){return Ae(b)?p(b,"title"):null}function g(b){if(!Ae(b))return null;if(S5(b)){r.add(b);for(var v=Tt(b.childNodes),C=0;C<v.length;C+=1){var S=v[C];if(A5(S))return y(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(R5(b)){r.add(b);for(var A=Tt(b.childNodes),_=0;_<A.length;_+=1){var E=A[_];if(FE(E))return y(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(O5(b)){r.add(b);for(var R=Tt(b.childNodes),P=0;P<R.length;P+=1){var N=R[P];if(q5(N))return N.textContent}return null}else if(rt(b)==="img"||rt(b)==="area"){var B=p(b,"alt");if(B!==null)return B}else if(E5(b)){var j=p(b,"label");if(j!==null)return j}if(La(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var F=p(b,"value");if(F!==null)return F;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var T=$5(b);if(T!==null&&T.length!==0)return r.add(b),Tt(T).map(function(G){return y(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(La(b)&&b.type==="image"){var M=p(b,"alt");if(M!==null)return M;var D=p(b,"title");return D!==null?D:"Submit Query"}if(Kt(b,["button"])){var Y=m(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(Y!=="")return Y}return null}function y(b,v){if(r.has(b))return"";if(!d&&M5(b,c)&&!v.isReferenced)return r.add(b),"";var C=Ae(b)?b.getAttributeNode("aria-labelledby"):null,S=C!==null&&!r.has(C)?ei(b,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&S.length>0)return r.add(C),S.map(function(B){return y(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var A=v.recursion&&N5(b)&&a==="name";if(!A){var _=(Ae(b)&&b.getAttribute("aria-label")||"").trim();if(_!==""&&a==="name")return r.add(b),_;if(!I5(b)){var E=g(b);if(E!==null)return r.add(b),E}}if(Kt(b,["menu"]))return r.add(b),"";if(A||v.isEmbeddedInLabel||v.isReferenced){if(Kt(b,["combobox","listbox"])){r.add(b);var R=j5(b);return R.length===0?La(b)?b.value:"":Tt(R).map(function(B){return y(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(LE(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Kt(b,["textbox"]))return r.add(b),B5(b)}if(F5(b)||Ae(b)&&v.isReferenced||D5(b)||L5()){var P=m(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});if(P!=="")return r.add(b),P}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),m(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});var N=h(b);return N!==null?(r.add(b),N):(r.add(b),"")}return x5(y(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function qo(e){"@babel/helpers - typeof";return qo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qo(e)}function sg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function lg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sg(Object(r),!0).forEach(function(n){H5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function H5(e,t,r){return t=V5(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V5(e){var t=z5(e,"string");return qo(t)==="symbol"?t:String(t)}function z5(e,t){if(qo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(qo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function UE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=ei(e,"aria-describedby").map(function(o){return $E(o,lg(lg({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function G5(e){return Kt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function wd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return G5(e)?"":$E(e,t)}var gt=pt(_D()),Y5=pt(RD());function HE(e){return e.replace(/</g,"<").replace(/>/g,">")}var W5=(e,t,r,n,o,a,i)=>{let s=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=i(u,r,s,o,a);return typeof u!="string"&&(d.indexOf(`
|
|
416
|
+
`)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+c+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},K5=3,X5=(e,t,r,n,o,a)=>e.map(i=>{let s=typeof i=="string"?VE(i,t):a(i,t,r,n,o);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==K5?"":t.spacingOuter+r+s}).join(""),VE=(e,t)=>{let r=t.colors.content;return r.open+HE(e)+r.close},J5=(e,t)=>{let r=t.colors.comment;return r.open+"<\!--"+HE(e)+"-->"+r.close},Q5=(e,t,r,n,o)=>{let a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+o+a.open)+(r?">"+a.close+r+n.spacingOuter+o+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},Z5=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},e3=1,zE=3,GE=8,YE=11,t3=/^((HTML|SVG)\w*)?Element$/,WE=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},r3=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===e3&&(t3.test(t)||WE(e))||r===zE&&t==="Text"||r===GE&&t==="Comment"||r===YE&&t==="DocumentFragment"};function n3(e){return e.nodeType===zE}function o3(e){return e.nodeType===GE}function fu(e){return e.nodeType===YE}function a3(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||WE(t))&&r3(t)},serialize:(t,r,n,o,a,i)=>{if(n3(t))return VE(t.data,r);if(o3(t))return J5(t.data,r);let s=fu(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?Z5(s,r):Q5(s,W5(fu(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),fu(t)?{}:Array.from(t.attributes).reduce((l,c)=>(l[c.name]=c.value,l),{}),r,n+r.indent,o,a,i),X5(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,a,i),r,n)}}}var KE=null,Cd=null,Sd=null;try{let e=module&&module.require;Cd=e.call(module,"fs").readFileSync,Sd=e.call(module,"@babel/code-frame").codeFrameColumns,KE=e.call(module,"chalk")}catch{}function i3(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[a,i,s]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],l="";try{l=Cd(a,"utf-8")}catch{return""}let c=Sd(l,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return KE.dim(n)+`
|
|
417
|
+
`+c+`
|
|
418
|
+
`}function s3(){if(!Cd||!Sd)return"";let e=new Error().stack.split(`
|
|
419
|
+
`).slice(1).find(t=>!t.includes("node_modules/"));return i3(e)}var XE=3;function mu(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Ad(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function JE(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function tr(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var l3=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:u3}=Rd.plugins,c3=1,d3=8;function p3(e){return e.nodeType!==d3&&(e.nodeType!==c3||!e.matches(de().defaultIgnore))}function xo(e,t,r){if(r===void 0&&(r={}),e||(e=Ad().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=p3,...a}=r,i=Rd.format(e,{plugins:[a3(o),u3],printFunctionName:!1,highlight:l3(),...a});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}var Zu=function(){let e=s3();console.log(e?xo(...arguments)+`
|
|
420
|
+
|
|
421
|
+
`+e:xo(...arguments))},Vr={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=xo(t),n=new Error([e,"Ignored nodes: comments, "+Vr.defaultIgnore+`
|
|
422
|
+
`+r].filter(Boolean).join(`
|
|
423
|
+
|
|
424
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function f3(e){try{return Vr._disableExpensiveErrorDiagnostics=!0,e()}finally{Vr._disableExpensiveErrorDiagnostics=!1}}function m3(e){typeof e=="function"&&(e=e(Vr)),Vr={...Vr,...e}}function de(){return Vr}var h3=["button","meter","output","progress","select","textarea","input"];function QE(e){return h3.includes(e.nodeName.toLowerCase())?"":e.nodeType===XE?e.textContent:Array.from(e.childNodes).map(t=>QE(t)).join("")}function ec(e){let t;return e.tagName.toLowerCase()==="label"?t=QE(e):t=e.value||e.textContent,t}function ZE(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!y3(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function y3(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function e1(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),a=o?o.split(" "):[];return a.length?a.map(i=>{let s=e.querySelector('[id="'+i+'"]');return s?{content:ec(s),formControl:null}:{content:"",formControl:null}}):Array.from(ZE(t)).map(i=>{let s=ec(i),l=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:s,formControl:l}})}function t1(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Vn(e,t,r,n){if(typeof e!="string")return!1;t1(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):r1(r,o)}function Jt(e,t,r,n){if(typeof e!="string")return!1;t1(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?r1(r,o):o===String(r)}function Td(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function Xr(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Td({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function r1(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function zo(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===XE&&!!t.textContent).map(t=>t.textContent).join("")}var b3=g3(gt.elementRoles);function n1(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ni(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=n1}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function Pd(e){for(let{match:t,roles:r}of b3)if(t(e))return[...r];return[]}function g3(e){function t(i){let{name:s,attributes:l}=i;return""+s+l.map(c=>{let{name:u,value:d,constraints:m=[]}=c,p=m.indexOf("undefined")!==-1,h=m.indexOf("set")!==-1;return typeof d<"u"?"["+u+'="'+d+'"]':p?":not(["+u+"])":h?"["+u+"]:not(["+u+'=""])':"["+u+"]"}).join("")}function r(i){let{attributes:s=[]}=i;return s.length}function n(i,s){let{specificity:l}=i,{specificity:c}=s;return c-l}function o(i){let{attributes:s=[]}=i,l=s.findIndex(u=>u.value&&u.name==="type"&&u.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);let c=t({...i,attributes:s});return u=>l>=0&&u.type!=="text"?!1:u.matches(c)}let a=[];for(let[i,s]of e.entries())a=[...a,{match:o(i),roles:Array.from(s),specificity:r(i)}];return a.sort(n)}function o1(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((a,i)=>[...a,...n(i)],[])]}return n(e).filter(o=>r===!1?Ni(o)===!1:!0).reduce((o,a)=>{let i=[];return a.hasAttribute("role")?i=a.getAttribute("role").split(" ").slice(0,1):i=Pd(a),i.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],a]}:{...s,[l]:[a]},o)},{})}function a1(e,t){let{hidden:r,includeDescription:n}=t,o=o1(e,{hidden:r});return Object.entries(o).filter(a=>{let[i]=a;return i!=="generic"}).map(a=>{let[i,s]=a,l="-".repeat(50),c=s.map(u=>{let d='Name "'+wd(u,{computedStyleSupportsPseudoElements:de().computedStyleSupportsPseudoElements})+`":
|
|
425
|
+
`,m=xo(u.cloneNode(!1));if(n){let p='Description "'+UE(u,{computedStyleSupportsPseudoElements:de().computedStyleSupportsPseudoElements})+`":
|
|
426
|
+
`;return""+d+p+m}return""+d+m}).join(`
|
|
427
|
+
|
|
428
|
+
`);return i+`:
|
|
429
|
+
|
|
430
|
+
`+c+`
|
|
431
|
+
|
|
432
|
+
`+l}).join(`
|
|
433
|
+
`)}var v3=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(a1(e,{hidden:r}))};function E3(e){return e.tagName==="OPTION"?e.selected:Go(e,"aria-selected")}function _3(e){return e.getAttribute("aria-busy")==="true"}function R3(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Go(e,"aria-checked")}function w3(e){return Go(e,"aria-pressed")}function C3(e){var t,r;return(t=(r=Go(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function S3(e){return Go(e,"aria-expanded")}function Go(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function A3(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function T3(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function P3(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function O3(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function q3(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var ug=Td();function x3(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function cg(e){return new RegExp(x3(e.toLowerCase()),"i")}function pr(e,t,r,n){let{variant:o,name:a}=n,i="",s={},l=[["Role","TestId"].includes(e)?r:cg(r)];a&&(s.name=cg(a)),e==="Role"&&Ni(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
434
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
435
|
+
`),Object.keys(s).length>0&&l.push(s);let c=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:l,variant:o,warning:i,toString(){i&&console.warn(i);let[u,d]=l;return u=typeof u=="string"?"'"+u+"'":u,d=d?", { "+Object.entries(d).map(m=>{let[p,h]=m;return p+": "+h}).join(", ")+" }":"",c+"("+u+d+")"}}}function fr(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function ti(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(de().defaultIgnore))return;let a=(n=e.getAttribute("role"))!=null?n:(o=Pd(e))==null?void 0:o[0];if(a!=="generic"&&fr("Role",r,a))return pr("Role",e,a,{variant:t,name:wd(e,{computedStyleSupportsPseudoElements:de().computedStyleSupportsPseudoElements})});let i=e1(document,e).map(m=>m.content).join(" ");if(fr("LabelText",r,i))return pr("LabelText",e,i,{variant:t});let s=e.getAttribute("placeholder");if(fr("PlaceholderText",r,s))return pr("PlaceholderText",e,s,{variant:t});let l=ug(zo(e));if(fr("Text",r,l))return pr("Text",e,l,{variant:t});if(fr("DisplayValue",r,e.value))return pr("DisplayValue",e,ug(e.value),{variant:t});let c=e.getAttribute("alt");if(fr("AltText",r,c))return pr("AltText",e,c,{variant:t});let u=e.getAttribute("title");if(fr("Title",r,u))return pr("Title",e,u,{variant:t});let d=e.getAttribute(de().testIdAttribute);if(fr("TestId",r,d))return pr("TestId",e,d,{variant:t})}function Pa(e,t){e.stack=t.stack.replace(t.message,e.message)}function M3(e,t){let{container:r=Ad(),timeout:n=de().asyncUtilTimeout,showOriginalStackTrace:o=de().showOriginalStackTrace,stackTraceError:a,interval:i=50,onTimeout:s=c=>(Object.defineProperty(c,"message",{value:de().getElementError(c.message,r).message}),c),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,u)=>{let d,m,p,h=!1,g="idle",y=setTimeout(A,n),b=mu();if(b){let{unstable_advanceTimersWrapper:_}=de();for(S();!h;){if(!mu()){let E=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||Pa(E,a),u(E);return}if(await _(async()=>{jest.advanceTimersByTime(i)}),h)break;S()}}else{try{tr(r)}catch(E){u(E);return}m=setInterval(C,i);let{MutationObserver:_}=JE(r);p=new _(C),p.observe(r,l),S()}function v(_,E){h=!0,clearTimeout(y),b||(clearInterval(m),p.disconnect()),_?u(_):c(E)}function C(){if(mu()){let _=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||Pa(_,a),u(_)}else return S()}function S(){if(g!=="pending")try{let _=f3(e);typeof _?.then=="function"?(g="pending",_.then(E=>{g="resolved",v(null,E)},E=>{g="rejected",d=E})):v(null,_)}catch(_){d=_}}function A(){let _;d?(_=d,!o&&_.name==="TestingLibraryElementError"&&Pa(_,a)):(_=new Error("Timed out in waitFor."),o||Pa(_,a)),v(s(_),null)}})}function Od(e,t){let r=new Error("STACK_TRACE_MESSAGE");return de().asyncWrapper(()=>M3(e,{stackTraceError:r,...t}))}function ji(e,t){return de().getElementError(e,t)}function Ii(e,t){return ji(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Jr(e,t,r,n){let{exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=n===void 0?{}:n,l=o?Jt:Vn,c=Xr({collapseWhitespace:a,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(u=>l(u.getAttribute(e),u,r,c))}function i1(e,t,r,n){let o=Jr(e,t,r,n);if(o.length>1)throw Ii("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function jn(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(i.length>1){let s=i.map(l=>ji(null,l).message).join(`
|
|
436
|
+
|
|
437
|
+
`);throw Ii(t(r,...o)+`
|
|
438
|
+
|
|
439
|
+
Here are the matching elements:
|
|
440
|
+
|
|
441
|
+
`+s,r)}return i[0]||null}}function s1(e,t){return de().getElementError(`A better query is available, try this:
|
|
442
|
+
`+e.toString()+`
|
|
443
|
+
`,t)}function qd(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(!i.length)throw de().getElementError(t(r,...o),r);return i}}function In(e){return(t,r,n,o)=>Od(()=>e(t,r,n),{container:t,...o})}var _r=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let s=e(n,...a),[{suggest:l=de().throwSuggestions}={}]=a.slice(-1);if(s&&l){let c=ti(s,r);if(c&&!t.endsWith(c.queryName))throw s1(c.toString(),n)}return s},lt=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let s=e(n,...a),[{suggest:l=de().throwSuggestions}={}]=a.slice(-1);if(s.length&&l){let c=[...new Set(s.map(u=>{var d;return(d=ti(u,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(ti(s[0],r).queryName))throw s1(c[0],n)}return s};function rr(e,t,r){let n=_r(jn(e,t),e.name,"query"),o=qd(e,r),a=jn(o,t),i=_r(a,e.name,"get"),s=lt(o,e.name.replace("query","get"),"getAll"),l=In(lt(o,e.name,"findAll")),c=In(_r(a,e.name,"find"));return[n,s,i,l,c]}var N3=Object.freeze({__proto__:null,getElementError:ji,wrapAllByQueryWithSuggestion:lt,wrapSingleQueryWithSuggestion:_r,getMultipleElementsFoundError:Ii,queryAllByAttribute:Jr,queryByAttribute:i1,makeSingleQuery:jn,makeGetAllQuery:qd,makeFindQuery:In,buildQueries:rr});function j3(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:ec(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var I3=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:a,normalizer:i}=r===void 0?{}:r,s=n?Jt:Vn,l=Xr({collapseWhitespace:a,trim:o,normalizer:i});return j3(e).filter(c=>{let{node:u,textToMatch:d}=c;return s(d,u,t,l)}).map(c=>{let{node:u}=c;return u})},Mo=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=r===void 0?{}:r;tr(e);let l=o?Jt:Vn,c=Xr({collapseWhitespace:a,trim:i,normalizer:s}),u=Array.from(e.querySelectorAll("*")).filter(d=>ZE(d).length||d.hasAttribute("aria-labelledby")).reduce((d,m)=>{let p=e1(e,m,{selector:n});p.filter(g=>!!g.formControl).forEach(g=>{l(g.content,g.formControl,t,c)&&g.formControl&&d.push(g.formControl)});let h=p.filter(g=>!!g.content).map(g=>g.content);return l(h.join(" "),m,t,c)&&d.push(m),h.length>1&&h.forEach((g,y)=>{l(g,m,t,c)&&d.push(m);let b=[...h];b.splice(y,1),b.length>1&&l(b.join(" "),m,t,c)&&d.push(m)}),d},[]).concat(Jr("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(u)).filter(d=>d.matches(n))},Gr=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let a=Mo(e,t,...n);if(!a.length){let i=I3(e,t,...n);if(i.length){let s=i.map(l=>D3(e,l)).filter(l=>!!l);throw s.length?de().getElementError(s.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
444
|
+
|
|
445
|
+
`),e):de().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw de().getElementError("Unable to find a label with the text of: "+t,e)}return a};function D3(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var l1=(e,t)=>"Found multiple elements with the text of: "+t,u1=_r(jn(Mo,l1),Mo.name,"query"),c1=jn(Gr,l1),d1=In(lt(Gr,Gr.name,"findAll")),p1=In(_r(c1,Gr.name,"find")),f1=lt(Gr,Gr.name,"getAll"),m1=_r(c1,Gr.name,"get"),h1=lt(Mo,Mo.name,"queryAll"),tc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return tr(t[0]),Jr("placeholder",...t)},F3=(e,t)=>"Found multiple elements with the placeholder text of: "+t,L3=(e,t)=>"Unable to find an element with the placeholder text of: "+t,y1=lt(tc,tc.name,"queryAll"),[b1,g1,v1,E1,_1]=rr(tc,F3,L3),rc=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,ignore:s=de().defaultIgnore,normalizer:l}=r===void 0?{}:r;tr(e);let c=o?Jt:Vn,u=Xr({collapseWhitespace:a,trim:i,normalizer:l}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(m=>!s||!m.matches(s)).filter(m=>c(zo(m),m,t,u))},B3=(e,t)=>"Found multiple elements with the text: "+t,k3=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:a,selector:i}=r,s=Xr({collapseWhitespace:n,trim:o,normalizer:a})(t.toString()),l=s!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(l?s+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+i+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},R1=lt(rc,rc.name,"queryAll"),[w1,C1,S1,A1,T1]=rr(rc,B3,k3),nc=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;tr(e);let s=n?Jt:Vn,l=Xr({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(u=>u.selected).some(u=>s(zo(u),u,t,l)):s(c.value,c,t,l))},$3=(e,t)=>"Found multiple elements with the display value: "+t+".",U3=(e,t)=>"Unable to find an element with the display value: "+t+".",P1=lt(nc,nc.name,"queryAll"),[O1,q1,x1,M1,N1]=rr(nc,$3,U3),H3=/^(img|input|area|.+-.+)$/i,oc=function(e,t,r){return r===void 0&&(r={}),tr(e),Jr("alt",e,t,r).filter(n=>H3.test(n.tagName))},V3=(e,t)=>"Found multiple elements with the alt text: "+t,z3=(e,t)=>"Unable to find an element with the alt text: "+t,j1=lt(oc,oc.name,"queryAll"),[I1,D1,F1,L1,B1]=rr(oc,V3,z3),G3=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},ac=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;tr(e);let s=n?Jt:Vn,l=Xr({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>s(c.getAttribute("title"),c,t,l)||G3(c)&&s(zo(c),c,t,l))},Y3=(e,t)=>"Found multiple elements with the title: "+t+".",W3=(e,t)=>"Unable to find an element with the title: "+t+".",k1=lt(ac,ac.name,"queryAll"),[$1,U1,H1,V1,z1]=rr(ac,Y3,W3),ic=function(e,t,r){let{hidden:n=de().defaultHidden,name:o,description:a,queryFallbacks:i=!1,selected:s,busy:l,checked:c,pressed:u,current:d,level:m,expanded:p,value:{now:h,min:g,max:y,text:b}={}}=r===void 0?{}:r;if(tr(e),s!==void 0){var v;if(((v=gt.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var C;if(((C=gt.roles.get(t))==null?void 0:C.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var S;if(((S=gt.roles.get(t))==null?void 0:S.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(u!==void 0){var A;if(((A=gt.roles.get(t))==null?void 0:A.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var _;if(((_=gt.roles.get(t))==null?void 0:_.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(m!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(h!==void 0){var E;if(((E=gt.roles.get(t))==null?void 0:E.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(y!==void 0){var R;if(((R=gt.roles.get(t))==null?void 0:R.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(g!==void 0){var P;if(((P=gt.roles.get(t))==null?void 0:P.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var N;if(((N=gt.roles.get(t))==null?void 0:N.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var B;if(((B=gt.roles.get(t))==null?void 0:B.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let j=new WeakMap;function F(T){return j.has(T)||j.set(T,n1(T)),j.get(T)}return Array.from(e.querySelectorAll(K3(t))).filter(T=>{if(T.hasAttribute("role")){let M=T.getAttribute("role");if(i)return M.split(" ").filter(Boolean).some(Y=>Y===t);let[D]=M.split(" ");return D===t}return Pd(T).some(M=>M===t)}).filter(T=>{if(s!==void 0)return s===E3(T);if(l!==void 0)return l===_3(T);if(c!==void 0)return c===R3(T);if(u!==void 0)return u===w3(T);if(d!==void 0)return d===C3(T);if(p!==void 0)return p===S3(T);if(m!==void 0)return m===A3(T);if(h!==void 0||y!==void 0||g!==void 0||b!==void 0){let D=!0;if(h!==void 0&&D&&(D=h===T3(T)),y!==void 0&&D&&(D=y===P3(T)),g!==void 0&&D&&(D=g===O3(T)),b!==void 0){var M;D&&(D=Jt((M=q3(T))!=null?M:null,T,b,Y=>Y))}return D}return!0}).filter(T=>o===void 0?!0:Jt(wd(T,{computedStyleSupportsPseudoElements:de().computedStyleSupportsPseudoElements}),T,o,M=>M)).filter(T=>a===void 0?!0:Jt(UE(T,{computedStyleSupportsPseudoElements:de().computedStyleSupportsPseudoElements}),T,a,M=>M)).filter(T=>n===!1?Ni(T,{isSubtreeInaccessible:F})===!1:!0)};function K3(e){var t;let r='*[role~="'+e+'"]',n=(t=gt.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(a=>{let{name:i}=a;return i}));return[r].concat(Array.from(o)).join(",")}var G1=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},X3=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+G1(n)},J3=function(e,t,r){let{hidden:n=de().defaultHidden,name:o,description:a}=r===void 0?{}:r;if(de()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+G1(o);let i="";Array.from(e.children).forEach(u=>{i+=a1(u,{hidden:n,includeDescription:a!==void 0})});let s;i.length===0?n===!1?s="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":s="There are no available roles.":s=(`
|
|
446
|
+
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
447
|
+
|
|
448
|
+
`+i.replace(/\n/g,`
|
|
449
|
+
`).replace(/\n\s\s\n/g,`
|
|
450
|
+
|
|
451
|
+
`)+`
|
|
452
|
+
`).trim();let l="";o===void 0?l="":typeof o=="string"?l=' and name "'+o+'"':l=" and name `"+o+"`";let c="";return a===void 0?c="":typeof a=="string"?c=' and description "'+a+'"':c=" and description `"+a+"`",(`
|
|
453
|
+
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+c+`
|
|
454
|
+
|
|
455
|
+
`+s).trim()},Y1=lt(ic,ic.name,"queryAll"),[W1,K1,X1,J1,Q1]=rr(ic,X3,J3),xd=()=>de().testIdAttribute,sc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return tr(t[0]),Jr(xd(),...t)},Q3=(e,t)=>"Found multiple elements by: ["+xd()+'="'+t+'"]',Z3=(e,t)=>"Unable to find an element by: ["+xd()+'="'+t+'"]',Z1=lt(sc,sc.name,"queryAll"),[e_,t_,r_,n_,o_]=rr(sc,Q3,Z3),ri=Object.freeze({__proto__:null,queryAllByLabelText:h1,queryByLabelText:u1,getAllByLabelText:f1,getByLabelText:m1,findAllByLabelText:d1,findByLabelText:p1,queryByPlaceholderText:b1,queryAllByPlaceholderText:y1,getByPlaceholderText:v1,getAllByPlaceholderText:g1,findAllByPlaceholderText:E1,findByPlaceholderText:_1,queryByText:w1,queryAllByText:R1,getByText:S1,getAllByText:C1,findAllByText:A1,findByText:T1,queryByDisplayValue:O1,queryAllByDisplayValue:P1,getByDisplayValue:x1,getAllByDisplayValue:q1,findAllByDisplayValue:M1,findByDisplayValue:N1,queryByAltText:I1,queryAllByAltText:j1,getByAltText:F1,getAllByAltText:D1,findAllByAltText:L1,findByAltText:B1,queryByTitle:$1,queryAllByTitle:k1,getByTitle:H1,getAllByTitle:U1,findAllByTitle:V1,findByTitle:z1,queryByRole:W1,queryAllByRole:Y1,getAllByRole:K1,getByRole:X1,findAllByRole:J1,findByRole:Q1,queryByTestId:e_,queryAllByTestId:Z1,getByTestId:r_,getAllByTestId:t_,findAllByTestId:n_,findByTestId:o_});function lc(e,t,r){return t===void 0&&(t=ri),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let a=t[o];return n[o]=a.bind(null,e),n},r)}var a_=e=>!e||Array.isArray(e)&&!e.length;function dg(e){if(a_(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function eU(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){dg(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let a=o.parentElement;if(a===null)return()=>null;for(;a.parentElement;)a=a.parentElement;return()=>a.contains(o)?o:null});e=()=>n.map(o=>o()).filter(Boolean)}return dg(e()),Od(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!a_(n))throw r},t)}var pg={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},fg={doubleClick:"dblClick"};function No(e,t){return de().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Ba(e,t,r,n){let{EventType:o="Event",defaultInit:a={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let i={...a,...r},{target:{value:s,files:l,...c}={}}=i;s!==void 0&&tU(t,s),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,c);let u=JE(t),d=u[o]||u.Event,m;if(typeof d=="function")m=new d(e,i);else{m=u.document.createEvent(o);let{bubbles:p,cancelable:h,detail:g,...y}=i;m.initEvent(e,p,h,g),Object.keys(y).forEach(b=>{m[b]=y[b]})}return["dataTransfer","clipboardData"].forEach(p=>{let h=i[p];typeof h=="object"&&(typeof u.DataTransfer=="function"?Object.defineProperty(m,p,{value:Object.getOwnPropertyNames(h).reduce((g,y)=>(Object.defineProperty(g,y,{value:h[y]}),g),new u.DataTransfer)}):Object.defineProperty(m,p,{value:h}))}),m}Object.keys(pg).forEach(e=>{let{EventType:t,defaultInit:r}=pg[e],n=e.toLowerCase();Ba[e]=(o,a)=>Ba(n,o,a,{EventType:t,defaultInit:r}),No[e]=(o,a)=>No(o,Ba[e](o,a))});function tU(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(fg).forEach(e=>{let t=fg[e];No[e]=function(){return No[t](...arguments)}});function rU(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
456
|
+
`)}function nU(e){return Y5.default.compressToEncodedURIComponent(rU(e))}function oU(e){return"https://testing-playground.com/#markup="+nU(e)}var aU=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Zu(n,t,r)):Zu(e,t,r),iU=function(e){if(e===void 0&&(e=Ad().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=oU(e.innerHTML);return console.log(`Open this URL in your browser
|
|
457
|
+
|
|
458
|
+
`+t),t},mg={debug:aU,logTestingPlaygroundURL:iU},sU=typeof document<"u"&&document.body?lc(document.body,ri,mg):Object.keys(ri).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),mg);function se(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}var uc;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(uc||(uc={}));function i_(e){return se(e,"button")||se(e,"input")&&e.type in uc}function Dt(e){var t;if(lU(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${uU(e)}`)}function lU(e){return e.nodeType===9}function uU(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function s_(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function Md(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l_=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){gr(this,"kind",void 0),gr(this,"type",void 0),gr(this,"file",null),gr(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},cU=class extends Array{add(...e){let t=new l_(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Oa(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return a=>t?a.type===(o?r:e):o?a.type.startsWith(`${r}/`):a.type===r}function dU(e){return new class{getData(t){var r;let n=(r=this.items.find(Oa(t,!0)))!==null&&r!==void 0?r:this.items.find(Oa(t,!1)),o="";return n?.getAsString(a=>{o=a}),o}setData(t,r){let n=this.items.findIndex(Oa(t,!0)),o=new l_(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(Oa(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){gr(this,"dropEffect","none"),gr(this,"effectAllowed","uninitialized"),gr(this,"items",new cU),gr(this,"files",Md(e,[]))}}}function Nd(e,t=[]){let r=typeof e.DataTransfer>"u"?dU(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Md(e,t)}),r}function pU(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function u_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c_(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){u_(this,"data",void 0),this.data=n}}(r)}var Dn=Symbol("Manage ClipboardSub");function hg(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(a=>a.startsWith("text/"));o&&(r+=await n.getType(o).then(a=>s_(a,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[c_(e,r)]}constructor(...r){super(...r),u_(this,"items",[])}},{[Dn]:t})}function jd(e){return!!e?.[Dn]}function fU(e){if(jd(e.navigator.clipboard))return e.navigator.clipboard[Dn];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=hg(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=hg(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Dn]}function mU(e){jd(e.navigator.clipboard)&&e.navigator.clipboard[Dn].resetClipboardStub()}function hU(e){jd(e.navigator.clipboard)&&e.navigator.clipboard[Dn].detachClipboardStub()}async function yU(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=Nd(t);for(let a of n)for(let i of a.types)o.setData(i,await a.getType(i).then(s=>s_(s,t.FileReader)));return o}async function d_(e,t){let r=Dt(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let i=t.items[a],s=pU(r,i);o.push(c_(r,s))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var ni=globalThis;typeof ni.afterEach=="function"&&ni.afterEach(()=>mU(globalThis.window));typeof ni.afterAll=="function"&&ni.afterAll(()=>hU(globalThis.window));function Yr(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function jo(e){let t=bU(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function bU(e){return e.nodeType===1?e:e.parentElement}function Fn(e){return p_(e)&&!e.readOnly||Yr(e)}var cc;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(cc||(cc={}));function p_(e){return se(e,"textarea")||se(e,"input")&&e.type in cc}var dc;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(dc||(dc={}));function gU(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function vU(e){return se(e,"textarea")||se(e,"input")&&e.type in dc}var f_=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function Id(e){return e.matches(f_)}var oi;(function(e){e["{"]="}",e["["]="]"})(oi||(oi={}));function m_(e,t){let r=0,n=e[r]in oi?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?EU(e,r,t):_U(e,r,o,t)}}function EU(e,t,r){let n=e[t];return h_(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function _U(e,t,r,n){var o,a;let i=e[t]==="/"?"/":"";t+=i.length;let s=r==="{"&&e[t]==="\\";t+=Number(s);let l=s?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];h_(l,e,t,n),t+=l.length;var c;let u=(c=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&c!==void 0?c:"";t+=u.length;let d=e[t]==="/"||!u&&e[t]===">"?e[t]:"";t+=d.length;let m=oi[r],p=e[t]===m?m:"";if(!p)throw new Error(y_([!u&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:l,releasePrevious:!!i,repeat:u?Math.max(Number(u.substr(1)),1):1,releaseSelf:RU(d,u)}}function h_(e,t,r,n){if(!e)throw new Error(y_("key descriptor",t[r],t,n))}function RU(e,t){if(e)return e==="/";if(t)return!1}function y_(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
459
|
+
See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
|
|
460
|
+
for more information about how userEvent parses your input.`}function wU(e){return new e.constructor(e.type,e)}var ot;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(ot||(ot={}));function mo(e,t){e.levelRefs[t]={}}function qa(e,t){return e.levelRefs[t]}var Tn;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(Tn||(Tn={}));function Qt(e){for(let r=e;r;r=r.parentElement)if(se(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(se(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Di(e){let t=e.activeElement;return t?.shadowRoot?Di(t.shadowRoot):Qt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function hu(e){var t;return(t=Di(e))!==null&&t!==void 0?t:e.body}function CU(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Ft(e){return b_(e)&&p_(e)}function SU(e){return b_(e)&&i_(e)}function b_(e){return e.nodeType===1}function AU(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&Ft(e)){let n=jo(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Ln(e,t){return de().eventWrapper(e)}function Rr(e){let t=CU(e,Id),r=Di(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Ln(t?()=>t.focus():()=>r?.blur()),AU(t??e.ownerDocument.body))}function TU(e){!Id(e)||Di(e.ownerDocument)!==e||Ln(()=>e.blur())}var wr={};wr.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&se(n,"label")&&n.control;if(o)return()=>{Id(o)&&Rr(o),r.dispatchEvent(o,wU(e))};if(se(t,"input",{type:"file"}))return()=>{TU(t),t.dispatchEvent(new(Dt(t)).Event("fileDialog")),Rr(t)}};var Bn=Symbol("Displayed value in UI"),Xt=Symbol("Displayed selection in UI"),ai=Symbol("Initial value to compare on blur");function PU(e){return typeof e=="object"&&Bn in e}function OU(e){return!!e&&typeof e=="object"&&Xt in e}function qU(e,t){e[ai]===void 0&&(e[ai]=e.value),e[Bn]=t,e.value=Object.assign(new String(t),{[Bn]:!0})}function Lt(e){return e[Bn]===void 0?e.value:String(e[Bn])}function Dd(e){e[Bn]=void 0}function g_(e){e[ai]=void 0}function xU(e){return e[ai]}function MU(e,t){e[Xt]=t}function zn(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Lt(e).length,a=d=>Math.max(0,Math.min(o,d)),i=n==="replace"||e[Xt]===void 0?a(r):e[Xt].anchorOffset,s=a(t),l=Math.min(i,s),c=Math.max(i,s);if(e[Xt]={anchorOffset:i,focusOffset:s},e.selectionStart===l&&e.selectionEnd===c)return;let u=Object.assign(new Number(l),{[Xt]:!0});try{e.setSelectionRange(u,c)}catch{}}function Io(e){var t,r,n;let o=(n=e[Xt])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function NU(e){return!!e[Xt]}function ka(e){e[Xt]=void 0}var ii=globalThis.parseInt;function jU(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ii(t[0],10),n=ii(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,yg(t,o)}return e.length===2?e:yg(t,2)}function yg(e,t){let r=e.slice(0,t),n=Math.min(ii(r,10),23),o=e.slice(t),a=ii(o,10),i=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}function v_(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function E_(e,t,r,n){if($a(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=bg(e,t,r);if(o){if($a(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(se(o,"br")){let a=bg(o,void 0,r);return a?$a(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&se(a,"br")?{node:o.parentNode,offset:xa(o)}:{node:a.parentNode,offset:xa(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:xa(o)}:void 0}else return{node:o.parentNode,offset:xa(o)+(r>0?1:0)}}}function bg(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Fd(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),DU(e,r===1?"next":"previous",IU)}function IU(e){if($a(e))return!0;if(Fd(e)){if(se(e,["input","textarea"]))return e.type!=="hidden";if(se(e,"br"))return!0}return!1}function xa(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Fd(e){return e.nodeType===1}function $a(e){return e.nodeType===3}function DU(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=FU(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Fd(e.parentNode)||!Yr(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function FU(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var Do=Symbol("Track programmatic changes for React workaround");function LU(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Dt(e).REACT_VERSION===17}function BU(e){LU(e)&&(e[Do]={previousValue:String(e.value),tracked:[]})}function kU(e,t){var r,n;(n=e[Do])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Do]||(Dd(e),zn(e,{focusOffset:t.length}))}function $U(e,t){var r;let n=e[Do];if(e[Do]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||Dd(e),NU(e)&&zn(e,{focusOffset:o?t:e.value.length})}function __(e){let t=UU(e);if(t&&Ft(t))return{type:"input",selection:Io(t)};let r=t?.ownerDocument.getSelection();return{type:jo(e)&&r?.anchorNode&&jo(r.anchorNode)?"contenteditable":"default",selection:r}}function UU(e){return e.nodeType===1?e:e.parentElement}function HU(e){let t=__(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Wr({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,a;if(__(e).type==="input")return zn(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(o=a.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function R_(e){return se(e,"input")&&["date","time"].includes(e.type)}function kn(e,t,r,n="insertText"){let o=HU(t);o&&(!R_(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?VU(e,t,o,r,n):zU(e,t,o,r,n)))}function VU(e,t,r,n,o){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let i=E_(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(i){a=!0;let s=r.cloneRange();s.comparePoint(i.node,i.offset)<0?s.setStart(i.node,i.offset):s.setEnd(i.node,i.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{let i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function zU(e,t,r,n,o){let a=n;if(vU(t)){let c=gU(t);if(c!==void 0&&n.length>0){let u=c-t.value.length;if(u>0)a=n.substring(0,u);else return}}let{newValue:i,newOffset:s,oldValue:l}=GU(a,t,r,o);i===l&&s===r.startOffset&&s===r.endOffset||se(t,"input",{type:"number"})&&!YU(i)||(qU(t,i),Wr({focusNode:t,anchorOffset:s,focusOffset:s}),R_(t)?v_(t,i)&&(gg(e,t,s,{}),e.dispatchUIEvent(t,"change"),g_(t)):gg(e,t,s,{data:n,inputType:o}))}function GU(e,t,{startOffset:r,endOffset:n},o){let a=Lt(t),i=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=a.substring(0,i),l=Math.min(a.length,r===n&&o==="deleteContentForward"?r+1:n),c=a.substring(l,a.length),u=`${s}${e}${c}`,d=i+e.length;if(se(t,"input",{type:"time"})){let m=jU(u);m!==""&&v_(t,m)&&(u=m,d=m.length)}return{oldValue:a,newValue:u,newOffset:d}}function gg(e,t,r,n){e.dispatchUIEvent(t,"input",n),$U(t,r)}function YU(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}wr.cut=(e,t,r)=>()=>{Fn(t)&&kn(r,t,"","deleteByCut")};function WU(e){return e?Yr(e)?e.textContent:Lt(e):null}function KU(e){let t=Dt(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function XU(e,t){let r=e.ownerDocument,n=r.querySelectorAll(f_),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||Qt(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,c)=>{let u=Number(l.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return u===d?0:u===0?1:d===0?-1:u-d});let a={},i=[r.body],s=se(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let c=l;if(se(c,"input",{type:"radio"})&&c.name){if(c===e){i.push(c);return}else if(c.name===s)return;if(c.checked){i=i.filter(u=>!se(u,"input",{type:"radio",name:c.name})),i.push(c),a[c.name]=c;return}if(typeof a[c.name]<"u")return}i.push(c)});for(let l=i.findIndex(c=>c===e);;)if(l+=t?-1:1,l===i.length?l=0:l===-1&&(l=i.length-1),i[l]===e||i[l]===r.body||KU(i[l]))return i[l]}function vg(e,t){if(Ft(e)){let r=Io(e);Wr({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=E_(r.focusNode,r.focusOffset,t);n&&Wr({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function w_(e){if(Ft(e))return Wr({focusNode:e,anchorOffset:0,focusOffset:Lt(e).length});var t;let r=(t=jo(e))!==null&&t!==void 0?t:e.ownerDocument.body;Wr({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function JU(e){if(Ft(e))return Io(e).startOffset===0&&Io(e).endOffset===Lt(e).length;var t;let r=(t=jo(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function ho(e,t,r){var n;if(Ft(e))return Wr({focusNode:e,anchorOffset:t,focusOffset:r});if(Yr(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Wr({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Ma(e,t,r){let n=Dt(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let a=o.findIndex(i=>i===t)+r;;a+=r){if(o[a]||(a=r>0?0:o.length-1),o[a]===t)return;Qt(o[a])||(Rr(o[a]),e.dispatchUIEvent(o[a],"click"))}}wr.keydown=(e,t,r)=>{var n,o;return(o=(n=Eg[e.key])===null||n===void 0?void 0:n.call(Eg,e,t,r))!==null&&o!==void 0?o:QU(e,t,r)};var Eg={ArrowDown:(e,t,r)=>{if(se(t,"input",{type:"radio"}))return()=>Ma(r,t,-1)},ArrowLeft:(e,t,r)=>se(t,"input",{type:"radio"})?()=>Ma(r,t,-1):()=>vg(t,-1),ArrowRight:(e,t,r)=>se(t,"input",{type:"radio"})?()=>Ma(r,t,1):()=>vg(t,1),ArrowUp:(e,t,r)=>{if(se(t,"input",{type:"radio"}))return()=>Ma(r,t,1)},Backspace:(e,t,r)=>{if(Fn(t))return()=>{kn(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Fn(t))return()=>{kn(r,t,"","deleteContentForward")}},End:(e,t)=>{if(se(t,["input","textarea"])||Yr(t))return()=>{var r,n;let o=(n=(r=WU(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;ho(t,o,o)}},Home:(e,t)=>{if(se(t,["input","textarea"])||Yr(t))return()=>{ho(t,0,0)}},PageDown:(e,t)=>{if(se(t,["input"]))return()=>{let r=Lt(t).length;ho(t,r,r)}},PageUp:(e,t)=>{if(se(t,["input"]))return()=>{ho(t,0,0)}},Tab:(e,t,r)=>()=>{let n=XU(t,r.system.keyboard.modifiers.Shift);Rr(n),Ft(n)&&zn(n,{anchorOffset:0,focusOffset:n.value.length})}},QU=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>w_(t)};wr.keypress=(e,t,r)=>{if(e.key==="Enter"){if(se(t,"button")||se(t,"input")&&ZU.includes(t.type)||se(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(se(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&e4.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Fn(t)){let n=e.key==="Enter"?Yr(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
461
|
+
`:e.key;return()=>kn(r,t,o,n)}};var ZU=["button","color","file","image","reset","submit"],e4=["email","month","password","search","tel","text","url","week"];wr.keyup=(e,t,r)=>{var n;return(n=_g[e.key])===null||n===void 0?void 0:n.call(_g,e,t,r)};var _g={" ":(e,t,r)=>{if(i_(t))return()=>r.dispatchUIEvent(t,"click")}};wr.paste=(e,t,r)=>{if(Fn(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&kn(r,t,o,"insertFromPaste")}};var C_={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function S_(e){return C_[e].EventType}var t4=["MouseEvent","PointerEvent"];function r4(e){return t4.includes(S_(e))}function n4(e){return S_(e)==="KeyboardEvent"}var o4={ClipboardEvent:[i4],Event:[],InputEvent:[Na,s4],MouseEvent:[Na,yu,Rg],PointerEvent:[Na,yu,Rg,u4],KeyboardEvent:[Na,yu,l4]};function A_(e,t,r){let n=Dt(t),{EventType:o,defaultInit:a}=C_[e],i=new(a4(n))[o](e,a);return o4[o].forEach(s=>s(i,r??{})),i}function a4(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var a;let i=(a=e.ClipboardEvent)!==null&&a!==void 0?a:class extends r{};var s;let l=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var c;let u=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var d;let m=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var p;let h=(p=e.UIEvent)!==null&&p!==void 0?p:class extends r{};var g;let y=(g=e.CompositionEvent)!==null&&g!==void 0?g:class extends h{};var b;let v=(b=e.FocusEvent)!==null&&b!==void 0?b:class extends h{};var C;let S=(C=e.InputEvent)!==null&&C!==void 0?C:class extends h{};var A;let _=(A=e.KeyboardEvent)!==null&&A!==void 0?A:class extends h{};var E;let R=(E=e.MouseEvent)!==null&&E!==void 0?E:class extends h{};var P;let N=(P=e.DragEvent)!==null&&P!==void 0?P:class extends R{};var B;let j=(B=e.PointerEvent)!==null&&B!==void 0?B:class extends R{};var F;let T=(F=e.TouchEvent)!==null&&F!==void 0?F:class extends h{};return{Event:r,AnimationEvent:o,ClipboardEvent:i,PopStateEvent:l,ProgressEvent:u,TransitionEvent:m,UIEvent:h,CompositionEvent:y,FocusEvent:v,InputEvent:S,KeyboardEvent:_,MouseEvent:R,DragEvent:N,PointerEvent:j,TouchEvent:T}}function Qr(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function He(e){return Number(e??0)}function i4(e,{clipboardData:t}){Qr(e,{clipboardData:t})}function s4(e,{data:t,inputType:r,isComposing:n}){Qr(e,{data:t,isComposing:!!n,inputType:String(r)})}function Na(e,{view:t,detail:r}){Qr(e,{view:t,detail:He(r??0)})}function yu(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:a,modifierCapsLock:i,modifierFn:s,modifierFnLock:l,modifierNumLock:c,modifierScrollLock:u,modifierSymbol:d,modifierSymbolLock:m}){Qr(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(p){return!!{Alt:t,AltGraph:a,CapsLock:i,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:c,ScrollLock:u,Shift:o,Symbol:d,SymbolLock:m}[p]}})}function l4(e,{key:t,code:r,location:n,repeat:o,isComposing:a,charCode:i}){Qr(e,{key:String(t),code:String(r),location:He(n),repeat:!!o,isComposing:!!a,charCode:i})}function Rg(e,{x:t,y:r,screenX:n,screenY:o,clientX:a=t,clientY:i=r,button:s,buttons:l,relatedTarget:c}){Qr(e,{screenX:He(n),screenY:He(o),clientX:He(a),x:He(a),clientY:He(i),y:He(i),button:He(s),buttons:He(l),relatedTarget:c})}function u4(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:a,tiltX:i,tiltY:s,twist:l,pointerType:c,isPrimary:u}){Qr(e,{pointerId:He(t),width:He(r),height:He(n),pressure:He(o),tangentialPressure:He(a),tiltX:He(i),tiltY:He(s),twist:He(l),pointerType:String(c),isPrimary:!!u})}function c4(e,t,r,n=!1){(r4(t)||n4(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=A_(t,e,r);return T_.call(this,e,o,n)}function T_(e,t,r=!1){var n;let o=t.type,a=r?()=>{}:(n=wr[o])===null||n===void 0?void 0:n.call(wr,t,e,this);if(a){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable}}),Ln(()=>e.dispatchEvent(t)),i||a(),!i}return Ln(()=>e.dispatchEvent(t))}function d4(e,t,r){let n=A_(t,e,r);Ln(()=>e.dispatchEvent(n))}var bu=Symbol("Interceptor for programmatical calls");function Cn(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),a=n?.set?"set":"value";if(typeof n?.[a]!="function"||n[a][bu])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){let{applyNative:l=!1,realArgs:c,then:u}=r.call(this,...s),d=(!l&&o||n)[a];a==="set"?d.call(this,c):d.call(this,...c),u?.()}i[bu]=bu,Object.defineProperty(e,t,{...o??n,[a]:i})}function p4(e){Cn(e,"value",function(t){let r=PU(t);return r&&BU(this),{applyNative:!!r,realArgs:f4(this,t),then:r?void 0:()=>kU(this,String(t))}})}function f4(e,t){return se(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function m4(e){Cn(e,"setSelectionRange",function(t,...r){let n=OU(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:ka(e)}}),Cn(e,"selectionStart",function(t){return{realArgs:t,then:()=>ka(e)}}),Cn(e,"selectionEnd",function(t){return{realArgs:t,then:()=>ka(e)}}),Cn(e,"select",function(){return{realArgs:[],then:()=>MU(e,{anchorOffset:0,focusOffset:Lt(e).length})}})}function h4(e){Cn(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Dd(e),ka(e)}}})}var Pn=Symbol("Node prepared with document state workarounds");function P_(e){e[Pn]||(e.addEventListener("focus",t=>{let r=t.target;wg(r)},{capture:!0,passive:!0}),e.activeElement&&wg(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=xU(r);n!==void 0&&(r.value!==n&&d4(r,"change"),g_(r))},{capture:!0,passive:!0}),e[Pn]=Pn)}function wg(e){e[Pn]||(se(e,["input","textarea"])&&(p4(e),m4(e),h4(e)),e[Pn]=Pn)}function y4(e){return b4(e)?e:e.ownerDocument}function b4(e){return e.nodeType===9}function $n(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vt;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(vt||(vt={}));var g4=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Cg(e){return g4.includes(e)}var v4=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Sg(e){return v4.includes(e)}var E4=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,o;let a=String(t.key),i=String(t.code),s=hu(e.config.document);this.setKeydownTarget(s);var l;(l=(r=this.pressed)[n=i])!==null&&l!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),Cg(a)&&(this.modifiers[a]=!0);let c=e.dispatchUIEvent(s,"keydown",{key:a,code:i});Sg(a)&&!this.modifiers[a]&&(this.modifiers[a]=!0,this.modifierLockStart[a]=!0),(o=this.pressed[i]).unpreventedDefault||(o.unpreventedDefault=c),c&&this.hasKeyPress(a)&&e.dispatchUIEvent(hu(e.config.document),"keypress",{key:a,code:i,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed[n].unpreventedDefault;delete this.pressed[n],Cg(r)&&!Object.values(this.pressed).find(a=>a.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(hu(e.config.document),"keyup",{key:r,code:n},!o),Sg(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){gn(this,"system",void 0),gn(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),gn(this,"pressed",{}),gn(this,"carryChar",""),gn(this,"lastKeydownTarget",void 0),gn(this,"modifierLockStart",{}),this.system=e}},_4=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:vt.LEFT},{code:"AltRight",key:"Alt",location:vt.RIGHT},{code:"ShiftLeft",key:"Shift",location:vt.LEFT},{code:"ShiftRight",key:"Shift",location:vt.RIGHT},{code:"ControlLeft",key:"Control",location:vt.LEFT},{code:"ControlRight",key:"Control",location:vt.RIGHT},{code:"MetaLeft",key:"Meta",location:vt.LEFT},{code:"MetaRight",key:"Meta",location:vt.RIGHT},{code:"OSLeft",key:"OS",location:vt.LEFT},{code:"OSRight",key:"OS",location:vt.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],R4=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function w4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O_=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=pc(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=pc(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){w4(this,"pressed",{})}},Ag={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function pc(e=0){return e in Ag?Ag[e]:Number(e)}var Tg={1:2,2:1};function Pg(e){return e=pc(e),e in Tg?Tg[e]:e}function C4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S4=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){C4(this,"pressedKeys",new Set)}};function Eo(e,t){let r=[];for(let a=e;a;a=a.parentElement)r.push(a);let n=[];for(let a=t;a;a=a.parentElement)n.push(a);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function fc({target:e,node:t,offset:r}){return Ft(e)?{node:e,offset:r??Lt(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:q_(e,r)}function q_(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let a=e.childNodes.item(n),i=String(a.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(a.nodeType===1)return q_(a,t,!1);if(a.nodeType===3)return{node:a,offset:t??a.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function A4({document:e,target:t,clickCount:r,node:n,offset:o}){if(SU(t))return;let a=Ft(t),i=String(a?Lt(t):t.textContent),[s,l]=n?[o,o]:T4(i,o,r);if(a)return zn(t,{anchorOffset:s??i.length,focusOffset:l??i.length}),{node:t,start:s??0,end:l??i.length};{let{node:c,offset:u}=fc({target:t,node:n,offset:s}),{node:d,offset:m}=fc({target:t,node:n,offset:l}),p=t.ownerDocument.createRange();try{p.setStart(c,u),p.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let h=e.getSelection();return h?.removeAllRanges(),h?.addRange(p.cloneRange()),p}}function T4(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function P4(e,{document:t,target:r,node:n,offset:o}){let a=fc({target:r,node:n,offset:o});if("node"in e){if(a.node===e.node){let i=a.offset<e.start?e.end:e.start,s=a.offset>e.end||a.offset<e.start?a.offset:e.end;zn(e.node,{anchorOffset:i,focusOffset:s})}}else{let i=e.cloneRange(),s=i.comparePoint(a.node,a.offset);s<0?i.setStart(a.node,a.offset):s>0&&i.setEnd(a.node,a.offset);let l=t.getSelection();l?.removeAllRanges(),l?.addRange(i.cloneRange())}}function x_(e,t){var r,n,o,a,i,s,l,c;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.y)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((i=e.caret)===null||i===void 0?void 0:i.node)!==((s=t.caret)===null||s===void 0?void 0:s.node)||((l=e.caret)===null||l===void 0?void 0:l.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O4=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!x_(r,t))return;let o=this.getTarget(e),a=this.getEventInit("mousemove"),[i,s]=Eo(n,o);return{leave:()=>{n!==o&&(e.dispatchUIEvent(n,"mouseout",a),i.forEach(l=>e.dispatchUIEvent(l,"mouseleave",a)))},enter:()=>{n!==o&&(e.dispatchUIEvent(o,"mouseover",a),s.forEach(l=>e.dispatchUIEvent(l,"mouseenter",a)))},move:()=>{e.dispatchUIEvent(o,"mousemove",a),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let a=Qt(o),i=this.getEventInit("mousedown",t.button);(a||e.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(e,i.detail),Rr(o)),!a&&Pg(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!Qt(o)){e.dispatchUIEvent(o,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let a=Eo(this.buttonDownTarget[n],o)[2][0];if(a){let i=this.getEventInit("click",t.button,r);i.detail&&(e.dispatchUIEvent(a,i.button===0?"click":"auxclick",i),i.button===0&&i.detail===2&&e.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",t.button),detail:i.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=Pg(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=A4({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&P4(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){kr(this,"position",{}),kr(this,"buttons",new O_),kr(this,"selecting",void 0),kr(this,"buttonDownTarget",{}),kr(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){kr(this,"down",{}),kr(this,"count",{})}})}};function si(e,t){var r;return((r=M_(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function q4(e){let t=Dt(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var Og=Symbol("Last check for pointer-events");function M_(e,t){let r=t[Og];if(!(e.config.pointerEventsCheck!==Tn.Never&&(!r||qg(e.config.pointerEventsCheck,Tn.EachApiCall)&&r[ot.Call]!==qa(e,ot.Call)||qg(e.config.pointerEventsCheck,Tn.EachTrigger)&&r[ot.Trigger]!==qa(e,ot.Trigger))))return r?.result;let n=q4(t);return t[Og]={[ot.Call]:qa(e,ot.Call),[ot.Trigger]:qa(e,ot.Trigger),result:n},n}function yo(e,t){let r=M_(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",x4(r.tree)].join(`
|
|
462
|
+
`))}function x4(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,M4(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
|
|
463
|
+
`)}function M4(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(se(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(i=>{var s;return(s=i.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(se(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function qg(e,t){return(e&t)>0}function mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xg=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=Eo(null,r),o=this.getEventInit();return yo(e,r),e.dispatchUIEvent(r,"pointerover",o),n.forEach(a=>e.dispatchUIEvent(a,"pointerenter",o)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!x_(r,t))return;let o=this.getTarget(e),a=this.getEventInit(),[i,s]=Eo(n,o);return{leave:()=>{si(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",a),i.forEach(l=>e.dispatchUIEvent(l,"pointerleave",a)))},enter:()=>{yo(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",a),s.forEach(l=>e.dispatchUIEvent(l,"pointerenter",a)))},move:()=>{e.dispatchUIEvent(o,"pointermove",a)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);yo(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);yo(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=Eo(t,null),n=this.getEventInit();si(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){mr(this,"pointerId",void 0),mr(this,"pointerType",void 0),mr(this,"isPrimary",void 0),mr(this,"isMultitouch",!1),mr(this,"isCancelled",!1),mr(this,"isDown",!1),mr(this,"isPrevented",!1),mr(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var N4=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),o.down(e,t),o.pointerType!=="touch"&&!o.isPrevented&&this.mouse.down(e,t,o)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),a=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);o?.leave(),a?.leave(),o?.enter(),a?.enter(),o?.move(),a?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t));if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t),o.pointerType==="touch"&&o.release(e),!o.isPrevented){if(o.pointerType==="touch"&&!o.isMultitouch){let a=this.mouse.move(e,o.position);a?.leave(),a?.enter(),a?.move(),this.mouse.down(e,t,o)}if(!o.isMultitouch){let a=this.mouse.move(e,o.position);a?.leave(),a?.enter(),a?.move(),this.mouse.up(e,t,o)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){hr(this,"system",void 0),hr(this,"mouse",void 0),hr(this,"buttons",void 0),hr(this,"devices",new class{get(t){var r,n,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0||(r[n]=new S4),this.registry[t]}constructor(){hr(this,"registry",{})}}),hr(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return n||Object.values(this.registry).forEach(o=>{o.pointerType===r.pointerType&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new xg({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){hr(this,"registry",{mouse:new xg({pointerId:1,pointerType:"mouse",isPrimary:!0})}),hr(this,"nextId",2)}}),this.system=e,this.buttons=new O_,this.mouse=new O4}};function Mg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var N_=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){Mg(this,"keyboard",new E4(this)),Mg(this,"pointer",new N4(this))}};async function j4(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function I4(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function D4(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function F4(e){return this.pointer({target:e})}async function L4(e){return yo(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function B4({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function k4(e,t){let r=[];do{let{type:o,descriptor:a,consumedLength:i,releasePrevious:s,releaseSelf:l=!0,repeat:c}=m_(t,"keyboard");var n;let u=(n=e.find(d=>{if(o==="["){var m;return((m=d.code)===null||m===void 0?void 0:m.toLowerCase())===a.toLowerCase()}else if(o==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===a.toLowerCase()}return d.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:a};r.push({keyDef:u,releasePrevious:s,releaseSelf:l,repeat:c}),t=t.slice(i)}while(t);return r}async function $4(e){let t=k4(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await $n(this.config),await U4(this,t[r])}async function U4(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let i=1;i<=o;i++)await a.keyboard.keydown(e,t),i<o&&await $n(e.config);n&&await a.keyboard.keyup(e,t)}}async function H4(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function j_(e){let t=Ft(e)?{"text/plain":V4(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Nd(Dt(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function V4(e){let t=Io(e);return Lt(e).substring(t.startOffset,t.endOffset)}async function z4(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=j_(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await d_(e,n),n}async function G4(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=j_(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await d_(r.ownerDocument,n),n}async function Y4(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let a=(o=typeof e=="string"?W4(t,e):e)!==null&&o!==void 0?o:await yU(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}function W4(e,t){let r=Nd(Dt(e));return r.setData("text",t),r}function Ng(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:a,releaseSelf:i=!0}=m_(t,"pointer"),s=e.find(l=>l.name===n);s&&r.push({keyDef:s,releasePrevious:a,releaseSelf:i}),t=t.slice(o)}while(t);return r}async function K4(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Ng(t,n)):"keys"in n?r.push(...Ng(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await $n(this.config),await X4(this,r[n]);this.system.pointer.resetClickCount()}async function X4(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(o);var i,s,l,c;let u={target:(i=t.target)!==null&&i!==void 0?i:J4(e,a),coords:(s=t.coords)!==null&&s!==void 0?s:a?.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:jg(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:jg(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(mo(e,ot.Trigger),await e.system.pointer.release(e,t.keyDef,u)),t.releasePrevious||(mo(e,ot.Trigger),await e.system.pointer.press(e,t.keyDef,u),t.releaseSelf&&(mo(e,ot.Trigger),await e.system.pointer.release(e,t.keyDef,u)))):(mo(e,ot.Trigger),await e.system.pointer.move(e,o,u))}function jg(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function J4(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function Q4(e){if(!Fn(e)||Qt(e))throw new Error("clear()` is only supported on editable elements.");if(Rr(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(w_(e),!JU(e))throw new Error("The element content to be cleared could not be selected.");kn(this,e,"","deleteContentBackward")}async function Z4(e,t){return I_.call(this,!0,e,t)}async function e9(e,t){return I_.call(this,!1,e,t)}async function I_(e,t,r){if(!e&&!t.multiple)throw de().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),a=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{let l=o.find(c=>c.value===s||c.innerHTML===s);if(l)return l;throw de().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Qt(s));if(Qt(t)||!a.length)return;let i=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(se(t,"select"))if(t.multiple)for(let s of a){let l=this.config.pointerEventsCheck===0?!0:si(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Rr(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),l&&this.dispatchUIEvent(s,"click"),await $n(this.config)}else if(a.length===1){let s=this.config.pointerEventsCheck===0?!0:si(this,t);s?await this.click(t):Rr(t),i(a[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await $n(this.config)}else throw de().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of a)await this.click(s),await this.unhover(s);else throw de().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function t9(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),o!==void 0&&ho(e,o,a??o),await this.keyboard(t),n||await H4(this))}var Ig=Symbol("files and value properties are mocked");function gu(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function r9(e,t){var r;(r=e[Ig])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function i(){gu(e,"type",n),gu(e,"value",o),gu(e,"files",a)}e[Ig]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")i();else{var l;o==null||(l=o.set)===null||l===void 0||l.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(i(),e.type=s)}}})}async function n9(e,t){let r=se(e,"label")?e.control:e;if(!r||!se(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Qt(e))return;let n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||o9(a,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((i,s)=>{var l;return i===((l=r.files)===null||l===void 0?void 0:l.item(s))})||(r9(r,Md(Dt(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function o9(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var Dg={click:j4,dblClick:I4,tripleClick:D4,hover:F4,unhover:L4,tab:B4,keyboard:$4,copy:z4,cut:G4,paste:Y4,pointer:K4,clear:Q4,deselectOptions:e9,selectOptions:Z4,type:t9,upload:n9};function a9(e){return de().asyncWrapper(e)}var D_={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:_4,pointerMap:R4,pointerEventsCheck:Tn.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},i9={...D_,writeToClipboard:!0};function F_(e={},t=i9,r){let n=c9(e,r,t);return{...t,...e,document:n}}function s9(e={}){let t=F_(e);P_(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return fU(n),Ld(t).api}function nt({keyboardState:e,pointerState:t,...r}={},n){let o=F_(r,D_,n);P_(o.document);var a;let i=(a=t??e)!==null&&a!==void 0?a:new N_;return{api:Ld(o,i).api,system:i}}function l9(e){return Ld({...this.config,...e},this.system).api}function u9(e,t){function r(...n){return mo(e,ot.Call),a9(()=>t.apply(e,n).then(async o=>(await $n(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ld(e,t=new N_){let r={};return Object.assign(r,{config:e,dispatchEvent:T_.bind(r),dispatchUIEvent:c4.bind(r),system:t,levelRefs:{},...Dg}),{instance:r,api:{...Object.fromEntries(Object.entries(Dg).map(([n,o])=>[n,u9(r,o)])),setup:l9.bind(r)}}}function c9(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&y4(t))!==null&&o!==void 0?o:r.document}var L_={};bc(L_,{clear:()=>d9,click:()=>p9,copy:()=>f9,cut:()=>m9,dblClick:()=>h9,deselectOptions:()=>y9,hover:()=>b9,keyboard:()=>g9,paste:()=>E9,pointer:()=>v9,selectOptions:()=>_9,tab:()=>A9,tripleClick:()=>R9,type:()=>w9,unhover:()=>C9,upload:()=>S9});function d9(e){return nt().api.clear(e)}function p9(e,t={}){return nt(t,e).api.click(e)}function f9(e={}){return nt(e).api.copy()}function m9(e={}){return nt(e).api.cut()}function h9(e,t={}){return nt(t).api.dblClick(e)}function y9(e,t,r={}){return nt(r).api.deselectOptions(e,t)}function b9(e,t={}){return nt(t).api.hover(e)}async function g9(e,t={}){let{api:r,system:n}=nt(t);return r.keyboard(e).then(()=>n)}async function v9(e,t={}){let{api:r,system:n}=nt(t);return r.pointer(e).then(()=>n)}function E9(e,t){return nt(t).api.paste(e)}function _9(e,t,r={}){return nt(r).api.selectOptions(e,t)}function R9(e,t={}){return nt(t).api.tripleClick(e)}function w9(e,t,r={}){return nt(r,e).api.type(e,t,r)}function C9(e,t={}){let{api:r,system:n}=nt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function S9(e,t,r={}){return nt(r).api.upload(e,t)}function A9(e={}){return nt().api.tab(e)}var T9={...L_,setup:s9};function P9(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(u){var d,m;return(m=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&m!==void 0?m:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
464
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
465
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,l){var c=i.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
466
|
+
`)&&(d=String(s).split(`
|
|
467
|
+
`).map(function(m,p){return p===0?m:""+u+m}).join(`
|
|
468
|
+
`)),i+=d+n[l+1]}),i}var O9=P9,mc=Aa({...jE},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});mc.screen=new Proxy(mc.screen,{get(e,t,r){return Ce.warn(O9`
|
|
469
|
+
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
470
|
+
More info: https://storybook.js.org/docs/essentials/interactions
|
|
471
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:VH,configure:zH,createEvent:GH,fireEvent:YH,findAllByAltText:WH,findAllByDisplayValue:KH,findAllByLabelText:XH,findAllByPlaceholderText:JH,findAllByRole:QH,findAllByTestId:ZH,findAllByText:eV,findAllByTitle:tV,findByAltText:rV,findByDisplayValue:nV,findByLabelText:oV,findByPlaceholderText:aV,findByRole:iV,findByTestId:sV,findByText:lV,findByTitle:uV,getAllByAltText:cV,getAllByDisplayValue:dV,getAllByLabelText:pV,getAllByPlaceholderText:fV,getAllByRole:mV,getAllByTestId:hV,getAllByText:yV,getAllByTitle:bV,getByAltText:gV,getByDisplayValue:vV,getByLabelText:EV,getByPlaceholderText:_V,getByRole:RV,getByTestId:wV,getByText:CV,getByTitle:SV,getConfig:AV,getDefaultNormalizer:TV,getElementError:PV,getNodeText:OV,getQueriesForElement:qV,getRoles:xV,getSuggestedQuery:MV,isInaccessible:NV,logDOM:jV,logRoles:IV,prettyDOM:DV,queries:FV,queryAllByAltText:LV,queryAllByAttribute:BV,queryAllByDisplayValue:kV,queryAllByLabelText:$V,queryAllByPlaceholderText:UV,queryAllByRole:HV,queryAllByTestId:VV,queryAllByText:zV,queryAllByTitle:GV,queryByAltText:YV,queryByAttribute:WV,queryByDisplayValue:KV,queryByLabelText:XV,queryByPlaceholderText:JV,queryByRole:QV,queryByTestId:ZV,queryByText:e8,queryByTitle:t8,queryHelpers:r8,screen:n8,waitFor:B_,waitForElementToBeRemoved:o8,within:Bd,prettyFormat:a8}=mc,{userEvent:Ar}=Aa({userEvent:T9},{intercept:!0}),{expect:ft}=Aa({expect:NE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===x){let n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),q9=({parameters:e})=>{e?.test?.mockReset===!0?r5():e?.test?.clearMocks===!0?t5():e?.test?.restoreMocks!==!1&&n5()},hc=(e,t=0,r)=>{if(t>5||e==null)return e;if(wE(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=Z$(e);return r&&n.mockName(r),n}if(Array.isArray(e)){t++;for(let n=0;n<e.length;n++)e[n]=hc(e[n],t)}if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,o]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=hc(o,t,n));return e}return e},x9=({initialArgs:e})=>{hc(e)},M9=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Bd(e.canvasElement))};Fe.__STORYBOOK_TEST_LOADERS__=[q9,x9,M9];Fe.__STORYBOOK_TEST_ON_MOCK_CALL__=Q$;var re=J_($_(),1);var Fi=window.React;function K(e,t,r){let{children:n,...o}=t||{};return r!==void 0&&(o.key=r),n===void 0?Fi.createElement(e,o):Array.isArray(n)?Fi.createElement(e,o,...n):Fi.createElement(e,o,n)}var sz=Fi.Fragment;var N9={title:"Components/Lib/Splitter",component:re.Splitter.Root,parameters:{layout:"padded"},tags:["autodocs","ds:lib"]},kd=N9,nr={height:420,width:"100%",minWidth:320,border:"1px solid var(--sl-border-subtle)",background:"var(--sl-surface-canvas)"},De={padding:16,height:"100%",boxSizing:"border-box"},j9={render:()=>K("div",{style:nr,children:K(re.Splitter.Root,{orientation:"horizontal",children:[K(re.Splitter.Panel,{id:"list",defaultSize:"35%",minSize:"20%",maxSize:"60%",children:K("div",{style:De,children:"List"})}),K(re.Splitter.Handle,{"aria-label":"Resize list"}),K(re.Splitter.Panel,{id:"detail",children:K("div",{style:De,children:"Detail"})})]})})},I9={render:()=>K("div",{style:nr,children:K(re.Splitter.Root,{orientation:"vertical",children:[K(re.Splitter.Panel,{id:"top",defaultSize:"30%",minSize:"15%",maxSize:"70%",children:K("div",{style:De,children:"Preview"})}),K(re.Splitter.Handle,{"aria-label":"Resize preview",grip:!0}),K(re.Splitter.Panel,{id:"body",children:K("div",{style:De,children:"Editor"})})]})})},D9={render:()=>K("div",{style:nr,children:K(re.Splitter.Root,{orientation:"horizontal",storageKey:"story-workstation",children:[K(re.Splitter.Panel,{id:"nav",defaultSize:"240px",minSize:"180px",maxSize:"400px",collapsible:!0,children:K("div",{style:De,children:"Navigation"})}),K(re.Splitter.Handle,{"aria-label":"Resize navigation"}),K(re.Splitter.Panel,{id:"main",children:K("div",{style:De,children:"Main"})}),K(re.Splitter.Handle,{"aria-label":"Resize documents",grip:!0}),K(re.Splitter.Panel,{id:"docs",defaultSize:"280px",minSize:"200px",maxSize:"480px",collapsible:!0,children:K("div",{style:De,children:"Documents"})})]})})},F9={render:()=>K("div",{style:nr,children:K(re.Splitter.Root,{orientation:"horizontal",children:[K(re.Splitter.Panel,{id:"side",defaultSize:"240px",minSize:"160px",maxSize:"360px",children:K("div",{style:De,children:"Side"})}),K(re.Splitter.Handle,{"aria-label":"Resize side"}),K(re.Splitter.Panel,{id:"main",children:K(re.Splitter.Root,{orientation:"vertical",children:[K(re.Splitter.Panel,{id:"edit",defaultSize:"60%",minSize:"30%",maxSize:"80%",children:K("div",{style:De,children:"Edit"})}),K(re.Splitter.Handle,{"aria-label":"Resize notes"}),K(re.Splitter.Panel,{id:"notes",children:K("div",{style:De,children:"Notes"})})]})})]})})},L9={render:()=>K("div",{style:nr,children:K(re.Splitter.Root,{orientation:"horizontal",children:[K(re.Splitter.Panel,{id:"fixed",defaultSize:"240px",children:K("div",{style:De,children:"Fixed"})}),K(re.Splitter.Handle,{"aria-label":"Resize fixed",disabled:!0}),K(re.Splitter.Panel,{id:"rest",children:K("div",{style:De,children:"The handle does not move."})})]})})},B9={render:()=>K("div",{dir:"rtl",style:nr,children:K(re.Splitter.Root,{orientation:"horizontal",children:[K(re.Splitter.Panel,{id:"start",defaultSize:"30%",minSize:"15%",maxSize:"50%",children:K("div",{style:De,children:"\u0628\u062F\u0627\u064A\u0629"})}),K(re.Splitter.Handle,{"aria-label":"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0639\u0631\u0636"}),K(re.Splitter.Panel,{id:"rest",children:K("div",{style:De,children:"\u0627\u0644\u0645\u062D\u062A\u0648\u0649"})})]})})},k9={render:()=>K("div",{style:{...nr,width:1e3},children:K(re.Splitter.Root,{orientation:"horizontal",children:[K(re.Splitter.Panel,{id:"list",defaultSize:"30%",minSize:"10%",maxSize:"80%",collapsible:!0,children:K("div",{style:De,children:"List"})}),K(re.Splitter.Handle,{"aria-label":"Resize list"}),K(re.Splitter.Panel,{id:"detail",children:K("div",{style:De,children:"Detail"})})]})}),play:async({canvasElement:e})=>{let r=Bd(e).getByRole("separator",{name:"Resize list"}),n=e.querySelector(".SplitterPanel");await B_(()=>ft(Number(r.getAttribute("aria-valuenow"))).toBeGreaterThan(0)),await Ar.tab(),ft(r).toHaveFocus();let o=Number(r.getAttribute("aria-valuenow"));await Ar.keyboard("{ArrowRight}{ArrowRight}");let a=Number(r.getAttribute("aria-valuenow"));ft(a-o).toBeGreaterThanOrEqual(8),ft(a-o).toBeLessThanOrEqual(12),await Ar.keyboard("{Shift>}{ArrowRight}{/Shift}");let i=Number(r.getAttribute("aria-valuenow"));ft(i-a).toBeGreaterThanOrEqual(8),ft(i-a).toBeLessThanOrEqual(12),await Ar.keyboard("{Home}"),ft(r.getAttribute("aria-valuenow")).toBe(r.getAttribute("aria-valuemin")),await Ar.keyboard("{End}"),ft(r.getAttribute("aria-valuenow")).toBe(r.getAttribute("aria-valuemax"));let s=n.style.getPropertyValue("--sl-splitter-panel-size");await Ar.keyboard("{Enter}"),ft(n).toHaveAttribute("hidden"),ft(r).toHaveAttribute("aria-expanded","false"),await Ar.keyboard("{Enter}"),ft(n).not.toHaveAttribute("hidden"),ft(n.style.getPropertyValue("--sl-splitter-panel-size")).toBe(s)}},$9={render:()=>K("div",{style:nr,children:K(re.Splitter.Root,{orientation:"horizontal",children:[K(re.Splitter.Panel,{id:"nav",defaultSize:"240px",minSize:"180px",maxSize:"400px",children:K("div",{style:{...De,height:"100%",overflow:"auto"},children:Array.from({length:40},(e,t)=>K("p",{style:{margin:"0 0 12px"},children:["Navigation row ",t+1,". The scrollbar is the browser's, at the edge beside the handle."]},t))})}),K(re.Splitter.Handle,{"aria-label":"Resize navigation"}),K(re.Splitter.Panel,{id:"main",children:K("div",{style:De,children:"Main"})})]})})},U9={render:()=>K("div",{style:nr,children:K(re.Splitter.Root,{orientation:"horizontal",children:[K(re.Splitter.Panel,{id:"scroll",defaultSize:"40%",minSize:"25%",maxSize:"70%",children:K(re.ScrollArea.Root,{style:{height:"100%"},children:[K(re.ScrollArea.Viewport,{children:K("div",{style:De,children:Array.from({length:24},(e,t)=>K("p",{style:{margin:"0 0 12px"},children:["Row ",t+1,". The scrollbar is at the edge, next to the handle."]},t))})}),K(re.ScrollArea.Scrollbar,{orientation:"vertical",children:K(re.ScrollArea.Thumb,{})})]})}),K(re.Splitter.Handle,{"aria-label":"Resize list"}),K(re.Splitter.Panel,{id:"rest",children:K("div",{style:De,children:"Detail"})})]})})};var Zr=window.React,U_=kd||{},H9=["Default","Vertical","Workstation","Nested"];function V9({id:e}){let t=$d[e],r={...U_.args||{},...t.args||{}};return(t.render||(o=>Zr.createElement(U_.component,o)))(r,{args:r,id:e,name:e})}var z9=H9.map(e=>Zr.createElement("section",{key:e,className:"ds-story"},Zr.createElement("p",{className:"ds-story-name"},e.replace(/([a-z])([A-Z])/g,"$1 $2")),Zr.createElement("div",{className:"ds-story-body"},Zr.createElement(V9,{id:e}))));window.ReactDOM.createRoot(document.getElementById("root")).render(Zr.createElement(Zr.Fragment,null,z9));})();
|
|
472
|
+
|
|
473
|
+
</script>
|
|
474
|
+
</body>
|
|
475
|
+
</html>
|