accessify-widget 0.3.61 → 0.3.62
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/dist/accessify.min.js +1 -1
- package/dist/accessify.min.js.map +1 -1
- package/dist/accessify.mjs +1 -1
- package/dist/{index-nzfT-SzJ.js → index-MgQwAeV-.js} +7 -5
- package/dist/{index-nzfT-SzJ.js.map → index-MgQwAeV-.js.map} +1 -1
- package/dist/{keyboard-nav-DDSxMaow.js → keyboard-nav-C5iWPSrb.js} +2 -2
- package/dist/{keyboard-nav-DDSxMaow.js.map → keyboard-nav-C5iWPSrb.js.map} +1 -1
- package/dist/{page-structure-C_KIRohv.js → page-structure-OWe6Kkoc.js} +2 -2
- package/dist/{page-structure-C_KIRohv.js.map → page-structure-OWe6Kkoc.js.map} +1 -1
- package/dist/{text-simplify-B0hIi6bW.js → text-simplify-DJxDrQHW.js} +4 -3
- package/dist/text-simplify-DJxDrQHW.js.map +1 -0
- package/dist/widget.js +1 -1
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
- package/dist/text-simplify-B0hIi6bW.js.map +0 -1
package/dist/accessify.mjs
CHANGED
|
@@ -6642,16 +6642,16 @@ function FeatureGrid($$anchor, $$props) {
|
|
|
6642
6642
|
const FEATURE_LOADERS = {
|
|
6643
6643
|
contrast: () => import("./contrast-CqsOs6Uo.js"),
|
|
6644
6644
|
"text-size": () => import("./text-size-m_mHNPWo.js"),
|
|
6645
|
-
"keyboard-nav": () => import("./keyboard-nav-
|
|
6645
|
+
"keyboard-nav": () => import("./keyboard-nav-C5iWPSrb.js"),
|
|
6646
6646
|
"link-highlight": () => import("./link-highlight-DBGm067Y.js"),
|
|
6647
6647
|
"reading-guide": () => import("./reading-guide-VT8NciIL.js"),
|
|
6648
6648
|
"reading-mask": () => import("./reading-mask-BABChuCz.js"),
|
|
6649
6649
|
"animation-stop": () => import("./animation-stop-DrDe9Q9n.js"),
|
|
6650
6650
|
"hide-images": () => import("./hide-images-B_LeCBcd.js"),
|
|
6651
6651
|
"big-cursor": () => import("./big-cursor-B2UKu9dQ.js"),
|
|
6652
|
-
"page-structure": () => import("./page-structure-
|
|
6652
|
+
"page-structure": () => import("./page-structure-OWe6Kkoc.js"),
|
|
6653
6653
|
tts: () => import("./tts-CjszLRnb.js"),
|
|
6654
|
-
"text-simplify": () => import("./text-simplify-
|
|
6654
|
+
"text-simplify": () => import("./text-simplify-DJxDrQHW.js"),
|
|
6655
6655
|
"alt-text": () => Promise.resolve().then(() => altText)
|
|
6656
6656
|
};
|
|
6657
6657
|
let contrastMode = /* @__PURE__ */ state(proxy(readStoredContrastMode()));
|
|
@@ -6717,7 +6717,8 @@ function FeatureGrid($$anchor, $$props) {
|
|
|
6717
6717
|
const exported = mod.default ?? mod;
|
|
6718
6718
|
const featureModule = typeof exported === "function" ? AI_FEATURES.has(id) ? exported(getAIService(), $$props.config.lang, {
|
|
6719
6719
|
siteKey: $$props.config.siteKey,
|
|
6720
|
-
proxyUrl: $$props.config.proxyUrl
|
|
6720
|
+
proxyUrl: $$props.config.proxyUrl,
|
|
6721
|
+
simplificationLevel: $$props.config.simplificationLevel
|
|
6721
6722
|
}) : exported() : exported;
|
|
6722
6723
|
loadedModules.set(id, featureModule);
|
|
6723
6724
|
return featureModule;
|
|
@@ -8904,6 +8905,7 @@ async function fetchSiteConfig(siteKey, proxyUrl) {
|
|
|
8904
8905
|
if (serverCfg[field]) mapped[field] = serverCfg[field];
|
|
8905
8906
|
}
|
|
8906
8907
|
if (serverCfg.panelWidth) mapped.panelWidth = serverCfg.panelWidth;
|
|
8908
|
+
if (serverCfg.simplificationLevel) mapped.simplificationLevel = serverCfg.simplificationLevel;
|
|
8907
8909
|
return mapped;
|
|
8908
8910
|
} catch {
|
|
8909
8911
|
return {};
|
|
@@ -9059,4 +9061,4 @@ export {
|
|
|
9059
9061
|
init as i,
|
|
9060
9062
|
t
|
|
9061
9063
|
};
|
|
9062
|
-
//# sourceMappingURL=index-
|
|
9064
|
+
//# sourceMappingURL=index-MgQwAeV-.js.map
|