@ankhorage/zora 23.4.3 → 24.0.1

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 (268) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/constants/authoring.d.ts +3 -3
  4. package/dist/constants/authoring.d.ts.map +1 -1
  5. package/dist/constants/authoring.js +1 -1
  6. package/dist/constants/authoring.js.map +1 -1
  7. package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
  8. package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
  9. package/dist/features/card/cardMeta.d.ts +1 -1
  10. package/dist/features/card/mediaCardMeta.d.ts +1 -1
  11. package/dist/features/card/postCardMeta.d.ts +1 -1
  12. package/dist/features/chat/messageBubbleMeta.d.ts +1 -1
  13. package/dist/features/dialog/dialogMeta.d.ts +2 -2
  14. package/dist/features/gradient/gradientMeta.d.ts +1 -1
  15. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
  16. package/dist/features/layout/gridMeta.d.ts +1 -1
  17. package/dist/features/layout/screenMeta.d.ts +1 -1
  18. package/dist/features/layout/scrollViewMeta.d.ts +1 -1
  19. package/dist/features/layout/viewMeta.d.ts +1 -1
  20. package/dist/features/list/flatListMeta.d.ts +1 -1
  21. package/dist/features/list/sectionListMeta.d.ts +1 -1
  22. package/dist/features/reader/adapters/inbound/Reader.d.ts +9 -0
  23. package/dist/features/reader/adapters/inbound/Reader.d.ts.map +1 -0
  24. package/dist/features/reader/adapters/inbound/{ReaderSurface.js → Reader.js} +33 -9
  25. package/dist/features/reader/adapters/inbound/Reader.js.map +1 -0
  26. package/dist/features/reader/composition/useReaderController.d.ts +24 -0
  27. package/dist/features/reader/composition/useReaderController.d.ts.map +1 -0
  28. package/dist/features/reader/composition/useReaderController.js +73 -0
  29. package/dist/features/reader/composition/useReaderController.js.map +1 -0
  30. package/dist/features/reader/meta.d.ts +5 -9
  31. package/dist/features/reader/meta.d.ts.map +1 -1
  32. package/dist/features/reader/meta.js +3 -7
  33. package/dist/features/reader/meta.js.map +1 -1
  34. package/dist/features/reader/public.d.ts +2 -2
  35. package/dist/features/reader/public.d.ts.map +1 -1
  36. package/dist/features/reader/public.js +1 -1
  37. package/dist/features/reader/public.js.map +1 -1
  38. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +2 -2
  39. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -1
  40. package/dist/features/registry/bindableComponentMeta.d.ts +5 -9
  41. package/dist/features/registry/bindableComponentMeta.d.ts.map +1 -1
  42. package/dist/features/registry/bindableComponentMeta.js +4 -4
  43. package/dist/features/registry/bindableComponentMeta.js.map +1 -1
  44. package/dist/features/registry/componentMeta.js +2 -2
  45. package/dist/features/registry/componentMeta.js.map +1 -1
  46. package/dist/features/scanner/meta.d.ts +2 -2
  47. package/dist/features/section/screenSectionMeta.d.ts +1 -1
  48. package/dist/features/surface/surfaceMeta.d.ts +1 -1
  49. package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
  50. package/dist/index.d.ts +2 -2
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +1 -1
  53. package/dist/index.js.map +1 -1
  54. package/dist/types/reader.d.ts +3 -21
  55. package/dist/types/reader.d.ts.map +1 -1
  56. package/dist/types/reader.js.map +1 -1
  57. package/package.json +4 -3
  58. package/src/constants/authoring.ts +1 -1
  59. package/src/features/reader/adapters/inbound/{ReaderSurface.test.ts → Reader.test.ts} +6 -5
  60. package/src/features/reader/adapters/inbound/{ReaderSurface.tsx → Reader.tsx} +67 -33
  61. package/src/features/reader/composition/useReaderController.ts +110 -0
  62. package/src/features/reader/meta.ts +3 -8
  63. package/src/features/reader/public.ts +2 -2
  64. package/src/features/reader/utils/resolveReaderProgress.test.ts +1 -1
  65. package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +2 -2
  66. package/src/features/registry/bindableComponentMeta.test.ts +2 -2
  67. package/src/features/registry/bindableComponentMeta.ts +4 -4
  68. package/src/features/registry/componentMeta.test.ts +5 -5
  69. package/src/features/registry/componentMeta.ts +2 -2
  70. package/src/index.ts +2 -2
  71. package/src/interactionPolicy.test.ts +3 -3
  72. package/src/showcaseCoverage.test.ts +1 -1
  73. package/src/types/reader.ts +16 -29
  74. package/web-dist/chunks/{Accordion-ct805sm7.js → Accordion-0acrkcyd.js} +3 -3
  75. package/web-dist/chunks/{Accordion-m4brcz8v.js → Accordion-122fdtp0.js} +6 -6
  76. package/web-dist/chunks/{Accordion-6xrse5my.js → Accordion-1dah5bqg.js} +1 -1
  77. package/web-dist/chunks/{Accordion-yae3m7g7.js → Accordion-2afa2z5x.js} +4 -4
  78. package/web-dist/chunks/{Accordion-0047zyx7.js → Accordion-2bsecqwf.js} +4 -4
  79. package/web-dist/chunks/{Accordion-basd2gyf.js → Accordion-2csc57rv.js} +2 -2
  80. package/web-dist/chunks/{Accordion-73x0gt11.js → Accordion-2d3hbryv.js} +7 -7
  81. package/web-dist/chunks/{Accordion-8fne0gf9.js → Accordion-2q6p67xe.js} +5 -5
  82. package/web-dist/chunks/{Accordion-axxgq453.js → Accordion-3f5vnfk8.js} +7 -7
  83. package/web-dist/chunks/{Accordion-gkx1kszz.js → Accordion-3hg1wprb.js} +2 -2
  84. package/web-dist/chunks/{Accordion-d24n7srd.js → Accordion-3rv8psbv.js} +4 -4
  85. package/web-dist/chunks/{Accordion-8z7naxj2.js → Accordion-74rt38d4.js} +1 -1
  86. package/web-dist/chunks/{Accordion-2dqpjya2.js → Accordion-7bb37pdc.js} +7 -7
  87. package/web-dist/chunks/{Accordion-adc7k14q.js → Accordion-7q1qf7c0.js} +5 -5
  88. package/web-dist/chunks/{Accordion-zgzrah0a.js → Accordion-7rvtpcwt.js} +6 -6
  89. package/web-dist/chunks/{Accordion-a1ervhyg.js → Accordion-9rhbc32v.js} +14 -14
  90. package/web-dist/chunks/{Accordion-37n4bt3g.js → Accordion-ae7m1dkn.js} +2 -2
  91. package/web-dist/chunks/{Accordion-ekjwm5dw.js → Accordion-ansfkmye.js} +4 -4
  92. package/web-dist/chunks/{Accordion-qyssgtwe.js → Accordion-apwk2wjr.js} +2 -2
  93. package/web-dist/chunks/{Accordion-vjgk1sz7.js → Accordion-avnt7nkz.js} +2 -2
  94. package/web-dist/chunks/{Accordion-wxbh98kp.js → Accordion-brt4drx3.js} +9 -9
  95. package/web-dist/chunks/{Accordion-6ytrt7xj.js → Accordion-cs8k948c.js} +6 -6
  96. package/web-dist/chunks/{Accordion-693gvpde.js → Accordion-egq42kdy.js} +4 -4
  97. package/web-dist/chunks/{Accordion-8bxy3g7a.js → Accordion-fvkwq99h.js} +4 -4
  98. package/web-dist/chunks/{Accordion-mbqtk7y0.js → Accordion-g0c439br.js} +2 -2
  99. package/web-dist/chunks/{Accordion-3m6de80j.js → Accordion-h46676ex.js} +2 -2
  100. package/web-dist/chunks/{Accordion-7y9wt946.js → Accordion-hwd5ntgm.js} +2 -2
  101. package/web-dist/chunks/{Accordion-k6dg8zd2.js → Accordion-jdwwf626.js} +3 -3
  102. package/web-dist/chunks/{Accordion-q9zge7kd.js → Accordion-jkhq422b.js} +2 -2
  103. package/web-dist/chunks/{Accordion-p0fh69qq.js → Accordion-jtrpmvzs.js} +6 -6
  104. package/web-dist/chunks/{Accordion-tdjh81ax.js → Accordion-k8tfv274.js} +6 -6
  105. package/web-dist/chunks/{Accordion-1xpq9bxk.js → Accordion-kcwdwd5z.js} +8 -8
  106. package/web-dist/chunks/{Accordion-v4n4ygwn.js → Accordion-kpap0trj.js} +1 -1
  107. package/web-dist/chunks/{Accordion-rmp9sfra.js → Accordion-kpxyryke.js} +2 -2
  108. package/web-dist/chunks/{Accordion-wgesygtk.js → Accordion-mdc214tk.js} +11 -11
  109. package/web-dist/chunks/{Accordion-nkd7nhyx.js → Accordion-nanvzve9.js} +5 -5
  110. package/web-dist/chunks/{Accordion-ph15h010.js → Accordion-nay7yexy.js} +11 -11
  111. package/web-dist/chunks/{Accordion-9qvmwkxe.js → Accordion-nh0cs9hq.js} +31 -1
  112. package/web-dist/chunks/{Accordion-snyacfyh.js → Accordion-nj9g6p48.js} +9 -9
  113. package/web-dist/chunks/{Accordion-dbxpv5eq.js → Accordion-q1mnv5g8.js} +4 -4
  114. package/web-dist/chunks/{Accordion-1e1nfhtc.js → Accordion-qj4qxx1p.js} +6 -6
  115. package/web-dist/chunks/{Accordion-bz2dzbad.js → Accordion-qsxx5q34.js} +10 -10
  116. package/web-dist/chunks/{Accordion-ancjf7q8.js → Accordion-rg763dfb.js} +4 -4
  117. package/web-dist/chunks/{Accordion-g2d4fskg.js → Accordion-rkt7qdmj.js} +2 -2
  118. package/web-dist/chunks/{Accordion-pvz3r99n.js → Accordion-sek2q4r1.js} +1 -1
  119. package/web-dist/chunks/{Accordion-0yhkg017.js → Accordion-sxfqnnx6.js} +10 -10
  120. package/web-dist/chunks/{Accordion-wytj5wwc.js → Accordion-sxzax4x4.js} +4 -4
  121. package/web-dist/chunks/{Accordion-e2kr1z3g.js → Accordion-t3hm5tcv.js} +6 -6
  122. package/web-dist/chunks/{Accordion-0yvepteg.js → Accordion-vewrj1kr.js} +6 -6
  123. package/web-dist/chunks/Accordion-vgkvvdvg.js +4295 -0
  124. package/web-dist/chunks/{Accordion-kxa15n19.js → Accordion-x3tphbvw.js} +1 -1
  125. package/web-dist/chunks/{Accordion-ebw6xj6x.js → Accordion-x5v1p4df.js} +5 -5
  126. package/web-dist/chunks/{Accordion-70g7n6tk.js → Accordion-y2eyyqrk.js} +9 -9
  127. package/web-dist/chunks/ReadiumCSS-after.css-2389epxb.js +477 -0
  128. package/web-dist/chunks/ReadiumCSS-after.css-8se5z2w3.js +492 -0
  129. package/web-dist/chunks/ReadiumCSS-after.css-x15y26r7.js +532 -0
  130. package/web-dist/chunks/ReadiumCSS-after.css-z23c32jh.js +594 -0
  131. package/web-dist/chunks/ReadiumCSS-before.css-1t98py7y.js +531 -0
  132. package/web-dist/chunks/ReadiumCSS-before.css-hszzyv5p.js +531 -0
  133. package/web-dist/chunks/ReadiumCSS-before.css-mjvegqjq.js +532 -0
  134. package/web-dist/chunks/ReadiumCSS-before.css-pnpxcrwx.js +531 -0
  135. package/web-dist/chunks/ReadiumCSS-default.css-8gxjy9na.js +185 -0
  136. package/web-dist/chunks/ReadiumCSS-default.css-m8ts96nj.js +182 -0
  137. package/web-dist/chunks/ReadiumCSS-default.css-rg94gstv.js +164 -0
  138. package/web-dist/chunks/ReadiumCSS-default.css-y8p5hk56.js +164 -0
  139. package/web-dist/chunks/ReadiumCSS-ebpaj_fonts_patch.css-50yy1az9.js +84 -0
  140. package/web-dist/chunks/zip-reader-f0yphjb9.js +103 -0
  141. package/web-dist/components/accordion/Accordion.js +12 -12
  142. package/web-dist/components/accordion-item/AccordionItem.js +12 -12
  143. package/web-dist/components/activity-indicator/ActivityIndicator.js +4 -4
  144. package/web-dist/components/app-bar/AppBar.js +19 -19
  145. package/web-dist/components/app-header/AppHeader.js +19 -19
  146. package/web-dist/components/app-shell/AppShell.js +6 -6
  147. package/web-dist/components/auth-screen/AuthScreen.js +21 -21
  148. package/web-dist/components/avatar/Avatar.js +12 -12
  149. package/web-dist/components/avatar-group/AvatarGroup.js +12 -12
  150. package/web-dist/components/badge/Badge.js +7 -7
  151. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +20 -20
  152. package/web-dist/components/bottom-sheet/BottomSheet.js +8 -8
  153. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +8 -8
  154. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +8 -8
  155. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +8 -8
  156. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +8 -8
  157. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +8 -8
  158. package/web-dist/components/breadcrumbs/Breadcrumbs.js +14 -14
  159. package/web-dist/components/button/Button.js +12 -12
  160. package/web-dist/components/button-group/ButtonGroup.js +12 -12
  161. package/web-dist/components/camera-permission-view/CameraPermissionView.js +20 -20
  162. package/web-dist/components/card/Card.js +19 -19
  163. package/web-dist/components/card-back/CardBack.js +4 -4
  164. package/web-dist/components/card-hand/CardHand.js +4 -4
  165. package/web-dist/components/chat-list-item/ChatListItem.js +16 -16
  166. package/web-dist/components/checkbox/Checkbox.js +12 -12
  167. package/web-dist/components/checkbox-group/CheckboxGroup.js +12 -12
  168. package/web-dist/components/chess-board/ChessBoard.js +4 -4
  169. package/web-dist/components/chip/Chip.js +13 -13
  170. package/web-dist/components/chip-group/ChipGroup.js +13 -13
  171. package/web-dist/components/collection-editor/CollectionEditor.js +19 -19
  172. package/web-dist/components/content-rail/ContentRail.js +14 -14
  173. package/web-dist/components/data-table/DataTable.js +27 -27
  174. package/web-dist/components/date-picker/DatePicker.js +17 -17
  175. package/web-dist/components/dialog/Dialog.js +12 -12
  176. package/web-dist/components/divider/Divider.js +6 -6
  177. package/web-dist/components/empty-state/EmptyState.js +20 -20
  178. package/web-dist/components/field/Field.js +12 -12
  179. package/web-dist/components/flat-list/FlatList.js +13 -13
  180. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +21 -21
  181. package/web-dist/components/form/Form.js +16 -16
  182. package/web-dist/components/form-actions/FormActions.js +16 -16
  183. package/web-dist/components/form-error/FormError.js +16 -16
  184. package/web-dist/components/game/Game.js +7 -7
  185. package/web-dist/components/game-entity/GameEntity.js +7 -7
  186. package/web-dist/components/game-field/GameField.js +7 -7
  187. package/web-dist/components/game-input-zone/GameInputZone.js +7 -7
  188. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +7 -7
  189. package/web-dist/components/game-overlay/GameOverlay.js +7 -7
  190. package/web-dist/components/gradient/Gradient.js +7 -7
  191. package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +7 -7
  192. package/web-dist/components/graph-view/GraphView.js +1 -1
  193. package/web-dist/components/grid/Grid.js +6 -6
  194. package/web-dist/components/heading/Heading.js +6 -6
  195. package/web-dist/components/hero/Hero.js +19 -19
  196. package/web-dist/components/icon/Icon.js +4 -4
  197. package/web-dist/components/icon-button/IconButton.js +12 -12
  198. package/web-dist/components/image/Image.js +10 -10
  199. package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +3 -3
  200. package/web-dist/components/list/List.js +13 -13
  201. package/web-dist/components/list-item/ListItem.js +13 -13
  202. package/web-dist/components/list-section/ListSection.js +13 -13
  203. package/web-dist/components/media-card/MediaCard.js +19 -19
  204. package/web-dist/components/message-bubble/MessageBubble.js +16 -16
  205. package/web-dist/components/metric-card/MetricCard.js +19 -19
  206. package/web-dist/components/missing-element/MissingElement.js +12 -12
  207. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +21 -21
  208. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +21 -21
  209. package/web-dist/components/opening-book/OpeningBook.js +4 -4
  210. package/web-dist/components/otp-form/OtpForm.js +21 -21
  211. package/web-dist/components/pagination/Pagination.js +13 -13
  212. package/web-dist/components/palette-item/PaletteItem.js +19 -19
  213. package/web-dist/components/playing-card/PlayingCard.js +4 -4
  214. package/web-dist/components/poker-training-table/PokerTrainingTable.js +4 -4
  215. package/web-dist/components/popover-menu/PopoverMenu.js +14 -14
  216. package/web-dist/components/post-card/PostCard.js +19 -19
  217. package/web-dist/components/product-card/ProductCard.js +19 -19
  218. package/web-dist/components/progress/Progress.js +10 -10
  219. package/web-dist/components/progress-ring/ProgressRing.js +10 -10
  220. package/web-dist/components/radio/Radio.js +14 -14
  221. package/web-dist/components/radio-group/RadioGroup.js +14 -14
  222. package/web-dist/components/rating/Rating.js +9 -9
  223. package/web-dist/components/reader/Reader.d.ts +3 -0
  224. package/web-dist/components/reader/Reader.js +38562 -0
  225. package/web-dist/components/reader/index.d.ts +1 -0
  226. package/web-dist/components/reader/index.js +2 -0
  227. package/web-dist/components/scan-overlay/ScanOverlay.js +20 -20
  228. package/web-dist/components/screen/Screen.js +6 -6
  229. package/web-dist/components/screen-section/ScreenSection.js +10 -10
  230. package/web-dist/components/scroll-view/ScrollView.js +6 -6
  231. package/web-dist/components/search-input/SearchInput.js +13 -13
  232. package/web-dist/components/section-header/SectionHeader.js +10 -10
  233. package/web-dist/components/section-list/SectionList.js +13 -13
  234. package/web-dist/components/select/Select.js +16 -16
  235. package/web-dist/components/selectable-item/SelectableItem.js +6 -6
  236. package/web-dist/components/selection-provider/SelectionProvider.js +6 -6
  237. package/web-dist/components/sign-in-form/SignInForm.js +21 -21
  238. package/web-dist/components/sign-up-form/SignUpForm.js +21 -21
  239. package/web-dist/components/skeleton/Skeleton.js +22 -22
  240. package/web-dist/components/skeleton-card/SkeletonCard.js +22 -22
  241. package/web-dist/components/skeleton-list/SkeletonList.js +22 -22
  242. package/web-dist/components/skeleton-text/SkeletonText.js +22 -22
  243. package/web-dist/components/surface/Surface.js +7 -7
  244. package/web-dist/components/switch/Switch.js +7 -7
  245. package/web-dist/components/tab/Tab.js +7 -7
  246. package/web-dist/components/tab-list/TabList.js +7 -7
  247. package/web-dist/components/tab-panel/TabPanel.js +7 -7
  248. package/web-dist/components/tabletop-table/TabletopTable.js +4 -4
  249. package/web-dist/components/tabs/Tabs.js +7 -7
  250. package/web-dist/components/text/Text.js +6 -6
  251. package/web-dist/components/text-input/TextInput.js +13 -13
  252. package/web-dist/components/time-picker/TimePicker.js +18 -18
  253. package/web-dist/components/timeline/Timeline.js +11 -11
  254. package/web-dist/components/toast/Toast.js +9 -9
  255. package/web-dist/components/toast-provider/ToastProvider.js +9 -9
  256. package/web-dist/components/toolbar/Toolbar.js +19 -19
  257. package/web-dist/components/tree-item/TreeItem.js +18 -18
  258. package/web-dist/components/uploader/Uploader.js +22 -22
  259. package/web-dist/components/view/View.js +6 -6
  260. package/web-dist/manifest.json +1615 -1601
  261. package/web-dist/runtime/ZoraProvider.js +9 -9
  262. package/dist/features/reader/adapters/inbound/ReaderSurface.d.ts +0 -11
  263. package/dist/features/reader/adapters/inbound/ReaderSurface.d.ts.map +0 -1
  264. package/dist/features/reader/adapters/inbound/ReaderSurface.js.map +0 -1
  265. package/web-dist/components/reader-surface/ReaderSurface.d.ts +0 -3
  266. package/web-dist/components/reader-surface/ReaderSurface.js +0 -360
  267. package/web-dist/components/reader-surface/index.d.ts +0 -1
  268. package/web-dist/components/reader-surface/index.js +0 -2
@@ -5,7 +5,7 @@ import {
5
5
  } from "./Accordion-bfzeab9x.js";
6
6
  import {
7
7
  useZoraTheme2
8
- } from "./Accordion-6xrse5my.js";
8
+ } from "./Accordion-1dah5bqg.js";
9
9
 
10
10
  // src/features/theme/utils/resolveZoraThemeRecipe.ts
11
11
  function resolveZoraThemeRecipe(theme, meta) {
@@ -2,19 +2,19 @@
2
2
  import {
3
3
  require_cjs,
4
4
  useZoraThemeRuntime
5
- } from "./Accordion-pvz3r99n.js";
5
+ } from "./Accordion-sek2q4r1.js";
6
6
  import {
7
7
  withZoraThemeScope
8
- } from "./Accordion-8z7naxj2.js";
8
+ } from "./Accordion-74rt38d4.js";
9
9
  import {
10
10
  View2
11
- } from "./Accordion-0yvepteg.js";
11
+ } from "./Accordion-vewrj1kr.js";
12
12
  import {
13
13
  useZoraTheme2
14
- } from "./Accordion-6xrse5my.js";
14
+ } from "./Accordion-1dah5bqg.js";
15
15
  import {
16
16
  __toESM
17
- } from "./Accordion-9qvmwkxe.js";
17
+ } from "./Accordion-nh0cs9hq.js";
18
18
 
19
19
  // node_modules/@ankhorage/surface/src/features/bottom-sheet/BottomSheetFlatList.web.tsx
20
20
  var import_react_native = __toESM(require_cjs());
@@ -1,31 +1,31 @@
1
1
  'use client';
2
2
  import {
3
3
  require_cjs
4
- } from "./Accordion-pvz3r99n.js";
4
+ } from "./Accordion-sek2q4r1.js";
5
5
  import {
6
6
  Button2
7
- } from "./Accordion-snyacfyh.js";
7
+ } from "./Accordion-nj9g6p48.js";
8
8
  import {
9
9
  withZoraThemeScope
10
- } from "./Accordion-8z7naxj2.js";
10
+ } from "./Accordion-74rt38d4.js";
11
11
  import {
12
12
  View2
13
- } from "./Accordion-0yvepteg.js";
13
+ } from "./Accordion-vewrj1kr.js";
14
14
  import {
15
15
  Card2
16
- } from "./Accordion-a1ervhyg.js";
16
+ } from "./Accordion-9rhbc32v.js";
17
17
  import {
18
18
  Text3
19
- } from "./Accordion-e2kr1z3g.js";
19
+ } from "./Accordion-t3hm5tcv.js";
20
20
  import {
21
21
  Badge2
22
- } from "./Accordion-d24n7srd.js";
22
+ } from "./Accordion-3rv8psbv.js";
23
23
  import {
24
24
  useZoraTheme2
25
- } from "./Accordion-6xrse5my.js";
25
+ } from "./Accordion-1dah5bqg.js";
26
26
  import {
27
27
  __toESM
28
- } from "./Accordion-9qvmwkxe.js";
28
+ } from "./Accordion-nh0cs9hq.js";
29
29
 
30
30
  // src/features/scanner/adapters/inbound/CameraPermissionView.tsx
31
31
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -0,0 +1,477 @@
1
+ 'use client';
2
+ // node_modules/@readium/navigator/dist/node_modules/.pnpm/@readium_css@2.0.5/node_modules/@readium/css/css/dist/cjk-vertical/ReadiumCSS-after.css.js
3
+ var n = `/*!
4
+ * Readium CSS v.2.0.5
5
+ * Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
6
+ * Use of this source code is governed by a BSD-style license which is detailed in the
7
+ * LICENSE file present in the project repository where this source code is maintained.
8
+ * Core maintainer: Jiminy Panoz <jiminy.panoz@edrlab.org>
9
+ * Contributors:
10
+ * Daniel Weck
11
+ * Hadrien Gardeur
12
+ * Innovimax
13
+ * L. Le Meur
14
+ * Mickaël Menu
15
+ * k_taka
16
+ */
17
+
18
+ @namespace url("http://www.w3.org/1999/xhtml");
19
+
20
+ @namespace epub url("http://www.idpf.org/2007/ops");
21
+
22
+ @namespace m url("http://www.w3.org/1998/Math/MathML");
23
+
24
+ @namespace svg url("http://www.w3.org/2000/svg");
25
+
26
+ :root{
27
+
28
+ --RS__viewportWidth:100%;
29
+
30
+ --RS__pageGutter:0;
31
+
32
+ --RS__defaultLineLength:100%;
33
+
34
+ --RS__colGap:0;
35
+
36
+ --RS__colCount:1;
37
+
38
+ --RS__colWidth:100vw;
39
+ }
40
+
41
+ @page{
42
+ margin:0 !important;
43
+ }
44
+
45
+ :root{
46
+ position:relative;
47
+
48
+ -webkit-column-width:var(--RS__colWidth);
49
+ -moz-column-width:var(--RS__colWidth);
50
+ column-width:var(--RS__colWidth);
51
+ -webkit-column-count:var(--RS__colCount);
52
+ -moz-column-count:var(--RS__colCount);
53
+ column-count:var(--RS__colCount);
54
+
55
+ -webkit-column-gap:var(--RS__colGap);
56
+ -moz-column-gap:var(--RS__colGap);
57
+ column-gap:var(--RS__colGap);
58
+ -moz-column-fill:auto;
59
+ column-fill:auto;
60
+ width:100%;
61
+ height:100vh;
62
+ max-width:100%;
63
+ max-height:100vh;
64
+ min-width:100%;
65
+ min-height:100vh;
66
+ padding:0 !important;
67
+ margin:0 !important;
68
+ font-size:1rem !important;
69
+ box-sizing:border-box;
70
+
71
+ hanging-punctuation:last allow-end;
72
+ -webkit-touch-callout:none;
73
+ -ms-writing-mode:tb-rl;
74
+ -webkit-writing-mode:vertical-rl;
75
+ writing-mode:vertical-rl;
76
+ }
77
+
78
+ :root:lang(mn-Mong){
79
+ -ms-writing-mode:tb;
80
+ -webkit-writing-mode:vertical-lr;
81
+ writing-mode:vertical-lr;
82
+ }
83
+
84
+ body{
85
+ width:100%;
86
+ max-height:var(--RS__defaultLineLength) !important;
87
+ margin:auto 0 !important;
88
+ box-sizing:border-box;
89
+ }
90
+
91
+ :root:not([style*="readium-scroll-on"]) body{
92
+ padding:var(--RS__pageGutter) 0 !important;
93
+ }
94
+
95
+ :root:not([style*="readium-noOverflow-on"]) body{
96
+ overflow:hidden;
97
+ }
98
+
99
+ @supports (overflow: clip){
100
+
101
+ :root:not([style*="readium-noOverflow-on"]){
102
+ overflow:clip;
103
+ }
104
+
105
+ :root:not([style*="readium-noOverflow-on"]) body{
106
+ overflow:clip;
107
+ overflow-clip-margin:content-box;
108
+ }
109
+ }
110
+
111
+ :root[style*="readium-scroll-on"],
112
+ :root[style*="readium-noVerticalPagination-on"]{
113
+ -webkit-columns:auto auto !important;
114
+ -moz-columns:auto auto !important;
115
+ columns:auto auto !important;
116
+ width:auto !important;
117
+ max-width:none !important;
118
+ max-height:100vh !important;
119
+ min-width:0 !important;
120
+ }
121
+
122
+ :root[style*="readium-scroll-on"] body,
123
+ :root[style*="readium-noVerticalPagination-on"] body{
124
+ max-width:var(--RS__defaultLineLength) !important;
125
+ box-sizing:border-box !important;
126
+ }
127
+
128
+ @supports (overflow: clip){
129
+
130
+ :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]){
131
+ overflow:auto;
132
+ }
133
+
134
+ :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]) body{
135
+ overflow:clip;
136
+ }
137
+ }
138
+
139
+ :root[style*="readium-scroll-on"][style*="--RS__scrollPaddingTop"] body{
140
+ padding-top:var(--RS__scrollPaddingTop) !important;
141
+ }
142
+
143
+ :root[style*="readium-scroll-on"][style*="--RS__scrollPaddingBottom"] body{
144
+ padding-bottom:var(--RS__scrollPaddingBottom) !important;
145
+ }
146
+
147
+ :root[style*="readium-scroll-on"][style*="--RS__scrollPaddingLeft"] body{
148
+ padding-left:var(--RS__scrollPaddingLeft) !important;
149
+ }
150
+
151
+ :root[style*="readium-scroll-on"][style*="--RS__scrollPaddingRight"] body{
152
+ padding-right:var(--RS__scrollPaddingRight) !important;
153
+ }
154
+
155
+ :root[style*="--USER__backgroundColor"]{
156
+ background-color:var(--USER__backgroundColor) !important;
157
+ }
158
+
159
+ :root[style*="--USER__backgroundColor"] *{
160
+ background-color:transparent !important;
161
+ }
162
+
163
+ :root[style*="--USER__textColor"]{
164
+ color:var(--USER__textColor) !important;
165
+ }
166
+
167
+ :root[style*="--USER__textColor"] *:not(a){
168
+ color:inherit !important;
169
+ background-color:transparent !important;
170
+ border-color:currentcolor !important;
171
+ }
172
+
173
+ :root[style*="--USER__textColor"] svg text{
174
+ fill:currentcolor !important;
175
+ stroke:none !important;
176
+ }
177
+
178
+ :root[style*="--USER__linkColor"] a:link,
179
+ :root[style*="--USER__linkColor"] a:link *{
180
+ color:var(--USER__linkColor) !important;
181
+ }
182
+
183
+ :root[style*="--USER__visitedColor"] a:visited,
184
+ :root[style*="--USER__visitedColor"] a:visited *{
185
+ color:var(--USER__visitedColor) !important;
186
+ }
187
+
188
+ :root[style*="--USER__selectionBackgroundColor"][style*="--USER__selectionTextColor"] ::-moz-selection{
189
+ color:var(--USER__selectionTextColor) !important;
190
+ background-color:var(--USER__selectionBackgroundColor) !important;
191
+ }
192
+
193
+ :root[style*="--USER__selectionBackgroundColor"][style*="--USER__selectionTextColor"] ::selection{
194
+ color:var(--USER__selectionTextColor) !important;
195
+ background-color:var(--USER__selectionBackgroundColor) !important;
196
+ }
197
+
198
+ :root[style*="--USER__lineLength"] body{
199
+ max-height:var(--USER__lineLength) !important;
200
+ }
201
+
202
+ :root[style*="--USER__fontFamily"]{
203
+ font-family:var(--USER__fontFamily) !important;
204
+ }
205
+
206
+ :root[style*="--USER__fontFamily"] *{
207
+ font-family:revert !important;
208
+ }
209
+
210
+ :root:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] body{
211
+ zoom:var(--USER__fontSize) !important;
212
+ }
213
+
214
+ :root:not([style*="readium-deprecatedFontSize-on"])[style*="readium-iOSPatch-on"][style*="--USER__fontSize"] body{
215
+ -webkit-text-size-adjust:var(--USER__fontSize) !important;
216
+ }
217
+
218
+ @supports selector(figure:has(> img)){
219
+
220
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> img),
221
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> video),
222
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> svg),
223
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> canvas),
224
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> iframe),
225
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> audio),
226
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> img:only-child),
227
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> video:only-child),
228
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> svg:only-child),
229
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> canvas:only-child),
230
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> iframe:only-child),
231
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> audio:only-child),
232
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] table{
233
+ zoom:calc(100% / var(--USER__fontSize)) !important;
234
+ }
235
+
236
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figcaption,
237
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] caption,
238
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] td,
239
+ :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] th{
240
+ zoom:var(--USER__fontSize) !important;
241
+ }
242
+ }
243
+
244
+ @supports not (zoom: 1){
245
+
246
+ :root[style*="--USER__fontSize"]{
247
+ font-size:var(--USER__fontSize) !important;
248
+ }
249
+ }
250
+
251
+ :root[style*="readium-deprecatedFontSize-on"][style*="--USER__fontSize"]{
252
+ font-size:var(--USER__fontSize) !important;
253
+ }
254
+
255
+ :root[style*="--USER__lineHeight"]{
256
+ line-height:var(--USER__lineHeight) !important;
257
+ }
258
+
259
+ :root[style*="--USER__lineHeight"] body,
260
+ :root[style*="--USER__lineHeight"] p,
261
+ :root[style*="--USER__lineHeight"] li,
262
+ :root[style*="--USER__lineHeight"] div{
263
+ line-height:var(--USER__lineHeight) !important;
264
+ }
265
+
266
+ :root[style*="--USER__paraSpacing"] p{
267
+ margin-right:var(--USER__paraSpacing) !important;
268
+ margin-left:var(--USER__paraSpacing) !important;
269
+ }
270
+
271
+ :root[style*="--USER__fontWeight"] body{
272
+ font-weight:var(--USER__fontWeight) !important;
273
+ }
274
+
275
+ :root[style*="--USER__fontWeight"] b,
276
+ :root[style*="--USER__fontWeight"] strong{
277
+ font-weight:bolder;
278
+ }
279
+
280
+ :root[style*="--USER__fontWidth"] body{
281
+ font-stretch:var(--USER__fontWidth) !important;
282
+ }
283
+
284
+ :root[style*="--USER__fontOpticalSizing"] body{
285
+ font-optical-sizing:var(--USER__fontOpticalSizing) !important;
286
+ }
287
+
288
+ :root[style*="--USER__letterSpacing"] h1,
289
+ :root[style*="--USER__letterSpacing"] h2,
290
+ :root[style*="--USER__letterSpacing"] h3,
291
+ :root[style*="--USER__letterSpacing"] h4,
292
+ :root[style*="--USER__letterSpacing"] h5,
293
+ :root[style*="--USER__letterSpacing"] h6,
294
+ :root[style*="--USER__letterSpacing"] p,
295
+ :root[style*="--USER__letterSpacing"] li,
296
+ :root[style*="--USER__letterSpacing"] div,
297
+ :root[style*="--USER__letterSpacing"] dt,
298
+ :root[style*="--USER__letterSpacing"] dd{
299
+ letter-spacing:var(--USER__letterSpacing) !important;
300
+ font-variant:none !important;
301
+ }
302
+
303
+ :root[style*="readium-noRuby-on"] body rt,
304
+ :root[style*="readium-noRuby-on"] body rp{
305
+ display:none;
306
+ }
307
+
308
+ :root[style*="readium-blend-on"] svg,
309
+ :root[style*="readium-blend-on"] img{
310
+ background-color:transparent !important;
311
+ mix-blend-mode:multiply !important;
312
+ }
313
+
314
+ :root[style*="--USER__darkenImages"] img{
315
+ -webkit-filter:brightness(var(--USER__darkenImages)) !important;
316
+ filter:brightness(var(--USER__darkenImages)) !important;
317
+ }
318
+
319
+ :root[style*="readium-darken-on"] img{
320
+ -webkit-filter:brightness(80%) !important;
321
+ filter:brightness(80%) !important;
322
+ }
323
+
324
+ :root[style*="--USER__invertImages"] img{
325
+ -webkit-filter:invert(var(--USER__invertImages)) !important;
326
+ filter:invert(var(--USER__invertImages)) !important;
327
+ }
328
+
329
+ :root[style*="readium-invert-on"] img{
330
+ -webkit-filter:invert(100%) !important;
331
+ filter:invert(100%) !important;
332
+ }
333
+
334
+ :root[style*="--USER__darkenImages"][style*="--USER__invertImages"] img{
335
+ -webkit-filter:brightness(var(--USER__darkenImages)) invert(var(--USER__invertImages)) !important;
336
+ filter:brightness(var(--USER__darkenImages)) invert(var(--USER__invertImages)) !important;
337
+ }
338
+
339
+ :root[style*="readium-darken-on"][style*="--USER__invertImages"] img{
340
+ -webkit-filter:brightness(80%) invert(var(--USER__invertImages)) !important;
341
+ filter:brightness(80%) invert(var(--USER__invertImages)) !important;
342
+ }
343
+
344
+ :root[style*="--USER__darkenImages"][style*="readium-invert-on"] img{
345
+ -webkit-filter:brightness(var(--USER__darkenImages)) invert(100%) !important;
346
+ filter:brightness(var(--USER__darkenImages)) invert(100%) !important;
347
+ }
348
+
349
+ :root[style*="readium-darken-on"][style*="readium-invert-on"] img{
350
+ -webkit-filter:brightness(80%) invert(100%) !important;
351
+ filter:brightness(80%) invert(100%) !important;
352
+ }
353
+
354
+ :root[style*="--USER__invertGaiji"] img[class*="gaiji"]{
355
+ -webkit-filter:invert(var(--USER__invertGaiji)) !important;
356
+ filter:invert(var(--USER__invertGaiji)) !important;
357
+ }
358
+
359
+ :root[style*="readium-invertGaiji-on"] img[class*="gaiji"]{
360
+ -webkit-filter:invert(100%) !important;
361
+ filter:invert(100%) !important;
362
+ }
363
+
364
+ :root[style*="readium-normalize-on"]{
365
+ --USER__typeScale:1.2;
366
+ }
367
+
368
+ :root[style*="readium-normalize-on"] p,
369
+ :root[style*="readium-normalize-on"] li,
370
+ :root[style*="readium-normalize-on"] div,
371
+ :root[style*="readium-normalize-on"] pre,
372
+ :root[style*="readium-normalize-on"] dd{
373
+ font-size:1rem !important;
374
+ }
375
+
376
+ :root[style*="readium-normalize-on"] h1{
377
+ font-size:1.75rem !important;
378
+ font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
379
+ }
380
+
381
+ :root[style*="readium-normalize-on"] h2{
382
+ font-size:1.5rem !important;
383
+ font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
384
+ }
385
+
386
+ :root[style*="readium-normalize-on"] h3{
387
+ font-size:1.25rem !important;
388
+ font-size:calc(1rem * var(--USER__typeScale)) !important;
389
+ }
390
+
391
+ :root[style*="readium-normalize-on"] h4,
392
+ :root[style*="readium-normalize-on"] h5,
393
+ :root[style*="readium-normalize-on"] h6{
394
+ font-size:1rem !important;
395
+ }
396
+
397
+ :root[style*="readium-normalize-on"] small{
398
+ font-size:smaller !important;
399
+ }
400
+
401
+ :root[style*="readium-normalize-on"] sub,
402
+ :root[style*="readium-normalize-on"] sup{
403
+ font-size:67.5% !important;
404
+ }
405
+
406
+ :root[style*="readium-normalize-on"][style*="--USER__typeScale"] h1{
407
+ font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
408
+ }
409
+
410
+ :root[style*="readium-normalize-on"][style*="--USER__typeScale"] h2{
411
+ font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
412
+ }
413
+
414
+ :root[style*="readium-normalize-on"][style*="--USER__typeScale"] h3{
415
+ font-size:calc(1rem * var(--USER__typeScale)) !important;
416
+ }
417
+
418
+ :root[style*="readium-iPadOSPatch-on"] body{
419
+ -webkit-text-size-adjust:none;
420
+ }
421
+
422
+ :root[style*="readium-iPadOSPatch-on"] p,
423
+ :root[style*="readium-iPadOSPatch-on"] h1,
424
+ :root[style*="readium-iPadOSPatch-on"] h2,
425
+ :root[style*="readium-iPadOSPatch-on"] h3,
426
+ :root[style*="readium-iPadOSPatch-on"] h4,
427
+ :root[style*="readium-iPadOSPatch-on"] h5,
428
+ :root[style*="readium-iPadOSPatch-on"] h6,
429
+ :root[style*="readium-iPadOSPatch-on"] li,
430
+ :root[style*="readium-iPadOSPatch-on"] th,
431
+ :root[style*="readium-iPadOSPatch-on"] td,
432
+ :root[style*="readium-iPadOSPatch-on"] dt,
433
+ :root[style*="readium-iPadOSPatch-on"] dd,
434
+ :root[style*="readium-iPadOSPatch-on"] pre,
435
+ :root[style*="readium-iPadOSPatch-on"] address,
436
+ :root[style*="readium-iPadOSPatch-on"] details,
437
+ :root[style*="readium-iPadOSPatch-on"] summary,
438
+ :root[style*="readium-iPadOSPatch-on"] figcaption,
439
+ :root[style*="readium-iPadOSPatch-on"] div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)),
440
+ :root[style*="readium-iPadOSPatch-on"] aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){
441
+ -webkit-text-zoom:reset;
442
+ }
443
+
444
+ :root[style*="readium-iPadOSPatch-on"] abbr,
445
+ :root[style*="readium-iPadOSPatch-on"] b,
446
+ :root[style*="readium-iPadOSPatch-on"] bdi,
447
+ :root[style*="readium-iPadOSPatch-on"] bdo,
448
+ :root[style*="readium-iPadOSPatch-on"] cite,
449
+ :root[style*="readium-iPadOSPatch-on"] code,
450
+ :root[style*="readium-iPadOSPatch-on"] dfn,
451
+ :root[style*="readium-iPadOSPatch-on"] em,
452
+ :root[style*="readium-iPadOSPatch-on"] i,
453
+ :root[style*="readium-iPadOSPatch-on"] kbd,
454
+ :root[style*="readium-iPadOSPatch-on"] mark,
455
+ :root[style*="readium-iPadOSPatch-on"] q,
456
+ :root[style*="readium-iPadOSPatch-on"] rp,
457
+ :root[style*="readium-iPadOSPatch-on"] rt,
458
+ :root[style*="readium-iPadOSPatch-on"] ruby,
459
+ :root[style*="readium-iPadOSPatch-on"] s,
460
+ :root[style*="readium-iPadOSPatch-on"] samp,
461
+ :root[style*="readium-iPadOSPatch-on"] small,
462
+ :root[style*="readium-iPadOSPatch-on"] span,
463
+ :root[style*="readium-iPadOSPatch-on"] strong,
464
+ :root[style*="readium-iPadOSPatch-on"] sub,
465
+ :root[style*="readium-iPadOSPatch-on"] sup,
466
+ :root[style*="readium-iPadOSPatch-on"] time,
467
+ :root[style*="readium-iPadOSPatch-on"] u,
468
+ :root[style*="readium-iPadOSPatch-on"] var{
469
+ -webkit-text-zoom:normal;
470
+ }
471
+
472
+ :root[style*="readium-iPadOSPatch-on"] p:not(:has(b, cite, em, i, q, s, small, span, strong)):first-line{
473
+ -webkit-text-zoom:normal;
474
+ }`;
475
+ export {
476
+ n as default
477
+ };