@d-i-t-a/reader 2.3.12 → 2.3.13

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/esm/index.js CHANGED
@@ -12262,7 +12262,7 @@ var require_parse = __commonJS({
12262
12262
  try {
12263
12263
  parser.parse();
12264
12264
  } catch (e) {
12265
- if (false) {
12265
+ if (true) {
12266
12266
  if (e.name === "CssSyntaxError" && opts && opts.from) {
12267
12267
  if (/\.scss$/i.test(opts.from)) {
12268
12268
  e.message += "\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser";
@@ -12456,7 +12456,7 @@ var require_lazy_result = __commonJS({
12456
12456
  return this.css;
12457
12457
  }
12458
12458
  then(onFulfilled, onRejected) {
12459
- if (false) {
12459
+ if (true) {
12460
12460
  if (!("from" in this.opts)) {
12461
12461
  warnOnce("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.");
12462
12462
  }
@@ -12603,7 +12603,7 @@ var require_lazy_result = __commonJS({
12603
12603
  error.plugin = plugin.postcssPlugin;
12604
12604
  error.setMessage();
12605
12605
  } else if (plugin.postcssVersion) {
12606
- if (false) {
12606
+ if (true) {
12607
12607
  let pluginName = plugin.postcssPlugin;
12608
12608
  let pluginVer = plugin.postcssVersion;
12609
12609
  let runtimeVer = this.result.processor.version;
@@ -12849,7 +12849,7 @@ var require_no_work_result = __commonJS({
12849
12849
  return this._css;
12850
12850
  }
12851
12851
  then(onFulfilled, onRejected) {
12852
- if (false) {
12852
+ if (true) {
12853
12853
  if (!("from" in this._opts)) {
12854
12854
  warnOnce("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.");
12855
12855
  }
@@ -12918,7 +12918,7 @@ var require_processor = __commonJS({
12918
12918
  } else if (typeof i === "function") {
12919
12919
  normalized.push(i);
12920
12920
  } else if (typeof i === "object" && (i.parse || i.stringify)) {
12921
- if (false) {
12921
+ if (true) {
12922
12922
  throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.");
12923
12923
  }
12924
12924
  } else {
@@ -51421,6 +51421,8 @@ var TextHighlighter = class {
51421
51421
  toolbox.style.transform = "revert";
51422
51422
  toolbox.style.width = "100%";
51423
51423
  toolbox.style.textAlign = "center";
51424
+ toolbox.style.position = "absolute";
51425
+ toolbox.style.setProperty("--content", "revert");
51424
51426
  } else if (this.properties?.menuPosition === MenuPosition.BOTTOM) {
51425
51427
  toolbox.style.bottom = "0px";
51426
51428
  toolbox.style.left = "0px";
@@ -51428,6 +51430,7 @@ var TextHighlighter = class {
51428
51430
  toolbox.style.width = "100%";
51429
51431
  toolbox.style.textAlign = "center";
51430
51432
  toolbox.style.position = "absolute";
51433
+ toolbox.style.setProperty("--content", "revert");
51431
51434
  } else {
51432
51435
  const paginated = this.navigator.view?.isPaginated();
51433
51436
  if (paginated) {
@@ -55253,7 +55256,7 @@ function delay(t, v) {
55253
55256
  setTimeout(resolve.bind(null, v), t);
55254
55257
  });
55255
55258
  }
55256
- var IS_DEV = false;
55259
+ var IS_DEV = true;
55257
55260
  import_loglevel13.default.setLevel(IS_DEV ? "trace" : "warn", true);
55258
55261
 
55259
55262
  // src/modules/protection/ContentProtectionModule.ts