@vc-shell/framework 2.0.0-alpha.7 → 2.0.0-alpha.8
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/CHANGELOG.md +13 -0
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +0 -2
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-select/composables/index.d.ts +1 -3
- package/dist/ui/components/molecules/vc-select/composables/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts +30 -0
- package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts +3 -2
- package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/assets/042c75b764bc78a7.svg +0 -1
- package/dist/assets/0ba156439a339f2a.svg +0 -1
- package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
- package/dist/assets/0d67e9e056b4c500.woff +0 -0
- package/dist/assets/0f590f8a94577092.svg +0 -1
- package/dist/assets/0fc5820f8be53a1b.svg +0 -1
- package/dist/assets/105efd028edc1dfe.woff +0 -0
- package/dist/assets/10768e2cc79fc60b.svg +0 -1
- package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
- package/dist/assets/131b34336aedaf47.woff +0 -0
- package/dist/assets/154365acf3010d96.woff2 +0 -0
- package/dist/assets/157b8721e0600ea8.svg +0 -1
- package/dist/assets/15e91cdd649cde9a.svg +0 -1
- package/dist/assets/19275e398ae57130.woff2 +0 -0
- package/dist/assets/19bb1c668a5db39f.woff2 +0 -0
- package/dist/assets/1a3e84b2457f709a.woff +0 -0
- package/dist/assets/1de63eb118636cce.svg +0 -1
- package/dist/assets/1ea01de36eb5491b.svg +0 -1
- package/dist/assets/2010ada3e82156ed.woff +0 -0
- package/dist/assets/204eaf512fde2023.svg +0 -1
- package/dist/assets/2088983edf42e153.svg +0 -1
- package/dist/assets/208f810a9321a327.svg +0 -1
- package/dist/assets/21220a9d10e6c558.svg +0 -1
- package/dist/assets/220db345a102045d.woff2 +0 -0
- package/dist/assets/225da11d23968333.svg +0 -1
- package/dist/assets/226f862dd81bdc13.woff2 +0 -0
- package/dist/assets/23a2d53395ddb14f.woff +0 -0
- package/dist/assets/259e6ad461a52ad7.svg +0 -1
- package/dist/assets/261e6dec4d53b9ac.woff +0 -0
- package/dist/assets/262f46a0b6d94bb6.svg +0 -1
- package/dist/assets/2857c513073467da.svg +0 -1
- package/dist/assets/2b3be7889467d98f.woff +0 -0
- package/dist/assets/2d4e6190eec72737.svg +0 -1
- package/dist/assets/2eba973185078bc8.woff +0 -0
- package/dist/assets/334d3f6bc766c516.woff +0 -0
- package/dist/assets/34ff7dd0c2285956.svg +0 -1
- package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
- package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
- package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
- package/dist/assets/3fc09a6113184f16.woff +0 -0
- package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
- package/dist/assets/41275bcb979cb650.svg +0 -1
- package/dist/assets/434f7982590e462f.woff +0 -0
- package/dist/assets/475937116ee3314a.woff2 +0 -0
- package/dist/assets/477e1881a0394cc5.woff +0 -0
- package/dist/assets/489710fb710e73f0.woff +0 -0
- package/dist/assets/49791943b3872376.woff2 +0 -0
- package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
- package/dist/assets/4d7a77b0e5373992.svg +0 -1
- package/dist/assets/4e43c74354534fb3.svg +0 -1
- package/dist/assets/4fe75f5117100705.svg +0 -1
- package/dist/assets/52e261a005074e1b.woff +0 -0
- package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
- package/dist/assets/54cda5482c6c9218.woff +0 -0
- package/dist/assets/550f52072e8ccafe.woff2 +0 -0
- package/dist/assets/572bb1bb4156a9c1.svg +0 -1
- package/dist/assets/6075995d7e74da46.woff2 +0 -0
- package/dist/assets/617c4736236e199e.woff +0 -0
- package/dist/assets/67230f05dc94a265.svg +0 -1
- package/dist/assets/6798e4dd4add9b48.svg +0 -1
- package/dist/assets/686d4077c1e26876.woff2 +0 -0
- package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
- package/dist/assets/6a3e73faf406cf33.svg +0 -1
- package/dist/assets/72de3a63bc0b70dd.svg +0 -1
- package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
- package/dist/assets/74ed5f8a78e71106.svg +0 -1
- package/dist/assets/7a5aa5abd625137f.ttf +0 -0
- package/dist/assets/7ce0c166fd6a1204.woff +0 -0
- package/dist/assets/7d55399c2a7bc985.svg +0 -1
- package/dist/assets/7d970675c69fca1d.woff +0 -0
- package/dist/assets/7eda727273fd98d3.svg +0 -1
- package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
- package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
- package/dist/assets/861e6b7192b3b6c7.woff +0 -0
- package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
- package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
- package/dist/assets/910b0d99b9e26568.svg +0 -1
- package/dist/assets/91fe94e424323d61.woff +0 -0
- package/dist/assets/92508f8707159b51.svg +0 -1
- package/dist/assets/9392bf1d591e1abb.svg +0 -1
- package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
- package/dist/assets/9cb83236f6bb7ab1.svg +0 -1
- package/dist/assets/9d37314695c0b68d.woff +0 -0
- package/dist/assets/a03cdcd8da5bb987.woff +0 -0
- package/dist/assets/a18404194e3f9047.svg +0 -1
- package/dist/assets/a2017fe7f0a26510.svg +0 -1
- package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
- package/dist/assets/abf88f301a0730f4.svg +0 -1
- package/dist/assets/ac1a99b3d05d8232.woff +0 -0
- package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
- package/dist/assets/b1a596e31ad1185a.svg +0 -1
- package/dist/assets/b27767411c8427be.woff +0 -0
- package/dist/assets/b325adcae33bbe7a.svg +0 -1
- package/dist/assets/b372390551ca2fa1.svg +0 -1
- package/dist/assets/b5bb1e8fc975decd.svg +0 -1
- package/dist/assets/b645a4a2181b9dc1.svg +0 -1
- package/dist/assets/b6499ddce0a4ef7d.svg +0 -1
- package/dist/assets/b7ffde2383bb16ba.woff2 +0 -0
- package/dist/assets/b94421fadd23b0f2.svg +0 -1
- package/dist/assets/bb28fb0f27f1c11b.svg +0 -1
- package/dist/assets/c5195215cb712e9c.woff2 +0 -0
- package/dist/assets/c9191b638a10f67b.woff2 +0 -0
- package/dist/assets/c97328b91ac5cc66.woff +0 -0
- package/dist/assets/ca791c5ca5848a03.svg +0 -1
- package/dist/assets/cb32840ce330103f.woff +0 -0
- package/dist/assets/ccc878931d74181b.woff2 +0 -0
- package/dist/assets/cdc69f8b549c866d.woff2 +0 -0
- package/dist/assets/d084bda16abe8a56.svg +0 -1
- package/dist/assets/d32b129cae2fffd6.svg +0 -1
- package/dist/assets/d35a4c7113315758.woff2 +0 -0
- package/dist/assets/d3f792f54ae4c307.svg +0 -1
- package/dist/assets/d5a5b8630120073d.svg +0 -1
- package/dist/assets/d5eb20bcdcf5616a.woff2 +0 -0
- package/dist/assets/d5f9664ebbfb104b.svg +0 -1
- package/dist/assets/d84247b59449dd88.woff2 +0 -0
- package/dist/assets/da4b7f5883fe7743.woff2 +0 -0
- package/dist/assets/dceaf3b39091e6a4.woff +0 -0
- package/dist/assets/dd05d43ff0df2fc7.svg +0 -1
- package/dist/assets/e2ad5b3428289141.woff +0 -0
- package/dist/assets/e38acaa1757232e0.svg +0 -1
- package/dist/assets/e4a8550f1c7ffe36.svg +0 -1
- package/dist/assets/e5adb5ae3a3698f6.svg +0 -1
- package/dist/assets/e61a1889bac955f4.woff2 +0 -0
- package/dist/assets/e72bb11356af94c7.svg +0 -1
- package/dist/assets/e98196a9f8dcb2f0.svg +0 -1
- package/dist/assets/ebec912a42ad49ff.woff +0 -0
- package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
- package/dist/assets/f09d89268e4c0317.svg +0 -1
- package/dist/assets/f239394367fcf005.woff2 +0 -0
- package/dist/assets/f5722262b6e7214e.woff2 +0 -0
- package/dist/assets/f7fc8bf46089d8b2.svg +0 -1
- package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
- package/dist/assets/fe141d99763f5d2b.woff +0 -0
- package/dist/assets/fed13b0d59903483.svg +0 -1
- package/dist/assets/fed757d2c2344ead.woff2 +0 -0
- package/dist/assets/ffc438f20e79ce73.woff +0 -0
- package/dist/core/plugins/modularity/loader-mf.d.ts +0 -17
- package/dist/core/plugins/modularity/loader-mf.d.ts.map +0 -1
- package/dist/framework.css +0 -9
- package/dist/framework.js +0 -32777
- package/dist/ui/components/molecules/vc-select/composables/useSelectDefaultValue.d.ts +0 -16
- package/dist/ui/components/molecules/vc-select/composables/useSelectDefaultValue.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-select/composables/useSelectOptions.d.ts +0 -19
- package/dist/ui/components/molecules/vc-select/composables/useSelectOptions.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-select/composables/useSelectSearch.d.ts +0 -23
- package/dist/ui/components/molecules/vc-select/composables/useSelectSearch.d.ts.map +0 -1
- package/dist/vendor-boolbase-DYkUBG-P.js +0 -18
- package/dist/vendor-cheerio-DE71XQ9x.js +0 -1053
- package/dist/vendor-cheerio-select-D-qK1Cpo.js +0 -191
- package/dist/vendor-css-select-DqoO1-RK.js +0 -622
- package/dist/vendor-css-what-CZZaquJM.js +0 -267
- package/dist/vendor-cypress-signalr-mock-itnm2wpA.js +0 -781
- package/dist/vendor-d3-array-9cpTrqlO.js +0 -149
- package/dist/vendor-d3-axis-D1_DbKLz.js +0 -74
- package/dist/vendor-d3-brush-CcKeJp9e.js +0 -1
- package/dist/vendor-d3-color-BOYE6h_9.js +0 -306
- package/dist/vendor-d3-dispatch-fx-WMg0D.js +0 -64
- package/dist/vendor-d3-ease-Cr34gv04.js +0 -8
- package/dist/vendor-d3-format-DaIwZvFc.js +0 -182
- package/dist/vendor-d3-interpolate-BYG2gvO4.js +0 -177
- package/dist/vendor-d3-interpolate-path-CpGLvKgS.js +0 -299
- package/dist/vendor-d3-path-DJOTitNW.js +0 -64
- package/dist/vendor-d3-scale-CC5rtdt5.js +0 -561
- package/dist/vendor-d3-selection-CNMxsYiL.js +0 -603
- package/dist/vendor-d3-shape-DBhCDMiV.js +0 -925
- package/dist/vendor-d3-time-DAPP210_.js +0 -212
- package/dist/vendor-d3-time-format-hD7iE2WG.js +0 -491
- package/dist/vendor-d3-timer-C1cUWKPz.js +0 -67
- package/dist/vendor-d3-transition-BbNQT7qF.js +0 -524
- package/dist/vendor-d3-zoom-CcKeJp9e.js +0 -1
- package/dist/vendor-date-fns-BKO3x1R1.js +0 -3102
- package/dist/vendor-dom-serializer-BbVuF1MQ.js +0 -213
- package/dist/vendor-domelementtype-B3sFIGaC.js +0 -21
- package/dist/vendor-domhandler-Kufn9M_V.js +0 -311
- package/dist/vendor-dompurify-M2Bspgo5.js +0 -553
- package/dist/vendor-domutils-DDRq_ial.js +0 -386
- package/dist/vendor-emotion-cache-eEZT5l-Q.js +0 -274
- package/dist/vendor-emotion-hash-DImMRhyK.js +0 -22
- package/dist/vendor-emotion-memoize-BcEUCz8q.js +0 -9
- package/dist/vendor-emotion-serialize-BSDW8NwU.js +0 -123
- package/dist/vendor-emotion-sheet-CS8ZBl9s.js +0 -44
- package/dist/vendor-emotion-unitless-B7u1PU6w.js +0 -53
- package/dist/vendor-emotion-utils-D7refZTM.js +0 -28
- package/dist/vendor-entities-J86Og8IU.js +0 -364
- package/dist/vendor-floating-ui-core-BoHdh92a.js +0 -432
- package/dist/vendor-floating-ui-dom-BvVXFZ4B.js +0 -398
- package/dist/vendor-floating-ui-utils-CidJRIm2.js +0 -257
- package/dist/vendor-floating-ui-vue-sCrhit51.js +0 -121
- package/dist/vendor-gridstack-Dkfw452e.js +0 -3390
- package/dist/vendor-headlessui-vue-Cn-RMs4E.js +0 -961
- package/dist/vendor-htmlparser2-BxKKzWLL.js +0 -735
- package/dist/vendor-internmap-Q5729_cS.js +0 -35
- package/dist/vendor-intlify-core-base-BmIo1dK4.js +0 -1141
- package/dist/vendor-intlify-message-compiler-D9VOavkL.js +0 -960
- package/dist/vendor-intlify-shared-SCAs3ybf.js +0 -144
- package/dist/vendor-iso-639-1-BEjYyfKo.js +0 -784
- package/dist/vendor-juggle-resize-observer-DiSiNbbT.js +0 -286
- package/dist/vendor-linkify-it-LzoUhj6C.js +0 -199
- package/dist/vendor-linkifyjs-dCH9UYes.js +0 -701
- package/dist/vendor-lodash-es-Bz6MMQuN.js +0 -4818
- package/dist/vendor-lucide-vue-next-CPgeDcFj.js +0 -33093
- package/dist/vendor-markdown-it-Bs9KEWkF.js +0 -2266
- package/dist/vendor-markdown-it-task-lists-CHKeJZfk.js +0 -69
- package/dist/vendor-mdurl-DZFDNdqC.js +0 -192
- package/dist/vendor-microsoft-applicationinsights-analytics-js-DFu_cVaY.js +0 -1207
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DRQLN2Ue.js +0 -261
- package/dist/vendor-microsoft-applicationinsights-channel-js-BIJDcP3D.js +0 -1822
- package/dist/vendor-microsoft-applicationinsights-common-CJjmnDMb.js +0 -1921
- package/dist/vendor-microsoft-applicationinsights-core-js-BOc_o46i.js +0 -4276
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-DDz502id.js +0 -1407
- package/dist/vendor-microsoft-applicationinsights-properties-js-9aDWHwXJ.js +0 -572
- package/dist/vendor-microsoft-applicationinsights-shims-Dton8Vqy.js +0 -43
- package/dist/vendor-microsoft-applicationinsights-web-DTa5YN-h.js +0 -487
- package/dist/vendor-microsoft-dynamicproto-js-89GEKjvR.js +0 -147
- package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +0 -1761
- package/dist/vendor-module-federation-enhanced-CV1CNdJy.js +0 -22
- package/dist/vendor-module-federation-error-codes-DdVwX11j.js +0 -55
- package/dist/vendor-module-federation-runtime-CVH_lWgu.js +0 -91
- package/dist/vendor-module-federation-runtime-core-D5G-s9nP.js +0 -2202
- package/dist/vendor-module-federation-runtime-tools-CQbtw-RJ.js +0 -18
- package/dist/vendor-module-federation-sdk-DM4AJRa7.js +0 -683
- package/dist/vendor-nevware21-ts-async-D4qa7g-U.js +0 -261
- package/dist/vendor-nevware21-ts-utils-DII8jruI.js +0 -853
- package/dist/vendor-nth-check-D0N1qpsw.js +0 -45
- package/dist/vendor-orderedmap-B3SOk52B.js +0 -103
- package/dist/vendor-parse5-htmlparser2-tree-adapter-BUDJ887-.js +0 -143
- package/dist/vendor-parse5-zq5Hn0y9.js +0 -5749
- package/dist/vendor-prettier-DeqUTTnE.js +0 -5215
- package/dist/vendor-prosemirror-commands-Bv4ChObl.js +0 -385
- package/dist/vendor-prosemirror-dropcursor-kF5UKNFM.js +0 -86
- package/dist/vendor-prosemirror-gapcursor-S3ikcYX6.js +0 -203
- package/dist/vendor-prosemirror-history-CQYKHz3u.js +0 -248
- package/dist/vendor-prosemirror-keymap-CAfQyvJ7.js +0 -62
- package/dist/vendor-prosemirror-markdown-rpUTSG_Q.js +0 -663
- package/dist/vendor-prosemirror-model-DAA3avbR.js +0 -2730
- package/dist/vendor-prosemirror-schema-list-BNJkECdS.js +0 -87
- package/dist/vendor-prosemirror-state-IeimrELV.js +0 -821
- package/dist/vendor-prosemirror-tables-zVUKdbdQ.js +0 -1414
- package/dist/vendor-prosemirror-transform-BUjWd5Tb.js +0 -1525
- package/dist/vendor-prosemirror-view-DFpBkGRq.js +0 -3794
- package/dist/vendor-punycode-js-CgGegfA_.js +0 -133
- package/dist/vendor-rope-sequence-BWC2FSrq.js +0 -100
- package/dist/vendor-semver-Dar8oU3V.js +0 -1023
- package/dist/vendor-striptags-DtlgQudQ.js +0 -120
- package/dist/vendor-stylis-ClfDrgKE.js +0 -334
- package/dist/vendor-swiper-1bp0oJwt.js +0 -3387
- package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +0 -1
- package/dist/vendor-throttle-debounce-CX0imT7m.js +0 -28
- package/dist/vendor-tiptap-core-CDScflP1.js +0 -3921
- package/dist/vendor-tiptap-extension-blockquote-ChRAwuus.js +0 -55
- package/dist/vendor-tiptap-extension-bold-BwoVpOFS.js +0 -74
- package/dist/vendor-tiptap-extension-code-DOlgG3ih.js +0 -52
- package/dist/vendor-tiptap-extension-code-block-CMeTs87s.js +0 -215
- package/dist/vendor-tiptap-extension-document-DO8oly70.js +0 -12
- package/dist/vendor-tiptap-extension-hard-break-BgDl2sHf.js +0 -59
- package/dist/vendor-tiptap-extension-heading-DFuYlwHi.js +0 -63
- package/dist/vendor-tiptap-extension-horizontal-rule-uyfttMp9.js +0 -56
- package/dist/vendor-tiptap-extension-image-DPeBaTE3.js +0 -128
- package/dist/vendor-tiptap-extension-italic-C9-3jNxO.js +0 -73
- package/dist/vendor-tiptap-extension-link-B57VzStq.js +0 -312
- package/dist/vendor-tiptap-extension-list-spvOF7Mz.js +0 -722
- package/dist/vendor-tiptap-extension-paragraph-Cj7auQB7.js +0 -44
- package/dist/vendor-tiptap-extension-placeholder-DhwvmZ6Y.js +0 -1
- package/dist/vendor-tiptap-extension-strike-yj6UvnkO.js +0 -64
- package/dist/vendor-tiptap-extension-table-cell-CQpTPSvF.js +0 -1
- package/dist/vendor-tiptap-extension-table-ex1kZQ-9.js +0 -374
- package/dist/vendor-tiptap-extension-table-header-CQpTPSvF.js +0 -1
- package/dist/vendor-tiptap-extension-table-row-CQpTPSvF.js +0 -1
- package/dist/vendor-tiptap-extension-text-C8FG4KnI.js +0 -13
- package/dist/vendor-tiptap-extension-text-style-DsQDXowp.js +0 -235
- package/dist/vendor-tiptap-extension-underline-HB3fg6Dc.js +0 -65
- package/dist/vendor-tiptap-extensions-CUGwjzl5.js +0 -296
- package/dist/vendor-tiptap-markdown-BTXJw7Bt.js +0 -826
- package/dist/vendor-tiptap-pm-DSHuSumV.js +0 -1
- package/dist/vendor-tiptap-starter-kit-C42PcJ7J.js +0 -28
- package/dist/vendor-tiptap-vue-3-BxWCzu9Z.js +0 -157
- package/dist/vendor-truncate-html-ChA1T5zy.js +0 -145
- package/dist/vendor-uc-micro-4lbSaZOs.js +0 -17
- package/dist/vendor-unovis-ts-stSsHr9j.js +0 -2382
- package/dist/vendor-unovis-vue-CZWGT3-0.js +0 -446
- package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +0 -93
- package/dist/vendor-vee-validate-rules-4oWUZPpG.js +0 -316
- package/dist/vendor-vue-currency-input-CckB4kjx.js +0 -317
- package/dist/vendor-vue-demi-CD9yLWd7.js +0 -1
- package/dist/vendor-vue-devtools-api-aVYGocXp.js +0 -93
- package/dist/vendor-vue-i18n-DeO9Fa9I.js +0 -1387
- package/dist/vendor-vue-router-R3V0tq8_.js +0 -6
- package/dist/vendor-vue3-application-insights-BmJCYUcp.js +0 -69
- package/dist/vendor-vue3-touch-events-DqysuuWh.js +0 -169
- package/dist/vendor-vuepic-vue-datepicker-CaZ_qpJp.js +0 -4998
- package/dist/vendor-vueuse-components-2jDVoLeo.js +0 -542
- package/dist/vendor-vueuse-core-CLhzVQ31.js +0 -5133
- package/dist/vendor-vueuse-shared-DMVXjSeM.js +0 -1169
- package/dist/vendor-w3c-keyname-CLxH8j-f.js +0 -92
- package/dist/vendor-web-vitals-vrpLO1bu.js +0 -207
|
@@ -1,553 +0,0 @@
|
|
|
1
|
-
/*! @license DOMPurify 3.3.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.2/LICENSE */
|
|
2
|
-
const {
|
|
3
|
-
entries: _t,
|
|
4
|
-
setPrototypeOf: ct,
|
|
5
|
-
isFrozen: Yt,
|
|
6
|
-
getPrototypeOf: Xt,
|
|
7
|
-
getOwnPropertyDescriptor: jt
|
|
8
|
-
} = Object;
|
|
9
|
-
let {
|
|
10
|
-
freeze: S,
|
|
11
|
-
seal: b,
|
|
12
|
-
create: me
|
|
13
|
-
} = Object, {
|
|
14
|
-
apply: ve,
|
|
15
|
-
construct: Ue
|
|
16
|
-
} = typeof Reflect < "u" && Reflect;
|
|
17
|
-
S || (S = function(o) {
|
|
18
|
-
return o;
|
|
19
|
-
});
|
|
20
|
-
b || (b = function(o) {
|
|
21
|
-
return o;
|
|
22
|
-
});
|
|
23
|
-
ve || (ve = function(o, l) {
|
|
24
|
-
for (var a = arguments.length, c = new Array(a > 2 ? a - 2 : 0), D = 2; D < a; D++)
|
|
25
|
-
c[D - 2] = arguments[D];
|
|
26
|
-
return o.apply(l, c);
|
|
27
|
-
});
|
|
28
|
-
Ue || (Ue = function(o) {
|
|
29
|
-
for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++)
|
|
30
|
-
a[c - 1] = arguments[c];
|
|
31
|
-
return new o(...a);
|
|
32
|
-
});
|
|
33
|
-
const fe = R(Array.prototype.forEach), Vt = R(Array.prototype.lastIndexOf), ft = R(Array.prototype.pop), q = R(Array.prototype.push), $t = R(Array.prototype.splice), pe = R(String.prototype.toLowerCase), Ie = R(String.prototype.toString), Me = R(String.prototype.match), K = R(String.prototype.replace), qt = R(String.prototype.indexOf), Kt = R(String.prototype.trim), L = R(Object.prototype.hasOwnProperty), h = R(RegExp.prototype.test), Z = Zt(TypeError);
|
|
34
|
-
function R(s) {
|
|
35
|
-
return function(o) {
|
|
36
|
-
o instanceof RegExp && (o.lastIndex = 0);
|
|
37
|
-
for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++)
|
|
38
|
-
a[c - 1] = arguments[c];
|
|
39
|
-
return ve(s, o, a);
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function Zt(s) {
|
|
43
|
-
return function() {
|
|
44
|
-
for (var o = arguments.length, l = new Array(o), a = 0; a < o; a++)
|
|
45
|
-
l[a] = arguments[a];
|
|
46
|
-
return Ue(s, l);
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function r(s, o) {
|
|
50
|
-
let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : pe;
|
|
51
|
-
ct && ct(s, null);
|
|
52
|
-
let a = o.length;
|
|
53
|
-
for (; a--; ) {
|
|
54
|
-
let c = o[a];
|
|
55
|
-
if (typeof c == "string") {
|
|
56
|
-
const D = l(c);
|
|
57
|
-
D !== c && (Yt(o) || (o[a] = D), c = D);
|
|
58
|
-
}
|
|
59
|
-
s[c] = !0;
|
|
60
|
-
}
|
|
61
|
-
return s;
|
|
62
|
-
}
|
|
63
|
-
function Jt(s) {
|
|
64
|
-
for (let o = 0; o < s.length; o++)
|
|
65
|
-
L(s, o) || (s[o] = null);
|
|
66
|
-
return s;
|
|
67
|
-
}
|
|
68
|
-
function C(s) {
|
|
69
|
-
const o = me(null);
|
|
70
|
-
for (const [l, a] of _t(s))
|
|
71
|
-
L(s, l) && (Array.isArray(a) ? o[l] = Jt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = C(a) : o[l] = a);
|
|
72
|
-
return o;
|
|
73
|
-
}
|
|
74
|
-
function J(s, o) {
|
|
75
|
-
for (; s !== null; ) {
|
|
76
|
-
const a = jt(s, o);
|
|
77
|
-
if (a) {
|
|
78
|
-
if (a.get)
|
|
79
|
-
return R(a.get);
|
|
80
|
-
if (typeof a.value == "function")
|
|
81
|
-
return R(a.value);
|
|
82
|
-
}
|
|
83
|
-
s = Xt(s);
|
|
84
|
-
}
|
|
85
|
-
function l() {
|
|
86
|
-
return null;
|
|
87
|
-
}
|
|
88
|
-
return l;
|
|
89
|
-
}
|
|
90
|
-
const ut = S(["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"]), we = S(["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"]), xe = S(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Qt = S(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Pe = S(["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"]), en = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mt = S(["#text"]), pt = S(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "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", "slot"]), ke = S(["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"]), Tt = S(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "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"]), ue = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), tn = b(/\{\{[\w\W]*|[\w\W]*\}\}/gm), nn = b(/<%[\w\W]*|[\w\W]*%>/gm), on = b(/\$\{[\w\W]*/gm), an = b(/^data-[\-\w.\u00B7-\uFFFF]+$/), rn = b(/^aria-[\-\w]+$/), gt = b(
|
|
91
|
-
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
92
|
-
// eslint-disable-line no-useless-escape
|
|
93
|
-
), sn = b(/^(?:\w+script|data):/i), ln = b(
|
|
94
|
-
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
95
|
-
// eslint-disable-line no-control-regex
|
|
96
|
-
), At = b(/^html$/i), cn = b(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
97
|
-
var dt = /* @__PURE__ */ Object.freeze({
|
|
98
|
-
__proto__: null,
|
|
99
|
-
ARIA_ATTR: rn,
|
|
100
|
-
ATTR_WHITESPACE: ln,
|
|
101
|
-
CUSTOM_ELEMENT: cn,
|
|
102
|
-
DATA_ATTR: an,
|
|
103
|
-
DOCTYPE_NAME: At,
|
|
104
|
-
ERB_EXPR: nn,
|
|
105
|
-
IS_ALLOWED_URI: gt,
|
|
106
|
-
IS_SCRIPT_OR_DATA: sn,
|
|
107
|
-
MUSTACHE_EXPR: tn,
|
|
108
|
-
TMPLIT_EXPR: on
|
|
109
|
-
});
|
|
110
|
-
const Q = {
|
|
111
|
-
element: 1,
|
|
112
|
-
text: 3,
|
|
113
|
-
// Deprecated
|
|
114
|
-
progressingInstruction: 7,
|
|
115
|
-
comment: 8,
|
|
116
|
-
document: 9
|
|
117
|
-
}, fn = function() {
|
|
118
|
-
return typeof window > "u" ? null : window;
|
|
119
|
-
}, un = function(o, l) {
|
|
120
|
-
if (typeof o != "object" || typeof o.createPolicy != "function")
|
|
121
|
-
return null;
|
|
122
|
-
let a = null;
|
|
123
|
-
const c = "data-tt-policy-suffix";
|
|
124
|
-
l && l.hasAttribute(c) && (a = l.getAttribute(c));
|
|
125
|
-
const D = "dompurify" + (a ? "#" + a : "");
|
|
126
|
-
try {
|
|
127
|
-
return o.createPolicy(D, {
|
|
128
|
-
createHTML(v) {
|
|
129
|
-
return v;
|
|
130
|
-
},
|
|
131
|
-
createScriptURL(v) {
|
|
132
|
-
return v;
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
} catch {
|
|
136
|
-
return console.warn("TrustedTypes policy " + D + " could not be created."), null;
|
|
137
|
-
}
|
|
138
|
-
}, Et = function() {
|
|
139
|
-
return {
|
|
140
|
-
afterSanitizeAttributes: [],
|
|
141
|
-
afterSanitizeElements: [],
|
|
142
|
-
afterSanitizeShadowDOM: [],
|
|
143
|
-
beforeSanitizeAttributes: [],
|
|
144
|
-
beforeSanitizeElements: [],
|
|
145
|
-
beforeSanitizeShadowDOM: [],
|
|
146
|
-
uponSanitizeAttribute: [],
|
|
147
|
-
uponSanitizeElement: [],
|
|
148
|
-
uponSanitizeShadowNode: []
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
function ht() {
|
|
152
|
-
let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : fn();
|
|
153
|
-
const o = (i) => ht(i);
|
|
154
|
-
if (o.version = "3.3.2", o.removed = [], !s || !s.document || s.document.nodeType !== Q.document || !s.Element)
|
|
155
|
-
return o.isSupported = !1, o;
|
|
156
|
-
let {
|
|
157
|
-
document: l
|
|
158
|
-
} = s;
|
|
159
|
-
const a = l, c = a.currentScript, {
|
|
160
|
-
DocumentFragment: D,
|
|
161
|
-
HTMLTemplateElement: v,
|
|
162
|
-
Node: Te,
|
|
163
|
-
Element: Fe,
|
|
164
|
-
NodeFilter: B,
|
|
165
|
-
NamedNodeMap: St = s.NamedNodeMap || s.MozNamedAttrMap,
|
|
166
|
-
HTMLFormElement: Rt,
|
|
167
|
-
DOMParser: Dt,
|
|
168
|
-
trustedTypes: ee
|
|
169
|
-
} = s, Y = Fe.prototype, Ot = J(Y, "cloneNode"), Lt = J(Y, "remove"), bt = J(Y, "nextSibling"), yt = J(Y, "childNodes"), te = J(Y, "parentNode");
|
|
170
|
-
if (typeof v == "function") {
|
|
171
|
-
const i = l.createElement("template");
|
|
172
|
-
i.content && i.content.ownerDocument && (l = i.content.ownerDocument);
|
|
173
|
-
}
|
|
174
|
-
let g, X = "";
|
|
175
|
-
const {
|
|
176
|
-
implementation: de,
|
|
177
|
-
createNodeIterator: Nt,
|
|
178
|
-
createDocumentFragment: Ct,
|
|
179
|
-
getElementsByTagName: It
|
|
180
|
-
} = l, {
|
|
181
|
-
importNode: Mt
|
|
182
|
-
} = a;
|
|
183
|
-
let A = Et();
|
|
184
|
-
o.isSupported = typeof _t == "function" && typeof te == "function" && de && de.createHTMLDocument !== void 0;
|
|
185
|
-
const {
|
|
186
|
-
MUSTACHE_EXPR: Ee,
|
|
187
|
-
ERB_EXPR: _e,
|
|
188
|
-
TMPLIT_EXPR: ge,
|
|
189
|
-
DATA_ATTR: wt,
|
|
190
|
-
ARIA_ATTR: xt,
|
|
191
|
-
IS_SCRIPT_OR_DATA: Pt,
|
|
192
|
-
ATTR_WHITESPACE: He,
|
|
193
|
-
CUSTOM_ELEMENT: kt
|
|
194
|
-
} = dt;
|
|
195
|
-
let {
|
|
196
|
-
IS_ALLOWED_URI: ze
|
|
197
|
-
} = dt, T = null;
|
|
198
|
-
const Ge = r({}, [...ut, ...we, ...xe, ...Pe, ...mt]);
|
|
199
|
-
let d = null;
|
|
200
|
-
const We = r({}, [...pt, ...ke, ...Tt, ...ue]);
|
|
201
|
-
let u = Object.seal(me(null, {
|
|
202
|
-
tagNameCheck: {
|
|
203
|
-
writable: !0,
|
|
204
|
-
configurable: !1,
|
|
205
|
-
enumerable: !0,
|
|
206
|
-
value: null
|
|
207
|
-
},
|
|
208
|
-
attributeNameCheck: {
|
|
209
|
-
writable: !0,
|
|
210
|
-
configurable: !1,
|
|
211
|
-
enumerable: !0,
|
|
212
|
-
value: null
|
|
213
|
-
},
|
|
214
|
-
allowCustomizedBuiltInElements: {
|
|
215
|
-
writable: !0,
|
|
216
|
-
configurable: !1,
|
|
217
|
-
enumerable: !0,
|
|
218
|
-
value: !1
|
|
219
|
-
}
|
|
220
|
-
})), j = null, ne = null;
|
|
221
|
-
const x = Object.seal(me(null, {
|
|
222
|
-
tagCheck: {
|
|
223
|
-
writable: !0,
|
|
224
|
-
configurable: !1,
|
|
225
|
-
enumerable: !0,
|
|
226
|
-
value: null
|
|
227
|
-
},
|
|
228
|
-
attributeCheck: {
|
|
229
|
-
writable: !0,
|
|
230
|
-
configurable: !1,
|
|
231
|
-
enumerable: !0,
|
|
232
|
-
value: null
|
|
233
|
-
}
|
|
234
|
-
}));
|
|
235
|
-
let Be = !0, Ae = !0, Ye = !1, Xe = !0, U = !1, oe = !0, P = !1, he = !1, Se = !1, F = !1, ie = !1, ae = !1, je = !0, Ve = !1;
|
|
236
|
-
const vt = "user-content-";
|
|
237
|
-
let Re = !0, V = !1, H = {}, y = null;
|
|
238
|
-
const De = r({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
239
|
-
let $e = null;
|
|
240
|
-
const qe = r({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
241
|
-
let Oe = null;
|
|
242
|
-
const Ke = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), re = "http://www.w3.org/1998/Math/MathML", se = "http://www.w3.org/2000/svg", I = "http://www.w3.org/1999/xhtml";
|
|
243
|
-
let z = I, Le = !1, be = null;
|
|
244
|
-
const Ut = r({}, [re, se, I], Ie);
|
|
245
|
-
let le = r({}, ["mi", "mo", "mn", "ms", "mtext"]), ce = r({}, ["annotation-xml"]);
|
|
246
|
-
const Ft = r({}, ["title", "style", "font", "a", "script"]);
|
|
247
|
-
let $ = null;
|
|
248
|
-
const Ht = ["application/xhtml+xml", "text/html"], zt = "text/html";
|
|
249
|
-
let p = null, G = null;
|
|
250
|
-
const Gt = l.createElement("form"), Ze = function(e) {
|
|
251
|
-
return e instanceof RegExp || e instanceof Function;
|
|
252
|
-
}, ye = function() {
|
|
253
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
254
|
-
if (!(G && G === e)) {
|
|
255
|
-
if ((!e || typeof e != "object") && (e = {}), e = C(e), $ = // eslint-disable-next-line unicorn/prefer-includes
|
|
256
|
-
Ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? zt : e.PARSER_MEDIA_TYPE, p = $ === "application/xhtml+xml" ? Ie : pe, T = L(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : Ge, d = L(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : We, be = L(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, Ie) : Ut, Oe = L(e, "ADD_URI_SAFE_ATTR") ? r(C(Ke), e.ADD_URI_SAFE_ATTR, p) : Ke, $e = L(e, "ADD_DATA_URI_TAGS") ? r(C(qe), e.ADD_DATA_URI_TAGS, p) : qe, y = L(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : De, j = L(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : C({}), ne = L(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : C({}), H = L(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Be = e.ALLOW_ARIA_ATTR !== !1, Ae = e.ALLOW_DATA_ATTR !== !1, Ye = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Xe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, oe = e.SAFE_FOR_XML !== !1, P = e.WHOLE_DOCUMENT || !1, F = e.RETURN_DOM || !1, ie = e.RETURN_DOM_FRAGMENT || !1, ae = e.RETURN_TRUSTED_TYPE || !1, Se = e.FORCE_BODY || !1, je = e.SANITIZE_DOM !== !1, Ve = e.SANITIZE_NAMED_PROPS || !1, Re = e.KEEP_CONTENT !== !1, V = e.IN_PLACE || !1, ze = e.ALLOWED_URI_REGEXP || gt, z = e.NAMESPACE || I, le = e.MATHML_TEXT_INTEGRATION_POINTS || le, ce = e.HTML_INTEGRATION_POINTS || ce, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (u.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (u.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), U && (Ae = !1), ie && (F = !0), H && (T = r({}, mt), d = me(null), H.html === !0 && (r(T, ut), r(d, pt)), H.svg === !0 && (r(T, we), r(d, ke), r(d, ue)), H.svgFilters === !0 && (r(T, xe), r(d, ke), r(d, ue)), H.mathMl === !0 && (r(T, Pe), r(d, Tt), r(d, ue))), L(e, "ADD_TAGS") || (x.tagCheck = null), L(e, "ADD_ATTR") || (x.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? x.tagCheck = e.ADD_TAGS : (T === Ge && (T = C(T)), r(T, e.ADD_TAGS, p))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? x.attributeCheck = e.ADD_ATTR : (d === We && (d = C(d)), r(d, e.ADD_ATTR, p))), e.ADD_URI_SAFE_ATTR && r(Oe, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (y === De && (y = C(y)), r(y, e.FORBID_CONTENTS, p)), e.ADD_FORBID_CONTENTS && (y === De && (y = C(y)), r(y, e.ADD_FORBID_CONTENTS, p)), Re && (T["#text"] = !0), P && r(T, ["html", "head", "body"]), T.table && (r(T, ["tbody"]), delete j.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
257
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
258
|
-
throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
259
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
260
|
-
throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
261
|
-
g = e.TRUSTED_TYPES_POLICY, X = g.createHTML("");
|
|
262
|
-
} else
|
|
263
|
-
g === void 0 && (g = un(ee, c)), g !== null && typeof X == "string" && (X = g.createHTML(""));
|
|
264
|
-
S && S(e), G = e;
|
|
265
|
-
}
|
|
266
|
-
}, Je = r({}, [...we, ...xe, ...Qt]), Qe = r({}, [...Pe, ...en]), Wt = function(e) {
|
|
267
|
-
let t = te(e);
|
|
268
|
-
(!t || !t.tagName) && (t = {
|
|
269
|
-
namespaceURI: z,
|
|
270
|
-
tagName: "template"
|
|
271
|
-
});
|
|
272
|
-
const n = pe(e.tagName), f = pe(t.tagName);
|
|
273
|
-
return be[e.namespaceURI] ? e.namespaceURI === se ? t.namespaceURI === I ? n === "svg" : t.namespaceURI === re ? n === "svg" && (f === "annotation-xml" || le[f]) : !!Je[n] : e.namespaceURI === re ? t.namespaceURI === I ? n === "math" : t.namespaceURI === se ? n === "math" && ce[f] : !!Qe[n] : e.namespaceURI === I ? t.namespaceURI === se && !ce[f] || t.namespaceURI === re && !le[f] ? !1 : !Qe[n] && (Ft[n] || !Je[n]) : !!($ === "application/xhtml+xml" && be[e.namespaceURI]) : !1;
|
|
274
|
-
}, N = function(e) {
|
|
275
|
-
q(o.removed, {
|
|
276
|
-
element: e
|
|
277
|
-
});
|
|
278
|
-
try {
|
|
279
|
-
te(e).removeChild(e);
|
|
280
|
-
} catch {
|
|
281
|
-
Lt(e);
|
|
282
|
-
}
|
|
283
|
-
}, k = function(e, t) {
|
|
284
|
-
try {
|
|
285
|
-
q(o.removed, {
|
|
286
|
-
attribute: t.getAttributeNode(e),
|
|
287
|
-
from: t
|
|
288
|
-
});
|
|
289
|
-
} catch {
|
|
290
|
-
q(o.removed, {
|
|
291
|
-
attribute: null,
|
|
292
|
-
from: t
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
if (t.removeAttribute(e), e === "is")
|
|
296
|
-
if (F || ie)
|
|
297
|
-
try {
|
|
298
|
-
N(t);
|
|
299
|
-
} catch {
|
|
300
|
-
}
|
|
301
|
-
else
|
|
302
|
-
try {
|
|
303
|
-
t.setAttribute(e, "");
|
|
304
|
-
} catch {
|
|
305
|
-
}
|
|
306
|
-
}, et = function(e) {
|
|
307
|
-
let t = null, n = null;
|
|
308
|
-
if (Se)
|
|
309
|
-
e = "<remove></remove>" + e;
|
|
310
|
-
else {
|
|
311
|
-
const m = Me(e, /^[\r\n\t ]+/);
|
|
312
|
-
n = m && m[0];
|
|
313
|
-
}
|
|
314
|
-
$ === "application/xhtml+xml" && z === I && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
315
|
-
const f = g ? g.createHTML(e) : e;
|
|
316
|
-
if (z === I)
|
|
317
|
-
try {
|
|
318
|
-
t = new Dt().parseFromString(f, $);
|
|
319
|
-
} catch {
|
|
320
|
-
}
|
|
321
|
-
if (!t || !t.documentElement) {
|
|
322
|
-
t = de.createDocument(z, "template", null);
|
|
323
|
-
try {
|
|
324
|
-
t.documentElement.innerHTML = Le ? X : f;
|
|
325
|
-
} catch {
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
const _ = t.body || t.documentElement;
|
|
329
|
-
return e && n && _.insertBefore(l.createTextNode(n), _.childNodes[0] || null), z === I ? It.call(t, P ? "html" : "body")[0] : P ? t.documentElement : _;
|
|
330
|
-
}, tt = function(e) {
|
|
331
|
-
return Nt.call(
|
|
332
|
-
e.ownerDocument || e,
|
|
333
|
-
e,
|
|
334
|
-
// eslint-disable-next-line no-bitwise
|
|
335
|
-
B.SHOW_ELEMENT | B.SHOW_COMMENT | B.SHOW_TEXT | B.SHOW_PROCESSING_INSTRUCTION | B.SHOW_CDATA_SECTION,
|
|
336
|
-
null
|
|
337
|
-
);
|
|
338
|
-
}, Ne = function(e) {
|
|
339
|
-
return e instanceof Rt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof St) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
340
|
-
}, nt = function(e) {
|
|
341
|
-
return typeof Te == "function" && e instanceof Te;
|
|
342
|
-
};
|
|
343
|
-
function M(i, e, t) {
|
|
344
|
-
fe(i, (n) => {
|
|
345
|
-
n.call(o, e, t, G);
|
|
346
|
-
});
|
|
347
|
-
}
|
|
348
|
-
const ot = function(e) {
|
|
349
|
-
let t = null;
|
|
350
|
-
if (M(A.beforeSanitizeElements, e, null), Ne(e))
|
|
351
|
-
return N(e), !0;
|
|
352
|
-
const n = p(e.nodeName);
|
|
353
|
-
if (M(A.uponSanitizeElement, e, {
|
|
354
|
-
tagName: n,
|
|
355
|
-
allowedTags: T
|
|
356
|
-
}), oe && e.hasChildNodes() && !nt(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || e.nodeType === Q.progressingInstruction || oe && e.nodeType === Q.comment && h(/<[/\w]/g, e.data))
|
|
357
|
-
return N(e), !0;
|
|
358
|
-
if (!(x.tagCheck instanceof Function && x.tagCheck(n)) && (!T[n] || j[n])) {
|
|
359
|
-
if (!j[n] && at(n) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
|
|
360
|
-
return !1;
|
|
361
|
-
if (Re && !y[n]) {
|
|
362
|
-
const f = te(e) || e.parentNode, _ = yt(e) || e.childNodes;
|
|
363
|
-
if (_ && f) {
|
|
364
|
-
const m = _.length;
|
|
365
|
-
for (let O = m - 1; O >= 0; --O) {
|
|
366
|
-
const w = Ot(_[O], !0);
|
|
367
|
-
w.__removalCount = (e.__removalCount || 0) + 1, f.insertBefore(w, bt(e));
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
return N(e), !0;
|
|
372
|
-
}
|
|
373
|
-
return e instanceof Fe && !Wt(e) || (n === "noscript" || n === "noembed" || n === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (N(e), !0) : (U && e.nodeType === Q.text && (t = e.textContent, fe([Ee, _e, ge], (f) => {
|
|
374
|
-
t = K(t, f, " ");
|
|
375
|
-
}), e.textContent !== t && (q(o.removed, {
|
|
376
|
-
element: e.cloneNode()
|
|
377
|
-
}), e.textContent = t)), M(A.afterSanitizeElements, e, null), !1);
|
|
378
|
-
}, it = function(e, t, n) {
|
|
379
|
-
if (ne[t] || je && (t === "id" || t === "name") && (n in l || n in Gt))
|
|
380
|
-
return !1;
|
|
381
|
-
if (!(Ae && !ne[t] && h(wt, t))) {
|
|
382
|
-
if (!(Be && h(xt, t))) {
|
|
383
|
-
if (!(x.attributeCheck instanceof Function && x.attributeCheck(t, e))) {
|
|
384
|
-
if (!d[t] || ne[t]) {
|
|
385
|
-
if (
|
|
386
|
-
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
387
|
-
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
388
|
-
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
389
|
-
!(at(e) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && h(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t, e)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
390
|
-
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
391
|
-
t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
|
|
392
|
-
) return !1;
|
|
393
|
-
} else if (!Oe[t]) {
|
|
394
|
-
if (!h(ze, K(n, He, ""))) {
|
|
395
|
-
if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && qt(n, "data:") === 0 && $e[e])) {
|
|
396
|
-
if (!(Ye && !h(Pt, K(n, He, "")))) {
|
|
397
|
-
if (n)
|
|
398
|
-
return !1;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
return !0;
|
|
407
|
-
}, at = function(e) {
|
|
408
|
-
return e !== "annotation-xml" && Me(e, kt);
|
|
409
|
-
}, rt = function(e) {
|
|
410
|
-
M(A.beforeSanitizeAttributes, e, null);
|
|
411
|
-
const {
|
|
412
|
-
attributes: t
|
|
413
|
-
} = e;
|
|
414
|
-
if (!t || Ne(e))
|
|
415
|
-
return;
|
|
416
|
-
const n = {
|
|
417
|
-
attrName: "",
|
|
418
|
-
attrValue: "",
|
|
419
|
-
keepAttr: !0,
|
|
420
|
-
allowedAttributes: d,
|
|
421
|
-
forceKeepAttr: void 0
|
|
422
|
-
};
|
|
423
|
-
let f = t.length;
|
|
424
|
-
for (; f--; ) {
|
|
425
|
-
const _ = t[f], {
|
|
426
|
-
name: m,
|
|
427
|
-
namespaceURI: O,
|
|
428
|
-
value: w
|
|
429
|
-
} = _, W = p(m), Ce = w;
|
|
430
|
-
let E = m === "value" ? Ce : Kt(Ce);
|
|
431
|
-
if (n.attrName = W, n.attrValue = E, n.keepAttr = !0, n.forceKeepAttr = void 0, M(A.uponSanitizeAttribute, e, n), E = n.attrValue, Ve && (W === "id" || W === "name") && (k(m, e), E = vt + E), oe && h(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, E)) {
|
|
432
|
-
k(m, e);
|
|
433
|
-
continue;
|
|
434
|
-
}
|
|
435
|
-
if (W === "attributename" && Me(E, "href")) {
|
|
436
|
-
k(m, e);
|
|
437
|
-
continue;
|
|
438
|
-
}
|
|
439
|
-
if (n.forceKeepAttr)
|
|
440
|
-
continue;
|
|
441
|
-
if (!n.keepAttr) {
|
|
442
|
-
k(m, e);
|
|
443
|
-
continue;
|
|
444
|
-
}
|
|
445
|
-
if (!Xe && h(/\/>/i, E)) {
|
|
446
|
-
k(m, e);
|
|
447
|
-
continue;
|
|
448
|
-
}
|
|
449
|
-
U && fe([Ee, _e, ge], (lt) => {
|
|
450
|
-
E = K(E, lt, " ");
|
|
451
|
-
});
|
|
452
|
-
const st = p(e.nodeName);
|
|
453
|
-
if (!it(st, W, E)) {
|
|
454
|
-
k(m, e);
|
|
455
|
-
continue;
|
|
456
|
-
}
|
|
457
|
-
if (g && typeof ee == "object" && typeof ee.getAttributeType == "function" && !O)
|
|
458
|
-
switch (ee.getAttributeType(st, W)) {
|
|
459
|
-
case "TrustedHTML": {
|
|
460
|
-
E = g.createHTML(E);
|
|
461
|
-
break;
|
|
462
|
-
}
|
|
463
|
-
case "TrustedScriptURL": {
|
|
464
|
-
E = g.createScriptURL(E);
|
|
465
|
-
break;
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
if (E !== Ce)
|
|
469
|
-
try {
|
|
470
|
-
O ? e.setAttributeNS(O, m, E) : e.setAttribute(m, E), Ne(e) ? N(e) : ft(o.removed);
|
|
471
|
-
} catch {
|
|
472
|
-
k(m, e);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
M(A.afterSanitizeAttributes, e, null);
|
|
476
|
-
}, Bt = function i(e) {
|
|
477
|
-
let t = null;
|
|
478
|
-
const n = tt(e);
|
|
479
|
-
for (M(A.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); )
|
|
480
|
-
M(A.uponSanitizeShadowNode, t, null), ot(t), rt(t), t.content instanceof D && i(t.content);
|
|
481
|
-
M(A.afterSanitizeShadowDOM, e, null);
|
|
482
|
-
};
|
|
483
|
-
return o.sanitize = function(i) {
|
|
484
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, n = null, f = null, _ = null;
|
|
485
|
-
if (Le = !i, Le && (i = "<!-->"), typeof i != "string" && !nt(i))
|
|
486
|
-
if (typeof i.toString == "function") {
|
|
487
|
-
if (i = i.toString(), typeof i != "string")
|
|
488
|
-
throw Z("dirty is not a string, aborting");
|
|
489
|
-
} else
|
|
490
|
-
throw Z("toString is not a function");
|
|
491
|
-
if (!o.isSupported)
|
|
492
|
-
return i;
|
|
493
|
-
if (he || ye(e), o.removed = [], typeof i == "string" && (V = !1), V) {
|
|
494
|
-
if (i.nodeName) {
|
|
495
|
-
const w = p(i.nodeName);
|
|
496
|
-
if (!T[w] || j[w])
|
|
497
|
-
throw Z("root node is forbidden and cannot be sanitized in-place");
|
|
498
|
-
}
|
|
499
|
-
} else if (i instanceof Te)
|
|
500
|
-
t = et("<!---->"), n = t.ownerDocument.importNode(i, !0), n.nodeType === Q.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
|
|
501
|
-
else {
|
|
502
|
-
if (!F && !U && !P && // eslint-disable-next-line unicorn/prefer-includes
|
|
503
|
-
i.indexOf("<") === -1)
|
|
504
|
-
return g && ae ? g.createHTML(i) : i;
|
|
505
|
-
if (t = et(i), !t)
|
|
506
|
-
return F ? null : ae ? X : "";
|
|
507
|
-
}
|
|
508
|
-
t && Se && N(t.firstChild);
|
|
509
|
-
const m = tt(V ? i : t);
|
|
510
|
-
for (; f = m.nextNode(); )
|
|
511
|
-
ot(f), rt(f), f.content instanceof D && Bt(f.content);
|
|
512
|
-
if (V)
|
|
513
|
-
return i;
|
|
514
|
-
if (F) {
|
|
515
|
-
if (ie)
|
|
516
|
-
for (_ = Ct.call(t.ownerDocument); t.firstChild; )
|
|
517
|
-
_.appendChild(t.firstChild);
|
|
518
|
-
else
|
|
519
|
-
_ = t;
|
|
520
|
-
return (d.shadowroot || d.shadowrootmode) && (_ = Mt.call(a, _, !0)), _;
|
|
521
|
-
}
|
|
522
|
-
let O = P ? t.outerHTML : t.innerHTML;
|
|
523
|
-
return P && T["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && h(At, t.ownerDocument.doctype.name) && (O = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
|
|
524
|
-
` + O), U && fe([Ee, _e, ge], (w) => {
|
|
525
|
-
O = K(O, w, " ");
|
|
526
|
-
}), g && ae ? g.createHTML(O) : O;
|
|
527
|
-
}, o.setConfig = function() {
|
|
528
|
-
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
529
|
-
ye(i), he = !0;
|
|
530
|
-
}, o.clearConfig = function() {
|
|
531
|
-
G = null, he = !1;
|
|
532
|
-
}, o.isValidAttribute = function(i, e, t) {
|
|
533
|
-
G || ye({});
|
|
534
|
-
const n = p(i), f = p(e);
|
|
535
|
-
return it(n, f, t);
|
|
536
|
-
}, o.addHook = function(i, e) {
|
|
537
|
-
typeof e == "function" && q(A[i], e);
|
|
538
|
-
}, o.removeHook = function(i, e) {
|
|
539
|
-
if (e !== void 0) {
|
|
540
|
-
const t = Vt(A[i], e);
|
|
541
|
-
return t === -1 ? void 0 : $t(A[i], t, 1)[0];
|
|
542
|
-
}
|
|
543
|
-
return ft(A[i]);
|
|
544
|
-
}, o.removeHooks = function(i) {
|
|
545
|
-
A[i] = [];
|
|
546
|
-
}, o.removeAllHooks = function() {
|
|
547
|
-
A = Et();
|
|
548
|
-
}, o;
|
|
549
|
-
}
|
|
550
|
-
var mn = ht();
|
|
551
|
-
export {
|
|
552
|
-
mn as p
|
|
553
|
-
};
|