@runeya/runeya 2.0.130 → 2.0.132
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/agent/index.js +247 -177
- package/agent/index.js.map +1 -1
- package/agent-manager-J75NZ6MN.js +11 -0
- package/{chat-6ETYBINN.js → chat-ICUWJZEX.js} +7 -7
- package/{chunk-TTJNHZ6U.js → chunk-24UJRQRM.js} +2 -2
- package/{chunk-J2L6VONF.js → chunk-3HGTIUGB.js} +13 -53
- package/chunk-3HGTIUGB.js.map +1 -0
- package/{chunk-B7MABGQN.js → chunk-4RMM2OUU.js} +29 -2
- package/chunk-4RMM2OUU.js.map +1 -0
- package/{chunk-K2KSZRSI.js → chunk-PVLDFBL6.js} +6 -6
- package/{chunk-RDE3X3J4.js → chunk-RLLUJCPQ.js} +96 -13
- package/chunk-RLLUJCPQ.js.map +1 -0
- package/{chunk-7GBSCYXU.js → chunk-WN36W5OW.js} +81 -14
- package/chunk-WN36W5OW.js.map +1 -0
- package/{companion-SH4HLD6G.js → companion-IYK2652T.js} +5 -4
- package/{desktop-launcher-7UZF7PFH.js → desktop-launcher-GHCALSOS.js} +2 -2
- package/index.js +5 -5
- package/mcp-server/index.js +134 -28
- package/mcp-server/index.js.map +1 -1
- package/{node-ILM6MV56.js → node-JU7A5NDT.js} +6 -2
- package/package.json +1 -1
- package/{settings-manager-XD6U4QN3.js → settings-manager-3G5RHW3X.js} +3 -3
- package/{src-BNWVTXCY.js → src-FS7Y4DA7.js} +43 -15
- package/src-FS7Y4DA7.js.map +1 -0
- package/web/assets/{AgentScalarChatInterface.vue-ojzSMuCC.js → AgentScalarChatInterface.vue-CImJBBKk.js} +1 -1
- package/web/assets/{AgentTerminalPage-Cf-ymD9E.js → AgentTerminalPage-iRrYZG3N.js} +1 -1
- package/web/assets/AiChatPage-DWAuKlmg.js +1 -0
- package/web/assets/{AppLayout-YtDku8pN.js → AppLayout-CkZbU0SI.js} +1 -1
- package/web/assets/{AuditPage-DCVZLRz4.js → AuditPage-C-yVNrOi.js} +1 -1
- package/web/assets/{CloudAccountPage-BOqt_ByJ.js → CloudAccountPage-7XqPLVAS.js} +1 -1
- package/web/assets/CloudAccountPage-Cxo7nX-K.js +1 -0
- package/web/assets/{CloudMessagingPage-BtlnnNf8.js → CloudMessagingPage-CZBpneaV.js} +1 -1
- package/web/assets/{DashboardPage-BOxdzarH.js → DashboardPage-CBZZyVwY.js} +1 -1
- package/web/assets/{DirectoryPickerDialog-B4MzYK-Y.js → DirectoryPickerDialog-1MThX25G.js} +1 -1
- package/web/assets/{EditorIcon-DAx2QpZA.js → EditorIcon-BVisg2uv.js} +1 -1
- package/web/assets/{EnvironmentForm-Cgcc_56Z.js → EnvironmentForm-C82fYWhW.js} +1 -1
- package/web/assets/{EnvironmentFormPage-n7m6dJUn.js → EnvironmentFormPage-BVOpMMJ7.js} +1 -1
- package/web/assets/{EnvironmentListPage-DS6s6UQk.js → EnvironmentListPage-CPRmFtVH.js} +1 -1
- package/web/assets/KanbanBoardPage-BmJwTFE8.css +1 -0
- package/web/assets/KanbanBoardPage-pzBPUjj2.js +4 -0
- package/web/assets/KanbanListPage-Cy0eP5v1.js +1 -0
- package/web/assets/KanbanListPage-pCWYPwBv.css +1 -0
- package/web/assets/{LaunchProjectPage-BFOzRnGw.js → LaunchProjectPage-Bn_wU_QT.js} +1 -1
- package/web/assets/{LaunchServicesPage-D7FmbH2H.js → LaunchServicesPage-BuxokNH7.js} +1 -1
- package/web/assets/{LogViewer-BbbpNT7v.js → LogViewer-DFPxgP8T.js} +1 -1
- package/web/assets/{OrgKeyPrompt-BGlTQGBE.js → OrgKeyPrompt-B8qmru6I.js} +1 -1
- package/web/assets/{OrgLogo-DfRefdu8.js → OrgLogo-9eOcBM3O.js} +1 -1
- package/web/assets/{ProcessControls-ByXJUYXz.js → ProcessControls-BA9IDUMF.js} +1 -1
- package/web/assets/{ProcessDetailPage-6q8wgWEP.js → ProcessDetailPage-CnOdgJXS.js} +1 -1
- package/web/assets/{ProcessMetrics-o6TQkXTa.js → ProcessMetrics-fFZhpyqE.js} +1 -1
- package/web/assets/{RandomJobTestPage-DuCKCB_n.js → RandomJobTestPage-Cw5KA5rW.js} +1 -1
- package/web/assets/{ScenarioEditorPage-ZCVivzeZ.js → ScenarioEditorPage-DY9Sfei7.js} +1 -1
- package/web/assets/{SendToChatDialog-CFd1Bubz.js → SendToChatDialog-DLR7jXBG.js} +1 -1
- package/web/assets/{ServiceControlsBar-B-3OrP1t.js → ServiceControlsBar-szGNMHjF.js} +1 -1
- package/web/assets/{ServiceDetailPage-Bm53GpUX.js → ServiceDetailPage-BXZ2tvHn.js} +1 -1
- package/web/assets/{ServiceFormPage-B5_95jOM.js → ServiceFormPage-B6oUWP9J.js} +1 -1
- package/web/assets/{SettingsPage-7Thq96Wn.js → SettingsPage-95JC2bIP.js} +4 -4
- package/web/assets/{UnlockPage-BXbKs3QZ.js → UnlockPage-P4gYB5LT.js} +1 -1
- package/web/assets/{VaultMigrationPage-h6NgaEOh.js → VaultMigrationPage-CQH54K0y.js} +1 -1
- package/web/assets/{VersionBadge-Bh8iLmG8.js → VersionBadge-D-Zv0XzJ.js} +1 -1
- package/web/assets/WikiPage-DzFvtMxw.js +1 -0
- package/web/assets/{WikiView-B905tAss.js → WikiView-BLoRr_y4.js} +1 -1
- package/web/assets/{add-scalar-classes-DW5rrkrl.js → add-scalar-classes-Bpf67R_k.js} +3 -3
- package/web/assets/{autocomplete-DxjWjky0.js → autocomplete-B4ASWozR.js} +1 -1
- package/web/assets/{basic-shape-diamond.svg-JSaiJ46F.js → basic-shape-diamond.svg-D96ayS7-.js} +1 -1
- package/web/assets/{basic-shape-hexagon.svg-D1-hJiCH.js → basic-shape-hexagon.svg-lBCgoQIf.js} +1 -1
- package/web/assets/{basic-shape-primary-circle-ellipse-round.svg-J6Ksp8Xz.js → basic-shape-primary-circle-ellipse-round.svg-BEzXT_e-.js} +1 -1
- package/web/assets/{basic-shape-primary-square-rectangle.svg-BR-QAok8.js → basic-shape-primary-square-rectangle.svg-Bkzr23_8.js} +1 -1
- package/web/assets/{basic-shape-shield.svg-CmwxzzxD.js → basic-shape-shield.svg-C3H6eT_i.js} +1 -1
- package/web/assets/{browser-Dj-lNKWY.js → browser-C1dU95Eq.js} +1 -1
- package/web/assets/{browser-7cY4kFlm.js → browser-JZPiFr6p.js} +1 -1
- package/web/assets/{card-DAI9OTkc.js → card-Carw-Smf.js} +1 -1
- package/web/assets/{checkbox-Ct1yef0N.js → checkbox-SY6iZYJT.js} +1 -1
- package/web/assets/{chip-B9m8EUV4.js → chip-jKPsBaDG.js} +1 -1
- package/web/assets/{client-DULNwlfi.js → client-CrX3je4X.js} +1 -1
- package/web/assets/{cloud-chat.store-BufYJj6k.js → cloud-chat.store-Cv-pkXPK.js} +1 -1
- package/web/assets/cloud-client-D01e8Pib.js +1 -0
- package/web/assets/{cloud-session-DZ1APEU5.js → cloud-session-CY8qNDWs.js} +2 -2
- package/web/assets/cloud-session-DHJ2Dn0_.js +1 -0
- package/web/assets/{column-D9bX7M3H.js → column-Du74odg_.js} +1 -1
- package/web/assets/composables-CAPumxhl.js +1 -0
- package/web/assets/{computer-device-desktop-monitor.svg-kHhZDrn4.js → computer-device-desktop-monitor.svg-CKfHZCAn.js} +1 -1
- package/web/assets/{computer-device-desktop.svg-CJqmzT8S.js → computer-device-desktop.svg-FokfiMmI.js} +1 -1
- package/web/assets/{computer-device-laptop.svg-DVR2dE1I.js → computer-device-laptop.svg-u5TTufiX.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-android-samsung-back.svg-CEgkg7iO.js → computer-device-mobile-phone-android-samsung-back.svg-D-4JYDXb.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-android-samsung.svg-BNd9H2xb.js → computer-device-mobile-phone-android-samsung.svg-CZGGF9sY.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-iphone-x-back.svg-C34x7LFE.js → computer-device-mobile-phone-iphone-x-back.svg-DA78gxI_.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-iphone-x.svg-58jbIuoG.js → computer-device-mobile-phone-iphone-x.svg-B4MANHvY.js} +1 -1
- package/web/assets/{computer-device-mobile-tablet-touch.svg-Do-wo3C-.js → computer-device-mobile-tablet-touch.svg-C8TQMpJm.js} +1 -1
- package/web/assets/{computer-device-mobile-tablet.svg-k9649lm5.js → computer-device-mobile-tablet.svg-BwWJUi6h.js} +1 -1
- package/web/assets/{computer-device-network-ethernet-cat6.svg-CHhUrJbo.js → computer-device-network-ethernet-cat6.svg-BbuOLgRf.js} +1 -1
- package/web/assets/{computer-device-network-lan-www.svg-CtPwhVZ6.js → computer-device-network-lan-www.svg-Bus_xZ3r.js} +1 -1
- package/web/assets/{computer-device-network-wifi-connection.svg-kx5mccFk.js → computer-device-network-wifi-connection.svg-D93e73Wq.js} +1 -1
- package/web/assets/{computer-device-network-wifi-router.svg-sZs7A8Cr.js → computer-device-network-wifi-router.svg-6qPxKjkZ.js} +1 -1
- package/web/assets/{cssMode-B6unnb3U.js → cssMode-BA6ryPYU.js} +1 -1
- package/web/assets/{divider-BnMFAEx6.js → divider-Nf1cI936.js} +1 -1
- package/web/assets/{docx-preview-HgFKCX0F.js → docx-preview-Beq_uoGc.js} +1 -1
- package/web/assets/{ecology-science-erlenmeyer-flask.svg-DOKj5_k1.js → ecology-science-erlenmeyer-flask.svg-D60hNAZ7.js} +1 -1
- package/web/assets/{fieldset-DZnEgPOU.js → fieldset-BO8ymcQg.js} +1 -1
- package/web/assets/{freemarker2-Bv0s6UQe.js → freemarker2-u4uWoBOZ.js} +1 -1
- package/web/assets/{handlebars-BTsC4Lqd.js → handlebars-Crco_whq.js} +1 -1
- package/web/assets/{html-BARKi29y.js → html-krzCI2Gx.js} +1 -1
- package/web/assets/{htmlMode-fK2j6Ha8.js → htmlMode-C9vDwT8E.js} +1 -1
- package/web/assets/{image-flash-lightning.svg-CTaB0hJv.js → image-flash-lightning.svg-B4xlEwgS.js} +1 -1
- package/web/assets/{image-picture-flower.svg-M6Q_XtAy.js → image-picture-flower.svg-DXs_C4Eb.js} +1 -1
- package/web/assets/{index-DKmDGo1r.js → index-0Vd4ITAj.js} +198 -198
- package/web/assets/{interface-alert-exclamation-diamond.svg-DPTfDSD9.js → interface-alert-exclamation-diamond.svg-CQmiBFHu.js} +1 -1
- package/web/assets/{interface-alert-exclamation-triangle-warning.svg-AWUdZifI.js → interface-alert-exclamation-triangle-warning.svg-Ddp3S5kR.js} +1 -1
- package/web/assets/{interface-alert-information-circle.svg-BtYZm3zK.js → interface-alert-information-circle.svg-CXZRx_eH.js} +1 -1
- package/web/assets/{interface-award-crown.svg-DXu8zQAy.js → interface-award-crown.svg-BLjchqiv.js} +1 -1
- package/web/assets/{interface-bookmark.svg-BVozfFi5.js → interface-bookmark-tag.svg-DykA4zk6.js} +1 -1
- package/web/assets/{interface-bookmark-tag.svg-DEcpMXap.js → interface-bookmark.svg-BZXXPgVb.js} +1 -1
- package/web/assets/{interface-calendar-date-one.svg-B3qaR9M3.js → interface-calendar-date-one.svg-DY5zquNe.js} +1 -1
- package/web/assets/{interface-content-book-open-pages.svg-DKEf3Z55.js → interface-content-book-open-pages.svg-BkhdueSK.js} +1 -1
- package/web/assets/{interface-content-book-page.svg-D6molfdo.js → interface-content-book-page.svg-Do2xq5cr.js} +1 -1
- package/web/assets/{interface-content-file.svg-CA0q-5Sl.js → interface-content-file.svg-D-T9Y5v-.js} +1 -1
- package/web/assets/{interface-content-folder.svg-BztjfhZi.js → interface-content-folder.svg-C7Xt4Hhi.js} +1 -1
- package/web/assets/interface-content-folder.svg-D8Pl9Ud7.js +1 -0
- package/web/assets/{interface-copy-clipboard.svg-2_fmAnNV.js → interface-copy-clipboard.svg-CNChmFeI.js} +1 -1
- package/web/assets/{interface-edit-attachment.svg-Cb_upeaG.js → interface-edit-attachment.svg-BPFnKeJn.js} +1 -1
- package/web/assets/{interface-edit-binocular.svg-CCEAT7W8.js → interface-edit-binocular.svg-B15WWlwm.js} +1 -1
- package/web/assets/{interface-edit-magic-wand.svg-BeJ11Pji.js → interface-edit-magic-wand.svg-BOlpxpIl.js} +1 -1
- package/web/assets/{interface-edit-tool-paint-roller.svg-BGiy8YPn.js → interface-edit-tool-paint-roller.svg-BAYfPrFg.js} +1 -1
- package/web/assets/{interface-edit-tool-pencil.svg-BOMoeGAt.js → interface-edit-tool-pencil.svg-BM5bmeTs.js} +1 -1
- package/web/assets/{interface-favorite-award.svg-qHoFebiY.js → interface-favorite-award.svg-C2y2AP20.js} +1 -1
- package/web/assets/{interface-favorite-flag.svg-D9gpkTJz.js → interface-favorite-flag.svg-XykDhXhn.js} +1 -1
- package/web/assets/{interface-favorite-heart.svg-COMUv1Uh.js → interface-favorite-heart.svg-CZPb5io9.js} +1 -1
- package/web/assets/{interface-favorite-star.svg-BsK5YVEB.js → interface-favorite-star.svg-DpNTOpjf.js} +1 -1
- package/web/assets/{interface-favorite-stars-sparkles.svg-DevgE082.js → interface-favorite-stars-sparkles.svg-7cCHSGs4.js} +1 -1
- package/web/assets/{interface-hierarchy-flowchart.svg-C1dfAizc.js → interface-hierarchy-flowchart.svg-BjDJwof2.js} +1 -1
- package/web/assets/{interface-home-house.svg-LAWGxZwm.js → interface-home-house.svg-PIM3QWnr.js} +1 -1
- package/web/assets/{interface-hyperlink.svg-DKfSIKhS.js → interface-hyperlink.svg-DGiT9LRd.js} +1 -1
- package/web/assets/{interface-lighting-brightness.svg-CvWZXBko.js → interface-lighting-brightness.svg-MFs_QAAQ.js} +1 -1
- package/web/assets/{interface-lock-closed.svg-DUT5D0je.js → interface-lock-closed.svg-CjFqOV9n.js} +1 -1
- package/web/assets/{interface-lock-open-unlock.svg-Cw8kzQQh.js → interface-lock-open-unlock.svg-DTgPXrba.js} +1 -1
- package/web/assets/{interface-login-key.svg-Bkp-rHPU.js → interface-login-key.svg-8cDLtR8c.js} +1 -1
- package/web/assets/{interface-search.svg-hG5ogu9p.js → interface-search.svg-SJaqfmP-.js} +1 -1
- package/web/assets/{interface-setting-cog.svg-BcPVq1LR.js → interface-setting-cog.svg-CYAoV6-k.js} +1 -1
- package/web/assets/{interface-share-megaphone-bullhorn.svg-M4niyPv3.js → interface-share-megaphone-bullhorn.svg-C6C8KuHc.js} +1 -1
- package/web/assets/{interface-share-rocket.svg-BcPOpoTR.js → interface-share-rocket.svg-BgqOKppb.js} +1 -1
- package/web/assets/{interface-share-satellite.svg-x1KDlm6g.js → interface-share-satellite.svg-BhfjDwyA.js} +1 -1
- package/web/assets/{interface-share-space-ship.svg-BfNSdNDO.js → interface-share-space-ship.svg-BUapB87z.js} +1 -1
- package/web/assets/{interface-share.svg-C97BmuMY.js → interface-share.svg-CwPC5e-3.js} +1 -1
- package/web/assets/{interface-signal-square.svg-DWd44JJH.js → interface-signal-square.svg-BvC7799s.js} +1 -1
- package/web/assets/{interface-time-clock-circle.svg-DlY-_Hwt.js → interface-time-clock-circle.svg-DYKRANoG.js} +1 -1
- package/web/assets/{interface-time-hour-glass.svg-C2a691O4.js → interface-time-hour-glass.svg-AYkRiFe-.js} +1 -1
- package/web/assets/{interface-users-multiple.svg-gNDhDRlp.js → interface-users-multiple.svg-BXFBhgsj.js} +1 -1
- package/web/assets/{interface-weather-moon.svg-D7eISmrq.js → interface-weather-moon.svg-ZozvgB_v.js} +1 -1
- package/web/assets/{javascript-8VolDNmb.js → javascript-CTdiuLav.js} +1 -1
- package/web/assets/{jsonMode-D6awqTaJ.js → jsonMode-CLF3YN6s.js} +1 -1
- package/web/assets/{liquid-TTMHEa9a.js → liquid-CUugxlF_.js} +1 -1
- package/web/assets/{lspLanguageFeatures-UVF6GLcv.js → lspLanguageFeatures-yWNYHr_2.js} +1 -1
- package/web/assets/{mail-chat-bubble-square.svg-DjreUXqw.js → mail-chat-bubble-square.svg-BG2z_u4M.js} +1 -1
- package/web/assets/{mail-send-email-paper-airplane.svg-BcyYVqIq.js → mail-send-email-paper-airplane.svg-CUQDu7ep.js} +1 -1
- package/web/assets/{mail-send-envelope.svg-BGg0186G.js → mail-send-envelope.svg-pk8Xd68w.js} +1 -1
- package/web/assets/{mdx-CoSOx_u6.js → mdx-BE-R90za.js} +1 -1
- package/web/assets/{minus-DKbcHNVU.js → minus-DXcyjEvM.js} +1 -1
- package/web/assets/modal-DDtmE9ls.js +1 -0
- package/web/assets/{modal-DziAnw0E.js → modal-DEXm8R-m.js} +1 -1
- package/web/assets/{money-cashier-receipt.svg-xin2Q2jV.js → money-cashier-receipt.svg-CN9CzrqX.js} +1 -1
- package/web/assets/{money-currency-dollar-pay.svg-CuVghNG0.js → money-currency-dollar-pay.svg-BUjSCFrb.js} +1 -1
- package/web/assets/{money-graph-arrow-increase.svg-CW-ESaRb.js → money-graph-arrow-increase.svg-B_90Bmbk.js} +1 -1
- package/web/assets/{money-graph-bar-chart-increase.svg-Ds63Ij9u.js → money-graph-bar-chart-increase.svg-DEHprvsR.js} +1 -1
- package/web/assets/{multiselect-EBj2jpFx.js → multiselect-DHN-4dF5.js} +1 -1
- package/web/assets/{nature-ecology-leaf.svg-CROyMuJ6.js → nature-ecology-leaf.svg-VzV83bka.js} +1 -1
- package/web/assets/{password-M6cvez26.js → password-Cn-GHrdR.js} +1 -1
- package/web/assets/{phone-telephone.svg-ldFh2DtT.js → phone-telephone.svg-B7K0iTF5.js} +1 -1
- package/web/assets/{plus-B-HO9RRD.js → plus-BavJPboa.js} +1 -1
- package/web/assets/process.store-BHtXNXJN.js +1 -0
- package/web/assets/{programming-bug.svg-Bi-5bVtZ.js → programming-bug.svg-BQArvDEk.js} +1 -1
- package/web/assets/{programming-cloud.svg-BfsVdIyf.js → programming-cloud.svg-Diup3d6q.js} +1 -1
- package/web/assets/{programming-computer-database-server.svg-CGxQu1SC.js → programming-computer-database-server.svg-Cry9WzIl.js} +1 -1
- package/web/assets/{programming-computer-database.svg-B5TrOmSA.js → programming-computer-database.svg-B2DIP4pU.js} +1 -1
- package/web/assets/{programming-module-four-layout.svg-CX306feB.js → programming-module-four-layout.svg-BGnmF15h.js} +1 -1
- package/web/assets/{programming-module-three.svg-fIUP0jIs.js → programming-module-three.svg-Dlx8NKbv.js} +1 -1
- package/web/assets/{programming-module.svg-BaFMsOL8.js → programming-module.svg-1TSwsWTr.js} +1 -1
- package/web/assets/{programming-script-code.svg-asPax4Jv.js → programming-script-code.svg-DpNHCOrR.js} +1 -1
- package/web/assets/project-launch.store-MjBfxlB3.js +1 -0
- package/web/assets/project.store-4LkhN_Kf.js +1 -0
- package/web/assets/{python-B2HQyLbu.js → python-BfgnQ0Q-.js} +1 -1
- package/web/assets/{radiobutton-E9JzQOQ_.js → radiobutton-1vkC7CQy.js} +1 -1
- package/web/assets/{razor-chfLPaZ5.js → razor-a5t1Ro53.js} +1 -1
- package/web/assets/router-D2CFZuT6.js +1 -0
- package/web/assets/{selectbutton-BSfIGLAd.js → selectbutton-DSr_ExzW.js} +1 -1
- package/web/assets/settings-scope-Bfve93ym.js +1 -0
- package/web/assets/{settings.store-DdANKt-l.js → settings.store-BBQfvtZb.js} +1 -1
- package/web/assets/shared-sse-DiiJHjvL.js +1 -0
- package/web/assets/{shopping-cart.svg-CE-hccE4.js → shopping-cart.svg-16zfxHII.js} +1 -1
- package/web/assets/{shopping-gift-present.svg-DcDsxpbS.js → shopping-gift-present.svg-DEDgwlxd.js} +1 -1
- package/web/assets/{shopping-shipping-box-parcel-package.svg-B-Hce7Vg.js → shopping-shipping-box-parcel-package.svg-CBOsBi-s.js} +1 -1
- package/web/assets/{src-CDO5h8Fg.js → src-B_TK9M1Z.js} +1 -1
- package/web/assets/src-DXLPQX5t.css +1 -0
- package/web/assets/{src-BCom7Av8.js → src-wb0MqCTT.js} +29 -29
- package/web/assets/{tabpanel-opi-GyXj.js → tabpanel-CqAq0gJE.js} +1 -1
- package/web/assets/{tag-new-circle.svg-CAAIvApW.js → tag-new-circle.svg-DN5XPkdR.js} +1 -1
- package/web/assets/theme-BRinmkRN.js +1 -0
- package/web/assets/{toggleswitch-CXZN5FrU.js → toggleswitch-Cr9zROI7.js} +1 -1
- package/web/assets/{travel-map-earth-globe.svg-_I9aKmKu.js → travel-map-earth-globe.svg-CN8908SS.js} +1 -1
- package/web/assets/trpc-CGXr2as5.js +1 -0
- package/web/assets/{tsMode-Cis8_e0R.js → tsMode-D8tqTb6Z.js} +1 -1
- package/web/assets/{typescript-DwoucjlL.js → typescript-C2tUdKLU.js} +1 -1
- package/web/assets/useAiChatDrawer-1cmqYfrd.js +1 -0
- package/web/assets/{useCloudOrg-DSETGvJK.js → useCloudOrg-C1-UCQOV.js} +1 -1
- package/web/assets/{useEnvVarAutocomplete-SpekLSMv.js → useEnvVarAutocomplete-5sTKensF.js} +1 -1
- package/web/assets/{useProjectCatalog-DDZXnSWD.js → useProjectCatalog-Dj4rYNAZ.js} +1 -1
- package/web/assets/{useProjectCloudOrg-Dg9jETJH.js → useProjectCloudOrg-B1KHG4Co.js} +1 -1
- package/web/assets/{useServiceUrlHost-BhfsTBGb.js → useServiceUrlHost-CDiftJ5-.js} +1 -1
- package/web/assets/{xml-D6t1pRy0.js → xml-09bhQ5hy.js} +1 -1
- package/web/assets/{yaml-DAzbEAMy.js → yaml-DE2l2UeT.js} +1 -1
- package/web/index.html +1 -1
- package/agent-manager-GFRVUJSI.js +0 -10
- package/chunk-7GBSCYXU.js.map +0 -1
- package/chunk-B7MABGQN.js.map +0 -1
- package/chunk-J2L6VONF.js.map +0 -1
- package/chunk-RDE3X3J4.js.map +0 -1
- package/src-BNWVTXCY.js.map +0 -1
- package/web/assets/AiChatPage-COFvhaB5.js +0 -1
- package/web/assets/CloudAccountPage-ClH4A4t9.js +0 -1
- package/web/assets/KanbanBoardPage-6I4n9kDT.css +0 -1
- package/web/assets/KanbanBoardPage-DOvBivfv.js +0 -4
- package/web/assets/KanbanListPage-D3xdMHNk.js +0 -1
- package/web/assets/KanbanListPage-DgHde06E.css +0 -1
- package/web/assets/WikiPage-BZVFtjfs.js +0 -1
- package/web/assets/cloud-client-DH0epluZ.js +0 -1
- package/web/assets/cloud-session-BBqRYcsm.js +0 -1
- package/web/assets/composables-DtqhVWR-.js +0 -1
- package/web/assets/interface-content-folder.svg-DcL7Y965.js +0 -1
- package/web/assets/modal-C44iufem.js +0 -1
- package/web/assets/process.store-BLYbO6Uf.js +0 -1
- package/web/assets/project-launch.store-cRctADnj.js +0 -1
- package/web/assets/project.store-BIHP84Mj.js +0 -1
- package/web/assets/router-CgLDvz4F.js +0 -1
- package/web/assets/settings-scope-E-kRs7p5.js +0 -1
- package/web/assets/shared-sse-DUHeXaFO.js +0 -1
- package/web/assets/src-DkRsN6ug.css +0 -1
- package/web/assets/theme-7Rf1Y25Z.js +0 -1
- package/web/assets/trpc-D26KI2Tc.js +0 -1
- package/web/assets/useAiChatDrawer-DMkDsZjG.js +0 -1
- /package/{agent-manager-GFRVUJSI.js.map → agent-manager-J75NZ6MN.js.map} +0 -0
- /package/{chat-6ETYBINN.js.map → chat-ICUWJZEX.js.map} +0 -0
- /package/{chunk-TTJNHZ6U.js.map → chunk-24UJRQRM.js.map} +0 -0
- /package/{chunk-K2KSZRSI.js.map → chunk-PVLDFBL6.js.map} +0 -0
- /package/{companion-SH4HLD6G.js.map → companion-IYK2652T.js.map} +0 -0
- /package/{desktop-launcher-7UZF7PFH.js.map → desktop-launcher-GHCALSOS.js.map} +0 -0
- /package/{node-ILM6MV56.js.map → node-JU7A5NDT.js.map} +0 -0
- /package/{settings-manager-XD6U4QN3.js.map → settings-manager-3G5RHW3X.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M216 64h-68.69l34.35-34.34a8 8 0 1 0-11.32-11.32L128 60.69 85.66 18.34a8 8 0 0 0-11.32 11.32L108.69 64H40a16 16 0 0 0-16 16v120a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16M40 80h104v120H40Zm176 120h-56V80h56zm-16-84a12 12 0 1 1-12-12 12 12 0 0 1 12 12m0 48a12 12 0 1 1-12-12 12 12 0 0 1 12 12`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M224 72h-16v-8a24 24 0 0 0-24-24H40a24 24 0 0 0-24 24v96a24 24 0 0 0 24 24h112v8a24 24 0 0 0 24 24h48a24 24 0 0 0 24-24V96a24 24 0 0 0-24-24M40 168a8 8 0 0 1-8-8V64a8 8 0 0 1 8-8h144a8 8 0 0 1 8 8v8h-16a24 24 0 0 0-24 24v72Zm192 24a8 8 0 0 1-8 8h-48a8 8 0 0 1-8-8V96a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8Zm-96 16a8 8 0 0 1-8 8H88a8 8 0 0 1 0-16h40a8 8 0 0 1 8 8m80-96a8 8 0 0 1-8 8h-16a8 8 0 0 1 0-16h16a8 8 0 0 1 8 8`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
package/web/assets/{computer-device-laptop.svg-DVR2dE1I.js → computer-device-laptop.svg-u5TTufiX.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M232 168h-8V72a24 24 0 0 0-24-24H56a24 24 0 0 0-24 24v96h-8a8 8 0 0 0-8 8v16a24 24 0 0 0 24 24h176a24 24 0 0 0 24-24v-16a8 8 0 0 0-8-8M48 72a8 8 0 0 1 8-8h144a8 8 0 0 1 8 8v96H48Zm176 120a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8v-8h192ZM152 88a8 8 0 0 1-8 8h-32a8 8 0 0 1 0-16h32a8 8 0 0 1 8 8`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M176 148a12 12 0 1 1-12-12 12 12 0 0 1 12 12m-84-12a12 12 0 1 0 12 12 12 12 0 0 0-12-12m148 24v24a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-22.87a113.38 113.38 0 0 1 35.4-82.41L26.34 53.66a8 8 0 0 1 11.32-11.32L63.82 68.5a111.43 111.43 0 0 1 128.55-.19l26-26a8 8 0 0 1 11.32 11.32L204.82 78.5c.75.71 1.5 1.43 2.24 2.17A111.25 111.25 0 0 1 240 160m-16 0a96 96 0 0 0-96-96h-.34C74.91 64.18 32 107.75 32 161.13V184h192Z`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M168 72v128a8 8 0 0 1-16 0V72a8 8 0 0 1 16 0m32-48a8 8 0 0 0-8 8v168a8 8 0 0 0 16 0V32a8 8 0 0 0-8-8m-80 80a8 8 0 0 0-8 8v88a8 8 0 0 0 16 0v-88a8 8 0 0 0-8-8m-40 40a8 8 0 0 0-8 8v48a8 8 0 0 0 16 0v-48a8 8 0 0 0-8-8m-40 40a8 8 0 0 0-8 8v8a8 8 0 0 0 16 0v-8a8 8 0 0 0-8-8`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`m64.34 196.07-9.45 16a8 8 0 1 1-13.78-8.14l9.46-16a8 8 0 1 1 13.77 8.14M232 152h-47.8l-30.73-52a8 8 0 1 0-13.77 8.14l61.41 103.93a8 8 0 0 0 13.78-8.14L193.66 168H232a8 8 0 0 0 0-16m-89.53 0H90.38l68.51-115.93a8 8 0 0 0-13.78-8.14L128 56.89l-17.11-29a8 8 0 1 0-13.78 8.14l21.6 36.55L71.8 152H24a8 8 0 0 0 0 16h118.47a8 8 0 1 0 0-16`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M180 144h-20v-32h20a36 36 0 1 0-36-36v20h-32V76a36 36 0 1 0-36 36h20v32H76a36 36 0 1 0 36 36v-20h32v20a36 36 0 1 0 36-36m-20-68a20 20 0 1 1 20 20h-20ZM56 76a20 20 0 0 1 40 0v20H76a20 20 0 0 1-20-20m40 104a20 20 0 1 1-20-20h20Zm16-68h32v32h-32Zm68 88a20 20 0 0 1-20-20v-20h20a20 20 0 0 1 0 40`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M237.33 106.21 61.41 41l-.16-.05a16 16 0 0 0-20.35 20.3 1 1 0 0 0 .05.16l65.26 175.92A15.77 15.77 0 0 0 121.28 248h.3a15.77 15.77 0 0 0 15-11.29l.06-.2 21.84-78 78-21.84.2-.06a16 16 0 0 0 .62-30.38Zm-87.49 38.09a8 8 0 0 0-5.54 5.54l-23 82.16-.06-.17L56 56l175.82 65.22.16.06Z`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M176 16H80a24 24 0 0 0-24 24v176a24 24 0 0 0 24 24h96a24 24 0 0 0 24-24V40a24 24 0 0 0-24-24M72 64h112v128H72Zm8-32h96a8 8 0 0 1 8 8v8H72v-8a8 8 0 0 1 8-8m96 192H80a8 8 0 0 1-8-8v-8h112v8a8 8 0 0 1-8 8`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M237.66 18.34a8 8 0 0 0-11.32 0l-52.4 52.41-5.37-5.38a32.05 32.05 0 0 0-45.26 0L100 88.69l-6.34-6.35a8 8 0 0 0-11.32 11.32l6.35 6.34-23.32 23.31a32 32 0 0 0 0 45.26l5.38 5.37-52.41 52.4a8 8 0 0 0 11.32 11.32l52.4-52.41 5.37 5.38a32 32 0 0 0 45.26 0L156 167.31l6.34 6.35a8 8 0 0 0 11.32-11.32l-6.35-6.34 23.32-23.31a32 32 0 0 0 0-45.26l-5.38-5.37 52.41-52.4a8 8 0 0 0 0-11.32m-116.29 161a16 16 0 0 1-22.62 0l-22.06-22.09a16 16 0 0 1 0-22.62L100 111.31 144.69 156Zm57.94-57.94L156 144.69 111.31 100l23.32-23.31a16 16 0 0 1 22.62 0l22.06 22a16 16 0 0 1 0 22.68ZM88.57 35a8 8 0 0 1 14.86-6l8 20a8 8 0 0 1-14.86 6Zm-64 58A8 8 0 0 1 35 88.57l20 8a8 8 0 0 1-6 14.86l-20-8A8 8 0 0 1 24.57 93m206.86 70a8 8 0 0 1-10.4 4.46l-20-8a8 8 0 1 1 5.97-14.89l20 8a8 8 0 0 1 4.43 10.43m-64 58.06a8 8 0 0 1-14.86 5.94l-8-20a8 8 0 0 1 14.86-6Z`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M128 24a104 104 0 1 0 104 104A104.12 104.12 0 0 0 128 24m88 104a87.6 87.6 0 0 1-3.33 24h-38.51a157.4 157.4 0 0 0 0-48h38.51a87.6 87.6 0 0 1 3.33 24m-114 40h52a115.1 115.1 0 0 1-26 45 115.3 115.3 0 0 1-26-45m-3.9-16a140.8 140.8 0 0 1 0-48h59.88a140.8 140.8 0 0 1 0 48ZM40 128a87.6 87.6 0 0 1 3.33-24h38.51a157.4 157.4 0 0 0 0 48H43.33A87.6 87.6 0 0 1 40 128m114-40h-52a115.1 115.1 0 0 1 26-45 115.3 115.3 0 0 1 26 45m52.33 0h-35.62a135.3 135.3 0 0 0-22.3-45.6A88.29 88.29 0 0 1 206.37 88Zm-98.74-45.6A135.3 135.3 0 0 0 85.29 88H49.63a88.29 88.29 0 0 1 57.96-45.6M49.63 168h35.66a135.3 135.3 0 0 0 22.3 45.6A88.29 88.29 0 0 1 49.63 168m98.78 45.6a135.3 135.3 0 0 0 22.3-45.6h35.66a88.29 88.29 0 0 1-57.96 45.6`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M140 204a12 12 0 1 1-12-12 12 12 0 0 1 12 12m97.08-117a172 172 0 0 0-218.16 0 8 8 0 0 0 10.16 12.37 156 156 0 0 1 197.84 0A8 8 0 0 0 237.08 87M205 122.77a124 124 0 0 0-153.94 0A8 8 0 0 0 61 135.31a108 108 0 0 1 134.06 0 8 8 0 0 0 11.24-1.3 8 8 0 0 0-1.3-11.24m-32.26 35.76a76.05 76.05 0 0 0-89.42 0 8 8 0 0 0 9.42 12.94 60 60 0 0 1 70.58 0 8 8 0 1 0 9.42-12.94`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M128 88a40 40 0 1 0 40 40 40 40 0 0 0-40-40m0 64a24 24 0 1 1 24-24 24 24 0 0 1-24 24m73.71 7.14a80 80 0 0 1-14.08 22.2 8 8 0 0 1-11.92-10.67 63.95 63.95 0 0 0 0-85.33 8 8 0 1 1 11.92-10.67 80.08 80.08 0 0 1 14.08 84.47M69 103.09a64 64 0 0 0 11.26 67.58 8 8 0 0 1-11.92 10.67 79.93 79.93 0 0 1 0-106.67 8 8 0 1 1 11.95 10.67A63.8 63.8 0 0 0 69 103.09M248 128a119.58 119.58 0 0 1-34.29 84 8 8 0 1 1-11.42-11.2 103.9 103.9 0 0 0 0-145.56A8 8 0 1 1 213.71 44 119.58 119.58 0 0 1 248 128M53.71 200.78A8 8 0 1 1 42.29 212a119.87 119.87 0 0 1 0-168 8 8 0 1 1 11.42 11.2 103.9 103.9 0 0 0 0 145.56Z`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Yt as e,nn as t}from"./index-
|
|
1
|
+
import{Yt as e,nn as t}from"./index-0Vd4ITAj.js";import{_ as n,a as r,c as i,d as a,f as o,g as s,h as c,i as l,l as u,m as d,n as f,o as p,p as m,r as h,s as g,t as _,u as v,v as y}from"./lspLanguageFeatures-yWNYHr_2.js";var b=120*1e3,x=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&=(this._worker.dispose(),null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>b&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||=(this._worker=e({moduleId:`vs/language/css/cssWorker`,createWorker:()=>new Worker(new URL(`/assets/css.worker-CpJJqcA4.js`,``+import.meta.url),{type:`module`}),label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};function S(e){let n=[],s=[],c=new x(e);n.push(c);let g=(...e)=>c.getLanguageServiceWorker(...e);function y(){let{languageId:n,modeConfiguration:c}=e;w(s),c.completionItems&&s.push(t.registerCompletionItemProvider(n,new _(g,[`/`,`-`,`:`]))),c.hovers&&s.push(t.registerHoverProvider(n,new a(g))),c.documentHighlights&&s.push(t.registerDocumentHighlightProvider(n,new p(g))),c.definitions&&s.push(t.registerDefinitionProvider(n,new f(g))),c.references&&s.push(t.registerReferenceProvider(n,new o(g))),c.documentSymbols&&s.push(t.registerDocumentSymbolProvider(n,new u(g))),c.rename&&s.push(t.registerRenameProvider(n,new m(g))),c.colors&&s.push(t.registerColorProvider(n,new l(g))),c.foldingRanges&&s.push(t.registerFoldingRangeProvider(n,new v(g))),c.diagnostics&&s.push(new h(n,g,e.onDidChange)),c.selectionRanges&&s.push(t.registerSelectionRangeProvider(n,new d(g))),c.documentFormattingEdits&&s.push(t.registerDocumentFormattingEditProvider(n,new r(g))),c.documentRangeFormattingEdits&&s.push(t.registerDocumentRangeFormattingEditProvider(n,new i(g)))}return y(),n.push(C(s)),C(n)}function C(e){return{dispose:()=>w(e)}}function w(e){for(;e.length;)e.pop().dispose()}export{_ as CompletionAdapter,f as DefinitionAdapter,h as DiagnosticsAdapter,l as DocumentColorAdapter,r as DocumentFormattingEditProvider,p as DocumentHighlightAdapter,g as DocumentLinkAdapter,i as DocumentRangeFormattingEditProvider,u as DocumentSymbolAdapter,v as FoldingRangeAdapter,a as HoverAdapter,o as ReferenceAdapter,m as RenameAdapter,d as SelectionRangeAdapter,x as WorkerManager,c as fromPosition,s as fromRange,S as setupMode,n as toRange,y as toTextEdit};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Mi as e,Ni as t,Qr as n,Yi as r,er as i,hr as a,sa as o,ua as s}from"./index-
|
|
1
|
+
import{Mi as e,Ni as t,Qr as n,Yi as r,er as i,hr as a,sa as o,ua as s}from"./index-0Vd4ITAj.js";var c=a.extend({name:`divider`,style:`
|
|
2
2
|
.p-divider-horizontal {
|
|
3
3
|
display: flex;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Qa as e,eo as t,to as n}from"./index-
|
|
1
|
+
import{Qa as e,eo as t,to as n}from"./index-0Vd4ITAj.js";var r=n(e(((e,n)=>{(function(t){typeof e==`object`&&n!==void 0?n.exports=t():typeof define==`function`&&define.amd?define([],t):(typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof self<`u`?self:this).JSZip=t()})(function(){return function e(n,r,i){function a(s,c){if(!r[s]){if(!n[s]){var l=typeof t==`function`&&t;if(!c&&l)return l(s,!0);if(o)return o(s,!0);var u=Error(`Cannot find module '`+s+`'`);throw u.code=`MODULE_NOT_FOUND`,u}var d=r[s]={exports:{}};n[s][0].call(d.exports,function(e){var t=n[s][1][e];return a(t||e)},d,d.exports,e,n,r,i)}return r[s].exports}for(var o=typeof t==`function`&&t,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(e,t,n){var r=e(`./utils`),i=e(`./support`),a=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;n.encode=function(e){for(var t,n,i,o,s,c,l,u=[],d=0,f=e.length,p=f,m=r.getTypeOf(e)!==`string`;d<e.length;)p=f-d,i=m?(t=e[d++],n=d<f?e[d++]:0,d<f?e[d++]:0):(t=e.charCodeAt(d++),n=d<f?e.charCodeAt(d++):0,d<f?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|n>>4,c=1<p?(15&n)<<2|i>>6:64,l=2<p?63&i:64,u.push(a.charAt(o)+a.charAt(s)+a.charAt(c)+a.charAt(l));return u.join(``)},n.decode=function(e){var t,n,r,o,s,c,l=0,u=0,d=`data:`;if(e.substr(0,d.length)===d)throw Error(`Invalid base64 input, it looks like a data url.`);var f,p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,``)).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&p--,e.charAt(e.length-2)===a.charAt(64)&&p--,p%1!=0)throw Error(`Invalid base64 input, bad content length.`);for(f=i.uint8array?new Uint8Array(0|p):Array(0|p);l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(o=a.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(s=a.indexOf(e.charAt(l++)))>>2,r=(3&s)<<6|(c=a.indexOf(e.charAt(l++))),f[u++]=t,s!==64&&(f[u++]=n),c!==64&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e(`./external`),i=e(`./stream/DataWorker`),a=e(`./stream/Crc32Probe`),o=e(`./stream/DataLengthProbe`);function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o(`data_length`)),t=this;return e.on(`end`,function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error(`Bug : uncompressed data size mismatch`)}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo(`compressedSize`,this.compressedSize).withStreamInfo(`uncompressedSize`,this.uncompressedSize).withStreamInfo(`crc32`,this.crc32).withStreamInfo(`compression`,this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new o(`uncompressedSize`)).pipe(t.compressWorker(n)).pipe(new o(`compressedSize`)).withStreamInfo(`compression`,t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e(`./stream/GenericWorker`);n.STORE={magic:`\0\0`,compressWorker:function(){return new r(`STORE compression`)},uncompressWorker:function(){return new r(`STORE decompression`)}},n.DEFLATE=e(`./flate`)},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e(`./utils`),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return e!==void 0&&e.length?r.getTypeOf(e)===`string`?function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r=null;r=typeof Promise<`u`?Promise:e(`lie`),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Uint32Array<`u`,i=e(`pako`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=r?`uint8array`:`array`;function c(e,t){o.call(this,`FlateWorker/`+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic=`\b\0`,a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c(`Deflate`,e)},n.uncompressWorker=function(){return new c(`Inflate`,{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r=``;for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,o,u){var d,f,p=e.file,m=e.compression,h=u!==s.utf8encode,g=a.transformTo(`string`,u(p.name)),_=a.transformTo(`string`,s.utf8encode(p.name)),v=p.comment,y=a.transformTo(`string`,u(v)),b=a.transformTo(`string`,s.utf8encode(v)),x=_.length!==p.name.length,S=b.length!==v.length,C=``,w=``,T=``,E=p.dir,D=p.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var k=0;t&&(k|=8),h||!x&&!S||(k|=2048);var A=0,j=0;E&&(A|=16),o===`UNIX`?(j=798,A|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,E)):(j=20,A|=function(e){return 63&(e||0)}(p.dosPermissions)),d=D.getUTCHours(),d<<=6,d|=D.getUTCMinutes(),d<<=5,d|=D.getUTCSeconds()/2,f=D.getUTCFullYear()-1980,f<<=4,f|=D.getUTCMonth()+1,f<<=5,f|=D.getUTCDate(),x&&(w=r(1,1)+r(c(g),4)+_,C+=`up`+r(w.length,2)+w),S&&(T=r(1,1)+r(c(y),4)+b,C+=`uc`+r(T.length,2)+T);var M=``;return M+=`
|
|
2
2
|
\0`,M+=r(k,2),M+=m.magic,M+=r(d,2),M+=r(f,2),M+=r(O.crc32,4),M+=r(O.compressedSize,4),M+=r(O.uncompressedSize,4),M+=r(g.length,2),M+=r(C.length,2),{fileRecord:l.LOCAL_FILE_HEADER+M+g+C,dirRecord:l.CENTRAL_FILE_HEADER+r(j,2)+M+r(y.length,2)+`\0\0\0\0`+r(A,4)+r(i,4)+g+C+y}}var a=e(`../utils`),o=e(`../stream/GenericWorker`),s=e(`../utf8`),c=e(`../crc32`),l=e(`../signature`);function u(e,t,n,r){o.call(this,`ZipFileWorker`),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,o){var s=a.transformTo(`string`,o(i));return l.CENTRAL_DIRECTORY_END+`\0\0\0\0`+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on(`data`,function(e){t.processChunk(e)}),e.on(`end`,function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on(`error`,function(e){t.error(e)}),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e(`../compressions`),i=e(`./ZipFileWorker`);n.generateWorker=function(e,t,n){var a=new i(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach(function(e,n){o++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw Error(n+` is not a valid compression method !`);return i}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(i,s).withStreamInfo(`file`,{name:e,dir:c,date:l,comment:n.comment||``,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(a)}),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw Error(`The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.`);this.files=Object.create(null),this.comment=null,this.root=``,this.clone=function(){var e=new r;for(var t in this)typeof this[t]!=`function`&&(e[t]=this[t]);return e}}(r.prototype=e(`./object`)).loadAsync=e(`./load`),r.support=e(`./support`),r.defaults=e(`./defaults`),r.version=`3.10.1`,r.loadAsync=function(e,t){return new r().loadAsync(e,t)},r.external=e(`./external`),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e(`./utils`),i=e(`./external`),a=e(`./utf8`),o=e(`./zipEntries`),s=e(`./stream/Crc32Probe`),c=e(`./nodejsUtils`);function l(e){return new i.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on(`error`,function(e){n(e)}).on(`end`,function(){r.streamInfo.crc32===e.decompressed.crc32?t():n(Error(`Corrupted zip : CRC32 mismatch`))}).resume()})}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),c.isNode&&c.isStream(e)?i.Promise.reject(Error(`JSZip can't accept a stream when loading a zip file.`)):r.prepareContent(`the loaded zip file`,e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new o(t);return n.load(e),n}).then(function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var a=0;a<r.length;a++)n.push(l(r[a]));return i.Promise.all(n)}).then(function(e){for(var i=e.shift(),a=i.files,o=0;o<a.length;o++){var s=a[o],c=s.fileNameStr,l=r.resolve(s.fileNameStr);n.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(l).unsafeOriginalName=c)}return i.zipComment.length&&(n.comment=i.zipComment),n})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){var r=e(`../utils`),i=e(`../stream/GenericWorker`);function a(e,t){i.call(this,`Nodejs stream input adapter for `+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(a,i),a.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on(`data`,function(e){t.push({data:e,meta:{percent:0}})}).on(`error`,function(e){t.isPaused?this.generatedError=e:t.error(e)}).on(`end`,function(){t.isPaused?t._upstreamEnded=!0:t.end()})},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){var r=e(`readable-stream`).Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on(`data`,function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on(`error`,function(e){i.emit(`error`,e)}).on(`end`,function(){i.push(null)})}e(`../utils`).inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){t.exports={isNode:typeof Buffer<`u`,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e==`number`)throw Error(`The "data" argument must not be a number`);return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on==`function`&&typeof e.pause==`function`&&typeof e.resume==`function`}}},{}],15:[function(e,t,n){function r(e,t,n){var r,i=a.getTypeOf(t),s=a.extend(n||{},c);s.date=s.date||new Date,s.compression!==null&&(s.compression=s.compression.toUpperCase()),typeof s.unixPermissions==`string`&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=h(e)),s.createFolders&&(r=m(e))&&g.call(this,r,!0);var d=i===`string`&&!1===s.binary&&!1===s.base64;n&&n.binary!==void 0||(s.binary=!d),(t instanceof l&&t.uncompressedSize===0||s.dir||!t||t.length===0)&&(s.base64=!1,s.binary=!0,t=``,s.compression=`STORE`,i=`string`);var _=null;_=t instanceof l||t instanceof o?t:f.isNode&&f.isStream(t)?new p(e,t):a.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new u(e,_,s);this.files[e]=v}var i=e(`./utf8`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=e(`./stream/StreamHelper`),c=e(`./defaults`),l=e(`./compressedObject`),u=e(`./zipObject`),d=e(`./generate`),f=e(`./nodejsUtils`),p=e(`./nodejs/NodejsStreamInputAdapter`),m=function(e){e.slice(-1)===`/`&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf(`/`);return 0<t?e.substring(0,t):``},h=function(e){return e.slice(-1)!==`/`&&(e+=`/`),e},g=function(e,t){return t=t===void 0?c.createFolders:t,e=h(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function _(e){return Object.prototype.toString.call(e)===`[object RegExp]`}t.exports={load:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length!==1)return e=this.root+e,r.call(this,e,t,n),this;if(_(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(_(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||=(e.slice(-1)!==`/`&&(e+=`/`),this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},generateInternalStream:function(e){var t,n={};try{if((n=a.extend(e||{},{streamFiles:!1,compression:`STORE`,compressionOptions:null,type:``,platform:`DOS`,comment:null,mimeType:`application/zip`,encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type===`binarystring`&&(n.type=`string`),!n.type)throw Error(`No output type specified.`);a.checkSupport(n.type),n.platform!==`darwin`&&n.platform!==`freebsd`&&n.platform!==`linux`&&n.platform!==`sunos`||(n.platform=`UNIX`),n.platform===`win32`&&(n.platform=`DOS`);var r=n.comment||this.comment||``;t=d.generateWorker(this,n,r)}catch(e){(t=new o(`error`)).error(e)}return new s(t,n.type||`string`,n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e||={}).type||(e.type=`nodebuffer`),this.generateInternalStream(e).toNodejsStream(t)}}},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){t.exports=e(`stream`)},{stream:void 0}],17:[function(e,t,n){var r=e(`./DataReader`);function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e(`../utils`).inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&r===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){var r=e(`../utils`);function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error(`End of data reached (data length = `+this.length+`, asked index = `+e+`). Corrupted zip ?`)},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo(`string`,this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){var r=e(`./Uint8ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var r=e(`./DataReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var r=e(`./ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array;var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var r=e(`../utils`),i=e(`../support`),a=e(`./ArrayReader`),o=e(`./StringReader`),s=e(`./NodeBufferReader`),c=e(`./Uint8ArrayReader`);t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),t!==`string`||i.uint8array?t===`nodebuffer`?new s(e):i.uint8array?new c(r.transformTo(`uint8array`,e)):new a(r.transformTo(`array`,e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER=`PK`,n.CENTRAL_FILE_HEADER=`PK`,n.CENTRAL_DIRECTORY_END=`PK`,n.ZIP64_CENTRAL_DIRECTORY_LOCATOR=`PK\x07`,n.ZIP64_CENTRAL_DIRECTORY_END=`PK`,n.DATA_DESCRIPTOR=`PK\x07\b`},{}],24:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../utils`);function a(e){r.call(this,`ConvertWorker to `+e),this.destType=e}i.inherits(a,r),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../crc32`);function a(){r.call(this,`Crc32Probe`),this.withStreamInfo(`crc32`,0)}e(`../utils`).inherits(a,r),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataLengthProbe for `+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataWorker`);var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=``,this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case`string`:e=this.data.substring(this.index,t);break;case`uint8array`:e=this.data.subarray(this.index,t);break;case`array`:case`nodebuffer`:e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function r(e){this.name=e||`default`,this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit(`data`,e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(`end`),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(`error`,e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(`error`,e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error(`The stream '`+this+`' has already been used.`);this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on(`data`,function(e){t.processChunk(e)}),e.on(`end`,function(){t.end()}),e.on(`error`,function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error(`The stream '`+this+`' has already been used.`);this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e=`Worker `+this.name;return this.previous?this.previous+` -> `+e:e}},t.exports=r},{}],29:[function(e,t,n){var r=e(`../utils`),i=e(`./ConvertWorker`),a=e(`./GenericWorker`),o=e(`../base64`),s=e(`../support`),c=e(`../external`),l=null;if(s.nodestream)try{l=e(`../nodejs/NodejsStreamOutputAdapter`)}catch{}function u(e,t){return new c.Promise(function(n,i){var a=[],s=e._internalType,c=e._outputType,l=e._mimeType;e.on(`data`,function(e,n){a.push(e),t&&t(n)}).on(`error`,function(e){a=[],i(e)}).on(`end`,function(){try{n(function(e,t,n){switch(e){case`blob`:return r.newBlob(r.transformTo(`arraybuffer`,t),n);case`base64`:return o.encode(t);default:return r.transformTo(e,t)}}(c,function(e,t){var n,r=0,i=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case`string`:return t.join(``);case`array`:return Array.prototype.concat.apply([],t);case`uint8array`:for(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case`nodebuffer`:return Buffer.concat(t);default:throw Error(`concat : unsupported type '`+e+`'`)}}(s,a),l))}catch(e){i(e)}a=[]}).resume()})}function d(e,t,n){var o=t;switch(t){case`blob`:case`arraybuffer`:o=`uint8array`;break;case`base64`:o=`string`}try{this._internalType=o,this._outputType=t,this._mimeType=n,r.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new a(`error`),this._worker.error(e)}}d.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var n=this;return e===`data`?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){r.delay(t,arguments,n)}),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(r.checkSupport(`nodestream`),this._outputType!==`nodebuffer`)throw Error(this._outputType+` is not supported by this method`);return new l(this,{objectMode:this._outputType!==`nodebuffer`},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer=typeof ArrayBuffer<`u`&&typeof Uint8Array<`u`,n.nodebuffer=typeof Buffer<`u`,n.uint8array=typeof Uint8Array<`u`,typeof ArrayBuffer>`u`)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=new Blob([r],{type:`application/zip`}).size===0}catch{try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=i.getBlob(`application/zip`).size===0}catch{n.blob=!1}}}try{n.nodestream=!!e(`readable-stream`).Readable}catch{n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var r=e(`./utils`),i=e(`./support`),a=e(`./nodejsUtils`),o=e(`./stream/GenericWorker`),s=Array(256),c=0;c<256;c++)s[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;s[254]=s[254]=1;function l(){o.call(this,`utf-8 decode`),this.leftOver=null}function u(){o.call(this,`utf-8 encode`)}n.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,`utf-8`):function(e){var t,n,r,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(c):Array(c),a=o=0;o<c;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo(`nodebuffer`,e).toString(`utf-8`):function(e){var t,n,i,a,o=e.length,c=Array(2*o);for(t=n=0;t<o;)if((i=e[t++])<128)c[n++]=i;else if(4<(a=s[i]))c[n++]=65533,t+=a-1;else{for(i&=a===2?31:a===3?15:7;1<a&&t<o;)i=i<<6|63&e[t++],a--;1<a?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)}(e=r.transformTo(i.uint8array?`uint8array`:`array`,e))},r.inherits(l,o),l.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?`uint8array`:`array`,e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+s[e[n]]>t?n:t}(t),c=t;o!==t.length&&(i.uint8array?(c=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(c=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e(`./support`),i=e(`./base64`),a=e(`./nodejsUtils`),o=e(`./external`);function s(e){return e}function c(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e(`setimmediate`),n.newBlob=function(e,t){n.checkSupport(`blob`);try{return new Blob([e],{type:t})}catch{try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch{throw Error(`Bug : can't construct the Blob.`)}}};var l={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)t===`array`||t===`nodebuffer`?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,a)))),i+=n;return r.join(``)},stringifyByChar:function(e){for(var t=``,n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch{return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),i=!0;if(r===`uint8array`?i=l.applyCanBeUsed.uint8array:r===`nodebuffer`&&(i=l.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return l.stringifyByChunk(e,r,t)}catch{t=Math.floor(t/2)}return l.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var f={};f.string={string:s,array:function(e){return c(e,Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,a.allocBuffer(e.length))}},f.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},f.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},f.nodebuffer={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){return t||=``,e?(n.checkSupport(e),f[n.getTypeOf(t)][e](t)):t},n.resolve=function(e){for(var t=e.split(`/`),n=[],r=0;r<t.length;r++){var i=t[r];i===`.`||i===``&&r!==0&&r!==t.length-1||(i===`..`?n.pop():n.push(i))}return n.join(`/`)},n.getTypeOf=function(e){return typeof e==`string`?`string`:Object.prototype.toString.call(e)===`[object Array]`?`array`:r.nodebuffer&&a.isBuffer(e)?`nodebuffer`:r.uint8array&&e instanceof Uint8Array?`uint8array`:r.arraybuffer&&e instanceof ArrayBuffer?`arraybuffer`:void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw Error(e+` is not supported by this platform`)},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r=``;for(n=0;n<(e||``).length;n++)r+=`\\x`+((t=e.charCodeAt(n))<16?`0`:``)+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&n[t]===void 0&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,a,s,l){return o.Promise.resolve(t).then(function(e){return r.blob&&(e instanceof Blob||[`[object File]`,`[object Blob]`].indexOf(Object.prototype.toString.call(e))!==-1)&&typeof FileReader<`u`?new o.Promise(function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)}):e}).then(function(t){var u=n.getTypeOf(t);return u?(u===`arraybuffer`?t=n.transformTo(`uint8array`,t):u===`string`&&(l?t=i.decode(t):a&&!0!==s&&(t=function(e){return c(e,r.uint8array?new Uint8Array(e.length):Array(e.length))}(t))),t):o.Promise.reject(Error(`Can't read the data of '`+e+`'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?`))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){var r=e(`./reader/readerFor`),i=e(`./utils`),a=e(`./signature`),o=e(`./zipEntry`),s=e(`./support`);function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error(`Corrupted zip or bug: unexpected signature (`+i.pretty(t)+`, expected `+i.pretty(e)+`)`)}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?`uint8array`:`array`,n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error(`Multi-volumes zip are not supported`)},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw Error(`Corrupted zip or bug: expected `+this.centralDirRecords+` records in central dir, got `+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?Error(`Corrupted zip: can't find end of central directory`):Error(`Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html`);this.reader.setIndex(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error(`Corrupted zip: can't find the ZIP64 end of central directory locator`);if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error(`Corrupted zip: can't find the ZIP64 end of central directory`);this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw Error(`Corrupted zip: missing `+Math.abs(r)+` bytes.`)},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){var r=e(`./reader/readerFor`),i=e(`./utils`),a=e(`./compressedObject`),o=e(`./crc32`),s=e(`./utf8`),c=e(`./compressions`),l=e(`./support`);function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw Error(`Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)`);if((t=function(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod))===null)throw Error(`Corrupted zip : compression `+i.pretty(this.compressionMethod)+` unknown (inner file : `+i.transformTo(`string`,this.fileName)+`)`);this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error(`Encrypted zip are not supported`);e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),e==0&&(this.dosPermissions=63&this.externalFileAttributes),e==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!==`/`||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||={};e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=l.uint8array?`uint8array`:`array`;if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return t.readInt(1)===1&&o(this.fileName)===t.readInt(4)?s.utf8decode(t.readData(e.length-5)):null}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return t.readInt(1)===1&&o(this.fileComment)===t.readInt(4)?s.utf8decode(t.readData(e.length-5)):null}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e(`./stream/StreamHelper`),a=e(`./stream/DataWorker`),o=e(`./utf8`),s=e(`./compressedObject`),c=e(`./stream/GenericWorker`);r.prototype={internalStream:function(e){var t=null,n=`string`;try{if(!e)throw Error(`No output type specified.`);var r=(n=e.toLowerCase())===`string`||n===`text`;n!==`binarystring`&&n!==`text`||(n=`string`),t=this._decompressWorker();var a=!this._dataBinary;a&&!r&&(t=t.pipe(new o.Utf8EncodeWorker)),!a&&r&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new c(`error`)).error(e)}return new i(t,n,``)},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||`nodebuffer`).toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof c?this._data:new a(this._data)}};for(var l=[`asText`,`asBinary`,`asNodeBuffer`,`asUint8Array`,`asArrayBuffer`],u=function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},d=0;d<l.length;d++)r.prototype[l[d]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,o=new i(u),s=e.document.createTextNode(``);o.observe(s,{characterData:!0}),n=function(){s.data=a=++a%2}}else if(e.setImmediate||e.MessageChannel===void 0)n=`document`in e&&`onreadystatechange`in e.document.createElement(`script`)?function(){var t=e.document.createElement(`script`);t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,n=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}t.exports=function(e){l.push(e)!==1||r||n()}}).call(this,typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:{})},{}],37:[function(e,t,n){var r=e(`immediate`);function i(){}var a={},o=[`REJECTED`],s=[`FULFILLED`],c=[`PENDING`];function l(e){if(typeof e!=`function`)throw TypeError(`resolver must be a function`);this.state=c,this.queue=[],this.outcome=void 0,e!==i&&p(this,e)}function u(e,t,n){this.promise=e,typeof t==`function`&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n==`function`&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return a.reject(e,t)}r===e?a.reject(e,TypeError(`Cannot resolve promise with itself`)):a.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&(typeof e==`object`||typeof e==`function`)&&typeof t==`function`)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,a.reject(e,t))}function i(t){n||(n=!0,a.resolve(e,t))}var o=m(function(){t(i,r)});o.status===`error`&&r(o.value)}function m(e,t){var n={};try{n.value=e(t),n.status=`success`}catch(e){n.status=`error`,n.value=e}return n}(t.exports=l).prototype.finally=function(e){if(typeof e!=`function`)return this;var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if(typeof e!=`function`&&this.state===s||typeof t!=`function`&&this.state===o)return this;var n=new this.constructor(i);return this.state===c?this.queue.push(new u(n,e,t)):d(n,this.state===s?e:t,this.outcome),n},u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},a.resolve=function(e,t){var n=m(f,t);if(n.status===`error`)return a.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return a.reject(t,e)},l.all=function(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=Array(n),s=0,c=-1,l=new this(i);++c<n;)u(e[c],c);return l;function u(e,i){t.resolve(e).then(function(e){o[i]=e,++s!==n||r||(r=!0,a.resolve(l,o))},function(e){r||(r=!0,a.reject(l,e))})}},l.race=function(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=-1,s=new this(i);++o<n;)c=e[o],t.resolve(c).then(function(e){r||(r=!0,a.resolve(s,e))},function(e){r||(r=!0,a.reject(s,e))});var c;return s}},{immediate:36}],38:[function(e,t,n){var r={};(0,e(`./lib/utils/common`).assign)(r,e(`./lib/deflate`),e(`./lib/inflate`),e(`./lib/zlib/constants`)),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){var r=e(`./zlib/deflate`),i=e(`./utils/common`),a=e(`./utils/strings`),o=e(`./zlib/messages`),s=e(`./zlib/zstream`),c=Object.prototype.toString,l=0,u=-1,d=0,f=8;function p(e){if(!(this instanceof p))return new p(e);this.options=i.assign({level:u,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:``},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg=``,this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==l)throw Error(o[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var m;if(m=typeof t.dictionary==`string`?a.string2buf(t.dictionary):c.call(t.dictionary)===`[object ArrayBuffer]`?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,m))!==l)throw Error(o[n]);this._dict_set=!0}}function m(e,t){var n=new p(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}p.prototype.push=function(e,t){var n,o,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,typeof e==`string`?s.input=a.string2buf(e):c.call(e)===`[object ArrayBuffer]`?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(s.avail_out===0&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),(n=r.deflate(s,o))!==1&&n!==l)return this.onEnd(n),!(this.ended=!0);s.avail_out!==0&&(s.avail_in!==0||o!==4&&o!==2)||(this.options.to===`string`?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||s.avail_out===0)&&n!==1);return o===4?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l):o!==2||(this.onEnd(l),!(s.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===l&&(this.options.to===`string`?this.result=this.chunks.join(``):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=p,n.deflate=m,n.deflateRaw=function(e,t){return(t||={}).raw=!0,m(e,t)},n.gzip=function(e,t){return(t||={}).gzip=!0,m(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){var r=e(`./zlib/inflate`),i=e(`./utils/common`),a=e(`./utils/strings`),o=e(`./zlib/constants`),s=e(`./zlib/messages`),c=e(`./zlib/zstream`),l=e(`./zlib/gzheader`),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:``},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg=``,this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK)throw Error(s[n]);this.header=new l,r.inflateGetHeader(this.strm,this.header)}function f(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,c,l,d,f,p=this.strm,m=this.options.chunkSize,h=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,typeof e==`string`?p.input=a.binstring2buf(e):u.call(e)===`[object ArrayBuffer]`?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(p.avail_out===0&&(p.output=new i.Buf8(m),p.next_out=0,p.avail_out=m),(n=r.inflate(p,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&h&&(f=typeof h==`string`?a.string2buf(h):u.call(h)===`[object ArrayBuffer]`?new Uint8Array(h):h,n=r.inflateSetDictionary(this.strm,f)),n===o.Z_BUF_ERROR&&!0===g&&(n=o.Z_OK,g=!1),n!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),!(this.ended=!0);p.next_out&&(p.avail_out!==0&&n!==o.Z_STREAM_END&&(p.avail_in!==0||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||(this.options.to===`string`?(c=a.utf8border(p.output,p.next_out),l=p.next_out-c,d=a.buf2string(p.output,c),p.next_out=l,p.avail_out=m-l,l&&i.arraySet(p.output,p.output,c,l,0),this.onData(d)):this.onData(i.shrinkBuf(p.output,p.next_out)))),p.avail_in===0&&p.avail_out===0&&(g=!0)}while((0<p.avail_in||p.avail_out===0)&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(p.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&(this.options.to===`string`?this.result=this.chunks.join(``):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=f,n.inflateRaw=function(e,t){return(t||={}).raw=!0,f(e,t)},n.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Int32Array<`u`;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if(typeof n!=`object`)throw TypeError(n+`must be non-object`);for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,o;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(r)},{}],42:[function(e,t,n){var r=e(`./common`),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch{i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{a=!1}for(var o=new r.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function c(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n=``,o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,n.string2buf=function(e){var t,n,i,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(c),a=o=0;o<c;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,a,s=t||e.length,l=Array(2*s);for(n=r=0;n<s;)if((i=e[n++])<128)l[r++]=i;else if(4<(a=o[i]))l[r++]=65533,n+=a-1;else{for(i&=a===2?31:a===3?15:7;1<a&&n<s;)i=i<<6|63&e[n++],a--;1<a?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return c(l,r)},n.utf8border=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+o[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;n!==0;){for(n-=o=2e3<n?2e3:n;a=a+(i=i+t[r++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16|0}},{}],44:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){var r,i=e(`../utils/common`),a=e(`./trees`),o=e(`./adler32`),s=e(`./crc32`),c=e(`./messages`),l=0,u=4,d=0,f=-2,p=-1,m=4,h=2,g=8,_=9,v=286,y=30,b=19,x=2*v+1,S=15,C=3,w=258,T=w+C+1,E=42,D=113,O=1,k=2,A=3,j=4;function M(e,t){return e.msg=c[t],t}function N(e){return(e<<1)-(4<e?9:0)}function P(e){for(var t=e.length;0<=--t;)e[t]=0}function F(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function I(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function L(e,t){e.pending_buf[e.pending++]=t}function R(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function z(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-T?e.strstart-(e.w_size-T):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+w,p=l[a+o-1],m=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do if(l[(n=t)+o]===m&&l[n+o-1]===p&&l[n]===l[a]&&l[++n]===l[a+1]){a+=2,n++;do;while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&a<f);if(r=w-(f-a),a=f-w,o<r){if(e.match_start=t,s<=(o=r))break;p=l[a+o-1],m=l[a+o]}}while((t=d[t&u])>c&&--i!=0);return o<=e.lookahead?o:e.lookahead}function B(e){var t,n,r,a,c,l,u,d,f,p,m=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-T)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);a+=m}if(e.strm.avail_in===0)break;if(l=e.strm,u=e.window,d=e.strstart+e.lookahead,f=a,p=void 0,p=l.avail_in,f<p&&(p=f),n=p===0?0:(l.avail_in-=p,i.arraySet(u,l.input,l.next_in,p,d),l.state.wrap===1?l.adler=o(l.adler,u,p,d):l.state.wrap===2&&(l.adler=s(l.adler,u,p,d)),l.next_in+=p,l.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=C)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+C-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<C)););}while(e.lookahead<T&&e.strm.avail_in!==0)}function V(e,t){for(var n,r;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===l)return O;if(e.lookahead===0)break}if(n=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-T&&(e.match_length=z(e,n)),e.match_length>=C)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-C),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=C){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,--e.match_length!=0;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=e.strstart<C-1?e.strstart:C-1,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}function H(e,t){for(var n,r,i;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===l)return O;if(e.lookahead===0)break}if(n=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=C-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-T&&(e.match_length=z(e,n),e.match_length<=5&&(e.strategy===1||e.match_length===C&&4096<e.strstart-e.match_start)&&(e.match_length=C-1)),e.prev_length>=C&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-C,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-C),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),--e.prev_length!=0;);if(e.match_available=0,e.match_length=C-1,e.strstart++,r&&(I(e,!1),e.strm.avail_out===0))return O}else if(e.match_available){if((r=a._tr_tally(e,0,e.window[e.strstart-1]))&&I(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return O}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&=(r=a._tr_tally(e,0,e.window[e.strstart-1]),0),e.insert=e.strstart<C-1?e.strstart:C-1,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}function U(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function W(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*x),this.dyn_dtree=new i.Buf16(2*(2*y+1)),this.bl_tree=new i.Buf16(2*(2*b+1)),P(this.dyn_ltree),P(this.dyn_dtree),P(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(S+1),this.heap=new i.Buf16(2*v+1),P(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*v+1),P(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function G(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=h,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?E:D,e.adler=t.wrap===2?0:1,t.last_flush=l,a._tr_init(t),d):M(e,f)}function K(e){var t=G(e);return t===d&&function(e){e.window_size=2*e.w_size,P(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=C-1,e.match_available=0,e.ins_h=0}(e.state),t}function q(e,t,n,r,a,o){if(!e)return f;var s=1;if(t===p&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),a<1||_<a||n!==g||r<8||15<r||t<0||9<t||o<0||m<o)return M(e,f);r===8&&(r=9);var c=new W;return(e.state=c).strm=e,c.wrap=s,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+C-1)/C),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=n,K(e)}r=[new U(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),e.lookahead===0&&t===l)return O;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,I(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-T&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):(e.strstart>e.block_start&&(I(e,!1),e.strm.avail_out),O)}),new U(4,4,8,4,V),new U(4,5,16,8,V),new U(4,6,32,32,V),new U(4,4,16,16,H),new U(8,16,32,32,H),new U(8,16,128,128,H),new U(8,32,128,256,H),new U(32,128,258,1024,H),new U(32,258,258,4096,H)],n.deflateInit=function(e,t){return q(e,t,g,15,8,0)},n.deflateInit2=q,n.deflateReset=K,n.deflateResetKeep=G,n.deflateSetHeader=function(e,t){return e&&e.state&&e.state.wrap===2?(e.state.gzhead=t,d):f},n.deflate=function(e,t){var n,i,o,c;if(!e||!e.state||5<t||t<0)return e?M(e,f):f;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===666&&t!==u)return M(e,e.avail_out===0?-5:f);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===E)if(i.wrap===2)e.adler=0,L(i,31),L(i,139),L(i,8),i.gzhead?(L(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),L(i,255&i.gzhead.time),L(i,i.gzhead.time>>8&255),L(i,i.gzhead.time>>16&255),L(i,i.gzhead.time>>24&255),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(L(i,255&i.gzhead.extra.length),L(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(L(i,0),L(i,0),L(i,0),L(i,0),L(i,0),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,3),i.status=D);else{var p=g+(i.w_bits-8<<4)<<8;p|=(2<=i.strategy||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(p|=32),p+=31-p%31,i.status=D,R(i,p),i.strstart!==0&&(R(i,e.adler>>>16),R(i,65535&e.adler)),e.adler=1}if(i.status===69)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending!==i.pending_buf_size));)L(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(i.status===73)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,L(i,c)}while(c!==0);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.gzindex=0,i.status=91)}else i.status=91;if(i.status===91)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,L(i,c)}while(c!==0);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.status=103)}else i.status=103;if(i.status===103&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&F(e),i.pending+2<=i.pending_buf_size&&(L(i,255&e.adler),L(i,e.adler>>8&255),e.adler=0,i.status=D)):i.status=D),i.pending!==0){if(F(e),e.avail_out===0)return i.last_flush=-1,d}else if(e.avail_in===0&&N(t)<=N(n)&&t!==u)return M(e,-5);if(i.status===666&&e.avail_in!==0)return M(e,-5);if(e.avail_in!==0||i.lookahead!==0||t!==l&&i.status!==666){var m=i.strategy===2?function(e,t){for(var n;;){if(e.lookahead===0&&(B(e),e.lookahead===0)){if(t===l)return O;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):i.strategy===3?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=w){if(B(e),e.lookahead<=w&&t===l)return O;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=C&&0<e.strstart&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){o=e.strstart+w;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<o);e.match_length=w-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=C?(n=a._tr_tally(e,1,e.match_length-C),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):r[i.level].func(i,t);if(m!==A&&m!==j||(i.status=666),m===O||m===A)return e.avail_out===0&&(i.last_flush=-1),d;if(m===k&&(t===1?a._tr_align(i):t!==5&&(a._tr_stored_block(i,0,0,!1),t===3&&(P(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),F(e),e.avail_out===0))return i.last_flush=-1,d}return t===u?i.wrap<=0?1:(i.wrap===2?(L(i,255&e.adler),L(i,e.adler>>8&255),L(i,e.adler>>16&255),L(i,e.adler>>24&255),L(i,255&e.total_in),L(i,e.total_in>>8&255),L(i,e.total_in>>16&255),L(i,e.total_in>>24&255)):(R(i,e.adler>>>16),R(i,65535&e.adler)),F(e),0<i.wrap&&(i.wrap=-i.wrap),i.pending===0?1:d):d},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&t!==69&&t!==73&&t!==91&&t!==103&&t!==D&&t!==666?M(e,f):(e.state=null,t===D?M(e,-3):d):f},n.deflateSetDictionary=function(e,t){var n,r,a,s,c,l,u,p,m=t.length;if(!e||!e.state||(s=(n=e.state).wrap)===2||s===1&&n.status!==E||n.lookahead)return f;for(s===1&&(e.adler=o(e.adler,t,m,0)),n.wrap=0,m>=n.w_size&&(s===0&&(P(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new i.Buf8(n.w_size),i.arraySet(p,t,m-n.w_size,n.w_size,0),t=p,m=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=m,e.next_in=0,e.input=t,B(n);n.lookahead>=C;){for(r=n.strstart,a=n.lookahead-(C-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+C-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--a;);n.strstart=r,n.lookahead=C-1,B(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=C-1,n.match_available=0,e.next_in=l,e.input=u,e.avail_in=c,n.wrap=s,d},n.deflateInfo=`pako deflate (from Nodeca project)`},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name=``,this.comment=``,this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){t.exports=function(e,t){var n=e.state,r=e.next_in,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T=e.input,E;i=r+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,d=n.wnext,f=n.window,p=n.hold,m=n.bits,h=n.lencode,g=n.distcode,_=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=h[p&_];t:for(;;){if(p>>>=b=y>>>24,m-=b,(b=y>>>16&255)==0)E[a++]=65535&y;else{if(!(16&b)){if(!(64&b)){y=h[(65535&y)+(p&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg=`invalid literal/length code`,n.mode=30;break e}x=65535&y,(b&=15)&&(m<b&&(p+=T[r++]<<m,m+=8),x+=p&(1<<b)-1,p>>>=b,m-=b),m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=g[p&v];r:for(;;){if(p>>>=b=y>>>24,m-=b,!(16&(b=y>>>16&255))){if(!(64&b)){y=g[(65535&y)+(p&(1<<b)-1)];continue r}e.msg=`invalid distance code`,n.mode=30;break e}if(S=65535&y,m<(b&=15)&&(p+=T[r++]<<m,(m+=8)<b&&(p+=T[r++]<<m,m+=8)),c<(S+=p&(1<<b)-1)){e.msg=`invalid distance too far back`,n.mode=30;break e}if(p>>>=b,m-=b,(b=a-o)<S){if(u<(b=S-b)&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break e}if(w=f,(C=0)===d){if(C+=l-b,b<x){for(x-=b;E[a++]=f[C++],--b;);C=a-S,w=E}}else if(d<b){if(C+=l+d-b,(b-=d)<x){for(x-=b;E[a++]=f[C++],--b;);if(C=0,d<x){for(x-=b=d;E[a++]=f[C++],--b;);C=a-S,w=E}}}else if(C+=d-b,b<x){for(x-=b;E[a++]=f[C++],--b;);C=a-S,w=E}for(;2<x;)E[a++]=w[C++],E[a++]=w[C++],E[a++]=w[C++],x-=3;x&&(E[a++]=w[C++],1<x&&(E[a++]=w[C++]))}else{for(C=a-S;E[a++]=E[C++],E[a++]=E[C++],E[a++]=E[C++],2<(x-=3););x&&(E[a++]=E[C++],1<x&&(E[a++]=E[C++]))}break}}break}}while(r<i&&a<s);r-=x=m>>3,p&=(1<<(m-=x<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=p,n.bits=m}},{}],49:[function(e,t,n){var r=e(`../utils/common`),i=e(`./adler32`),a=e(`./crc32`),o=e(`./inffast`),s=e(`./inftrees`),c=1,l=2,u=0,d=-2,f=1,p=852,m=592;function h(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=``,t.wrap&&(e.adler=1&t.wrap),t.mode=f,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(p),t.distcode=t.distdyn=new r.Buf32(m),t.sane=1,t.back=-1,u):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,_(e)):d}function y(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,v(e))):d}function b(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=y(e,t))!==u&&(e.state=null),n):d}var x,S,C=!0;function w(e){if(C){var t;for(x=new r.Buf32(512),S=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,x,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(l,e.lens,0,32,S,0,e.work,{bits:5}),C=!1}e.lencode=x,e.lenbits=9,e.distcode=S,e.distbits=5}function T(e,t,n,i){var a,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new r.Buf8(o.wsize)),i>=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}n.inflateReset=v,n.inflateReset2=y,n.inflateResetKeep=_,n.inflateInit=function(e){return b(e,15)},n.inflateInit2=b,n.inflate=function(e,t){var n,p,m,g,_,v,y,b,x,S,C,E,D,O,k,A,j,M,N,P,F,I,L,R,z=0,B=new r.Buf8(4),V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return d;(n=e.state).mode===12&&(n.mode=13),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,S=v,C=y,I=u;e:for(;;)switch(n.mode){case f:if(n.wrap===0){n.mode=13;break}for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(2&n.wrap&&b===35615){B[n.check=0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0),x=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg=`incorrect header check`,n.mode=30;break}if((15&b)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(x-=4,F=8+(15&(b>>>=4)),n.wbits===0)n.wbits=F;else if(F>n.wbits){e.msg=`invalid window size`,n.mode=30;break}n.dmax=1<<F,e.adler=n.check=1,n.mode=512&b?10:12,x=b=0;break;case 2:for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(n.flags=b,(255&n.flags)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(57344&n.flags){e.msg=`unknown header flags set`,n.mode=30;break}n.head&&(n.head.text=b>>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=3;case 3:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.head&&(n.head.time=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=a(n.check,B,4,0)),x=b=0,n.mode=4;case 4:for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.head&&(n.head.xflags=255&b,n.head.os=b>>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=5;case 5:if(1024&n.flags){for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.length=b,n.head&&(n.head.extra_len=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),r.arraySet(n.head.extra,p,g,E,F)),512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(v===0)break e;for(E=0;F=p[g+ E++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&E<v;);if(512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,F)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(v===0)break e;for(E=0;F=p[g+ E++],n.head&&F&&n.length<65536&&(n.head.comment+=String.fromCharCode(F)),F&&E<v;);if(512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,F)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(b!==(65535&n.check)){e.msg=`header crc mismatch`,n.mode=30;break}x=b=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}e.adler=n.check=h(b),x=b=0,n.mode=11;case 11:if(n.havedict===0)return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,2;e.adler=n.check=1,n.mode=12;case 12:if(t===5||t===6)break e;case 13:if(n.last){b>>>=7&x,x-=7&x,n.mode=27;break}for(;x<3;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}switch(n.last=1&b,--x,3&(b>>>=1)){case 0:n.mode=14;break;case 1:if(w(n),n.mode=20,t!==6)break;b>>>=2,x-=2;break e;case 2:n.mode=17;break;case 3:e.msg=`invalid block type`,n.mode=30}b>>>=2,x-=2;break;case 14:for(b>>>=7&x,x-=7&x;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if((65535&b)!=(b>>>16^65535)){e.msg=`invalid stored block lengths`,n.mode=30;break}if(n.length=65535&b,x=b=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v<E&&(E=v),y<E&&(E=y),E===0)break e;r.arraySet(m,p,g,E,_),v-=E,g+=E,y-=E,_+=E,n.length-=E;break}n.mode=12;break;case 17:for(;x<14;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(n.nlen=257+(31&b),b>>>=5,x-=5,n.ndist=1+(31&b),b>>>=5,x-=5,n.ncode=4+(15&b),b>>>=4,x-=4,286<n.nlen||30<n.ndist){e.msg=`too many length or distance symbols`,n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;x<3;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.lens[V[n.have++]]=7&b,b>>>=3,x-=3}for(;n.have<19;)n.lens[V[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},I=s(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid code lengths set`,n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;A=(z=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(j<16)b>>>=k,x-=k,n.lens[n.have++]=j;else{if(j===16){for(R=k+2;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(b>>>=k,x-=k,n.have===0){e.msg=`invalid bit length repeat`,n.mode=30;break}F=n.lens[n.have-1],E=3+(3&b),b>>>=2,x-=2}else if(j===17){for(R=k+3;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}x-=k,F=0,E=3+(7&(b>>>=k)),b>>>=3,x-=3}else{for(R=k+7;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}x-=k,F=0,E=11+(127&(b>>>=k)),b>>>=7,x-=7}if(n.have+E>n.nlen+n.ndist){e.msg=`invalid bit length repeat`,n.mode=30;break}for(;E--;)n.lens[n.have++]=F}}if(n.mode===30)break;if(n.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,n.mode=30;break}if(n.lenbits=9,L={bits:n.lenbits},I=s(c,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid literal/lengths set`,n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},I=s(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,I){e.msg=`invalid distances set`,n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,o(e,C),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;A=(z=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(A&&!(240&A)){for(M=k,N=A,P=j;A=(z=n.lencode[P+((b&(1<<M+N)-1)>>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}b>>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,n.length=j,A===0){n.mode=26;break}if(32&A){n.back=-1,n.mode=12;break}if(64&A){e.msg=`invalid literal/length code`,n.mode=30;break}n.extra=15&A,n.mode=22;case 22:if(n.extra){for(R=n.extra;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.length+=b&(1<<n.extra)-1,b>>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;A=(z=n.distcode[b&(1<<n.distbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(!(240&A)){for(M=k,N=A,P=j;A=(z=n.distcode[P+((b&(1<<M+N)-1)>>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}b>>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,64&A){e.msg=`invalid distance code`,n.mode=30;break}n.offset=j,n.extra=15&A,n.mode=24;case 24:if(n.extra){for(R=n.extra;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.offset+=b&(1<<n.extra)-1,b>>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=`invalid distance too far back`,n.mode=30;break}n.mode=25;case 25:if(y===0)break e;if(E=C-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break}D=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),O=n.window}else O=m,D=_-n.offset,E=n.length;for(y<E&&(E=y),y-=E,n.length-=E;m[_++]=O[D++],--E;);n.length===0&&(n.mode=21);break;case 26:if(y===0)break e;m[_++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;x<32;){if(v===0)break e;v--,b|=p[g++]<<x,x+=8}if(C-=y,e.total_out+=C,n.total+=C,C&&(e.adler=n.check=n.flags?a(n.check,m,C,_-C):i(n.check,m,C,_-C)),C=y,(n.flags?b:h(b))!==n.check){e.msg=`incorrect data check`,n.mode=30;break}x=b=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(b!==(4294967295&n.total)){e.msg=`incorrect length check`,n.mode=30;break}x=b=0}n.mode=29;case 29:I=1;break e;case 30:I=-3;break e;case 31:return-4;case 32:default:return d}return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,(n.wsize||C!==e.avail_out&&n.mode<30&&(n.mode<27||t!==4))&&T(e,e.output,e.next_out,C-e.avail_out)?(n.mode=31,-4):(S-=e.avail_in,C-=e.avail_out,e.total_in+=S,e.total_out+=C,n.total+=C,n.wrap&&C&&(e.adler=n.check=n.flags?a(n.check,m,C,e.next_out-C):i(n.check,m,C,e.next_out-C)),e.data_type=n.bits+(n.last?64:0)+(n.mode===12?128:0)+(n.mode===20||n.mode===15?256:0),(S==0&&C===0||t===4)&&I===u&&(I=-5),I)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&=null,e.state=null,u},n.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?((n.head=t).done=!1,u):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?(n=e.state).wrap!==0&&n.mode!==11?d:n.mode===11&&i(1,t,r,0)!==n.check?-3:T(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,u):d},n.inflateInfo=`pako inflate (from Nodeca project)`},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){var r=e(`../utils/common`),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,c,l,u,d,f){var p,m,h,g,_,v,y,b,x,S=f.bits,C=0,w=0,T=0,E=0,D=0,O=0,k=0,A=0,j=0,M=0,N=null,P=0,F=new r.Buf16(16),I=new r.Buf16(16),L=null,R=0;for(C=0;C<=15;C++)F[C]=0;for(w=0;w<c;w++)F[t[n+w]]++;for(D=S,E=15;1<=E&&F[E]===0;E--);if(E<D&&(D=E),E===0)return l[u++]=20971520,l[u++]=20971520,f.bits=1,0;for(T=1;T<E&&F[T]===0;T++);for(D<T&&(D=T),C=A=1;C<=15;C++)if(A<<=1,(A-=F[C])<0)return-1;if(0<A&&(e===0||E!==1))return-1;for(I[1]=0,C=1;C<15;C++)I[C+1]=I[C]+F[C];for(w=0;w<c;w++)t[n+w]!==0&&(d[I[t[n+w]]++]=w);if(v=e===0?(N=L=d,19):e===1?(N=i,P-=257,L=a,R-=257,256):(N=o,L=s,-1),C=T,_=u,k=w=M=0,h=-1,g=(j=1<<(O=D))-1,e===1&&852<j||e===2&&592<j)return 1;for(;;){for(y=C-k,x=d[w]<v?(b=0,d[w]):d[w]>v?(b=L[R+d[w]],N[P+d[w]]):(b=96,0),p=1<<C-k,T=m=1<<O;l[_+(M>>k)+(m-=p)]=y<<24|b<<16|x|0,m!==0;);for(p=1<<C-1;M&p;)p>>=1;if(p===0?M=0:(M&=p-1,M+=p),w++,--F[C]==0){if(C===E)break;C=t[n+d[w]]}if(D<C&&(M&g)!==h){for(k===0&&(k=D),_+=T,A=1<<(O=C-k);O+k<E&&!((A-=F[O+k])<=0);)O++,A<<=1;if(j+=1<<O,e===1&&852<j||e===2&&592<j)return 1;l[h=M&g]=D<<24|O<<16|_-u|0}}return M!==0&&(l[_+M]=C-k<<24|4194304),f.bits=D,0}},{"../utils/common":41}],51:[function(e,t,n){t.exports={2:`need dictionary`,1:`stream end`,0:``,"-1":`file error`,"-2":`stream error`,"-3":`data error`,"-4":`insufficient memory`,"-5":`buffer error`,"-6":`incompatible version`}},{}],52:[function(e,t,n){var r=e(`../utils/common`),i=0,a=1;function o(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,c=29,l=256,u=l+1+c,d=30,f=19,p=2*u+1,m=15,h=16,g=7,_=256,v=16,y=17,b=18,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],S=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],w=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=Array(2*(u+2));o(T);var E=Array(2*d);o(E);var D=Array(512);o(D);var O=Array(256);o(O);var k=Array(c);o(k);var A,j,M,N=Array(d);function P(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function F(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function I(e){return e<256?D[e]:D[256+(e>>>7)]}function L(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function R(e,t,n){e.bi_valid>h-n?(e.bi_buf|=t<<e.bi_valid&65535,L(e,e.bi_buf),e.bi_buf=t>>h-e.bi_valid,e.bi_valid+=n-h):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function z(e,t,n){R(e,n[2*t],n[2*t+1])}function B(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function V(e,t,n){var r,i,a=Array(m+1),o=0;for(r=1;r<=m;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];s!==0&&(e[2*i]=B(a[s]++,s))}}function H(e){var t;for(t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<f;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*_]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function U(e){8<e.bi_valid?L(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function W(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function G(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&W(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!W(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function K(e,t,n){var r,i,a,o,s=0;if(e.last_lit!==0)for(;r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,r===0?z(e,i,t):(z(e,(a=O[i])+l+1,t),(o=x[a])!==0&&R(e,i-=k[a],o),z(e,a=I(--r),n),(o=S[a])!==0&&R(e,r-=N[a],o)),s<e.last_lit;);z(e,_,t)}function q(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=p,n=0;n<c;n++)a[2*n]===0?a[2*n+1]=0:(e.heap[++e.heap_len]=l=n,e.depth[n]=0);for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;1<=n;n--)G(e,a,n);for(i=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,G(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,g=t.stat_desc.max_length,_=0;for(a=0;a<=m;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<p;n++)g<(a=c[2*c[2*(r=e.heap[n])+1]+1]+1)&&(a=g,_++),c[2*r+1]=a,l<r||(e.bl_count[a]++,o=0,h<=r&&(o=f[r-h]),s=c[2*r],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(u[2*r+1]+o)));if(_!==0){do{for(a=g-1;e.bl_count[a]===0;)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[g]--,_-=2}while(0<_);for(a=g;a!==0;a--)for(r=e.bl_count[a];r!==0;)l<(i=e.heap[--n])||(c[2*i+1]!==a&&(e.opt_len+=(a-c[2*i+1])*c[2*i],c[2*i+1]=a),r--)}}(e,t),V(a,l,e.bl_count)}function ee(e,t,n){var r,i,a=-1,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<c&&i===o||(s<l?e.bl_tree[2*i]+=s:i===0?s<=10?e.bl_tree[2*y]++:e.bl_tree[2*b]++:(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*v]++),a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4))}function te(e,t,n){var r,i,a=-1,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++s<c&&i===o)){if(s<l)for(;z(e,i,e.bl_tree),--s!=0;);else i===0?s<=10?(z(e,y,e.bl_tree),R(e,s-3,3)):(z(e,b,e.bl_tree),R(e,s-11,7)):(i!==a&&(z(e,i,e.bl_tree),s--),z(e,v,e.bl_tree),R(e,s-3,2));a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4)}}o(N);var ne=!1;function re(e,t,n,i){R(e,(s<<1)+(i?1:0),3),function(e,t,n,i){U(e),i&&(L(e,n),L(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){ne||=(function(){var e,t,n,r,i,a=Array(m+1);for(r=n=0;r<c-1;r++)for(k[r]=n,e=0;e<1<<x[r];e++)O[n++]=r;for(O[n-1]=r,r=i=0;r<16;r++)for(N[r]=i,e=0;e<1<<S[r];e++)D[i++]=r;for(i>>=7;r<d;r++)for(N[r]=i<<7,e=0;e<1<<S[r]-7;e++)D[256+ i++]=r;for(t=0;t<=m;t++)a[t]=0;for(e=0;e<=143;)T[2*e+1]=8,e++,a[8]++;for(;e<=255;)T[2*e+1]=9,e++,a[9]++;for(;e<=279;)T[2*e+1]=7,e++,a[7]++;for(;e<=287;)T[2*e+1]=8,e++,a[8]++;for(V(T,u+1,a),e=0;e<d;e++)E[2*e+1]=5,E[2*e]=B(e,5);A=new P(T,x,l+1,u,m),j=new P(E,S,0,d,m),M=new P([],C,0,f,g)}(),!0),e.l_desc=new F(e.dyn_ltree,A),e.d_desc=new F(e.dyn_dtree,j),e.bl_desc=new F(e.bl_tree,M),e.bi_buf=0,e.bi_valid=0,H(e)},n._tr_stored_block=re,n._tr_flush_block=function(e,t,n,r){var o,s,c=0;0<e.level?(e.strm.data_type===2&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&e.dyn_ltree[2*t]!==0)return i;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return a;for(t=32;t<l;t++)if(e.dyn_ltree[2*t]!==0)return a;return i}(e)),q(e,e.l_desc),q(e,e.d_desc),c=function(e){var t;for(ee(e,e.dyn_ltree,e.l_desc.max_code),ee(e,e.dyn_dtree,e.d_desc.max_code),q(e,e.bl_desc),t=f-1;3<=t&&e.bl_tree[2*w[t]+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=n+5,n+4<=o&&t!==-1?re(e,t,n,r):e.strategy===4||s===o?(R(e,2+(r?1:0),3),K(e,T,E)):(R(e,4+(r?1:0),3),function(e,t,n,r){var i;for(R(e,t-257,5),R(e,n-1,5),R(e,r-4,4),i=0;i<r;i++)R(e,e.bl_tree[2*w[i]+1],3);te(e,e.dyn_ltree,t-1),te(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,c+1),K(e,e.dyn_ltree,e.dyn_dtree)),H(e),r&&U(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+l+1)]++,e.dyn_dtree[2*I(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){R(e,2,3),z(e,_,T),function(e){e.bi_valid===16?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=``,this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){(function(e){(function(e,t){if(!e.setImmediate){var n,r,i,a,o=1,s={},c=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,n={}.toString.call(e.process)===`[object process]`?function(e){process.nextTick(function(){f(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(``,`*`),e.onmessage=n,t}}()?(a=`setImmediate$`+Math.random()+`$`,e.addEventListener?e.addEventListener(`message`,p,!1):e.attachEvent(`onmessage`,p),function(t){e.postMessage(a+t,`*`)}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){i.port2.postMessage(e)}):l&&`onreadystatechange`in l.createElement(`script`)?(r=l.documentElement,function(e){var t=l.createElement(`script`);t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(f,0,e)},u.setImmediate=function(e){typeof e!=`function`&&(e=Function(``+e));for(var t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];return s[o]={callback:e,args:t},n(o),o++},u.clearImmediate=d}function d(e){delete s[e]}function f(e){if(c)setTimeout(f,0,e);else{var n=s[e];if(n){c=!0;try{(function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}})(n)}finally{d(e),c=!1}}}}function p(t){t.source===e&&typeof t.data==`string`&&t.data.indexOf(a)===0&&f(+t.data.slice(a.length))}})(typeof self>`u`?e===void 0?this:e:self)}).call(this,typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:{})},{}]},{},[10])(10)})}))(),1),i;(function(e){e.OfficeDocument=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,e.FontTable=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable`,e.Image=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,e.Numbering=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering`,e.Styles=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles`,e.StylesWithEffects=`http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects`,e.Theme=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme`,e.Settings=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings`,e.WebSettings=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings`,e.Hyperlink=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,e.Footnotes=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes`,e.Endnotes=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes`,e.Footer=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer`,e.Header=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/header`,e.ExtendedProperties=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties`,e.CoreProperties=`http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties`,e.CustomProperties=`http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties`,e.Comments=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`,e.CommentsExtended=`http://schemas.microsoft.com/office/2011/relationships/commentsExtended`,e.AltChunk=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk`})(i||={});function a(e,t){return t.elements(e).map(e=>({id:t.attr(e,`Id`),type:t.attr(e,`Type`),target:t.attr(e,`Target`),targetMode:t.attr(e,`TargetMode`)}))}function o(e){return e?.replace(/[ .]+/g,`-`).replace(/[&]+/g,`and`).toLowerCase()}function s(e){return/^[^"'].*\s.*[^"']$/.test(e)?`'${e}'`:e}function c(e){let t=e.lastIndexOf(`/`)+1;return[t==0?``:e.substring(0,t),t==0?e:e.substring(t)]}function l(e,t){try{return new URL(e,`http://docx/`+t).toString().substring(12)}catch{return`${t}${e}`}}function u(e,t){return e.reduce((e,n)=>(e[t(n)]=n,e),{})}function d(e){return new Promise((t,n)=>{let r=new FileReader;r.onloadend=()=>t(r.result),r.onerror=()=>n(),r.readAsDataURL(e)})}function f(e){return e&&typeof e==`object`&&!Array.isArray(e)}function p(e){return typeof e==`string`||e instanceof String}function m(e,...t){if(!t.length)return e;let n=t.shift();if(f(e)&&f(n))for(let t in n)f(n[t])?m(e[t]??(e[t]={}),n[t]):e[t]=n[t];return m(e,...t)}function h(e){return Array.isArray(e)?e:[e]}function g(e,t,n){return t>e?t:n<e?n:e}var _={wordml:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`},v={Dxa:{mul:.05,unit:`pt`},Emu:{mul:1/12700,unit:`pt`},FontSize:{mul:.5,unit:`pt`},Border:{mul:.125,unit:`pt`,min:.25,max:12},Point:{mul:1,unit:`pt`},Percent:{mul:.02,unit:`%`}};function y(e,t=v.Dxa){if(e==null||/.+(p[xt]|[%])$/.test(e))return e;var n=parseInt(e)*t.mul;return t.min&&t.max&&(n=g(n,t.min,t.max)),`${n.toFixed(2)}${t.unit}`}function b(e,t=!1){switch(e){case`1`:return!0;case`0`:return!1;case`on`:return!0;case`off`:return!1;case`true`:return!0;case`false`:return!1;default:return t}}function x(e,t,n){if(e.namespaceURI!=_.wordml)return!1;switch(e.localName){case`color`:t.color=n.attr(e,`val`);break;case`sz`:t.fontSize=n.lengthAttr(e,`val`,v.FontSize);break;default:return!1}return!0}function S(e,t=!1){t&&(e=e.replace(/<[?].*[?]>/,``)),e=w(e);let n=new DOMParser().parseFromString(e,`application/xml`),r=C(n);if(r)throw Error(r);return n}function C(e){return e.getElementsByTagName(`parsererror`)[0]?.textContent}function w(e){return e.charCodeAt(0)===65279?e.substring(1):e}function T(e){return new XMLSerializer().serializeToString(e)}var E=class{elements(e,t=null){let n=[];for(let r=0,i=e.childNodes.length;r<i;r++){let i=e.childNodes.item(r);i.nodeType==Node.ELEMENT_NODE&&(t==null||i.localName==t)&&n.push(i)}return n}element(e,t){for(let n=0,r=e.childNodes.length;n<r;n++){let r=e.childNodes.item(n);if(r.nodeType==1&&r.localName==t)return r}return null}elementAttr(e,t,n){var r=this.element(e,t);return r?this.attr(r,n):void 0}attrs(e){return Array.from(e.attributes)}attr(e,t){for(let n=0,r=e.attributes.length;n<r;n++){let r=e.attributes.item(n);if(r.localName==t)return r.value}return null}intAttr(e,t,n=null){var r=this.attr(e,t);return r?parseInt(r):n}hexAttr(e,t,n=null){var r=this.attr(e,t);return r?parseInt(r,16):n}floatAttr(e,t,n=null){var r=this.attr(e,t);return r?parseFloat(r):n}boolAttr(e,t,n=null){return b(this.attr(e,t),n)}lengthAttr(e,t,n=v.Dxa){return y(this.attr(e,t),n)}},D=new E,O=class{constructor(e,t){this._package=e,this.path=t}async load(){this.rels=await this._package.loadRelationships(this.path);let e=await this._package.load(this.path),t=this._package.parseXmlDocument(e);this._package.options.keepOrigin&&(this._xmlDocument=t),this.parseXml(t.firstElementChild)}save(){this._package.update(this.path,T(this._xmlDocument))}parseXml(e){}},k={embedRegular:`regular`,embedBold:`bold`,embedItalic:`italic`,embedBoldItalic:`boldItalic`};function A(e,t){return t.elements(e).map(e=>j(e,t))}function j(e,t){let n={name:t.attr(e,`name`),embedFontRefs:[]};for(let r of t.elements(e))switch(r.localName){case`family`:n.family=t.attr(r,`val`);break;case`altName`:n.altName=t.attr(r,`val`);break;case`embedRegular`:case`embedBold`:case`embedItalic`:case`embedBoldItalic`:n.embedFontRefs.push(M(r,t));break}return n}function M(e,t){return{id:t.attr(e,`id`),key:t.attr(e,`fontKey`),type:k[e.localName]}}var N=class extends O{parseXml(e){this.fonts=A(e,this._package.xmlParser)}};function P(e,t){return t.elements(e).map(e=>({extension:t.attr(e,`Extension`),partName:t.attr(e,`PartName`),contentType:t.attr(e,`ContentType`)}))}var F=class e{constructor(e,t){this._zip=e,this.options=t,this.xmlParser=new E}get(e){let t=I(e);return this._zip.files[t]??this._zip.files[t.replace(/\//g,`\\`)]}update(e,t){this._zip.file(e,t)}static async load(t,n){return new e(await r.default.loadAsync(t),n)}save(e=`blob`){return this._zip.generateAsync({type:e})}load(e,t=`string`){return this.get(e)?.async(t)??Promise.resolve(null)}async loadRelationships(e=null){let t=`_rels/.rels`;if(e!=null){let[n,r]=c(e);t=`${n}_rels/${r}.rels`}let n=await this.load(t);return n?a(this.parseXmlDocument(n).firstElementChild,this.xmlParser):null}async loadContentTypes(){let e=await this.load(`[Content_Types].xml`);return e?P(this.parseXmlDocument(e).firstElementChild,this.xmlParser):[]}parseXmlDocument(e){return S(e,this.options.trimXmlDeclaration)}};function I(e){return e.startsWith(`/`)?e.substr(1):e}var L=class extends O{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.body=this._documentParser.parseDocumentFile(e)}};function R(e,t){return{type:t.attr(e,`val`),color:t.attr(e,`color`),size:t.lengthAttr(e,`sz`,v.Border),offset:t.lengthAttr(e,`space`,v.Point),frame:t.boolAttr(e,`frame`),shadow:t.boolAttr(e,`shadow`)}}function z(e,t){var n={};for(let r of t.elements(e))switch(r.localName){case`left`:n.left=R(r,t);break;case`top`:n.top=R(r,t);break;case`right`:n.right=R(r,t);break;case`bottom`:n.bottom=R(r,t);break}return n}var B;(function(e){e.Continuous=`continuous`,e.NextPage=`nextPage`,e.NextColumn=`nextColumn`,e.EvenPage=`evenPage`,e.OddPage=`oddPage`})(B||={});function V(e,t=D){var n={};for(let r of t.elements(e))switch(r.localName){case`pgSz`:n.pageSize={width:t.lengthAttr(r,`w`),height:t.lengthAttr(r,`h`),orientation:t.attr(r,`orient`)};break;case`type`:n.type=t.attr(r,`val`);break;case`pgMar`:n.pageMargins={left:t.lengthAttr(r,`left`),right:t.lengthAttr(r,`right`),top:t.lengthAttr(r,`top`),bottom:t.lengthAttr(r,`bottom`),header:t.lengthAttr(r,`header`),footer:t.lengthAttr(r,`footer`),gutter:t.lengthAttr(r,`gutter`)};break;case`cols`:n.columns=H(r,t);break;case`headerReference`:(n.headerRefs??=[]).push(W(r,t));break;case`footerReference`:(n.footerRefs??=[]).push(W(r,t));break;case`titlePg`:n.titlePage=t.boolAttr(r,`val`,!0);break;case`pgBorders`:n.pageBorders=z(r,t);break;case`pgNumType`:n.pageNumber=U(r,t);break}return n}function H(e,t){return{numberOfColumns:t.intAttr(e,`num`),space:t.lengthAttr(e,`space`),separator:t.boolAttr(e,`sep`),equalWidth:t.boolAttr(e,`equalWidth`,!0),columns:t.elements(e,`col`).map(e=>({width:t.lengthAttr(e,`w`),space:t.lengthAttr(e,`space`)}))}}function U(e,t){return{chapSep:t.attr(e,`chapSep`),chapStyle:t.attr(e,`chapStyle`),format:t.attr(e,`fmt`),start:t.intAttr(e,`start`)}}function W(e,t){return{id:t.attr(e,`id`),type:t.attr(e,`type`)}}function G(e,t){return{before:t.lengthAttr(e,`before`),after:t.lengthAttr(e,`after`),line:t.intAttr(e,`line`),lineRule:t.attr(e,`lineRule`)}}function K(e,t){let n={};for(let r of t.elements(e))q(r,n,t);return n}function q(e,t,n){return!!x(e,t,n)}function ee(e,t){let n={};for(let r of t.elements(e))te(r,n,t);return n}function te(e,t,n){if(e.namespaceURI!=_.wordml)return!1;if(x(e,t,n))return!0;switch(e.localName){case`tabs`:t.tabs=ne(e,n);break;case`sectPr`:t.sectionProps=V(e,n);break;case`numPr`:t.numbering=re(e,n);break;case`spacing`:return t.lineSpacing=G(e,n),!1;case`textAlignment`:return t.textAlignment=n.attr(e,`val`),!1;case`keepLines`:t.keepLines=n.boolAttr(e,`val`,!0);break;case`keepNext`:t.keepNext=n.boolAttr(e,`val`,!0);break;case`pageBreakBefore`:t.pageBreakBefore=n.boolAttr(e,`val`,!0);break;case`outlineLvl`:t.outlineLevel=n.intAttr(e,`val`);break;case`pStyle`:t.styleName=n.attr(e,`val`);break;case`rPr`:t.runProps=K(e,n);break;default:return!1}return!0}function ne(e,t){return t.elements(e,`tab`).map(e=>({position:t.lengthAttr(e,`pos`),leader:t.attr(e,`leader`),style:t.attr(e,`val`)}))}function re(e,t){var n={};for(let r of t.elements(e))switch(r.localName){case`numId`:n.id=t.attr(r,`val`);break;case`ilvl`:n.level=t.intAttr(r,`val`);break}return n}function ie(e,t){let n={numberings:[],abstractNumberings:[],bulletPictures:[]};for(let r of t.elements(e))switch(r.localName){case`num`:n.numberings.push(ae(r,t));break;case`abstractNum`:n.abstractNumberings.push(oe(r,t));break;case`numPicBullet`:n.bulletPictures.push(le(r,t));break}return n}function ae(e,t){let n={id:t.attr(e,`numId`),overrides:[]};for(let r of t.elements(e))switch(r.localName){case`abstractNumId`:n.abstractId=t.attr(r,`val`);break;case`lvlOverride`:n.overrides.push(ce(r,t));break}return n}function oe(e,t){let n={id:t.attr(e,`abstractNumId`),levels:[]};for(let r of t.elements(e))switch(r.localName){case`name`:n.name=t.attr(r,`val`);break;case`multiLevelType`:n.multiLevelType=t.attr(r,`val`);break;case`numStyleLink`:n.numberingStyleLink=t.attr(r,`val`);break;case`styleLink`:n.styleLink=t.attr(r,`val`);break;case`lvl`:n.levels.push(se(r,t));break}return n}function se(e,t){let n={level:t.intAttr(e,`ilvl`)};for(let r of t.elements(e))switch(r.localName){case`start`:n.start=t.attr(r,`val`);break;case`lvlRestart`:n.restart=t.intAttr(r,`val`);break;case`numFmt`:n.format=t.attr(r,`val`);break;case`lvlText`:n.text=t.attr(r,`val`);break;case`lvlJc`:n.justification=t.attr(r,`val`);break;case`lvlPicBulletId`:n.bulletPictureId=t.attr(r,`val`);break;case`pStyle`:n.paragraphStyle=t.attr(r,`val`);break;case`pPr`:n.paragraphProps=ee(r,t);break;case`rPr`:n.runProps=K(r,t);break}return n}function ce(e,t){let n={level:t.intAttr(e,`ilvl`)};for(let r of t.elements(e))switch(r.localName){case`startOverride`:n.start=t.intAttr(r,`val`);break;case`lvl`:n.numberingLevel=se(r,t);break}return n}function le(e,t){var n=t.element(e,`pict`),r=n&&t.element(n,`shape`),i=r&&t.element(r,`imagedata`);return i?{id:t.attr(e,`numPicBulletId`),referenceId:t.attr(i,`id`),style:t.attr(r,`style`)}:null}var ue=class extends O{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){Object.assign(this,ie(e,this._package.xmlParser)),this.domNumberings=this._documentParser.parseNumberingFile(e)}},de=class extends O{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.styles=this._documentParser.parseStylesFile(e)}},J;(function(e){e.Document=`document`,e.Paragraph=`paragraph`,e.Run=`run`,e.Break=`break`,e.NoBreakHyphen=`noBreakHyphen`,e.Table=`table`,e.Row=`row`,e.Cell=`cell`,e.Hyperlink=`hyperlink`,e.SmartTag=`smartTag`,e.Drawing=`drawing`,e.Image=`image`,e.Text=`text`,e.Tab=`tab`,e.Symbol=`symbol`,e.BookmarkStart=`bookmarkStart`,e.BookmarkEnd=`bookmarkEnd`,e.Footer=`footer`,e.Header=`header`,e.FootnoteReference=`footnoteReference`,e.EndnoteReference=`endnoteReference`,e.Footnote=`footnote`,e.Endnote=`endnote`,e.SimpleField=`simpleField`,e.ComplexField=`complexField`,e.Instruction=`instruction`,e.VmlPicture=`vmlPicture`,e.MmlMath=`mmlMath`,e.MmlMathParagraph=`mmlMathParagraph`,e.MmlFraction=`mmlFraction`,e.MmlFunction=`mmlFunction`,e.MmlFunctionName=`mmlFunctionName`,e.MmlNumerator=`mmlNumerator`,e.MmlDenominator=`mmlDenominator`,e.MmlRadical=`mmlRadical`,e.MmlBase=`mmlBase`,e.MmlDegree=`mmlDegree`,e.MmlSuperscript=`mmlSuperscript`,e.MmlSubscript=`mmlSubscript`,e.MmlPreSubSuper=`mmlPreSubSuper`,e.MmlSubArgument=`mmlSubArgument`,e.MmlSuperArgument=`mmlSuperArgument`,e.MmlNary=`mmlNary`,e.MmlDelimiter=`mmlDelimiter`,e.MmlRun=`mmlRun`,e.MmlEquationArray=`mmlEquationArray`,e.MmlLimit=`mmlLimit`,e.MmlLimitLower=`mmlLimitLower`,e.MmlMatrix=`mmlMatrix`,e.MmlMatrixRow=`mmlMatrixRow`,e.MmlBox=`mmlBox`,e.MmlBar=`mmlBar`,e.MmlGroupChar=`mmlGroupChar`,e.VmlElement=`vmlElement`,e.Inserted=`inserted`,e.Deleted=`deleted`,e.DeletedText=`deletedText`,e.Comment=`comment`,e.CommentReference=`commentReference`,e.CommentRangeStart=`commentRangeStart`,e.CommentRangeEnd=`commentRangeEnd`,e.AltChunk=`altChunk`})(J||={});var Y=class{constructor(){this.children=[],this.cssStyle={}}},fe=class extends Y{constructor(){super(...arguments),this.type=J.Header}},pe=class extends Y{constructor(){super(...arguments),this.type=J.Footer}},me=class extends O{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.rootElement=this.createRootElement(),this.rootElement.children=this._documentParser.parseBodyElements(e)}},he=class extends me{createRootElement(){return new fe}},ge=class extends me{createRootElement(){return new pe}};function _e(e,t){let n={};for(let r of t.elements(e))switch(r.localName){case`Template`:n.template=r.textContent;break;case`Pages`:n.pages=X(r.textContent);break;case`Words`:n.words=X(r.textContent);break;case`Characters`:n.characters=X(r.textContent);break;case`Application`:n.application=r.textContent;break;case`Lines`:n.lines=X(r.textContent);break;case`Paragraphs`:n.paragraphs=X(r.textContent);break;case`Company`:n.company=r.textContent;break;case`AppVersion`:n.appVersion=r.textContent;break}return n}function X(e){if(e!==void 0)return parseInt(e)}var ve=class extends O{parseXml(e){this.props=_e(e,this._package.xmlParser)}};function ye(e,t){let n={};for(let r of t.elements(e))switch(r.localName){case`title`:n.title=r.textContent;break;case`description`:n.description=r.textContent;break;case`subject`:n.subject=r.textContent;break;case`creator`:n.creator=r.textContent;break;case`keywords`:n.keywords=r.textContent;break;case`language`:n.language=r.textContent;break;case`lastModifiedBy`:n.lastModifiedBy=r.textContent;break;case`revision`:r.textContent&&(n.revision=parseInt(r.textContent));break}return n}var be=class extends O{parseXml(e){this.props=ye(e,this._package.xmlParser)}},xe=class{};function Se(e,t){var n=new xe,r=t.element(e,`themeElements`);for(let e of t.elements(r))switch(e.localName){case`clrScheme`:n.colorScheme=Ce(e,t);break;case`fontScheme`:n.fontScheme=we(e,t);break}return n}function Ce(e,t){var n={name:t.attr(e,`name`),colors:{}};for(let a of t.elements(e)){var r=t.element(a,`srgbClr`),i=t.element(a,`sysClr`);r?n.colors[a.localName]=t.attr(r,`val`):i&&(n.colors[a.localName]=t.attr(i,`lastClr`))}return n}function we(e,t){var n={name:t.attr(e,`name`)};for(let r of t.elements(e))switch(r.localName){case`majorFont`:n.majorFont=Te(r,t);break;case`minorFont`:n.minorFont=Te(r,t);break}return n}function Te(e,t){return{latinTypeface:t.elementAttr(e,`latin`,`typeface`),eaTypeface:t.elementAttr(e,`ea`,`typeface`),csTypeface:t.elementAttr(e,`cs`,`typeface`)}}var Ee=class extends O{constructor(e,t){super(e,t)}parseXml(e){this.theme=Se(e,this._package.xmlParser)}},De=class{},Oe=class extends De{constructor(){super(...arguments),this.type=J.Footnote}},ke=class extends De{constructor(){super(...arguments),this.type=J.Endnote}},Ae=class extends O{constructor(e,t,n){super(e,t),this._documentParser=n}},je=class extends Ae{constructor(e,t,n){super(e,t,n)}parseXml(e){this.notes=this._documentParser.parseNotes(e,`footnote`,Oe)}},Me=class extends Ae{constructor(e,t,n){super(e,t,n)}parseXml(e){this.notes=this._documentParser.parseNotes(e,`endnote`,ke)}};function Ne(e,t){var n={};for(let r of t.elements(e))switch(r.localName){case`defaultTabStop`:n.defaultTabStop=t.lengthAttr(r,`val`);break;case`footnotePr`:n.footnoteProps=Pe(r,t);break;case`endnotePr`:n.endnoteProps=Pe(r,t);break;case`autoHyphenation`:n.autoHyphenation=t.boolAttr(r,`val`);break}return n}function Pe(e,t){var n={defaultNoteIds:[]};for(let r of t.elements(e))switch(r.localName){case`numFmt`:n.nummeringFormat=t.attr(r,`val`);break;case`footnote`:case`endnote`:n.defaultNoteIds.push(t.attr(r,`id`));break}return n}var Fe=class extends O{constructor(e,t){super(e,t)}parseXml(e){this.settings=Ne(e,this._package.xmlParser)}};function Ie(e,t){return t.elements(e,`property`).map(e=>{let n=e.firstChild;return{formatId:t.attr(e,`fmtid`),name:t.attr(e,`name`),type:n.nodeName,value:n.textContent}})}var Le=class extends O{parseXml(e){this.props=Ie(e,this._package.xmlParser)}},Re=class extends O{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.comments=this._documentParser.parseComments(e),this.commentMap=u(this.comments,e=>e.id)}},ze=class extends O{constructor(e,t){super(e,t),this.comments=[]}parseXml(e){let t=this._package.xmlParser;for(let n of t.elements(e,`commentEx`))this.comments.push({paraId:t.attr(n,`paraId`),paraIdParent:t.attr(n,`paraIdParent`),done:t.boolAttr(n,`done`)});this.commentMap=u(this.comments,e=>e.paraId)}},Be=[{type:i.OfficeDocument,target:`word/document.xml`},{type:i.ExtendedProperties,target:`docProps/app.xml`},{type:i.CoreProperties,target:`docProps/core.xml`},{type:i.CustomProperties,target:`docProps/custom.xml`}],Ve=class e{constructor(){this.parts=[],this.partsMap={},this.contentTypes=[]}static async load(t,n,r){var i=new e;return i._options=r,i._parser=n,i._package=await F.load(t,r),i.rels=await i._package.loadRelationships(),i.contentTypes=await i._package.loadContentTypes(),await Promise.all(Be.map(e=>{let t=i.rels.find(t=>t.type===e.type)??e;return i.loadRelationshipPart(t.target,t.type)})),i}save(e=`blob`){return this._package.save(e)}async loadRelationshipPart(e,t){if(this.partsMap[e])return this.partsMap[e];if(!this._package.get(e))return null;let n=null;switch(t){case i.OfficeDocument:this.documentPart=n=new L(this._package,e,this._parser);break;case i.FontTable:this.fontTablePart=n=new N(this._package,e);break;case i.Numbering:this.numberingPart=n=new ue(this._package,e,this._parser);break;case i.Styles:this.stylesPart=n=new de(this._package,e,this._parser);break;case i.Theme:this.themePart=n=new Ee(this._package,e);break;case i.Footnotes:this.footnotesPart=n=new je(this._package,e,this._parser);break;case i.Endnotes:this.endnotesPart=n=new Me(this._package,e,this._parser);break;case i.Footer:n=new ge(this._package,e,this._parser);break;case i.Header:n=new he(this._package,e,this._parser);break;case i.CoreProperties:this.corePropsPart=n=new be(this._package,e);break;case i.ExtendedProperties:this.extendedPropsPart=n=new ve(this._package,e);break;case i.CustomProperties:n=new Le(this._package,e);break;case i.Settings:this.settingsPart=n=new Fe(this._package,e);break;case i.Comments:this.commentsPart=n=new Re(this._package,e,this._parser);break;case i.CommentsExtended:this.commentsExtendedPart=n=new ze(this._package,e);break}if(n==null)return Promise.resolve(null);if(this.partsMap[e]=n,this.parts.push(n),await n.load(),n.rels?.length>0){let[e]=c(n.path);await Promise.all(n.rels.map(t=>this.loadRelationshipPart(l(t.target,e),t.type)))}return n}async loadDocumentImage(e,t){let n=this.getPathById(t??this.documentPart,e);return n?this.blobToURL(await this._package.load(n,`blob`),n):null}async loadNumberingImage(e){let t=this.getPathById(this.numberingPart,e);return t?this.blobToURL(await this._package.load(t,`blob`),t):null}async loadFont(e,t){let n=this.getPathById(this.fontTablePart,e);if(!n)return null;let r=await this._package.load(n,`uint8array`);return r&&this.blobToURL(new Blob([He(r,t)]),n)}async loadAltChunk(e,t){let n=this.getPathById(t??this.documentPart,e);return n?this._package.load(n,`string`):Promise.resolve(null)}blobToURL(e,t){if(!e)return null;if(t){let n=this.contentTypes.find(e=>e.partName===t||e.extension&&t.endsWith(`.${e.extension}`));e=n?new Blob([e],{type:n.contentType}):e}return this._options.useBase64URL?d(e):URL.createObjectURL(e)}findPartByRelId(e,t=null){var n=(t.rels??this.rels).find(t=>t.id==e);let r=t?c(t.path)[0]:``;return n?this.partsMap[l(n.target,r)]:null}getPathById(e,t){let n=e.rels.find(e=>e.id==t),[r]=c(e.path);return n?l(n.target,r):null}};function He(e,t){let n=t.replace(/{|}|-/g,``),r=Array(16);for(let e=0;e<16;e++)r[16-e-1]=parseInt(n.substring(e*2,e*2+2),16);for(let t=0;t<32;t++)e[t]=e[t]^r[t%16];return e}function Ue(e,t){return{type:J.BookmarkStart,id:t.attr(e,`id`),name:t.attr(e,`name`),colFirst:t.intAttr(e,`colFirst`),colLast:t.intAttr(e,`colLast`)}}function We(e,t){return{type:J.BookmarkEnd,id:t.attr(e,`id`)}}var Ge=class extends Y{constructor(){super(...arguments),this.type=J.VmlElement,this.attrs={}}};function Ke(e,t){var n=new Ge;switch(e.localName){case`rect`:n.tagName=`rect`,Object.assign(n.attrs,{width:`100%`,height:`100%`});break;case`oval`:n.tagName=`ellipse`,Object.assign(n.attrs,{cx:`50%`,cy:`50%`,rx:`50%`,ry:`50%`});break;case`line`:n.tagName=`line`;break;case`shape`:n.tagName=`g`;break;case`textbox`:n.tagName=`foreignObject`,Object.assign(n.attrs,{width:`100%`,height:`100%`});break;default:return null}for(let t of D.attrs(e))switch(t.localName){case`style`:n.cssStyleText=t.value;break;case`fillcolor`:n.attrs.fill=t.value;break;case`from`:let[e,r]=Ye(t.value);Object.assign(n.attrs,{x1:e,y1:r});break;case`to`:let[i,a]=Ye(t.value);Object.assign(n.attrs,{x2:i,y2:a});break}for(let r of D.elements(e))switch(r.localName){case`stroke`:Object.assign(n.attrs,qe(r));break;case`fill`:Object.assign(n.attrs,Je());break;case`imagedata`:n.tagName=`image`,Object.assign(n.attrs,{width:`100%`,height:`100%`}),n.imageHref={id:D.attr(r,`id`),title:D.attr(r,`title`)};break;case`txbxContent`:n.children.push(...t.parseBodyElements(r));break;default:let e=Ke(r,t);e&&n.children.push(e);break}return n}function qe(e){return{stroke:D.attr(e,`color`),"stroke-width":D.lengthAttr(e,`weight`,v.Emu)??`1px`}}function Je(e){return{}}function Ye(e){return e.split(`,`)}var Xe=class extends Y{constructor(){super(...arguments),this.type=J.Comment}},Ze=class extends Y{constructor(e){super(),this.id=e,this.type=J.CommentReference}},Qe=class extends Y{constructor(e){super(),this.id=e,this.type=J.CommentRangeStart}},$e=class extends Y{constructor(e){super(),this.id=e,this.type=J.CommentRangeEnd}},et={shd:`inherit`,color:`black`,borderColor:`black`,highlight:`transparent`},tt=[],nt={oMath:J.MmlMath,oMathPara:J.MmlMathParagraph,f:J.MmlFraction,func:J.MmlFunction,fName:J.MmlFunctionName,num:J.MmlNumerator,den:J.MmlDenominator,rad:J.MmlRadical,deg:J.MmlDegree,e:J.MmlBase,sSup:J.MmlSuperscript,sSub:J.MmlSubscript,sPre:J.MmlPreSubSuper,sup:J.MmlSuperArgument,sub:J.MmlSubArgument,d:J.MmlDelimiter,nary:J.MmlNary,eqArr:J.MmlEquationArray,lim:J.MmlLimit,limLow:J.MmlLimitLower,m:J.MmlMatrix,mr:J.MmlMatrixRow,box:J.MmlBox,bar:J.MmlBar,groupChr:J.MmlGroupChar},rt=class{constructor(e){this.options={ignoreWidth:!1,debug:!1,...e}}parseNotes(e,t,n){var r=[];for(let i of D.elements(e,t)){let e=new n;e.id=D.attr(i,`id`),e.noteType=D.attr(i,`type`),e.children=this.parseBodyElements(i),r.push(e)}return r}parseComments(e){var t=[];for(let n of D.elements(e,`comment`)){let e=new Xe;e.id=D.attr(n,`id`),e.author=D.attr(n,`author`),e.initials=D.attr(n,`initials`),e.date=D.attr(n,`date`),e.children=this.parseBodyElements(n),t.push(e)}return t}parseDocumentFile(e){var t=D.element(e,`body`),n=D.element(e,`background`),r=D.element(t,`sectPr`);return{type:J.Document,children:this.parseBodyElements(t),props:r?V(r,D):{},cssStyle:n?this.parseBackground(n):{}}}parseBackground(e){var t={},n=Z.colorAttr(e,`color`);return n&&(t[`background-color`]=n),t}parseBodyElements(e){var t=[];for(let n of D.elements(e))switch(n.localName){case`p`:t.push(this.parseParagraph(n));break;case`altChunk`:t.push(this.parseAltChunk(n));break;case`tbl`:t.push(this.parseTable(n));break;case`sdt`:t.push(...this.parseSdt(n,e=>this.parseBodyElements(e)));break}return t}parseStylesFile(e){var t=[];for(let n of D.elements(e))switch(n.localName){case`style`:t.push(this.parseStyle(n));break;case`docDefaults`:t.push(this.parseDefaultStyles(n));break}return t}parseDefaultStyles(e){var t={id:null,name:null,target:null,basedOn:null,styles:[]};for(let i of D.elements(e))switch(i.localName){case`rPrDefault`:var n=D.element(i,`rPr`);n&&t.styles.push({target:`span`,values:this.parseDefaultProperties(n,{})});break;case`pPrDefault`:var r=D.element(i,`pPr`);r&&t.styles.push({target:`p`,values:this.parseDefaultProperties(r,{})});break}return t}parseStyle(e){var t={id:D.attr(e,`styleId`),isDefault:D.boolAttr(e,`default`),name:null,target:null,basedOn:null,styles:[],linked:null};switch(D.attr(e,`type`)){case`paragraph`:t.target=`p`;break;case`table`:t.target=`table`;break;case`character`:t.target=`span`;break}for(let n of D.elements(e))switch(n.localName){case`basedOn`:t.basedOn=D.attr(n,`val`);break;case`name`:t.name=D.attr(n,`val`);break;case`link`:t.linked=D.attr(n,`val`);break;case`next`:t.next=D.attr(n,`val`);break;case`aliases`:t.aliases=D.attr(n,`val`).split(`,`);break;case`pPr`:t.styles.push({target:`p`,values:this.parseDefaultProperties(n,{})}),t.paragraphProps=ee(n,D);break;case`rPr`:t.styles.push({target:`span`,values:this.parseDefaultProperties(n,{})}),t.runProps=K(n,D);break;case`tblPr`:case`tcPr`:t.styles.push({target:`td`,values:this.parseDefaultProperties(n,{})});break;case`tblStylePr`:for(let e of this.parseTableStyle(n))t.styles.push(e);break;case`rsid`:case`qFormat`:case`hidden`:case`semiHidden`:case`unhideWhenUsed`:case`autoRedefine`:case`uiPriority`:break;default:this.options.debug&&console.warn(`DOCX: Unknown style element: ${n.localName}`)}return t}parseTableStyle(e){var t=[],n=D.attr(e,`type`),r=``,i=``;switch(n){case`firstRow`:i=`.first-row`,r=`tr.first-row td`;break;case`lastRow`:i=`.last-row`,r=`tr.last-row td`;break;case`firstCol`:i=`.first-col`,r=`td.first-col`;break;case`lastCol`:i=`.last-col`,r=`td.last-col`;break;case`band1Vert`:i=`:not(.no-vband)`,r=`td.odd-col`;break;case`band2Vert`:i=`:not(.no-vband)`,r=`td.even-col`;break;case`band1Horz`:i=`:not(.no-hband)`,r=`tr.odd-row`;break;case`band2Horz`:i=`:not(.no-hband)`,r=`tr.even-row`;break;default:return[]}for(let n of D.elements(e))switch(n.localName){case`pPr`:t.push({target:`${r} p`,mod:i,values:this.parseDefaultProperties(n,{})});break;case`rPr`:t.push({target:`${r} span`,mod:i,values:this.parseDefaultProperties(n,{})});break;case`tblPr`:case`tcPr`:t.push({target:r,mod:i,values:this.parseDefaultProperties(n,{})});break}return t}parseNumberingFile(e){let t=[],n=[],r=[];for(let i of D.elements(e))switch(i.localName){case`abstractNum`:t.push(...this.parseAbstractNumbering(i,r));break;case`numPicBullet`:r.push(this.parseNumberingPicBullet(i));break;case`num`:n.push({numId:D.attr(i,`numId`),abstractNumId:D.elementAttr(i,`abstractNumId`,`val`)});break}return n.flatMap(e=>t.filter(t=>e.abstractNumId==t.id).map(t=>({...t,id:e.numId})))}parseNumberingPicBullet(e){var t=D.element(e,`pict`),n=t&&D.element(t,`shape`),r=n&&D.element(n,`imagedata`);return r?{id:D.intAttr(e,`numPicBulletId`),src:D.attr(r,`id`),style:D.attr(n,`style`)}:null}parseAbstractNumbering(e,t){var n=[],r=D.attr(e,`abstractNumId`);for(let i of D.elements(e))switch(i.localName){case`lvl`:n.push(this.parseNumberingLevel(r,i,t));break}return n}parseNumberingLevel(e,t,n){var r={id:e,level:D.intAttr(t,`ilvl`),start:1,pStyleName:void 0,pStyle:{},rStyle:{},suff:`tab`};for(let e of D.elements(t))switch(e.localName){case`start`:r.start=D.intAttr(e,`val`);break;case`pPr`:this.parseDefaultProperties(e,r.pStyle);break;case`rPr`:this.parseDefaultProperties(e,r.rStyle);break;case`lvlPicBulletId`:var i=D.intAttr(e,`val`);r.bullet=n.find(e=>e?.id==i);break;case`lvlText`:r.levelText=D.attr(e,`val`);break;case`pStyle`:r.pStyleName=D.attr(e,`val`);break;case`numFmt`:r.format=D.attr(e,`val`);break;case`suff`:r.suff=D.attr(e,`val`);break}return r}parseSdt(e,t){let n=D.element(e,`sdtContent`);return n?t(n):[]}parseChange(e,t,n){return{type:e,children:n(t)?.children??[],id:D.attr(t,`id`),author:D.attr(t,`author`),date:D.attr(t,`date`)}}parseAltChunk(e){return{type:J.AltChunk,children:[],id:D.attr(e,`id`)}}parseParagraph(e){var t={type:J.Paragraph,children:[]};for(let n of D.elements(e))switch(n.localName){case`pPr`:this.parseParagraphProperties(n,t);break;case`r`:t.children.push(this.parseRun(n,t));break;case`hyperlink`:t.children.push(this.parseHyperlink(n,t));break;case`smartTag`:t.children.push(this.parseSmartTag(n,t));break;case`bookmarkStart`:t.children.push(Ue(n,D));break;case`bookmarkEnd`:t.children.push(We(n,D));break;case`commentRangeStart`:t.children.push(new Qe(D.attr(n,`id`)));break;case`commentRangeEnd`:t.children.push(new $e(D.attr(n,`id`)));break;case`oMath`:case`oMathPara`:t.children.push(this.parseMathElement(n));break;case`sdt`:t.children.push(...this.parseSdt(n,e=>this.parseParagraph(e).children));break;case`ins`:t.children.push(this.parseChange(J.Inserted,n,e=>this.parseParagraph(e)));break;case`del`:t.children.push(this.parseChange(J.Deleted,n,e=>this.parseParagraph(e)));break}return t}parseParagraphProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,e=>{if(te(e,t,D))return!0;switch(e.localName){case`pStyle`:t.styleName=D.attr(e,`val`);break;case`cnfStyle`:t.className=Q.classNameOfCnfStyle(e);break;case`framePr`:this.parseFrame(e,t);break;case`rPr`:break;default:return!1}return!0})}parseFrame(e,t){D.attr(e,`dropCap`)==`drop`&&(t.cssStyle.float=`left`)}parseHyperlink(e,t){var n={type:J.Hyperlink,parent:t,children:[]};n.anchor=D.attr(e,`anchor`),n.id=D.attr(e,`id`);for(let t of D.elements(e))switch(t.localName){case`r`:n.children.push(this.parseRun(t,n));break}return n}parseSmartTag(e,t){var n={type:J.SmartTag,parent:t,children:[]},r=D.attr(e,`uri`),i=D.attr(e,`element`);r&&(n.uri=r),i&&(n.element=i);for(let t of D.elements(e))switch(t.localName){case`r`:n.children.push(this.parseRun(t,n));break;case`smartTag`:n.children.push(this.parseSmartTag(t,n));break}return n}parseRun(e,t){var n={type:J.Run,parent:t,children:[]};for(let t of D.elements(e))switch(t=this.checkAlternateContent(t),t.localName){case`t`:n.children.push({type:J.Text,text:t.textContent});break;case`delText`:n.children.push({type:J.DeletedText,text:t.textContent});break;case`commentReference`:n.children.push(new Ze(D.attr(t,`id`)));break;case`fldSimple`:n.children.push({type:J.SimpleField,instruction:D.attr(t,`instr`),lock:D.boolAttr(t,`lock`,!1),dirty:D.boolAttr(t,`dirty`,!1)});break;case`instrText`:n.fieldRun=!0,n.children.push({type:J.Instruction,text:t.textContent});break;case`fldChar`:n.fieldRun=!0,n.children.push({type:J.ComplexField,charType:D.attr(t,`fldCharType`),lock:D.boolAttr(t,`lock`,!1),dirty:D.boolAttr(t,`dirty`,!1)});break;case`noBreakHyphen`:n.children.push({type:J.NoBreakHyphen});break;case`br`:n.children.push({type:J.Break,break:D.attr(t,`type`)||`textWrapping`});break;case`lastRenderedPageBreak`:n.children.push({type:J.Break,break:`lastRenderedPageBreak`});break;case`sym`:n.children.push({type:J.Symbol,font:s(D.attr(t,`font`)),char:D.hexAttr(t,`char`)});break;case`tab`:n.children.push({type:J.Tab});break;case`footnoteReference`:n.children.push({type:J.FootnoteReference,id:D.attr(t,`id`)});break;case`endnoteReference`:n.children.push({type:J.EndnoteReference,id:D.attr(t,`id`)});break;case`drawing`:let e=this.parseDrawing(t);e&&n.children.push(e);break;case`pict`:n.children.push(this.parseVmlPicture(t));break;case`rPr`:this.parseRunProperties(t,n);break}return n}parseMathElement(e){let t=`${e.localName}Pr`,n={type:nt[e.localName],children:[]};for(let i of D.elements(e))if(nt[i.localName])n.children.push(this.parseMathElement(i));else if(i.localName==`r`){var r=this.parseRun(i);r.type=J.MmlRun,n.children.push(r)}else i.localName==t&&(n.props=this.parseMathProperies(i));return n}parseMathProperies(e){let t={};for(let n of D.elements(e))switch(n.localName){case`chr`:t.char=D.attr(n,`val`);break;case`vertJc`:t.verticalJustification=D.attr(n,`val`);break;case`pos`:t.position=D.attr(n,`val`);break;case`degHide`:t.hideDegree=D.boolAttr(n,`val`);break;case`begChr`:t.beginChar=D.attr(n,`val`);break;case`endChr`:t.endChar=D.attr(n,`val`);break}return t}parseRunProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,e=>{switch(e.localName){case`rStyle`:t.styleName=D.attr(e,`val`);break;case`vertAlign`:t.verticalAlign=Q.valueOfVertAlign(e,!0);break;default:return!1}return!0})}parseVmlPicture(e){let t={type:J.VmlPicture,children:[]};for(let n of D.elements(e)){let e=Ke(n,this);e&&t.children.push(e)}return t}checkAlternateContent(e){if(e.localName!=`AlternateContent`)return e;var t=D.element(e,`Choice`);if(t){var n=D.attr(t,`Requires`),r=e.lookupNamespaceURI(n);if(tt.includes(r))return t.firstElementChild}return D.element(e,`Fallback`)?.firstElementChild}parseDrawing(e){for(var t of D.elements(e))switch(t.localName){case`inline`:case`anchor`:return this.parseDrawingWrapper(t)}}parseDrawingWrapper(e){var t={type:J.Drawing,children:[],cssStyle:{}},n=e.localName==`anchor`;let r=null,i=D.boolAttr(e,`simplePos`);D.boolAttr(e,`behindDoc`);let a={relative:`page`,align:`left`,offset:`0`},o={relative:`page`,align:`top`,offset:`0`};for(var s of D.elements(e))switch(s.localName){case`simplePos`:i&&(a.offset=D.lengthAttr(s,`x`,v.Emu),o.offset=D.lengthAttr(s,`y`,v.Emu));break;case`extent`:t.cssStyle.width=D.lengthAttr(s,`cx`,v.Emu),t.cssStyle.height=D.lengthAttr(s,`cy`,v.Emu);break;case`positionH`:case`positionV`:if(!i){let e=s.localName==`positionH`?a:o;var c=D.element(s,`align`),l=D.element(s,`posOffset`);e.relative=D.attr(s,`relativeFrom`)??e.relative,c&&(e.align=c.textContent),l&&(e.offset=y(l.textContent,v.Emu))}break;case`wrapTopAndBottom`:r=`wrapTopAndBottom`;break;case`wrapNone`:r=`wrapNone`;break;case`graphic`:var u=this.parseGraphic(s);u&&t.children.push(u);break}return r==`wrapTopAndBottom`?(t.cssStyle.display=`block`,a.align&&(t.cssStyle[`text-align`]=a.align,t.cssStyle.width=`100%`)):r==`wrapNone`?(t.cssStyle.display=`block`,t.cssStyle.position=`relative`,t.cssStyle.width=`0px`,t.cssStyle.height=`0px`,a.offset&&(t.cssStyle.left=a.offset),o.offset&&(t.cssStyle.top=o.offset)):n&&(a.align==`left`||a.align==`right`)&&(t.cssStyle.float=a.align),t}parseGraphic(e){var t=D.element(e,`graphicData`);for(let e of D.elements(t))switch(e.localName){case`pic`:return this.parsePicture(e)}return null}parsePicture(e){var t={type:J.Image,src:``,cssStyle:{}},n=D.element(e,`blipFill`),r=D.element(n,`blip`),i=D.element(n,`srcRect`);t.src=D.attr(r,`embed`),i&&(t.srcRect=[D.intAttr(i,`l`,0)/1e5,D.intAttr(i,`t`,0)/1e5,D.intAttr(i,`r`,0)/1e5,D.intAttr(i,`b`,0)/1e5]);var a=D.element(e,`spPr`),o=D.element(a,`xfrm`);if(t.cssStyle.position=`relative`,o){t.rotation=D.intAttr(o,`rot`,0)/6e4;for(var s of D.elements(o))switch(s.localName){case`ext`:t.cssStyle.width=D.lengthAttr(s,`cx`,v.Emu),t.cssStyle.height=D.lengthAttr(s,`cy`,v.Emu);break;case`off`:t.cssStyle.left=D.lengthAttr(s,`x`,v.Emu),t.cssStyle.top=D.lengthAttr(s,`y`,v.Emu);break}}return t}parseTable(e){var t={type:J.Table,children:[]};for(let n of D.elements(e))switch(n.localName){case`tr`:t.children.push(this.parseTableRow(n));break;case`tblGrid`:t.columns=this.parseTableColumns(n);break;case`tblPr`:this.parseTableProperties(n,t);break}return t}parseTableColumns(e){var t=[];for(let n of D.elements(e))switch(n.localName){case`gridCol`:t.push({width:D.lengthAttr(n,`w`)});break}return t}parseTableProperties(e,t){switch(t.cssStyle={},t.cellStyle={},this.parseDefaultProperties(e,t.cssStyle,t.cellStyle,e=>{switch(e.localName){case`tblStyle`:t.styleName=D.attr(e,`val`);break;case`tblLook`:t.className=Q.classNameOftblLook(e);break;case`tblpPr`:this.parseTablePosition(e,t);break;case`tblStyleColBandSize`:t.colBandSize=D.intAttr(e,`val`);break;case`tblStyleRowBandSize`:t.rowBandSize=D.intAttr(e,`val`);break;case`hidden`:t.cssStyle.display=`none`;break;default:return!1}return!0}),t.cssStyle[`text-align`]){case`center`:delete t.cssStyle[`text-align`],t.cssStyle[`margin-left`]=`auto`,t.cssStyle[`margin-right`]=`auto`;break;case`right`:delete t.cssStyle[`text-align`],t.cssStyle[`margin-left`]=`auto`;break}}parseTablePosition(e,t){var n=D.lengthAttr(e,`topFromText`),r=D.lengthAttr(e,`bottomFromText`),i=D.lengthAttr(e,`rightFromText`),a=D.lengthAttr(e,`leftFromText`);t.cssStyle.float=`left`,t.cssStyle[`margin-bottom`]=Q.addSize(t.cssStyle[`margin-bottom`],r),t.cssStyle[`margin-left`]=Q.addSize(t.cssStyle[`margin-left`],a),t.cssStyle[`margin-right`]=Q.addSize(t.cssStyle[`margin-right`],i),t.cssStyle[`margin-top`]=Q.addSize(t.cssStyle[`margin-top`],n)}parseTableRow(e){var t={type:J.Row,children:[]};for(let n of D.elements(e))switch(n.localName){case`tc`:t.children.push(this.parseTableCell(n));break;case`trPr`:case`tblPrEx`:this.parseTableRowProperties(n,t);break}return t}parseTableRowProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,e=>{switch(e.localName){case`cnfStyle`:t.className=Q.classNameOfCnfStyle(e);break;case`tblHeader`:t.isHeader=D.boolAttr(e,`val`);break;case`gridBefore`:t.gridBefore=D.intAttr(e,`val`);break;case`gridAfter`:t.gridAfter=D.intAttr(e,`val`);break;default:return!1}return!0})}parseTableCell(e){var t={type:J.Cell,children:[]};for(let n of D.elements(e))switch(n.localName){case`tbl`:t.children.push(this.parseTable(n));break;case`p`:t.children.push(this.parseParagraph(n));break;case`tcPr`:this.parseTableCellProperties(n,t);break}return t}parseTableCellProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,e=>{switch(e.localName){case`gridSpan`:t.span=D.intAttr(e,`val`,null);break;case`vMerge`:t.verticalMerge=D.attr(e,`val`)??`continue`;break;case`cnfStyle`:t.className=Q.classNameOfCnfStyle(e);break;default:return!1}return!0}),this.parseTableCellVerticalText(e,t)}parseTableCellVerticalText(e,t){let n={btLr:{writingMode:`vertical-rl`,transform:`rotate(180deg)`},lrTb:{writingMode:`vertical-lr`,transform:`none`},tbRl:{writingMode:`vertical-rl`,transform:`none`}};for(let r of D.elements(e))if(r.localName===`textDirection`){let e=n[D.attr(r,`val`)]||{writingMode:`horizontal-tb`};t.cssStyle[`writing-mode`]=e.writingMode,t.cssStyle.transform=e.transform}}parseDefaultProperties(e,t=null,n=null,r=null){t||={};for(let i of D.elements(e))if(!r?.(i))switch(i.localName){case`jc`:t[`text-align`]=Q.valueOfJc(i);break;case`textAlignment`:t[`vertical-align`]=Q.valueOfTextAlignment(i);break;case`color`:t.color=Z.colorAttr(i,`val`,null,et.color);break;case`sz`:t[`font-size`]=t[`min-height`]=D.lengthAttr(i,`val`,v.FontSize);break;case`shd`:t[`background-color`]=Z.colorAttr(i,`fill`,null,et.shd);break;case`highlight`:t[`background-color`]=Z.colorAttr(i,`val`,null,et.highlight);break;case`vertAlign`:break;case`position`:t.verticalAlign=D.lengthAttr(i,`val`,v.FontSize);break;case`tcW`:if(this.options.ignoreWidth)break;case`tblW`:t.width=Q.valueOfSize(i,`w`);break;case`trHeight`:this.parseTrHeight(i,t);break;case`strike`:t[`text-decoration`]=D.boolAttr(i,`val`,!0)?`line-through`:`none`;break;case`b`:t[`font-weight`]=D.boolAttr(i,`val`,!0)?`bold`:`normal`;break;case`i`:t[`font-style`]=D.boolAttr(i,`val`,!0)?`italic`:`normal`;break;case`caps`:t[`text-transform`]=D.boolAttr(i,`val`,!0)?`uppercase`:`none`;break;case`smallCaps`:t[`font-variant`]=D.boolAttr(i,`val`,!0)?`small-caps`:`none`;break;case`u`:this.parseUnderline(i,t);break;case`ind`:case`tblInd`:this.parseIndentation(i,t);break;case`rFonts`:this.parseFont(i,t);break;case`tblBorders`:this.parseBorderProperties(i,n||t);break;case`tblCellSpacing`:t[`border-spacing`]=Q.valueOfMargin(i),t[`border-collapse`]=`separate`;break;case`pBdr`:this.parseBorderProperties(i,t);break;case`bdr`:t.border=Q.valueOfBorder(i);break;case`tcBorders`:this.parseBorderProperties(i,t);break;case`vanish`:D.boolAttr(i,`val`,!0)&&(t.display=`none`);break;case`kern`:break;case`noWrap`:break;case`tblCellMar`:case`tcMar`:this.parseMarginProperties(i,n||t);break;case`tblLayout`:t[`table-layout`]=Q.valueOfTblLayout(i);break;case`vAlign`:t[`vertical-align`]=Q.valueOfTextAlignment(i);break;case`spacing`:e.localName==`pPr`&&this.parseSpacing(i,t);break;case`wordWrap`:D.boolAttr(i,`val`)&&(t[`overflow-wrap`]=`break-word`);break;case`suppressAutoHyphens`:t.hyphens=D.boolAttr(i,`val`,!0)?`none`:`auto`;break;case`lang`:t.$lang=D.attr(i,`val`);break;case`rtl`:case`bidi`:D.boolAttr(i,`val`,!0)&&(t.direction=`rtl`);break;case`bCs`:case`iCs`:case`szCs`:case`tabs`:case`outlineLvl`:case`contextualSpacing`:case`tblStyleColBandSize`:case`tblStyleRowBandSize`:case`webHidden`:case`pageBreakBefore`:case`suppressLineNumbers`:case`keepLines`:case`keepNext`:case`widowControl`:case`noProof`:break;default:this.options.debug&&console.warn(`DOCX: Unknown document element: ${e.localName}.${i.localName}`);break}return t}parseUnderline(e,t){var n=D.attr(e,`val`);if(n!=null){switch(n){case`dash`:case`dashDotDotHeavy`:case`dashDotHeavy`:case`dashedHeavy`:case`dashLong`:case`dashLongHeavy`:case`dotDash`:case`dotDotDash`:t[`text-decoration`]=`underline dashed`;break;case`dotted`:case`dottedHeavy`:t[`text-decoration`]=`underline dotted`;break;case`double`:t[`text-decoration`]=`underline double`;break;case`single`:case`thick`:t[`text-decoration`]=`underline`;break;case`wave`:case`wavyDouble`:case`wavyHeavy`:t[`text-decoration`]=`underline wavy`;break;case`words`:t[`text-decoration`]=`underline`;break;case`none`:t[`text-decoration`]=`none`;break}var r=Z.colorAttr(e,`color`);r&&(t[`text-decoration-color`]=r)}}parseFont(e,t){var n=[D.attr(e,`ascii`),Q.themeValue(e,`asciiTheme`),D.attr(e,`eastAsia`)].filter(e=>e).map(e=>s(e));n.length>0&&(t[`font-family`]=[...new Set(n)].join(`, `))}parseIndentation(e,t){var n=D.lengthAttr(e,`firstLine`),r=D.lengthAttr(e,`hanging`),i=D.lengthAttr(e,`left`),a=D.lengthAttr(e,`start`),o=D.lengthAttr(e,`right`),s=D.lengthAttr(e,`end`);n&&(t[`text-indent`]=n),r&&(t[`text-indent`]=`-${r}`),(i||a)&&(t[`margin-inline-start`]=i||a),(o||s)&&(t[`margin-inline-end`]=o||s)}parseSpacing(e,t){var n=D.lengthAttr(e,`before`),r=D.lengthAttr(e,`after`),i=D.intAttr(e,`line`,null),a=D.attr(e,`lineRule`);if(n&&(t[`margin-top`]=n),r&&(t[`margin-bottom`]=r),i!==null)switch(a){case`auto`:t[`line-height`]=`${(i/240).toFixed(2)}`;break;case`atLeast`:t[`line-height`]=`calc(100% + ${i/20}pt)`;break;default:t[`line-height`]=t[`min-height`]=`${i/20}pt`;break}}parseMarginProperties(e,t){for(let n of D.elements(e))switch(n.localName){case`left`:t[`padding-left`]=Q.valueOfMargin(n);break;case`right`:t[`padding-right`]=Q.valueOfMargin(n);break;case`top`:t[`padding-top`]=Q.valueOfMargin(n);break;case`bottom`:t[`padding-bottom`]=Q.valueOfMargin(n);break}}parseTrHeight(e,t){switch(D.attr(e,`hRule`)){case`exact`:t.height=D.lengthAttr(e,`val`);break;case`atLeast`:default:t.height=D.lengthAttr(e,`val`);break}}parseBorderProperties(e,t){for(let n of D.elements(e))switch(n.localName){case`start`:case`left`:t[`border-left`]=Q.valueOfBorder(n);break;case`end`:case`right`:t[`border-right`]=Q.valueOfBorder(n);break;case`top`:t[`border-top`]=Q.valueOfBorder(n);break;case`bottom`:t[`border-bottom`]=Q.valueOfBorder(n);break}}},it=[`black`,`blue`,`cyan`,`darkBlue`,`darkCyan`,`darkGray`,`darkGreen`,`darkMagenta`,`darkRed`,`darkYellow`,`green`,`lightGray`,`magenta`,`none`,`red`,`white`,`yellow`],Z=class{static colorAttr(e,t,n=null,r=`black`){var i=D.attr(e,t);if(i)return i==`auto`?r:it.includes(i)?i:`#${i}`;var a=D.attr(e,`themeColor`);return a?`var(--docx-${a}-color)`:n}},Q=class e{static themeValue(e,t){var n=D.attr(e,t);return n?`var(--docx-${n}-font)`:null}static valueOfSize(e,t){var n=v.Dxa;switch(D.attr(e,`type`)){case`dxa`:break;case`pct`:n=v.Percent;break;case`auto`:return`auto`}return D.lengthAttr(e,t,n)}static valueOfMargin(e){return D.lengthAttr(e,`w`)}static valueOfBorder(t){var n=e.parseBorderType(D.attr(t,`val`));if(n==`none`)return`none`;var r=Z.colorAttr(t,`color`);return`${D.lengthAttr(t,`sz`,v.Border)} ${n} ${r==`auto`?et.borderColor:r}`}static parseBorderType(e){switch(e){case`single`:return`solid`;case`dashDotStroked`:return`solid`;case`dashed`:return`dashed`;case`dashSmallGap`:return`dashed`;case`dotDash`:return`dotted`;case`dotDotDash`:return`dotted`;case`dotted`:return`dotted`;case`double`:return`double`;case`doubleWave`:return`double`;case`inset`:return`inset`;case`nil`:return`none`;case`none`:return`none`;case`outset`:return`outset`;case`thick`:return`solid`;case`thickThinLargeGap`:return`solid`;case`thickThinMediumGap`:return`solid`;case`thickThinSmallGap`:return`solid`;case`thinThickLargeGap`:return`solid`;case`thinThickMediumGap`:return`solid`;case`thinThickSmallGap`:return`solid`;case`thinThickThinLargeGap`:return`solid`;case`thinThickThinMediumGap`:return`solid`;case`thinThickThinSmallGap`:return`solid`;case`threeDEmboss`:return`solid`;case`threeDEngrave`:return`solid`;case`triple`:return`double`;case`wave`:return`solid`}return`solid`}static valueOfTblLayout(e){return D.attr(e,`val`)==`fixed`?`fixed`:`auto`}static classNameOfCnfStyle(e){let t=D.attr(e,`val`),n=[`first-row`,`last-row`,`first-col`,`last-col`,`odd-col`,`even-col`,`odd-row`,`even-row`,`ne-cell`,`nw-cell`,`se-cell`,`sw-cell`];if(t)return n.filter((e,n)=>t[n]==`1`).join(` `);let r=[`firstRow`,`lastRow`,`firstColumn`,`lastColumn`,`oddVBand`,`evenVBand`,`oddHBand`,`evenHBand`,`firstRowLastColumn`,`firstRowFirstColumn`,`lastRowLastColumn`,`lastRowFirstColumn`];return n.filter((t,n)=>D.boolAttr(e,r[n])).join(` `)}static valueOfJc(e){var t=D.attr(e,`val`);switch(t){case`start`:case`left`:return`left`;case`center`:return`center`;case`end`:case`right`:return`right`;case`both`:return`justify`}return t}static valueOfVertAlign(e,t=!1){var n=D.attr(e,`val`);switch(n){case`subscript`:return`sub`;case`superscript`:return t?`sup`:`super`}return t?null:n}static valueOfTextAlignment(e){var t=D.attr(e,`val`);switch(t){case`auto`:case`baseline`:return`baseline`;case`top`:return`top`;case`center`:return`middle`;case`bottom`:return`bottom`}return t}static addSize(e,t){return e==null?t:t==null?e:`calc(${e} + ${t})`}static classNameOftblLook(e){let t=D.hexAttr(e,`val`,0),n=``;return(D.boolAttr(e,`firstRow`)||t&32)&&(n+=` first-row`),(D.boolAttr(e,`lastRow`)||t&64)&&(n+=` last-row`),(D.boolAttr(e,`firstColumn`)||t&128)&&(n+=` first-col`),(D.boolAttr(e,`lastColumn`)||t&256)&&(n+=` last-col`),(D.boolAttr(e,`noHBand`)||t&512)&&(n+=` no-hband`),(D.boolAttr(e,`noVBand`)||t&1024)&&(n+=` no-vband`),n.trim()}},at={pos:0,leader:`none`,style:`left`},ot=50;function st(e=document.body){let t=document.createElement(`div`);t.style.width=`100pt`,e.appendChild(t);let n=100/t.offsetWidth;return e.removeChild(t),n}function ct(e,t,n,r=72/96){let i=e.closest(`p`),a=e.getBoundingClientRect(),o=i.getBoundingClientRect(),s=getComputedStyle(i),c=t?.length>0?t.map(e=>({pos:lt(e.position),leader:e.leader,style:e.style})).sort((e,t)=>e.pos-t.pos):[at],l=c[c.length-1],u=o.width*r,d=lt(n),f=l.pos+d;if(f<u)for(;f<u&&c.length<ot;f+=d)c.push({...at,pos:f});let p=parseFloat(s.marginLeft),m=o.left+p,h=(a.left-m)*r,g=c.find(e=>e.style!=`clear`&&e.pos>h);if(g==null)return;let _=1;if(g.style==`right`||g.style==`center`){let t=Array.from(i.querySelectorAll(`.${e.className}`)),n=t.indexOf(e)+1,a=document.createRange();a.setStart(e,1),n<t.length?a.setEndBefore(t[n]):a.setEndAfter(i);let s=g.style==`center`?.5:1,c=a.getBoundingClientRect(),l=c.left+s*c.width-(o.left-p);_=g.pos-l*r}else _=g.pos-h;switch(e.innerHTML=` `,e.style.textDecoration=`inherit`,e.style.wordSpacing=`${_.toFixed(0)}pt`,g.leader){case`dot`:case`middleDot`:e.style.textDecoration=`underline`,e.style.textDecorationStyle=`dotted`;break;case`hyphen`:case`heavy`:case`underscore`:e.style.textDecoration=`underline`;break}}function lt(e){return parseFloat(e)}var $;(function(e){e.html=`http://www.w3.org/1999/xhtml`,e.svg=`http://www.w3.org/2000/svg`,e.mathML=`http://www.w3.org/1998/Math/MathML`})($||={});function ut(e){if(p(e))return document.createTextNode(e);if(e instanceof Node)return e;let{ns:t,tagName:n,className:r,style:i,children:a,...o}=e;if(n===`#fragment`)return document.createDocumentFragment();if(n===`#comment`)return document.createComment(a[0]);let s=t?document.createElementNS(t,n):document.createElement(n);if(r&&s.setAttribute(`class`,r),i&&(p(i)?s.setAttribute(`style`,i):Object.assign(s.style,i)),o)for(let[e,t]of Object.entries(o))t!==void 0&&(s[e]=t);return a&&a.forEach(e=>s.appendChild(ut(e))),s}function dt(...e){return e.filter(Boolean).join(` `)}var ft=class{constructor(){this.className=`docx`,this.styleMap={},this.currentPart=null,this.tableVerticalMerges=[],this.currentVerticalMerge=null,this.tableCellPositions=[],this.currentCellPosition=null,this.footnoteMap={},this.endnoteMap={},this.currentEndnoteIds=[],this.usedHederFooterParts=[],this.currentTabs=[],this.commentMap={},this.tasks=[],this.postRenderTasks=[],this.h=ut}async render(e,t){this.document=e,this.options=t,this.className=t.className,this.rootSelector=t.inWrapper?`.${this.className}-wrapper`:`:root`,this.h=t.h??ut,this.styleMap=null,this.tasks=[],this.options.renderComments&&globalThis.Highlight&&(this.commentHighlight=new Highlight);let n=[...this.renderDefaultStyle()];e.themePart&&n.push(...this.renderTheme(e.themePart)),e.stylesPart!=null&&(this.styleMap=this.processStyles(e.stylesPart.styles),n.push(...this.renderStyles(e.stylesPart.styles))),e.numberingPart&&(this.prodessNumberings(e.numberingPart.domNumberings),n.push(...await this.renderNumbering(e.numberingPart.domNumberings))),e.footnotesPart&&(this.footnoteMap=u(e.footnotesPart.notes,e=>e.id)),e.endnotesPart&&(this.endnoteMap=u(e.endnotesPart.notes,e=>e.id)),e.settingsPart&&(this.defaultTabSize=e.settingsPart.settings?.defaultTabStop),!t.ignoreFonts&&e.fontTablePart&&n.push(...await this.renderFontTable(e.fontTablePart));var r=this.renderSections(e.documentPart.body);return this.options.inWrapper?n.push(this.renderWrapper(r)):n.push(...r),this.commentHighlight&&t.renderComments&&CSS.highlights.set(`${this.className}-comments`,this.commentHighlight),this.postRenderTasks.forEach(e=>e()),await Promise.allSettled(this.tasks),this.refreshTabStops(),n}renderTheme(e){let t={},n=e.theme?.fontScheme;n&&(n.majorFont&&(t[`--docx-majorHAnsi-font`]=n.majorFont.latinTypeface),n.minorFont&&(t[`--docx-minorHAnsi-font`]=n.minorFont.latinTypeface));let r=e.theme?.colorScheme;if(r)for(let[e,n]of Object.entries(r.colors))t[`--docx-${e}-color`]=`#${n}`;let i=this.styleToString(`.${this.className}`,t);return[this.h({tagName:`#comment`,children:[`docxjs document theme values`]}),this.h({tagName:`style`,children:[i]})]}async renderFontTable(e){let t=[];for(let n of e.fonts)for(let e of n.embedFontRefs)try{let r=await this.document.loadFont(e.id,e.key),i={"font-family":s(n.name),src:`url(${r})`};(e.type==`bold`||e.type==`boldItalic`)&&(i[`font-weight`]=`bold`),(e.type==`italic`||e.type==`boldItalic`)&&(i[`font-style`]=`italic`),t.push(this.h({tagName:`#comment`,children:[`docxjs ${n.name} font`]})),t.push(this.h({tagName:`style`,children:[this.styleToString(`@font-face`,i)]}))}catch{this.options.debug&&console.warn(`Can't load font with id ${e.id} and key ${e.key}`)}return t}processStyleName(e){return e?`${this.className}_${o(e)}`:this.className}processStyles(e){let t=u(e.filter(e=>e.id!=null),e=>e.id);for(let r of e.filter(e=>e.basedOn)){var n=t[r.basedOn];if(n){r.paragraphProps=m(r.paragraphProps,n.paragraphProps),r.runProps=m(r.runProps,n.runProps);for(let e of n.styles){let t=r.styles.find(t=>t.target==e.target);t?this.copyStyleProperties(e.values,t.values):r.styles.push({...e,values:{...e.values}})}}else this.options.debug&&console.warn(`Can't find base style ${r.basedOn}`)}for(let t of e)t.cssName=this.processStyleName(t.id);return t}prodessNumberings(e){for(let t of e.filter(e=>e.pStyleName)){let e=this.findStyle(t.pStyleName);e?.paragraphProps?.numbering&&(e.paragraphProps.numbering.level=t.level)}}processElement(e){if(e.children)for(var t of e.children)t.parent=e,t.type==J.Table?this.processTable(t):this.processElement(t)}processTable(e){for(var t of e.children)for(var n of t.children)n.cssStyle=this.copyStyleProperties(e.cellStyle,n.cssStyle,[`border-left`,`border-right`,`border-top`,`border-bottom`,`padding-left`,`padding-right`,`padding-top`,`padding-bottom`]),this.processElement(n)}copyStyleProperties(e,t,n=null){if(!e)return t;t??={},n??=Object.getOwnPropertyNames(e);for(var r of n)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r]);return t}createPageElement(e,t,n){let r={...n};return t&&(t.pageMargins&&(r.paddingLeft=t.pageMargins.left,r.paddingRight=t.pageMargins.right,r.paddingTop=t.pageMargins.top,r.paddingBottom=t.pageMargins.bottom),t.pageSize&&(this.options.ignoreWidth||(r.width=t.pageSize.width),this.options.ignoreHeight||(r.minHeight=t.pageSize.height))),this.h({tagName:`section`,className:e,style:r})}createSectionContent(e){let t={};return e.columns&&e.columns.numberOfColumns&&(t.columnCount=`${e.columns.numberOfColumns}`,t.columnGap=e.columns.space,e.columns.separator&&(t.columnRule=`1px solid black`)),this.h({tagName:`article`,style:t})}renderSections(e){let t=[];this.processElement(e);let n=this.splitBySection(e.children,e.props),r=this.groupByPageBreaks(n),i=null;for(let n=0,o=r.length;n<o;n++){this.currentFootnoteIds=[];let s=r[n][0].sectProps,c=this.createPageElement(this.className,s,e.cssStyle);this.options.renderHeaders&&this.renderHeaderFooter(s.headerRefs,s,t.length,i!=s,c);for(let e of r[n]){var a=this.createSectionContent(e.sectProps);this.renderElements(e.elements,a),c.appendChild(a),s=e.sectProps}if(this.options.renderFootnotes){let e=this.renderNotes(this.currentFootnoteIds,this.footnoteMap);e&&c.appendChild(e)}if(this.options.renderEndnotes&&n==o-1){let e=this.renderNotes(this.currentEndnoteIds,this.endnoteMap);e&&c.appendChild(e)}this.options.renderFooters&&this.renderHeaderFooter(s.footerRefs,s,t.length,i!=s,c),t.push(c),i=s}return t}renderHeaderFooter(e,t,n,r,i){if(e){var a=(t.titlePage&&r?e.find(e=>e.type==`first`):null)??(n%2==1?e.find(e=>e.type==`even`):null)??e.find(e=>e.type==`default`),o=a&&this.document.findPartByRelId(a.id,this.document.documentPart);if(o){this.currentPart=o,this.usedHederFooterParts.includes(o.path)||(this.processElement(o.rootElement),this.usedHederFooterParts.push(o.path));let[e]=this.renderElements([o.rootElement],i);t?.pageMargins&&(o.rootElement.type===J.Header?(e.style.marginTop=`calc(${t.pageMargins.header} - ${t.pageMargins.top})`,e.style.minHeight=`calc(${t.pageMargins.top} - ${t.pageMargins.header})`):o.rootElement.type===J.Footer&&(e.style.marginBottom=`calc(${t.pageMargins.footer} - ${t.pageMargins.bottom})`,e.style.minHeight=`calc(${t.pageMargins.bottom} - ${t.pageMargins.footer})`)),this.currentPart=null}}}isPageBreakElement(e){return e.type==J.Break?e.break==`lastRenderedPageBreak`?!this.options.ignoreLastRenderedPageBreak:e.break==`page`:!1}isPageBreakSection(e,t){return!e||!t?!1:e.pageSize?.orientation!=t.pageSize?.orientation||e.pageSize?.width!=t.pageSize?.width||e.pageSize?.height!=t.pageSize?.height}splitBySection(e,t){var n={sectProps:null,elements:[],pageBreak:!1},r=[n];for(let t of e)if(t.type==J.Paragraph&&this.findStyle(t.styleName)?.paragraphProps?.pageBreakBefore&&(n.sectProps=i,n.pageBreak=!0,n={sectProps:null,elements:[],pageBreak:!1},r.push(n)),n.elements.push(t),t.type==J.Paragraph){let e=t;var i=e.sectionProps,a=-1,o=-1;if(this.options.breakPages&&e.children&&(a=e.children.findIndex(e=>(o=e.children?.findIndex(this.isPageBreakElement.bind(this))??-1,o!=-1))),(i||a!=-1)&&(n.sectProps=i,n.pageBreak=a!=-1,n={sectProps:null,elements:[],pageBreak:!1},r.push(n)),a!=-1){let r=e.children[a],i=o<r.children.length-1;if(a<e.children.length-1||i){var s=t.children,c={...t,children:s.slice(a)};if(t.children=s.slice(0,a),n.elements.push(c),i){let e=r.children,n={...r,children:e.slice(0,o)};t.children.push(n),r.children=e.slice(o)}}}}let l=null;for(let e=r.length-1;e>=0;e--)r[e].sectProps==null?r[e].sectProps=l??t:l=r[e].sectProps;return r}groupByPageBreaks(e){let t=[],n,r=[t];for(let i of e)t.push(i),(this.options.ignoreLastRenderedPageBreak||i.pageBreak||this.isPageBreakSection(n,i.sectProps))&&r.push(t=[]),n=i.sectProps;return r.filter(e=>e.length>0)}renderWrapper(e){return this.h({tagName:`div`,className:`${this.className}-wrapper`,children:e})}renderDefaultStyle(){var e=this.className,t=`
|
|
3
3
|
.${e}-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; }
|
|
4
4
|
.${e}-wrapper>section.${e} { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; }`;this.options.hideWrapperOnPrint&&(t=`@media not print { ${t} }`);var n=`${t}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ai as e,Ni as t,sa as n}from"./index-
|
|
1
|
+
import{Ai as e,Ni as t,sa as n}from"./index-0Vd4ITAj.js";var r={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 256 256`};function i(i,a){return n(),t(`svg`,r,[...a[0]||=[e(`path`,{d:`M221.69 199.77 160 96.92V40h8a8 8 0 0 0 0-16H88a8 8 0 0 0 0 16h8v56.92L34.31 199.77A16 16 0 0 0 48 224h160a16 16 0 0 0 13.72-24.23Zm-110.83-96.52a7.93 7.93 0 0 0 1.14-4.11V40h32v59.14a7.93 7.93 0 0 0 1.14 4.11L183.36 167c-12 2.37-29.07 1.37-51.75-10.11-15.91-8.05-31.05-12.32-45.22-12.81ZM48 208l28.54-47.58c14.25-1.74 30.31 1.85 47.82 10.72 19 9.61 35 12.88 48 12.88a69.9 69.9 0 0 0 19.55-2.7L208 208Z`},null,-1)]])}var a={render:i};export{a as default,i as render};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Ai as e,Mi as t,Ni as n,Oa as r,Qr as i,Ri as a,Si as o,Ta as s,Yi as c,Yn as l,er as u,fa as d,hr as f,ja as p,ji as m,pa as h,pi as g,sa as _,ua as v,wa as y}from"./index-
|
|
1
|
+
import{Ai as e,Mi as t,Ni as n,Oa as r,Qr as i,Ri as a,Si as o,Ta as s,Yi as c,Yn as l,er as u,fa as d,hr as f,ja as p,ji as m,pa as h,pi as g,sa as _,ua as v,wa as y}from"./index-0Vd4ITAj.js";import{t as b}from"./plus-BavJPboa.js";import{t as x}from"./minus-DXcyjEvM.js";var S=f.extend({name:`fieldset`,style:`
|
|
2
2
|
.p-fieldset {
|
|
3
3
|
background: dt('fieldset.background');
|
|
4
4
|
border: 1px solid dt('fieldset.border.color');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{nn as e}from"./index-
|
|
1
|
+
import{nn as e}from"./index-0Vd4ITAj.js";var t=[`assign`,`flush`,`ftl`,`return`,`global`,`import`,`include`,`break`,`continue`,`local`,`nested`,`nt`,`setting`,`stop`,`t`,`lt`,`rt`,`fallback`],n=[`attempt`,`autoesc`,`autoEsc`,`compress`,`comment`,`escape`,`noescape`,`function`,`if`,`list`,`items`,`sep`,`macro`,`noparse`,`noParse`,`noautoesc`,`noAutoEsc`,`outputformat`,`switch`,`visit`,`recurse`],r={close:`>`,id:`angle`,open:`<`},i={close:`\\]`,id:`bracket`,open:`\\[`},a={close:`[>\\]]`,id:`auto`,open:`[<\\[]`},o={close:`\\}`,id:`dollar`,open1:`\\$`,open2:`\\{`},s={close:`\\]`,id:`bracket`,open1:`\\[`,open2:`=`};function c(r){return{brackets:[[`<`,`>`],[`[`,`]`],[`(`,`)`],[`{`,`}`]],comments:{blockComment:[`${r.open}--`,`--${r.close}`]},autoCloseBefore:`
|
|
2
2
|
\r }]),.:;=`,autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`]}],surroundingPairs:[{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`}],folding:{markers:{start:RegExp(`${r.open}#(?:${n.join(`|`)})([^/${r.close}]*(?!/)${r.close})[^${r.open}]*$`),end:RegExp(`${r.open}/#(?:${n.join(`|`)})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:RegExp(`${r.open}#(?!(?:${t.join(`|`)}))([a-zA-Z_]+)([^/${r.close}]*(?!/)${r.close})[^${r.open}]*$`),afterText:RegExp(`^${r.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${r.close}$`),action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:RegExp(`${r.open}#(?!(?:${t.join(`|`)}))([a-zA-Z_]+)([^/${r.close}]*(?!/)${r.close})[^${r.open}]*$`),action:{indentAction:e.IndentAction.Indent}}]}}function l(){return{brackets:[[`<`,`>`],[`[`,`]`],[`(`,`)`],[`{`,`}`]],autoCloseBefore:`
|
|
3
3
|
\r }]),.:;=`,autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`]}],surroundingPairs:[{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`}],folding:{markers:{start:RegExp(`[<\\[]#(?:${n.join(`|`)})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:RegExp(`[<\\[]/#(?:${n.join(`|`)})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:RegExp(`[<\\[]#(?!(?:${t.join(`|`)}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:RegExp(`^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$`),action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:RegExp(`[<\\[]#(?!(?:${t.join(`|`)}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:e.IndentAction.Indent}}]}}function u(e,t){let n=`_${e.id}_${t.id}`,r=e=>e.replace(/__id__/g,n),i=e=>{let t=e.source.replace(/__id__/g,n);return new RegExp(t,e.flags)};return{unicode:!0,includeLF:!1,start:r(`default__id__`),ignoreCase:!1,defaultToken:`invalid`,tokenPostfix:`.freemarker2`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],[r(`open__id__`)]:new RegExp(e.open),[r(`close__id__`)]:new RegExp(e.close),[r(`iOpen1__id__`)]:new RegExp(t.open1),[r(`iOpen2__id__`)]:new RegExp(t.open2),[r(`iClose__id__`)]:new RegExp(t.close),[r(`startTag__id__`)]:i(/(@open__id__)(#)/),[r(`endTag__id__`)]:i(/(@open__id__)(\/#)/),[r(`startOrEndTag__id__`)]:i(/(@open__id__)(\/?#)/),[r(`closeTag1__id__`)]:i(/((?:@blank)*)(@close__id__)/),[r(`closeTag2__id__`)]:i(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:[`false`,`true`,`in`,`as`,`using`],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/<=|>=|\\lte|\\lt|<|\\gte|\\gt|>|&&|\\and|->|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:[`->`,`->`],delimiters:[`;`,`:`,`,`,`.`],stringOperators:[`lte`,`lt`,`gte`,`gt`],noParseTags:[`noparse`,`noParse`,`comment`],tokenizer:{[r(`default__id__`)]:[{include:r(`@directive_token__id__`)},{include:r(`@interpolation_and_text_token__id__`)}],[r(`fmExpression__id__.directive`)]:[{include:r(`@blank_and_expression_comment_token__id__`)},{include:r(`@directive_end_token__id__`)},{include:r(`@expression_token__id__`)}],[r(`fmExpression__id__.interpolation`)]:[{include:r(`@blank_and_expression_comment_token__id__`)},{include:r(`@expression_token__id__`)},{include:r(`@greater_operators_token__id__`)}],[r(`inParen__id__.plain`)]:[{include:r(`@blank_and_expression_comment_token__id__`)},{include:r(`@directive_end_token__id__`)},{include:r(`@expression_token__id__`)}],[r(`inParen__id__.gt`)]:[{include:r(`@blank_and_expression_comment_token__id__`)},{include:r(`@expression_token__id__`)},{include:r(`@greater_operators_token__id__`)}],[r(`noSpaceExpression__id__`)]:[{include:r(`@no_space_expression_end_token__id__`)},{include:r(`@directive_end_token__id__`)},{include:r(`@expression_token__id__`)}],[r(`unifiedCall__id__`)]:[{include:r(`@unified_call_token__id__`)}],[r(`singleString__id__`)]:[{include:r(`@string_single_token__id__`)}],[r(`doubleString__id__`)]:[{include:r(`@string_double_token__id__`)}],[r(`rawSingleString__id__`)]:[{include:r(`@string_single_raw_token__id__`)}],[r(`rawDoubleString__id__`)]:[{include:r(`@string_double_raw_token__id__`)}],[r(`expressionComment__id__`)]:[{include:r(`@expression_comment_token__id__`)}],[r(`noParse__id__`)]:[{include:r(`@no_parse_token__id__`)}],[r(`terseComment__id__`)]:[{include:r(`@terse_comment_token__id__`)}],[r(`directive_token__id__`)]:[[i(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{cases:{"@noParseTags":{token:`tag`,next:r(`@noParse__id__.$3`)},"@default":{token:`tag`}}},{token:`delimiter.directive`},{token:`@brackets.directive`}]],[i(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:`delimiter.directive`},{token:`@brackets.directive`}]],[i(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:``,next:r(`@fmExpression__id__.directive`)}]],[i(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:`delimiter.directive`},{token:`@brackets.directive`}]],[i(/(@open__id__)(@)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`,next:r(`@unifiedCall__id__`)}]],[i(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:`delimiter.directive`},{token:`@brackets.directive`}]],[i(/(@open__id__)#--/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:{token:`comment`,next:r(`@terseComment__id__`)}],[i(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),e.id===`auto`?{cases:{"$1==<":{token:`@rematch`,switchTo:`@default_angle_${t.id}`},"$1==[":{token:`@rematch`,switchTo:`@default_bracket_${t.id}`}}}:[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag.invalid`,next:r(`@fmExpression__id__.directive`)}]]],[r(`interpolation_and_text_token__id__`)]:[[i(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:t.id===`bracket`?`@brackets.interpolation`:`delimiter.interpolation`},{token:t.id===`bracket`?`delimiter.interpolation`:`@brackets.interpolation`,next:r(`@fmExpression__id__.interpolation`)}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:`source`}]],[r(`string_single_token__id__`)]:[[/[^'\\]/,{token:`string`}],[/@escapedChar/,{token:`string.escape`}],[/'/,{token:`string`,next:`@pop`}]],[r(`string_double_token__id__`)]:[[/[^"\\]/,{token:`string`}],[/@escapedChar/,{token:`string.escape`}],[/"/,{token:`string`,next:`@pop`}]],[r(`string_single_raw_token__id__`)]:[[/[^']+/,{token:`string.raw`}],[/'/,{token:`string.raw`,next:`@pop`}]],[r(`string_double_raw_token__id__`)]:[[/[^"]+/,{token:`string.raw`}],[/"/,{token:`string.raw`,next:`@pop`}]],[r(`expression_token__id__`)]:[[/(r?)(['"])/,{cases:{"r'":[{token:`keyword`},{token:`string.raw`,next:r(`@rawSingleString__id__`)}],'r"':[{token:`keyword`},{token:`string.raw`,next:r(`@rawDoubleString__id__`)}],"'":[{token:`source`},{token:`string`,next:r(`@singleString__id__`)}],'"':[{token:`source`},{token:`string`,next:r(`@doubleString__id__`)}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:`number`},"@default":{token:`number.float`}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:`delimiter`},{token:``},{token:`identifier`}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:`meta.arrow`},"@delimiters":{token:`delimiter`},"@default":{token:`operators`}}}],[/@id/,{cases:{"@keywords":{token:`keyword.$0`},"@stringOperators":{token:`operators`},"@default":{token:`identifier`}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:`@brackets`,next:r(`@inParen__id__.gt`)},"@default":{token:`@brackets`,next:r(`@inParen__id__.plain`)}}},"\\]":{cases:{...t.id===`bracket`?{"$S2==interpolation":{token:`@brackets.interpolation`,next:`@popall`}}:{},...e.id===`bracket`?{"$S2==directive":{token:`@brackets.directive`,next:`@popall`}}:{},[r(`$S1==inParen__id__`)]:{token:`@brackets`,next:`@pop`},"@default":{token:`@brackets`}}},"\\(":{token:`@brackets`,next:r(`@inParen__id__.gt`)},"\\)":{cases:{[r(`$S1==inParen__id__`)]:{token:`@brackets`,next:`@pop`},"@default":{token:`@brackets`}}},"\\{":{cases:{"$S2==gt":{token:`@brackets`,next:r(`@inParen__id__.gt`)},"@default":{token:`@brackets`,next:r(`@inParen__id__.plain`)}}},"\\}":{cases:{...t.id===`bracket`?{}:{"$S2==interpolation":{token:`@brackets.interpolation`,next:`@popall`}},[r(`$S1==inParen__id__`)]:{token:`@brackets`,next:`@pop`},"@default":{token:`@brackets`}}}}}],[/\$\{/,{token:`delimiter.invalid`}]],[r(`blank_and_expression_comment_token__id__`)]:[[/(?:@blank)+/,{token:``}],[/[<\[][#!]--/,{token:`comment`,next:r(`@expressionComment__id__`)}]],[r(`directive_end_token__id__`)]:[[/>/,e.id===`bracket`?{token:`operators`}:{token:`@brackets.directive`,next:`@popall`}],[i(/(\/)(@close__id__)/),[{token:`delimiter.directive`},{token:`@brackets.directive`,next:`@popall`}]]],[r(`greater_operators_token__id__`)]:[[/>/,{token:`operators`}],[/>=/,{token:`operators`}]],[r(`no_space_expression_end_token__id__`)]:[[/(?:@blank)+/,{token:``,switchTo:r(`@fmExpression__id__.directive`)}]],[r(`unified_call_token__id__`)]:[[/(@id)((?:@blank)+)/,[{token:`tag`},{token:``,next:r(`@fmExpression__id__.directive`)}]],[i(/(@id)(\/?)(@close__id__)/),[{token:`tag`},{token:`delimiter.directive`},{token:`@brackets.directive`,next:`@popall`}]],[/./,{token:`@rematch`,next:r(`@noSpaceExpression__id__`)}]],[r(`no_parse_token__id__`)]:[[i(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:`@brackets.directive`},{token:`delimiter.directive`},{token:`tag`},{token:``},{token:`@brackets.directive`,next:`@popall`}],"$S2==comment":[{token:`comment`},{token:`comment`},{token:`comment`},{token:`comment`},{token:`comment`}],"@default":[{token:`source`},{token:`source`},{token:`source`},{token:`source`},{token:`source`}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:`comment`},"@default":{token:`source`}}}]],[r(`expression_comment_token__id__`)]:[[/--[>\]]/,{token:`comment`,next:`@pop`}],[/[^\->\]]+|[>\]\-]/,{token:`comment`}]],[r(`terse_comment_token__id__`)]:[[i(/--(?:@close__id__)/),{token:`comment`,next:`@popall`}],[/[^<\[\-]+|[<\[\-]/,{token:`comment`}]]}}}function d(e){let t=u(r,e),n=u(i,e),o=u(a,e);return{...t,...n,...o,unicode:!0,includeLF:!1,start:`default_auto_${e.id}`,ignoreCase:!1,defaultToken:`invalid`,tokenPostfix:`.freemarker2`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],tokenizer:{...t.tokenizer,...n.tokenizer,...o.tokenizer}}}var f={conf:c(r),language:u(r,o)},p={conf:c(i),language:u(i,o)},m={conf:c(r),language:u(r,s)},h={conf:c(i),language:u(i,s)},g={conf:l(),language:d(o)},_={conf:l(),language:d(s)};export{m as TagAngleInterpolationBracket,f as TagAngleInterpolationDollar,_ as TagAutoInterpolationBracket,g as TagAutoInterpolationDollar,h as TagBracketInterpolationBracket,p as TagBracketInterpolationDollar};
|