@itsmrtr/bunkoshelf 1.1.0 → 1.1.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.
- package/dist/.next/BUILD_ID +1 -1
- package/dist/.next/build-manifest.json +3 -3
- package/dist/.next/prerender-manifest.json +3 -3
- package/dist/.next/required-server-files.json +4 -1
- package/dist/.next/server/app/[lang]/books/page/server-reference-manifest.json +4 -4
- package/dist/.next/server/app/[lang]/books/page.js +9 -8
- package/dist/.next/server/app/[lang]/books/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/books/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/books.meta +2 -2
- package/dist/.next/server/app/[lang]/books.segments/$d$lang/books/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/books.segments/$d$lang/books.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/books.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/books.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/books.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/books.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/books.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/favorites/books/page/server-reference-manifest.json +4 -4
- package/dist/.next/server/app/[lang]/favorites/books/page.js +9 -8
- package/dist/.next/server/app/[lang]/favorites/books/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/favorites/books/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/favorites/books.meta +2 -2
- package/dist/.next/server/app/[lang]/favorites/books.segments/$d$lang/favorites/books/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/favorites/books.segments/$d$lang/favorites/books.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/favorites/books.segments/$d$lang/favorites.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/favorites/books.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/favorites/books.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/favorites/books.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/favorites/books.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/favorites/books.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/favorites/page/server-reference-manifest.json +72 -12
- package/dist/.next/server/app/[lang]/favorites/page.js +13 -12
- package/dist/.next/server/app/[lang]/favorites/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/favorites/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/favorites.meta +2 -2
- package/dist/.next/server/app/[lang]/favorites.segments/$d$lang/favorites/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/favorites.segments/$d$lang/favorites.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/favorites.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/favorites.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/favorites.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/favorites.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/favorites.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/login/page/server-reference-manifest.json +5 -5
- package/dist/.next/server/app/[lang]/login/page.js +9 -8
- package/dist/.next/server/app/[lang]/login/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/login/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/login.meta +2 -2
- package/dist/.next/server/app/[lang]/login.segments/$d$lang/login/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/login.segments/$d$lang/login.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/login.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/login.segments/_full.segment.rsc +3 -3
- package/dist/.next/server/app/[lang]/login.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/login.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/login.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/[series]/page/server-reference-manifest.json +90 -30
- package/dist/.next/server/app/[lang]/manga/[series]/page.js +13 -12
- package/dist/.next/server/app/[lang]/manga/[series]/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/manga/[series]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/manga/[series].meta +2 -2
- package/dist/.next/server/app/[lang]/manga/[series].segments/$d$lang/manga/$d$series/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/[series].segments/$d$lang/manga/$d$series.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/[series].segments/$d$lang/manga.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/[series].segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/[series].segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/[series].segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/[series].segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/[series].segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/page/server-reference-manifest.json +86 -26
- package/dist/.next/server/app/[lang]/manga/page.js +13 -12
- package/dist/.next/server/app/[lang]/manga/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/manga/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/manga/series/page/server-reference-manifest.json +78 -18
- package/dist/.next/server/app/[lang]/manga/series/page.js +13 -12
- package/dist/.next/server/app/[lang]/manga/series/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/manga/series/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/manga/series.meta +2 -2
- package/dist/.next/server/app/[lang]/manga/series.segments/$d$lang/manga/series/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/series.segments/$d$lang/manga/series.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/series.segments/$d$lang/manga.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/series.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/series.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/series.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/series.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/series.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/toread/page/server-reference-manifest.json +78 -18
- package/dist/.next/server/app/[lang]/manga/toread/page.js +13 -12
- package/dist/.next/server/app/[lang]/manga/toread/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/manga/toread/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/manga/toread.meta +2 -2
- package/dist/.next/server/app/[lang]/manga/toread.segments/$d$lang/manga/toread/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/toread.segments/$d$lang/manga/toread.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/toread.segments/$d$lang/manga.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/toread.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/toread.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/toread.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/toread.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/toread.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/volume/[slug]/page/server-reference-manifest.json +102 -42
- package/dist/.next/server/app/[lang]/manga/volume/[slug]/page.js +13 -12
- package/dist/.next/server/app/[lang]/manga/volume/[slug]/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/manga/volume/[slug]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/manga/volume/[slug].meta +2 -2
- package/dist/.next/server/app/[lang]/manga/volume/[slug].segments/$d$lang/manga/volume/$d$slug/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volume/[slug].segments/$d$lang/manga/volume/$d$slug.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volume/[slug].segments/$d$lang/manga/volume.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volume/[slug].segments/$d$lang/manga.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volume/[slug].segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/volume/[slug].segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/volume/[slug].segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volume/[slug].segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volume/[slug].segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/volumes/page/server-reference-manifest.json +78 -18
- package/dist/.next/server/app/[lang]/manga/volumes/page.js +13 -12
- package/dist/.next/server/app/[lang]/manga/volumes/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/manga/volumes/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/manga/volumes.meta +2 -2
- package/dist/.next/server/app/[lang]/manga/volumes.segments/$d$lang/manga/volumes/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volumes.segments/$d$lang/manga/volumes.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volumes.segments/$d$lang/manga.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volumes.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/volumes.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga/volumes.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volumes.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga/volumes.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga.meta +2 -2
- package/dist/.next/server/app/[lang]/manga.segments/$d$lang/manga/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga.segments/$d$lang/manga.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/manga.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/manga.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/page/server-reference-manifest.json +100 -40
- package/dist/.next/server/app/[lang]/page.js +13 -12
- package/dist/.next/server/app/[lang]/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/profile/notifications/page/server-reference-manifest.json +25 -25
- package/dist/.next/server/app/[lang]/profile/notifications/page.js +10 -9
- package/dist/.next/server/app/[lang]/profile/notifications/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/profile/notifications/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/profile/notifications.meta +2 -2
- package/dist/.next/server/app/[lang]/profile/notifications.segments/$d$lang/profile/notifications/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/notifications.segments/$d$lang/profile/notifications.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/notifications.segments/$d$lang/profile.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/notifications.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/profile/notifications.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/profile/notifications.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/notifications.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/notifications.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/profile/page/server-reference-manifest.json +13 -13
- package/dist/.next/server/app/[lang]/profile/page.js +10 -9
- package/dist/.next/server/app/[lang]/profile/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/profile/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/profile/update/page/server-reference-manifest.json +5 -5
- package/dist/.next/server/app/[lang]/profile/update/page.js +10 -11
- package/dist/.next/server/app/[lang]/profile/update/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/profile/update/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/profile/update.meta +2 -2
- package/dist/.next/server/app/[lang]/profile/update.segments/$d$lang/profile/update/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/update.segments/$d$lang/profile/update.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/update.segments/$d$lang/profile.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/update.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/profile/update.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/profile/update.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/update.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile/update.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/profile.meta +2 -2
- package/dist/.next/server/app/[lang]/profile.segments/$d$lang/profile/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile.segments/$d$lang/profile.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/profile.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/profile.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/profile.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/search/page/server-reference-manifest.json +4 -4
- package/dist/.next/server/app/[lang]/search/page.js +9 -8
- package/dist/.next/server/app/[lang]/search/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/search/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/search.meta +2 -2
- package/dist/.next/server/app/[lang]/search.segments/$d$lang/search/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/search.segments/$d$lang/search.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/search.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/search.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/search.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/search.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/search.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/settings/library/page/server-reference-manifest.json +10 -10
- package/dist/.next/server/app/[lang]/settings/library/page.js +10 -9
- package/dist/.next/server/app/[lang]/settings/library/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/settings/library/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/settings/library.meta +2 -2
- package/dist/.next/server/app/[lang]/settings/library.segments/$d$lang/settings/library/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/settings/library.segments/$d$lang/settings/library.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/settings/library.segments/$d$lang/settings.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/settings/library.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/settings/library.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/settings/library.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/settings/library.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/settings/library.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/settings/page/server-reference-manifest.json +9 -9
- package/dist/.next/server/app/[lang]/settings/page.js +10 -9
- package/dist/.next/server/app/[lang]/settings/page.js.nft.json +1 -1
- package/dist/.next/server/app/[lang]/settings/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/[lang]/settings.meta +2 -2
- package/dist/.next/server/app/[lang]/settings.segments/$d$lang/settings/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/settings.segments/$d$lang/settings.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/settings.segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/settings.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang]/settings.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/settings.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang]/settings.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/[lang].meta +2 -2
- package/dist/.next/server/app/[lang].segments/$d$lang/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/[lang].segments/$d$lang.segment.rsc +2 -2
- package/dist/.next/server/app/[lang].segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/[lang].segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/[lang].segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/[lang].segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/_global-error/page.js +3 -3
- package/dist/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/dist/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_global-error.html +1 -1
- package/dist/.next/server/app/_global-error.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found/page.js +3 -3
- package/dist/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_not-found.html +1 -1
- package/dist/.next/server/app/_not-found.rsc +1 -1
- package/dist/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/.next/server/app/api/admin/db/download/route.js +1 -1
- package/dist/.next/server/app/api/admin/db/download/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/db/upload/route.js +1 -1
- package/dist/.next/server/app/api/admin/db/upload/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/scan-manga/extract-cover/route.js +5 -4
- package/dist/.next/server/app/api/admin/scan-manga/extract-cover/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/scan-manga/extract-meta/route.js +5 -4
- package/dist/.next/server/app/api/admin/scan-manga/extract-meta/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/scan-manga/index-library/route.js +3 -2
- package/dist/.next/server/app/api/admin/scan-manga/index-library/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/scan-manga/start/route.js +6 -5
- package/dist/.next/server/app/api/admin/scan-manga/start/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/scan-manga/status/route.js +1 -1
- package/dist/.next/server/app/api/admin/scan-manga/status/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/upload/confirm/route.js +4 -3
- package/dist/.next/server/app/api/admin/upload/confirm/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/upload/library/chunk/route.js +4 -3
- package/dist/.next/server/app/api/admin/upload/library/chunk/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/upload/library/route.js +1 -1
- package/dist/.next/server/app/api/admin/upload/library/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/admin/upload/presigned/route.js +1 -1
- package/dist/.next/server/app/api/admin/upload/presigned/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/library/manga/cover/[...slug]/route.js +2 -2
- package/dist/.next/server/app/api/library/manga/cover/[...slug]/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/profile/[file]/route.js +1 -1
- package/dist/.next/server/app/api/profile/[file]/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/reader/manga/route.js +5 -4
- package/dist/.next/server/app/api/reader/manga/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/reader/temp-image/route.js +1 -1
- package/dist/.next/server/app/api/reader/temp-image/route.js.nft.json +1 -1
- package/dist/.next/server/app/en/books.html +1 -1
- package/dist/.next/server/app/en/books.meta +1 -1
- package/dist/.next/server/app/en/books.segments/$d$lang/books/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/en/books.segments/$d$lang/books.segment.rsc +1 -1
- package/dist/.next/server/app/en/books.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/books.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/en/books.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/books.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/books.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/favorites/books.html +1 -1
- package/dist/.next/server/app/en/favorites/books.meta +1 -1
- package/dist/.next/server/app/en/favorites/books.segments/$d$lang/favorites/books/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/en/favorites/books.segments/$d$lang/favorites/books.segment.rsc +1 -1
- package/dist/.next/server/app/en/favorites/books.segments/$d$lang/favorites.segment.rsc +3 -3
- package/dist/.next/server/app/en/favorites/books.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/favorites/books.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/en/favorites/books.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/favorites/books.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/favorites/books.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/favorites.html +1 -1
- package/dist/.next/server/app/en/favorites.meta +1 -1
- package/dist/.next/server/app/en/favorites.segments/$d$lang/favorites/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/en/favorites.segments/$d$lang/favorites.segment.rsc +3 -3
- package/dist/.next/server/app/en/favorites.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/favorites.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/en/favorites.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/favorites.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/favorites.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/login.html +1 -1
- package/dist/.next/server/app/en/login.meta +1 -1
- package/dist/.next/server/app/en/login.segments/$d$lang/login/__PAGE__.segment.rsc +4 -4
- package/dist/.next/server/app/en/login.segments/$d$lang/login.segment.rsc +1 -1
- package/dist/.next/server/app/en/login.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/login.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/en/login.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/login.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/login.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/[series].html +1 -1
- package/dist/.next/server/app/en/manga/[series].meta +1 -1
- package/dist/.next/server/app/en/manga/[series].segments/$d$lang/manga/$d$series/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/[series].segments/$d$lang/manga/$d$series.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/[series].segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/[series].segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/manga/[series].segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/en/manga/[series].segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/[series].segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/[series].segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/series.html +1 -1
- package/dist/.next/server/app/en/manga/series.meta +1 -1
- package/dist/.next/server/app/en/manga/series.segments/$d$lang/manga/series/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/series.segments/$d$lang/manga/series.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/series.segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/series.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/manga/series.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/en/manga/series.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/series.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/series.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/toread.html +1 -1
- package/dist/.next/server/app/en/manga/toread.meta +1 -1
- package/dist/.next/server/app/en/manga/toread.segments/$d$lang/manga/toread/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/toread.segments/$d$lang/manga/toread.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/toread.segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/toread.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/manga/toread.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/en/manga/toread.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/toread.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/toread.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/volume/[slug].html +1 -1
- package/dist/.next/server/app/en/manga/volume/[slug].meta +1 -1
- package/dist/.next/server/app/en/manga/volume/[slug].segments/$d$lang/manga/volume/$d$slug/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/volume/[slug].segments/$d$lang/manga/volume/$d$slug.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/volume/[slug].segments/$d$lang/manga/volume.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/volume/[slug].segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/volume/[slug].segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/manga/volume/[slug].segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/en/manga/volume/[slug].segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/volume/[slug].segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/volume/[slug].segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/volumes.html +1 -1
- package/dist/.next/server/app/en/manga/volumes.meta +1 -1
- package/dist/.next/server/app/en/manga/volumes.segments/$d$lang/manga/volumes/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/volumes.segments/$d$lang/manga/volumes.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/volumes.segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga/volumes.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/manga/volumes.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/en/manga/volumes.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/volumes.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga/volumes.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga.html +1 -1
- package/dist/.next/server/app/en/manga.meta +1 -1
- package/dist/.next/server/app/en/manga.segments/$d$lang/manga/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga.segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/en/manga.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/manga.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/en/manga.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/manga.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/profile/notifications.html +1 -1
- package/dist/.next/server/app/en/profile/notifications.meta +1 -1
- package/dist/.next/server/app/en/profile/notifications.segments/$d$lang/profile/notifications/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile/notifications.segments/$d$lang/profile/notifications.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile/notifications.segments/$d$lang/profile.segment.rsc +3 -3
- package/dist/.next/server/app/en/profile/notifications.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/profile/notifications.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/en/profile/notifications.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile/notifications.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile/notifications.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/profile/update.html +1 -1
- package/dist/.next/server/app/en/profile/update.meta +1 -1
- package/dist/.next/server/app/en/profile/update.segments/$d$lang/profile/update/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile/update.segments/$d$lang/profile/update.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile/update.segments/$d$lang/profile.segment.rsc +3 -3
- package/dist/.next/server/app/en/profile/update.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/profile/update.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/en/profile/update.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile/update.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile/update.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/profile.html +1 -1
- package/dist/.next/server/app/en/profile.meta +1 -1
- package/dist/.next/server/app/en/profile.segments/$d$lang/profile/__PAGE__.segment.rsc +7 -7
- package/dist/.next/server/app/en/profile.segments/$d$lang/profile.segment.rsc +3 -3
- package/dist/.next/server/app/en/profile.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/profile.segments/_full.segment.rsc +9 -9
- package/dist/.next/server/app/en/profile.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/profile.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/search.html +1 -1
- package/dist/.next/server/app/en/search.meta +1 -1
- package/dist/.next/server/app/en/search.segments/$d$lang/search/__PAGE__.segment.rsc +3 -3
- package/dist/.next/server/app/en/search.segments/$d$lang/search.segment.rsc +1 -1
- package/dist/.next/server/app/en/search.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/search.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/en/search.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/search.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/search.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/settings/library.html +1 -1
- package/dist/.next/server/app/en/settings/library.meta +1 -1
- package/dist/.next/server/app/en/settings/library.segments/$d$lang/settings/library/__PAGE__.segment.rsc +4 -4
- package/dist/.next/server/app/en/settings/library.segments/$d$lang/settings/library.segment.rsc +1 -1
- package/dist/.next/server/app/en/settings/library.segments/$d$lang/settings.segment.rsc +3 -3
- package/dist/.next/server/app/en/settings/library.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/settings/library.segments/_full.segment.rsc +6 -6
- package/dist/.next/server/app/en/settings/library.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/settings/library.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/settings/library.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en/settings.html +1 -1
- package/dist/.next/server/app/en/settings.meta +1 -1
- package/dist/.next/server/app/en/settings.segments/$d$lang/settings/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/en/settings.segments/$d$lang/settings.segment.rsc +3 -3
- package/dist/.next/server/app/en/settings.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en/settings.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/en/settings.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en/settings.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en/settings.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/en.html +1 -1
- package/dist/.next/server/app/en.meta +1 -1
- package/dist/.next/server/app/en.segments/$d$lang/__PAGE__.segment.rsc +6 -6
- package/dist/.next/server/app/en.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/en.segments/_full.segment.rsc +7 -7
- package/dist/.next/server/app/en.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/en.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/en.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/books.html +1 -1
- package/dist/.next/server/app/es/books.meta +1 -1
- package/dist/.next/server/app/es/books.segments/$d$lang/books/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/es/books.segments/$d$lang/books.segment.rsc +1 -1
- package/dist/.next/server/app/es/books.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/books.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/es/books.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/books.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/books.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/favorites/books.html +1 -1
- package/dist/.next/server/app/es/favorites/books.meta +1 -1
- package/dist/.next/server/app/es/favorites/books.segments/$d$lang/favorites/books/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/es/favorites/books.segments/$d$lang/favorites/books.segment.rsc +1 -1
- package/dist/.next/server/app/es/favorites/books.segments/$d$lang/favorites.segment.rsc +3 -3
- package/dist/.next/server/app/es/favorites/books.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/favorites/books.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/es/favorites/books.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/favorites/books.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/favorites/books.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/favorites.html +1 -1
- package/dist/.next/server/app/es/favorites.meta +1 -1
- package/dist/.next/server/app/es/favorites.segments/$d$lang/favorites/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/es/favorites.segments/$d$lang/favorites.segment.rsc +3 -3
- package/dist/.next/server/app/es/favorites.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/favorites.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/es/favorites.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/favorites.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/favorites.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/login.html +1 -1
- package/dist/.next/server/app/es/login.meta +1 -1
- package/dist/.next/server/app/es/login.segments/$d$lang/login/__PAGE__.segment.rsc +4 -4
- package/dist/.next/server/app/es/login.segments/$d$lang/login.segment.rsc +1 -1
- package/dist/.next/server/app/es/login.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/login.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/es/login.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/login.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/login.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/[series].html +1 -1
- package/dist/.next/server/app/es/manga/[series].meta +1 -1
- package/dist/.next/server/app/es/manga/[series].segments/$d$lang/manga/$d$series/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/[series].segments/$d$lang/manga/$d$series.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/[series].segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/[series].segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/manga/[series].segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/es/manga/[series].segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/[series].segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/[series].segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/series.html +1 -1
- package/dist/.next/server/app/es/manga/series.meta +1 -1
- package/dist/.next/server/app/es/manga/series.segments/$d$lang/manga/series/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/series.segments/$d$lang/manga/series.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/series.segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/series.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/manga/series.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/es/manga/series.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/series.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/series.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/toread.html +1 -1
- package/dist/.next/server/app/es/manga/toread.meta +1 -1
- package/dist/.next/server/app/es/manga/toread.segments/$d$lang/manga/toread/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/toread.segments/$d$lang/manga/toread.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/toread.segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/toread.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/manga/toread.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/es/manga/toread.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/toread.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/toread.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/volume/[slug].html +1 -1
- package/dist/.next/server/app/es/manga/volume/[slug].meta +1 -1
- package/dist/.next/server/app/es/manga/volume/[slug].segments/$d$lang/manga/volume/$d$slug/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/volume/[slug].segments/$d$lang/manga/volume/$d$slug.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/volume/[slug].segments/$d$lang/manga/volume.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/volume/[slug].segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/volume/[slug].segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/manga/volume/[slug].segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/es/manga/volume/[slug].segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/volume/[slug].segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/volume/[slug].segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/volumes.html +1 -1
- package/dist/.next/server/app/es/manga/volumes.meta +1 -1
- package/dist/.next/server/app/es/manga/volumes.segments/$d$lang/manga/volumes/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/volumes.segments/$d$lang/manga/volumes.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/volumes.segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga/volumes.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/manga/volumes.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/es/manga/volumes.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/volumes.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga/volumes.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga.html +1 -1
- package/dist/.next/server/app/es/manga.meta +1 -1
- package/dist/.next/server/app/es/manga.segments/$d$lang/manga/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga.segments/$d$lang/manga.segment.rsc +2 -2
- package/dist/.next/server/app/es/manga.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/manga.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/es/manga.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/manga.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/profile/notifications.html +1 -1
- package/dist/.next/server/app/es/profile/notifications.meta +1 -1
- package/dist/.next/server/app/es/profile/notifications.segments/$d$lang/profile/notifications/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile/notifications.segments/$d$lang/profile/notifications.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile/notifications.segments/$d$lang/profile.segment.rsc +3 -3
- package/dist/.next/server/app/es/profile/notifications.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/profile/notifications.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/es/profile/notifications.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile/notifications.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile/notifications.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/profile/update.html +1 -1
- package/dist/.next/server/app/es/profile/update.meta +1 -1
- package/dist/.next/server/app/es/profile/update.segments/$d$lang/profile/update/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile/update.segments/$d$lang/profile/update.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile/update.segments/$d$lang/profile.segment.rsc +3 -3
- package/dist/.next/server/app/es/profile/update.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/profile/update.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/es/profile/update.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile/update.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile/update.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/profile.html +1 -1
- package/dist/.next/server/app/es/profile.meta +1 -1
- package/dist/.next/server/app/es/profile.segments/$d$lang/profile/__PAGE__.segment.rsc +7 -7
- package/dist/.next/server/app/es/profile.segments/$d$lang/profile.segment.rsc +3 -3
- package/dist/.next/server/app/es/profile.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/profile.segments/_full.segment.rsc +9 -9
- package/dist/.next/server/app/es/profile.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/profile.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/search.html +1 -1
- package/dist/.next/server/app/es/search.meta +1 -1
- package/dist/.next/server/app/es/search.segments/$d$lang/search/__PAGE__.segment.rsc +3 -3
- package/dist/.next/server/app/es/search.segments/$d$lang/search.segment.rsc +1 -1
- package/dist/.next/server/app/es/search.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/search.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/es/search.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/search.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/search.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/settings/library.html +1 -1
- package/dist/.next/server/app/es/settings/library.meta +1 -1
- package/dist/.next/server/app/es/settings/library.segments/$d$lang/settings/library/__PAGE__.segment.rsc +4 -4
- package/dist/.next/server/app/es/settings/library.segments/$d$lang/settings/library.segment.rsc +1 -1
- package/dist/.next/server/app/es/settings/library.segments/$d$lang/settings.segment.rsc +3 -3
- package/dist/.next/server/app/es/settings/library.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/settings/library.segments/_full.segment.rsc +6 -6
- package/dist/.next/server/app/es/settings/library.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/settings/library.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/settings/library.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es/settings.html +1 -1
- package/dist/.next/server/app/es/settings.meta +1 -1
- package/dist/.next/server/app/es/settings.segments/$d$lang/settings/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/es/settings.segments/$d$lang/settings.segment.rsc +3 -3
- package/dist/.next/server/app/es/settings.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es/settings.segments/_full.segment.rsc +5 -5
- package/dist/.next/server/app/es/settings.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es/settings.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es/settings.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/es.html +1 -1
- package/dist/.next/server/app/es.meta +1 -1
- package/dist/.next/server/app/es.segments/$d$lang/__PAGE__.segment.rsc +6 -6
- package/dist/.next/server/app/es.segments/$d$lang.segment.rsc +3 -3
- package/dist/.next/server/app/es.segments/_full.segment.rsc +7 -7
- package/dist/.next/server/app/es.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/es.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/es.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/chunks/[externals]__06o7v.s._.js +3 -0
- package/dist/.next/server/chunks/[externals]__08.r02j._.js +3 -0
- package/dist/.next/server/chunks/[externals]__0io1dqn._.js +3 -0
- package/dist/.next/server/chunks/{[root-of-the-server]__0fkf5r-._.js → [root-of-the-server]__000e5ac._.js} +2 -2
- package/dist/.next/server/chunks/[root-of-the-server]__01minwl._.js +3 -0
- package/dist/.next/server/chunks/{[root-of-the-server]__0ijy2ij._.js → [root-of-the-server]__065cjna._.js} +2 -2
- package/dist/.next/server/chunks/{[root-of-the-server]__0f19woy._.js → [root-of-the-server]__090y5g~._.js} +2 -2
- package/dist/.next/server/chunks/{[root-of-the-server]__0-_scs9._.js → [root-of-the-server]__0bqqxvi._.js} +2 -2
- package/dist/.next/server/chunks/[root-of-the-server]__0mho9rx._.js +3 -0
- package/dist/.next/server/chunks/{[root-of-the-server]__0fp2904._.js → [root-of-the-server]__0q4f5nz._.js} +2 -2
- package/dist/.next/server/chunks/[root-of-the-server]__0qxte8q._.js +3 -0
- package/dist/.next/server/chunks/{[root-of-the-server]__04nwab-._.js → [root-of-the-server]__0thue9b._.js} +2 -2
- package/dist/.next/server/chunks/{[root-of-the-server]__0m~fhax._.js → [root-of-the-server]__0tp8msd._.js} +2 -2
- package/dist/.next/server/chunks/[root-of-the-server]__0w.wsz5._.js +3 -0
- package/dist/.next/server/chunks/{[root-of-the-server]__0zg_zee._.js → [root-of-the-server]__0w30bka._.js} +2 -2
- package/dist/.next/server/chunks/{[root-of-the-server]__0z~g~f0._.js → [root-of-the-server]__0wzdxnb._.js} +2 -2
- package/dist/.next/server/chunks/[root-of-the-server]__0zbby0w._.js +5 -0
- package/dist/.next/server/chunks/{[root-of-the-server]__0r8deq0._.js → [root-of-the-server]__120g6lv._.js} +2 -2
- package/dist/.next/server/chunks/{[root-of-the-server]__07q~p9l._.js → [root-of-the-server]__12wzt~c._.js} +3 -3
- package/dist/.next/server/chunks/_0-x.21m._.js +1 -1
- package/dist/.next/server/chunks/_0acvjtf._.js +16 -0
- package/dist/.next/server/chunks/_0f4oh8x._.js +16 -0
- package/dist/.next/server/chunks/_0he79j5._.js +1 -1
- package/dist/.next/server/chunks/_0qvo6nz._.js +1 -1
- package/dist/.next/server/chunks/_0yipzck._.js +169 -0
- package/dist/.next/server/chunks/_107a6s1._.js +1 -1
- package/dist/.next/server/chunks/ssr/0xn0_next_dist_0xwri9l._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0._f028._.js +36 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0.m~6gk._.js +4 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0.ryx.a._.js +4 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0163-3l._.js +1 -1
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__018gs4f._.js +3 -0
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0hf_8vu._.js → [root-of-the-server]__03otmt0._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{_13l50z7._.js → [root-of-the-server]__07-jt01._.js} +5 -166
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__07rj5~y._.js +14 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__089fvdc._.js +4 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__08zvzs0._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__098q1zi._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0_~n0jf._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0bf.gcx._.js +4 -0
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0gtnxti._.js → [root-of-the-server]__0bo9310._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0hx3z-i._.js → [root-of-the-server]__0drk75y._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__00-qnjt._.js → [root-of-the-server]__0emto8o._.js} +3 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0f51w7p._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0fta~.q._.js +11 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0i935p0._.js +36 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0kwcjdy._.js +11 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0lmhha4._.js +6 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0mrfwmc._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0od4ov7._.js +14 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0o~wtg1._.js +3 -0
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__12~2k2l._.js → [root-of-the-server]__0pgblxq._.js} +3 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0qmig-l._.js +37 -0
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0x.6iuo._.js → [root-of-the-server]__0rr_p-o._.js} +2 -2
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0tsardx._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0w5_b~q._.js +37 -0
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0zm98o~._.js → [root-of-the-server]__0wc3k~b._.js} +69 -36
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0m6l821._.js → [root-of-the-server]__0wiet4z._.js} +2 -2
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0xvohej._.js +3 -0
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0__uciq._.js → [root-of-the-server]__0y2f1~v._.js} +3 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__10lwhia._.js +4 -0
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0ib.8y2._.js → [root-of-the-server]__11mv0l0._.js} +4 -3
- package/dist/.next/server/chunks/ssr/{_0jy3cok._.js → _0-ebvut._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_041r_yi._.js +3 -0
- package/dist/.next/server/chunks/ssr/_048l2a~._.js +1 -1
- package/dist/.next/server/chunks/ssr/_05voq8o._.js +179 -0
- package/dist/.next/server/chunks/ssr/_07-ylhi._.js +1 -1
- package/dist/.next/server/chunks/ssr/_07xxqxh._.js +49 -0
- package/dist/.next/server/chunks/ssr/{_0e2-pat._.js → _08pl1y1._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_092ya8a._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0_wsici._.js +2 -2
- package/dist/.next/server/chunks/ssr/{_0rw42it._.js → _0_y--8g._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_0fuvfg_._.js +1 -1
- package/dist/.next/server/chunks/ssr/{_0gstnoe._.js → _0f~qxkm._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_0h.5.93._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0i-_eb8._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0i6jouj._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0io0xwx._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0iq8tqc._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0p~hw5y._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0so9_59._.js +1 -1
- package/dist/.next/server/chunks/ssr/{src_0y-44w.._.js → src_11n4vzd._.js} +2 -2
- package/dist/.next/server/chunks/ssr/src_1317vs.._.js +1 -1
- package/dist/.next/server/chunks/ssr/src_components_0aht.-v._.js +1 -1
- package/dist/.next/server/chunks/ssr/src_components_13jytkv._.js +1 -1
- package/dist/.next/server/middleware-build-manifest.js +3 -3
- package/dist/.next/server/middleware.js +2 -2
- package/dist/.next/server/pages/404.html +1 -1
- package/dist/.next/server/pages/500.html +1 -1
- package/dist/.next/server/server-reference-manifest.js +1 -1
- package/dist/.next/server/server-reference-manifest.json +462 -192
- package/dist/.next/static/chunks/{16212ajtqus.f.js → 0-.2w.r.qbyxh.js} +1 -1
- package/dist/.next/static/chunks/{00w893jap547w.js → 05motg~dk9exd.js} +1 -1
- package/dist/.next/static/chunks/{11ar6ksobd4y0.js → 0d5njxct3o-0e.js} +1 -1
- package/dist/.next/static/chunks/{16kmtoo9px2~m.js → 0gfubdpl2-_6..js} +1 -1
- package/dist/.next/static/chunks/{0ynylo6gn33ue.js → 0h1jok_3p~tov.js} +1 -1
- package/dist/.next/static/chunks/{1407cgo.d8yk5.js → 0jag03phm47nb.js} +1 -1
- package/dist/.next/static/chunks/{0lw-ygpse4.k-.css → 0jiz239_9337c.css} +1 -1
- package/dist/.next/static/chunks/0ob9ncnj.i~pr.js +1 -0
- package/dist/.next/static/chunks/{12ngzq7p6ejia.js → 0ql49co.cgb-6.js} +1 -1
- package/dist/.next/static/chunks/{0~-2eg~q95lml.js → 0rvajo28np3og.js} +1 -1
- package/dist/.next/static/chunks/{07t237yet9bq_.js → 0z5qgi03n50zx.js} +1 -1
- package/dist/.next/static/chunks/{09sxsld1-o6fy.js → 0~_urpr.p5fsg.js} +3 -3
- package/dist/.next/static/chunks/{0ybyw~qajiyh3.js → 12h.-dzk4mq7e.js} +1 -1
- package/dist/.next/static/chunks/{0ep8mezqzlwj0.js → 15l91tk5_1zt..js} +1 -1
- package/dist/.next/static/chunks/{09d4hvfidzh~u.js → 16uo5t_-6qm9b.js} +1 -1
- package/dist/.next/static/chunks/187jspc2d6.0_.js +1 -0
- package/dist/next.config.ts +7 -0
- package/dist/package.json +1 -1
- package/dist/server.js +1 -1
- package/dist/src/actions/delete.ts +5 -0
- package/dist/src/actions/scan-series.ts +5 -0
- package/dist/src/app/[lang]/manga/[series]/page.tsx +7 -6
- package/dist/src/app/[lang]/manga/volume/[slug]/page.tsx +2 -4
- package/dist/src/app/api/admin/scan-manga/extract-cover/route.ts +3 -0
- package/dist/src/app/api/admin/scan-manga/extract-meta/route.ts +2 -0
- package/dist/src/app/api/admin/scan-manga/index-library/route.ts +3 -0
- package/dist/src/app/api/admin/scan-manga/start/route.ts +2 -0
- package/dist/src/app/api/admin/upload/confirm/route.ts +5 -0
- package/dist/src/app/api/admin/upload/library/chunk/route.ts +3 -0
- package/dist/src/components/home/manga/HeroKeepRead.tsx +2 -3
- package/dist/src/components/home/manga/RowNewVols.tsx +2 -3
- package/dist/src/components/library/manga/grid/SeriesIndex.tsx +3 -6
- package/dist/src/components/library/manga/grid/SeriesIndexFav.tsx +3 -4
- package/dist/src/components/library/manga/grid/VolumesIndex.tsx +2 -5
- package/dist/src/components/library/manga/grid/VolumesIndexFav.tsx +2 -3
- package/dist/src/components/library/manga/grid/WantToRead.tsx +2 -5
- package/dist/src/components/library/manga/row/HeroKeepRead.tsx +2 -3
- package/dist/src/components/library/manga/row/NewVols.tsx +2 -3
- package/dist/src/components/library/manga/row/NextVol.tsx +2 -3
- package/dist/src/components/library/manga/row/RecentlyRead.tsx +2 -3
- package/dist/src/components/ui/Pagination.tsx +20 -11
- package/dist/src/lib/db/library.ts +154 -32
- package/dist/src/lib/mangaCover.ts +35 -0
- package/dist/src/lib/mangaLibraryCache.ts +7 -0
- package/package.json +1 -1
- package/dist/.next/server/chunks/[externals]__04m39l7._.js +0 -3
- package/dist/.next/server/chunks/[externals]__04s9s57._.js +0 -3
- package/dist/.next/server/chunks/[externals]__0jgb52s._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__08l0-uy._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__092ex.x._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0klhjfc._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0wly.7o._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__11sc5qz._.js +0 -5
- package/dist/.next/server/chunks/_0p05.ug._.js +0 -159
- package/dist/.next/server/chunks/ssr/0xn0_next_dist_compiled_@opentelemetry_api_index_0yw.6hv.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__011b4lm._.js +0 -129
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__04rf-mb._.js +0 -14
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__06u2vz6._.js +0 -11
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__07ufuic._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__09-q1xu._.js +0 -129
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0g7b1.f._.js +0 -11
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0gqwm5-._.js +0 -165
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0o-bi_~._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0pmglub._.js +0 -162
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0s8g7im._.js +0 -129
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0v7w8sw._.js +0 -140
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0wvq4b6._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0yztyni._.js +0 -165
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0~yz~pb._.js +0 -127
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__10-pmk_._.js +0 -167
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__11_b.yg._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__136hhiw._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0-a2~22._.js +0 -198
- package/dist/.next/server/chunks/ssr/_040iqz4._.js +0 -165
- package/dist/.next/server/chunks/ssr/_06sgwry._.js +0 -198
- package/dist/.next/server/chunks/ssr/_07p7svd._.js +0 -230
- package/dist/.next/server/chunks/ssr/_0b.571z._.js +0 -165
- package/dist/.next/server/chunks/ssr/_0kdx8hs._.js +0 -16
- package/dist/.next/server/chunks/ssr/_0mw_qhe._.js +0 -165
- package/dist/.next/server/chunks/ssr/_0o54j9l._.js +0 -167
- package/dist/.next/server/chunks/ssr/_0rdv9ta._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0s8v6hg._.js +0 -49
- package/dist/.next/static/chunks/129uuld5wgv_k.js +0 -1
- package/dist/.next/static/chunks/1703w28xs4zmm.js +0 -1
- /package/dist/.next/static/{eOHo5r8CUXYWTZ8s2uhkD → PWw2Oo50QJHfYm7Z43WyV}/_buildManifest.js +0 -0
- /package/dist/.next/static/{eOHo5r8CUXYWTZ8s2uhkD → PWw2Oo50QJHfYm7Z43WyV}/_clientMiddlewareManifest.js +0 -0
- /package/dist/.next/static/{eOHo5r8CUXYWTZ8s2uhkD → PWw2Oo50QJHfYm7Z43WyV}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[60723,a=>a.a(async(b,c)=>{try{var d=a.i(47647),e=a.i(90806),f=a.i(11666),g=a.i(7993),h=b([e,f]);async function i({seriesId:a,favorite:b}){let c=null;try{let c=await (0,e.verifySession)();if(!c)return{error:"Unauthorized",status:401};let d="string"==typeof a?a:null==a?"":String(a),g=!0===b||"true"===String(b);if("string"!=typeof d||!d||"boolean"!=typeof g)return{error:"Invalid payload",status:400};return await (0,f.upsertSeriesFavorite)(c.id,d,g),{success:!0,status:200}}catch(a){c=a}finally{if(c)return console.error("Error updating favorite (series):",c),{error:"Server error",status:500}}}async function j({volumeId:a,favorite:b}){let c=null;try{let c=await (0,e.verifySession)();if(!c)return{error:"Unauthorized",status:401};let d="string"==typeof a?a:null==a?"":String(a),g=!0===b||"true"===String(b);if("string"!=typeof d||!d||"boolean"!=typeof g)return{error:"Invalid payload",status:400};return await (0,f.upsertVolumeProgress)(c.id,d,{isFavorite:g}),{success:!0,status:200}}catch(a){c=a}finally{if(c)return console.error("Error updating favorite (volume):",c),{error:"Server error",status:500}}}[e,f]=h.then?(await h)():h,(0,g.ensureServerEntryExports)([i,j]),(0,d.registerServerReference)(i,"
|
|
1
|
+
module.exports=[60723,a=>a.a(async(b,c)=>{try{var d=a.i(47647),e=a.i(90806),f=a.i(11666),g=a.i(7993),h=b([e,f]);async function i({seriesId:a,favorite:b}){let c=null;try{let c=await (0,e.verifySession)();if(!c)return{error:"Unauthorized",status:401};let d="string"==typeof a?a:null==a?"":String(a),g=!0===b||"true"===String(b);if("string"!=typeof d||!d||"boolean"!=typeof g)return{error:"Invalid payload",status:400};return await (0,f.upsertSeriesFavorite)(c.id,d,g),{success:!0,status:200}}catch(a){c=a}finally{if(c)return console.error("Error updating favorite (series):",c),{error:"Server error",status:500}}}async function j({volumeId:a,favorite:b}){let c=null;try{let c=await (0,e.verifySession)();if(!c)return{error:"Unauthorized",status:401};let d="string"==typeof a?a:null==a?"":String(a),g=!0===b||"true"===String(b);if("string"!=typeof d||!d||"boolean"!=typeof g)return{error:"Invalid payload",status:400};return await (0,f.upsertVolumeProgress)(c.id,d,{isFavorite:g}),{success:!0,status:200}}catch(a){c=a}finally{if(c)return console.error("Error updating favorite (volume):",c),{error:"Server error",status:500}}}[e,f]=h.then?(await h)():h,(0,g.ensureServerEntryExports)([i,j]),(0,d.registerServerReference)(i,"409ef462d228bcc71a77882bc05ae663af200acf1c",null),(0,d.registerServerReference)(j,"40e0c676248cdba8ecaaeed8aaf33b66d241f168ee",null),a.s(["toggleSeriesFavorite",0,i,"toggleVolumeFavorite",0,j]),c()}catch(a){c(a)}},!1),98115,a=>a.a(async(b,c)=>{try{a.i(92551);var d=a.i(59906),e=a.i(84692),f=b([e]);function g(a){return{id:a.id,slug:a.slug,title:a.title,path:a.path,isOneshot:a.is_oneshot}}function h(a){return{id:a.id,slug:a.slug,title:a.title,filename:a.filename,fullPath:a.full_path,size:a.size,coverImage:a.cover_image,metadataId:a.metadata_id,seriesId:a.series_id,seriesPath:a.series_path}}async function i(a){let b=await (0,e.queryOne)(`
|
|
2
2
|
INSERT INTO manga_volumes (
|
|
3
3
|
id,
|
|
4
4
|
slug,
|
|
@@ -189,6 +189,6 @@ module.exports=[60723,a=>a.a(async(b,c)=>{try{var d=a.i(47647),e=a.i(90806),f=a.
|
|
|
189
189
|
`,[a])}async function z(a){await (0,e.execute)(`
|
|
190
190
|
DELETE FROM file_checksums
|
|
191
191
|
WHERE file_path LIKE $1
|
|
192
|
-
`,[`${a}%`])}[e]=f.then?(await f)():f,a.s(["countVolumesBySeriesId",0,x,"deleteFileChecksumsByPaths",0,y,"deleteFileChecksumsByPrefix",0,z,"deleteSeriesById",0,u,"deleteVolumeById",0,v,"deleteVolumeMetadataByIds",0,w,"findSeriesBySlugBasic",0,r,"findSeriesWithVolumesById",0,p,"findVolumeBySlugBasic",0,s,"findVolumeWithSeriesPathById",0,q,"linkVolumeMetadata",0,k,"listVolumeMetadataIdsBySeriesId",0,t,"replaceVolumeGenres",0,n,"replaceVolumeTags",0,o,"upsertVolumeMetadataRecord",0,j,"upsertVolumeRecord",0,i]),c()}catch(a){c(a)}},!1),8799,a=>a.a(async(b,c)=>{try{var d=a.i(47647),e=a.i(90806),f=a.i(24868),g=a.i(14747),h=a.i(96524),i=a.i(7877),j=a.i(98115),k=a.i(7993),l=b([e,j]);[e,j]=l.then?(await l)():l;let o=process.env.LIB_PROVIDER||"local";async function m({slug:a}){let b=null;try{if(!await (0,e.verifySession)())return{ok:!1,error:"Unauthorized",status:401};if(!a)return{ok:!1,error:"slug missing",status:400};let b=await (0,j.findSeriesBySlugBasic)(a);if(!b)return{ok:!1,error:"series not found",status:404};let c=await (0,j.listVolumeMetadataIdsBySeriesId)(b.id);await (0,j.deleteSeriesById)(b.id),c.length>0&&await (0,j.deleteVolumeMetadataByIds)(c);let d=b.path;if("cloud"===o){let a,b=d.replace(/^\/+/,"").replace(/\\/g,"/");do{let c=await i.default.send(new h.ListObjectsV2Command({Bucket:i.R2_BUCKET,Prefix:b,ContinuationToken:a})),d=c.Contents||[];if(d.length>0){let a=d.map(a=>({Key:a.Key}));await i.default.send(new h.DeleteObjectsCommand({Bucket:i.R2_BUCKET,Delete:{Objects:a}}))}a=c.IsTruncated?c.NextContinuationToken:void 0}while(a)let c=`/${b}`;await (0,j.deleteFileChecksumsByPrefix)(c)}else{await f.default.rm(d,{recursive:!0,force:!0});let a=d.startsWith("/")?d:`/${d.replace(/^\/+/,"")}`;await (0,j.deleteFileChecksumsByPrefix)(a)}return{ok:!0}}catch(a){b=a}finally{if(b)return console.error("Error deleting series:",b),{ok:!1,error:b.message,status:500}}}async function n({slug:a}){let b=null;try{if(!await (0,e.verifySession)())return{ok:!1,error:"Unauthorized",status:401};if(!a)return{ok:!1,error:"slug missing",status:400};let b=await (0,j.findVolumeBySlugBasic)(a);if(!b)return{ok:!1,error:"volume not found",status:404};await (0,j.deleteVolumeById)(b.id),b.metadataId&&await (0,j.deleteVolumeMetadataByIds)([b.metadataId]);let c=b.fullPath;if("cloud"===o){let a=c.replace(/^\/+/,"").replace(/\\/g,"/");await i.default.send(new h.DeleteObjectCommand({Bucket:i.R2_BUCKET,Key:a}));let d=g.default.posix.join(g.default.posix.dirname(a),`${g.default.parse(a).name}.txt`);await i.default.send(new h.DeleteObjectCommand({Bucket:i.R2_BUCKET,Key:d}));let e=`/${d}`;if(await (0,j.deleteFileChecksumsByPaths)([e]),b.coverImage&&b.seriesPath){let a=b.seriesPath.replace(/^\//,""),c=`${a}/${b.coverImage}`;await i.default.send(new h.DeleteObjectCommand({Bucket:i.R2_BUCKET,Key:c}))}}else{await f.default.rm(c,{force:!0});let a=g.default.join(g.default.dirname(c),`${g.default.parse(c).name}.txt`);if(await f.default.rm(a,{force:!0}),await (0,j.deleteFileChecksumsByPaths)([a]),b.coverImage&&b.seriesPath){let a=g.default.join(b.seriesPath,b.coverImage);await f.default.rm(a,{force:!0})}}if(b.seriesId){let a=await (0,j.countVolumesBySeriesId)(b.seriesId);0===a&&await (0,j.deleteSeriesById)(b.seriesId)}return{ok:!0}}catch(a){b=a}finally{if(b)return console.error("Error deleting volume:",b),{ok:!1,error:b.message,status:500}}}(0,k.ensureServerEntryExports)([m,n]),(0,d.registerServerReference)(m,"40650ac666eff1404a993c0082b016ffeb1b08b317",null),(0,d.registerServerReference)(n,"407a003f65cd962b957cee33362ee16076e9e0784b",null),a.s(["deleteSeries",0,m,"deleteVolume",0,n]),c()}catch(a){c(a)}},!1),85813,75537,a=>{"use strict";var b=a.i(874);let c=(a,c)=>b.Buffer.from(a,c);function d(a,b){let d=(a,d)=>b(c(a),d)>>>0;return d.signed=(a,d)=>b(c(a),d),d.unsigned=d,d.model=a,d}a.s(["default",0,d],85813);let e=[0,0x77073096,0xee0e612c,0x990951ba,0x76dc419,0x706af48f,0xe963a535,0x9e6495a3,0xedb8832,0x79dcb8a4,0xe0d5e91e,0x97d2d988,0x9b64c2b,0x7eb17cbd,0xe7b82d07,0x90bf1d91,0x1db71064,0x6ab020f2,0xf3b97148,0x84be41de,0x1adad47d,0x6ddde4eb,0xf4d4b551,0x83d385c7,0x136c9856,0x646ba8c0,0xfd62f97a,0x8a65c9ec,0x14015c4f,0x63066cd9,0xfa0f3d63,0x8d080df5,0x3b6e20c8,0x4c69105e,0xd56041e4,0xa2677172,0x3c03e4d1,0x4b04d447,0xd20d85fd,0xa50ab56b,0x35b5a8fa,0x42b2986c,0xdbbbc9d6,0xacbcf940,0x32d86ce3,0x45df5c75,0xdcd60dcf,0xabd13d59,0x26d930ac,0x51de003a,0xc8d75180,0xbfd06116,0x21b4f4b5,0x56b3c423,0xcfba9599,0xb8bda50f,0x2802b89e,0x5f058808,0xc60cd9b2,0xb10be924,0x2f6f7c87,0x58684c11,0xc1611dab,0xb6662d3d,0x76dc4190,0x1db7106,0x98d220bc,0xefd5102a,0x71b18589,0x6b6b51f,0x9fbfe4a5,0xe8b8d433,0x7807c9a2,0xf00f934,0x9609a88e,0xe10e9818,0x7f6a0dbb,0x86d3d2d,0x91646c97,0xe6635c01,0x6b6b51f4,0x1c6c6162,0x856530d8,0xf262004e,0x6c0695ed,0x1b01a57b,0x8208f4c1,0xf50fc457,0x65b0d9c6,0x12b7e950,0x8bbeb8ea,0xfcb9887c,0x62dd1ddf,0x15da2d49,0x8cd37cf3,0xfbd44c65,0x4db26158,0x3ab551ce,0xa3bc0074,0xd4bb30e2,0x4adfa541,0x3dd895d7,0xa4d1c46d,0xd3d6f4fb,0x4369e96a,0x346ed9fc,0xad678846,0xda60b8d0,0x44042d73,0x33031de5,0xaa0a4c5f,0xdd0d7cc9,0x5005713c,0x270241aa,0xbe0b1010,0xc90c2086,0x5768b525,0x206f85b3,0xb966d409,0xce61e49f,0x5edef90e,0x29d9c998,0xb0d09822,0xc7d7a8b4,0x59b33d17,0x2eb40d81,0xb7bd5c3b,0xc0ba6cad,0xedb88320,0x9abfb3b6,0x3b6e20c,0x74b1d29a,0xead54739,0x9dd277af,0x4db2615,0x73dc1683,0xe3630b12,0x94643b84,0xd6d6a3e,0x7a6a5aa8,0xe40ecf0b,0x9309ff9d,0xa00ae27,0x7d079eb1,0xf00f9344,0x8708a3d2,0x1e01f268,0x6906c2fe,0xf762575d,0x806567cb,0x196c3671,0x6e6b06e7,0xfed41b76,0x89d32be0,0x10da7a5a,0x67dd4acc,0xf9b9df6f,0x8ebeeff9,0x17b7be43,0x60b08ed5,0xd6d6a3e8,0xa1d1937e,0x38d8c2c4,0x4fdff252,0xd1bb67f1,0xa6bc5767,0x3fb506dd,0x48b2364b,0xd80d2bda,0xaf0a1b4c,0x36034af6,0x41047a60,0xdf60efc3,0xa867df55,0x316e8eef,0x4669be79,0xcb61b38c,0xbc66831a,0x256fd2a0,0x5268e236,0xcc0c7795,0xbb0b4703,0x220216b9,0x5505262f,0xc5ba3bbe,0xb2bd0b28,0x2bb45a92,0x5cb36a04,0xc2d7ffa7,0xb5d0cf31,0x2cd99e8b,0x5bdeae1d,0x9b64c2b0,0xec63f226,0x756aa39c,0x26d930a,0x9c0906a9,0xeb0e363f,0x72076785,0x5005713,0x95bf4a82,0xe2b87a14,0x7bb12bae,0xcb61b38,0x92d28e9b,0xe5d5be0d,0x7cdcefb7,0xbdbdf21,0x86d3d2d4,0xf1d4e242,0x68ddb3f8,0x1fda836e,0x81be16cd,0xf6b9265b,0x6fb077e1,0x18b74777,0x88085ae6,0xff0f6a70,0x66063bca,0x11010b5c,0x8f659eff,0xf862ae69,0x616bffd3,0x166ccf45,0xa00ae278,0xd70dd2ee,0x4e048354,0x3903b3c2,0xa7672661,0xd06016f7,0x4969474d,0x3e6e77db,0xaed16a4a,0xd9d65adc,0x40df0b66,936918e3,0xa9bcae53,0xdebb9ec5,0x47b2cf7f,0x30b5ffe9,0xbdbdf21c,0xcabac28a,0x53b39330,0x24b4a3a6,0xbad03605,0xcdd70693,0x54de5729,0x23d967bf,0xb3667a2e,0xc4614ab8,0x5d681b02,0x2a6f2b94,0xb40bbe37,0xc30c8ea1,0x5a05df1b,0x2d02ef8d];"u">typeof Int32Array&&(e=new Int32Array(e));let f=d("crc-32",(a,b)=>{let c=0===b?0:-1^~~b;for(let b=0;b<a.length;b++)c=e[(c^a[b])&255]^c>>>8;return -1^c});a.s(["default",0,f],75537)},75755,a=>{"use strict";var b=a.i(85813);(0,b.default)("crc1",(a,b=0)=>{let c=~~b,d=0;for(let b=0;b<a.length;b++)d+=a[b];return(c+=d%256)%256});let c=[0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,121,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,199,192,201,206,219,220,213,210,255,248,241,246,227,228,237,234,183,176,185,190,171,172,165,162,143,136,129,134,147,148,157,154,39,32,41,46,59,60,53,50,31,24,17,22,3,4,13,10,87,80,89,94,75,76,69,66,111,104,97,102,115,116,125,122,137,142,135,128,149,146,155,156,177,182,191,184,173,170,163,164,249,254,247,240,229,226,235,236,193,198,207,200,221,218,211,212,105,110,103,96,117,114,123,124,81,86,95,88,77,74,67,68,25,30,23,16,5,2,11,12,33,38,47,40,61,58,51,52,78,73,64,71,82,85,92,91,118,113,120,127,106,109,100,99,62,57,48,55,34,37,44,43,6,1,8,15,26,29,20,19,174,169,160,167,178,181,188,187,150,145,152,159,138,141,132,131,222,217,208,215,194,197,204,203,230,225,232,239,250,253,244,243];"u">typeof Int32Array&&(c=new Int32Array(c)),(0,b.default)("crc-8",(a,b=0)=>{let d=~~b;for(let b=0;b<a.length;b++)d=255&c[(d^a[b])&255];return d});let d=[0,94,188,226,97,63,221,131,194,156,126,32,163,253,31,65,157,195,33,127,252,162,64,30,95,1,227,189,62,96,130,220,35,125,159,193,66,28,254,160,225,191,93,3,128,222,60,98,190,224,2,92,223,129,99,61,124,34,192,158,29,67,161,255,70,24,250,164,39,121,155,197,132,218,56,102,229,187,89,7,219,133,103,57,186,228,6,88,25,71,165,251,120,38,196,154,101,59,217,135,4,90,184,230,167,249,27,69,198,152,122,36,248,166,68,26,153,199,37,123,58,100,134,216,91,5,231,185,140,210,48,110,237,179,81,15,78,16,242,172,47,113,147,205,17,79,173,243,112,46,204,146,211,141,111,49,178,236,14,80,175,241,19,77,206,144,114,44,109,51,209,143,12,82,176,238,50,108,142,208,83,13,239,177,240,174,76,18,145,207,45,115,202,148,118,40,171,245,23,73,8,86,180,234,105,55,213,139,87,9,235,181,54,104,138,212,149,203,41,119,244,170,72,22,233,183,85,11,136,214,52,106,43,117,151,201,74,20,246,168,116,42,200,150,21,75,169,247,182,232,10,84,215,137,107,53];"u">typeof Int32Array&&(d=new Int32Array(d)),(0,b.default)("dallas-1-wire",(a,b=0)=>{let c=~~b;for(let b=0;b<a.length;b++)c=255&d[(c^a[b])&255];return c});let e=[0,213,127,170,254,43,129,84,41,252,86,131,215,2,168,125,82,135,45,248,172,121,211,6,123,174,4,209,133,80,250,47,164,113,219,14,90,143,37,240,141,88,242,39,115,166,12,217,246,35,137,92,8,221,119,162,223,10,160,117,33,244,94,139,157,72,226,55,99,182,28,201,180,97,203,30,74,159,53,224,207,26,176,101,49,228,78,155,230,51,153,76,24,205,103,178,57,236,70,147,199,18,184,109,16,197,111,186,238,59,145,68,107,190,20,193,149,64,234,63,66,151,61,232,188,105,195,22,239,58,144,69,17,196,110,187,198,19,185,108,56,237,71,146,189,104,194,23,67,150,60,233,148,65,235,62,106,191,21,192,75,158,52,225,181,96,202,31,98,183,29,200,156,73,227,54,25,204,102,179,231,50,152,77,48,229,79,154,206,27,177,100,114,167,13,216,140,89,243,38,91,142,36,241,165,112,218,15,32,245,95,138,222,11,161,116,9,220,118,163,247,34,136,93,214,3,169,124,40,253,87,130,255,42,128,85,1,212,126,171,132,81,251,46,122,175,5,208,173,120,210,7,83,134,44,249];"u">typeof Int32Array&&(e=new Int32Array(e)),(0,b.default)("crc-8-dvbs2",(a,b=0)=>{let c=~~b;for(let b=0;b<a.length;b++)c=255&e[(c^a[b])&255];return c});let f=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];"u">typeof Int32Array&&(f=new Int32Array(f)),(0,b.default)("crc-16",(a,b=0)=>{let c=~~b;for(let b=0;b<a.length;b++)c=(f[(c^a[b])&255]^c>>8)&65535;return c});let g=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];"u">typeof Int32Array&&(g=new Int32Array(g)),(0,b.default)("ccitt",(a,b)=>{let c=void 0!==b?~~b:65535;for(let b=0;b<a.length;b++)c=(g[(c>>8^a[b])&255]^c<<8)&65535;return c});let h=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];"u">typeof Int32Array&&(h=new Int32Array(h)),(0,b.default)("crc-16-modbus",(a,b)=>{let c=void 0!==b?~~b:65535;for(let b=0;b<a.length;b++)c=(h[(c^a[b])&255]^c>>8)&65535;return c}),(0,b.default)("xmodem",(a,b)=>{let c=void 0!==b?~~b:0;for(let b=0;b<a.length;b++){let d=c>>>8&255;d^=255&a[b],d^=d>>>4,c=c<<8&65535^d^(d=d<<5&65535)^(d=d<<7&65535)}return c});let i=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];"u">typeof Int32Array&&(i=new Int32Array(i)),(0,b.default)("kermit",(a,b)=>{let c=void 0!==b?~~b:0;for(let b=0;b<a.length;b++)c=(i[(c^a[b])&255]^c>>8)&65535;return c});let j=[0,8801531,9098509,825846,9692897,1419802,1651692,0x9f7f17,0xa18139,2608578,2839604,0xad18cf,3303384,0xb42b23,0xb8b2d5,4128302,0xc54e89,4391538,5217156,0xc9d77f,5679208,0xd0e493,0xdc7d65,5910942,6606768,0xe2834b,0xee1abd,6837830,0xf72951,7431594,8256604,0xfbb0a7,840169,9084178,8783076,18463,0x9f3708,1670131,1434117,9678590,0xad50d0,2825259,2590173,0xa1c926,4109873,0xb8faca,0xb4633c,3289031,0xc99f60,5231515,4409965,0xc50696,5929345,0xdc357a,0xd0ac8c,5693559,6823513,0xee52a2,0xe2cb54,6588335,0xfbf8b8,8238147,7417269,0xf7614e,1680338,0x9fef29,9664223,1391140,9061683,788936,36926,8838341,0xb822eb,4091408,3340262,0xb4bb1d,2868234,0xad88f1,0xa11107,2579964,0xdced5b,5939616,5650518,0xd074ad,5180346,0xc94741,0xc5deb7,4428364,8219746,0xfb2099,0xf7b96f,7468436,0xee8a83,6866552,6578062,0xe21375,1405499,9649856,0x9fa736,1698765,8819930,55329,803287,9047340,0xb4f302,3325945,4072975,0xb86af4,2561507,0xa15918,0xadc0ee,2853909,0xd03cb2,5664841,5958079,0xdca544,4446803,0xc596a8,0xc90f5e,5194661,7454091,0xf7f170,0xfb6886,8201341,0xe25b6a,6559633,6852199,0xeec29c,3360676,0xb50b5f,0xb992a9,4185682,0xa0a145,2551230,2782280,0xac38b3,9619101,1346150,1577872,0x9e5f6b,73852,8875143,9172337,899466,0xf6092d,7357910,8182816,0xfa90db,6680524,0xe3a337,0xef3ac1,6911546,5736468,0xd1c4ef,0xdd5d19,5968354,0xc46ef5,4334094,5159928,0xc8f703,4167245,0xb9dab6,0xb54340,3346363,0xac70ac,2767959,2532769,0xa0e95a,0x9e1774,1596303,1360505,9604738,913813,9157998,8856728,92259,0xfad8c4,8164415,7343561,0xf64132,6897189,0xef72de,0xe3eb28,6662099,5986813,0xdd1506,0xd18cf0,5750795,0xc8bf1c,5174247,4352529,0xc426ea,2810998,0xaca88d,0xa0317b,2522496,0xb90297,4148844,3397530,0xb59b61,9135439,862644,110658,8912057,1606574,0x9ecf55,9590435,1317464,0xefaaff,6940164,6651890,0xe33309,8145950,0xfa00e5,0xf69913,7394792,5123014,0xc8673d,0xc4fecb,4370992,0xddcd27,5997020,5707818,0xd154d1,2504095,0xa07964,0xace092,2796649,0xb5d37e,3383173,4130419,0xb94a88,8893606,129117,876971,9121104,1331783,9576124,0x9e874a,1625009,0xe37b16,6633453,6925851,0xefe2e0,7380471,0xf6d10c,0xfa48fa,8127489,4389423,0xc4b6d4,0xc82f22,5137369,0xd11cce,5722165,6015427,0xdd8538];"u">typeof Int32Array&&(j=new Int32Array(j)),(0,b.default)("crc-24",(a,b)=>{let c=void 0!==b?~~b:0xb704ce;for(let b=0;b<a.length;b++)c=(j[(c>>16^a[b])&255]^c<<8)&0xffffff;return c});var k=a.i(75537);let l=[0,0x4c11db7,0x9823b6e,0xd4326d9,0x130476dc,0x17c56b6b,0x1a864db2,0x1e475005,0x2608edb8,0x22c9f00f,0x2f8ad6d6,0x2b4bcb61,0x350c9b64,0x31cd86d3,0x3c8ea00a,0x384fbdbd,0x4c11db70,0x48d0c6c7,0x4593e01e,0x4152fda9,0x5f15adac,0x5bd4b01b,0x569796c2,0x52568b75,0x6a1936c8,0x6ed82b7f,0x639b0da6,0x675a1011,0x791d4014,0x7ddc5da3,0x709f7b7a,0x745e66cd,0x9823b6e0,0x9ce2ab57,0x91a18d8e,0x95609039,0x8b27c03c,0x8fe6dd8b,0x82a5fb52,0x8664e6e5,0xbe2b5b58,0xbaea46ef,0xb7a96036,0xb3687d81,0xad2f2d84,0xa9ee3033,0xa4ad16ea,0xa06c0b5d,0xd4326d90,0xd0f37027,0xddb056fe,0xd9714b49,0xc7361b4c,0xc3f706fb,0xceb42022,0xca753d95,0xf23a8028,0xf6fb9d9f,0xfbb8bb46,0xff79a6f1,0xe13ef6f4,0xe5ffeb43,0xe8bccd9a,0xec7dd02d,0x34867077,0x30476dc0,0x3d044b19,0x39c556ae,0x278206ab,0x23431b1c,0x2e003dc5,0x2ac12072,0x128e9dcf,0x164f8078,0x1b0ca6a1,0x1fcdbb16,0x18aeb13,0x54bf6a4,0x808d07d,0xcc9cdca,0x7897ab07,0x7c56b6b0,0x71159069,0x75d48dde,0x6b93dddb,0x6f52c06c,0x6211e6b5,0x66d0fb02,0x5e9f46bf,0x5a5e5b08,0x571d7dd1,0x53dc6066,0x4d9b3063,0x495a2dd4,0x44190b0d,0x40d816ba,0xaca5c697,0xa864db20,0xa527fdf9,0xa1e6e04e,0xbfa1b04b,0xbb60adfc,0xb6238b25,0xb2e29692,0x8aad2b2f,0x8e6c3698,0x832f1041,0x87ee0df6,0x99a95df3,0x9d684044,0x902b669d,0x94ea7b2a,0xe0b41de7,0xe4750050,0xe9362689,0xedf73b3e,0xf3b06b3b,0xf771768c,0xfa325055,0xfef34de2,0xc6bcf05f,0xc27dede8,0xcf3ecb31,0xcbffd686,0xd5b88683,0xd1799b34,0xdc3abded,0xd8fba05a,0x690ce0ee,0x6dcdfd59,0x608edb80,0x644fc637,0x7a089632,0x7ec98b85,0x738aad5c,0x774bb0eb,0x4f040d56,0x4bc510e1,0x46863638,0x42472b8f,0x5c007b8a,0x58c1663d,0x558240e4,0x51435d53,0x251d3b9e,0x21dc2629,0x2c9f00f0,0x285e1d47,0x36194d42,0x32d850f5,0x3f9b762c,0x3b5a6b9b,0x315d626,0x7d4cb91,0xa97ed48,0xe56f0ff,0x1011a0fa,0x14d0bd4d,0x19939b94,0x1d528623,0xf12f560e,0xf5ee4bb9,0xf8ad6d60,0xfc6c70d7,0xe22b20d2,0xe6ea3d65,0xeba91bbc,0xef68060b,0xd727bbb6,0xd3e6a601,0xdea580d8,0xda649d6f,0xc423cd6a,0xc0e2d0dd,0xcda1f604,0xc960ebb3,0xbd3e8d7e,0xb9ff90c9,0xb4bcb610,0xb07daba7,0xae3afba2,0xaafbe615,0xa7b8c0cc,0xa379dd7b,0x9b3660c6,0x9ff77d71,0x92b45ba8,0x9675461f,0x8832161a,0x8cf30bad,0x81b02d74,0x857130c3,0x5d8a9099,0x594b8d2e,0x5408abf7,0x50c9b640,0x4e8ee645,0x4a4ffbf2,0x470cdd2b,0x43cdc09c,0x7b827d21,0x7f436096,0x7200464f,0x76c15bf8,0x68860bfd,0x6c47164a,0x61043093,0x65c52d24,0x119b4be9,0x155a565e,0x18197087,0x1cd86d30,0x29f3d35,0x65e2082,0xb1d065b,0xfdc1bec,0x3793a651,0x3352bbe6,0x3e119d3f,0x3ad08088,0x2497d08d,0x2056cd3a,0x2d15ebe3,0x29d4f654,0xc5a92679,0xc1683bce,0xcc2b1d17,0xc8ea00a0,0xd6ad50a5,0xd26c4d12,0xdf2f6bcb,0xdbee767c,0xe3a1cbc1,0xe760d676,0xea23f0af,0xeee2ed18,0xf0a5bd1d,0xf464a0aa,0xf9278673,0xfde69bc4,0x89b8fd09,0x8d79e0be,0x803ac667,0x84fbdbd0,0x9abc8bd5,0x9e7d9662,0x933eb0bb,0x97ffad0c,0xafb010b1,0xab710d06,0xa6322bdf,0xa2f33668,0xbcb4666d,0xb8757bda,0xb5365d03,0xb1f740b4];"u">typeof Int32Array&&(l=new Int32Array(l)),(0,b.default)("crc-32-mpeg",(a,b)=>{let c=void 0!==b?~~b:0xffffffff;for(let b=0;b<a.length;b++)c=l[(c>>24^a[b])&255]^c<<8;return c});let m=[0,0x77073096,0xee0e612c,0x990951ba,0x76dc419,0x706af48f,0xe963a535,0x9e6495a3,0xedb8832,0x79dcb8a4,0xe0d5e91e,0x97d2d988,0x9b64c2b,0x7eb17cbd,0xe7b82d07,0x90bf1d91,0x1db71064,0x6ab020f2,0xf3b97148,0x84be41de,0x1adad47d,0x6ddde4eb,0xf4d4b551,0x83d385c7,0x136c9856,0x646ba8c0,0xfd62f97a,0x8a65c9ec,0x14015c4f,0x63066cd9,0xfa0f3d63,0x8d080df5,0x3b6e20c8,0x4c69105e,0xd56041e4,0xa2677172,0x3c03e4d1,0x4b04d447,0xd20d85fd,0xa50ab56b,0x35b5a8fa,0x42b2986c,0xdbbbc9d6,0xacbcf940,0x32d86ce3,0x45df5c75,0xdcd60dcf,0xabd13d59,0x26d930ac,0x51de003a,0xc8d75180,0xbfd06116,0x21b4f4b5,0x56b3c423,0xcfba9599,0xb8bda50f,0x2802b89e,0x5f058808,0xc60cd9b2,0xb10be924,0x2f6f7c87,0x58684c11,0xc1611dab,0xb6662d3d,0x76dc4190,0x1db7106,0x98d220bc,0xefd5102a,0x71b18589,0x6b6b51f,0x9fbfe4a5,0xe8b8d433,0x7807c9a2,0xf00f934,0x9609a88e,0xe10e9818,0x7f6a0dbb,0x86d3d2d,0x91646c97,0xe6635c01,0x6b6b51f4,0x1c6c6162,0x856530d8,0xf262004e,0x6c0695ed,0x1b01a57b,0x8208f4c1,0xf50fc457,0x65b0d9c6,0x12b7e950,0x8bbeb8ea,0xfcb9887c,0x62dd1ddf,0x15da2d49,0x8cd37cf3,0xfbd44c65,0x4db26158,0x3ab551ce,0xa3bc0074,0xd4bb30e2,0x4adfa541,0x3dd895d7,0xa4d1c46d,0xd3d6f4fb,0x4369e96a,0x346ed9fc,0xad678846,0xda60b8d0,0x44042d73,0x33031de5,0xaa0a4c5f,0xdd0d7cc9,0x5005713c,0x270241aa,0xbe0b1010,0xc90c2086,0x5768b525,0x206f85b3,0xb966d409,0xce61e49f,0x5edef90e,0x29d9c998,0xb0d09822,0xc7d7a8b4,0x59b33d17,0x2eb40d81,0xb7bd5c3b,0xc0ba6cad,0xedb88320,0x9abfb3b6,0x3b6e20c,0x74b1d29a,0xead54739,0x9dd277af,0x4db2615,0x73dc1683,0xe3630b12,0x94643b84,0xd6d6a3e,0x7a6a5aa8,0xe40ecf0b,0x9309ff9d,0xa00ae27,0x7d079eb1,0xf00f9344,0x8708a3d2,0x1e01f268,0x6906c2fe,0xf762575d,0x806567cb,0x196c3671,0x6e6b06e7,0xfed41b76,0x89d32be0,0x10da7a5a,0x67dd4acc,0xf9b9df6f,0x8ebeeff9,0x17b7be43,0x60b08ed5,0xd6d6a3e8,0xa1d1937e,0x38d8c2c4,0x4fdff252,0xd1bb67f1,0xa6bc5767,0x3fb506dd,0x48b2364b,0xd80d2bda,0xaf0a1b4c,0x36034af6,0x41047a60,0xdf60efc3,0xa867df55,0x316e8eef,0x4669be79,0xcb61b38c,0xbc66831a,0x256fd2a0,0x5268e236,0xcc0c7795,0xbb0b4703,0x220216b9,0x5505262f,0xc5ba3bbe,0xb2bd0b28,0x2bb45a92,0x5cb36a04,0xc2d7ffa7,0xb5d0cf31,0x2cd99e8b,0x5bdeae1d,0x9b64c2b0,0xec63f226,0x756aa39c,0x26d930a,0x9c0906a9,0xeb0e363f,0x72076785,0x5005713,0x95bf4a82,0xe2b87a14,0x7bb12bae,0xcb61b38,0x92d28e9b,0xe5d5be0d,0x7cdcefb7,0xbdbdf21,0x86d3d2d4,0xf1d4e242,0x68ddb3f8,0x1fda836e,0x81be16cd,0xf6b9265b,0x6fb077e1,0x18b74777,0x88085ae6,0xff0f6a70,0x66063bca,0x11010b5c,0x8f659eff,0xf862ae69,0x616bffd3,0x166ccf45,0xa00ae278,0xd70dd2ee,0x4e048354,0x3903b3c2,0xa7672661,0xd06016f7,0x4969474d,0x3e6e77db,0xaed16a4a,0xd9d65adc,0x40df0b66,936918e3,0xa9bcae53,0xdebb9ec5,0x47b2cf7f,0x30b5ffe9,0xbdbdf21c,0xcabac28a,0x53b39330,0x24b4a3a6,0xbad03605,0xcdd70693,0x54de5729,0x23d967bf,0xb3667a2e,0xc4614ab8,0x5d681b02,0x2a6f2b94,0xb40bbe37,0xc30c8ea1,0x5a05df1b,0x2d02ef8d];"u">typeof Int32Array&&(m=new Int32Array(m)),(0,b.default)("jam",(a,b=-1)=>{let c=0===b?0:~~b;for(let b=0;b<a.length;b++)c=m[(c^a[b])&255]^c>>>8;return c}),k.default,a.s([],75755)},49234,a=>{"use strict";var b=a.i(75537);a.s(["crc32",()=>b.default])},13909,a=>{"use strict";var b=a.i(22734),c=a.i(24868),d=a.i(14747),e=a.i(26820);a.i(75755);var f=a.i(49234),g=a.i(96524),h=a.i(7877);async function i(a,b){let i=null;try{let i=a.replace(/^\//,""),j=await h.default.send(new g.GetObjectCommand({Bucket:h.R2_BUCKET,Key:i})),k=Buffer.from(await j.Body.transformToByteArray());for(let a of new e.default(k).getEntries())if(!a.entryName.startsWith("__MACOSX")&&/\.(jpg|jpeg|png|webp)$/i.test(a.entryName)){await c.default.mkdir(b,{recursive:!0});let e=d.default.extname(a.entryName).toLowerCase(),g=a.getData(),h=(0,f.crc32)(g).toString(16),i=`cover-${h}${e}`,j=d.default.join(b,i);return await c.default.writeFile(j,g),i}return console.warn(`No se encontr\xf3 imagen de portada v\xe1lida en: ${a}`),null}catch(a){i=a}finally{i&&console.error(`Error extrayendo portada desde R2: ${a}`,i)}return null}async function j(a,c){let g=null;try{if(!b.default.existsSync(a))return console.warn(`Archivo no encontrado: ${a}`),null;for(let g of new e.default(a).getEntries())if(!g.entryName.startsWith("__MACOSX")&&/\.(jpg|jpeg|png|webp)$/i.test(g.entryName)){b.default.mkdirSync(c,{recursive:!0});let a=d.default.extname(g.entryName).toLowerCase(),e=g.getData(),h=(0,f.crc32)(e).toString(16),i=`cover-${h}${a}`,j=d.default.join(c,i);return b.default.writeFileSync(j,e),i}return console.warn(`No se encontr\xf3 imagen de portada v\xe1lida en: ${a}`),null}catch(a){g=a}finally{g&&console.error(`Error extrayendo portada en: ${a}`,g)}return null}async function k(a,b,c){let d=null;try{if("cloud"===c)return await i(a,b);return await j(a,b)}catch(a){d=a}finally{d&&console.error(`Error extrayendo portada: ${a}`,d)}return null}a.s(["extractCoverCbz",0,k])},49646,a=>a.a(async(b,c)=>{try{var d=a.i(22734),e=a.i(24868),f=a.i(14747),g=a.i(40444);a.i(75755);var h=a.i(49234),i=a.i(96524),j=a.i(7877),k=a.i(92077);let b=await (0,k.loadUnrarWasmBinary)();async function l(a,c){let d=null;try{let d=a.replace(/^\//,""),k=await j.default.send(new i.GetObjectCommand({Bucket:j.R2_BUCKET,Key:d})),l=Buffer.from(await k.Body.transformToByteArray()),m=await (0,g.createExtractorFromData)({data:new Uint8Array(l).buffer,wasmBinary:new Uint8Array(b).buffer}),n=[...m.getFileList().fileHeaders].filter(a=>!a.name.startsWith("__MACOSX")&&/\.(jpg|jpeg|png|webp)$/i.test(a.name));if(0===n.length)return console.warn(`No se encontr\xf3 imagen de portada v\xe1lida en: ${a}`),null;n.sort((a,b)=>a.name.localeCompare(b.name));let o=n[0];await e.default.mkdir(c,{recursive:!0});let p=[...m.extract({files:[o.name]}).files];if(p.length>0){let a=p[0].extraction,b=f.default.extname(o.name).toLowerCase(),d=(0,h.crc32)(Buffer.from(a)).toString(16),g=`cover-${d}${b}`,i=f.default.join(c,g);return await e.default.writeFile(i,a),g}return console.warn(`No se pudo extraer la primera imagen de: ${a}`),null}catch(a){d=a}finally{d&&console.error(`Error extrayendo portada desde R2: ${a}`,d)}return null}async function m(a,c){let i=null;try{if(!d.default.existsSync(a))return console.warn(`Archivo no encontrado: ${a}`),null;let i=await e.default.readFile(a),j=await (0,g.createExtractorFromData)({data:new Uint8Array(i).buffer,wasmBinary:new Uint8Array(b).buffer}),k=[...j.getFileList().fileHeaders].filter(a=>!a.name.startsWith("__MACOSX")&&/\.(jpg|jpeg|png|webp)$/i.test(a.name));if(0===k.length)return console.warn(`No se encontr\xf3 imagen de portada v\xe1lida en: ${a}`),null;k.sort((a,b)=>a.name.localeCompare(b.name));let l=k[0];await e.default.mkdir(c,{recursive:!0});let m=[...j.extract({files:[l.name]}).files];if(m.length>0){let a=m[0].extraction,b=f.default.extname(l.name).toLowerCase(),d=(0,h.crc32)(Buffer.from(a)).toString(16),g=`cover-${d}${b}`,i=f.default.join(c,g);return await e.default.writeFile(i,a),g}return console.warn(`No se pudo extraer la primera imagen de: ${a}`),null}catch(a){i=a}finally{i&&console.error(`Error extrayendo portada en: ${a}`,i)}return null}async function n(a,b,c){let d=null;try{if("cloud"===c)return await l(a,b);return await m(a,b)}catch(a){d=a}finally{d&&console.error(`Error extrayendo portada: ${a}`,d)}return null}a.s(["extractCoverCbr",0,n]),c()}catch(a){c(a)}},!0),66748,(a,b,c)=>{(function(){c.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(a.e)},25847,(a,b,c)=>{(function(){var a,c,d,e=[].slice,f={}.hasOwnProperty;c=function(a){return!!a&&"[object Function]"===Object.prototype.toString.call(a)},d=function(a){var b;return!!a&&("function"==(b=typeof a)||"object"===b)},a=function(a){return c(Array.isArray)?Array.isArray(a):"[object Array]"===Object.prototype.toString.call(a)},b.exports.assign=function(){var a,b,d,g,h,i;if(i=arguments[0],h=2<=arguments.length?e.call(arguments,1):[],c(Object.assign))Object.assign.apply(null,arguments);else for(a=0,d=h.length;a<d;a++)if(null!=(g=h[a]))for(b in g)f.call(g,b)&&(i[b]=g[b]);return i},b.exports.isFunction=c,b.exports.isObject=d,b.exports.isArray=a,b.exports.isEmpty=function(b){var c;if(a(b))return!b.length;for(c in b)if(f.call(b,c))return!1;return!0},b.exports.isPlainObject=function(a){var b,c;return d(a)&&(c=Object.getPrototypeOf(a))&&(b=c.constructor)&&"function"==typeof b&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)},b.exports.getValue=function(a){return c(a.valueOf)?a.valueOf():a}}).call(a.e)},33952,(a,b,c)=>{(function(){b.exports=function(){function a(){}return a.prototype.hasFeature=function(a,b){return!0},a.prototype.createDocumentType=function(a,b,c){throw Error("This DOM method is not implemented.")},a.prototype.createDocument=function(a,b,c){throw Error("This DOM method is not implemented.")},a.prototype.createHTMLDocument=function(a){throw Error("This DOM method is not implemented.")},a.prototype.getFeature=function(a,b){throw Error("This DOM method is not implemented.")},a}()}).call(a.e)},58485,(a,b,c)=>{(function(){b.exports=function(){function a(){}return a.prototype.handleError=function(a){throw Error(a)},a}()}).call(a.e)},72309,(a,b,c)=>{(function(){b.exports=function(){function a(a){this.arr=a||[]}return Object.defineProperty(a.prototype,"length",{get:function(){return this.arr.length}}),a.prototype.item=function(a){return this.arr[a]||null},a.prototype.contains=function(a){return -1!==this.arr.indexOf(a)},a}()}).call(a.e)},21685,(a,b,c)=>{(function(){var c,d;c=a.r(58485),d=a.r(72309),b.exports=function(){function a(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new c,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(a.prototype,"parameterNames",{get:function(){return new d(Object.keys(this.defaultParams))}}),a.prototype.getParameter=function(a){return this.params.hasOwnProperty(a)?this.params[a]:null},a.prototype.canSetParameter=function(a,b){return!0},a.prototype.setParameter=function(a,b){return null!=b?this.params[a]=b:delete this.params[a]},a}()}).call(a.e)},26545,(a,b,c)=>{(function(){b.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(a.e)},51232,(a,b,c)=>{(function(){var c;c=a.r(26545),a.r(83427),b.exports=function(){function a(a,b,d){if(this.parent=a,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==b)throw Error("Missing attribute name. "+this.debugInfo(b));this.name=this.stringify.name(b),this.value=this.stringify.attValue(d),this.type=c.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(a.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(a.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(a.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(a.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(a.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(a.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(a.prototype,"specified",{get:function(){return!0}}),a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(a){return this.options.writer.attribute(this,this.options.writer.filterOptions(a))},a.prototype.debugInfo=function(a){return null==(a=a||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+a+"}, parent: <"+this.parent.name+">"},a.prototype.isEqualNode=function(a){return a.namespaceURI===this.namespaceURI&&a.prefix===this.prefix&&a.localName===this.localName&&a.value===this.value},a}()}).call(a.e)},18177,(a,b,c)=>{(function(){b.exports=function(){function a(a){this.nodes=a}return Object.defineProperty(a.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),a.prototype.clone=function(){return this.nodes=null},a.prototype.getNamedItem=function(a){return this.nodes[a]},a.prototype.setNamedItem=function(a){var b;return b=this.nodes[a.nodeName],this.nodes[a.nodeName]=a,b||null},a.prototype.removeNamedItem=function(a){var b;return b=this.nodes[a],delete this.nodes[a],b||null},a.prototype.item=function(a){return this.nodes[Object.keys(this.nodes)[a]]||null},a.prototype.getNamedItemNS=function(a,b){throw Error("This DOM method is not implemented.")},a.prototype.setNamedItemNS=function(a){throw Error("This DOM method is not implemented.")},a.prototype.removeNamedItemNS=function(a,b){throw Error("This DOM method is not implemented.")},a}()}).call(a.e)},8128,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k=function(a,b){for(var c in b)l.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},l={}.hasOwnProperty;i=(j=a.r(25847)).isObject,h=j.isFunction,g=j.getValue,f=a.r(83427),c=a.r(26545),d=a.r(51232),e=a.r(18177),b.exports=function(a){function b(a,d,e){var f,g,h,i;if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(d),this.type=c.Element,this.attribs={},this.schemaTypeInfo=null,null!=e&&this.attribute(e),a.type===c.Document&&(this.isRoot=!0,this.documentObject=a,a.rootObject=this,a.children)){for(g=0,h=(i=a.children).length;g<h;g++)if((f=i[g]).type===c.DocType){f.name=this.name;break}}}return k(b,a),Object.defineProperty(b.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(b.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(b.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"id",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"className",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"classList",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new e(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var a,b,c,d;for(b in(c=Object.create(this)).isRoot&&(c.documentObject=null),c.attribs={},d=this.attribs)l.call(d,b)&&(a=d[b],c.attribs[b]=a.clone());return c.children=[],this.children.forEach(function(a){var b;return(b=a.clone()).parent=c,c.children.push(b)}),c},b.prototype.attribute=function(a,b){var c,e;if(null!=a&&(a=g(a)),i(a))for(c in a)l.call(a,c)&&(e=a[c],this.attribute(c,e));else h(b)&&(b=b.apply()),this.options.keepNullAttributes&&null==b?this.attribs[a]=new d(this,a,""):null!=b&&(this.attribs[a]=new d(this,a,b));return this},b.prototype.removeAttribute=function(a){var b,c,d;if(null==a)throw Error("Missing attribute name. "+this.debugInfo());if(Array.isArray(a=g(a)))for(c=0,d=a.length;c<d;c++)b=a[c],delete this.attribs[b];else delete this.attribs[a];return this},b.prototype.toString=function(a){return this.options.writer.element(this,this.options.writer.filterOptions(a))},b.prototype.att=function(a,b){return this.attribute(a,b)},b.prototype.a=function(a,b){return this.attribute(a,b)},b.prototype.getAttribute=function(a){return this.attribs.hasOwnProperty(a)?this.attribs[a].value:null},b.prototype.setAttribute=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(a){return this.attribs.hasOwnProperty(a)?this.attribs[a]:null},b.prototype.setAttributeNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(a){return this.attribs.hasOwnProperty(a)},b.prototype.hasAttributeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(a,b){return this.attribs.hasOwnProperty(a)?this.attribs[a].isId:b},b.prototype.setIdAttributeNS=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(a){var c,d,e;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)||a.namespaceURI!==this.namespaceURI||a.prefix!==this.prefix||a.localName!==this.localName||a.attribs.length!==this.attribs.length)return!1;for(c=d=0,e=this.attribs.length-1;0<=e?d<=e:d>=e;c=0<=e?++d:--d)if(!this.attribs[c].isEqualNode(a.attribs[c]))return!1;return!0},b}(f)}).call(a.e)},80482,(a,b,c)=>{(function(){var c=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;b.exports=function(a){function b(a){b.__super__.constructor.call(this,a),this.value=""}return c(b,a),Object.defineProperty(b.prototype,"data",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(b.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(b.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),b.prototype.clone=function(){return Object.create(this)},b.prototype.substringData=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.appendData=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.insertData=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.deleteData=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.replaceData=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(a){return!!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)&&a.data===this.data},b}(a.r(83427))}).call(a.e)},88275,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=c.CData,this.value=this.stringify.cdata(d)}return d(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.cdata(this,this.options.writer.filterOptions(a))},b}(a.r(80482))}).call(a.e)},50498,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=c.Comment,this.value=this.stringify.comment(d)}return d(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.comment(this,this.options.writer.filterOptions(a))},b}(a.r(80482))}).call(a.e)},96083,(a,b,c)=>{(function(){var c,d,e,f=function(a,b){for(var c in b)g.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},g={}.hasOwnProperty;e=a.r(25847).isObject,d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,f,g){var h;b.__super__.constructor.call(this,a),e(d)&&(d=(h=d).version,f=h.encoding,g=h.standalone),d||(d="1.0"),this.type=c.Declaration,this.version=this.stringify.xmlVersion(d),null!=f&&(this.encoding=this.stringify.xmlEncoding(f)),null!=g&&(this.standalone=this.stringify.xmlStandalone(g))}return f(b,a),b.prototype.toString=function(a){return this.options.writer.declaration(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},61226,(a,b,c)=>{(function(){var c,d,e=function(a,b){for(var c in b)f.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},f={}.hasOwnProperty;d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,e,f,g,h){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing DTD element name. "+this.debugInfo());if(null==e)throw Error("Missing DTD attribute name. "+this.debugInfo(d));if(!f)throw Error("Missing DTD attribute type. "+this.debugInfo(d));if(!g)throw Error("Missing DTD attribute default. "+this.debugInfo(d));if(0!==g.indexOf("#")&&(g="#"+g),!g.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(d));if(h&&!g.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(d));this.elementName=this.stringify.name(d),this.type=c.AttributeDeclaration,this.attributeName=this.stringify.name(e),this.attributeType=this.stringify.dtdAttType(f),h&&(this.defaultValue=this.stringify.dtdAttDefault(h)),this.defaultValueType=g}return e(b,a),b.prototype.toString=function(a){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},43149,(a,b,c)=>{(function(){var c,d,e,f=function(a,b){for(var c in b)g.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},g={}.hasOwnProperty;e=a.r(25847).isObject,d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,f,g){if(b.__super__.constructor.call(this,a),null==f)throw Error("Missing DTD entity name. "+this.debugInfo(f));if(null==g)throw Error("Missing DTD entity value. "+this.debugInfo(f));if(this.pe=!!d,this.name=this.stringify.name(f),this.type=c.EntityDeclaration,e(g)){if(!g.pubID&&!g.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(f));if(g.pubID&&!g.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(f));if(this.internal=!1,null!=g.pubID&&(this.pubID=this.stringify.dtdPubID(g.pubID)),null!=g.sysID&&(this.sysID=this.stringify.dtdSysID(g.sysID)),null!=g.nData&&(this.nData=this.stringify.dtdNData(g.nData)),this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(f))}else this.value=this.stringify.dtdEntityValue(g),this.internal=!0}return f(b,a),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(b.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(b.prototype,"xmlVersion",{get:function(){return null}}),b.prototype.toString=function(a){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},21023,(a,b,c)=>{(function(){var c,d,e=function(a,b){for(var c in b)f.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},f={}.hasOwnProperty;d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,e){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing DTD element name. "+this.debugInfo());e||(e="(#PCDATA)"),Array.isArray(e)&&(e="("+e.join(",")+")"),this.name=this.stringify.name(d),this.type=c.ElementDeclaration,this.value=this.stringify.dtdElementValue(e)}return e(b,a),b.prototype.toString=function(a){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},2023,(a,b,c)=>{(function(){var c,d,e=function(a,b){for(var c in b)f.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},f={}.hasOwnProperty;d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,e){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing DTD notation name. "+this.debugInfo(d));if(!e.pubID&&!e.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(d));this.name=this.stringify.name(d),this.type=c.NotationDeclaration,null!=e.pubID&&(this.pubID=this.stringify.dtdPubID(e.pubID)),null!=e.sysID&&(this.sysID=this.stringify.dtdSysID(e.sysID))}return e(b,a),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),b.prototype.toString=function(a){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},57871,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k=function(a,b){for(var c in b)l.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},l={}.hasOwnProperty;j=a.r(25847).isObject,i=a.r(83427),c=a.r(26545),d=a.r(61226),f=a.r(43149),e=a.r(21023),g=a.r(2023),h=a.r(18177),b.exports=function(a){function b(a,d,e){var f,g,h,i,k,l;if(b.__super__.constructor.call(this,a),this.type=c.DocType,a.children){for(g=0,h=(i=a.children).length;g<h;g++)if((f=i[g]).type===c.Element){this.name=f.name;break}}this.documentObject=a,j(d)&&(d=(k=d).pubID,e=k.sysID),null==e&&(e=(l=[d,e])[0],d=l[1]),null!=d&&(this.pubID=this.stringify.dtdPubID(d)),null!=e&&(this.sysID=this.stringify.dtdSysID(e))}return k(b,a),Object.defineProperty(b.prototype,"entities",{get:function(){var a,b,d,e,f;for(b=0,e={},d=(f=this.children).length;b<d;b++)(a=f[b]).type!==c.EntityDeclaration||a.pe||(e[a.name]=a);return new h(e)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var a,b,d,e,f;for(b=0,e={},d=(f=this.children).length;b<d;b++)(a=f[b]).type===c.NotationDeclaration&&(e[a.name]=a);return new h(e)}}),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"internalSubset",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),b.prototype.element=function(a,b){var c;return c=new e(this,a,b),this.children.push(c),this},b.prototype.attList=function(a,b,c,e,f){var g;return g=new d(this,a,b,c,e,f),this.children.push(g),this},b.prototype.entity=function(a,b){var c;return c=new f(this,!1,a,b),this.children.push(c),this},b.prototype.pEntity=function(a,b){var c;return c=new f(this,!0,a,b),this.children.push(c),this},b.prototype.notation=function(a,b){var c;return c=new g(this,a,b),this.children.push(c),this},b.prototype.toString=function(a){return this.options.writer.docType(this,this.options.writer.filterOptions(a))},b.prototype.ele=function(a,b){return this.element(a,b)},b.prototype.att=function(a,b,c,d,e){return this.attList(a,b,c,d,e)},b.prototype.ent=function(a,b){return this.entity(a,b)},b.prototype.pent=function(a,b){return this.pEntity(a,b)},b.prototype.not=function(a,b){return this.notation(a,b)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(a){return!!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)&&a.name===this.name&&a.publicId===this.publicId&&a.systemId===this.systemId},b}(i)}).call(a.e)},1206,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing raw text. "+this.debugInfo());this.type=c.Raw,this.value=this.stringify.raw(d)}return d(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.raw(this,this.options.writer.filterOptions(a))},b}(a.r(83427))}).call(a.e)},26424,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=c.Text,this.value=this.stringify.text(d)}return d(b,a),Object.defineProperty(b.prototype,"isElementContentWhitespace",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"wholeText",{get:function(){var a,b,c;for(c="",b=this.previousSibling;b;)c=b.data+c,b=b.previousSibling;for(c+=this.data,a=this.nextSibling;a;)c+=a.data,a=a.nextSibling;return c}}),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.text(this,this.options.writer.filterOptions(a))},b.prototype.splitText=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.replaceWholeText=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b}(a.r(80482))}).call(a.e)},22396,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d,e){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing instruction target. "+this.debugInfo());this.type=c.ProcessingInstruction,this.target=this.stringify.insTarget(d),this.name=this.target,e&&(this.value=this.stringify.insValue(e))}return d(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(a))},b.prototype.isEqualNode=function(a){return!!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)&&a.target===this.target},b}(a.r(80482))}).call(a.e)},74924,(a,b,c)=>{(function(){var c,d,e=function(a,b){for(var c in b)f.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},f={}.hasOwnProperty;d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a){b.__super__.constructor.call(this,a),this.type=c.Dummy}return e(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return""},b}(d)}).call(a.e)},5028,(a,b,c)=>{(function(){b.exports=function(){function a(a){this.nodes=a}return Object.defineProperty(a.prototype,"length",{get:function(){return this.nodes.length||0}}),a.prototype.clone=function(){return this.nodes=null},a.prototype.item=function(a){return this.nodes[a]||null},a}()}).call(a.e)},28447,(a,b,c)=>{(function(){b.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(a.e)},83427,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t={}.hasOwnProperty;r=(s=a.r(25847)).isObject,q=s.isFunction,p=s.isEmpty,o=s.getValue,j=null,e=null,f=null,g=null,h=null,m=null,n=null,l=null,i=null,d=null,k=null,c=null,b.exports=function(){function b(b){this.parent=b,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,j||(j=a.r(8128),e=a.r(88275),f=a.r(50498),g=a.r(96083),h=a.r(57871),m=a.r(1206),n=a.r(26424),l=a.r(22396),i=a.r(74924),d=a.r(26545),k=a.r(5028),a.r(18177),c=a.r(28447))}return Object.defineProperty(b.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(b.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(b.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(b.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new k(this.children)),this.childNodeList}}),Object.defineProperty(b.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(b.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(b.prototype,"previousSibling",{get:function(){var a;return a=this.parent.children.indexOf(this),this.parent.children[a-1]||null}}),Object.defineProperty(b.prototype,"nextSibling",{get:function(){var a;return a=this.parent.children.indexOf(this),this.parent.children[a+1]||null}}),Object.defineProperty(b.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(b.prototype,"textContent",{get:function(){var a,b,c,e,f;if(this.nodeType!==d.Element&&this.nodeType!==d.DocumentFragment)return null;for(b=0,f="",c=(e=this.children).length;b<c;b++)(a=e[b]).textContent&&(f+=a.textContent);return f},set:function(a){throw Error("This DOM method is not implemented."+this.debugInfo())}}),b.prototype.setParent=function(a){var b,c,d,e,f;for(this.parent=a,a&&(this.options=a.options,this.stringify=a.stringify),e=this.children,f=[],c=0,d=e.length;c<d;c++)b=e[c],f.push(b.setParent(this));return f},b.prototype.element=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n;if(i=null,null===b&&null==c&&(b=(l=[{},null])[0],c=l[1]),null==b&&(b={}),r(b=o(b))||(c=(m=[b,c])[0],b=m[1]),null!=a&&(a=o(a)),Array.isArray(a))for(f=0,j=a.length;f<j;f++)e=a[f],i=this.element(e);else if(q(a))i=this.element(a.apply());else if(r(a)){for(h in a)if(t.call(a,h))if(q(n=a[h])&&(n=n.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===h.indexOf(this.stringify.convertAttKey))i=this.attribute(h.substr(this.stringify.convertAttKey.length),n);else if(!this.options.separateArrayItems&&Array.isArray(n)&&p(n))i=this.dummy();else if(r(n)&&p(n))i=this.element(h);else if(this.options.keepNullNodes||null!=n)if(!this.options.separateArrayItems&&Array.isArray(n))for(g=0,k=n.length;g<k;g++)e=n[g],(d={})[h]=e,i=this.element(d);else r(n)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===h.indexOf(this.stringify.convertTextKey)?i=this.element(n):(i=this.element(h)).element(n):i=this.element(h,n);else i=this.dummy()}else i=this.options.keepNullNodes||null!==c?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===a.indexOf(this.stringify.convertTextKey)?this.text(c):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===a.indexOf(this.stringify.convertCDataKey)?this.cdata(c):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===a.indexOf(this.stringify.convertCommentKey)?this.comment(c):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===a.indexOf(this.stringify.convertRawKey)?this.raw(c):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===a.indexOf(this.stringify.convertPIKey)?this.instruction(a.substr(this.stringify.convertPIKey.length),c):this.node(a,b,c):this.dummy();if(null==i)throw Error("Could not create any elements with: "+a+". "+this.debugInfo());return i},b.prototype.insertBefore=function(a,b,c){var d,e,f;if(null!=a?a.type:void 0)return a.setParent(this),b?(e=children.indexOf(b),f=children.splice(e),children.push(a),Array.prototype.push.apply(children,f)):children.push(a),a;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(a));return e=this.parent.children.indexOf(this),f=this.parent.children.splice(e),d=this.parent.element(a,b,c),Array.prototype.push.apply(this.parent.children,f),d},b.prototype.insertAfter=function(a,b,c){var d,e,f;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(a));return e=this.parent.children.indexOf(this),f=this.parent.children.splice(e+1),d=this.parent.element(a,b,c),Array.prototype.push.apply(this.parent.children,f),d},b.prototype.remove=function(){var a;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return a=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[a,a-a+1].concat([])),this.parent},b.prototype.node=function(a,b,c){var d,e;return null!=a&&(a=o(a)),b||(b={}),r(b=o(b))||(c=(e=[b,c])[0],b=e[1]),d=new j(this,a,b),null!=c&&d.text(c),this.children.push(d),d},b.prototype.text=function(a){var b;return r(a)&&this.element(a),b=new n(this,a),this.children.push(b),this},b.prototype.cdata=function(a){var b;return b=new e(this,a),this.children.push(b),this},b.prototype.comment=function(a){var b;return b=new f(this,a),this.children.push(b),this},b.prototype.commentBefore=function(a){var b,c;return b=this.parent.children.indexOf(this),c=this.parent.children.splice(b),this.parent.comment(a),Array.prototype.push.apply(this.parent.children,c),this},b.prototype.commentAfter=function(a){var b,c;return b=this.parent.children.indexOf(this),c=this.parent.children.splice(b+1),this.parent.comment(a),Array.prototype.push.apply(this.parent.children,c),this},b.prototype.raw=function(a){var b;return b=new m(this,a),this.children.push(b),this},b.prototype.dummy=function(){return new i(this)},b.prototype.instruction=function(a,b){var c,d,e,f,g;if(null!=a&&(a=o(a)),null!=b&&(b=o(b)),Array.isArray(a))for(f=0,g=a.length;f<g;f++)c=a[f],this.instruction(c);else if(r(a))for(c in a)t.call(a,c)&&(d=a[c],this.instruction(c,d));else q(b)&&(b=b.apply()),e=new l(this,a,b),this.children.push(e);return this},b.prototype.instructionBefore=function(a,b){var c,d;return c=this.parent.children.indexOf(this),d=this.parent.children.splice(c),this.parent.instruction(a,b),Array.prototype.push.apply(this.parent.children,d),this},b.prototype.instructionAfter=function(a,b){var c,d;return c=this.parent.children.indexOf(this),d=this.parent.children.splice(c+1),this.parent.instruction(a,b),Array.prototype.push.apply(this.parent.children,d),this},b.prototype.declaration=function(a,b,c){var e,f;return e=this.document(),f=new g(e,a,b,c),0===e.children.length?e.children.unshift(f):e.children[0].type===d.Declaration?e.children[0]=f:e.children.unshift(f),e.root()||e},b.prototype.dtd=function(a,b){var c,e,f,g,i,j,k,l,m;for(c=this.document(),e=new h(c,a,b),l=c.children,f=g=0,j=l.length;g<j;f=++g)if(l[f].type===d.DocType)return c.children[f]=e,e;for(m=c.children,f=i=0,k=m.length;i<k;f=++i)if(m[f].isRoot)return c.children.splice(f,0,e),e;return c.children.push(e),e},b.prototype.up=function(){if(this.isRoot)throw Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},b.prototype.root=function(){var a;for(a=this;a;)if(a.type===d.Document)return a.rootObject;else{if(a.isRoot)return a;a=a.parent}},b.prototype.document=function(){var a;for(a=this;a;)if(a.type===d.Document)return a;else a=a.parent},b.prototype.end=function(a){return this.document().end(a)},b.prototype.prev=function(){var a;if((a=this.parent.children.indexOf(this))<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[a-1]},b.prototype.next=function(){var a;if(-1===(a=this.parent.children.indexOf(this))||a===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[a+1]},b.prototype.importDocument=function(a){var b;return(b=a.root().clone()).parent=this,b.isRoot=!1,this.children.push(b),this},b.prototype.debugInfo=function(a){var b,c;return null!=(a=a||this.name)||(null!=(b=this.parent)?b.name:void 0)?null==a?"parent: <"+this.parent.name+">":(null!=(c=this.parent)?c.name:void 0)?"node: <"+a+">, parent: <"+this.parent.name+">":"node: <"+a+">":""},b.prototype.ele=function(a,b,c){return this.element(a,b,c)},b.prototype.nod=function(a,b,c){return this.node(a,b,c)},b.prototype.txt=function(a){return this.text(a)},b.prototype.dat=function(a){return this.cdata(a)},b.prototype.com=function(a){return this.comment(a)},b.prototype.ins=function(a,b){return this.instruction(a,b)},b.prototype.doc=function(){return this.document()},b.prototype.dec=function(a,b,c){return this.declaration(a,b,c)},b.prototype.e=function(a,b,c){return this.element(a,b,c)},b.prototype.n=function(a,b,c){return this.node(a,b,c)},b.prototype.t=function(a){return this.text(a)},b.prototype.d=function(a){return this.cdata(a)},b.prototype.c=function(a){return this.comment(a)},b.prototype.r=function(a){return this.raw(a)},b.prototype.i=function(a,b){return this.instruction(a,b)},b.prototype.u=function(){return this.up()},b.prototype.importXMLBuilder=function(a){return this.importDocument(a)},b.prototype.replaceChild=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeChild=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.appendChild=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasChildNodes=function(){return 0!==this.children.length},b.prototype.cloneNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.normalize=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isSupported=function(a,b){return!0},b.prototype.hasAttributes=function(){return 0!==this.attribs.length},b.prototype.compareDocumentPosition=function(a){var b;if(this===a)return 0;if(this.document()!==a.document())return b=c.Disconnected|c.ImplementationSpecific,.5>Math.random()?b|=c.Preceding:b|=c.Following,b;if(this.isAncestor(a))return c.Contains|c.Preceding;if(this.isDescendant(a))return c.Contains|c.Following;if(this.isPreceding(a))return c.Preceding;else return c.Following},b.prototype.isSameNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.lookupPrefix=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isDefaultNamespace=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.lookupNamespaceURI=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(a){var b,c,d;if(a.nodeType!==this.nodeType||a.children.length!==this.children.length)return!1;for(b=c=0,d=this.children.length-1;0<=d?c<=d:c>=d;b=0<=d?++c:--c)if(!this.children[b].isEqualNode(a.children[b]))return!1;return!0},b.prototype.getFeature=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setUserData=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getUserData=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.contains=function(a){return!!a&&(a===this||this.isDescendant(a))},b.prototype.isDescendant=function(a){var b,c,d,e;for(c=0,d=(e=this.children).length;c<d;c++)if(a===(b=e[c])||b.isDescendant(a))return!0;return!1},b.prototype.isAncestor=function(a){return a.isDescendant(this)},b.prototype.isPreceding=function(a){var b,c;return b=this.treePosition(a),c=this.treePosition(this),-1!==b&&-1!==c&&b<c},b.prototype.isFollowing=function(a){var b,c;return b=this.treePosition(a),c=this.treePosition(this),-1!==b&&-1!==c&&b>c},b.prototype.treePosition=function(a){var b,c;return(c=0,b=!1,this.foreachTreeNode(this.document(),function(d){if(c++,!b&&d===a)return b=!0}),b)?c:-1},b.prototype.foreachTreeNode=function(a,b){var c,d,e,f,g;for(a||(a=this.document()),d=0,e=(f=a.children).length;d<e;d++)if((g=b(c=f[d]))||(g=this.foreachTreeNode(c,b)))return g},b}()}).call(a.e)},16026,(a,b,c)=>{(function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},c={}.hasOwnProperty;b.exports=function(){function b(b){var d,e,f;for(d in this.assertLegalName=a(this.assertLegalName,this),this.assertLegalChar=a(this.assertLegalChar,this),b||(b={}),this.options=b,this.options.version||(this.options.version="1.0"),e=b.stringify||{})c.call(e,d)&&(f=e[d],this[d]=f)}return b.prototype.name=function(a){return this.options.noValidation?a:this.assertLegalName(""+a||"")},b.prototype.text=function(a){return this.options.noValidation?a:this.assertLegalChar(this.textEscape(""+a||""))},b.prototype.cdata=function(a){return this.options.noValidation?a:(a=(a=""+a||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(a))},b.prototype.comment=function(a){if(this.options.noValidation)return a;if((a=""+a||"").match(/--/))throw Error("Comment text cannot contain double-hypen: "+a);return this.assertLegalChar(a)},b.prototype.raw=function(a){return this.options.noValidation?a:""+a||""},b.prototype.attValue=function(a){return this.options.noValidation?a:this.assertLegalChar(this.attEscape(a=""+a||""))},b.prototype.insTarget=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.insValue=function(a){if(this.options.noValidation)return a;if((a=""+a||"").match(/\?>/))throw Error("Invalid processing instruction value: "+a);return this.assertLegalChar(a)},b.prototype.xmlVersion=function(a){if(this.options.noValidation)return a;if(!(a=""+a||"").match(/1\.[0-9]+/))throw Error("Invalid version number: "+a);return a},b.prototype.xmlEncoding=function(a){if(this.options.noValidation)return a;if(!(a=""+a||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+a);return this.assertLegalChar(a)},b.prototype.xmlStandalone=function(a){return this.options.noValidation?a:a?"yes":"no"},b.prototype.dtdPubID=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdSysID=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdElementValue=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdAttType=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdAttDefault=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdEntityValue=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdNData=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.convertAttKey="@",b.prototype.convertPIKey="?",b.prototype.convertTextKey="#text",b.prototype.convertCDataKey="#cdata",b.prototype.convertCommentKey="#comment",b.prototype.convertRawKey="#raw",b.prototype.assertLegalChar=function(a){var b,c;if(this.options.noValidation)return a;if(b="","1.0"===this.options.version){if(b=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=a.match(b))throw Error("Invalid character in string: "+a+" at index "+c.index)}else if("1.1"===this.options.version&&(b=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=a.match(b)))throw Error("Invalid character in string: "+a+" at index "+c.index);return a},b.prototype.assertLegalName=function(a){if(this.options.noValidation)return a;if(this.assertLegalChar(a),!a.match(/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/))throw Error("Invalid character in name");return a},b.prototype.textEscape=function(a){var b;return this.options.noValidation?a:(b=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,a.replace(b,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},b.prototype.attEscape=function(a){var b;return this.options.noValidation?a:(b=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,a.replace(b,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},b}()}).call(a.e)},7873,(a,b,c)=>{(function(){b.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(a.e)},73320,(a,b,c)=>{(function(){var c,d,e,f={}.hasOwnProperty;e=a.r(25847).assign,c=a.r(26545),a.r(96083),a.r(57871),a.r(88275),a.r(50498),a.r(8128),a.r(1206),a.r(26424),a.r(22396),a.r(74924),a.r(61226),a.r(21023),a.r(43149),a.r(2023),d=a.r(7873),b.exports=function(){function a(a){var b,c,d;for(b in a||(a={}),this.options=a,c=a.writer||{})f.call(c,b)&&(d=c[b],this["_"+b]=this[b],this[b]=d)}return a.prototype.filterOptions=function(a){var b,c,f,g,h,i,j,k;return a||(a={}),a=e({},this.options,a),(b={writer:this}).pretty=a.pretty||!1,b.allowEmpty=a.allowEmpty||!1,b.indent=null!=(c=a.indent)?c:" ",b.newline=null!=(f=a.newline)?f:"\n",b.offset=null!=(g=a.offset)?g:0,b.dontPrettyTextNodes=null!=(h=null!=(i=a.dontPrettyTextNodes)?i:a.dontprettytextnodes)?h:0,b.spaceBeforeSlash=null!=(j=null!=(k=a.spaceBeforeSlash)?k:a.spacebeforeslash)?j:"",!0===b.spaceBeforeSlash&&(b.spaceBeforeSlash=" "),b.suppressPrettyCount=0,b.user={},b.state=d.None,b},a.prototype.indent=function(a,b,c){var d;if(!b.pretty||b.suppressPrettyCount);else if(b.pretty&&(d=(c||0)+b.offset+1)>0)return Array(d).join(b.indent);return""},a.prototype.endline=function(a,b,c){return!b.pretty||b.suppressPrettyCount?"":b.newline},a.prototype.attribute=function(a,b,c){var d;return this.openAttribute(a,b,c),d=" "+a.name+'="'+a.value+'"',this.closeAttribute(a,b,c),d},a.prototype.cdata=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<![CDATA[",b.state=d.InsideTag,e+=a.value,b.state=d.CloseTag,e+="]]>"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.comment=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!-- ",b.state=d.InsideTag,e+=a.value,b.state=d.CloseTag,e+=" -->"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.declaration=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<?xml",b.state=d.InsideTag,e+=' version="'+a.version+'"',null!=a.encoding&&(e+=' encoding="'+a.encoding+'"'),null!=a.standalone&&(e+=' standalone="'+a.standalone+'"'),b.state=d.CloseTag,e+=b.spaceBeforeSlash+"?>",e+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.docType=function(a,b,c){var e,f,g,h,i;if(c||(c=0),this.openNode(a,b,c),b.state=d.OpenTag,h=this.indent(a,b,c)+"<!DOCTYPE "+a.root().name,a.pubID&&a.sysID?h+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(h+=' SYSTEM "'+a.sysID+'"'),a.children.length>0){for(h+=" [",h+=this.endline(a,b,c),b.state=d.InsideTag,f=0,g=(i=a.children).length;f<g;f++)e=i[f],h+=this.writeChildNode(e,b,c+1);b.state=d.CloseTag,h+="]"}return b.state=d.CloseTag,h+=b.spaceBeforeSlash+">",h+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),h},a.prototype.element=function(a,b,e){var g,h,i,j,k,l,m,n,o,p,q,r,s,t;for(o in e||(e=0),p=!1,q="",this.openNode(a,b,e),b.state=d.OpenTag,q+=this.indent(a,b,e)+"<"+a.name,r=a.attribs)f.call(r,o)&&(g=r[o],q+=this.attribute(g,b,e));if(j=0===(i=a.children.length)?null:a.children[0],0===i||a.children.every(function(a){return(a.type===c.Text||a.type===c.Raw)&&""===a.value}))b.allowEmpty?(q+=">",b.state=d.CloseTag,q+="</"+a.name+">"+this.endline(a,b,e)):(b.state=d.CloseTag,q+=b.spaceBeforeSlash+"/>"+this.endline(a,b,e));else if(b.pretty&&1===i&&(j.type===c.Text||j.type===c.Raw)&&null!=j.value)q+=">",b.state=d.InsideTag,b.suppressPrettyCount++,p=!0,q+=this.writeChildNode(j,b,e+1),b.suppressPrettyCount--,p=!1,b.state=d.CloseTag,q+="</"+a.name+">"+this.endline(a,b,e);else{if(b.dontPrettyTextNodes){for(k=0,m=(s=a.children).length;k<m;k++)if(((h=s[k]).type===c.Text||h.type===c.Raw)&&null!=h.value){b.suppressPrettyCount++,p=!0;break}}for(q+=">"+this.endline(a,b,e),b.state=d.InsideTag,l=0,n=(t=a.children).length;l<n;l++)h=t[l],q+=this.writeChildNode(h,b,e+1);b.state=d.CloseTag,q+=this.indent(a,b,e)+"</"+a.name+">",p&&b.suppressPrettyCount--,q+=this.endline(a,b,e),b.state=d.None}return this.closeNode(a,b,e),q},a.prototype.writeChildNode=function(a,b,d){switch(a.type){case c.CData:return this.cdata(a,b,d);case c.Comment:return this.comment(a,b,d);case c.Element:return this.element(a,b,d);case c.Raw:return this.raw(a,b,d);case c.Text:return this.text(a,b,d);case c.ProcessingInstruction:return this.processingInstruction(a,b,d);case c.Dummy:return"";case c.Declaration:return this.declaration(a,b,d);case c.DocType:return this.docType(a,b,d);case c.AttributeDeclaration:return this.dtdAttList(a,b,d);case c.ElementDeclaration:return this.dtdElement(a,b,d);case c.EntityDeclaration:return this.dtdEntity(a,b,d);case c.NotationDeclaration:return this.dtdNotation(a,b,d);default:throw Error("Unknown XML node type: "+a.constructor.name)}},a.prototype.processingInstruction=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<?",b.state=d.InsideTag,e+=a.target,a.value&&(e+=" "+a.value),b.state=d.CloseTag,e+=b.spaceBeforeSlash+"?>",e+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.raw=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c),b.state=d.InsideTag,e+=a.value,b.state=d.CloseTag,e+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.text=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c),b.state=d.InsideTag,e+=a.value,b.state=d.CloseTag,e+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.dtdAttList=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!ATTLIST",b.state=d.InsideTag,e+=" "+a.elementName+" "+a.attributeName+" "+a.attributeType,"#DEFAULT"!==a.defaultValueType&&(e+=" "+a.defaultValueType),a.defaultValue&&(e+=' "'+a.defaultValue+'"'),b.state=d.CloseTag,e+=b.spaceBeforeSlash+">"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.dtdElement=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!ELEMENT",b.state=d.InsideTag,e+=" "+a.name+" "+a.value,b.state=d.CloseTag,e+=b.spaceBeforeSlash+">"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.dtdEntity=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!ENTITY",b.state=d.InsideTag,a.pe&&(e+=" %"),e+=" "+a.name,a.value?e+=' "'+a.value+'"':(a.pubID&&a.sysID?e+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(e+=' SYSTEM "'+a.sysID+'"'),a.nData&&(e+=" NDATA "+a.nData)),b.state=d.CloseTag,e+=b.spaceBeforeSlash+">"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.dtdNotation=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!NOTATION",b.state=d.InsideTag,e+=" "+a.name,a.pubID&&a.sysID?e+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.pubID?e+=' PUBLIC "'+a.pubID+'"':a.sysID&&(e+=' SYSTEM "'+a.sysID+'"'),b.state=d.CloseTag,e+=b.spaceBeforeSlash+">"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.openNode=function(a,b,c){},a.prototype.closeNode=function(a,b,c){},a.prototype.openAttribute=function(a,b,c){},a.prototype.closeAttribute=function(a,b,c){},a}()}).call(a.e)},93045,(a,b,c)=>{(function(){var c=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;b.exports=function(a){function b(a){b.__super__.constructor.call(this,a)}return c(b,a),b.prototype.document=function(a,b){var c,d,e,f,g;for(d=0,b=this.filterOptions(b),f="",e=(g=a.children).length;d<e;d++)c=g[d],f+=this.writeChildNode(c,b,0);return b.pretty&&f.slice(-b.newline.length)===b.newline&&(f=f.slice(0,-b.newline.length)),f},b}(a.r(73320))}).call(a.e)},32491,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j=function(a,b){for(var c in b)k.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},k={}.hasOwnProperty;i=a.r(25847).isPlainObject,e=a.r(33952),d=a.r(21685),f=a.r(83427),c=a.r(26545),h=a.r(16026),g=a.r(93045),b.exports=function(a){function b(a){b.__super__.constructor.call(this,null),this.name="#document",this.type=c.Document,this.documentURI=null,this.domConfig=new d,a||(a={}),a.writer||(a.writer=new g),this.options=a,this.stringify=new h(a)}return j(b,a),Object.defineProperty(b.prototype,"implementation",{value:new e}),Object.defineProperty(b.prototype,"doctype",{get:function(){var a,b,d,e;for(b=0,d=(e=this.children).length;b<d;b++)if((a=e[b]).type===c.DocType)return a;return null}}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(b.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(b.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===c.Declaration?this.children[0].encoding:null}}),Object.defineProperty(b.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===c.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(b.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===c.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(b.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(b.prototype,"origin",{get:function(){return null}}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(b.prototype,"contentType",{get:function(){return null}}),b.prototype.end=function(a){var b;return b={},a?i(a)&&(b=a,a=this.options.writer):a=this.options.writer,a.document(this,a.filterOptions(b))},b.prototype.toString=function(a){return this.options.writer.document(this,this.options.writer.filterOptions(a))},b.prototype.createElement=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createDocumentFragment=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createTextNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createComment=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createCDATASection=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createProcessingInstruction=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createAttribute=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createEntityReference=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.importNode=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createElementNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createAttributeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementById=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.adoptNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.normalizeDocument=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.renameNode=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createEvent=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createRange=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createNodeIterator=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createTreeWalker=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b}(f)}).call(a.e)},55518,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z={}.hasOwnProperty;w=(y=a.r(25847)).isObject,v=y.isFunction,x=y.isPlainObject,u=y.getValue,c=a.r(26545),n=a.r(32491),o=a.r(8128),f=a.r(88275),g=a.r(50498),q=a.r(1206),t=a.r(26424),p=a.r(22396),l=a.r(96083),m=a.r(57871),h=a.r(61226),j=a.r(43149),i=a.r(21023),k=a.r(2023),e=a.r(51232),s=a.r(16026),r=a.r(93045),d=a.r(7873),b.exports=function(){function a(a,b,d){var e;this.name="?xml",this.type=c.Document,a||(a={}),e={},a.writer?x(a.writer)&&(e=a.writer,a.writer=new r):a.writer=new r,this.options=a,this.writer=a.writer,this.writerOptions=this.writer.filterOptions(e),this.stringify=new s(a),this.onDataCallback=b||function(){},this.onEndCallback=d||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return a.prototype.createChildNode=function(a){var b,d,e,f,g,h,i,j;switch(a.type){case c.CData:this.cdata(a.value);break;case c.Comment:this.comment(a.value);break;case c.Element:for(d in e={},i=a.attribs)z.call(i,d)&&(b=i[d],e[d]=b.value);this.node(a.name,e);break;case c.Dummy:this.dummy();break;case c.Raw:this.raw(a.value);break;case c.Text:this.text(a.value);break;case c.ProcessingInstruction:this.instruction(a.target,a.value);break;default:throw Error("This XML node type is not supported in a JS object: "+a.constructor.name)}for(g=0,h=(j=a.children).length;g<h;g++)f=j[g],this.createChildNode(f),f.type===c.Element&&this.up();return this},a.prototype.dummy=function(){return this},a.prototype.node=function(a,b,c){var d;if(null==a)throw Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw Error("Document can only have one root node. "+this.debugInfo(a));return this.openCurrent(),a=u(a),null==b&&(b={}),w(b=u(b))||(c=(d=[b,c])[0],b=d[1]),this.currentNode=new o(this,a,b),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=c&&this.text(c),this},a.prototype.element=function(a,b,d){var e,f,g,h,i,j;if(this.currentNode&&this.currentNode.type===c.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(a)||w(a)||v(a))for(h=this.options.noValidation,this.options.noValidation=!0,(j=new n(this.options).element("TEMP_ROOT")).element(a),this.options.noValidation=h,f=0,g=(i=j.children).length;f<g;f++)e=i[f],this.createChildNode(e),e.type===c.Element&&this.up();else this.node(a,b,d);return this},a.prototype.attribute=function(a,b){var c,d;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(a));if(null!=a&&(a=u(a)),w(a))for(c in a)z.call(a,c)&&(d=a[c],this.attribute(c,d));else v(b)&&(b=b.apply()),this.options.keepNullAttributes&&null==b?this.currentNode.attribs[a]=new e(this,a,""):null!=b&&(this.currentNode.attribs[a]=new e(this,a,b));return this},a.prototype.text=function(a){var b;return this.openCurrent(),b=new t(this,a),this.onData(this.writer.text(b,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.cdata=function(a){var b;return this.openCurrent(),b=new f(this,a),this.onData(this.writer.cdata(b,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.comment=function(a){var b;return this.openCurrent(),b=new g(this,a),this.onData(this.writer.comment(b,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.raw=function(a){var b;return this.openCurrent(),b=new q(this,a),this.onData(this.writer.raw(b,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.instruction=function(a,b){var c,d,e,f,g;if(this.openCurrent(),null!=a&&(a=u(a)),null!=b&&(b=u(b)),Array.isArray(a))for(c=0,f=a.length;c<f;c++)d=a[c],this.instruction(d);else if(w(a))for(d in a)z.call(a,d)&&(e=a[d],this.instruction(d,e));else v(b)&&(b=b.apply()),g=new p(this,a,b),this.onData(this.writer.processingInstruction(g,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},a.prototype.declaration=function(a,b,c){var d;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return d=new l(this,a,b,c),this.onData(this.writer.declaration(d,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.doctype=function(a,b,c){if(this.openCurrent(),null==a)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new m(this,b,c),this.currentNode.rootNodeName=a,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},a.prototype.dtdElement=function(a,b){var c;return this.openCurrent(),c=new i(this,a,b),this.onData(this.writer.dtdElement(c,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.attList=function(a,b,c,d,e){var f;return this.openCurrent(),f=new h(this,a,b,c,d,e),this.onData(this.writer.dtdAttList(f,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.entity=function(a,b){var c;return this.openCurrent(),c=new j(this,!1,a,b),this.onData(this.writer.dtdEntity(c,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.pEntity=function(a,b){var c;return this.openCurrent(),c=new j(this,!0,a,b),this.onData(this.writer.dtdEntity(c,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.notation=function(a,b){var c;return this.openCurrent(),c=new k(this,a,b),this.onData(this.writer.dtdNotation(c,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.up=function(){if(this.currentLevel<0)throw Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},a.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},a.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},a.prototype.openNode=function(a){var b,e,f,g;if(!a.isOpen){if(this.root||0!==this.currentLevel||a.type!==c.Element||(this.root=a),e="",a.type===c.Element){for(f in this.writerOptions.state=d.OpenTag,e=this.writer.indent(a,this.writerOptions,this.currentLevel)+"<"+a.name,g=a.attribs)z.call(g,f)&&(b=g[f],e+=this.writer.attribute(b,this.writerOptions,this.currentLevel));e+=(a.children?">":"/>")+this.writer.endline(a,this.writerOptions,this.currentLevel),this.writerOptions.state=d.InsideTag}else this.writerOptions.state=d.OpenTag,e=this.writer.indent(a,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+a.rootNodeName,a.pubID&&a.sysID?e+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(e+=' SYSTEM "'+a.sysID+'"'),a.children?(e+=" [",this.writerOptions.state=d.InsideTag):(this.writerOptions.state=d.CloseTag,e+=">"),e+=this.writer.endline(a,this.writerOptions,this.currentLevel);return this.onData(e,this.currentLevel),a.isOpen=!0}},a.prototype.closeNode=function(a){var b;if(!a.isClosed)return b="",this.writerOptions.state=d.CloseTag,b=a.type===c.Element?this.writer.indent(a,this.writerOptions,this.currentLevel)+"</"+a.name+">"+this.writer.endline(a,this.writerOptions,this.currentLevel):this.writer.indent(a,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(a,this.writerOptions,this.currentLevel),this.writerOptions.state=d.None,this.onData(b,this.currentLevel),a.isClosed=!0},a.prototype.onData=function(a,b){return this.documentStarted=!0,this.onDataCallback(a,b+1)},a.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},a.prototype.debugInfo=function(a){return null==a?"":"node: <"+a+">"},a.prototype.ele=function(){return this.element.apply(this,arguments)},a.prototype.nod=function(a,b,c){return this.node(a,b,c)},a.prototype.txt=function(a){return this.text(a)},a.prototype.dat=function(a){return this.cdata(a)},a.prototype.com=function(a){return this.comment(a)},a.prototype.ins=function(a,b){return this.instruction(a,b)},a.prototype.dec=function(a,b,c){return this.declaration(a,b,c)},a.prototype.dtd=function(a,b,c){return this.doctype(a,b,c)},a.prototype.e=function(a,b,c){return this.element(a,b,c)},a.prototype.n=function(a,b,c){return this.node(a,b,c)},a.prototype.t=function(a){return this.text(a)},a.prototype.d=function(a){return this.cdata(a)},a.prototype.c=function(a){return this.comment(a)},a.prototype.r=function(a){return this.raw(a)},a.prototype.i=function(a,b){return this.instruction(a,b)},a.prototype.att=function(){return this.currentNode&&this.currentNode.type===c.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},a.prototype.a=function(){return this.currentNode&&this.currentNode.type===c.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},a.prototype.ent=function(a,b){return this.entity(a,b)},a.prototype.pent=function(a,b){return this.pEntity(a,b)},a.prototype.not=function(a,b){return this.notation(a,b)},a}()}).call(a.e)},9701,(a,b,c)=>{(function(){var c,d,e,f=function(a,b){for(var c in b)g.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},g={}.hasOwnProperty;c=a.r(26545),e=a.r(73320),d=a.r(7873),b.exports=function(a){function b(a,c){this.stream=a,b.__super__.constructor.call(this,c)}return f(b,a),b.prototype.endline=function(a,c,e){return a.isLastRootNode&&c.state===d.CloseTag?"":b.__super__.endline.call(this,a,c,e)},b.prototype.document=function(a,b){var c,d,e,f,g,h,i,j,k;for(i=a.children,d=e=0,g=i.length;e<g;d=++e)(c=i[d]).isLastRootNode=d===a.children.length-1;for(f=0,b=this.filterOptions(b),j=a.children,k=[],h=j.length;f<h;f++)c=j[f],k.push(this.writeChildNode(c,b,0));return k},b.prototype.attribute=function(a,c,d){return this.stream.write(b.__super__.attribute.call(this,a,c,d))},b.prototype.cdata=function(a,c,d){return this.stream.write(b.__super__.cdata.call(this,a,c,d))},b.prototype.comment=function(a,c,d){return this.stream.write(b.__super__.comment.call(this,a,c,d))},b.prototype.declaration=function(a,c,d){return this.stream.write(b.__super__.declaration.call(this,a,c,d))},b.prototype.docType=function(a,b,c){var e,f,g,h;if(c||(c=0),this.openNode(a,b,c),b.state=d.OpenTag,this.stream.write(this.indent(a,b,c)),this.stream.write("<!DOCTYPE "+a.root().name),a.pubID&&a.sysID?this.stream.write(' PUBLIC "'+a.pubID+'" "'+a.sysID+'"'):a.sysID&&this.stream.write(' SYSTEM "'+a.sysID+'"'),a.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(a,b,c)),b.state=d.InsideTag,f=0,g=(h=a.children).length;f<g;f++)e=h[f],this.writeChildNode(e,b,c+1);b.state=d.CloseTag,this.stream.write("]")}return b.state=d.CloseTag,this.stream.write(b.spaceBeforeSlash+">"),this.stream.write(this.endline(a,b,c)),b.state=d.None,this.closeNode(a,b,c)},b.prototype.element=function(a,b,e){var f,h,i,j,k,l,m,n,o;for(m in e||(e=0),this.openNode(a,b,e),b.state=d.OpenTag,this.stream.write(this.indent(a,b,e)+"<"+a.name),n=a.attribs)g.call(n,m)&&(f=n[m],this.attribute(f,b,e));if(j=0===(i=a.children.length)?null:a.children[0],0===i||a.children.every(function(a){return(a.type===c.Text||a.type===c.Raw)&&""===a.value}))b.allowEmpty?(this.stream.write(">"),b.state=d.CloseTag,this.stream.write("</"+a.name+">")):(b.state=d.CloseTag,this.stream.write(b.spaceBeforeSlash+"/>"));else if(b.pretty&&1===i&&(j.type===c.Text||j.type===c.Raw)&&null!=j.value)this.stream.write(">"),b.state=d.InsideTag,b.suppressPrettyCount++,this.writeChildNode(j,b,e+1),b.suppressPrettyCount--,b.state=d.CloseTag,this.stream.write("</"+a.name+">");else{for(this.stream.write(">"+this.endline(a,b,e)),b.state=d.InsideTag,k=0,l=(o=a.children).length;k<l;k++)h=o[k],this.writeChildNode(h,b,e+1);b.state=d.CloseTag,this.stream.write(this.indent(a,b,e)+"</"+a.name+">")}return this.stream.write(this.endline(a,b,e)),b.state=d.None,this.closeNode(a,b,e)},b.prototype.processingInstruction=function(a,c,d){return this.stream.write(b.__super__.processingInstruction.call(this,a,c,d))},b.prototype.raw=function(a,c,d){return this.stream.write(b.__super__.raw.call(this,a,c,d))},b.prototype.text=function(a,c,d){return this.stream.write(b.__super__.text.call(this,a,c,d))},b.prototype.dtdAttList=function(a,c,d){return this.stream.write(b.__super__.dtdAttList.call(this,a,c,d))},b.prototype.dtdElement=function(a,c,d){return this.stream.write(b.__super__.dtdElement.call(this,a,c,d))},b.prototype.dtdEntity=function(a,c,d){return this.stream.write(b.__super__.dtdEntity.call(this,a,c,d))},b.prototype.dtdNotation=function(a,c,d){return this.stream.write(b.__super__.dtdNotation.call(this,a,c,d))},b}(e)}).call(a.e)},76888,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k,l;j=(l=a.r(25847)).assign,k=l.isFunction,e=a.r(33952),f=a.r(32491),g=a.r(55518),i=a.r(93045),h=a.r(9701),c=a.r(26545),d=a.r(7873),b.exports.create=function(a,b,c,d){var e,g;if(null==a)throw Error("Root element needs a name.");return g=(e=new f(d=j({},b,c,d))).element(a),d.headless||(e.declaration(d),(null!=d.pubID||null!=d.sysID)&&e.dtd(d)),g},b.exports.begin=function(a,b,c){var d;return(k(a)&&(b=(d=[a,b])[0],c=d[1],a={}),b)?new g(a,b,c):new f(a)},b.exports.stringWriter=function(a){return new i(a)},b.exports.streamWriter=function(a,b){return new h(a,b)},b.exports.implementation=new e,b.exports.nodeType=c,b.exports.writerState=d}).call(a.e)},17289,(a,b,c)=>{(function(){"use strict";var b,d,e,f,g,h={}.hasOwnProperty;b=a.r(76888),d=a.r(66748).defaults,f=function(a){return"string"==typeof a&&(a.indexOf("&")>=0||a.indexOf(">")>=0||a.indexOf("<")>=0)},g=function(a){return"<![CDATA["+e(a)+"]]>"},e=function(a){return a.replace("]]>","]]]]><![CDATA[>")},c.Builder=function(){function a(a){var b,c,e;for(b in this.options={},c=d["0.2"])h.call(c,b)&&(e=c[b],this.options[b]=e);for(b in a)h.call(a,b)&&(e=a[b],this.options[b]=e)}return a.prototype.buildObject=function(a){var c,e,i,j,k,l;return c=this.options.attrkey,e=this.options.charkey,1===Object.keys(a).length&&this.options.rootName===d["0.2"].rootName?(k=Object.keys(a)[0],a=a[k]):k=this.options.rootName,l=this,i=function(a,b){var d,j,k,m,n,o;if("object"!=typeof b)l.options.cdata&&f(b)?a.raw(g(b)):a.txt(b);else if(Array.isArray(b)){for(m in b)if(h.call(b,m))for(n in j=b[m])k=j[n],a=i(a.ele(n),k).up()}else for(n in b)if(h.call(b,n))if(j=b[n],n===c){if("object"==typeof j)for(d in j)o=j[d],a=a.att(d,o)}else if(n===e)a=l.options.cdata&&f(j)?a.raw(g(j)):a.txt(j);else if(Array.isArray(j))for(m in j)h.call(j,m)&&(a="string"==typeof(k=j[m])?l.options.cdata&&f(k)?a.ele(n).raw(g(k)).up():a.ele(n,k).up():i(a.ele(n),k).up());else"object"==typeof j?a=i(a.ele(n),j).up():"string"==typeof j&&l.options.cdata&&f(j)?a=a.ele(n).raw(g(j)).up():(null==j&&(j=""),a=a.ele(n,j.toString()).up());return a},j=b.create(k,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),i(j,a).end(this.options.renderOpts)},a}()}).call(a.e)},33477,(a,b,c)=>{!function(b){b.parser=function(a,b){return new h(a,b)},b.SAXParser=h,b.SAXStream=j,b.createStream=function(a,b){return new j(a,b)},b.MAX_BUFFER_LENGTH=65536;var c,d,e,f,g=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function h(a,c){if(!(this instanceof h))return new h(a,c);(function(a){for(var b=0,c=g.length;b<c;b++)a[g[b]]=""})(this),this.q=this.c="",this.bufferCheckPosition=b.MAX_BUFFER_LENGTH,this.encoding=null,this.opt=c||{},this.opt.lowercase=this.opt.lowercase||this.opt.lowercasetags,this.looseCase=this.opt.lowercase?"toLowerCase":"toUpperCase",this.opt.maxEntityCount=this.opt.maxEntityCount||512,this.opt.maxEntityDepth=this.opt.maxEntityDepth||4,this.entityCount=this.entityDepth=0,this.tags=[],this.closed=this.closedRoot=this.sawRoot=!1,this.tag=this.error=null,this.strict=!!a,this.noscript=!!(a||this.opt.noscript),this.state=u.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(b.XML_ENTITIES):Object.create(b.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(m)),void 0===this.opt.unquotedAttributeValues&&(this.opt.unquotedAttributeValues=!a),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),w(this,"onready")}b.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(a){function b(){}return b.prototype=a,new b}),Object.keys||(Object.keys=function(a){var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c);return b}),h.prototype={end:function(){C(this)},write:function(a){if(this.error)throw this.error;if(this.closed)return B(this,"Cannot write after close. Assign an onready handler.");if(null===a)return C(this);"object"==typeof a&&(a=a.toString());for(var c=0,d="";d=J(a,c++),this.c=d,d;)switch(this.trackPosition&&(this.position++,"\n"===d?(this.line++,this.column=0):this.column++),this.state){case u.BEGIN:if(this.state=u.BEGIN_WHITESPACE,"\uFEFF"===d)continue;I(this,d);continue;case u.BEGIN_WHITESPACE:I(this,d);continue;case u.TEXT:if(this.sawRoot&&!this.closedRoot){for(var e=c-1;d&&"<"!==d&&"&"!==d;)(d=J(a,c++))&&this.trackPosition&&(this.position++,"\n"===d?(this.line++,this.column=0):this.column++);this.textNode+=a.substring(e,c-1)}"<"!==d||this.sawRoot&&this.closedRoot&&!this.strict?(r(d)||this.sawRoot&&!this.closedRoot||D(this,"Text data outside of root node."),"&"===d?this.state=u.TEXT_ENTITY:this.textNode+=d):(this.state=u.OPEN_WAKA,this.startTagPosition=this.position);continue;case u.SCRIPT:"<"===d?this.state=u.SCRIPT_ENDING:this.script+=d;continue;case u.SCRIPT_ENDING:"/"===d?this.state=u.CLOSE_TAG:(this.script+="<"+d,this.state=u.SCRIPT);continue;case u.OPEN_WAKA:"!"===d?(this.state=u.SGML_DECL,this.sgmlDecl=""):r(d)||(t(n,d)?(this.state=u.OPEN_TAG,this.tagName=d):"/"===d?(this.state=u.CLOSE_TAG,this.tagName=""):"?"===d?(this.state=u.PROC_INST,this.procInstName=this.procInstBody=""):(D(this,"Unencoded <"),this.startTagPosition+1<this.position&&(d=Array(this.position-this.startTagPosition).join(" ")+d),this.textNode+="<"+d,this.state=u.TEXT));continue;case u.SGML_DECL:if(this.sgmlDecl+d==="--"){this.state=u.COMMENT,this.comment="",this.sgmlDecl="";continue}this.doctype&&!0!==this.doctype&&this.sgmlDecl?(this.state=u.DOCTYPE_DTD,this.doctype+="<!"+this.sgmlDecl+d,this.sgmlDecl=""):"[CDATA["===(this.sgmlDecl+d).toUpperCase()?(y(this,"onopencdata"),this.state=u.CDATA,this.sgmlDecl="",this.cdata=""):"DOCTYPE"===(this.sgmlDecl+d).toUpperCase()?(this.state=u.DOCTYPE,(this.doctype||this.sawRoot)&&D(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===d?(y(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=u.TEXT):(s(d)&&(this.state=u.SGML_DECL_QUOTED),this.sgmlDecl+=d);continue;case u.SGML_DECL_QUOTED:d===this.q&&(this.state=u.SGML_DECL,this.q=""),this.sgmlDecl+=d;continue;case u.DOCTYPE:">"===d?(this.state=u.TEXT,y(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=d,"["===d?this.state=u.DOCTYPE_DTD:s(d)&&(this.state=u.DOCTYPE_QUOTED,this.q=d));continue;case u.DOCTYPE_QUOTED:this.doctype+=d,d===this.q&&(this.q="",this.state=u.DOCTYPE);continue;case u.DOCTYPE_DTD:"]"===d?(this.doctype+=d,this.state=u.DOCTYPE):"<"===d?(this.state=u.OPEN_WAKA,this.startTagPosition=this.position):s(d)?(this.doctype+=d,this.state=u.DOCTYPE_DTD_QUOTED,this.q=d):this.doctype+=d;continue;case u.DOCTYPE_DTD_QUOTED:this.doctype+=d,d===this.q&&(this.state=u.DOCTYPE_DTD,this.q="");continue;case u.COMMENT:"-"===d?this.state=u.COMMENT_ENDING:this.comment+=d;continue;case u.COMMENT_ENDING:"-"===d?(this.state=u.COMMENT_ENDED,this.comment=A(this.opt,this.comment),this.comment&&y(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+d,this.state=u.COMMENT);continue;case u.COMMENT_ENDED:">"!==d?(D(this,"Malformed comment"),this.comment+="--"+d,this.state=u.COMMENT):this.doctype&&!0!==this.doctype?this.state=u.DOCTYPE_DTD:this.state=u.TEXT;continue;case u.CDATA:for(var e=c-1;d&&"]"!==d;)(d=J(a,c++))&&this.trackPosition&&(this.position++,"\n"===d?(this.line++,this.column=0):this.column++);this.cdata+=a.substring(e,c-1),"]"===d&&(this.state=u.CDATA_ENDING);continue;case u.CDATA_ENDING:"]"===d?this.state=u.CDATA_ENDING_2:(this.cdata+="]"+d,this.state=u.CDATA);continue;case u.CDATA_ENDING_2:">"===d?(this.cdata&&y(this,"oncdata",this.cdata),y(this,"onclosecdata"),this.cdata="",this.state=u.TEXT):"]"===d?this.cdata+="]":(this.cdata+="]]"+d,this.state=u.CDATA);continue;case u.PROC_INST:"?"===d?this.state=u.PROC_INST_ENDING:r(d)?this.state=u.PROC_INST_BODY:this.procInstName+=d;continue;case u.PROC_INST_BODY:!this.procInstBody&&r(d)||("?"===d?this.state=u.PROC_INST_ENDING:this.procInstBody+=d);continue;case u.PROC_INST_ENDING:if(">"===d){let a={name:this.procInstName,body:this.procInstBody};!function(a,b){if(a.strict&&a.encoding&&b&&"xml"===b.name){let g,h;var c,d,e,f=(d=(c=b.body)&&c.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i))?d[2]:null;f&&(e=a.encoding,g=x(e),h=x(f),g&&h&&("utf16"===h?"utf16le"!==g&&"utf16be"!==g:g!==h))&&D(a,"XML declaration encoding "+f+" does not match detected stream encoding "+a.encoding.toUpperCase())}}(this,a),y(this,"onprocessinginstruction",a),this.procInstName=this.procInstBody="",this.state=u.TEXT}else this.procInstBody+="?"+d,this.state=u.PROC_INST_BODY;continue;case u.OPEN_TAG:t(o,d)?this.tagName+=d:(!function(a){a.strict||(a.tagName=a.tagName[a.looseCase]());var b=a.tags[a.tags.length-1]||a,c=a.tag={name:a.tagName,attributes:{}};a.opt.xmlns&&(c.ns=b.ns),a.attribList.length=0,y(a,"onopentagstart",c)}(this),">"===d?G(this):"/"===d?this.state=u.OPEN_TAG_SLASH:(r(d)||D(this,"Invalid character in tag name"),this.state=u.ATTRIB));continue;case u.OPEN_TAG_SLASH:">"===d?(G(this,!0),H(this)):(D(this,"Forward-slash in opening tag not followed by >"),this.state=u.ATTRIB);continue;case u.ATTRIB:r(d)||(">"===d?G(this):"/"===d?this.state=u.OPEN_TAG_SLASH:t(n,d)?(this.attribName=d,this.attribValue="",this.state=u.ATTRIB_NAME):D(this,"Invalid attribute name"));continue;case u.ATTRIB_NAME:"="===d?this.state=u.ATTRIB_VALUE:">"===d?(D(this,"Attribute without value"),this.attribValue=this.attribName,F(this),G(this)):r(d)?this.state=u.ATTRIB_NAME_SAW_WHITE:t(o,d)?this.attribName+=d:D(this,"Invalid attribute name");continue;case u.ATTRIB_NAME_SAW_WHITE:if("="===d)this.state=u.ATTRIB_VALUE;else{if(r(d))continue;D(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",y(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===d?G(this):t(n,d)?(this.attribName=d,this.state=u.ATTRIB_NAME):(D(this,"Invalid attribute name"),this.state=u.ATTRIB)}continue;case u.ATTRIB_VALUE:r(d)||(s(d)?(this.q=d,this.state=u.ATTRIB_VALUE_QUOTED):(this.opt.unquotedAttributeValues||B(this,"Unquoted attribute value"),this.state=u.ATTRIB_VALUE_UNQUOTED,this.attribValue=d));continue;case u.ATTRIB_VALUE_QUOTED:if(d!==this.q){"&"===d?this.state=u.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=d;continue}F(this),this.q="",this.state=u.ATTRIB_VALUE_CLOSED;continue;case u.ATTRIB_VALUE_CLOSED:r(d)?this.state=u.ATTRIB:">"===d?G(this):"/"===d?this.state=u.OPEN_TAG_SLASH:t(n,d)?(D(this,"No whitespace between attributes"),this.attribName=d,this.attribValue="",this.state=u.ATTRIB_NAME):D(this,"Invalid attribute name");continue;case u.ATTRIB_VALUE_UNQUOTED:if(!(">"===(f=d)||r(f))){"&"===d?this.state=u.ATTRIB_VALUE_ENTITY_U:this.attribValue+=d;continue}F(this),">"===d?G(this):this.state=u.ATTRIB;continue;case u.CLOSE_TAG:this.tagName?">"===d?H(this):t(o,d)?this.tagName+=d:this.script?(this.script+="</"+this.tagName+d,this.tagName="",this.state=u.SCRIPT):(r(d)||D(this,"Invalid tagname in closing tag"),this.state=u.CLOSE_TAG_SAW_WHITE):r(d)||(t(n,d)?this.tagName=d:this.script?(this.script+="</"+d,this.state=u.SCRIPT):D(this,"Invalid tagname in closing tag."));continue;case u.CLOSE_TAG_SAW_WHITE:if(r(d))continue;">"===d?H(this):D(this,"Invalid characters in closing tag");continue;case u.TEXT_ENTITY:case u.ATTRIB_VALUE_ENTITY_Q:case u.ATTRIB_VALUE_ENTITY_U:switch(this.state){case u.TEXT_ENTITY:h=u.TEXT,i="textNode";break;case u.ATTRIB_VALUE_ENTITY_Q:h=u.ATTRIB_VALUE_QUOTED,i="attribValue";break;case u.ATTRIB_VALUE_ENTITY_U:h=u.ATTRIB_VALUE_UNQUOTED,i="attribValue"}if(";"===d){var f,h,i,j=function(a){var b,c=a.entity,d=c.toLowerCase(),e="";return a.ENTITIES[c]?a.ENTITIES[c]:a.ENTITIES[d]?a.ENTITIES[d]:("#"===(c=d).charAt(0)&&(e="x"===c.charAt(1)?(b=parseInt(c=c.slice(2),16)).toString(16):(b=parseInt(c=c.slice(1),10)).toString(10)),c=c.replace(/^0+/,""),isNaN(b)||e.toLowerCase()!==c||b<0||b>1114111)?(D(a,"Invalid character entity"),"&"+a.entity+";"):String.fromCodePoint(b)}(this);this.opt.unparsedEntities&&!Object.values(b.XML_ENTITIES).includes(j)?((this.entityCount+=1)>this.opt.maxEntityCount&&B(this,"Parsed entity count exceeds max entity count"),(this.entityDepth+=1)>this.opt.maxEntityDepth&&B(this,"Parsed entity depth exceeds max entity depth"),this.entity="",this.state=h,this.write(j),this.entityDepth-=1):(this[i]+=j,this.entity="",this.state=h)}else t(this.entity.length?q:p,d)?this.entity+=d:(D(this,"Invalid character in entity name"),this[i]+="&"+this.entity+d,this.entity="",this.state=h);continue;default:throw Error(this,"Unknown state: "+this.state)}return this.position>=this.bufferCheckPosition&&function(a){for(var c=Math.max(b.MAX_BUFFER_LENGTH,10),d=0,e=0,f=g.length;e<f;e++){var h=a[g[e]].length;if(h>c)switch(g[e]){case"textNode":z(a);break;case"cdata":y(a,"oncdata",a.cdata),a.cdata="";break;case"script":y(a,"onscript",a.script),a.script="";break;default:B(a,"Max buffer length exceeded: "+g[e])}d=Math.max(d,h)}a.bufferCheckPosition=b.MAX_BUFFER_LENGTH-d+a.position}(this),this},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){z(this),""!==this.cdata&&(y(this,"oncdata",this.cdata),this.cdata=""),""!==this.script&&(y(this,"onscript",this.script),this.script="")}};try{f=a.r(88947).Stream}catch(a){f=function(){}}f||(f=function(){});var i=b.EVENTS.filter(function(a){return"error"!==a&&"end"!==a});function j(a,b){if(!(this instanceof j))return new j(a,b);f.apply(this),this._parser=new h(a,b),this.writable=!0,this.readable=!0;var c=this;this._parser.onend=function(){c.emit("end")},this._parser.onerror=function(a){c.emit("error",a),c._parser.error=null},this._decoder=null,this._decoderBuffer=null,i.forEach(function(a){Object.defineProperty(c,"on"+a,{get:function(){return c._parser["on"+a]},set:function(b){if(!b)return c.removeAllListeners(a),c._parser["on"+a]=b,b;c.on(a,b)},enumerable:!0,configurable:!1})})}j.prototype=Object.create(f.prototype,{constructor:{value:j}}),j.prototype._decodeBuffer=function(a,b){if(this._decoderBuffer&&(a=Buffer.concat([this._decoderBuffer,a]),this._decoderBuffer=null),!this._decoder){var c=function(a,b){if(a.length>=2){if(255===a[0]&&254===a[1])return"utf-16le";if(254===a[0]&&255===a[1])return"utf-16be"}return a.length>=3&&239===a[0]&&187===a[1]&&191===a[2]?"utf8":a.length>=4?60===a[0]&&0===a[1]&&63===a[2]&&0===a[3]?"utf-16le":0===a[0]&&60===a[1]&&0===a[2]&&63===a[3]?"utf-16be":"utf8":b?"utf8":null}(a,b);if(!c)return this._decoderBuffer=a,"";this._parser.encoding=c,this._decoder=new TextDecoder(c)}return this._decoder.decode(a,{stream:!b})},j.prototype.write=function(a){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(a))a=this._decodeBuffer(a,!1);else if(this._decoderBuffer){var b=this._decodeBuffer(Buffer.alloc(0),!0);b&&(this._parser.write(b),this.emit("data",b))}return this._parser.write(a.toString()),this.emit("data",a),!0},j.prototype.end=function(a){if(a&&a.length&&this.write(a),this._decoderBuffer){var b=this._decodeBuffer(Buffer.alloc(0),!0);b&&(this._parser.write(b),this.emit("data",b))}else if(this._decoder){var c=this._decoder.decode();c&&(this._parser.write(c),this.emit("data",c))}return this._parser.end(),!0},j.prototype.on=function(a,b){var c=this;return c._parser["on"+a]||-1===i.indexOf(a)||(c._parser["on"+a]=function(){var b=1==arguments.length?[arguments[0]]:Array.apply(null,arguments);b.splice(0,0,a),c.emit.apply(c,b)}),f.prototype.on.call(c,a,b)};var k="http://www.w3.org/XML/1998/namespace",l="http://www.w3.org/2000/xmlns/",m={xml:k,xmlns:l},n=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,q=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function r(a){return" "===a||"\n"===a||"\r"===a||" "===a}function s(a){return'"'===a||"'"===a}function t(a,b){return a.test(b)}var u=0;for(var v in b.STATE={BEGIN:u++,BEGIN_WHITESPACE:u++,TEXT:u++,TEXT_ENTITY:u++,OPEN_WAKA:u++,SGML_DECL:u++,SGML_DECL_QUOTED:u++,DOCTYPE:u++,DOCTYPE_QUOTED:u++,DOCTYPE_DTD:u++,DOCTYPE_DTD_QUOTED:u++,COMMENT_STARTING:u++,COMMENT:u++,COMMENT_ENDING:u++,COMMENT_ENDED:u++,CDATA:u++,CDATA_ENDING:u++,CDATA_ENDING_2:u++,PROC_INST:u++,PROC_INST_BODY:u++,PROC_INST_ENDING:u++,OPEN_TAG:u++,OPEN_TAG_SLASH:u++,ATTRIB:u++,ATTRIB_NAME:u++,ATTRIB_NAME_SAW_WHITE:u++,ATTRIB_VALUE:u++,ATTRIB_VALUE_QUOTED:u++,ATTRIB_VALUE_CLOSED:u++,ATTRIB_VALUE_UNQUOTED:u++,ATTRIB_VALUE_ENTITY_Q:u++,ATTRIB_VALUE_ENTITY_U:u++,CLOSE_TAG:u++,CLOSE_TAG_SAW_WHITE:u++,SCRIPT:u++,SCRIPT_ENDING:u++},b.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},b.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(b.ENTITIES).forEach(function(a){var c=b.ENTITIES[a],d="number"==typeof c?String.fromCharCode(c):c;b.ENTITIES[a]=d}),b.STATE)b.STATE[b.STATE[v]]=v;function w(a,b,c){a[b]&&a[b](c)}function x(a){return a?a.toLowerCase().replace(/[^a-z0-9]/g,""):null}function y(a,b,c){a.textNode&&z(a),w(a,b,c)}function z(a){a.textNode=A(a.opt,a.textNode),a.textNode&&w(a,"ontext",a.textNode),a.textNode=""}function A(a,b){return a.trim&&(b=b.trim()),a.normalize&&(b=b.replace(/\s+/g," ")),b}function B(a,b){return z(a),a.trackPosition&&(b+="\nLine: "+a.line+"\nColumn: "+a.column+"\nChar: "+a.c),a.error=b=Error(b),w(a,"onerror",b),a}function C(a){return a.sawRoot&&!a.closedRoot&&D(a,"Unclosed root tag"),a.state!==u.BEGIN&&a.state!==u.BEGIN_WHITESPACE&&a.state!==u.TEXT&&B(a,"Unexpected end"),z(a),a.c="",a.closed=!0,w(a,"onend"),h.call(a,a.strict,a.opt),a}function D(a,b){if("object"!=typeof a||!(a instanceof h))throw Error("bad call to strictFail");a.strict&&B(a,b)}function E(a,b){var c=0>a.indexOf(":")?["",a]:a.split(":"),d=c[0],e=c[1];return b&&"xmlns"===a&&(d="xmlns",e=""),{prefix:d,local:e}}function F(a){if(a.strict||(a.attribName=a.attribName[a.looseCase]()),-1!==a.attribList.indexOf(a.attribName)||a.tag.attributes.hasOwnProperty(a.attribName)){a.attribName=a.attribValue="";return}if(a.opt.xmlns){var b=E(a.attribName,!0),c=b.prefix,d=b.local;if("xmlns"===c)if("xml"===d&&a.attribValue!==k)D(a,"xml: prefix must be bound to "+k+"\nActual: "+a.attribValue);else if("xmlns"===d&&a.attribValue!==l)D(a,"xmlns: prefix must be bound to "+l+"\nActual: "+a.attribValue);else{var e=a.tag,f=a.tags[a.tags.length-1]||a;e.ns===f.ns&&(e.ns=Object.create(f.ns)),e.ns[d]=a.attribValue}a.attribList.push([a.attribName,a.attribValue])}else a.tag.attributes[a.attribName]=a.attribValue,y(a,"onattribute",{name:a.attribName,value:a.attribValue});a.attribName=a.attribValue=""}function G(a,b){if(a.opt.xmlns){var c=a.tag,d=E(a.tagName);c.prefix=d.prefix,c.local=d.local,c.uri=c.ns[d.prefix]||"",c.prefix&&!c.uri&&(D(a,"Unbound namespace prefix: "+JSON.stringify(a.tagName)),c.uri=d.prefix);var e=a.tags[a.tags.length-1]||a;c.ns&&e.ns!==c.ns&&Object.keys(c.ns).forEach(function(b){y(a,"onopennamespace",{prefix:b,uri:c.ns[b]})});for(var f=0,g=a.attribList.length;f<g;f++){var h=a.attribList[f],i=h[0],j=h[1],k=E(i,!0),l=k.prefix,m=k.local,n=""===l?"":c.ns[l]||"",o={name:i,value:j,prefix:l,local:m,uri:n};l&&"xmlns"!==l&&!n&&(D(a,"Unbound namespace prefix: "+JSON.stringify(l)),o.uri=l),a.tag.attributes[i]=o,y(a,"onattribute",o)}a.attribList.length=0}a.tag.isSelfClosing=!!b,a.sawRoot=!0,a.tags.push(a.tag),y(a,"onopentag",a.tag),b||(a.noscript||"script"!==a.tagName.toLowerCase()?a.state=u.TEXT:a.state=u.SCRIPT,a.tag=null,a.tagName=""),a.attribName=a.attribValue="",a.attribList.length=0}function H(a){if(!a.tagName){D(a,"Weird empty close tag."),a.textNode+="</>",a.state=u.TEXT;return}if(a.script){if("script"!==a.tagName){a.script+="</"+a.tagName+">",a.tagName="",a.state=u.SCRIPT;return}y(a,"onscript",a.script),a.script=""}var b=a.tags.length,c=a.tagName;a.strict||(c=c[a.looseCase]());for(var d=c;b--;)if(a.tags[b].name!==d)D(a,"Unexpected close tag");else break;if(b<0){D(a,"Unmatched closing tag: "+a.tagName),a.textNode+="</"+a.tagName+">",a.state=u.TEXT;return}a.tagName=c;for(var e=a.tags.length;e-- >b;){var f=a.tag=a.tags.pop();a.tagName=a.tag.name,y(a,"onclosetag",a.tagName);var g={};for(var h in f.ns)g[h]=f.ns[h];var i=a.tags[a.tags.length-1]||a;a.opt.xmlns&&f.ns!==i.ns&&Object.keys(f.ns).forEach(function(b){var c=f.ns[b];y(a,"onclosenamespace",{prefix:b,uri:c})})}0===b&&(a.closedRoot=!0),a.tagName=a.attribValue=a.attribName="",a.attribList.length=0,a.state=u.TEXT}function I(a,b){"<"===b?(a.state=u.OPEN_WAKA,a.startTagPosition=a.position):r(b)||(D(a,"Non-whitespace before first tag."),a.textNode=b,a.state=u.TEXT)}function J(a,b){var c="";return b<a.length&&(c=a.charAt(b)),c}u=b.STATE,String.fromCodePoint||(c=String.fromCharCode,d=Math.floor,e=function(){var a,b,e=[],f=-1,g=arguments.length;if(!g)return"";for(var h="";++f<g;){var i=Number(arguments[f]);if(!isFinite(i)||i<0||i>1114111||d(i)!==i)throw RangeError("Invalid code point: "+i);i<=65535?e.push(i):(i-=65536,a=(i>>10)+55296,b=i%1024+56320,e.push(a,b)),(f+1===g||e.length>16384)&&(h+=c.apply(null,e),e.length=0)}return h},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:e,configurable:!0,writable:!0}):String.fromCodePoint=e)}(c)},86480,(a,b,c)=>{(function(){"use strict";c.stripBOM=function(a){return"\uFEFF"===a[0]?a.substring(1):a}}).call(a.e)},78360,(a,b,c)=>{(function(){"use strict";var a;a=new RegExp(/(?!xmlns)^.*:/),c.normalize=function(a){return a.toLowerCase()},c.firstCharLowerCase=function(a){return a.charAt(0).toLowerCase()+a.slice(1)},c.stripPrefix=function(b){return b.replace(a,"")},c.parseNumbers=function(a){return isNaN(a)||(a=a%1==0?parseInt(a,10):parseFloat(a)),a},c.parseBooleans=function(a){return/^(?:true|false)$/i.test(a)&&(a="true"===a.toLowerCase()),a}}).call(a.e)},1161,(a,b,c)=>{(function(){"use strict";var b,d,e,f,g,h,i,j,k=function(a,b){return function(){return a.apply(b,arguments)}},l=function(a,b){for(var c in b)m.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},m={}.hasOwnProperty;i=a.r(33477),f=a.r(27699),b=a.r(86480),h=a.r(78360),j=a.r(37464).setImmediate,d=a.r(66748).defaults,g=function(a,b,c){var d,e;for(d=0,e=a.length;d<e;d++)b=(0,a[d])(b,c);return b},e=function(a,b,c){var d;return(d=Object.create(null)).value=c,d.writable=!0,d.enumerable=!0,d.configurable=!0,Object.defineProperty(a,b,d)},c.Parser=function(a){function f(a){var b,e,f;if(this.parseStringPromise=k(this.parseStringPromise,this),this.parseString=k(this.parseString,this),this.reset=k(this.reset,this),this.assignOrPush=k(this.assignOrPush,this),this.processAsync=k(this.processAsync,this),!(this instanceof c.Parser))return new c.Parser(a);for(b in this.options={},e=d["0.2"])m.call(e,b)&&(f=e[b],this.options[b]=f);for(b in a)m.call(a,b)&&(f=a[b],this.options[b]=f);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(h.normalize)),this.reset()}return l(f,a),f.prototype.processAsync=function(){var a;try{if(this.remaining.length<=this.options.chunkSize)return a=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(a),this.saxParser.close();return a=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(a),j(this.processAsync)}catch(a){if(!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(a)}},f.prototype.assignOrPush=function(a,b,c){return b in a?(a[b]instanceof Array||e(a,b,[a[b]]),a[b].push(c)):this.options.explicitArray?e(a,b,[c]):e(a,b,c)},f.prototype.reset=function(){var a,b,c,d,f,h,j,k,l;return this.removeAllListeners(),this.saxParser=i.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(f=this,function(a){if(f.saxParser.resume(),!f.saxParser.errThrown)return f.saxParser.errThrown=!0,f.emit("error",a)}),this.saxParser.onend=(h=this,function(){if(!h.saxParser.ended)return h.saxParser.ended=!0,h.emit("end",h.resultObject)}),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,d=[],a=this.options.attrkey,b=this.options.charkey,this.saxParser.onopentag=(j=this,function(c){var f,h,i,k,l;if((i={})[b]="",!j.options.ignoreAttrs)for(f in l=c.attributes)m.call(l,f)&&(a in i||j.options.mergeAttrs||(i[a]={}),h=j.options.attrValueProcessors?g(j.options.attrValueProcessors,c.attributes[f],f):c.attributes[f],k=j.options.attrNameProcessors?g(j.options.attrNameProcessors,f):f,j.options.mergeAttrs?j.assignOrPush(i,k,h):e(i[a],k,h));return i["#name"]=j.options.tagNameProcessors?g(j.options.tagNameProcessors,c.name):c.name,j.options.xmlns&&(i[j.options.xmlnskey]={uri:c.uri,local:c.local}),d.push(i)}),this.saxParser.onclosetag=(k=this,function(){var a,c,f,h,i,j,l,n,o,p,q;if(i=(j=d.pop())["#name"],k.options.explicitChildren&&k.options.preserveChildrenOrder||delete j["#name"],!0===j.cdata&&(a=j.cdata,delete j.cdata),o=d[d.length-1],j[b].match(/^\s*$/)&&!a?(c=j[b],delete j[b]):(k.options.trim&&(j[b]=j[b].trim()),k.options.normalize&&(j[b]=j[b].replace(/\s{2,}/g," ").trim()),j[b]=k.options.valueProcessors?g(k.options.valueProcessors,j[b],i):j[b],1===Object.keys(j).length&&b in j&&!k.EXPLICIT_CHARKEY&&(j=j[b])),"object"==typeof(q=j)&&null!=q&&0===Object.keys(q).length&&(j="function"==typeof k.options.emptyTag?k.options.emptyTag():""!==k.options.emptyTag?k.options.emptyTag:c),null!=k.options.validator&&(p="/"+(function(){var a,b,c;for(a=0,c=[],b=d.length;a<b;a++)h=d[a],c.push(h["#name"]);return c})().concat(i).join("/"),!function(){try{j=k.options.validator(p,o&&o[i],j)}catch(a){return k.emit("error",a)}}()),k.options.explicitChildren&&!k.options.mergeAttrs&&"object"==typeof j)if(k.options.preserveChildrenOrder){if(o){for(f in o[k.options.childkey]=o[k.options.childkey]||[],l={},j)m.call(j,f)&&e(l,f,j[f]);o[k.options.childkey].push(l),delete j["#name"],1===Object.keys(j).length&&b in j&&!k.EXPLICIT_CHARKEY&&(j=j[b])}}else h={},k.options.attrkey in j&&(h[k.options.attrkey]=j[k.options.attrkey],delete j[k.options.attrkey]),!k.options.charsAsChildren&&k.options.charkey in j&&(h[k.options.charkey]=j[k.options.charkey],delete j[k.options.charkey]),Object.getOwnPropertyNames(j).length>0&&(h[k.options.childkey]=j),j=h;return d.length>0?k.assignOrPush(o,i,j):(k.options.explicitRoot&&(n=j,e(j={},i,n)),k.resultObject=j,k.saxParser.ended=!0,k.emit("end",k.resultObject))}),l=this,c=function(a){var c,e;if(e=d[d.length-1])return e[b]+=a,l.options.explicitChildren&&l.options.preserveChildrenOrder&&l.options.charsAsChildren&&(l.options.includeWhiteChars||""!==a.replace(/\\n/g,"").trim())&&(e[l.options.childkey]=e[l.options.childkey]||[],(c={"#name":"__text__"})[b]=a,l.options.normalize&&(c[b]=c[b].replace(/\s{2,}/g," ").trim()),e[l.options.childkey].push(c)),e},this.saxParser.ontext=c,this.saxParser.oncdata=function(a){var b;if(b=c(a))return b.cdata=!0}},f.prototype.parseString=function(a,c){null!=c&&"function"==typeof c&&(this.on("end",function(a){return this.reset(),c(null,a)}),this.on("error",function(a){return this.reset(),c(a)}));try{if(a=a.toString(),""===a.trim())return this.emit("end",null),!0;if(a=b.stripBOM(a),this.options.async)return this.remaining=a,j(this.processAsync),this.saxParser;return this.saxParser.write(a).close()}catch(a){if(!(this.saxParser.errThrown||this.saxParser.ended))return this.emit("error",a),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw a}},f.prototype.parseStringPromise=function(a){var b;return new Promise((b=this,function(c,d){return b.parseString(a,function(a,b){return a?d(a):c(b)})}))},f}(f),c.parseString=function(a,b,d){var e,f;return null!=d?("function"==typeof d&&(e=d),"object"==typeof b&&(f=b)):("function"==typeof b&&(e=b),f={}),new c.Parser(f).parseString(a,e)},c.parseStringPromise=function(a,b){var d;return"object"==typeof b&&(d=b),new c.Parser(d).parseStringPromise(a)}}).call(a.e)},14899,(a,b,c)=>{(function(){"use strict";var b,d,e,f,g=function(a,b){for(var c in b)h.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},h={}.hasOwnProperty;d=a.r(66748),b=a.r(17289),e=a.r(1161),f=a.r(78360),c.defaults=d.defaults,c.processors=f,c.ValidationError=function(a){function b(a){this.message=a}return g(b,a),b}(Error),c.Builder=b.Builder,c.Parser=e.Parser,c.parseString=e.parseString,c.parseStringPromise=e.parseStringPromise}).call(a.e)},41358,a=>{"use strict";var b=a.i(22734),c=a.i(26820),d=a.i(14899),e=a.i(96524),f=a.i(7877);let g=new d.default.Parser;async function h(a){let b=null;try{let b=await g.parseStringPromise(a);return b&&b.ComicInfo?b.ComicInfo:null}catch(a){b=a}finally{b&&console.error("Error al parsear XML:",b)}return null}async function i(a){let b=null;try{let b=a.replace(/^\//,""),d=await f.default.send(new e.GetObjectCommand({Bucket:f.R2_BUCKET,Key:b})),g=Buffer.from(await d.Body.transformToByteArray()),i=new c.default(g).getEntry("ComicInfo.xml");if(!i)return console.warn(`ComicInfo.xml no encontrado en: ${a}`),null;let j=i.getData().toString("utf8");return await h(j)}catch(a){b=a}finally{b&&console.error(`Error extrayendo metadatos desde R2: ${a}`,b)}return null}async function j(a){let d=null;try{if(!b.default.existsSync(a))return console.warn(`Archivo no encontrado: ${a}`),null;let d=new c.default(a).getEntry("ComicInfo.xml");if(!d)return console.warn(`ComicInfo.xml no encontrado en: ${a}`),null;let e=d.getData().toString("utf8");return await h(e)}catch(a){d=a}finally{d&&console.error(`Error extrayendo metadatos en: ${a}`,d)}return null}async function k(a,b){let c=null;try{let c,d;if(!(c="cloud"===b?await i(a):await j(a)))return null;let e={series:(d=a=>c[a]&&c[a][0]||null)("Series"),title:d("Title"),number:d("Number")?parseFloat(d("Number")):null,count:d("Count")?parseInt(d("Count"),10):null,publisher:d("Publisher"),imprint:d("Imprint"),languageISO:d("LanguageISO"),format:d("Format"),ageRating:d("AgeRating"),communityRating:d("CommunityRating")?parseFloat(d("CommunityRating")):null,writer:d("Writer"),penciller:d("Penciller"),inker:d("Inker"),colorist:d("Colorist"),letterer:d("Letterer"),coverArtist:d("CoverArtist"),editor:d("Editor"),summary:d("Summary"),web:d("Web"),pageCount:d("PageCount")?parseInt(d("PageCount"),10):null,year:d("Year")?parseInt(d("Year"),10):null,month:d("Month")?parseInt(d("Month"),10):null,day:d("Day")?parseInt(d("Day"),10):null,gtin:d("GTIN"),mangaStyle:d("Manga")},{genres:f,tags:g}=function(a){let b=[],c=[];if(a.Genre&&a.Genre[0]){let c=a.Genre[0].split(/[;,]/).map(a=>a.trim()).filter(Boolean);b.push(...c)}if(a.Tags&&a.Tags[0]){let b=a.Tags[0].split(/[;,]/).map(a=>a.trim()).filter(Boolean);c.push(...b)}return{genres:b,tags:c}}(c);return{metadata:e,genres:f,tags:g}}catch(a){c=a}finally{c&&console.error(`Error extrayendo metadatos: ${a}`,c)}return null}a.s(["extractMetadataCbz",0,k])},22485,a=>a.a(async(b,c)=>{try{var d=a.i(24868),e=a.i(22734),f=a.i(40444),g=a.i(14899),h=a.i(96524),i=a.i(7877),j=a.i(92077);let b=new g.default.Parser,o=await (0,j.loadUnrarWasmBinary)();async function k(a){let c=null;try{let c=await b.parseStringPromise(a);return c&&c.ComicInfo?c.ComicInfo:null}catch(a){c=a}finally{c&&console.error("Error al parsear XML:",c)}return null}async function l(a){let b=null;try{let b=a.replace(/^\//,""),c=await i.default.send(new h.GetObjectCommand({Bucket:i.R2_BUCKET,Key:b})),d=Buffer.from(await c.Body.transformToByteArray()),e=await (0,f.createExtractorFromData)({data:new Uint8Array(d).buffer,wasmBinary:new Uint8Array(o).buffer});if(![...e.getFileList().fileHeaders].find(a=>"ComicInfo.xml"===a.name))return console.warn(`ComicInfo.xml no encontrado en: ${a}`),null;let g=[...e.extract({files:["ComicInfo.xml"]}).files];if(0===g.length)return console.warn(`No se pudo extraer ComicInfo.xml de: ${a}`),null;let j=Buffer.from(g[0].extraction).toString("utf8");return await k(j)}catch(a){b=a}finally{b&&console.error(`Error extrayendo metadatos desde R2: ${a}`,b)}return null}async function m(a){let b=null;try{if(!e.default.existsSync(a))return console.warn(`Archivo no encontrado: ${a}`),null;let b=await d.default.readFile(a),c=await (0,f.createExtractorFromData)({data:new Uint8Array(b).buffer,wasmBinary:new Uint8Array(o).buffer});if(![...c.getFileList().fileHeaders].find(a=>"ComicInfo.xml"===a.name))return console.warn(`ComicInfo.xml no encontrado en: ${a}`),null;let g=[...c.extract({files:["ComicInfo.xml"]}).files];if(0===g.length)return console.warn(`No se pudo extraer ComicInfo.xml de: ${a}`),null;let h=Buffer.from(g[0].extraction).toString("utf8");return await k(h)}catch(a){b=a}finally{b&&console.error(`Error extrayendo metadatos en: ${a}`,b)}return null}async function n(a,b){let c=null;try{let c,d;if(!(c="cloud"===b?await l(a):await m(a)))return null;let e={series:(d=a=>c[a]&&c[a][0]||null)("Series"),title:d("Title"),number:d("Number")?parseFloat(d("Number")):null,count:d("Count")?parseInt(d("Count"),10):null,publisher:d("Publisher"),imprint:d("Imprint"),languageISO:d("LanguageISO"),format:d("Format"),ageRating:d("AgeRating"),communityRating:d("CommunityRating")?parseFloat(d("CommunityRating")):null,writer:d("Writer"),penciller:d("Penciller"),inker:d("Inker"),colorist:d("Colorist"),letterer:d("Letterer"),coverArtist:d("CoverArtist"),editor:d("Editor"),summary:d("Summary"),web:d("Web"),pageCount:d("PageCount")?parseInt(d("PageCount"),10):null,year:d("Year")?parseInt(d("Year"),10):null,month:d("Month")?parseInt(d("Month"),10):null,day:d("Day")?parseInt(d("Day"),10):null,gtin:d("GTIN"),mangaStyle:d("Manga")},{genres:f,tags:g}=function(a){let b=[],c=[];if(a.Genre&&a.Genre[0]){let c=a.Genre[0].split(/[;,]/).map(a=>a.trim()).filter(Boolean);b.push(...c)}if(a.Tags&&a.Tags[0]){let b=a.Tags[0].split(/[;,]/).map(a=>a.trim()).filter(Boolean);c.push(...b)}return{genres:b,tags:c}}(c);return{metadata:e,genres:f,tags:g}}catch(a){c=a}finally{c&&console.error(`Error extrayendo metadatos: ${a}`,c)}return null}a.s(["extractMetadataCbr",0,n]),c()}catch(a){c(a)}},!0),83717,a=>a.a(async(b,c)=>{try{var d=a.i(47647),e=a.i(90806),f=a.i(14747),g=a.i(24868),h=a.i(13909),i=a.i(49646),j=a.i(41358),k=a.i(22485),l=a.i(96524),m=a.i(7877),n=a.i(98115),o=a.i(7993),p=b([e,i,k,n]);[e,i,k,n]=p.then?(await p)():p;let t=process.env.LIB_PROVIDER||"local",u=f.default.resolve(process.cwd(),"../temp");async function q(a,b){var c,d;let e,o,p=0,q=0,r=0,s=(c=a.fullPath,e=f.default.extname(c).toLowerCase(),".cbz"===e||".zip"===e?h.extractCoverCbz:".cbr"===e||".rar"===e?i.extractCoverCbr:null);if(s)try{let c;"cloud"===t?(await g.default.mkdir(u,{recursive:!0}),c=f.default.join(u,`cover-${a.slug}`),await g.default.mkdir(c,{recursive:!0})):c=b;let d=await s(a.fullPath,c,t);if(d){if("cloud"===t){let a=b.replace(/^\//,""),e=`${a}/${d}`,h=await g.default.readFile(f.default.join(c,d));await m.default.send(new l.PutObjectCommand({Bucket:m.R2_BUCKET,Key:e,Body:h})),await g.default.rm(c,{recursive:!0,force:!0})}await (0,n.upsertVolumeRecord)({slug:a.slug,title:a.title,filename:a.filename,fullPath:a.fullPath,size:a.size,mtime:new Date,coverImage:d,seriesId:a.seriesId}),p++}}catch(b){console.error(`Error extrayendo portada de ${a.fullPath}:`,b.message),r++}let v=(d=a.fullPath,o=f.default.extname(d).toLowerCase(),".cbz"===o||".zip"===o?j.extractMetadataCbz:".cbr"===o||".rar"===o?k.extractMetadataCbr:null);if(v)try{let b=await v(a.fullPath,t);if(b){let{metadata:c,genres:d,tags:e}=b,f=await (0,n.upsertVolumeMetadataRecord)(a.fullPath,c);a.metadataId!==f.id&&await (0,n.linkVolumeMetadata)(a.id,f.id),await (0,n.replaceVolumeGenres)(a.id,d),await (0,n.replaceVolumeTags)(a.id,e),q++}}catch(b){console.error(`Error extrayendo metadatos de ${a.fullPath}:`,b.message),r++}return{coversUpdated:p,metaUpdated:q,errors:r}}async function r(a){let b=await (0,e.verifySession)();if(!b||!b.isAdmin)return{error:"Unauthorized"};let c=null;try{let b=await (0,n.findSeriesWithVolumesById)(a);if(!b)return{error:"Serie no encontrada"};let c=0,d=0,e=0;for(let a of b.volumes){let f=await q(a,b.path);c+=f.coversUpdated,d+=f.metaUpdated,e+=f.errors}return{success:!0,coversUpdated:c,metaUpdated:d,errors:e,totalVolumes:b.volumes.length}}catch(a){c=a}finally{if(c)return console.error("Error en scanSeries:",c),{error:"Error al escanear la serie"}}}async function s(a){let b=await (0,e.verifySession)();if(!b||!b.isAdmin)return{error:"Unauthorized"};let c=null;try{let b=await (0,n.findVolumeWithSeriesPathById)(a);if(!b)return{error:"Volumen no encontrado"};let c=await q(b,b.seriesPath);return{success:!0,coversUpdated:c.coversUpdated,metaUpdated:c.metaUpdated,errors:c.errors,totalVolumes:1}}catch(a){c=a}finally{if(c)return console.error("Error en scanVolume:",c),{error:"Error al escanear el volumen"}}}(0,o.ensureServerEntryExports)([r,s]),(0,d.registerServerReference)(r,"40e674771c60a36beab3c4ce4287f007d2fe902274",null),(0,d.registerServerReference)(s,"40466ab4c1a64a1c5294b72cc09c858cf6efc35243",null),a.s(["scanSeries",0,r,"scanVolume",0,s]),c()}catch(a){c(a)}},!1)];
|
|
192
|
+
`,[`${a}%`])}[e]=f.then?(await f)():f,a.s(["countVolumesBySeriesId",0,x,"deleteFileChecksumsByPaths",0,y,"deleteFileChecksumsByPrefix",0,z,"deleteSeriesById",0,u,"deleteVolumeById",0,v,"deleteVolumeMetadataByIds",0,w,"findSeriesBySlugBasic",0,r,"findSeriesWithVolumesById",0,p,"findVolumeBySlugBasic",0,s,"findVolumeWithSeriesPathById",0,q,"linkVolumeMetadata",0,k,"listVolumeMetadataIdsBySeriesId",0,t,"replaceVolumeGenres",0,n,"replaceVolumeTags",0,o,"upsertVolumeMetadataRecord",0,j,"upsertVolumeRecord",0,i]),c()}catch(a){c(a)}},!1),8799,a=>a.a(async(b,c)=>{try{var d=a.i(47647),e=a.i(90806),f=a.i(24868),g=a.i(14747),h=a.i(96524),i=a.i(7877),j=a.i(98115),k=a.i(2215),l=a.i(7993),m=b([e,j]);[e,j]=m.then?(await m)():m;let p=process.env.LIB_PROVIDER||"local";async function n({slug:a}){let b=null;try{if(!await (0,e.verifySession)())return{ok:!1,error:"Unauthorized",status:401};if(!a)return{ok:!1,error:"slug missing",status:400};let b=await (0,j.findSeriesBySlugBasic)(a);if(!b)return{ok:!1,error:"series not found",status:404};let c=await (0,j.listVolumeMetadataIdsBySeriesId)(b.id);await (0,j.deleteSeriesById)(b.id),c.length>0&&await (0,j.deleteVolumeMetadataByIds)(c);let d=b.path;if("cloud"===p){let a,b=d.replace(/^\/+/,"").replace(/\\/g,"/");do{let c=await i.default.send(new h.ListObjectsV2Command({Bucket:i.R2_BUCKET,Prefix:b,ContinuationToken:a})),d=c.Contents||[];if(d.length>0){let a=d.map(a=>({Key:a.Key}));await i.default.send(new h.DeleteObjectsCommand({Bucket:i.R2_BUCKET,Delete:{Objects:a}}))}a=c.IsTruncated?c.NextContinuationToken:void 0}while(a)let c=`/${b}`;await (0,j.deleteFileChecksumsByPrefix)(c)}else{await f.default.rm(d,{recursive:!0,force:!0});let a=d.startsWith("/")?d:`/${d.replace(/^\/+/,"")}`;await (0,j.deleteFileChecksumsByPrefix)(a)}return(0,k.revalidateMangaLibraryCache)(),{ok:!0}}catch(a){b=a}finally{if(b)return console.error("Error deleting series:",b),{ok:!1,error:b.message,status:500}}}async function o({slug:a}){let b=null;try{if(!await (0,e.verifySession)())return{ok:!1,error:"Unauthorized",status:401};if(!a)return{ok:!1,error:"slug missing",status:400};let b=await (0,j.findVolumeBySlugBasic)(a);if(!b)return{ok:!1,error:"volume not found",status:404};await (0,j.deleteVolumeById)(b.id),b.metadataId&&await (0,j.deleteVolumeMetadataByIds)([b.metadataId]);let c=b.fullPath;if("cloud"===p){let a=c.replace(/^\/+/,"").replace(/\\/g,"/");await i.default.send(new h.DeleteObjectCommand({Bucket:i.R2_BUCKET,Key:a}));let d=g.default.posix.join(g.default.posix.dirname(a),`${g.default.parse(a).name}.txt`);await i.default.send(new h.DeleteObjectCommand({Bucket:i.R2_BUCKET,Key:d}));let e=`/${d}`;if(await (0,j.deleteFileChecksumsByPaths)([e]),b.coverImage&&b.seriesPath){let a=b.seriesPath.replace(/^\//,""),c=`${a}/${b.coverImage}`;await i.default.send(new h.DeleteObjectCommand({Bucket:i.R2_BUCKET,Key:c}))}}else{await f.default.rm(c,{force:!0});let a=g.default.join(g.default.dirname(c),`${g.default.parse(c).name}.txt`);if(await f.default.rm(a,{force:!0}),await (0,j.deleteFileChecksumsByPaths)([a]),b.coverImage&&b.seriesPath){let a=g.default.join(b.seriesPath,b.coverImage);await f.default.rm(a,{force:!0})}}if(b.seriesId){let a=await (0,j.countVolumesBySeriesId)(b.seriesId);0===a&&await (0,j.deleteSeriesById)(b.seriesId)}return(0,k.revalidateMangaLibraryCache)(),{ok:!0}}catch(a){b=a}finally{if(b)return console.error("Error deleting volume:",b),{ok:!1,error:b.message,status:500}}}(0,l.ensureServerEntryExports)([n,o]),(0,d.registerServerReference)(n,"40f231a9f2f1f24f43c99fdabb6e0b7d1689c26ec7",null),(0,d.registerServerReference)(o,"40c2a57bca6c3212b96b74e761c2682a19de2de7a6",null),a.s(["deleteSeries",0,n,"deleteVolume",0,o]),c()}catch(a){c(a)}},!1),85813,75537,a=>{"use strict";var b=a.i(874);let c=(a,c)=>b.Buffer.from(a,c);function d(a,b){let d=(a,d)=>b(c(a),d)>>>0;return d.signed=(a,d)=>b(c(a),d),d.unsigned=d,d.model=a,d}a.s(["default",0,d],85813);let e=[0,0x77073096,0xee0e612c,0x990951ba,0x76dc419,0x706af48f,0xe963a535,0x9e6495a3,0xedb8832,0x79dcb8a4,0xe0d5e91e,0x97d2d988,0x9b64c2b,0x7eb17cbd,0xe7b82d07,0x90bf1d91,0x1db71064,0x6ab020f2,0xf3b97148,0x84be41de,0x1adad47d,0x6ddde4eb,0xf4d4b551,0x83d385c7,0x136c9856,0x646ba8c0,0xfd62f97a,0x8a65c9ec,0x14015c4f,0x63066cd9,0xfa0f3d63,0x8d080df5,0x3b6e20c8,0x4c69105e,0xd56041e4,0xa2677172,0x3c03e4d1,0x4b04d447,0xd20d85fd,0xa50ab56b,0x35b5a8fa,0x42b2986c,0xdbbbc9d6,0xacbcf940,0x32d86ce3,0x45df5c75,0xdcd60dcf,0xabd13d59,0x26d930ac,0x51de003a,0xc8d75180,0xbfd06116,0x21b4f4b5,0x56b3c423,0xcfba9599,0xb8bda50f,0x2802b89e,0x5f058808,0xc60cd9b2,0xb10be924,0x2f6f7c87,0x58684c11,0xc1611dab,0xb6662d3d,0x76dc4190,0x1db7106,0x98d220bc,0xefd5102a,0x71b18589,0x6b6b51f,0x9fbfe4a5,0xe8b8d433,0x7807c9a2,0xf00f934,0x9609a88e,0xe10e9818,0x7f6a0dbb,0x86d3d2d,0x91646c97,0xe6635c01,0x6b6b51f4,0x1c6c6162,0x856530d8,0xf262004e,0x6c0695ed,0x1b01a57b,0x8208f4c1,0xf50fc457,0x65b0d9c6,0x12b7e950,0x8bbeb8ea,0xfcb9887c,0x62dd1ddf,0x15da2d49,0x8cd37cf3,0xfbd44c65,0x4db26158,0x3ab551ce,0xa3bc0074,0xd4bb30e2,0x4adfa541,0x3dd895d7,0xa4d1c46d,0xd3d6f4fb,0x4369e96a,0x346ed9fc,0xad678846,0xda60b8d0,0x44042d73,0x33031de5,0xaa0a4c5f,0xdd0d7cc9,0x5005713c,0x270241aa,0xbe0b1010,0xc90c2086,0x5768b525,0x206f85b3,0xb966d409,0xce61e49f,0x5edef90e,0x29d9c998,0xb0d09822,0xc7d7a8b4,0x59b33d17,0x2eb40d81,0xb7bd5c3b,0xc0ba6cad,0xedb88320,0x9abfb3b6,0x3b6e20c,0x74b1d29a,0xead54739,0x9dd277af,0x4db2615,0x73dc1683,0xe3630b12,0x94643b84,0xd6d6a3e,0x7a6a5aa8,0xe40ecf0b,0x9309ff9d,0xa00ae27,0x7d079eb1,0xf00f9344,0x8708a3d2,0x1e01f268,0x6906c2fe,0xf762575d,0x806567cb,0x196c3671,0x6e6b06e7,0xfed41b76,0x89d32be0,0x10da7a5a,0x67dd4acc,0xf9b9df6f,0x8ebeeff9,0x17b7be43,0x60b08ed5,0xd6d6a3e8,0xa1d1937e,0x38d8c2c4,0x4fdff252,0xd1bb67f1,0xa6bc5767,0x3fb506dd,0x48b2364b,0xd80d2bda,0xaf0a1b4c,0x36034af6,0x41047a60,0xdf60efc3,0xa867df55,0x316e8eef,0x4669be79,0xcb61b38c,0xbc66831a,0x256fd2a0,0x5268e236,0xcc0c7795,0xbb0b4703,0x220216b9,0x5505262f,0xc5ba3bbe,0xb2bd0b28,0x2bb45a92,0x5cb36a04,0xc2d7ffa7,0xb5d0cf31,0x2cd99e8b,0x5bdeae1d,0x9b64c2b0,0xec63f226,0x756aa39c,0x26d930a,0x9c0906a9,0xeb0e363f,0x72076785,0x5005713,0x95bf4a82,0xe2b87a14,0x7bb12bae,0xcb61b38,0x92d28e9b,0xe5d5be0d,0x7cdcefb7,0xbdbdf21,0x86d3d2d4,0xf1d4e242,0x68ddb3f8,0x1fda836e,0x81be16cd,0xf6b9265b,0x6fb077e1,0x18b74777,0x88085ae6,0xff0f6a70,0x66063bca,0x11010b5c,0x8f659eff,0xf862ae69,0x616bffd3,0x166ccf45,0xa00ae278,0xd70dd2ee,0x4e048354,0x3903b3c2,0xa7672661,0xd06016f7,0x4969474d,0x3e6e77db,0xaed16a4a,0xd9d65adc,0x40df0b66,936918e3,0xa9bcae53,0xdebb9ec5,0x47b2cf7f,0x30b5ffe9,0xbdbdf21c,0xcabac28a,0x53b39330,0x24b4a3a6,0xbad03605,0xcdd70693,0x54de5729,0x23d967bf,0xb3667a2e,0xc4614ab8,0x5d681b02,0x2a6f2b94,0xb40bbe37,0xc30c8ea1,0x5a05df1b,0x2d02ef8d];"u">typeof Int32Array&&(e=new Int32Array(e));let f=d("crc-32",(a,b)=>{let c=0===b?0:-1^~~b;for(let b=0;b<a.length;b++)c=e[(c^a[b])&255]^c>>>8;return -1^c});a.s(["default",0,f],75537)},75755,a=>{"use strict";var b=a.i(85813);(0,b.default)("crc1",(a,b=0)=>{let c=~~b,d=0;for(let b=0;b<a.length;b++)d+=a[b];return(c+=d%256)%256});let c=[0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,121,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,199,192,201,206,219,220,213,210,255,248,241,246,227,228,237,234,183,176,185,190,171,172,165,162,143,136,129,134,147,148,157,154,39,32,41,46,59,60,53,50,31,24,17,22,3,4,13,10,87,80,89,94,75,76,69,66,111,104,97,102,115,116,125,122,137,142,135,128,149,146,155,156,177,182,191,184,173,170,163,164,249,254,247,240,229,226,235,236,193,198,207,200,221,218,211,212,105,110,103,96,117,114,123,124,81,86,95,88,77,74,67,68,25,30,23,16,5,2,11,12,33,38,47,40,61,58,51,52,78,73,64,71,82,85,92,91,118,113,120,127,106,109,100,99,62,57,48,55,34,37,44,43,6,1,8,15,26,29,20,19,174,169,160,167,178,181,188,187,150,145,152,159,138,141,132,131,222,217,208,215,194,197,204,203,230,225,232,239,250,253,244,243];"u">typeof Int32Array&&(c=new Int32Array(c)),(0,b.default)("crc-8",(a,b=0)=>{let d=~~b;for(let b=0;b<a.length;b++)d=255&c[(d^a[b])&255];return d});let d=[0,94,188,226,97,63,221,131,194,156,126,32,163,253,31,65,157,195,33,127,252,162,64,30,95,1,227,189,62,96,130,220,35,125,159,193,66,28,254,160,225,191,93,3,128,222,60,98,190,224,2,92,223,129,99,61,124,34,192,158,29,67,161,255,70,24,250,164,39,121,155,197,132,218,56,102,229,187,89,7,219,133,103,57,186,228,6,88,25,71,165,251,120,38,196,154,101,59,217,135,4,90,184,230,167,249,27,69,198,152,122,36,248,166,68,26,153,199,37,123,58,100,134,216,91,5,231,185,140,210,48,110,237,179,81,15,78,16,242,172,47,113,147,205,17,79,173,243,112,46,204,146,211,141,111,49,178,236,14,80,175,241,19,77,206,144,114,44,109,51,209,143,12,82,176,238,50,108,142,208,83,13,239,177,240,174,76,18,145,207,45,115,202,148,118,40,171,245,23,73,8,86,180,234,105,55,213,139,87,9,235,181,54,104,138,212,149,203,41,119,244,170,72,22,233,183,85,11,136,214,52,106,43,117,151,201,74,20,246,168,116,42,200,150,21,75,169,247,182,232,10,84,215,137,107,53];"u">typeof Int32Array&&(d=new Int32Array(d)),(0,b.default)("dallas-1-wire",(a,b=0)=>{let c=~~b;for(let b=0;b<a.length;b++)c=255&d[(c^a[b])&255];return c});let e=[0,213,127,170,254,43,129,84,41,252,86,131,215,2,168,125,82,135,45,248,172,121,211,6,123,174,4,209,133,80,250,47,164,113,219,14,90,143,37,240,141,88,242,39,115,166,12,217,246,35,137,92,8,221,119,162,223,10,160,117,33,244,94,139,157,72,226,55,99,182,28,201,180,97,203,30,74,159,53,224,207,26,176,101,49,228,78,155,230,51,153,76,24,205,103,178,57,236,70,147,199,18,184,109,16,197,111,186,238,59,145,68,107,190,20,193,149,64,234,63,66,151,61,232,188,105,195,22,239,58,144,69,17,196,110,187,198,19,185,108,56,237,71,146,189,104,194,23,67,150,60,233,148,65,235,62,106,191,21,192,75,158,52,225,181,96,202,31,98,183,29,200,156,73,227,54,25,204,102,179,231,50,152,77,48,229,79,154,206,27,177,100,114,167,13,216,140,89,243,38,91,142,36,241,165,112,218,15,32,245,95,138,222,11,161,116,9,220,118,163,247,34,136,93,214,3,169,124,40,253,87,130,255,42,128,85,1,212,126,171,132,81,251,46,122,175,5,208,173,120,210,7,83,134,44,249];"u">typeof Int32Array&&(e=new Int32Array(e)),(0,b.default)("crc-8-dvbs2",(a,b=0)=>{let c=~~b;for(let b=0;b<a.length;b++)c=255&e[(c^a[b])&255];return c});let f=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];"u">typeof Int32Array&&(f=new Int32Array(f)),(0,b.default)("crc-16",(a,b=0)=>{let c=~~b;for(let b=0;b<a.length;b++)c=(f[(c^a[b])&255]^c>>8)&65535;return c});let g=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];"u">typeof Int32Array&&(g=new Int32Array(g)),(0,b.default)("ccitt",(a,b)=>{let c=void 0!==b?~~b:65535;for(let b=0;b<a.length;b++)c=(g[(c>>8^a[b])&255]^c<<8)&65535;return c});let h=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];"u">typeof Int32Array&&(h=new Int32Array(h)),(0,b.default)("crc-16-modbus",(a,b)=>{let c=void 0!==b?~~b:65535;for(let b=0;b<a.length;b++)c=(h[(c^a[b])&255]^c>>8)&65535;return c}),(0,b.default)("xmodem",(a,b)=>{let c=void 0!==b?~~b:0;for(let b=0;b<a.length;b++){let d=c>>>8&255;d^=255&a[b],d^=d>>>4,c=c<<8&65535^d^(d=d<<5&65535)^(d=d<<7&65535)}return c});let i=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];"u">typeof Int32Array&&(i=new Int32Array(i)),(0,b.default)("kermit",(a,b)=>{let c=void 0!==b?~~b:0;for(let b=0;b<a.length;b++)c=(i[(c^a[b])&255]^c>>8)&65535;return c});let j=[0,8801531,9098509,825846,9692897,1419802,1651692,0x9f7f17,0xa18139,2608578,2839604,0xad18cf,3303384,0xb42b23,0xb8b2d5,4128302,0xc54e89,4391538,5217156,0xc9d77f,5679208,0xd0e493,0xdc7d65,5910942,6606768,0xe2834b,0xee1abd,6837830,0xf72951,7431594,8256604,0xfbb0a7,840169,9084178,8783076,18463,0x9f3708,1670131,1434117,9678590,0xad50d0,2825259,2590173,0xa1c926,4109873,0xb8faca,0xb4633c,3289031,0xc99f60,5231515,4409965,0xc50696,5929345,0xdc357a,0xd0ac8c,5693559,6823513,0xee52a2,0xe2cb54,6588335,0xfbf8b8,8238147,7417269,0xf7614e,1680338,0x9fef29,9664223,1391140,9061683,788936,36926,8838341,0xb822eb,4091408,3340262,0xb4bb1d,2868234,0xad88f1,0xa11107,2579964,0xdced5b,5939616,5650518,0xd074ad,5180346,0xc94741,0xc5deb7,4428364,8219746,0xfb2099,0xf7b96f,7468436,0xee8a83,6866552,6578062,0xe21375,1405499,9649856,0x9fa736,1698765,8819930,55329,803287,9047340,0xb4f302,3325945,4072975,0xb86af4,2561507,0xa15918,0xadc0ee,2853909,0xd03cb2,5664841,5958079,0xdca544,4446803,0xc596a8,0xc90f5e,5194661,7454091,0xf7f170,0xfb6886,8201341,0xe25b6a,6559633,6852199,0xeec29c,3360676,0xb50b5f,0xb992a9,4185682,0xa0a145,2551230,2782280,0xac38b3,9619101,1346150,1577872,0x9e5f6b,73852,8875143,9172337,899466,0xf6092d,7357910,8182816,0xfa90db,6680524,0xe3a337,0xef3ac1,6911546,5736468,0xd1c4ef,0xdd5d19,5968354,0xc46ef5,4334094,5159928,0xc8f703,4167245,0xb9dab6,0xb54340,3346363,0xac70ac,2767959,2532769,0xa0e95a,0x9e1774,1596303,1360505,9604738,913813,9157998,8856728,92259,0xfad8c4,8164415,7343561,0xf64132,6897189,0xef72de,0xe3eb28,6662099,5986813,0xdd1506,0xd18cf0,5750795,0xc8bf1c,5174247,4352529,0xc426ea,2810998,0xaca88d,0xa0317b,2522496,0xb90297,4148844,3397530,0xb59b61,9135439,862644,110658,8912057,1606574,0x9ecf55,9590435,1317464,0xefaaff,6940164,6651890,0xe33309,8145950,0xfa00e5,0xf69913,7394792,5123014,0xc8673d,0xc4fecb,4370992,0xddcd27,5997020,5707818,0xd154d1,2504095,0xa07964,0xace092,2796649,0xb5d37e,3383173,4130419,0xb94a88,8893606,129117,876971,9121104,1331783,9576124,0x9e874a,1625009,0xe37b16,6633453,6925851,0xefe2e0,7380471,0xf6d10c,0xfa48fa,8127489,4389423,0xc4b6d4,0xc82f22,5137369,0xd11cce,5722165,6015427,0xdd8538];"u">typeof Int32Array&&(j=new Int32Array(j)),(0,b.default)("crc-24",(a,b)=>{let c=void 0!==b?~~b:0xb704ce;for(let b=0;b<a.length;b++)c=(j[(c>>16^a[b])&255]^c<<8)&0xffffff;return c});var k=a.i(75537);let l=[0,0x4c11db7,0x9823b6e,0xd4326d9,0x130476dc,0x17c56b6b,0x1a864db2,0x1e475005,0x2608edb8,0x22c9f00f,0x2f8ad6d6,0x2b4bcb61,0x350c9b64,0x31cd86d3,0x3c8ea00a,0x384fbdbd,0x4c11db70,0x48d0c6c7,0x4593e01e,0x4152fda9,0x5f15adac,0x5bd4b01b,0x569796c2,0x52568b75,0x6a1936c8,0x6ed82b7f,0x639b0da6,0x675a1011,0x791d4014,0x7ddc5da3,0x709f7b7a,0x745e66cd,0x9823b6e0,0x9ce2ab57,0x91a18d8e,0x95609039,0x8b27c03c,0x8fe6dd8b,0x82a5fb52,0x8664e6e5,0xbe2b5b58,0xbaea46ef,0xb7a96036,0xb3687d81,0xad2f2d84,0xa9ee3033,0xa4ad16ea,0xa06c0b5d,0xd4326d90,0xd0f37027,0xddb056fe,0xd9714b49,0xc7361b4c,0xc3f706fb,0xceb42022,0xca753d95,0xf23a8028,0xf6fb9d9f,0xfbb8bb46,0xff79a6f1,0xe13ef6f4,0xe5ffeb43,0xe8bccd9a,0xec7dd02d,0x34867077,0x30476dc0,0x3d044b19,0x39c556ae,0x278206ab,0x23431b1c,0x2e003dc5,0x2ac12072,0x128e9dcf,0x164f8078,0x1b0ca6a1,0x1fcdbb16,0x18aeb13,0x54bf6a4,0x808d07d,0xcc9cdca,0x7897ab07,0x7c56b6b0,0x71159069,0x75d48dde,0x6b93dddb,0x6f52c06c,0x6211e6b5,0x66d0fb02,0x5e9f46bf,0x5a5e5b08,0x571d7dd1,0x53dc6066,0x4d9b3063,0x495a2dd4,0x44190b0d,0x40d816ba,0xaca5c697,0xa864db20,0xa527fdf9,0xa1e6e04e,0xbfa1b04b,0xbb60adfc,0xb6238b25,0xb2e29692,0x8aad2b2f,0x8e6c3698,0x832f1041,0x87ee0df6,0x99a95df3,0x9d684044,0x902b669d,0x94ea7b2a,0xe0b41de7,0xe4750050,0xe9362689,0xedf73b3e,0xf3b06b3b,0xf771768c,0xfa325055,0xfef34de2,0xc6bcf05f,0xc27dede8,0xcf3ecb31,0xcbffd686,0xd5b88683,0xd1799b34,0xdc3abded,0xd8fba05a,0x690ce0ee,0x6dcdfd59,0x608edb80,0x644fc637,0x7a089632,0x7ec98b85,0x738aad5c,0x774bb0eb,0x4f040d56,0x4bc510e1,0x46863638,0x42472b8f,0x5c007b8a,0x58c1663d,0x558240e4,0x51435d53,0x251d3b9e,0x21dc2629,0x2c9f00f0,0x285e1d47,0x36194d42,0x32d850f5,0x3f9b762c,0x3b5a6b9b,0x315d626,0x7d4cb91,0xa97ed48,0xe56f0ff,0x1011a0fa,0x14d0bd4d,0x19939b94,0x1d528623,0xf12f560e,0xf5ee4bb9,0xf8ad6d60,0xfc6c70d7,0xe22b20d2,0xe6ea3d65,0xeba91bbc,0xef68060b,0xd727bbb6,0xd3e6a601,0xdea580d8,0xda649d6f,0xc423cd6a,0xc0e2d0dd,0xcda1f604,0xc960ebb3,0xbd3e8d7e,0xb9ff90c9,0xb4bcb610,0xb07daba7,0xae3afba2,0xaafbe615,0xa7b8c0cc,0xa379dd7b,0x9b3660c6,0x9ff77d71,0x92b45ba8,0x9675461f,0x8832161a,0x8cf30bad,0x81b02d74,0x857130c3,0x5d8a9099,0x594b8d2e,0x5408abf7,0x50c9b640,0x4e8ee645,0x4a4ffbf2,0x470cdd2b,0x43cdc09c,0x7b827d21,0x7f436096,0x7200464f,0x76c15bf8,0x68860bfd,0x6c47164a,0x61043093,0x65c52d24,0x119b4be9,0x155a565e,0x18197087,0x1cd86d30,0x29f3d35,0x65e2082,0xb1d065b,0xfdc1bec,0x3793a651,0x3352bbe6,0x3e119d3f,0x3ad08088,0x2497d08d,0x2056cd3a,0x2d15ebe3,0x29d4f654,0xc5a92679,0xc1683bce,0xcc2b1d17,0xc8ea00a0,0xd6ad50a5,0xd26c4d12,0xdf2f6bcb,0xdbee767c,0xe3a1cbc1,0xe760d676,0xea23f0af,0xeee2ed18,0xf0a5bd1d,0xf464a0aa,0xf9278673,0xfde69bc4,0x89b8fd09,0x8d79e0be,0x803ac667,0x84fbdbd0,0x9abc8bd5,0x9e7d9662,0x933eb0bb,0x97ffad0c,0xafb010b1,0xab710d06,0xa6322bdf,0xa2f33668,0xbcb4666d,0xb8757bda,0xb5365d03,0xb1f740b4];"u">typeof Int32Array&&(l=new Int32Array(l)),(0,b.default)("crc-32-mpeg",(a,b)=>{let c=void 0!==b?~~b:0xffffffff;for(let b=0;b<a.length;b++)c=l[(c>>24^a[b])&255]^c<<8;return c});let m=[0,0x77073096,0xee0e612c,0x990951ba,0x76dc419,0x706af48f,0xe963a535,0x9e6495a3,0xedb8832,0x79dcb8a4,0xe0d5e91e,0x97d2d988,0x9b64c2b,0x7eb17cbd,0xe7b82d07,0x90bf1d91,0x1db71064,0x6ab020f2,0xf3b97148,0x84be41de,0x1adad47d,0x6ddde4eb,0xf4d4b551,0x83d385c7,0x136c9856,0x646ba8c0,0xfd62f97a,0x8a65c9ec,0x14015c4f,0x63066cd9,0xfa0f3d63,0x8d080df5,0x3b6e20c8,0x4c69105e,0xd56041e4,0xa2677172,0x3c03e4d1,0x4b04d447,0xd20d85fd,0xa50ab56b,0x35b5a8fa,0x42b2986c,0xdbbbc9d6,0xacbcf940,0x32d86ce3,0x45df5c75,0xdcd60dcf,0xabd13d59,0x26d930ac,0x51de003a,0xc8d75180,0xbfd06116,0x21b4f4b5,0x56b3c423,0xcfba9599,0xb8bda50f,0x2802b89e,0x5f058808,0xc60cd9b2,0xb10be924,0x2f6f7c87,0x58684c11,0xc1611dab,0xb6662d3d,0x76dc4190,0x1db7106,0x98d220bc,0xefd5102a,0x71b18589,0x6b6b51f,0x9fbfe4a5,0xe8b8d433,0x7807c9a2,0xf00f934,0x9609a88e,0xe10e9818,0x7f6a0dbb,0x86d3d2d,0x91646c97,0xe6635c01,0x6b6b51f4,0x1c6c6162,0x856530d8,0xf262004e,0x6c0695ed,0x1b01a57b,0x8208f4c1,0xf50fc457,0x65b0d9c6,0x12b7e950,0x8bbeb8ea,0xfcb9887c,0x62dd1ddf,0x15da2d49,0x8cd37cf3,0xfbd44c65,0x4db26158,0x3ab551ce,0xa3bc0074,0xd4bb30e2,0x4adfa541,0x3dd895d7,0xa4d1c46d,0xd3d6f4fb,0x4369e96a,0x346ed9fc,0xad678846,0xda60b8d0,0x44042d73,0x33031de5,0xaa0a4c5f,0xdd0d7cc9,0x5005713c,0x270241aa,0xbe0b1010,0xc90c2086,0x5768b525,0x206f85b3,0xb966d409,0xce61e49f,0x5edef90e,0x29d9c998,0xb0d09822,0xc7d7a8b4,0x59b33d17,0x2eb40d81,0xb7bd5c3b,0xc0ba6cad,0xedb88320,0x9abfb3b6,0x3b6e20c,0x74b1d29a,0xead54739,0x9dd277af,0x4db2615,0x73dc1683,0xe3630b12,0x94643b84,0xd6d6a3e,0x7a6a5aa8,0xe40ecf0b,0x9309ff9d,0xa00ae27,0x7d079eb1,0xf00f9344,0x8708a3d2,0x1e01f268,0x6906c2fe,0xf762575d,0x806567cb,0x196c3671,0x6e6b06e7,0xfed41b76,0x89d32be0,0x10da7a5a,0x67dd4acc,0xf9b9df6f,0x8ebeeff9,0x17b7be43,0x60b08ed5,0xd6d6a3e8,0xa1d1937e,0x38d8c2c4,0x4fdff252,0xd1bb67f1,0xa6bc5767,0x3fb506dd,0x48b2364b,0xd80d2bda,0xaf0a1b4c,0x36034af6,0x41047a60,0xdf60efc3,0xa867df55,0x316e8eef,0x4669be79,0xcb61b38c,0xbc66831a,0x256fd2a0,0x5268e236,0xcc0c7795,0xbb0b4703,0x220216b9,0x5505262f,0xc5ba3bbe,0xb2bd0b28,0x2bb45a92,0x5cb36a04,0xc2d7ffa7,0xb5d0cf31,0x2cd99e8b,0x5bdeae1d,0x9b64c2b0,0xec63f226,0x756aa39c,0x26d930a,0x9c0906a9,0xeb0e363f,0x72076785,0x5005713,0x95bf4a82,0xe2b87a14,0x7bb12bae,0xcb61b38,0x92d28e9b,0xe5d5be0d,0x7cdcefb7,0xbdbdf21,0x86d3d2d4,0xf1d4e242,0x68ddb3f8,0x1fda836e,0x81be16cd,0xf6b9265b,0x6fb077e1,0x18b74777,0x88085ae6,0xff0f6a70,0x66063bca,0x11010b5c,0x8f659eff,0xf862ae69,0x616bffd3,0x166ccf45,0xa00ae278,0xd70dd2ee,0x4e048354,0x3903b3c2,0xa7672661,0xd06016f7,0x4969474d,0x3e6e77db,0xaed16a4a,0xd9d65adc,0x40df0b66,936918e3,0xa9bcae53,0xdebb9ec5,0x47b2cf7f,0x30b5ffe9,0xbdbdf21c,0xcabac28a,0x53b39330,0x24b4a3a6,0xbad03605,0xcdd70693,0x54de5729,0x23d967bf,0xb3667a2e,0xc4614ab8,0x5d681b02,0x2a6f2b94,0xb40bbe37,0xc30c8ea1,0x5a05df1b,0x2d02ef8d];"u">typeof Int32Array&&(m=new Int32Array(m)),(0,b.default)("jam",(a,b=-1)=>{let c=0===b?0:~~b;for(let b=0;b<a.length;b++)c=m[(c^a[b])&255]^c>>>8;return c}),k.default,a.s([],75755)},49234,a=>{"use strict";var b=a.i(75537);a.s(["crc32",()=>b.default])},13909,a=>{"use strict";var b=a.i(22734),c=a.i(24868),d=a.i(14747),e=a.i(26820);a.i(75755);var f=a.i(49234),g=a.i(96524),h=a.i(7877);async function i(a,b){let i=null;try{let i=a.replace(/^\//,""),j=await h.default.send(new g.GetObjectCommand({Bucket:h.R2_BUCKET,Key:i})),k=Buffer.from(await j.Body.transformToByteArray());for(let a of new e.default(k).getEntries())if(!a.entryName.startsWith("__MACOSX")&&/\.(jpg|jpeg|png|webp)$/i.test(a.entryName)){await c.default.mkdir(b,{recursive:!0});let e=d.default.extname(a.entryName).toLowerCase(),g=a.getData(),h=(0,f.crc32)(g).toString(16),i=`cover-${h}${e}`,j=d.default.join(b,i);return await c.default.writeFile(j,g),i}return console.warn(`No se encontr\xf3 imagen de portada v\xe1lida en: ${a}`),null}catch(a){i=a}finally{i&&console.error(`Error extrayendo portada desde R2: ${a}`,i)}return null}async function j(a,c){let g=null;try{if(!b.default.existsSync(a))return console.warn(`Archivo no encontrado: ${a}`),null;for(let g of new e.default(a).getEntries())if(!g.entryName.startsWith("__MACOSX")&&/\.(jpg|jpeg|png|webp)$/i.test(g.entryName)){b.default.mkdirSync(c,{recursive:!0});let a=d.default.extname(g.entryName).toLowerCase(),e=g.getData(),h=(0,f.crc32)(e).toString(16),i=`cover-${h}${a}`,j=d.default.join(c,i);return b.default.writeFileSync(j,e),i}return console.warn(`No se encontr\xf3 imagen de portada v\xe1lida en: ${a}`),null}catch(a){g=a}finally{g&&console.error(`Error extrayendo portada en: ${a}`,g)}return null}async function k(a,b,c){let d=null;try{if("cloud"===c)return await i(a,b);return await j(a,b)}catch(a){d=a}finally{d&&console.error(`Error extrayendo portada: ${a}`,d)}return null}a.s(["extractCoverCbz",0,k])},49646,a=>a.a(async(b,c)=>{try{var d=a.i(22734),e=a.i(24868),f=a.i(14747),g=a.i(40444);a.i(75755);var h=a.i(49234),i=a.i(96524),j=a.i(7877),k=a.i(92077);let b=await (0,k.loadUnrarWasmBinary)();async function l(a,c){let d=null;try{let d=a.replace(/^\//,""),k=await j.default.send(new i.GetObjectCommand({Bucket:j.R2_BUCKET,Key:d})),l=Buffer.from(await k.Body.transformToByteArray()),m=await (0,g.createExtractorFromData)({data:new Uint8Array(l).buffer,wasmBinary:new Uint8Array(b).buffer}),n=[...m.getFileList().fileHeaders].filter(a=>!a.name.startsWith("__MACOSX")&&/\.(jpg|jpeg|png|webp)$/i.test(a.name));if(0===n.length)return console.warn(`No se encontr\xf3 imagen de portada v\xe1lida en: ${a}`),null;n.sort((a,b)=>a.name.localeCompare(b.name));let o=n[0];await e.default.mkdir(c,{recursive:!0});let p=[...m.extract({files:[o.name]}).files];if(p.length>0){let a=p[0].extraction,b=f.default.extname(o.name).toLowerCase(),d=(0,h.crc32)(Buffer.from(a)).toString(16),g=`cover-${d}${b}`,i=f.default.join(c,g);return await e.default.writeFile(i,a),g}return console.warn(`No se pudo extraer la primera imagen de: ${a}`),null}catch(a){d=a}finally{d&&console.error(`Error extrayendo portada desde R2: ${a}`,d)}return null}async function m(a,c){let i=null;try{if(!d.default.existsSync(a))return console.warn(`Archivo no encontrado: ${a}`),null;let i=await e.default.readFile(a),j=await (0,g.createExtractorFromData)({data:new Uint8Array(i).buffer,wasmBinary:new Uint8Array(b).buffer}),k=[...j.getFileList().fileHeaders].filter(a=>!a.name.startsWith("__MACOSX")&&/\.(jpg|jpeg|png|webp)$/i.test(a.name));if(0===k.length)return console.warn(`No se encontr\xf3 imagen de portada v\xe1lida en: ${a}`),null;k.sort((a,b)=>a.name.localeCompare(b.name));let l=k[0];await e.default.mkdir(c,{recursive:!0});let m=[...j.extract({files:[l.name]}).files];if(m.length>0){let a=m[0].extraction,b=f.default.extname(l.name).toLowerCase(),d=(0,h.crc32)(Buffer.from(a)).toString(16),g=`cover-${d}${b}`,i=f.default.join(c,g);return await e.default.writeFile(i,a),g}return console.warn(`No se pudo extraer la primera imagen de: ${a}`),null}catch(a){i=a}finally{i&&console.error(`Error extrayendo portada en: ${a}`,i)}return null}async function n(a,b,c){let d=null;try{if("cloud"===c)return await l(a,b);return await m(a,b)}catch(a){d=a}finally{d&&console.error(`Error extrayendo portada: ${a}`,d)}return null}a.s(["extractCoverCbr",0,n]),c()}catch(a){c(a)}},!0),66748,(a,b,c)=>{(function(){c.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(a.e)},25847,(a,b,c)=>{(function(){var a,c,d,e=[].slice,f={}.hasOwnProperty;c=function(a){return!!a&&"[object Function]"===Object.prototype.toString.call(a)},d=function(a){var b;return!!a&&("function"==(b=typeof a)||"object"===b)},a=function(a){return c(Array.isArray)?Array.isArray(a):"[object Array]"===Object.prototype.toString.call(a)},b.exports.assign=function(){var a,b,d,g,h,i;if(i=arguments[0],h=2<=arguments.length?e.call(arguments,1):[],c(Object.assign))Object.assign.apply(null,arguments);else for(a=0,d=h.length;a<d;a++)if(null!=(g=h[a]))for(b in g)f.call(g,b)&&(i[b]=g[b]);return i},b.exports.isFunction=c,b.exports.isObject=d,b.exports.isArray=a,b.exports.isEmpty=function(b){var c;if(a(b))return!b.length;for(c in b)if(f.call(b,c))return!1;return!0},b.exports.isPlainObject=function(a){var b,c;return d(a)&&(c=Object.getPrototypeOf(a))&&(b=c.constructor)&&"function"==typeof b&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)},b.exports.getValue=function(a){return c(a.valueOf)?a.valueOf():a}}).call(a.e)},33952,(a,b,c)=>{(function(){b.exports=function(){function a(){}return a.prototype.hasFeature=function(a,b){return!0},a.prototype.createDocumentType=function(a,b,c){throw Error("This DOM method is not implemented.")},a.prototype.createDocument=function(a,b,c){throw Error("This DOM method is not implemented.")},a.prototype.createHTMLDocument=function(a){throw Error("This DOM method is not implemented.")},a.prototype.getFeature=function(a,b){throw Error("This DOM method is not implemented.")},a}()}).call(a.e)},58485,(a,b,c)=>{(function(){b.exports=function(){function a(){}return a.prototype.handleError=function(a){throw Error(a)},a}()}).call(a.e)},72309,(a,b,c)=>{(function(){b.exports=function(){function a(a){this.arr=a||[]}return Object.defineProperty(a.prototype,"length",{get:function(){return this.arr.length}}),a.prototype.item=function(a){return this.arr[a]||null},a.prototype.contains=function(a){return -1!==this.arr.indexOf(a)},a}()}).call(a.e)},21685,(a,b,c)=>{(function(){var c,d;c=a.r(58485),d=a.r(72309),b.exports=function(){function a(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new c,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(a.prototype,"parameterNames",{get:function(){return new d(Object.keys(this.defaultParams))}}),a.prototype.getParameter=function(a){return this.params.hasOwnProperty(a)?this.params[a]:null},a.prototype.canSetParameter=function(a,b){return!0},a.prototype.setParameter=function(a,b){return null!=b?this.params[a]=b:delete this.params[a]},a}()}).call(a.e)},26545,(a,b,c)=>{(function(){b.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(a.e)},51232,(a,b,c)=>{(function(){var c;c=a.r(26545),a.r(83427),b.exports=function(){function a(a,b,d){if(this.parent=a,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==b)throw Error("Missing attribute name. "+this.debugInfo(b));this.name=this.stringify.name(b),this.value=this.stringify.attValue(d),this.type=c.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(a.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(a.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(a.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(a.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(a.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(a.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(a.prototype,"specified",{get:function(){return!0}}),a.prototype.clone=function(){return Object.create(this)},a.prototype.toString=function(a){return this.options.writer.attribute(this,this.options.writer.filterOptions(a))},a.prototype.debugInfo=function(a){return null==(a=a||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+a+"}, parent: <"+this.parent.name+">"},a.prototype.isEqualNode=function(a){return a.namespaceURI===this.namespaceURI&&a.prefix===this.prefix&&a.localName===this.localName&&a.value===this.value},a}()}).call(a.e)},18177,(a,b,c)=>{(function(){b.exports=function(){function a(a){this.nodes=a}return Object.defineProperty(a.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),a.prototype.clone=function(){return this.nodes=null},a.prototype.getNamedItem=function(a){return this.nodes[a]},a.prototype.setNamedItem=function(a){var b;return b=this.nodes[a.nodeName],this.nodes[a.nodeName]=a,b||null},a.prototype.removeNamedItem=function(a){var b;return b=this.nodes[a],delete this.nodes[a],b||null},a.prototype.item=function(a){return this.nodes[Object.keys(this.nodes)[a]]||null},a.prototype.getNamedItemNS=function(a,b){throw Error("This DOM method is not implemented.")},a.prototype.setNamedItemNS=function(a){throw Error("This DOM method is not implemented.")},a.prototype.removeNamedItemNS=function(a,b){throw Error("This DOM method is not implemented.")},a}()}).call(a.e)},8128,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k=function(a,b){for(var c in b)l.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},l={}.hasOwnProperty;i=(j=a.r(25847)).isObject,h=j.isFunction,g=j.getValue,f=a.r(83427),c=a.r(26545),d=a.r(51232),e=a.r(18177),b.exports=function(a){function b(a,d,e){var f,g,h,i;if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(d),this.type=c.Element,this.attribs={},this.schemaTypeInfo=null,null!=e&&this.attribute(e),a.type===c.Document&&(this.isRoot=!0,this.documentObject=a,a.rootObject=this,a.children)){for(g=0,h=(i=a.children).length;g<h;g++)if((f=i[g]).type===c.DocType){f.name=this.name;break}}}return k(b,a),Object.defineProperty(b.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(b.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(b.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"id",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"className",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"classList",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new e(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var a,b,c,d;for(b in(c=Object.create(this)).isRoot&&(c.documentObject=null),c.attribs={},d=this.attribs)l.call(d,b)&&(a=d[b],c.attribs[b]=a.clone());return c.children=[],this.children.forEach(function(a){var b;return(b=a.clone()).parent=c,c.children.push(b)}),c},b.prototype.attribute=function(a,b){var c,e;if(null!=a&&(a=g(a)),i(a))for(c in a)l.call(a,c)&&(e=a[c],this.attribute(c,e));else h(b)&&(b=b.apply()),this.options.keepNullAttributes&&null==b?this.attribs[a]=new d(this,a,""):null!=b&&(this.attribs[a]=new d(this,a,b));return this},b.prototype.removeAttribute=function(a){var b,c,d;if(null==a)throw Error("Missing attribute name. "+this.debugInfo());if(Array.isArray(a=g(a)))for(c=0,d=a.length;c<d;c++)b=a[c],delete this.attribs[b];else delete this.attribs[a];return this},b.prototype.toString=function(a){return this.options.writer.element(this,this.options.writer.filterOptions(a))},b.prototype.att=function(a,b){return this.attribute(a,b)},b.prototype.a=function(a,b){return this.attribute(a,b)},b.prototype.getAttribute=function(a){return this.attribs.hasOwnProperty(a)?this.attribs[a].value:null},b.prototype.setAttribute=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(a){return this.attribs.hasOwnProperty(a)?this.attribs[a]:null},b.prototype.setAttributeNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(a){return this.attribs.hasOwnProperty(a)},b.prototype.hasAttributeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(a,b){return this.attribs.hasOwnProperty(a)?this.attribs[a].isId:b},b.prototype.setIdAttributeNS=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(a){var c,d,e;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)||a.namespaceURI!==this.namespaceURI||a.prefix!==this.prefix||a.localName!==this.localName||a.attribs.length!==this.attribs.length)return!1;for(c=d=0,e=this.attribs.length-1;0<=e?d<=e:d>=e;c=0<=e?++d:--d)if(!this.attribs[c].isEqualNode(a.attribs[c]))return!1;return!0},b}(f)}).call(a.e)},80482,(a,b,c)=>{(function(){var c=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;b.exports=function(a){function b(a){b.__super__.constructor.call(this,a),this.value=""}return c(b,a),Object.defineProperty(b.prototype,"data",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(b.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(b.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),b.prototype.clone=function(){return Object.create(this)},b.prototype.substringData=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.appendData=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.insertData=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.deleteData=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.replaceData=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(a){return!!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)&&a.data===this.data},b}(a.r(83427))}).call(a.e)},88275,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=c.CData,this.value=this.stringify.cdata(d)}return d(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.cdata(this,this.options.writer.filterOptions(a))},b}(a.r(80482))}).call(a.e)},50498,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=c.Comment,this.value=this.stringify.comment(d)}return d(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.comment(this,this.options.writer.filterOptions(a))},b}(a.r(80482))}).call(a.e)},96083,(a,b,c)=>{(function(){var c,d,e,f=function(a,b){for(var c in b)g.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},g={}.hasOwnProperty;e=a.r(25847).isObject,d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,f,g){var h;b.__super__.constructor.call(this,a),e(d)&&(d=(h=d).version,f=h.encoding,g=h.standalone),d||(d="1.0"),this.type=c.Declaration,this.version=this.stringify.xmlVersion(d),null!=f&&(this.encoding=this.stringify.xmlEncoding(f)),null!=g&&(this.standalone=this.stringify.xmlStandalone(g))}return f(b,a),b.prototype.toString=function(a){return this.options.writer.declaration(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},61226,(a,b,c)=>{(function(){var c,d,e=function(a,b){for(var c in b)f.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},f={}.hasOwnProperty;d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,e,f,g,h){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing DTD element name. "+this.debugInfo());if(null==e)throw Error("Missing DTD attribute name. "+this.debugInfo(d));if(!f)throw Error("Missing DTD attribute type. "+this.debugInfo(d));if(!g)throw Error("Missing DTD attribute default. "+this.debugInfo(d));if(0!==g.indexOf("#")&&(g="#"+g),!g.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(d));if(h&&!g.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(d));this.elementName=this.stringify.name(d),this.type=c.AttributeDeclaration,this.attributeName=this.stringify.name(e),this.attributeType=this.stringify.dtdAttType(f),h&&(this.defaultValue=this.stringify.dtdAttDefault(h)),this.defaultValueType=g}return e(b,a),b.prototype.toString=function(a){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},43149,(a,b,c)=>{(function(){var c,d,e,f=function(a,b){for(var c in b)g.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},g={}.hasOwnProperty;e=a.r(25847).isObject,d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,f,g){if(b.__super__.constructor.call(this,a),null==f)throw Error("Missing DTD entity name. "+this.debugInfo(f));if(null==g)throw Error("Missing DTD entity value. "+this.debugInfo(f));if(this.pe=!!d,this.name=this.stringify.name(f),this.type=c.EntityDeclaration,e(g)){if(!g.pubID&&!g.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(f));if(g.pubID&&!g.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(f));if(this.internal=!1,null!=g.pubID&&(this.pubID=this.stringify.dtdPubID(g.pubID)),null!=g.sysID&&(this.sysID=this.stringify.dtdSysID(g.sysID)),null!=g.nData&&(this.nData=this.stringify.dtdNData(g.nData)),this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(f))}else this.value=this.stringify.dtdEntityValue(g),this.internal=!0}return f(b,a),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(b.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(b.prototype,"xmlVersion",{get:function(){return null}}),b.prototype.toString=function(a){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},21023,(a,b,c)=>{(function(){var c,d,e=function(a,b){for(var c in b)f.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},f={}.hasOwnProperty;d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,e){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing DTD element name. "+this.debugInfo());e||(e="(#PCDATA)"),Array.isArray(e)&&(e="("+e.join(",")+")"),this.name=this.stringify.name(d),this.type=c.ElementDeclaration,this.value=this.stringify.dtdElementValue(e)}return e(b,a),b.prototype.toString=function(a){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},2023,(a,b,c)=>{(function(){var c,d,e=function(a,b){for(var c in b)f.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},f={}.hasOwnProperty;d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a,d,e){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing DTD notation name. "+this.debugInfo(d));if(!e.pubID&&!e.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(d));this.name=this.stringify.name(d),this.type=c.NotationDeclaration,null!=e.pubID&&(this.pubID=this.stringify.dtdPubID(e.pubID)),null!=e.sysID&&(this.sysID=this.stringify.dtdSysID(e.sysID))}return e(b,a),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),b.prototype.toString=function(a){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(a))},b}(d)}).call(a.e)},57871,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k=function(a,b){for(var c in b)l.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},l={}.hasOwnProperty;j=a.r(25847).isObject,i=a.r(83427),c=a.r(26545),d=a.r(61226),f=a.r(43149),e=a.r(21023),g=a.r(2023),h=a.r(18177),b.exports=function(a){function b(a,d,e){var f,g,h,i,k,l;if(b.__super__.constructor.call(this,a),this.type=c.DocType,a.children){for(g=0,h=(i=a.children).length;g<h;g++)if((f=i[g]).type===c.Element){this.name=f.name;break}}this.documentObject=a,j(d)&&(d=(k=d).pubID,e=k.sysID),null==e&&(e=(l=[d,e])[0],d=l[1]),null!=d&&(this.pubID=this.stringify.dtdPubID(d)),null!=e&&(this.sysID=this.stringify.dtdSysID(e))}return k(b,a),Object.defineProperty(b.prototype,"entities",{get:function(){var a,b,d,e,f;for(b=0,e={},d=(f=this.children).length;b<d;b++)(a=f[b]).type!==c.EntityDeclaration||a.pe||(e[a.name]=a);return new h(e)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var a,b,d,e,f;for(b=0,e={},d=(f=this.children).length;b<d;b++)(a=f[b]).type===c.NotationDeclaration&&(e[a.name]=a);return new h(e)}}),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"internalSubset",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),b.prototype.element=function(a,b){var c;return c=new e(this,a,b),this.children.push(c),this},b.prototype.attList=function(a,b,c,e,f){var g;return g=new d(this,a,b,c,e,f),this.children.push(g),this},b.prototype.entity=function(a,b){var c;return c=new f(this,!1,a,b),this.children.push(c),this},b.prototype.pEntity=function(a,b){var c;return c=new f(this,!0,a,b),this.children.push(c),this},b.prototype.notation=function(a,b){var c;return c=new g(this,a,b),this.children.push(c),this},b.prototype.toString=function(a){return this.options.writer.docType(this,this.options.writer.filterOptions(a))},b.prototype.ele=function(a,b){return this.element(a,b)},b.prototype.att=function(a,b,c,d,e){return this.attList(a,b,c,d,e)},b.prototype.ent=function(a,b){return this.entity(a,b)},b.prototype.pent=function(a,b){return this.pEntity(a,b)},b.prototype.not=function(a,b){return this.notation(a,b)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(a){return!!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)&&a.name===this.name&&a.publicId===this.publicId&&a.systemId===this.systemId},b}(i)}).call(a.e)},1206,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing raw text. "+this.debugInfo());this.type=c.Raw,this.value=this.stringify.raw(d)}return d(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.raw(this,this.options.writer.filterOptions(a))},b}(a.r(83427))}).call(a.e)},26424,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=c.Text,this.value=this.stringify.text(d)}return d(b,a),Object.defineProperty(b.prototype,"isElementContentWhitespace",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"wholeText",{get:function(){var a,b,c;for(c="",b=this.previousSibling;b;)c=b.data+c,b=b.previousSibling;for(c+=this.data,a=this.nextSibling;a;)c+=a.data,a=a.nextSibling;return c}}),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.text(this,this.options.writer.filterOptions(a))},b.prototype.splitText=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.replaceWholeText=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b}(a.r(80482))}).call(a.e)},22396,(a,b,c)=>{(function(){var c,d=function(a,b){for(var c in b)e.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},e={}.hasOwnProperty;c=a.r(26545),b.exports=function(a){function b(a,d,e){if(b.__super__.constructor.call(this,a),null==d)throw Error("Missing instruction target. "+this.debugInfo());this.type=c.ProcessingInstruction,this.target=this.stringify.insTarget(d),this.name=this.target,e&&(this.value=this.stringify.insValue(e))}return d(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(a))},b.prototype.isEqualNode=function(a){return!!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)&&a.target===this.target},b}(a.r(80482))}).call(a.e)},74924,(a,b,c)=>{(function(){var c,d,e=function(a,b){for(var c in b)f.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},f={}.hasOwnProperty;d=a.r(83427),c=a.r(26545),b.exports=function(a){function b(a){b.__super__.constructor.call(this,a),this.type=c.Dummy}return e(b,a),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(a){return""},b}(d)}).call(a.e)},5028,(a,b,c)=>{(function(){b.exports=function(){function a(a){this.nodes=a}return Object.defineProperty(a.prototype,"length",{get:function(){return this.nodes.length||0}}),a.prototype.clone=function(){return this.nodes=null},a.prototype.item=function(a){return this.nodes[a]||null},a}()}).call(a.e)},28447,(a,b,c)=>{(function(){b.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(a.e)},83427,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t={}.hasOwnProperty;r=(s=a.r(25847)).isObject,q=s.isFunction,p=s.isEmpty,o=s.getValue,j=null,e=null,f=null,g=null,h=null,m=null,n=null,l=null,i=null,d=null,k=null,c=null,b.exports=function(){function b(b){this.parent=b,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,j||(j=a.r(8128),e=a.r(88275),f=a.r(50498),g=a.r(96083),h=a.r(57871),m=a.r(1206),n=a.r(26424),l=a.r(22396),i=a.r(74924),d=a.r(26545),k=a.r(5028),a.r(18177),c=a.r(28447))}return Object.defineProperty(b.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(b.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(b.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(b.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new k(this.children)),this.childNodeList}}),Object.defineProperty(b.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(b.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(b.prototype,"previousSibling",{get:function(){var a;return a=this.parent.children.indexOf(this),this.parent.children[a-1]||null}}),Object.defineProperty(b.prototype,"nextSibling",{get:function(){var a;return a=this.parent.children.indexOf(this),this.parent.children[a+1]||null}}),Object.defineProperty(b.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(b.prototype,"textContent",{get:function(){var a,b,c,e,f;if(this.nodeType!==d.Element&&this.nodeType!==d.DocumentFragment)return null;for(b=0,f="",c=(e=this.children).length;b<c;b++)(a=e[b]).textContent&&(f+=a.textContent);return f},set:function(a){throw Error("This DOM method is not implemented."+this.debugInfo())}}),b.prototype.setParent=function(a){var b,c,d,e,f;for(this.parent=a,a&&(this.options=a.options,this.stringify=a.stringify),e=this.children,f=[],c=0,d=e.length;c<d;c++)b=e[c],f.push(b.setParent(this));return f},b.prototype.element=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n;if(i=null,null===b&&null==c&&(b=(l=[{},null])[0],c=l[1]),null==b&&(b={}),r(b=o(b))||(c=(m=[b,c])[0],b=m[1]),null!=a&&(a=o(a)),Array.isArray(a))for(f=0,j=a.length;f<j;f++)e=a[f],i=this.element(e);else if(q(a))i=this.element(a.apply());else if(r(a)){for(h in a)if(t.call(a,h))if(q(n=a[h])&&(n=n.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===h.indexOf(this.stringify.convertAttKey))i=this.attribute(h.substr(this.stringify.convertAttKey.length),n);else if(!this.options.separateArrayItems&&Array.isArray(n)&&p(n))i=this.dummy();else if(r(n)&&p(n))i=this.element(h);else if(this.options.keepNullNodes||null!=n)if(!this.options.separateArrayItems&&Array.isArray(n))for(g=0,k=n.length;g<k;g++)e=n[g],(d={})[h]=e,i=this.element(d);else r(n)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===h.indexOf(this.stringify.convertTextKey)?i=this.element(n):(i=this.element(h)).element(n):i=this.element(h,n);else i=this.dummy()}else i=this.options.keepNullNodes||null!==c?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===a.indexOf(this.stringify.convertTextKey)?this.text(c):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===a.indexOf(this.stringify.convertCDataKey)?this.cdata(c):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===a.indexOf(this.stringify.convertCommentKey)?this.comment(c):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===a.indexOf(this.stringify.convertRawKey)?this.raw(c):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===a.indexOf(this.stringify.convertPIKey)?this.instruction(a.substr(this.stringify.convertPIKey.length),c):this.node(a,b,c):this.dummy();if(null==i)throw Error("Could not create any elements with: "+a+". "+this.debugInfo());return i},b.prototype.insertBefore=function(a,b,c){var d,e,f;if(null!=a?a.type:void 0)return a.setParent(this),b?(e=children.indexOf(b),f=children.splice(e),children.push(a),Array.prototype.push.apply(children,f)):children.push(a),a;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(a));return e=this.parent.children.indexOf(this),f=this.parent.children.splice(e),d=this.parent.element(a,b,c),Array.prototype.push.apply(this.parent.children,f),d},b.prototype.insertAfter=function(a,b,c){var d,e,f;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(a));return e=this.parent.children.indexOf(this),f=this.parent.children.splice(e+1),d=this.parent.element(a,b,c),Array.prototype.push.apply(this.parent.children,f),d},b.prototype.remove=function(){var a;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return a=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[a,a-a+1].concat([])),this.parent},b.prototype.node=function(a,b,c){var d,e;return null!=a&&(a=o(a)),b||(b={}),r(b=o(b))||(c=(e=[b,c])[0],b=e[1]),d=new j(this,a,b),null!=c&&d.text(c),this.children.push(d),d},b.prototype.text=function(a){var b;return r(a)&&this.element(a),b=new n(this,a),this.children.push(b),this},b.prototype.cdata=function(a){var b;return b=new e(this,a),this.children.push(b),this},b.prototype.comment=function(a){var b;return b=new f(this,a),this.children.push(b),this},b.prototype.commentBefore=function(a){var b,c;return b=this.parent.children.indexOf(this),c=this.parent.children.splice(b),this.parent.comment(a),Array.prototype.push.apply(this.parent.children,c),this},b.prototype.commentAfter=function(a){var b,c;return b=this.parent.children.indexOf(this),c=this.parent.children.splice(b+1),this.parent.comment(a),Array.prototype.push.apply(this.parent.children,c),this},b.prototype.raw=function(a){var b;return b=new m(this,a),this.children.push(b),this},b.prototype.dummy=function(){return new i(this)},b.prototype.instruction=function(a,b){var c,d,e,f,g;if(null!=a&&(a=o(a)),null!=b&&(b=o(b)),Array.isArray(a))for(f=0,g=a.length;f<g;f++)c=a[f],this.instruction(c);else if(r(a))for(c in a)t.call(a,c)&&(d=a[c],this.instruction(c,d));else q(b)&&(b=b.apply()),e=new l(this,a,b),this.children.push(e);return this},b.prototype.instructionBefore=function(a,b){var c,d;return c=this.parent.children.indexOf(this),d=this.parent.children.splice(c),this.parent.instruction(a,b),Array.prototype.push.apply(this.parent.children,d),this},b.prototype.instructionAfter=function(a,b){var c,d;return c=this.parent.children.indexOf(this),d=this.parent.children.splice(c+1),this.parent.instruction(a,b),Array.prototype.push.apply(this.parent.children,d),this},b.prototype.declaration=function(a,b,c){var e,f;return e=this.document(),f=new g(e,a,b,c),0===e.children.length?e.children.unshift(f):e.children[0].type===d.Declaration?e.children[0]=f:e.children.unshift(f),e.root()||e},b.prototype.dtd=function(a,b){var c,e,f,g,i,j,k,l,m;for(c=this.document(),e=new h(c,a,b),l=c.children,f=g=0,j=l.length;g<j;f=++g)if(l[f].type===d.DocType)return c.children[f]=e,e;for(m=c.children,f=i=0,k=m.length;i<k;f=++i)if(m[f].isRoot)return c.children.splice(f,0,e),e;return c.children.push(e),e},b.prototype.up=function(){if(this.isRoot)throw Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},b.prototype.root=function(){var a;for(a=this;a;)if(a.type===d.Document)return a.rootObject;else{if(a.isRoot)return a;a=a.parent}},b.prototype.document=function(){var a;for(a=this;a;)if(a.type===d.Document)return a;else a=a.parent},b.prototype.end=function(a){return this.document().end(a)},b.prototype.prev=function(){var a;if((a=this.parent.children.indexOf(this))<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[a-1]},b.prototype.next=function(){var a;if(-1===(a=this.parent.children.indexOf(this))||a===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[a+1]},b.prototype.importDocument=function(a){var b;return(b=a.root().clone()).parent=this,b.isRoot=!1,this.children.push(b),this},b.prototype.debugInfo=function(a){var b,c;return null!=(a=a||this.name)||(null!=(b=this.parent)?b.name:void 0)?null==a?"parent: <"+this.parent.name+">":(null!=(c=this.parent)?c.name:void 0)?"node: <"+a+">, parent: <"+this.parent.name+">":"node: <"+a+">":""},b.prototype.ele=function(a,b,c){return this.element(a,b,c)},b.prototype.nod=function(a,b,c){return this.node(a,b,c)},b.prototype.txt=function(a){return this.text(a)},b.prototype.dat=function(a){return this.cdata(a)},b.prototype.com=function(a){return this.comment(a)},b.prototype.ins=function(a,b){return this.instruction(a,b)},b.prototype.doc=function(){return this.document()},b.prototype.dec=function(a,b,c){return this.declaration(a,b,c)},b.prototype.e=function(a,b,c){return this.element(a,b,c)},b.prototype.n=function(a,b,c){return this.node(a,b,c)},b.prototype.t=function(a){return this.text(a)},b.prototype.d=function(a){return this.cdata(a)},b.prototype.c=function(a){return this.comment(a)},b.prototype.r=function(a){return this.raw(a)},b.prototype.i=function(a,b){return this.instruction(a,b)},b.prototype.u=function(){return this.up()},b.prototype.importXMLBuilder=function(a){return this.importDocument(a)},b.prototype.replaceChild=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeChild=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.appendChild=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasChildNodes=function(){return 0!==this.children.length},b.prototype.cloneNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.normalize=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isSupported=function(a,b){return!0},b.prototype.hasAttributes=function(){return 0!==this.attribs.length},b.prototype.compareDocumentPosition=function(a){var b;if(this===a)return 0;if(this.document()!==a.document())return b=c.Disconnected|c.ImplementationSpecific,.5>Math.random()?b|=c.Preceding:b|=c.Following,b;if(this.isAncestor(a))return c.Contains|c.Preceding;if(this.isDescendant(a))return c.Contains|c.Following;if(this.isPreceding(a))return c.Preceding;else return c.Following},b.prototype.isSameNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.lookupPrefix=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isDefaultNamespace=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.lookupNamespaceURI=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(a){var b,c,d;if(a.nodeType!==this.nodeType||a.children.length!==this.children.length)return!1;for(b=c=0,d=this.children.length-1;0<=d?c<=d:c>=d;b=0<=d?++c:--c)if(!this.children[b].isEqualNode(a.children[b]))return!1;return!0},b.prototype.getFeature=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setUserData=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getUserData=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.contains=function(a){return!!a&&(a===this||this.isDescendant(a))},b.prototype.isDescendant=function(a){var b,c,d,e;for(c=0,d=(e=this.children).length;c<d;c++)if(a===(b=e[c])||b.isDescendant(a))return!0;return!1},b.prototype.isAncestor=function(a){return a.isDescendant(this)},b.prototype.isPreceding=function(a){var b,c;return b=this.treePosition(a),c=this.treePosition(this),-1!==b&&-1!==c&&b<c},b.prototype.isFollowing=function(a){var b,c;return b=this.treePosition(a),c=this.treePosition(this),-1!==b&&-1!==c&&b>c},b.prototype.treePosition=function(a){var b,c;return(c=0,b=!1,this.foreachTreeNode(this.document(),function(d){if(c++,!b&&d===a)return b=!0}),b)?c:-1},b.prototype.foreachTreeNode=function(a,b){var c,d,e,f,g;for(a||(a=this.document()),d=0,e=(f=a.children).length;d<e;d++)if((g=b(c=f[d]))||(g=this.foreachTreeNode(c,b)))return g},b}()}).call(a.e)},16026,(a,b,c)=>{(function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},c={}.hasOwnProperty;b.exports=function(){function b(b){var d,e,f;for(d in this.assertLegalName=a(this.assertLegalName,this),this.assertLegalChar=a(this.assertLegalChar,this),b||(b={}),this.options=b,this.options.version||(this.options.version="1.0"),e=b.stringify||{})c.call(e,d)&&(f=e[d],this[d]=f)}return b.prototype.name=function(a){return this.options.noValidation?a:this.assertLegalName(""+a||"")},b.prototype.text=function(a){return this.options.noValidation?a:this.assertLegalChar(this.textEscape(""+a||""))},b.prototype.cdata=function(a){return this.options.noValidation?a:(a=(a=""+a||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(a))},b.prototype.comment=function(a){if(this.options.noValidation)return a;if((a=""+a||"").match(/--/))throw Error("Comment text cannot contain double-hypen: "+a);return this.assertLegalChar(a)},b.prototype.raw=function(a){return this.options.noValidation?a:""+a||""},b.prototype.attValue=function(a){return this.options.noValidation?a:this.assertLegalChar(this.attEscape(a=""+a||""))},b.prototype.insTarget=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.insValue=function(a){if(this.options.noValidation)return a;if((a=""+a||"").match(/\?>/))throw Error("Invalid processing instruction value: "+a);return this.assertLegalChar(a)},b.prototype.xmlVersion=function(a){if(this.options.noValidation)return a;if(!(a=""+a||"").match(/1\.[0-9]+/))throw Error("Invalid version number: "+a);return a},b.prototype.xmlEncoding=function(a){if(this.options.noValidation)return a;if(!(a=""+a||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+a);return this.assertLegalChar(a)},b.prototype.xmlStandalone=function(a){return this.options.noValidation?a:a?"yes":"no"},b.prototype.dtdPubID=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdSysID=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdElementValue=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdAttType=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdAttDefault=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdEntityValue=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.dtdNData=function(a){return this.options.noValidation?a:this.assertLegalChar(""+a||"")},b.prototype.convertAttKey="@",b.prototype.convertPIKey="?",b.prototype.convertTextKey="#text",b.prototype.convertCDataKey="#cdata",b.prototype.convertCommentKey="#comment",b.prototype.convertRawKey="#raw",b.prototype.assertLegalChar=function(a){var b,c;if(this.options.noValidation)return a;if(b="","1.0"===this.options.version){if(b=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=a.match(b))throw Error("Invalid character in string: "+a+" at index "+c.index)}else if("1.1"===this.options.version&&(b=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=a.match(b)))throw Error("Invalid character in string: "+a+" at index "+c.index);return a},b.prototype.assertLegalName=function(a){if(this.options.noValidation)return a;if(this.assertLegalChar(a),!a.match(/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/))throw Error("Invalid character in name");return a},b.prototype.textEscape=function(a){var b;return this.options.noValidation?a:(b=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,a.replace(b,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},b.prototype.attEscape=function(a){var b;return this.options.noValidation?a:(b=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,a.replace(b,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},b}()}).call(a.e)},7873,(a,b,c)=>{(function(){b.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(a.e)},73320,(a,b,c)=>{(function(){var c,d,e,f={}.hasOwnProperty;e=a.r(25847).assign,c=a.r(26545),a.r(96083),a.r(57871),a.r(88275),a.r(50498),a.r(8128),a.r(1206),a.r(26424),a.r(22396),a.r(74924),a.r(61226),a.r(21023),a.r(43149),a.r(2023),d=a.r(7873),b.exports=function(){function a(a){var b,c,d;for(b in a||(a={}),this.options=a,c=a.writer||{})f.call(c,b)&&(d=c[b],this["_"+b]=this[b],this[b]=d)}return a.prototype.filterOptions=function(a){var b,c,f,g,h,i,j,k;return a||(a={}),a=e({},this.options,a),(b={writer:this}).pretty=a.pretty||!1,b.allowEmpty=a.allowEmpty||!1,b.indent=null!=(c=a.indent)?c:" ",b.newline=null!=(f=a.newline)?f:"\n",b.offset=null!=(g=a.offset)?g:0,b.dontPrettyTextNodes=null!=(h=null!=(i=a.dontPrettyTextNodes)?i:a.dontprettytextnodes)?h:0,b.spaceBeforeSlash=null!=(j=null!=(k=a.spaceBeforeSlash)?k:a.spacebeforeslash)?j:"",!0===b.spaceBeforeSlash&&(b.spaceBeforeSlash=" "),b.suppressPrettyCount=0,b.user={},b.state=d.None,b},a.prototype.indent=function(a,b,c){var d;if(!b.pretty||b.suppressPrettyCount);else if(b.pretty&&(d=(c||0)+b.offset+1)>0)return Array(d).join(b.indent);return""},a.prototype.endline=function(a,b,c){return!b.pretty||b.suppressPrettyCount?"":b.newline},a.prototype.attribute=function(a,b,c){var d;return this.openAttribute(a,b,c),d=" "+a.name+'="'+a.value+'"',this.closeAttribute(a,b,c),d},a.prototype.cdata=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<![CDATA[",b.state=d.InsideTag,e+=a.value,b.state=d.CloseTag,e+="]]>"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.comment=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!-- ",b.state=d.InsideTag,e+=a.value,b.state=d.CloseTag,e+=" -->"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.declaration=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<?xml",b.state=d.InsideTag,e+=' version="'+a.version+'"',null!=a.encoding&&(e+=' encoding="'+a.encoding+'"'),null!=a.standalone&&(e+=' standalone="'+a.standalone+'"'),b.state=d.CloseTag,e+=b.spaceBeforeSlash+"?>",e+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.docType=function(a,b,c){var e,f,g,h,i;if(c||(c=0),this.openNode(a,b,c),b.state=d.OpenTag,h=this.indent(a,b,c)+"<!DOCTYPE "+a.root().name,a.pubID&&a.sysID?h+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(h+=' SYSTEM "'+a.sysID+'"'),a.children.length>0){for(h+=" [",h+=this.endline(a,b,c),b.state=d.InsideTag,f=0,g=(i=a.children).length;f<g;f++)e=i[f],h+=this.writeChildNode(e,b,c+1);b.state=d.CloseTag,h+="]"}return b.state=d.CloseTag,h+=b.spaceBeforeSlash+">",h+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),h},a.prototype.element=function(a,b,e){var g,h,i,j,k,l,m,n,o,p,q,r,s,t;for(o in e||(e=0),p=!1,q="",this.openNode(a,b,e),b.state=d.OpenTag,q+=this.indent(a,b,e)+"<"+a.name,r=a.attribs)f.call(r,o)&&(g=r[o],q+=this.attribute(g,b,e));if(j=0===(i=a.children.length)?null:a.children[0],0===i||a.children.every(function(a){return(a.type===c.Text||a.type===c.Raw)&&""===a.value}))b.allowEmpty?(q+=">",b.state=d.CloseTag,q+="</"+a.name+">"+this.endline(a,b,e)):(b.state=d.CloseTag,q+=b.spaceBeforeSlash+"/>"+this.endline(a,b,e));else if(b.pretty&&1===i&&(j.type===c.Text||j.type===c.Raw)&&null!=j.value)q+=">",b.state=d.InsideTag,b.suppressPrettyCount++,p=!0,q+=this.writeChildNode(j,b,e+1),b.suppressPrettyCount--,p=!1,b.state=d.CloseTag,q+="</"+a.name+">"+this.endline(a,b,e);else{if(b.dontPrettyTextNodes){for(k=0,m=(s=a.children).length;k<m;k++)if(((h=s[k]).type===c.Text||h.type===c.Raw)&&null!=h.value){b.suppressPrettyCount++,p=!0;break}}for(q+=">"+this.endline(a,b,e),b.state=d.InsideTag,l=0,n=(t=a.children).length;l<n;l++)h=t[l],q+=this.writeChildNode(h,b,e+1);b.state=d.CloseTag,q+=this.indent(a,b,e)+"</"+a.name+">",p&&b.suppressPrettyCount--,q+=this.endline(a,b,e),b.state=d.None}return this.closeNode(a,b,e),q},a.prototype.writeChildNode=function(a,b,d){switch(a.type){case c.CData:return this.cdata(a,b,d);case c.Comment:return this.comment(a,b,d);case c.Element:return this.element(a,b,d);case c.Raw:return this.raw(a,b,d);case c.Text:return this.text(a,b,d);case c.ProcessingInstruction:return this.processingInstruction(a,b,d);case c.Dummy:return"";case c.Declaration:return this.declaration(a,b,d);case c.DocType:return this.docType(a,b,d);case c.AttributeDeclaration:return this.dtdAttList(a,b,d);case c.ElementDeclaration:return this.dtdElement(a,b,d);case c.EntityDeclaration:return this.dtdEntity(a,b,d);case c.NotationDeclaration:return this.dtdNotation(a,b,d);default:throw Error("Unknown XML node type: "+a.constructor.name)}},a.prototype.processingInstruction=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<?",b.state=d.InsideTag,e+=a.target,a.value&&(e+=" "+a.value),b.state=d.CloseTag,e+=b.spaceBeforeSlash+"?>",e+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.raw=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c),b.state=d.InsideTag,e+=a.value,b.state=d.CloseTag,e+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.text=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c),b.state=d.InsideTag,e+=a.value,b.state=d.CloseTag,e+=this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.dtdAttList=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!ATTLIST",b.state=d.InsideTag,e+=" "+a.elementName+" "+a.attributeName+" "+a.attributeType,"#DEFAULT"!==a.defaultValueType&&(e+=" "+a.defaultValueType),a.defaultValue&&(e+=' "'+a.defaultValue+'"'),b.state=d.CloseTag,e+=b.spaceBeforeSlash+">"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.dtdElement=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!ELEMENT",b.state=d.InsideTag,e+=" "+a.name+" "+a.value,b.state=d.CloseTag,e+=b.spaceBeforeSlash+">"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.dtdEntity=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!ENTITY",b.state=d.InsideTag,a.pe&&(e+=" %"),e+=" "+a.name,a.value?e+=' "'+a.value+'"':(a.pubID&&a.sysID?e+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(e+=' SYSTEM "'+a.sysID+'"'),a.nData&&(e+=" NDATA "+a.nData)),b.state=d.CloseTag,e+=b.spaceBeforeSlash+">"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.dtdNotation=function(a,b,c){var e;return this.openNode(a,b,c),b.state=d.OpenTag,e=this.indent(a,b,c)+"<!NOTATION",b.state=d.InsideTag,e+=" "+a.name,a.pubID&&a.sysID?e+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.pubID?e+=' PUBLIC "'+a.pubID+'"':a.sysID&&(e+=' SYSTEM "'+a.sysID+'"'),b.state=d.CloseTag,e+=b.spaceBeforeSlash+">"+this.endline(a,b,c),b.state=d.None,this.closeNode(a,b,c),e},a.prototype.openNode=function(a,b,c){},a.prototype.closeNode=function(a,b,c){},a.prototype.openAttribute=function(a,b,c){},a.prototype.closeAttribute=function(a,b,c){},a}()}).call(a.e)},93045,(a,b,c)=>{(function(){var c=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);function e(){this.constructor=a}return e.prototype=b.prototype,a.prototype=new e,a.__super__=b.prototype,a},d={}.hasOwnProperty;b.exports=function(a){function b(a){b.__super__.constructor.call(this,a)}return c(b,a),b.prototype.document=function(a,b){var c,d,e,f,g;for(d=0,b=this.filterOptions(b),f="",e=(g=a.children).length;d<e;d++)c=g[d],f+=this.writeChildNode(c,b,0);return b.pretty&&f.slice(-b.newline.length)===b.newline&&(f=f.slice(0,-b.newline.length)),f},b}(a.r(73320))}).call(a.e)},32491,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j=function(a,b){for(var c in b)k.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},k={}.hasOwnProperty;i=a.r(25847).isPlainObject,e=a.r(33952),d=a.r(21685),f=a.r(83427),c=a.r(26545),h=a.r(16026),g=a.r(93045),b.exports=function(a){function b(a){b.__super__.constructor.call(this,null),this.name="#document",this.type=c.Document,this.documentURI=null,this.domConfig=new d,a||(a={}),a.writer||(a.writer=new g),this.options=a,this.stringify=new h(a)}return j(b,a),Object.defineProperty(b.prototype,"implementation",{value:new e}),Object.defineProperty(b.prototype,"doctype",{get:function(){var a,b,d,e;for(b=0,d=(e=this.children).length;b<d;b++)if((a=e[b]).type===c.DocType)return a;return null}}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(b.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(b.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===c.Declaration?this.children[0].encoding:null}}),Object.defineProperty(b.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===c.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(b.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===c.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(b.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(b.prototype,"origin",{get:function(){return null}}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(b.prototype,"contentType",{get:function(){return null}}),b.prototype.end=function(a){var b;return b={},a?i(a)&&(b=a,a=this.options.writer):a=this.options.writer,a.document(this,a.filterOptions(b))},b.prototype.toString=function(a){return this.options.writer.document(this,this.options.writer.filterOptions(a))},b.prototype.createElement=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createDocumentFragment=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createTextNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createComment=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createCDATASection=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createProcessingInstruction=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createAttribute=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createEntityReference=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.importNode=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createElementNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createAttributeNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(a,b){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementById=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.adoptNode=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.normalizeDocument=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.renameNode=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createEvent=function(a){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createRange=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createNodeIterator=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.createTreeWalker=function(a,b,c){throw Error("This DOM method is not implemented."+this.debugInfo())},b}(f)}).call(a.e)},55518,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z={}.hasOwnProperty;w=(y=a.r(25847)).isObject,v=y.isFunction,x=y.isPlainObject,u=y.getValue,c=a.r(26545),n=a.r(32491),o=a.r(8128),f=a.r(88275),g=a.r(50498),q=a.r(1206),t=a.r(26424),p=a.r(22396),l=a.r(96083),m=a.r(57871),h=a.r(61226),j=a.r(43149),i=a.r(21023),k=a.r(2023),e=a.r(51232),s=a.r(16026),r=a.r(93045),d=a.r(7873),b.exports=function(){function a(a,b,d){var e;this.name="?xml",this.type=c.Document,a||(a={}),e={},a.writer?x(a.writer)&&(e=a.writer,a.writer=new r):a.writer=new r,this.options=a,this.writer=a.writer,this.writerOptions=this.writer.filterOptions(e),this.stringify=new s(a),this.onDataCallback=b||function(){},this.onEndCallback=d||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return a.prototype.createChildNode=function(a){var b,d,e,f,g,h,i,j;switch(a.type){case c.CData:this.cdata(a.value);break;case c.Comment:this.comment(a.value);break;case c.Element:for(d in e={},i=a.attribs)z.call(i,d)&&(b=i[d],e[d]=b.value);this.node(a.name,e);break;case c.Dummy:this.dummy();break;case c.Raw:this.raw(a.value);break;case c.Text:this.text(a.value);break;case c.ProcessingInstruction:this.instruction(a.target,a.value);break;default:throw Error("This XML node type is not supported in a JS object: "+a.constructor.name)}for(g=0,h=(j=a.children).length;g<h;g++)f=j[g],this.createChildNode(f),f.type===c.Element&&this.up();return this},a.prototype.dummy=function(){return this},a.prototype.node=function(a,b,c){var d;if(null==a)throw Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw Error("Document can only have one root node. "+this.debugInfo(a));return this.openCurrent(),a=u(a),null==b&&(b={}),w(b=u(b))||(c=(d=[b,c])[0],b=d[1]),this.currentNode=new o(this,a,b),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=c&&this.text(c),this},a.prototype.element=function(a,b,d){var e,f,g,h,i,j;if(this.currentNode&&this.currentNode.type===c.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(a)||w(a)||v(a))for(h=this.options.noValidation,this.options.noValidation=!0,(j=new n(this.options).element("TEMP_ROOT")).element(a),this.options.noValidation=h,f=0,g=(i=j.children).length;f<g;f++)e=i[f],this.createChildNode(e),e.type===c.Element&&this.up();else this.node(a,b,d);return this},a.prototype.attribute=function(a,b){var c,d;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(a));if(null!=a&&(a=u(a)),w(a))for(c in a)z.call(a,c)&&(d=a[c],this.attribute(c,d));else v(b)&&(b=b.apply()),this.options.keepNullAttributes&&null==b?this.currentNode.attribs[a]=new e(this,a,""):null!=b&&(this.currentNode.attribs[a]=new e(this,a,b));return this},a.prototype.text=function(a){var b;return this.openCurrent(),b=new t(this,a),this.onData(this.writer.text(b,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.cdata=function(a){var b;return this.openCurrent(),b=new f(this,a),this.onData(this.writer.cdata(b,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.comment=function(a){var b;return this.openCurrent(),b=new g(this,a),this.onData(this.writer.comment(b,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.raw=function(a){var b;return this.openCurrent(),b=new q(this,a),this.onData(this.writer.raw(b,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.instruction=function(a,b){var c,d,e,f,g;if(this.openCurrent(),null!=a&&(a=u(a)),null!=b&&(b=u(b)),Array.isArray(a))for(c=0,f=a.length;c<f;c++)d=a[c],this.instruction(d);else if(w(a))for(d in a)z.call(a,d)&&(e=a[d],this.instruction(d,e));else v(b)&&(b=b.apply()),g=new p(this,a,b),this.onData(this.writer.processingInstruction(g,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},a.prototype.declaration=function(a,b,c){var d;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return d=new l(this,a,b,c),this.onData(this.writer.declaration(d,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.doctype=function(a,b,c){if(this.openCurrent(),null==a)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new m(this,b,c),this.currentNode.rootNodeName=a,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},a.prototype.dtdElement=function(a,b){var c;return this.openCurrent(),c=new i(this,a,b),this.onData(this.writer.dtdElement(c,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.attList=function(a,b,c,d,e){var f;return this.openCurrent(),f=new h(this,a,b,c,d,e),this.onData(this.writer.dtdAttList(f,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.entity=function(a,b){var c;return this.openCurrent(),c=new j(this,!1,a,b),this.onData(this.writer.dtdEntity(c,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.pEntity=function(a,b){var c;return this.openCurrent(),c=new j(this,!0,a,b),this.onData(this.writer.dtdEntity(c,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.notation=function(a,b){var c;return this.openCurrent(),c=new k(this,a,b),this.onData(this.writer.dtdNotation(c,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},a.prototype.up=function(){if(this.currentLevel<0)throw Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},a.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},a.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},a.prototype.openNode=function(a){var b,e,f,g;if(!a.isOpen){if(this.root||0!==this.currentLevel||a.type!==c.Element||(this.root=a),e="",a.type===c.Element){for(f in this.writerOptions.state=d.OpenTag,e=this.writer.indent(a,this.writerOptions,this.currentLevel)+"<"+a.name,g=a.attribs)z.call(g,f)&&(b=g[f],e+=this.writer.attribute(b,this.writerOptions,this.currentLevel));e+=(a.children?">":"/>")+this.writer.endline(a,this.writerOptions,this.currentLevel),this.writerOptions.state=d.InsideTag}else this.writerOptions.state=d.OpenTag,e=this.writer.indent(a,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+a.rootNodeName,a.pubID&&a.sysID?e+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(e+=' SYSTEM "'+a.sysID+'"'),a.children?(e+=" [",this.writerOptions.state=d.InsideTag):(this.writerOptions.state=d.CloseTag,e+=">"),e+=this.writer.endline(a,this.writerOptions,this.currentLevel);return this.onData(e,this.currentLevel),a.isOpen=!0}},a.prototype.closeNode=function(a){var b;if(!a.isClosed)return b="",this.writerOptions.state=d.CloseTag,b=a.type===c.Element?this.writer.indent(a,this.writerOptions,this.currentLevel)+"</"+a.name+">"+this.writer.endline(a,this.writerOptions,this.currentLevel):this.writer.indent(a,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(a,this.writerOptions,this.currentLevel),this.writerOptions.state=d.None,this.onData(b,this.currentLevel),a.isClosed=!0},a.prototype.onData=function(a,b){return this.documentStarted=!0,this.onDataCallback(a,b+1)},a.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},a.prototype.debugInfo=function(a){return null==a?"":"node: <"+a+">"},a.prototype.ele=function(){return this.element.apply(this,arguments)},a.prototype.nod=function(a,b,c){return this.node(a,b,c)},a.prototype.txt=function(a){return this.text(a)},a.prototype.dat=function(a){return this.cdata(a)},a.prototype.com=function(a){return this.comment(a)},a.prototype.ins=function(a,b){return this.instruction(a,b)},a.prototype.dec=function(a,b,c){return this.declaration(a,b,c)},a.prototype.dtd=function(a,b,c){return this.doctype(a,b,c)},a.prototype.e=function(a,b,c){return this.element(a,b,c)},a.prototype.n=function(a,b,c){return this.node(a,b,c)},a.prototype.t=function(a){return this.text(a)},a.prototype.d=function(a){return this.cdata(a)},a.prototype.c=function(a){return this.comment(a)},a.prototype.r=function(a){return this.raw(a)},a.prototype.i=function(a,b){return this.instruction(a,b)},a.prototype.att=function(){return this.currentNode&&this.currentNode.type===c.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},a.prototype.a=function(){return this.currentNode&&this.currentNode.type===c.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},a.prototype.ent=function(a,b){return this.entity(a,b)},a.prototype.pent=function(a,b){return this.pEntity(a,b)},a.prototype.not=function(a,b){return this.notation(a,b)},a}()}).call(a.e)},9701,(a,b,c)=>{(function(){var c,d,e,f=function(a,b){for(var c in b)g.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},g={}.hasOwnProperty;c=a.r(26545),e=a.r(73320),d=a.r(7873),b.exports=function(a){function b(a,c){this.stream=a,b.__super__.constructor.call(this,c)}return f(b,a),b.prototype.endline=function(a,c,e){return a.isLastRootNode&&c.state===d.CloseTag?"":b.__super__.endline.call(this,a,c,e)},b.prototype.document=function(a,b){var c,d,e,f,g,h,i,j,k;for(i=a.children,d=e=0,g=i.length;e<g;d=++e)(c=i[d]).isLastRootNode=d===a.children.length-1;for(f=0,b=this.filterOptions(b),j=a.children,k=[],h=j.length;f<h;f++)c=j[f],k.push(this.writeChildNode(c,b,0));return k},b.prototype.attribute=function(a,c,d){return this.stream.write(b.__super__.attribute.call(this,a,c,d))},b.prototype.cdata=function(a,c,d){return this.stream.write(b.__super__.cdata.call(this,a,c,d))},b.prototype.comment=function(a,c,d){return this.stream.write(b.__super__.comment.call(this,a,c,d))},b.prototype.declaration=function(a,c,d){return this.stream.write(b.__super__.declaration.call(this,a,c,d))},b.prototype.docType=function(a,b,c){var e,f,g,h;if(c||(c=0),this.openNode(a,b,c),b.state=d.OpenTag,this.stream.write(this.indent(a,b,c)),this.stream.write("<!DOCTYPE "+a.root().name),a.pubID&&a.sysID?this.stream.write(' PUBLIC "'+a.pubID+'" "'+a.sysID+'"'):a.sysID&&this.stream.write(' SYSTEM "'+a.sysID+'"'),a.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(a,b,c)),b.state=d.InsideTag,f=0,g=(h=a.children).length;f<g;f++)e=h[f],this.writeChildNode(e,b,c+1);b.state=d.CloseTag,this.stream.write("]")}return b.state=d.CloseTag,this.stream.write(b.spaceBeforeSlash+">"),this.stream.write(this.endline(a,b,c)),b.state=d.None,this.closeNode(a,b,c)},b.prototype.element=function(a,b,e){var f,h,i,j,k,l,m,n,o;for(m in e||(e=0),this.openNode(a,b,e),b.state=d.OpenTag,this.stream.write(this.indent(a,b,e)+"<"+a.name),n=a.attribs)g.call(n,m)&&(f=n[m],this.attribute(f,b,e));if(j=0===(i=a.children.length)?null:a.children[0],0===i||a.children.every(function(a){return(a.type===c.Text||a.type===c.Raw)&&""===a.value}))b.allowEmpty?(this.stream.write(">"),b.state=d.CloseTag,this.stream.write("</"+a.name+">")):(b.state=d.CloseTag,this.stream.write(b.spaceBeforeSlash+"/>"));else if(b.pretty&&1===i&&(j.type===c.Text||j.type===c.Raw)&&null!=j.value)this.stream.write(">"),b.state=d.InsideTag,b.suppressPrettyCount++,this.writeChildNode(j,b,e+1),b.suppressPrettyCount--,b.state=d.CloseTag,this.stream.write("</"+a.name+">");else{for(this.stream.write(">"+this.endline(a,b,e)),b.state=d.InsideTag,k=0,l=(o=a.children).length;k<l;k++)h=o[k],this.writeChildNode(h,b,e+1);b.state=d.CloseTag,this.stream.write(this.indent(a,b,e)+"</"+a.name+">")}return this.stream.write(this.endline(a,b,e)),b.state=d.None,this.closeNode(a,b,e)},b.prototype.processingInstruction=function(a,c,d){return this.stream.write(b.__super__.processingInstruction.call(this,a,c,d))},b.prototype.raw=function(a,c,d){return this.stream.write(b.__super__.raw.call(this,a,c,d))},b.prototype.text=function(a,c,d){return this.stream.write(b.__super__.text.call(this,a,c,d))},b.prototype.dtdAttList=function(a,c,d){return this.stream.write(b.__super__.dtdAttList.call(this,a,c,d))},b.prototype.dtdElement=function(a,c,d){return this.stream.write(b.__super__.dtdElement.call(this,a,c,d))},b.prototype.dtdEntity=function(a,c,d){return this.stream.write(b.__super__.dtdEntity.call(this,a,c,d))},b.prototype.dtdNotation=function(a,c,d){return this.stream.write(b.__super__.dtdNotation.call(this,a,c,d))},b}(e)}).call(a.e)},76888,(a,b,c)=>{(function(){var c,d,e,f,g,h,i,j,k,l;j=(l=a.r(25847)).assign,k=l.isFunction,e=a.r(33952),f=a.r(32491),g=a.r(55518),i=a.r(93045),h=a.r(9701),c=a.r(26545),d=a.r(7873),b.exports.create=function(a,b,c,d){var e,g;if(null==a)throw Error("Root element needs a name.");return g=(e=new f(d=j({},b,c,d))).element(a),d.headless||(e.declaration(d),(null!=d.pubID||null!=d.sysID)&&e.dtd(d)),g},b.exports.begin=function(a,b,c){var d;return(k(a)&&(b=(d=[a,b])[0],c=d[1],a={}),b)?new g(a,b,c):new f(a)},b.exports.stringWriter=function(a){return new i(a)},b.exports.streamWriter=function(a,b){return new h(a,b)},b.exports.implementation=new e,b.exports.nodeType=c,b.exports.writerState=d}).call(a.e)},17289,(a,b,c)=>{(function(){"use strict";var b,d,e,f,g,h={}.hasOwnProperty;b=a.r(76888),d=a.r(66748).defaults,f=function(a){return"string"==typeof a&&(a.indexOf("&")>=0||a.indexOf(">")>=0||a.indexOf("<")>=0)},g=function(a){return"<![CDATA["+e(a)+"]]>"},e=function(a){return a.replace("]]>","]]]]><![CDATA[>")},c.Builder=function(){function a(a){var b,c,e;for(b in this.options={},c=d["0.2"])h.call(c,b)&&(e=c[b],this.options[b]=e);for(b in a)h.call(a,b)&&(e=a[b],this.options[b]=e)}return a.prototype.buildObject=function(a){var c,e,i,j,k,l;return c=this.options.attrkey,e=this.options.charkey,1===Object.keys(a).length&&this.options.rootName===d["0.2"].rootName?(k=Object.keys(a)[0],a=a[k]):k=this.options.rootName,l=this,i=function(a,b){var d,j,k,m,n,o;if("object"!=typeof b)l.options.cdata&&f(b)?a.raw(g(b)):a.txt(b);else if(Array.isArray(b)){for(m in b)if(h.call(b,m))for(n in j=b[m])k=j[n],a=i(a.ele(n),k).up()}else for(n in b)if(h.call(b,n))if(j=b[n],n===c){if("object"==typeof j)for(d in j)o=j[d],a=a.att(d,o)}else if(n===e)a=l.options.cdata&&f(j)?a.raw(g(j)):a.txt(j);else if(Array.isArray(j))for(m in j)h.call(j,m)&&(a="string"==typeof(k=j[m])?l.options.cdata&&f(k)?a.ele(n).raw(g(k)).up():a.ele(n,k).up():i(a.ele(n),k).up());else"object"==typeof j?a=i(a.ele(n),j).up():"string"==typeof j&&l.options.cdata&&f(j)?a=a.ele(n).raw(g(j)).up():(null==j&&(j=""),a=a.ele(n,j.toString()).up());return a},j=b.create(k,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),i(j,a).end(this.options.renderOpts)},a}()}).call(a.e)},33477,(a,b,c)=>{!function(b){b.parser=function(a,b){return new h(a,b)},b.SAXParser=h,b.SAXStream=j,b.createStream=function(a,b){return new j(a,b)},b.MAX_BUFFER_LENGTH=65536;var c,d,e,f,g=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function h(a,c){if(!(this instanceof h))return new h(a,c);(function(a){for(var b=0,c=g.length;b<c;b++)a[g[b]]=""})(this),this.q=this.c="",this.bufferCheckPosition=b.MAX_BUFFER_LENGTH,this.encoding=null,this.opt=c||{},this.opt.lowercase=this.opt.lowercase||this.opt.lowercasetags,this.looseCase=this.opt.lowercase?"toLowerCase":"toUpperCase",this.opt.maxEntityCount=this.opt.maxEntityCount||512,this.opt.maxEntityDepth=this.opt.maxEntityDepth||4,this.entityCount=this.entityDepth=0,this.tags=[],this.closed=this.closedRoot=this.sawRoot=!1,this.tag=this.error=null,this.strict=!!a,this.noscript=!!(a||this.opt.noscript),this.state=u.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(b.XML_ENTITIES):Object.create(b.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(m)),void 0===this.opt.unquotedAttributeValues&&(this.opt.unquotedAttributeValues=!a),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),w(this,"onready")}b.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(a){function b(){}return b.prototype=a,new b}),Object.keys||(Object.keys=function(a){var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c);return b}),h.prototype={end:function(){C(this)},write:function(a){if(this.error)throw this.error;if(this.closed)return B(this,"Cannot write after close. Assign an onready handler.");if(null===a)return C(this);"object"==typeof a&&(a=a.toString());for(var c=0,d="";d=J(a,c++),this.c=d,d;)switch(this.trackPosition&&(this.position++,"\n"===d?(this.line++,this.column=0):this.column++),this.state){case u.BEGIN:if(this.state=u.BEGIN_WHITESPACE,"\uFEFF"===d)continue;I(this,d);continue;case u.BEGIN_WHITESPACE:I(this,d);continue;case u.TEXT:if(this.sawRoot&&!this.closedRoot){for(var e=c-1;d&&"<"!==d&&"&"!==d;)(d=J(a,c++))&&this.trackPosition&&(this.position++,"\n"===d?(this.line++,this.column=0):this.column++);this.textNode+=a.substring(e,c-1)}"<"!==d||this.sawRoot&&this.closedRoot&&!this.strict?(r(d)||this.sawRoot&&!this.closedRoot||D(this,"Text data outside of root node."),"&"===d?this.state=u.TEXT_ENTITY:this.textNode+=d):(this.state=u.OPEN_WAKA,this.startTagPosition=this.position);continue;case u.SCRIPT:"<"===d?this.state=u.SCRIPT_ENDING:this.script+=d;continue;case u.SCRIPT_ENDING:"/"===d?this.state=u.CLOSE_TAG:(this.script+="<"+d,this.state=u.SCRIPT);continue;case u.OPEN_WAKA:"!"===d?(this.state=u.SGML_DECL,this.sgmlDecl=""):r(d)||(t(n,d)?(this.state=u.OPEN_TAG,this.tagName=d):"/"===d?(this.state=u.CLOSE_TAG,this.tagName=""):"?"===d?(this.state=u.PROC_INST,this.procInstName=this.procInstBody=""):(D(this,"Unencoded <"),this.startTagPosition+1<this.position&&(d=Array(this.position-this.startTagPosition).join(" ")+d),this.textNode+="<"+d,this.state=u.TEXT));continue;case u.SGML_DECL:if(this.sgmlDecl+d==="--"){this.state=u.COMMENT,this.comment="",this.sgmlDecl="";continue}this.doctype&&!0!==this.doctype&&this.sgmlDecl?(this.state=u.DOCTYPE_DTD,this.doctype+="<!"+this.sgmlDecl+d,this.sgmlDecl=""):"[CDATA["===(this.sgmlDecl+d).toUpperCase()?(y(this,"onopencdata"),this.state=u.CDATA,this.sgmlDecl="",this.cdata=""):"DOCTYPE"===(this.sgmlDecl+d).toUpperCase()?(this.state=u.DOCTYPE,(this.doctype||this.sawRoot)&&D(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===d?(y(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=u.TEXT):(s(d)&&(this.state=u.SGML_DECL_QUOTED),this.sgmlDecl+=d);continue;case u.SGML_DECL_QUOTED:d===this.q&&(this.state=u.SGML_DECL,this.q=""),this.sgmlDecl+=d;continue;case u.DOCTYPE:">"===d?(this.state=u.TEXT,y(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=d,"["===d?this.state=u.DOCTYPE_DTD:s(d)&&(this.state=u.DOCTYPE_QUOTED,this.q=d));continue;case u.DOCTYPE_QUOTED:this.doctype+=d,d===this.q&&(this.q="",this.state=u.DOCTYPE);continue;case u.DOCTYPE_DTD:"]"===d?(this.doctype+=d,this.state=u.DOCTYPE):"<"===d?(this.state=u.OPEN_WAKA,this.startTagPosition=this.position):s(d)?(this.doctype+=d,this.state=u.DOCTYPE_DTD_QUOTED,this.q=d):this.doctype+=d;continue;case u.DOCTYPE_DTD_QUOTED:this.doctype+=d,d===this.q&&(this.state=u.DOCTYPE_DTD,this.q="");continue;case u.COMMENT:"-"===d?this.state=u.COMMENT_ENDING:this.comment+=d;continue;case u.COMMENT_ENDING:"-"===d?(this.state=u.COMMENT_ENDED,this.comment=A(this.opt,this.comment),this.comment&&y(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+d,this.state=u.COMMENT);continue;case u.COMMENT_ENDED:">"!==d?(D(this,"Malformed comment"),this.comment+="--"+d,this.state=u.COMMENT):this.doctype&&!0!==this.doctype?this.state=u.DOCTYPE_DTD:this.state=u.TEXT;continue;case u.CDATA:for(var e=c-1;d&&"]"!==d;)(d=J(a,c++))&&this.trackPosition&&(this.position++,"\n"===d?(this.line++,this.column=0):this.column++);this.cdata+=a.substring(e,c-1),"]"===d&&(this.state=u.CDATA_ENDING);continue;case u.CDATA_ENDING:"]"===d?this.state=u.CDATA_ENDING_2:(this.cdata+="]"+d,this.state=u.CDATA);continue;case u.CDATA_ENDING_2:">"===d?(this.cdata&&y(this,"oncdata",this.cdata),y(this,"onclosecdata"),this.cdata="",this.state=u.TEXT):"]"===d?this.cdata+="]":(this.cdata+="]]"+d,this.state=u.CDATA);continue;case u.PROC_INST:"?"===d?this.state=u.PROC_INST_ENDING:r(d)?this.state=u.PROC_INST_BODY:this.procInstName+=d;continue;case u.PROC_INST_BODY:!this.procInstBody&&r(d)||("?"===d?this.state=u.PROC_INST_ENDING:this.procInstBody+=d);continue;case u.PROC_INST_ENDING:if(">"===d){let a={name:this.procInstName,body:this.procInstBody};!function(a,b){if(a.strict&&a.encoding&&b&&"xml"===b.name){let g,h;var c,d,e,f=(d=(c=b.body)&&c.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i))?d[2]:null;f&&(e=a.encoding,g=x(e),h=x(f),g&&h&&("utf16"===h?"utf16le"!==g&&"utf16be"!==g:g!==h))&&D(a,"XML declaration encoding "+f+" does not match detected stream encoding "+a.encoding.toUpperCase())}}(this,a),y(this,"onprocessinginstruction",a),this.procInstName=this.procInstBody="",this.state=u.TEXT}else this.procInstBody+="?"+d,this.state=u.PROC_INST_BODY;continue;case u.OPEN_TAG:t(o,d)?this.tagName+=d:(!function(a){a.strict||(a.tagName=a.tagName[a.looseCase]());var b=a.tags[a.tags.length-1]||a,c=a.tag={name:a.tagName,attributes:{}};a.opt.xmlns&&(c.ns=b.ns),a.attribList.length=0,y(a,"onopentagstart",c)}(this),">"===d?G(this):"/"===d?this.state=u.OPEN_TAG_SLASH:(r(d)||D(this,"Invalid character in tag name"),this.state=u.ATTRIB));continue;case u.OPEN_TAG_SLASH:">"===d?(G(this,!0),H(this)):(D(this,"Forward-slash in opening tag not followed by >"),this.state=u.ATTRIB);continue;case u.ATTRIB:r(d)||(">"===d?G(this):"/"===d?this.state=u.OPEN_TAG_SLASH:t(n,d)?(this.attribName=d,this.attribValue="",this.state=u.ATTRIB_NAME):D(this,"Invalid attribute name"));continue;case u.ATTRIB_NAME:"="===d?this.state=u.ATTRIB_VALUE:">"===d?(D(this,"Attribute without value"),this.attribValue=this.attribName,F(this),G(this)):r(d)?this.state=u.ATTRIB_NAME_SAW_WHITE:t(o,d)?this.attribName+=d:D(this,"Invalid attribute name");continue;case u.ATTRIB_NAME_SAW_WHITE:if("="===d)this.state=u.ATTRIB_VALUE;else{if(r(d))continue;D(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",y(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===d?G(this):t(n,d)?(this.attribName=d,this.state=u.ATTRIB_NAME):(D(this,"Invalid attribute name"),this.state=u.ATTRIB)}continue;case u.ATTRIB_VALUE:r(d)||(s(d)?(this.q=d,this.state=u.ATTRIB_VALUE_QUOTED):(this.opt.unquotedAttributeValues||B(this,"Unquoted attribute value"),this.state=u.ATTRIB_VALUE_UNQUOTED,this.attribValue=d));continue;case u.ATTRIB_VALUE_QUOTED:if(d!==this.q){"&"===d?this.state=u.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=d;continue}F(this),this.q="",this.state=u.ATTRIB_VALUE_CLOSED;continue;case u.ATTRIB_VALUE_CLOSED:r(d)?this.state=u.ATTRIB:">"===d?G(this):"/"===d?this.state=u.OPEN_TAG_SLASH:t(n,d)?(D(this,"No whitespace between attributes"),this.attribName=d,this.attribValue="",this.state=u.ATTRIB_NAME):D(this,"Invalid attribute name");continue;case u.ATTRIB_VALUE_UNQUOTED:if(!(">"===(f=d)||r(f))){"&"===d?this.state=u.ATTRIB_VALUE_ENTITY_U:this.attribValue+=d;continue}F(this),">"===d?G(this):this.state=u.ATTRIB;continue;case u.CLOSE_TAG:this.tagName?">"===d?H(this):t(o,d)?this.tagName+=d:this.script?(this.script+="</"+this.tagName+d,this.tagName="",this.state=u.SCRIPT):(r(d)||D(this,"Invalid tagname in closing tag"),this.state=u.CLOSE_TAG_SAW_WHITE):r(d)||(t(n,d)?this.tagName=d:this.script?(this.script+="</"+d,this.state=u.SCRIPT):D(this,"Invalid tagname in closing tag."));continue;case u.CLOSE_TAG_SAW_WHITE:if(r(d))continue;">"===d?H(this):D(this,"Invalid characters in closing tag");continue;case u.TEXT_ENTITY:case u.ATTRIB_VALUE_ENTITY_Q:case u.ATTRIB_VALUE_ENTITY_U:switch(this.state){case u.TEXT_ENTITY:h=u.TEXT,i="textNode";break;case u.ATTRIB_VALUE_ENTITY_Q:h=u.ATTRIB_VALUE_QUOTED,i="attribValue";break;case u.ATTRIB_VALUE_ENTITY_U:h=u.ATTRIB_VALUE_UNQUOTED,i="attribValue"}if(";"===d){var f,h,i,j=function(a){var b,c=a.entity,d=c.toLowerCase(),e="";return a.ENTITIES[c]?a.ENTITIES[c]:a.ENTITIES[d]?a.ENTITIES[d]:("#"===(c=d).charAt(0)&&(e="x"===c.charAt(1)?(b=parseInt(c=c.slice(2),16)).toString(16):(b=parseInt(c=c.slice(1),10)).toString(10)),c=c.replace(/^0+/,""),isNaN(b)||e.toLowerCase()!==c||b<0||b>1114111)?(D(a,"Invalid character entity"),"&"+a.entity+";"):String.fromCodePoint(b)}(this);this.opt.unparsedEntities&&!Object.values(b.XML_ENTITIES).includes(j)?((this.entityCount+=1)>this.opt.maxEntityCount&&B(this,"Parsed entity count exceeds max entity count"),(this.entityDepth+=1)>this.opt.maxEntityDepth&&B(this,"Parsed entity depth exceeds max entity depth"),this.entity="",this.state=h,this.write(j),this.entityDepth-=1):(this[i]+=j,this.entity="",this.state=h)}else t(this.entity.length?q:p,d)?this.entity+=d:(D(this,"Invalid character in entity name"),this[i]+="&"+this.entity+d,this.entity="",this.state=h);continue;default:throw Error(this,"Unknown state: "+this.state)}return this.position>=this.bufferCheckPosition&&function(a){for(var c=Math.max(b.MAX_BUFFER_LENGTH,10),d=0,e=0,f=g.length;e<f;e++){var h=a[g[e]].length;if(h>c)switch(g[e]){case"textNode":z(a);break;case"cdata":y(a,"oncdata",a.cdata),a.cdata="";break;case"script":y(a,"onscript",a.script),a.script="";break;default:B(a,"Max buffer length exceeded: "+g[e])}d=Math.max(d,h)}a.bufferCheckPosition=b.MAX_BUFFER_LENGTH-d+a.position}(this),this},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){z(this),""!==this.cdata&&(y(this,"oncdata",this.cdata),this.cdata=""),""!==this.script&&(y(this,"onscript",this.script),this.script="")}};try{f=a.r(88947).Stream}catch(a){f=function(){}}f||(f=function(){});var i=b.EVENTS.filter(function(a){return"error"!==a&&"end"!==a});function j(a,b){if(!(this instanceof j))return new j(a,b);f.apply(this),this._parser=new h(a,b),this.writable=!0,this.readable=!0;var c=this;this._parser.onend=function(){c.emit("end")},this._parser.onerror=function(a){c.emit("error",a),c._parser.error=null},this._decoder=null,this._decoderBuffer=null,i.forEach(function(a){Object.defineProperty(c,"on"+a,{get:function(){return c._parser["on"+a]},set:function(b){if(!b)return c.removeAllListeners(a),c._parser["on"+a]=b,b;c.on(a,b)},enumerable:!0,configurable:!1})})}j.prototype=Object.create(f.prototype,{constructor:{value:j}}),j.prototype._decodeBuffer=function(a,b){if(this._decoderBuffer&&(a=Buffer.concat([this._decoderBuffer,a]),this._decoderBuffer=null),!this._decoder){var c=function(a,b){if(a.length>=2){if(255===a[0]&&254===a[1])return"utf-16le";if(254===a[0]&&255===a[1])return"utf-16be"}return a.length>=3&&239===a[0]&&187===a[1]&&191===a[2]?"utf8":a.length>=4?60===a[0]&&0===a[1]&&63===a[2]&&0===a[3]?"utf-16le":0===a[0]&&60===a[1]&&0===a[2]&&63===a[3]?"utf-16be":"utf8":b?"utf8":null}(a,b);if(!c)return this._decoderBuffer=a,"";this._parser.encoding=c,this._decoder=new TextDecoder(c)}return this._decoder.decode(a,{stream:!b})},j.prototype.write=function(a){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(a))a=this._decodeBuffer(a,!1);else if(this._decoderBuffer){var b=this._decodeBuffer(Buffer.alloc(0),!0);b&&(this._parser.write(b),this.emit("data",b))}return this._parser.write(a.toString()),this.emit("data",a),!0},j.prototype.end=function(a){if(a&&a.length&&this.write(a),this._decoderBuffer){var b=this._decodeBuffer(Buffer.alloc(0),!0);b&&(this._parser.write(b),this.emit("data",b))}else if(this._decoder){var c=this._decoder.decode();c&&(this._parser.write(c),this.emit("data",c))}return this._parser.end(),!0},j.prototype.on=function(a,b){var c=this;return c._parser["on"+a]||-1===i.indexOf(a)||(c._parser["on"+a]=function(){var b=1==arguments.length?[arguments[0]]:Array.apply(null,arguments);b.splice(0,0,a),c.emit.apply(c,b)}),f.prototype.on.call(c,a,b)};var k="http://www.w3.org/XML/1998/namespace",l="http://www.w3.org/2000/xmlns/",m={xml:k,xmlns:l},n=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,q=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function r(a){return" "===a||"\n"===a||"\r"===a||" "===a}function s(a){return'"'===a||"'"===a}function t(a,b){return a.test(b)}var u=0;for(var v in b.STATE={BEGIN:u++,BEGIN_WHITESPACE:u++,TEXT:u++,TEXT_ENTITY:u++,OPEN_WAKA:u++,SGML_DECL:u++,SGML_DECL_QUOTED:u++,DOCTYPE:u++,DOCTYPE_QUOTED:u++,DOCTYPE_DTD:u++,DOCTYPE_DTD_QUOTED:u++,COMMENT_STARTING:u++,COMMENT:u++,COMMENT_ENDING:u++,COMMENT_ENDED:u++,CDATA:u++,CDATA_ENDING:u++,CDATA_ENDING_2:u++,PROC_INST:u++,PROC_INST_BODY:u++,PROC_INST_ENDING:u++,OPEN_TAG:u++,OPEN_TAG_SLASH:u++,ATTRIB:u++,ATTRIB_NAME:u++,ATTRIB_NAME_SAW_WHITE:u++,ATTRIB_VALUE:u++,ATTRIB_VALUE_QUOTED:u++,ATTRIB_VALUE_CLOSED:u++,ATTRIB_VALUE_UNQUOTED:u++,ATTRIB_VALUE_ENTITY_Q:u++,ATTRIB_VALUE_ENTITY_U:u++,CLOSE_TAG:u++,CLOSE_TAG_SAW_WHITE:u++,SCRIPT:u++,SCRIPT_ENDING:u++},b.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},b.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(b.ENTITIES).forEach(function(a){var c=b.ENTITIES[a],d="number"==typeof c?String.fromCharCode(c):c;b.ENTITIES[a]=d}),b.STATE)b.STATE[b.STATE[v]]=v;function w(a,b,c){a[b]&&a[b](c)}function x(a){return a?a.toLowerCase().replace(/[^a-z0-9]/g,""):null}function y(a,b,c){a.textNode&&z(a),w(a,b,c)}function z(a){a.textNode=A(a.opt,a.textNode),a.textNode&&w(a,"ontext",a.textNode),a.textNode=""}function A(a,b){return a.trim&&(b=b.trim()),a.normalize&&(b=b.replace(/\s+/g," ")),b}function B(a,b){return z(a),a.trackPosition&&(b+="\nLine: "+a.line+"\nColumn: "+a.column+"\nChar: "+a.c),a.error=b=Error(b),w(a,"onerror",b),a}function C(a){return a.sawRoot&&!a.closedRoot&&D(a,"Unclosed root tag"),a.state!==u.BEGIN&&a.state!==u.BEGIN_WHITESPACE&&a.state!==u.TEXT&&B(a,"Unexpected end"),z(a),a.c="",a.closed=!0,w(a,"onend"),h.call(a,a.strict,a.opt),a}function D(a,b){if("object"!=typeof a||!(a instanceof h))throw Error("bad call to strictFail");a.strict&&B(a,b)}function E(a,b){var c=0>a.indexOf(":")?["",a]:a.split(":"),d=c[0],e=c[1];return b&&"xmlns"===a&&(d="xmlns",e=""),{prefix:d,local:e}}function F(a){if(a.strict||(a.attribName=a.attribName[a.looseCase]()),-1!==a.attribList.indexOf(a.attribName)||a.tag.attributes.hasOwnProperty(a.attribName)){a.attribName=a.attribValue="";return}if(a.opt.xmlns){var b=E(a.attribName,!0),c=b.prefix,d=b.local;if("xmlns"===c)if("xml"===d&&a.attribValue!==k)D(a,"xml: prefix must be bound to "+k+"\nActual: "+a.attribValue);else if("xmlns"===d&&a.attribValue!==l)D(a,"xmlns: prefix must be bound to "+l+"\nActual: "+a.attribValue);else{var e=a.tag,f=a.tags[a.tags.length-1]||a;e.ns===f.ns&&(e.ns=Object.create(f.ns)),e.ns[d]=a.attribValue}a.attribList.push([a.attribName,a.attribValue])}else a.tag.attributes[a.attribName]=a.attribValue,y(a,"onattribute",{name:a.attribName,value:a.attribValue});a.attribName=a.attribValue=""}function G(a,b){if(a.opt.xmlns){var c=a.tag,d=E(a.tagName);c.prefix=d.prefix,c.local=d.local,c.uri=c.ns[d.prefix]||"",c.prefix&&!c.uri&&(D(a,"Unbound namespace prefix: "+JSON.stringify(a.tagName)),c.uri=d.prefix);var e=a.tags[a.tags.length-1]||a;c.ns&&e.ns!==c.ns&&Object.keys(c.ns).forEach(function(b){y(a,"onopennamespace",{prefix:b,uri:c.ns[b]})});for(var f=0,g=a.attribList.length;f<g;f++){var h=a.attribList[f],i=h[0],j=h[1],k=E(i,!0),l=k.prefix,m=k.local,n=""===l?"":c.ns[l]||"",o={name:i,value:j,prefix:l,local:m,uri:n};l&&"xmlns"!==l&&!n&&(D(a,"Unbound namespace prefix: "+JSON.stringify(l)),o.uri=l),a.tag.attributes[i]=o,y(a,"onattribute",o)}a.attribList.length=0}a.tag.isSelfClosing=!!b,a.sawRoot=!0,a.tags.push(a.tag),y(a,"onopentag",a.tag),b||(a.noscript||"script"!==a.tagName.toLowerCase()?a.state=u.TEXT:a.state=u.SCRIPT,a.tag=null,a.tagName=""),a.attribName=a.attribValue="",a.attribList.length=0}function H(a){if(!a.tagName){D(a,"Weird empty close tag."),a.textNode+="</>",a.state=u.TEXT;return}if(a.script){if("script"!==a.tagName){a.script+="</"+a.tagName+">",a.tagName="",a.state=u.SCRIPT;return}y(a,"onscript",a.script),a.script=""}var b=a.tags.length,c=a.tagName;a.strict||(c=c[a.looseCase]());for(var d=c;b--;)if(a.tags[b].name!==d)D(a,"Unexpected close tag");else break;if(b<0){D(a,"Unmatched closing tag: "+a.tagName),a.textNode+="</"+a.tagName+">",a.state=u.TEXT;return}a.tagName=c;for(var e=a.tags.length;e-- >b;){var f=a.tag=a.tags.pop();a.tagName=a.tag.name,y(a,"onclosetag",a.tagName);var g={};for(var h in f.ns)g[h]=f.ns[h];var i=a.tags[a.tags.length-1]||a;a.opt.xmlns&&f.ns!==i.ns&&Object.keys(f.ns).forEach(function(b){var c=f.ns[b];y(a,"onclosenamespace",{prefix:b,uri:c})})}0===b&&(a.closedRoot=!0),a.tagName=a.attribValue=a.attribName="",a.attribList.length=0,a.state=u.TEXT}function I(a,b){"<"===b?(a.state=u.OPEN_WAKA,a.startTagPosition=a.position):r(b)||(D(a,"Non-whitespace before first tag."),a.textNode=b,a.state=u.TEXT)}function J(a,b){var c="";return b<a.length&&(c=a.charAt(b)),c}u=b.STATE,String.fromCodePoint||(c=String.fromCharCode,d=Math.floor,e=function(){var a,b,e=[],f=-1,g=arguments.length;if(!g)return"";for(var h="";++f<g;){var i=Number(arguments[f]);if(!isFinite(i)||i<0||i>1114111||d(i)!==i)throw RangeError("Invalid code point: "+i);i<=65535?e.push(i):(i-=65536,a=(i>>10)+55296,b=i%1024+56320,e.push(a,b)),(f+1===g||e.length>16384)&&(h+=c.apply(null,e),e.length=0)}return h},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:e,configurable:!0,writable:!0}):String.fromCodePoint=e)}(c)},86480,(a,b,c)=>{(function(){"use strict";c.stripBOM=function(a){return"\uFEFF"===a[0]?a.substring(1):a}}).call(a.e)},78360,(a,b,c)=>{(function(){"use strict";var a;a=new RegExp(/(?!xmlns)^.*:/),c.normalize=function(a){return a.toLowerCase()},c.firstCharLowerCase=function(a){return a.charAt(0).toLowerCase()+a.slice(1)},c.stripPrefix=function(b){return b.replace(a,"")},c.parseNumbers=function(a){return isNaN(a)||(a=a%1==0?parseInt(a,10):parseFloat(a)),a},c.parseBooleans=function(a){return/^(?:true|false)$/i.test(a)&&(a="true"===a.toLowerCase()),a}}).call(a.e)},1161,(a,b,c)=>{(function(){"use strict";var b,d,e,f,g,h,i,j,k=function(a,b){return function(){return a.apply(b,arguments)}},l=function(a,b){for(var c in b)m.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},m={}.hasOwnProperty;i=a.r(33477),f=a.r(27699),b=a.r(86480),h=a.r(78360),j=a.r(37464).setImmediate,d=a.r(66748).defaults,g=function(a,b,c){var d,e;for(d=0,e=a.length;d<e;d++)b=(0,a[d])(b,c);return b},e=function(a,b,c){var d;return(d=Object.create(null)).value=c,d.writable=!0,d.enumerable=!0,d.configurable=!0,Object.defineProperty(a,b,d)},c.Parser=function(a){function f(a){var b,e,f;if(this.parseStringPromise=k(this.parseStringPromise,this),this.parseString=k(this.parseString,this),this.reset=k(this.reset,this),this.assignOrPush=k(this.assignOrPush,this),this.processAsync=k(this.processAsync,this),!(this instanceof c.Parser))return new c.Parser(a);for(b in this.options={},e=d["0.2"])m.call(e,b)&&(f=e[b],this.options[b]=f);for(b in a)m.call(a,b)&&(f=a[b],this.options[b]=f);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(h.normalize)),this.reset()}return l(f,a),f.prototype.processAsync=function(){var a;try{if(this.remaining.length<=this.options.chunkSize)return a=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(a),this.saxParser.close();return a=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(a),j(this.processAsync)}catch(a){if(!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(a)}},f.prototype.assignOrPush=function(a,b,c){return b in a?(a[b]instanceof Array||e(a,b,[a[b]]),a[b].push(c)):this.options.explicitArray?e(a,b,[c]):e(a,b,c)},f.prototype.reset=function(){var a,b,c,d,f,h,j,k,l;return this.removeAllListeners(),this.saxParser=i.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(f=this,function(a){if(f.saxParser.resume(),!f.saxParser.errThrown)return f.saxParser.errThrown=!0,f.emit("error",a)}),this.saxParser.onend=(h=this,function(){if(!h.saxParser.ended)return h.saxParser.ended=!0,h.emit("end",h.resultObject)}),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,d=[],a=this.options.attrkey,b=this.options.charkey,this.saxParser.onopentag=(j=this,function(c){var f,h,i,k,l;if((i={})[b]="",!j.options.ignoreAttrs)for(f in l=c.attributes)m.call(l,f)&&(a in i||j.options.mergeAttrs||(i[a]={}),h=j.options.attrValueProcessors?g(j.options.attrValueProcessors,c.attributes[f],f):c.attributes[f],k=j.options.attrNameProcessors?g(j.options.attrNameProcessors,f):f,j.options.mergeAttrs?j.assignOrPush(i,k,h):e(i[a],k,h));return i["#name"]=j.options.tagNameProcessors?g(j.options.tagNameProcessors,c.name):c.name,j.options.xmlns&&(i[j.options.xmlnskey]={uri:c.uri,local:c.local}),d.push(i)}),this.saxParser.onclosetag=(k=this,function(){var a,c,f,h,i,j,l,n,o,p,q;if(i=(j=d.pop())["#name"],k.options.explicitChildren&&k.options.preserveChildrenOrder||delete j["#name"],!0===j.cdata&&(a=j.cdata,delete j.cdata),o=d[d.length-1],j[b].match(/^\s*$/)&&!a?(c=j[b],delete j[b]):(k.options.trim&&(j[b]=j[b].trim()),k.options.normalize&&(j[b]=j[b].replace(/\s{2,}/g," ").trim()),j[b]=k.options.valueProcessors?g(k.options.valueProcessors,j[b],i):j[b],1===Object.keys(j).length&&b in j&&!k.EXPLICIT_CHARKEY&&(j=j[b])),"object"==typeof(q=j)&&null!=q&&0===Object.keys(q).length&&(j="function"==typeof k.options.emptyTag?k.options.emptyTag():""!==k.options.emptyTag?k.options.emptyTag:c),null!=k.options.validator&&(p="/"+(function(){var a,b,c;for(a=0,c=[],b=d.length;a<b;a++)h=d[a],c.push(h["#name"]);return c})().concat(i).join("/"),!function(){try{j=k.options.validator(p,o&&o[i],j)}catch(a){return k.emit("error",a)}}()),k.options.explicitChildren&&!k.options.mergeAttrs&&"object"==typeof j)if(k.options.preserveChildrenOrder){if(o){for(f in o[k.options.childkey]=o[k.options.childkey]||[],l={},j)m.call(j,f)&&e(l,f,j[f]);o[k.options.childkey].push(l),delete j["#name"],1===Object.keys(j).length&&b in j&&!k.EXPLICIT_CHARKEY&&(j=j[b])}}else h={},k.options.attrkey in j&&(h[k.options.attrkey]=j[k.options.attrkey],delete j[k.options.attrkey]),!k.options.charsAsChildren&&k.options.charkey in j&&(h[k.options.charkey]=j[k.options.charkey],delete j[k.options.charkey]),Object.getOwnPropertyNames(j).length>0&&(h[k.options.childkey]=j),j=h;return d.length>0?k.assignOrPush(o,i,j):(k.options.explicitRoot&&(n=j,e(j={},i,n)),k.resultObject=j,k.saxParser.ended=!0,k.emit("end",k.resultObject))}),l=this,c=function(a){var c,e;if(e=d[d.length-1])return e[b]+=a,l.options.explicitChildren&&l.options.preserveChildrenOrder&&l.options.charsAsChildren&&(l.options.includeWhiteChars||""!==a.replace(/\\n/g,"").trim())&&(e[l.options.childkey]=e[l.options.childkey]||[],(c={"#name":"__text__"})[b]=a,l.options.normalize&&(c[b]=c[b].replace(/\s{2,}/g," ").trim()),e[l.options.childkey].push(c)),e},this.saxParser.ontext=c,this.saxParser.oncdata=function(a){var b;if(b=c(a))return b.cdata=!0}},f.prototype.parseString=function(a,c){null!=c&&"function"==typeof c&&(this.on("end",function(a){return this.reset(),c(null,a)}),this.on("error",function(a){return this.reset(),c(a)}));try{if(a=a.toString(),""===a.trim())return this.emit("end",null),!0;if(a=b.stripBOM(a),this.options.async)return this.remaining=a,j(this.processAsync),this.saxParser;return this.saxParser.write(a).close()}catch(a){if(!(this.saxParser.errThrown||this.saxParser.ended))return this.emit("error",a),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw a}},f.prototype.parseStringPromise=function(a){var b;return new Promise((b=this,function(c,d){return b.parseString(a,function(a,b){return a?d(a):c(b)})}))},f}(f),c.parseString=function(a,b,d){var e,f;return null!=d?("function"==typeof d&&(e=d),"object"==typeof b&&(f=b)):("function"==typeof b&&(e=b),f={}),new c.Parser(f).parseString(a,e)},c.parseStringPromise=function(a,b){var d;return"object"==typeof b&&(d=b),new c.Parser(d).parseStringPromise(a)}}).call(a.e)},14899,(a,b,c)=>{(function(){"use strict";var b,d,e,f,g=function(a,b){for(var c in b)h.call(b,c)&&(a[c]=b[c]);function d(){this.constructor=a}return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},h={}.hasOwnProperty;d=a.r(66748),b=a.r(17289),e=a.r(1161),f=a.r(78360),c.defaults=d.defaults,c.processors=f,c.ValidationError=function(a){function b(a){this.message=a}return g(b,a),b}(Error),c.Builder=b.Builder,c.Parser=e.Parser,c.parseString=e.parseString,c.parseStringPromise=e.parseStringPromise}).call(a.e)},41358,a=>{"use strict";var b=a.i(22734),c=a.i(26820),d=a.i(14899),e=a.i(96524),f=a.i(7877);let g=new d.default.Parser;async function h(a){let b=null;try{let b=await g.parseStringPromise(a);return b&&b.ComicInfo?b.ComicInfo:null}catch(a){b=a}finally{b&&console.error("Error al parsear XML:",b)}return null}async function i(a){let b=null;try{let b=a.replace(/^\//,""),d=await f.default.send(new e.GetObjectCommand({Bucket:f.R2_BUCKET,Key:b})),g=Buffer.from(await d.Body.transformToByteArray()),i=new c.default(g).getEntry("ComicInfo.xml");if(!i)return console.warn(`ComicInfo.xml no encontrado en: ${a}`),null;let j=i.getData().toString("utf8");return await h(j)}catch(a){b=a}finally{b&&console.error(`Error extrayendo metadatos desde R2: ${a}`,b)}return null}async function j(a){let d=null;try{if(!b.default.existsSync(a))return console.warn(`Archivo no encontrado: ${a}`),null;let d=new c.default(a).getEntry("ComicInfo.xml");if(!d)return console.warn(`ComicInfo.xml no encontrado en: ${a}`),null;let e=d.getData().toString("utf8");return await h(e)}catch(a){d=a}finally{d&&console.error(`Error extrayendo metadatos en: ${a}`,d)}return null}async function k(a,b){let c=null;try{let c,d;if(!(c="cloud"===b?await i(a):await j(a)))return null;let e={series:(d=a=>c[a]&&c[a][0]||null)("Series"),title:d("Title"),number:d("Number")?parseFloat(d("Number")):null,count:d("Count")?parseInt(d("Count"),10):null,publisher:d("Publisher"),imprint:d("Imprint"),languageISO:d("LanguageISO"),format:d("Format"),ageRating:d("AgeRating"),communityRating:d("CommunityRating")?parseFloat(d("CommunityRating")):null,writer:d("Writer"),penciller:d("Penciller"),inker:d("Inker"),colorist:d("Colorist"),letterer:d("Letterer"),coverArtist:d("CoverArtist"),editor:d("Editor"),summary:d("Summary"),web:d("Web"),pageCount:d("PageCount")?parseInt(d("PageCount"),10):null,year:d("Year")?parseInt(d("Year"),10):null,month:d("Month")?parseInt(d("Month"),10):null,day:d("Day")?parseInt(d("Day"),10):null,gtin:d("GTIN"),mangaStyle:d("Manga")},{genres:f,tags:g}=function(a){let b=[],c=[];if(a.Genre&&a.Genre[0]){let c=a.Genre[0].split(/[;,]/).map(a=>a.trim()).filter(Boolean);b.push(...c)}if(a.Tags&&a.Tags[0]){let b=a.Tags[0].split(/[;,]/).map(a=>a.trim()).filter(Boolean);c.push(...b)}return{genres:b,tags:c}}(c);return{metadata:e,genres:f,tags:g}}catch(a){c=a}finally{c&&console.error(`Error extrayendo metadatos: ${a}`,c)}return null}a.s(["extractMetadataCbz",0,k])},22485,a=>a.a(async(b,c)=>{try{var d=a.i(24868),e=a.i(22734),f=a.i(40444),g=a.i(14899),h=a.i(96524),i=a.i(7877),j=a.i(92077);let b=new g.default.Parser,o=await (0,j.loadUnrarWasmBinary)();async function k(a){let c=null;try{let c=await b.parseStringPromise(a);return c&&c.ComicInfo?c.ComicInfo:null}catch(a){c=a}finally{c&&console.error("Error al parsear XML:",c)}return null}async function l(a){let b=null;try{let b=a.replace(/^\//,""),c=await i.default.send(new h.GetObjectCommand({Bucket:i.R2_BUCKET,Key:b})),d=Buffer.from(await c.Body.transformToByteArray()),e=await (0,f.createExtractorFromData)({data:new Uint8Array(d).buffer,wasmBinary:new Uint8Array(o).buffer});if(![...e.getFileList().fileHeaders].find(a=>"ComicInfo.xml"===a.name))return console.warn(`ComicInfo.xml no encontrado en: ${a}`),null;let g=[...e.extract({files:["ComicInfo.xml"]}).files];if(0===g.length)return console.warn(`No se pudo extraer ComicInfo.xml de: ${a}`),null;let j=Buffer.from(g[0].extraction).toString("utf8");return await k(j)}catch(a){b=a}finally{b&&console.error(`Error extrayendo metadatos desde R2: ${a}`,b)}return null}async function m(a){let b=null;try{if(!e.default.existsSync(a))return console.warn(`Archivo no encontrado: ${a}`),null;let b=await d.default.readFile(a),c=await (0,f.createExtractorFromData)({data:new Uint8Array(b).buffer,wasmBinary:new Uint8Array(o).buffer});if(![...c.getFileList().fileHeaders].find(a=>"ComicInfo.xml"===a.name))return console.warn(`ComicInfo.xml no encontrado en: ${a}`),null;let g=[...c.extract({files:["ComicInfo.xml"]}).files];if(0===g.length)return console.warn(`No se pudo extraer ComicInfo.xml de: ${a}`),null;let h=Buffer.from(g[0].extraction).toString("utf8");return await k(h)}catch(a){b=a}finally{b&&console.error(`Error extrayendo metadatos en: ${a}`,b)}return null}async function n(a,b){let c=null;try{let c,d;if(!(c="cloud"===b?await l(a):await m(a)))return null;let e={series:(d=a=>c[a]&&c[a][0]||null)("Series"),title:d("Title"),number:d("Number")?parseFloat(d("Number")):null,count:d("Count")?parseInt(d("Count"),10):null,publisher:d("Publisher"),imprint:d("Imprint"),languageISO:d("LanguageISO"),format:d("Format"),ageRating:d("AgeRating"),communityRating:d("CommunityRating")?parseFloat(d("CommunityRating")):null,writer:d("Writer"),penciller:d("Penciller"),inker:d("Inker"),colorist:d("Colorist"),letterer:d("Letterer"),coverArtist:d("CoverArtist"),editor:d("Editor"),summary:d("Summary"),web:d("Web"),pageCount:d("PageCount")?parseInt(d("PageCount"),10):null,year:d("Year")?parseInt(d("Year"),10):null,month:d("Month")?parseInt(d("Month"),10):null,day:d("Day")?parseInt(d("Day"),10):null,gtin:d("GTIN"),mangaStyle:d("Manga")},{genres:f,tags:g}=function(a){let b=[],c=[];if(a.Genre&&a.Genre[0]){let c=a.Genre[0].split(/[;,]/).map(a=>a.trim()).filter(Boolean);b.push(...c)}if(a.Tags&&a.Tags[0]){let b=a.Tags[0].split(/[;,]/).map(a=>a.trim()).filter(Boolean);c.push(...b)}return{genres:b,tags:c}}(c);return{metadata:e,genres:f,tags:g}}catch(a){c=a}finally{c&&console.error(`Error extrayendo metadatos: ${a}`,c)}return null}a.s(["extractMetadataCbr",0,n]),c()}catch(a){c(a)}},!0),83717,a=>a.a(async(b,c)=>{try{var d=a.i(47647),e=a.i(90806),f=a.i(14747),g=a.i(24868),h=a.i(13909),i=a.i(49646),j=a.i(41358),k=a.i(22485),l=a.i(96524),m=a.i(7877),n=a.i(98115),o=a.i(2215),p=a.i(7993),q=b([e,i,k,n]);[e,i,k,n]=q.then?(await q)():q;let u=process.env.LIB_PROVIDER||"local",v=f.default.resolve(process.cwd(),"../temp");async function r(a,b){var c,d;let e,o,p=0,q=0,r=0,s=(c=a.fullPath,e=f.default.extname(c).toLowerCase(),".cbz"===e||".zip"===e?h.extractCoverCbz:".cbr"===e||".rar"===e?i.extractCoverCbr:null);if(s)try{let c;"cloud"===u?(await g.default.mkdir(v,{recursive:!0}),c=f.default.join(v,`cover-${a.slug}`),await g.default.mkdir(c,{recursive:!0})):c=b;let d=await s(a.fullPath,c,u);if(d){if("cloud"===u){let a=b.replace(/^\//,""),e=`${a}/${d}`,h=await g.default.readFile(f.default.join(c,d));await m.default.send(new l.PutObjectCommand({Bucket:m.R2_BUCKET,Key:e,Body:h})),await g.default.rm(c,{recursive:!0,force:!0})}await (0,n.upsertVolumeRecord)({slug:a.slug,title:a.title,filename:a.filename,fullPath:a.fullPath,size:a.size,mtime:new Date,coverImage:d,seriesId:a.seriesId}),p++}}catch(b){console.error(`Error extrayendo portada de ${a.fullPath}:`,b.message),r++}let t=(d=a.fullPath,o=f.default.extname(d).toLowerCase(),".cbz"===o||".zip"===o?j.extractMetadataCbz:".cbr"===o||".rar"===o?k.extractMetadataCbr:null);if(t)try{let b=await t(a.fullPath,u);if(b){let{metadata:c,genres:d,tags:e}=b,f=await (0,n.upsertVolumeMetadataRecord)(a.fullPath,c);a.metadataId!==f.id&&await (0,n.linkVolumeMetadata)(a.id,f.id),await (0,n.replaceVolumeGenres)(a.id,d),await (0,n.replaceVolumeTags)(a.id,e),q++}}catch(b){console.error(`Error extrayendo metadatos de ${a.fullPath}:`,b.message),r++}return{coversUpdated:p,metaUpdated:q,errors:r}}async function s(a){let b=await (0,e.verifySession)();if(!b||!b.isAdmin)return{error:"Unauthorized"};let c=null;try{let b=await (0,n.findSeriesWithVolumesById)(a);if(!b)return{error:"Serie no encontrada"};let c=0,d=0,e=0;for(let a of b.volumes){let f=await r(a,b.path);c+=f.coversUpdated,d+=f.metaUpdated,e+=f.errors}return(0,o.revalidateMangaLibraryCache)(),{success:!0,coversUpdated:c,metaUpdated:d,errors:e,totalVolumes:b.volumes.length}}catch(a){c=a}finally{if(c)return console.error("Error en scanSeries:",c),{error:"Error al escanear la serie"}}}async function t(a){let b=await (0,e.verifySession)();if(!b||!b.isAdmin)return{error:"Unauthorized"};let c=null;try{let b=await (0,n.findVolumeWithSeriesPathById)(a);if(!b)return{error:"Volumen no encontrado"};let c=await r(b,b.seriesPath);return(0,o.revalidateMangaLibraryCache)(),{success:!0,coversUpdated:c.coversUpdated,metaUpdated:c.metaUpdated,errors:c.errors,totalVolumes:1}}catch(a){c=a}finally{if(c)return console.error("Error en scanVolume:",c),{error:"Error al escanear el volumen"}}}(0,p.ensureServerEntryExports)([s,t]),(0,d.registerServerReference)(s,"40822a3972aaed4a7ed8d0610a49fd91d28db55568",null),(0,d.registerServerReference)(t,"40108a58236b67aabd5d5c23ed6ed4add50c0972b8",null),a.s(["scanSeries",0,s,"scanVolume",0,t]),c()}catch(a){c(a)}},!1)];
|
|
193
193
|
|
|
194
194
|
//# sourceMappingURL=_0_wsici._.js.map
|