@venite/components 0.16.8 → 0.16.14

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.
Files changed (105) hide show
  1. package/dist/cjs/{index-5e2cc9e9.js → book-1a92678a.js} +1 -92
  2. package/dist/cjs/{heading-d3809e59.js → heading-5afc2b24.js} +2 -2
  3. package/dist/cjs/{image-f0ace076.js → image-3bee3e73.js} +2 -2
  4. package/dist/cjs/ion-button_13.cjs.entry.js +1 -2
  5. package/dist/cjs/ion-card-content_6.cjs.entry.js +2 -3
  6. package/dist/cjs/ion-checkbox_3.cjs.entry.js +1 -2
  7. package/dist/cjs/ion-input_2.cjs.entry.js +1 -1
  8. package/dist/cjs/ion-segment_16.cjs.entry.js +38 -32
  9. package/dist/cjs/ldf-day-name_5.cjs.entry.js +69 -66
  10. package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +9 -10
  11. package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +5 -6
  12. package/dist/cjs/ldf-editable-condition.cjs.entry.js +3 -4
  13. package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +10 -11
  14. package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +8 -9
  15. package/dist/cjs/ldf-editable-metadata.cjs.entry.js +9 -10
  16. package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +1 -2
  17. package/dist/cjs/ldf-editable-preference.cjs.entry.js +1 -2
  18. package/dist/cjs/ldf-editable-preferences.cjs.entry.js +1 -2
  19. package/dist/cjs/ldf-editable-string-list.cjs.entry.js +1 -2
  20. package/dist/cjs/ldf-editor.cjs.entry.js +12 -12
  21. package/dist/cjs/{option-1ebd4514.js → option-24f3d13a.js} +7 -2
  22. package/dist/cjs/{refrain-a605892e.js → refrain-91fb446b.js} +2 -2
  23. package/dist/cjs/{rubric-662d8baa.js → rubric-5b467a6a.js} +8 -8
  24. package/dist/cjs/{specific-class-d80d272a.js → specific-class-a1112e78.js} +5 -5
  25. package/dist/cjs/{text-c5e8ca0a.js → text-5edb80f3.js} +2 -2
  26. package/dist/collection/components/bible-reading/bible-reading.js +15 -9
  27. package/dist/collection/components/bible-reading/dist/bible-reading.js +355 -0
  28. package/dist/collection/components/psalm/dist/psalm.js +3 -3
  29. package/dist/collection/components/psalm/psalm.css +8 -1
  30. package/dist/collection/components/psalm/psalm.js +3 -3
  31. package/dist/collection/components/text/dist/text.js +2 -1
  32. package/dist/collection/components/text/text.js +5 -2
  33. package/dist/esm/{index-f5b9b789.js → book-31b8cdde.js} +1 -92
  34. package/dist/esm/{heading-c9eb7d89.js → heading-cc5ffa8a.js} +1 -1
  35. package/dist/esm/{image-f0e35b01.js → image-c6a3f0c5.js} +1 -1
  36. package/dist/esm/ion-button_13.entry.js +1 -2
  37. package/dist/esm/ion-card-content_6.entry.js +2 -3
  38. package/dist/esm/ion-checkbox_3.entry.js +1 -2
  39. package/dist/esm/ion-input_2.entry.js +1 -1
  40. package/dist/esm/ion-segment_16.entry.js +25 -19
  41. package/dist/esm/ldf-day-name_5.entry.js +8 -5
  42. package/dist/esm/ldf-editable-add-block-menu.entry.js +7 -8
  43. package/dist/esm/ldf-editable-condition-piece.entry.js +1 -2
  44. package/dist/esm/ldf-editable-condition.entry.js +1 -2
  45. package/dist/esm/ldf-editable-filter-documents.entry.js +2 -3
  46. package/dist/esm/ldf-editable-lookup_2.entry.js +7 -8
  47. package/dist/esm/ldf-editable-metadata.entry.js +7 -8
  48. package/dist/esm/ldf-editable-preference-option.entry.js +1 -2
  49. package/dist/esm/ldf-editable-preference.entry.js +1 -2
  50. package/dist/esm/ldf-editable-preferences.entry.js +1 -2
  51. package/dist/esm/ldf-editable-string-list.entry.js +1 -2
  52. package/dist/esm/ldf-editor.entry.js +1 -1
  53. package/dist/esm/{option-47d50244.js → option-da8390ad.js} +6 -1
  54. package/dist/esm/{refrain-810c4de5.js → refrain-75a412cb.js} +1 -1
  55. package/dist/esm/{rubric-2330a030.js → rubric-91bf7fed.js} +1 -1
  56. package/dist/esm/{specific-class-28e26e40.js → specific-class-ef83cfb6.js} +5 -5
  57. package/dist/esm/{text-ce1ed17d.js → text-ed75fbd4.js} +1 -1
  58. package/dist/ldf/ldf.esm.js +1 -1
  59. package/dist/ldf/p-03afc8cb.entry.js +1 -0
  60. package/dist/ldf/p-1902f41e.entry.js +1 -0
  61. package/dist/ldf/p-1e8c8a66.entry.js +1 -0
  62. package/dist/ldf/p-1ff665a7.entry.js +1 -0
  63. package/dist/ldf/{p-db435131.entry.js → p-23af1bc3.entry.js} +1 -1
  64. package/dist/ldf/p-2ae548b3.entry.js +1 -0
  65. package/dist/ldf/p-3f8ef67b.entry.js +1 -0
  66. package/dist/ldf/p-476327d6.js +1 -0
  67. package/dist/ldf/p-4aa9a6f2.js +1 -0
  68. package/dist/ldf/p-594fa9d4.entry.js +1 -0
  69. package/dist/ldf/{p-937ffc85.js → p-5b43e6be.js} +1 -1
  70. package/dist/ldf/p-5ea6de28.entry.js +1 -0
  71. package/dist/ldf/p-65563763.entry.js +1 -0
  72. package/dist/ldf/p-65d26c45.js +1 -0
  73. package/dist/ldf/p-65ea7ab3.entry.js +1 -0
  74. package/dist/ldf/p-800a115c.entry.js +1 -0
  75. package/dist/ldf/{p-9e82b403.js → p-8f67abb8.js} +1 -1
  76. package/dist/ldf/p-9155f066.js +1 -0
  77. package/dist/ldf/p-9c1973a6.entry.js +1 -0
  78. package/dist/ldf/p-a1729dbd.js +1 -0
  79. package/dist/ldf/p-bdcf2b02.entry.js +1 -0
  80. package/dist/ldf/p-c60a875b.js +1 -0
  81. package/dist/ldf/p-e4f0cd91.entry.js +1 -0
  82. package/dist/ldf/p-f0de7628.entry.js +1 -0
  83. package/dist/ldf/{p-c1bcd0a9.entry.js → p-fa191f47.entry.js} +1 -1
  84. package/package.json +2 -2
  85. package/dist/ldf/p-0651768a.entry.js +0 -1
  86. package/dist/ldf/p-0f69db87.entry.js +0 -1
  87. package/dist/ldf/p-1504379f.entry.js +0 -1
  88. package/dist/ldf/p-2fa1c501.entry.js +0 -1
  89. package/dist/ldf/p-37f356a4.entry.js +0 -1
  90. package/dist/ldf/p-4d392128.entry.js +0 -1
  91. package/dist/ldf/p-53c807a4.js +0 -1
  92. package/dist/ldf/p-5bf20b51.js +0 -1
  93. package/dist/ldf/p-698a3399.entry.js +0 -1
  94. package/dist/ldf/p-73a16936.entry.js +0 -1
  95. package/dist/ldf/p-7df11f48.entry.js +0 -1
  96. package/dist/ldf/p-8ee9ccd3.js +0 -1
  97. package/dist/ldf/p-91b61b55.entry.js +0 -1
  98. package/dist/ldf/p-972e4f2a.entry.js +0 -1
  99. package/dist/ldf/p-9cf557f9.js +0 -1
  100. package/dist/ldf/p-a98c89d1.entry.js +0 -1
  101. package/dist/ldf/p-b355bfa2.js +0 -1
  102. package/dist/ldf/p-ca7e0de9.entry.js +0 -1
  103. package/dist/ldf/p-d49a739d.js +0 -1
  104. package/dist/ldf/p-d7fa99cc.entry.js +0 -1
  105. package/dist/ldf/p-ff51dbd0.entry.js +0 -1
@@ -2,11 +2,10 @@ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement
2
2
  import { g as getIonMode } from './ionic-global-ef89a0a5.js';
3
3
  import { f as findItemLabel, b as renderHiddenInput } from './helpers-8c93393b.js';
4
4
  import { c as createColorClasses, h as hostContext } from './theme-74c22054.js';
5
- import './index-f5b9b789.js';
5
+ import './book-31b8cdde.js';
6
6
  import { C as Change } from './change-ea574d32.js';
7
7
  import { f as alertController } from './overlays-06b43b65.js';
8
8
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
9
- import './_commonjsHelpers-ba3f0406.js';
10
9
  import './hardware-back-button-b3b61715.js';
11
10
 
12
11
  const checkboxIosCss = ":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}button{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none}[dir=rtl] button,:host-context([dir=rtl]) button{left:unset;right:unset;right:0}button::-moz-focus-inner{border:0}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px;width:var(--size);height:var(--size)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.in-item[slot=start]){margin-left:2px;margin-right:20px;margin-top:8px;margin-bottom:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:20px;margin-inline-end:20px}}";
@@ -3,7 +3,7 @@ import { g as getIonMode } from './ionic-global-ef89a0a5.js';
3
3
  import { d as debounceEvent, f as findItemLabel } from './helpers-8c93393b.js';
4
4
  import { c as createColorClasses } from './theme-74c22054.js';
5
5
  import { D as Debounce } from './index-f08f6130.js';
6
- import './index-f5b9b789.js';
6
+ import './book-31b8cdde.js';
7
7
  import { C as Cursor } from './cursor-0e47f111.js';
8
8
  import { C as Change } from './change-ea574d32.js';
9
9
  import { c as createCommonjsModule } from './_commonjsHelpers-ba3f0406.js';
@@ -3,15 +3,15 @@ import { c as config, g as getIonMode } from './ionic-global-ef89a0a5.js';
3
3
  import { p as pointerCoord } from './helpers-8c93393b.js';
4
4
  import { c as createColorClasses, h as hostContext } from './theme-74c22054.js';
5
5
  import { f as alertController, l as loadingController, m as modalController, t as toastController } from './overlays-06b43b65.js';
6
- import { R as Responsive, L as LiturgicalDocument, d as dateFromYMDString } from './index-f5b9b789.js';
7
- import { B as BibleReading, L as Liturgy, M as Meditation, P as Psalm, R as ResponsivePrayer, a as Rubric } from './rubric-2330a030.js';
8
- import { H as Heading } from './heading-c9eb7d89.js';
9
- import { v as versionToString, O as Option } from './option-47d50244.js';
6
+ import { R as Responsive, L as LiturgicalDocument, d as dateFromYMDString } from './book-31b8cdde.js';
7
+ import { B as BibleReading, L as Liturgy, M as Meditation, P as Psalm, R as ResponsivePrayer, a as Rubric } from './rubric-91bf7fed.js';
8
+ import { H as Heading } from './heading-cc5ffa8a.js';
9
+ import { v as versionToString, O as Option } from './option-da8390ad.js';
10
10
  import { C as Change } from './change-ea574d32.js';
11
11
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
12
- import { I as Image } from './image-f0e35b01.js';
12
+ import { I as Image } from './image-c6a3f0c5.js';
13
13
  import { D as Debounce } from './index-f08f6130.js';
14
- import { R as Refrain } from './refrain-810c4de5.js';
14
+ import { R as Refrain } from './refrain-75a412cb.js';
15
15
  import './hardware-back-button-b3b61715.js';
16
16
  import './_commonjsHelpers-ba3f0406.js';
17
17
 
@@ -618,19 +618,25 @@ const BibleReadingComponent = class {
618
618
  else {
619
619
  responseNode = h("span", { class: "response" }, " ", this.obj.metadata.response);
620
620
  }
621
- return (h(Host, null, ((_l = this.obj) === null || _l === void 0 ? void 0 : _l.label) && h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label] }) }), h("div", { lang: (_m = this.obj) === null || _m === void 0 ? void 0 : _m.language, class: `bible-reading ${((_o = this.obj) === null || _o === void 0 ? void 0 : _o.display_format) || 'default'}` }, h("p", null, this.verses.map(verse => verse.hasOwnProperty('type') && verse.type === 'heading'
622
- ? h("ldf-heading", { doc: new Heading(verse) })
623
- : h("ldf-string", { citation: { book: verse.book, chapter: verse.chapter, verse: verse.verse }, id: this.obj.uid, text: verse.text, fragment: this.path })), shortResponse && !((_q = (_p = this.obj) === null || _p === void 0 ? void 0 : _p.metadata) === null || _q === void 0 ? void 0 : _q.omit_response) && responseNode, h("span", { class: "citation" }, this.obj.citation)), !shortResponse && !((_s = (_r = this.obj) === null || _r === void 0 ? void 0 : _r.metadata) === null || _s === void 0 ? void 0 : _s.omit_response) && h("p", null, responseNode))));
621
+ return (h(Host, null, ((_l = this.obj) === null || _l === void 0 ? void 0 : _l.label) && h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label] }) }), h("div", { lang: (_m = this.obj) === null || _m === void 0 ? void 0 : _m.language, class: `bible-reading ${((_o = this.obj) === null || _o === void 0 ? void 0 : _o.display_format) || 'default'}` }, h("p", null, this.verses.map((verse, verseIndex) => {
622
+ var _a;
623
+ return verse.hasOwnProperty('type') && verse.type === 'heading'
624
+ ? h("ldf-heading", { doc: new Heading(verse) })
625
+ : h("ldf-string", { citation: { book: verse.book, chapter: verse.chapter, verse: verse.verse }, id: this.obj.uid, text: verse.text, fragment: this.path, dropcap: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.display_format) == "force_dropcap" && verseIndex === 0 ? "force" : "disabled" });
626
+ }), shortResponse && !((_q = (_p = this.obj) === null || _p === void 0 ? void 0 : _p.metadata) === null || _q === void 0 ? void 0 : _q.omit_response) && responseNode, h("span", { class: "citation" }, this.obj.citation)), !shortResponse && !((_s = (_r = this.obj) === null || _r === void 0 ? void 0 : _r.metadata) === null || _s === void 0 ? void 0 : _s.omit_response) && h("p", null, responseNode))));
624
627
  }
625
628
  /* `long` render a typical Bible reading in the liturgy */
626
629
  else {
627
630
  const paragraphs = this.paragraphs();
628
- return (h("div", { lang: (_t = this.obj) === null || _t === void 0 ? void 0 : _t.language, class: `bible-reading ${((_u = this.obj) === null || _u === void 0 ? void 0 : _u.display_format) || 'default'}` }, h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation }) }), ((_w = (_v = this.obj) === null || _v === void 0 ? void 0 : _v.metadata) === null || _w === void 0 ? void 0 : _w.compiled_intro) && h("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }), paragraphs.map((paragraph, paragraphIndex) => h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => verse.hasOwnProperty('type') && verse.type === 'heading'
629
- ? h("ldf-heading", { doc: new Heading(verse) })
630
- : [
631
- h("sup", null, verse.verse),
632
- h("ldf-string", { citation: verse, dropcap: paragraphIndex == 0 && verseIndex == 0 ? 'force' : 'disabled', id: `${verse.chapter}-${verse.book}-${verse.verse}`, text: verse.text, index: verseIndex, fragment: this.path })
633
- ])))));
631
+ return (h("div", { lang: (_t = this.obj) === null || _t === void 0 ? void 0 : _t.language, class: `bible-reading ${((_u = this.obj) === null || _u === void 0 ? void 0 : _u.display_format) || 'default'}` }, h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation }) }), ((_w = (_v = this.obj) === null || _v === void 0 ? void 0 : _v.metadata) === null || _w === void 0 ? void 0 : _w.compiled_intro) && h("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }), paragraphs.map((paragraph, paragraphIndex) => h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => {
632
+ var _a;
633
+ return verse.hasOwnProperty('type') && verse.type === 'heading'
634
+ ? h("ldf-heading", { doc: new Heading(verse) })
635
+ : [
636
+ h("sup", null, verse.verse),
637
+ h("ldf-string", { citation: verse, dropcap: paragraphIndex == 0 && verseIndex == 0 && ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.language) !== 'iu' ? 'force' : 'disabled', id: `${verse.chapter}-${verse.book}-${verse.verse}`, text: verse.text, index: verseIndex, fragment: this.path })
638
+ ];
639
+ })))));
634
640
  }
635
641
  }
636
642
  else {
@@ -2050,7 +2056,7 @@ const EN$1 = {
2050
2056
  source_citation: source_citation
2051
2057
  };
2052
2058
 
2053
- const psalmCss = "ldf-psalm.sc-ldf-psalm,.sc-ldf-psalm-h{font-family:var(--ldf-font-face);--ldf-drop-margin-right:var(--ldf-drop-psalm-margin-right)}.psalm-set.sc-ldf-psalm{margin-top:0.5em;margin-bottom:0.5em}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm{display:var(--ldf-psalm-grid-display);grid-template-columns:var(--ldf-psalm-grid-template-columns);grid-template-rows:auto;grid-template-areas:var(--ldf-psalm-grid-template-areas);margin:0;text-indent:var(--ldf-psalm-verse-indentation)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm br.sc-ldf-psalm{display:var(--ldf-psalm-line-break-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm sup.sc-ldf-psalm{float:var(--ldf-psalm-number-float);display:var(--ldf-psalm-number-display);grid-area:var(--ldf-psalm-number-grid-area);margin-right:var(--ldf-psalm-number-margin-right)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .text.sc-ldf-psalm{display:var(--ldf-psalm-text-display);grid-area:var(--ldf-psalm-text-grid-area)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .halfverse.sc-ldf-psalm{margin-left:var(--ldf-psalm-halfverse-margin-left)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .verse.sc-ldf-psalm,.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .halfverse.sc-ldf-psalm{display:var(--ldf-psalm-verse-display);display:var(--ldf-psalm-verse-display)}.editable.sc-ldf-psalm .verse.sc-ldf-psalm,.editable.sc-ldf-psalm .halfverse.sc-ldf-psalm{width:100%}.psalm-parent.no-numbers.sc-ldf-psalm{display:block;text-align:left;grid-template-columns:none;grid-template-rows:none;grid-template-areas:none}.psalm-parent.no-numbers.sc-ldf-psalm .psalm.sc-ldf-psalm{display:block;grid-template-columns:none;grid-template-rows:none;grid-template-areas:none}.psalm-parent.no-numbers.sc-ldf-psalm .psalm.sc-ldf-psalm .text.sc-ldf-psalm{text-align:left;grid-area:none;display:var(--ldf-psalm-text-display);width:100%}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-of-type(1) sup.sc-ldf-psalm{display:var(--ldf-psalm-set-first-verse-number-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .verse.sc-ldf-psalm:nth-of-type(1){display:var(--ldf-psalm-set-first-verse-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .halfverse.sc-ldf-psalm:nth-of-type(2){display:var(--ldf-psalm-set-first-half-verse-display, inline-block)}.psalm-set.sc-ldf-psalm:nth-of-type(1) .psalm.sc-ldf-psalm:nth-of-type(1) sup.sc-ldf-psalm{display:var(--ldf-psalm-first-verse-number-display)}.psalm-set.sc-ldf-psalm:nth-of-type(1) .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .verse.sc-ldf-psalm:nth-of-type(1){display:var(--ldf-psalm-first-verse-display)}.psalm-set.sc-ldf-psalm:nth-of-type(1) .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .halfverse.sc-ldf-psalm:nth-of-type(2){display:var(--ldf-psalm-first-half-verse-display, inline-block)}.antiphon.sc-ldf-psalm{display:var(--ldf-psalm-antiphon-display);font-style:var(--ldf-antiphon-font-style);font-weight:var(--ldf-antiphon-font-weight);margin-top:0.5em}.repeat-antiphon.sc-ldf-psalm{display:var(--ldf-psalm-repeat-antiphon-display)}h5.sc-ldf-psalm{font-size:1em;font-style:italic;font-weight:normal;margin-right:1em}.psalm.unison.sc-ldf-psalm .text.sc-ldf-psalm{font-weight:var(--ldf-unison-font-weight);font-style:var(--ldf-unison-font-style)}.psalm.omit.sc-ldf-psalm .text.sc-ldf-psalm{display:none}.psalm.wholeverse.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-child(even),.psalm-parent.wholeverse.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-child(even){font-weight:var(--ldf-response-font-weight);font-style:var(--ldf-response-font-style)}.psalm.halfverse.sc-ldf-psalm .halfverse.sc-ldf-psalm,.psalm-parent.halfverse.sc-ldf-psalm .halfverse.sc-ldf-psalm{font-weight:var(--ldf-response-font-weight);font-style:var(--ldf-response-font-style)}h3.editable-label.sc-ldf-psalm{text-align:var(--ldf-h3-text-align);font-weight:var(--ldf-h3-font-weight);font-style:var(--ldf-h3-font-style);font-variant:var(--ldf-h3-font-variant);font-size:var(--ldf-h3-font-size);text-transform:var(--ldf-h3-text-transform)}.section-break.sc-ldf-psalm{display:block;text-align:center;width:100%}.section-break.hidden.sc-ldf-psalm{display:none}";
2059
+ const psalmCss = "ldf-psalm.sc-ldf-psalm,.sc-ldf-psalm-h{font-family:var(--ldf-font-face);--ldf-drop-margin-right:var(--ldf-drop-psalm-margin-right)}ldf-psalm[lang=he].sc-ldf-psalm .verse.sc-ldf-psalm,[lang=he].sc-ldf-psalm-h .verse.sc-ldf-psalm{text-align:right;--ldf-drop-float:right}.psalm-set.sc-ldf-psalm{margin-top:0.5em;margin-bottom:0.5em}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm{display:var(--ldf-psalm-grid-display);grid-template-columns:var(--ldf-psalm-grid-template-columns);grid-template-rows:auto;grid-template-areas:var(--ldf-psalm-grid-template-areas);margin:0;text-indent:var(--ldf-psalm-verse-indentation)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm br.sc-ldf-psalm{display:var(--ldf-psalm-line-break-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm sup.sc-ldf-psalm{float:var(--ldf-psalm-number-float);display:var(--ldf-psalm-number-display);grid-area:var(--ldf-psalm-number-grid-area);margin-right:var(--ldf-psalm-number-margin-right)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .text.sc-ldf-psalm{display:var(--ldf-psalm-text-display);grid-area:var(--ldf-psalm-text-grid-area)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .halfverse.sc-ldf-psalm{margin-left:var(--ldf-psalm-halfverse-margin-left)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .verse.sc-ldf-psalm,.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .halfverse.sc-ldf-psalm{display:var(--ldf-psalm-verse-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .halfverse.sc-ldf-psalm{display:var(--ldf-psalm-halfverse-display, var(--ldf-psalm-verse-display))}.editable.sc-ldf-psalm .verse.sc-ldf-psalm,.editable.sc-ldf-psalm .halfverse.sc-ldf-psalm{width:100%}.psalm-parent.no-numbers.sc-ldf-psalm{display:block;text-align:left;grid-template-columns:none;grid-template-rows:none;grid-template-areas:none}.psalm-parent.no-numbers.sc-ldf-psalm .psalm.sc-ldf-psalm{display:block;grid-template-columns:none;grid-template-rows:none;grid-template-areas:none}.psalm-parent.no-numbers.sc-ldf-psalm .psalm.sc-ldf-psalm .text.sc-ldf-psalm{text-align:left;grid-area:none;display:var(--ldf-psalm-text-display);width:100%}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-of-type(1) sup.sc-ldf-psalm{display:var(--ldf-psalm-set-first-verse-number-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .verse.sc-ldf-psalm:nth-of-type(1){display:var(--ldf-psalm-set-first-verse-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .halfverse.sc-ldf-psalm:nth-of-type(2){display:var(--ldf-psalm-set-first-half-verse-display, inline-block)}.psalm-set.sc-ldf-psalm:nth-of-type(1) .psalm.sc-ldf-psalm:nth-of-type(1) sup.sc-ldf-psalm{display:var(--ldf-psalm-first-verse-number-display)}.psalm-set.sc-ldf-psalm:nth-of-type(1) .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .verse.sc-ldf-psalm:nth-of-type(1){display:var(--ldf-psalm-first-verse-display)}.psalm-set.sc-ldf-psalm:nth-of-type(1) .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .halfverse.sc-ldf-psalm:nth-of-type(2){display:var(--ldf-psalm-first-half-verse-display, inline-block)}.antiphon.sc-ldf-psalm{display:var(--ldf-psalm-antiphon-display);font-style:var(--ldf-antiphon-font-style);font-weight:var(--ldf-antiphon-font-weight);margin-top:0.5em}.repeat-antiphon.sc-ldf-psalm{display:var(--ldf-psalm-repeat-antiphon-display)}h5.sc-ldf-psalm{font-size:1em;font-style:italic;font-weight:normal;margin-right:1em}.psalm.unison.sc-ldf-psalm .text.sc-ldf-psalm{font-weight:var(--ldf-unison-font-weight);font-style:var(--ldf-unison-font-style)}.psalm.omit.sc-ldf-psalm .text.sc-ldf-psalm{display:none}.psalm.wholeverse.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-child(even),.psalm-parent.wholeverse.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-child(even){font-weight:var(--ldf-response-font-weight);font-style:var(--ldf-response-font-style)}.psalm.halfverse.sc-ldf-psalm .halfverse.sc-ldf-psalm,.psalm-parent.halfverse.sc-ldf-psalm .halfverse.sc-ldf-psalm{font-weight:var(--ldf-response-font-weight);font-style:var(--ldf-response-font-style)}h3.editable-label.sc-ldf-psalm{text-align:var(--ldf-h3-text-align);font-weight:var(--ldf-h3-font-weight);font-style:var(--ldf-h3-font-style);font-variant:var(--ldf-h3-font-variant);font-size:var(--ldf-h3-font-size);text-transform:var(--ldf-h3-text-transform)}.section-break.sc-ldf-psalm{display:block;text-align:center;width:100%}.section-break.hidden.sc-ldf-psalm{display:none}";
2054
2060
 
2055
2061
  const LOCALE$1 = {
2056
2062
  'en': EN$1,
@@ -2240,7 +2246,7 @@ const PsalmComponent = class {
2240
2246
  section.label && ((_a = section.value) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.headingNode(section.label, 4, false, true, true),
2241
2247
  // build a set of verses
2242
2248
  h("div", { class: 'psalm-set' }, section.value.map((verse, verseIndex) => {
2243
- var _a, _b, _c, _d, _e, _f, _g, _h;
2249
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2244
2250
  // build each verse
2245
2251
  if (verse instanceof Heading) {
2246
2252
  // for e.g., the Benedicite, Heading passed at head of section
@@ -2252,12 +2258,12 @@ const PsalmComponent = class {
2252
2258
  // 1st half of verse
2253
2259
  nodes.push(h("div", { class: 'verse' }, this.editable ?
2254
2260
  h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-${sectionIndex}-${verseIndex}-verse`, text: verse.verse, path: `${this.path}/value/${sectionIndex}/value/${verseIndex}/verse`, placeholder: 'Lorem ipsum sit dolor amet, *', template: pattern, templateMaker: templateMaker }) :
2255
- h("ldf-string", { text: verse.verse, citation: { label: (_a = this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: verseIndex == 0 ? 'force' : 'disabled', index: verseIndex, fragment: this.path })));
2261
+ h("ldf-string", { text: verse.verse, citation: { label: (_a = this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: (verseIndex == 0 && ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.language) !== "he" && ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.language) !== "iu") ? 'force' : 'disabled', index: verseIndex, fragment: this.path })));
2256
2262
  nodes.push(h("br", null));
2257
2263
  // 2nd half of verse
2258
2264
  nodes.push(h("div", { class: 'halfverse' }, this.editable ?
2259
2265
  h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-${sectionIndex}-${verseIndex}-halfverse`, text: verse.halfverse, path: `${this.path}/value/${sectionIndex}/value/${verseIndex}/halfverse`, placeholder: 'consectetur adipiscing elit.', template: pattern }) :
2260
- h("ldf-string", { text: verse.halfverse, citation: { label: (_e = this.obj) === null || _e === void 0 ? void 0 : _e.label, book: ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.number, verse: verse.number }, dropcap: 'disabled', fragment: this.path })));
2266
+ h("ldf-string", { text: verse.halfverse, citation: { label: (_g = this.obj) === null || _g === void 0 ? void 0 : _g.label, book: ((_h = this.obj) === null || _h === void 0 ? void 0 : _h.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_k = (_j = this.obj) === null || _j === void 0 ? void 0 : _j.metadata) === null || _k === void 0 ? void 0 : _k.number, verse: verse.number }, dropcap: 'disabled', fragment: this.path })));
2261
2267
  // render the verse
2262
2268
  return (h("p", { class: this.editable ? 'psalm editable' : 'psalm', onClick: () => {
2263
2269
  this.focusedVerse = verseIndex;
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-f0f6a379.js';
2
- import { d as dateFromYMDString, a as dateOnly } from './index-f5b9b789.js';
3
- import { T as Text } from './text-ce1ed17d.js';
2
+ import { d as dateFromYMDString, a as dateOnly } from './book-31b8cdde.js';
3
+ import { T as Text } from './text-ed75fbd4.js';
4
4
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
5
- import { H as Heading } from './heading-c9eb7d89.js';
5
+ import { H as Heading } from './heading-cc5ffa8a.js';
6
6
  import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-ba3f0406.js';
7
7
  import { m as modalController } from './overlays-06b43b65.js';
8
8
  import './ionic-global-ef89a0a5.js';
@@ -61,7 +61,7 @@ class LiturgicalDay {
61
61
  propers = slug;
62
62
  }
63
63
  const color = observed.color || this.color, collect = observed.collect || this.collect, season = observed.season || this.season, octave = (_d = (_c = (this.holy_days || [])) === null || _c === void 0 ? void 0 : _c.concat(holydays)) === null || _d === void 0 ? void 0 : _d.map((holyday) => holyday.octave).filter((octave) => Boolean(octave)).reduce((acc, curr) => (acc ? acc : curr || acc), undefined);
64
- return new LiturgicalDay(Object.assign(Object.assign({}, this), { slug, propers: holy_day_is_observed && holy_day_rank > 2 ? observed === null || observed === void 0 ? void 0 : observed.slug : propers, color,
64
+ return new LiturgicalDay(Object.assign(Object.assign({}, this), { slug, propers: holy_day_is_observed && holy_day_rank > 2 ? (observed === null || observed === void 0 ? void 0 : observed.propers) || (observed === null || observed === void 0 ? void 0 : observed.slug) : propers, color,
65
65
  season,
66
66
  octave,
67
67
  collect, holy_days: (this.holy_days || new Array()).concat(holydays), holy_day_observed: holy_day_is_observed ? observed : this.holy_day_observed }));
@@ -5655,7 +5655,10 @@ const TextComponent = class {
5655
5655
  return (h("div", { lang: ((_z = this.obj) === null || _z === void 0 ? void 0 : _z.language) || 'en', class: `text ${((_0 = this.obj) === null || _0 === void 0 ? void 0 : _0.display_format) || 'default'}` }, ((((_1 = this.obj) === null || _1 === void 0 ? void 0 : _1.label) && !((_3 = (_2 = this.obj) === null || _2 === void 0 ? void 0 : _2.metadata) === null || _3 === void 0 ? void 0 : _3.omit_label)) || ((_4 = this.obj) === null || _4 === void 0 ? void 0 : _4.citation)) && h("ldf-heading", { path: this.path, doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [((_5 = this.obj.metadata) === null || _5 === void 0 ? void 0 : _5.omit_label) ? '' : this.obj.label], citation: this.obj.citation, source: this.obj.source }) }), compiledValue.map((prayer, prayerIndex) => {
5656
5656
  var _a, _b, _c, _d;
5657
5657
  return h("p", { class: "text-body", id: `${this.obj.uid || this.obj.slug}-prayerIndex` }, prayer === null || prayer === void 0 ? void 0 :
5658
- prayer.map((chunk, chunkIndex) => h("span", { id: `${this.obj.uid || this.obj.slug}-${prayerIndex}-${chunkIndex}` }, h("ldf-string", { text: chunk, citation: { label: this.obj.label }, dropcap: prayerIndex === 0 && chunkIndex <= 1 ? "enabled" : "disabled", index: prayerIndex + chunkIndex, fragment: this.path }))), ((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.response) && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", this.obj.metadata.response), !((_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.response) && this.obj.style == 'prayer' && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", localeStrings.amen));
5658
+ prayer.map((chunk, chunkIndex) => {
5659
+ var _a;
5660
+ return h("span", { id: `${this.obj.uid || this.obj.slug}-${prayerIndex}-${chunkIndex}` }, h("ldf-string", { text: chunk, citation: { label: this.obj.label }, dropcap: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.display_format) == "force_dropcap" && prayerIndex === 0 && chunkIndex === 0 ? "force" : (prayerIndex === 0 && chunkIndex <= 1 ? "enabled" : "disabled"), index: prayerIndex + chunkIndex, fragment: this.path }));
5661
+ }), ((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.response) && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", this.obj.metadata.response), !((_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.response) && this.obj.style == 'prayer' && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", localeStrings.amen));
5659
5662
  })));
5660
5663
  }
5661
5664
  }
@@ -1,13 +1,12 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-f0f6a379.js';
2
- import { L as LiturgicalDocument } from './index-f5b9b789.js';
3
- import { B as BibleReading, P as Psalm, L as Liturgy$1, M as Meditation, R as ResponsivePrayer, a as Rubric } from './rubric-2330a030.js';
4
- import { H as Heading } from './heading-c9eb7d89.js';
5
- import { I as Image } from './image-f0e35b01.js';
6
- import { O as Option } from './option-47d50244.js';
7
- import { R as Refrain } from './refrain-810c4de5.js';
8
- import { T as Text } from './text-ce1ed17d.js';
2
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
3
+ import { B as BibleReading, P as Psalm, L as Liturgy$1, M as Meditation, R as ResponsivePrayer, a as Rubric } from './rubric-91bf7fed.js';
4
+ import { H as Heading } from './heading-cc5ffa8a.js';
5
+ import { I as Image } from './image-c6a3f0c5.js';
6
+ import { O as Option } from './option-da8390ad.js';
7
+ import { R as Refrain } from './refrain-75a412cb.js';
8
+ import { T as Text } from './text-ed75fbd4.js';
9
9
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
10
- import './_commonjsHelpers-ba3f0406.js';
11
10
 
12
11
  const MENU = [
13
12
  {
@@ -1,8 +1,7 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-f0f6a379.js';
2
- import { C as Condition } from './index-f5b9b789.js';
2
+ import { C as Condition } from './book-31b8cdde.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
4
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
5
- import './_commonjsHelpers-ba3f0406.js';
6
5
 
7
6
  //import { PROPERS } from './propers';
8
7
  const WEEKDAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
@@ -1,8 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
2
- import { C as Condition } from './index-f5b9b789.js';
2
+ import { C as Condition } from './book-31b8cdde.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
4
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
5
- import './_commonjsHelpers-ba3f0406.js';
6
5
 
7
6
  const addCondition = "Add a Condition";
8
7
  const and = "All of the following are true";
@@ -1,8 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
2
- import { L as LiturgicalDocument } from './index-f5b9b789.js';
3
- import { v as versionToString, O as Option } from './option-47d50244.js';
2
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
3
+ import { v as versionToString, O as Option } from './option-da8390ad.js';
4
4
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
5
- import './_commonjsHelpers-ba3f0406.js';
6
5
 
7
6
  /* Converts a list of documents into a single document showing options in parallel */
8
7
  function docsToOption(d, versions = undefined) {
@@ -1,14 +1,13 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
2
- import { L as LiturgicalDocument } from './index-f5b9b789.js';
2
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
- import { v as versionToString } from './option-47d50244.js';
5
- import { s as specificClass } from './specific-class-28e26e40.js';
4
+ import { v as versionToString } from './option-da8390ad.js';
5
+ import { s as specificClass } from './specific-class-ef83cfb6.js';
6
6
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
7
- import './_commonjsHelpers-ba3f0406.js';
8
- import './rubric-2330a030.js';
9
- import './heading-c9eb7d89.js';
10
- import './refrain-810c4de5.js';
11
- import './text-ce1ed17d.js';
7
+ import './rubric-91bf7fed.js';
8
+ import './heading-cc5ffa8a.js';
9
+ import './refrain-75a412cb.js';
10
+ import './text-ed75fbd4.js';
12
11
 
13
12
  const LOCALE_STRINGS = {
14
13
  "allowMultiple": "Allow multiple options",
@@ -1,14 +1,13 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
2
- import { L as LiturgicalDocument } from './index-f5b9b789.js';
2
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
- import { s as specificClass } from './specific-class-28e26e40.js';
4
+ import { s as specificClass } from './specific-class-ef83cfb6.js';
5
5
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
6
- import './_commonjsHelpers-ba3f0406.js';
7
- import './rubric-2330a030.js';
8
- import './heading-c9eb7d89.js';
9
- import './option-47d50244.js';
10
- import './refrain-810c4de5.js';
11
- import './text-ce1ed17d.js';
6
+ import './rubric-91bf7fed.js';
7
+ import './heading-cc5ffa8a.js';
8
+ import './option-da8390ad.js';
9
+ import './refrain-75a412cb.js';
10
+ import './text-ed75fbd4.js';
12
11
 
13
12
  const abbreviated = "Abbreviated";
14
13
  const advanced = "Advanced Settings";
@@ -1,9 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
2
- import './index-f5b9b789.js';
2
+ import './book-31b8cdde.js';
3
3
  import { a as PreferenceOption } from './preference-d070d4cb.js';
4
4
  import { C as Change } from './change-ea574d32.js';
5
5
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
6
- import './_commonjsHelpers-ba3f0406.js';
7
6
 
8
7
  const additional = "Advanced Settings";
9
8
  const alternateYear = "“Alternate Year” Reading";
@@ -1,9 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
2
- import './index-f5b9b789.js';
2
+ import './book-31b8cdde.js';
3
3
  import { P as Preference, a as PreferenceOption } from './preference-d070d4cb.js';
4
4
  import { C as Change } from './change-ea574d32.js';
5
5
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
6
- import './_commonjsHelpers-ba3f0406.js';
7
6
 
8
7
  const add = "Add an Option";
9
8
  const category = "Category";
@@ -1,12 +1,11 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-f0f6a379.js';
2
2
  import { f as alertController } from './overlays-06b43b65.js';
3
- import './index-f5b9b789.js';
3
+ import './book-31b8cdde.js';
4
4
  import { P as Preference } from './preference-d070d4cb.js';
5
5
  import { C as Change } from './change-ea574d32.js';
6
6
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
7
7
  import './ionic-global-ef89a0a5.js';
8
8
  import './hardware-back-button-b3b61715.js';
9
- import './_commonjsHelpers-ba3f0406.js';
10
9
 
11
10
  function categoriesToPreferenceTree(categories, preferences) {
12
11
  return categories.reduce((obj, category) => (Object.assign(Object.assign({}, obj), { [category]: Object.entries(preferences)
@@ -1,8 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, a as getElement } from './index-f0f6a379.js';
2
- import './index-f5b9b789.js';
2
+ import './book-31b8cdde.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
4
  import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
5
- import './_commonjsHelpers-ba3f0406.js';
6
5
 
7
6
  const category = {
8
7
  add: "Add a Category",
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
2
- import { L as LiturgicalDocument } from './index-f5b9b789.js';
2
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
3
3
  import { C as Cursor } from './cursor-0e47f111.js';
4
4
  import { C as Change } from './change-ea574d32.js';
5
5
  import { e as elementFromPath, q as querySelectorDeep, v as values_js } from './index-1bf6d100.js';
@@ -1,4 +1,4 @@
1
- import { L as LiturgicalDocument } from './index-f5b9b789.js';
1
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
2
2
 
3
3
  function versionToString(version) {
4
4
  if (typeof version === 'string') {
@@ -16,6 +16,8 @@ const VERSIONS = {
16
16
  eow: 'EOW',
17
17
  coverdale: 'Coverdale',
18
18
  rite_i: 'Rite I',
19
+ bhs: 'Hebrew',
20
+ hebrew: 'Hebrew',
19
21
  };
20
22
  function modifiedVersion(option) {
21
23
  return option.type === 'psalm' && option.style === 'psalm' && option.version === 'bcp1979'
@@ -64,6 +66,9 @@ class Option extends LiturgicalDocument {
64
66
  (((_a = option.slug) === null || _a === void 0 ? void 0 : _a.match(/psalm_119_/)) || ((_b = option.citation) === null || _b === void 0 ? void 0 : _b.toString().match(/Ps[^\d]+119/)))) {
65
67
  label = option.label;
66
68
  }
69
+ else if (option.type == 'psalm' && uniqueVersions > 1) {
70
+ label = option.version_label || VERSIONS[versionToString(option.version)];
71
+ }
67
72
  // Other psalms: Psalm 121
68
73
  else if (option.type == 'psalm' &&
69
74
  option.style == 'psalm' &&
@@ -1,4 +1,4 @@
1
- import { L as LiturgicalDocument } from './index-f5b9b789.js';
1
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
2
2
 
3
3
  const STYLES = ['normal', 'antiphon', 'gloria'];
4
4
  /** Refrain represents a short text like the Gloria Patri, Hail Mary, or an Antiphon */
@@ -1,4 +1,4 @@
1
- import { L as LiturgicalDocument } from './index-f5b9b789.js';
1
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
2
2
 
3
3
  const BIBLE_BOOK_ABBREVIATIONS = [
4
4
  {
@@ -1,8 +1,8 @@
1
- import { M as Meditation, P as Psalm, B as BibleReading, R as ResponsivePrayer, a as Rubric, L as Liturgy } from './rubric-2330a030.js';
2
- import { H as Heading } from './heading-c9eb7d89.js';
3
- import { O as Option } from './option-47d50244.js';
4
- import { R as Refrain } from './refrain-810c4de5.js';
5
- import { T as Text } from './text-ce1ed17d.js';
1
+ import { M as Meditation, P as Psalm, B as BibleReading, R as ResponsivePrayer, a as Rubric, L as Liturgy } from './rubric-91bf7fed.js';
2
+ import { H as Heading } from './heading-cc5ffa8a.js';
3
+ import { O as Option } from './option-da8390ad.js';
4
+ import { R as Refrain } from './refrain-75a412cb.js';
5
+ import { T as Text } from './text-ed75fbd4.js';
6
6
 
7
7
  /** Transforms a generic `LiturgicalDocument` (either a class instance or an `Object` that matches the type),
8
8
  * into an instance of a more-specific inherited class */
@@ -1,4 +1,4 @@
1
- import { L as LiturgicalDocument } from './index-f5b9b789.js';
1
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
2
2
 
3
3
  const STYLES = ['text', 'prayer', 'markdown', 'authorized-prayers'];
4
4
  /** Text represents collect or any other short prayer. */
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-978e2c6d.js";import{g as t}from"./p-4b80de48.js";import"./p-d282d4f9.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>(t(),o(JSON.parse('[["p-ff51dbd0",[[2,"ldf-prayers-and-thanksgivings",{"base":[513],"index":[513],"modal":[8],"parent":[8],"options":[16],"localeStrings":[32],"currentOptions":[32],"filter":[32],"setOptions":[64]}],[34,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}],[33,"ion-title",{"color":[1],"size":[1]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"],[2,"click","onClick"]]],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[33,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]},[[0,"ionStyle","itemStyle"]]],[33,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}],[34,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[33,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"svgContent":[32],"isVisible":[32]}],[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["p-a98c89d1",[[2,"ldf-editable-metadata",{"doc":[1],"path":[513],"visible":[4],"collapsed":[4],"modal":[8],"obj":[32],"localeStrings":[32],"collapsedState":[32],"showAdvanced":[32]}]]],["p-db435131",[[6,"ldf-editor",{"doc":[1],"users":[16],"uid":[1],"cursors":[16],"listUsers":[4,"list-users"],"preview":[4],"obj":[32],"cursor":[32],"focusObj":[32]},[[0,"ldfCursorMoved","onCursorMoved"],[4,"ldfDocShouldChange","onDocShouldChange"],[0,"ldfDocShouldAdd","onDocShouldAdd"],[0,"ldfAddChildAfter","onAddChildAfter"],[0,"ldfMergeWithPrevious","onMergeWithPrevious"],[4,"ldfAskForBibleIntros","onAskForBibleIntros"],[4,"ldfAskForCanticleOptions","onAskForCanticleOptions"],[4,"ldfAskForPrayersAndThanksgivings","onAskForPT"],[4,"ldfShouldAddGloriaPatri","onShouldAddGloriaPatri"],[8,"paste","onPaste"],[8,"drop","onDrop"],[8,"dragover","onDragOver"],[8,"dragenter","onDragEnter"],[0,"focusObj","onFocusObj"]]]]],["p-4d392128",[[2,"ldf-editable-condition",{"path":[513],"obj":[16],"modal":[8],"localeStrings":[32],"currentCondition":[32]}]]],["p-972e4f2a",[[2,"ldf-editable-preferences",{"path":[513],"obj":[16],"modal":[8],"tree":[32],"specialTree":[32],"localeStrings":[32],"currentPreferences":[32],"currentSpecialPreferences":[32]}]]],["p-7df11f48",[[2,"ldf-editable-filter-documents",{"modal":[8],"type":[1],"versions":[16],"options":[16],"changeCallback":[16],"localeStrings":[32],"filteredOptions":[32],"doc":[32],"version":[32],"setVersions":[64],"setOptions":[64]}]]],["p-c1df632d",[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionChange","onSelect"]]]]],["p-0651768a",[[2,"ldf-editable-add-block-menu",{"localeStrings":[32],"menu":[32]},[[0,"ionChange","onIonChange"]]]]],["p-5be7ff17",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-4e0b3c0f",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-380f8655",[[33,"ion-back-button",{"color":[1],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1]}]]],["p-374118d7",[[33,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1]}]]],["p-9bd5d1d4",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-2c36a583",[[33,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["p-302dc0d5",[[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}]]],["p-e0e12ae3",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}]]],["p-018e57db",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-ea66c343",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}]]],["p-3f39c2ad",[[33,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}]]],["p-c41e055c",[[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]]]],["p-7abeb82c",[[34,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-d7966e9b",[[34,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-c3841978",[[33,"ion-reorder",null,[[2,"click","onClick"]]]]],["p-c82dd468",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[32,"ionTabBarChanged","onTabBarChanged"]]]]],["p-08584ccc",[[0,"ion-app"]]],["p-c6163f81",[[33,"ion-avatar"]]],["p-8c2727db",[[33,"ion-badge",{"color":[1]}]]],["p-c3042920",[[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}]]],["p-07d6d3ad",[[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["p-32f7ba8e",[[36,"ion-footer",{"translucent":[4]}]]],["p-9c397c49",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["p-327b14ac",[[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["p-dd99e42a",[[33,"ion-item-divider",{"color":[1],"sticky":[4]}]]],["p-8932ec85",[[32,"ion-item-group"]]],["p-d195c957",[[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}]]],["p-ba021918",[[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["p-21e2f0a3",[[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["p-fe59a676",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}]]],["p-4a4380fa",[[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"]}]]],["p-69f85ad3",[[33,"ion-note",{"color":[1]}]]],["p-3c9930ff",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],["p-cbfbb80c",[[33,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["p-ec5eecdc",[[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["p-84f38db6",[[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["p-b7388aec",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16]}]]],["p-6fe24d85",[[0,"ion-route-redirect",{"from":[1],"to":[1]}]]],["p-25a736f1",[[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]]]],["p-3545fcdc",[[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}]]],["p-0873a34a",[[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}]]],["p-c3807857",[[0,"ion-slide"]]],["p-9e2c172e",[[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["p-ca698b8f",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["p-59340423",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}]]],["p-c74d3fd0",[[33,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},[[8,"keyboardWillHide","onKeyboardWillHide"],[8,"keyboardWillShow","onKeyboardWillShow"]]]]],["p-8767a74e",[[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["p-430c418a",[[1,"ion-text",{"color":[1]}]]],["p-e4be11ad",[[34,"ion-textarea",{"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],["p-dc445c36",[[1,"ion-thumbnail"]]],["p-ac7a17ce",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["p-c1bcd0a9",[[2,"ldf-editable-text",{"text":[1],"path":[513],"placeholder":[1],"short":[4],"unit":[1],"inputType":[1,"input-type"],"template":[1],"templateMaker":[16],"currentText":[32],"localeStrings":[32]},[[0,"input","onInput"],[0,"focusout","onFocusOut"],[0,"select","onSelect"],[0,"focus","onFocus"],[0,"click","onClick"],[0,"keydown","onKeyDown"]]],[34,"ion-input",{"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],["p-37f356a4",[[2,"ldf-editable-preference-option",{"path":[513],"option":[16],"localeStrings":[32],"currentOption":[32]}]]],["p-2fa1c501",[[2,"ldf-editable-preference",{"path":[513],"preference":[16],"modal":[8],"localeStrings":[32],"currentPreference":[32]}]]],["p-79a526a1",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],["p-73a16936",[[2,"ldf-editable-string-list",{"path":[513],"property":[513],"value":[16],"localeStrings":[32],"optimisticValues":[32],"currentValue":[32]}]]],["p-04715bf0",[[33,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"displayTimezone":[1,"display-timezone"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[33,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["p-1504379f",[[2,"ldf-editable-condition-piece",{"path":[513],"condition":[16],"localeStrings":[32],"workingCondition":[32]}]]],["p-52656429",[[32,"ion-picker-column",{"col":[16]}]]],["p-70e47f8b",[[2,"ldf-editor-cursors",{"parent":[16],"users":[16],"uid":[513],"cursors":[16],"cursorPos":[32]},[[5,"scroll","onScroll"],[9,"resize","onResize"]]]]],["p-63b5daf6",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["p-e215fd02",[[33,"ion-list-header",{"color":[1],"lines":[1]}]]],["p-1a8e2899",[[33,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}],[33,"ion-card-header",{"color":[1],"translucent":[4]}]]],["p-66a7385e",[[33,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"value":[8],"checked":[32]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]}]]],["p-c6b42618",[[33,"ion-chip",{"color":[1],"outline":[4]}]]],["p-b78336d7",[[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}]]],["p-698a3399",[[2,"ldf-editable-delete",{"base":[513],"index":[520],"type":[1],"obj":[8],"localeStrings":[32]},[[0,"click","onClick"]]],[2,"ldf-editable-boolean",{"path":[513],"property":[513],"value":[4]},[[0,"ionChange","onChange"]]],[33,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["p-91b61b55",[[1,"ldf-heading",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32]}],[2,"ldf-day-name",{"day":[1],"obj":[32],"localeStrings":[32]}],[6,"ldf-text",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32]}],[2,"ldf-string",{"text":[1],"citation":[16],"dropcap":[1],"dropcapMinLength":[2,"dropcap-min-length"],"replaceTetragrammaton":[4,"replace-tetragrammaton"],"index":[2],"fragment":[1],"processedString":[32]}],[1,"ldf-label-bar",{"center":[516]}]]],["p-0f69db87",[[6,"ldf-bible-reading",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32],"verses":[32],"loadingError":[32],"changeReading":[64]}],[2,"ldf-liturgical-document",{"doc":[1],"path":[513],"base":[513],"index":[2],"parentType":[513,"parent-type"],"editable":[4],"preview":[4],"padding":[1],"obj":[32],"localeStrings":[32],"hasFocus":[32]},[[0,"dragover","onDragOver"],[4,"selectionchange","selectionChangeHandler"],[3,"mouseover","onMouseOver"],[3,"mouseout","onMouseOut"],[2,"click","onClick"]]],[2,"ldf-editable-add-block",{"visible":[4],"base":[513],"index":[514],"localeStrings":[32]}],[2,"ldf-option",{"doc":[1],"path":[513],"editable":[4],"preview":[4],"obj":[32],"localeStrings":[32],"filteredOptions":[32],"select":[64]}],[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"value":[1025],"activated":[32]}],[6,"ldf-psalm",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32],"filteredValue":[32],"focusedVerse":[32],"focusedSection":[32]}],[6,"ldf-responsive-prayer",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32]}],[2,"ldf-editable-metadata-buttons",{"visible":[4],"base":[513],"index":[514],"obj":[16],"parentType":[1,"parent-type"],"preview":[4],"localeStrings":[32],"collapsedState":[32],"modal":[32]}],[2,"ldf-editable-select",{"path":[513],"property":[513],"options":[16],"value":[8],"placeholder":[1]},[[0,"ionChange","onChange"]]],[2,"ldf-liturgy",{"doc":[1],"path":[513],"editable":[4],"preview":[4],"obj":[32],"hasFocus":[32]},[[0,"focusPath","onFocusPath"]]],[6,"ldf-image",{"doc":[1],"path":[513],"editable":[4],"modal":[8],"obj":[32],"localeStrings":[32],"isResizing":[32],"height":[32],"width":[32]},[[5,"mouseup","stopResizing"],[9,"mousemove","resizingMove"]]],[2,"ldf-meditation",{"doc":[1],"path":[513],"editable":[4],"color":[1],"autostart":[4],"obj":[32],"localeStrings":[32],"secondsRemaining":[32],"started":[32],"paused":[32],"start":[64],"pause":[64],"resume":[64],"rewind":[64],"duration":[64],"reset":[64]}],[6,"ldf-refrain",{"doc":[1],"path":[513],"editable":[4],"obj":[32]}],[6,"ldf-rubric",{"doc":[1],"path":[513],"editable":[4],"obj":[32]}],[1,"ion-skeleton-text",{"animated":[4]}]]],["p-d7fa99cc",[[2,"ldf-editable-antiphon-field",{"path":[513],"antiphon":[1],"omit_antiphon":[4],"insert_antiphon":[4],"localeStrings":[32],"currentAntiphon":[32],"currentOmitAntiphon":[32],"currentInsertAntiphon":[32],"mode":[32]}],[32,"ion-card-content"],[33,"ion-card-title",{"color":[1]}],[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["p-ca7e0de9",[[2,"ldf-editable-metadata-metadata-fields",{"path":[513],"doc":[1],"bibleReadingIntros":[16],"localeStrings":[32],"fields":[32],"obj":[32],"currentBibleReadingIntros":[32],"setBibleReadingIntros":[64]}],[2,"ldf-editable-lookup",{"path":[513],"lookup":[16],"types":[16],"currentLookup":[32]}]]],["p-7efa633b",[[33,"ion-card-subtitle",{"color":[1]}]]]]'),e))));
1
+ import{p as e,b as o}from"./p-978e2c6d.js";import{g as t}from"./p-4b80de48.js";import"./p-d282d4f9.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>(t(),o(JSON.parse('[["p-e4f0cd91",[[2,"ldf-prayers-and-thanksgivings",{"base":[513],"index":[513],"modal":[8],"parent":[8],"options":[16],"localeStrings":[32],"currentOptions":[32],"filter":[32],"setOptions":[64]}],[34,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}],[33,"ion-title",{"color":[1],"size":[1]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"],[2,"click","onClick"]]],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[33,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]},[[0,"ionStyle","itemStyle"]]],[33,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}],[34,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[33,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"svgContent":[32],"isVisible":[32]}],[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["p-1902f41e",[[2,"ldf-editable-metadata",{"doc":[1],"path":[513],"visible":[4],"collapsed":[4],"modal":[8],"obj":[32],"localeStrings":[32],"collapsedState":[32],"showAdvanced":[32]}]]],["p-23af1bc3",[[6,"ldf-editor",{"doc":[1],"users":[16],"uid":[1],"cursors":[16],"listUsers":[4,"list-users"],"preview":[4],"obj":[32],"cursor":[32],"focusObj":[32]},[[0,"ldfCursorMoved","onCursorMoved"],[4,"ldfDocShouldChange","onDocShouldChange"],[0,"ldfDocShouldAdd","onDocShouldAdd"],[0,"ldfAddChildAfter","onAddChildAfter"],[0,"ldfMergeWithPrevious","onMergeWithPrevious"],[4,"ldfAskForBibleIntros","onAskForBibleIntros"],[4,"ldfAskForCanticleOptions","onAskForCanticleOptions"],[4,"ldfAskForPrayersAndThanksgivings","onAskForPT"],[4,"ldfShouldAddGloriaPatri","onShouldAddGloriaPatri"],[8,"paste","onPaste"],[8,"drop","onDrop"],[8,"dragover","onDragOver"],[8,"dragenter","onDragEnter"],[0,"focusObj","onFocusObj"]]]]],["p-594fa9d4",[[2,"ldf-editable-condition",{"path":[513],"obj":[16],"modal":[8],"localeStrings":[32],"currentCondition":[32]}]]],["p-03afc8cb",[[2,"ldf-editable-preferences",{"path":[513],"obj":[16],"modal":[8],"tree":[32],"specialTree":[32],"localeStrings":[32],"currentPreferences":[32],"currentSpecialPreferences":[32]}]]],["p-1ff665a7",[[2,"ldf-editable-filter-documents",{"modal":[8],"type":[1],"versions":[16],"options":[16],"changeCallback":[16],"localeStrings":[32],"filteredOptions":[32],"doc":[32],"version":[32],"setVersions":[64],"setOptions":[64]}]]],["p-c1df632d",[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionChange","onSelect"]]]]],["p-bdcf2b02",[[2,"ldf-editable-add-block-menu",{"localeStrings":[32],"menu":[32]},[[0,"ionChange","onIonChange"]]]]],["p-5be7ff17",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-4e0b3c0f",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-380f8655",[[33,"ion-back-button",{"color":[1],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1]}]]],["p-374118d7",[[33,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1]}]]],["p-9bd5d1d4",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-2c36a583",[[33,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["p-302dc0d5",[[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}]]],["p-e0e12ae3",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}]]],["p-018e57db",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-ea66c343",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}]]],["p-3f39c2ad",[[33,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}]]],["p-c41e055c",[[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]]]],["p-7abeb82c",[[34,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-d7966e9b",[[34,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["p-c3841978",[[33,"ion-reorder",null,[[2,"click","onClick"]]]]],["p-c82dd468",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[32,"ionTabBarChanged","onTabBarChanged"]]]]],["p-08584ccc",[[0,"ion-app"]]],["p-c6163f81",[[33,"ion-avatar"]]],["p-8c2727db",[[33,"ion-badge",{"color":[1]}]]],["p-c3042920",[[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}]]],["p-07d6d3ad",[[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["p-32f7ba8e",[[36,"ion-footer",{"translucent":[4]}]]],["p-9c397c49",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["p-327b14ac",[[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["p-dd99e42a",[[33,"ion-item-divider",{"color":[1],"sticky":[4]}]]],["p-8932ec85",[[32,"ion-item-group"]]],["p-d195c957",[[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}]]],["p-ba021918",[[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["p-21e2f0a3",[[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["p-fe59a676",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}]]],["p-4a4380fa",[[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"]}]]],["p-69f85ad3",[[33,"ion-note",{"color":[1]}]]],["p-3c9930ff",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],["p-cbfbb80c",[[33,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["p-ec5eecdc",[[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["p-84f38db6",[[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["p-b7388aec",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16]}]]],["p-6fe24d85",[[0,"ion-route-redirect",{"from":[1],"to":[1]}]]],["p-25a736f1",[[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]]]],["p-3545fcdc",[[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}]]],["p-0873a34a",[[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}]]],["p-c3807857",[[0,"ion-slide"]]],["p-9e2c172e",[[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["p-ca698b8f",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["p-59340423",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}]]],["p-c74d3fd0",[[33,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},[[8,"keyboardWillHide","onKeyboardWillHide"],[8,"keyboardWillShow","onKeyboardWillShow"]]]]],["p-8767a74e",[[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["p-430c418a",[[1,"ion-text",{"color":[1]}]]],["p-e4be11ad",[[34,"ion-textarea",{"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],["p-dc445c36",[[1,"ion-thumbnail"]]],["p-ac7a17ce",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["p-fa191f47",[[2,"ldf-editable-text",{"text":[1],"path":[513],"placeholder":[1],"short":[4],"unit":[1],"inputType":[1,"input-type"],"template":[1],"templateMaker":[16],"currentText":[32],"localeStrings":[32]},[[0,"input","onInput"],[0,"focusout","onFocusOut"],[0,"select","onSelect"],[0,"focus","onFocus"],[0,"click","onClick"],[0,"keydown","onKeyDown"]]],[34,"ion-input",{"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],["p-800a115c",[[2,"ldf-editable-preference-option",{"path":[513],"option":[16],"localeStrings":[32],"currentOption":[32]}]]],["p-65ea7ab3",[[2,"ldf-editable-preference",{"path":[513],"preference":[16],"modal":[8],"localeStrings":[32],"currentPreference":[32]}]]],["p-79a526a1",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],["p-2ae548b3",[[2,"ldf-editable-string-list",{"path":[513],"property":[513],"value":[16],"localeStrings":[32],"optimisticValues":[32],"currentValue":[32]}]]],["p-04715bf0",[[33,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"displayTimezone":[1,"display-timezone"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[33,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["p-65563763",[[2,"ldf-editable-condition-piece",{"path":[513],"condition":[16],"localeStrings":[32],"workingCondition":[32]}]]],["p-52656429",[[32,"ion-picker-column",{"col":[16]}]]],["p-70e47f8b",[[2,"ldf-editor-cursors",{"parent":[16],"users":[16],"uid":[513],"cursors":[16],"cursorPos":[32]},[[5,"scroll","onScroll"],[9,"resize","onResize"]]]]],["p-63b5daf6",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["p-e215fd02",[[33,"ion-list-header",{"color":[1],"lines":[1]}]]],["p-1a8e2899",[[33,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}],[33,"ion-card-header",{"color":[1],"translucent":[4]}]]],["p-66a7385e",[[33,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"value":[8],"checked":[32]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]}]]],["p-c6b42618",[[33,"ion-chip",{"color":[1],"outline":[4]}]]],["p-b78336d7",[[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}]]],["p-f0de7628",[[2,"ldf-editable-delete",{"base":[513],"index":[520],"type":[1],"obj":[8],"localeStrings":[32]},[[0,"click","onClick"]]],[2,"ldf-editable-boolean",{"path":[513],"property":[513],"value":[4]},[[0,"ionChange","onChange"]]],[33,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["p-3f8ef67b",[[1,"ldf-heading",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32]}],[2,"ldf-day-name",{"day":[1],"obj":[32],"localeStrings":[32]}],[6,"ldf-text",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32]}],[2,"ldf-string",{"text":[1],"citation":[16],"dropcap":[1],"dropcapMinLength":[2,"dropcap-min-length"],"replaceTetragrammaton":[4,"replace-tetragrammaton"],"index":[2],"fragment":[1],"processedString":[32]}],[1,"ldf-label-bar",{"center":[516]}]]],["p-1e8c8a66",[[6,"ldf-bible-reading",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32],"verses":[32],"loadingError":[32],"changeReading":[64]}],[2,"ldf-liturgical-document",{"doc":[1],"path":[513],"base":[513],"index":[2],"parentType":[513,"parent-type"],"editable":[4],"preview":[4],"padding":[1],"obj":[32],"localeStrings":[32],"hasFocus":[32]},[[0,"dragover","onDragOver"],[4,"selectionchange","selectionChangeHandler"],[3,"mouseover","onMouseOver"],[3,"mouseout","onMouseOut"],[2,"click","onClick"]]],[2,"ldf-editable-add-block",{"visible":[4],"base":[513],"index":[514],"localeStrings":[32]}],[2,"ldf-option",{"doc":[1],"path":[513],"editable":[4],"preview":[4],"obj":[32],"localeStrings":[32],"filteredOptions":[32],"select":[64]}],[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"value":[1025],"activated":[32]}],[6,"ldf-psalm",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32],"filteredValue":[32],"focusedVerse":[32],"focusedSection":[32]}],[6,"ldf-responsive-prayer",{"doc":[1],"path":[513],"editable":[4],"obj":[32],"localeStrings":[32]}],[2,"ldf-editable-metadata-buttons",{"visible":[4],"base":[513],"index":[514],"obj":[16],"parentType":[1,"parent-type"],"preview":[4],"localeStrings":[32],"collapsedState":[32],"modal":[32]}],[2,"ldf-editable-select",{"path":[513],"property":[513],"options":[16],"value":[8],"placeholder":[1]},[[0,"ionChange","onChange"]]],[2,"ldf-liturgy",{"doc":[1],"path":[513],"editable":[4],"preview":[4],"obj":[32],"hasFocus":[32]},[[0,"focusPath","onFocusPath"]]],[6,"ldf-image",{"doc":[1],"path":[513],"editable":[4],"modal":[8],"obj":[32],"localeStrings":[32],"isResizing":[32],"height":[32],"width":[32]},[[5,"mouseup","stopResizing"],[9,"mousemove","resizingMove"]]],[2,"ldf-meditation",{"doc":[1],"path":[513],"editable":[4],"color":[1],"autostart":[4],"obj":[32],"localeStrings":[32],"secondsRemaining":[32],"started":[32],"paused":[32],"start":[64],"pause":[64],"resume":[64],"rewind":[64],"duration":[64],"reset":[64]}],[6,"ldf-refrain",{"doc":[1],"path":[513],"editable":[4],"obj":[32]}],[6,"ldf-rubric",{"doc":[1],"path":[513],"editable":[4],"obj":[32]}],[1,"ion-skeleton-text",{"animated":[4]}]]],["p-9c1973a6",[[2,"ldf-editable-antiphon-field",{"path":[513],"antiphon":[1],"omit_antiphon":[4],"insert_antiphon":[4],"localeStrings":[32],"currentAntiphon":[32],"currentOmitAntiphon":[32],"currentInsertAntiphon":[32],"mode":[32]}],[32,"ion-card-content"],[33,"ion-card-title",{"color":[1]}],[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["p-5ea6de28",[[2,"ldf-editable-metadata-metadata-fields",{"path":[513],"doc":[1],"bibleReadingIntros":[16],"localeStrings":[32],"fields":[32],"obj":[32],"currentBibleReadingIntros":[32],"setBibleReadingIntros":[64]}],[2,"ldf-editable-lookup",{"path":[513],"lookup":[16],"types":[16],"currentLookup":[32]}]]],["p-7efa633b",[[33,"ion-card-subtitle",{"color":[1]}]]]]'),e))));
@@ -0,0 +1 @@
1
+ import{h as e,r as t,c as i,H as l,a as n}from"./p-978e2c6d.js";import{f as s}from"./p-d7f8c770.js";import"./p-4aa9a6f2.js";import{P as o}from"./p-8ec26587.js";import{C as r}from"./p-991c0877.js";import{g as a}from"./p-0491d1d2.js";import"./p-d282d4f9.js";import"./p-f3a0c163.js";const c=({path:t,tree:i,label:l,desc:n,localeStrings:s,newCallback:o})=>new Array(e("ion-card",null,e("ion-card-header",null,e("ion-card-title",null,l),n&&e("ion-card-subtitle",null,n)),Object.keys(i).map((l=>e("section",null,e("ion-list",null,e("ion-list-header",null,l),i[l].map((i=>[e("ion-toolbar",null,e("ion-title",{slot:"start"},i.label," (",e("code",null,i.key),")"),e("ion-buttons",{slot:"end"},e("ldf-editable-delete",{base:t,index:i.key,type:"object",obj:i}))),e("ion-item",null,e("ldf-editable-preference",{path:t+"/"+i.key,preference:i}))])))))),e("ion-item",{lines:"none"},e("ion-button",{onClick:e=>o(e)},e("ion-icon",{slot:"start",name:"add"}),s.addPreference||"Add Preference")))),d={en:{addPreference:"Add Preference",cancel:"Cancel",label:"Label",new_preference:"New Preference",ok:"OK",preferences:"Preferences",special_preferences:"Special Preferences",special_preferences_desc:"These won’t be saved between sessions. (For example, you might include a ‘Footwashing’ setting to be used on Maundy Thursday.)"}},h=class{constructor(e){t(this,e),this.ldfDocShouldChange=i(this,"ldfDocShouldChange",7)}objChange(){var e,t,i,l;console.log("(EditablePreferences) obj changed, rebuilding trees"),this.currentPreferences=(null===(t=null===(e=this.obj)||void 0===e?void 0:e.metadata)||void 0===t?void 0:t.preferences)||{},this.tree=this.buildTree(this.currentPreferences),this.currentSpecialPreferences=(null===(l=null===(i=this.obj)||void 0===i?void 0:i.metadata)||void 0===l?void 0:l.special_preferences)||{},this.specialTree=this.buildTree(this.currentSpecialPreferences)}componentWillLoad(){var e,t,i,l,n,s,o,a;this.currentPreferences=(null===(t=null===(e=this.obj)||void 0===e?void 0:e.metadata)||void 0===t?void 0:t.preferences)||{},this.currentSpecialPreferences=(null===(l=null===(i=this.obj)||void 0===i?void 0:i.metadata)||void 0===l?void 0:l.special_preferences)||{},this.tree=this.buildTree(this.currentPreferences),this.specialTree=this.buildTree(this.currentSpecialPreferences),(null===(s=null===(n=this.obj)||void 0===n?void 0:n.metadata)||void 0===s?void 0:s.preferences)||this.ldfDocShouldChange.emit(new r({path:`${this.path}/preferences`,op:[{type:"set",value:{}}]})),(null===(a=null===(o=this.obj)||void 0===o?void 0:o.metadata)||void 0===a?void 0:a.special_preferences)||this.ldfDocShouldChange.emit(new r({path:`${this.path}/special_preferences`,op:[{type:"set",value:{}}]})),this.loadLocaleStrings()}async loadLocaleStrings(){try{this.localeStrings=d[a(this.element)]}catch(e){console.warn(e)}}buildTree(e){return function(e,t){return e.reduce(((e,i)=>Object.assign(Object.assign({},e),{[i]:Object.entries(t).map((([e,t])=>new o(Object.assign(Object.assign({},t),{key:e})))).filter((e=>e.category==i||!e.category&&"Preferences"==i)).sort(((e,t)=>e.index&&t.index?e.index<t.index?-1:1:e.label<t.label?-1:1))})),{})}(function(e){return Object.values(e).map((e=>e.category||"Preferences")).reduce(((e,t)=>e.includes(t)?e:[...e,t]),[])}(e),e)}async addPreference(){var e,t;const{key:i,label:l}=await this.grabKeyFromAlert();this.currentPreferences=Object.assign(Object.assign({},this.currentPreferences),{[i]:new o({key:i,label:l})}),this.tree=this.buildTree(this.currentPreferences),this.emit(null===(t=null===(e=this.obj)||void 0===e?void 0:e.metadata)||void 0===t?void 0:t.preferences,"preferences",i,this.currentPreferences[i])}async addSpecialPreference(){var e,t;const{key:i,label:l}=await this.grabKeyFromAlert();this.currentSpecialPreferences=Object.assign(Object.assign({},this.currentSpecialPreferences),{[i]:new o({key:i,label:l})}),this.specialTree=this.buildTree(this.currentSpecialPreferences),this.emit(null===(t=null===(e=this.obj)||void 0===e?void 0:e.metadata)||void 0===t?void 0:t.special_preferences,"special_preferences",i,this.currentSpecialPreferences[i])}async grabKeyFromAlert(){var e,t;const i=this.localeStrings||{},l=await s.create({header:i.new_preference,inputs:[{name:"label",type:"text",placeholder:i.label}],buttons:[{text:i.cancel||"Cancel",role:"cancel",cssClass:"danger"},{text:i.ok||"OK"}]});await l.present();const n=await l.onDidDismiss(),o=null===(t=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.values)||void 0===t?void 0:t.label;return{key:o.replace(/(?:^\w|[A-Z]|\b\w)/g,((e,t)=>0===t?e.toLowerCase():e.toUpperCase())).replace(/\s+/g,""),label:o}}emit(e,t,i,l){const n=`${this.path}/${t}`;this.ldfDocShouldChange.emit(new r(null==e?{path:n,op:[{type:"set",value:{[i]:l}}]}:{path:`${n}/${i}`,op:[{type:"set",value:l}]}))}render(){const t=this.localeStrings||{};return e(l,null,e("ion-header",null,e("ion-toolbar",null,e("ion-title",null,t.preferences),e("ion-buttons",{slot:"primary"},e("ion-button",{onClick:()=>this.modal.dismiss(null)},e("ion-icon",{slot:"icon-only",name:"close"}))))),e("ion-content",null,e(c,{path:`${this.path}/preferences`,tree:this.tree,label:t.preferences,newCallback:()=>this.addPreference(),localeStrings:t}),e(c,{path:`${this.path}/special_preferences`,tree:this.specialTree,label:t.special_preferences,desc:t.special_preferences_desc,newCallback:()=>this.addSpecialPreference(),localeStrings:t})))}get element(){return n(this)}static get watchers(){return{obj:["objChange"]}}};h.style="ldf-editable-preference.sc-ldf-editable-preferences{width:100%}";export{h as ldf_editable_preferences}