Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/dist
File: components.js
if (tabbable)
[4500] Fix | Delete
return true;
[4501] Fix | Delete
return state.activeId === id;
[4502] Fix | Delete
});
[4503] Fix | Delete
props = _4R3V3JGP_spreadProps(_4R3V3JGP_spreadValues({
[4504] Fix | Delete
id,
[4505] Fix | Delete
"aria-selected": ariaSelected,
[4506] Fix | Delete
"data-active-item": isActiveItem ? "" : void 0
[4507] Fix | Delete
}, props), {
[4508] Fix | Delete
ref: useMergeRefs(ref, props.ref),
[4509] Fix | Delete
tabIndex: isTabbable ? props.tabIndex : -1,
[4510] Fix | Delete
onFocus,
[4511] Fix | Delete
onBlurCapture,
[4512] Fix | Delete
onKeyDown
[4513] Fix | Delete
});
[4514] Fix | Delete
props = useCommand(props);
[4515] Fix | Delete
props = useCollectionItem(_4R3V3JGP_spreadProps(_4R3V3JGP_spreadValues({
[4516] Fix | Delete
store
[4517] Fix | Delete
}, props), {
[4518] Fix | Delete
getItem,
[4519] Fix | Delete
shouldRegisterItem: !!id ? props.shouldRegisterItem : false
[4520] Fix | Delete
}));
[4521] Fix | Delete
return _4R3V3JGP_spreadProps(_4R3V3JGP_spreadValues({}, props), {
[4522] Fix | Delete
"aria-setsize": ariaSetSize,
[4523] Fix | Delete
"aria-posinset": ariaPosInSet
[4524] Fix | Delete
});
[4525] Fix | Delete
}
[4526] Fix | Delete
);
[4527] Fix | Delete
var CompositeItem = createMemoComponent(
[4528] Fix | Delete
(props) => {
[4529] Fix | Delete
const htmlProps = useCompositeItem(props);
[4530] Fix | Delete
return _3ORBWXWF_createElement("button", htmlProps);
[4531] Fix | Delete
}
[4532] Fix | Delete
);
[4533] Fix | Delete
if (false) {}
[4534] Fix | Delete
[4535] Fix | Delete
[4536] Fix | Delete
[4537] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/core/esm/__chunks/Z5IGYIPT.js
[4538] Fix | Delete
"use client";
[4539] Fix | Delete
[4540] Fix | Delete
[4541] Fix | Delete
[4542] Fix | Delete
[4543] Fix | Delete
// src/disclosure/disclosure-store.ts
[4544] Fix | Delete
function createDisclosureStore(props = {}) {
[4545] Fix | Delete
const store = mergeStore(
[4546] Fix | Delete
props.store,
[4547] Fix | Delete
omit2(props.disclosure, ["contentElement", "disclosureElement"])
[4548] Fix | Delete
);
[4549] Fix | Delete
throwOnConflictingProps(props, store);
[4550] Fix | Delete
const syncState = store == null ? void 0 : store.getState();
[4551] Fix | Delete
const open = defaultValue(
[4552] Fix | Delete
props.open,
[4553] Fix | Delete
syncState == null ? void 0 : syncState.open,
[4554] Fix | Delete
props.defaultOpen,
[4555] Fix | Delete
false
[4556] Fix | Delete
);
[4557] Fix | Delete
const animated = defaultValue(props.animated, syncState == null ? void 0 : syncState.animated, false);
[4558] Fix | Delete
const initialState = {
[4559] Fix | Delete
open,
[4560] Fix | Delete
animated,
[4561] Fix | Delete
animating: !!animated && open,
[4562] Fix | Delete
mounted: open,
[4563] Fix | Delete
contentElement: defaultValue(syncState == null ? void 0 : syncState.contentElement, null),
[4564] Fix | Delete
disclosureElement: defaultValue(syncState == null ? void 0 : syncState.disclosureElement, null)
[4565] Fix | Delete
};
[4566] Fix | Delete
const disclosure = createStore(initialState, store);
[4567] Fix | Delete
setup(
[4568] Fix | Delete
disclosure,
[4569] Fix | Delete
() => sync(disclosure, ["animated", "animating"], (state) => {
[4570] Fix | Delete
if (state.animated)
[4571] Fix | Delete
return;
[4572] Fix | Delete
disclosure.setState("animating", false);
[4573] Fix | Delete
})
[4574] Fix | Delete
);
[4575] Fix | Delete
setup(
[4576] Fix | Delete
disclosure,
[4577] Fix | Delete
() => subscribe(disclosure, ["open"], () => {
[4578] Fix | Delete
if (!disclosure.getState().animated)
[4579] Fix | Delete
return;
[4580] Fix | Delete
disclosure.setState("animating", true);
[4581] Fix | Delete
})
[4582] Fix | Delete
);
[4583] Fix | Delete
setup(
[4584] Fix | Delete
disclosure,
[4585] Fix | Delete
() => sync(disclosure, ["open", "animating"], (state) => {
[4586] Fix | Delete
disclosure.setState("mounted", state.open || state.animating);
[4587] Fix | Delete
})
[4588] Fix | Delete
);
[4589] Fix | Delete
return _chunks_4R3V3JGP_spreadProps(_chunks_4R3V3JGP_spreadValues({}, disclosure), {
[4590] Fix | Delete
setOpen: (value) => disclosure.setState("open", value),
[4591] Fix | Delete
show: () => disclosure.setState("open", true),
[4592] Fix | Delete
hide: () => disclosure.setState("open", false),
[4593] Fix | Delete
toggle: () => disclosure.setState("open", (open2) => !open2),
[4594] Fix | Delete
stopAnimation: () => disclosure.setState("animating", false),
[4595] Fix | Delete
setContentElement: (value) => disclosure.setState("contentElement", value),
[4596] Fix | Delete
setDisclosureElement: (value) => disclosure.setState("disclosureElement", value)
[4597] Fix | Delete
});
[4598] Fix | Delete
}
[4599] Fix | Delete
[4600] Fix | Delete
[4601] Fix | Delete
[4602] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/SFCBA2JZ.js
[4603] Fix | Delete
"use client";
[4604] Fix | Delete
[4605] Fix | Delete
[4606] Fix | Delete
[4607] Fix | Delete
// src/disclosure/disclosure-store.ts
[4608] Fix | Delete
[4609] Fix | Delete
function useDisclosureStoreProps(store, update, props) {
[4610] Fix | Delete
useUpdateEffect(update, [props.store, props.disclosure]);
[4611] Fix | Delete
useStoreProps(store, props, "open", "setOpen");
[4612] Fix | Delete
useStoreProps(store, props, "mounted", "setMounted");
[4613] Fix | Delete
useStoreProps(store, props, "animated");
[4614] Fix | Delete
return store;
[4615] Fix | Delete
}
[4616] Fix | Delete
function useDisclosureStore(props = {}) {
[4617] Fix | Delete
const [store, update] = EKQEJRUF_useStore(createDisclosureStore, props);
[4618] Fix | Delete
return useDisclosureStoreProps(store, update, props);
[4619] Fix | Delete
}
[4620] Fix | Delete
[4621] Fix | Delete
[4622] Fix | Delete
[4623] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/core/esm/__chunks/SX2XFD6A.js
[4624] Fix | Delete
"use client";
[4625] Fix | Delete
[4626] Fix | Delete
[4627] Fix | Delete
// src/dialog/dialog-store.ts
[4628] Fix | Delete
function createDialogStore(props = {}) {
[4629] Fix | Delete
return createDisclosureStore(props);
[4630] Fix | Delete
}
[4631] Fix | Delete
[4632] Fix | Delete
[4633] Fix | Delete
[4634] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/ZSELSBRM.js
[4635] Fix | Delete
"use client";
[4636] Fix | Delete
[4637] Fix | Delete
[4638] Fix | Delete
[4639] Fix | Delete
// src/dialog/dialog-store.ts
[4640] Fix | Delete
[4641] Fix | Delete
function useDialogStoreProps(store, update, props) {
[4642] Fix | Delete
return useDisclosureStoreProps(store, update, props);
[4643] Fix | Delete
}
[4644] Fix | Delete
function useDialogStore(props = {}) {
[4645] Fix | Delete
const [store, update] = EKQEJRUF_useStore(createDialogStore, props);
[4646] Fix | Delete
return useDialogStoreProps(store, update, props);
[4647] Fix | Delete
}
[4648] Fix | Delete
[4649] Fix | Delete
[4650] Fix | Delete
[4651] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/MG4P3223.js
[4652] Fix | Delete
"use client";
[4653] Fix | Delete
[4654] Fix | Delete
[4655] Fix | Delete
[4656] Fix | Delete
[4657] Fix | Delete
// src/popover/popover-store.ts
[4658] Fix | Delete
[4659] Fix | Delete
function usePopoverStoreProps(store, update, props) {
[4660] Fix | Delete
useUpdateEffect(update, [props.popover]);
[4661] Fix | Delete
store = useDialogStoreProps(store, update, props);
[4662] Fix | Delete
useStoreProps(store, props, "placement");
[4663] Fix | Delete
return store;
[4664] Fix | Delete
}
[4665] Fix | Delete
function usePopoverStore(props = {}) {
[4666] Fix | Delete
const [store, update] = useStore(Core.createPopoverStore, props);
[4667] Fix | Delete
return usePopoverStoreProps(store, update, props);
[4668] Fix | Delete
}
[4669] Fix | Delete
[4670] Fix | Delete
[4671] Fix | Delete
[4672] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/ZU7LQC5V.js
[4673] Fix | Delete
"use client";
[4674] Fix | Delete
[4675] Fix | Delete
[4676] Fix | Delete
[4677] Fix | Delete
// src/hovercard/hovercard-store.ts
[4678] Fix | Delete
[4679] Fix | Delete
function useHovercardStoreProps(store, update, props) {
[4680] Fix | Delete
store = usePopoverStoreProps(store, update, props);
[4681] Fix | Delete
useStoreProps(store, props, "timeout");
[4682] Fix | Delete
useStoreProps(store, props, "showTimeout");
[4683] Fix | Delete
useStoreProps(store, props, "hideTimeout");
[4684] Fix | Delete
return store;
[4685] Fix | Delete
}
[4686] Fix | Delete
function useHovercardStore(props = {}) {
[4687] Fix | Delete
const [store, update] = useStore(Core.createHovercardStore, props);
[4688] Fix | Delete
return useHovercardStoreProps(store, update, props);
[4689] Fix | Delete
}
[4690] Fix | Delete
[4691] Fix | Delete
[4692] Fix | Delete
[4693] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/core/esm/__chunks/AF6IUUFN.js
[4694] Fix | Delete
"use client";
[4695] Fix | Delete
[4696] Fix | Delete
[4697] Fix | Delete
[4698] Fix | Delete
[4699] Fix | Delete
[4700] Fix | Delete
// src/popover/popover-store.ts
[4701] Fix | Delete
function createPopoverStore(_a = {}) {
[4702] Fix | Delete
var _b = _a, {
[4703] Fix | Delete
popover: otherPopover
[4704] Fix | Delete
} = _b, props = _4R3V3JGP_objRest(_b, [
[4705] Fix | Delete
"popover"
[4706] Fix | Delete
]);
[4707] Fix | Delete
const store = mergeStore(
[4708] Fix | Delete
props.store,
[4709] Fix | Delete
omit2(otherPopover, [
[4710] Fix | Delete
"arrowElement",
[4711] Fix | Delete
"anchorElement",
[4712] Fix | Delete
"contentElement",
[4713] Fix | Delete
"popoverElement",
[4714] Fix | Delete
"disclosureElement"
[4715] Fix | Delete
])
[4716] Fix | Delete
);
[4717] Fix | Delete
throwOnConflictingProps(props, store);
[4718] Fix | Delete
const syncState = store == null ? void 0 : store.getState();
[4719] Fix | Delete
const dialog = createDialogStore(_chunks_4R3V3JGP_spreadProps(_chunks_4R3V3JGP_spreadValues({}, props), { store }));
[4720] Fix | Delete
const placement = defaultValue(
[4721] Fix | Delete
props.placement,
[4722] Fix | Delete
syncState == null ? void 0 : syncState.placement,
[4723] Fix | Delete
"bottom"
[4724] Fix | Delete
);
[4725] Fix | Delete
const initialState = _chunks_4R3V3JGP_spreadProps(_chunks_4R3V3JGP_spreadValues({}, dialog.getState()), {
[4726] Fix | Delete
placement,
[4727] Fix | Delete
currentPlacement: placement,
[4728] Fix | Delete
anchorElement: defaultValue(syncState == null ? void 0 : syncState.anchorElement, null),
[4729] Fix | Delete
popoverElement: defaultValue(syncState == null ? void 0 : syncState.popoverElement, null),
[4730] Fix | Delete
arrowElement: defaultValue(syncState == null ? void 0 : syncState.arrowElement, null),
[4731] Fix | Delete
rendered: Symbol("rendered")
[4732] Fix | Delete
});
[4733] Fix | Delete
const popover = createStore(initialState, dialog, store);
[4734] Fix | Delete
return _chunks_4R3V3JGP_spreadProps(_chunks_4R3V3JGP_spreadValues(_chunks_4R3V3JGP_spreadValues({}, dialog), popover), {
[4735] Fix | Delete
setAnchorElement: (element) => popover.setState("anchorElement", element),
[4736] Fix | Delete
setPopoverElement: (element) => popover.setState("popoverElement", element),
[4737] Fix | Delete
setArrowElement: (element) => popover.setState("arrowElement", element),
[4738] Fix | Delete
render: () => popover.setState("rendered", Symbol("rendered"))
[4739] Fix | Delete
});
[4740] Fix | Delete
}
[4741] Fix | Delete
[4742] Fix | Delete
[4743] Fix | Delete
[4744] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/core/esm/__chunks/SOLWE6E5.js
[4745] Fix | Delete
"use client";
[4746] Fix | Delete
[4747] Fix | Delete
[4748] Fix | Delete
[4749] Fix | Delete
[4750] Fix | Delete
[4751] Fix | Delete
// src/hovercard/hovercard-store.ts
[4752] Fix | Delete
function createHovercardStore(props = {}) {
[4753] Fix | Delete
var _a;
[4754] Fix | Delete
const syncState = (_a = props.store) == null ? void 0 : _a.getState();
[4755] Fix | Delete
const popover = createPopoverStore(_chunks_4R3V3JGP_spreadProps(_chunks_4R3V3JGP_spreadValues({}, props), {
[4756] Fix | Delete
placement: defaultValue(
[4757] Fix | Delete
props.placement,
[4758] Fix | Delete
syncState == null ? void 0 : syncState.placement,
[4759] Fix | Delete
"bottom"
[4760] Fix | Delete
)
[4761] Fix | Delete
}));
[4762] Fix | Delete
const timeout = defaultValue(props.timeout, syncState == null ? void 0 : syncState.timeout, 500);
[4763] Fix | Delete
const initialState = _chunks_4R3V3JGP_spreadProps(_chunks_4R3V3JGP_spreadValues({}, popover.getState()), {
[4764] Fix | Delete
timeout,
[4765] Fix | Delete
showTimeout: defaultValue(props.showTimeout, syncState == null ? void 0 : syncState.showTimeout),
[4766] Fix | Delete
hideTimeout: defaultValue(props.hideTimeout, syncState == null ? void 0 : syncState.hideTimeout),
[4767] Fix | Delete
autoFocusOnShow: defaultValue(syncState == null ? void 0 : syncState.autoFocusOnShow, false)
[4768] Fix | Delete
});
[4769] Fix | Delete
const hovercard = createStore(initialState, popover, props.store);
[4770] Fix | Delete
return _chunks_4R3V3JGP_spreadProps(_chunks_4R3V3JGP_spreadValues(_chunks_4R3V3JGP_spreadValues({}, popover), hovercard), {
[4771] Fix | Delete
setAutoFocusOnShow: (value) => hovercard.setState("autoFocusOnShow", value)
[4772] Fix | Delete
});
[4773] Fix | Delete
}
[4774] Fix | Delete
[4775] Fix | Delete
[4776] Fix | Delete
[4777] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/core/esm/tooltip/tooltip-store.js
[4778] Fix | Delete
"use client";
[4779] Fix | Delete
[4780] Fix | Delete
[4781] Fix | Delete
[4782] Fix | Delete
[4783] Fix | Delete
[4784] Fix | Delete
[4785] Fix | Delete
[4786] Fix | Delete
[4787] Fix | Delete
// src/tooltip/tooltip-store.ts
[4788] Fix | Delete
function createTooltipStore(props = {}) {
[4789] Fix | Delete
var _a;
[4790] Fix | Delete
const syncState = (_a = props.store) == null ? void 0 : _a.getState();
[4791] Fix | Delete
const hovercard = createHovercardStore(_chunks_4R3V3JGP_spreadProps(_chunks_4R3V3JGP_spreadValues({}, props), {
[4792] Fix | Delete
placement: defaultValue(
[4793] Fix | Delete
props.placement,
[4794] Fix | Delete
syncState == null ? void 0 : syncState.placement,
[4795] Fix | Delete
"top"
[4796] Fix | Delete
),
[4797] Fix | Delete
hideTimeout: defaultValue(props.hideTimeout, syncState == null ? void 0 : syncState.hideTimeout, 0)
[4798] Fix | Delete
}));
[4799] Fix | Delete
const initialState = _chunks_4R3V3JGP_spreadProps(_chunks_4R3V3JGP_spreadValues({}, hovercard.getState()), {
[4800] Fix | Delete
type: defaultValue(props.type, syncState == null ? void 0 : syncState.type, "description"),
[4801] Fix | Delete
skipTimeout: defaultValue(props.skipTimeout, syncState == null ? void 0 : syncState.skipTimeout, 300)
[4802] Fix | Delete
});
[4803] Fix | Delete
const tooltip = createStore(initialState, hovercard, props.store);
[4804] Fix | Delete
return _chunks_4R3V3JGP_spreadValues(_chunks_4R3V3JGP_spreadValues({}, hovercard), tooltip);
[4805] Fix | Delete
}
[4806] Fix | Delete
[4807] Fix | Delete
[4808] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/2QMN5E6B.js
[4809] Fix | Delete
"use client";
[4810] Fix | Delete
[4811] Fix | Delete
[4812] Fix | Delete
[4813] Fix | Delete
// src/tooltip/tooltip-store.ts
[4814] Fix | Delete
[4815] Fix | Delete
function useTooltipStoreProps(store, update, props) {
[4816] Fix | Delete
store = useHovercardStoreProps(store, update, props);
[4817] Fix | Delete
useStoreProps(store, props, "type");
[4818] Fix | Delete
useStoreProps(store, props, "skipTimeout");
[4819] Fix | Delete
return store;
[4820] Fix | Delete
}
[4821] Fix | Delete
function useTooltipStore(props = {}) {
[4822] Fix | Delete
const [store, update] = EKQEJRUF_useStore(createTooltipStore, props);
[4823] Fix | Delete
return useTooltipStoreProps(store, update, props);
[4824] Fix | Delete
}
[4825] Fix | Delete
[4826] Fix | Delete
[4827] Fix | Delete
[4828] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/FSFPRQFR.js
[4829] Fix | Delete
"use client";
[4830] Fix | Delete
[4831] Fix | Delete
[4832] Fix | Delete
// src/role/role.ts
[4833] Fix | Delete
var FSFPRQFR_elements = [
[4834] Fix | Delete
"a",
[4835] Fix | Delete
"button",
[4836] Fix | Delete
"details",
[4837] Fix | Delete
"dialog",
[4838] Fix | Delete
"div",
[4839] Fix | Delete
"form",
[4840] Fix | Delete
"h1",
[4841] Fix | Delete
"h2",
[4842] Fix | Delete
"h3",
[4843] Fix | Delete
"h4",
[4844] Fix | Delete
"h5",
[4845] Fix | Delete
"h6",
[4846] Fix | Delete
"header",
[4847] Fix | Delete
"img",
[4848] Fix | Delete
"input",
[4849] Fix | Delete
"label",
[4850] Fix | Delete
"li",
[4851] Fix | Delete
"nav",
[4852] Fix | Delete
"ol",
[4853] Fix | Delete
"p",
[4854] Fix | Delete
"section",
[4855] Fix | Delete
"select",
[4856] Fix | Delete
"span",
[4857] Fix | Delete
"textarea",
[4858] Fix | Delete
"ul",
[4859] Fix | Delete
"svg"
[4860] Fix | Delete
];
[4861] Fix | Delete
var FSFPRQFR_useRole = createHook((props) => {
[4862] Fix | Delete
return props;
[4863] Fix | Delete
});
[4864] Fix | Delete
var Role = createComponent((props) => {
[4865] Fix | Delete
return _3ORBWXWF_createElement("div", props);
[4866] Fix | Delete
});
[4867] Fix | Delete
if (false) {}
[4868] Fix | Delete
Object.assign(
[4869] Fix | Delete
Role,
[4870] Fix | Delete
FSFPRQFR_elements.reduce((acc, element) => {
[4871] Fix | Delete
acc[element] = createComponent((props) => {
[4872] Fix | Delete
return _3ORBWXWF_createElement(element, props);
[4873] Fix | Delete
});
[4874] Fix | Delete
return acc;
[4875] Fix | Delete
}, {})
[4876] Fix | Delete
);
[4877] Fix | Delete
[4878] Fix | Delete
[4879] Fix | Delete
[4880] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/OAYFXAQ2.js
[4881] Fix | Delete
"use client";
[4882] Fix | Delete
[4883] Fix | Delete
[4884] Fix | Delete
// src/disclosure/disclosure-context.tsx
[4885] Fix | Delete
var OAYFXAQ2_ctx = createStoreContext();
[4886] Fix | Delete
var useDisclosureContext = OAYFXAQ2_ctx.useContext;
[4887] Fix | Delete
var useDisclosureScopedContext = OAYFXAQ2_ctx.useScopedContext;
[4888] Fix | Delete
var useDisclosureProviderContext = OAYFXAQ2_ctx.useProviderContext;
[4889] Fix | Delete
var DisclosureContextProvider = OAYFXAQ2_ctx.ContextProvider;
[4890] Fix | Delete
var DisclosureScopedContextProvider = OAYFXAQ2_ctx.ScopedContextProvider;
[4891] Fix | Delete
[4892] Fix | Delete
[4893] Fix | Delete
[4894] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/G6BJYYBK.js
[4895] Fix | Delete
"use client";
[4896] Fix | Delete
[4897] Fix | Delete
[4898] Fix | Delete
[4899] Fix | Delete
// src/dialog/dialog-context.tsx
[4900] Fix | Delete
[4901] Fix | Delete
var G6BJYYBK_ctx = createStoreContext(
[4902] Fix | Delete
[DisclosureContextProvider],
[4903] Fix | Delete
[DisclosureScopedContextProvider]
[4904] Fix | Delete
);
[4905] Fix | Delete
var useDialogContext = G6BJYYBK_ctx.useContext;
[4906] Fix | Delete
var useDialogScopedContext = G6BJYYBK_ctx.useScopedContext;
[4907] Fix | Delete
var useDialogProviderContext = G6BJYYBK_ctx.useProviderContext;
[4908] Fix | Delete
var DialogContextProvider = G6BJYYBK_ctx.ContextProvider;
[4909] Fix | Delete
var DialogScopedContextProvider = G6BJYYBK_ctx.ScopedContextProvider;
[4910] Fix | Delete
var DialogHeadingContext = (0,external_React_.createContext)(void 0);
[4911] Fix | Delete
var DialogDescriptionContext = (0,external_React_.createContext)(void 0);
[4912] Fix | Delete
[4913] Fix | Delete
[4914] Fix | Delete
[4915] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/7H5KSHHF.js
[4916] Fix | Delete
"use client";
[4917] Fix | Delete
[4918] Fix | Delete
[4919] Fix | Delete
[4920] Fix | Delete
// src/popover/popover-context.tsx
[4921] Fix | Delete
var _7H5KSHHF_ctx = createStoreContext(
[4922] Fix | Delete
[DialogContextProvider],
[4923] Fix | Delete
[DialogScopedContextProvider]
[4924] Fix | Delete
);
[4925] Fix | Delete
var usePopoverContext = _7H5KSHHF_ctx.useContext;
[4926] Fix | Delete
var usePopoverScopedContext = _7H5KSHHF_ctx.useScopedContext;
[4927] Fix | Delete
var usePopoverProviderContext = _7H5KSHHF_ctx.useProviderContext;
[4928] Fix | Delete
var PopoverContextProvider = _7H5KSHHF_ctx.ContextProvider;
[4929] Fix | Delete
var PopoverScopedContextProvider = _7H5KSHHF_ctx.ScopedContextProvider;
[4930] Fix | Delete
[4931] Fix | Delete
[4932] Fix | Delete
[4933] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/TI7CMBHW.js
[4934] Fix | Delete
"use client";
[4935] Fix | Delete
[4936] Fix | Delete
[4937] Fix | Delete
[4938] Fix | Delete
// src/hovercard/hovercard-context.tsx
[4939] Fix | Delete
var TI7CMBHW_ctx = createStoreContext(
[4940] Fix | Delete
[PopoverContextProvider],
[4941] Fix | Delete
[PopoverScopedContextProvider]
[4942] Fix | Delete
);
[4943] Fix | Delete
var useHovercardContext = TI7CMBHW_ctx.useContext;
[4944] Fix | Delete
var useHovercardScopedContext = TI7CMBHW_ctx.useScopedContext;
[4945] Fix | Delete
var useHovercardProviderContext = TI7CMBHW_ctx.useProviderContext;
[4946] Fix | Delete
var HovercardContextProvider = TI7CMBHW_ctx.ContextProvider;
[4947] Fix | Delete
var HovercardScopedContextProvider = TI7CMBHW_ctx.ScopedContextProvider;
[4948] Fix | Delete
[4949] Fix | Delete
[4950] Fix | Delete
[4951] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@ariakit/react-core/esm/__chunks/7X4DYKYU.js
[4952] Fix | Delete
"use client";
[4953] Fix | Delete
[4954] Fix | Delete
[4955] Fix | Delete
[4956] Fix | Delete
[4957] Fix | Delete
[4958] Fix | Delete
[4959] Fix | Delete
// src/hovercard/hovercard-anchor.ts
[4960] Fix | Delete
[4961] Fix | Delete
[4962] Fix | Delete
[4963] Fix | Delete
var useHovercardAnchor = createHook(
[4964] Fix | Delete
(_a) => {
[4965] Fix | Delete
var _b = _a, { store, showOnHover = true } = _b, props = __objRest(_b, ["store", "showOnHover"]);
[4966] Fix | Delete
const context = useHovercardProviderContext();
[4967] Fix | Delete
store = store || context;
[4968] Fix | Delete
invariant(
[4969] Fix | Delete
store,
[4970] Fix | Delete
false && 0
[4971] Fix | Delete
);
[4972] Fix | Delete
const disabled = disabledFromProps(props);
[4973] Fix | Delete
const showTimeoutRef = (0,external_React_.useRef)(0);
[4974] Fix | Delete
(0,external_React_.useEffect)(() => () => window.clearTimeout(showTimeoutRef.current), []);
[4975] Fix | Delete
(0,external_React_.useEffect)(() => {
[4976] Fix | Delete
const onMouseLeave = (event) => {
[4977] Fix | Delete
if (!store)
[4978] Fix | Delete
return;
[4979] Fix | Delete
const { anchorElement } = store.getState();
[4980] Fix | Delete
if (!anchorElement)
[4981] Fix | Delete
return;
[4982] Fix | Delete
if (event.target !== anchorElement)
[4983] Fix | Delete
return;
[4984] Fix | Delete
window.clearTimeout(showTimeoutRef.current);
[4985] Fix | Delete
showTimeoutRef.current = 0;
[4986] Fix | Delete
};
[4987] Fix | Delete
return addGlobalEventListener("mouseleave", onMouseLeave, true);
[4988] Fix | Delete
}, [store]);
[4989] Fix | Delete
const onMouseMoveProp = props.onMouseMove;
[4990] Fix | Delete
const showOnHoverProp = useBooleanEvent(showOnHover);
[4991] Fix | Delete
const isMouseMoving = useIsMouseMoving();
[4992] Fix | Delete
const onMouseMove = useEvent(
[4993] Fix | Delete
(event) => {
[4994] Fix | Delete
onMouseMoveProp == null ? void 0 : onMouseMoveProp(event);
[4995] Fix | Delete
if (disabled)
[4996] Fix | Delete
return;
[4997] Fix | Delete
if (!store)
[4998] Fix | Delete
return;
[4999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function