@itsmrtr/bunkoshelf 1.0.2 → 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/app-path-routes-manifest.json +1 -0
- package/dist/.next/build-manifest.json +6 -6
- package/dist/.next/prerender-manifest.json +3 -3
- package/dist/.next/required-server-files.json +4 -1
- package/dist/.next/routes-manifest.json +8 -0
- package/dist/.next/server/app/[lang]/books/page/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/books/page/server-reference-manifest.json +4 -4
- package/dist/.next/server/app/[lang]/books/page.js +10 -7
- 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/build-manifest.json +3 -3
- 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 +10 -7
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/favorites/page/server-reference-manifest.json +72 -12
- package/dist/.next/server/app/[lang]/favorites/page.js +14 -11
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/login/page/server-reference-manifest.json +5 -5
- package/dist/.next/server/app/[lang]/login/page.js +10 -7
- 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/build-manifest.json +3 -3
- 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 +15 -13
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/manga/page/server-reference-manifest.json +82 -22
- package/dist/.next/server/app/[lang]/manga/page.js +14 -11
- 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/build-manifest.json +3 -3
- 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 +14 -11
- 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/build-manifest.json +3 -3
- 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 +14 -11
- 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/build-manifest.json +3 -3
- 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 +15 -13
- 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/build-manifest.json +3 -3
- 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 +14 -11
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/page/server-reference-manifest.json +92 -32
- package/dist/.next/server/app/[lang]/page.js +14 -11
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/profile/notifications/page/server-reference-manifest.json +19 -19
- package/dist/.next/server/app/[lang]/profile/notifications/page.js +11 -8
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/profile/page/server-reference-manifest.json +9 -9
- package/dist/.next/server/app/[lang]/profile/page.js +13 -10
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/profile/update/page/server-reference-manifest.json +14 -14
- package/dist/.next/server/app/[lang]/profile/update/page.js +11 -8
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/search/page/server-reference-manifest.json +4 -4
- package/dist/.next/server/app/[lang]/search/page.js +10 -7
- 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/build-manifest.json +3 -3
- 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 +11 -8
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/[lang]/settings/page/server-reference-manifest.json +9 -9
- package/dist/.next/server/app/[lang]/settings/page.js +11 -8
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/_global-error/page.js +3 -2
- 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/build-manifest.json +3 -3
- package/dist/.next/server/app/_not-found/page.js +3 -2
- 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 +2 -2
- 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 +2 -2
- 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 +6 -5
- 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 +7 -6
- 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 +5 -4
- 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 +5 -4
- 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 +2 -2
- 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 +5 -4
- 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 +5 -4
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/profile/[file]/route/build-manifest.json +9 -0
- package/dist/.next/server/app/api/profile/[file]/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/profile/[file]/route.js +6 -0
- package/dist/.next/server/app/api/profile/[file]/route.js.map +5 -0
- package/dist/.next/server/app/api/profile/[file]/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/profile/[file]/route_client-reference-manifest.js +3 -0
- package/dist/.next/server/app/api/reader/manga/route.js +6 -5
- 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 +2 -2
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +10 -10
- 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 +5 -5
- 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 +7 -7
- 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 +6 -6
- 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 +8 -8
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +10 -10
- 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 +5 -5
- 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 +7 -7
- 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 +6 -6
- 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 +8 -8
- 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/app-paths-manifest.json +1 -0
- 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]__000e5ac._.js +5 -0
- package/dist/.next/server/chunks/[root-of-the-server]__01minwl._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__065cjna._.js +3 -0
- 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]__00~.f1h._.js → [root-of-the-server]__0bqqxvi._.js} +3 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0mho9rx._.js +3 -0
- package/dist/.next/server/chunks/{[root-of-the-server]__08ozbjo._.js → [root-of-the-server]__0nnsbsa._.js} +2 -2
- package/dist/.next/server/chunks/[root-of-the-server]__0q4f5nz._.js +5 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0qxte8q._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0thue9b._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0tp8msd._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0w.wsz5._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0w30bka._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0w8r0rc._.js +219 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0wzdxnb._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0zbby0w._.js +5 -0
- package/dist/.next/server/chunks/[root-of-the-server]__120g6lv._.js +219 -0
- package/dist/.next/server/chunks/{[root-of-the-server]__0f9hm.b._.js → [root-of-the-server]__12wzt~c._.js} +25 -25
- package/dist/.next/server/chunks/_0-x.21m._.js +1 -1
- package/dist/.next/server/chunks/_07otzs8._.js +2 -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/_next-internal_server_app_api_profile_[file]_route_actions_081le2f.js +3 -0
- package/dist/.next/server/chunks/ssr/0xn0_next_0mmjsg9._.js +3 -0
- package/dist/.next/server/chunks/ssr/0xn0_next_dist_07o~iiv._.js +10 -0
- package/dist/.next/server/chunks/ssr/0xn0_next_dist_0kq-56-._.js +3 -0
- 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]__03c5.en._.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]__0ftuzrv._.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]__0dt626~._.js +5 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0emto8o._.js +5 -0
- 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]__0pgblxq._.js +5 -0
- 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]__12zt.5r._.js → [root-of-the-server]__0rr_p-o._.js} +3 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0tsardx._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0v6eec5._.js +1 -1
- 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]__0wc3k~b._.js +195 -0
- 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]__11mv0l0._.js +130 -0
- package/dist/.next/server/chunks/ssr/{_08-97h1._.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/{_04diprd._.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/{_06y5gyn._.js → _0_y--8g._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_0fuvfg_._.js +18 -0
- package/dist/.next/server/chunks/ssr/{_0ucxu9v._.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 +3 -0
- package/dist/.next/server/chunks/ssr/_0i6jouj._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0io0xwx._.js +3 -0
- 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/node_modules__pnpm_0.rcelq._.js +3 -0
- package/dist/.next/server/chunks/ssr/src_0vxxrk2._.js +6 -0
- package/dist/.next/server/chunks/ssr/{src_0iq.276._.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/chunks/ssr/src_lib_i18n_dictionaries_en_profile_json_[json]_cjs_0fq~bfk._.js +1 -1
- package/dist/.next/server/chunks/ssr/src_lib_i18n_dictionaries_es_profile_json_[json]_cjs_0x04ai6._.js +1 -1
- package/dist/.next/server/middleware-build-manifest.js +6 -6
- 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 +448 -178
- package/dist/.next/static/chunks/{0ocda-9d9t06n.js → 0-.2w.r.qbyxh.js} +1 -1
- package/dist/.next/static/chunks/01lwva-nto8jr.js +1 -0
- package/dist/.next/static/chunks/{130.5q5w_51-k.js → 05motg~dk9exd.js} +1 -1
- package/dist/.next/static/chunks/0d5njxct3o-0e.js +1 -0
- package/dist/.next/static/chunks/{173vca.zo8od~.js → 0gfubdpl2-_6..js} +1 -1
- package/dist/.next/static/chunks/{0akf3s~t_6vg7.js → 0h1jok_3p~tov.js} +1 -1
- package/dist/.next/static/chunks/0jag03phm47nb.js +1 -0
- package/dist/.next/static/chunks/0jiz239_9337c.css +3 -0
- package/dist/.next/static/chunks/0ob9ncnj.i~pr.js +1 -0
- package/dist/.next/static/chunks/{0os5rnxrkcjja.js → 0ql49co.cgb-6.js} +1 -1
- package/dist/.next/static/chunks/0rvajo28np3og.js +1 -0
- package/dist/.next/static/chunks/0z5qgi03n50zx.js +1 -0
- package/dist/.next/static/chunks/0~_urpr.p5fsg.js +3 -0
- package/dist/.next/static/chunks/12h.-dzk4mq7e.js +1 -0
- package/dist/.next/static/chunks/{15yjdtaoi6jho.js → 15l91tk5_1zt..js} +1 -1
- package/dist/.next/static/chunks/{0s~qod3-mze-a.js → 16uo5t_-6qm9b.js} +1 -1
- package/dist/.next/static/chunks/17lvd-1dh8nb8.js +2 -0
- package/dist/.next/static/chunks/187jspc2d6.0_.js +1 -0
- package/dist/.next/static/chunks/{turbopack-0a6i~p0ly9qsv.js → turbopack-0pm132gv35tgq.js} +1 -1
- package/dist/migrations/002_add_profile_image_to_users.sql +2 -0
- package/dist/next.config.ts +7 -0
- package/dist/package.json +1 -1
- package/dist/runtime/cli.mjs +24 -2
- package/dist/runtime/commands/init.mjs +18 -9
- package/dist/server.js +1 -1
- package/dist/src/actions/delete.ts +5 -0
- package/dist/src/actions/profile.ts +98 -0
- package/dist/src/actions/scan-series.ts +5 -0
- package/dist/src/actions/users.ts +0 -54
- 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/[lang]/profile/update/page.tsx +1 -1
- 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/app/api/profile/[file]/route.ts +20 -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/profile/ProfileForm.tsx +91 -5
- package/dist/src/components/profile/UserAvatar.tsx +9 -14
- package/dist/src/components/sidebar/FooterNav.tsx +4 -4
- package/dist/src/components/sidebar/SecondNav.tsx +1 -1
- package/dist/src/components/ui/Avatar.tsx +50 -0
- package/dist/src/components/ui/Pagination.tsx +20 -11
- package/dist/src/lib/db/library.ts +154 -32
- package/dist/src/lib/db/migrations/002_add_profile_image_to_users.sql +2 -0
- package/dist/src/lib/db/types.ts +2 -0
- package/dist/src/lib/db/users.ts +16 -4
- package/dist/src/lib/i18n/dictionaries/en/profile.json +3 -0
- package/dist/src/lib/i18n/dictionaries/es/profile.json +3 -0
- package/dist/src/lib/mangaCover.ts +35 -0
- package/dist/src/lib/mangaLibraryCache.ts +7 -0
- package/dist/src/lib/profileImage.ts +141 -0
- package/dist/src/lib/profileImageUrl.ts +4 -0
- package/dist/src/lib/types/auth.ts +1 -0
- package/dist/src/lib/versionInfo.ts +1 -1
- package/package.json +1 -1
- package/runtime/cli.mjs +24 -2
- package/runtime/commands/init.mjs +18 -9
- package/dist/.next/server/chunks/[externals]__04m39l7._.js +0 -3
- package/dist/.next/server/chunks/[externals]__0symfmt._.js +0 -3
- package/dist/.next/server/chunks/[externals]__11f43d8._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0-ezjjh._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__01u.4rs._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__03w8pu~._.js +0 -5
- package/dist/.next/server/chunks/[root-of-the-server]__07exd-_._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0_i9nx4._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0dxmwb2._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0h1-y1u._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0o.c~2l._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0s26iaa._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0ykh8n7._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__12fdpoj._.js +0 -5
- package/dist/.next/server/chunks/_0o2famo._.js +0 -219
- package/dist/.next/server/chunks/_0p05.ug._.js +0 -159
- package/dist/.next/server/chunks/_0wmxnqz._.js +0 -219
- package/dist/.next/server/chunks/ssr/0xn0_next_0i4c_5k._.js +0 -10
- package/dist/.next/server/chunks/ssr/0xn0_next_dist_0e~0kfn._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0-op14l._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0.6l1gu._.js +0 -127
- 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]__051wvkc._.js +0 -289
- 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]__0ckbz4m._.js +0 -127
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0dzdqpg._.js +0 -160
- 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]__0h4pts7._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0hl9kxb._.js +0 -160
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0l1tsri._.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]__0r9qdr9._.js +0 -138
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0sb2bdq._.js +0 -127
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0s~uegx._.js +0 -127
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0u0d7tm._.js +0 -165
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0umo466._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0wvq4b6._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0~-1xvk._.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/_0mw_qhe._.js +0 -165
- package/dist/.next/server/chunks/ssr/_0pxm47s._.js +0 -5
- package/dist/.next/server/chunks/ssr/_0q-n0ab._.js +0 -20
- package/dist/.next/server/chunks/ssr/_0rdv9ta._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0s8v6hg._.js +0 -45
- package/dist/.next/server/chunks/ssr/node_modules__pnpm_0g.lh7t._.js +0 -3
- package/dist/.next/server/chunks/ssr/src_0hpe~0j._.js +0 -6
- package/dist/.next/server/chunks/ssr/src_components_profile_ProfileForm_tsx_01m8xja._.js +0 -3
- package/dist/.next/server/chunks/ssr/src_components_profile_SubscriptionsTable_tsx_0lnukp1._.js +0 -3
- package/dist/.next/static/chunks/00-eu6nq2.2b1.js +0 -2
- package/dist/.next/static/chunks/01gbodpgo16if.js +0 -1
- package/dist/.next/static/chunks/03.wb.p2t~nc8.js +0 -1
- package/dist/.next/static/chunks/05pp4vfmhgj7j.js +0 -1
- package/dist/.next/static/chunks/085lcw1uodr6t.css +0 -3
- package/dist/.next/static/chunks/09ky2h2y4mhat.js +0 -1
- package/dist/.next/static/chunks/0_4~nhzj45_2v.js +0 -1
- package/dist/.next/static/chunks/0lx9~duy814wd.js +0 -1
- package/dist/.next/static/chunks/0qbe3qotai28y.js +0 -3
- package/dist/.next/static/chunks/0so2hc2~pq2al.js +0 -1
- package/dist/.next/static/chunks/0zb6339bo0w-~.js +0 -1
- package/dist/.next/static/chunks/0~qxck6n49xw-.js +0 -1
- /package/dist/.next/static/{F5ZMyhGgcQofdDO0GXsdD → PWw2Oo50QJHfYm7Z43WyV}/_buildManifest.js +0 -0
- /package/dist/.next/static/{F5ZMyhGgcQofdDO0GXsdD → PWw2Oo50QJHfYm7Z43WyV}/_clientMiddlewareManifest.js +0 -0
- /package/dist/.next/static/{F5ZMyhGgcQofdDO0GXsdD → PWw2Oo50QJHfYm7Z43WyV}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[22605,(t,e,r)=>{(function(){r.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(t.e)},80998,(t,e,r)=>{(function(){var t,r,n,i=[].slice,o={}.hasOwnProperty;r=function(t){return!!t&&"[object Function]"===Object.prototype.toString.call(t)},n=function(t){var e;return!!t&&("function"==(e=typeof t)||"object"===e)},t=function(t){return r(Array.isArray)?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},e.exports.assign=function(){var t,e,n,s,a,u;if(u=arguments[0],a=2<=arguments.length?i.call(arguments,1):[],r(Object.assign))Object.assign.apply(null,arguments);else for(t=0,n=a.length;t<n;t++)if(null!=(s=a[t]))for(e in s)o.call(s,e)&&(u[e]=s[e]);return u},e.exports.isFunction=r,e.exports.isObject=n,e.exports.isArray=t,e.exports.isEmpty=function(e){var r;if(t(e))return!e.length;for(r in e)if(o.call(e,r))return!1;return!0},e.exports.isPlainObject=function(t){var e,r;return n(t)&&(r=Object.getPrototypeOf(t))&&(e=r.constructor)&&"function"==typeof e&&e instanceof e&&Function.prototype.toString.call(e)===Function.prototype.toString.call(Object)},e.exports.getValue=function(t){return r(t.valueOf)?t.valueOf():t}}).call(t.e)},11201,(t,e,r)=>{(function(){e.exports=function(){function t(){}return t.prototype.hasFeature=function(t,e){return!0},t.prototype.createDocumentType=function(t,e,r){throw Error("This DOM method is not implemented.")},t.prototype.createDocument=function(t,e,r){throw Error("This DOM method is not implemented.")},t.prototype.createHTMLDocument=function(t){throw Error("This DOM method is not implemented.")},t.prototype.getFeature=function(t,e){throw Error("This DOM method is not implemented.")},t}()}).call(t.e)},29635,(t,e,r)=>{(function(){e.exports=function(){function t(){}return t.prototype.handleError=function(t){throw Error(t)},t}()}).call(t.e)},85706,(t,e,r)=>{(function(){e.exports=function(){function t(t){this.arr=t||[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this.arr.length}}),t.prototype.item=function(t){return this.arr[t]||null},t.prototype.contains=function(t){return -1!==this.arr.indexOf(t)},t}()}).call(t.e)},74668,(t,e,r)=>{(function(){var r,n;r=t.r(29635),n=t.r(85706),e.exports=function(){function t(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new r,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(t.prototype,"parameterNames",{get:function(){return new n(Object.keys(this.defaultParams))}}),t.prototype.getParameter=function(t){return this.params.hasOwnProperty(t)?this.params[t]:null},t.prototype.canSetParameter=function(t,e){return!0},t.prototype.setParameter=function(t,e){return null!=e?this.params[t]=e:delete this.params[t]},t}()}).call(t.e)},81577,(t,e,r)=>{(function(){e.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(t.e)},52393,(t,e,r)=>{(function(){var r;r=t.r(81577),t.r(98771),e.exports=function(){function t(t,e,n){if(this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==e)throw Error("Missing attribute name. "+this.debugInfo(e));this.name=this.stringify.name(e),this.value=this.stringify.attValue(n),this.type=r.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(t.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(t){return this.value=t||""}}),Object.defineProperty(t.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(t.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(t.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"specified",{get:function(){return!0}}),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(t){return this.options.writer.attribute(this,this.options.writer.filterOptions(t))},t.prototype.debugInfo=function(t){return null==(t=t||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+t+"}, parent: <"+this.parent.name+">"},t.prototype.isEqualNode=function(t){return t.namespaceURI===this.namespaceURI&&t.prefix===this.prefix&&t.localName===this.localName&&t.value===this.value},t}()}).call(t.e)},54645,(t,e,r)=>{(function(){e.exports=function(){function t(t){this.nodes=t}return Object.defineProperty(t.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.getNamedItem=function(t){return this.nodes[t]},t.prototype.setNamedItem=function(t){var e;return e=this.nodes[t.nodeName],this.nodes[t.nodeName]=t,e||null},t.prototype.removeNamedItem=function(t){var e;return e=this.nodes[t],delete this.nodes[t],e||null},t.prototype.item=function(t){return this.nodes[Object.keys(this.nodes)[t]]||null},t.prototype.getNamedItemNS=function(t,e){throw Error("This DOM method is not implemented.")},t.prototype.setNamedItemNS=function(t){throw Error("This DOM method is not implemented.")},t.prototype.removeNamedItemNS=function(t,e){throw Error("This DOM method is not implemented.")},t}()}).call(t.e)},30825,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l=function(t,e){for(var r in e)c.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},c={}.hasOwnProperty;u=(h=t.r(80998)).isObject,a=h.isFunction,s=h.getValue,o=t.r(98771),r=t.r(81577),n=t.r(52393),i=t.r(54645),e.exports=function(t){function e(t,n,i){var o,s,a,u;if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(n),this.type=r.Element,this.attribs={},this.schemaTypeInfo=null,null!=i&&this.attribute(i),t.type===r.Document&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this,t.children)){for(s=0,a=(u=t.children).length;s<a;s++)if((o=u[s]).type===r.DocType){o.name=this.name;break}}}return l(e,t),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(e.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(e.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"id",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"className",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"classList",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new i(this.attribs)),this.attributeMap}}),e.prototype.clone=function(){var t,e,r,n;for(e in(r=Object.create(this)).isRoot&&(r.documentObject=null),r.attribs={},n=this.attribs)c.call(n,e)&&(t=n[e],r.attribs[e]=t.clone());return r.children=[],this.children.forEach(function(t){var e;return(e=t.clone()).parent=r,r.children.push(e)}),r},e.prototype.attribute=function(t,e){var r,i;if(null!=t&&(t=s(t)),u(t))for(r in t)c.call(t,r)&&(i=t[r],this.attribute(r,i));else a(e)&&(e=e.apply()),this.options.keepNullAttributes&&null==e?this.attribs[t]=new n(this,t,""):null!=e&&(this.attribs[t]=new n(this,t,e));return this},e.prototype.removeAttribute=function(t){var e,r,n;if(null==t)throw Error("Missing attribute name. "+this.debugInfo());if(Array.isArray(t=s(t)))for(r=0,n=t.length;r<n;r++)e=t[r],delete this.attribs[e];else delete this.attribs[t];return this},e.prototype.toString=function(t){return this.options.writer.element(this,this.options.writer.filterOptions(t))},e.prototype.att=function(t,e){return this.attribute(t,e)},e.prototype.a=function(t,e){return this.attribute(t,e)},e.prototype.getAttribute=function(t){return this.attribs.hasOwnProperty(t)?this.attribs[t].value:null},e.prototype.setAttribute=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getAttributeNode=function(t){return this.attribs.hasOwnProperty(t)?this.attribs[t]:null},e.prototype.setAttributeNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.removeAttributeNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getAttributeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setAttributeNS=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.removeAttributeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getAttributeNodeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setAttributeNodeNS=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagNameNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.hasAttribute=function(t){return this.attribs.hasOwnProperty(t)},e.prototype.hasAttributeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setIdAttribute=function(t,e){return this.attribs.hasOwnProperty(t)?this.attribs[t].isId:e},e.prototype.setIdAttributeNS=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setIdAttributeNode=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagNameNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByClassName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(t){var r,n,i;if(!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)||t.namespaceURI!==this.namespaceURI||t.prefix!==this.prefix||t.localName!==this.localName||t.attribs.length!==this.attribs.length)return!1;for(r=n=0,i=this.attribs.length-1;0<=i?n<=i:n>=i;r=0<=i?++n:--n)if(!this.attribs[r].isEqualNode(t.attribs[r]))return!1;return!0},e}(o)}).call(t.e)},78041,(t,e,r)=>{(function(){var r=function(t,e){for(var r in e)n.call(e,r)&&(t[r]=e[r]);function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;e.exports=function(t){function e(t){e.__super__.constructor.call(this,t),this.value=""}return r(e,t),Object.defineProperty(e.prototype,"data",{get:function(){return this.value},set:function(t){return this.value=t||""}}),Object.defineProperty(e.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(e.prototype,"textContent",{get:function(){return this.value},set:function(t){return this.value=t||""}}),e.prototype.clone=function(){return Object.create(this)},e.prototype.substringData=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.appendData=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.insertData=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.deleteData=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceData=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(t){return!!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.data===this.data},e}(t.r(98771))}).call(t.e)},56923,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=r.CData,this.value=this.stringify.cdata(n)}return n(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.cdata(this,this.options.writer.filterOptions(t))},e}(t.r(78041))}).call(t.e)},92394,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=r.Comment,this.value=this.stringify.comment(n)}return n(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.comment(this,this.options.writer.filterOptions(t))},e}(t.r(78041))}).call(t.e)},55771,(t,e,r)=>{(function(){var r,n,i,o=function(t,e){for(var r in e)s.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;i=t.r(80998).isObject,n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,o,s){var a;e.__super__.constructor.call(this,t),i(n)&&(n=(a=n).version,o=a.encoding,s=a.standalone),n||(n="1.0"),this.type=r.Declaration,this.version=this.stringify.xmlVersion(n),null!=o&&(this.encoding=this.stringify.xmlEncoding(o)),null!=s&&(this.standalone=this.stringify.xmlStandalone(s))}return o(e,t),e.prototype.toString=function(t){return this.options.writer.declaration(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},64025,(t,e,r)=>{(function(){var r,n,i=function(t,e){for(var r in e)o.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,i,o,s,a){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing DTD element name. "+this.debugInfo());if(null==i)throw Error("Missing DTD attribute name. "+this.debugInfo(n));if(!o)throw Error("Missing DTD attribute type. "+this.debugInfo(n));if(!s)throw Error("Missing DTD attribute default. "+this.debugInfo(n));if(0!==s.indexOf("#")&&(s="#"+s),!s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(a&&!s.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.name(n),this.type=r.AttributeDeclaration,this.attributeName=this.stringify.name(i),this.attributeType=this.stringify.dtdAttType(o),a&&(this.defaultValue=this.stringify.dtdAttDefault(a)),this.defaultValueType=s}return i(e,t),e.prototype.toString=function(t){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},31831,(t,e,r)=>{(function(){var r,n,i,o=function(t,e){for(var r in e)s.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;i=t.r(80998).isObject,n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,o,s){if(e.__super__.constructor.call(this,t),null==o)throw Error("Missing DTD entity name. "+this.debugInfo(o));if(null==s)throw Error("Missing DTD entity value. "+this.debugInfo(o));if(this.pe=!!n,this.name=this.stringify.name(o),this.type=r.EntityDeclaration,i(s)){if(!s.pubID&&!s.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(o));if(s.pubID&&!s.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(o));if(this.internal=!1,null!=s.pubID&&(this.pubID=this.stringify.dtdPubID(s.pubID)),null!=s.sysID&&(this.sysID=this.stringify.dtdSysID(s.sysID)),null!=s.nData&&(this.nData=this.stringify.dtdNData(s.nData)),this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(o))}else this.value=this.stringify.dtdEntityValue(s),this.internal=!0}return o(e,t),Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(e.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(e.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(e.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(e.prototype,"xmlVersion",{get:function(){return null}}),e.prototype.toString=function(t){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},78962,(t,e,r)=>{(function(){var r,n,i=function(t,e){for(var r in e)o.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,i){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing DTD element name. "+this.debugInfo());i||(i="(#PCDATA)"),Array.isArray(i)&&(i="("+i.join(",")+")"),this.name=this.stringify.name(n),this.type=r.ElementDeclaration,this.value=this.stringify.dtdElementValue(i)}return i(e,t),e.prototype.toString=function(t){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},14595,(t,e,r)=>{(function(){var r,n,i=function(t,e){for(var r in e)o.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,i){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing DTD notation name. "+this.debugInfo(n));if(!i.pubID&&!i.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.name(n),this.type=r.NotationDeclaration,null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID))}return i(e,t),Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),e.prototype.toString=function(t){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},73226,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l=function(t,e){for(var r in e)c.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},c={}.hasOwnProperty;h=t.r(80998).isObject,u=t.r(98771),r=t.r(81577),n=t.r(64025),o=t.r(31831),i=t.r(78962),s=t.r(14595),a=t.r(54645),e.exports=function(t){function e(t,n,i){var o,s,a,u,l,c;if(e.__super__.constructor.call(this,t),this.type=r.DocType,t.children){for(s=0,a=(u=t.children).length;s<a;s++)if((o=u[s]).type===r.Element){this.name=o.name;break}}this.documentObject=t,h(n)&&(n=(l=n).pubID,i=l.sysID),null==i&&(i=(c=[n,i])[0],n=c[1]),null!=n&&(this.pubID=this.stringify.dtdPubID(n)),null!=i&&(this.sysID=this.stringify.dtdSysID(i))}return l(e,t),Object.defineProperty(e.prototype,"entities",{get:function(){var t,e,n,i,o;for(e=0,i={},n=(o=this.children).length;e<n;e++)(t=o[e]).type!==r.EntityDeclaration||t.pe||(i[t.name]=t);return new a(i)}}),Object.defineProperty(e.prototype,"notations",{get:function(){var t,e,n,i,o;for(e=0,i={},n=(o=this.children).length;e<n;e++)(t=o[e]).type===r.NotationDeclaration&&(i[t.name]=t);return new a(i)}}),Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(e.prototype,"internalSubset",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),e.prototype.element=function(t,e){var r;return r=new i(this,t,e),this.children.push(r),this},e.prototype.attList=function(t,e,r,i,o){var s;return s=new n(this,t,e,r,i,o),this.children.push(s),this},e.prototype.entity=function(t,e){var r;return r=new o(this,!1,t,e),this.children.push(r),this},e.prototype.pEntity=function(t,e){var r;return r=new o(this,!0,t,e),this.children.push(r),this},e.prototype.notation=function(t,e){var r;return r=new s(this,t,e),this.children.push(r),this},e.prototype.toString=function(t){return this.options.writer.docType(this,this.options.writer.filterOptions(t))},e.prototype.ele=function(t,e){return this.element(t,e)},e.prototype.att=function(t,e,r,n,i){return this.attList(t,e,r,n,i)},e.prototype.ent=function(t,e){return this.entity(t,e)},e.prototype.pent=function(t,e){return this.pEntity(t,e)},e.prototype.not=function(t,e){return this.notation(t,e)},e.prototype.up=function(){return this.root()||this.documentObject},e.prototype.isEqualNode=function(t){return!!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.name===this.name&&t.publicId===this.publicId&&t.systemId===this.systemId},e}(u)}).call(t.e)},82924,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing raw text. "+this.debugInfo());this.type=r.Raw,this.value=this.stringify.raw(n)}return n(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.raw(this,this.options.writer.filterOptions(t))},e}(t.r(98771))}).call(t.e)},32870,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=r.Text,this.value=this.stringify.text(n)}return n(e,t),Object.defineProperty(e.prototype,"isElementContentWhitespace",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"wholeText",{get:function(){var t,e,r;for(r="",e=this.previousSibling;e;)r=e.data+r,e=e.previousSibling;for(r+=this.data,t=this.nextSibling;t;)r+=t.data,t=t.nextSibling;return r}}),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.text(this,this.options.writer.filterOptions(t))},e.prototype.splitText=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceWholeText=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e}(t.r(78041))}).call(t.e)},35394,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n,i){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing instruction target. "+this.debugInfo());this.type=r.ProcessingInstruction,this.target=this.stringify.insTarget(n),this.name=this.target,i&&(this.value=this.stringify.insValue(i))}return n(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(t))},e.prototype.isEqualNode=function(t){return!!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.target===this.target},e}(t.r(78041))}).call(t.e)},84236,(t,e,r)=>{(function(){var r,n,i=function(t,e){for(var r in e)o.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t){e.__super__.constructor.call(this,t),this.type=r.Dummy}return i(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return""},e}(n)}).call(t.e)},14656,(t,e,r)=>{(function(){e.exports=function(){function t(t){this.nodes=t}return Object.defineProperty(t.prototype,"length",{get:function(){return this.nodes.length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.item=function(t){return this.nodes[t]||null},t}()}).call(t.e)},22428,(t,e,r)=>{(function(){e.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(t.e)},98771,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l,c,p,d,f,y,m,g,T,w={}.hasOwnProperty;g=(T=t.r(80998)).isObject,m=T.isFunction,y=T.isEmpty,f=T.getValue,h=null,i=null,o=null,s=null,a=null,p=null,d=null,c=null,u=null,n=null,l=null,r=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,h||(h=t.r(30825),i=t.r(56923),o=t.r(92394),s=t.r(55771),a=t.r(73226),p=t.r(82924),d=t.r(32870),c=t.r(35394),u=t.r(84236),n=t.r(81577),l=t.r(14656),t.r(54645),r=t.r(22428))}return Object.defineProperty(e.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new l(this.children)),this.childNodeList}}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){var t;return t=this.parent.children.indexOf(this),this.parent.children[t-1]||null}}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){var t;return t=this.parent.children.indexOf(this),this.parent.children[t+1]||null}}),Object.defineProperty(e.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(e.prototype,"textContent",{get:function(){var t,e,r,i,o;if(this.nodeType!==n.Element&&this.nodeType!==n.DocumentFragment)return null;for(e=0,o="",r=(i=this.children).length;e<r;e++)(t=i[e]).textContent&&(o+=t.textContent);return o},set:function(t){throw Error("This DOM method is not implemented."+this.debugInfo())}}),e.prototype.setParent=function(t){var e,r,n,i,o;for(this.parent=t,t&&(this.options=t.options,this.stringify=t.stringify),i=this.children,o=[],r=0,n=i.length;r<n;r++)e=i[r],o.push(e.setParent(this));return o},e.prototype.element=function(t,e,r){var n,i,o,s,a,u,h,l,c,p,d;if(u=null,null===e&&null==r&&(e=(c=[{},null])[0],r=c[1]),null==e&&(e={}),g(e=f(e))||(r=(p=[e,r])[0],e=p[1]),null!=t&&(t=f(t)),Array.isArray(t))for(o=0,h=t.length;o<h;o++)i=t[o],u=this.element(i);else if(m(t))u=this.element(t.apply());else if(g(t)){for(a in t)if(w.call(t,a))if(m(d=t[a])&&(d=d.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===a.indexOf(this.stringify.convertAttKey))u=this.attribute(a.substr(this.stringify.convertAttKey.length),d);else if(!this.options.separateArrayItems&&Array.isArray(d)&&y(d))u=this.dummy();else if(g(d)&&y(d))u=this.element(a);else if(this.options.keepNullNodes||null!=d)if(!this.options.separateArrayItems&&Array.isArray(d))for(s=0,l=d.length;s<l;s++)i=d[s],(n={})[a]=i,u=this.element(n);else g(d)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===a.indexOf(this.stringify.convertTextKey)?u=this.element(d):(u=this.element(a)).element(d):u=this.element(a,d);else u=this.dummy()}else u=this.options.keepNullNodes||null!==r?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===t.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===t.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===t.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===t.indexOf(this.stringify.convertRawKey)?this.raw(r):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===t.indexOf(this.stringify.convertPIKey)?this.instruction(t.substr(this.stringify.convertPIKey.length),r):this.node(t,e,r):this.dummy();if(null==u)throw Error("Could not create any elements with: "+t+". "+this.debugInfo());return u},e.prototype.insertBefore=function(t,e,r){var n,i,o;if(null!=t?t.type:void 0)return t.setParent(this),e?(i=children.indexOf(e),o=children.splice(i),children.push(t),Array.prototype.push.apply(children,o)):children.push(t),t;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(t));return i=this.parent.children.indexOf(this),o=this.parent.children.splice(i),n=this.parent.element(t,e,r),Array.prototype.push.apply(this.parent.children,o),n},e.prototype.insertAfter=function(t,e,r){var n,i,o;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(t));return i=this.parent.children.indexOf(this),o=this.parent.children.splice(i+1),n=this.parent.element(t,e,r),Array.prototype.push.apply(this.parent.children,o),n},e.prototype.remove=function(){var t;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return t=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[t,t-t+1].concat([])),this.parent},e.prototype.node=function(t,e,r){var n,i;return null!=t&&(t=f(t)),e||(e={}),g(e=f(e))||(r=(i=[e,r])[0],e=i[1]),n=new h(this,t,e),null!=r&&n.text(r),this.children.push(n),n},e.prototype.text=function(t){var e;return g(t)&&this.element(t),e=new d(this,t),this.children.push(e),this},e.prototype.cdata=function(t){var e;return e=new i(this,t),this.children.push(e),this},e.prototype.comment=function(t){var e;return e=new o(this,t),this.children.push(e),this},e.prototype.commentBefore=function(t){var e,r;return e=this.parent.children.indexOf(this),r=this.parent.children.splice(e),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.commentAfter=function(t){var e,r;return e=this.parent.children.indexOf(this),r=this.parent.children.splice(e+1),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.raw=function(t){var e;return e=new p(this,t),this.children.push(e),this},e.prototype.dummy=function(){return new u(this)},e.prototype.instruction=function(t,e){var r,n,i,o,s;if(null!=t&&(t=f(t)),null!=e&&(e=f(e)),Array.isArray(t))for(o=0,s=t.length;o<s;o++)r=t[o],this.instruction(r);else if(g(t))for(r in t)w.call(t,r)&&(n=t[r],this.instruction(r,n));else m(e)&&(e=e.apply()),i=new c(this,t,e),this.children.push(i);return this},e.prototype.instructionBefore=function(t,e){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.instructionAfter=function(t,e){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r+1),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.declaration=function(t,e,r){var i,o;return i=this.document(),o=new s(i,t,e,r),0===i.children.length?i.children.unshift(o):i.children[0].type===n.Declaration?i.children[0]=o:i.children.unshift(o),i.root()||i},e.prototype.dtd=function(t,e){var r,i,o,s,u,h,l,c,p;for(r=this.document(),i=new a(r,t,e),c=r.children,o=s=0,h=c.length;s<h;o=++s)if(c[o].type===n.DocType)return r.children[o]=i,i;for(p=r.children,o=u=0,l=p.length;u<l;o=++u)if(p[o].isRoot)return r.children.splice(o,0,i),i;return r.children.push(i),i},e.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},e.prototype.root=function(){var t;for(t=this;t;)if(t.type===n.Document)return t.rootObject;else{if(t.isRoot)return t;t=t.parent}},e.prototype.document=function(){var t;for(t=this;t;)if(t.type===n.Document)return t;else t=t.parent},e.prototype.end=function(t){return this.document().end(t)},e.prototype.prev=function(){var t;if((t=this.parent.children.indexOf(this))<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[t-1]},e.prototype.next=function(){var t;if(-1===(t=this.parent.children.indexOf(this))||t===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[t+1]},e.prototype.importDocument=function(t){var e;return(e=t.root().clone()).parent=this,e.isRoot=!1,this.children.push(e),this},e.prototype.debugInfo=function(t){var e,r;return null!=(t=t||this.name)||(null!=(e=this.parent)?e.name:void 0)?null==t?"parent: <"+this.parent.name+">":(null!=(r=this.parent)?r.name:void 0)?"node: <"+t+">, parent: <"+this.parent.name+">":"node: <"+t+">":""},e.prototype.ele=function(t,e,r){return this.element(t,e,r)},e.prototype.nod=function(t,e,r){return this.node(t,e,r)},e.prototype.txt=function(t){return this.text(t)},e.prototype.dat=function(t){return this.cdata(t)},e.prototype.com=function(t){return this.comment(t)},e.prototype.ins=function(t,e){return this.instruction(t,e)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(t,e,r){return this.declaration(t,e,r)},e.prototype.e=function(t,e,r){return this.element(t,e,r)},e.prototype.n=function(t,e,r){return this.node(t,e,r)},e.prototype.t=function(t){return this.text(t)},e.prototype.d=function(t){return this.cdata(t)},e.prototype.c=function(t){return this.comment(t)},e.prototype.r=function(t){return this.raw(t)},e.prototype.i=function(t,e){return this.instruction(t,e)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(t){return this.importDocument(t)},e.prototype.replaceChild=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.removeChild=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.appendChild=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.hasChildNodes=function(){return 0!==this.children.length},e.prototype.cloneNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.normalize=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isSupported=function(t,e){return!0},e.prototype.hasAttributes=function(){return 0!==this.attribs.length},e.prototype.compareDocumentPosition=function(t){var e;if(this===t)return 0;if(this.document()!==t.document())return e=r.Disconnected|r.ImplementationSpecific,.5>Math.random()?e|=r.Preceding:e|=r.Following,e;if(this.isAncestor(t))return r.Contains|r.Preceding;if(this.isDescendant(t))return r.Contains|r.Following;if(this.isPreceding(t))return r.Preceding;else return r.Following},e.prototype.isSameNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupPrefix=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isDefaultNamespace=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupNamespaceURI=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(t){var e,r,n;if(t.nodeType!==this.nodeType||t.children.length!==this.children.length)return!1;for(e=r=0,n=this.children.length-1;0<=n?r<=n:r>=n;e=0<=n?++r:--r)if(!this.children[e].isEqualNode(t.children[e]))return!1;return!0},e.prototype.getFeature=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setUserData=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getUserData=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.contains=function(t){return!!t&&(t===this||this.isDescendant(t))},e.prototype.isDescendant=function(t){var e,r,n,i;for(r=0,n=(i=this.children).length;r<n;r++)if(t===(e=i[r])||e.isDescendant(t))return!0;return!1},e.prototype.isAncestor=function(t){return t.isDescendant(this)},e.prototype.isPreceding=function(t){var e,r;return e=this.treePosition(t),r=this.treePosition(this),-1!==e&&-1!==r&&e<r},e.prototype.isFollowing=function(t){var e,r;return e=this.treePosition(t),r=this.treePosition(this),-1!==e&&-1!==r&&e>r},e.prototype.treePosition=function(t){var e,r;return(r=0,e=!1,this.foreachTreeNode(this.document(),function(n){if(r++,!e&&n===t)return e=!0}),e)?r:-1},e.prototype.foreachTreeNode=function(t,e){var r,n,i,o,s;for(t||(t=this.document()),n=0,i=(o=t.children).length;n<i;n++)if((s=e(r=o[n]))||(s=this.foreachTreeNode(r,e)))return s},e}()}).call(t.e)},39971,(t,e,r)=>{(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},r={}.hasOwnProperty;e.exports=function(){function e(e){var n,i,o;for(n in this.assertLegalName=t(this.assertLegalName,this),this.assertLegalChar=t(this.assertLegalChar,this),e||(e={}),this.options=e,this.options.version||(this.options.version="1.0"),i=e.stringify||{})r.call(i,n)&&(o=i[n],this[n]=o)}return e.prototype.name=function(t){return this.options.noValidation?t:this.assertLegalName(""+t||"")},e.prototype.text=function(t){return this.options.noValidation?t:this.assertLegalChar(this.textEscape(""+t||""))},e.prototype.cdata=function(t){return this.options.noValidation?t:(t=(t=""+t||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(t))},e.prototype.comment=function(t){if(this.options.noValidation)return t;if((t=""+t||"").match(/--/))throw Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},e.prototype.raw=function(t){return this.options.noValidation?t:""+t||""},e.prototype.attValue=function(t){return this.options.noValidation?t:this.assertLegalChar(this.attEscape(t=""+t||""))},e.prototype.insTarget=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.insValue=function(t){if(this.options.noValidation)return t;if((t=""+t||"").match(/\?>/))throw Error("Invalid processing instruction value: "+t);return this.assertLegalChar(t)},e.prototype.xmlVersion=function(t){if(this.options.noValidation)return t;if(!(t=""+t||"").match(/1\.[0-9]+/))throw Error("Invalid version number: "+t);return t},e.prototype.xmlEncoding=function(t){if(this.options.noValidation)return t;if(!(t=""+t||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+t);return this.assertLegalChar(t)},e.prototype.xmlStandalone=function(t){return this.options.noValidation?t:t?"yes":"no"},e.prototype.dtdPubID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdSysID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdElementValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdAttType=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdAttDefault=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdEntityValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdNData=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(t){var e,r;if(this.options.noValidation)return t;if(e="","1.0"===this.options.version){if(e=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=t.match(e))throw Error("Invalid character in string: "+t+" at index "+r.index)}else if("1.1"===this.options.version&&(e=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=t.match(e)))throw Error("Invalid character in string: "+t+" at index "+r.index);return t},e.prototype.assertLegalName=function(t){if(this.options.noValidation)return t;if(this.assertLegalChar(t),!t.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 t},e.prototype.textEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},e.prototype.attEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},e}()}).call(t.e)},62803,(t,e,r)=>{(function(){e.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(t.e)},46845,(t,e,r)=>{(function(){var r,n,i,o={}.hasOwnProperty;i=t.r(80998).assign,r=t.r(81577),t.r(55771),t.r(73226),t.r(56923),t.r(92394),t.r(30825),t.r(82924),t.r(32870),t.r(35394),t.r(84236),t.r(64025),t.r(78962),t.r(31831),t.r(14595),n=t.r(62803),e.exports=function(){function t(t){var e,r,n;for(e in t||(t={}),this.options=t,r=t.writer||{})o.call(r,e)&&(n=r[e],this["_"+e]=this[e],this[e]=n)}return t.prototype.filterOptions=function(t){var e,r,o,s,a,u,h,l;return t||(t={}),t=i({},this.options,t),(e={writer:this}).pretty=t.pretty||!1,e.allowEmpty=t.allowEmpty||!1,e.indent=null!=(r=t.indent)?r:" ",e.newline=null!=(o=t.newline)?o:"\n",e.offset=null!=(s=t.offset)?s:0,e.dontPrettyTextNodes=null!=(a=null!=(u=t.dontPrettyTextNodes)?u:t.dontprettytextnodes)?a:0,e.spaceBeforeSlash=null!=(h=null!=(l=t.spaceBeforeSlash)?l:t.spacebeforeslash)?h:"",!0===e.spaceBeforeSlash&&(e.spaceBeforeSlash=" "),e.suppressPrettyCount=0,e.user={},e.state=n.None,e},t.prototype.indent=function(t,e,r){var n;if(!e.pretty||e.suppressPrettyCount);else if(e.pretty&&(n=(r||0)+e.offset+1)>0)return Array(n).join(e.indent);return""},t.prototype.endline=function(t,e,r){return!e.pretty||e.suppressPrettyCount?"":e.newline},t.prototype.attribute=function(t,e,r){var n;return this.openAttribute(t,e,r),n=" "+t.name+'="'+t.value+'"',this.closeAttribute(t,e,r),n},t.prototype.cdata=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<![CDATA[",e.state=n.InsideTag,i+=t.value,e.state=n.CloseTag,i+="]]>"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.comment=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!-- ",e.state=n.InsideTag,i+=t.value,e.state=n.CloseTag,i+=" -->"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.declaration=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<?xml",e.state=n.InsideTag,i+=' version="'+t.version+'"',null!=t.encoding&&(i+=' encoding="'+t.encoding+'"'),null!=t.standalone&&(i+=' standalone="'+t.standalone+'"'),e.state=n.CloseTag,i+=e.spaceBeforeSlash+"?>",i+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.docType=function(t,e,r){var i,o,s,a,u;if(r||(r=0),this.openNode(t,e,r),e.state=n.OpenTag,a=this.indent(t,e,r)+"<!DOCTYPE "+t.root().name,t.pubID&&t.sysID?a+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(a+=' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(a+=" [",a+=this.endline(t,e,r),e.state=n.InsideTag,o=0,s=(u=t.children).length;o<s;o++)i=u[o],a+=this.writeChildNode(i,e,r+1);e.state=n.CloseTag,a+="]"}return e.state=n.CloseTag,a+=e.spaceBeforeSlash+">",a+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),a},t.prototype.element=function(t,e,i){var s,a,u,h,l,c,p,d,f,y,m,g,T,w;for(f in i||(i=0),y=!1,m="",this.openNode(t,e,i),e.state=n.OpenTag,m+=this.indent(t,e,i)+"<"+t.name,g=t.attribs)o.call(g,f)&&(s=g[f],m+=this.attribute(s,e,i));if(h=0===(u=t.children.length)?null:t.children[0],0===u||t.children.every(function(t){return(t.type===r.Text||t.type===r.Raw)&&""===t.value}))e.allowEmpty?(m+=">",e.state=n.CloseTag,m+="</"+t.name+">"+this.endline(t,e,i)):(e.state=n.CloseTag,m+=e.spaceBeforeSlash+"/>"+this.endline(t,e,i));else if(e.pretty&&1===u&&(h.type===r.Text||h.type===r.Raw)&&null!=h.value)m+=">",e.state=n.InsideTag,e.suppressPrettyCount++,y=!0,m+=this.writeChildNode(h,e,i+1),e.suppressPrettyCount--,y=!1,e.state=n.CloseTag,m+="</"+t.name+">"+this.endline(t,e,i);else{if(e.dontPrettyTextNodes){for(l=0,p=(T=t.children).length;l<p;l++)if(((a=T[l]).type===r.Text||a.type===r.Raw)&&null!=a.value){e.suppressPrettyCount++,y=!0;break}}for(m+=">"+this.endline(t,e,i),e.state=n.InsideTag,c=0,d=(w=t.children).length;c<d;c++)a=w[c],m+=this.writeChildNode(a,e,i+1);e.state=n.CloseTag,m+=this.indent(t,e,i)+"</"+t.name+">",y&&e.suppressPrettyCount--,m+=this.endline(t,e,i),e.state=n.None}return this.closeNode(t,e,i),m},t.prototype.writeChildNode=function(t,e,n){switch(t.type){case r.CData:return this.cdata(t,e,n);case r.Comment:return this.comment(t,e,n);case r.Element:return this.element(t,e,n);case r.Raw:return this.raw(t,e,n);case r.Text:return this.text(t,e,n);case r.ProcessingInstruction:return this.processingInstruction(t,e,n);case r.Dummy:return"";case r.Declaration:return this.declaration(t,e,n);case r.DocType:return this.docType(t,e,n);case r.AttributeDeclaration:return this.dtdAttList(t,e,n);case r.ElementDeclaration:return this.dtdElement(t,e,n);case r.EntityDeclaration:return this.dtdEntity(t,e,n);case r.NotationDeclaration:return this.dtdNotation(t,e,n);default:throw Error("Unknown XML node type: "+t.constructor.name)}},t.prototype.processingInstruction=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<?",e.state=n.InsideTag,i+=t.target,t.value&&(i+=" "+t.value),e.state=n.CloseTag,i+=e.spaceBeforeSlash+"?>",i+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.raw=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r),e.state=n.InsideTag,i+=t.value,e.state=n.CloseTag,i+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.text=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r),e.state=n.InsideTag,i+=t.value,e.state=n.CloseTag,i+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.dtdAttList=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!ATTLIST",e.state=n.InsideTag,i+=" "+t.elementName+" "+t.attributeName+" "+t.attributeType,"#DEFAULT"!==t.defaultValueType&&(i+=" "+t.defaultValueType),t.defaultValue&&(i+=' "'+t.defaultValue+'"'),e.state=n.CloseTag,i+=e.spaceBeforeSlash+">"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.dtdElement=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!ELEMENT",e.state=n.InsideTag,i+=" "+t.name+" "+t.value,e.state=n.CloseTag,i+=e.spaceBeforeSlash+">"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.dtdEntity=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!ENTITY",e.state=n.InsideTag,t.pe&&(i+=" %"),i+=" "+t.name,t.value?i+=' "'+t.value+'"':(t.pubID&&t.sysID?i+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(i+=' SYSTEM "'+t.sysID+'"'),t.nData&&(i+=" NDATA "+t.nData)),e.state=n.CloseTag,i+=e.spaceBeforeSlash+">"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.dtdNotation=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!NOTATION",e.state=n.InsideTag,i+=" "+t.name,t.pubID&&t.sysID?i+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.pubID?i+=' PUBLIC "'+t.pubID+'"':t.sysID&&(i+=' SYSTEM "'+t.sysID+'"'),e.state=n.CloseTag,i+=e.spaceBeforeSlash+">"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.openNode=function(t,e,r){},t.prototype.closeNode=function(t,e,r){},t.prototype.openAttribute=function(t,e,r){},t.prototype.closeAttribute=function(t,e,r){},t}()}).call(t.e)},98171,(t,e,r)=>{(function(){var r=function(t,e){for(var r in e)n.call(e,r)&&(t[r]=e[r]);function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;e.exports=function(t){function e(t){e.__super__.constructor.call(this,t)}return r(e,t),e.prototype.document=function(t,e){var r,n,i,o,s;for(n=0,e=this.filterOptions(e),o="",i=(s=t.children).length;n<i;n++)r=s[n],o+=this.writeChildNode(r,e,0);return e.pretty&&o.slice(-e.newline.length)===e.newline&&(o=o.slice(0,-e.newline.length)),o},e}(t.r(46845))}).call(t.e)},58773,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h=function(t,e){for(var r in e)l.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},l={}.hasOwnProperty;u=t.r(80998).isPlainObject,i=t.r(11201),n=t.r(74668),o=t.r(98771),r=t.r(81577),a=t.r(39971),s=t.r(98171),e.exports=function(t){function e(t){e.__super__.constructor.call(this,null),this.name="#document",this.type=r.Document,this.documentURI=null,this.domConfig=new n,t||(t={}),t.writer||(t.writer=new s),this.options=t,this.stringify=new a(t)}return h(e,t),Object.defineProperty(e.prototype,"implementation",{value:new i}),Object.defineProperty(e.prototype,"doctype",{get:function(){var t,e,n,i;for(e=0,n=(i=this.children).length;e<n;e++)if((t=i[e]).type===r.DocType)return t;return null}}),Object.defineProperty(e.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(e.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(e.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(e.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===r.Declaration?this.children[0].encoding:null}}),Object.defineProperty(e.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===r.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(e.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===r.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(e.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(e.prototype,"origin",{get:function(){return null}}),Object.defineProperty(e.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(e.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(e.prototype,"contentType",{get:function(){return null}}),e.prototype.end=function(t){var e;return e={},t?u(t)&&(e=t,t=this.options.writer):t=this.options.writer,t.document(this,t.filterOptions(e))},e.prototype.toString=function(t){return this.options.writer.document(this,this.options.writer.filterOptions(t))},e.prototype.createElement=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createDocumentFragment=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createTextNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createComment=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createCDATASection=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createProcessingInstruction=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createAttribute=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createEntityReference=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.importNode=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createElementNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createAttributeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagNameNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementById=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.adoptNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.normalizeDocument=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.renameNode=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByClassName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createEvent=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createRange=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createNodeIterator=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createTreeWalker=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e}(o)}).call(t.e)},37344,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l,c,p,d,f,y,m,g,T,w,b,E,D,I,v,N={}.hasOwnProperty;D=(v=t.r(80998)).isObject,E=v.isFunction,I=v.isPlainObject,b=v.getValue,r=t.r(81577),d=t.r(58773),f=t.r(30825),o=t.r(56923),s=t.r(92394),m=t.r(82924),w=t.r(32870),y=t.r(35394),c=t.r(55771),p=t.r(73226),a=t.r(64025),h=t.r(31831),u=t.r(78962),l=t.r(14595),i=t.r(52393),T=t.r(39971),g=t.r(98171),n=t.r(62803),e.exports=function(){function t(t,e,n){var i;this.name="?xml",this.type=r.Document,t||(t={}),i={},t.writer?I(t.writer)&&(i=t.writer,t.writer=new g):t.writer=new g,this.options=t,this.writer=t.writer,this.writerOptions=this.writer.filterOptions(i),this.stringify=new T(t),this.onDataCallback=e||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.createChildNode=function(t){var e,n,i,o,s,a,u,h;switch(t.type){case r.CData:this.cdata(t.value);break;case r.Comment:this.comment(t.value);break;case r.Element:for(n in i={},u=t.attribs)N.call(u,n)&&(e=u[n],i[n]=e.value);this.node(t.name,i);break;case r.Dummy:this.dummy();break;case r.Raw:this.raw(t.value);break;case r.Text:this.text(t.value);break;case r.ProcessingInstruction:this.instruction(t.target,t.value);break;default:throw Error("This XML node type is not supported in a JS object: "+t.constructor.name)}for(s=0,a=(h=t.children).length;s<a;s++)o=h[s],this.createChildNode(o),o.type===r.Element&&this.up();return this},t.prototype.dummy=function(){return this},t.prototype.node=function(t,e,r){var n;if(null==t)throw Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw Error("Document can only have one root node. "+this.debugInfo(t));return this.openCurrent(),t=b(t),null==e&&(e={}),D(e=b(e))||(r=(n=[e,r])[0],e=n[1]),this.currentNode=new f(this,t,e),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=r&&this.text(r),this},t.prototype.element=function(t,e,n){var i,o,s,a,u,h;if(this.currentNode&&this.currentNode.type===r.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(t)||D(t)||E(t))for(a=this.options.noValidation,this.options.noValidation=!0,(h=new d(this.options).element("TEMP_ROOT")).element(t),this.options.noValidation=a,o=0,s=(u=h.children).length;o<s;o++)i=u[o],this.createChildNode(i),i.type===r.Element&&this.up();else this.node(t,e,n);return this},t.prototype.attribute=function(t,e){var r,n;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(t));if(null!=t&&(t=b(t)),D(t))for(r in t)N.call(t,r)&&(n=t[r],this.attribute(r,n));else E(e)&&(e=e.apply()),this.options.keepNullAttributes&&null==e?this.currentNode.attribs[t]=new i(this,t,""):null!=e&&(this.currentNode.attribs[t]=new i(this,t,e));return this},t.prototype.text=function(t){var e;return this.openCurrent(),e=new w(this,t),this.onData(this.writer.text(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.cdata=function(t){var e;return this.openCurrent(),e=new o(this,t),this.onData(this.writer.cdata(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.comment=function(t){var e;return this.openCurrent(),e=new s(this,t),this.onData(this.writer.comment(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.raw=function(t){var e;return this.openCurrent(),e=new m(this,t),this.onData(this.writer.raw(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.instruction=function(t,e){var r,n,i,o,s;if(this.openCurrent(),null!=t&&(t=b(t)),null!=e&&(e=b(e)),Array.isArray(t))for(r=0,o=t.length;r<o;r++)n=t[r],this.instruction(n);else if(D(t))for(n in t)N.call(t,n)&&(i=t[n],this.instruction(n,i));else E(e)&&(e=e.apply()),s=new y(this,t,e),this.onData(this.writer.processingInstruction(s,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},t.prototype.declaration=function(t,e,r){var n;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return n=new c(this,t,e,r),this.onData(this.writer.declaration(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.doctype=function(t,e,r){if(this.openCurrent(),null==t)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new p(this,e,r),this.currentNode.rootNodeName=t,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(t,e){var r;return this.openCurrent(),r=new u(this,t,e),this.onData(this.writer.dtdElement(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.attList=function(t,e,r,n,i){var o;return this.openCurrent(),o=new a(this,t,e,r,n,i),this.onData(this.writer.dtdAttList(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.entity=function(t,e){var r;return this.openCurrent(),r=new h(this,!1,t,e),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.pEntity=function(t,e){var r;return this.openCurrent(),r=new h(this,!0,t,e),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.notation=function(t,e){var r;return this.openCurrent(),r=new l(this,t,e),this.onData(this.writer.dtdNotation(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.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},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},t.prototype.openNode=function(t){var e,i,o,s;if(!t.isOpen){if(this.root||0!==this.currentLevel||t.type!==r.Element||(this.root=t),i="",t.type===r.Element){for(o in this.writerOptions.state=n.OpenTag,i=this.writer.indent(t,this.writerOptions,this.currentLevel)+"<"+t.name,s=t.attribs)N.call(s,o)&&(e=s[o],i+=this.writer.attribute(e,this.writerOptions,this.currentLevel));i+=(t.children?">":"/>")+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.InsideTag}else this.writerOptions.state=n.OpenTag,i=this.writer.indent(t,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+t.rootNodeName,t.pubID&&t.sysID?i+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(i+=' SYSTEM "'+t.sysID+'"'),t.children?(i+=" [",this.writerOptions.state=n.InsideTag):(this.writerOptions.state=n.CloseTag,i+=">"),i+=this.writer.endline(t,this.writerOptions,this.currentLevel);return this.onData(i,this.currentLevel),t.isOpen=!0}},t.prototype.closeNode=function(t){var e;if(!t.isClosed)return e="",this.writerOptions.state=n.CloseTag,e=t.type===r.Element?this.writer.indent(t,this.writerOptions,this.currentLevel)+"</"+t.name+">"+this.writer.endline(t,this.writerOptions,this.currentLevel):this.writer.indent(t,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.None,this.onData(e,this.currentLevel),t.isClosed=!0},t.prototype.onData=function(t,e){return this.documentStarted=!0,this.onDataCallback(t,e+1)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.debugInfo=function(t){return null==t?"":"node: <"+t+">"},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(t,e,r){return this.node(t,e,r)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.dec=function(t,e,r){return this.declaration(t,e,r)},t.prototype.dtd=function(t,e,r){return this.doctype(t,e,r)},t.prototype.e=function(t,e,r){return this.element(t,e,r)},t.prototype.n=function(t,e,r){return this.node(t,e,r)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.att=function(){return this.currentNode&&this.currentNode.type===r.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode.type===r.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(t,e){return this.entity(t,e)},t.prototype.pent=function(t,e){return this.pEntity(t,e)},t.prototype.not=function(t,e){return this.notation(t,e)},t}()}).call(t.e)},61224,(t,e,r)=>{(function(){var r,n,i,o=function(t,e){for(var r in e)s.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=t.r(81577),i=t.r(46845),n=t.r(62803),e.exports=function(t){function e(t,r){this.stream=t,e.__super__.constructor.call(this,r)}return o(e,t),e.prototype.endline=function(t,r,i){return t.isLastRootNode&&r.state===n.CloseTag?"":e.__super__.endline.call(this,t,r,i)},e.prototype.document=function(t,e){var r,n,i,o,s,a,u,h,l;for(u=t.children,n=i=0,s=u.length;i<s;n=++i)(r=u[n]).isLastRootNode=n===t.children.length-1;for(o=0,e=this.filterOptions(e),h=t.children,l=[],a=h.length;o<a;o++)r=h[o],l.push(this.writeChildNode(r,e,0));return l},e.prototype.attribute=function(t,r,n){return this.stream.write(e.__super__.attribute.call(this,t,r,n))},e.prototype.cdata=function(t,r,n){return this.stream.write(e.__super__.cdata.call(this,t,r,n))},e.prototype.comment=function(t,r,n){return this.stream.write(e.__super__.comment.call(this,t,r,n))},e.prototype.declaration=function(t,r,n){return this.stream.write(e.__super__.declaration.call(this,t,r,n))},e.prototype.docType=function(t,e,r){var i,o,s,a;if(r||(r=0),this.openNode(t,e,r),e.state=n.OpenTag,this.stream.write(this.indent(t,e,r)),this.stream.write("<!DOCTYPE "+t.root().name),t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(t,e,r)),e.state=n.InsideTag,o=0,s=(a=t.children).length;o<s;o++)i=a[o],this.writeChildNode(i,e,r+1);e.state=n.CloseTag,this.stream.write("]")}return e.state=n.CloseTag,this.stream.write(e.spaceBeforeSlash+">"),this.stream.write(this.endline(t,e,r)),e.state=n.None,this.closeNode(t,e,r)},e.prototype.element=function(t,e,i){var o,a,u,h,l,c,p,d,f;for(p in i||(i=0),this.openNode(t,e,i),e.state=n.OpenTag,this.stream.write(this.indent(t,e,i)+"<"+t.name),d=t.attribs)s.call(d,p)&&(o=d[p],this.attribute(o,e,i));if(h=0===(u=t.children.length)?null:t.children[0],0===u||t.children.every(function(t){return(t.type===r.Text||t.type===r.Raw)&&""===t.value}))e.allowEmpty?(this.stream.write(">"),e.state=n.CloseTag,this.stream.write("</"+t.name+">")):(e.state=n.CloseTag,this.stream.write(e.spaceBeforeSlash+"/>"));else if(e.pretty&&1===u&&(h.type===r.Text||h.type===r.Raw)&&null!=h.value)this.stream.write(">"),e.state=n.InsideTag,e.suppressPrettyCount++,this.writeChildNode(h,e,i+1),e.suppressPrettyCount--,e.state=n.CloseTag,this.stream.write("</"+t.name+">");else{for(this.stream.write(">"+this.endline(t,e,i)),e.state=n.InsideTag,l=0,c=(f=t.children).length;l<c;l++)a=f[l],this.writeChildNode(a,e,i+1);e.state=n.CloseTag,this.stream.write(this.indent(t,e,i)+"</"+t.name+">")}return this.stream.write(this.endline(t,e,i)),e.state=n.None,this.closeNode(t,e,i)},e.prototype.processingInstruction=function(t,r,n){return this.stream.write(e.__super__.processingInstruction.call(this,t,r,n))},e.prototype.raw=function(t,r,n){return this.stream.write(e.__super__.raw.call(this,t,r,n))},e.prototype.text=function(t,r,n){return this.stream.write(e.__super__.text.call(this,t,r,n))},e.prototype.dtdAttList=function(t,r,n){return this.stream.write(e.__super__.dtdAttList.call(this,t,r,n))},e.prototype.dtdElement=function(t,r,n){return this.stream.write(e.__super__.dtdElement.call(this,t,r,n))},e.prototype.dtdEntity=function(t,r,n){return this.stream.write(e.__super__.dtdEntity.call(this,t,r,n))},e.prototype.dtdNotation=function(t,r,n){return this.stream.write(e.__super__.dtdNotation.call(this,t,r,n))},e}(i)}).call(t.e)},75188,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l,c;h=(c=t.r(80998)).assign,l=c.isFunction,i=t.r(11201),o=t.r(58773),s=t.r(37344),u=t.r(98171),a=t.r(61224),r=t.r(81577),n=t.r(62803),e.exports.create=function(t,e,r,n){var i,s;if(null==t)throw Error("Root element needs a name.");return s=(i=new o(n=h({},e,r,n))).element(t),n.headless||(i.declaration(n),(null!=n.pubID||null!=n.sysID)&&i.dtd(n)),s},e.exports.begin=function(t,e,r){var n;return(l(t)&&(e=(n=[t,e])[0],r=n[1],t={}),e)?new s(t,e,r):new o(t)},e.exports.stringWriter=function(t){return new u(t)},e.exports.streamWriter=function(t,e){return new a(t,e)},e.exports.implementation=new i,e.exports.nodeType=r,e.exports.writerState=n}).call(t.e)},50717,(t,e,r)=>{(function(){"use strict";var e,n,i,o,s,a={}.hasOwnProperty;e=t.r(75188),n=t.r(22605).defaults,o=function(t){return"string"==typeof t&&(t.indexOf("&")>=0||t.indexOf(">")>=0||t.indexOf("<")>=0)},s=function(t){return"<![CDATA["+i(t)+"]]>"},i=function(t){return t.replace("]]>","]]]]><![CDATA[>")},r.Builder=function(){function t(t){var e,r,i;for(e in this.options={},r=n["0.2"])a.call(r,e)&&(i=r[e],this.options[e]=i);for(e in t)a.call(t,e)&&(i=t[e],this.options[e]=i)}return t.prototype.buildObject=function(t){var r,i,u,h,l,c;return r=this.options.attrkey,i=this.options.charkey,1===Object.keys(t).length&&this.options.rootName===n["0.2"].rootName?(l=Object.keys(t)[0],t=t[l]):l=this.options.rootName,c=this,u=function(t,e){var n,h,l,p,d,f;if("object"!=typeof e)c.options.cdata&&o(e)?t.raw(s(e)):t.txt(e);else if(Array.isArray(e)){for(p in e)if(a.call(e,p))for(d in h=e[p])l=h[d],t=u(t.ele(d),l).up()}else for(d in e)if(a.call(e,d))if(h=e[d],d===r){if("object"==typeof h)for(n in h)f=h[n],t=t.att(n,f)}else if(d===i)t=c.options.cdata&&o(h)?t.raw(s(h)):t.txt(h);else if(Array.isArray(h))for(p in h)a.call(h,p)&&(t="string"==typeof(l=h[p])?c.options.cdata&&o(l)?t.ele(d).raw(s(l)).up():t.ele(d,l).up():u(t.ele(d),l).up());else"object"==typeof h?t=u(t.ele(d),h).up():"string"==typeof h&&c.options.cdata&&o(h)?t=t.ele(d).raw(s(h)).up():(null==h&&(h=""),t=t.ele(d,h.toString()).up());return t},h=e.create(l,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),u(h,t).end(this.options.renderOpts)},t}()}).call(t.e)},183,(t,e,r)=>{!function(e){e.parser=function(t,e){return new a(t,e)},e.SAXParser=a,e.SAXStream=h,e.createStream=function(t,e){return new h(t,e)},e.MAX_BUFFER_LENGTH=65536;var r,n,i,o,s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function a(t,r){if(!(this instanceof a))return new a(t,r);(function(t){for(var e=0,r=s.length;e<r;e++)t[s[e]]=""})(this),this.q=this.c="",this.bufferCheckPosition=e.MAX_BUFFER_LENGTH,this.encoding=null,this.opt=r||{},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=!!t,this.noscript=!!(t||this.opt.noscript),this.state=b.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(p)),void 0===this.opt.unquotedAttributeValues&&(this.opt.unquotedAttributeValues=!t),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),D(this,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(t){function e(){}return e.prototype=t,new e}),Object.keys||(Object.keys=function(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e}),a.prototype={end:function(){C(this)},write:function(t){if(this.error)throw this.error;if(this.closed)return _(this,"Cannot write after close. Assign an onready handler.");if(null===t)return C(this);"object"==typeof t&&(t=t.toString());for(var r=0,n="";n=L(t,r++),this.c=n,n;)switch(this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++),this.state){case b.BEGIN:if(this.state=b.BEGIN_WHITESPACE,"\uFEFF"===n)continue;R(this,n);continue;case b.BEGIN_WHITESPACE:R(this,n);continue;case b.TEXT:if(this.sawRoot&&!this.closedRoot){for(var i=r-1;n&&"<"!==n&&"&"!==n;)(n=L(t,r++))&&this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++);this.textNode+=t.substring(i,r-1)}"<"!==n||this.sawRoot&&this.closedRoot&&!this.strict?(g(n)||this.sawRoot&&!this.closedRoot||x(this,"Text data outside of root node."),"&"===n?this.state=b.TEXT_ENTITY:this.textNode+=n):(this.state=b.OPEN_WAKA,this.startTagPosition=this.position);continue;case b.SCRIPT:"<"===n?this.state=b.SCRIPT_ENDING:this.script+=n;continue;case b.SCRIPT_ENDING:"/"===n?this.state=b.CLOSE_TAG:(this.script+="<"+n,this.state=b.SCRIPT);continue;case b.OPEN_WAKA:"!"===n?(this.state=b.SGML_DECL,this.sgmlDecl=""):g(n)||(w(d,n)?(this.state=b.OPEN_TAG,this.tagName=n):"/"===n?(this.state=b.CLOSE_TAG,this.tagName=""):"?"===n?(this.state=b.PROC_INST,this.procInstName=this.procInstBody=""):(x(this,"Unencoded <"),this.startTagPosition+1<this.position&&(n=Array(this.position-this.startTagPosition).join(" ")+n),this.textNode+="<"+n,this.state=b.TEXT));continue;case b.SGML_DECL:if(this.sgmlDecl+n==="--"){this.state=b.COMMENT,this.comment="",this.sgmlDecl="";continue}this.doctype&&!0!==this.doctype&&this.sgmlDecl?(this.state=b.DOCTYPE_DTD,this.doctype+="<!"+this.sgmlDecl+n,this.sgmlDecl=""):"[CDATA["===(this.sgmlDecl+n).toUpperCase()?(v(this,"onopencdata"),this.state=b.CDATA,this.sgmlDecl="",this.cdata=""):"DOCTYPE"===(this.sgmlDecl+n).toUpperCase()?(this.state=b.DOCTYPE,(this.doctype||this.sawRoot)&&x(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===n?(v(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=b.TEXT):(T(n)&&(this.state=b.SGML_DECL_QUOTED),this.sgmlDecl+=n);continue;case b.SGML_DECL_QUOTED:n===this.q&&(this.state=b.SGML_DECL,this.q=""),this.sgmlDecl+=n;continue;case b.DOCTYPE:">"===n?(this.state=b.TEXT,v(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=n,"["===n?this.state=b.DOCTYPE_DTD:T(n)&&(this.state=b.DOCTYPE_QUOTED,this.q=n));continue;case b.DOCTYPE_QUOTED:this.doctype+=n,n===this.q&&(this.q="",this.state=b.DOCTYPE);continue;case b.DOCTYPE_DTD:"]"===n?(this.doctype+=n,this.state=b.DOCTYPE):"<"===n?(this.state=b.OPEN_WAKA,this.startTagPosition=this.position):T(n)?(this.doctype+=n,this.state=b.DOCTYPE_DTD_QUOTED,this.q=n):this.doctype+=n;continue;case b.DOCTYPE_DTD_QUOTED:this.doctype+=n,n===this.q&&(this.state=b.DOCTYPE_DTD,this.q="");continue;case b.COMMENT:"-"===n?this.state=b.COMMENT_ENDING:this.comment+=n;continue;case b.COMMENT_ENDING:"-"===n?(this.state=b.COMMENT_ENDED,this.comment=O(this.opt,this.comment),this.comment&&v(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+n,this.state=b.COMMENT);continue;case b.COMMENT_ENDED:">"!==n?(x(this,"Malformed comment"),this.comment+="--"+n,this.state=b.COMMENT):this.doctype&&!0!==this.doctype?this.state=b.DOCTYPE_DTD:this.state=b.TEXT;continue;case b.CDATA:for(var i=r-1;n&&"]"!==n;)(n=L(t,r++))&&this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++);this.cdata+=t.substring(i,r-1),"]"===n&&(this.state=b.CDATA_ENDING);continue;case b.CDATA_ENDING:"]"===n?this.state=b.CDATA_ENDING_2:(this.cdata+="]"+n,this.state=b.CDATA);continue;case b.CDATA_ENDING_2:">"===n?(this.cdata&&v(this,"oncdata",this.cdata),v(this,"onclosecdata"),this.cdata="",this.state=b.TEXT):"]"===n?this.cdata+="]":(this.cdata+="]]"+n,this.state=b.CDATA);continue;case b.PROC_INST:"?"===n?this.state=b.PROC_INST_ENDING:g(n)?this.state=b.PROC_INST_BODY:this.procInstName+=n;continue;case b.PROC_INST_BODY:!this.procInstBody&&g(n)||("?"===n?this.state=b.PROC_INST_ENDING:this.procInstBody+=n);continue;case b.PROC_INST_ENDING:if(">"===n){let t={name:this.procInstName,body:this.procInstBody};!function(t,e){if(t.strict&&t.encoding&&e&&"xml"===e.name){let s,a;var r,n,i,o=(n=(r=e.body)&&r.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i))?n[2]:null;o&&(i=t.encoding,s=I(i),a=I(o),s&&a&&("utf16"===a?"utf16le"!==s&&"utf16be"!==s:s!==a))&&x(t,"XML declaration encoding "+o+" does not match detected stream encoding "+t.encoding.toUpperCase())}}(this,t),v(this,"onprocessinginstruction",t),this.procInstName=this.procInstBody="",this.state=b.TEXT}else this.procInstBody+="?"+n,this.state=b.PROC_INST_BODY;continue;case b.OPEN_TAG:w(f,n)?this.tagName+=n:(!function(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,r=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(r.ns=e.ns),t.attribList.length=0,v(t,"onopentagstart",r)}(this),">"===n?S(this):"/"===n?this.state=b.OPEN_TAG_SLASH:(g(n)||x(this,"Invalid character in tag name"),this.state=b.ATTRIB));continue;case b.OPEN_TAG_SLASH:">"===n?(S(this,!0),F(this)):(x(this,"Forward-slash in opening tag not followed by >"),this.state=b.ATTRIB);continue;case b.ATTRIB:g(n)||(">"===n?S(this):"/"===n?this.state=b.OPEN_TAG_SLASH:w(d,n)?(this.attribName=n,this.attribValue="",this.state=b.ATTRIB_NAME):x(this,"Invalid attribute name"));continue;case b.ATTRIB_NAME:"="===n?this.state=b.ATTRIB_VALUE:">"===n?(x(this,"Attribute without value"),this.attribValue=this.attribName,P(this),S(this)):g(n)?this.state=b.ATTRIB_NAME_SAW_WHITE:w(f,n)?this.attribName+=n:x(this,"Invalid attribute name");continue;case b.ATTRIB_NAME_SAW_WHITE:if("="===n)this.state=b.ATTRIB_VALUE;else{if(g(n))continue;x(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",v(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===n?S(this):w(d,n)?(this.attribName=n,this.state=b.ATTRIB_NAME):(x(this,"Invalid attribute name"),this.state=b.ATTRIB)}continue;case b.ATTRIB_VALUE:g(n)||(T(n)?(this.q=n,this.state=b.ATTRIB_VALUE_QUOTED):(this.opt.unquotedAttributeValues||_(this,"Unquoted attribute value"),this.state=b.ATTRIB_VALUE_UNQUOTED,this.attribValue=n));continue;case b.ATTRIB_VALUE_QUOTED:if(n!==this.q){"&"===n?this.state=b.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=n;continue}P(this),this.q="",this.state=b.ATTRIB_VALUE_CLOSED;continue;case b.ATTRIB_VALUE_CLOSED:g(n)?this.state=b.ATTRIB:">"===n?S(this):"/"===n?this.state=b.OPEN_TAG_SLASH:w(d,n)?(x(this,"No whitespace between attributes"),this.attribName=n,this.attribValue="",this.state=b.ATTRIB_NAME):x(this,"Invalid attribute name");continue;case b.ATTRIB_VALUE_UNQUOTED:if(!(">"===(o=n)||g(o))){"&"===n?this.state=b.ATTRIB_VALUE_ENTITY_U:this.attribValue+=n;continue}P(this),">"===n?S(this):this.state=b.ATTRIB;continue;case b.CLOSE_TAG:this.tagName?">"===n?F(this):w(f,n)?this.tagName+=n:this.script?(this.script+="</"+this.tagName+n,this.tagName="",this.state=b.SCRIPT):(g(n)||x(this,"Invalid tagname in closing tag"),this.state=b.CLOSE_TAG_SAW_WHITE):g(n)||(w(d,n)?this.tagName=n:this.script?(this.script+="</"+n,this.state=b.SCRIPT):x(this,"Invalid tagname in closing tag."));continue;case b.CLOSE_TAG_SAW_WHITE:if(g(n))continue;">"===n?F(this):x(this,"Invalid characters in closing tag");continue;case b.TEXT_ENTITY:case b.ATTRIB_VALUE_ENTITY_Q:case b.ATTRIB_VALUE_ENTITY_U:switch(this.state){case b.TEXT_ENTITY:a=b.TEXT,u="textNode";break;case b.ATTRIB_VALUE_ENTITY_Q:a=b.ATTRIB_VALUE_QUOTED,u="attribValue";break;case b.ATTRIB_VALUE_ENTITY_U:a=b.ATTRIB_VALUE_UNQUOTED,u="attribValue"}if(";"===n){var o,a,u,h=function(t){var e,r=t.entity,n=r.toLowerCase(),i="";return t.ENTITIES[r]?t.ENTITIES[r]:t.ENTITIES[n]?t.ENTITIES[n]:("#"===(r=n).charAt(0)&&(i="x"===r.charAt(1)?(e=parseInt(r=r.slice(2),16)).toString(16):(e=parseInt(r=r.slice(1),10)).toString(10)),r=r.replace(/^0+/,""),isNaN(e)||i.toLowerCase()!==r||e<0||e>1114111)?(x(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e)}(this);this.opt.unparsedEntities&&!Object.values(e.XML_ENTITIES).includes(h)?((this.entityCount+=1)>this.opt.maxEntityCount&&_(this,"Parsed entity count exceeds max entity count"),(this.entityDepth+=1)>this.opt.maxEntityDepth&&_(this,"Parsed entity depth exceeds max entity depth"),this.entity="",this.state=a,this.write(h),this.entityDepth-=1):(this[u]+=h,this.entity="",this.state=a)}else w(this.entity.length?m:y,n)?this.entity+=n:(x(this,"Invalid character in entity name"),this[u]+="&"+this.entity+n,this.entity="",this.state=a);continue;default:throw Error(this,"Unknown state: "+this.state)}return this.position>=this.bufferCheckPosition&&function(t){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),n=0,i=0,o=s.length;i<o;i++){var a=t[s[i]].length;if(a>r)switch(s[i]){case"textNode":N(t);break;case"cdata":v(t,"oncdata",t.cdata),t.cdata="";break;case"script":v(t,"onscript",t.script),t.script="";break;default:_(t,"Max buffer length exceeded: "+s[i])}n=Math.max(n,a)}t.bufferCheckPosition=e.MAX_BUFFER_LENGTH-n+t.position}(this),this},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){N(this),""!==this.cdata&&(v(this,"oncdata",this.cdata),this.cdata=""),""!==this.script&&(v(this,"onscript",this.script),this.script="")}};try{o=t.r(88947).Stream}catch(t){o=function(){}}o||(o=function(){});var u=e.EVENTS.filter(function(t){return"error"!==t&&"end"!==t});function h(t,e){if(!(this instanceof h))return new h(t,e);o.apply(this),this._parser=new a(t,e),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit("end")},this._parser.onerror=function(t){r.emit("error",t),r._parser.error=null},this._decoder=null,this._decoderBuffer=null,u.forEach(function(t){Object.defineProperty(r,"on"+t,{get:function(){return r._parser["on"+t]},set:function(e){if(!e)return r.removeAllListeners(t),r._parser["on"+t]=e,e;r.on(t,e)},enumerable:!0,configurable:!1})})}h.prototype=Object.create(o.prototype,{constructor:{value:h}}),h.prototype._decodeBuffer=function(t,e){if(this._decoderBuffer&&(t=Buffer.concat([this._decoderBuffer,t]),this._decoderBuffer=null),!this._decoder){var r=function(t,e){if(t.length>=2){if(255===t[0]&&254===t[1])return"utf-16le";if(254===t[0]&&255===t[1])return"utf-16be"}return t.length>=3&&239===t[0]&&187===t[1]&&191===t[2]?"utf8":t.length>=4?60===t[0]&&0===t[1]&&63===t[2]&&0===t[3]?"utf-16le":0===t[0]&&60===t[1]&&0===t[2]&&63===t[3]?"utf-16be":"utf8":e?"utf8":null}(t,e);if(!r)return this._decoderBuffer=t,"";this._parser.encoding=r,this._decoder=new TextDecoder(r)}return this._decoder.decode(t,{stream:!e})},h.prototype.write=function(t){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(t))t=this._decodeBuffer(t,!1);else if(this._decoderBuffer){var e=this._decodeBuffer(Buffer.alloc(0),!0);e&&(this._parser.write(e),this.emit("data",e))}return this._parser.write(t.toString()),this.emit("data",t),!0},h.prototype.end=function(t){if(t&&t.length&&this.write(t),this._decoderBuffer){var e=this._decodeBuffer(Buffer.alloc(0),!0);e&&(this._parser.write(e),this.emit("data",e))}else if(this._decoder){var r=this._decoder.decode();r&&(this._parser.write(r),this.emit("data",r))}return this._parser.end(),!0},h.prototype.on=function(t,e){var r=this;return r._parser["on"+t]||-1===u.indexOf(t)||(r._parser["on"+t]=function(){var e=1==arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),r.emit.apply(r,e)}),o.prototype.on.call(r,t,e)};var l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",p={xml:l,xmlns:c},d=/[:_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]/,f=/[:_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-]/,y=/[#:_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]/,m=/[#:_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 g(t){return" "===t||"\n"===t||"\r"===t||" "===t}function T(t){return'"'===t||"'"===t}function w(t,e){return t.test(e)}var b=0;for(var E in e.STATE={BEGIN:b++,BEGIN_WHITESPACE:b++,TEXT:b++,TEXT_ENTITY:b++,OPEN_WAKA:b++,SGML_DECL:b++,SGML_DECL_QUOTED:b++,DOCTYPE:b++,DOCTYPE_QUOTED:b++,DOCTYPE_DTD:b++,DOCTYPE_DTD_QUOTED:b++,COMMENT_STARTING:b++,COMMENT:b++,COMMENT_ENDING:b++,COMMENT_ENDED:b++,CDATA:b++,CDATA_ENDING:b++,CDATA_ENDING_2:b++,PROC_INST:b++,PROC_INST_BODY:b++,PROC_INST_ENDING:b++,OPEN_TAG:b++,OPEN_TAG_SLASH:b++,ATTRIB:b++,ATTRIB_NAME:b++,ATTRIB_NAME_SAW_WHITE:b++,ATTRIB_VALUE:b++,ATTRIB_VALUE_QUOTED:b++,ATTRIB_VALUE_CLOSED:b++,ATTRIB_VALUE_UNQUOTED:b++,ATTRIB_VALUE_ENTITY_Q:b++,ATTRIB_VALUE_ENTITY_U:b++,CLOSE_TAG:b++,CLOSE_TAG_SAW_WHITE:b++,SCRIPT:b++,SCRIPT_ENDING:b++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.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(e.ENTITIES).forEach(function(t){var r=e.ENTITIES[t],n="number"==typeof r?String.fromCharCode(r):r;e.ENTITIES[t]=n}),e.STATE)e.STATE[e.STATE[E]]=E;function D(t,e,r){t[e]&&t[e](r)}function I(t){return t?t.toLowerCase().replace(/[^a-z0-9]/g,""):null}function v(t,e,r){t.textNode&&N(t),D(t,e,r)}function N(t){t.textNode=O(t.opt,t.textNode),t.textNode&&D(t,"ontext",t.textNode),t.textNode=""}function O(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function _(t,e){return N(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),t.error=e=Error(e),D(t,"onerror",e),t}function C(t){return t.sawRoot&&!t.closedRoot&&x(t,"Unclosed root tag"),t.state!==b.BEGIN&&t.state!==b.BEGIN_WHITESPACE&&t.state!==b.TEXT&&_(t,"Unexpected end"),N(t),t.c="",t.closed=!0,D(t,"onend"),a.call(t,t.strict,t.opt),t}function x(t,e){if("object"!=typeof t||!(t instanceof a))throw Error("bad call to strictFail");t.strict&&_(t,e)}function A(t,e){var r=0>t.indexOf(":")?["",t]:t.split(":"),n=r[0],i=r[1];return e&&"xmlns"===t&&(n="xmlns",i=""),{prefix:n,local:i}}function P(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName)){t.attribName=t.attribValue="";return}if(t.opt.xmlns){var e=A(t.attribName,!0),r=e.prefix,n=e.local;if("xmlns"===r)if("xml"===n&&t.attribValue!==l)x(t,"xml: prefix must be bound to "+l+"\nActual: "+t.attribValue);else if("xmlns"===n&&t.attribValue!==c)x(t,"xmlns: prefix must be bound to "+c+"\nActual: "+t.attribValue);else{var i=t.tag,o=t.tags[t.tags.length-1]||t;i.ns===o.ns&&(i.ns=Object.create(o.ns)),i.ns[n]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,v(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}function S(t,e){if(t.opt.xmlns){var r=t.tag,n=A(t.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(x(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),r.uri=n.prefix);var i=t.tags[t.tags.length-1]||t;r.ns&&i.ns!==r.ns&&Object.keys(r.ns).forEach(function(e){v(t,"onopennamespace",{prefix:e,uri:r.ns[e]})});for(var o=0,s=t.attribList.length;o<s;o++){var a=t.attribList[o],u=a[0],h=a[1],l=A(u,!0),c=l.prefix,p=l.local,d=""===c?"":r.ns[c]||"",f={name:u,value:h,prefix:c,local:p,uri:d};c&&"xmlns"!==c&&!d&&(x(t,"Unbound namespace prefix: "+JSON.stringify(c)),f.uri=c),t.tag.attributes[u]=f,v(t,"onattribute",f)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),v(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=b.TEXT:t.state=b.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function F(t){if(!t.tagName){x(t,"Weird empty close tag."),t.textNode+="</>",t.state=b.TEXT;return}if(t.script){if("script"!==t.tagName){t.script+="</"+t.tagName+">",t.tagName="",t.state=b.SCRIPT;return}v(t,"onscript",t.script),t.script=""}var e=t.tags.length,r=t.tagName;t.strict||(r=r[t.looseCase]());for(var n=r;e--;)if(t.tags[e].name!==n)x(t,"Unexpected close tag");else break;if(e<0){x(t,"Unmatched closing tag: "+t.tagName),t.textNode+="</"+t.tagName+">",t.state=b.TEXT;return}t.tagName=r;for(var i=t.tags.length;i-- >e;){var o=t.tag=t.tags.pop();t.tagName=t.tag.name,v(t,"onclosetag",t.tagName);var s={};for(var a in o.ns)s[a]=o.ns[a];var u=t.tags[t.tags.length-1]||t;t.opt.xmlns&&o.ns!==u.ns&&Object.keys(o.ns).forEach(function(e){var r=o.ns[e];v(t,"onclosenamespace",{prefix:e,uri:r})})}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=b.TEXT}function R(t,e){"<"===e?(t.state=b.OPEN_WAKA,t.startTagPosition=t.position):g(e)||(x(t,"Non-whitespace before first tag."),t.textNode=e,t.state=b.TEXT)}function L(t,e){var r="";return e<t.length&&(r=t.charAt(e)),r}b=e.STATE,String.fromCodePoint||(r=String.fromCharCode,n=Math.floor,i=function(){var t,e,i=[],o=-1,s=arguments.length;if(!s)return"";for(var a="";++o<s;){var u=Number(arguments[o]);if(!isFinite(u)||u<0||u>1114111||n(u)!==u)throw RangeError("Invalid code point: "+u);u<=65535?i.push(u):(u-=65536,t=(u>>10)+55296,e=u%1024+56320,i.push(t,e)),(o+1===s||i.length>16384)&&(a+=r.apply(null,i),i.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:i,configurable:!0,writable:!0}):String.fromCodePoint=i)}(r)},19922,(t,e,r)=>{(function(){"use strict";r.stripBOM=function(t){return"\uFEFF"===t[0]?t.substring(1):t}}).call(t.e)},31028,(t,e,r)=>{(function(){"use strict";var t;t=new RegExp(/(?!xmlns)^.*:/),r.normalize=function(t){return t.toLowerCase()},r.firstCharLowerCase=function(t){return t.charAt(0).toLowerCase()+t.slice(1)},r.stripPrefix=function(e){return e.replace(t,"")},r.parseNumbers=function(t){return isNaN(t)||(t=t%1==0?parseInt(t,10):parseFloat(t)),t},r.parseBooleans=function(t){return/^(?:true|false)$/i.test(t)&&(t="true"===t.toLowerCase()),t}}).call(t.e)},59678,(t,e,r)=>{(function(){"use strict";var e,n,i,o,s,a,u,h,l=function(t,e){return function(){return t.apply(e,arguments)}},c=function(t,e){for(var r in e)p.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},p={}.hasOwnProperty;u=t.r(183),o=t.r(27699),e=t.r(19922),a=t.r(31028),h=t.r(37464).setImmediate,n=t.r(22605).defaults,s=function(t,e,r){var n,i;for(n=0,i=t.length;n<i;n++)e=(0,t[n])(e,r);return e},i=function(t,e,r){var n;return(n=Object.create(null)).value=r,n.writable=!0,n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)},r.Parser=function(t){function o(t){var e,i,o;if(this.parseStringPromise=l(this.parseStringPromise,this),this.parseString=l(this.parseString,this),this.reset=l(this.reset,this),this.assignOrPush=l(this.assignOrPush,this),this.processAsync=l(this.processAsync,this),!(this instanceof r.Parser))return new r.Parser(t);for(e in this.options={},i=n["0.2"])p.call(i,e)&&(o=i[e],this.options[e]=o);for(e in t)p.call(t,e)&&(o=t[e],this.options[e]=o);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(a.normalize)),this.reset()}return c(o,t),o.prototype.processAsync=function(){var t;try{if(this.remaining.length<=this.options.chunkSize)return t=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(t),this.saxParser.close();return t=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(t),h(this.processAsync)}catch(t){if(!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(t)}},o.prototype.assignOrPush=function(t,e,r){return e in t?(t[e]instanceof Array||i(t,e,[t[e]]),t[e].push(r)):this.options.explicitArray?i(t,e,[r]):i(t,e,r)},o.prototype.reset=function(){var t,e,r,n,o,a,h,l,c;return this.removeAllListeners(),this.saxParser=u.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(o=this,function(t){if(o.saxParser.resume(),!o.saxParser.errThrown)return o.saxParser.errThrown=!0,o.emit("error",t)}),this.saxParser.onend=(a=this,function(){if(!a.saxParser.ended)return a.saxParser.ended=!0,a.emit("end",a.resultObject)}),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,n=[],t=this.options.attrkey,e=this.options.charkey,this.saxParser.onopentag=(h=this,function(r){var o,a,u,l,c;if((u={})[e]="",!h.options.ignoreAttrs)for(o in c=r.attributes)p.call(c,o)&&(t in u||h.options.mergeAttrs||(u[t]={}),a=h.options.attrValueProcessors?s(h.options.attrValueProcessors,r.attributes[o],o):r.attributes[o],l=h.options.attrNameProcessors?s(h.options.attrNameProcessors,o):o,h.options.mergeAttrs?h.assignOrPush(u,l,a):i(u[t],l,a));return u["#name"]=h.options.tagNameProcessors?s(h.options.tagNameProcessors,r.name):r.name,h.options.xmlns&&(u[h.options.xmlnskey]={uri:r.uri,local:r.local}),n.push(u)}),this.saxParser.onclosetag=(l=this,function(){var t,r,o,a,u,h,c,d,f,y,m;if(u=(h=n.pop())["#name"],l.options.explicitChildren&&l.options.preserveChildrenOrder||delete h["#name"],!0===h.cdata&&(t=h.cdata,delete h.cdata),f=n[n.length-1],h[e].match(/^\s*$/)&&!t?(r=h[e],delete h[e]):(l.options.trim&&(h[e]=h[e].trim()),l.options.normalize&&(h[e]=h[e].replace(/\s{2,}/g," ").trim()),h[e]=l.options.valueProcessors?s(l.options.valueProcessors,h[e],u):h[e],1===Object.keys(h).length&&e in h&&!l.EXPLICIT_CHARKEY&&(h=h[e])),"object"==typeof(m=h)&&null!=m&&0===Object.keys(m).length&&(h="function"==typeof l.options.emptyTag?l.options.emptyTag():""!==l.options.emptyTag?l.options.emptyTag:r),null!=l.options.validator&&(y="/"+(function(){var t,e,r;for(t=0,r=[],e=n.length;t<e;t++)a=n[t],r.push(a["#name"]);return r})().concat(u).join("/"),!function(){try{h=l.options.validator(y,f&&f[u],h)}catch(t){return l.emit("error",t)}}()),l.options.explicitChildren&&!l.options.mergeAttrs&&"object"==typeof h)if(l.options.preserveChildrenOrder){if(f){for(o in f[l.options.childkey]=f[l.options.childkey]||[],c={},h)p.call(h,o)&&i(c,o,h[o]);f[l.options.childkey].push(c),delete h["#name"],1===Object.keys(h).length&&e in h&&!l.EXPLICIT_CHARKEY&&(h=h[e])}}else a={},l.options.attrkey in h&&(a[l.options.attrkey]=h[l.options.attrkey],delete h[l.options.attrkey]),!l.options.charsAsChildren&&l.options.charkey in h&&(a[l.options.charkey]=h[l.options.charkey],delete h[l.options.charkey]),Object.getOwnPropertyNames(h).length>0&&(a[l.options.childkey]=h),h=a;return n.length>0?l.assignOrPush(f,u,h):(l.options.explicitRoot&&(d=h,i(h={},u,d)),l.resultObject=h,l.saxParser.ended=!0,l.emit("end",l.resultObject))}),c=this,r=function(t){var r,i;if(i=n[n.length-1])return i[e]+=t,c.options.explicitChildren&&c.options.preserveChildrenOrder&&c.options.charsAsChildren&&(c.options.includeWhiteChars||""!==t.replace(/\\n/g,"").trim())&&(i[c.options.childkey]=i[c.options.childkey]||[],(r={"#name":"__text__"})[e]=t,c.options.normalize&&(r[e]=r[e].replace(/\s{2,}/g," ").trim()),i[c.options.childkey].push(r)),i},this.saxParser.ontext=r,this.saxParser.oncdata=function(t){var e;if(e=r(t))return e.cdata=!0}},o.prototype.parseString=function(t,r){null!=r&&"function"==typeof r&&(this.on("end",function(t){return this.reset(),r(null,t)}),this.on("error",function(t){return this.reset(),r(t)}));try{if(t=t.toString(),""===t.trim())return this.emit("end",null),!0;if(t=e.stripBOM(t),this.options.async)return this.remaining=t,h(this.processAsync),this.saxParser;return this.saxParser.write(t).close()}catch(t){if(!(this.saxParser.errThrown||this.saxParser.ended))return this.emit("error",t),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw t}},o.prototype.parseStringPromise=function(t){var e;return new Promise((e=this,function(r,n){return e.parseString(t,function(t,e){return t?n(t):r(e)})}))},o}(o),r.parseString=function(t,e,n){var i,o;return null!=n?("function"==typeof n&&(i=n),"object"==typeof e&&(o=e)):("function"==typeof e&&(i=e),o={}),new r.Parser(o).parseString(t,i)},r.parseStringPromise=function(t,e){var n;return"object"==typeof e&&(n=e),new r.Parser(n).parseStringPromise(t)}}).call(t.e)},38856,(t,e,r)=>{(function(){"use strict";var e,n,i,o,s=function(t,e){for(var r in e)a.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},a={}.hasOwnProperty;n=t.r(22605),e=t.r(50717),i=t.r(59678),o=t.r(31028),r.defaults=n.defaults,r.processors=o,r.ValidationError=function(t){function e(t){this.message=t}return s(e,t),e}(Error),r.Builder=e.Builder,r.Parser=i.Parser,r.parseString=i.parseString,r.parseStringPromise=i.parseStringPromise}).call(t.e)},4208,t=>{"use strict";var e=t.i(22734),r=t.i(30077),n=t.i(38856),i=t.i(96524),o=t.i(28427);let s=new n.default.Parser;async function a(t){let e=null;try{let e=await s.parseStringPromise(t);return e&&e.ComicInfo?e.ComicInfo:null}catch(t){e=t}finally{e&&console.error("Error al parsear XML:",e)}return null}async function u(t){let e=null;try{let e=t.replace(/^\//,""),n=await o.default.send(new i.GetObjectCommand({Bucket:o.R2_BUCKET,Key:e})),s=Buffer.from(await n.Body.transformToByteArray()),u=new r.default(s).getEntry("ComicInfo.xml");if(!u)return console.warn(`ComicInfo.xml no encontrado en: ${t}`),null;let h=u.getData().toString("utf8");return await a(h)}catch(t){e=t}finally{e&&console.error(`Error extrayendo metadatos desde R2: ${t}`,e)}return null}async function h(t){let n=null;try{if(!e.default.existsSync(t))return console.warn(`Archivo no encontrado: ${t}`),null;let n=new r.default(t).getEntry("ComicInfo.xml");if(!n)return console.warn(`ComicInfo.xml no encontrado en: ${t}`),null;let i=n.getData().toString("utf8");return await a(i)}catch(t){n=t}finally{n&&console.error(`Error extrayendo metadatos en: ${t}`,n)}return null}async function l(t,e){let r=null;try{let r,n;if(!(r="cloud"===e?await u(t):await h(t)))return null;let i={series:(n=t=>r[t]&&r[t][0]||null)("Series"),title:n("Title"),number:n("Number")?parseFloat(n("Number")):null,count:n("Count")?parseInt(n("Count"),10):null,publisher:n("Publisher"),imprint:n("Imprint"),languageISO:n("LanguageISO"),format:n("Format"),ageRating:n("AgeRating"),communityRating:n("CommunityRating")?parseFloat(n("CommunityRating")):null,writer:n("Writer"),penciller:n("Penciller"),inker:n("Inker"),colorist:n("Colorist"),letterer:n("Letterer"),coverArtist:n("CoverArtist"),editor:n("Editor"),summary:n("Summary"),web:n("Web"),pageCount:n("PageCount")?parseInt(n("PageCount"),10):null,year:n("Year")?parseInt(n("Year"),10):null,month:n("Month")?parseInt(n("Month"),10):null,day:n("Day")?parseInt(n("Day"),10):null,gtin:n("GTIN"),mangaStyle:n("Manga")},{genres:o,tags:s}=function(t){let e=[],r=[];if(t.Genre&&t.Genre[0]){let r=t.Genre[0].split(/[;,]/).map(t=>t.trim()).filter(Boolean);e.push(...r)}if(t.Tags&&t.Tags[0]){let e=t.Tags[0].split(/[;,]/).map(t=>t.trim()).filter(Boolean);r.push(...e)}return{genres:e,tags:r}}(r);return{metadata:i,genres:o,tags:s}}catch(t){r=t}finally{r&&console.error(`Error extrayendo metadatos: ${t}`,r)}return null}t.s(["extractMetadataCbz",0,l])},96043,t=>t.a(async(e,r)=>{try{var n=t.i(24868),i=t.i(22734),o=t.i(9921),s=t.i(38856),a=t.i(96524),u=t.i(28427),h=t.i(53280);let e=new s.default.Parser,f=await (0,h.loadUnrarWasmBinary)();async function l(t){let r=null;try{let r=await e.parseStringPromise(t);return r&&r.ComicInfo?r.ComicInfo:null}catch(t){r=t}finally{r&&console.error("Error al parsear XML:",r)}return null}async function c(t){let e=null;try{let e=t.replace(/^\//,""),r=await u.default.send(new a.GetObjectCommand({Bucket:u.R2_BUCKET,Key:e})),n=Buffer.from(await r.Body.transformToByteArray()),i=await (0,o.createExtractorFromData)({data:new Uint8Array(n).buffer,wasmBinary:new Uint8Array(f).buffer});if(![...i.getFileList().fileHeaders].find(t=>"ComicInfo.xml"===t.name))return console.warn(`ComicInfo.xml no encontrado en: ${t}`),null;let s=[...i.extract({files:["ComicInfo.xml"]}).files];if(0===s.length)return console.warn(`No se pudo extraer ComicInfo.xml de: ${t}`),null;let h=Buffer.from(s[0].extraction).toString("utf8");return await l(h)}catch(t){e=t}finally{e&&console.error(`Error extrayendo metadatos desde R2: ${t}`,e)}return null}async function p(t){let e=null;try{if(!i.default.existsSync(t))return console.warn(`Archivo no encontrado: ${t}`),null;let e=await n.default.readFile(t),r=await (0,o.createExtractorFromData)({data:new Uint8Array(e).buffer,wasmBinary:new Uint8Array(f).buffer});if(![...r.getFileList().fileHeaders].find(t=>"ComicInfo.xml"===t.name))return console.warn(`ComicInfo.xml no encontrado en: ${t}`),null;let s=[...r.extract({files:["ComicInfo.xml"]}).files];if(0===s.length)return console.warn(`No se pudo extraer ComicInfo.xml de: ${t}`),null;let a=Buffer.from(s[0].extraction).toString("utf8");return await l(a)}catch(t){e=t}finally{e&&console.error(`Error extrayendo metadatos en: ${t}`,e)}return null}async function d(t,e){let r=null;try{let r,n;if(!(r="cloud"===e?await c(t):await p(t)))return null;let i={series:(n=t=>r[t]&&r[t][0]||null)("Series"),title:n("Title"),number:n("Number")?parseFloat(n("Number")):null,count:n("Count")?parseInt(n("Count"),10):null,publisher:n("Publisher"),imprint:n("Imprint"),languageISO:n("LanguageISO"),format:n("Format"),ageRating:n("AgeRating"),communityRating:n("CommunityRating")?parseFloat(n("CommunityRating")):null,writer:n("Writer"),penciller:n("Penciller"),inker:n("Inker"),colorist:n("Colorist"),letterer:n("Letterer"),coverArtist:n("CoverArtist"),editor:n("Editor"),summary:n("Summary"),web:n("Web"),pageCount:n("PageCount")?parseInt(n("PageCount"),10):null,year:n("Year")?parseInt(n("Year"),10):null,month:n("Month")?parseInt(n("Month"),10):null,day:n("Day")?parseInt(n("Day"),10):null,gtin:n("GTIN"),mangaStyle:n("Manga")},{genres:o,tags:s}=function(t){let e=[],r=[];if(t.Genre&&t.Genre[0]){let r=t.Genre[0].split(/[;,]/).map(t=>t.trim()).filter(Boolean);e.push(...r)}if(t.Tags&&t.Tags[0]){let e=t.Tags[0].split(/[;,]/).map(t=>t.trim()).filter(Boolean);r.push(...e)}return{genres:e,tags:r}}(r);return{metadata:i,genres:o,tags:s}}catch(t){r=t}finally{r&&console.error(`Error extrayendo metadatos: ${t}`,r)}return null}t.s(["extractMetadataCbr",0,d]),r()}catch(t){r(t)}},!0),73049,t=>t.a(async(e,r)=>{try{var n=t.i(26631),i=t.i(73099),o=t.i(24868),s=t.i(14747),a=t.i(4208),u=t.i(96043),h=t.i(20549),l=e([i,u,h]);[i,u,h]=l.then?(await l)():l;let p=process.env.LIB_PROVIDER||"local",d=s.default.join(process.cwd(),"tmp","checksum-status.json");async function c(t){let e=null;try{let e=await (0,i.verifySession)();if(!e)return n.NextResponse.json({error:"Unauthorized"},{status:401});if(!e.isAdmin)return n.NextResponse.json({error:"Forbidden"},{status:403});let r=await t.json().catch(()=>({})),l=r?.forceAll===!0,c=[];if(l)c=(await (0,h.listAllVolumePaths)()).map(t=>t.fullPath);else{let t=await o.default.readFile(d,"utf-8");c=JSON.parse(t).filesToIndex||[]}if(0===c.length)return n.NextResponse.json({message:"No hay archivos para extraer metadatos"});for(let t of(await (0,h.listVolumesForPaths)(c)))try{let e=function(t){let e=s.default.extname(t).toLowerCase();return".cbz"===e||".zip"===e?a.extractMetadataCbz:".cbr"===e||".rar"===e?u.extractMetadataCbr:null}(t.fullPath);if(!e){console.log(`Formato no soportado: ${t.fullPath}`);continue}let r=await e(t.fullPath,p);if(!r){console.log(`Saltando volumen sin metadatos: ${t.fullPath}`);continue}let{metadata:n,genres:i,tags:o}=r,l=await (0,h.upsertVolumeMetadataRecord)(t.fullPath,n);t.metadataId!==l.id&&await (0,h.linkVolumeMetadata)(t.id,l.id),await (0,h.replaceVolumeGenres)(t.id,i),await (0,h.replaceVolumeTags)(t.id,o),console.log(`Metadatos procesados: ${t.fullPath}`)}catch(e){console.error(`Error procesando volumen ${t.fullPath}:`,e)}return await (0,h.cleanupOrphanedGenresAndTags)(),n.NextResponse.json({message:"Metadatos procesados correctamente."})}catch(t){e=t}finally{if(e)return console.error("Error general al procesar metadatos:",e),n.NextResponse.json({error:"Error interno al procesar metadatos."},{status:500})}}t.s(["POST",0,c]),r()}catch(t){r(t)}},!1),97864,t=>t.a(async(e,r)=>{try{var n=t.i(81541),i=t.i(29879),o=t.i(7972),s=t.i(36043),a=t.i(49762),u=t.i(67882),h=t.i(41081),l=t.i(89819),c=t.i(43460),p=t.i(6359),d=t.i(26260),f=t.i(65708),y=t.i(24135),m=t.i(5316),g=t.i(89554),T=t.i(93695);t.i(16754);var w=t.i(75142),b=t.i(73049),E=e([b]);[b]=E.then?(await E)():E;let I=new n.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/admin/scan-manga/extract-meta/route",pathname:"/api/admin/scan-manga/extract-meta",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/admin/scan-manga/extract-meta/route.ts",nextConfigOutput:"standalone",userland:b,...{}}),{workAsyncStorage:v,workUnitAsyncStorage:N,serverHooks:O}=I;async function D(t,e,r){r.requestMeta&&(0,s.setRequestMeta)(t,r.requestMeta),I.isDev&&(0,s.addRequestMeta)(t,"devRequestTimingInternalsEnd",process.hrtime.bigint());let n="/api/admin/scan-manga/extract-meta/route";n=n.replace(/\/index$/,"")||"/";let o=await I.prepare(t,e,{srcPage:n,multiZoneDraftMode:!1});if(!o)return e.statusCode=400,e.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:b,deploymentId:E,params:D,nextConfig:v,parsedUrl:N,isDraftMode:O,prerenderManifest:_,routerServerContext:C,isOnDemandRevalidate:x,revalidateOnlyGenerated:A,resolvedPathname:P,clientReferenceManifest:S,serverActionsManifest:F}=o,R=(0,h.normalizeAppPath)(n),L=!!(_.dynamicRoutes[R]||_.routes[P]),M=async()=>((null==C?void 0:C.render404)?await C.render404(t,e,N,!1):e.end("This page could not be found"),null);if(L&&!O){let t=!!_.routes[P],e=_.dynamicRoutes[R];if(e&&!1===e.fallback&&!t){if(v.adapterPath)return await M();throw new T.NoFallbackError}}let j=null;!L||I.isDev||O||(j=P,j="/index"===j?"/":j);let B=!0===I.isDev||!L,U=L&&!B;F&&S&&(0,u.setManifestsSingleton)({page:n,clientReferenceManifest:S,serverActionsManifest:F});let V=t.method||"GET",k=(0,a.getTracer)(),q=k.getActiveScopeSpan(),G=!!(null==C?void 0:C.isWrappedByNextServer),Y=!!(0,s.getRequestMeta)(t,"minimalMode"),X=(0,s.getRequestMeta)(t,"incrementalCache")||await I.getIncrementalCache(t,v,_,Y);null==X||X.resetRequestCache(),globalThis.__incrementalCache=X;let H={params:D,previewProps:_.preview,renderOpts:{experimental:{authInterrupts:!!v.experimental.authInterrupts},cacheComponents:!!v.cacheComponents,supportsDynamicResponse:B,incrementalCache:X,cacheLifeProfiles:v.cacheLife,waitUntil:r.waitUntil,onClose:t=>{e.on("close",t)},onAfterTaskError:void 0,onInstrumentationRequestError:(e,r,n,i)=>I.onRequestError(t,e,n,i,C)},sharedContext:{buildId:b,deploymentId:E}},K=new l.NodeNextRequest(t),z=new l.NodeNextResponse(e),W=c.NextRequestAdapter.fromNodeNextRequest(K,(0,c.signalFromNodeResponse)(e));try{let o,s=async t=>I.handle(W,H).finally(()=>{if(!t)return;t.setAttributes({"http.status_code":e.statusCode,"next.rsc":!1});let r=k.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let i=r.get("next.route");if(i){let e=`${V} ${i}`;t.setAttributes({"next.route":i,"http.route":i,"next.span_name":e}),t.updateName(e),o&&o!==t&&(o.setAttribute("http.route",i),o.updateName(e))}else t.updateName(`${V} ${n}`)}),u=async o=>{var a,u;let h=async({previousCacheEntry:i})=>{try{if(!Y&&x&&A&&!i)return e.statusCode=404,e.setHeader("x-nextjs-cache","REVALIDATED"),e.end("This page could not be found"),null;let n=await s(o);t.fetchMetrics=H.renderOpts.fetchMetrics;let a=H.renderOpts.pendingWaitUntil;a&&r.waitUntil&&(r.waitUntil(a),a=void 0);let u=H.renderOpts.collectedTags;if(!L)return await (0,f.sendResponse)(K,z,n,H.renderOpts.pendingWaitUntil),null;{let t=await n.blob(),e=(0,y.toNodeOutgoingHttpHeaders)(n.headers);u&&(e[g.NEXT_CACHE_TAGS_HEADER]=u),!e["content-type"]&&t.type&&(e["content-type"]=t.type);let r=void 0!==H.renderOpts.collectedRevalidate&&!(H.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&H.renderOpts.collectedRevalidate,i=void 0===H.renderOpts.collectedExpire||H.renderOpts.collectedExpire>=g.INFINITE_CACHE?void 0:H.renderOpts.collectedExpire;return{value:{kind:w.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await t.arrayBuffer()),headers:e},cacheControl:{revalidate:r,expire:i}}}}catch(e){throw(null==i?void 0:i.isStale)&&await I.onRequestError(t,e,{routerKind:"App Router",routePath:n,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:x})},!1,C),e}},l=await I.handleResponse({req:t,nextConfig:v,cacheKey:j,routeKind:i.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:_,isRoutePPREnabled:!1,isOnDemandRevalidate:x,revalidateOnlyGenerated:A,responseGenerator:h,waitUntil:r.waitUntil,isMinimalMode:Y});if(!L)return null;if((null==l||null==(a=l.value)?void 0:a.kind)!==w.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(u=l.value)?void 0:u.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});Y||e.setHeader("x-nextjs-cache",x?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),O&&e.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let c=(0,y.fromNodeOutgoingHttpHeaders)(l.value.headers);return Y&&L||c.delete(g.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||e.getHeader("Cache-Control")||c.get("Cache-Control")||c.set("Cache-Control",(0,m.getCacheControlHeader)(l.cacheControl)),await (0,f.sendResponse)(K,z,new Response(l.value.body,{headers:c,status:l.value.status||200})),null};G&&q?await u(q):(o=k.getActiveScopeSpan(),await k.withPropagatedContext(t.headers,()=>k.trace(p.BaseServerSpan.handleRequest,{spanName:`${V} ${n}`,kind:a.SpanKind.SERVER,attributes:{"http.method":V,"http.target":t.url}},u),void 0,!G))}catch(e){if(e instanceof T.NoFallbackError||await I.onRequestError(t,e,{routerKind:"App Router",routePath:R,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:x})},!1,C),L)throw e;return await (0,f.sendResponse)(K,z,new Response(null,{status:500})),null}}t.s(["handler",0,D,"patchFetch",0,function(){return(0,o.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:N})},"routeModule",0,I,"serverHooks",0,O,"workAsyncStorage",0,v,"workUnitAsyncStorage",0,N]),r()}catch(t){r(t)}},!1)];
|
|
1
|
+
module.exports=[22605,(t,e,r)=>{(function(){r.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(t.e)},80998,(t,e,r)=>{(function(){var t,r,n,i=[].slice,o={}.hasOwnProperty;r=function(t){return!!t&&"[object Function]"===Object.prototype.toString.call(t)},n=function(t){var e;return!!t&&("function"==(e=typeof t)||"object"===e)},t=function(t){return r(Array.isArray)?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},e.exports.assign=function(){var t,e,n,s,a,u;if(u=arguments[0],a=2<=arguments.length?i.call(arguments,1):[],r(Object.assign))Object.assign.apply(null,arguments);else for(t=0,n=a.length;t<n;t++)if(null!=(s=a[t]))for(e in s)o.call(s,e)&&(u[e]=s[e]);return u},e.exports.isFunction=r,e.exports.isObject=n,e.exports.isArray=t,e.exports.isEmpty=function(e){var r;if(t(e))return!e.length;for(r in e)if(o.call(e,r))return!1;return!0},e.exports.isPlainObject=function(t){var e,r;return n(t)&&(r=Object.getPrototypeOf(t))&&(e=r.constructor)&&"function"==typeof e&&e instanceof e&&Function.prototype.toString.call(e)===Function.prototype.toString.call(Object)},e.exports.getValue=function(t){return r(t.valueOf)?t.valueOf():t}}).call(t.e)},11201,(t,e,r)=>{(function(){e.exports=function(){function t(){}return t.prototype.hasFeature=function(t,e){return!0},t.prototype.createDocumentType=function(t,e,r){throw Error("This DOM method is not implemented.")},t.prototype.createDocument=function(t,e,r){throw Error("This DOM method is not implemented.")},t.prototype.createHTMLDocument=function(t){throw Error("This DOM method is not implemented.")},t.prototype.getFeature=function(t,e){throw Error("This DOM method is not implemented.")},t}()}).call(t.e)},29635,(t,e,r)=>{(function(){e.exports=function(){function t(){}return t.prototype.handleError=function(t){throw Error(t)},t}()}).call(t.e)},85706,(t,e,r)=>{(function(){e.exports=function(){function t(t){this.arr=t||[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this.arr.length}}),t.prototype.item=function(t){return this.arr[t]||null},t.prototype.contains=function(t){return -1!==this.arr.indexOf(t)},t}()}).call(t.e)},74668,(t,e,r)=>{(function(){var r,n;r=t.r(29635),n=t.r(85706),e.exports=function(){function t(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new r,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(t.prototype,"parameterNames",{get:function(){return new n(Object.keys(this.defaultParams))}}),t.prototype.getParameter=function(t){return this.params.hasOwnProperty(t)?this.params[t]:null},t.prototype.canSetParameter=function(t,e){return!0},t.prototype.setParameter=function(t,e){return null!=e?this.params[t]=e:delete this.params[t]},t}()}).call(t.e)},81577,(t,e,r)=>{(function(){e.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(t.e)},52393,(t,e,r)=>{(function(){var r;r=t.r(81577),t.r(98771),e.exports=function(){function t(t,e,n){if(this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==e)throw Error("Missing attribute name. "+this.debugInfo(e));this.name=this.stringify.name(e),this.value=this.stringify.attValue(n),this.type=r.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(t.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(t){return this.value=t||""}}),Object.defineProperty(t.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(t.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(t.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"specified",{get:function(){return!0}}),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(t){return this.options.writer.attribute(this,this.options.writer.filterOptions(t))},t.prototype.debugInfo=function(t){return null==(t=t||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+t+"}, parent: <"+this.parent.name+">"},t.prototype.isEqualNode=function(t){return t.namespaceURI===this.namespaceURI&&t.prefix===this.prefix&&t.localName===this.localName&&t.value===this.value},t}()}).call(t.e)},54645,(t,e,r)=>{(function(){e.exports=function(){function t(t){this.nodes=t}return Object.defineProperty(t.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.getNamedItem=function(t){return this.nodes[t]},t.prototype.setNamedItem=function(t){var e;return e=this.nodes[t.nodeName],this.nodes[t.nodeName]=t,e||null},t.prototype.removeNamedItem=function(t){var e;return e=this.nodes[t],delete this.nodes[t],e||null},t.prototype.item=function(t){return this.nodes[Object.keys(this.nodes)[t]]||null},t.prototype.getNamedItemNS=function(t,e){throw Error("This DOM method is not implemented.")},t.prototype.setNamedItemNS=function(t){throw Error("This DOM method is not implemented.")},t.prototype.removeNamedItemNS=function(t,e){throw Error("This DOM method is not implemented.")},t}()}).call(t.e)},30825,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l=function(t,e){for(var r in e)c.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},c={}.hasOwnProperty;u=(h=t.r(80998)).isObject,a=h.isFunction,s=h.getValue,o=t.r(98771),r=t.r(81577),n=t.r(52393),i=t.r(54645),e.exports=function(t){function e(t,n,i){var o,s,a,u;if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(n),this.type=r.Element,this.attribs={},this.schemaTypeInfo=null,null!=i&&this.attribute(i),t.type===r.Document&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this,t.children)){for(s=0,a=(u=t.children).length;s<a;s++)if((o=u[s]).type===r.DocType){o.name=this.name;break}}}return l(e,t),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(e.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(e.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"id",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"className",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"classList",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new i(this.attribs)),this.attributeMap}}),e.prototype.clone=function(){var t,e,r,n;for(e in(r=Object.create(this)).isRoot&&(r.documentObject=null),r.attribs={},n=this.attribs)c.call(n,e)&&(t=n[e],r.attribs[e]=t.clone());return r.children=[],this.children.forEach(function(t){var e;return(e=t.clone()).parent=r,r.children.push(e)}),r},e.prototype.attribute=function(t,e){var r,i;if(null!=t&&(t=s(t)),u(t))for(r in t)c.call(t,r)&&(i=t[r],this.attribute(r,i));else a(e)&&(e=e.apply()),this.options.keepNullAttributes&&null==e?this.attribs[t]=new n(this,t,""):null!=e&&(this.attribs[t]=new n(this,t,e));return this},e.prototype.removeAttribute=function(t){var e,r,n;if(null==t)throw Error("Missing attribute name. "+this.debugInfo());if(Array.isArray(t=s(t)))for(r=0,n=t.length;r<n;r++)e=t[r],delete this.attribs[e];else delete this.attribs[t];return this},e.prototype.toString=function(t){return this.options.writer.element(this,this.options.writer.filterOptions(t))},e.prototype.att=function(t,e){return this.attribute(t,e)},e.prototype.a=function(t,e){return this.attribute(t,e)},e.prototype.getAttribute=function(t){return this.attribs.hasOwnProperty(t)?this.attribs[t].value:null},e.prototype.setAttribute=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getAttributeNode=function(t){return this.attribs.hasOwnProperty(t)?this.attribs[t]:null},e.prototype.setAttributeNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.removeAttributeNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getAttributeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setAttributeNS=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.removeAttributeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getAttributeNodeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setAttributeNodeNS=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagNameNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.hasAttribute=function(t){return this.attribs.hasOwnProperty(t)},e.prototype.hasAttributeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setIdAttribute=function(t,e){return this.attribs.hasOwnProperty(t)?this.attribs[t].isId:e},e.prototype.setIdAttributeNS=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setIdAttributeNode=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagNameNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByClassName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(t){var r,n,i;if(!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)||t.namespaceURI!==this.namespaceURI||t.prefix!==this.prefix||t.localName!==this.localName||t.attribs.length!==this.attribs.length)return!1;for(r=n=0,i=this.attribs.length-1;0<=i?n<=i:n>=i;r=0<=i?++n:--n)if(!this.attribs[r].isEqualNode(t.attribs[r]))return!1;return!0},e}(o)}).call(t.e)},78041,(t,e,r)=>{(function(){var r=function(t,e){for(var r in e)n.call(e,r)&&(t[r]=e[r]);function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;e.exports=function(t){function e(t){e.__super__.constructor.call(this,t),this.value=""}return r(e,t),Object.defineProperty(e.prototype,"data",{get:function(){return this.value},set:function(t){return this.value=t||""}}),Object.defineProperty(e.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(e.prototype,"textContent",{get:function(){return this.value},set:function(t){return this.value=t||""}}),e.prototype.clone=function(){return Object.create(this)},e.prototype.substringData=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.appendData=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.insertData=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.deleteData=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceData=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(t){return!!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.data===this.data},e}(t.r(98771))}).call(t.e)},56923,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=r.CData,this.value=this.stringify.cdata(n)}return n(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.cdata(this,this.options.writer.filterOptions(t))},e}(t.r(78041))}).call(t.e)},92394,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=r.Comment,this.value=this.stringify.comment(n)}return n(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.comment(this,this.options.writer.filterOptions(t))},e}(t.r(78041))}).call(t.e)},55771,(t,e,r)=>{(function(){var r,n,i,o=function(t,e){for(var r in e)s.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;i=t.r(80998).isObject,n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,o,s){var a;e.__super__.constructor.call(this,t),i(n)&&(n=(a=n).version,o=a.encoding,s=a.standalone),n||(n="1.0"),this.type=r.Declaration,this.version=this.stringify.xmlVersion(n),null!=o&&(this.encoding=this.stringify.xmlEncoding(o)),null!=s&&(this.standalone=this.stringify.xmlStandalone(s))}return o(e,t),e.prototype.toString=function(t){return this.options.writer.declaration(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},64025,(t,e,r)=>{(function(){var r,n,i=function(t,e){for(var r in e)o.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,i,o,s,a){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing DTD element name. "+this.debugInfo());if(null==i)throw Error("Missing DTD attribute name. "+this.debugInfo(n));if(!o)throw Error("Missing DTD attribute type. "+this.debugInfo(n));if(!s)throw Error("Missing DTD attribute default. "+this.debugInfo(n));if(0!==s.indexOf("#")&&(s="#"+s),!s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(a&&!s.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.name(n),this.type=r.AttributeDeclaration,this.attributeName=this.stringify.name(i),this.attributeType=this.stringify.dtdAttType(o),a&&(this.defaultValue=this.stringify.dtdAttDefault(a)),this.defaultValueType=s}return i(e,t),e.prototype.toString=function(t){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},31831,(t,e,r)=>{(function(){var r,n,i,o=function(t,e){for(var r in e)s.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;i=t.r(80998).isObject,n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,o,s){if(e.__super__.constructor.call(this,t),null==o)throw Error("Missing DTD entity name. "+this.debugInfo(o));if(null==s)throw Error("Missing DTD entity value. "+this.debugInfo(o));if(this.pe=!!n,this.name=this.stringify.name(o),this.type=r.EntityDeclaration,i(s)){if(!s.pubID&&!s.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(o));if(s.pubID&&!s.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(o));if(this.internal=!1,null!=s.pubID&&(this.pubID=this.stringify.dtdPubID(s.pubID)),null!=s.sysID&&(this.sysID=this.stringify.dtdSysID(s.sysID)),null!=s.nData&&(this.nData=this.stringify.dtdNData(s.nData)),this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(o))}else this.value=this.stringify.dtdEntityValue(s),this.internal=!0}return o(e,t),Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(e.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(e.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(e.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(e.prototype,"xmlVersion",{get:function(){return null}}),e.prototype.toString=function(t){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},78962,(t,e,r)=>{(function(){var r,n,i=function(t,e){for(var r in e)o.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,i){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing DTD element name. "+this.debugInfo());i||(i="(#PCDATA)"),Array.isArray(i)&&(i="("+i.join(",")+")"),this.name=this.stringify.name(n),this.type=r.ElementDeclaration,this.value=this.stringify.dtdElementValue(i)}return i(e,t),e.prototype.toString=function(t){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},14595,(t,e,r)=>{(function(){var r,n,i=function(t,e){for(var r in e)o.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t,n,i){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing DTD notation name. "+this.debugInfo(n));if(!i.pubID&&!i.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.name(n),this.type=r.NotationDeclaration,null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID))}return i(e,t),Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),e.prototype.toString=function(t){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(t))},e}(n)}).call(t.e)},73226,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l=function(t,e){for(var r in e)c.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},c={}.hasOwnProperty;h=t.r(80998).isObject,u=t.r(98771),r=t.r(81577),n=t.r(64025),o=t.r(31831),i=t.r(78962),s=t.r(14595),a=t.r(54645),e.exports=function(t){function e(t,n,i){var o,s,a,u,l,c;if(e.__super__.constructor.call(this,t),this.type=r.DocType,t.children){for(s=0,a=(u=t.children).length;s<a;s++)if((o=u[s]).type===r.Element){this.name=o.name;break}}this.documentObject=t,h(n)&&(n=(l=n).pubID,i=l.sysID),null==i&&(i=(c=[n,i])[0],n=c[1]),null!=n&&(this.pubID=this.stringify.dtdPubID(n)),null!=i&&(this.sysID=this.stringify.dtdSysID(i))}return l(e,t),Object.defineProperty(e.prototype,"entities",{get:function(){var t,e,n,i,o;for(e=0,i={},n=(o=this.children).length;e<n;e++)(t=o[e]).type!==r.EntityDeclaration||t.pe||(i[t.name]=t);return new a(i)}}),Object.defineProperty(e.prototype,"notations",{get:function(){var t,e,n,i,o;for(e=0,i={},n=(o=this.children).length;e<n;e++)(t=o[e]).type===r.NotationDeclaration&&(i[t.name]=t);return new a(i)}}),Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(e.prototype,"internalSubset",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),e.prototype.element=function(t,e){var r;return r=new i(this,t,e),this.children.push(r),this},e.prototype.attList=function(t,e,r,i,o){var s;return s=new n(this,t,e,r,i,o),this.children.push(s),this},e.prototype.entity=function(t,e){var r;return r=new o(this,!1,t,e),this.children.push(r),this},e.prototype.pEntity=function(t,e){var r;return r=new o(this,!0,t,e),this.children.push(r),this},e.prototype.notation=function(t,e){var r;return r=new s(this,t,e),this.children.push(r),this},e.prototype.toString=function(t){return this.options.writer.docType(this,this.options.writer.filterOptions(t))},e.prototype.ele=function(t,e){return this.element(t,e)},e.prototype.att=function(t,e,r,n,i){return this.attList(t,e,r,n,i)},e.prototype.ent=function(t,e){return this.entity(t,e)},e.prototype.pent=function(t,e){return this.pEntity(t,e)},e.prototype.not=function(t,e){return this.notation(t,e)},e.prototype.up=function(){return this.root()||this.documentObject},e.prototype.isEqualNode=function(t){return!!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.name===this.name&&t.publicId===this.publicId&&t.systemId===this.systemId},e}(u)}).call(t.e)},82924,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing raw text. "+this.debugInfo());this.type=r.Raw,this.value=this.stringify.raw(n)}return n(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.raw(this,this.options.writer.filterOptions(t))},e}(t.r(98771))}).call(t.e)},32870,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=r.Text,this.value=this.stringify.text(n)}return n(e,t),Object.defineProperty(e.prototype,"isElementContentWhitespace",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"wholeText",{get:function(){var t,e,r;for(r="",e=this.previousSibling;e;)r=e.data+r,e=e.previousSibling;for(r+=this.data,t=this.nextSibling;t;)r+=t.data,t=t.nextSibling;return r}}),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.text(this,this.options.writer.filterOptions(t))},e.prototype.splitText=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceWholeText=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e}(t.r(78041))}).call(t.e)},35394,(t,e,r)=>{(function(){var r,n=function(t,e){for(var r in e)i.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t.r(81577),e.exports=function(t){function e(t,n,i){if(e.__super__.constructor.call(this,t),null==n)throw Error("Missing instruction target. "+this.debugInfo());this.type=r.ProcessingInstruction,this.target=this.stringify.insTarget(n),this.name=this.target,i&&(this.value=this.stringify.insValue(i))}return n(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(t))},e.prototype.isEqualNode=function(t){return!!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.target===this.target},e}(t.r(78041))}).call(t.e)},84236,(t,e,r)=>{(function(){var r,n,i=function(t,e){for(var r in e)o.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t.r(98771),r=t.r(81577),e.exports=function(t){function e(t){e.__super__.constructor.call(this,t),this.type=r.Dummy}return i(e,t),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return""},e}(n)}).call(t.e)},14656,(t,e,r)=>{(function(){e.exports=function(){function t(t){this.nodes=t}return Object.defineProperty(t.prototype,"length",{get:function(){return this.nodes.length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.item=function(t){return this.nodes[t]||null},t}()}).call(t.e)},22428,(t,e,r)=>{(function(){e.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(t.e)},98771,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l,c,p,d,f,y,m,g,T,w={}.hasOwnProperty;g=(T=t.r(80998)).isObject,m=T.isFunction,y=T.isEmpty,f=T.getValue,h=null,i=null,o=null,s=null,a=null,p=null,d=null,c=null,u=null,n=null,l=null,r=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,h||(h=t.r(30825),i=t.r(56923),o=t.r(92394),s=t.r(55771),a=t.r(73226),p=t.r(82924),d=t.r(32870),c=t.r(35394),u=t.r(84236),n=t.r(81577),l=t.r(14656),t.r(54645),r=t.r(22428))}return Object.defineProperty(e.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new l(this.children)),this.childNodeList}}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){var t;return t=this.parent.children.indexOf(this),this.parent.children[t-1]||null}}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){var t;return t=this.parent.children.indexOf(this),this.parent.children[t+1]||null}}),Object.defineProperty(e.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(e.prototype,"textContent",{get:function(){var t,e,r,i,o;if(this.nodeType!==n.Element&&this.nodeType!==n.DocumentFragment)return null;for(e=0,o="",r=(i=this.children).length;e<r;e++)(t=i[e]).textContent&&(o+=t.textContent);return o},set:function(t){throw Error("This DOM method is not implemented."+this.debugInfo())}}),e.prototype.setParent=function(t){var e,r,n,i,o;for(this.parent=t,t&&(this.options=t.options,this.stringify=t.stringify),i=this.children,o=[],r=0,n=i.length;r<n;r++)e=i[r],o.push(e.setParent(this));return o},e.prototype.element=function(t,e,r){var n,i,o,s,a,u,h,l,c,p,d;if(u=null,null===e&&null==r&&(e=(c=[{},null])[0],r=c[1]),null==e&&(e={}),g(e=f(e))||(r=(p=[e,r])[0],e=p[1]),null!=t&&(t=f(t)),Array.isArray(t))for(o=0,h=t.length;o<h;o++)i=t[o],u=this.element(i);else if(m(t))u=this.element(t.apply());else if(g(t)){for(a in t)if(w.call(t,a))if(m(d=t[a])&&(d=d.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===a.indexOf(this.stringify.convertAttKey))u=this.attribute(a.substr(this.stringify.convertAttKey.length),d);else if(!this.options.separateArrayItems&&Array.isArray(d)&&y(d))u=this.dummy();else if(g(d)&&y(d))u=this.element(a);else if(this.options.keepNullNodes||null!=d)if(!this.options.separateArrayItems&&Array.isArray(d))for(s=0,l=d.length;s<l;s++)i=d[s],(n={})[a]=i,u=this.element(n);else g(d)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===a.indexOf(this.stringify.convertTextKey)?u=this.element(d):(u=this.element(a)).element(d):u=this.element(a,d);else u=this.dummy()}else u=this.options.keepNullNodes||null!==r?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===t.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===t.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===t.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===t.indexOf(this.stringify.convertRawKey)?this.raw(r):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===t.indexOf(this.stringify.convertPIKey)?this.instruction(t.substr(this.stringify.convertPIKey.length),r):this.node(t,e,r):this.dummy();if(null==u)throw Error("Could not create any elements with: "+t+". "+this.debugInfo());return u},e.prototype.insertBefore=function(t,e,r){var n,i,o;if(null!=t?t.type:void 0)return t.setParent(this),e?(i=children.indexOf(e),o=children.splice(i),children.push(t),Array.prototype.push.apply(children,o)):children.push(t),t;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(t));return i=this.parent.children.indexOf(this),o=this.parent.children.splice(i),n=this.parent.element(t,e,r),Array.prototype.push.apply(this.parent.children,o),n},e.prototype.insertAfter=function(t,e,r){var n,i,o;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(t));return i=this.parent.children.indexOf(this),o=this.parent.children.splice(i+1),n=this.parent.element(t,e,r),Array.prototype.push.apply(this.parent.children,o),n},e.prototype.remove=function(){var t;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return t=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[t,t-t+1].concat([])),this.parent},e.prototype.node=function(t,e,r){var n,i;return null!=t&&(t=f(t)),e||(e={}),g(e=f(e))||(r=(i=[e,r])[0],e=i[1]),n=new h(this,t,e),null!=r&&n.text(r),this.children.push(n),n},e.prototype.text=function(t){var e;return g(t)&&this.element(t),e=new d(this,t),this.children.push(e),this},e.prototype.cdata=function(t){var e;return e=new i(this,t),this.children.push(e),this},e.prototype.comment=function(t){var e;return e=new o(this,t),this.children.push(e),this},e.prototype.commentBefore=function(t){var e,r;return e=this.parent.children.indexOf(this),r=this.parent.children.splice(e),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.commentAfter=function(t){var e,r;return e=this.parent.children.indexOf(this),r=this.parent.children.splice(e+1),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.raw=function(t){var e;return e=new p(this,t),this.children.push(e),this},e.prototype.dummy=function(){return new u(this)},e.prototype.instruction=function(t,e){var r,n,i,o,s;if(null!=t&&(t=f(t)),null!=e&&(e=f(e)),Array.isArray(t))for(o=0,s=t.length;o<s;o++)r=t[o],this.instruction(r);else if(g(t))for(r in t)w.call(t,r)&&(n=t[r],this.instruction(r,n));else m(e)&&(e=e.apply()),i=new c(this,t,e),this.children.push(i);return this},e.prototype.instructionBefore=function(t,e){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.instructionAfter=function(t,e){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r+1),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.declaration=function(t,e,r){var i,o;return i=this.document(),o=new s(i,t,e,r),0===i.children.length?i.children.unshift(o):i.children[0].type===n.Declaration?i.children[0]=o:i.children.unshift(o),i.root()||i},e.prototype.dtd=function(t,e){var r,i,o,s,u,h,l,c,p;for(r=this.document(),i=new a(r,t,e),c=r.children,o=s=0,h=c.length;s<h;o=++s)if(c[o].type===n.DocType)return r.children[o]=i,i;for(p=r.children,o=u=0,l=p.length;u<l;o=++u)if(p[o].isRoot)return r.children.splice(o,0,i),i;return r.children.push(i),i},e.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},e.prototype.root=function(){var t;for(t=this;t;)if(t.type===n.Document)return t.rootObject;else{if(t.isRoot)return t;t=t.parent}},e.prototype.document=function(){var t;for(t=this;t;)if(t.type===n.Document)return t;else t=t.parent},e.prototype.end=function(t){return this.document().end(t)},e.prototype.prev=function(){var t;if((t=this.parent.children.indexOf(this))<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[t-1]},e.prototype.next=function(){var t;if(-1===(t=this.parent.children.indexOf(this))||t===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[t+1]},e.prototype.importDocument=function(t){var e;return(e=t.root().clone()).parent=this,e.isRoot=!1,this.children.push(e),this},e.prototype.debugInfo=function(t){var e,r;return null!=(t=t||this.name)||(null!=(e=this.parent)?e.name:void 0)?null==t?"parent: <"+this.parent.name+">":(null!=(r=this.parent)?r.name:void 0)?"node: <"+t+">, parent: <"+this.parent.name+">":"node: <"+t+">":""},e.prototype.ele=function(t,e,r){return this.element(t,e,r)},e.prototype.nod=function(t,e,r){return this.node(t,e,r)},e.prototype.txt=function(t){return this.text(t)},e.prototype.dat=function(t){return this.cdata(t)},e.prototype.com=function(t){return this.comment(t)},e.prototype.ins=function(t,e){return this.instruction(t,e)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(t,e,r){return this.declaration(t,e,r)},e.prototype.e=function(t,e,r){return this.element(t,e,r)},e.prototype.n=function(t,e,r){return this.node(t,e,r)},e.prototype.t=function(t){return this.text(t)},e.prototype.d=function(t){return this.cdata(t)},e.prototype.c=function(t){return this.comment(t)},e.prototype.r=function(t){return this.raw(t)},e.prototype.i=function(t,e){return this.instruction(t,e)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(t){return this.importDocument(t)},e.prototype.replaceChild=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.removeChild=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.appendChild=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.hasChildNodes=function(){return 0!==this.children.length},e.prototype.cloneNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.normalize=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isSupported=function(t,e){return!0},e.prototype.hasAttributes=function(){return 0!==this.attribs.length},e.prototype.compareDocumentPosition=function(t){var e;if(this===t)return 0;if(this.document()!==t.document())return e=r.Disconnected|r.ImplementationSpecific,.5>Math.random()?e|=r.Preceding:e|=r.Following,e;if(this.isAncestor(t))return r.Contains|r.Preceding;if(this.isDescendant(t))return r.Contains|r.Following;if(this.isPreceding(t))return r.Preceding;else return r.Following},e.prototype.isSameNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupPrefix=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isDefaultNamespace=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupNamespaceURI=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(t){var e,r,n;if(t.nodeType!==this.nodeType||t.children.length!==this.children.length)return!1;for(e=r=0,n=this.children.length-1;0<=n?r<=n:r>=n;e=0<=n?++r:--r)if(!this.children[e].isEqualNode(t.children[e]))return!1;return!0},e.prototype.getFeature=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setUserData=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getUserData=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.contains=function(t){return!!t&&(t===this||this.isDescendant(t))},e.prototype.isDescendant=function(t){var e,r,n,i;for(r=0,n=(i=this.children).length;r<n;r++)if(t===(e=i[r])||e.isDescendant(t))return!0;return!1},e.prototype.isAncestor=function(t){return t.isDescendant(this)},e.prototype.isPreceding=function(t){var e,r;return e=this.treePosition(t),r=this.treePosition(this),-1!==e&&-1!==r&&e<r},e.prototype.isFollowing=function(t){var e,r;return e=this.treePosition(t),r=this.treePosition(this),-1!==e&&-1!==r&&e>r},e.prototype.treePosition=function(t){var e,r;return(r=0,e=!1,this.foreachTreeNode(this.document(),function(n){if(r++,!e&&n===t)return e=!0}),e)?r:-1},e.prototype.foreachTreeNode=function(t,e){var r,n,i,o,s;for(t||(t=this.document()),n=0,i=(o=t.children).length;n<i;n++)if((s=e(r=o[n]))||(s=this.foreachTreeNode(r,e)))return s},e}()}).call(t.e)},39971,(t,e,r)=>{(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},r={}.hasOwnProperty;e.exports=function(){function e(e){var n,i,o;for(n in this.assertLegalName=t(this.assertLegalName,this),this.assertLegalChar=t(this.assertLegalChar,this),e||(e={}),this.options=e,this.options.version||(this.options.version="1.0"),i=e.stringify||{})r.call(i,n)&&(o=i[n],this[n]=o)}return e.prototype.name=function(t){return this.options.noValidation?t:this.assertLegalName(""+t||"")},e.prototype.text=function(t){return this.options.noValidation?t:this.assertLegalChar(this.textEscape(""+t||""))},e.prototype.cdata=function(t){return this.options.noValidation?t:(t=(t=""+t||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(t))},e.prototype.comment=function(t){if(this.options.noValidation)return t;if((t=""+t||"").match(/--/))throw Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},e.prototype.raw=function(t){return this.options.noValidation?t:""+t||""},e.prototype.attValue=function(t){return this.options.noValidation?t:this.assertLegalChar(this.attEscape(t=""+t||""))},e.prototype.insTarget=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.insValue=function(t){if(this.options.noValidation)return t;if((t=""+t||"").match(/\?>/))throw Error("Invalid processing instruction value: "+t);return this.assertLegalChar(t)},e.prototype.xmlVersion=function(t){if(this.options.noValidation)return t;if(!(t=""+t||"").match(/1\.[0-9]+/))throw Error("Invalid version number: "+t);return t},e.prototype.xmlEncoding=function(t){if(this.options.noValidation)return t;if(!(t=""+t||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+t);return this.assertLegalChar(t)},e.prototype.xmlStandalone=function(t){return this.options.noValidation?t:t?"yes":"no"},e.prototype.dtdPubID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdSysID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdElementValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdAttType=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdAttDefault=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdEntityValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.dtdNData=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(t){var e,r;if(this.options.noValidation)return t;if(e="","1.0"===this.options.version){if(e=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=t.match(e))throw Error("Invalid character in string: "+t+" at index "+r.index)}else if("1.1"===this.options.version&&(e=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,r=t.match(e)))throw Error("Invalid character in string: "+t+" at index "+r.index);return t},e.prototype.assertLegalName=function(t){if(this.options.noValidation)return t;if(this.assertLegalChar(t),!t.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 t},e.prototype.textEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},e.prototype.attEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},e}()}).call(t.e)},62803,(t,e,r)=>{(function(){e.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(t.e)},46845,(t,e,r)=>{(function(){var r,n,i,o={}.hasOwnProperty;i=t.r(80998).assign,r=t.r(81577),t.r(55771),t.r(73226),t.r(56923),t.r(92394),t.r(30825),t.r(82924),t.r(32870),t.r(35394),t.r(84236),t.r(64025),t.r(78962),t.r(31831),t.r(14595),n=t.r(62803),e.exports=function(){function t(t){var e,r,n;for(e in t||(t={}),this.options=t,r=t.writer||{})o.call(r,e)&&(n=r[e],this["_"+e]=this[e],this[e]=n)}return t.prototype.filterOptions=function(t){var e,r,o,s,a,u,h,l;return t||(t={}),t=i({},this.options,t),(e={writer:this}).pretty=t.pretty||!1,e.allowEmpty=t.allowEmpty||!1,e.indent=null!=(r=t.indent)?r:" ",e.newline=null!=(o=t.newline)?o:"\n",e.offset=null!=(s=t.offset)?s:0,e.dontPrettyTextNodes=null!=(a=null!=(u=t.dontPrettyTextNodes)?u:t.dontprettytextnodes)?a:0,e.spaceBeforeSlash=null!=(h=null!=(l=t.spaceBeforeSlash)?l:t.spacebeforeslash)?h:"",!0===e.spaceBeforeSlash&&(e.spaceBeforeSlash=" "),e.suppressPrettyCount=0,e.user={},e.state=n.None,e},t.prototype.indent=function(t,e,r){var n;if(!e.pretty||e.suppressPrettyCount);else if(e.pretty&&(n=(r||0)+e.offset+1)>0)return Array(n).join(e.indent);return""},t.prototype.endline=function(t,e,r){return!e.pretty||e.suppressPrettyCount?"":e.newline},t.prototype.attribute=function(t,e,r){var n;return this.openAttribute(t,e,r),n=" "+t.name+'="'+t.value+'"',this.closeAttribute(t,e,r),n},t.prototype.cdata=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<![CDATA[",e.state=n.InsideTag,i+=t.value,e.state=n.CloseTag,i+="]]>"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.comment=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!-- ",e.state=n.InsideTag,i+=t.value,e.state=n.CloseTag,i+=" -->"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.declaration=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<?xml",e.state=n.InsideTag,i+=' version="'+t.version+'"',null!=t.encoding&&(i+=' encoding="'+t.encoding+'"'),null!=t.standalone&&(i+=' standalone="'+t.standalone+'"'),e.state=n.CloseTag,i+=e.spaceBeforeSlash+"?>",i+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.docType=function(t,e,r){var i,o,s,a,u;if(r||(r=0),this.openNode(t,e,r),e.state=n.OpenTag,a=this.indent(t,e,r)+"<!DOCTYPE "+t.root().name,t.pubID&&t.sysID?a+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(a+=' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(a+=" [",a+=this.endline(t,e,r),e.state=n.InsideTag,o=0,s=(u=t.children).length;o<s;o++)i=u[o],a+=this.writeChildNode(i,e,r+1);e.state=n.CloseTag,a+="]"}return e.state=n.CloseTag,a+=e.spaceBeforeSlash+">",a+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),a},t.prototype.element=function(t,e,i){var s,a,u,h,l,c,p,d,f,y,m,g,T,w;for(f in i||(i=0),y=!1,m="",this.openNode(t,e,i),e.state=n.OpenTag,m+=this.indent(t,e,i)+"<"+t.name,g=t.attribs)o.call(g,f)&&(s=g[f],m+=this.attribute(s,e,i));if(h=0===(u=t.children.length)?null:t.children[0],0===u||t.children.every(function(t){return(t.type===r.Text||t.type===r.Raw)&&""===t.value}))e.allowEmpty?(m+=">",e.state=n.CloseTag,m+="</"+t.name+">"+this.endline(t,e,i)):(e.state=n.CloseTag,m+=e.spaceBeforeSlash+"/>"+this.endline(t,e,i));else if(e.pretty&&1===u&&(h.type===r.Text||h.type===r.Raw)&&null!=h.value)m+=">",e.state=n.InsideTag,e.suppressPrettyCount++,y=!0,m+=this.writeChildNode(h,e,i+1),e.suppressPrettyCount--,y=!1,e.state=n.CloseTag,m+="</"+t.name+">"+this.endline(t,e,i);else{if(e.dontPrettyTextNodes){for(l=0,p=(T=t.children).length;l<p;l++)if(((a=T[l]).type===r.Text||a.type===r.Raw)&&null!=a.value){e.suppressPrettyCount++,y=!0;break}}for(m+=">"+this.endline(t,e,i),e.state=n.InsideTag,c=0,d=(w=t.children).length;c<d;c++)a=w[c],m+=this.writeChildNode(a,e,i+1);e.state=n.CloseTag,m+=this.indent(t,e,i)+"</"+t.name+">",y&&e.suppressPrettyCount--,m+=this.endline(t,e,i),e.state=n.None}return this.closeNode(t,e,i),m},t.prototype.writeChildNode=function(t,e,n){switch(t.type){case r.CData:return this.cdata(t,e,n);case r.Comment:return this.comment(t,e,n);case r.Element:return this.element(t,e,n);case r.Raw:return this.raw(t,e,n);case r.Text:return this.text(t,e,n);case r.ProcessingInstruction:return this.processingInstruction(t,e,n);case r.Dummy:return"";case r.Declaration:return this.declaration(t,e,n);case r.DocType:return this.docType(t,e,n);case r.AttributeDeclaration:return this.dtdAttList(t,e,n);case r.ElementDeclaration:return this.dtdElement(t,e,n);case r.EntityDeclaration:return this.dtdEntity(t,e,n);case r.NotationDeclaration:return this.dtdNotation(t,e,n);default:throw Error("Unknown XML node type: "+t.constructor.name)}},t.prototype.processingInstruction=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<?",e.state=n.InsideTag,i+=t.target,t.value&&(i+=" "+t.value),e.state=n.CloseTag,i+=e.spaceBeforeSlash+"?>",i+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.raw=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r),e.state=n.InsideTag,i+=t.value,e.state=n.CloseTag,i+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.text=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r),e.state=n.InsideTag,i+=t.value,e.state=n.CloseTag,i+=this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.dtdAttList=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!ATTLIST",e.state=n.InsideTag,i+=" "+t.elementName+" "+t.attributeName+" "+t.attributeType,"#DEFAULT"!==t.defaultValueType&&(i+=" "+t.defaultValueType),t.defaultValue&&(i+=' "'+t.defaultValue+'"'),e.state=n.CloseTag,i+=e.spaceBeforeSlash+">"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.dtdElement=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!ELEMENT",e.state=n.InsideTag,i+=" "+t.name+" "+t.value,e.state=n.CloseTag,i+=e.spaceBeforeSlash+">"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.dtdEntity=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!ENTITY",e.state=n.InsideTag,t.pe&&(i+=" %"),i+=" "+t.name,t.value?i+=' "'+t.value+'"':(t.pubID&&t.sysID?i+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(i+=' SYSTEM "'+t.sysID+'"'),t.nData&&(i+=" NDATA "+t.nData)),e.state=n.CloseTag,i+=e.spaceBeforeSlash+">"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.dtdNotation=function(t,e,r){var i;return this.openNode(t,e,r),e.state=n.OpenTag,i=this.indent(t,e,r)+"<!NOTATION",e.state=n.InsideTag,i+=" "+t.name,t.pubID&&t.sysID?i+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.pubID?i+=' PUBLIC "'+t.pubID+'"':t.sysID&&(i+=' SYSTEM "'+t.sysID+'"'),e.state=n.CloseTag,i+=e.spaceBeforeSlash+">"+this.endline(t,e,r),e.state=n.None,this.closeNode(t,e,r),i},t.prototype.openNode=function(t,e,r){},t.prototype.closeNode=function(t,e,r){},t.prototype.openAttribute=function(t,e,r){},t.prototype.closeAttribute=function(t,e,r){},t}()}).call(t.e)},98171,(t,e,r)=>{(function(){var r=function(t,e){for(var r in e)n.call(e,r)&&(t[r]=e[r]);function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;e.exports=function(t){function e(t){e.__super__.constructor.call(this,t)}return r(e,t),e.prototype.document=function(t,e){var r,n,i,o,s;for(n=0,e=this.filterOptions(e),o="",i=(s=t.children).length;n<i;n++)r=s[n],o+=this.writeChildNode(r,e,0);return e.pretty&&o.slice(-e.newline.length)===e.newline&&(o=o.slice(0,-e.newline.length)),o},e}(t.r(46845))}).call(t.e)},58773,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h=function(t,e){for(var r in e)l.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},l={}.hasOwnProperty;u=t.r(80998).isPlainObject,i=t.r(11201),n=t.r(74668),o=t.r(98771),r=t.r(81577),a=t.r(39971),s=t.r(98171),e.exports=function(t){function e(t){e.__super__.constructor.call(this,null),this.name="#document",this.type=r.Document,this.documentURI=null,this.domConfig=new n,t||(t={}),t.writer||(t.writer=new s),this.options=t,this.stringify=new a(t)}return h(e,t),Object.defineProperty(e.prototype,"implementation",{value:new i}),Object.defineProperty(e.prototype,"doctype",{get:function(){var t,e,n,i;for(e=0,n=(i=this.children).length;e<n;e++)if((t=i[e]).type===r.DocType)return t;return null}}),Object.defineProperty(e.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(e.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(e.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(e.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===r.Declaration?this.children[0].encoding:null}}),Object.defineProperty(e.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===r.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(e.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===r.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(e.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(e.prototype,"origin",{get:function(){return null}}),Object.defineProperty(e.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(e.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(e.prototype,"contentType",{get:function(){return null}}),e.prototype.end=function(t){var e;return e={},t?u(t)&&(e=t,t=this.options.writer):t=this.options.writer,t.document(this,t.filterOptions(e))},e.prototype.toString=function(t){return this.options.writer.document(this,this.options.writer.filterOptions(t))},e.prototype.createElement=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createDocumentFragment=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createTextNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createComment=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createCDATASection=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createProcessingInstruction=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createAttribute=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createEntityReference=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.importNode=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createElementNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createAttributeNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByTagNameNS=function(t,e){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementById=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.adoptNode=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.normalizeDocument=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.renameNode=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getElementsByClassName=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createEvent=function(t){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createRange=function(){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createNodeIterator=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.createTreeWalker=function(t,e,r){throw Error("This DOM method is not implemented."+this.debugInfo())},e}(o)}).call(t.e)},37344,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l,c,p,d,f,y,m,g,T,w,b,E,D,I,v,N={}.hasOwnProperty;D=(v=t.r(80998)).isObject,E=v.isFunction,I=v.isPlainObject,b=v.getValue,r=t.r(81577),d=t.r(58773),f=t.r(30825),o=t.r(56923),s=t.r(92394),m=t.r(82924),w=t.r(32870),y=t.r(35394),c=t.r(55771),p=t.r(73226),a=t.r(64025),h=t.r(31831),u=t.r(78962),l=t.r(14595),i=t.r(52393),T=t.r(39971),g=t.r(98171),n=t.r(62803),e.exports=function(){function t(t,e,n){var i;this.name="?xml",this.type=r.Document,t||(t={}),i={},t.writer?I(t.writer)&&(i=t.writer,t.writer=new g):t.writer=new g,this.options=t,this.writer=t.writer,this.writerOptions=this.writer.filterOptions(i),this.stringify=new T(t),this.onDataCallback=e||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.createChildNode=function(t){var e,n,i,o,s,a,u,h;switch(t.type){case r.CData:this.cdata(t.value);break;case r.Comment:this.comment(t.value);break;case r.Element:for(n in i={},u=t.attribs)N.call(u,n)&&(e=u[n],i[n]=e.value);this.node(t.name,i);break;case r.Dummy:this.dummy();break;case r.Raw:this.raw(t.value);break;case r.Text:this.text(t.value);break;case r.ProcessingInstruction:this.instruction(t.target,t.value);break;default:throw Error("This XML node type is not supported in a JS object: "+t.constructor.name)}for(s=0,a=(h=t.children).length;s<a;s++)o=h[s],this.createChildNode(o),o.type===r.Element&&this.up();return this},t.prototype.dummy=function(){return this},t.prototype.node=function(t,e,r){var n;if(null==t)throw Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw Error("Document can only have one root node. "+this.debugInfo(t));return this.openCurrent(),t=b(t),null==e&&(e={}),D(e=b(e))||(r=(n=[e,r])[0],e=n[1]),this.currentNode=new f(this,t,e),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=r&&this.text(r),this},t.prototype.element=function(t,e,n){var i,o,s,a,u,h;if(this.currentNode&&this.currentNode.type===r.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(t)||D(t)||E(t))for(a=this.options.noValidation,this.options.noValidation=!0,(h=new d(this.options).element("TEMP_ROOT")).element(t),this.options.noValidation=a,o=0,s=(u=h.children).length;o<s;o++)i=u[o],this.createChildNode(i),i.type===r.Element&&this.up();else this.node(t,e,n);return this},t.prototype.attribute=function(t,e){var r,n;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(t));if(null!=t&&(t=b(t)),D(t))for(r in t)N.call(t,r)&&(n=t[r],this.attribute(r,n));else E(e)&&(e=e.apply()),this.options.keepNullAttributes&&null==e?this.currentNode.attribs[t]=new i(this,t,""):null!=e&&(this.currentNode.attribs[t]=new i(this,t,e));return this},t.prototype.text=function(t){var e;return this.openCurrent(),e=new w(this,t),this.onData(this.writer.text(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.cdata=function(t){var e;return this.openCurrent(),e=new o(this,t),this.onData(this.writer.cdata(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.comment=function(t){var e;return this.openCurrent(),e=new s(this,t),this.onData(this.writer.comment(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.raw=function(t){var e;return this.openCurrent(),e=new m(this,t),this.onData(this.writer.raw(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.instruction=function(t,e){var r,n,i,o,s;if(this.openCurrent(),null!=t&&(t=b(t)),null!=e&&(e=b(e)),Array.isArray(t))for(r=0,o=t.length;r<o;r++)n=t[r],this.instruction(n);else if(D(t))for(n in t)N.call(t,n)&&(i=t[n],this.instruction(n,i));else E(e)&&(e=e.apply()),s=new y(this,t,e),this.onData(this.writer.processingInstruction(s,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},t.prototype.declaration=function(t,e,r){var n;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return n=new c(this,t,e,r),this.onData(this.writer.declaration(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.doctype=function(t,e,r){if(this.openCurrent(),null==t)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new p(this,e,r),this.currentNode.rootNodeName=t,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(t,e){var r;return this.openCurrent(),r=new u(this,t,e),this.onData(this.writer.dtdElement(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.attList=function(t,e,r,n,i){var o;return this.openCurrent(),o=new a(this,t,e,r,n,i),this.onData(this.writer.dtdAttList(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.entity=function(t,e){var r;return this.openCurrent(),r=new h(this,!1,t,e),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.pEntity=function(t,e){var r;return this.openCurrent(),r=new h(this,!0,t,e),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.notation=function(t,e){var r;return this.openCurrent(),r=new l(this,t,e),this.onData(this.writer.dtdNotation(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.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},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},t.prototype.openNode=function(t){var e,i,o,s;if(!t.isOpen){if(this.root||0!==this.currentLevel||t.type!==r.Element||(this.root=t),i="",t.type===r.Element){for(o in this.writerOptions.state=n.OpenTag,i=this.writer.indent(t,this.writerOptions,this.currentLevel)+"<"+t.name,s=t.attribs)N.call(s,o)&&(e=s[o],i+=this.writer.attribute(e,this.writerOptions,this.currentLevel));i+=(t.children?">":"/>")+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.InsideTag}else this.writerOptions.state=n.OpenTag,i=this.writer.indent(t,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+t.rootNodeName,t.pubID&&t.sysID?i+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(i+=' SYSTEM "'+t.sysID+'"'),t.children?(i+=" [",this.writerOptions.state=n.InsideTag):(this.writerOptions.state=n.CloseTag,i+=">"),i+=this.writer.endline(t,this.writerOptions,this.currentLevel);return this.onData(i,this.currentLevel),t.isOpen=!0}},t.prototype.closeNode=function(t){var e;if(!t.isClosed)return e="",this.writerOptions.state=n.CloseTag,e=t.type===r.Element?this.writer.indent(t,this.writerOptions,this.currentLevel)+"</"+t.name+">"+this.writer.endline(t,this.writerOptions,this.currentLevel):this.writer.indent(t,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.None,this.onData(e,this.currentLevel),t.isClosed=!0},t.prototype.onData=function(t,e){return this.documentStarted=!0,this.onDataCallback(t,e+1)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.debugInfo=function(t){return null==t?"":"node: <"+t+">"},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(t,e,r){return this.node(t,e,r)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.dec=function(t,e,r){return this.declaration(t,e,r)},t.prototype.dtd=function(t,e,r){return this.doctype(t,e,r)},t.prototype.e=function(t,e,r){return this.element(t,e,r)},t.prototype.n=function(t,e,r){return this.node(t,e,r)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.att=function(){return this.currentNode&&this.currentNode.type===r.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode.type===r.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(t,e){return this.entity(t,e)},t.prototype.pent=function(t,e){return this.pEntity(t,e)},t.prototype.not=function(t,e){return this.notation(t,e)},t}()}).call(t.e)},61224,(t,e,r)=>{(function(){var r,n,i,o=function(t,e){for(var r in e)s.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=t.r(81577),i=t.r(46845),n=t.r(62803),e.exports=function(t){function e(t,r){this.stream=t,e.__super__.constructor.call(this,r)}return o(e,t),e.prototype.endline=function(t,r,i){return t.isLastRootNode&&r.state===n.CloseTag?"":e.__super__.endline.call(this,t,r,i)},e.prototype.document=function(t,e){var r,n,i,o,s,a,u,h,l;for(u=t.children,n=i=0,s=u.length;i<s;n=++i)(r=u[n]).isLastRootNode=n===t.children.length-1;for(o=0,e=this.filterOptions(e),h=t.children,l=[],a=h.length;o<a;o++)r=h[o],l.push(this.writeChildNode(r,e,0));return l},e.prototype.attribute=function(t,r,n){return this.stream.write(e.__super__.attribute.call(this,t,r,n))},e.prototype.cdata=function(t,r,n){return this.stream.write(e.__super__.cdata.call(this,t,r,n))},e.prototype.comment=function(t,r,n){return this.stream.write(e.__super__.comment.call(this,t,r,n))},e.prototype.declaration=function(t,r,n){return this.stream.write(e.__super__.declaration.call(this,t,r,n))},e.prototype.docType=function(t,e,r){var i,o,s,a;if(r||(r=0),this.openNode(t,e,r),e.state=n.OpenTag,this.stream.write(this.indent(t,e,r)),this.stream.write("<!DOCTYPE "+t.root().name),t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(t,e,r)),e.state=n.InsideTag,o=0,s=(a=t.children).length;o<s;o++)i=a[o],this.writeChildNode(i,e,r+1);e.state=n.CloseTag,this.stream.write("]")}return e.state=n.CloseTag,this.stream.write(e.spaceBeforeSlash+">"),this.stream.write(this.endline(t,e,r)),e.state=n.None,this.closeNode(t,e,r)},e.prototype.element=function(t,e,i){var o,a,u,h,l,c,p,d,f;for(p in i||(i=0),this.openNode(t,e,i),e.state=n.OpenTag,this.stream.write(this.indent(t,e,i)+"<"+t.name),d=t.attribs)s.call(d,p)&&(o=d[p],this.attribute(o,e,i));if(h=0===(u=t.children.length)?null:t.children[0],0===u||t.children.every(function(t){return(t.type===r.Text||t.type===r.Raw)&&""===t.value}))e.allowEmpty?(this.stream.write(">"),e.state=n.CloseTag,this.stream.write("</"+t.name+">")):(e.state=n.CloseTag,this.stream.write(e.spaceBeforeSlash+"/>"));else if(e.pretty&&1===u&&(h.type===r.Text||h.type===r.Raw)&&null!=h.value)this.stream.write(">"),e.state=n.InsideTag,e.suppressPrettyCount++,this.writeChildNode(h,e,i+1),e.suppressPrettyCount--,e.state=n.CloseTag,this.stream.write("</"+t.name+">");else{for(this.stream.write(">"+this.endline(t,e,i)),e.state=n.InsideTag,l=0,c=(f=t.children).length;l<c;l++)a=f[l],this.writeChildNode(a,e,i+1);e.state=n.CloseTag,this.stream.write(this.indent(t,e,i)+"</"+t.name+">")}return this.stream.write(this.endline(t,e,i)),e.state=n.None,this.closeNode(t,e,i)},e.prototype.processingInstruction=function(t,r,n){return this.stream.write(e.__super__.processingInstruction.call(this,t,r,n))},e.prototype.raw=function(t,r,n){return this.stream.write(e.__super__.raw.call(this,t,r,n))},e.prototype.text=function(t,r,n){return this.stream.write(e.__super__.text.call(this,t,r,n))},e.prototype.dtdAttList=function(t,r,n){return this.stream.write(e.__super__.dtdAttList.call(this,t,r,n))},e.prototype.dtdElement=function(t,r,n){return this.stream.write(e.__super__.dtdElement.call(this,t,r,n))},e.prototype.dtdEntity=function(t,r,n){return this.stream.write(e.__super__.dtdEntity.call(this,t,r,n))},e.prototype.dtdNotation=function(t,r,n){return this.stream.write(e.__super__.dtdNotation.call(this,t,r,n))},e}(i)}).call(t.e)},75188,(t,e,r)=>{(function(){var r,n,i,o,s,a,u,h,l,c;h=(c=t.r(80998)).assign,l=c.isFunction,i=t.r(11201),o=t.r(58773),s=t.r(37344),u=t.r(98171),a=t.r(61224),r=t.r(81577),n=t.r(62803),e.exports.create=function(t,e,r,n){var i,s;if(null==t)throw Error("Root element needs a name.");return s=(i=new o(n=h({},e,r,n))).element(t),n.headless||(i.declaration(n),(null!=n.pubID||null!=n.sysID)&&i.dtd(n)),s},e.exports.begin=function(t,e,r){var n;return(l(t)&&(e=(n=[t,e])[0],r=n[1],t={}),e)?new s(t,e,r):new o(t)},e.exports.stringWriter=function(t){return new u(t)},e.exports.streamWriter=function(t,e){return new a(t,e)},e.exports.implementation=new i,e.exports.nodeType=r,e.exports.writerState=n}).call(t.e)},50717,(t,e,r)=>{(function(){"use strict";var e,n,i,o,s,a={}.hasOwnProperty;e=t.r(75188),n=t.r(22605).defaults,o=function(t){return"string"==typeof t&&(t.indexOf("&")>=0||t.indexOf(">")>=0||t.indexOf("<")>=0)},s=function(t){return"<![CDATA["+i(t)+"]]>"},i=function(t){return t.replace("]]>","]]]]><![CDATA[>")},r.Builder=function(){function t(t){var e,r,i;for(e in this.options={},r=n["0.2"])a.call(r,e)&&(i=r[e],this.options[e]=i);for(e in t)a.call(t,e)&&(i=t[e],this.options[e]=i)}return t.prototype.buildObject=function(t){var r,i,u,h,l,c;return r=this.options.attrkey,i=this.options.charkey,1===Object.keys(t).length&&this.options.rootName===n["0.2"].rootName?(l=Object.keys(t)[0],t=t[l]):l=this.options.rootName,c=this,u=function(t,e){var n,h,l,p,d,f;if("object"!=typeof e)c.options.cdata&&o(e)?t.raw(s(e)):t.txt(e);else if(Array.isArray(e)){for(p in e)if(a.call(e,p))for(d in h=e[p])l=h[d],t=u(t.ele(d),l).up()}else for(d in e)if(a.call(e,d))if(h=e[d],d===r){if("object"==typeof h)for(n in h)f=h[n],t=t.att(n,f)}else if(d===i)t=c.options.cdata&&o(h)?t.raw(s(h)):t.txt(h);else if(Array.isArray(h))for(p in h)a.call(h,p)&&(t="string"==typeof(l=h[p])?c.options.cdata&&o(l)?t.ele(d).raw(s(l)).up():t.ele(d,l).up():u(t.ele(d),l).up());else"object"==typeof h?t=u(t.ele(d),h).up():"string"==typeof h&&c.options.cdata&&o(h)?t=t.ele(d).raw(s(h)).up():(null==h&&(h=""),t=t.ele(d,h.toString()).up());return t},h=e.create(l,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),u(h,t).end(this.options.renderOpts)},t}()}).call(t.e)},183,(t,e,r)=>{!function(e){e.parser=function(t,e){return new a(t,e)},e.SAXParser=a,e.SAXStream=h,e.createStream=function(t,e){return new h(t,e)},e.MAX_BUFFER_LENGTH=65536;var r,n,i,o,s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function a(t,r){if(!(this instanceof a))return new a(t,r);(function(t){for(var e=0,r=s.length;e<r;e++)t[s[e]]=""})(this),this.q=this.c="",this.bufferCheckPosition=e.MAX_BUFFER_LENGTH,this.encoding=null,this.opt=r||{},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=!!t,this.noscript=!!(t||this.opt.noscript),this.state=b.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(p)),void 0===this.opt.unquotedAttributeValues&&(this.opt.unquotedAttributeValues=!t),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),D(this,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(t){function e(){}return e.prototype=t,new e}),Object.keys||(Object.keys=function(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e}),a.prototype={end:function(){C(this)},write:function(t){if(this.error)throw this.error;if(this.closed)return _(this,"Cannot write after close. Assign an onready handler.");if(null===t)return C(this);"object"==typeof t&&(t=t.toString());for(var r=0,n="";n=L(t,r++),this.c=n,n;)switch(this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++),this.state){case b.BEGIN:if(this.state=b.BEGIN_WHITESPACE,"\uFEFF"===n)continue;R(this,n);continue;case b.BEGIN_WHITESPACE:R(this,n);continue;case b.TEXT:if(this.sawRoot&&!this.closedRoot){for(var i=r-1;n&&"<"!==n&&"&"!==n;)(n=L(t,r++))&&this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++);this.textNode+=t.substring(i,r-1)}"<"!==n||this.sawRoot&&this.closedRoot&&!this.strict?(g(n)||this.sawRoot&&!this.closedRoot||x(this,"Text data outside of root node."),"&"===n?this.state=b.TEXT_ENTITY:this.textNode+=n):(this.state=b.OPEN_WAKA,this.startTagPosition=this.position);continue;case b.SCRIPT:"<"===n?this.state=b.SCRIPT_ENDING:this.script+=n;continue;case b.SCRIPT_ENDING:"/"===n?this.state=b.CLOSE_TAG:(this.script+="<"+n,this.state=b.SCRIPT);continue;case b.OPEN_WAKA:"!"===n?(this.state=b.SGML_DECL,this.sgmlDecl=""):g(n)||(w(d,n)?(this.state=b.OPEN_TAG,this.tagName=n):"/"===n?(this.state=b.CLOSE_TAG,this.tagName=""):"?"===n?(this.state=b.PROC_INST,this.procInstName=this.procInstBody=""):(x(this,"Unencoded <"),this.startTagPosition+1<this.position&&(n=Array(this.position-this.startTagPosition).join(" ")+n),this.textNode+="<"+n,this.state=b.TEXT));continue;case b.SGML_DECL:if(this.sgmlDecl+n==="--"){this.state=b.COMMENT,this.comment="",this.sgmlDecl="";continue}this.doctype&&!0!==this.doctype&&this.sgmlDecl?(this.state=b.DOCTYPE_DTD,this.doctype+="<!"+this.sgmlDecl+n,this.sgmlDecl=""):"[CDATA["===(this.sgmlDecl+n).toUpperCase()?(v(this,"onopencdata"),this.state=b.CDATA,this.sgmlDecl="",this.cdata=""):"DOCTYPE"===(this.sgmlDecl+n).toUpperCase()?(this.state=b.DOCTYPE,(this.doctype||this.sawRoot)&&x(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===n?(v(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=b.TEXT):(T(n)&&(this.state=b.SGML_DECL_QUOTED),this.sgmlDecl+=n);continue;case b.SGML_DECL_QUOTED:n===this.q&&(this.state=b.SGML_DECL,this.q=""),this.sgmlDecl+=n;continue;case b.DOCTYPE:">"===n?(this.state=b.TEXT,v(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=n,"["===n?this.state=b.DOCTYPE_DTD:T(n)&&(this.state=b.DOCTYPE_QUOTED,this.q=n));continue;case b.DOCTYPE_QUOTED:this.doctype+=n,n===this.q&&(this.q="",this.state=b.DOCTYPE);continue;case b.DOCTYPE_DTD:"]"===n?(this.doctype+=n,this.state=b.DOCTYPE):"<"===n?(this.state=b.OPEN_WAKA,this.startTagPosition=this.position):T(n)?(this.doctype+=n,this.state=b.DOCTYPE_DTD_QUOTED,this.q=n):this.doctype+=n;continue;case b.DOCTYPE_DTD_QUOTED:this.doctype+=n,n===this.q&&(this.state=b.DOCTYPE_DTD,this.q="");continue;case b.COMMENT:"-"===n?this.state=b.COMMENT_ENDING:this.comment+=n;continue;case b.COMMENT_ENDING:"-"===n?(this.state=b.COMMENT_ENDED,this.comment=O(this.opt,this.comment),this.comment&&v(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+n,this.state=b.COMMENT);continue;case b.COMMENT_ENDED:">"!==n?(x(this,"Malformed comment"),this.comment+="--"+n,this.state=b.COMMENT):this.doctype&&!0!==this.doctype?this.state=b.DOCTYPE_DTD:this.state=b.TEXT;continue;case b.CDATA:for(var i=r-1;n&&"]"!==n;)(n=L(t,r++))&&this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++);this.cdata+=t.substring(i,r-1),"]"===n&&(this.state=b.CDATA_ENDING);continue;case b.CDATA_ENDING:"]"===n?this.state=b.CDATA_ENDING_2:(this.cdata+="]"+n,this.state=b.CDATA);continue;case b.CDATA_ENDING_2:">"===n?(this.cdata&&v(this,"oncdata",this.cdata),v(this,"onclosecdata"),this.cdata="",this.state=b.TEXT):"]"===n?this.cdata+="]":(this.cdata+="]]"+n,this.state=b.CDATA);continue;case b.PROC_INST:"?"===n?this.state=b.PROC_INST_ENDING:g(n)?this.state=b.PROC_INST_BODY:this.procInstName+=n;continue;case b.PROC_INST_BODY:!this.procInstBody&&g(n)||("?"===n?this.state=b.PROC_INST_ENDING:this.procInstBody+=n);continue;case b.PROC_INST_ENDING:if(">"===n){let t={name:this.procInstName,body:this.procInstBody};!function(t,e){if(t.strict&&t.encoding&&e&&"xml"===e.name){let s,a;var r,n,i,o=(n=(r=e.body)&&r.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i))?n[2]:null;o&&(i=t.encoding,s=I(i),a=I(o),s&&a&&("utf16"===a?"utf16le"!==s&&"utf16be"!==s:s!==a))&&x(t,"XML declaration encoding "+o+" does not match detected stream encoding "+t.encoding.toUpperCase())}}(this,t),v(this,"onprocessinginstruction",t),this.procInstName=this.procInstBody="",this.state=b.TEXT}else this.procInstBody+="?"+n,this.state=b.PROC_INST_BODY;continue;case b.OPEN_TAG:w(f,n)?this.tagName+=n:(!function(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,r=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(r.ns=e.ns),t.attribList.length=0,v(t,"onopentagstart",r)}(this),">"===n?S(this):"/"===n?this.state=b.OPEN_TAG_SLASH:(g(n)||x(this,"Invalid character in tag name"),this.state=b.ATTRIB));continue;case b.OPEN_TAG_SLASH:">"===n?(S(this,!0),F(this)):(x(this,"Forward-slash in opening tag not followed by >"),this.state=b.ATTRIB);continue;case b.ATTRIB:g(n)||(">"===n?S(this):"/"===n?this.state=b.OPEN_TAG_SLASH:w(d,n)?(this.attribName=n,this.attribValue="",this.state=b.ATTRIB_NAME):x(this,"Invalid attribute name"));continue;case b.ATTRIB_NAME:"="===n?this.state=b.ATTRIB_VALUE:">"===n?(x(this,"Attribute without value"),this.attribValue=this.attribName,P(this),S(this)):g(n)?this.state=b.ATTRIB_NAME_SAW_WHITE:w(f,n)?this.attribName+=n:x(this,"Invalid attribute name");continue;case b.ATTRIB_NAME_SAW_WHITE:if("="===n)this.state=b.ATTRIB_VALUE;else{if(g(n))continue;x(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",v(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===n?S(this):w(d,n)?(this.attribName=n,this.state=b.ATTRIB_NAME):(x(this,"Invalid attribute name"),this.state=b.ATTRIB)}continue;case b.ATTRIB_VALUE:g(n)||(T(n)?(this.q=n,this.state=b.ATTRIB_VALUE_QUOTED):(this.opt.unquotedAttributeValues||_(this,"Unquoted attribute value"),this.state=b.ATTRIB_VALUE_UNQUOTED,this.attribValue=n));continue;case b.ATTRIB_VALUE_QUOTED:if(n!==this.q){"&"===n?this.state=b.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=n;continue}P(this),this.q="",this.state=b.ATTRIB_VALUE_CLOSED;continue;case b.ATTRIB_VALUE_CLOSED:g(n)?this.state=b.ATTRIB:">"===n?S(this):"/"===n?this.state=b.OPEN_TAG_SLASH:w(d,n)?(x(this,"No whitespace between attributes"),this.attribName=n,this.attribValue="",this.state=b.ATTRIB_NAME):x(this,"Invalid attribute name");continue;case b.ATTRIB_VALUE_UNQUOTED:if(!(">"===(o=n)||g(o))){"&"===n?this.state=b.ATTRIB_VALUE_ENTITY_U:this.attribValue+=n;continue}P(this),">"===n?S(this):this.state=b.ATTRIB;continue;case b.CLOSE_TAG:this.tagName?">"===n?F(this):w(f,n)?this.tagName+=n:this.script?(this.script+="</"+this.tagName+n,this.tagName="",this.state=b.SCRIPT):(g(n)||x(this,"Invalid tagname in closing tag"),this.state=b.CLOSE_TAG_SAW_WHITE):g(n)||(w(d,n)?this.tagName=n:this.script?(this.script+="</"+n,this.state=b.SCRIPT):x(this,"Invalid tagname in closing tag."));continue;case b.CLOSE_TAG_SAW_WHITE:if(g(n))continue;">"===n?F(this):x(this,"Invalid characters in closing tag");continue;case b.TEXT_ENTITY:case b.ATTRIB_VALUE_ENTITY_Q:case b.ATTRIB_VALUE_ENTITY_U:switch(this.state){case b.TEXT_ENTITY:a=b.TEXT,u="textNode";break;case b.ATTRIB_VALUE_ENTITY_Q:a=b.ATTRIB_VALUE_QUOTED,u="attribValue";break;case b.ATTRIB_VALUE_ENTITY_U:a=b.ATTRIB_VALUE_UNQUOTED,u="attribValue"}if(";"===n){var o,a,u,h=function(t){var e,r=t.entity,n=r.toLowerCase(),i="";return t.ENTITIES[r]?t.ENTITIES[r]:t.ENTITIES[n]?t.ENTITIES[n]:("#"===(r=n).charAt(0)&&(i="x"===r.charAt(1)?(e=parseInt(r=r.slice(2),16)).toString(16):(e=parseInt(r=r.slice(1),10)).toString(10)),r=r.replace(/^0+/,""),isNaN(e)||i.toLowerCase()!==r||e<0||e>1114111)?(x(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e)}(this);this.opt.unparsedEntities&&!Object.values(e.XML_ENTITIES).includes(h)?((this.entityCount+=1)>this.opt.maxEntityCount&&_(this,"Parsed entity count exceeds max entity count"),(this.entityDepth+=1)>this.opt.maxEntityDepth&&_(this,"Parsed entity depth exceeds max entity depth"),this.entity="",this.state=a,this.write(h),this.entityDepth-=1):(this[u]+=h,this.entity="",this.state=a)}else w(this.entity.length?m:y,n)?this.entity+=n:(x(this,"Invalid character in entity name"),this[u]+="&"+this.entity+n,this.entity="",this.state=a);continue;default:throw Error(this,"Unknown state: "+this.state)}return this.position>=this.bufferCheckPosition&&function(t){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),n=0,i=0,o=s.length;i<o;i++){var a=t[s[i]].length;if(a>r)switch(s[i]){case"textNode":N(t);break;case"cdata":v(t,"oncdata",t.cdata),t.cdata="";break;case"script":v(t,"onscript",t.script),t.script="";break;default:_(t,"Max buffer length exceeded: "+s[i])}n=Math.max(n,a)}t.bufferCheckPosition=e.MAX_BUFFER_LENGTH-n+t.position}(this),this},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){N(this),""!==this.cdata&&(v(this,"oncdata",this.cdata),this.cdata=""),""!==this.script&&(v(this,"onscript",this.script),this.script="")}};try{o=t.r(88947).Stream}catch(t){o=function(){}}o||(o=function(){});var u=e.EVENTS.filter(function(t){return"error"!==t&&"end"!==t});function h(t,e){if(!(this instanceof h))return new h(t,e);o.apply(this),this._parser=new a(t,e),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit("end")},this._parser.onerror=function(t){r.emit("error",t),r._parser.error=null},this._decoder=null,this._decoderBuffer=null,u.forEach(function(t){Object.defineProperty(r,"on"+t,{get:function(){return r._parser["on"+t]},set:function(e){if(!e)return r.removeAllListeners(t),r._parser["on"+t]=e,e;r.on(t,e)},enumerable:!0,configurable:!1})})}h.prototype=Object.create(o.prototype,{constructor:{value:h}}),h.prototype._decodeBuffer=function(t,e){if(this._decoderBuffer&&(t=Buffer.concat([this._decoderBuffer,t]),this._decoderBuffer=null),!this._decoder){var r=function(t,e){if(t.length>=2){if(255===t[0]&&254===t[1])return"utf-16le";if(254===t[0]&&255===t[1])return"utf-16be"}return t.length>=3&&239===t[0]&&187===t[1]&&191===t[2]?"utf8":t.length>=4?60===t[0]&&0===t[1]&&63===t[2]&&0===t[3]?"utf-16le":0===t[0]&&60===t[1]&&0===t[2]&&63===t[3]?"utf-16be":"utf8":e?"utf8":null}(t,e);if(!r)return this._decoderBuffer=t,"";this._parser.encoding=r,this._decoder=new TextDecoder(r)}return this._decoder.decode(t,{stream:!e})},h.prototype.write=function(t){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(t))t=this._decodeBuffer(t,!1);else if(this._decoderBuffer){var e=this._decodeBuffer(Buffer.alloc(0),!0);e&&(this._parser.write(e),this.emit("data",e))}return this._parser.write(t.toString()),this.emit("data",t),!0},h.prototype.end=function(t){if(t&&t.length&&this.write(t),this._decoderBuffer){var e=this._decodeBuffer(Buffer.alloc(0),!0);e&&(this._parser.write(e),this.emit("data",e))}else if(this._decoder){var r=this._decoder.decode();r&&(this._parser.write(r),this.emit("data",r))}return this._parser.end(),!0},h.prototype.on=function(t,e){var r=this;return r._parser["on"+t]||-1===u.indexOf(t)||(r._parser["on"+t]=function(){var e=1==arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),r.emit.apply(r,e)}),o.prototype.on.call(r,t,e)};var l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",p={xml:l,xmlns:c},d=/[:_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]/,f=/[:_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-]/,y=/[#:_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]/,m=/[#:_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 g(t){return" "===t||"\n"===t||"\r"===t||" "===t}function T(t){return'"'===t||"'"===t}function w(t,e){return t.test(e)}var b=0;for(var E in e.STATE={BEGIN:b++,BEGIN_WHITESPACE:b++,TEXT:b++,TEXT_ENTITY:b++,OPEN_WAKA:b++,SGML_DECL:b++,SGML_DECL_QUOTED:b++,DOCTYPE:b++,DOCTYPE_QUOTED:b++,DOCTYPE_DTD:b++,DOCTYPE_DTD_QUOTED:b++,COMMENT_STARTING:b++,COMMENT:b++,COMMENT_ENDING:b++,COMMENT_ENDED:b++,CDATA:b++,CDATA_ENDING:b++,CDATA_ENDING_2:b++,PROC_INST:b++,PROC_INST_BODY:b++,PROC_INST_ENDING:b++,OPEN_TAG:b++,OPEN_TAG_SLASH:b++,ATTRIB:b++,ATTRIB_NAME:b++,ATTRIB_NAME_SAW_WHITE:b++,ATTRIB_VALUE:b++,ATTRIB_VALUE_QUOTED:b++,ATTRIB_VALUE_CLOSED:b++,ATTRIB_VALUE_UNQUOTED:b++,ATTRIB_VALUE_ENTITY_Q:b++,ATTRIB_VALUE_ENTITY_U:b++,CLOSE_TAG:b++,CLOSE_TAG_SAW_WHITE:b++,SCRIPT:b++,SCRIPT_ENDING:b++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.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(e.ENTITIES).forEach(function(t){var r=e.ENTITIES[t],n="number"==typeof r?String.fromCharCode(r):r;e.ENTITIES[t]=n}),e.STATE)e.STATE[e.STATE[E]]=E;function D(t,e,r){t[e]&&t[e](r)}function I(t){return t?t.toLowerCase().replace(/[^a-z0-9]/g,""):null}function v(t,e,r){t.textNode&&N(t),D(t,e,r)}function N(t){t.textNode=O(t.opt,t.textNode),t.textNode&&D(t,"ontext",t.textNode),t.textNode=""}function O(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function _(t,e){return N(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),t.error=e=Error(e),D(t,"onerror",e),t}function C(t){return t.sawRoot&&!t.closedRoot&&x(t,"Unclosed root tag"),t.state!==b.BEGIN&&t.state!==b.BEGIN_WHITESPACE&&t.state!==b.TEXT&&_(t,"Unexpected end"),N(t),t.c="",t.closed=!0,D(t,"onend"),a.call(t,t.strict,t.opt),t}function x(t,e){if("object"!=typeof t||!(t instanceof a))throw Error("bad call to strictFail");t.strict&&_(t,e)}function A(t,e){var r=0>t.indexOf(":")?["",t]:t.split(":"),n=r[0],i=r[1];return e&&"xmlns"===t&&(n="xmlns",i=""),{prefix:n,local:i}}function P(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName)){t.attribName=t.attribValue="";return}if(t.opt.xmlns){var e=A(t.attribName,!0),r=e.prefix,n=e.local;if("xmlns"===r)if("xml"===n&&t.attribValue!==l)x(t,"xml: prefix must be bound to "+l+"\nActual: "+t.attribValue);else if("xmlns"===n&&t.attribValue!==c)x(t,"xmlns: prefix must be bound to "+c+"\nActual: "+t.attribValue);else{var i=t.tag,o=t.tags[t.tags.length-1]||t;i.ns===o.ns&&(i.ns=Object.create(o.ns)),i.ns[n]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,v(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}function S(t,e){if(t.opt.xmlns){var r=t.tag,n=A(t.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(x(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),r.uri=n.prefix);var i=t.tags[t.tags.length-1]||t;r.ns&&i.ns!==r.ns&&Object.keys(r.ns).forEach(function(e){v(t,"onopennamespace",{prefix:e,uri:r.ns[e]})});for(var o=0,s=t.attribList.length;o<s;o++){var a=t.attribList[o],u=a[0],h=a[1],l=A(u,!0),c=l.prefix,p=l.local,d=""===c?"":r.ns[c]||"",f={name:u,value:h,prefix:c,local:p,uri:d};c&&"xmlns"!==c&&!d&&(x(t,"Unbound namespace prefix: "+JSON.stringify(c)),f.uri=c),t.tag.attributes[u]=f,v(t,"onattribute",f)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),v(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=b.TEXT:t.state=b.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function F(t){if(!t.tagName){x(t,"Weird empty close tag."),t.textNode+="</>",t.state=b.TEXT;return}if(t.script){if("script"!==t.tagName){t.script+="</"+t.tagName+">",t.tagName="",t.state=b.SCRIPT;return}v(t,"onscript",t.script),t.script=""}var e=t.tags.length,r=t.tagName;t.strict||(r=r[t.looseCase]());for(var n=r;e--;)if(t.tags[e].name!==n)x(t,"Unexpected close tag");else break;if(e<0){x(t,"Unmatched closing tag: "+t.tagName),t.textNode+="</"+t.tagName+">",t.state=b.TEXT;return}t.tagName=r;for(var i=t.tags.length;i-- >e;){var o=t.tag=t.tags.pop();t.tagName=t.tag.name,v(t,"onclosetag",t.tagName);var s={};for(var a in o.ns)s[a]=o.ns[a];var u=t.tags[t.tags.length-1]||t;t.opt.xmlns&&o.ns!==u.ns&&Object.keys(o.ns).forEach(function(e){var r=o.ns[e];v(t,"onclosenamespace",{prefix:e,uri:r})})}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=b.TEXT}function R(t,e){"<"===e?(t.state=b.OPEN_WAKA,t.startTagPosition=t.position):g(e)||(x(t,"Non-whitespace before first tag."),t.textNode=e,t.state=b.TEXT)}function L(t,e){var r="";return e<t.length&&(r=t.charAt(e)),r}b=e.STATE,String.fromCodePoint||(r=String.fromCharCode,n=Math.floor,i=function(){var t,e,i=[],o=-1,s=arguments.length;if(!s)return"";for(var a="";++o<s;){var u=Number(arguments[o]);if(!isFinite(u)||u<0||u>1114111||n(u)!==u)throw RangeError("Invalid code point: "+u);u<=65535?i.push(u):(u-=65536,t=(u>>10)+55296,e=u%1024+56320,i.push(t,e)),(o+1===s||i.length>16384)&&(a+=r.apply(null,i),i.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:i,configurable:!0,writable:!0}):String.fromCodePoint=i)}(r)},19922,(t,e,r)=>{(function(){"use strict";r.stripBOM=function(t){return"\uFEFF"===t[0]?t.substring(1):t}}).call(t.e)},31028,(t,e,r)=>{(function(){"use strict";var t;t=new RegExp(/(?!xmlns)^.*:/),r.normalize=function(t){return t.toLowerCase()},r.firstCharLowerCase=function(t){return t.charAt(0).toLowerCase()+t.slice(1)},r.stripPrefix=function(e){return e.replace(t,"")},r.parseNumbers=function(t){return isNaN(t)||(t=t%1==0?parseInt(t,10):parseFloat(t)),t},r.parseBooleans=function(t){return/^(?:true|false)$/i.test(t)&&(t="true"===t.toLowerCase()),t}}).call(t.e)},59678,(t,e,r)=>{(function(){"use strict";var e,n,i,o,s,a,u,h,l=function(t,e){return function(){return t.apply(e,arguments)}},c=function(t,e){for(var r in e)p.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},p={}.hasOwnProperty;u=t.r(183),o=t.r(27699),e=t.r(19922),a=t.r(31028),h=t.r(37464).setImmediate,n=t.r(22605).defaults,s=function(t,e,r){var n,i;for(n=0,i=t.length;n<i;n++)e=(0,t[n])(e,r);return e},i=function(t,e,r){var n;return(n=Object.create(null)).value=r,n.writable=!0,n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)},r.Parser=function(t){function o(t){var e,i,o;if(this.parseStringPromise=l(this.parseStringPromise,this),this.parseString=l(this.parseString,this),this.reset=l(this.reset,this),this.assignOrPush=l(this.assignOrPush,this),this.processAsync=l(this.processAsync,this),!(this instanceof r.Parser))return new r.Parser(t);for(e in this.options={},i=n["0.2"])p.call(i,e)&&(o=i[e],this.options[e]=o);for(e in t)p.call(t,e)&&(o=t[e],this.options[e]=o);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(a.normalize)),this.reset()}return c(o,t),o.prototype.processAsync=function(){var t;try{if(this.remaining.length<=this.options.chunkSize)return t=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(t),this.saxParser.close();return t=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(t),h(this.processAsync)}catch(t){if(!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(t)}},o.prototype.assignOrPush=function(t,e,r){return e in t?(t[e]instanceof Array||i(t,e,[t[e]]),t[e].push(r)):this.options.explicitArray?i(t,e,[r]):i(t,e,r)},o.prototype.reset=function(){var t,e,r,n,o,a,h,l,c;return this.removeAllListeners(),this.saxParser=u.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(o=this,function(t){if(o.saxParser.resume(),!o.saxParser.errThrown)return o.saxParser.errThrown=!0,o.emit("error",t)}),this.saxParser.onend=(a=this,function(){if(!a.saxParser.ended)return a.saxParser.ended=!0,a.emit("end",a.resultObject)}),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,n=[],t=this.options.attrkey,e=this.options.charkey,this.saxParser.onopentag=(h=this,function(r){var o,a,u,l,c;if((u={})[e]="",!h.options.ignoreAttrs)for(o in c=r.attributes)p.call(c,o)&&(t in u||h.options.mergeAttrs||(u[t]={}),a=h.options.attrValueProcessors?s(h.options.attrValueProcessors,r.attributes[o],o):r.attributes[o],l=h.options.attrNameProcessors?s(h.options.attrNameProcessors,o):o,h.options.mergeAttrs?h.assignOrPush(u,l,a):i(u[t],l,a));return u["#name"]=h.options.tagNameProcessors?s(h.options.tagNameProcessors,r.name):r.name,h.options.xmlns&&(u[h.options.xmlnskey]={uri:r.uri,local:r.local}),n.push(u)}),this.saxParser.onclosetag=(l=this,function(){var t,r,o,a,u,h,c,d,f,y,m;if(u=(h=n.pop())["#name"],l.options.explicitChildren&&l.options.preserveChildrenOrder||delete h["#name"],!0===h.cdata&&(t=h.cdata,delete h.cdata),f=n[n.length-1],h[e].match(/^\s*$/)&&!t?(r=h[e],delete h[e]):(l.options.trim&&(h[e]=h[e].trim()),l.options.normalize&&(h[e]=h[e].replace(/\s{2,}/g," ").trim()),h[e]=l.options.valueProcessors?s(l.options.valueProcessors,h[e],u):h[e],1===Object.keys(h).length&&e in h&&!l.EXPLICIT_CHARKEY&&(h=h[e])),"object"==typeof(m=h)&&null!=m&&0===Object.keys(m).length&&(h="function"==typeof l.options.emptyTag?l.options.emptyTag():""!==l.options.emptyTag?l.options.emptyTag:r),null!=l.options.validator&&(y="/"+(function(){var t,e,r;for(t=0,r=[],e=n.length;t<e;t++)a=n[t],r.push(a["#name"]);return r})().concat(u).join("/"),!function(){try{h=l.options.validator(y,f&&f[u],h)}catch(t){return l.emit("error",t)}}()),l.options.explicitChildren&&!l.options.mergeAttrs&&"object"==typeof h)if(l.options.preserveChildrenOrder){if(f){for(o in f[l.options.childkey]=f[l.options.childkey]||[],c={},h)p.call(h,o)&&i(c,o,h[o]);f[l.options.childkey].push(c),delete h["#name"],1===Object.keys(h).length&&e in h&&!l.EXPLICIT_CHARKEY&&(h=h[e])}}else a={},l.options.attrkey in h&&(a[l.options.attrkey]=h[l.options.attrkey],delete h[l.options.attrkey]),!l.options.charsAsChildren&&l.options.charkey in h&&(a[l.options.charkey]=h[l.options.charkey],delete h[l.options.charkey]),Object.getOwnPropertyNames(h).length>0&&(a[l.options.childkey]=h),h=a;return n.length>0?l.assignOrPush(f,u,h):(l.options.explicitRoot&&(d=h,i(h={},u,d)),l.resultObject=h,l.saxParser.ended=!0,l.emit("end",l.resultObject))}),c=this,r=function(t){var r,i;if(i=n[n.length-1])return i[e]+=t,c.options.explicitChildren&&c.options.preserveChildrenOrder&&c.options.charsAsChildren&&(c.options.includeWhiteChars||""!==t.replace(/\\n/g,"").trim())&&(i[c.options.childkey]=i[c.options.childkey]||[],(r={"#name":"__text__"})[e]=t,c.options.normalize&&(r[e]=r[e].replace(/\s{2,}/g," ").trim()),i[c.options.childkey].push(r)),i},this.saxParser.ontext=r,this.saxParser.oncdata=function(t){var e;if(e=r(t))return e.cdata=!0}},o.prototype.parseString=function(t,r){null!=r&&"function"==typeof r&&(this.on("end",function(t){return this.reset(),r(null,t)}),this.on("error",function(t){return this.reset(),r(t)}));try{if(t=t.toString(),""===t.trim())return this.emit("end",null),!0;if(t=e.stripBOM(t),this.options.async)return this.remaining=t,h(this.processAsync),this.saxParser;return this.saxParser.write(t).close()}catch(t){if(!(this.saxParser.errThrown||this.saxParser.ended))return this.emit("error",t),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw t}},o.prototype.parseStringPromise=function(t){var e;return new Promise((e=this,function(r,n){return e.parseString(t,function(t,e){return t?n(t):r(e)})}))},o}(o),r.parseString=function(t,e,n){var i,o;return null!=n?("function"==typeof n&&(i=n),"object"==typeof e&&(o=e)):("function"==typeof e&&(i=e),o={}),new r.Parser(o).parseString(t,i)},r.parseStringPromise=function(t,e){var n;return"object"==typeof e&&(n=e),new r.Parser(n).parseStringPromise(t)}}).call(t.e)},38856,(t,e,r)=>{(function(){"use strict";var e,n,i,o,s=function(t,e){for(var r in e)a.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},a={}.hasOwnProperty;n=t.r(22605),e=t.r(50717),i=t.r(59678),o=t.r(31028),r.defaults=n.defaults,r.processors=o,r.ValidationError=function(t){function e(t){this.message=t}return s(e,t),e}(Error),r.Builder=e.Builder,r.Parser=i.Parser,r.parseString=i.parseString,r.parseStringPromise=i.parseStringPromise}).call(t.e)},4208,t=>{"use strict";var e=t.i(22734),r=t.i(30077),n=t.i(38856),i=t.i(96524),o=t.i(28427);let s=new n.default.Parser;async function a(t){let e=null;try{let e=await s.parseStringPromise(t);return e&&e.ComicInfo?e.ComicInfo:null}catch(t){e=t}finally{e&&console.error("Error al parsear XML:",e)}return null}async function u(t){let e=null;try{let e=t.replace(/^\//,""),n=await o.default.send(new i.GetObjectCommand({Bucket:o.R2_BUCKET,Key:e})),s=Buffer.from(await n.Body.transformToByteArray()),u=new r.default(s).getEntry("ComicInfo.xml");if(!u)return console.warn(`ComicInfo.xml no encontrado en: ${t}`),null;let h=u.getData().toString("utf8");return await a(h)}catch(t){e=t}finally{e&&console.error(`Error extrayendo metadatos desde R2: ${t}`,e)}return null}async function h(t){let n=null;try{if(!e.default.existsSync(t))return console.warn(`Archivo no encontrado: ${t}`),null;let n=new r.default(t).getEntry("ComicInfo.xml");if(!n)return console.warn(`ComicInfo.xml no encontrado en: ${t}`),null;let i=n.getData().toString("utf8");return await a(i)}catch(t){n=t}finally{n&&console.error(`Error extrayendo metadatos en: ${t}`,n)}return null}async function l(t,e){let r=null;try{let r,n;if(!(r="cloud"===e?await u(t):await h(t)))return null;let i={series:(n=t=>r[t]&&r[t][0]||null)("Series"),title:n("Title"),number:n("Number")?parseFloat(n("Number")):null,count:n("Count")?parseInt(n("Count"),10):null,publisher:n("Publisher"),imprint:n("Imprint"),languageISO:n("LanguageISO"),format:n("Format"),ageRating:n("AgeRating"),communityRating:n("CommunityRating")?parseFloat(n("CommunityRating")):null,writer:n("Writer"),penciller:n("Penciller"),inker:n("Inker"),colorist:n("Colorist"),letterer:n("Letterer"),coverArtist:n("CoverArtist"),editor:n("Editor"),summary:n("Summary"),web:n("Web"),pageCount:n("PageCount")?parseInt(n("PageCount"),10):null,year:n("Year")?parseInt(n("Year"),10):null,month:n("Month")?parseInt(n("Month"),10):null,day:n("Day")?parseInt(n("Day"),10):null,gtin:n("GTIN"),mangaStyle:n("Manga")},{genres:o,tags:s}=function(t){let e=[],r=[];if(t.Genre&&t.Genre[0]){let r=t.Genre[0].split(/[;,]/).map(t=>t.trim()).filter(Boolean);e.push(...r)}if(t.Tags&&t.Tags[0]){let e=t.Tags[0].split(/[;,]/).map(t=>t.trim()).filter(Boolean);r.push(...e)}return{genres:e,tags:r}}(r);return{metadata:i,genres:o,tags:s}}catch(t){r=t}finally{r&&console.error(`Error extrayendo metadatos: ${t}`,r)}return null}t.s(["extractMetadataCbz",0,l])},96043,t=>t.a(async(e,r)=>{try{var n=t.i(24868),i=t.i(22734),o=t.i(9921),s=t.i(38856),a=t.i(96524),u=t.i(28427),h=t.i(53280);let e=new s.default.Parser,f=await (0,h.loadUnrarWasmBinary)();async function l(t){let r=null;try{let r=await e.parseStringPromise(t);return r&&r.ComicInfo?r.ComicInfo:null}catch(t){r=t}finally{r&&console.error("Error al parsear XML:",r)}return null}async function c(t){let e=null;try{let e=t.replace(/^\//,""),r=await u.default.send(new a.GetObjectCommand({Bucket:u.R2_BUCKET,Key:e})),n=Buffer.from(await r.Body.transformToByteArray()),i=await (0,o.createExtractorFromData)({data:new Uint8Array(n).buffer,wasmBinary:new Uint8Array(f).buffer});if(![...i.getFileList().fileHeaders].find(t=>"ComicInfo.xml"===t.name))return console.warn(`ComicInfo.xml no encontrado en: ${t}`),null;let s=[...i.extract({files:["ComicInfo.xml"]}).files];if(0===s.length)return console.warn(`No se pudo extraer ComicInfo.xml de: ${t}`),null;let h=Buffer.from(s[0].extraction).toString("utf8");return await l(h)}catch(t){e=t}finally{e&&console.error(`Error extrayendo metadatos desde R2: ${t}`,e)}return null}async function p(t){let e=null;try{if(!i.default.existsSync(t))return console.warn(`Archivo no encontrado: ${t}`),null;let e=await n.default.readFile(t),r=await (0,o.createExtractorFromData)({data:new Uint8Array(e).buffer,wasmBinary:new Uint8Array(f).buffer});if(![...r.getFileList().fileHeaders].find(t=>"ComicInfo.xml"===t.name))return console.warn(`ComicInfo.xml no encontrado en: ${t}`),null;let s=[...r.extract({files:["ComicInfo.xml"]}).files];if(0===s.length)return console.warn(`No se pudo extraer ComicInfo.xml de: ${t}`),null;let a=Buffer.from(s[0].extraction).toString("utf8");return await l(a)}catch(t){e=t}finally{e&&console.error(`Error extrayendo metadatos en: ${t}`,e)}return null}async function d(t,e){let r=null;try{let r,n;if(!(r="cloud"===e?await c(t):await p(t)))return null;let i={series:(n=t=>r[t]&&r[t][0]||null)("Series"),title:n("Title"),number:n("Number")?parseFloat(n("Number")):null,count:n("Count")?parseInt(n("Count"),10):null,publisher:n("Publisher"),imprint:n("Imprint"),languageISO:n("LanguageISO"),format:n("Format"),ageRating:n("AgeRating"),communityRating:n("CommunityRating")?parseFloat(n("CommunityRating")):null,writer:n("Writer"),penciller:n("Penciller"),inker:n("Inker"),colorist:n("Colorist"),letterer:n("Letterer"),coverArtist:n("CoverArtist"),editor:n("Editor"),summary:n("Summary"),web:n("Web"),pageCount:n("PageCount")?parseInt(n("PageCount"),10):null,year:n("Year")?parseInt(n("Year"),10):null,month:n("Month")?parseInt(n("Month"),10):null,day:n("Day")?parseInt(n("Day"),10):null,gtin:n("GTIN"),mangaStyle:n("Manga")},{genres:o,tags:s}=function(t){let e=[],r=[];if(t.Genre&&t.Genre[0]){let r=t.Genre[0].split(/[;,]/).map(t=>t.trim()).filter(Boolean);e.push(...r)}if(t.Tags&&t.Tags[0]){let e=t.Tags[0].split(/[;,]/).map(t=>t.trim()).filter(Boolean);r.push(...e)}return{genres:e,tags:r}}(r);return{metadata:i,genres:o,tags:s}}catch(t){r=t}finally{r&&console.error(`Error extrayendo metadatos: ${t}`,r)}return null}t.s(["extractMetadataCbr",0,d]),r()}catch(t){r(t)}},!0),73049,t=>t.a(async(e,r)=>{try{var n=t.i(26631),i=t.i(73099),o=t.i(24868),s=t.i(14747),a=t.i(4208),u=t.i(96043),h=t.i(20549),l=t.i(1759),c=e([i,u,h]);[i,u,h]=c.then?(await c)():c;let d=process.env.LIB_PROVIDER||"local",f=s.default.join(process.cwd(),"tmp","checksum-status.json");async function p(t){let e=null;try{let e=await (0,i.verifySession)();if(!e)return n.NextResponse.json({error:"Unauthorized"},{status:401});if(!e.isAdmin)return n.NextResponse.json({error:"Forbidden"},{status:403});let r=await t.json().catch(()=>({})),c=r?.forceAll===!0,p=[];if(c)p=(await (0,h.listAllVolumePaths)()).map(t=>t.fullPath);else{let t=await o.default.readFile(f,"utf-8");p=JSON.parse(t).filesToIndex||[]}if(0===p.length)return n.NextResponse.json({message:"No hay archivos para extraer metadatos"});for(let t of(await (0,h.listVolumesForPaths)(p)))try{let e=function(t){let e=s.default.extname(t).toLowerCase();return".cbz"===e||".zip"===e?a.extractMetadataCbz:".cbr"===e||".rar"===e?u.extractMetadataCbr:null}(t.fullPath);if(!e){console.log(`Formato no soportado: ${t.fullPath}`);continue}let r=await e(t.fullPath,d);if(!r){console.log(`Saltando volumen sin metadatos: ${t.fullPath}`);continue}let{metadata:n,genres:i,tags:o}=r,l=await (0,h.upsertVolumeMetadataRecord)(t.fullPath,n);t.metadataId!==l.id&&await (0,h.linkVolumeMetadata)(t.id,l.id),await (0,h.replaceVolumeGenres)(t.id,i),await (0,h.replaceVolumeTags)(t.id,o),console.log(`Metadatos procesados: ${t.fullPath}`)}catch(e){console.error(`Error procesando volumen ${t.fullPath}:`,e)}return await (0,h.cleanupOrphanedGenresAndTags)(),(0,l.revalidateMangaLibraryCache)(),n.NextResponse.json({message:"Metadatos procesados correctamente."})}catch(t){e=t}finally{if(e)return console.error("Error general al procesar metadatos:",e),n.NextResponse.json({error:"Error interno al procesar metadatos."},{status:500})}}t.s(["POST",0,p]),r()}catch(t){r(t)}},!1),97864,t=>t.a(async(e,r)=>{try{var n=t.i(81541),i=t.i(29879),o=t.i(7972),s=t.i(36043),a=t.i(49762),u=t.i(67882),h=t.i(41081),l=t.i(89819),c=t.i(43460),p=t.i(6359),d=t.i(26260),f=t.i(65708),y=t.i(24135),m=t.i(5316),g=t.i(89554),T=t.i(93695);t.i(16754);var w=t.i(75142),b=t.i(73049),E=e([b]);[b]=E.then?(await E)():E;let I=new n.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/admin/scan-manga/extract-meta/route",pathname:"/api/admin/scan-manga/extract-meta",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/admin/scan-manga/extract-meta/route.ts",nextConfigOutput:"standalone",userland:b,...{}}),{workAsyncStorage:v,workUnitAsyncStorage:N,serverHooks:O}=I;async function D(t,e,r){r.requestMeta&&(0,s.setRequestMeta)(t,r.requestMeta),I.isDev&&(0,s.addRequestMeta)(t,"devRequestTimingInternalsEnd",process.hrtime.bigint());let n="/api/admin/scan-manga/extract-meta/route";n=n.replace(/\/index$/,"")||"/";let o=await I.prepare(t,e,{srcPage:n,multiZoneDraftMode:!1});if(!o)return e.statusCode=400,e.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:b,deploymentId:E,params:D,nextConfig:v,parsedUrl:N,isDraftMode:O,prerenderManifest:_,routerServerContext:C,isOnDemandRevalidate:x,revalidateOnlyGenerated:A,resolvedPathname:P,clientReferenceManifest:S,serverActionsManifest:F}=o,R=(0,h.normalizeAppPath)(n),L=!!(_.dynamicRoutes[R]||_.routes[P]),M=async()=>((null==C?void 0:C.render404)?await C.render404(t,e,N,!1):e.end("This page could not be found"),null);if(L&&!O){let t=!!_.routes[P],e=_.dynamicRoutes[R];if(e&&!1===e.fallback&&!t){if(v.adapterPath)return await M();throw new T.NoFallbackError}}let j=null;!L||I.isDev||O||(j=P,j="/index"===j?"/":j);let B=!0===I.isDev||!L,U=L&&!B;F&&S&&(0,u.setManifestsSingleton)({page:n,clientReferenceManifest:S,serverActionsManifest:F});let V=t.method||"GET",k=(0,a.getTracer)(),q=k.getActiveScopeSpan(),G=!!(null==C?void 0:C.isWrappedByNextServer),Y=!!(0,s.getRequestMeta)(t,"minimalMode"),X=(0,s.getRequestMeta)(t,"incrementalCache")||await I.getIncrementalCache(t,v,_,Y);null==X||X.resetRequestCache(),globalThis.__incrementalCache=X;let H={params:D,previewProps:_.preview,renderOpts:{experimental:{authInterrupts:!!v.experimental.authInterrupts},cacheComponents:!!v.cacheComponents,supportsDynamicResponse:B,incrementalCache:X,cacheLifeProfiles:v.cacheLife,waitUntil:r.waitUntil,onClose:t=>{e.on("close",t)},onAfterTaskError:void 0,onInstrumentationRequestError:(e,r,n,i)=>I.onRequestError(t,e,n,i,C)},sharedContext:{buildId:b,deploymentId:E}},K=new l.NodeNextRequest(t),z=new l.NodeNextResponse(e),W=c.NextRequestAdapter.fromNodeNextRequest(K,(0,c.signalFromNodeResponse)(e));try{let o,s=async t=>I.handle(W,H).finally(()=>{if(!t)return;t.setAttributes({"http.status_code":e.statusCode,"next.rsc":!1});let r=k.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let i=r.get("next.route");if(i){let e=`${V} ${i}`;t.setAttributes({"next.route":i,"http.route":i,"next.span_name":e}),t.updateName(e),o&&o!==t&&(o.setAttribute("http.route",i),o.updateName(e))}else t.updateName(`${V} ${n}`)}),u=async o=>{var a,u;let h=async({previousCacheEntry:i})=>{try{if(!Y&&x&&A&&!i)return e.statusCode=404,e.setHeader("x-nextjs-cache","REVALIDATED"),e.end("This page could not be found"),null;let n=await s(o);t.fetchMetrics=H.renderOpts.fetchMetrics;let a=H.renderOpts.pendingWaitUntil;a&&r.waitUntil&&(r.waitUntil(a),a=void 0);let u=H.renderOpts.collectedTags;if(!L)return await (0,f.sendResponse)(K,z,n,H.renderOpts.pendingWaitUntil),null;{let t=await n.blob(),e=(0,y.toNodeOutgoingHttpHeaders)(n.headers);u&&(e[g.NEXT_CACHE_TAGS_HEADER]=u),!e["content-type"]&&t.type&&(e["content-type"]=t.type);let r=void 0!==H.renderOpts.collectedRevalidate&&!(H.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&H.renderOpts.collectedRevalidate,i=void 0===H.renderOpts.collectedExpire||H.renderOpts.collectedExpire>=g.INFINITE_CACHE?void 0:H.renderOpts.collectedExpire;return{value:{kind:w.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await t.arrayBuffer()),headers:e},cacheControl:{revalidate:r,expire:i}}}}catch(e){throw(null==i?void 0:i.isStale)&&await I.onRequestError(t,e,{routerKind:"App Router",routePath:n,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:x})},!1,C),e}},l=await I.handleResponse({req:t,nextConfig:v,cacheKey:j,routeKind:i.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:_,isRoutePPREnabled:!1,isOnDemandRevalidate:x,revalidateOnlyGenerated:A,responseGenerator:h,waitUntil:r.waitUntil,isMinimalMode:Y});if(!L)return null;if((null==l||null==(a=l.value)?void 0:a.kind)!==w.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(u=l.value)?void 0:u.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});Y||e.setHeader("x-nextjs-cache",x?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),O&&e.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let c=(0,y.fromNodeOutgoingHttpHeaders)(l.value.headers);return Y&&L||c.delete(g.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||e.getHeader("Cache-Control")||c.get("Cache-Control")||c.set("Cache-Control",(0,m.getCacheControlHeader)(l.cacheControl)),await (0,f.sendResponse)(K,z,new Response(l.value.body,{headers:c,status:l.value.status||200})),null};G&&q?await u(q):(o=k.getActiveScopeSpan(),await k.withPropagatedContext(t.headers,()=>k.trace(p.BaseServerSpan.handleRequest,{spanName:`${V} ${n}`,kind:a.SpanKind.SERVER,attributes:{"http.method":V,"http.target":t.url}},u),void 0,!G))}catch(e){if(e instanceof T.NoFallbackError||await I.onRequestError(t,e,{routerKind:"App Router",routePath:R,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:x})},!1,C),L)throw e;return await (0,f.sendResponse)(K,z,new Response(null,{status:500})),null}}t.s(["handler",0,D,"patchFetch",0,function(){return(0,o.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:N})},"routeModule",0,I,"serverHooks",0,O,"workAsyncStorage",0,v,"workUnitAsyncStorage",0,N]),r()}catch(t){r(t)}},!1)];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_0-x.21m._.js.map
|