import {
  ReturnReasonList
} from "./chunk-RE3AYHPM.js";
import "./chunk-5A4JNOK3.js";
import "./chunk-O5VKW5FL.js";
import "./chunk-LQAAVRET.js";
import "./chunk-AFQS6E4N.js";
import "./chunk-QG6PLWNH.js";
import "./chunk-DBYUB2YI.js";
import "./chunk-4F5GP7J7.js";
import "./chunk-54EPH67T.js";
import "./chunk-JQV7CXEC.js";
import "./chunk-HINXQTCW.js";
import "./chunk-NOWUEJ74.js";
import "./chunk-VW56KWO2.js";
import "./chunk-TZSOL34K.js";
import "./chunk-25LYVP3C.js";
import {
  returnReasonsQueryKeys
} from "./chunk-2FGRDEAD.js";
import "./chunk-2Y3WMGN6.js";
import "./chunk-JHIMVLB2.js";
import "./chunk-PXYDR7WQ.js";
import "./chunk-JRTZWK77.js";
import "./chunk-Z5I2Z6L3.js";
import "./chunk-FWPGOIFA.js";
import "./chunk-DB6ANJBO.js";
import "./chunk-PHOCVOZ5.js";
import "./chunk-E74OUNA3.js";
import "./chunk-WIYFXWRI.js";
import "./chunk-FQERBIVS.js";
import "./chunk-KYPPQGGE.js";
import "./chunk-ZMC7BKLT.js";
import "./chunk-KAZ5BYTQ.js";
import "./chunk-634XVU3D.js";
import "./chunk-H6MYB7GB.js";
import "./chunk-IQPN4PZJ.js";
import "./chunk-INNFZYX2.js";
import "./chunk-BDGZ4EQO.js";
import "./chunk-LAVHRER2.js";
import "./chunk-Y7QKP6QU.js";
import "./chunk-HO7Z6MC3.js";
import "./chunk-MG4GKUJW.js";
import "./chunk-AYVH6Q5O.js";
import "./chunk-VOHEQ7B5.js";
import "./chunk-C3WE6EFO.js";
import "./chunk-N5IUYCUZ.js";
import "./chunk-7SVLKK6Q.js";
import "./chunk-GR6JUIRU.js";
import "./chunk-ZZO3INVE.js";
import "./chunk-PVZBDWLK.js";
import "./chunk-3B6MTW5G.js";
import "./chunk-VKOE5J66.js";
import "./chunk-DY3XQPHC.js";
import "./chunk-VVWB3GIK.js";
import "./chunk-HKDFWQ6Q.js";
import "./chunk-SESTTUVM.js";
import "./chunk-THHRRYRS.js";
import "./chunk-UZWFZMOX.js";
import "./chunk-XQNVC4Q7.js";
import {
  queryClient
} from "./chunk-RHKRREUU.js";
import "./chunk-ZA2KFUFR.js";
import {
  sdk
} from "./chunk-ZBWL72TB.js";
import "./chunk-NBMM2TZK.js";

// src/pages/return-reasons/return-reason-list/loader.ts
var returnReasonListQuery = (query) => ({
  queryKey: returnReasonsQueryKeys.list(query),
  queryFn: async () => sdk.admin.returnReasons.query({ ...query })
});
var returnReasonListLoader = async () => {
  const query = returnReasonListQuery();
  return queryClient.getQueryData(query.queryKey) ?? await queryClient.fetchQuery(query);
};
export {
  ReturnReasonList as Component,
  returnReasonListLoader as loader
};
