@sme.up/ketchup2 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{arc-yUAZoqJP.js → arc-CVbkjF8U.js} +1 -1
- package/dist/{arc-CYi2lpSd.cjs → arc-w3BipdfE.cjs} +1 -1
- package/dist/{architectureDiagram-3BPJPVTR-CMX2LiQK.js → architectureDiagram-3BPJPVTR-B6VZAtZU.js} +87 -88
- package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +36 -0
- package/dist/basic-components/autocomplete/autocomplete-types.d.ts +2 -1
- package/dist/basic-components/autocomplete/autocomplete-types.d.ts.map +1 -1
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/button/button-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/{blockDiagram-GPEHLZMM-fcAaH_Ka.js → blockDiagram-GPEHLZMM-BohmRoCC.js} +9 -9
- package/dist/{blockDiagram-GPEHLZMM-C7mogpj_.cjs → blockDiagram-GPEHLZMM-rfyR2Ffl.cjs} +1 -1
- package/dist/{c4Diagram-AAUBKEIU-BUOgTWLR.js → c4Diagram-AAUBKEIU-CdT8VCbo.js} +5 -5
- package/dist/{c4Diagram-AAUBKEIU-BjsHAdap.cjs → c4Diagram-AAUBKEIU-Du1vqJYZ.cjs} +1 -1
- package/dist/{channel-CAhFwf6U.js → channel-C-LAmObA.js} +1 -1
- package/dist/channel-DJpMBAs-.cjs +1 -0
- package/dist/{chunk-2J33WTMH-BulZYTKs.js → chunk-2J33WTMH-BMqA-riF.js} +2 -2
- package/dist/{chunk-2J33WTMH-DIfvCbWZ.cjs → chunk-2J33WTMH-BQs9SXq8.cjs} +1 -1
- package/dist/{chunk-3OPIFGDE-Ohf7vgmX.cjs → chunk-3OPIFGDE-Bk_ByTBh.cjs} +1 -1
- package/dist/{chunk-3OPIFGDE-BYuWDDGY.js → chunk-3OPIFGDE-Bs2mXISw.js} +6 -6
- package/dist/{chunk-4BX2VUAB-DdliHvKq.cjs → chunk-4BX2VUAB-C8VW0QW0.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-B74FMcxr.js → chunk-4BX2VUAB-zglw1T4d.js} +1 -1
- package/dist/{chunk-55IACEB6-DzCdT-ru.cjs → chunk-55IACEB6-CNxnI3nm.cjs} +1 -1
- package/dist/{chunk-55IACEB6-D5PlvtBC.js → chunk-55IACEB6-CmKDx-YO.js} +1 -1
- package/dist/{chunk-5ZQYHXKU-BvO58_5C.js → chunk-5ZQYHXKU-B_nOC8-n.js} +3 -3
- package/dist/{chunk-5ZQYHXKU-35HHGVyc.cjs → chunk-5ZQYHXKU-DMrStm4M.cjs} +1 -1
- package/dist/{chunk-727SXJPM-BDsxon3G.js → chunk-727SXJPM-CDeV7mmg.js} +70 -71
- package/dist/chunk-727SXJPM-Dj8nsm0O.cjs +206 -0
- package/dist/{chunk-AQP2D5EJ-CPbTYzEZ.cjs → chunk-AQP2D5EJ-CYuEYK6i.cjs} +1 -1
- package/dist/{chunk-AQP2D5EJ-Cp3ieoZF.js → chunk-AQP2D5EJ-vJ_pitKp.js} +6 -6
- package/dist/{chunk-BSJP7CBP-DtjFXF0S.cjs → chunk-BSJP7CBP-CSCICPww.cjs} +1 -1
- package/dist/{chunk-BSJP7CBP-BjkTjHJ6.js → chunk-BSJP7CBP-YsQACkyC.js} +1 -1
- package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +124 -0
- package/dist/{chunk-CSCIHK7Q-Drr_NBLR.js → chunk-CSCIHK7Q-BEk3YcEH.js} +1328 -598
- package/dist/{chunk-FMBD7UC4-BLLpskYF.cjs → chunk-FMBD7UC4-BIKI8zae.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-Cia16Ryi.js → chunk-FMBD7UC4-BURT0llY.js} +1 -1
- package/dist/{chunk-KSCS5N6A-pd39ksIM.js → chunk-KSCS5N6A-BemQomLE.js} +9 -9
- package/dist/{chunk-KSCS5N6A-DSWnBtbV.cjs → chunk-KSCS5N6A-DsN7gJEf.cjs} +1 -1
- package/dist/{chunk-L5ZTLDWV-DXk-PQPS.js → chunk-L5ZTLDWV-BQCNoMVG.js} +3 -3
- package/dist/{chunk-L5ZTLDWV-sRcGREMv.cjs → chunk-L5ZTLDWV-BbLRyKcx.cjs} +1 -1
- package/dist/{chunk-LZXEDZCA-oQMllZja.js → chunk-LZXEDZCA-J9irjuVP.js} +7 -7
- package/dist/{chunk-LZXEDZCA-4kbGESh2.cjs → chunk-LZXEDZCA-rjLYyX5U.cjs} +1 -1
- package/dist/{chunk-ND2GUHAM-See9KDdJ.cjs → chunk-ND2GUHAM-1o9Sjy2_.cjs} +1 -1
- package/dist/{chunk-ND2GUHAM-CKQ1Jk8O.js → chunk-ND2GUHAM-Ca12h-m9.js} +3 -3
- package/dist/{chunk-NZK2D7GU-CqugOMaJ.js → chunk-NZK2D7GU-CPxdSJTy.js} +2 -2
- package/dist/{chunk-NZK2D7GU-FNVK0iHI.cjs → chunk-NZK2D7GU-CRneGIrP.cjs} +1 -1
- package/dist/{chunk-O5CBEL6O-BU_i0jbb.cjs → chunk-O5CBEL6O-Cd4Z5Dy9.cjs} +1 -1
- package/dist/{chunk-O5CBEL6O-BIU6TcWp.js → chunk-O5CBEL6O-DbWeP4Au.js} +3 -3
- package/dist/{chunk-QZHKN3VN-DPdobKra.cjs → chunk-QZHKN3VN-ZJ4hLUIw.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-cS9OamWo.js → chunk-QZHKN3VN-lYfzaOt9.js} +1 -1
- package/dist/{chunk-WU5MYG2G-BL6T82Hi.js → chunk-WU5MYG2G-DuCEb9G-.js} +2 -2
- package/dist/{chunk-WU5MYG2G-qi7ZaL3o.cjs → chunk-WU5MYG2G-ExiaHFbF.cjs} +1 -1
- package/dist/{chunk-XPW4576I-Dsm0jctf.cjs → chunk-XPW4576I-BybfDrup.cjs} +1 -1
- package/dist/{chunk-XPW4576I-B9aC8EBY.js → chunk-XPW4576I-D3DQ47oC.js} +1 -1
- package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +29 -0
- package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +1 -0
- package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +29 -0
- package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +1 -0
- package/dist/components/box-list/box-list.d.ts.map +1 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts +6 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
- package/dist/components/data-table/data-table-types.d.ts +56 -3
- package/dist/components/data-table/data-table-types.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/header/Header.d.ts.map +1 -1
- package/dist/components/data-table/header/header-types.d.ts +7 -3
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/data-table/sorting/parseDftSort.d.ts +14 -0
- package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -0
- package/dist/components/data-table/sorting/parseDftSort.test.d.ts +2 -0
- package/dist/components/data-table/sorting/parseDftSort.test.d.ts.map +1 -0
- package/dist/components/data-table/sorting/sortTable-utils.d.ts +8 -9
- package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
- package/dist/components/data-table/sorting/useSortableTable.d.ts +3 -5
- package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts +1 -0
- package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
- package/dist/components/workflow-designer/workflow-designer-types.d.ts +76 -0
- package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts +7 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts +14 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -0
- package/dist/{cose-bilkent-S5V4N54A-DZmA7Nat.js → cose-bilkent-S5V4N54A-BhA3VnPW.js} +25 -26
- package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +1 -0
- package/dist/{dagre-BM42HDAG-DwRqEen8.js → dagre-BM42HDAG-DfpR5Mml.js} +9 -9
- package/dist/{dagre-BM42HDAG-E2Jw6uLH.cjs → dagre-BM42HDAG-kORxgFz_.cjs} +1 -1
- package/dist/{diagram-2AECGRRQ-BITzWXbn.js → diagram-2AECGRRQ-23vM90dy.js} +5 -5
- package/dist/{diagram-2AECGRRQ-BkwGTiAT.cjs → diagram-2AECGRRQ-B0IEGKjr.cjs} +1 -1
- package/dist/{diagram-5GNKFQAL-bsRwDc-2.js → diagram-5GNKFQAL-BEY9x4us.js} +6 -6
- package/dist/{diagram-5GNKFQAL-CvMOQgoH.cjs → diagram-5GNKFQAL-vb6e35PR.cjs} +1 -1
- package/dist/{diagram-KO2AKTUF-DKGDs9Ax.cjs → diagram-KO2AKTUF-9V_zu-2x.cjs} +1 -1
- package/dist/{diagram-KO2AKTUF-DwTH3Hoo.js → diagram-KO2AKTUF-BEnEQF6b.js} +4 -4
- package/dist/{diagram-LMA3HP47-BojSLu6w.cjs → diagram-LMA3HP47-BN_geiB9.cjs} +1 -1
- package/dist/{diagram-LMA3HP47-nYPIM4Uq.js → diagram-LMA3HP47-OWxAHrmz.js} +5 -5
- package/dist/{diagram-OG6HWLK6-bHqMXqif.cjs → diagram-OG6HWLK6-6OnEK9-6.cjs} +1 -1
- package/dist/{diagram-OG6HWLK6-CPzvG6Xi.js → diagram-OG6HWLK6-Cfbv6mIH.js} +7 -7
- package/dist/{dist-BEmBi80K.js → dist-Btd8EZyy.js} +1 -1
- package/dist/dist-D8RD2QWc.cjs +1 -0
- package/dist/{erDiagram-TEJ5UH35-BxeM1F9k.js → erDiagram-TEJ5UH35-6OEXIM6m.js} +13 -13
- package/dist/{erDiagram-TEJ5UH35-CqUBZsAh.cjs → erDiagram-TEJ5UH35-CzsOt0l4.cjs} +1 -1
- package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +162 -0
- package/dist/{flowDiagram-I6XJVG4X-Dx5d6cgt.js → flowDiagram-I6XJVG4X-DnsxKD0w.js} +96 -97
- package/dist/functional-components/action-list/action-list-types.d.ts +0 -7
- package/dist/functional-components/action-list/action-list-types.d.ts.map +1 -1
- package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
- package/dist/functional-components/row/row-types.d.ts +8 -0
- package/dist/functional-components/row/row-types.d.ts.map +1 -1
- package/dist/functional-components/row/row.d.ts.map +1 -1
- package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +292 -0
- package/dist/{ganttDiagram-6RSMTGT7-CFuwKLrB.js → ganttDiagram-6RSMTGT7-CwbJqdwB.js} +188 -189
- package/dist/{gitGraphDiagram-PVQCEYII-B-VOfNjd.cjs → gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs} +1 -1
- package/dist/{gitGraphDiagram-PVQCEYII-B2CaQTP_.js → gitGraphDiagram-PVQCEYII-mL2WiT98.js} +5 -5
- package/dist/index.d.ts +3 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/{infoDiagram-5YYISTIA-CM-al6Jc.js → infoDiagram-5YYISTIA-BIM8xaiE.js} +3 -3
- package/dist/{infoDiagram-5YYISTIA-22jaR465.cjs → infoDiagram-5YYISTIA-CbnHgs-I.cjs} +1 -1
- package/dist/{ishikawaDiagram-YF4QCWOH-CSRSkgHx.cjs → ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs} +1 -1
- package/dist/{ishikawaDiagram-YF4QCWOH-CfOvUIo-.js → ishikawaDiagram-YF4QCWOH-DGOgWzve.js} +4 -4
- package/dist/{journeyDiagram-JHISSGLW-BMECXtd1.js → journeyDiagram-JHISSGLW-CHVTMdrq.js} +5 -5
- package/dist/{journeyDiagram-JHISSGLW-P42eSNEh.cjs → journeyDiagram-JHISSGLW-DfnmJPLn.cjs} +1 -1
- package/dist/{kanban-definition-UN3LZRKU-DplPe2EX.cjs → kanban-definition-UN3LZRKU-CbeoJJE7.cjs} +1 -1
- package/dist/{kanban-definition-UN3LZRKU-DCzfGTs4.js → kanban-definition-UN3LZRKU-upKA3b5x.js} +10 -10
- package/dist/ketchup2.cjs.js +403 -101
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +148550 -118553
- package/dist/{line-CLmmMPn2.cjs → line-CzwncDY3.cjs} +1 -1
- package/dist/{line-0G6sJTVA.js → line-DIhSUgmA.js} +1 -1
- package/dist/{linear-yBssgUAc.cjs → linear-1lpO_WlJ.cjs} +1 -1
- package/dist/{linear-BNWgac81.js → linear-DUAteVwl.js} +1 -1
- package/dist/locale/en/translation.json.d.ts +7 -0
- package/dist/locale/it/translation.json.d.ts +8 -1
- package/dist/{mindmap-definition-RKZ34NQL-DpX8ksst.js → mindmap-definition-RKZ34NQL-C3YkCJDi.js} +12 -12
- package/dist/{mindmap-definition-RKZ34NQL-DbK4qO1Z.cjs → mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs} +1 -1
- package/dist/{pieDiagram-4H26LBE5-CCgLxjTB.js → pieDiagram-4H26LBE5-BvhguaHn.js} +7 -7
- package/dist/{pieDiagram-4H26LBE5-DAhjc9WT.cjs → pieDiagram-4H26LBE5-DpDrJBQK.cjs} +1 -1
- package/dist/{quadrantDiagram-W4KKPZXB-Bgw66PrU.js → quadrantDiagram-W4KKPZXB-C2oA-eGZ.js} +3 -3
- package/dist/{quadrantDiagram-W4KKPZXB-BBEQhVJy.cjs → quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs} +1 -1
- package/dist/{requirementDiagram-4Y6WPE33-BzNEhq-x.js → requirementDiagram-4Y6WPE33-BEGryahw.js} +12 -12
- package/dist/{requirementDiagram-4Y6WPE33-L_lL0BcB.cjs → requirementDiagram-4Y6WPE33-GmjmsbiY.cjs} +1 -1
- package/dist/{sankeyDiagram-5OEKKPKP-Dy9K3F81.cjs → sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs} +1 -1
- package/dist/{sankeyDiagram-5OEKKPKP-06MsaQmt.js → sankeyDiagram-5OEKKPKP-VPzKV4zM.js} +2 -2
- package/dist/{sequenceDiagram-3UESZ5HK-QEaDF4MY.js → sequenceDiagram-3UESZ5HK-Bc30_Cm2.js} +7 -7
- package/dist/{sequenceDiagram-3UESZ5HK-C69YSjBM.cjs → sequenceDiagram-3UESZ5HK-D85rpewi.cjs} +1 -1
- package/dist/src-DEmZ9bFr.cjs +1 -0
- package/dist/{src-GDFuItmC.js → src-DjDATEq3.js} +578 -563
- package/dist/{stateDiagram-AJRCARHV-CBbDL4Ct.cjs → stateDiagram-AJRCARHV-Bg4Y3HPa.cjs} +1 -1
- package/dist/{stateDiagram-AJRCARHV-BTzCb_Q-.js → stateDiagram-AJRCARHV-wqjltbKb.js} +14 -14
- package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +27 -0
- package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +1 -0
- package/dist/{timeline-definition-PNZ67QCA-DoD4D5kw.js → timeline-definition-PNZ67QCA-1z911Ume.js} +5 -5
- package/dist/{timeline-definition-PNZ67QCA-DJ9VKw6h.cjs → timeline-definition-PNZ67QCA-Dpu3hfhP.cjs} +1 -1
- package/dist/types/data-structures.d.ts +0 -1
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/global.d.ts +1 -1
- package/dist/types/global.d.ts.map +1 -1
- package/dist/types/translation.d.ts +8 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/{vennDiagram-CIIHVFJN-DeRVKdRG.cjs → vennDiagram-CIIHVFJN-BLBDqWTG.cjs} +1 -1
- package/dist/{vennDiagram-CIIHVFJN-Du1h-z8K.js → vennDiagram-CIIHVFJN-BiLcQ0SR.js} +4 -4
- package/dist/{wardleyDiagram-YWT4CUSO-CjOm3Xnp.js → wardleyDiagram-YWT4CUSO-Bq-BejOl.js} +5 -5
- package/dist/{wardleyDiagram-YWT4CUSO-CaaSvy6n.cjs → wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs} +1 -1
- package/dist/{xychartDiagram-2RQKCTM6-D0hXWFFN.js → xychartDiagram-2RQKCTM6-B13zquXC.js} +7 -7
- package/dist/{xychartDiagram-2RQKCTM6-CWncieig.cjs → xychartDiagram-2RQKCTM6-DA3O42Dk.cjs} +1 -1
- package/package.json +3 -2
- package/dist/architectureDiagram-3BPJPVTR-C8DI7_Rn.cjs +0 -36
- package/dist/assets/shapeListAssets.d.ts +0 -22
- package/dist/assets/shapeListAssets.d.ts.map +0 -1
- package/dist/basic-components/card/card-slot-resolver.d.ts +0 -6
- package/dist/basic-components/card/card-slot-resolver.d.ts.map +0 -1
- package/dist/basic-components/card/card-types.d.ts +0 -43
- package/dist/basic-components/card/card-types.d.ts.map +0 -1
- package/dist/basic-components/card/card.d.ts +0 -5
- package/dist/basic-components/card/card.d.ts.map +0 -1
- package/dist/basic-components/card/flow/aside/index.d.ts +0 -2
- package/dist/basic-components/card/flow/aside/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/compact/index.d.ts +0 -2
- package/dist/basic-components/card/flow/compact/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/editorial/index.d.ts +0 -2
- package/dist/basic-components/card/flow/editorial/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/minimal/index.d.ts +0 -2
- package/dist/basic-components/card/flow/minimal/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/overlay/index.d.ts +0 -2
- package/dist/basic-components/card/flow/overlay/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/shared/flow-layout.d.ts +0 -4
- package/dist/basic-components/card/flow/shared/flow-layout.d.ts.map +0 -1
- package/dist/basic-components/card/flow/split/index.d.ts +0 -2
- package/dist/basic-components/card/flow/split/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/spotlight/index.d.ts +0 -2
- package/dist/basic-components/card/flow/spotlight/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/tiles/index.d.ts +0 -2
- package/dist/basic-components/card/flow/tiles/index.d.ts.map +0 -1
- package/dist/basic-components/card/layout-registry.d.ts +0 -4
- package/dist/basic-components/card/layout-registry.d.ts.map +0 -1
- package/dist/basic-components/card/positional/collaborator/index.d.ts +0 -4
- package/dist/basic-components/card/positional/collaborator/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/detailed-object/index.d.ts +0 -5
- package/dist/basic-components/card/positional/detailed-object/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/financial/index.d.ts +0 -4
- package/dist/basic-components/card/positional/financial/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/folder-grid/index.d.ts +0 -4
- package/dist/basic-components/card/positional/folder-grid/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/hero/index.d.ts +0 -4
- package/dist/basic-components/card/positional/hero/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/product/index.d.ts +0 -4
- package/dist/basic-components/card/positional/product/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/shared/object-card.d.ts +0 -24
- package/dist/basic-components/card/positional/shared/object-card.d.ts.map +0 -1
- package/dist/basic-components/card/positional/shared/utils.d.ts +0 -26
- package/dist/basic-components/card/positional/shared/utils.d.ts.map +0 -1
- package/dist/basic-components/card/positional/simple-object/index.d.ts +0 -5
- package/dist/basic-components/card/positional/simple-object/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/tooltip/index.d.ts +0 -4
- package/dist/basic-components/card/positional/tooltip/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/trend/index.d.ts +0 -4
- package/dist/basic-components/card/positional/trend/index.d.ts.map +0 -1
- package/dist/cell-NyD4Bcyq.js +0 -6457
- package/dist/cell-dpOG-xr_.cjs +0 -6
- package/dist/channel-BzP1tmYc.cjs +0 -1
- package/dist/chunk-727SXJPM-BCv3AEZb.cjs +0 -206
- package/dist/chunk-CSCIHK7Q-WWTYrQLt.cjs +0 -122
- package/dist/chunk-Dqa2HsxW.js +0 -20
- package/dist/chunk-mLOUI7ql.cjs +0 -1
- package/dist/classDiagram-4FO5ZUOK-Dc-Jypl3.js +0 -29
- package/dist/classDiagram-4FO5ZUOK-Dqxk6PU-.cjs +0 -1
- package/dist/classDiagram-v2-Q7XG4LA2-DZ44tKmY.js +0 -29
- package/dist/classDiagram-v2-Q7XG4LA2-Dqxk6PU-.cjs +0 -1
- package/dist/components/shape-list/components/error-boundary.d.ts +0 -16
- package/dist/components/shape-list/components/error-boundary.d.ts.map +0 -1
- package/dist/components/shape-list/components/shape-list-drill-down.d.ts +0 -4
- package/dist/components/shape-list/components/shape-list-drill-down.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/command-panel.d.ts +0 -15
- package/dist/components/shape-list/components/toolbar/command-panel.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/command-trigger.d.ts +0 -16
- package/dist/components/shape-list/components/toolbar/command-trigger.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/filter-picker.d.ts +0 -14
- package/dist/components/shape-list/components/toolbar/filter-picker.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/json-viewer.d.ts +0 -11
- package/dist/components/shape-list/components/toolbar/json-viewer.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts +0 -15
- package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/sort-picker.d.ts +0 -14
- package/dist/components/shape-list/components/toolbar/sort-picker.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-context.d.ts +0 -31
- package/dist/components/shape-list/context/shape-list-context.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-filter-context.d.ts +0 -9
- package/dist/components/shape-list/context/shape-list-filter-context.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-sort-context.d.ts +0 -9
- package/dist/components/shape-list/context/shape-list-sort-context.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-state-context.d.ts +0 -5
- package/dist/components/shape-list/context/shape-list-state-context.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useCommandPickers.d.ts +0 -13
- package/dist/components/shape-list/hooks/useCommandPickers.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useLazyShapeData.d.ts +0 -35
- package/dist/components/shape-list/hooks/useLazyShapeData.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts +0 -2
- package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useNavigation.d.ts +0 -16
- package/dist/components/shape-list/hooks/useNavigation.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useSelection.d.ts +0 -34
- package/dist/components/shape-list/hooks/useSelection.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useStripOverflow.d.ts +0 -17
- package/dist/components/shape-list/hooks/useStripOverflow.d.ts.map +0 -1
- package/dist/components/shape-list/items/node-content.d.ts +0 -47
- package/dist/components/shape-list/items/node-content.d.ts.map +0 -1
- package/dist/components/shape-list/items/shape.d.ts +0 -20
- package/dist/components/shape-list/items/shape.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts +0 -13
- package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts +0 -4
- package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts +0 -7
- package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts +0 -18
- package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts +0 -8
- package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts +0 -6
- package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts +0 -13
- package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts +0 -9
- package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts +0 -4
- package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/catalog/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/catalog/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/compact/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/compact/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/explorer/index.d.ts +0 -4
- package/dist/components/shape-list/navigation-modes/explorer/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/modal/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/modal/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/rail/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/rail/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/workspace/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/workspace/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts.map +0 -1
- package/dist/components/shape-list/shape-list.d.ts +0 -5
- package/dist/components/shape-list/shape-list.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/brand.d.ts +0 -6
- package/dist/components/shape-list/slots/renderers/brand.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/cta.d.ts +0 -9
- package/dist/components/shape-list/slots/renderers/cta.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/icon.d.ts +0 -11
- package/dist/components/shape-list/slots/renderers/icon.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/section-header.d.ts +0 -7
- package/dist/components/shape-list/slots/renderers/section-header.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/shape-cell.d.ts +0 -9
- package/dist/components/shape-list/slots/renderers/shape-cell.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-config.d.ts +0 -7
- package/dist/components/shape-list/slots/slot-config.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-model.d.ts +0 -6
- package/dist/components/shape-list/slots/slot-model.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-node.d.ts +0 -9
- package/dist/components/shape-list/slots/slot-node.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-render-utils.d.ts +0 -11
- package/dist/components/shape-list/slots/slot-render-utils.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-types.d.ts +0 -151
- package/dist/components/shape-list/slots/slot-types.d.ts.map +0 -1
- package/dist/components/shape-list/slots/test/slot-model.test.d.ts +0 -2
- package/dist/components/shape-list/slots/test/slot-model.test.d.ts.map +0 -1
- package/dist/components/shape-list/types/shape-list-types.d.ts +0 -181
- package/dist/components/shape-list/types/shape-list-types.d.ts.map +0 -1
- package/dist/components/shape-list/utils/column-utils.d.ts +0 -9
- package/dist/components/shape-list/utils/column-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/debug-utils.d.ts +0 -13
- package/dist/components/shape-list/utils/debug-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/filter-utils.d.ts +0 -12
- package/dist/components/shape-list/utils/filter-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/keyboard-utils.d.ts +0 -12
- package/dist/components/shape-list/utils/keyboard-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/navigation-options.d.ts +0 -30
- package/dist/components/shape-list/utils/navigation-options.d.ts.map +0 -1
- package/dist/components/shape-list/utils/node-utils.d.ts +0 -12
- package/dist/components/shape-list/utils/node-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/sort-utils.d.ts +0 -13
- package/dist/components/shape-list/utils/sort-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/typeahead-utils.d.ts +0 -28
- package/dist/components/shape-list/utils/typeahead-utils.d.ts.map +0 -1
- package/dist/cose-bilkent-S5V4N54A-BxQyjZqX.cjs +0 -1
- package/dist/dist-Dwq87x4R.cjs +0 -1
- package/dist/flowDiagram-I6XJVG4X-DsjMn89E.cjs +0 -162
- package/dist/functional-components/shape/index.d.ts +0 -9
- package/dist/functional-components/shape/index.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-map.d.ts +0 -3
- package/dist/functional-components/shape/shape-map.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-registry.d.ts +0 -25
- package/dist/functional-components/shape/shape-registry.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-resolver.d.ts +0 -61
- package/dist/functional-components/shape/shape-resolver.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-types.d.ts +0 -55
- package/dist/functional-components/shape/shape-types.d.ts.map +0 -1
- package/dist/functional-components/shape/shape.d.ts +0 -5
- package/dist/functional-components/shape/shape.d.ts.map +0 -1
- package/dist/functional-components/shape/slot-resolver.d.ts +0 -24
- package/dist/functional-components/shape/slot-resolver.d.ts.map +0 -1
- package/dist/functional-components/shape/slot-types.d.ts +0 -27
- package/dist/functional-components/shape/slot-types.d.ts.map +0 -1
- package/dist/functional-components/shape/useSlotResolver.d.ts +0 -13
- package/dist/functional-components/shape/useSlotResolver.d.ts.map +0 -1
- package/dist/ganttDiagram-6RSMTGT7-CG_knKFc.cjs +0 -292
- package/dist/jsx-runtime-DCATrIRp.js +0 -183
- package/dist/jsx-runtime-DtVwqYNW.cjs +0 -6
- package/dist/purify.es-9OKVhuci.js +0 -735
- package/dist/purify.es-hdXGOu6N.cjs +0 -3
- package/dist/src-CFBvxm_0.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-BrQR0oUL.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-C7E3JbTB.js +0 -27
- package/dist/useObjectProtocol-3BhpCUjG.cjs +0 -3
- package/dist/useObjectProtocol-DZdggHDN.js +0 -4333
|
@@ -1,735 +0,0 @@
|
|
|
1
|
-
//#region node_modules/dompurify/dist/purify.es.mjs
|
|
2
|
-
function e(e, t) {
|
|
3
|
-
(t == null || t > e.length) && (t = e.length);
|
|
4
|
-
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
5
|
-
return r;
|
|
6
|
-
}
|
|
7
|
-
function t(e) {
|
|
8
|
-
if (Array.isArray(e)) return e;
|
|
9
|
-
}
|
|
10
|
-
function n(e, t) {
|
|
11
|
-
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
12
|
-
if (n != null) {
|
|
13
|
-
var r, i, a, o, s = [], c = !0, l = !1;
|
|
14
|
-
try {
|
|
15
|
-
if (a = (n = n.call(e)).next, t !== 0) for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
|
|
16
|
-
} catch (e) {
|
|
17
|
-
l = !0, i = e;
|
|
18
|
-
} finally {
|
|
19
|
-
try {
|
|
20
|
-
if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
21
|
-
} finally {
|
|
22
|
-
if (l) throw i;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return s;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function r() {
|
|
29
|
-
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
30
|
-
}
|
|
31
|
-
function i(e, i) {
|
|
32
|
-
return t(e) || n(e, i) || a(e, i) || r();
|
|
33
|
-
}
|
|
34
|
-
function a(t, n) {
|
|
35
|
-
if (t) {
|
|
36
|
-
if (typeof t == "string") return e(t, n);
|
|
37
|
-
var r = {}.toString.call(t).slice(8, -1);
|
|
38
|
-
return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? e(t, n) : void 0;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
var o = Object.entries, s = Object.setPrototypeOf, c = Object.isFrozen, l = Object.getPrototypeOf, u = Object.getOwnPropertyDescriptor, d = Object.freeze, f = Object.seal, p = Object.create, m = typeof Reflect < "u" && Reflect, h = m.apply, ee = m.construct;
|
|
42
|
-
d ||= function(e) {
|
|
43
|
-
return e;
|
|
44
|
-
}, f ||= function(e) {
|
|
45
|
-
return e;
|
|
46
|
-
}, h ||= function(e, t) {
|
|
47
|
-
var n = [...arguments].slice(2);
|
|
48
|
-
return e.apply(t, n);
|
|
49
|
-
}, ee ||= function(e) {
|
|
50
|
-
return new e(...[...arguments].slice(1));
|
|
51
|
-
};
|
|
52
|
-
var te = w(Array.prototype.forEach), ne = w(Array.prototype.lastIndexOf), re = w(Array.prototype.pop), g = w(Array.prototype.push), ie = w(Array.prototype.splice), _ = Array.isArray, ae = w(String.prototype.toLowerCase), oe = w(String.prototype.toString), se = w(String.prototype.match), ce = w(String.prototype.replace), le = w(String.prototype.indexOf), ue = w(String.prototype.trim), de = w(Number.prototype.toString), fe = w(Boolean.prototype.toString), v = typeof BigInt > "u" ? null : w(BigInt.prototype.toString), y = typeof Symbol > "u" ? null : w(Symbol.prototype.toString), b = w(Object.prototype.hasOwnProperty), x = w(Object.prototype.toString), S = w(RegExp.prototype.test), C = T(TypeError);
|
|
53
|
-
function w(e) {
|
|
54
|
-
return function(t) {
|
|
55
|
-
t instanceof RegExp && (t.lastIndex = 0);
|
|
56
|
-
var n = [...arguments].slice(1);
|
|
57
|
-
return h(e, t, n);
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
function T(e) {
|
|
61
|
-
return function() {
|
|
62
|
-
return ee(e, [...arguments]);
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
function E(e, t) {
|
|
66
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ae;
|
|
67
|
-
if (s && s(e, null), !_(t)) return e;
|
|
68
|
-
let r = t.length;
|
|
69
|
-
for (; r--;) {
|
|
70
|
-
let i = t[r];
|
|
71
|
-
if (typeof i == "string") {
|
|
72
|
-
let e = n(i);
|
|
73
|
-
e !== i && (c(t) || (t[r] = e), i = e);
|
|
74
|
-
}
|
|
75
|
-
e[i] = !0;
|
|
76
|
-
}
|
|
77
|
-
return e;
|
|
78
|
-
}
|
|
79
|
-
function D(e) {
|
|
80
|
-
for (let t = 0; t < e.length; t++) b(e, t) || (e[t] = null);
|
|
81
|
-
return e;
|
|
82
|
-
}
|
|
83
|
-
function O(e) {
|
|
84
|
-
let t = p(null);
|
|
85
|
-
for (let r of o(e)) {
|
|
86
|
-
var n = i(r, 2);
|
|
87
|
-
let a = n[0], o = n[1];
|
|
88
|
-
b(e, a) && (_(o) ? t[a] = D(o) : o && typeof o == "object" && o.constructor === Object ? t[a] = O(o) : t[a] = o);
|
|
89
|
-
}
|
|
90
|
-
return t;
|
|
91
|
-
}
|
|
92
|
-
function pe(e) {
|
|
93
|
-
switch (typeof e) {
|
|
94
|
-
case "string": return e;
|
|
95
|
-
case "number": return de(e);
|
|
96
|
-
case "boolean": return fe(e);
|
|
97
|
-
case "bigint": return v ? v(e) : "0";
|
|
98
|
-
case "symbol": return y ? y(e) : "Symbol()";
|
|
99
|
-
case "undefined": return x(e);
|
|
100
|
-
case "function":
|
|
101
|
-
case "object": {
|
|
102
|
-
if (e === null) return x(e);
|
|
103
|
-
let t = e, n = k(t, "toString");
|
|
104
|
-
if (typeof n == "function") {
|
|
105
|
-
let e = n(t);
|
|
106
|
-
return typeof e == "string" ? e : x(e);
|
|
107
|
-
}
|
|
108
|
-
return x(e);
|
|
109
|
-
}
|
|
110
|
-
default: return x(e);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
function k(e, t) {
|
|
114
|
-
for (; e !== null;) {
|
|
115
|
-
let n = u(e, t);
|
|
116
|
-
if (n) {
|
|
117
|
-
if (n.get) return w(n.get);
|
|
118
|
-
if (typeof n.value == "function") return w(n.value);
|
|
119
|
-
}
|
|
120
|
-
e = l(e);
|
|
121
|
-
}
|
|
122
|
-
function n() {
|
|
123
|
-
return null;
|
|
124
|
-
}
|
|
125
|
-
return n;
|
|
126
|
-
}
|
|
127
|
-
function me(e) {
|
|
128
|
-
try {
|
|
129
|
-
return S(e, ""), !0;
|
|
130
|
-
} catch {
|
|
131
|
-
return !1;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
var he = d(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), ge = d(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), _e = d([
|
|
135
|
-
"feBlend",
|
|
136
|
-
"feColorMatrix",
|
|
137
|
-
"feComponentTransfer",
|
|
138
|
-
"feComposite",
|
|
139
|
-
"feConvolveMatrix",
|
|
140
|
-
"feDiffuseLighting",
|
|
141
|
-
"feDisplacementMap",
|
|
142
|
-
"feDistantLight",
|
|
143
|
-
"feDropShadow",
|
|
144
|
-
"feFlood",
|
|
145
|
-
"feFuncA",
|
|
146
|
-
"feFuncB",
|
|
147
|
-
"feFuncG",
|
|
148
|
-
"feFuncR",
|
|
149
|
-
"feGaussianBlur",
|
|
150
|
-
"feImage",
|
|
151
|
-
"feMerge",
|
|
152
|
-
"feMergeNode",
|
|
153
|
-
"feMorphology",
|
|
154
|
-
"feOffset",
|
|
155
|
-
"fePointLight",
|
|
156
|
-
"feSpecularLighting",
|
|
157
|
-
"feSpotLight",
|
|
158
|
-
"feTile",
|
|
159
|
-
"feTurbulence"
|
|
160
|
-
]), ve = d([
|
|
161
|
-
"animate",
|
|
162
|
-
"color-profile",
|
|
163
|
-
"cursor",
|
|
164
|
-
"discard",
|
|
165
|
-
"font-face",
|
|
166
|
-
"font-face-format",
|
|
167
|
-
"font-face-name",
|
|
168
|
-
"font-face-src",
|
|
169
|
-
"font-face-uri",
|
|
170
|
-
"foreignobject",
|
|
171
|
-
"hatch",
|
|
172
|
-
"hatchpath",
|
|
173
|
-
"mesh",
|
|
174
|
-
"meshgradient",
|
|
175
|
-
"meshpatch",
|
|
176
|
-
"meshrow",
|
|
177
|
-
"missing-glyph",
|
|
178
|
-
"script",
|
|
179
|
-
"set",
|
|
180
|
-
"solidcolor",
|
|
181
|
-
"unknown",
|
|
182
|
-
"use"
|
|
183
|
-
]), ye = d(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), be = d([
|
|
184
|
-
"maction",
|
|
185
|
-
"maligngroup",
|
|
186
|
-
"malignmark",
|
|
187
|
-
"mlongdiv",
|
|
188
|
-
"mscarries",
|
|
189
|
-
"mscarry",
|
|
190
|
-
"msgroup",
|
|
191
|
-
"mstack",
|
|
192
|
-
"msline",
|
|
193
|
-
"msrow",
|
|
194
|
-
"semantics",
|
|
195
|
-
"annotation",
|
|
196
|
-
"annotation-xml",
|
|
197
|
-
"mprescripts",
|
|
198
|
-
"none"
|
|
199
|
-
]), xe = d(["#text"]), Se = d(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), Ce = d(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), we = d(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Te = d([
|
|
200
|
-
"xlink:href",
|
|
201
|
-
"xml:id",
|
|
202
|
-
"xlink:title",
|
|
203
|
-
"xml:space",
|
|
204
|
-
"xmlns:xlink"
|
|
205
|
-
]), Ee = f(/{{[\w\W]*|^[\w\W]*}}/g), De = f(/<%[\w\W]*|^[\w\W]*%>/g), Oe = f(/\${[\w\W]*/g), ke = f(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ae = f(/^aria-[\-\w]+$/), je = f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Me = f(/^(?:\w+script|data):/i), Ne = f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Pe = f(/^html$/i), Fe = f(/^[a-z][.\w]*(-[.\w]+)+$/i), Ie = f(/<[/\w!]/g), Le = f(/<[/\w]/g), Re = f(/<\/no(script|embed|frames)/i), ze = f(/\/>/i), A = {
|
|
206
|
-
element: 1,
|
|
207
|
-
attribute: 2,
|
|
208
|
-
text: 3,
|
|
209
|
-
cdataSection: 4,
|
|
210
|
-
entityReference: 5,
|
|
211
|
-
entityNode: 6,
|
|
212
|
-
processingInstruction: 7,
|
|
213
|
-
comment: 8,
|
|
214
|
-
document: 9,
|
|
215
|
-
documentType: 10,
|
|
216
|
-
documentFragment: 11,
|
|
217
|
-
notation: 12
|
|
218
|
-
}, Be = function() {
|
|
219
|
-
return typeof window > "u" ? null : window;
|
|
220
|
-
}, Ve = function(e, t) {
|
|
221
|
-
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
222
|
-
let n = null, r = "data-tt-policy-suffix";
|
|
223
|
-
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
224
|
-
let i = "dompurify" + (n ? "#" + n : "");
|
|
225
|
-
try {
|
|
226
|
-
return e.createPolicy(i, {
|
|
227
|
-
createHTML(e) {
|
|
228
|
-
return e;
|
|
229
|
-
},
|
|
230
|
-
createScriptURL(e) {
|
|
231
|
-
return e;
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
} catch {
|
|
235
|
-
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
236
|
-
}
|
|
237
|
-
}, He = function() {
|
|
238
|
-
return {
|
|
239
|
-
afterSanitizeAttributes: [],
|
|
240
|
-
afterSanitizeElements: [],
|
|
241
|
-
afterSanitizeShadowDOM: [],
|
|
242
|
-
beforeSanitizeAttributes: [],
|
|
243
|
-
beforeSanitizeElements: [],
|
|
244
|
-
beforeSanitizeShadowDOM: [],
|
|
245
|
-
uponSanitizeAttribute: [],
|
|
246
|
-
uponSanitizeElement: [],
|
|
247
|
-
uponSanitizeShadowNode: []
|
|
248
|
-
};
|
|
249
|
-
}, j = function(e, t, n, r) {
|
|
250
|
-
return b(e, t) && _(e[t]) ? E(r.base ? O(r.base) : {}, e[t], r.transform) : n;
|
|
251
|
-
};
|
|
252
|
-
function Ue() {
|
|
253
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Be(), t = (e) => Ue(e);
|
|
254
|
-
if (t.version = "3.4.11", t.removed = [], !e || !e.document || e.document.nodeType !== A.document || !e.Element) return t.isSupported = !1, t;
|
|
255
|
-
let n = e.document, r = n, i = r.currentScript;
|
|
256
|
-
e.DocumentFragment;
|
|
257
|
-
let a = e.HTMLTemplateElement, s = e.Node, c = e.Element, l = e.NodeFilter;
|
|
258
|
-
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
259
|
-
let u = e.DOMParser, m = e.trustedTypes, h = c.prototype, ee = k(h, "cloneNode"), de = k(h, "remove"), fe = k(h, "nextSibling"), v = k(h, "childNodes"), y = k(h, "parentNode"), x = k(h, "shadowRoot"), w = k(h, "attributes"), T = s && s.prototype ? k(s.prototype, "nodeType") : null, D = s && s.prototype ? k(s.prototype, "nodeName") : null;
|
|
260
|
-
if (typeof a == "function") {
|
|
261
|
-
let e = n.createElement("template");
|
|
262
|
-
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
263
|
-
}
|
|
264
|
-
let M, N = "", We, Ge = !1, Ke = 0, qe = function() {
|
|
265
|
-
if (Ke > 0) throw C("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
|
|
266
|
-
}, P = function(e) {
|
|
267
|
-
qe(), Ke++;
|
|
268
|
-
try {
|
|
269
|
-
return M.createHTML(e);
|
|
270
|
-
} finally {
|
|
271
|
-
Ke--;
|
|
272
|
-
}
|
|
273
|
-
}, Je = function(e) {
|
|
274
|
-
qe(), Ke++;
|
|
275
|
-
try {
|
|
276
|
-
return M.createScriptURL(e);
|
|
277
|
-
} finally {
|
|
278
|
-
Ke--;
|
|
279
|
-
}
|
|
280
|
-
}, Ye = function() {
|
|
281
|
-
return Ge ||= (We = Ve(m, i), !0), We;
|
|
282
|
-
}, Xe = n, Ze = Xe.implementation, Qe = Xe.createNodeIterator, $e = Xe.createDocumentFragment, et = Xe.getElementsByTagName, tt = r.importNode, F = He();
|
|
283
|
-
t.isSupported = typeof o == "function" && typeof y == "function" && Ze && Ze.createHTMLDocument !== void 0;
|
|
284
|
-
let nt = Ee, rt = De, it = Oe, at = ke, ot = Ae, st = Me, ct = Ne, lt = Fe, ut = je, I = null, dt = E({}, [
|
|
285
|
-
...he,
|
|
286
|
-
...ge,
|
|
287
|
-
..._e,
|
|
288
|
-
...ye,
|
|
289
|
-
...xe
|
|
290
|
-
]), L = null, ft = E({}, [
|
|
291
|
-
...Se,
|
|
292
|
-
...Ce,
|
|
293
|
-
...we,
|
|
294
|
-
...Te
|
|
295
|
-
]), R = Object.seal(p(null, {
|
|
296
|
-
tagNameCheck: {
|
|
297
|
-
writable: !0,
|
|
298
|
-
configurable: !1,
|
|
299
|
-
enumerable: !0,
|
|
300
|
-
value: null
|
|
301
|
-
},
|
|
302
|
-
attributeNameCheck: {
|
|
303
|
-
writable: !0,
|
|
304
|
-
configurable: !1,
|
|
305
|
-
enumerable: !0,
|
|
306
|
-
value: null
|
|
307
|
-
},
|
|
308
|
-
allowCustomizedBuiltInElements: {
|
|
309
|
-
writable: !0,
|
|
310
|
-
configurable: !1,
|
|
311
|
-
enumerable: !0,
|
|
312
|
-
value: !1
|
|
313
|
-
}
|
|
314
|
-
})), pt = null, mt = null, z = Object.seal(p(null, {
|
|
315
|
-
tagCheck: {
|
|
316
|
-
writable: !0,
|
|
317
|
-
configurable: !1,
|
|
318
|
-
enumerable: !0,
|
|
319
|
-
value: null
|
|
320
|
-
},
|
|
321
|
-
attributeCheck: {
|
|
322
|
-
writable: !0,
|
|
323
|
-
configurable: !1,
|
|
324
|
-
enumerable: !0,
|
|
325
|
-
value: null
|
|
326
|
-
}
|
|
327
|
-
})), ht = !0, gt = !0, _t = !1, vt = !0, B = !1, yt = !0, V = !1, bt = !1, xt = null, St = null, Ct = !1, H = !1, wt = !1, Tt = !1, Et = !0, Dt = !1, Ot = "user-content-", kt = !0, At = !1, U = {}, W = null, jt = E({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Mt = null, Nt = E({}, [
|
|
328
|
-
"audio",
|
|
329
|
-
"video",
|
|
330
|
-
"img",
|
|
331
|
-
"source",
|
|
332
|
-
"image",
|
|
333
|
-
"track"
|
|
334
|
-
]), Pt = null, Ft = E({}, [
|
|
335
|
-
"alt",
|
|
336
|
-
"class",
|
|
337
|
-
"for",
|
|
338
|
-
"id",
|
|
339
|
-
"label",
|
|
340
|
-
"name",
|
|
341
|
-
"pattern",
|
|
342
|
-
"placeholder",
|
|
343
|
-
"role",
|
|
344
|
-
"summary",
|
|
345
|
-
"title",
|
|
346
|
-
"value",
|
|
347
|
-
"style",
|
|
348
|
-
"xmlns"
|
|
349
|
-
]), It = "http://www.w3.org/1998/Math/MathML", Lt = "http://www.w3.org/2000/svg", G = "http://www.w3.org/1999/xhtml", K = G, Rt = !1, zt = null, Bt = E({}, [
|
|
350
|
-
It,
|
|
351
|
-
Lt,
|
|
352
|
-
G
|
|
353
|
-
], oe), Vt = d([
|
|
354
|
-
"mi",
|
|
355
|
-
"mo",
|
|
356
|
-
"mn",
|
|
357
|
-
"ms",
|
|
358
|
-
"mtext"
|
|
359
|
-
]), Ht = E({}, Vt), Ut = d(["annotation-xml"]), Wt = E({}, Ut), Gt = E({}, [
|
|
360
|
-
"title",
|
|
361
|
-
"style",
|
|
362
|
-
"font",
|
|
363
|
-
"a",
|
|
364
|
-
"script"
|
|
365
|
-
]), Kt = null, qt = ["application/xhtml+xml", "text/html"], q = null, J = null, Jt = n.createElement("form"), Yt = function(e) {
|
|
366
|
-
return e instanceof RegExp || e instanceof Function;
|
|
367
|
-
}, Xt = function() {
|
|
368
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
369
|
-
if (J && J === e) return;
|
|
370
|
-
(!e || typeof e != "object") && (e = {}), e = O(e), Kt = qt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, q = Kt === "application/xhtml+xml" ? oe : ae, I = j(e, "ALLOWED_TAGS", dt, { transform: q }), L = j(e, "ALLOWED_ATTR", ft, { transform: q }), zt = j(e, "ALLOWED_NAMESPACES", Bt, { transform: oe }), Pt = j(e, "ADD_URI_SAFE_ATTR", Ft, {
|
|
371
|
-
transform: q,
|
|
372
|
-
base: Ft
|
|
373
|
-
}), Mt = j(e, "ADD_DATA_URI_TAGS", Nt, {
|
|
374
|
-
transform: q,
|
|
375
|
-
base: Nt
|
|
376
|
-
}), W = j(e, "FORBID_CONTENTS", jt, { transform: q }), pt = j(e, "FORBID_TAGS", O({}), { transform: q }), mt = j(e, "FORBID_ATTR", O({}), { transform: q }), U = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? O(e.USE_PROFILES) : e.USE_PROFILES : !1, ht = e.ALLOW_ARIA_ATTR !== !1, gt = e.ALLOW_DATA_ATTR !== !1, _t = e.ALLOW_UNKNOWN_PROTOCOLS || !1, vt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = e.SAFE_FOR_TEMPLATES || !1, yt = e.SAFE_FOR_XML !== !1, V = e.WHOLE_DOCUMENT || !1, H = e.RETURN_DOM || !1, wt = e.RETURN_DOM_FRAGMENT || !1, Tt = e.RETURN_TRUSTED_TYPE || !1, Ct = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, Dt = e.SANITIZE_NAMED_PROPS || !1, kt = e.KEEP_CONTENT !== !1, At = e.IN_PLACE || !1, ut = me(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : je, K = typeof e.NAMESPACE == "string" ? e.NAMESPACE : G, Ht = b(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? O(e.MATHML_TEXT_INTEGRATION_POINTS) : E({}, Vt), Wt = b(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? O(e.HTML_INTEGRATION_POINTS) : E({}, Ut);
|
|
377
|
-
let t = b(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? O(e.CUSTOM_ELEMENT_HANDLING) : p(null);
|
|
378
|
-
if (R = p(null), b(t, "tagNameCheck") && Yt(t.tagNameCheck) && (R.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && Yt(t.attributeNameCheck) && (R.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), f(R), B && (gt = !1), wt && (H = !0), U && (I = E({}, xe), L = p(null), U.html === !0 && (E(I, he), E(L, Se)), U.svg === !0 && (E(I, ge), E(L, Ce), E(L, Te)), U.svgFilters === !0 && (E(I, _e), E(L, Ce), E(L, Te)), U.mathMl === !0 && (E(I, ye), E(L, we), E(L, Te))), z.tagCheck = null, z.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? z.tagCheck = e.ADD_TAGS : _(e.ADD_TAGS) && (I === dt && (I = O(I)), E(I, e.ADD_TAGS, q))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? z.attributeCheck = e.ADD_ATTR : _(e.ADD_ATTR) && (L === ft && (L = O(L)), E(L, e.ADD_ATTR, q))), b(e, "ADD_URI_SAFE_ATTR") && _(e.ADD_URI_SAFE_ATTR) && E(Pt, e.ADD_URI_SAFE_ATTR, q), b(e, "FORBID_CONTENTS") && _(e.FORBID_CONTENTS) && (W === jt && (W = O(W)), E(W, e.FORBID_CONTENTS, q)), b(e, "ADD_FORBID_CONTENTS") && _(e.ADD_FORBID_CONTENTS) && (W === jt && (W = O(W)), E(W, e.ADD_FORBID_CONTENTS, q)), kt && (I["#text"] = !0), V && E(I, [
|
|
379
|
-
"html",
|
|
380
|
-
"head",
|
|
381
|
-
"body"
|
|
382
|
-
]), I.table && (E(I, ["tbody"]), delete pt.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
383
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw C("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
384
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw C("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
385
|
-
let t = M;
|
|
386
|
-
M = e.TRUSTED_TYPES_POLICY;
|
|
387
|
-
try {
|
|
388
|
-
N = P("");
|
|
389
|
-
} catch (e) {
|
|
390
|
-
throw M = t, e;
|
|
391
|
-
}
|
|
392
|
-
} else e.TRUSTED_TYPES_POLICY === null ? (M = void 0, N = "") : (M === void 0 && (M = Ye()), M && typeof N == "string" && (N = P("")));
|
|
393
|
-
d && d(e), J = e;
|
|
394
|
-
}, Zt = E({}, [
|
|
395
|
-
...ge,
|
|
396
|
-
..._e,
|
|
397
|
-
...ve
|
|
398
|
-
]), Qt = E({}, [...ye, ...be]), $t = function(e, t, n) {
|
|
399
|
-
return t.namespaceURI === G ? e === "svg" : t.namespaceURI === It ? e === "svg" && (n === "annotation-xml" || Ht[n]) : !!Zt[e];
|
|
400
|
-
}, en = function(e, t, n) {
|
|
401
|
-
return t.namespaceURI === G ? e === "math" : t.namespaceURI === Lt ? e === "math" && Wt[n] : !!Qt[e];
|
|
402
|
-
}, tn = function(e, t, n) {
|
|
403
|
-
return t.namespaceURI === Lt && !Wt[n] || t.namespaceURI === It && !Ht[n] ? !1 : !Qt[e] && (Gt[e] || !Zt[e]);
|
|
404
|
-
}, nn = function(e) {
|
|
405
|
-
let t = y(e);
|
|
406
|
-
(!t || !t.tagName) && (t = {
|
|
407
|
-
namespaceURI: K,
|
|
408
|
-
tagName: "template"
|
|
409
|
-
});
|
|
410
|
-
let n = ae(e.tagName), r = ae(t.tagName);
|
|
411
|
-
return zt[e.namespaceURI] ? e.namespaceURI === Lt ? $t(n, t, r) : e.namespaceURI === It ? en(n, t, r) : e.namespaceURI === G ? tn(n, t, r) : !!(Kt === "application/xhtml+xml" && zt[e.namespaceURI]) : !1;
|
|
412
|
-
}, Y = function(e) {
|
|
413
|
-
g(t.removed, { element: e });
|
|
414
|
-
try {
|
|
415
|
-
y(e).removeChild(e);
|
|
416
|
-
} catch {
|
|
417
|
-
if (de(e), !y(e)) throw C("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
418
|
-
}
|
|
419
|
-
}, rn = function(e) {
|
|
420
|
-
let t = v(e);
|
|
421
|
-
if (t) {
|
|
422
|
-
let e = [];
|
|
423
|
-
te(t, (t) => {
|
|
424
|
-
g(e, t);
|
|
425
|
-
}), te(e, (e) => {
|
|
426
|
-
try {
|
|
427
|
-
de(e);
|
|
428
|
-
} catch {}
|
|
429
|
-
});
|
|
430
|
-
}
|
|
431
|
-
let n = w(e);
|
|
432
|
-
if (n) for (let t = n.length - 1; t >= 0; --t) {
|
|
433
|
-
let r = n[t], i = r && r.name;
|
|
434
|
-
if (typeof i == "string") try {
|
|
435
|
-
e.removeAttribute(i);
|
|
436
|
-
} catch {}
|
|
437
|
-
}
|
|
438
|
-
}, X = function(e, n) {
|
|
439
|
-
try {
|
|
440
|
-
g(t.removed, {
|
|
441
|
-
attribute: n.getAttributeNode(e),
|
|
442
|
-
from: n
|
|
443
|
-
});
|
|
444
|
-
} catch {
|
|
445
|
-
g(t.removed, {
|
|
446
|
-
attribute: null,
|
|
447
|
-
from: n
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
if (n.removeAttribute(e), e === "is") if (H || wt) try {
|
|
451
|
-
Y(n);
|
|
452
|
-
} catch {}
|
|
453
|
-
else try {
|
|
454
|
-
n.setAttribute(e, "");
|
|
455
|
-
} catch {}
|
|
456
|
-
}, an = function(e) {
|
|
457
|
-
let t = w(e);
|
|
458
|
-
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
459
|
-
let r = t[n], i = r && r.name;
|
|
460
|
-
if (!(typeof i != "string" || L[q(i)])) try {
|
|
461
|
-
e.removeAttribute(i);
|
|
462
|
-
} catch {}
|
|
463
|
-
}
|
|
464
|
-
}, on = function(e) {
|
|
465
|
-
let t = [e];
|
|
466
|
-
for (; t.length > 0;) {
|
|
467
|
-
let e = t.pop();
|
|
468
|
-
(T ? T(e) : e.nodeType) === A.element && an(e);
|
|
469
|
-
let n = v(e);
|
|
470
|
-
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
471
|
-
}
|
|
472
|
-
}, sn = function(e) {
|
|
473
|
-
let t = null, r = null;
|
|
474
|
-
if (Ct) e = "<remove></remove>" + e;
|
|
475
|
-
else {
|
|
476
|
-
let t = se(e, /^[\r\n\t ]+/);
|
|
477
|
-
r = t && t[0];
|
|
478
|
-
}
|
|
479
|
-
Kt === "application/xhtml+xml" && K === G && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
480
|
-
let i = M ? P(e) : e;
|
|
481
|
-
if (K === G) try {
|
|
482
|
-
t = new u().parseFromString(i, Kt);
|
|
483
|
-
} catch {}
|
|
484
|
-
if (!t || !t.documentElement) {
|
|
485
|
-
t = Ze.createDocument(K, "template", null);
|
|
486
|
-
try {
|
|
487
|
-
t.documentElement.innerHTML = Rt ? N : i;
|
|
488
|
-
} catch {}
|
|
489
|
-
}
|
|
490
|
-
let a = t.body || t.documentElement;
|
|
491
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), K === G ? et.call(t, V ? "html" : "body")[0] : V ? t.documentElement : a;
|
|
492
|
-
}, cn = function(e) {
|
|
493
|
-
return Qe.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
494
|
-
}, ln = function(e) {
|
|
495
|
-
return e = ce(e, nt, " "), e = ce(e, rt, " "), e = ce(e, it, " "), e;
|
|
496
|
-
}, un = function(e) {
|
|
497
|
-
e.normalize();
|
|
498
|
-
let t = Qe.call(e.ownerDocument || e, e, l.SHOW_TEXT | l.SHOW_COMMENT | l.SHOW_CDATA_SECTION | l.SHOW_PROCESSING_INSTRUCTION, null), n = t.nextNode();
|
|
499
|
-
for (; n;) n.data = ln(n.data), n = t.nextNode();
|
|
500
|
-
let r = e.querySelectorAll?.call(e, "template");
|
|
501
|
-
r && te(r, (e) => {
|
|
502
|
-
Z(e.content) && un(e.content);
|
|
503
|
-
});
|
|
504
|
-
}, dn = function(e) {
|
|
505
|
-
let t = D ? D(e) : null;
|
|
506
|
-
return typeof t != "string" || q(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== w(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== T(e) || e.childNodes !== v(e);
|
|
507
|
-
}, Z = function(e) {
|
|
508
|
-
if (!T || typeof e != "object" || !e) return !1;
|
|
509
|
-
try {
|
|
510
|
-
return T(e) === A.documentFragment;
|
|
511
|
-
} catch {
|
|
512
|
-
return !1;
|
|
513
|
-
}
|
|
514
|
-
}, Q = function(e) {
|
|
515
|
-
if (!T || typeof e != "object" || !e) return !1;
|
|
516
|
-
try {
|
|
517
|
-
return typeof T(e) == "number";
|
|
518
|
-
} catch {
|
|
519
|
-
return !1;
|
|
520
|
-
}
|
|
521
|
-
};
|
|
522
|
-
function $(e, n, r) {
|
|
523
|
-
e.length !== 0 && te(e, (e) => {
|
|
524
|
-
e.call(t, n, r, J);
|
|
525
|
-
});
|
|
526
|
-
}
|
|
527
|
-
let fn = function(e, t) {
|
|
528
|
-
return !!(yt && e.hasChildNodes() && !Q(e.firstElementChild) && S(Ie, e.textContent) && S(Ie, e.innerHTML) || yt && e.namespaceURI === G && t === "style" && Q(e.firstElementChild) || e.nodeType === A.processingInstruction || yt && e.nodeType === A.comment && S(Le, e.data));
|
|
529
|
-
}, pn = function(e, t) {
|
|
530
|
-
if (!pt[t] && _n(t) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, t) || R.tagNameCheck instanceof Function && R.tagNameCheck(t))) return !1;
|
|
531
|
-
if (kt && !W[t]) {
|
|
532
|
-
let t = y(e), n = v(e);
|
|
533
|
-
if (n && t) {
|
|
534
|
-
let r = n.length;
|
|
535
|
-
for (let i = r - 1; i >= 0; --i) {
|
|
536
|
-
let r = At ? n[i] : ee(n[i], !0);
|
|
537
|
-
t.insertBefore(r, fe(e));
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
return Y(e), !0;
|
|
542
|
-
}, mn = function(e) {
|
|
543
|
-
if ($(F.beforeSanitizeElements, e, null), dn(e)) return Y(e), !0;
|
|
544
|
-
let n = q(D ? D(e) : e.nodeName);
|
|
545
|
-
if ($(F.uponSanitizeElement, e, {
|
|
546
|
-
tagName: n,
|
|
547
|
-
allowedTags: I
|
|
548
|
-
}), fn(e, n)) return Y(e), !0;
|
|
549
|
-
if (pt[n] || !(z.tagCheck instanceof Function && z.tagCheck(n)) && !I[n]) return pn(e, n);
|
|
550
|
-
if ((T ? T(e) : e.nodeType) === A.element && !nn(e) || (n === "noscript" || n === "noembed" || n === "noframes") && S(Re, e.innerHTML)) return Y(e), !0;
|
|
551
|
-
if (B && e.nodeType === A.text) {
|
|
552
|
-
let n = ln(e.textContent);
|
|
553
|
-
e.textContent !== n && (g(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
554
|
-
}
|
|
555
|
-
return $(F.afterSanitizeElements, e, null), !1;
|
|
556
|
-
}, hn = function(e, t, r) {
|
|
557
|
-
if (mt[t] || Et && (t === "id" || t === "name") && (r in n || r in Jt)) return !1;
|
|
558
|
-
let i = L[t] || z.attributeCheck instanceof Function && z.attributeCheck(t, e);
|
|
559
|
-
if (!(gt && S(at, t)) && !(ht && S(ot, t))) {
|
|
560
|
-
if (!i) {
|
|
561
|
-
if (!(_n(e) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, e) || R.tagNameCheck instanceof Function && R.tagNameCheck(e)) && (R.attributeNameCheck instanceof RegExp && S(R.attributeNameCheck, t) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(t, e)) || t === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, r) || R.tagNameCheck instanceof Function && R.tagNameCheck(r)))) return !1;
|
|
562
|
-
} else if (!Pt[t] && !S(ut, ce(r, ct, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && le(r, "data:") === 0 && Mt[e]) && !(_t && !S(st, ce(r, ct, ""))) && r) return !1;
|
|
563
|
-
}
|
|
564
|
-
return !0;
|
|
565
|
-
}, gn = E({}, [
|
|
566
|
-
"annotation-xml",
|
|
567
|
-
"color-profile",
|
|
568
|
-
"font-face",
|
|
569
|
-
"font-face-format",
|
|
570
|
-
"font-face-name",
|
|
571
|
-
"font-face-src",
|
|
572
|
-
"font-face-uri",
|
|
573
|
-
"missing-glyph"
|
|
574
|
-
]), _n = function(e) {
|
|
575
|
-
return !gn[ae(e)] && S(lt, e);
|
|
576
|
-
}, vn = function(e, t, n, r) {
|
|
577
|
-
if (M && typeof m == "object" && typeof m.getAttributeType == "function" && !n) switch (m.getAttributeType(e, t)) {
|
|
578
|
-
case "TrustedHTML": return P(r);
|
|
579
|
-
case "TrustedScriptURL": return Je(r);
|
|
580
|
-
}
|
|
581
|
-
return r;
|
|
582
|
-
}, yn = function(e, n, r, i) {
|
|
583
|
-
try {
|
|
584
|
-
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), dn(e) ? Y(e) : re(t.removed);
|
|
585
|
-
} catch {
|
|
586
|
-
X(n, e);
|
|
587
|
-
}
|
|
588
|
-
}, bn = function(e) {
|
|
589
|
-
$(F.beforeSanitizeAttributes, e, null);
|
|
590
|
-
let t = e.attributes;
|
|
591
|
-
if (!t || dn(e)) return;
|
|
592
|
-
let n = {
|
|
593
|
-
attrName: "",
|
|
594
|
-
attrValue: "",
|
|
595
|
-
keepAttr: !0,
|
|
596
|
-
allowedAttributes: L,
|
|
597
|
-
forceKeepAttr: void 0
|
|
598
|
-
}, r = t.length, i = q(e.nodeName);
|
|
599
|
-
for (; r--;) {
|
|
600
|
-
let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = q(o), u = c, d = o === "value" ? u : ue(u);
|
|
601
|
-
if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(F.uponSanitizeAttribute, e, n), d = n.attrValue, Dt && (l === "id" || l === "name") && le(d, Ot) !== 0 && (X(o, e), d = Ot + d), yt && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
|
|
602
|
-
X(o, e);
|
|
603
|
-
continue;
|
|
604
|
-
}
|
|
605
|
-
if (l === "attributename" && se(d, "href")) {
|
|
606
|
-
X(o, e);
|
|
607
|
-
continue;
|
|
608
|
-
}
|
|
609
|
-
if (!n.forceKeepAttr) {
|
|
610
|
-
if (!n.keepAttr) {
|
|
611
|
-
X(o, e);
|
|
612
|
-
continue;
|
|
613
|
-
}
|
|
614
|
-
if (!vt && S(ze, d)) {
|
|
615
|
-
X(o, e);
|
|
616
|
-
continue;
|
|
617
|
-
}
|
|
618
|
-
if (B && (d = ln(d)), !hn(i, l, d)) {
|
|
619
|
-
X(o, e);
|
|
620
|
-
continue;
|
|
621
|
-
}
|
|
622
|
-
d = vn(i, l, s, d), d !== u && yn(e, o, s, d);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
$(F.afterSanitizeAttributes, e, null);
|
|
626
|
-
}, xn = function(e) {
|
|
627
|
-
let t = null, n = cn(e);
|
|
628
|
-
for ($(F.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(F.uponSanitizeShadowNode, t, null), mn(t), bn(t), Z(t.content) && xn(t.content), (T ? T(t) : t.nodeType) === A.element) {
|
|
629
|
-
let e = x(t);
|
|
630
|
-
Z(e) && (Sn(e), xn(e));
|
|
631
|
-
}
|
|
632
|
-
$(F.afterSanitizeShadowDOM, e, null);
|
|
633
|
-
}, Sn = function(e) {
|
|
634
|
-
let t = [{
|
|
635
|
-
node: e,
|
|
636
|
-
shadow: null
|
|
637
|
-
}];
|
|
638
|
-
for (; t.length > 0;) {
|
|
639
|
-
let e = t.pop();
|
|
640
|
-
if (e.shadow) {
|
|
641
|
-
xn(e.shadow);
|
|
642
|
-
continue;
|
|
643
|
-
}
|
|
644
|
-
let n = e.node, r = (T ? T(n) : n.nodeType) === A.element, i = v(n);
|
|
645
|
-
if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
|
|
646
|
-
node: i[e],
|
|
647
|
-
shadow: null
|
|
648
|
-
});
|
|
649
|
-
if (r) {
|
|
650
|
-
let e = D ? D(n) : null;
|
|
651
|
-
if (typeof e == "string" && q(e) === "template") {
|
|
652
|
-
let e = n.content;
|
|
653
|
-
Z(e) && t.push({
|
|
654
|
-
node: e,
|
|
655
|
-
shadow: null
|
|
656
|
-
});
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
if (r) {
|
|
660
|
-
let e = x(n);
|
|
661
|
-
Z(e) && t.push({
|
|
662
|
-
node: null,
|
|
663
|
-
shadow: e
|
|
664
|
-
}, {
|
|
665
|
-
node: e,
|
|
666
|
-
shadow: null
|
|
667
|
-
});
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
};
|
|
671
|
-
return t.sanitize = function(e) {
|
|
672
|
-
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
673
|
-
if (Rt = !e, Rt && (e = "<!-->"), typeof e != "string" && !Q(e) && (e = pe(e), typeof e != "string")) throw C("dirty is not a string, aborting");
|
|
674
|
-
if (!t.isSupported) return e;
|
|
675
|
-
bt ? (I = xt, L = St) : Xt(n), (F.uponSanitizeElement.length > 0 || F.uponSanitizeAttribute.length > 0) && (I = O(I)), F.uponSanitizeAttribute.length > 0 && (L = O(L)), t.removed = [];
|
|
676
|
-
let c = At && typeof e != "string" && Q(e);
|
|
677
|
-
if (c) {
|
|
678
|
-
let t = D ? D(e) : e.nodeName;
|
|
679
|
-
if (typeof t == "string") {
|
|
680
|
-
let e = q(t);
|
|
681
|
-
if (!I[e] || pt[e]) throw C("root node is forbidden and cannot be sanitized in-place");
|
|
682
|
-
}
|
|
683
|
-
if (dn(e)) throw C("root node is clobbered and cannot be sanitized in-place");
|
|
684
|
-
try {
|
|
685
|
-
Sn(e);
|
|
686
|
-
} catch (t) {
|
|
687
|
-
throw rn(e), t;
|
|
688
|
-
}
|
|
689
|
-
} else if (Q(e)) i = sn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === A.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Sn(a);
|
|
690
|
-
else {
|
|
691
|
-
if (!H && !B && !V && e.indexOf("<") === -1) return M && Tt ? P(e) : e;
|
|
692
|
-
if (i = sn(e), !i) return H ? null : Tt ? N : "";
|
|
693
|
-
}
|
|
694
|
-
i && Ct && Y(i.firstChild);
|
|
695
|
-
let l = cn(c ? e : i);
|
|
696
|
-
try {
|
|
697
|
-
for (; o = l.nextNode();) mn(o), bn(o), Z(o.content) && xn(o.content);
|
|
698
|
-
} catch (t) {
|
|
699
|
-
throw c && rn(e), t;
|
|
700
|
-
}
|
|
701
|
-
if (c) return te(t.removed, (e) => {
|
|
702
|
-
e.element && on(e.element);
|
|
703
|
-
}), B && un(e), e;
|
|
704
|
-
if (H) {
|
|
705
|
-
if (B && un(i), wt) for (s = $e.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
706
|
-
else s = i;
|
|
707
|
-
return (L.shadowroot || L.shadowrootmode) && (s = tt.call(r, s, !0)), s;
|
|
708
|
-
}
|
|
709
|
-
let u = V ? i.outerHTML : i.innerHTML;
|
|
710
|
-
return V && I["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && S(Pe, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), B && (u = ln(u)), M && Tt ? P(u) : u;
|
|
711
|
-
}, t.setConfig = function() {
|
|
712
|
-
Xt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), bt = !0, xt = I, St = L;
|
|
713
|
-
}, t.clearConfig = function() {
|
|
714
|
-
J = null, bt = !1, xt = null, St = null, M = We, N = "";
|
|
715
|
-
}, t.isValidAttribute = function(e, t, n) {
|
|
716
|
-
return J || Xt({}), hn(q(e), q(t), n);
|
|
717
|
-
}, t.addHook = function(e, t) {
|
|
718
|
-
typeof t == "function" && b(F, e) && g(F[e], t);
|
|
719
|
-
}, t.removeHook = function(e, t) {
|
|
720
|
-
if (b(F, e)) {
|
|
721
|
-
if (t !== void 0) {
|
|
722
|
-
let n = ne(F[e], t);
|
|
723
|
-
return n === -1 ? void 0 : ie(F[e], n, 1)[0];
|
|
724
|
-
}
|
|
725
|
-
return re(F[e]);
|
|
726
|
-
}
|
|
727
|
-
}, t.removeHooks = function(e) {
|
|
728
|
-
b(F, e) && (F[e] = []);
|
|
729
|
-
}, t.removeAllHooks = function() {
|
|
730
|
-
F = He();
|
|
731
|
-
}, t;
|
|
732
|
-
}
|
|
733
|
-
var M = Ue();
|
|
734
|
-
//#endregion
|
|
735
|
-
export { M as t };
|