mobx-view-model-devtools 0.0.18 → 0.0.19

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--font-weight-semibold:600;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static_g5P-G{position:static}.container_ueeVi{width:100%}@media(min-width:40rem){.container_ueeVi{max-width:40rem}}@media(min-width:48rem){.container_ueeVi{max-width:48rem}}@media(min-width:64rem){.container_ueeVi{max-width:64rem}}@media(min-width:80rem){.container_ueeVi{max-width:80rem}}@media(min-width:96rem){.container_ueeVi{max-width:96rem}}.blur_9rZ6A{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.rootContainer_Z8gey *{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px}.vmButton_Xr1Q6{z-index:99;width:calc(var(--spacing)*9);height:calc(var(--spacing)*9);cursor:pointer;border-radius:var(--radius-lg);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));position:fixed}.vmButton_Xr1Q6[data-position=top-right],.vmButton_Xr1Q6[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}:is(.vmButton_Xr1Q6[data-position=top-right],.vmButton_Xr1Q6[data-position=undefined]).opened_gewqL{top:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=top-left].opened_gewqL{top:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=bottom-left].opened_gewqL{bottom:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=bottom-right].opened_gewqL{bottom:calc(var(--spacing)*-10)}.vmButton_Xr1Q6>img{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);position:absolute}.vmButton_Xr1Q6>div{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:#00000057;position:absolute}.vmButton_Xr1Q6>span{pointer-events:none;top:calc(var(--spacing)*-1);left:calc(var(--spacing)*-1);border-radius:var(--radius-lg);padding:calc(var(--spacing)*.5);--tw-leading:1;--tw-font-weight:var(--font-weight-semibold);font-size:12px;line-height:1;font-weight:var(--font-weight-semibold);color:#2aff0a;background-color:#005c26cf;display:flex;position:absolute}.vmButton_Xr1Q6.opened_gewqL{pointer-events:none}.vmButton_Xr1Q6:not(.isConnected_tjs3F){--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.closePopupButton_-08HG{width:28px;padding:6px}.baseActions_pkHeO{flex-direction:row;align-items:center;gap:4px;height:16px;margin-left:6px;margin-right:auto;display:flex}.hierarchyButton_h3FD7{border-radius:6px;width:18px;height:18px;padding:2px}.hierarchyButton_h3FD7.active_4JTx5{background:#f0f0f01f}.vmPopup_Q4l4j{z-index:99;border-radius:var(--radius-lg);width:calc(100vw - 34px);max-width:520px;height:calc(100vh - 24px);position:fixed}.vmPopup_Q4l4j[data-position=top-right],.vmPopup_Q4l4j[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}.vmContent_VAE7p{color:#ccc;background-color:#1e1e1e;flex-direction:column;display:flex;overflow:auto}.vmContent_VAE7p>header{height:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*2);--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);justify-content:space-between;align-items:center;display:flex}.vmContentInput_zbDAW{display:flex;position:relative}.vmContentInput_zbDAW>svg{pointer-events:none;opacity:.7;width:16px;position:absolute;inset:50% 0;transform:translate(6px,-50%)}.vmContentInput_zbDAW>input{text-overflow:ellipsis;background:#343434;border-radius:4px;outline:0;width:100%;padding:3px 26px;font-size:14px}.vmContentInput_zbDAW>button{opacity:.6;width:16px;display:none;position:absolute;top:50%;right:6px;transform:translate(4px,-50%)}.vmContentInput_zbDAW.filled_-3YUt>svg{opacity:.9}.vmContentInput_zbDAW.filled_-3YUt>button{display:block}.vmContentTree_BB36O{padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*2);scrollbar-width:thin;scrollbar-color:#81818170 #1e1e1e;flex-direction:column;display:flex;overflow:auto}.vmContentTree_BB36O:hover{scrollbar-color:#818181 #1e1e1e}.line_Xgaua.vmTreeItem_t-7jc{padding-left:calc(0px + (var(--level)*20px));z-index:1;position:sticky;top:-8px}.line_Xgaua.vmTreeItem_t-7jc>header{z-index:1;cursor:pointer;align-items:center;gap:calc(var(--spacing)*1);text-overflow:ellipsis;white-space:nowrap;background-color:#1e1e1e;margin-block:auto;display:flex;overflow:hidden}.line_Xgaua.vmTreeItem_t-7jc>header>label{background:#0f6013;border-radius:4px;padding:0 4px}.line_Xgaua.vmTreeItem_t-7jc>header>span{color:#5ab65e;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.line_Xgaua.vmTreeItem_t-7jc.extrasItem_MI9Fa>header>label{background:#6b6902}.line_Xgaua.vmTreeItem_t-7jc:not([data-fitted=true])>header{opacity:.6}.vmContentFilters_No1QW{background:#1e1e1e;width:100%;padding:0 8px}.propertyMeta_XxYHc{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}.propertyMeta_XxYHc.small_Ipy6s{font-size:10px;line-height:15px}.propertyValue_s9qHJ{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}.propertyValue_s9qHJ:has(+.property-name_2-sJi){margin-right:calc(var(--spacing)*1)}.line_Xgaua{text-overflow:ellipsis;white-space:nowrap;white-space:pre;height:22px;padding-left:calc(28px + (var(--level)*15px));background:#1e1e1e;flex-direction:row;align-items:center;font-size:14px;display:flex;position:relative;overflow:hidden}.line_Xgaua.expandable_2LUhL{cursor:pointer}.property_eoWZv[data-fitted=false]{opacity:.5}.property_eoWZv.instance_B-kEn>.propertyValue_s9qHJ{color:#ba82be}:is(.property_eoWZv.primitive_5yfCy.boolean_TwUVp,.property_eoWZv.primitive_5yfCy.number_AVdzm,.property_eoWZv.primitive_5yfCy.object_kn8wQ,.property_eoWZv.primitive_5yfCy.undefined_SMcns,.property_eoWZv.primitive_5yfCy.bigint_ZrO3O,.property_eoWZv.primitive_5yfCy.symbol_9GN4U)>.propertyValue_s9qHJ{color:#5999cd}.property_eoWZv.primitive_5yfCy.string_m1Kkx>.propertyValue_s9qHJ{color:#af7249}.expandButton_EObqt{color:#a0a0a0;cursor:pointer;width:16px;height:16px;font-weight:700;opacity:1!important}.expandButton_EObqt.expanded_uFpb7{color:#b8b8b8;transform:rotate(90deg)}.expandButton_EObqt.disabled_IDojS{opacity:.35!important}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode(".root_Xsw1F{display:contents}.root_Xsw1F *{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px}.vmButton_Xr1Q6{position:fixed;z-index:999999;width:36px;height:36px;cursor:pointer;border-radius:8px;transition:all .15s ease-in-out}.vmButton_Xr1Q6[data-position=top-right],.vmButton_Xr1Q6[data-position=undefined]{top:12px;right:12px}.vmButton_Xr1Q6[data-position=top-right].opened_gewqL,.vmButton_Xr1Q6[data-position=undefined].opened_gewqL{top:-40px}.vmButton_Xr1Q6[data-position=top-left]{top:12px;left:12px}.vmButton_Xr1Q6[data-position=top-left].opened_gewqL{top:-40px}.vmButton_Xr1Q6[data-position=bottom-left]{bottom:12px;left:12px}.vmButton_Xr1Q6[data-position=bottom-left].opened_gewqL{bottom:-40px}.vmButton_Xr1Q6[data-position=bottom-right]{bottom:12px;right:12px}.vmButton_Xr1Q6[data-position=bottom-right].opened_gewqL{bottom:-40px}.vmButton_Xr1Q6>img{pointer-events:none;position:absolute;inset:0;border-radius:8px}.vmButton_Xr1Q6>div{transition:all .15s ease-in-out;position:absolute;inset:0;border-radius:8px;border:2px solid #00000057}.vmButton_Xr1Q6>span{left:-4px;top:-4px;pointer-events:none;position:absolute;display:flex;border-radius:8px;background:#005c26cf;padding:2px;font-weight:600;font-size:12px;line-height:12px;color:#2aff0a}.vmButton_Xr1Q6.opened_gewqL{pointer-events:none}.vmButton_Xr1Q6:not(.isConnected_tjs3F){filter:grayscale(1)}.closePopupButton_-08HG{width:28px;padding:6px}.hierarchyButton_h3FD7{width:18px;height:18px;padding:2px;border-radius:6px}.hierarchyButton_h3FD7.active_4JTx5{background:#f0f0f01f}.vmPopup_Q4l4j{position:fixed;z-index:999999;width:520px;border-radius:8px;height:calc(100vh - 24px);width:calc(100vw - 34px);max-width:520px}.vmPopup_Q4l4j[data-position=top-right],.vmPopup_Q4l4j[data-position=undefined]{top:12px;right:12px}.vmPopup_Q4l4j[data-position=top-left]{top:12px;left:12px}.vmPopup_Q4l4j[data-position=bottom-left]{bottom:12px;left:12px}.vmPopup_Q4l4j[data-position=bottom-right]{bottom:12px;right:12px}.treeItemHeader_9gR6Q{display:flex;align-items:center;gap:4px;margin:auto 0;cursor:pointer;background:#1e1e1e;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItemLabel_eiMgP{padding:0 4px;border-radius:4px}.treeItemMetaText_cmfX0{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItem_sRXPA{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;background:#1e1e1e;height:22px;display:flex;flex-direction:row;align-items:center;padding-left:calc(0px + (var(--level) * 20px));position:sticky;top:-8px;z-index:1}.treeItem_sRXPA:not([data-fitted=true])>header{opacity:.6}.vmTreeItem_t-7jc .treeItemLabel_eiMgP{background:#0f6013}.vmTreeItem_t-7jc .treeItemMetaText_cmfX0{color:#5ab65e}.extrasItem_MI9Fa .treeItemLabel_eiMgP{background:#6b6902}.expandButton_EObqt{color:#a0a0a0;opacity:1!important;width:16px;height:16px;font-weight:700;cursor:pointer}.expandButton_EObqt.expanded_uFpb7{color:#b8b8b8;transform:rotate(90deg)}.expandButton_EObqt.disabled_IDojS{opacity:.35!important}.iconToggleButton_R48wm{display:flex;align-items:center;gap:2px;position:relative;height:20px;outline:none}.activePosition_IXsRn{position:absolute;height:16px;width:16px;padding:1px;box-sizing:content-box;background:#515151;border-radius:4px;transition:all 149ms ease;transform:translate(calc(20px * var(--index)))}.option_a5IcR{padding:1px;z-index:1;width:18px;height:18px;display:flex;align-items:center;justify-content:center}.option_a5IcR>svg{width:14px;height:14px}.property_tyrFk{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;background:#1e1e1e;height:22px;display:flex;flex-direction:row;align-items:center;position:relative;color:#616161;padding-left:calc(28px + (var(--level) * 15px))}.property_tyrFk.expandable_ZtNTw{cursor:pointer}.property_tyrFk[data-fitted=false]{opacity:.5}.property_tyrFk.instance_aPKFv{--value-color: rgb(186 130 190)}.property_tyrFk.primitive_mOPtu.boolean_H-c-u,.property_tyrFk.primitive_mOPtu.number_Mk-lR,.property_tyrFk.primitive_mOPtu.object_rbtD2,.property_tyrFk.primitive_mOPtu.undefined_xHzJR,.property_tyrFk.primitive_mOPtu.bigint_vEvWZ,.property_tyrFk.primitive_mOPtu.symbol_izwyn{--value-color: rgb(89, 153, 205)}.primitive_mOPtu.string_qjuUu{--value-color: #af7249}.propertyName_gpj0H{color:#ccc}.propertyMeta_xSfkm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_QT-FH{color:var(--value-color, #616161);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_QT-FH:has(+.propertyName_gpj0H){margin-right:4px}.vmContent_TIK57{color:#ccc;background:#1e1e1e;overflow:auto;display:flex;flex-direction:column}.vmContentHeader_M1JNM{display:flex;justify-content:space-between;align-items:center;height:32px;padding-left:8px;font-weight:600}.vmContentHeaderLogo_FRJDO{width:16px;margin-right:6px}.vmContentHeaderTitle_lYmde{font-size:16px;margin-right:auto}.vmContentControlPanel_CgUN9{padding:0 8px;width:100%;background:#1e1e1e;display:flex;flex-direction:row;gap:4px}.vmContentControlPanelActions_lONbA{display:flex;flex-direction:row;align-items:center}.hiearchyToggleButton_0FTG-{display:flex}.vmContentHeaderBaseActions_qc7CI{display:flex;flex-direction:row;gap:4px;height:16px;align-items:center;margin-left:6px;margin-right:auto}.vmContentInput_29GM1{display:flex;position:relative;flex:1}.vmContentInput_29GM1>svg{position:absolute;width:16px;inset:50% 0;transform:translate(6px,-50%);pointer-events:none;opacity:.7}.vmContentInput_29GM1>input{background:#343434;border-radius:4px;outline:0;width:100%;padding:3px 26px;font-size:14px;text-overflow:ellipsis}.vmContentInput_29GM1>button{position:absolute;right:6px;width:16px;transform:translate(4px,-50%);top:50%;opacity:.6;display:none}.vmContentInput_29GM1.filled_6JZa0>svg{opacity:.9}.vmContentInput_29GM1.filled_6JZa0>button{display:block}.vmContentTree_BETR6{display:flex;flex-direction:column;padding:8px;overflow:auto;scrollbar-width:thin;scrollbar-color:#81818170 #1e1e1e}.vmContentTree_BETR6:hover{scrollbar-color:#818181 #1e1e1e}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
2
  function getDefaultExportFromCjs(x2) {
3
3
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
4
4
  }
@@ -11603,11 +11603,11 @@ function requireReactDom_development() {
11603
11603
  return false;
11604
11604
  }
11605
11605
  }
11606
- function onScheduleRoot(root2, children) {
11606
+ function onScheduleRoot(root22, children) {
11607
11607
  {
11608
11608
  if (injectedHook && typeof injectedHook.onScheduleFiberRoot === "function") {
11609
11609
  try {
11610
- injectedHook.onScheduleFiberRoot(rendererID, root2, children);
11610
+ injectedHook.onScheduleFiberRoot(rendererID, root22, children);
11611
11611
  } catch (err) {
11612
11612
  if (!hasLoggedError) {
11613
11613
  hasLoggedError = true;
@@ -11617,10 +11617,10 @@ function requireReactDom_development() {
11617
11617
  }
11618
11618
  }
11619
11619
  }
11620
- function onCommitRoot(root2, eventPriority) {
11620
+ function onCommitRoot(root22, eventPriority) {
11621
11621
  if (injectedHook && typeof injectedHook.onCommitFiberRoot === "function") {
11622
11622
  try {
11623
- var didError = (root2.current.flags & DidCapture) === DidCapture;
11623
+ var didError = (root22.current.flags & DidCapture) === DidCapture;
11624
11624
  if (enableProfilerTimer) {
11625
11625
  var schedulerPriority;
11626
11626
  switch (eventPriority) {
@@ -11640,7 +11640,7 @@ function requireReactDom_development() {
11640
11640
  schedulerPriority = NormalPriority;
11641
11641
  break;
11642
11642
  }
11643
- injectedHook.onCommitFiberRoot(rendererID, root2, schedulerPriority, didError);
11643
+ injectedHook.onCommitFiberRoot(rendererID, root22, schedulerPriority, didError);
11644
11644
  }
11645
11645
  } catch (err) {
11646
11646
  {
@@ -11652,10 +11652,10 @@ function requireReactDom_development() {
11652
11652
  }
11653
11653
  }
11654
11654
  }
11655
- function onPostCommitRoot(root2) {
11655
+ function onPostCommitRoot(root22) {
11656
11656
  if (injectedHook && typeof injectedHook.onPostCommitFiberRoot === "function") {
11657
11657
  try {
11658
- injectedHook.onPostCommitFiberRoot(rendererID, root2);
11658
+ injectedHook.onPostCommitFiberRoot(rendererID, root22);
11659
11659
  } catch (err) {
11660
11660
  {
11661
11661
  if (!hasLoggedError) {
@@ -12154,14 +12154,14 @@ function requireReactDom_development() {
12154
12154
  return lanes;
12155
12155
  }
12156
12156
  }
12157
- function getNextLanes(root2, wipLanes) {
12158
- var pendingLanes = root2.pendingLanes;
12157
+ function getNextLanes(root22, wipLanes) {
12158
+ var pendingLanes = root22.pendingLanes;
12159
12159
  if (pendingLanes === NoLanes) {
12160
12160
  return NoLanes;
12161
12161
  }
12162
12162
  var nextLanes = NoLanes;
12163
- var suspendedLanes = root2.suspendedLanes;
12164
- var pingedLanes = root2.pingedLanes;
12163
+ var suspendedLanes = root22.suspendedLanes;
12164
+ var pingedLanes = root22.pingedLanes;
12165
12165
  var nonIdlePendingLanes = pendingLanes & NonIdleLanes;
12166
12166
  if (nonIdlePendingLanes !== NoLanes) {
12167
12167
  var nonIdleUnblockedLanes = nonIdlePendingLanes & ~suspendedLanes;
@@ -12205,9 +12205,9 @@ function requireReactDom_development() {
12205
12205
  if ((nextLanes & InputContinuousLane) !== NoLanes) {
12206
12206
  nextLanes |= pendingLanes & DefaultLane;
12207
12207
  }
12208
- var entangledLanes = root2.entangledLanes;
12208
+ var entangledLanes = root22.entangledLanes;
12209
12209
  if (entangledLanes !== NoLanes) {
12210
- var entanglements = root2.entanglements;
12210
+ var entanglements = root22.entanglements;
12211
12211
  var lanes = nextLanes & entangledLanes;
12212
12212
  while (lanes > 0) {
12213
12213
  var index2 = pickArbitraryLaneIndex(lanes);
@@ -12218,8 +12218,8 @@ function requireReactDom_development() {
12218
12218
  }
12219
12219
  return nextLanes;
12220
12220
  }
12221
- function getMostRecentEventTime(root2, lanes) {
12222
- var eventTimes = root2.eventTimes;
12221
+ function getMostRecentEventTime(root22, lanes) {
12222
+ var eventTimes = root22.eventTimes;
12223
12223
  var mostRecentEventTime = NoTimestamp;
12224
12224
  while (lanes > 0) {
12225
12225
  var index2 = pickArbitraryLaneIndex(lanes);
@@ -12276,11 +12276,11 @@ function requireReactDom_development() {
12276
12276
  return NoTimestamp;
12277
12277
  }
12278
12278
  }
12279
- function markStarvedLanesAsExpired(root2, currentTime) {
12280
- var pendingLanes = root2.pendingLanes;
12281
- var suspendedLanes = root2.suspendedLanes;
12282
- var pingedLanes = root2.pingedLanes;
12283
- var expirationTimes = root2.expirationTimes;
12279
+ function markStarvedLanesAsExpired(root22, currentTime) {
12280
+ var pendingLanes = root22.pendingLanes;
12281
+ var suspendedLanes = root22.suspendedLanes;
12282
+ var pingedLanes = root22.pingedLanes;
12283
+ var expirationTimes = root22.expirationTimes;
12284
12284
  var lanes = pendingLanes;
12285
12285
  while (lanes > 0) {
12286
12286
  var index2 = pickArbitraryLaneIndex(lanes);
@@ -12291,16 +12291,16 @@ function requireReactDom_development() {
12291
12291
  expirationTimes[index2] = computeExpirationTime(lane, currentTime);
12292
12292
  }
12293
12293
  } else if (expirationTime <= currentTime) {
12294
- root2.expiredLanes |= lane;
12294
+ root22.expiredLanes |= lane;
12295
12295
  }
12296
12296
  lanes &= ~lane;
12297
12297
  }
12298
12298
  }
12299
- function getHighestPriorityPendingLanes(root2) {
12300
- return getHighestPriorityLanes(root2.pendingLanes);
12299
+ function getHighestPriorityPendingLanes(root22) {
12300
+ return getHighestPriorityLanes(root22.pendingLanes);
12301
12301
  }
12302
- function getLanesToRetrySynchronouslyOnError(root2) {
12303
- var everythingButOffscreen = root2.pendingLanes & ~OffscreenLane;
12302
+ function getLanesToRetrySynchronouslyOnError(root22) {
12303
+ var everythingButOffscreen = root22.pendingLanes & ~OffscreenLane;
12304
12304
  if (everythingButOffscreen !== NoLanes) {
12305
12305
  return everythingButOffscreen;
12306
12306
  }
@@ -12325,12 +12325,12 @@ function requireReactDom_development() {
12325
12325
  function includesOnlyTransitions(lanes) {
12326
12326
  return (lanes & TransitionLanes) === lanes;
12327
12327
  }
12328
- function includesBlockingLane(root2, lanes) {
12328
+ function includesBlockingLane(root22, lanes) {
12329
12329
  var SyncDefaultLanes = InputContinuousHydrationLane | InputContinuousLane | DefaultHydrationLane | DefaultLane;
12330
12330
  return (lanes & SyncDefaultLanes) !== NoLanes;
12331
12331
  }
12332
- function includesExpiredLane(root2, lanes) {
12333
- return (lanes & root2.expiredLanes) !== NoLanes;
12332
+ function includesExpiredLane(root22, lanes) {
12333
+ return (lanes & root22.expiredLanes) !== NoLanes;
12334
12334
  }
12335
12335
  function isTransitionLane(lane) {
12336
12336
  return (lane & TransitionLanes) !== NoLanes;
@@ -12391,20 +12391,20 @@ function requireReactDom_development() {
12391
12391
  }
12392
12392
  return laneMap;
12393
12393
  }
12394
- function markRootUpdated(root2, updateLane, eventTime) {
12395
- root2.pendingLanes |= updateLane;
12394
+ function markRootUpdated(root22, updateLane, eventTime) {
12395
+ root22.pendingLanes |= updateLane;
12396
12396
  if (updateLane !== IdleLane) {
12397
- root2.suspendedLanes = NoLanes;
12398
- root2.pingedLanes = NoLanes;
12397
+ root22.suspendedLanes = NoLanes;
12398
+ root22.pingedLanes = NoLanes;
12399
12399
  }
12400
- var eventTimes = root2.eventTimes;
12400
+ var eventTimes = root22.eventTimes;
12401
12401
  var index2 = laneToIndex(updateLane);
12402
12402
  eventTimes[index2] = eventTime;
12403
12403
  }
12404
- function markRootSuspended(root2, suspendedLanes) {
12405
- root2.suspendedLanes |= suspendedLanes;
12406
- root2.pingedLanes &= ~suspendedLanes;
12407
- var expirationTimes = root2.expirationTimes;
12404
+ function markRootSuspended(root22, suspendedLanes) {
12405
+ root22.suspendedLanes |= suspendedLanes;
12406
+ root22.pingedLanes &= ~suspendedLanes;
12407
+ var expirationTimes = root22.expirationTimes;
12408
12408
  var lanes = suspendedLanes;
12409
12409
  while (lanes > 0) {
12410
12410
  var index2 = pickArbitraryLaneIndex(lanes);
@@ -12413,20 +12413,20 @@ function requireReactDom_development() {
12413
12413
  lanes &= ~lane;
12414
12414
  }
12415
12415
  }
12416
- function markRootPinged(root2, pingedLanes, eventTime) {
12417
- root2.pingedLanes |= root2.suspendedLanes & pingedLanes;
12418
- }
12419
- function markRootFinished(root2, remainingLanes) {
12420
- var noLongerPendingLanes = root2.pendingLanes & ~remainingLanes;
12421
- root2.pendingLanes = remainingLanes;
12422
- root2.suspendedLanes = NoLanes;
12423
- root2.pingedLanes = NoLanes;
12424
- root2.expiredLanes &= remainingLanes;
12425
- root2.mutableReadLanes &= remainingLanes;
12426
- root2.entangledLanes &= remainingLanes;
12427
- var entanglements = root2.entanglements;
12428
- var eventTimes = root2.eventTimes;
12429
- var expirationTimes = root2.expirationTimes;
12416
+ function markRootPinged(root22, pingedLanes, eventTime) {
12417
+ root22.pingedLanes |= root22.suspendedLanes & pingedLanes;
12418
+ }
12419
+ function markRootFinished(root22, remainingLanes) {
12420
+ var noLongerPendingLanes = root22.pendingLanes & ~remainingLanes;
12421
+ root22.pendingLanes = remainingLanes;
12422
+ root22.suspendedLanes = NoLanes;
12423
+ root22.pingedLanes = NoLanes;
12424
+ root22.expiredLanes &= remainingLanes;
12425
+ root22.mutableReadLanes &= remainingLanes;
12426
+ root22.entangledLanes &= remainingLanes;
12427
+ var entanglements = root22.entanglements;
12428
+ var eventTimes = root22.eventTimes;
12429
+ var expirationTimes = root22.expirationTimes;
12430
12430
  var lanes = noLongerPendingLanes;
12431
12431
  while (lanes > 0) {
12432
12432
  var index2 = pickArbitraryLaneIndex(lanes);
@@ -12437,9 +12437,9 @@ function requireReactDom_development() {
12437
12437
  lanes &= ~lane;
12438
12438
  }
12439
12439
  }
12440
- function markRootEntangled(root2, entangledLanes) {
12441
- var rootEntangledLanes = root2.entangledLanes |= entangledLanes;
12442
- var entanglements = root2.entanglements;
12440
+ function markRootEntangled(root22, entangledLanes) {
12441
+ var rootEntangledLanes = root22.entangledLanes |= entangledLanes;
12442
+ var entanglements = root22.entanglements;
12443
12443
  var lanes = rootEntangledLanes;
12444
12444
  while (lanes) {
12445
12445
  var index2 = pickArbitraryLaneIndex(lanes);
@@ -12454,7 +12454,7 @@ function requireReactDom_development() {
12454
12454
  lanes &= ~lane;
12455
12455
  }
12456
12456
  }
12457
- function getBumpedLaneForHydration(root2, renderLanes2) {
12457
+ function getBumpedLaneForHydration(root22, renderLanes2) {
12458
12458
  var renderLane = getHighestPriorityLane(renderLanes2);
12459
12459
  var lane;
12460
12460
  switch (renderLane) {
@@ -12494,16 +12494,16 @@ function requireReactDom_development() {
12494
12494
  lane = NoLane;
12495
12495
  break;
12496
12496
  }
12497
- if ((lane & (root2.suspendedLanes | renderLanes2)) !== NoLane) {
12497
+ if ((lane & (root22.suspendedLanes | renderLanes2)) !== NoLane) {
12498
12498
  return NoLane;
12499
12499
  }
12500
12500
  return lane;
12501
12501
  }
12502
- function addFiberToLanesMap(root2, fiber, lanes) {
12502
+ function addFiberToLanesMap(root22, fiber, lanes) {
12503
12503
  if (!isDevToolsPresent) {
12504
12504
  return;
12505
12505
  }
12506
- var pendingUpdatersLaneMap = root2.pendingUpdatersLaneMap;
12506
+ var pendingUpdatersLaneMap = root22.pendingUpdatersLaneMap;
12507
12507
  while (lanes > 0) {
12508
12508
  var index2 = laneToIndex(lanes);
12509
12509
  var lane = 1 << index2;
@@ -12512,12 +12512,12 @@ function requireReactDom_development() {
12512
12512
  lanes &= ~lane;
12513
12513
  }
12514
12514
  }
12515
- function movePendingFibersToMemoized(root2, lanes) {
12515
+ function movePendingFibersToMemoized(root22, lanes) {
12516
12516
  if (!isDevToolsPresent) {
12517
12517
  return;
12518
12518
  }
12519
- var pendingUpdatersLaneMap = root2.pendingUpdatersLaneMap;
12520
- var memoizedUpdaters = root2.memoizedUpdaters;
12519
+ var pendingUpdatersLaneMap = root22.pendingUpdatersLaneMap;
12520
+ var memoizedUpdaters = root22.memoizedUpdaters;
12521
12521
  while (lanes > 0) {
12522
12522
  var index2 = laneToIndex(lanes);
12523
12523
  var lane = 1 << index2;
@@ -12534,7 +12534,7 @@ function requireReactDom_development() {
12534
12534
  lanes &= ~lane;
12535
12535
  }
12536
12536
  }
12537
- function getTransitionsForLanes(root2, lanes) {
12537
+ function getTransitionsForLanes(root22, lanes) {
12538
12538
  {
12539
12539
  return null;
12540
12540
  }
@@ -12581,8 +12581,8 @@ function requireReactDom_development() {
12581
12581
  }
12582
12582
  return IdleEventPriority;
12583
12583
  }
12584
- function isRootDehydrated(root2) {
12585
- var currentState = root2.current.memoizedState;
12584
+ function isRootDehydrated(root22) {
12585
+ var currentState = root22.current.memoizedState;
12586
12586
  return currentState.isDehydrated;
12587
12587
  }
12588
12588
  var _attemptSynchronousHydration;
@@ -12753,8 +12753,8 @@ function requireReactDom_development() {
12753
12753
  return;
12754
12754
  }
12755
12755
  } else if (tag === HostRoot) {
12756
- var root2 = nearestMounted.stateNode;
12757
- if (isRootDehydrated(root2)) {
12756
+ var root22 = nearestMounted.stateNode;
12757
+ if (isRootDehydrated(root22)) {
12758
12758
  queuedTarget.blockedOn = getContainerFromFiber(nearestMounted);
12759
12759
  return;
12760
12760
  }
@@ -12904,25 +12904,25 @@ function requireReactDom_development() {
12904
12904
  }
12905
12905
  return listenerWrapper.bind(null, domEventName, eventSystemFlags, targetContainer);
12906
12906
  }
12907
- function dispatchDiscreteEvent(domEventName, eventSystemFlags, container2, nativeEvent) {
12907
+ function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) {
12908
12908
  var previousPriority = getCurrentUpdatePriority();
12909
12909
  var prevTransition = ReactCurrentBatchConfig.transition;
12910
12910
  ReactCurrentBatchConfig.transition = null;
12911
12911
  try {
12912
12912
  setCurrentUpdatePriority(DiscreteEventPriority);
12913
- dispatchEvent(domEventName, eventSystemFlags, container2, nativeEvent);
12913
+ dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
12914
12914
  } finally {
12915
12915
  setCurrentUpdatePriority(previousPriority);
12916
12916
  ReactCurrentBatchConfig.transition = prevTransition;
12917
12917
  }
12918
12918
  }
12919
- function dispatchContinuousEvent(domEventName, eventSystemFlags, container2, nativeEvent) {
12919
+ function dispatchContinuousEvent(domEventName, eventSystemFlags, container, nativeEvent) {
12920
12920
  var previousPriority = getCurrentUpdatePriority();
12921
12921
  var prevTransition = ReactCurrentBatchConfig.transition;
12922
12922
  ReactCurrentBatchConfig.transition = null;
12923
12923
  try {
12924
12924
  setCurrentUpdatePriority(ContinuousEventPriority);
12925
- dispatchEvent(domEventName, eventSystemFlags, container2, nativeEvent);
12925
+ dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
12926
12926
  } finally {
12927
12927
  setCurrentUpdatePriority(previousPriority);
12928
12928
  ReactCurrentBatchConfig.transition = prevTransition;
@@ -12988,8 +12988,8 @@ function requireReactDom_development() {
12988
12988
  }
12989
12989
  targetInst = null;
12990
12990
  } else if (tag === HostRoot) {
12991
- var root2 = nearestMounted.stateNode;
12992
- if (isRootDehydrated(root2)) {
12991
+ var root22 = nearestMounted.stateNode;
12992
+ if (isRootDehydrated(root22)) {
12993
12993
  return getContainerFromFiber(nearestMounted);
12994
12994
  }
12995
12995
  targetInst = null;
@@ -13125,16 +13125,16 @@ function requireReactDom_development() {
13125
13125
  });
13126
13126
  return listener;
13127
13127
  }
13128
- var root = null;
13128
+ var root2 = null;
13129
13129
  var startText = null;
13130
13130
  var fallbackText = null;
13131
13131
  function initialize(nativeEventTarget) {
13132
- root = nativeEventTarget;
13132
+ root2 = nativeEventTarget;
13133
13133
  startText = getText();
13134
13134
  return true;
13135
13135
  }
13136
13136
  function reset() {
13137
- root = null;
13137
+ root2 = null;
13138
13138
  startText = null;
13139
13139
  fallbackText = null;
13140
13140
  }
@@ -13164,10 +13164,10 @@ function requireReactDom_development() {
13164
13164
  return fallbackText;
13165
13165
  }
13166
13166
  function getText() {
13167
- if ("value" in root) {
13168
- return root.value;
13167
+ if ("value" in root2) {
13168
+ return root2.value;
13169
13169
  }
13170
- return root.textContent;
13170
+ return root2.textContent;
13171
13171
  }
13172
13172
  function getEventCharCode(nativeEvent) {
13173
13173
  var charCode;
@@ -13997,8 +13997,8 @@ function requireReactDom_development() {
13997
13997
  node = node.parentNode;
13998
13998
  }
13999
13999
  }
14000
- function getNodeForCharacterOffset(root2, offset) {
14001
- var node = getLeafNode(root2);
14000
+ function getNodeForCharacterOffset(root22, offset) {
14001
+ var node = getLeafNode(root22);
14002
14002
  var nodeStart = 0;
14003
14003
  var nodeEnd = 0;
14004
14004
  while (node) {
@@ -14638,8 +14638,8 @@ function requireReactDom_development() {
14638
14638
  }
14639
14639
  var nodeTag = node.tag;
14640
14640
  if (nodeTag === HostRoot || nodeTag === HostPortal) {
14641
- var container2 = node.stateNode.containerInfo;
14642
- if (isMatchingRootContainer(container2, targetContainerNode)) {
14641
+ var container = node.stateNode.containerInfo;
14642
+ if (isMatchingRootContainer(container, targetContainerNode)) {
14643
14643
  break;
14644
14644
  }
14645
14645
  if (nodeTag === HostPortal) {
@@ -14655,8 +14655,8 @@ function requireReactDom_development() {
14655
14655
  grandNode = grandNode.return;
14656
14656
  }
14657
14657
  }
14658
- while (container2 !== null) {
14659
- var parentNode = getClosestInstanceFromNode(container2);
14658
+ while (container !== null) {
14659
+ var parentNode = getClosestInstanceFromNode(container);
14660
14660
  if (parentNode === null) {
14661
14661
  return;
14662
14662
  }
@@ -14665,7 +14665,7 @@ function requireReactDom_development() {
14665
14665
  node = ancestorInst = parentNode;
14666
14666
  continue mainLoop;
14667
14667
  }
14668
- container2 = container2.parentNode;
14668
+ container = container.parentNode;
14669
14669
  }
14670
14670
  }
14671
14671
  node = node.return;
@@ -15790,14 +15790,14 @@ function requireReactDom_development() {
15790
15790
  case DOCUMENT_NODE:
15791
15791
  case DOCUMENT_FRAGMENT_NODE: {
15792
15792
  type = nodeType === DOCUMENT_NODE ? "#document" : "#fragment";
15793
- var root2 = rootContainerInstance.documentElement;
15794
- namespace = root2 ? root2.namespaceURI : getChildNamespace(null, "");
15793
+ var root22 = rootContainerInstance.documentElement;
15794
+ namespace = root22 ? root22.namespaceURI : getChildNamespace(null, "");
15795
15795
  break;
15796
15796
  }
15797
15797
  default: {
15798
- var container2 = nodeType === COMMENT_NODE ? rootContainerInstance.parentNode : rootContainerInstance;
15799
- var ownNamespace = container2.namespaceURI || null;
15800
- type = container2.tagName;
15798
+ var container = nodeType === COMMENT_NODE ? rootContainerInstance.parentNode : rootContainerInstance;
15799
+ var ownNamespace = container.namespaceURI || null;
15800
+ type = container.tagName;
15801
15801
  namespace = getChildNamespace(ownNamespace, type);
15802
15802
  break;
15803
15803
  }
@@ -15945,16 +15945,16 @@ function requireReactDom_development() {
15945
15945
  function appendChild(parentInstance, child) {
15946
15946
  parentInstance.appendChild(child);
15947
15947
  }
15948
- function appendChildToContainer(container2, child) {
15948
+ function appendChildToContainer(container, child) {
15949
15949
  var parentNode;
15950
- if (container2.nodeType === COMMENT_NODE) {
15951
- parentNode = container2.parentNode;
15952
- parentNode.insertBefore(child, container2);
15950
+ if (container.nodeType === COMMENT_NODE) {
15951
+ parentNode = container.parentNode;
15952
+ parentNode.insertBefore(child, container);
15953
15953
  } else {
15954
- parentNode = container2;
15954
+ parentNode = container;
15955
15955
  parentNode.appendChild(child);
15956
15956
  }
15957
- var reactRootContainer = container2._reactRootContainer;
15957
+ var reactRootContainer = container._reactRootContainer;
15958
15958
  if ((reactRootContainer === null || reactRootContainer === void 0) && parentNode.onclick === null) {
15959
15959
  trapClickOnNonInteractiveElement(parentNode);
15960
15960
  }
@@ -15962,21 +15962,21 @@ function requireReactDom_development() {
15962
15962
  function insertBefore(parentInstance, child, beforeChild) {
15963
15963
  parentInstance.insertBefore(child, beforeChild);
15964
15964
  }
15965
- function insertInContainerBefore(container2, child, beforeChild) {
15966
- if (container2.nodeType === COMMENT_NODE) {
15967
- container2.parentNode.insertBefore(child, beforeChild);
15965
+ function insertInContainerBefore(container, child, beforeChild) {
15966
+ if (container.nodeType === COMMENT_NODE) {
15967
+ container.parentNode.insertBefore(child, beforeChild);
15968
15968
  } else {
15969
- container2.insertBefore(child, beforeChild);
15969
+ container.insertBefore(child, beforeChild);
15970
15970
  }
15971
15971
  }
15972
15972
  function removeChild(parentInstance, child) {
15973
15973
  parentInstance.removeChild(child);
15974
15974
  }
15975
- function removeChildFromContainer(container2, child) {
15976
- if (container2.nodeType === COMMENT_NODE) {
15977
- container2.parentNode.removeChild(child);
15975
+ function removeChildFromContainer(container, child) {
15976
+ if (container.nodeType === COMMENT_NODE) {
15977
+ container.parentNode.removeChild(child);
15978
15978
  } else {
15979
- container2.removeChild(child);
15979
+ container.removeChild(child);
15980
15980
  }
15981
15981
  }
15982
15982
  function clearSuspenseBoundary(parentInstance, suspenseInstance) {
@@ -16003,13 +16003,13 @@ function requireReactDom_development() {
16003
16003
  } while (node);
16004
16004
  retryIfBlockedOn(suspenseInstance);
16005
16005
  }
16006
- function clearSuspenseBoundaryFromContainer(container2, suspenseInstance) {
16007
- if (container2.nodeType === COMMENT_NODE) {
16008
- clearSuspenseBoundary(container2.parentNode, suspenseInstance);
16009
- } else if (container2.nodeType === ELEMENT_NODE) {
16010
- clearSuspenseBoundary(container2, suspenseInstance);
16006
+ function clearSuspenseBoundaryFromContainer(container, suspenseInstance) {
16007
+ if (container.nodeType === COMMENT_NODE) {
16008
+ clearSuspenseBoundary(container.parentNode, suspenseInstance);
16009
+ } else if (container.nodeType === ELEMENT_NODE) {
16010
+ clearSuspenseBoundary(container, suspenseInstance);
16011
16011
  }
16012
- retryIfBlockedOn(container2);
16012
+ retryIfBlockedOn(container);
16013
16013
  }
16014
16014
  function hideInstance(instance2) {
16015
16015
  instance2 = instance2;
@@ -16032,12 +16032,12 @@ function requireReactDom_development() {
16032
16032
  function unhideTextInstance(textInstance, text2) {
16033
16033
  textInstance.nodeValue = text2;
16034
16034
  }
16035
- function clearContainer(container2) {
16036
- if (container2.nodeType === ELEMENT_NODE) {
16037
- container2.textContent = "";
16038
- } else if (container2.nodeType === DOCUMENT_NODE) {
16039
- if (container2.documentElement) {
16040
- container2.removeChild(container2.documentElement);
16035
+ function clearContainer(container) {
16036
+ if (container.nodeType === ELEMENT_NODE) {
16037
+ container.textContent = "";
16038
+ } else if (container.nodeType === DOCUMENT_NODE) {
16039
+ if (container.documentElement) {
16040
+ container.removeChild(container.documentElement);
16041
16041
  }
16042
16042
  }
16043
16043
  }
@@ -16175,8 +16175,8 @@ function requireReactDom_development() {
16175
16175
  }
16176
16176
  return null;
16177
16177
  }
16178
- function commitHydratedContainer(container2) {
16179
- retryIfBlockedOn(container2);
16178
+ function commitHydratedContainer(container) {
16179
+ retryIfBlockedOn(container);
16180
16180
  }
16181
16181
  function commitHydratedSuspenseInstance(suspenseInstance) {
16182
16182
  retryIfBlockedOn(suspenseInstance);
@@ -18417,8 +18417,8 @@ function requireReactDom_development() {
18417
18417
  parent = parent.return;
18418
18418
  }
18419
18419
  if (node.tag === HostRoot) {
18420
- var root2 = node.stateNode;
18421
- return root2;
18420
+ var root22 = node.stateNode;
18421
+ return root22;
18422
18422
  } else {
18423
18423
  return null;
18424
18424
  }
@@ -18499,7 +18499,7 @@ function requireReactDom_development() {
18499
18499
  return enqueueConcurrentClassUpdate(fiber, sharedQueue, update, lane);
18500
18500
  }
18501
18501
  }
18502
- function entangleTransitions(root2, fiber, lane) {
18502
+ function entangleTransitions(root22, fiber, lane) {
18503
18503
  var updateQueue = fiber.updateQueue;
18504
18504
  if (updateQueue === null) {
18505
18505
  return;
@@ -18507,10 +18507,10 @@ function requireReactDom_development() {
18507
18507
  var sharedQueue = updateQueue.shared;
18508
18508
  if (isTransitionLane(lane)) {
18509
18509
  var queueLanes = sharedQueue.lanes;
18510
- queueLanes = intersectLanes(queueLanes, root2.pendingLanes);
18510
+ queueLanes = intersectLanes(queueLanes, root22.pendingLanes);
18511
18511
  var newQueueLanes = mergeLanes(queueLanes, lane);
18512
18512
  sharedQueue.lanes = newQueueLanes;
18513
- markRootEntangled(root2, newQueueLanes);
18513
+ markRootEntangled(root22, newQueueLanes);
18514
18514
  }
18515
18515
  }
18516
18516
  function enqueueCapturedUpdate(workInProgress2, capturedUpdate) {
@@ -18936,13 +18936,13 @@ function requireReactDom_development() {
18936
18936
  }
18937
18937
  workInProgressSources.length = 0;
18938
18938
  }
18939
- function registerMutableSourceForHydration(root2, mutableSource) {
18939
+ function registerMutableSourceForHydration(root22, mutableSource) {
18940
18940
  var getVersion = mutableSource._getVersion;
18941
18941
  var version = getVersion(mutableSource._source);
18942
- if (root2.mutableSourceEagerHydrationData == null) {
18943
- root2.mutableSourceEagerHydrationData = [mutableSource, version];
18942
+ if (root22.mutableSourceEagerHydrationData == null) {
18943
+ root22.mutableSourceEagerHydrationData = [mutableSource, version];
18944
18944
  } else {
18945
- root2.mutableSourceEagerHydrationData.push(mutableSource, version);
18945
+ root22.mutableSourceEagerHydrationData.push(mutableSource, version);
18946
18946
  }
18947
18947
  }
18948
18948
  var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig;
@@ -19411,11 +19411,11 @@ function requireReactDom_development() {
19411
19411
  }
19412
19412
  }
19413
19413
  }
19414
- var root2 = getWorkInProgressRoot();
19415
- if (root2 === null) {
19414
+ var root22 = getWorkInProgressRoot();
19415
+ if (root22 === null) {
19416
19416
  throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
19417
19417
  }
19418
- if (!includesBlockingLane(root2, renderLanes)) {
19418
+ if (!includesBlockingLane(root22, renderLanes)) {
19419
19419
  pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
19420
19420
  }
19421
19421
  }
@@ -19456,11 +19456,11 @@ function requireReactDom_development() {
19456
19456
  workInProgressHook !== null && workInProgressHook.memoizedState.tag & HasEffect) {
19457
19457
  fiber.flags |= Passive;
19458
19458
  pushEffect(HasEffect | Passive$1, updateStoreInstance.bind(null, fiber, inst, nextSnapshot, getSnapshot), void 0, null);
19459
- var root2 = getWorkInProgressRoot();
19460
- if (root2 === null) {
19459
+ var root22 = getWorkInProgressRoot();
19460
+ if (root22 === null) {
19461
19461
  throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
19462
19462
  }
19463
- if (!includesBlockingLane(root2, renderLanes)) {
19463
+ if (!includesBlockingLane(root22, renderLanes)) {
19464
19464
  pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
19465
19465
  }
19466
19466
  }
@@ -19512,9 +19512,9 @@ function requireReactDom_development() {
19512
19512
  }
19513
19513
  }
19514
19514
  function forceStoreRerender(fiber) {
19515
- var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
19516
- if (root2 !== null) {
19517
- scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
19515
+ var root22 = enqueueConcurrentRenderForLane(fiber, SyncLane);
19516
+ if (root22 !== null) {
19517
+ scheduleUpdateOnFiber(root22, fiber, SyncLane, NoTimestamp);
19518
19518
  }
19519
19519
  }
19520
19520
  function mountState(initialState) {
@@ -19823,8 +19823,8 @@ function requireReactDom_development() {
19823
19823
  }
19824
19824
  function mountId() {
19825
19825
  var hook = mountWorkInProgressHook();
19826
- var root2 = getWorkInProgressRoot();
19827
- var identifierPrefix = root2.identifierPrefix;
19826
+ var root22 = getWorkInProgressRoot();
19827
+ var identifierPrefix = root22.identifierPrefix;
19828
19828
  var id;
19829
19829
  if (getIsHydrating()) {
19830
19830
  var treeId = getTreeId();
@@ -19863,11 +19863,11 @@ function requireReactDom_development() {
19863
19863
  if (isRenderPhaseUpdate(fiber)) {
19864
19864
  enqueueRenderPhaseUpdate(queue, update);
19865
19865
  } else {
19866
- var root2 = enqueueConcurrentHookUpdate(fiber, queue, update, lane);
19867
- if (root2 !== null) {
19866
+ var root22 = enqueueConcurrentHookUpdate(fiber, queue, update, lane);
19867
+ if (root22 !== null) {
19868
19868
  var eventTime = requestEventTime();
19869
- scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
19870
- entangleTransitionUpdate(root2, queue, lane);
19869
+ scheduleUpdateOnFiber(root22, fiber, lane, eventTime);
19870
+ entangleTransitionUpdate(root22, queue, lane);
19871
19871
  }
19872
19872
  }
19873
19873
  markUpdateInDevTools(fiber, lane);
@@ -19915,11 +19915,11 @@ function requireReactDom_development() {
19915
19915
  }
19916
19916
  }
19917
19917
  }
19918
- var root2 = enqueueConcurrentHookUpdate(fiber, queue, update, lane);
19919
- if (root2 !== null) {
19918
+ var root22 = enqueueConcurrentHookUpdate(fiber, queue, update, lane);
19919
+ if (root22 !== null) {
19920
19920
  var eventTime = requestEventTime();
19921
- scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
19922
- entangleTransitionUpdate(root2, queue, lane);
19921
+ scheduleUpdateOnFiber(root22, fiber, lane, eventTime);
19922
+ entangleTransitionUpdate(root22, queue, lane);
19923
19923
  }
19924
19924
  }
19925
19925
  markUpdateInDevTools(fiber, lane);
@@ -19939,13 +19939,13 @@ function requireReactDom_development() {
19939
19939
  }
19940
19940
  queue.pending = update;
19941
19941
  }
19942
- function entangleTransitionUpdate(root2, queue, lane) {
19942
+ function entangleTransitionUpdate(root22, queue, lane) {
19943
19943
  if (isTransitionLane(lane)) {
19944
19944
  var queueLanes = queue.lanes;
19945
- queueLanes = intersectLanes(queueLanes, root2.pendingLanes);
19945
+ queueLanes = intersectLanes(queueLanes, root22.pendingLanes);
19946
19946
  var newQueueLanes = mergeLanes(queueLanes, lane);
19947
19947
  queue.lanes = newQueueLanes;
19948
- markRootEntangled(root2, newQueueLanes);
19948
+ markRootEntangled(root22, newQueueLanes);
19949
19949
  }
19950
19950
  }
19951
19951
  function markUpdateInDevTools(fiber, lane, action2) {
@@ -20833,8 +20833,8 @@ function requireReactDom_development() {
20833
20833
  while (parentFiber !== null) {
20834
20834
  switch (parentFiber.tag) {
20835
20835
  case HostRoot:
20836
- var root2 = parentFiber.stateNode;
20837
- root2.effectDuration += elapsedTime;
20836
+ var root22 = parentFiber.stateNode;
20837
+ root22.effectDuration += elapsedTime;
20838
20838
  return;
20839
20839
  case Profiler:
20840
20840
  var parentStateNode = parentFiber.stateNode;
@@ -20853,9 +20853,9 @@ function requireReactDom_development() {
20853
20853
  while (parentFiber !== null) {
20854
20854
  switch (parentFiber.tag) {
20855
20855
  case HostRoot:
20856
- var root2 = parentFiber.stateNode;
20857
- if (root2 !== null) {
20858
- root2.passiveEffectDuration += elapsedTime;
20856
+ var root22 = parentFiber.stateNode;
20857
+ if (root22 !== null) {
20858
+ root22.passiveEffectDuration += elapsedTime;
20859
20859
  }
20860
20860
  return;
20861
20861
  case Profiler:
@@ -20980,10 +20980,10 @@ function requireReactDom_development() {
20980
20980
  }
20981
20981
  update.callback = callback;
20982
20982
  }
20983
- var root2 = enqueueUpdate(fiber, update, lane);
20984
- if (root2 !== null) {
20985
- scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
20986
- entangleTransitions(root2, fiber, lane);
20983
+ var root22 = enqueueUpdate(fiber, update, lane);
20984
+ if (root22 !== null) {
20985
+ scheduleUpdateOnFiber(root22, fiber, lane, eventTime);
20986
+ entangleTransitions(root22, fiber, lane);
20987
20987
  }
20988
20988
  {
20989
20989
  markStateUpdateScheduled(fiber, lane);
@@ -21002,10 +21002,10 @@ function requireReactDom_development() {
21002
21002
  }
21003
21003
  update.callback = callback;
21004
21004
  }
21005
- var root2 = enqueueUpdate(fiber, update, lane);
21006
- if (root2 !== null) {
21007
- scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
21008
- entangleTransitions(root2, fiber, lane);
21005
+ var root22 = enqueueUpdate(fiber, update, lane);
21006
+ if (root22 !== null) {
21007
+ scheduleUpdateOnFiber(root22, fiber, lane, eventTime);
21008
+ entangleTransitions(root22, fiber, lane);
21009
21009
  }
21010
21010
  {
21011
21011
  markStateUpdateScheduled(fiber, lane);
@@ -21023,10 +21023,10 @@ function requireReactDom_development() {
21023
21023
  }
21024
21024
  update.callback = callback;
21025
21025
  }
21026
- var root2 = enqueueUpdate(fiber, update, lane);
21027
- if (root2 !== null) {
21028
- scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
21029
- entangleTransitions(root2, fiber, lane);
21026
+ var root22 = enqueueUpdate(fiber, update, lane);
21027
+ if (root22 !== null) {
21028
+ scheduleUpdateOnFiber(root22, fiber, lane, eventTime);
21029
+ entangleTransitions(root22, fiber, lane);
21030
21030
  }
21031
21031
  {
21032
21032
  markForceUpdateScheduled(fiber, lane);
@@ -21611,11 +21611,11 @@ function requireReactDom_development() {
21611
21611
  }
21612
21612
  return update;
21613
21613
  }
21614
- function attachPingListener(root2, wakeable, lanes) {
21615
- var pingCache = root2.pingCache;
21614
+ function attachPingListener(root22, wakeable, lanes) {
21615
+ var pingCache = root22.pingCache;
21616
21616
  var threadIDs;
21617
21617
  if (pingCache === null) {
21618
- pingCache = root2.pingCache = new PossiblyWeakMap$1();
21618
+ pingCache = root22.pingCache = new PossiblyWeakMap$1();
21619
21619
  threadIDs = /* @__PURE__ */ new Set();
21620
21620
  pingCache.set(wakeable, threadIDs);
21621
21621
  } else {
@@ -21627,16 +21627,16 @@ function requireReactDom_development() {
21627
21627
  }
21628
21628
  if (!threadIDs.has(lanes)) {
21629
21629
  threadIDs.add(lanes);
21630
- var ping = pingSuspendedRoot.bind(null, root2, wakeable, lanes);
21630
+ var ping = pingSuspendedRoot.bind(null, root22, wakeable, lanes);
21631
21631
  {
21632
21632
  if (isDevToolsPresent) {
21633
- restorePendingUpdaters(root2, lanes);
21633
+ restorePendingUpdaters(root22, lanes);
21634
21634
  }
21635
21635
  }
21636
21636
  wakeable.then(ping, ping);
21637
21637
  }
21638
21638
  }
21639
- function attachRetryListener(suspenseBoundary, root2, wakeable, lanes) {
21639
+ function attachRetryListener(suspenseBoundary, root22, wakeable, lanes) {
21640
21640
  var wakeables = suspenseBoundary.updateQueue;
21641
21641
  if (wakeables === null) {
21642
21642
  var updateQueue = /* @__PURE__ */ new Set();
@@ -21670,7 +21670,7 @@ function requireReactDom_development() {
21670
21670
  } while (node !== null);
21671
21671
  return null;
21672
21672
  }
21673
- function markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root2, rootRenderLanes) {
21673
+ function markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root22, rootRenderLanes) {
21674
21674
  if ((suspenseBoundary.mode & ConcurrentMode) === NoMode) {
21675
21675
  if (suspenseBoundary === returnFiber) {
21676
21676
  suspenseBoundary.flags |= ShouldCapture;
@@ -21696,11 +21696,11 @@ function requireReactDom_development() {
21696
21696
  suspenseBoundary.lanes = rootRenderLanes;
21697
21697
  return suspenseBoundary;
21698
21698
  }
21699
- function throwException(root2, returnFiber, sourceFiber, value, rootRenderLanes) {
21699
+ function throwException(root22, returnFiber, sourceFiber, value, rootRenderLanes) {
21700
21700
  sourceFiber.flags |= Incomplete;
21701
21701
  {
21702
21702
  if (isDevToolsPresent) {
21703
- restorePendingUpdaters(root2, rootRenderLanes);
21703
+ restorePendingUpdaters(root22, rootRenderLanes);
21704
21704
  }
21705
21705
  }
21706
21706
  if (value !== null && typeof value === "object" && typeof value.then === "function") {
@@ -21714,15 +21714,15 @@ function requireReactDom_development() {
21714
21714
  var suspenseBoundary = getNearestSuspenseBoundaryToCapture(returnFiber);
21715
21715
  if (suspenseBoundary !== null) {
21716
21716
  suspenseBoundary.flags &= ~ForceClientRender;
21717
- markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root2, rootRenderLanes);
21717
+ markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root22, rootRenderLanes);
21718
21718
  if (suspenseBoundary.mode & ConcurrentMode) {
21719
- attachPingListener(root2, wakeable, rootRenderLanes);
21719
+ attachPingListener(root22, wakeable, rootRenderLanes);
21720
21720
  }
21721
- attachRetryListener(suspenseBoundary, root2, wakeable);
21721
+ attachRetryListener(suspenseBoundary, root22, wakeable);
21722
21722
  return;
21723
21723
  } else {
21724
21724
  if (!includesSyncLane(rootRenderLanes)) {
21725
- attachPingListener(root2, wakeable, rootRenderLanes);
21725
+ attachPingListener(root22, wakeable, rootRenderLanes);
21726
21726
  renderDidSuspendDelayIfPossible();
21727
21727
  return;
21728
21728
  }
@@ -21737,7 +21737,7 @@ function requireReactDom_development() {
21737
21737
  if ((_suspenseBoundary.flags & ShouldCapture) === NoFlags) {
21738
21738
  _suspenseBoundary.flags |= ForceClientRender;
21739
21739
  }
21740
- markSuspenseBoundaryShouldCapture(_suspenseBoundary, returnFiber, sourceFiber, root2, rootRenderLanes);
21740
+ markSuspenseBoundaryShouldCapture(_suspenseBoundary, returnFiber, sourceFiber, root22, rootRenderLanes);
21741
21741
  queueHydrationError(createCapturedValueAtFiber(value, sourceFiber));
21742
21742
  return;
21743
21743
  }
@@ -22240,13 +22240,13 @@ function requireReactDom_development() {
22240
22240
  return workInProgress2.child;
22241
22241
  }
22242
22242
  function pushHostRootContext(workInProgress2) {
22243
- var root2 = workInProgress2.stateNode;
22244
- if (root2.pendingContext) {
22245
- pushTopLevelContextObject(workInProgress2, root2.pendingContext, root2.pendingContext !== root2.context);
22246
- } else if (root2.context) {
22247
- pushTopLevelContextObject(workInProgress2, root2.context, false);
22243
+ var root22 = workInProgress2.stateNode;
22244
+ if (root22.pendingContext) {
22245
+ pushTopLevelContextObject(workInProgress2, root22.pendingContext, root22.pendingContext !== root22.context);
22246
+ } else if (root22.context) {
22247
+ pushTopLevelContextObject(workInProgress2, root22.context, false);
22248
22248
  }
22249
- pushHostContainer(workInProgress2, root2.containerInfo);
22249
+ pushHostContainer(workInProgress2, root22.containerInfo);
22250
22250
  }
22251
22251
  function updateHostRoot(current2, workInProgress2, renderLanes2) {
22252
22252
  pushHostRootContext(workInProgress2);
@@ -22847,14 +22847,14 @@ function requireReactDom_development() {
22847
22847
  }
22848
22848
  var hasContextChanged2 = includesSomeLane(renderLanes2, current2.childLanes);
22849
22849
  if (didReceiveUpdate || hasContextChanged2) {
22850
- var root2 = getWorkInProgressRoot();
22851
- if (root2 !== null) {
22852
- var attemptHydrationAtLane = getBumpedLaneForHydration(root2, renderLanes2);
22850
+ var root22 = getWorkInProgressRoot();
22851
+ if (root22 !== null) {
22852
+ var attemptHydrationAtLane = getBumpedLaneForHydration(root22, renderLanes2);
22853
22853
  if (attemptHydrationAtLane !== NoLane && attemptHydrationAtLane !== suspenseState.retryLane) {
22854
22854
  suspenseState.retryLane = attemptHydrationAtLane;
22855
22855
  var eventTime = NoTimestamp;
22856
22856
  enqueueConcurrentRenderForLane(current2, attemptHydrationAtLane);
22857
- scheduleUpdateOnFiber(root2, current2, attemptHydrationAtLane, eventTime);
22857
+ scheduleUpdateOnFiber(root22, current2, attemptHydrationAtLane, eventTime);
22858
22858
  }
22859
22859
  }
22860
22860
  renderDidSuspendDelayIfPossible();
@@ -24267,8 +24267,8 @@ function requireReactDom_development() {
24267
24267
  }
24268
24268
  }
24269
24269
  var shouldFireAfterActiveInstanceBlur = false;
24270
- function commitBeforeMutationEffects(root2, firstChild) {
24271
- prepareForCommit(root2.containerInfo);
24270
+ function commitBeforeMutationEffects(root22, firstChild) {
24271
+ prepareForCommit(root22.containerInfo);
24272
24272
  nextEffect = firstChild;
24273
24273
  commitBeforeMutationEffects_begin();
24274
24274
  var shouldFire = shouldFireAfterActiveInstanceBlur;
@@ -24346,8 +24346,8 @@ function requireReactDom_development() {
24346
24346
  }
24347
24347
  case HostRoot: {
24348
24348
  {
24349
- var root2 = finishedWork.stateNode;
24350
- clearContainer(root2.containerInfo);
24349
+ var root22 = finishedWork.stateNode;
24350
+ clearContainer(root22.containerInfo);
24351
24351
  }
24352
24352
  break;
24353
24353
  }
@@ -24487,8 +24487,8 @@ function requireReactDom_development() {
24487
24487
  outer: while (parentFiber !== null) {
24488
24488
  switch (parentFiber.tag) {
24489
24489
  case HostRoot:
24490
- var root2 = parentFiber.stateNode;
24491
- root2.passiveEffectDuration += passiveEffectDuration;
24490
+ var root22 = parentFiber.stateNode;
24491
+ root22.passiveEffectDuration += passiveEffectDuration;
24492
24492
  break outer;
24493
24493
  case Profiler:
24494
24494
  var parentStateNode = parentFiber.stateNode;
@@ -24646,8 +24646,8 @@ function requireReactDom_development() {
24646
24646
  outer: while (parentFiber !== null) {
24647
24647
  switch (parentFiber.tag) {
24648
24648
  case HostRoot:
24649
- var root2 = parentFiber.stateNode;
24650
- root2.effectDuration += effectDuration;
24649
+ var root22 = parentFiber.stateNode;
24650
+ root22.effectDuration += effectDuration;
24651
24651
  break outer;
24652
24652
  case Profiler:
24653
24653
  var parentStateNode = parentFiber.stateNode;
@@ -24963,7 +24963,7 @@ function requireReactDom_development() {
24963
24963
  }
24964
24964
  var hostParent = null;
24965
24965
  var hostParentIsContainer = false;
24966
- function commitDeletionEffects(root2, returnFiber, deletedFiber) {
24966
+ function commitDeletionEffects(root22, returnFiber, deletedFiber) {
24967
24967
  {
24968
24968
  var parent = returnFiber;
24969
24969
  findParent: while (parent !== null) {
@@ -24989,7 +24989,7 @@ function requireReactDom_development() {
24989
24989
  if (hostParent === null) {
24990
24990
  throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");
24991
24991
  }
24992
- commitDeletionEffectsOnFiber(root2, returnFiber, deletedFiber);
24992
+ commitDeletionEffectsOnFiber(root22, returnFiber, deletedFiber);
24993
24993
  hostParent = null;
24994
24994
  hostParentIsContainer = false;
24995
24995
  }
@@ -25172,22 +25172,22 @@ function requireReactDom_development() {
25172
25172
  });
25173
25173
  }
25174
25174
  }
25175
- function commitMutationEffects(root2, finishedWork, committedLanes) {
25175
+ function commitMutationEffects(root22, finishedWork, committedLanes) {
25176
25176
  inProgressLanes = committedLanes;
25177
- inProgressRoot = root2;
25177
+ inProgressRoot = root22;
25178
25178
  setCurrentFiber(finishedWork);
25179
- commitMutationEffectsOnFiber(finishedWork, root2);
25179
+ commitMutationEffectsOnFiber(finishedWork, root22);
25180
25180
  setCurrentFiber(finishedWork);
25181
25181
  inProgressLanes = null;
25182
25182
  inProgressRoot = null;
25183
25183
  }
25184
- function recursivelyTraverseMutationEffects(root2, parentFiber, lanes) {
25184
+ function recursivelyTraverseMutationEffects(root22, parentFiber, lanes) {
25185
25185
  var deletions = parentFiber.deletions;
25186
25186
  if (deletions !== null) {
25187
25187
  for (var i = 0; i < deletions.length; i++) {
25188
25188
  var childToDelete = deletions[i];
25189
25189
  try {
25190
- commitDeletionEffects(root2, parentFiber, childToDelete);
25190
+ commitDeletionEffects(root22, parentFiber, childToDelete);
25191
25191
  } catch (error2) {
25192
25192
  captureCommitPhaseError(childToDelete, parentFiber, error2);
25193
25193
  }
@@ -25198,13 +25198,13 @@ function requireReactDom_development() {
25198
25198
  var child = parentFiber.child;
25199
25199
  while (child !== null) {
25200
25200
  setCurrentFiber(child);
25201
- commitMutationEffectsOnFiber(child, root2);
25201
+ commitMutationEffectsOnFiber(child, root22);
25202
25202
  child = child.sibling;
25203
25203
  }
25204
25204
  }
25205
25205
  setCurrentFiber(prevDebugFiber);
25206
25206
  }
25207
- function commitMutationEffectsOnFiber(finishedWork, root2, lanes) {
25207
+ function commitMutationEffectsOnFiber(finishedWork, root22, lanes) {
25208
25208
  var current2 = finishedWork.alternate;
25209
25209
  var flags = finishedWork.flags;
25210
25210
  switch (finishedWork.tag) {
@@ -25212,7 +25212,7 @@ function requireReactDom_development() {
25212
25212
  case ForwardRef:
25213
25213
  case MemoComponent:
25214
25214
  case SimpleMemoComponent: {
25215
- recursivelyTraverseMutationEffects(root2, finishedWork);
25215
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25216
25216
  commitReconciliationEffects(finishedWork);
25217
25217
  if (flags & Update) {
25218
25218
  try {
@@ -25240,7 +25240,7 @@ function requireReactDom_development() {
25240
25240
  return;
25241
25241
  }
25242
25242
  case ClassComponent: {
25243
- recursivelyTraverseMutationEffects(root2, finishedWork);
25243
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25244
25244
  commitReconciliationEffects(finishedWork);
25245
25245
  if (flags & Ref) {
25246
25246
  if (current2 !== null) {
@@ -25250,7 +25250,7 @@ function requireReactDom_development() {
25250
25250
  return;
25251
25251
  }
25252
25252
  case HostComponent: {
25253
- recursivelyTraverseMutationEffects(root2, finishedWork);
25253
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25254
25254
  commitReconciliationEffects(finishedWork);
25255
25255
  if (flags & Ref) {
25256
25256
  if (current2 !== null) {
@@ -25287,7 +25287,7 @@ function requireReactDom_development() {
25287
25287
  return;
25288
25288
  }
25289
25289
  case HostText: {
25290
- recursivelyTraverseMutationEffects(root2, finishedWork);
25290
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25291
25291
  commitReconciliationEffects(finishedWork);
25292
25292
  if (flags & Update) {
25293
25293
  {
@@ -25307,7 +25307,7 @@ function requireReactDom_development() {
25307
25307
  return;
25308
25308
  }
25309
25309
  case HostRoot: {
25310
- recursivelyTraverseMutationEffects(root2, finishedWork);
25310
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25311
25311
  commitReconciliationEffects(finishedWork);
25312
25312
  if (flags & Update) {
25313
25313
  {
@@ -25315,7 +25315,7 @@ function requireReactDom_development() {
25315
25315
  var prevRootState = current2.memoizedState;
25316
25316
  if (prevRootState.isDehydrated) {
25317
25317
  try {
25318
- commitHydratedContainer(root2.containerInfo);
25318
+ commitHydratedContainer(root22.containerInfo);
25319
25319
  } catch (error2) {
25320
25320
  captureCommitPhaseError(finishedWork, finishedWork.return, error2);
25321
25321
  }
@@ -25326,12 +25326,12 @@ function requireReactDom_development() {
25326
25326
  return;
25327
25327
  }
25328
25328
  case HostPortal: {
25329
- recursivelyTraverseMutationEffects(root2, finishedWork);
25329
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25330
25330
  commitReconciliationEffects(finishedWork);
25331
25331
  return;
25332
25332
  }
25333
25333
  case SuspenseComponent: {
25334
- recursivelyTraverseMutationEffects(root2, finishedWork);
25334
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25335
25335
  commitReconciliationEffects(finishedWork);
25336
25336
  var offscreenFiber = finishedWork.child;
25337
25337
  if (offscreenFiber.flags & Visibility) {
@@ -25364,10 +25364,10 @@ function requireReactDom_development() {
25364
25364
  ) {
25365
25365
  var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
25366
25366
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || _wasHidden;
25367
- recursivelyTraverseMutationEffects(root2, finishedWork);
25367
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25368
25368
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
25369
25369
  } else {
25370
- recursivelyTraverseMutationEffects(root2, finishedWork);
25370
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25371
25371
  }
25372
25372
  commitReconciliationEffects(finishedWork);
25373
25373
  if (flags & Visibility) {
@@ -25398,7 +25398,7 @@ function requireReactDom_development() {
25398
25398
  return;
25399
25399
  }
25400
25400
  case SuspenseListComponent: {
25401
- recursivelyTraverseMutationEffects(root2, finishedWork);
25401
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25402
25402
  commitReconciliationEffects(finishedWork);
25403
25403
  if (flags & Update) {
25404
25404
  attachSuspenseRetryListeners(finishedWork);
@@ -25409,7 +25409,7 @@ function requireReactDom_development() {
25409
25409
  return;
25410
25410
  }
25411
25411
  default: {
25412
- recursivelyTraverseMutationEffects(root2, finishedWork);
25412
+ recursivelyTraverseMutationEffects(root22, finishedWork);
25413
25413
  commitReconciliationEffects(finishedWork);
25414
25414
  return;
25415
25415
  }
@@ -25429,15 +25429,15 @@ function requireReactDom_development() {
25429
25429
  finishedWork.flags &= ~Hydrating;
25430
25430
  }
25431
25431
  }
25432
- function commitLayoutEffects(finishedWork, root2, committedLanes) {
25432
+ function commitLayoutEffects(finishedWork, root22, committedLanes) {
25433
25433
  inProgressLanes = committedLanes;
25434
- inProgressRoot = root2;
25434
+ inProgressRoot = root22;
25435
25435
  nextEffect = finishedWork;
25436
- commitLayoutEffects_begin(finishedWork, root2, committedLanes);
25436
+ commitLayoutEffects_begin(finishedWork, root22, committedLanes);
25437
25437
  inProgressLanes = null;
25438
25438
  inProgressRoot = null;
25439
25439
  }
25440
- function commitLayoutEffects_begin(subtreeRoot, root2, committedLanes) {
25440
+ function commitLayoutEffects_begin(subtreeRoot, root22, committedLanes) {
25441
25441
  var isModernRoot = (subtreeRoot.mode & ConcurrentMode) !== NoMode;
25442
25442
  while (nextEffect !== null) {
25443
25443
  var fiber = nextEffect;
@@ -25446,7 +25446,7 @@ function requireReactDom_development() {
25446
25446
  var isHidden = fiber.memoizedState !== null;
25447
25447
  var newOffscreenSubtreeIsHidden = isHidden || offscreenSubtreeIsHidden;
25448
25448
  if (newOffscreenSubtreeIsHidden) {
25449
- commitLayoutMountEffects_complete(subtreeRoot, root2, committedLanes);
25449
+ commitLayoutMountEffects_complete(subtreeRoot, root22, committedLanes);
25450
25450
  continue;
25451
25451
  } else {
25452
25452
  var current2 = fiber.alternate;
@@ -25466,7 +25466,7 @@ function requireReactDom_development() {
25466
25466
  commitLayoutEffects_begin(
25467
25467
  child,
25468
25468
  // New root; bubble back up to here and stop.
25469
- root2,
25469
+ root22,
25470
25470
  committedLanes
25471
25471
  );
25472
25472
  child = child.sibling;
@@ -25474,7 +25474,7 @@ function requireReactDom_development() {
25474
25474
  nextEffect = fiber;
25475
25475
  offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
25476
25476
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
25477
- commitLayoutMountEffects_complete(subtreeRoot, root2, committedLanes);
25477
+ commitLayoutMountEffects_complete(subtreeRoot, root22, committedLanes);
25478
25478
  continue;
25479
25479
  }
25480
25480
  }
@@ -25482,18 +25482,18 @@ function requireReactDom_development() {
25482
25482
  firstChild.return = fiber;
25483
25483
  nextEffect = firstChild;
25484
25484
  } else {
25485
- commitLayoutMountEffects_complete(subtreeRoot, root2, committedLanes);
25485
+ commitLayoutMountEffects_complete(subtreeRoot, root22, committedLanes);
25486
25486
  }
25487
25487
  }
25488
25488
  }
25489
- function commitLayoutMountEffects_complete(subtreeRoot, root2, committedLanes) {
25489
+ function commitLayoutMountEffects_complete(subtreeRoot, root22, committedLanes) {
25490
25490
  while (nextEffect !== null) {
25491
25491
  var fiber = nextEffect;
25492
25492
  if ((fiber.flags & LayoutMask) !== NoFlags) {
25493
25493
  var current2 = fiber.alternate;
25494
25494
  setCurrentFiber(fiber);
25495
25495
  try {
25496
- commitLayoutEffectOnFiber(root2, current2, fiber, committedLanes);
25496
+ commitLayoutEffectOnFiber(root22, current2, fiber, committedLanes);
25497
25497
  } catch (error2) {
25498
25498
  captureCommitPhaseError(fiber, fiber.return, error2);
25499
25499
  }
@@ -25620,11 +25620,11 @@ function requireReactDom_development() {
25620
25620
  nextEffect = fiber.return;
25621
25621
  }
25622
25622
  }
25623
- function commitPassiveMountEffects(root2, finishedWork, committedLanes, committedTransitions) {
25623
+ function commitPassiveMountEffects(root22, finishedWork, committedLanes, committedTransitions) {
25624
25624
  nextEffect = finishedWork;
25625
- commitPassiveMountEffects_begin(finishedWork, root2, committedLanes, committedTransitions);
25625
+ commitPassiveMountEffects_begin(finishedWork, root22, committedLanes, committedTransitions);
25626
25626
  }
25627
- function commitPassiveMountEffects_begin(subtreeRoot, root2, committedLanes, committedTransitions) {
25627
+ function commitPassiveMountEffects_begin(subtreeRoot, root22, committedLanes, committedTransitions) {
25628
25628
  while (nextEffect !== null) {
25629
25629
  var fiber = nextEffect;
25630
25630
  var firstChild = fiber.child;
@@ -25632,17 +25632,17 @@ function requireReactDom_development() {
25632
25632
  firstChild.return = fiber;
25633
25633
  nextEffect = firstChild;
25634
25634
  } else {
25635
- commitPassiveMountEffects_complete(subtreeRoot, root2, committedLanes, committedTransitions);
25635
+ commitPassiveMountEffects_complete(subtreeRoot, root22, committedLanes, committedTransitions);
25636
25636
  }
25637
25637
  }
25638
25638
  }
25639
- function commitPassiveMountEffects_complete(subtreeRoot, root2, committedLanes, committedTransitions) {
25639
+ function commitPassiveMountEffects_complete(subtreeRoot, root22, committedLanes, committedTransitions) {
25640
25640
  while (nextEffect !== null) {
25641
25641
  var fiber = nextEffect;
25642
25642
  if ((fiber.flags & Passive) !== NoFlags) {
25643
25643
  setCurrentFiber(fiber);
25644
25644
  try {
25645
- commitPassiveMountOnFiber(root2, fiber, committedLanes, committedTransitions);
25645
+ commitPassiveMountOnFiber(root22, fiber, committedLanes, committedTransitions);
25646
25646
  } catch (error2) {
25647
25647
  captureCommitPhaseError(fiber, fiber.return, error2);
25648
25648
  }
@@ -26039,7 +26039,7 @@ function requireReactDom_development() {
26039
26039
  }
26040
26040
  return claimNextRetryLane();
26041
26041
  }
26042
- function scheduleUpdateOnFiber(root2, fiber, lane, eventTime) {
26042
+ function scheduleUpdateOnFiber(root22, fiber, lane, eventTime) {
26043
26043
  checkForNestedUpdates();
26044
26044
  {
26045
26045
  if (isRunningInsertionEffect) {
@@ -26051,25 +26051,25 @@ function requireReactDom_development() {
26051
26051
  didScheduleUpdateDuringPassiveEffects = true;
26052
26052
  }
26053
26053
  }
26054
- markRootUpdated(root2, lane, eventTime);
26055
- if ((executionContext & RenderContext) !== NoLanes && root2 === workInProgressRoot) {
26054
+ markRootUpdated(root22, lane, eventTime);
26055
+ if ((executionContext & RenderContext) !== NoLanes && root22 === workInProgressRoot) {
26056
26056
  warnAboutRenderPhaseUpdatesInDEV(fiber);
26057
26057
  } else {
26058
26058
  {
26059
26059
  if (isDevToolsPresent) {
26060
- addFiberToLanesMap(root2, fiber, lane);
26060
+ addFiberToLanesMap(root22, fiber, lane);
26061
26061
  }
26062
26062
  }
26063
26063
  warnIfUpdatesNotWrappedWithActDEV(fiber);
26064
- if (root2 === workInProgressRoot) {
26064
+ if (root22 === workInProgressRoot) {
26065
26065
  if ((executionContext & RenderContext) === NoContext) {
26066
26066
  workInProgressRootInterleavedUpdatedLanes = mergeLanes(workInProgressRootInterleavedUpdatedLanes, lane);
26067
26067
  }
26068
26068
  if (workInProgressRootExitStatus === RootSuspendedWithDelay) {
26069
- markRootSuspended$1(root2, workInProgressRootRenderLanes);
26069
+ markRootSuspended$1(root22, workInProgressRootRenderLanes);
26070
26070
  }
26071
26071
  }
26072
- ensureRootIsScheduled(root2, eventTime);
26072
+ ensureRootIsScheduled(root22, eventTime);
26073
26073
  if (lane === SyncLane && executionContext === NoContext && (fiber.mode & ConcurrentMode) === NoMode && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
26074
26074
  !ReactCurrentActQueue$1.isBatchingLegacy) {
26075
26075
  resetRenderTimer();
@@ -26077,11 +26077,11 @@ function requireReactDom_development() {
26077
26077
  }
26078
26078
  }
26079
26079
  }
26080
- function scheduleInitialHydrationOnRoot(root2, lane, eventTime) {
26081
- var current2 = root2.current;
26080
+ function scheduleInitialHydrationOnRoot(root22, lane, eventTime) {
26081
+ var current2 = root22.current;
26082
26082
  current2.lanes = lane;
26083
- markRootUpdated(root2, lane, eventTime);
26084
- ensureRootIsScheduled(root2, eventTime);
26083
+ markRootUpdated(root22, lane, eventTime);
26084
+ ensureRootIsScheduled(root22, eventTime);
26085
26085
  }
26086
26086
  function isUnsafeClassRenderPhaseUpdate(fiber) {
26087
26087
  return (
@@ -26090,20 +26090,20 @@ function requireReactDom_development() {
26090
26090
  (executionContext & RenderContext) !== NoContext
26091
26091
  );
26092
26092
  }
26093
- function ensureRootIsScheduled(root2, currentTime) {
26094
- var existingCallbackNode = root2.callbackNode;
26095
- markStarvedLanesAsExpired(root2, currentTime);
26096
- var nextLanes = getNextLanes(root2, root2 === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes);
26093
+ function ensureRootIsScheduled(root22, currentTime) {
26094
+ var existingCallbackNode = root22.callbackNode;
26095
+ markStarvedLanesAsExpired(root22, currentTime);
26096
+ var nextLanes = getNextLanes(root22, root22 === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes);
26097
26097
  if (nextLanes === NoLanes) {
26098
26098
  if (existingCallbackNode !== null) {
26099
26099
  cancelCallback$1(existingCallbackNode);
26100
26100
  }
26101
- root2.callbackNode = null;
26102
- root2.callbackPriority = NoLane;
26101
+ root22.callbackNode = null;
26102
+ root22.callbackPriority = NoLane;
26103
26103
  return;
26104
26104
  }
26105
26105
  var newCallbackPriority = getHighestPriorityLane(nextLanes);
26106
- var existingCallbackPriority = root2.callbackPriority;
26106
+ var existingCallbackPriority = root22.callbackPriority;
26107
26107
  if (existingCallbackPriority === newCallbackPriority && // Special case related to `act`. If the currently scheduled task is a
26108
26108
  // Scheduler task, rather than an `act` task, cancel it and re-scheduled
26109
26109
  // on the `act` queue.
@@ -26120,13 +26120,13 @@ function requireReactDom_development() {
26120
26120
  }
26121
26121
  var newCallbackNode;
26122
26122
  if (newCallbackPriority === SyncLane) {
26123
- if (root2.tag === LegacyRoot) {
26123
+ if (root22.tag === LegacyRoot) {
26124
26124
  if (ReactCurrentActQueue$1.isBatchingLegacy !== null) {
26125
26125
  ReactCurrentActQueue$1.didScheduleLegacyUpdate = true;
26126
26126
  }
26127
- scheduleLegacySyncCallback(performSyncWorkOnRoot.bind(null, root2));
26127
+ scheduleLegacySyncCallback(performSyncWorkOnRoot.bind(null, root22));
26128
26128
  } else {
26129
- scheduleSyncCallback(performSyncWorkOnRoot.bind(null, root2));
26129
+ scheduleSyncCallback(performSyncWorkOnRoot.bind(null, root22));
26130
26130
  }
26131
26131
  {
26132
26132
  if (ReactCurrentActQueue$1.current !== null) {
@@ -26159,12 +26159,12 @@ function requireReactDom_development() {
26159
26159
  schedulerPriorityLevel = NormalPriority;
26160
26160
  break;
26161
26161
  }
26162
- newCallbackNode = scheduleCallback$1(schedulerPriorityLevel, performConcurrentWorkOnRoot.bind(null, root2));
26162
+ newCallbackNode = scheduleCallback$1(schedulerPriorityLevel, performConcurrentWorkOnRoot.bind(null, root22));
26163
26163
  }
26164
- root2.callbackPriority = newCallbackPriority;
26165
- root2.callbackNode = newCallbackNode;
26164
+ root22.callbackPriority = newCallbackPriority;
26165
+ root22.callbackNode = newCallbackNode;
26166
26166
  }
26167
- function performConcurrentWorkOnRoot(root2, didTimeout) {
26167
+ function performConcurrentWorkOnRoot(root22, didTimeout) {
26168
26168
  {
26169
26169
  resetNestedUpdateFlag();
26170
26170
  }
@@ -26173,77 +26173,77 @@ function requireReactDom_development() {
26173
26173
  if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
26174
26174
  throw new Error("Should not already be working.");
26175
26175
  }
26176
- var originalCallbackNode = root2.callbackNode;
26176
+ var originalCallbackNode = root22.callbackNode;
26177
26177
  var didFlushPassiveEffects = flushPassiveEffects();
26178
26178
  if (didFlushPassiveEffects) {
26179
- if (root2.callbackNode !== originalCallbackNode) {
26179
+ if (root22.callbackNode !== originalCallbackNode) {
26180
26180
  return null;
26181
26181
  }
26182
26182
  }
26183
- var lanes = getNextLanes(root2, root2 === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes);
26183
+ var lanes = getNextLanes(root22, root22 === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes);
26184
26184
  if (lanes === NoLanes) {
26185
26185
  return null;
26186
26186
  }
26187
- var shouldTimeSlice = !includesBlockingLane(root2, lanes) && !includesExpiredLane(root2, lanes) && !didTimeout;
26188
- var exitStatus = shouldTimeSlice ? renderRootConcurrent(root2, lanes) : renderRootSync(root2, lanes);
26187
+ var shouldTimeSlice = !includesBlockingLane(root22, lanes) && !includesExpiredLane(root22, lanes) && !didTimeout;
26188
+ var exitStatus = shouldTimeSlice ? renderRootConcurrent(root22, lanes) : renderRootSync(root22, lanes);
26189
26189
  if (exitStatus !== RootInProgress) {
26190
26190
  if (exitStatus === RootErrored) {
26191
- var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root2);
26191
+ var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root22);
26192
26192
  if (errorRetryLanes !== NoLanes) {
26193
26193
  lanes = errorRetryLanes;
26194
- exitStatus = recoverFromConcurrentError(root2, errorRetryLanes);
26194
+ exitStatus = recoverFromConcurrentError(root22, errorRetryLanes);
26195
26195
  }
26196
26196
  }
26197
26197
  if (exitStatus === RootFatalErrored) {
26198
26198
  var fatalError = workInProgressRootFatalError;
26199
- prepareFreshStack(root2, NoLanes);
26200
- markRootSuspended$1(root2, lanes);
26201
- ensureRootIsScheduled(root2, now());
26199
+ prepareFreshStack(root22, NoLanes);
26200
+ markRootSuspended$1(root22, lanes);
26201
+ ensureRootIsScheduled(root22, now());
26202
26202
  throw fatalError;
26203
26203
  }
26204
26204
  if (exitStatus === RootDidNotComplete) {
26205
- markRootSuspended$1(root2, lanes);
26205
+ markRootSuspended$1(root22, lanes);
26206
26206
  } else {
26207
- var renderWasConcurrent = !includesBlockingLane(root2, lanes);
26208
- var finishedWork = root2.current.alternate;
26207
+ var renderWasConcurrent = !includesBlockingLane(root22, lanes);
26208
+ var finishedWork = root22.current.alternate;
26209
26209
  if (renderWasConcurrent && !isRenderConsistentWithExternalStores(finishedWork)) {
26210
- exitStatus = renderRootSync(root2, lanes);
26210
+ exitStatus = renderRootSync(root22, lanes);
26211
26211
  if (exitStatus === RootErrored) {
26212
- var _errorRetryLanes = getLanesToRetrySynchronouslyOnError(root2);
26212
+ var _errorRetryLanes = getLanesToRetrySynchronouslyOnError(root22);
26213
26213
  if (_errorRetryLanes !== NoLanes) {
26214
26214
  lanes = _errorRetryLanes;
26215
- exitStatus = recoverFromConcurrentError(root2, _errorRetryLanes);
26215
+ exitStatus = recoverFromConcurrentError(root22, _errorRetryLanes);
26216
26216
  }
26217
26217
  }
26218
26218
  if (exitStatus === RootFatalErrored) {
26219
26219
  var _fatalError = workInProgressRootFatalError;
26220
- prepareFreshStack(root2, NoLanes);
26221
- markRootSuspended$1(root2, lanes);
26222
- ensureRootIsScheduled(root2, now());
26220
+ prepareFreshStack(root22, NoLanes);
26221
+ markRootSuspended$1(root22, lanes);
26222
+ ensureRootIsScheduled(root22, now());
26223
26223
  throw _fatalError;
26224
26224
  }
26225
26225
  }
26226
- root2.finishedWork = finishedWork;
26227
- root2.finishedLanes = lanes;
26228
- finishConcurrentRender(root2, exitStatus, lanes);
26226
+ root22.finishedWork = finishedWork;
26227
+ root22.finishedLanes = lanes;
26228
+ finishConcurrentRender(root22, exitStatus, lanes);
26229
26229
  }
26230
26230
  }
26231
- ensureRootIsScheduled(root2, now());
26232
- if (root2.callbackNode === originalCallbackNode) {
26233
- return performConcurrentWorkOnRoot.bind(null, root2);
26231
+ ensureRootIsScheduled(root22, now());
26232
+ if (root22.callbackNode === originalCallbackNode) {
26233
+ return performConcurrentWorkOnRoot.bind(null, root22);
26234
26234
  }
26235
26235
  return null;
26236
26236
  }
26237
- function recoverFromConcurrentError(root2, errorRetryLanes) {
26237
+ function recoverFromConcurrentError(root22, errorRetryLanes) {
26238
26238
  var errorsFromFirstAttempt = workInProgressRootConcurrentErrors;
26239
- if (isRootDehydrated(root2)) {
26240
- var rootWorkInProgress = prepareFreshStack(root2, errorRetryLanes);
26239
+ if (isRootDehydrated(root22)) {
26240
+ var rootWorkInProgress = prepareFreshStack(root22, errorRetryLanes);
26241
26241
  rootWorkInProgress.flags |= ForceClientRender;
26242
26242
  {
26243
- errorHydratingContainer(root2.containerInfo);
26243
+ errorHydratingContainer(root22.containerInfo);
26244
26244
  }
26245
26245
  }
26246
- var exitStatus = renderRootSync(root2, errorRetryLanes);
26246
+ var exitStatus = renderRootSync(root22, errorRetryLanes);
26247
26247
  if (exitStatus !== RootErrored) {
26248
26248
  var errorsFromSecondAttempt = workInProgressRootRecoverableErrors;
26249
26249
  workInProgressRootRecoverableErrors = errorsFromFirstAttempt;
@@ -26260,7 +26260,7 @@ function requireReactDom_development() {
26260
26260
  workInProgressRootRecoverableErrors.push.apply(workInProgressRootRecoverableErrors, errors2);
26261
26261
  }
26262
26262
  }
26263
- function finishConcurrentRender(root2, exitStatus, lanes) {
26263
+ function finishConcurrentRender(root22, exitStatus, lanes) {
26264
26264
  switch (exitStatus) {
26265
26265
  case RootInProgress:
26266
26266
  case RootFatalErrored: {
@@ -26270,52 +26270,52 @@ function requireReactDom_development() {
26270
26270
  // statement, but eslint doesn't know about invariant, so it complains
26271
26271
  // if I do. eslint-disable-next-line no-fallthrough
26272
26272
  case RootErrored: {
26273
- commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
26273
+ commitRoot(root22, workInProgressRootRecoverableErrors, workInProgressTransitions);
26274
26274
  break;
26275
26275
  }
26276
26276
  case RootSuspended: {
26277
- markRootSuspended$1(root2, lanes);
26277
+ markRootSuspended$1(root22, lanes);
26278
26278
  if (includesOnlyRetries(lanes) && // do not delay if we're inside an act() scope
26279
26279
  !shouldForceFlushFallbacksInDEV()) {
26280
26280
  var msUntilTimeout = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now();
26281
26281
  if (msUntilTimeout > 10) {
26282
- var nextLanes = getNextLanes(root2, NoLanes);
26282
+ var nextLanes = getNextLanes(root22, NoLanes);
26283
26283
  if (nextLanes !== NoLanes) {
26284
26284
  break;
26285
26285
  }
26286
- var suspendedLanes = root2.suspendedLanes;
26286
+ var suspendedLanes = root22.suspendedLanes;
26287
26287
  if (!isSubsetOfLanes(suspendedLanes, lanes)) {
26288
26288
  requestEventTime();
26289
- markRootPinged(root2, suspendedLanes);
26289
+ markRootPinged(root22, suspendedLanes);
26290
26290
  break;
26291
26291
  }
26292
- root2.timeoutHandle = scheduleTimeout(commitRoot.bind(null, root2, workInProgressRootRecoverableErrors, workInProgressTransitions), msUntilTimeout);
26292
+ root22.timeoutHandle = scheduleTimeout(commitRoot.bind(null, root22, workInProgressRootRecoverableErrors, workInProgressTransitions), msUntilTimeout);
26293
26293
  break;
26294
26294
  }
26295
26295
  }
26296
- commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
26296
+ commitRoot(root22, workInProgressRootRecoverableErrors, workInProgressTransitions);
26297
26297
  break;
26298
26298
  }
26299
26299
  case RootSuspendedWithDelay: {
26300
- markRootSuspended$1(root2, lanes);
26300
+ markRootSuspended$1(root22, lanes);
26301
26301
  if (includesOnlyTransitions(lanes)) {
26302
26302
  break;
26303
26303
  }
26304
26304
  if (!shouldForceFlushFallbacksInDEV()) {
26305
- var mostRecentEventTime = getMostRecentEventTime(root2, lanes);
26305
+ var mostRecentEventTime = getMostRecentEventTime(root22, lanes);
26306
26306
  var eventTimeMs = mostRecentEventTime;
26307
26307
  var timeElapsedMs = now() - eventTimeMs;
26308
26308
  var _msUntilTimeout = jnd(timeElapsedMs) - timeElapsedMs;
26309
26309
  if (_msUntilTimeout > 10) {
26310
- root2.timeoutHandle = scheduleTimeout(commitRoot.bind(null, root2, workInProgressRootRecoverableErrors, workInProgressTransitions), _msUntilTimeout);
26310
+ root22.timeoutHandle = scheduleTimeout(commitRoot.bind(null, root22, workInProgressRootRecoverableErrors, workInProgressTransitions), _msUntilTimeout);
26311
26311
  break;
26312
26312
  }
26313
26313
  }
26314
- commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
26314
+ commitRoot(root22, workInProgressRootRecoverableErrors, workInProgressTransitions);
26315
26315
  break;
26316
26316
  }
26317
26317
  case RootCompleted: {
26318
- commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
26318
+ commitRoot(root22, workInProgressRootRecoverableErrors, workInProgressTransitions);
26319
26319
  break;
26320
26320
  }
26321
26321
  default: {
@@ -26366,12 +26366,12 @@ function requireReactDom_development() {
26366
26366
  }
26367
26367
  return true;
26368
26368
  }
26369
- function markRootSuspended$1(root2, suspendedLanes) {
26369
+ function markRootSuspended$1(root22, suspendedLanes) {
26370
26370
  suspendedLanes = removeLanes(suspendedLanes, workInProgressRootPingedLanes);
26371
26371
  suspendedLanes = removeLanes(suspendedLanes, workInProgressRootInterleavedUpdatedLanes);
26372
- markRootSuspended(root2, suspendedLanes);
26372
+ markRootSuspended(root22, suspendedLanes);
26373
26373
  }
26374
- function performSyncWorkOnRoot(root2) {
26374
+ function performSyncWorkOnRoot(root22) {
26375
26375
  {
26376
26376
  syncNestedUpdateFlag();
26377
26377
  }
@@ -26379,40 +26379,40 @@ function requireReactDom_development() {
26379
26379
  throw new Error("Should not already be working.");
26380
26380
  }
26381
26381
  flushPassiveEffects();
26382
- var lanes = getNextLanes(root2, NoLanes);
26382
+ var lanes = getNextLanes(root22, NoLanes);
26383
26383
  if (!includesSomeLane(lanes, SyncLane)) {
26384
- ensureRootIsScheduled(root2, now());
26384
+ ensureRootIsScheduled(root22, now());
26385
26385
  return null;
26386
26386
  }
26387
- var exitStatus = renderRootSync(root2, lanes);
26388
- if (root2.tag !== LegacyRoot && exitStatus === RootErrored) {
26389
- var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root2);
26387
+ var exitStatus = renderRootSync(root22, lanes);
26388
+ if (root22.tag !== LegacyRoot && exitStatus === RootErrored) {
26389
+ var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root22);
26390
26390
  if (errorRetryLanes !== NoLanes) {
26391
26391
  lanes = errorRetryLanes;
26392
- exitStatus = recoverFromConcurrentError(root2, errorRetryLanes);
26392
+ exitStatus = recoverFromConcurrentError(root22, errorRetryLanes);
26393
26393
  }
26394
26394
  }
26395
26395
  if (exitStatus === RootFatalErrored) {
26396
26396
  var fatalError = workInProgressRootFatalError;
26397
- prepareFreshStack(root2, NoLanes);
26398
- markRootSuspended$1(root2, lanes);
26399
- ensureRootIsScheduled(root2, now());
26397
+ prepareFreshStack(root22, NoLanes);
26398
+ markRootSuspended$1(root22, lanes);
26399
+ ensureRootIsScheduled(root22, now());
26400
26400
  throw fatalError;
26401
26401
  }
26402
26402
  if (exitStatus === RootDidNotComplete) {
26403
26403
  throw new Error("Root did not complete. This is a bug in React.");
26404
26404
  }
26405
- var finishedWork = root2.current.alternate;
26406
- root2.finishedWork = finishedWork;
26407
- root2.finishedLanes = lanes;
26408
- commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
26409
- ensureRootIsScheduled(root2, now());
26405
+ var finishedWork = root22.current.alternate;
26406
+ root22.finishedWork = finishedWork;
26407
+ root22.finishedLanes = lanes;
26408
+ commitRoot(root22, workInProgressRootRecoverableErrors, workInProgressTransitions);
26409
+ ensureRootIsScheduled(root22, now());
26410
26410
  return null;
26411
26411
  }
26412
- function flushRoot(root2, lanes) {
26412
+ function flushRoot(root22, lanes) {
26413
26413
  if (lanes !== NoLanes) {
26414
- markRootEntangled(root2, mergeLanes(lanes, SyncLane));
26415
- ensureRootIsScheduled(root2, now());
26414
+ markRootEntangled(root22, mergeLanes(lanes, SyncLane));
26415
+ ensureRootIsScheduled(root22, now());
26416
26416
  if ((executionContext & (RenderContext | CommitContext)) === NoContext) {
26417
26417
  resetRenderTimer();
26418
26418
  flushSyncCallbacks();
@@ -26484,12 +26484,12 @@ function requireReactDom_development() {
26484
26484
  subtreeRenderLanes = subtreeRenderLanesCursor.current;
26485
26485
  pop2(subtreeRenderLanesCursor, fiber);
26486
26486
  }
26487
- function prepareFreshStack(root2, lanes) {
26488
- root2.finishedWork = null;
26489
- root2.finishedLanes = NoLanes;
26490
- var timeoutHandle = root2.timeoutHandle;
26487
+ function prepareFreshStack(root22, lanes) {
26488
+ root22.finishedWork = null;
26489
+ root22.finishedLanes = NoLanes;
26490
+ var timeoutHandle = root22.timeoutHandle;
26491
26491
  if (timeoutHandle !== noTimeout) {
26492
- root2.timeoutHandle = noTimeout;
26492
+ root22.timeoutHandle = noTimeout;
26493
26493
  cancelTimeout(timeoutHandle);
26494
26494
  }
26495
26495
  if (workInProgress !== null) {
@@ -26500,8 +26500,8 @@ function requireReactDom_development() {
26500
26500
  interruptedWork = interruptedWork.return;
26501
26501
  }
26502
26502
  }
26503
- workInProgressRoot = root2;
26504
- var rootWorkInProgress = createWorkInProgress(root2.current, null);
26503
+ workInProgressRoot = root22;
26504
+ var rootWorkInProgress = createWorkInProgress(root22.current, null);
26505
26505
  workInProgress = rootWorkInProgress;
26506
26506
  workInProgressRootRenderLanes = subtreeRenderLanes = lanes;
26507
26507
  workInProgressRootExitStatus = RootInProgress;
@@ -26517,7 +26517,7 @@ function requireReactDom_development() {
26517
26517
  }
26518
26518
  return rootWorkInProgress;
26519
26519
  }
26520
- function handleError(root2, thrownValue) {
26520
+ function handleError(root22, thrownValue) {
26521
26521
  do {
26522
26522
  var erroredWork = workInProgress;
26523
26523
  try {
@@ -26543,7 +26543,7 @@ function requireReactDom_development() {
26543
26543
  markComponentErrored(erroredWork, thrownValue, workInProgressRootRenderLanes);
26544
26544
  }
26545
26545
  }
26546
- throwException(root2, erroredWork.return, erroredWork, thrownValue, workInProgressRootRenderLanes);
26546
+ throwException(root22, erroredWork.return, erroredWork, thrownValue, workInProgressRootRenderLanes);
26547
26547
  completeUnitOfWork(erroredWork);
26548
26548
  } catch (yetAnotherThrownValue) {
26549
26549
  thrownValue = yetAnotherThrownValue;
@@ -26602,23 +26602,23 @@ function requireReactDom_development() {
26602
26602
  function renderHasNotSuspendedYet() {
26603
26603
  return workInProgressRootExitStatus === RootInProgress;
26604
26604
  }
26605
- function renderRootSync(root2, lanes) {
26605
+ function renderRootSync(root22, lanes) {
26606
26606
  var prevExecutionContext = executionContext;
26607
26607
  executionContext |= RenderContext;
26608
26608
  var prevDispatcher = pushDispatcher();
26609
- if (workInProgressRoot !== root2 || workInProgressRootRenderLanes !== lanes) {
26609
+ if (workInProgressRoot !== root22 || workInProgressRootRenderLanes !== lanes) {
26610
26610
  {
26611
26611
  if (isDevToolsPresent) {
26612
- var memoizedUpdaters = root2.memoizedUpdaters;
26612
+ var memoizedUpdaters = root22.memoizedUpdaters;
26613
26613
  if (memoizedUpdaters.size > 0) {
26614
- restorePendingUpdaters(root2, workInProgressRootRenderLanes);
26614
+ restorePendingUpdaters(root22, workInProgressRootRenderLanes);
26615
26615
  memoizedUpdaters.clear();
26616
26616
  }
26617
- movePendingFibersToMemoized(root2, lanes);
26617
+ movePendingFibersToMemoized(root22, lanes);
26618
26618
  }
26619
26619
  }
26620
26620
  workInProgressTransitions = getTransitionsForLanes();
26621
- prepareFreshStack(root2, lanes);
26621
+ prepareFreshStack(root22, lanes);
26622
26622
  }
26623
26623
  {
26624
26624
  markRenderStarted(lanes);
@@ -26628,7 +26628,7 @@ function requireReactDom_development() {
26628
26628
  workLoopSync();
26629
26629
  break;
26630
26630
  } catch (thrownValue) {
26631
- handleError(root2, thrownValue);
26631
+ handleError(root22, thrownValue);
26632
26632
  }
26633
26633
  } while (true);
26634
26634
  resetContextDependencies();
@@ -26649,24 +26649,24 @@ function requireReactDom_development() {
26649
26649
  performUnitOfWork(workInProgress);
26650
26650
  }
26651
26651
  }
26652
- function renderRootConcurrent(root2, lanes) {
26652
+ function renderRootConcurrent(root22, lanes) {
26653
26653
  var prevExecutionContext = executionContext;
26654
26654
  executionContext |= RenderContext;
26655
26655
  var prevDispatcher = pushDispatcher();
26656
- if (workInProgressRoot !== root2 || workInProgressRootRenderLanes !== lanes) {
26656
+ if (workInProgressRoot !== root22 || workInProgressRootRenderLanes !== lanes) {
26657
26657
  {
26658
26658
  if (isDevToolsPresent) {
26659
- var memoizedUpdaters = root2.memoizedUpdaters;
26659
+ var memoizedUpdaters = root22.memoizedUpdaters;
26660
26660
  if (memoizedUpdaters.size > 0) {
26661
- restorePendingUpdaters(root2, workInProgressRootRenderLanes);
26661
+ restorePendingUpdaters(root22, workInProgressRootRenderLanes);
26662
26662
  memoizedUpdaters.clear();
26663
26663
  }
26664
- movePendingFibersToMemoized(root2, lanes);
26664
+ movePendingFibersToMemoized(root22, lanes);
26665
26665
  }
26666
26666
  }
26667
26667
  workInProgressTransitions = getTransitionsForLanes();
26668
26668
  resetRenderTimer();
26669
- prepareFreshStack(root2, lanes);
26669
+ prepareFreshStack(root22, lanes);
26670
26670
  }
26671
26671
  {
26672
26672
  markRenderStarted(lanes);
@@ -26676,7 +26676,7 @@ function requireReactDom_development() {
26676
26676
  workLoopConcurrent();
26677
26677
  break;
26678
26678
  } catch (thrownValue) {
26679
- handleError(root2, thrownValue);
26679
+ handleError(root22, thrownValue);
26680
26680
  }
26681
26681
  } while (true);
26682
26682
  resetContextDependencies();
@@ -26780,20 +26780,20 @@ function requireReactDom_development() {
26780
26780
  workInProgressRootExitStatus = RootCompleted;
26781
26781
  }
26782
26782
  }
26783
- function commitRoot(root2, recoverableErrors, transitions) {
26783
+ function commitRoot(root22, recoverableErrors, transitions) {
26784
26784
  var previousUpdateLanePriority = getCurrentUpdatePriority();
26785
26785
  var prevTransition = ReactCurrentBatchConfig$3.transition;
26786
26786
  try {
26787
26787
  ReactCurrentBatchConfig$3.transition = null;
26788
26788
  setCurrentUpdatePriority(DiscreteEventPriority);
26789
- commitRootImpl(root2, recoverableErrors, transitions, previousUpdateLanePriority);
26789
+ commitRootImpl(root22, recoverableErrors, transitions, previousUpdateLanePriority);
26790
26790
  } finally {
26791
26791
  ReactCurrentBatchConfig$3.transition = prevTransition;
26792
26792
  setCurrentUpdatePriority(previousUpdateLanePriority);
26793
26793
  }
26794
26794
  return null;
26795
26795
  }
26796
- function commitRootImpl(root2, recoverableErrors, transitions, renderPriorityLevel) {
26796
+ function commitRootImpl(root22, recoverableErrors, transitions, renderPriorityLevel) {
26797
26797
  do {
26798
26798
  flushPassiveEffects();
26799
26799
  } while (rootWithPendingPassiveEffects !== null);
@@ -26801,8 +26801,8 @@ function requireReactDom_development() {
26801
26801
  if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
26802
26802
  throw new Error("Should not already be working.");
26803
26803
  }
26804
- var finishedWork = root2.finishedWork;
26805
- var lanes = root2.finishedLanes;
26804
+ var finishedWork = root22.finishedWork;
26805
+ var lanes = root22.finishedLanes;
26806
26806
  {
26807
26807
  markCommitStarted(lanes);
26808
26808
  }
@@ -26818,16 +26818,16 @@ function requireReactDom_development() {
26818
26818
  }
26819
26819
  }
26820
26820
  }
26821
- root2.finishedWork = null;
26822
- root2.finishedLanes = NoLanes;
26823
- if (finishedWork === root2.current) {
26821
+ root22.finishedWork = null;
26822
+ root22.finishedLanes = NoLanes;
26823
+ if (finishedWork === root22.current) {
26824
26824
  throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");
26825
26825
  }
26826
- root2.callbackNode = null;
26827
- root2.callbackPriority = NoLane;
26826
+ root22.callbackNode = null;
26827
+ root22.callbackPriority = NoLane;
26828
26828
  var remainingLanes = mergeLanes(finishedWork.lanes, finishedWork.childLanes);
26829
- markRootFinished(root2, remainingLanes);
26830
- if (root2 === workInProgressRoot) {
26829
+ markRootFinished(root22, remainingLanes);
26830
+ if (root22 === workInProgressRoot) {
26831
26831
  workInProgressRoot = null;
26832
26832
  workInProgress = null;
26833
26833
  workInProgressRootRenderLanes = NoLanes;
@@ -26852,17 +26852,17 @@ function requireReactDom_development() {
26852
26852
  var prevExecutionContext = executionContext;
26853
26853
  executionContext |= CommitContext;
26854
26854
  ReactCurrentOwner$2.current = null;
26855
- commitBeforeMutationEffects(root2, finishedWork);
26855
+ commitBeforeMutationEffects(root22, finishedWork);
26856
26856
  {
26857
26857
  recordCommitTime();
26858
26858
  }
26859
- commitMutationEffects(root2, finishedWork, lanes);
26860
- resetAfterCommit(root2.containerInfo);
26861
- root2.current = finishedWork;
26859
+ commitMutationEffects(root22, finishedWork, lanes);
26860
+ resetAfterCommit(root22.containerInfo);
26861
+ root22.current = finishedWork;
26862
26862
  {
26863
26863
  markLayoutEffectsStarted(lanes);
26864
26864
  }
26865
- commitLayoutEffects(finishedWork, root2, lanes);
26865
+ commitLayoutEffects(finishedWork, root22, lanes);
26866
26866
  {
26867
26867
  markLayoutEffectsStopped();
26868
26868
  }
@@ -26871,7 +26871,7 @@ function requireReactDom_development() {
26871
26871
  setCurrentUpdatePriority(previousPriority);
26872
26872
  ReactCurrentBatchConfig$3.transition = prevTransition;
26873
26873
  } else {
26874
- root2.current = finishedWork;
26874
+ root22.current = finishedWork;
26875
26875
  {
26876
26876
  recordCommitTime();
26877
26877
  }
@@ -26879,7 +26879,7 @@ function requireReactDom_development() {
26879
26879
  var rootDidHavePassiveEffects = rootDoesHavePassiveEffects;
26880
26880
  if (rootDoesHavePassiveEffects) {
26881
26881
  rootDoesHavePassiveEffects = false;
26882
- rootWithPendingPassiveEffects = root2;
26882
+ rootWithPendingPassiveEffects = root22;
26883
26883
  pendingPassiveEffectsLanes = lanes;
26884
26884
  } else {
26885
26885
  {
@@ -26887,27 +26887,27 @@ function requireReactDom_development() {
26887
26887
  rootWithPassiveNestedUpdates = null;
26888
26888
  }
26889
26889
  }
26890
- remainingLanes = root2.pendingLanes;
26890
+ remainingLanes = root22.pendingLanes;
26891
26891
  if (remainingLanes === NoLanes) {
26892
26892
  legacyErrorBoundariesThatAlreadyFailed = null;
26893
26893
  }
26894
26894
  {
26895
26895
  if (!rootDidHavePassiveEffects) {
26896
- commitDoubleInvokeEffectsInDEV(root2.current, false);
26896
+ commitDoubleInvokeEffectsInDEV(root22.current, false);
26897
26897
  }
26898
26898
  }
26899
26899
  onCommitRoot(finishedWork.stateNode, renderPriorityLevel);
26900
26900
  {
26901
26901
  if (isDevToolsPresent) {
26902
- root2.memoizedUpdaters.clear();
26902
+ root22.memoizedUpdaters.clear();
26903
26903
  }
26904
26904
  }
26905
26905
  {
26906
26906
  onCommitRoot$1();
26907
26907
  }
26908
- ensureRootIsScheduled(root2, now());
26908
+ ensureRootIsScheduled(root22, now());
26909
26909
  if (recoverableErrors !== null) {
26910
- var onRecoverableError = root2.onRecoverableError;
26910
+ var onRecoverableError = root22.onRecoverableError;
26911
26911
  for (var i = 0; i < recoverableErrors.length; i++) {
26912
26912
  var recoverableError = recoverableErrors[i];
26913
26913
  var componentStack = recoverableError.stack;
@@ -26924,19 +26924,19 @@ function requireReactDom_development() {
26924
26924
  firstUncaughtError = null;
26925
26925
  throw error$1;
26926
26926
  }
26927
- if (includesSomeLane(pendingPassiveEffectsLanes, SyncLane) && root2.tag !== LegacyRoot) {
26927
+ if (includesSomeLane(pendingPassiveEffectsLanes, SyncLane) && root22.tag !== LegacyRoot) {
26928
26928
  flushPassiveEffects();
26929
26929
  }
26930
- remainingLanes = root2.pendingLanes;
26930
+ remainingLanes = root22.pendingLanes;
26931
26931
  if (includesSomeLane(remainingLanes, SyncLane)) {
26932
26932
  {
26933
26933
  markNestedUpdateScheduled();
26934
26934
  }
26935
- if (root2 === rootWithNestedUpdates) {
26935
+ if (root22 === rootWithNestedUpdates) {
26936
26936
  nestedUpdateCount++;
26937
26937
  } else {
26938
26938
  nestedUpdateCount = 0;
26939
- rootWithNestedUpdates = root2;
26939
+ rootWithNestedUpdates = root22;
26940
26940
  }
26941
26941
  } else {
26942
26942
  nestedUpdateCount = 0;
@@ -26982,7 +26982,7 @@ function requireReactDom_development() {
26982
26982
  }
26983
26983
  var transitions = pendingPassiveTransitions;
26984
26984
  pendingPassiveTransitions = null;
26985
- var root2 = rootWithPendingPassiveEffects;
26985
+ var root22 = rootWithPendingPassiveEffects;
26986
26986
  var lanes = pendingPassiveEffectsLanes;
26987
26987
  rootWithPendingPassiveEffects = null;
26988
26988
  pendingPassiveEffectsLanes = NoLanes;
@@ -26998,31 +26998,31 @@ function requireReactDom_development() {
26998
26998
  }
26999
26999
  var prevExecutionContext = executionContext;
27000
27000
  executionContext |= CommitContext;
27001
- commitPassiveUnmountEffects(root2.current);
27002
- commitPassiveMountEffects(root2, root2.current, lanes, transitions);
27001
+ commitPassiveUnmountEffects(root22.current);
27002
+ commitPassiveMountEffects(root22, root22.current, lanes, transitions);
27003
27003
  {
27004
27004
  var profilerEffects = pendingPassiveProfilerEffects;
27005
27005
  pendingPassiveProfilerEffects = [];
27006
27006
  for (var i = 0; i < profilerEffects.length; i++) {
27007
27007
  var _fiber = profilerEffects[i];
27008
- commitPassiveEffectDurations(root2, _fiber);
27008
+ commitPassiveEffectDurations(root22, _fiber);
27009
27009
  }
27010
27010
  }
27011
27011
  {
27012
27012
  markPassiveEffectsStopped();
27013
27013
  }
27014
27014
  {
27015
- commitDoubleInvokeEffectsInDEV(root2.current, true);
27015
+ commitDoubleInvokeEffectsInDEV(root22.current, true);
27016
27016
  }
27017
27017
  executionContext = prevExecutionContext;
27018
27018
  flushSyncCallbacks();
27019
27019
  {
27020
27020
  if (didScheduleUpdateDuringPassiveEffects) {
27021
- if (root2 === rootWithPassiveNestedUpdates) {
27021
+ if (root22 === rootWithPassiveNestedUpdates) {
27022
27022
  nestedPassiveUpdateCount++;
27023
27023
  } else {
27024
27024
  nestedPassiveUpdateCount = 0;
27025
- rootWithPassiveNestedUpdates = root2;
27025
+ rootWithPassiveNestedUpdates = root22;
27026
27026
  }
27027
27027
  } else {
27028
27028
  nestedPassiveUpdateCount = 0;
@@ -27030,9 +27030,9 @@ function requireReactDom_development() {
27030
27030
  isFlushingPassiveEffects = false;
27031
27031
  didScheduleUpdateDuringPassiveEffects = false;
27032
27032
  }
27033
- onPostCommitRoot(root2);
27033
+ onPostCommitRoot(root22);
27034
27034
  {
27035
- var stateNode = root2.current.stateNode;
27035
+ var stateNode = root22.current.stateNode;
27036
27036
  stateNode.effectDuration = 0;
27037
27037
  stateNode.passiveEffectDuration = 0;
27038
27038
  }
@@ -27058,11 +27058,11 @@ function requireReactDom_development() {
27058
27058
  function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error2) {
27059
27059
  var errorInfo = createCapturedValueAtFiber(error2, sourceFiber);
27060
27060
  var update = createRootErrorUpdate(rootFiber, errorInfo, SyncLane);
27061
- var root2 = enqueueUpdate(rootFiber, update, SyncLane);
27061
+ var root22 = enqueueUpdate(rootFiber, update, SyncLane);
27062
27062
  var eventTime = requestEventTime();
27063
- if (root2 !== null) {
27064
- markRootUpdated(root2, SyncLane, eventTime);
27065
- ensureRootIsScheduled(root2, eventTime);
27063
+ if (root22 !== null) {
27064
+ markRootUpdated(root22, SyncLane, eventTime);
27065
+ ensureRootIsScheduled(root22, eventTime);
27066
27066
  }
27067
27067
  }
27068
27068
  function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error$1) {
@@ -27088,11 +27088,11 @@ function requireReactDom_development() {
27088
27088
  if (typeof ctor.getDerivedStateFromError === "function" || typeof instance2.componentDidCatch === "function" && !isAlreadyFailedLegacyErrorBoundary(instance2)) {
27089
27089
  var errorInfo = createCapturedValueAtFiber(error$1, sourceFiber);
27090
27090
  var update = createClassErrorUpdate(fiber, errorInfo, SyncLane);
27091
- var root2 = enqueueUpdate(fiber, update, SyncLane);
27091
+ var root22 = enqueueUpdate(fiber, update, SyncLane);
27092
27092
  var eventTime = requestEventTime();
27093
- if (root2 !== null) {
27094
- markRootUpdated(root2, SyncLane, eventTime);
27095
- ensureRootIsScheduled(root2, eventTime);
27093
+ if (root22 !== null) {
27094
+ markRootUpdated(root22, SyncLane, eventTime);
27095
+ ensureRootIsScheduled(root22, eventTime);
27096
27096
  }
27097
27097
  return;
27098
27098
  }
@@ -27103,32 +27103,32 @@ function requireReactDom_development() {
27103
27103
  error("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s", error$1);
27104
27104
  }
27105
27105
  }
27106
- function pingSuspendedRoot(root2, wakeable, pingedLanes) {
27107
- var pingCache = root2.pingCache;
27106
+ function pingSuspendedRoot(root22, wakeable, pingedLanes) {
27107
+ var pingCache = root22.pingCache;
27108
27108
  if (pingCache !== null) {
27109
27109
  pingCache.delete(wakeable);
27110
27110
  }
27111
27111
  var eventTime = requestEventTime();
27112
- markRootPinged(root2, pingedLanes);
27113
- warnIfSuspenseResolutionNotWrappedWithActDEV(root2);
27114
- if (workInProgressRoot === root2 && isSubsetOfLanes(workInProgressRootRenderLanes, pingedLanes)) {
27112
+ markRootPinged(root22, pingedLanes);
27113
+ warnIfSuspenseResolutionNotWrappedWithActDEV(root22);
27114
+ if (workInProgressRoot === root22 && isSubsetOfLanes(workInProgressRootRenderLanes, pingedLanes)) {
27115
27115
  if (workInProgressRootExitStatus === RootSuspendedWithDelay || workInProgressRootExitStatus === RootSuspended && includesOnlyRetries(workInProgressRootRenderLanes) && now() - globalMostRecentFallbackTime < FALLBACK_THROTTLE_MS) {
27116
- prepareFreshStack(root2, NoLanes);
27116
+ prepareFreshStack(root22, NoLanes);
27117
27117
  } else {
27118
27118
  workInProgressRootPingedLanes = mergeLanes(workInProgressRootPingedLanes, pingedLanes);
27119
27119
  }
27120
27120
  }
27121
- ensureRootIsScheduled(root2, eventTime);
27121
+ ensureRootIsScheduled(root22, eventTime);
27122
27122
  }
27123
27123
  function retryTimedOutBoundary(boundaryFiber, retryLane) {
27124
27124
  if (retryLane === NoLane) {
27125
27125
  retryLane = requestRetryLane(boundaryFiber);
27126
27126
  }
27127
27127
  var eventTime = requestEventTime();
27128
- var root2 = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);
27129
- if (root2 !== null) {
27130
- markRootUpdated(root2, retryLane, eventTime);
27131
- ensureRootIsScheduled(root2, eventTime);
27128
+ var root22 = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);
27129
+ if (root22 !== null) {
27130
+ markRootUpdated(root22, retryLane, eventTime);
27131
+ ensureRootIsScheduled(root22, eventTime);
27132
27132
  }
27133
27133
  }
27134
27134
  function retryDehydratedSuspenseBoundary(boundaryFiber) {
@@ -27317,12 +27317,12 @@ function requireReactDom_development() {
27317
27317
  }
27318
27318
  }
27319
27319
  }
27320
- function restorePendingUpdaters(root2, lanes) {
27320
+ function restorePendingUpdaters(root22, lanes) {
27321
27321
  {
27322
27322
  if (isDevToolsPresent) {
27323
- var memoizedUpdaters = root2.memoizedUpdaters;
27323
+ var memoizedUpdaters = root22.memoizedUpdaters;
27324
27324
  memoizedUpdaters.forEach(function(schedulingFiber) {
27325
- addFiberToLanesMap(root2, schedulingFiber, lanes);
27325
+ addFiberToLanesMap(root22, schedulingFiber, lanes);
27326
27326
  });
27327
27327
  }
27328
27328
  }
@@ -27380,9 +27380,9 @@ function requireReactDom_development() {
27380
27380
  }
27381
27381
  }
27382
27382
  }
27383
- function warnIfSuspenseResolutionNotWrappedWithActDEV(root2) {
27383
+ function warnIfSuspenseResolutionNotWrappedWithActDEV(root22) {
27384
27384
  {
27385
- if (root2.tag !== LegacyRoot && isConcurrentActEnvironment() && ReactCurrentActQueue$1.current === null) {
27385
+ if (root22.tag !== LegacyRoot && isConcurrentActEnvironment() && ReactCurrentActQueue$1.current === null) {
27386
27386
  error("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act");
27387
27387
  }
27388
27388
  }
@@ -27506,7 +27506,7 @@ function requireReactDom_development() {
27506
27506
  failedBoundaries.add(fiber);
27507
27507
  }
27508
27508
  }
27509
- var scheduleRefresh = function(root2, update) {
27509
+ var scheduleRefresh = function(root22, update) {
27510
27510
  {
27511
27511
  if (resolveFamily === null) {
27512
27512
  return;
@@ -27514,18 +27514,18 @@ function requireReactDom_development() {
27514
27514
  var staleFamilies = update.staleFamilies, updatedFamilies = update.updatedFamilies;
27515
27515
  flushPassiveEffects();
27516
27516
  flushSync(function() {
27517
- scheduleFibersWithFamiliesRecursively(root2.current, updatedFamilies, staleFamilies);
27517
+ scheduleFibersWithFamiliesRecursively(root22.current, updatedFamilies, staleFamilies);
27518
27518
  });
27519
27519
  }
27520
27520
  };
27521
- var scheduleRoot = function(root2, element) {
27521
+ var scheduleRoot = function(root22, element) {
27522
27522
  {
27523
- if (root2.context !== emptyContextObject) {
27523
+ if (root22.context !== emptyContextObject) {
27524
27524
  return;
27525
27525
  }
27526
27526
  flushPassiveEffects();
27527
27527
  flushSync(function() {
27528
- updateContainer(element, root2, null, null);
27528
+ updateContainer(element, root22, null, null);
27529
27529
  });
27530
27530
  }
27531
27531
  };
@@ -27584,13 +27584,13 @@ function requireReactDom_development() {
27584
27584
  }
27585
27585
  }
27586
27586
  }
27587
- var findHostInstancesForRefresh = function(root2, families) {
27587
+ var findHostInstancesForRefresh = function(root22, families) {
27588
27588
  {
27589
27589
  var hostInstances = /* @__PURE__ */ new Set();
27590
27590
  var types = new Set(families.map(function(family) {
27591
27591
  return family.current;
27592
27592
  }));
27593
- findHostInstancesForMatchingFibersRecursively(root2.current, types, hostInstances);
27593
+ findHostInstancesForMatchingFibersRecursively(root22.current, types, hostInstances);
27594
27594
  return hostInstances;
27595
27595
  }
27596
27596
  };
@@ -28143,10 +28143,10 @@ function requireReactDom_development() {
28143
28143
  }
28144
28144
  }
28145
28145
  function createFiberRoot(containerInfo, tag, hydrate2, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks) {
28146
- var root2 = new FiberRootNode(containerInfo, tag, hydrate2, identifierPrefix, onRecoverableError);
28146
+ var root22 = new FiberRootNode(containerInfo, tag, hydrate2, identifierPrefix, onRecoverableError);
28147
28147
  var uninitializedFiber = createHostRootFiber(tag, isStrictMode);
28148
- root2.current = uninitializedFiber;
28149
- uninitializedFiber.stateNode = root2;
28148
+ root22.current = uninitializedFiber;
28149
+ uninitializedFiber.stateNode = root22;
28150
28150
  {
28151
28151
  var _initialState = {
28152
28152
  element: initialChildren,
@@ -28159,7 +28159,7 @@ function requireReactDom_development() {
28159
28159
  uninitializedFiber.memoizedState = _initialState;
28160
28160
  }
28161
28161
  initializeUpdateQueue(uninitializedFiber);
28162
- return root2;
28162
+ return root22;
28163
28163
  }
28164
28164
  var ReactVersion = "18.3.1";
28165
28165
  function createPortal(children, containerInfo, implementation) {
@@ -28242,32 +28242,32 @@ function requireReactDom_development() {
28242
28242
  }
28243
28243
  function createHydrationContainer(initialChildren, callback, containerInfo, tag, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks) {
28244
28244
  var hydrate2 = true;
28245
- var root2 = createFiberRoot(containerInfo, tag, hydrate2, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
28246
- root2.context = getContextForSubtree(null);
28247
- var current2 = root2.current;
28245
+ var root22 = createFiberRoot(containerInfo, tag, hydrate2, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
28246
+ root22.context = getContextForSubtree(null);
28247
+ var current2 = root22.current;
28248
28248
  var eventTime = requestEventTime();
28249
28249
  var lane = requestUpdateLane(current2);
28250
28250
  var update = createUpdate(eventTime, lane);
28251
28251
  update.callback = callback !== void 0 && callback !== null ? callback : null;
28252
28252
  enqueueUpdate(current2, update, lane);
28253
- scheduleInitialHydrationOnRoot(root2, lane, eventTime);
28254
- return root2;
28253
+ scheduleInitialHydrationOnRoot(root22, lane, eventTime);
28254
+ return root22;
28255
28255
  }
28256
- function updateContainer(element, container2, parentComponent, callback) {
28256
+ function updateContainer(element, container, parentComponent, callback) {
28257
28257
  {
28258
- onScheduleRoot(container2, element);
28258
+ onScheduleRoot(container, element);
28259
28259
  }
28260
- var current$1 = container2.current;
28260
+ var current$1 = container.current;
28261
28261
  var eventTime = requestEventTime();
28262
28262
  var lane = requestUpdateLane(current$1);
28263
28263
  {
28264
28264
  markRenderScheduled(lane);
28265
28265
  }
28266
28266
  var context = getContextForSubtree(parentComponent);
28267
- if (container2.context === null) {
28268
- container2.context = context;
28267
+ if (container.context === null) {
28268
+ container.context = context;
28269
28269
  } else {
28270
- container2.pendingContext = context;
28270
+ container.pendingContext = context;
28271
28271
  }
28272
28272
  {
28273
28273
  if (isRendering && current !== null && !didWarnAboutNestedUpdates) {
@@ -28288,15 +28288,15 @@ function requireReactDom_development() {
28288
28288
  }
28289
28289
  update.callback = callback;
28290
28290
  }
28291
- var root2 = enqueueUpdate(current$1, update, lane);
28292
- if (root2 !== null) {
28293
- scheduleUpdateOnFiber(root2, current$1, lane, eventTime);
28294
- entangleTransitions(root2, current$1, lane);
28291
+ var root22 = enqueueUpdate(current$1, update, lane);
28292
+ if (root22 !== null) {
28293
+ scheduleUpdateOnFiber(root22, current$1, lane, eventTime);
28294
+ entangleTransitions(root22, current$1, lane);
28295
28295
  }
28296
28296
  return lane;
28297
28297
  }
28298
- function getPublicRootInstance(container2) {
28299
- var containerFiber = container2.current;
28298
+ function getPublicRootInstance(container) {
28299
+ var containerFiber = container.current;
28300
28300
  if (!containerFiber.child) {
28301
28301
  return null;
28302
28302
  }
@@ -28310,10 +28310,10 @@ function requireReactDom_development() {
28310
28310
  function attemptSynchronousHydration$1(fiber) {
28311
28311
  switch (fiber.tag) {
28312
28312
  case HostRoot: {
28313
- var root2 = fiber.stateNode;
28314
- if (isRootDehydrated(root2)) {
28315
- var lanes = getHighestPriorityPendingLanes(root2);
28316
- flushRoot(root2, lanes);
28313
+ var root22 = fiber.stateNode;
28314
+ if (isRootDehydrated(root22)) {
28315
+ var lanes = getHighestPriorityPendingLanes(root22);
28316
+ flushRoot(root22, lanes);
28317
28317
  }
28318
28318
  break;
28319
28319
  }
@@ -28349,10 +28349,10 @@ function requireReactDom_development() {
28349
28349
  return;
28350
28350
  }
28351
28351
  var lane = SelectiveHydrationLane;
28352
- var root2 = enqueueConcurrentRenderForLane(fiber, lane);
28353
- if (root2 !== null) {
28352
+ var root22 = enqueueConcurrentRenderForLane(fiber, lane);
28353
+ if (root22 !== null) {
28354
28354
  var eventTime = requestEventTime();
28355
- scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
28355
+ scheduleUpdateOnFiber(root22, fiber, lane, eventTime);
28356
28356
  }
28357
28357
  markRetryLaneIfNotHydrated(fiber, lane);
28358
28358
  }
@@ -28361,10 +28361,10 @@ function requireReactDom_development() {
28361
28361
  return;
28362
28362
  }
28363
28363
  var lane = requestUpdateLane(fiber);
28364
- var root2 = enqueueConcurrentRenderForLane(fiber, lane);
28365
- if (root2 !== null) {
28364
+ var root22 = enqueueConcurrentRenderForLane(fiber, lane);
28365
+ if (root22 !== null) {
28366
28366
  var eventTime = requestEventTime();
28367
- scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
28367
+ scheduleUpdateOnFiber(root22, fiber, lane, eventTime);
28368
28368
  }
28369
28369
  markRetryLaneIfNotHydrated(fiber, lane);
28370
28370
  }
@@ -28477,9 +28477,9 @@ function requireReactDom_development() {
28477
28477
  hook.memoizedState = newState;
28478
28478
  hook.baseState = newState;
28479
28479
  fiber.memoizedProps = assign2({}, fiber.memoizedProps);
28480
- var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28481
- if (root2 !== null) {
28482
- scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
28480
+ var root22 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28481
+ if (root22 !== null) {
28482
+ scheduleUpdateOnFiber(root22, fiber, SyncLane, NoTimestamp);
28483
28483
  }
28484
28484
  }
28485
28485
  };
@@ -28490,9 +28490,9 @@ function requireReactDom_development() {
28490
28490
  hook.memoizedState = newState;
28491
28491
  hook.baseState = newState;
28492
28492
  fiber.memoizedProps = assign2({}, fiber.memoizedProps);
28493
- var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28494
- if (root2 !== null) {
28495
- scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
28493
+ var root22 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28494
+ if (root22 !== null) {
28495
+ scheduleUpdateOnFiber(root22, fiber, SyncLane, NoTimestamp);
28496
28496
  }
28497
28497
  }
28498
28498
  };
@@ -28503,9 +28503,9 @@ function requireReactDom_development() {
28503
28503
  hook.memoizedState = newState;
28504
28504
  hook.baseState = newState;
28505
28505
  fiber.memoizedProps = assign2({}, fiber.memoizedProps);
28506
- var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28507
- if (root2 !== null) {
28508
- scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
28506
+ var root22 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28507
+ if (root22 !== null) {
28508
+ scheduleUpdateOnFiber(root22, fiber, SyncLane, NoTimestamp);
28509
28509
  }
28510
28510
  }
28511
28511
  };
@@ -28514,9 +28514,9 @@ function requireReactDom_development() {
28514
28514
  if (fiber.alternate) {
28515
28515
  fiber.alternate.pendingProps = fiber.pendingProps;
28516
28516
  }
28517
- var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28518
- if (root2 !== null) {
28519
- scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
28517
+ var root22 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28518
+ if (root22 !== null) {
28519
+ scheduleUpdateOnFiber(root22, fiber, SyncLane, NoTimestamp);
28520
28520
  }
28521
28521
  };
28522
28522
  overridePropsDeletePath = function(fiber, path) {
@@ -28524,9 +28524,9 @@ function requireReactDom_development() {
28524
28524
  if (fiber.alternate) {
28525
28525
  fiber.alternate.pendingProps = fiber.pendingProps;
28526
28526
  }
28527
- var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28528
- if (root2 !== null) {
28529
- scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
28527
+ var root22 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28528
+ if (root22 !== null) {
28529
+ scheduleUpdateOnFiber(root22, fiber, SyncLane, NoTimestamp);
28530
28530
  }
28531
28531
  };
28532
28532
  overridePropsRenamePath = function(fiber, oldPath, newPath) {
@@ -28534,15 +28534,15 @@ function requireReactDom_development() {
28534
28534
  if (fiber.alternate) {
28535
28535
  fiber.alternate.pendingProps = fiber.pendingProps;
28536
28536
  }
28537
- var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28538
- if (root2 !== null) {
28539
- scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
28537
+ var root22 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28538
+ if (root22 !== null) {
28539
+ scheduleUpdateOnFiber(root22, fiber, SyncLane, NoTimestamp);
28540
28540
  }
28541
28541
  };
28542
28542
  scheduleUpdate = function(fiber) {
28543
- var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28544
- if (root2 !== null) {
28545
- scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
28543
+ var root22 = enqueueConcurrentRenderForLane(fiber, SyncLane);
28544
+ if (root22 !== null) {
28545
+ scheduleUpdateOnFiber(root22, fiber, SyncLane, NoTimestamp);
28546
28546
  }
28547
28547
  };
28548
28548
  setErrorHandler = function(newShouldErrorImpl) {
@@ -28608,8 +28608,8 @@ function requireReactDom_development() {
28608
28608
  this._internalRoot = internalRoot;
28609
28609
  }
28610
28610
  ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = function(children) {
28611
- var root2 = this._internalRoot;
28612
- if (root2 === null) {
28611
+ var root22 = this._internalRoot;
28612
+ if (root22 === null) {
28613
28613
  throw new Error("Cannot update an unmounted root.");
28614
28614
  }
28615
28615
  {
@@ -28620,17 +28620,17 @@ function requireReactDom_development() {
28620
28620
  } else if (typeof arguments[1] !== "undefined") {
28621
28621
  error("You passed a second argument to root.render(...) but it only accepts one argument.");
28622
28622
  }
28623
- var container2 = root2.containerInfo;
28624
- if (container2.nodeType !== COMMENT_NODE) {
28625
- var hostInstance = findHostInstanceWithNoPortals(root2.current);
28623
+ var container = root22.containerInfo;
28624
+ if (container.nodeType !== COMMENT_NODE) {
28625
+ var hostInstance = findHostInstanceWithNoPortals(root22.current);
28626
28626
  if (hostInstance) {
28627
- if (hostInstance.parentNode !== container2) {
28627
+ if (hostInstance.parentNode !== container) {
28628
28628
  error("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.");
28629
28629
  }
28630
28630
  }
28631
28631
  }
28632
28632
  }
28633
- updateContainer(children, root2, null, null);
28633
+ updateContainer(children, root22, null, null);
28634
28634
  };
28635
28635
  ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = function() {
28636
28636
  {
@@ -28638,26 +28638,26 @@ function requireReactDom_development() {
28638
28638
  error("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");
28639
28639
  }
28640
28640
  }
28641
- var root2 = this._internalRoot;
28642
- if (root2 !== null) {
28641
+ var root22 = this._internalRoot;
28642
+ if (root22 !== null) {
28643
28643
  this._internalRoot = null;
28644
- var container2 = root2.containerInfo;
28644
+ var container = root22.containerInfo;
28645
28645
  {
28646
28646
  if (isAlreadyRendering()) {
28647
28647
  error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.");
28648
28648
  }
28649
28649
  }
28650
28650
  flushSync(function() {
28651
- updateContainer(null, root2, null, null);
28651
+ updateContainer(null, root22, null, null);
28652
28652
  });
28653
- unmarkContainerAsRoot(container2);
28653
+ unmarkContainerAsRoot(container);
28654
28654
  }
28655
28655
  };
28656
- function createRoot(container2, options2) {
28657
- if (!isValidContainer(container2)) {
28656
+ function createRoot(container, options2) {
28657
+ if (!isValidContainer(container)) {
28658
28658
  throw new Error("createRoot(...): Target container is not a DOM element.");
28659
28659
  }
28660
- warnIfReactDOMContainerInDEV(container2);
28660
+ warnIfReactDOMContainerInDEV(container);
28661
28661
  var isStrictMode = false;
28662
28662
  var concurrentUpdatesByDefaultOverride = false;
28663
28663
  var identifierPrefix = "";
@@ -28685,11 +28685,11 @@ function requireReactDom_development() {
28685
28685
  options2.transitionCallbacks;
28686
28686
  }
28687
28687
  }
28688
- var root2 = createContainer(container2, ConcurrentRoot, null, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
28689
- markContainerAsRoot(root2.current, container2);
28690
- var rootContainerElement = container2.nodeType === COMMENT_NODE ? container2.parentNode : container2;
28688
+ var root22 = createContainer(container, ConcurrentRoot, null, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
28689
+ markContainerAsRoot(root22.current, container);
28690
+ var rootContainerElement = container.nodeType === COMMENT_NODE ? container.parentNode : container;
28691
28691
  listenToAllSupportedEvents(rootContainerElement);
28692
- return new ReactDOMRoot(root2);
28692
+ return new ReactDOMRoot(root22);
28693
28693
  }
28694
28694
  function ReactDOMHydrationRoot(internalRoot) {
28695
28695
  this._internalRoot = internalRoot;
@@ -28700,11 +28700,11 @@ function requireReactDom_development() {
28700
28700
  }
28701
28701
  }
28702
28702
  ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = scheduleHydration;
28703
- function hydrateRoot(container2, initialChildren, options2) {
28704
- if (!isValidContainer(container2)) {
28703
+ function hydrateRoot(container, initialChildren, options2) {
28704
+ if (!isValidContainer(container)) {
28705
28705
  throw new Error("hydrateRoot(...): Target container is not a DOM element.");
28706
28706
  }
28707
- warnIfReactDOMContainerInDEV(container2);
28707
+ warnIfReactDOMContainerInDEV(container);
28708
28708
  {
28709
28709
  if (initialChildren === void 0) {
28710
28710
  error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");
@@ -28727,16 +28727,16 @@ function requireReactDom_development() {
28727
28727
  onRecoverableError = options2.onRecoverableError;
28728
28728
  }
28729
28729
  }
28730
- var root2 = createHydrationContainer(initialChildren, null, container2, ConcurrentRoot, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
28731
- markContainerAsRoot(root2.current, container2);
28732
- listenToAllSupportedEvents(container2);
28730
+ var root22 = createHydrationContainer(initialChildren, null, container, ConcurrentRoot, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
28731
+ markContainerAsRoot(root22.current, container);
28732
+ listenToAllSupportedEvents(container);
28733
28733
  if (mutableSources) {
28734
28734
  for (var i = 0; i < mutableSources.length; i++) {
28735
28735
  var mutableSource = mutableSources[i];
28736
- registerMutableSourceForHydration(root2, mutableSource);
28736
+ registerMutableSourceForHydration(root22, mutableSource);
28737
28737
  }
28738
28738
  }
28739
- return new ReactDOMHydrationRoot(root2);
28739
+ return new ReactDOMHydrationRoot(root22);
28740
28740
  }
28741
28741
  function isValidContainer(node) {
28742
28742
  return !!(node && (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE || false));
@@ -28744,13 +28744,13 @@ function requireReactDom_development() {
28744
28744
  function isValidContainerLegacy(node) {
28745
28745
  return !!(node && (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE || node.nodeType === COMMENT_NODE && node.nodeValue === " react-mount-point-unstable "));
28746
28746
  }
28747
- function warnIfReactDOMContainerInDEV(container2) {
28747
+ function warnIfReactDOMContainerInDEV(container) {
28748
28748
  {
28749
- if (container2.nodeType === ELEMENT_NODE && container2.tagName && container2.tagName.toUpperCase() === "BODY") {
28749
+ if (container.nodeType === ELEMENT_NODE && container.tagName && container.tagName.toUpperCase() === "BODY") {
28750
28750
  error("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app.");
28751
28751
  }
28752
- if (isContainerMarkedAsRoot(container2)) {
28753
- if (container2._reactRootContainer) {
28752
+ if (isContainerMarkedAsRoot(container)) {
28753
+ if (container._reactRootContainer) {
28754
28754
  error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.");
28755
28755
  } else {
28756
28756
  error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.");
@@ -28761,51 +28761,51 @@ function requireReactDom_development() {
28761
28761
  var ReactCurrentOwner$3 = ReactSharedInternals.ReactCurrentOwner;
28762
28762
  var topLevelUpdateWarnings;
28763
28763
  {
28764
- topLevelUpdateWarnings = function(container2) {
28765
- if (container2._reactRootContainer && container2.nodeType !== COMMENT_NODE) {
28766
- var hostInstance = findHostInstanceWithNoPortals(container2._reactRootContainer.current);
28764
+ topLevelUpdateWarnings = function(container) {
28765
+ if (container._reactRootContainer && container.nodeType !== COMMENT_NODE) {
28766
+ var hostInstance = findHostInstanceWithNoPortals(container._reactRootContainer.current);
28767
28767
  if (hostInstance) {
28768
- if (hostInstance.parentNode !== container2) {
28768
+ if (hostInstance.parentNode !== container) {
28769
28769
  error("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.");
28770
28770
  }
28771
28771
  }
28772
28772
  }
28773
- var isRootRenderedBySomeReact = !!container2._reactRootContainer;
28774
- var rootEl = getReactRootElementInContainer(container2);
28773
+ var isRootRenderedBySomeReact = !!container._reactRootContainer;
28774
+ var rootEl = getReactRootElementInContainer(container);
28775
28775
  var hasNonRootReactChild = !!(rootEl && getInstanceFromNode(rootEl));
28776
28776
  if (hasNonRootReactChild && !isRootRenderedBySomeReact) {
28777
28777
  error("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render.");
28778
28778
  }
28779
- if (container2.nodeType === ELEMENT_NODE && container2.tagName && container2.tagName.toUpperCase() === "BODY") {
28779
+ if (container.nodeType === ELEMENT_NODE && container.tagName && container.tagName.toUpperCase() === "BODY") {
28780
28780
  error("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");
28781
28781
  }
28782
28782
  };
28783
28783
  }
28784
- function getReactRootElementInContainer(container2) {
28785
- if (!container2) {
28784
+ function getReactRootElementInContainer(container) {
28785
+ if (!container) {
28786
28786
  return null;
28787
28787
  }
28788
- if (container2.nodeType === DOCUMENT_NODE) {
28789
- return container2.documentElement;
28788
+ if (container.nodeType === DOCUMENT_NODE) {
28789
+ return container.documentElement;
28790
28790
  } else {
28791
- return container2.firstChild;
28791
+ return container.firstChild;
28792
28792
  }
28793
28793
  }
28794
28794
  function noopOnRecoverableError() {
28795
28795
  }
28796
- function legacyCreateRootFromDOMContainer(container2, initialChildren, parentComponent, callback, isHydrationContainer) {
28796
+ function legacyCreateRootFromDOMContainer(container, initialChildren, parentComponent, callback, isHydrationContainer) {
28797
28797
  if (isHydrationContainer) {
28798
28798
  if (typeof callback === "function") {
28799
28799
  var originalCallback = callback;
28800
28800
  callback = function() {
28801
- var instance2 = getPublicRootInstance(root2);
28801
+ var instance2 = getPublicRootInstance(root22);
28802
28802
  originalCallback.call(instance2);
28803
28803
  };
28804
28804
  }
28805
- var root2 = createHydrationContainer(
28805
+ var root22 = createHydrationContainer(
28806
28806
  initialChildren,
28807
28807
  callback,
28808
- container2,
28808
+ container,
28809
28809
  LegacyRoot,
28810
28810
  null,
28811
28811
  // hydrationCallbacks
@@ -28817,16 +28817,16 @@ function requireReactDom_development() {
28817
28817
  // identifierPrefix
28818
28818
  noopOnRecoverableError
28819
28819
  );
28820
- container2._reactRootContainer = root2;
28821
- markContainerAsRoot(root2.current, container2);
28822
- var rootContainerElement = container2.nodeType === COMMENT_NODE ? container2.parentNode : container2;
28820
+ container._reactRootContainer = root22;
28821
+ markContainerAsRoot(root22.current, container);
28822
+ var rootContainerElement = container.nodeType === COMMENT_NODE ? container.parentNode : container;
28823
28823
  listenToAllSupportedEvents(rootContainerElement);
28824
28824
  flushSync();
28825
- return root2;
28825
+ return root22;
28826
28826
  } else {
28827
28827
  var rootSibling;
28828
- while (rootSibling = container2.lastChild) {
28829
- container2.removeChild(rootSibling);
28828
+ while (rootSibling = container.lastChild) {
28829
+ container.removeChild(rootSibling);
28830
28830
  }
28831
28831
  if (typeof callback === "function") {
28832
28832
  var _originalCallback = callback;
@@ -28836,7 +28836,7 @@ function requireReactDom_development() {
28836
28836
  };
28837
28837
  }
28838
28838
  var _root = createContainer(
28839
- container2,
28839
+ container,
28840
28840
  LegacyRoot,
28841
28841
  null,
28842
28842
  // hydrationCallbacks
@@ -28848,9 +28848,9 @@ function requireReactDom_development() {
28848
28848
  // identifierPrefix
28849
28849
  noopOnRecoverableError
28850
28850
  );
28851
- container2._reactRootContainer = _root;
28852
- markContainerAsRoot(_root.current, container2);
28853
- var _rootContainerElement = container2.nodeType === COMMENT_NODE ? container2.parentNode : container2;
28851
+ container._reactRootContainer = _root;
28852
+ markContainerAsRoot(_root.current, container);
28853
+ var _rootContainerElement = container.nodeType === COMMENT_NODE ? container.parentNode : container;
28854
28854
  listenToAllSupportedEvents(_rootContainerElement);
28855
28855
  flushSync(function() {
28856
28856
  updateContainer(initialChildren, _root, parentComponent, callback);
@@ -28865,27 +28865,27 @@ function requireReactDom_development() {
28865
28865
  }
28866
28866
  }
28867
28867
  }
28868
- function legacyRenderSubtreeIntoContainer(parentComponent, children, container2, forceHydrate, callback) {
28868
+ function legacyRenderSubtreeIntoContainer(parentComponent, children, container, forceHydrate, callback) {
28869
28869
  {
28870
- topLevelUpdateWarnings(container2);
28870
+ topLevelUpdateWarnings(container);
28871
28871
  warnOnInvalidCallback$1(callback === void 0 ? null : callback, "render");
28872
28872
  }
28873
- var maybeRoot = container2._reactRootContainer;
28874
- var root2;
28873
+ var maybeRoot = container._reactRootContainer;
28874
+ var root22;
28875
28875
  if (!maybeRoot) {
28876
- root2 = legacyCreateRootFromDOMContainer(container2, children, parentComponent, callback, forceHydrate);
28876
+ root22 = legacyCreateRootFromDOMContainer(container, children, parentComponent, callback, forceHydrate);
28877
28877
  } else {
28878
- root2 = maybeRoot;
28878
+ root22 = maybeRoot;
28879
28879
  if (typeof callback === "function") {
28880
28880
  var originalCallback = callback;
28881
28881
  callback = function() {
28882
- var instance2 = getPublicRootInstance(root2);
28882
+ var instance2 = getPublicRootInstance(root22);
28883
28883
  originalCallback.call(instance2);
28884
28884
  };
28885
28885
  }
28886
- updateContainer(children, root2, parentComponent, callback);
28886
+ updateContainer(children, root22, parentComponent, callback);
28887
28887
  }
28888
- return getPublicRootInstance(root2);
28888
+ return getPublicRootInstance(root22);
28889
28889
  }
28890
28890
  var didWarnAboutFindDOMNode = false;
28891
28891
  function findDOMNode(componentOrElement) {
@@ -28913,35 +28913,35 @@ function requireReactDom_development() {
28913
28913
  return findHostInstanceWithWarning(componentOrElement, "findDOMNode");
28914
28914
  }
28915
28915
  }
28916
- function hydrate(element, container2, callback) {
28916
+ function hydrate(element, container, callback) {
28917
28917
  {
28918
28918
  error("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot");
28919
28919
  }
28920
- if (!isValidContainerLegacy(container2)) {
28920
+ if (!isValidContainerLegacy(container)) {
28921
28921
  throw new Error("Target container is not a DOM element.");
28922
28922
  }
28923
28923
  {
28924
- var isModernRoot = isContainerMarkedAsRoot(container2) && container2._reactRootContainer === void 0;
28924
+ var isModernRoot = isContainerMarkedAsRoot(container) && container._reactRootContainer === void 0;
28925
28925
  if (isModernRoot) {
28926
28926
  error("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?");
28927
28927
  }
28928
28928
  }
28929
- return legacyRenderSubtreeIntoContainer(null, element, container2, true, callback);
28929
+ return legacyRenderSubtreeIntoContainer(null, element, container, true, callback);
28930
28930
  }
28931
- function render(element, container2, callback) {
28931
+ function render(element, container, callback) {
28932
28932
  {
28933
28933
  error("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot");
28934
28934
  }
28935
- if (!isValidContainerLegacy(container2)) {
28935
+ if (!isValidContainerLegacy(container)) {
28936
28936
  throw new Error("Target container is not a DOM element.");
28937
28937
  }
28938
28938
  {
28939
- var isModernRoot = isContainerMarkedAsRoot(container2) && container2._reactRootContainer === void 0;
28939
+ var isModernRoot = isContainerMarkedAsRoot(container) && container._reactRootContainer === void 0;
28940
28940
  if (isModernRoot) {
28941
28941
  error("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?");
28942
28942
  }
28943
28943
  }
28944
- return legacyRenderSubtreeIntoContainer(null, element, container2, false, callback);
28944
+ return legacyRenderSubtreeIntoContainer(null, element, container, false, callback);
28945
28945
  }
28946
28946
  function unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
28947
28947
  {
@@ -28956,42 +28956,42 @@ function requireReactDom_development() {
28956
28956
  return legacyRenderSubtreeIntoContainer(parentComponent, element, containerNode, false, callback);
28957
28957
  }
28958
28958
  var didWarnAboutUnmountComponentAtNode = false;
28959
- function unmountComponentAtNode(container2) {
28959
+ function unmountComponentAtNode(container) {
28960
28960
  {
28961
28961
  if (!didWarnAboutUnmountComponentAtNode) {
28962
28962
  didWarnAboutUnmountComponentAtNode = true;
28963
28963
  error("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot");
28964
28964
  }
28965
28965
  }
28966
- if (!isValidContainerLegacy(container2)) {
28966
+ if (!isValidContainerLegacy(container)) {
28967
28967
  throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");
28968
28968
  }
28969
28969
  {
28970
- var isModernRoot = isContainerMarkedAsRoot(container2) && container2._reactRootContainer === void 0;
28970
+ var isModernRoot = isContainerMarkedAsRoot(container) && container._reactRootContainer === void 0;
28971
28971
  if (isModernRoot) {
28972
28972
  error("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?");
28973
28973
  }
28974
28974
  }
28975
- if (container2._reactRootContainer) {
28975
+ if (container._reactRootContainer) {
28976
28976
  {
28977
- var rootEl = getReactRootElementInContainer(container2);
28977
+ var rootEl = getReactRootElementInContainer(container);
28978
28978
  var renderedByDifferentReact = rootEl && !getInstanceFromNode(rootEl);
28979
28979
  if (renderedByDifferentReact) {
28980
28980
  error("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.");
28981
28981
  }
28982
28982
  }
28983
28983
  flushSync(function() {
28984
- legacyRenderSubtreeIntoContainer(null, null, container2, false, function() {
28985
- container2._reactRootContainer = null;
28986
- unmarkContainerAsRoot(container2);
28984
+ legacyRenderSubtreeIntoContainer(null, null, container, false, function() {
28985
+ container._reactRootContainer = null;
28986
+ unmarkContainerAsRoot(container);
28987
28987
  });
28988
28988
  });
28989
28989
  return true;
28990
28990
  } else {
28991
28991
  {
28992
- var _rootEl = getReactRootElementInContainer(container2);
28992
+ var _rootEl = getReactRootElementInContainer(container);
28993
28993
  var hasNonRootReactChild = !!(_rootEl && getInstanceFromNode(_rootEl));
28994
- var isContainerReactRoot = container2.nodeType === ELEMENT_NODE && isValidContainerLegacy(container2.parentNode) && !!container2.parentNode._reactRootContainer;
28994
+ var isContainerReactRoot = container.nodeType === ELEMENT_NODE && isValidContainerLegacy(container.parentNode) && !!container.parentNode._reactRootContainer;
28995
28995
  if (hasNonRootReactChild) {
28996
28996
  error("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s", isContainerReactRoot ? "You may have accidentally passed in a React root node instead of its container." : "Instead, have the parent component update its state and rerender in order to remove this component.");
28997
28997
  }
@@ -29013,12 +29013,12 @@ function requireReactDom_development() {
29013
29013
  }
29014
29014
  setRestoreImplementation(restoreControlledState$3);
29015
29015
  setBatchingImplementation(batchedUpdates$1, discreteUpdates, flushSync);
29016
- function createPortal$1(children, container2) {
29016
+ function createPortal$1(children, container) {
29017
29017
  var key = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
29018
- if (!isValidContainer(container2)) {
29018
+ if (!isValidContainer(container)) {
29019
29019
  throw new Error("Target container is not a DOM element.");
29020
29020
  }
29021
- return createPortal(children, container2, null, key);
29021
+ return createPortal(children, container, null, key);
29022
29022
  }
29023
29023
  function renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
29024
29024
  return unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback);
@@ -29029,21 +29029,21 @@ function requireReactDom_development() {
29029
29029
  // This is an array for better minification.
29030
29030
  Events: [getInstanceFromNode, getNodeFromInstance, getFiberCurrentPropsFromNode, enqueueStateRestore, restoreStateIfNeeded, batchedUpdates$1]
29031
29031
  };
29032
- function createRoot$1(container2, options2) {
29032
+ function createRoot$1(container, options2) {
29033
29033
  {
29034
29034
  if (!Internals.usingClientEntryPoint && true) {
29035
29035
  error('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');
29036
29036
  }
29037
29037
  }
29038
- return createRoot(container2, options2);
29038
+ return createRoot(container, options2);
29039
29039
  }
29040
- function hydrateRoot$1(container2, initialChildren, options2) {
29040
+ function hydrateRoot$1(container, initialChildren, options2) {
29041
29041
  {
29042
29042
  if (!Internals.usingClientEntryPoint && true) {
29043
29043
  error('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');
29044
29044
  }
29045
29045
  }
29046
- return hydrateRoot(container2, initialChildren, options2);
29046
+ return hydrateRoot(container, initialChildren, options2);
29047
29047
  }
29048
29048
  function flushSync$1(fn) {
29049
29049
  {
@@ -29764,7 +29764,7 @@ const _createHooksMap = function _createHooksMap2() {
29764
29764
  };
29765
29765
  function createDOMPurify() {
29766
29766
  let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
29767
- const DOMPurify = (root) => createDOMPurify(root);
29767
+ const DOMPurify = (root2) => createDOMPurify(root2);
29768
29768
  DOMPurify.version = "3.3.0";
29769
29769
  DOMPurify.removed = [];
29770
29770
  if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
@@ -30167,10 +30167,10 @@ function createDOMPurify() {
30167
30167
  }
30168
30168
  return WHOLE_DOCUMENT ? doc.documentElement : body;
30169
30169
  };
30170
- const _createNodeIterator = function _createNodeIterator2(root) {
30170
+ const _createNodeIterator = function _createNodeIterator2(root2) {
30171
30171
  return createNodeIterator.call(
30172
- root.ownerDocument || root,
30173
- root,
30172
+ root2.ownerDocument || root2,
30173
+ root2,
30174
30174
  // eslint-disable-next-line no-bitwise
30175
30175
  NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION,
30176
30176
  null
@@ -35330,79 +35330,34 @@ const getDefaultConfig = () => {
35330
35330
  };
35331
35331
  const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
35332
35332
  const cx = (...args) => twMerge(clsx(...args));
35333
- const container = "container_ueeVi";
35334
- const blur = "blur_9rZ6A";
35335
- const rootContainer = "rootContainer_Z8gey";
35333
+ const root = "root_Xsw1F";
35336
35334
  const vmButton = "vmButton_Xr1Q6";
35337
35335
  const opened = "opened_gewqL";
35338
35336
  const isConnected = "isConnected_tjs3F";
35339
35337
  const closePopupButton = "closePopupButton_-08HG";
35340
- const baseActions = "baseActions_pkHeO";
35341
- const hierarchyButton = "hierarchyButton_h3FD7";
35342
- const active = "active_4JTx5";
35343
35338
  const vmPopup = "vmPopup_Q4l4j";
35344
- const vmContent = "vmContent_VAE7p";
35345
- const vmContentInput = "vmContentInput_zbDAW";
35346
- const filled = "filled_-3YUt";
35347
- const vmContentTree = "vmContentTree_BB36O";
35348
- const line = "line_Xgaua";
35339
+ const treeItemHeader = "treeItemHeader_9gR6Q";
35340
+ const treeItemLabel = "treeItemLabel_eiMgP";
35341
+ const treeItemMetaText = "treeItemMetaText_cmfX0";
35342
+ const treeItem = "treeItem_sRXPA";
35349
35343
  const vmTreeItem = "vmTreeItem_t-7jc";
35350
35344
  const extrasItem = "extrasItem_MI9Fa";
35351
- const vmContentFilters = "vmContentFilters_No1QW";
35352
- const propertyMeta = "propertyMeta_XxYHc";
35353
- const small = "small_Ipy6s";
35354
- const propertyValue = "propertyValue_s9qHJ";
35355
- const propertyName = "property-name_2-sJi";
35356
- const expandable = "expandable_2LUhL";
35357
- const property = "property_eoWZv";
35358
- const instance = "instance_B-kEn";
35359
- const primitive = "primitive_5yfCy";
35360
- const boolean = "boolean_TwUVp";
35361
- const number = "number_AVdzm";
35362
- const object2 = "object_kn8wQ";
35363
- const bigint = "bigint_ZrO3O";
35364
- const symbol = "symbol_9GN4U";
35365
- const string = "string_m1Kkx";
35366
35345
  const expandButton = "expandButton_EObqt";
35367
35346
  const expanded = "expanded_uFpb7";
35368
35347
  const disabled = "disabled_IDojS";
35369
- const css = {
35370
- "static": "static_g5P-G",
35371
- container,
35372
- blur,
35373
- rootContainer,
35348
+ const css$3 = {
35349
+ root,
35374
35350
  vmButton,
35375
35351
  opened,
35376
35352
  isConnected,
35377
35353
  closePopupButton,
35378
- baseActions,
35379
- hierarchyButton,
35380
- active,
35381
35354
  vmPopup,
35382
- vmContent,
35383
- vmContentInput,
35384
- filled,
35385
- vmContentTree,
35386
- line,
35355
+ treeItemHeader,
35356
+ treeItemLabel,
35357
+ treeItemMetaText,
35358
+ treeItem,
35387
35359
  vmTreeItem,
35388
35360
  extrasItem,
35389
- vmContentFilters,
35390
- propertyMeta,
35391
- small,
35392
- propertyValue,
35393
- "property-name": "property-name_2-sJi",
35394
- propertyName,
35395
- expandable,
35396
- property,
35397
- instance,
35398
- primitive,
35399
- boolean,
35400
- number,
35401
- object: object2,
35402
- "undefined": "undefined_SMcns",
35403
- bigint,
35404
- symbol,
35405
- string,
35406
35361
  expandButton,
35407
35362
  expanded,
35408
35363
  disabled
@@ -35413,10 +35368,10 @@ const VmDevtoolsButton = observer(() => {
35413
35368
  "button",
35414
35369
  {
35415
35370
  className: cx(
35416
- css.vmButton,
35371
+ css$3.vmButton,
35417
35372
  {
35418
- [css.opened]: model.devtools.isPopupOpened,
35419
- [css.isConnected]: model.devtools.isActive
35373
+ [css$3.opened]: model.devtools.isPopupOpened,
35374
+ [css$3.isConnected]: model.devtools.isActive
35420
35375
  },
35421
35376
  model.devtools.config.buttonClassName
35422
35377
  ),
@@ -35450,6 +35405,31 @@ const VmDevtoolsButton = observer(() => {
35450
35405
  void 0
35451
35406
  );
35452
35407
  });
35408
+ const ChevronRight = (props) => reactExports.createElement(
35409
+ "svg",
35410
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
35411
+ reactExports.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M5.47 13.03a.75.75 0 0 1 0-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0", clipRule: "evenodd" })
35412
+ );
35413
+ const FolderTree = (props) => reactExports.createElement(
35414
+ "svg",
35415
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
35416
+ reactExports.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M7.5 13.5v-3A.5.5 0 0 1 8 10h.672a.5.5 0 0 1 .353.146l.414.415.44.439H13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5M6 13H4.5a3 3 0 0 1-3-3V1.25a.75.75 0 0 1 1.5 0V2a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V5H4.5A3 3 0 0 1 3 4.599V10a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm1.5-8.75V5.5A.5.5 0 0 0 8 6h5a.5.5 0 0 0 .5-.5v-2A.5.5 0 0 0 13 3H9.879l-.44-.44-.414-.414A.5.5 0 0 0 8.672 2H8a.5.5 0 0 0-.5.5z", clipRule: "evenodd" })
35417
+ );
35418
+ const ListUl = (props) => reactExports.createElement(
35419
+ "svg",
35420
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
35421
+ reactExports.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M2.5 5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.25-2a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8M3.75 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M2.5 13.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5", clipRule: "evenodd" })
35422
+ );
35423
+ const Magnifier = (props) => reactExports.createElement(
35424
+ "svg",
35425
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
35426
+ reactExports.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z", clipRule: "evenodd" })
35427
+ );
35428
+ const Xmark = (props) => reactExports.createElement(
35429
+ "svg",
35430
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 16 16" }, props),
35431
+ reactExports.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06", clipRule: "evenodd" })
35432
+ );
35453
35433
  const a = null, { min: u, max: h, abs: p, floor: v } = Math, g = (e, t, o) => u(o, h(t, e)), m = (e) => [...e].sort(((e2, t) => e2 - t)), _14 = "function" == typeof queueMicrotask ? queueMicrotask : (e) => {
35454
35434
  Promise.resolve().then(e);
35455
35435
  }, S = () => {
@@ -35784,48 +35764,77 @@ const a = null, { min: u, max: h, abs: p, floor: v } = Math, g = (e, t, o) => u(
35784
35764
  let w2 = jsxRuntimeExports.jsx(te, { ref: m2, scrollRef: S2 ? _15 : void 0, data: o, bufferSize: r2, itemSize: i, shift: s, horizontal: l, keepMounted: c, cache: d, ssrCount: a2, item: u2, onScroll: h2, onScrollEnd: p2, children: t });
35785
35765
  return S2 && (w2 = jsxRuntimeExports.jsx("div", { style: { display: "flex", flexDirection: "column", justifyContent: "flex-end", minHeight: "100%", overflow: "clip" }, children: w2 })), jsxRuntimeExports.jsx("div", { ref: _15, ...g2, style: { display: l ? "inline-block" : "block", [l ? "overflowX" : "overflowY"]: "auto", contain: "strict", width: "100%", height: "100%", ...v2 }, children: w2 });
35786
35766
  }));
35787
- const Magnifier = () => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
35788
- "path",
35789
- {
35790
- fill: "currentColor",
35791
- fillRule: "evenodd",
35792
- d: "M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",
35793
- clipRule: "evenodd"
35794
- },
35795
- void 0,
35796
- false,
35797
- {
35798
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/icons/magnifier.tsx",
35799
- lineNumber: 3,
35800
- columnNumber: 5
35801
- },
35802
- void 0
35803
- ) }, void 0, false, {
35804
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/icons/magnifier.tsx",
35805
- lineNumber: 2,
35806
- columnNumber: 3
35807
- }, void 0);
35808
- const XMark = () => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
35809
- "path",
35810
- {
35811
- fill: "currentColor",
35812
- fillRule: "evenodd",
35813
- d: "M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06",
35814
- clipRule: "evenodd"
35815
- },
35816
- void 0,
35817
- false,
35818
- {
35819
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/icons/x-mark.tsx",
35820
- lineNumber: 3,
35821
- columnNumber: 5
35822
- },
35823
- void 0
35824
- ) }, void 0, false, {
35825
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/icons/x-mark.tsx",
35826
- lineNumber: 2,
35827
- columnNumber: 3
35828
- }, void 0);
35767
+ const iconToggleButton = "iconToggleButton_R48wm";
35768
+ const activePosition = "activePosition_IXsRn";
35769
+ const option = "option_a5IcR";
35770
+ const css$2 = {
35771
+ iconToggleButton,
35772
+ activePosition,
35773
+ option
35774
+ };
35775
+ const IconToggleButton = ({
35776
+ value,
35777
+ options,
35778
+ className,
35779
+ onUpdate
35780
+ }) => {
35781
+ const optionNodes = [];
35782
+ let activeIndex;
35783
+ options.forEach((option2, i) => {
35784
+ const { icon: Icon, value: optionValue } = option2;
35785
+ const isActive = value === optionValue;
35786
+ if (isActive) {
35787
+ activeIndex = i;
35788
+ }
35789
+ optionNodes.push(
35790
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css$2.option, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Icon, {}, void 0, false, {
35791
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",
35792
+ lineNumber: 30,
35793
+ columnNumber: 9
35794
+ }, void 0) }, i, false, {
35795
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",
35796
+ lineNumber: 29,
35797
+ columnNumber: 7
35798
+ }, void 0)
35799
+ );
35800
+ });
35801
+ return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
35802
+ "button",
35803
+ {
35804
+ className: cx(css$2.iconToggleButton, className),
35805
+ onClick: () => {
35806
+ const nextOption = activeIndex !== void 0 && options[activeIndex + 1] || options[0];
35807
+ onUpdate(nextOption.value);
35808
+ },
35809
+ children: [
35810
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
35811
+ "div",
35812
+ {
35813
+ className: css$2.activePosition,
35814
+ style: { "--index": activeIndex }
35815
+ },
35816
+ void 0,
35817
+ false,
35818
+ {
35819
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",
35820
+ lineNumber: 44,
35821
+ columnNumber: 7
35822
+ },
35823
+ void 0
35824
+ ),
35825
+ optionNodes
35826
+ ]
35827
+ },
35828
+ void 0,
35829
+ true,
35830
+ {
35831
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",
35832
+ lineNumber: 36,
35833
+ columnNumber: 5
35834
+ },
35835
+ void 0
35836
+ );
35837
+ };
35829
35838
  const ignoredKeys = /* @__PURE__ */ new Set(["constructor"]);
35830
35839
  const ignoredPrototypes = /* @__PURE__ */ new Set([
35831
35840
  globalThis.Object.prototype,
@@ -35879,27 +35888,6 @@ function getAllKeys(instance2) {
35879
35888
  }
35880
35889
  return Array.from(keysSet);
35881
35890
  }
35882
- const ChevronRight = () => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
35883
- "path",
35884
- {
35885
- fill: "currentColor",
35886
- fillRule: "evenodd",
35887
- d: "M5.47 13.03a.75.75 0 0 1 0-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0",
35888
- clipRule: "evenodd"
35889
- },
35890
- void 0,
35891
- false,
35892
- {
35893
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/icons/chevron-right.tsx",
35894
- lineNumber: 3,
35895
- columnNumber: 5
35896
- },
35897
- void 0
35898
- ) }, void 0, false, {
35899
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/icons/chevron-right.tsx",
35900
- lineNumber: 2,
35901
- columnNumber: 3
35902
- }, void 0);
35903
35891
  const ExpandButton = ({
35904
35892
  expandable: expandable2,
35905
35893
  expanded: expanded2,
@@ -35911,10 +35899,10 @@ const ExpandButton = ({
35911
35899
  "span",
35912
35900
  {
35913
35901
  onClick,
35914
- className: cx(css.expandButton, {
35915
- [css.expandable]: expandable2,
35916
- [css.expanded]: expanded2,
35917
- [css.disabled]: disabled2
35902
+ className: cx(css$3.expandButton, {
35903
+ [css$3.expandable]: expandable2,
35904
+ [css$3.expanded]: expanded2,
35905
+ [css$3.disabled]: disabled2
35918
35906
  }),
35919
35907
  children: (expandable2 || showIconAnyway) && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ChevronRight, {}, void 0, false, {
35920
35908
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/expand-button.tsx",
@@ -35932,6 +35920,35 @@ const ExpandButton = ({
35932
35920
  void 0
35933
35921
  );
35934
35922
  };
35923
+ const property = "property_tyrFk";
35924
+ const expandable = "expandable_ZtNTw";
35925
+ const instance = "instance_aPKFv";
35926
+ const primitive = "primitive_mOPtu";
35927
+ const boolean = "boolean_H-c-u";
35928
+ const number = "number_Mk-lR";
35929
+ const object2 = "object_rbtD2";
35930
+ const bigint = "bigint_vEvWZ";
35931
+ const symbol = "symbol_izwyn";
35932
+ const string = "string_qjuUu";
35933
+ const propertyName = "propertyName_gpj0H";
35934
+ const propertyMeta = "propertyMeta_xSfkm";
35935
+ const propertyValue = "propertyValue_QT-FH";
35936
+ const css$1 = {
35937
+ property,
35938
+ expandable,
35939
+ instance,
35940
+ primitive,
35941
+ boolean,
35942
+ number,
35943
+ object: object2,
35944
+ "undefined": "undefined_xHzJR",
35945
+ bigint,
35946
+ symbol,
35947
+ string,
35948
+ propertyName,
35949
+ propertyMeta,
35950
+ propertyValue
35951
+ };
35935
35952
  const ArrayProperty = observer((props) => {
35936
35953
  const { name: property2, value, model, extraRight } = props;
35937
35954
  const isExpanded = model.isPathExpanded(props.path);
@@ -35941,9 +35958,9 @@ const ArrayProperty = observer((props) => {
35941
35958
  /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
35942
35959
  "div",
35943
35960
  {
35944
- className: cx(css.line, css.property, css.array, {
35945
- [css.expandable]: isExpandable,
35946
- [css.expanded]: isExpanded
35961
+ className: cx(css$1.property, css$1.array, {
35962
+ [css$1.expandable]: isExpandable,
35963
+ [css$1.expanded]: isExpanded
35947
35964
  }),
35948
35965
  style: { "--level": props.level, "--order": props.order },
35949
35966
  onClick: () => model.handleExpandPropertyClick(props.path),
@@ -35951,23 +35968,19 @@ const ArrayProperty = observer((props) => {
35951
35968
  "data-depth": String().padEnd(props.level, "-"),
35952
35969
  children: [
35953
35970
  property2 === void 0 ? null : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
35954
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: property2 }, void 0, false, {
35955
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
35971
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$1.propertyName, children: property2 }, void 0, false, {
35972
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/array.tsx",
35956
35973
  lineNumber: 30,
35957
35974
  columnNumber: 13
35958
35975
  }, void 0),
35959
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: ": " }, void 0, false, {
35960
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
35961
- lineNumber: 31,
35962
- columnNumber: 13
35963
- }, void 0)
35976
+ ": "
35964
35977
  ] }, void 0, true, {
35965
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
35978
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/array.tsx",
35966
35979
  lineNumber: 29,
35967
35980
  columnNumber: 11
35968
35981
  }, void 0),
35969
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: isExpanded ? "[" : isExpandable ? "[...]" : `[]` }, void 0, false, {
35970
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
35982
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$1.propertyValue, children: isExpanded ? "[" : isExpandable ? "[...]" : `[]` }, void 0, false, {
35983
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/array.tsx",
35971
35984
  lineNumber: 34,
35972
35985
  columnNumber: 9
35973
35986
  }, void 0),
@@ -35977,7 +35990,7 @@ const ArrayProperty = observer((props) => {
35977
35990
  void 0,
35978
35991
  true,
35979
35992
  {
35980
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
35993
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/array.tsx",
35981
35994
  lineNumber: 16,
35982
35995
  columnNumber: 7
35983
35996
  },
@@ -35994,46 +36007,38 @@ const ArrayProperty = observer((props) => {
35994
36007
  key,
35995
36008
  path: `${props.path}.${key}`,
35996
36009
  level: props.level + 1,
35997
- extraRight: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `,` }, void 0, false, {
35998
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
35999
- lineNumber: 50,
36000
- columnNumber: 27
36001
- }, void 0)
36010
+ extraRight: ","
36002
36011
  }
36003
36012
  )),
36004
36013
  /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36005
36014
  "div",
36006
36015
  {
36007
- className: cx(css.line, css.property),
36016
+ className: css$1.property,
36008
36017
  style: {
36009
36018
  "--level": props.level,
36010
36019
  "--order": keys.length
36011
36020
  },
36012
36021
  children: [
36013
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `]` }, void 0, false, {
36014
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
36015
- lineNumber: 62,
36016
- columnNumber: 13
36017
- }, void 0),
36022
+ `]`,
36018
36023
  extraRight
36019
36024
  ]
36020
36025
  },
36021
36026
  void 0,
36022
36027
  true,
36023
36028
  {
36024
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
36029
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/array.tsx",
36025
36030
  lineNumber: 53,
36026
36031
  columnNumber: 11
36027
36032
  },
36028
36033
  void 0
36029
36034
  )
36030
36035
  ] }, void 0, true, {
36031
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
36036
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/array.tsx",
36032
36037
  lineNumber: 40,
36033
36038
  columnNumber: 9
36034
36039
  }, void 0)
36035
36040
  ] }, void 0, true, {
36036
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
36041
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/array.tsx",
36037
36042
  lineNumber: 15,
36038
36043
  columnNumber: 5
36039
36044
  }, void 0);
@@ -36047,29 +36052,25 @@ const FunctionProperty = observer((props) => {
36047
36052
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36048
36053
  "div",
36049
36054
  {
36050
- className: cx(css.line, css.property, css.function),
36055
+ className: cx(css$1.property, css$1.function),
36051
36056
  title: String(value),
36052
36057
  style: { "--level": props.level, "--order": props.order },
36053
36058
  "data-fitted": props.isFitted,
36054
36059
  "data-depth": String().padEnd(props.level, "-"),
36055
36060
  children: [
36056
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: property2 }, void 0, false, {
36057
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/function.tsx",
36061
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$1.propertyName, children: property2 }, void 0, false, {
36062
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/function.tsx",
36058
36063
  lineNumber: 25,
36059
36064
  columnNumber: 7
36060
36065
  }, void 0),
36061
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `(${argLabels.join(", ")})` }, void 0, false, {
36062
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/function.tsx",
36063
- lineNumber: 26,
36064
- columnNumber: 7
36065
- }, void 0),
36066
+ `(${argLabels.join(", ")})`,
36066
36067
  extraRight
36067
36068
  ]
36068
36069
  },
36069
36070
  void 0,
36070
36071
  true,
36071
36072
  {
36072
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/function.tsx",
36073
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/function.tsx",
36073
36074
  lineNumber: 16,
36074
36075
  columnNumber: 5
36075
36076
  },
@@ -36086,8 +36087,8 @@ const InstanceProperty = observer((props) => {
36086
36087
  /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36087
36088
  "div",
36088
36089
  {
36089
- className: cx(css.line, css.property, css.instance, css.expandable, {
36090
- [css.expanded]: isExpanded
36090
+ className: cx(css$1.property, css$1.instance, css$1.expandable, {
36091
+ [css$1.expanded]: isExpanded
36091
36092
  }),
36092
36093
  style: { "--level": props.level, "--order": props.order },
36093
36094
  onClick: () => model.handleExpandPropertyClick(props.path),
@@ -36095,31 +36096,27 @@ const InstanceProperty = observer((props) => {
36095
36096
  "data-depth": String().padEnd(props.level, "-"),
36096
36097
  children: [
36097
36098
  name === void 0 ? null : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
36098
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: name }, void 0, false, {
36099
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36099
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$1.propertyName, children: name }, void 0, false, {
36100
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/instance.tsx",
36100
36101
  lineNumber: 32,
36101
36102
  columnNumber: 13
36102
36103
  }, void 0),
36103
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: ": " }, void 0, false, {
36104
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36105
- lineNumber: 33,
36106
- columnNumber: 13
36107
- }, void 0)
36104
+ ": "
36108
36105
  ] }, void 0, true, {
36109
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36106
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/instance.tsx",
36110
36107
  lineNumber: 31,
36111
36108
  columnNumber: 11
36112
36109
  }, void 0),
36113
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: `${className}` }, void 0, false, {
36114
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36110
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$1.propertyValue, children: `${className}` }, void 0, false, {
36111
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/instance.tsx",
36115
36112
  lineNumber: 36,
36116
36113
  columnNumber: 9
36117
36114
  }, void 0),
36118
- isExpanded && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: [
36115
+ isExpanded && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
36119
36116
  " ",
36120
36117
  `{`
36121
36118
  ] }, void 0, true, {
36122
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36119
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/instance.tsx",
36123
36120
  lineNumber: 37,
36124
36121
  columnNumber: 24
36125
36122
  }, void 0),
@@ -36129,7 +36126,7 @@ const InstanceProperty = observer((props) => {
36129
36126
  void 0,
36130
36127
  true,
36131
36128
  {
36132
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36129
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/instance.tsx",
36133
36130
  lineNumber: 19,
36134
36131
  columnNumber: 7
36135
36132
  },
@@ -36146,46 +36143,38 @@ const InstanceProperty = observer((props) => {
36146
36143
  key,
36147
36144
  path: `${props.path}.${key}`,
36148
36145
  level: props.level + 1,
36149
- extraRight: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `,` }, void 0, false, {
36150
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36151
- lineNumber: 51,
36152
- columnNumber: 27
36153
- }, void 0)
36146
+ extraRight: `,`
36154
36147
  }
36155
36148
  )),
36156
36149
  /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36157
36150
  "div",
36158
36151
  {
36159
- className: cx(css.line, css.property, css.instance),
36152
+ className: cx(css$1.property, css$1.instance),
36160
36153
  style: {
36161
36154
  "--level": props.level,
36162
36155
  "--order": keys.length
36163
36156
  },
36164
36157
  children: [
36165
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `}` }, void 0, false, {
36166
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36167
- lineNumber: 63,
36168
- columnNumber: 13
36169
- }, void 0),
36158
+ `}`,
36170
36159
  extraRight
36171
36160
  ]
36172
36161
  },
36173
36162
  void 0,
36174
36163
  true,
36175
36164
  {
36176
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36165
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/instance.tsx",
36177
36166
  lineNumber: 54,
36178
36167
  columnNumber: 11
36179
36168
  },
36180
36169
  void 0
36181
36170
  )
36182
36171
  ] }, void 0, true, {
36183
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36172
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/instance.tsx",
36184
36173
  lineNumber: 41,
36185
36174
  columnNumber: 9
36186
36175
  }, void 0)
36187
36176
  ] }, void 0, true, {
36188
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
36177
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/instance.tsx",
36189
36178
  lineNumber: 18,
36190
36179
  columnNumber: 5
36191
36180
  }, void 0);
@@ -36199,9 +36188,9 @@ const ObjectProperty = observer((props) => {
36199
36188
  /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36200
36189
  "div",
36201
36190
  {
36202
- className: cx(css.line, css.property, css.object, {
36203
- [css.expandable]: isExpandable,
36204
- [css.expanded]: isExpanded
36191
+ className: cx(css$1.property, css$1.object, {
36192
+ [css$1.expandable]: isExpandable,
36193
+ [css$1.expanded]: isExpanded
36205
36194
  }),
36206
36195
  style: { "--level": props.level, "--order": props.order },
36207
36196
  onClick: () => model.handleExpandPropertyClick(props.path),
@@ -36209,23 +36198,19 @@ const ObjectProperty = observer((props) => {
36209
36198
  "data-depth": String().padEnd(props.level, "-"),
36210
36199
  children: [
36211
36200
  name === void 0 ? null : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
36212
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: name }, void 0, false, {
36213
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36201
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$1.propertyName, children: name }, void 0, false, {
36202
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/object.tsx",
36214
36203
  lineNumber: 31,
36215
36204
  columnNumber: 13
36216
36205
  }, void 0),
36217
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: ": " }, void 0, false, {
36218
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36219
- lineNumber: 32,
36220
- columnNumber: 13
36221
- }, void 0)
36206
+ ": "
36222
36207
  ] }, void 0, true, {
36223
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36208
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/object.tsx",
36224
36209
  lineNumber: 30,
36225
36210
  columnNumber: 11
36226
36211
  }, void 0),
36227
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: isExpanded ? "{" : isExpandable ? "{...}" : `{}` }, void 0, false, {
36228
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36212
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$1.propertyValue, children: isExpanded ? "{" : isExpandable ? "{...}" : `{}` }, void 0, false, {
36213
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/object.tsx",
36229
36214
  lineNumber: 35,
36230
36215
  columnNumber: 9
36231
36216
  }, void 0),
@@ -36235,7 +36220,7 @@ const ObjectProperty = observer((props) => {
36235
36220
  void 0,
36236
36221
  true,
36237
36222
  {
36238
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36223
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/object.tsx",
36239
36224
  lineNumber: 17,
36240
36225
  columnNumber: 7
36241
36226
  },
@@ -36252,46 +36237,38 @@ const ObjectProperty = observer((props) => {
36252
36237
  key,
36253
36238
  path: `${props.path}.${key}`,
36254
36239
  level: props.level + 1,
36255
- extraRight: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `,` }, void 0, false, {
36256
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36257
- lineNumber: 51,
36258
- columnNumber: 27
36259
- }, void 0)
36240
+ extraRight: ","
36260
36241
  }
36261
36242
  )),
36262
36243
  /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36263
36244
  "div",
36264
36245
  {
36265
- className: cx(css.line, css.property),
36246
+ className: css$1.property,
36266
36247
  style: {
36267
36248
  "--level": props.level,
36268
36249
  "--order": keys.length
36269
36250
  },
36270
36251
  children: [
36271
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `}` }, void 0, false, {
36272
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36273
- lineNumber: 63,
36274
- columnNumber: 13
36275
- }, void 0),
36252
+ `}`,
36276
36253
  extraRight
36277
36254
  ]
36278
36255
  },
36279
36256
  void 0,
36280
36257
  true,
36281
36258
  {
36282
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36259
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/object.tsx",
36283
36260
  lineNumber: 54,
36284
36261
  columnNumber: 11
36285
36262
  },
36286
36263
  void 0
36287
36264
  )
36288
36265
  ] }, void 0, true, {
36289
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36266
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/object.tsx",
36290
36267
  lineNumber: 41,
36291
36268
  columnNumber: 9
36292
36269
  }, void 0)
36293
36270
  ] }, void 0, true, {
36294
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
36271
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/object.tsx",
36295
36272
  lineNumber: 16,
36296
36273
  columnNumber: 5
36297
36274
  }, void 0);
@@ -36302,30 +36279,26 @@ const PrimitiveProperty = observer((props) => {
36302
36279
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36303
36280
  "div",
36304
36281
  {
36305
- className: cx(css.line, css.property, css.primitive, css[primitiveType]),
36282
+ className: cx(css$1.property, css$1.primitive, css$1[primitiveType]),
36306
36283
  style: { "--level": props.level, "--order": props.order },
36307
36284
  "data-fitted": props.isFitted,
36308
36285
  title: String(value),
36309
36286
  "data-depth": String().padEnd(props.level, "-"),
36310
36287
  children: [
36311
36288
  name === void 0 ? null : /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
36312
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: name }, void 0, false, {
36313
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
36289
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$1.propertyName, children: name }, void 0, false, {
36290
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/primitive.tsx",
36314
36291
  lineNumber: 23,
36315
36292
  columnNumber: 11
36316
36293
  }, void 0),
36317
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: ": " }, void 0, false, {
36318
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
36319
- lineNumber: 24,
36320
- columnNumber: 11
36321
- }, void 0)
36294
+ ": "
36322
36295
  ] }, void 0, true, {
36323
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
36296
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/primitive.tsx",
36324
36297
  lineNumber: 22,
36325
36298
  columnNumber: 9
36326
36299
  }, void 0),
36327
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: primitiveType === "symbol" ? `Symbol(${Symbol.keyFor(value) || ""})` : primitiveType === "string" ? `"${value}"` : `${value}` }, void 0, false, {
36328
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
36300
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$1.propertyValue, children: primitiveType === "symbol" ? `Symbol(${Symbol.keyFor(value) || ""})` : primitiveType === "string" ? `"${value}"` : `${value}` }, void 0, false, {
36301
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/primitive.tsx",
36329
36302
  lineNumber: 27,
36330
36303
  columnNumber: 7
36331
36304
  }, void 0),
@@ -36335,7 +36308,7 @@ const PrimitiveProperty = observer((props) => {
36335
36308
  void 0,
36336
36309
  true,
36337
36310
  {
36338
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
36311
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/primitive.tsx",
36339
36312
  lineNumber: 12,
36340
36313
  columnNumber: 5
36341
36314
  },
@@ -36352,38 +36325,38 @@ const Property = observer((rootProps) => {
36352
36325
  };
36353
36326
  if (Array.isArray(value)) {
36354
36327
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ArrayProperty, { ...props }, void 0, false, {
36355
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/index.tsx",
36328
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/index.tsx",
36356
36329
  lineNumber: 36,
36357
36330
  columnNumber: 12
36358
36331
  }, void 0);
36359
36332
  }
36360
36333
  if (_exports.isObject(value) && value.constructor?.name && value.constructor.name !== "Object") {
36361
36334
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(InstanceProperty, { ...props }, void 0, false, {
36362
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/index.tsx",
36335
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/index.tsx",
36363
36336
  lineNumber: 44,
36364
36337
  columnNumber: 12
36365
36338
  }, void 0);
36366
36339
  } else if (_exports.isFunction(value)) {
36367
36340
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(FunctionProperty, { ...props }, void 0, false, {
36368
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/index.tsx",
36341
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/index.tsx",
36369
36342
  lineNumber: 46,
36370
36343
  columnNumber: 12
36371
36344
  }, void 0);
36372
36345
  } else if (_exports.isObject(value)) {
36373
36346
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ObjectProperty, { ...props }, void 0, false, {
36374
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/index.tsx",
36347
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/index.tsx",
36375
36348
  lineNumber: 48,
36376
36349
  columnNumber: 12
36377
36350
  }, void 0);
36378
36351
  } else if (valueType.startsWith("[object ") && value && typeof value === "object" && "constructor" in value) {
36379
36352
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(InstanceProperty, { ...props }, void 0, false, {
36380
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/index.tsx",
36353
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/index.tsx",
36381
36354
  lineNumber: 55,
36382
36355
  columnNumber: 12
36383
36356
  }, void 0);
36384
36357
  } else {
36385
36358
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(PrimitiveProperty, { ...props }, void 0, false, {
36386
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/index.tsx",
36359
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/property/index.tsx",
36387
36360
  lineNumber: 57,
36388
36361
  columnNumber: 12
36389
36362
  }, void 0);
@@ -36399,30 +36372,19 @@ const ExtrasItemRender = withViewModel(
36399
36372
  /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36400
36373
  "div",
36401
36374
  {
36402
- className: cx(css.line, css.vmTreeItem, css.extrasItem),
36375
+ className: cx(css$3.treeItem, css$3.vmTreeItem, css$3.extrasItem),
36403
36376
  "data-fitted": "true",
36404
36377
  "data-depth": String().padEnd(depth, "-"),
36405
36378
  style: { "--level": depth },
36406
- children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("header", { children: [
36407
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36408
- ExpandButton,
36409
- {
36410
- showIconAnyway: true,
36411
- expanded: true,
36412
- disabled: model.devtools.isAllVmsExpandedByDefault
36413
- },
36414
- void 0,
36415
- false,
36416
- {
36417
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/extras-item-render/index.tsx",
36418
- lineNumber: 28,
36419
- columnNumber: 13
36420
- },
36421
- void 0
36422
- ),
36423
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { children: "Extras" }, void 0, false, {
36379
+ children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("header", { className: css$3.treeItemHeader, children: [
36380
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExpandButton, { showIconAnyway: true, expanded: true }, void 0, false, {
36424
36381
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/extras-item-render/index.tsx",
36425
- lineNumber: 33,
36382
+ lineNumber: 28,
36383
+ columnNumber: 13
36384
+ }, void 0),
36385
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { className: css$3.treeItemLabel, children: "Extras" }, void 0, false, {
36386
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/extras-item-render/index.tsx",
36387
+ lineNumber: 29,
36426
36388
  columnNumber: 13
36427
36389
  }, void 0)
36428
36390
  ] }, void 0, true, {
@@ -36458,7 +36420,7 @@ const ExtrasItemRender = withViewModel(
36458
36420
  false,
36459
36421
  {
36460
36422
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/extras-item-render/index.tsx",
36461
- lineNumber: 37,
36423
+ lineNumber: 33,
36462
36424
  columnNumber: 11
36463
36425
  },
36464
36426
  void 0
@@ -36470,6 +36432,26 @@ const ExtrasItemRender = withViewModel(
36470
36432
  }, void 0);
36471
36433
  }
36472
36434
  );
36435
+ const vmContent = "vmContent_TIK57";
36436
+ const vmContentHeader = "vmContentHeader_M1JNM";
36437
+ const vmContentHeaderLogo = "vmContentHeaderLogo_FRJDO";
36438
+ const vmContentHeaderTitle = "vmContentHeaderTitle_lYmde";
36439
+ const vmContentControlPanel = "vmContentControlPanel_CgUN9";
36440
+ const vmContentControlPanelActions = "vmContentControlPanelActions_lONbA";
36441
+ const vmContentInput = "vmContentInput_29GM1";
36442
+ const filled = "filled_6JZa0";
36443
+ const vmContentTree = "vmContentTree_BETR6";
36444
+ const css = {
36445
+ vmContent,
36446
+ vmContentHeader,
36447
+ vmContentHeaderLogo,
36448
+ vmContentHeaderTitle,
36449
+ vmContentControlPanel,
36450
+ vmContentControlPanelActions,
36451
+ vmContentInput,
36452
+ filled,
36453
+ vmContentTree
36454
+ };
36473
36455
  const VmTreeItemRender = withViewModel(
36474
36456
  VmTreeItemRenderVM,
36475
36457
  ({ model }) => {
@@ -36479,54 +36461,63 @@ const VmTreeItemRender = withViewModel(
36479
36461
  type: "vm",
36480
36462
  item: vmItem
36481
36463
  });
36482
- const depth = model.devtools.isHierarchyMode ? vmItem.depth : 0;
36483
36464
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
36484
36465
  /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36485
36466
  "div",
36486
36467
  {
36487
- className: cx(css.line, css.vmTreeItem),
36468
+ className: cx(css$3.treeItem, css$3.vmTreeItem),
36488
36469
  "data-fitted": itemSearchResult.isFittedByName || itemSearchResult.isFittedById,
36489
- "data-depth": String().padEnd(depth, "-"),
36490
- style: { "--level": depth },
36491
- children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("header", { onClick: () => model.handleVmItemHeaderClick(vmItem), children: [
36492
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36493
- ExpandButton,
36494
- {
36495
- showIconAnyway: true,
36496
- expandable: vmItem.children.length > 0,
36497
- expanded: isExpanded,
36498
- disabled: model.devtools.isAllVmsExpandedByDefault
36499
- },
36500
- void 0,
36501
- false,
36502
- {
36503
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36504
- lineNumber: 33,
36505
- columnNumber: 13
36506
- },
36507
- void 0
36508
- ),
36509
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { title: vmItem.displayName, children: vmItem.displayName }, void 0, false, {
36510
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36511
- lineNumber: 39,
36512
- columnNumber: 13
36513
- }, void 0),
36514
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { title: vmItem.vm.id, children: vmItem.vm.id }, void 0, false, {
36470
+ "data-depth": String().padEnd(vmItem.depth, "-"),
36471
+ style: { "--level": vmItem.depth },
36472
+ children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36473
+ "header",
36474
+ {
36475
+ className: css$3.treeItemHeader,
36476
+ onClick: () => model.handleVmItemHeaderClick(vmItem),
36477
+ children: [
36478
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36479
+ ExpandButton,
36480
+ {
36481
+ showIconAnyway: model.devtools.presentationMode === "tree",
36482
+ expandable: model.devtools.isExpandable(vmItem),
36483
+ expanded: isExpanded
36484
+ },
36485
+ void 0,
36486
+ false,
36487
+ {
36488
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36489
+ lineNumber: 34,
36490
+ columnNumber: 13
36491
+ },
36492
+ void 0
36493
+ ),
36494
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("label", { className: css$3.treeItemLabel, title: vmItem.displayName, children: vmItem.displayName }, void 0, false, {
36495
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36496
+ lineNumber: 39,
36497
+ columnNumber: 13
36498
+ }, void 0),
36499
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css$3.treeItemMetaText, title: vmItem.vm.id, children: vmItem.vm.id }, void 0, false, {
36500
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36501
+ lineNumber: 42,
36502
+ columnNumber: 13
36503
+ }, void 0)
36504
+ ]
36505
+ },
36506
+ void 0,
36507
+ true,
36508
+ {
36515
36509
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36516
- lineNumber: 40,
36517
- columnNumber: 13
36518
- }, void 0)
36519
- ] }, void 0, true, {
36520
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36521
- lineNumber: 32,
36522
- columnNumber: 11
36523
- }, void 0)
36510
+ lineNumber: 30,
36511
+ columnNumber: 11
36512
+ },
36513
+ void 0
36514
+ )
36524
36515
  },
36525
36516
  void 0,
36526
36517
  false,
36527
36518
  {
36528
36519
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36529
- lineNumber: 24,
36520
+ lineNumber: 22,
36530
36521
  columnNumber: 9
36531
36522
  },
36532
36523
  void 0
@@ -36542,19 +36533,15 @@ const VmTreeItemRender = withViewModel(
36542
36533
  { type: "vm", item: vmItem },
36543
36534
  property2
36544
36535
  ),
36545
- extraRight: order !== arr.length - 1 && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `,` }, void 0, false, {
36546
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36547
- lineNumber: 56,
36548
- columnNumber: 17
36549
- }, void 0),
36550
- level: depth,
36536
+ extraRight: order !== arr.length - 1 && `,`,
36537
+ level: vmItem.depth,
36551
36538
  path: property2
36552
36539
  },
36553
36540
  property2,
36554
36541
  false,
36555
36542
  {
36556
36543
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36557
- lineNumber: 44,
36544
+ lineNumber: 48,
36558
36545
  columnNumber: 11
36559
36546
  },
36560
36547
  void 0
@@ -36575,7 +36562,7 @@ const VmTreeItemRender = withViewModel(
36575
36562
  ))
36576
36563
  ] }, void 0, true, {
36577
36564
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",
36578
- lineNumber: 23,
36565
+ lineNumber: 21,
36579
36566
  columnNumber: 7
36580
36567
  }, void 0);
36581
36568
  }
@@ -36588,64 +36575,25 @@ const VmDevtoolsContent = observer(
36588
36575
  }) => {
36589
36576
  const model = useViewModel();
36590
36577
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { ...props, className: cx(css.vmContent, className), children: [
36591
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("header", { children: [
36592
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "mobx-view-model devtools" }, void 0, false, {
36593
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36594
- lineNumber: 27,
36595
- columnNumber: 11
36596
- }, void 0),
36597
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css.baseActions, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36598
- "button",
36578
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("header", { className: css.vmContentHeader, children: [
36579
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36580
+ "img",
36599
36581
  {
36600
- className: cx(css.hierarchyButton, {
36601
- [css.active]: model.devtools.isHierarchyMode
36602
- }),
36603
- onClick: model.devtools.toggleHierarchyMode,
36604
- children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36605
- "svg",
36606
- {
36607
- xmlns: "http://www.w3.org/2000/svg",
36608
- fill: "none",
36609
- viewBox: "0 0 16 16",
36610
- children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36611
- "path",
36612
- {
36613
- fill: "currentColor",
36614
- "fill-rule": "evenodd",
36615
- d: "M12.25 2.5h-8.5a.75.75 0 0 0-.75.75v1.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-1.5a.75.75 0 0 0-.75-.75m0 4.5H5v3.13c0 .69.56 1.25 1.25 1.25H7v-.13A2.25 2.25 0 0 1 9.25 9h3a2.25 2.25 0 0 1 2.25 2.25v1.5A2.25 2.25 0 0 1 12.25 15h-3a2.25 2.25 0 0 1-2.246-2.12H6.25a2.75 2.75 0 0 1-2.75-2.75V6.986a2.25 2.25 0 0 1-2-2.236v-1.5A2.25 2.25 0 0 1 3.75 1h8.5a2.25 2.25 0 0 1 2.25 2.25v1.5A2.25 2.25 0 0 1 12.25 7m-3 3.5h3a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.75-.75v-1.5a.75.75 0 0 1 .75-.75",
36616
- "clip-rule": "evenodd"
36617
- },
36618
- void 0,
36619
- false,
36620
- {
36621
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36622
- lineNumber: 40,
36623
- columnNumber: 17
36624
- },
36625
- void 0
36626
- )
36627
- },
36628
- void 0,
36629
- false,
36630
- {
36631
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36632
- lineNumber: 35,
36633
- columnNumber: 15
36634
- },
36635
- void 0
36636
- )
36582
+ className: css.vmContentHeaderLogo,
36583
+ src: model.devtools.logoUrl
36637
36584
  },
36638
36585
  void 0,
36639
36586
  false,
36640
36587
  {
36641
36588
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36642
- lineNumber: 29,
36643
- columnNumber: 13
36589
+ lineNumber: 27,
36590
+ columnNumber: 11
36644
36591
  },
36645
36592
  void 0
36646
- ) }, void 0, false, {
36593
+ ),
36594
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.vmContentHeaderTitle, children: "mobx-view-model devtools" }, void 0, false, {
36647
36595
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36648
- lineNumber: 28,
36596
+ lineNumber: 31,
36649
36597
  columnNumber: 11
36650
36598
  }, void 0),
36651
36599
  headerContent
@@ -36654,54 +36602,85 @@ const VmDevtoolsContent = observer(
36654
36602
  lineNumber: 26,
36655
36603
  columnNumber: 9
36656
36604
  }, void 0),
36657
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css.vmContentFilters, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36658
- "div",
36659
- {
36660
- className: `${css.vmContentInput} ${model.devtools.searchEngine.isActive && css.filled}`,
36661
- children: [
36662
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Magnifier, {}, void 0, false, {
36663
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36664
- lineNumber: 55,
36665
- columnNumber: 13
36666
- }, void 0),
36667
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36668
- "input",
36605
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css.vmContentControlPanel, children: [
36606
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css.vmContentControlPanelActions, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36607
+ IconToggleButton,
36608
+ {
36609
+ onUpdate: model.devtools.handleChangePresentationMode,
36610
+ options: [
36669
36611
  {
36670
- ref: model.devtools.searchEngine.searchInputRef,
36671
- autoFocus: true,
36672
- placeholder: "search by property path or ViewModel name"
36612
+ value: "tree",
36613
+ icon: FolderTree
36673
36614
  },
36674
- void 0,
36675
- false,
36676
36615
  {
36616
+ value: "list",
36617
+ icon: ListUl
36618
+ }
36619
+ ],
36620
+ value: model.devtools.presentationMode
36621
+ },
36622
+ void 0,
36623
+ false,
36624
+ {
36625
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36626
+ lineNumber: 38,
36627
+ columnNumber: 13
36628
+ },
36629
+ void 0
36630
+ ) }, void 0, false, {
36631
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36632
+ lineNumber: 37,
36633
+ columnNumber: 11
36634
+ }, void 0),
36635
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36636
+ "div",
36637
+ {
36638
+ className: `${css.vmContentInput} ${model.devtools.searchEngine.isActive && css.filled}`,
36639
+ children: [
36640
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Magnifier, {}, void 0, false, {
36677
36641
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36678
36642
  lineNumber: 56,
36679
36643
  columnNumber: 13
36680
- },
36681
- void 0
36682
- ),
36683
- /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("button", { onClick: model.devtools.searchEngine.resetSearch, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(XMark, {}, void 0, false, {
36684
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36685
- lineNumber: 62,
36686
- columnNumber: 15
36687
- }, void 0) }, void 0, false, {
36688
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36689
- lineNumber: 61,
36690
- columnNumber: 13
36691
- }, void 0)
36692
- ]
36693
- },
36694
- void 0,
36695
- true,
36696
- {
36697
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36698
- lineNumber: 52,
36699
- columnNumber: 11
36700
- },
36701
- void 0
36702
- ) }, void 0, false, {
36644
+ }, void 0),
36645
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36646
+ "input",
36647
+ {
36648
+ ref: model.devtools.searchEngine.searchInputRef,
36649
+ autoFocus: true,
36650
+ placeholder: "search by property path or ViewModel name"
36651
+ },
36652
+ void 0,
36653
+ false,
36654
+ {
36655
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36656
+ lineNumber: 57,
36657
+ columnNumber: 13
36658
+ },
36659
+ void 0
36660
+ ),
36661
+ /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("button", { onClick: model.devtools.searchEngine.resetSearch, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Xmark, {}, void 0, false, {
36662
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36663
+ lineNumber: 63,
36664
+ columnNumber: 15
36665
+ }, void 0) }, void 0, false, {
36666
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36667
+ lineNumber: 62,
36668
+ columnNumber: 13
36669
+ }, void 0)
36670
+ ]
36671
+ },
36672
+ void 0,
36673
+ true,
36674
+ {
36675
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36676
+ lineNumber: 53,
36677
+ columnNumber: 11
36678
+ },
36679
+ void 0
36680
+ )
36681
+ ] }, void 0, true, {
36703
36682
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36704
- lineNumber: 51,
36683
+ lineNumber: 36,
36705
36684
  columnNumber: 9
36706
36685
  }, void 0),
36707
36686
  /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
@@ -36720,7 +36699,7 @@ const VmDevtoolsContent = observer(
36720
36699
  false,
36721
36700
  {
36722
36701
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36723
- lineNumber: 72,
36702
+ lineNumber: 73,
36724
36703
  columnNumber: 13
36725
36704
  },
36726
36705
  void 0
@@ -36737,7 +36716,7 @@ const VmDevtoolsContent = observer(
36737
36716
  false,
36738
36717
  {
36739
36718
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36740
- lineNumber: 78,
36719
+ lineNumber: 79,
36741
36720
  columnNumber: 13
36742
36721
  },
36743
36722
  void 0
@@ -36748,7 +36727,7 @@ const VmDevtoolsContent = observer(
36748
36727
  true,
36749
36728
  {
36750
36729
  fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
36751
- lineNumber: 66,
36730
+ lineNumber: 67,
36752
36731
  columnNumber: 9
36753
36732
  },
36754
36733
  void 0
@@ -36765,17 +36744,28 @@ const VmDevtoolsPopup = observer(() => {
36765
36744
  return /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36766
36745
  VmDevtoolsContent,
36767
36746
  {
36768
- className: css.vmPopup,
36747
+ className: css$3.vmPopup,
36769
36748
  "data-position": `${model.devtools.config.position}`,
36770
- headerContent: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("button", { className: css.closePopupButton, onClick: model.handleClosePopupClick, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(XMark, {}, void 0, false, {
36771
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",
36772
- lineNumber: 17,
36773
- columnNumber: 11
36774
- }, void 0) }, void 0, false, {
36775
- fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",
36776
- lineNumber: 16,
36777
- columnNumber: 9
36778
- }, void 0)
36749
+ headerContent: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
36750
+ "button",
36751
+ {
36752
+ className: css$3.closePopupButton,
36753
+ onClick: model.handleClosePopupClick,
36754
+ children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Xmark, {}, void 0, false, {
36755
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",
36756
+ lineNumber: 20,
36757
+ columnNumber: 11
36758
+ }, void 0)
36759
+ },
36760
+ void 0,
36761
+ false,
36762
+ {
36763
+ fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",
36764
+ lineNumber: 16,
36765
+ columnNumber: 9
36766
+ },
36767
+ void 0
36768
+ )
36779
36769
  },
36780
36770
  void 0,
36781
36771
  false,
@@ -37227,7 +37217,7 @@ class ViewModelDevtools {
37227
37217
  this.projectVmStore = this.config.viewModels;
37228
37218
  this.expandedVmsSet = observable.set();
37229
37219
  this.isAllVmsExpandedByDefault = true;
37230
- this.isHierarchyMode = true;
37220
+ this.presentationMode = "tree";
37231
37221
  this.expandedVmItemsPaths = observable.set();
37232
37222
  this.logoUrl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAACTFBMVEUvEQFCGQIuEQFAGALpZhjoZhlgJANAGALrZhiAMAR1KwNKHAJXIAM4FQFsKgWUNgL09PYvEQCgPARoJwNRHgL////U0dCoSRGSPgzFTQljKwl5MggjDQHm5ORWsU2JNATWWBC4SQxsMQysQAX6+vra2NbMUQtRJQxWLgu/SAXf3t62tLOyr6zCbTecSxmyQQLIxcDAvbqbmZaVeWeKc2WgRBB/OhCMOQu4QwPt7e/DuLCYz5NoOB2tqqdsaGVhW1NagUJtTjtkYCe8XyaRRRiHRRTi29XKyMfr0cG2p5yag3JfVElMR0GfcjBVMx/KWRnoYxXdXhRzQBB0OA3n6OrOzM2npKPLq5frs5TUpo2umounkHp3cm6mgWqBbGB8aVZzYVBXnktWT0eYY0BYZzOGazGmWi3IYid1QSOxTxZYSBQ6IBFFJA6lPAP/8uvR2s3qybbSwLW8q6G3nYigm4B8fHvxonW9kXWSjGhrgl5vZlpZqk+ZdE5cjE16fkzuh0q9eUetcUKAWEBpdj90bjg/PDfteDRZdTGwaS6sYCljVCl2TCflbCJZYSKlVSJfRh/dZB2OWR1nRhFfNRHO48zo1crjwamuv5SfqpSXtpGro4bEm4SMhoGFu3yQlHqFf3l5tHKtjHCFe2ageWLSimBnYFuue1hYlk1uikCCYT5XijqRWjdNPTLRcS5VVCC7WB3WYBtsTRYmHBNYPxLA3bzwv6LVsZ+4tJyQxYqHqHvVlnJzn2uegF39l1t1oEiKjzyAdjpeRDShaClCLR/JXT/FAAAABnRSTlP7uLgrtivDuZKUAAAElElEQVQ4yyWURXsbMRRFpyRF0vCM2a6ZmWPXYWqwTVKGMDRNUmZmZmZmZub+scrp3bzN+e65q8dMmQwBwqwKnLZTNrsVDW/Y8P3AgRJPKcK8ykHIMZOmMJMgAYAlimCwGQRsHdHpayOv2tsN4wJmIZTMEiSTGMgRQoCC/B5ZAYIu/fylIthsBlkAHCeZKaNChuE4yKkA2w2IAKtdhyNpWY76ZUwkFZkIUFmeNTPU6vUadSMOOg2htNWURRhRkwQBr9OlHXQNYTipbVHZ6tX5JiPGKgsgUBQWUgckMDX/woIFC+uwzEhcWz43J6ANVgEC+dpIrcJyEp8+MeR4k4hpz696PyTIdBMZ+jAv0RBqGXPUZkw1YT0AEtCFw/3NiVgiVbWMR5hCJnnZs5uB+PoeB4pk9OFaoM9adTVDXeXzGm7+9fI8AIwEsiwBV12BYIWZmCL6DIBGozGt8+6vCLmbOp8e0vF0uMKzrH7hnHii3GyGpgjiOcLr9QDubwlaFj3d9oD6GcIqQM1enVO25FobqD1x2IQIp/KAjPUtabCs7e/fHR7hGQAUDqKN4rz9fb/XrJrf76gzcuqexsY91xJaS2Pq7oNdNVaGZ4kElaWituXNaF50b3p8uoN451m02y6VaS1rkksXbwybGMJBSMBSSy5YPtqUs6zbse816HHn8jsuB91zGpNNi2/vyjAsYGmSWm080VblFj9WV589eylnSR7ZnHDnGrvvbNq2K8JgwALCJhtCFVsKjnwgftLnexsKxE4uHyiPB9ZV79s3uHuYwbSKA3e1oeYWn3GxO17lW34kblnke7F5SVCb8lUf6aibxSgYEAhS2mDfs1GuKqa98WLghltb5Tv+dX1obtdY5YBD384gpAIWbmkI9TR7Ve+awMrNe1eK1Hbw1voQbTr46PSrEsaOAVak+7F8d/OYz5sMiJc/uzQXB45Xfpo719L0tvrn85ISxmYFkFe7YmXdPaNecHSueO6cRrzV++TJDFF0rVt+pvVYEbIDs0RS2rKKLW2s0bgoJ7o077ZunT59hkajuXKm82XJBKRAs5R0l/VVnOWNxscB0eW63jt9AnJd6ch6JiCnwkJzyhJqqSjwDkdHXnSt3P7wPyQuNgkTkB1jOryrPth8v+Do7Oz8Vl+/6eD2CZ1LXKsXxtsp5EQAQph0B8vLl2FTpq7u6NEzxysfFiHRchsjq392CQN4IJkLa93xJd0Zkykbqct0vK6urOwtNlmWYgVFKQQh6yvsnl8fu0OLsD4dOXF6cO/eyu2910WNuGDnvfApqlPUwoYFq2bWr97D026driZ8uHVw8NeORz8uipoVK1wrdhZ1oHDvy8KF8zfqMUZpnW54uKbm8KFDf1pbWy+cn0lThFSWEG/WaOQF2SrbnbJ9Fo3H4xnJoKzDaNJTG90kQcIKCAAcLaVxGuz0B/k9HpssOJ0I20uKEGOGHCsIPAAoGnU6x52lfkPU7zfMNsjRUsFqmIAmmzmJIISBCpAgO6OCMC7T47H5BdqP2ikzlb5DxswBjAAhvFX2+2UrRgIyHDtwzGMoFexFZto/HbAJBdFwHOYAAAAASUVORK5CYII=";
37233
37223
  this.inputRef = createFocusableRef();
@@ -37239,11 +37229,11 @@ class ViewModelDevtools {
37239
37229
  isPopupOpened: observable.ref,
37240
37230
  isAllVmsExpandedByDefault: observable,
37241
37231
  projectVmStore: observable.ref,
37242
- isHierarchyMode: observable.ref,
37232
+ presentationMode: observable.ref,
37243
37233
  extras: observable.ref,
37244
37234
  setStore: action,
37245
37235
  setExtras: action,
37246
- toggleHierarchyMode: action,
37236
+ handleChangePresentationMode: action,
37247
37237
  handleExpandVmPropertyClick: action,
37248
37238
  handleExpandExtraPropertyClick: action,
37249
37239
  allVms: computed.struct,
@@ -37265,7 +37255,7 @@ class ViewModelDevtools {
37265
37255
  scrollContentRef;
37266
37256
  keyboardHandler;
37267
37257
  searchEngine;
37268
- isHierarchyMode;
37258
+ presentationMode;
37269
37259
  expandedVmsSet;
37270
37260
  scrollListRef;
37271
37261
  autoscrollTimeout;
@@ -37285,7 +37275,8 @@ class ViewModelDevtools {
37285
37275
  get vmTree() {
37286
37276
  const flattenTreeItems = [];
37287
37277
  const result = [];
37288
- const createTreeItem = (vm, depth) => {
37278
+ const createTreeItem = (vm, inputDepth) => {
37279
+ const depth = this.presentationMode === "list" ? 0 : inputDepth;
37289
37280
  const alreadyExistVmTreeItem = flattenTreeItems.find(
37290
37281
  (it) => it.vm === vm
37291
37282
  );
@@ -37295,7 +37286,7 @@ class ViewModelDevtools {
37295
37286
  const vmParams = this.getVmParams(vm);
37296
37287
  const parentVm = vmParams?.parentViewModel || null;
37297
37288
  const displayName = vm.constructor.name;
37298
- const treeItem = {
37289
+ const treeItem2 = {
37299
37290
  parent: parentVm ? createTreeItem(parentVm, depth - 1) : null,
37300
37291
  vm,
37301
37292
  displayName,
@@ -37308,13 +37299,13 @@ class ViewModelDevtools {
37308
37299
  id: (vm.id || "").toLowerCase().trim()
37309
37300
  }
37310
37301
  };
37311
- flattenTreeItems.push(treeItem);
37302
+ flattenTreeItems.push(treeItem2);
37312
37303
  const collectedChildren = this.allVms.filter((maybeChildVm) => {
37313
37304
  const params = this.getVmParams(maybeChildVm);
37314
37305
  return params?.parentViewModel && params.parentViewModel === vm;
37315
37306
  }).map((childVm) => createTreeItem(childVm, depth + 1)).filter((it) => Boolean(it));
37316
- treeItem.children.push(...collectedChildren);
37317
- return treeItem;
37307
+ treeItem2.children.push(...collectedChildren);
37308
+ return treeItem2;
37318
37309
  };
37319
37310
  this.rootVms.forEach((vm) => {
37320
37311
  const item = createTreeItem(vm, 0);
@@ -37378,6 +37369,9 @@ class ViewModelDevtools {
37378
37369
  this.expandedVmsSet.add(vmItem.key);
37379
37370
  }
37380
37371
  }
37372
+ isExpandable(vmItem) {
37373
+ return vmItem.children.length > 0 && this.presentationMode !== "list";
37374
+ }
37381
37375
  getVmParams(vm) {
37382
37376
  if ("vmParams" in vm) {
37383
37377
  return vm.vmParams;
@@ -37390,8 +37384,11 @@ class ViewModelDevtools {
37390
37384
  setExtras(extras) {
37391
37385
  this.extras = extras;
37392
37386
  }
37393
- toggleHierarchyMode = () => {
37394
- this.isHierarchyMode = !this.isHierarchyMode;
37387
+ handleChangePresentationMode = (mode) => {
37388
+ this.presentationMode = mode === "list" ? "list" : "tree";
37389
+ this.isAllVmsExpandedByDefault = true;
37390
+ this.expandedVmItemsPaths.clear();
37391
+ this.expandedVmsSet.clear();
37395
37392
  };
37396
37393
  init() {
37397
37394
  reaction(
@@ -37430,25 +37427,24 @@ class ViewModelDevtools {
37430
37427
  );
37431
37428
  }
37432
37429
  render() {
37433
- let container2 = document.querySelector(
37430
+ let container = document.querySelector(
37434
37431
  `#${this.containerId}`
37435
37432
  );
37436
- if (!container2) {
37437
- container2 = document.createElement("div");
37438
- container2.style = "display: contents;";
37439
- container2.className = css.rootContainer;
37440
- container2.id = this.containerId;
37433
+ if (!container) {
37434
+ container = document.createElement("div");
37435
+ container.className = css$3.root;
37436
+ container.id = this.containerId;
37441
37437
  if (document.body) {
37442
- document.body.appendChild(container2);
37438
+ document.body.appendChild(container);
37443
37439
  } else {
37444
37440
  document.addEventListener("DOMContentLoaded", () => {
37445
- document.body.appendChild(container2);
37441
+ document.body.appendChild(container);
37446
37442
  });
37447
37443
  }
37448
37444
  this.init();
37449
37445
  }
37450
- const root = clientExports.createRoot(container2);
37451
- root.render(reactExports.createElement(DevtoolsClient, { payload: { devtools: this } }));
37446
+ const root2 = clientExports.createRoot(container);
37447
+ root2.render(reactExports.createElement(DevtoolsClient, { payload: { devtools: this } }));
37452
37448
  }
37453
37449
  static _instance = null;
37454
37450
  static define(config) {