This commit is contained in:
Johannes Paehr
2025-11-20 21:21:20 +01:00
parent 9cffa391e8
commit 929f905886
16 changed files with 8659 additions and 1893 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
Producer: iTextSharpTM 5.5.14-SNAPSHOT ©2000-2020 iText Group NV (AGPL-version); modified using iTextSharpTM 5.5.14-SNAPSHOT ©2000-2020 iText Group NV (AGPL-version)
CreationDate: 11/15/23 20:55:13
ModDate: 11/17/23 16:01:19
Tagged: no
Form: none
Pages: 264
Encrypted: no
Page size: 439.37 x 666.142 pts (rotated 0 degrees)
File size: 3184225 bytes
Optimized: yes
PDF version: 1.4

View File

@@ -11,7 +11,7 @@
"configOptions": { "configOptions": {
"getCollections": true, "getCollections": true,
"cached": true, "cached": true,
"hash": "5ca9f2a397830a6241869195b367e5aa72f55edaa9145c05804fef70dc1aa2d7" "hash": "2eaa471e1eca8fd347f55b544bc67eed4be0e083f37aab5396d015b6557f94fd"
}, },
"displayOptions": { "displayOptions": {
"exportNotes": false, "exportNotes": false,
@@ -24,10 +24,10 @@
}, },
"priority": 50, "priority": 50,
"inRepository": false, "inRepository": false,
"lastUpdated": "2025-11-10" "lastUpdated": "2024-11-29"
} }
if (typeof ZOTERO_CONFIG === 'undefined') ZOTERO_CONFIG = undefined ZOTERO_CONFIG = {"GUID":"zotero@chnm.gmu.edu","ID":"zotero","CLIENT_NAME":"Zotero","DOMAIN_NAME":"zotero.org","PRODUCER":"Digital Scholar","PRODUCER_URL":"https://digitalscholar.org","REPOSITORY_URL":"https://repo.zotero.org/repo/","BASE_URI":"http://zotero.org/","WWW_BASE_URL":"https://www.zotero.org/","PROXY_AUTH_URL":"https://zoteroproxycheck.s3.amazonaws.com/test","API_URL":"https://api.zotero.org/","STREAMING_URL":"wss://stream.zotero.org/","SERVICES_URL":"https://services.zotero.org/","API_VERSION":3,"CONNECTOR_MIN_VERSION":"5.0.39","PREF_BRANCH":"extensions.zotero.","BOOKMARKLET_ORIGIN":"https://www.zotero.org","BOOKMARKLET_URL":"https://www.zotero.org/bookmarklet/","START_URL":"https://www.zotero.org/start","QUICK_START_URL":"https://www.zotero.org/support/quick_start_guide","PDF_TOOLS_URL":"https://www.zotero.org/download/xpdf/","SUPPORT_URL":"https://www.zotero.org/support/","SYNC_INFO_URL":"https://www.zotero.org/support/sync","TROUBLESHOOTING_URL":"https://www.zotero.org/support/getting_help","FEEDBACK_URL":"https://forums.zotero.org/","CONNECTORS_URL":"https://www.zotero.org/download/connectors","CHANGELOG_URL":"https://www.zotero.org/support/changelog","CREDITS_URL":"https://www.zotero.org/support/credits_and_acknowledgments","LICENSING_URL":"https://www.zotero.org/support/licensing","GET_INVOLVED_URL":"https://www.zotero.org/getinvolved","DICTIONARIES_URL":"https://download.zotero.org/dictionaries/"}
if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared
Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"f895aa0d-f28e-47fe-b247-2ea77c6ed583","translatorType":2,"label":"Better BibLaTeX","description":"exports items in BibLaTeX format","creator":"Simon Kornblith, Richard Karnesky, Anders Johansson and Emiliano Heyns","target":"bib","minVersion":"4.0.27","maxVersion":"","browserSupport":"gcsv","configOptions":{"getCollections":true,"cached":true},"displayOptions":{"exportNotes":false,"exportFileData":false,"useJournalAbbreviation":false,"biblatexAPA":false,"biblatexChicago":false,"keepUpdated":false,"worker":true},"priority":50,"inRepository":false}); // assign new data Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"f895aa0d-f28e-47fe-b247-2ea77c6ed583","translatorType":2,"label":"Better BibLaTeX","description":"exports items in BibLaTeX format","creator":"Simon Kornblith, Richard Karnesky, Anders Johansson and Emiliano Heyns","target":"bib","minVersion":"4.0.27","maxVersion":"","browserSupport":"gcsv","configOptions":{"getCollections":true,"cached":true},"displayOptions":{"exportNotes":false,"exportFileData":false,"useJournalAbbreviation":false,"biblatexAPA":false,"biblatexChicago":false,"keepUpdated":false,"worker":true},"priority":50,"inRepository":false}); // assign new data
@@ -67,17 +67,18 @@ var { doExport } = (() => {
"Year", "Year",
"biblatexAPA", "biblatexAPA",
"biblatexChicago", "biblatexChicago",
"cache",
"custom",
"dropAttachments",
"exportDir",
"exportFileData", "exportFileData",
"exportNotes", "exportNotes",
"exportPath",
"keepUpdated", "keepUpdated",
"markdown", "markdown",
"quickCopyMode", "quickCopyMode",
"useJournalAbbreviation", "useJournalAbbreviation",
"worker", "worker"
// pseudo options
"custom",
"exportDir",
"exportPath"
]; ];
var headers = [ var headers = [
{ {
@@ -270,6 +271,7 @@ var { doExport } = (() => {
asciiBibLaTeX: false, asciiBibLaTeX: false,
asciiBibTeX: true, asciiBibTeX: true,
autoAbbrev: false, autoAbbrev: false,
autoAbbrevStyle: "",
autoExport: "immediate", autoExport: "immediate",
autoExportDelay: 5, autoExportDelay: 5,
autoExportIdleWait: 10, autoExportIdleWait: 10,
@@ -283,19 +285,17 @@ var { doExport } = (() => {
biblatexExtendedDateFormat: true, biblatexExtendedDateFormat: true,
biblatexExtendedNameFormat: true, biblatexExtendedNameFormat: true,
biblatexExtractEprint: true, biblatexExtractEprint: true,
biblatexUsePrefix: true,
bibtexEditionOrdinal: false, bibtexEditionOrdinal: false,
bibtexParticleNoOp: false, bibtexParticleNoOp: false,
bibtexURL: "off", bibtexURL: "off",
cache: true, cache: true,
cacheDelete: false, cacheDelete: false,
cacheRetain: false,
charmap: "", charmap: "",
chinese: false,
chineseSplitName: true,
citeCommand: "cite", citeCommand: "cite",
citekeyCaseInsensitive: true, citekeyCaseInsensitive: true,
citekeyFold: true, citekeyFold: true,
citekeyFormat: " auth.lower + shorttitle(3,3) + year", citekeyFormat: "auth.lower + shorttitle(3,3) + year",
citekeyFormatEditing: "", citekeyFormatEditing: "",
citekeySearch: true, citekeySearch: true,
citekeyUnsafeChars: `\\"#%'(),={}~`, citekeyUnsafeChars: `\\"#%'(),={}~`,
@@ -318,15 +318,15 @@ var { doExport } = (() => {
importJabRefAbbreviations: true, importJabRefAbbreviations: true,
importJabRefStrings: true, importJabRefStrings: true,
importNoteToExtra: "", importNoteToExtra: "",
importPlaceEvent: "inproceedings,conference,presentation,talk",
importSentenceCase: "on+guess", importSentenceCase: "on+guess",
importSentenceCaseQuoted: true, importSentenceCaseQuoted: true,
importUnknownTexCommand: "ignore", importUnknownTexCommand: "ignore",
itemObserverDelay: 5, itemObserverDelay: 5,
jabrefFormat: 0, jabrefFormat: 0,
japanese: false, jieba: false,
keyConflictPolicy: "keep", keyConflictPolicy: "keep",
keyScope: "library", keyScope: "library",
kuroshiro: false,
language: "langid", language: "langid",
logEvents: true, logEvents: true,
mapMath: "", mapMath: "",
@@ -363,10 +363,9 @@ var { doExport } = (() => {
// translators/lib/collect.ts // translators/lib/collect.ts
var Items = class { var Items = class {
items = [];
map = {};
current;
constructor() { constructor() {
this.items = [];
this.map = {};
let item; let item;
while (item = Zotero.nextItem()) { while (item = Zotero.nextItem()) {
this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item); this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item);
@@ -419,12 +418,12 @@ var { doExport } = (() => {
var Collections = class { var Collections = class {
constructor(items) { constructor(items) {
this.items = items; this.items = items;
this.byKey = {};
let collection; let collection;
while (collection = Zotero.nextCollection()) { while (collection = Zotero.nextCollection()) {
this.registerCollection(collection, ""); this.registerCollection(collection, "");
} }
} }
byKey = {};
erase() { erase() {
this.byKey = {}; this.byKey = {};
} }
@@ -477,6 +476,8 @@ var { doExport } = (() => {
var Collected = class { var Collected = class {
constructor(translator, mode) { constructor(translator, mode) {
this.translator = translator; this.translator = translator;
this.input = "";
this.displayOptions = {};
switch (mode) { switch (mode) {
case "export": case "export":
this.items = new Items(); this.items = new Items();
@@ -490,20 +491,13 @@ var { doExport } = (() => {
break; break;
} }
this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => { this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => {
acc[pref] = Zotero.getHiddenPref(`better-bibtex.${pref}`) ?? dflt; var _a;
acc[pref] = (_a = Zotero.getHiddenPref(`better-bibtex.${pref}`)) != null ? _a : dflt;
return acc; return acc;
}, {}); }, {});
this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing"); this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing");
this.platform = Zotero.getHiddenPref("better-bibtex.platform"); this.platform = Zotero.getHiddenPref("better-bibtex.platform");
} }
input = "";
items;
collections;
preferences;
displayOptions = {};
platform;
Item;
Collection;
item(type) { item(type) {
return new Zotero.Item(type); return new Zotero.Item(type);
} }

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,7 @@
"async": true, "async": true,
"getCollections": true, "getCollections": true,
"cached": true, "cached": true,
"hash": "20862e962546f91f57f84d0c6aa5b8a0949dc8a52267f6fb0bd46a300215b508" "hash": "739a1b8bcf81687ad47f0c9bedb78f7d4d76972a8aea63c87fb475e3c14fddee"
}, },
"displayOptions": { "displayOptions": {
"exportNotes": false, "exportNotes": false,
@@ -23,10 +23,10 @@
"browserSupport": "gcsv", "browserSupport": "gcsv",
"priority": 199, "priority": 199,
"inRepository": false, "inRepository": false,
"lastUpdated": "2025-11-10" "lastUpdated": "2024-11-29"
} }
if (typeof ZOTERO_CONFIG === 'undefined') ZOTERO_CONFIG = undefined ZOTERO_CONFIG = {"GUID":"zotero@chnm.gmu.edu","ID":"zotero","CLIENT_NAME":"Zotero","DOMAIN_NAME":"zotero.org","PRODUCER":"Digital Scholar","PRODUCER_URL":"https://digitalscholar.org","REPOSITORY_URL":"https://repo.zotero.org/repo/","BASE_URI":"http://zotero.org/","WWW_BASE_URL":"https://www.zotero.org/","PROXY_AUTH_URL":"https://zoteroproxycheck.s3.amazonaws.com/test","API_URL":"https://api.zotero.org/","STREAMING_URL":"wss://stream.zotero.org/","SERVICES_URL":"https://services.zotero.org/","API_VERSION":3,"CONNECTOR_MIN_VERSION":"5.0.39","PREF_BRANCH":"extensions.zotero.","BOOKMARKLET_ORIGIN":"https://www.zotero.org","BOOKMARKLET_URL":"https://www.zotero.org/bookmarklet/","START_URL":"https://www.zotero.org/start","QUICK_START_URL":"https://www.zotero.org/support/quick_start_guide","PDF_TOOLS_URL":"https://www.zotero.org/download/xpdf/","SUPPORT_URL":"https://www.zotero.org/support/","SYNC_INFO_URL":"https://www.zotero.org/support/sync","TROUBLESHOOTING_URL":"https://www.zotero.org/support/getting_help","FEEDBACK_URL":"https://forums.zotero.org/","CONNECTORS_URL":"https://www.zotero.org/download/connectors","CHANGELOG_URL":"https://www.zotero.org/support/changelog","CREDITS_URL":"https://www.zotero.org/support/credits_and_acknowledgments","LICENSING_URL":"https://www.zotero.org/support/licensing","GET_INVOLVED_URL":"https://www.zotero.org/getinvolved","DICTIONARIES_URL":"https://download.zotero.org/dictionaries/"}
if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared
Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"ca65189f-8815-4afe-8c8b-8c7c15f0edca","label":"Better BibTeX","description":"exports items in BibTeX format","creator":"Simon Kornblith, Richard Karnesky and Emiliano heyns","target":"bib","minVersion":"4.0.27","maxVersion":"","configOptions":{"async":true,"getCollections":true,"cached":true},"displayOptions":{"exportNotes":false,"exportFileData":false,"useJournalAbbreviation":false,"keepUpdated":false,"worker":true},"translatorType":3,"browserSupport":"gcsv","priority":199,"inRepository":false}); // assign new data Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"ca65189f-8815-4afe-8c8b-8c7c15f0edca","label":"Better BibTeX","description":"exports items in BibTeX format","creator":"Simon Kornblith, Richard Karnesky and Emiliano heyns","target":"bib","minVersion":"4.0.27","maxVersion":"","configOptions":{"async":true,"getCollections":true,"cached":true},"displayOptions":{"exportNotes":false,"exportFileData":false,"useJournalAbbreviation":false,"keepUpdated":false,"worker":true},"translatorType":3,"browserSupport":"gcsv","priority":199,"inRepository":false}); // assign new data
@@ -68,17 +68,18 @@ var { detectImport, doExport, doImport } = (() => {
"Year", "Year",
"biblatexAPA", "biblatexAPA",
"biblatexChicago", "biblatexChicago",
"cache",
"custom",
"dropAttachments",
"exportDir",
"exportFileData", "exportFileData",
"exportNotes", "exportNotes",
"exportPath",
"keepUpdated", "keepUpdated",
"markdown", "markdown",
"quickCopyMode", "quickCopyMode",
"useJournalAbbreviation", "useJournalAbbreviation",
"worker", "worker"
// pseudo options
"custom",
"exportDir",
"exportPath"
]; ];
var headers = [ var headers = [
{ {
@@ -271,6 +272,7 @@ var { detectImport, doExport, doImport } = (() => {
asciiBibLaTeX: false, asciiBibLaTeX: false,
asciiBibTeX: true, asciiBibTeX: true,
autoAbbrev: false, autoAbbrev: false,
autoAbbrevStyle: "",
autoExport: "immediate", autoExport: "immediate",
autoExportDelay: 5, autoExportDelay: 5,
autoExportIdleWait: 10, autoExportIdleWait: 10,
@@ -284,19 +286,17 @@ var { detectImport, doExport, doImport } = (() => {
biblatexExtendedDateFormat: true, biblatexExtendedDateFormat: true,
biblatexExtendedNameFormat: true, biblatexExtendedNameFormat: true,
biblatexExtractEprint: true, biblatexExtractEprint: true,
biblatexUsePrefix: true,
bibtexEditionOrdinal: false, bibtexEditionOrdinal: false,
bibtexParticleNoOp: false, bibtexParticleNoOp: false,
bibtexURL: "off", bibtexURL: "off",
cache: true, cache: true,
cacheDelete: false, cacheDelete: false,
cacheRetain: false,
charmap: "", charmap: "",
chinese: false,
chineseSplitName: true,
citeCommand: "cite", citeCommand: "cite",
citekeyCaseInsensitive: true, citekeyCaseInsensitive: true,
citekeyFold: true, citekeyFold: true,
citekeyFormat: " auth.lower + shorttitle(3,3) + year", citekeyFormat: "auth.lower + shorttitle(3,3) + year",
citekeyFormatEditing: "", citekeyFormatEditing: "",
citekeySearch: true, citekeySearch: true,
citekeyUnsafeChars: `\\"#%'(),={}~`, citekeyUnsafeChars: `\\"#%'(),={}~`,
@@ -319,15 +319,15 @@ var { detectImport, doExport, doImport } = (() => {
importJabRefAbbreviations: true, importJabRefAbbreviations: true,
importJabRefStrings: true, importJabRefStrings: true,
importNoteToExtra: "", importNoteToExtra: "",
importPlaceEvent: "inproceedings,conference,presentation,talk",
importSentenceCase: "on+guess", importSentenceCase: "on+guess",
importSentenceCaseQuoted: true, importSentenceCaseQuoted: true,
importUnknownTexCommand: "ignore", importUnknownTexCommand: "ignore",
itemObserverDelay: 5, itemObserverDelay: 5,
jabrefFormat: 0, jabrefFormat: 0,
japanese: false, jieba: false,
keyConflictPolicy: "keep", keyConflictPolicy: "keep",
keyScope: "library", keyScope: "library",
kuroshiro: false,
language: "langid", language: "langid",
logEvents: true, logEvents: true,
mapMath: "", mapMath: "",
@@ -364,10 +364,9 @@ var { detectImport, doExport, doImport } = (() => {
// translators/lib/collect.ts // translators/lib/collect.ts
var Items = class { var Items = class {
items = [];
map = {};
current;
constructor() { constructor() {
this.items = [];
this.map = {};
let item; let item;
while (item = Zotero.nextItem()) { while (item = Zotero.nextItem()) {
this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item); this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item);
@@ -420,12 +419,12 @@ var { detectImport, doExport, doImport } = (() => {
var Collections = class { var Collections = class {
constructor(items) { constructor(items) {
this.items = items; this.items = items;
this.byKey = {};
let collection; let collection;
while (collection = Zotero.nextCollection()) { while (collection = Zotero.nextCollection()) {
this.registerCollection(collection, ""); this.registerCollection(collection, "");
} }
} }
byKey = {};
erase() { erase() {
this.byKey = {}; this.byKey = {};
} }
@@ -478,6 +477,8 @@ var { detectImport, doExport, doImport } = (() => {
var Collected = class { var Collected = class {
constructor(translator, mode) { constructor(translator, mode) {
this.translator = translator; this.translator = translator;
this.input = "";
this.displayOptions = {};
switch (mode) { switch (mode) {
case "export": case "export":
this.items = new Items(); this.items = new Items();
@@ -491,20 +492,13 @@ var { detectImport, doExport, doImport } = (() => {
break; break;
} }
this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => { this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => {
acc[pref] = Zotero.getHiddenPref(`better-bibtex.${pref}`) ?? dflt; var _a;
acc[pref] = (_a = Zotero.getHiddenPref(`better-bibtex.${pref}`)) != null ? _a : dflt;
return acc; return acc;
}, {}); }, {});
this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing"); this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing");
this.platform = Zotero.getHiddenPref("better-bibtex.platform"); this.platform = Zotero.getHiddenPref("better-bibtex.platform");
} }
input = "";
items;
collections;
preferences;
displayOptions = {};
platform;
Item;
Collection;
item(type) { item(type) {
return new Zotero.Item(type); return new Zotero.Item(type);
} }

View File

@@ -13,16 +13,16 @@
"configOptions": { "configOptions": {
"getCollections": true, "getCollections": true,
"cached": true, "cached": true,
"hash": "2a309159eebe70f6496b2b4249138450cd98171a07522ad2b97608313f14f98e" "hash": "62f5f9fff9f510020604a2ccda667d3967b115b4259451c1028d2ff0e20bda41"
}, },
"translatorType": 2, "translatorType": 2,
"browserSupport": "gcsv", "browserSupport": "gcsv",
"inRepository": false, "inRepository": false,
"priority": 100, "priority": 100,
"lastUpdated": "2025-11-10" "lastUpdated": "2024-11-29"
} }
if (typeof ZOTERO_CONFIG === 'undefined') ZOTERO_CONFIG = undefined ZOTERO_CONFIG = {"GUID":"zotero@chnm.gmu.edu","ID":"zotero","CLIENT_NAME":"Zotero","DOMAIN_NAME":"zotero.org","PRODUCER":"Digital Scholar","PRODUCER_URL":"https://digitalscholar.org","REPOSITORY_URL":"https://repo.zotero.org/repo/","BASE_URI":"http://zotero.org/","WWW_BASE_URL":"https://www.zotero.org/","PROXY_AUTH_URL":"https://zoteroproxycheck.s3.amazonaws.com/test","API_URL":"https://api.zotero.org/","STREAMING_URL":"wss://stream.zotero.org/","SERVICES_URL":"https://services.zotero.org/","API_VERSION":3,"CONNECTOR_MIN_VERSION":"5.0.39","PREF_BRANCH":"extensions.zotero.","BOOKMARKLET_ORIGIN":"https://www.zotero.org","BOOKMARKLET_URL":"https://www.zotero.org/bookmarklet/","START_URL":"https://www.zotero.org/start","QUICK_START_URL":"https://www.zotero.org/support/quick_start_guide","PDF_TOOLS_URL":"https://www.zotero.org/download/xpdf/","SUPPORT_URL":"https://www.zotero.org/support/","SYNC_INFO_URL":"https://www.zotero.org/support/sync","TROUBLESHOOTING_URL":"https://www.zotero.org/support/getting_help","FEEDBACK_URL":"https://forums.zotero.org/","CONNECTORS_URL":"https://www.zotero.org/download/connectors","CHANGELOG_URL":"https://www.zotero.org/support/changelog","CREDITS_URL":"https://www.zotero.org/support/credits_and_acknowledgments","LICENSING_URL":"https://www.zotero.org/support/licensing","GET_INVOLVED_URL":"https://www.zotero.org/getinvolved","DICTIONARIES_URL":"https://download.zotero.org/dictionaries/"}
if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared
Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"f4b52ab0-f878-4556-85a0-c7aeedd09dfc","label":"Better CSL JSON","description":"exports items in pandoc-compatible CSL-JSON format, with added citation keys and parsing of metadata","creator":"Emiliano heyns","target":"json","minVersion":"4.0.27","maxVersion":"","displayOptions":{"keepUpdated":false,"worker":true},"configOptions":{"getCollections":true,"cached":true},"translatorType":2,"browserSupport":"gcsv","inRepository":false,"priority":100}); // assign new data Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"f4b52ab0-f878-4556-85a0-c7aeedd09dfc","label":"Better CSL JSON","description":"exports items in pandoc-compatible CSL-JSON format, with added citation keys and parsing of metadata","creator":"Emiliano heyns","target":"json","minVersion":"4.0.27","maxVersion":"","displayOptions":{"keepUpdated":false,"worker":true},"configOptions":{"getCollections":true,"cached":true},"translatorType":2,"browserSupport":"gcsv","inRepository":false,"priority":100}); // assign new data
@@ -62,17 +62,18 @@ var { doExport } = (() => {
"Year", "Year",
"biblatexAPA", "biblatexAPA",
"biblatexChicago", "biblatexChicago",
"cache",
"custom",
"dropAttachments",
"exportDir",
"exportFileData", "exportFileData",
"exportNotes", "exportNotes",
"exportPath",
"keepUpdated", "keepUpdated",
"markdown", "markdown",
"quickCopyMode", "quickCopyMode",
"useJournalAbbreviation", "useJournalAbbreviation",
"worker", "worker"
// pseudo options
"custom",
"exportDir",
"exportPath"
]; ];
var headers = [ var headers = [
{ {
@@ -265,6 +266,7 @@ var { doExport } = (() => {
asciiBibLaTeX: false, asciiBibLaTeX: false,
asciiBibTeX: true, asciiBibTeX: true,
autoAbbrev: false, autoAbbrev: false,
autoAbbrevStyle: "",
autoExport: "immediate", autoExport: "immediate",
autoExportDelay: 5, autoExportDelay: 5,
autoExportIdleWait: 10, autoExportIdleWait: 10,
@@ -278,19 +280,17 @@ var { doExport } = (() => {
biblatexExtendedDateFormat: true, biblatexExtendedDateFormat: true,
biblatexExtendedNameFormat: true, biblatexExtendedNameFormat: true,
biblatexExtractEprint: true, biblatexExtractEprint: true,
biblatexUsePrefix: true,
bibtexEditionOrdinal: false, bibtexEditionOrdinal: false,
bibtexParticleNoOp: false, bibtexParticleNoOp: false,
bibtexURL: "off", bibtexURL: "off",
cache: true, cache: true,
cacheDelete: false, cacheDelete: false,
cacheRetain: false,
charmap: "", charmap: "",
chinese: false,
chineseSplitName: true,
citeCommand: "cite", citeCommand: "cite",
citekeyCaseInsensitive: true, citekeyCaseInsensitive: true,
citekeyFold: true, citekeyFold: true,
citekeyFormat: " auth.lower + shorttitle(3,3) + year", citekeyFormat: "auth.lower + shorttitle(3,3) + year",
citekeyFormatEditing: "", citekeyFormatEditing: "",
citekeySearch: true, citekeySearch: true,
citekeyUnsafeChars: `\\"#%'(),={}~`, citekeyUnsafeChars: `\\"#%'(),={}~`,
@@ -313,15 +313,15 @@ var { doExport } = (() => {
importJabRefAbbreviations: true, importJabRefAbbreviations: true,
importJabRefStrings: true, importJabRefStrings: true,
importNoteToExtra: "", importNoteToExtra: "",
importPlaceEvent: "inproceedings,conference,presentation,talk",
importSentenceCase: "on+guess", importSentenceCase: "on+guess",
importSentenceCaseQuoted: true, importSentenceCaseQuoted: true,
importUnknownTexCommand: "ignore", importUnknownTexCommand: "ignore",
itemObserverDelay: 5, itemObserverDelay: 5,
jabrefFormat: 0, jabrefFormat: 0,
japanese: false, jieba: false,
keyConflictPolicy: "keep", keyConflictPolicy: "keep",
keyScope: "library", keyScope: "library",
kuroshiro: false,
language: "langid", language: "langid",
logEvents: true, logEvents: true,
mapMath: "", mapMath: "",
@@ -358,10 +358,9 @@ var { doExport } = (() => {
// translators/lib/collect.ts // translators/lib/collect.ts
var Items = class { var Items = class {
items = [];
map = {};
current;
constructor() { constructor() {
this.items = [];
this.map = {};
let item; let item;
while (item = Zotero.nextItem()) { while (item = Zotero.nextItem()) {
this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item); this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item);
@@ -414,12 +413,12 @@ var { doExport } = (() => {
var Collections = class { var Collections = class {
constructor(items) { constructor(items) {
this.items = items; this.items = items;
this.byKey = {};
let collection; let collection;
while (collection = Zotero.nextCollection()) { while (collection = Zotero.nextCollection()) {
this.registerCollection(collection, ""); this.registerCollection(collection, "");
} }
} }
byKey = {};
erase() { erase() {
this.byKey = {}; this.byKey = {};
} }
@@ -472,6 +471,8 @@ var { doExport } = (() => {
var Collected = class { var Collected = class {
constructor(translator, mode) { constructor(translator, mode) {
this.translator = translator; this.translator = translator;
this.input = "";
this.displayOptions = {};
switch (mode) { switch (mode) {
case "export": case "export":
this.items = new Items(); this.items = new Items();
@@ -485,20 +486,13 @@ var { doExport } = (() => {
break; break;
} }
this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => { this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => {
acc[pref] = Zotero.getHiddenPref(`better-bibtex.${pref}`) ?? dflt; var _a;
acc[pref] = (_a = Zotero.getHiddenPref(`better-bibtex.${pref}`)) != null ? _a : dflt;
return acc; return acc;
}, {}); }, {});
this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing"); this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing");
this.platform = Zotero.getHiddenPref("better-bibtex.platform"); this.platform = Zotero.getHiddenPref("better-bibtex.platform");
} }
input = "";
items;
collections;
preferences;
displayOptions = {};
platform;
Item;
Collection;
item(type) { item(type) {
return new Zotero.Item(type); return new Zotero.Item(type);
} }

View File

@@ -13,16 +13,16 @@
"configOptions": { "configOptions": {
"getCollections": true, "getCollections": true,
"cached": true, "cached": true,
"hash": "5a5648eab22e32c4d8be532a90f5dda3805a9153ff3a8cc71810d87698c89c3f" "hash": "41c8cb0eea5a3afb0778f54d426bda550bd0f57ac3f8fc165fb5fa524bbdeb3f"
}, },
"translatorType": 3, "translatorType": 3,
"browserSupport": "gcsv", "browserSupport": "gcsv",
"priority": 800, "priority": 800,
"inRepository": false, "inRepository": false,
"lastUpdated": "2025-11-10" "lastUpdated": "2024-11-29"
} }
if (typeof ZOTERO_CONFIG === 'undefined') ZOTERO_CONFIG = undefined ZOTERO_CONFIG = {"GUID":"zotero@chnm.gmu.edu","ID":"zotero","CLIENT_NAME":"Zotero","DOMAIN_NAME":"zotero.org","PRODUCER":"Digital Scholar","PRODUCER_URL":"https://digitalscholar.org","REPOSITORY_URL":"https://repo.zotero.org/repo/","BASE_URI":"http://zotero.org/","WWW_BASE_URL":"https://www.zotero.org/","PROXY_AUTH_URL":"https://zoteroproxycheck.s3.amazonaws.com/test","API_URL":"https://api.zotero.org/","STREAMING_URL":"wss://stream.zotero.org/","SERVICES_URL":"https://services.zotero.org/","API_VERSION":3,"CONNECTOR_MIN_VERSION":"5.0.39","PREF_BRANCH":"extensions.zotero.","BOOKMARKLET_ORIGIN":"https://www.zotero.org","BOOKMARKLET_URL":"https://www.zotero.org/bookmarklet/","START_URL":"https://www.zotero.org/start","QUICK_START_URL":"https://www.zotero.org/support/quick_start_guide","PDF_TOOLS_URL":"https://www.zotero.org/download/xpdf/","SUPPORT_URL":"https://www.zotero.org/support/","SYNC_INFO_URL":"https://www.zotero.org/support/sync","TROUBLESHOOTING_URL":"https://www.zotero.org/support/getting_help","FEEDBACK_URL":"https://forums.zotero.org/","CONNECTORS_URL":"https://www.zotero.org/download/connectors","CHANGELOG_URL":"https://www.zotero.org/support/changelog","CREDITS_URL":"https://www.zotero.org/support/credits_and_acknowledgments","LICENSING_URL":"https://www.zotero.org/support/licensing","GET_INVOLVED_URL":"https://www.zotero.org/getinvolved","DICTIONARIES_URL":"https://download.zotero.org/dictionaries/"}
if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared
Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"0f238e69-043e-4882-93bf-342de007de19","label":"Better CSL YAML","description":"exports items in pandoc-compatible CSL-YAML format, with added citation keys and parsing of metadata","creator":"Emiliano heyns","target":"yaml","minVersion":"4.0.27","maxVersion":"","displayOptions":{"keepUpdated":false,"worker":true},"configOptions":{"getCollections":true,"cached":true},"translatorType":3,"browserSupport":"gcsv","priority":800,"inRepository":false}); // assign new data Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"0f238e69-043e-4882-93bf-342de007de19","label":"Better CSL YAML","description":"exports items in pandoc-compatible CSL-YAML format, with added citation keys and parsing of metadata","creator":"Emiliano heyns","target":"yaml","minVersion":"4.0.27","maxVersion":"","displayOptions":{"keepUpdated":false,"worker":true},"configOptions":{"getCollections":true,"cached":true},"translatorType":3,"browserSupport":"gcsv","priority":800,"inRepository":false}); // assign new data
@@ -64,17 +64,18 @@ var { detectImport, doExport, doImport } = (() => {
"Year", "Year",
"biblatexAPA", "biblatexAPA",
"biblatexChicago", "biblatexChicago",
"cache",
"custom",
"dropAttachments",
"exportDir",
"exportFileData", "exportFileData",
"exportNotes", "exportNotes",
"exportPath",
"keepUpdated", "keepUpdated",
"markdown", "markdown",
"quickCopyMode", "quickCopyMode",
"useJournalAbbreviation", "useJournalAbbreviation",
"worker", "worker"
// pseudo options
"custom",
"exportDir",
"exportPath"
]; ];
var headers = [ var headers = [
{ {
@@ -267,6 +268,7 @@ var { detectImport, doExport, doImport } = (() => {
asciiBibLaTeX: false, asciiBibLaTeX: false,
asciiBibTeX: true, asciiBibTeX: true,
autoAbbrev: false, autoAbbrev: false,
autoAbbrevStyle: "",
autoExport: "immediate", autoExport: "immediate",
autoExportDelay: 5, autoExportDelay: 5,
autoExportIdleWait: 10, autoExportIdleWait: 10,
@@ -280,19 +282,17 @@ var { detectImport, doExport, doImport } = (() => {
biblatexExtendedDateFormat: true, biblatexExtendedDateFormat: true,
biblatexExtendedNameFormat: true, biblatexExtendedNameFormat: true,
biblatexExtractEprint: true, biblatexExtractEprint: true,
biblatexUsePrefix: true,
bibtexEditionOrdinal: false, bibtexEditionOrdinal: false,
bibtexParticleNoOp: false, bibtexParticleNoOp: false,
bibtexURL: "off", bibtexURL: "off",
cache: true, cache: true,
cacheDelete: false, cacheDelete: false,
cacheRetain: false,
charmap: "", charmap: "",
chinese: false,
chineseSplitName: true,
citeCommand: "cite", citeCommand: "cite",
citekeyCaseInsensitive: true, citekeyCaseInsensitive: true,
citekeyFold: true, citekeyFold: true,
citekeyFormat: " auth.lower + shorttitle(3,3) + year", citekeyFormat: "auth.lower + shorttitle(3,3) + year",
citekeyFormatEditing: "", citekeyFormatEditing: "",
citekeySearch: true, citekeySearch: true,
citekeyUnsafeChars: `\\"#%'(),={}~`, citekeyUnsafeChars: `\\"#%'(),={}~`,
@@ -315,15 +315,15 @@ var { detectImport, doExport, doImport } = (() => {
importJabRefAbbreviations: true, importJabRefAbbreviations: true,
importJabRefStrings: true, importJabRefStrings: true,
importNoteToExtra: "", importNoteToExtra: "",
importPlaceEvent: "inproceedings,conference,presentation,talk",
importSentenceCase: "on+guess", importSentenceCase: "on+guess",
importSentenceCaseQuoted: true, importSentenceCaseQuoted: true,
importUnknownTexCommand: "ignore", importUnknownTexCommand: "ignore",
itemObserverDelay: 5, itemObserverDelay: 5,
jabrefFormat: 0, jabrefFormat: 0,
japanese: false, jieba: false,
keyConflictPolicy: "keep", keyConflictPolicy: "keep",
keyScope: "library", keyScope: "library",
kuroshiro: false,
language: "langid", language: "langid",
logEvents: true, logEvents: true,
mapMath: "", mapMath: "",
@@ -360,10 +360,9 @@ var { detectImport, doExport, doImport } = (() => {
// translators/lib/collect.ts // translators/lib/collect.ts
var Items = class { var Items = class {
items = [];
map = {};
current;
constructor() { constructor() {
this.items = [];
this.map = {};
let item; let item;
while (item = Zotero.nextItem()) { while (item = Zotero.nextItem()) {
this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item); this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item);
@@ -416,12 +415,12 @@ var { detectImport, doExport, doImport } = (() => {
var Collections = class { var Collections = class {
constructor(items) { constructor(items) {
this.items = items; this.items = items;
this.byKey = {};
let collection; let collection;
while (collection = Zotero.nextCollection()) { while (collection = Zotero.nextCollection()) {
this.registerCollection(collection, ""); this.registerCollection(collection, "");
} }
} }
byKey = {};
erase() { erase() {
this.byKey = {}; this.byKey = {};
} }
@@ -474,6 +473,8 @@ var { detectImport, doExport, doImport } = (() => {
var Collected = class { var Collected = class {
constructor(translator, mode) { constructor(translator, mode) {
this.translator = translator; this.translator = translator;
this.input = "";
this.displayOptions = {};
switch (mode) { switch (mode) {
case "export": case "export":
this.items = new Items(); this.items = new Items();
@@ -487,20 +488,13 @@ var { detectImport, doExport, doImport } = (() => {
break; break;
} }
this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => { this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => {
acc[pref] = Zotero.getHiddenPref(`better-bibtex.${pref}`) ?? dflt; var _a;
acc[pref] = (_a = Zotero.getHiddenPref(`better-bibtex.${pref}`)) != null ? _a : dflt;
return acc; return acc;
}, {}); }, {});
this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing"); this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing");
this.platform = Zotero.getHiddenPref("better-bibtex.platform"); this.platform = Zotero.getHiddenPref("better-bibtex.platform");
} }
input = "";
items;
collections;
preferences;
displayOptions = {};
platform;
Item;
Collection;
item(type) { item(type) {
return new Zotero.Item(type); return new Zotero.Item(type);
} }

View File

@@ -10,7 +10,7 @@
"async": true, "async": true,
"getCollections": true, "getCollections": true,
"cached": true, "cached": true,
"hash": "33e9e1a64b9c0e7b2db2715e39cb39f40af81ed4211528c96bca0cb884077622" "hash": "62256a064b990e2a8fcef580ea18ba6c495d651a8c255000f5fb20cc32ba4e3f"
}, },
"displayOptions": { "displayOptions": {
"exportNotes": true, "exportNotes": true,
@@ -25,10 +25,10 @@
"browserSupport": "gcsv", "browserSupport": "gcsv",
"priority": 49, "priority": 49,
"inRepository": false, "inRepository": false,
"lastUpdated": "2025-11-10" "lastUpdated": "2024-11-29"
} }
if (typeof ZOTERO_CONFIG === 'undefined') ZOTERO_CONFIG = undefined ZOTERO_CONFIG = {"GUID":"zotero@chnm.gmu.edu","ID":"zotero","CLIENT_NAME":"Zotero","DOMAIN_NAME":"zotero.org","PRODUCER":"Digital Scholar","PRODUCER_URL":"https://digitalscholar.org","REPOSITORY_URL":"https://repo.zotero.org/repo/","BASE_URI":"http://zotero.org/","WWW_BASE_URL":"https://www.zotero.org/","PROXY_AUTH_URL":"https://zoteroproxycheck.s3.amazonaws.com/test","API_URL":"https://api.zotero.org/","STREAMING_URL":"wss://stream.zotero.org/","SERVICES_URL":"https://services.zotero.org/","API_VERSION":3,"CONNECTOR_MIN_VERSION":"5.0.39","PREF_BRANCH":"extensions.zotero.","BOOKMARKLET_ORIGIN":"https://www.zotero.org","BOOKMARKLET_URL":"https://www.zotero.org/bookmarklet/","START_URL":"https://www.zotero.org/start","QUICK_START_URL":"https://www.zotero.org/support/quick_start_guide","PDF_TOOLS_URL":"https://www.zotero.org/download/xpdf/","SUPPORT_URL":"https://www.zotero.org/support/","SYNC_INFO_URL":"https://www.zotero.org/support/sync","TROUBLESHOOTING_URL":"https://www.zotero.org/support/getting_help","FEEDBACK_URL":"https://forums.zotero.org/","CONNECTORS_URL":"https://www.zotero.org/download/connectors","CHANGELOG_URL":"https://www.zotero.org/support/changelog","CREDITS_URL":"https://www.zotero.org/support/credits_and_acknowledgments","LICENSING_URL":"https://www.zotero.org/support/licensing","GET_INVOLVED_URL":"https://www.zotero.org/getinvolved","DICTIONARIES_URL":"https://download.zotero.org/dictionaries/"}
if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared if (typeof ZOTERO_TRANSLATOR_INFO === 'undefined') var ZOTERO_TRANSLATOR_INFO = {}; // declare if not declared
Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"36a3b0b5-bad0-4a04-b79b-441c7cef77db","label":"BetterBibTeX JSON","description":"exports and imports items in BetterBibTeX debug format. Mostly for BBT-internal use","creator":"Emiliano Heyns","target":"json","minVersion":"4.0.27","maxVersion":"","configOptions":{"async":true,"getCollections":true,"cached":true},"displayOptions":{"exportNotes":true,"exportFileData":false,"Items":true,"Preferences":true,"keepUpdated":false,"worker":true,"Normalize":false},"translatorType":3,"browserSupport":"gcsv","priority":49,"inRepository":false}); // assign new data Object.assign(ZOTERO_TRANSLATOR_INFO, {"translatorID":"36a3b0b5-bad0-4a04-b79b-441c7cef77db","label":"BetterBibTeX JSON","description":"exports and imports items in BetterBibTeX debug format. Mostly for BBT-internal use","creator":"Emiliano Heyns","target":"json","minVersion":"4.0.27","maxVersion":"","configOptions":{"async":true,"getCollections":true,"cached":true},"displayOptions":{"exportNotes":true,"exportFileData":false,"Items":true,"Preferences":true,"keepUpdated":false,"worker":true,"Normalize":false},"translatorType":3,"browserSupport":"gcsv","priority":49,"inRepository":false}); // assign new data
@@ -70,17 +70,18 @@ var { detectImport, doExport, doImport } = (() => {
"Year", "Year",
"biblatexAPA", "biblatexAPA",
"biblatexChicago", "biblatexChicago",
"cache",
"custom",
"dropAttachments",
"exportDir",
"exportFileData", "exportFileData",
"exportNotes", "exportNotes",
"exportPath",
"keepUpdated", "keepUpdated",
"markdown", "markdown",
"quickCopyMode", "quickCopyMode",
"useJournalAbbreviation", "useJournalAbbreviation",
"worker", "worker"
// pseudo options
"custom",
"exportDir",
"exportPath"
]; ];
var headers = [ var headers = [
{ {
@@ -273,6 +274,7 @@ var { detectImport, doExport, doImport } = (() => {
asciiBibLaTeX: false, asciiBibLaTeX: false,
asciiBibTeX: true, asciiBibTeX: true,
autoAbbrev: false, autoAbbrev: false,
autoAbbrevStyle: "",
autoExport: "immediate", autoExport: "immediate",
autoExportDelay: 5, autoExportDelay: 5,
autoExportIdleWait: 10, autoExportIdleWait: 10,
@@ -286,19 +288,17 @@ var { detectImport, doExport, doImport } = (() => {
biblatexExtendedDateFormat: true, biblatexExtendedDateFormat: true,
biblatexExtendedNameFormat: true, biblatexExtendedNameFormat: true,
biblatexExtractEprint: true, biblatexExtractEprint: true,
biblatexUsePrefix: true,
bibtexEditionOrdinal: false, bibtexEditionOrdinal: false,
bibtexParticleNoOp: false, bibtexParticleNoOp: false,
bibtexURL: "off", bibtexURL: "off",
cache: true, cache: true,
cacheDelete: false, cacheDelete: false,
cacheRetain: false,
charmap: "", charmap: "",
chinese: false,
chineseSplitName: true,
citeCommand: "cite", citeCommand: "cite",
citekeyCaseInsensitive: true, citekeyCaseInsensitive: true,
citekeyFold: true, citekeyFold: true,
citekeyFormat: " auth.lower + shorttitle(3,3) + year", citekeyFormat: "auth.lower + shorttitle(3,3) + year",
citekeyFormatEditing: "", citekeyFormatEditing: "",
citekeySearch: true, citekeySearch: true,
citekeyUnsafeChars: `\\"#%'(),={}~`, citekeyUnsafeChars: `\\"#%'(),={}~`,
@@ -321,15 +321,15 @@ var { detectImport, doExport, doImport } = (() => {
importJabRefAbbreviations: true, importJabRefAbbreviations: true,
importJabRefStrings: true, importJabRefStrings: true,
importNoteToExtra: "", importNoteToExtra: "",
importPlaceEvent: "inproceedings,conference,presentation,talk",
importSentenceCase: "on+guess", importSentenceCase: "on+guess",
importSentenceCaseQuoted: true, importSentenceCaseQuoted: true,
importUnknownTexCommand: "ignore", importUnknownTexCommand: "ignore",
itemObserverDelay: 5, itemObserverDelay: 5,
jabrefFormat: 0, jabrefFormat: 0,
japanese: false, jieba: false,
keyConflictPolicy: "keep", keyConflictPolicy: "keep",
keyScope: "library", keyScope: "library",
kuroshiro: false,
language: "langid", language: "langid",
logEvents: true, logEvents: true,
mapMath: "", mapMath: "",
@@ -366,10 +366,9 @@ var { detectImport, doExport, doImport } = (() => {
// translators/lib/collect.ts // translators/lib/collect.ts
var Items = class { var Items = class {
items = [];
map = {};
current;
constructor() { constructor() {
this.items = [];
this.map = {};
let item; let item;
while (item = Zotero.nextItem()) { while (item = Zotero.nextItem()) {
this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item); this.items.push(this.map[item.itemID] = this.map[item.itemKey] = item);
@@ -422,12 +421,12 @@ var { detectImport, doExport, doImport } = (() => {
var Collections = class { var Collections = class {
constructor(items) { constructor(items) {
this.items = items; this.items = items;
this.byKey = {};
let collection; let collection;
while (collection = Zotero.nextCollection()) { while (collection = Zotero.nextCollection()) {
this.registerCollection(collection, ""); this.registerCollection(collection, "");
} }
} }
byKey = {};
erase() { erase() {
this.byKey = {}; this.byKey = {};
} }
@@ -480,6 +479,8 @@ var { detectImport, doExport, doImport } = (() => {
var Collected = class { var Collected = class {
constructor(translator, mode) { constructor(translator, mode) {
this.translator = translator; this.translator = translator;
this.input = "";
this.displayOptions = {};
switch (mode) { switch (mode) {
case "export": case "export":
this.items = new Items(); this.items = new Items();
@@ -493,20 +494,13 @@ var { detectImport, doExport, doImport } = (() => {
break; break;
} }
this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => { this.preferences = Object.entries(defaults).reduce((acc, [pref, dflt]) => {
acc[pref] = Zotero.getHiddenPref(`better-bibtex.${pref}`) ?? dflt; var _a;
acc[pref] = (_a = Zotero.getHiddenPref(`better-bibtex.${pref}`)) != null ? _a : dflt;
return acc; return acc;
}, {}); }, {});
this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing"); this.preferences.testing = Zotero.getHiddenPref("better-bibtex.testing");
this.platform = Zotero.getHiddenPref("better-bibtex.platform"); this.platform = Zotero.getHiddenPref("better-bibtex.platform");
} }
input = "";
items;
collections;
preferences;
displayOptions = {};
platform;
Item;
Collection;
item(type) { item(type) {
return new Zotero.Item(type); return new Zotero.Item(type);
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

BIN
zotero.sqlite-journal Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.